• 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

AOSP for Xperia Z2

_heisenberg

Senior Member
Aug 30, 2013
492
246
0
Ladshut/Bavaria


As requested, this is my build of the Android Marshmallow for the Xperia Z2.
This ROM was build after this instructions.​

Download
Android File Host

What you need to know:
- This ROM does not have an recovery at the moment.
- This ROM requires an unlocked bootloader.
- This ROM is not rooted.
- This is pure AOSP, nothing more.

FAQ:
Where are my Google Apps?
There are no Google Apps included in this ROM.
Why is there no recovery so far?
Because this is the pure AOSP code so far.
Bugs:
- SD card is not accessible
- No Mobile Connections (does not detect SIM card)

Installation Instructions:
- Download .zip file & unpack (don't flash)
- flash different images via fastboot (DANGER: flashing userdata.img will erase the complete internal storage)
Code:
fastboot flash userdata userdata.img
Code:
fastboot flash system system.img
Code:
fastboot flash boot boot.img
- Reboot
Code:
fastboot reboot

This ROM goes straight from my PC online. I did not try this at home. Please report if something does not work properly, I will respond and try to help you as fast as I can.

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

Contributors
_heisenberg, _heisenberg
Source Code: https://android.googlesource.com/

ROM OS Version: 6.0.x Marshmallow
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP

Version Information
Status: Testing

Created 2015-10-17
Last Updated 2015-10-17
 
Last edited:

mario972

Senior Member
Feb 8, 2013
70
26
0
Piaseczno
Actually, the pure AOSP builds have root rights, they only work via terminal emulator or adb shell. I managed to get Gapps and SuperSU working on my build by temporarily flashing CM12.1 boot.img to get to the recovery and flashing them. But it isn't exactly usable, as the Google config screen is constantly getting FC'd. Well, that's Sony for you :p .
 
  • Like
Reactions: moman2000

_heisenberg

Senior Member
Aug 30, 2013
492
246
0
Ladshut/Bavaria
Actually, the pure AOSP builds have root rights, they only work via terminal emulator or adb shell. I managed to get Gapps and SuperSU working on my build by temporarily flashing CM12.1 boot.img to get to the recovery and flashing them. But it isn't exactly usable, as the Google config screen is constantly getting FC'd. Well, that's Sony for you :p .
Yeah you could try that too here, do you use Marshmallow as a daily driver?
 

mario972

Senior Member
Feb 8, 2013
70
26
0
Piaseczno
Yeah you could try that too here, do you use Marshmallow as a daily driver?
Nope, I'd probably do but there are two major problems - the Gapps FC's and the delayed lockscreen. And I had to compile it TWICE, making the mistake of typing the NUMBER in and not the NAME, I've been compiling the generic version for almost 8 hours. So yeah, I'm waiting for Sony's Marshmallow or CM13.
 

_heisenberg

Senior Member
Aug 30, 2013
492
246
0
Ladshut/Bavaria
Nope, I'd probably do but there are two major problems - the Gapps FC's and the delayed lockscreen. And I had to compile it TWICE, making the mistake of typing the NUMBER in and not the NAME, I've been compiling the generic version for almost 8 hours. So yeah, I'm waiting for Sony's Marshmallow or CM13.
You mean typing the number at 'lunch'? I also did that...