• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[Alpha][20141228] CM12 for the Xperia Z3

Untouchab1e

Elite Member
Apr 11, 2007
1,252
802
0
CyanogenMod 12 for the Xperia Z3

[STATUS]
Some vital functionality is still missing, mobile data being one of them and the camera being another. This build is therefore primarily targeted at developers and experimenting users.

NOTE: After booting up, try toggling wifi to avoid sleep issues.

[Working]
Touch Screen
Cellular radio
Bluetooth
Wifi
NFC (Temporarily broken)
Speaker audio
Adaptive Brightness
Gyroscope (Auto rotation)
Charging
Screen sleep (In lack of better term)
++++

[Not Working]
Mobile Data
Camera
Probably a lot of bugs and annoyances
++++

[Changelog]
>20141228
-- Updated CM12 sources with the new telephony stuff

>20141226 v2
-- Now using open source libril

>20141226
-- Android 5.0.2
-- 23.0.1.A.5.77 vendor libs update
-- New Audio HAL
-- Bluetooth improvements
-- Added missing proprietary service (modem related)
-- Thermanager updates (Results in very dim recovery though, sorry about that. Will fix asap)
-- NFC broken (Will get that up again, just didnt make it a priority for this build)
-- gsiff daemon still crashing. Remove it to improve battery life significantly.

>20141217
-- Added NCI HAL Module (credits: chirayudesai). NFC now works! (yay!)

>20141211
-- Kernel updates. Added several new modules.

> 20141210
-- Fixed the keymaster issues. systemui no longer crashes and security settings are now available. Bluetooth improvements.

> 20141209
-- Updated device config, kernel and CM12 sources (check Github for details)

> 20141201
-- Initial Release

[Installation Instructions]
Note: Do not flash unless you know what you're doing.

STEP 1 - Push the .zip file to your /sdcard partition. Boot into recovery and flash it. Make sure to do a full backup first. If you want to go back to a non CM12 ROM please flash a CWM recovery featured boot.img as the CM12 recovery is not exactly functional.

STEP 2 (Optional) - Flash Google Apps (Download Link)

[DOWNLOADS]
cm-1220141228-UNOFFICIAL-leo.zip
cm-1220141226-UNOFFICIAL-leo-v2.zip
cm-12-20141226-UNOFFICIAL-leo.zip
cm-12-20141217-UNOFFICIAL-leo.zip
cm-12-20141211-UNOFFICIAL-leo.zip
cm-12-20141210-UNOFFICIAL-leo.zip
cm-12-20141209-UNOFFICIAL-leo.zip
cm-12-20141201-UNOFFICIAL-leo.zip
NOTE: Be sure to wipe data if you're coming from a non-CM12 ROM.

[SCREENSHOTS]








[THANKS]

A big thanks to nycbjr for sparring with me and to everyone here who's spending their time testing, giving feedback and shoehorning in fixes and hacks.

XDA:DevDB Information
CyanogenMod 12 for the Xperia Z3, ROM for the Sony Xperia Z3

Contributors
Untouchab1e
Source Code: https://github.com/Zyg0te/android_device_sony_leo

ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Alpha

Created 2014-12-01
Last Updated 2014-12-28
 
Last edited:
G

Gaúcho comedor

Guest
@ Untouchab1e

Thank you very much for your work! I really appreciate that. I can't wait to have a fully working version!
 

iBuzman

Elite Member
Mar 7, 2011
1,437
654
0
Melbourne
I have fixed system ui issues by adb pushing SystemUI.apk from my latest 5.0.1 r2 lollipop aosp build - so I presume any aosp lollipop systemui apk will fix it. (all crashes gone - screen off charging now as I type)

Maybe this is a quick and dirty fix for your builds @Untouchab1e?

After pushing modem files, mba files and ril libs to fxp build my cellular connected up - meaning wifi, radio and SystemUI incl Screen Off/On all working :good: more details posted over in fxp cm12 thread
 
Last edited:

Untouchab1e

Elite Member
Apr 11, 2007
1,252
802
0
I have fixed system ui issues by adb pushing SystemUI.apk from my latest 5.0.1 r2 lollipop aosp build - so I presume any aosp lollipop systemui apk will fix it. (all crashes gone - screen off charging now as I type)

Maybe this is a quick and dirty fix for your builds @Untouchab1e?

After pushing modem files, mba files and ril libs to fxp build my cellular connected up - meaning wifi, radio and SystemUI incl Screen Off/On all working :good: more details posted over in fxp cm12 thread
Cool, wifi works too? Thought the bcmdhd wifi hal was broken for all bcm devices. Nice.
 

Untouchab1e

Elite Member
Apr 11, 2007
1,252
802
0
hey guys follow ibuzman's solution most of the functions work except one flawed the security under settings is inaccessible
That is due to the AOSP systemui.apk I believe. The reason for the systemui issue in the first place is that the keyguard doesnt connect with the service and hence security settings wont work because the keys cant be handled.
 
Last edited:

gallardo5

Elite Member
Apr 8, 2011
1,033
273
0
Glasgow
Hi. I cant download the rom as link seems dead. And thats why im asking, does the sound work with this rom? I flashed cm12 from fxp thread and it doesnt, so I was jist curious, and I will flash it straight away if sound works
 

gallardo5

Elite Member
Apr 8, 2011
1,033
273
0
Glasgow
Link updated.
Flashrd, for now most of things working, except camera and mobile data :) bluetooth is not very stable as it has problems with connecting, but once connected (after few tries) its fine
Just to make everything clean, maybe some of issues are my fault because I fkashed something that I should not ;) i fully wiped and flashed your rom, then cm12 gapps from here ( https://s.basketbuild.com/gapps ) and them modem.zip from this thread.

Edit: after some time with it (I will probably leave it as daily driver until it gets on my nerves enough :p ) I found few other issues:
Some apps have compability issues (e.g. xda loads, xperia z3 forum is still fine but when I go to subforum like advanced development, play store services crashes, and so does xda app. Everything loads in the background, I can see zverything behind the xxx has crashed message, but as soon as I press ok, it quits. Another one is facebook messenger, it is fine when browsing through conversation, but when I try to open one conversation, be it in app or from those small heads, it crashes).
Another issue is youtube (advertisements of course work, but the video I wanted to watch does not, it says "cant connect, press to try again")
Another issue is that every time I try to uninstall or clear data from any app, the phone does a soft reboot (shows bootanimatoon immediately)
The last issue I found is that bluetooth connects to my bluetooth headset, but sound stops working, just like in fxp CM, it just stays at 0:00 no matter what track I try to play.
Others issues are known, like camera or mobile data ;) signal drops entirely for few seconds from time to time but I think it is also known.
I will keep testing it as for now it is workibg enough to be my daily driver so will keep it updated with anything that I find :)

Found another thing, but I wont really call it an issue and it made me laugh a bit. No matter how full your battery is, phone just keeps saying its low. Battery life is fine, but notification comes after few seconds of cleaning it, and it comes every time. Right now the notification says " battery is low! Battery level : 82%";) but lets just call it a laughable feature :p
 

Attachments

Last edited:

Untouchab1e

Elite Member
Apr 11, 2007
1,252
802
0
@gallardo5 thanks for your detailed feedback. Ive build and uploaded a new build. It would be great if you could check it out and see if there are any changes or improvements. I havent done any huge modifications. But I have been tweaking around with vendor libs and the device configuration and of course, updated CM12 sources which at this point can have a significant impact on functionality.

Thank you. I really appreciate everyone's effort to make this work! I am sure we will get CM12 running well together :)