AOSP builds for Z5C

Search This thread

zacharias.maladroit

Recognized Developer
Waiting on Sony to release camera raw last I checked. We have cm13 mostly up and running but again,no camera.

well with Camera Next Mod,

it's a hit and miss

Macro shots (even less than 15-30 cm in distance) sometimes are surprisingly clear but then they're not,

focusing and autofocus is not working properly - so it's hard to get great shots
 
  • Like
Reactions: civicsr2cool

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
Hey, what's the status on aosp? Will there be a fully working version anytime soon?
I am putting big hopes on cyanogenmod but there seems to be a lack of developers and support from Sony, or is there any news on that regard?
Cheers

Waiting on Sony to release camera raw last I checked. We have cm13 mostly up and running but again,no camera.

Can you point me to any news page or forum thread on the status?

AOSP for Z5c and CyenogenMod for Z5 are at roughly the same place. Fully working except camera, and they can only be flashed via fastboot after a full data wipe. This is for different reasons though. (CM13 for Z5C is installable via recovery)

For CM13 on Z5 the zip package function is broken. In AOSP the kernel doesn't support TWRP. My current tinkerings in my spare time are going towards this and making an installable AOSP zip. Making the zip is easy, but the kernel is a little harder as the ramdisk file structure is different to the stock kernel, so most of the 'twrpify kernel' scripts out there make changes to a folder that doesn't exist or have the same equivalent in AOSP ramdisk.

I've found a way to re pack the ramdisk that will work for AOSP Z5c, it's just getting the time to build and test.

I think once AOSP is TWRP friendly it will be easier and quicker for people to test and improve unofficial builds of AOSP.

On the Sony developer side of things I get the impression that their goal is to provide a functional environment to test apps in, not to provide a fully functional alternate rom. However if you check the Sony AOSP repo on got hub there are always new commits and changes and MM has gone from un-buildable, to booting and fully running except camera in 4 months.

Certainly the most exciting place on Z5C forum is CM13 thread as there is a whole team working on an alternate rom. Go @CTXz !!!! His work will filter through to a lot of z5c rooms in the future.

This thread was started with the intention of being a place where everybody can tinker and contribute. If anyone makes any headway with aosp let me know and It will go straight in the OP for the community to benefit.
 

zacharias.maladroit

Recognized Developer
AOSP for Z5c and CyenogenMod for Z5 are at roughly the same place. Fully working except camera, and they can only be flashed via fastboot after a full data wipe. This is for different reasons though. (CM13 for Z5C is installable via recovery)

For CM13 on Z5 the zip package function is broken. In AOSP the kernel doesn't support TWRP. My current tinkerings in my spare time are going towards this and making an installable AOSP zip. Making the zip is easy, but the kernel is a little harder as the ramdisk file structure is different to the stock kernel, so most of the 'twrpify kernel' scripts out there make changes to a folder that doesn't exist or have the same equivalent in AOSP ramdisk.

I've found a way to re pack the ramdisk that will work for AOSP Z5c, it's just getting the time to build and test.

There's a recovery boot script with which you can reboot into TWRP when during boot pressing the vol up button but that doesn't seemed to have worked with AOSP

https://github.com/zachariasmaladroit/twrp-sony-recovery-boot-script


You can however take the functionality from CM13 and modify the initramfs of the AOSP-kernel and see whether that works

I think once AOSP is TWRP friendly it will be easier and quicker for people to test and improve unofficial builds of AOSP.

There already is - take a look at https://github.com/SonyAosp/platform_manifest

and after building it, you'll get the .img files (flashable via fastboot, as always),

and a flashable zip-file for TWRP: aosp_e6653-20160421-6.0.1-M5C14J-HOMEMADE.zip that one's for the E6653 though

On the Sony developer side of things I get the impression that their goal is to provide a functional environment to test apps in, not to provide a fully functional alternate rom. However if you check the Sony AOSP repo on got hub there are always new commits and changes and MM has gone from un-buildable, to booting and fully running except camera in 4 months.

yeah, that's also the impression that I got - the builds are pretty bare,

more effort would be appreciated - but perhaps there's not much more money & effort to spend on :(

Certainly the most exciting place on Z5C forum is CM13 thread as there is a whole team working on an alternate rom. Go @CTXz !!!! His work will filter through to a lot of z5c rooms in the future.

This thread was started with the intention of being a place where everybody can tinker and contribute. If anyone makes any headway with aosp let me know and It will go straight in the OP for the community to benefit.

Yeah, I never thought that I would appreciate CM again,

back in the Note 1 and Galaxy S 1 days it was not that great:

high battery drain, laggy, less functional coverage

It still appears to be the best custom ROM though:

Offering not too bad out of the box functionality, great standby time and battery runtime - a little bit rough around the edge - but it'll get worked out

Advantage of much greater customizability compared to Sony's very restrictive ROM,

Way more open Kernel development - not close to upstream Linux kernel but still pretty nice
 

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
so is there a fully working - except camera - aosp for z5c?

Yep, as long as you do a full wipe of your cache and data it works except the camera. (last build uploaded)


Thanks guys, I'll have to do another build and upload.
 
  • Like
Reactions: civicsr2cool

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
Thanks guys, I'll have to do another build and upload.

New binaries downloaded. Syncing with sources, building now..... Will have some .img files in a few hours..... Done!

I have not flashed this to my phone or tested. Here is a link to a non installable zip containing system.img, boot.img and userdata.img. Make a full backup of your data (including internal/external sd card) before flashing via fastboot.
I wont get a chance to test this until tomorrow evening so if anyone else wants to test it first be my guest!
https://mega.nz/#!MwJ3wSJb!6ALDvaSIPQK0kc8R6MU5mVhUmKKCzVovE54tLcNxTx0
Unzip and flash....

EDIT: Due to a large number of power outages in my area caused by storms I have not as of yet been able to test the latest build. Update soon...
 
Last edited:

thesebastian

Senior Member
Sep 25, 2012
1,874
445
Barcelona
Thanks guys, I'll have to do another build and upload.

New binaries downloaded. Syncing with sources, building now..... Will have some .img files in a few hours..... Done!

I have not flashed this to my phone or tested. Here is a link to a non installable zip containing system.img, boot.img and userdata.img. Make a full backup of your data (including internal/external sd card) before flashing via fastboot.
I wont get a chance to test this until tomorrow evening so if anyone else wants to test it first be my guest!
https://mega.nz/#!MwJ3wSJb!6ALDvaSIPQK0kc8R6MU5mVhUmKKCzVovE54tLcNxTx0
Unzip and flash....

EDIT: Due to a large number of power outages in my area caused by storms I have not as of yet been able to test the latest build. Update soon...

When you have some time....could you try to reproduce the following issue please? (you need to enable "Adaptive Brightness" and unlock the phone under a lot of light, like outdoors in a sunny day. With a black/dark background or app)

https://talk.sonymobile.com/t5/Xper...ss-gamma-bug-Marshmallow/m-p/1112766#U1112766

I'd like to know if this "issue" is just merged in Sony production firmware or is also merged in AOSP binaries/builds.

Thanks!
 
Last edited:
  • Like
Reactions: Joeisgood99

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
When you have some time....could you try to reproduce the following issue please? (you need to enable "Adaptive Brightness" and unlock the phone under a lot of light, like outdoors in a sunny day. With a black/dark background or app)

https://talk.sonymobile.com/t5/Xper...ss-gamma-bug-Marshmallow/m-p/1112766#U1112766

I'd like to know if this "issue" is just merged in Sony production firmware or is also merged in AOSP binaries/builds.

Thanks!

No problem. As soon as I have time.
 

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
Re: twrpifying aosp boot.img
So far it's a no go. Iv tried both methods of ramdisk modification that I know of that allow the Sony kernel to boot in to twrp and neither boot. In short, both methods involves modifying the boot folder and qcom.fstab in the ramdisk. Modifying aosp version of qcom.fstab (kitakami.fstab) works but AOSP ramdisk doesn't have a boot folder. And hijacking the init binary causes boot loops as well. In other words I don't know what I'm doing. If anyone has successfully done this ease let me know! I'll get on to re producing the adaptive brightness bug soon.
 
Last edited:
  • Like
Reactions: thesebastian

zacharias.maladroit

Recognized Developer
Re: twrpifying aosp boot.img
So far it's a no go. Iv tried both methods of ramdisk modification that I know of that allow the Sony kernel to boot in to twrp and neither boot. In short, both methods involves modifying the boot folder and qcom.fstab in the ramdisk. Modifying aosp version of qcom.fstab (kitakami.fstab) works but AOSP ramdisk doesn't have a boot folder. And hijacking the init binary causes boot loops as well. In other words I don't know what I'm doing. If anyone has successfully done this ease let me know! I'll get on to re producing the adaptive brightness bug soon.

Yeah, I also ran into that issue,

I took the recovery reboot script of AndroPlus and tested it on AOSP - either led to red notification LED, reboot or others - in all cases not getting into TWRP

I'm not sure how the situation on Z5C is related to CM13 and booting into cyanogenmod recovery.

Meaning flashing system.img, boot.img and recovery.img

and then enabling "Advanced Reboot" in Developer Settings -> Reboot -> Recovery

If that works, you could try comparing the changes of your current approach with that of CM13

(it does on the Z5)
 
Last edited:
  • Like
Reactions: Joeisgood99

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
aosp_e5823-userdebug 6.0.1 MMB29V.
Finaly got tima alone to test AOSP.
@thesebastian
I could not re produce the issue with adaptive briteness running aosp_e5823-userdebug 6.0.1 MMB29V.
However to see the screen properly in a badly lit room I had to have the britness adjusted to full, but no issues other then that.
Camera: Ill up load pics but blue and red swap around and still randomly can take 10 seconds to focuse and snap. Front and rear camera both work and change in camera options. Front camera does not have colour issues on the screen like rear camera but all photos taken with front camera are digital mess of green and red lines when viewed in gallery (which works fine) Video never starts and eventually F/C.

Other stuff: Blue-tooth, wires, internet, video stream, in and out going calls, sms, live wallpaper, usb connection, email all work fine. Browser speed was excellent.
I couldn’t get Google Play store to work. That is prob just me though.
For the short time I had it installed there was no over heating and battery didn’t do anything unusual.
Battery life. Battery predictions in settings stated I would get 12 hours life from 90% with the past hour consisting of constant screen on, internet and camera use.
The only option in settings that didn’t work was security settings which just F/C. So maybe something wrong with PrivApp?.
Double tap to wake works.
I was tempted to keep this on for a week, but I bought my Z5C for the camera.
If you don’t use the camera ever, and can figure out how to download apps from the play store(camera app??) then MMB29V. is starting to get to the stage where its a keeper.

EDIT: Can not boot in to boot loader via terminal or power off/on with volume up. The only way back from MMB29V is via xperifirm/flashtool.
 
Last edited:

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
I’m having trouble getting ANYTHING to compile on Ubuntu 16, so might be a while before any updates....unless I do a complete wipe & re install of Ubuntu 15....
If anyone is successfully building AOSP or Omnirom on Ubuntu 16 please let me know!
 

Lemming0815

Senior Member
Nov 25, 2015
139
42
Has anyone tried the latest build from fxpblog? I've not unlocked my device yet cause I need that camera just too often.
Have the latest blobs improved anything?
 

fratzika

Senior Member
Jul 3, 2012
54
8
Can anyone convert the fxp build (.img files) to twrp flashable zip? Or at least provide some instructions on how to do that as i use windows and some ext4 explorers crash on my system.
I just installed multirom and i want to test the aosp builds till i get one fully working:D
Link to latest: http://uploaded.net/file/cqq3vt2t/from/53n94q
 

Joeisgood99

Senior Member
Jan 4, 2015
306
193
Melbourne
Can anyone convert the fxp build (.img files) to twrp flashable zip? Or at least provide some instructions on how to do that as i use windows and some ext4 explorers crash on my system.
I just installed multirom and i want to test the aosp builds till i get one fully working:D
Link to latest: http://uploaded.net/file/cqq3vt2t/from/53n94q

Yeah I I've superr s kitchen.
http://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296
If you can't get it to work let me know and I'll upload my. Zip tonight.
 

Top Liked Posts