• 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][XZ1 - G8341] 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 XZ1 (Poplar) (G8341)

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][XZ1 - G8341] Android Open Source Project, ROM for the Sony Xperia XZ1

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 vendor vendor.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:

eggimong

Member
Jul 23, 2016
48
13
0
Fingerprint working
Micro SD working
Sony's aosp not support over iso 800(uditrawat's build can install magisk module to use high iso. but install on this build 'camera stopped'
 

emyjojo

Member
Feb 3, 2012
40
7
0
Is the fingerprint scanner working consistently? For me it says hardware not found after a few uses and it takes forever to scan my finger.
 

SirHydarnes

Elite Member
Nov 13, 2013
1,979
2,259
0
22
sirhydarnes.com
System Apps are from aosp oraz Google? Can you make screenshot from app drawer?
Yes it comes with preloaded gapps. Minimal but efficient, it also includes google's setup wizard. Doesn't include the pixel live wallpapers. I'm working on a Flashable pack that flashes the necessary google stuff like the blue theme that can't be found in Gapps. As for gapps, I suggest you either flash aroma gapps and set it not to flash camera, or just not flash gapps since the builds include google camera and it's working just fine.
From what I can gather, a bug exists and my guess is that it is because fingerprint wake and unlock is enabled. It's a feature that keeps the fingerprint sensor on when the screen is off and if you just touch the sensor without turning the screen on, the device automatically turns on unlocked. I tried finding a way to disable it but had no luck. If you try unlocking when the screen is off(touch the sensor) a few times the screen won't turn on and a force reboot is needed.
Another bug, or just a glitch is in the ui where toast messages(notifications) background color ia changed from white which is the default color to black but the text is still black and the padding in the box is more than usual.
Other than that, everything's working for me.
I've installed the march 27th build + supersu and opengapps stock and my own pack that I mentioned.
I've been waiting for a build like this and I'm keeping it on my device.

Also, one thing I noticed was that there is no battery tile, in fact there is one embedded into SystemUI but it seems to be replaced with a battery saver tile instead which is useless. I hope I either find the time to solve these problems or someone else does.

Either way, huge thanks to OP.
 

Klonoa76

Member
Apr 3, 2018
7
1
0
Bugs and bugs and bugs !

Sorry but since i installed your image, i keep on having bugs !

First, fingerprint is not working (works at first boot then not functionnal after a short time)

Secondly, the phone crashes all the time so i have to reboot it several times a day.

I also noticed a weird effect on the ear speaker. when i talk to my friends, i can hear myself out of the speaker. Very annoying and irritating !

I am more than surprised that no one talks about theses stuffs ...
 

xFirefly93

Elite Member
Jan 10, 2018
1,425
2,292
113
Timrå
Sorry but since i installed your image, i keep on having bugs !

First, fingerprint is not working (works at first boot then not functionnal after a short time)

Secondly, the phone crashes all the time so i have to reboot it several times a day.

I also noticed a weird effect on the ear speaker. when i talk to my friends, i can hear myself out of the speaker. Very annoying and irritating !

I am more than surprised that no one talks about theses stuffs ...
You know right that this ROM is still in the stable beta stage, and that your issues is related to lack of 100% configured & enhanced drivers from the AOSP device tree for the MSM8998 chipset (this is purely at Qualcomm and Sonys end).

This ROM is pretty much stable as it is, for now. So.
 

Klonoa76

Member
Apr 3, 2018
7
1
0
You know right that this ROM is still in the stable beta stage, and that your issues is related to lack of 100% configured & enhanced drivers from the AOSP device tree for the MSM8998 chipset (this is purely at Qualcomm and Sonys end).

This ROM is pretty much stable as it is, for now. So.
Be sure i appreciate the work you've done on this release but sorry i can't consider the rom stable regarding all the stuffs i related.

What do you think about the crashes ? Is there a workaround to fix this ?

Thanks
 
  • Like
Reactions: jimmy1235