Xperia AOSP Project - Xperia Z General

hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J

Do you will develop KitKat or lollipop
Sent from my C6603 using XDA Free mobile app

Hi
Good news
Please develop lollipop for xperia z , if possible
Thank you

Android 5 official 2015 xperia z

comax70 said:
Android 5 official 2015 xperia z
Click to expand...
Click to collapse
What do you mean please explain
Sent from my C6603 using XDA Free mobile app

NiceIceDice96 said:
What do you mean please explain
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
Xperia z will give official Android 5 update
Said in sony blog
Very good news
Sent from my GT-P1000 using Tapatalk

agha_jo0n said:
Xperia z will give official Android 5 update
Said in sony blog
Very good news
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=56071891
[emoji12]

Very very good & awesome news. :highfive:

What kernel source do you use?

Olivier said:
What kernel source do you use?
Click to expand...
Click to collapse
I think the latest official one (.283).

Tommy-Geenexus said:
I think the latest official one (.283).
Click to expand...
Click to collapse
@adfad666, @jerpelea, can you please confirm this?
Did you use sonyxperiadev/kernel-copyleft or sonyxperiadev/kernel on Github? Or something else?

@Olivier
The kernel used in the aosp build is a prebuilt one.
But there are aosp builds outside of xda booting on a tweaked stock kk kernel.
So the stock kernel definitly boots on aosp.

Tommy-Geenexus said:
@Olivier
The kernel used in the aosp build is a prebuilt one.
Click to expand...
Click to collapse
I know, and that's why I asked I still want a confirmation from jerpelea or adfad666.
BTW, you can flash any kernel on any ROM and it will "boot", the problems are mostly the ramdisk or some configs (e.g. prima).
Gesendet von meinem Xperia Z mit Tapatalk

Olivier said:
I know, and that's why I asked I still want a confirmation from jerpelea or adfad666.
BTW, you can flash any kernel on any ROM and it will "boot", the problems are mostly the ramdisk or some configs (e.g. prima).
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
Ok, lets wait for @jerpelea s answer .
All i know is that the command line to assemble the ramdisk slightly differs from stock and cm, as i've build an aosp kernel some months ago.

Tommy-Geenexus said:
@Olivier
The kernel used in the aosp build is a prebuilt one.
But there are aosp builds outside of xda booting on a tweaked stock kk kernel.
So the stock kernel definitly boots on aosp.
Click to expand...
Click to collapse
Olivier said:
I know, and that's why I asked I still want a confirmation from jerpelea or adfad666.
BTW, you can flash any kernel on any ROM and it will "boot", the problems are mostly the ramdisk or some configs (e.g. prima).
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
you guys mean like the situation i described in hodorkernel thread? that booted on commotio b72! i was like huhhh xD

Olivier said:
@adfad666, @jerpelea, can you please confirm this?
Did you use sonyxperiadev/kernel-copyleft or sonyxperiadev/kernel on Github? Or something else?
Click to expand...
Click to collapse
sonyxperiadev/kernel
sonyxperiadev/prima
are used for this device
br
J

Olivier said:
I know, and that's why I asked I still want a confirmation from jerpelea or adfad666.
BTW, you can flash any kernel on any ROM and it will "boot", the problems are mostly the ramdisk or some configs (e.g. prima).
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
kernel is prebuilt on aosp and is built from our source
if you build kernel with android from source you just waste time on build
kernel is rarely updated and is just a waste of time to recompile it every time
this kernel version is not in sync with official releases and updating kernel will break blobs, use provided kernel !
you can build yourself kernel binary and wlan module and then place them into aosp tree

new guides published
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/

I wonder what voodoo magic did sony did the rom seems way faster then cm11 ?
is the blobs and kernel based on .283 ? @jerpelea

iKillCypher said:
I wonder what voodoo magic did sony did the rom seems way faster then cm11 ?
is the blobs and kernel based on .283 ? @jerpelea
Click to expand...
Click to collapse
no its not.

Related

12.0.A.2..254 kernel sources

Maybe I missed some annoucement... does anyone know if Sony will release sources for 12.0.A.2.254?
Seems to me that development for custom kernels (like Doomlord's) have stalled because there are no sources available.
omoithesane said:
Maybe I missed some annoucement... does anyone know if Sony will release sources for 12.0.A.2.254?
Seems to me that development for custom kernels (like Doomlord's) have stalled because there are no sources available.
Click to expand...
Click to collapse
Not available yet... :crying::crying::crying::crying::crying::crying::crying:
Rajeev said:
Not available yet... :crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
I know :crying:
But does anyone know if Sony will release the sources? How long does this usually take? I think FW .254 was released a month ago...
omoithesane said:
I know :crying:
But does anyone know if Sony will release the sources? How long does this usually take? I think FW .254 was released a month ago...
Click to expand...
Click to collapse
As I understand it they have no choice but to release the kernel source as it's linux and the licensing requires that it be made available. That said, the proprietary blobs for the cameras, wifi, etc. aren't generally licensed the same way so they don't normally get released, at least in source form.
I've requested Sony to provide the source and they will do that really soon
eagleeyetom said:
I've requested Sony to provide the source and they will do that really soon
Click to expand...
Click to collapse
Nice! :good: :fingers-crossed:
Just out of curiosity:
I had an Xperia Arc. My perception was that Sony released the kernel sources (including proprietary modules and everything else which is necessary to build a working custom kernel) relatively quickly and without anyone asking for it. Has this policy changed, did they just forget in case of the Xperia SP/.254 kernel sources or did I just perceive this wrong?
Finally Sony releases .254 kernel sources
Sent from my C5303 using Tapatalk
Here is a diff if anyone wants to view
Siddhesh said:
Finally Sony releases .254 kernel sources
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
I know. I was the one who asked the right person to do it
https://github.com/uberlaggydarwin/...mmit/0dd49c41698a82b77f32ac80e8caef80eba09142
GitHub may have derped.
Here is a diff between previous kernel sources and now
That's the most recent kernel source
https://github.com/uberlaggydarwin/sonystockkernelxperiasp
uberlaggydarwin said:
I know. I was the one who asked the right person to do it
https://github.com/uberlaggydarwin/huashan-kernel/commit/1c8ff356025e1e66142d0ce431c73cc2a57f4e58
GitHub may have derped.
Here is a diff between previous kernel sources and now
That's the most recent kernel source
https://github.com/uberlaggydarwin/huashan-kernel
Click to expand...
Click to collapse
So that means, the CM 10.1 kernel will be updated, right? :good:
sarkar1990 said:
So that means, the CM 10.1 kernel will be updated, right? :good:
Click to expand...
Click to collapse
Yes
Sent from my C5303 using Tapatalk
Probably not, the kernel used for 10.1is not related to the Sony kernels as I ported the drivers to a newer kernel version. We already have any changes that may be in the 2.254 kernel and more. (I didn't notice any changes to the Sony drivers).
Sent from my C5303 using XDA Premium 4 mobile app
Won't rebase off this.
sarkar1990 said:
So that means, the CM 10.1 kernel will be updated, right? :good:
Click to expand...
Click to collapse
Finally had a chance to look at them as I got home from work only just before...
Just left my computer to push them today so didn't get a chance to check them but adfad666 is right and not much actual changes changed though which are useful for us.
Just some general CAF / kernel updates so not too important.
A panel driver was updated but I'm doubt we we will use it as our kernel is not based off stock.
Probably not. . Let's wait for 4.3 kernel from Sony as it will be worth rebasing off that
Thanks for the link to sources....

[Q] Kernel compatible with Cataclysm 4.4 rom?

Is there any kernel that is compatible with cataclysm 4.4 rom?
I'm little bit lost in reading al those threads. . .
Cataclysm rom build number is KRT16O.
Thanks in advance.
ChobbyNS said:
Is there any kernel that is compatible with cataclysm 4.4 rom?
I'm little bit lost in reading al those threads. . .
Cataclysm rom build number is KRT16O.
Thanks in advance.
Click to expand...
Click to collapse
Yeah, I would like to know too. Neo and Semaphore ARE compatible, but they break Wifi when you flash them.
RealSlimShadyMC said:
Yeah, I would like to know too. Neo and Semaphore ARE compatible, but they break Wifi when you flash them.
Click to expand...
Click to collapse
When you flash a 4.3 kernel without PRIMA driver included to KitKat rom you need to flash the dePRIMAtor fix.
I have read somewhere that there is still no compatible kernel for KRT16O,only for KRT16M because google didn't release kernel source for mako.
I would like to know is this true.
Sent from my Nexus 4 using Tapatalk 2
ChobbyNS said:
I have read somewhere that there is still no compatible kernel for KRT16O,only for KRT16M because google didn't release kernel source for mako.
I would like to know is this true.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
True. Kernel sources are yet to be published by Google. Until then, there won't be any proper 4.4 kernel.
Thanks man.
Do you know what is aproximately time until google publishes source?
What was the time for older builds?
Sent from my Nexus 4 using Tapatalk 2
ChobbyNS said:
Thanks man.
Do you know what is aproximately time until google publishes source?
What was the time for older builds?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Last time they did the exaxt same thing. Eventually, it was published, but later. Not sure why, maybe Google itself delayed it on purpose, or Qualcomm forced them to.

[LOLLIPOP] Xperia AOSP Project

hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J
Andoroid L (5.0) code, binaries and guides are published
This is awesome.
*sigh* time to install linux
Great news!
Sent from my Sony Xperia Z1 Compact
jerpelea said:
hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J
Click to expand...
Click to collapse
why camera and modem are not enabled?
Sent from my Xperia Z1 Compact using Tapatalk
tohigh said:
why camera and modem are not enabled?
Sent from my Xperia Z1 Compact using Tapatalk
Click to expand...
Click to collapse
What do you mean, did you try yourself?
everyone, fxp builds coming up... http://fxpblog.co/cyanogenmod/cyanogenmod-12/
Sent from my Xperia Z1 Compact using Tapatalk
not yet
rzlatic said:
everyone, fxp builds coming up... http://fxpblog.co/cyanogenmod/cyanogenmod-12/
Sent from my Xperia Z1 Compact using Tapatalk
Click to expand...
Click to collapse
well i see that amami is not the list yet so we just w8 for it
bromoxitos said:
well i see that amami is not the list yet so we just w8 for it
Click to expand...
Click to collapse
There is now. Anyone tried it?
/Daniel
fresh meat
DanielMalmgren said:
There is now. Anyone tried it?
/Daniel
Click to expand...
Click to collapse
i download atm and i will test it,i hope to be good for daily use,like mic wokrs,3G,wifi etc...if the basic wokrs i will keep it for daily use
They is only CM 12 build available, not AOSP build.
I'll tried this CM 12 build and it has the same problems as all the others:
-No Wi-Fi
-No Mic
-No camera
Not for daily use.
updated guide and blobs for android Lollypop version 5.0.1
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
AOSP 5.0.2 is published
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
colarus said:
They is only CM 12 build available, not AOSP build.
I'll tried this CM 12 build and it has the same problems as all the others:
-No Wi-Fi
-No Mic
-No camera
Not for daily use.
Click to expand...
Click to collapse
Mic is fixed in asop and there is a work around for wifi. The developer is making grate progress
Sent from my Xperia Z1
I randomly bumped into the video Sony developer world uploaded to announce that the original xperia Z was added to the aosp (the video is 1 year old) and it shows camera and calls working. Now I was wondering why they didn't include camera and modem sources for the newer devices.
Sent from my D5503 using XDA Free mobile app
giober98 said:
I randomly bumped into the video Sony developer world uploaded to announce that the original xperia Z was added to the aosp (the video is 1 year old) and it shows camera and calls working. Now I was wondering why they didn't include camera and modem sources for the newer devices.
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
Because they don't have them optimised for Lollipop themselves yet probably. I doubt they can release proper support for AOSP before the general release without some customer backlash. I wouldn't worry about it and I fully expect that their AOSP blobs will be updated once Lollipop ROMs are actually released.
Rekoil said:
Because they don't have them optimised for Lollipop themselves yet probably. I doubt they can release proper support for AOSP before the general release without some customer backlash. I wouldn't worry about it and I fully expect that their AOSP blobs will be updated once Lollipop ROMs are actually released.
Click to expand...
Click to collapse
But I read that they weren't available on KitKat also
Sent from my D5503 using XDA Free mobile app
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
- updated L build guide published
- new blob zip
- wifi is built into kernel
- media is built from source now
- NFC built from source
- audio built from source
enjoy
J
Camera was fixed in unofficial cyanogenmod 12. Will we see that fix in.this rom too?
Sent from my D5503 using XDA Free mobile app

Custom Kernel Request for MM

We no longer have any custom kernel for z2 and z3,only advanced stock so im asking here:
If you are a dev and know how to compile a kernel - please try to make MM kernel with few most needed features for all of us who were using androplus kernel and really dont feel good on stock kernels.
Probably most people would like undervolting,one or two custom govs etc.We dont need all the great features of androplus kernel,just some of them..
There must be someone with enough skill to add some features to kernel,mayby our z2/3 community could get together and add some bounty for that.
Sony released the sources already:
http://developer.sonymobile.com/downloads/all-downloads/open-source-archive-for-23-5-a-0-570/
If you know how to compile but scared to test on your own phone,then im up for testing on my Z2.
Totally agree, best features would be underrvolting and one or two custom governors!
In great need of a custom kernel for MM. On the other hand, is it possible to keep LP kernel and flash MM ROM?
It is possible but MM wont work on LP kernel - different drivers etc.
d22ad2 said:
It is possible but MM wont work on LP kernel - different drivers etc.
Click to expand...
Click to collapse
Is it bootloop? Can a bootloopfix solve it?
No, MM differs a lot from LP on kernel side and there is no way to make MM run on LP kernel.What i meant before is that you can keep LP kernel on MM (you asked about it) but I totally didnt mean it will ever work
[KERNEL][Z2] Advanced stock kernel Marshmallow 6.0.1 - 23.5.A.0.570
http://forum.xda-developers.com/xperia-z2/development/kernel-advanced-stock-kernel-t3347413
Works great - I unlocked BL
Meh its just a stock kernel with recovery,will do just right for some users but here we were talking about custom kernels,which give you more control over phone hardware.
I'm willing to create a custom kernel, I have some Linux background but I need help of course. I'm using this custom stock kernel for MM too. I just want the "zzmoove" governor on it, some underclock & overclock and QUICK CHARGE feature. I have the building environment set up, just need some help now.
Hear me, big brothers.
I know how to compile kernel from source, did it often with AndroPlus Kernel (to add QC), but I don't know how to add features to the kernel and how to fix stuffs and how to work with github...
Gesendet von meinem SM-T230 mit Tapatalk
Now I try to compile the kernel from source, getting nowhere with the Sony developer guide. It will be great if some one can shed some light on it.
I think we should invite AndroPlus or Myself5 to this thread,mayby together we could figure out something.If i remember correct there is a sort of a tutorial on androplus github but its not enough.Mayby creating a small chat group on whatsapp with some more expirienced kernel devs would do for you guys? I can try to ask a few about that.
On vacations I'll surely give it a try, lets better do it with Telegram, not everyone wants to give his number
Gesendet von meinem SM-T230 mit Tapatalk
Hello everyone !
I will see if I have time for this.
In the mean time, for those trying to compile the kernel and have problem, don't hesitate to contact me by pm. I'll also subscribe to this thread.
Sent from my Sony Xperia Z2 using XDA Labs
Thank you for your help!
Gesendet von meinem D6503 mit Tapatalk
TheFerhatKing said:
Thank you for your help!
Gesendet von meinem D6503 mit Tapatalk
Click to expand...
Click to collapse
I just successfully compiled the source ! :victory:
I'll unlock my bootloader to test it and update this post soon with status
Great! Conpiling the kernel from source is not that difficult, just to add features is not easy or fix bugs..
Gesendet von meinem D6503 mit Tapatalk
The kernel is not booting.
This might be difficult to debug since it doesn't seem to be from the kernel nor the ramdisk.
There is a xperia_readme inside Kernel folder. It says it's for C6543, not sure if that contribute to the issue of not booting.
I also just compiled the zImage. I just don't know where to get the ramdisk.img and commandline. Can someone help me out?
Hi, I think this would be a great idea, especially if the dev can add the multirom (kexec-hardboot patch) support.
Thanks

[Discussion] AOSP Build Android 7.0

Hi all,
Am a noob when it comes to building/developing ROMs. Sony just shared this:
Build AOSP Nougat 7.0 at http://developer.sonymobile.com/build-aosp-nougat-7-0/
Nowhere does it mention Yuga. So my question being can we use the procedure listed on that link to build for Yuga?
The Second good news today at morning. On Other Website has a Modder Port Nougat to Nexus 4 with same Soc. I think Nougat is comming
Gesendet von meinem C6603 mit Tapatalk
Depends on the number of patches that needs to be applied in order to get the whole thing to work on Yuga i guess.
We have quite a lot of good devs here , hopefully some of them will have the know how..
Or hopefully some of them will be kind enough to write a very long and very detailed tutorial on how to do it..
A very detailed step by step..
Who knows..
aksme707 said:
Hi all,
Am a noob when it comes to building/developing ROMs. Sony just shared this:
Build AOSP Nougat 7.0 at http://developer.sonymobile.com/build-aosp-nougat-7-0/
Nowhere does it mention Yuga. So my question being can we use the procedure listed on that link to build for Yuga?
Click to expand...
Click to collapse
FYI, the link is down
Sent from my Sony Xperia Z using XDA Labs
OK. Is there someone who has been working at N or this is not yet possible at the moment ??
Gesendet von meinem Xperia Z mit Tapatalk
Simon G said:
OK. Is there someone who has been working at N or this is not yet possible at the moment ??
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
Although this may not answer your question, it sure is an interesting read.
http://www.xda-developers.com/in-depth-capitulation-of-why-msm8974-devices-are-excluded-from-nougat/
Do give it a read. What I do infer is that we'll be using older blobs if at all someone works on a ROM.
Sent from my Sony Xperia Z using XDA Labs
I hope they can make it. The new Vulcan API.. The performance is ok but can the hardware run it? For example compatibility with Vulcan.? ?
No, it can't. Vulkan API requires newer OpenGL and our old adreno 320 doesn't support it. Except that, Vulcan API requires changes in Blobs that can be made only by qualcomm. And they don't even do this for Snapdragon 800. We can have nougat on our xperias, but without VulcanAPI support. It works for example on Nexus 5 and Nexus 4(it has the same hardware as our phones).
Looking at the xperiadev page for yuga on github, I could find binaries supporting only upto KK. It didn't have Sony AOSP support for L, forget about MM or N. I don't know anything about ROM development, but at the risk of bricking my device trying to build an Android N for XZ using the existing binaries available on xperiadev github page and using yuga-aosp branch. If successful will share process & progress.
P.S. BTW the official build instructions for Sony Android N AOSP can be found at http://developer.sonymobile.com/ope...uild-aosp-nougat-for-unlocked-xperia-devices/
Sent from my Sony Xperia Z using XDA Labs
http://fxpblog.co/aosp/aosp-7-0/
Free Xperia Project have uploaded test builds for almost all Sony Z'series phone.Not yet for Xperia Z though.
Also in Android 6.0.1 download builds page of FXP YUGA is not mentioned,so i think they dont support Xperia Z.
A developer made 7.0 on Xperia ZR:
http://forum.xda-developers.com/xperia-zr/orig-development/rom-aosp-nougat-xperia-zr-t3453606
Could someone with more knowledge than me boot it on our Z?
Chicken4K said:
A developer made 7.0 on Xperia ZR:
http://forum.xda-developers.com/xperia-zr/orig-development/rom-aosp-nougat-xperia-zr-t3453606
Could someone with more knowledge than me boot it on our Z?
Click to expand...
Click to collapse
The dev Chippa who made this possible for ZR,also made best stable rom Resurrection Remix MM for Xperia Z...so i think he might be working on Z too.Excited.
And Xperia Z and ZR have same chipset.
I don't have any knowledge about developing a rom, but I managed to get the ZR's nougat get to infinite boot on the Z...could someone assist me or help or something to port it to the Z?
Thanks.
Soo, i think Android N for our Z series is a question of the time, great @Chippa_a
OK we can wait .But i think it runs not so Stable as MM Roms
Gesendet von meinem Xperia Z mit Tapatalk
Simon G said:
OK we can wait .But i think it runs not so Stable as MM Roms
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
Look at the comments on ZR thread, it's not stable as cm13/RR but still it's a great start
Yes that is clear that a build is not stable at the beginning of the development. I myself understand from Rome building not so much. I imagine only that it with time more and more difficult Stable builds will create higher the Android version. I can also be wrong.
The ZR does have the same SoC but very different from the hardware and software equipment. Assuming for the build from ZR as a template to the N to Z to porting or there are certain sources to directly build a for Z to create ?? For the ZR has no OTG if this build now Ported how do you get the Z then OTG at. This is just an example of some of the hire has not the ZR relation to the Z
Gesendet von meinem Xperia Z mit Tapatalk
Any news regarding N?
I would be glad if someone told that work is started/going on
On Older Xperia Device how M and L and any other Older Xperia Device gives cm14 Builds.WHY NOT OUR DEVICE.Ahhhhhhhhh grrrrr.
Look at here:
http://www.theandroidsoul.com/cm14-release-date/
So many Xperia Device why not the Z I dont know
Gesendet von meinem Xperia Z mit Tapatalk
Simon G said:
On Older Xperia Device how M and L and any other Older Xperia Device gives cm14 Builds.WHY NOT OUR DEVICE.Ahhhhhhhhh grrrrr.
Look at here:
http://www.theandroidsoul.com/cm14-release-date/
So many Xperia Device why not the Z I dont know
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
Well you could try building one for our XZ. There are plenty of tutorials available excluding the link I've already shared on this thread. We are a community where everyone is allowed to contribute in whatever way possible. Let's not get frustrated with non availability. There are developers who deliver when they don't even own a XZ.
FYI, I have been working on building one but hit a few road blocks. It's WIP. Will update the forum if I get an alpha build working.
Sent from my Sony Xperia Z using XDA Labs

Categories

Resources