• 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

[Oreo 8.1.X][XZ Premium - G8141] Android Open Source Project

davidteri91

Inactive Recognized Developer
Jul 27, 2012
2,357
8,582
0
29
Cinisello Balsamo
This is AOSP for Sony Xperia XZ Premium (Maple) (G8141)

SonyAosp build will always mainly based on AOSP with some Material stuff

Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
Code:
IMPORTANT: Make sure you have an unlock Bootloader

Please if you have Locked Bootloader you may check this http://developer.sonymobile.com/unlockbootloader/
Code:
WORKING
- RIL
- Mic
- Sound (Speaker and Headset)
- LED
- Thermal Manager
- Audio and Video Decoders/Encoders
- Camera (WIP)
- Recovery (Only for flash signed zips)

XDA:DevDB Information
[Oreo 8.1.X][XZ Premium - G8141] Android Open Source Project, ROM for the Sony Xperia XZ Premium

Contributors
davidteri91
Source Code: http://Github.com/SonyAosp

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP

Version Information
Status: Stable

Created 2018-03-25
Last Updated 2018-03-25
 

davidteri91

Inactive Recognized Developer
Jul 27, 2012
2,357
8,582
0
29
Cinisello Balsamo


This ROM has included GAPPS

Steps for Flash

Code:
[FONT="Arial"][SIZE="3"]   fastboot flash oem xxxxx.img  [/SIZE][/FONT]
[FONT="Arial"][SIZE="3"]   fastboot flash boot boot.img  [/SIZE][/FONT]
[FONT="Arial"][SIZE="3"]   fastboot flash recovery recovery.img  [/SIZE][/FONT]
[FONT="Arial"][SIZE="3"]   fastboot flash system system.img  [/SIZE][/FONT]
[FONT="Arial"][SIZE="3"]   fastboot flash userdata userdata.img  [/SIZE][/FONT]
Please make sure your device is updated to latest sony software present on flashtool due to loader requeriments

To flash oem partition you should download odm.img from https://developer.sony.com/develop/open-devices/latest-updates/

You don't need flash userdata everytime .... only first time ..... userdata.img will wipe your data... you may be adviced
 
Last edited:

mk4y

Senior Member
Dec 28, 2008
182
18
0
Bremen
Voice record volume is super low on this rom. Its impossible to send voice messages via whatsapp. Fingerprint is also not working.
 

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
Voice record volume is super low on this rom. Its impossible to send voice messages via whatsapp. Fingerprint is also not working.
That should be easy fixable by setting the right Fluence Audio Configs. I've seen this and many other Issues related to Fluence in the past. I just ordered a XZ Premium so i can't test it yet, but if You want to give it a try just take a look on My Signature and Flash the Snappatch which includes Fluence Configs based on the Mic Positions on the Device. 50-50 that it fixes the Issue without further changes for the XZ Premium.

Don't want to advertise myself, if the OP is interested on fixing this can You just PM Me! I'll guide You to the Fix without the need of My Patch...

BR:cowboy:
 

mk4y

Senior Member
Dec 28, 2008
182
18
0
Bremen
That should be easy fixable by setting the right Fluence Audio Configs. I've seen this and many other Issues related to Fluence in the past. I just ordered a XZ Premium so i can't test it yet, but if You want to give it a try just take a look on My Signature and Flash the Snappatch which includes Fluence Configs based on the Mic Positions on the Device. 50-50 that it fixes the Issue without further changes for the XZ Premium.

Don't want to advertise myself, if the OP is interested on fixing this can You just PM Me! I'll guide You to the Fix without the need of My Patch...

BR:cowboy:
It didnt work. Its not even opening Aroma Installer. Screen flickers and then it freezes... :(

---------- Post added at 11:38 PM ---------- Previous post was at 11:38 PM ----------

That should be easy fixable by setting the right Fluence Audio Configs. I've seen this and many other Issues related to Fluence in the past. I just ordered a XZ Premium so i can't test it yet, but if You want to give it a try just take a look on My Signature and Flash the Snappatch which includes Fluence Configs based on the Mic Positions on the Device. 50-50 that it fixes the Issue without further changes for the XZ Premium.

Don't want to advertise myself, if the OP is interested on fixing this can You just PM Me! I'll guide You to the Fix without the need of My Patch...

BR:cowboy:
Nope. Its not opening Aroma Installer. Instantly freezes TWRP :(
 

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
It didnt work. Its not even opening Aroma Installer. Screen flickers and then it freezes... :(

---------- Post added at 11:38 PM ---------- Previous post was at 11:38 PM ----------



Nope. Its not opening Aroma Installer. Instantly freezes TWRP :(
Thanks for trying and letting Me know! My XZ Premium is on the Way now and should be in My Hands till this Weekend. I will check it out by Myself, and i'm also planning to Support the Xperia Family with My Work again. Not sure what it will be (Stock based ROM, AOSP ROM, or a continued Snappatch), but i will at least contribute the Fix for the Mics. BtW. Is this Bug only present on this AOSP ROM or on all others too?

BR
 
  • Like
Reactions: Inerent

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
About to try this Out... Any Problems by installing GApps over the included Ones? Like Different Folder Locations or Things like that!?

Recovery working? for me just stuck on Sony screen... Other than that rom is working good
You can just keep TWRP, the AOSP Recovery is a lil extra for flashing Updates but it wont allow You to do much else.
can you give some screenshots pls?
Screenshots from what? It's AOSP, not a Custom ROM. No fancy Options or Things like that...
The best Way is just trying it out. You can't Capture Performance, Quality or Smoothness of a OS in a Picture...

BR:cowboy:
 

beammer335d

Senior Member
Jul 1, 2012
331
53
28
Thanks @Miustone up and running the your latest upload.. after reading your comment about, Not placing those files in a folder, I already flash your snap.... Is there much difference I would notice
 

F1Fanatic27

Senior Member
Mar 23, 2013
154
63
0
King's Lynn
Can't get into recovery after flashing this. By the way I didn't flash the recovery in the zip, I stuck with TWRP, but it's not getting past the splash screen. I'm using 3.2.1-0, I was using 3.2.0-0 with the same issue.

Liking AOSP on this phone so far. Untouched camera isn't even as bad as I was expecting, save for some autofocus issues.
 

SuzutsukiKaede

Senior Member
Feb 13, 2018
58
38
0
Suzhou
Can't get into recovery after flashing this. By the way I didn't flash the recovery in the zip, I stuck with TWRP, but it's not getting past the splash screen. I'm using 3.2.1-0, I was using 3.2.0-0 with the same issue.

Liking AOSP on this phone so far. Untouched camera isn't even as bad as I was expecting, save for some autofocus issues.
same problem.