Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ROM][WIP]AOSP 5.0 Beta v2.0 | OTA 1 | Lollipop for Xperia Z2 [22-11-2014]

OP krabappel2548

16th November 2014, 10:13 PM   |  #1  
krabappel2548's Avatar
OP Recognized Contributor / Recognized Developer
Flag Zichem
Thanks Meter: 15,168
 
6,316 posts
Join Date:Joined: Nov 2011
Donate to Me
More

Hello everyone,

We present to you Android 5.0 AOSP for Xperia Z2. This is for the people that can't wait to see how lollipop looks like on Z2.

== Project status ==
Working:
- Bluetooth
- Wifi
- LED
- Texting (with OTA 1)
- Calling (with OTA 1)
- Sound
- Sensors
- Auto-Brightness
- Vibration
- Screen/Touch
- SELinux
- Mobile Data (with OTA 1)

- everything that's not in the "not working list"

Not working:
- Camera
- Mic on calling??
- Youtube Video Playback
- GPS
- ....

== Updates ==

OTA 1

The OTA 1 is a flashable ZIP. It contains a new kernel that now has a recovery, however, in order to flash it on the base ROM without the first OTA, you will need to flash a kernel (any kernel for Z2) with a recovery, then flash the OTA (maybe via ADB sideload).

After the OTA has been flashed you will have a kernel for this ROM with recovery, so you will not need to repeat this procedure again in the same way (but for the next OTA simply boot into the now existing recovery).

OTA 1 will give you complete sound (with headphone jack detection and proper audio routing; sound in calls might work only via headset) and mobile data.

THE OTA IS NOT A FULL ROM! YOU FIRST NEED TO FASTBOOT
FLASH THE IMAGES FROM THE MAIN DOWNLOAD. IF YOU FLASH ONLY THIS,
IT WILL NOT BOOT!


- You have to be on the main ROM first; if you are, go to the next step, if not, see the main instructions first
- Download the ZIP (see Download section)
- Flash any kernel for Xperia Z2 with recovery
- Boot into the recovery
- Flash the OTA 1 signed zip
- Wait until it's done (it might take a moment)
- The update will tell you when you can reboot
- Reboot
- Test&Report!

Thank you for choosing krabappel2548 + cheep5k8!

== Download ==
Download all files from the correct device folder, can be found in the common-files directory, system and kernel are in the version directories
- ROM: Xperia Z2 AOSP 5.0 Beta v2.0
- Gapps can be found in the main directory
- OTA 1: Xperia Z2 AOSP 5.0 Beta OTA 1

== Already on this rom?? ==
No need to wipe data unless I tell it in the thread
- Just flash system.img and boot.img using fastboot.
- Don't forget to flash gapps by hotbooting a kernel with recovey

== Installation instructions: ==
- Wipe userdata in recovery
- flash all 3 partitions using fastboot
Don't do this when you don't know what you are doing!!

You can flash gapps with any kernel with recovery. Just flash back the AOSP kernel to boot into device afterwards

== Changelog ==
Code:
Quote:

== Beta v3 (via OTA 1)== - Mobile Data working (RIL working, routing to modem device fixed) - Calls and Texts working - Sound routing/headphone jack detection working - Wifi stability improvements

== Beta v2 == - Sensors are fixed - first Z1 compact, Z2, Z3 and Z3 compact release - Latest 3.5.2.2 kernel - Mic is working while calling???? - Auto-brightness fixed - Rotation is working == Beta v1.1 == - Wifi is a lot more stable - Updated kernel - charging-LED is working now - Rom is more stable and supersmooth == Beta v1.0 == - Bluetooth - Wifi - LED - Texting - Calling - Sound - Brightness Slider (autobrightness doesn't work yet, turn it off to make slider working) - Vibration - Screen/Touch
== Screenshots ==
In the screenshot part of devdb project are more screenshots











XDA:DevDB Information
[ROM][WIP]AOSP 5.0 Beta v2.0 | OTA 1 | Lollipop for Xperia Z2 [22-11-2014], ROM for the Sony Xperia Z2

Contributors
krabappel2548, cheep5k8
Source Code: https://github.com/xperia-aosp-project?tab=repositories

ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked bootloader
Based On: AOSP

Version Information
Status: Beta
Current Beta Version: 2.0
Beta Release Date: 2014-11-16

Created 2014-11-16
Last Updated 2014-11-22
Last edited by krabappel2548; 22nd November 2014 at 06:14 PM.
The Following 36 Users Say Thank You to krabappel2548 For This Useful Post: [ View ]
17th November 2014, 12:21 AM   |  #2  
MattJaO3D's Avatar
Senior Member
Flag Cardiff
Thanks Meter: 136
 
532 posts
Join Date:Joined: Oct 2012
Donate to Me
More
Awesome, big thanks, will test tomorrow dude, this is looking promising
17th November 2014, 12:55 AM   |  #3  
adwinp's Avatar
Senior Member
Flag urandom
Thanks Meter: 160
 
1,689 posts
Join Date:Joined: Jun 2008
More
You need the proper libs & HAL for GPS.
Take a look at other repos for 4.4 like CM/Vanir, for example:
https://github.com/CyanogenMod/andro...ee/cm-12.0/gps

As for the camera, are permissions are correctly set in /dev/* ?
Is SELinux correctly set up?
Are you using the correct build definitions in BoardConfig*?
Again, a good reference: https://github.com/CyanogenMod/andro...onfigCommon.mk
But be sure to use the CodeAurora hardware repos
17th November 2014, 01:25 AM   |  #4  
krabappel2548's Avatar
OP Recognized Contributor / Recognized Developer
Flag Zichem
Thanks Meter: 15,168
 
6,316 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by adwinp

You need the proper libs & HAL for GPS.
Take a look at other repos for 4.4 like CM/Vanir, for example:
https://github.com/CyanogenMod/andro...ee/cm-12.0/gps

As for the camera, are permissions are correctly set in /dev/* ?
Is SELinux correctly set up?
Are you using the correct build definitions in BoardConfig*?
Again, a good reference: https://github.com/CyanogenMod/andro...onfigCommon.mk
But be sure to use the CodeAurora hardware repos

Yeah, I haven't worked on GPS and camera yet was trying to fix other bugs first

Sent from my Xperia Z1 (AOSP) using XDA Free mobile app
The Following 6 Users Say Thank You to krabappel2548 For This Useful Post: [ View ]
17th November 2014, 03:03 AM   |  #5  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Aug 2014
More
Exclamation Just flashed in UK to D6503
Hello, I have just flashed your ROM and I can confirm that calls and other SIM functions are NOT working.
I am on 02-UK, and the signal bar shows nothing, and if I try dial a number it gives me a no SIM error
17th November 2014, 03:43 AM   |  #6  
Member
Flag Melbourne
Thanks Meter: 19
 
79 posts
Join Date:Joined: Apr 2010
More
This is great, glad to see some talented dev's getting into building this stuff.

Also liking the fact that you've managed to build for almost all devices, really cool.
17th November 2014, 04:33 AM   |  #7  
Senior Member
Flag Delhi
Thanks Meter: 1,566
 
2,176 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Looks like I would try this with a bluetooth headset and see if calling works then.. Thanks so much for the work!!
17th November 2014, 04:53 AM   |  #8  
stanley08's Avatar
Recognized Contributor
Flag Accra, Ghana.
Thanks Meter: 1,702
 
2,270 posts
Join Date:Joined: Jun 2012
More
Keep doing ur GREAT work. i will donate to this project. Cheers.
The Following 2 Users Say Thank You to stanley08 For This Useful Post: [ View ]
17th November 2014, 05:41 AM   |  #9  
Junior Member
Dubai
Thanks Meter: 7
 
21 posts
Join Date:Joined: Nov 2013
More
I am truly impressed by how far this have gone, flashing and testing now !

Note: I am not a developer, but I sure do wish I was.
17th November 2014, 07:01 AM   |  #10  
Senior Member
Flag Berlin
Thanks Meter: 52
 
112 posts
Join Date:Joined: Aug 2009
More
krabappel2548 ... i have to thank you!
i follow your threads on Z1 and Z2 becauae i own a Z1 and my girlfriend owns a Z2 ... i'm very exited what an amazing job you did!
i will spend 10 exactly the moment your rom works as a daily base (calls and mobile data working)
It's amazing! thank you!

Gesendet von meinem Xperia Z1 mit Tapatalk

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes