• 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

[Experimental] AOSP | Current: 5.1.0 | LMY47I | Build 2015-03-26_1 | Kernel 3.10.x

cheep5k8

Senior Member
Sep 26, 2012
587
1,066
0
Berlin
AOSP for the Xperia Z2
--------------------------------------

CURRENT IS: 5.1.0_r3 LMY47I - build 2015-03-26_1

Based on Kernel 3.10.x

--------------------------------------

What should work (i.e. works on my staging ROM):

- All basics (screen, touch, buttons, sound)
- GPS
- Bluetooth/A2DP
- Wifi
- Torch/Flashlight/Camera is currently broken on 3.10.x builds; use build 2015-3-16_2 for camera
- SIM + Calls + SMS + Mobile Data (2G, 3G and LTE)
- All sensors
etc..

What doesn't work yet:

- The boot.img has no recovery built in
- This ROM does not come prerooted. Just flash SuperSU (2.45 or higher) to get root.
- Some apps have video glitches, e.g. YouTube, but HW-accelerated video playback works fine in e.g. MX Player
- Network location doesn't work (supl). You can only get a location lock with GPS satellites.
- Multiuser

--------------------------------------
DOWNLOAD
--------------------------------------
5.1 Gapps are available HERE Has been removed. Just use 5.0.x Gapps instead.

XDA:DevDB Information
AOSP for Xperia Z2, ROM for the Sony Xperia Z2

Contributors
cheep5k8
Source Code: https://github.com/md5555

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: AOSP

Version Information
Status: Testing

Created 2015-03-12
Last Updated 2015-03-25
 

Attachments

Last edited:

adyscorpius

Elite Member
Oct 6, 2010
2,405
1,728
0
Delhi
www.aditsharda.com
This is AOSP for the Xperia Z2.

CURRENT IS: 5.1.0 (Yes, 5.1.0)

WHAT WORKS:
Most stuff, if not all (except camera) works. Please report stuff that doesn't work.

WHAT STILL DOESN'T WORK
- The boot.img has no recovery built in.
- Camera is not working

DOWNLOAD


XDA:DevDB Information
AOSP for Xperia Z2, ROM for the Sony Xperia Z2

Contributors
cheep5k8
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Alpha

Created 2015-03-12
Last Updated 2015-03-12
Just for info, userdata.img contains what all stuff? As basically if I flash just boot and system, and wipe data it should work right?

Also, would flashing userdata wipe internal sd? Since media is a partition is on data itself!
 

cheep5k8

Senior Member
Sep 26, 2012
587
1,066
0
Berlin
Just for info, userdata.img contains what all stuff? As basically if I flash just boot and system, and wipe data it should work right?

Also, would flashing userdata wipe internal sd? Since media is a partition is on data itself!
Yeah, don't flash userdata if you want to keep your sdcard data.. it will be wiped. Just flashing boot and system images, then full wipe is OK.
 

Haldi4803

Elite Member
Oct 14, 2010
3,838
1,563
113
As always ASOP roms are fastboot .img files :(
How do I use that via MultiROM where I need a cwm zip?
Nandroid backup of current ROM, fastboot AOSP 5.1, flash recovery (is there even one for 5.1 yet?) create a backup, restore stock 4.4.4 via backup. Flash 5.1 in MultiROM from backup?
Or is there an easier way?


P.S you're fast!
 
Last edited:
  • Like
Reactions: juanmaasecas

cheep5k8

Senior Member
Sep 26, 2012
587
1,066
0
Berlin
As always ASOP roms are fastboot .img files :(
How do I use that via MultiROM where I need a cwm zip?
Nandroid backup of current ROM, fastboot AOSP 5.1, flash recovery (is there even one for 5.1 yet?) create a backup, restore stock 4.4.4 via backup. Flash 5.1 in MultiROM from backup?
Or is there an easier way?


P.S you're fast!
I'll make a flashable ZIP for the next build, sorry that these are img files only.
 

lonely2k5

Senior Member
Oct 26, 2007
92
35
0
I will definitely include a camera fix if only possible, but it might take a while as I also have a full-time day job, etc. ;)
yes absolutely
most of us have jobs
i don't even have time to install virtual ubuntu and try something to compile so just take your time..
i know how time flies when doing such stuff...
 

Aeonxul

Senior Member
Jan 28, 2013
147
20
0
www.last.fm
Many thanks dev. I'd really appreciate it if you could make a d6502 patch for us with 02 variant. Or is it possible to use d6502 patch provided for other roms? (Such az Existenz).
 

adyscorpius

Elite Member
Oct 6, 2010
2,405
1,728
0
Delhi
www.aditsharda.com
I could make the zip with working camera... Anyone know the commits?? I remember it being about the rhine stack.. Already have the sony source downloaded.. Just dunno where to find the fix...

Also guys, anyone know how to flash this rom without a pc?? Got a friend who can't setup his fastboot to work..
 

Mikey94

Senior Member
Dec 4, 2009
417
148
0
Deggendorf
I could make the zip with working camera... Anyone know the commits?? I remember it being about the rhine stack.. Already have the sony source downloaded.. Just dunno where to find the fix...

Also guys, anyone know how to flash this rom without a pc?? Got a friend who can't setup his fastboot to work..
I know that cdesai was the owner of this fix. Is this a help?

---------- Post added at 08:08 PM ---------- Previous post was at 07:58 PM ----------

I found it ;)
msm: camera: Use Sony Rhine camera stack from 4.3 | Merged | Chirayu Desai | CyanogenMod/android_kernel_sony_msm8974
http://review.cyanogenmod.org/84800

Use rhine 4.3 camera stack | Merged | Chirayu Desai | CyanogenMod/android_device_sony_sirius
http://review.cyanogenmod.org/84807

Camera: override camera2.portability.force_api property | Merged | Chirayu Desai | CyanogenMod/android_device_sony_msm8974-common
http://review.cyanogenmod.org/84799

Use rhine 4.3 camera stack | Merged | Chirayu Desai | CyanogenMod/android_device_sony_shinano-common
http://review.cyanogenmod.org/84806
 
Last edited:
  • Like
Reactions: adyscorpius

iMezouar

Member
Sep 19, 2014
12
0
0
Great release

Thanks !
I'm really excited about getting Lollipop on my Z2 ! Do you think it will be easily rootable ? If so, will you be releasing a rooted firmware ?
Any screenshots please ? :)
Thanks !