[Oreo 8.1.X][XZ1 - G8341] Android Open Source Project

Search This thread

davidteri91

Inactive Recognized Developer
Jul 27, 2012
2,357
8,583
31
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,583
31
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:

nelrulz

Member
Jul 3, 2011
27
8
Thank you for your work and providing us with AOSP. Is there a build coming for the G8342 Dual?
 

davidteri91

Inactive Recognized Developer
Jul 27, 2012
2,357
8,583
31
Cinisello Balsamo
Jenkins started new build ... Release probably tonight ... Follow me to get the news .... Stay tuned

Sent from my Xperia XZ1 (AOSP) using Tapatalk
 
  • Like
Reactions: Araa01

eggimong

Member
Jul 23, 2016
48
13
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'
 
D

Deleted member 5545167

Guest

Attachments

  • Screenshot_20180328-230614.jpg
    Screenshot_20180328-230614.jpg
    103.4 KB · Views: 2,341
  • Screenshot_20180328-230626.png
    Screenshot_20180328-230626.png
    120 KB · Views: 2,354
  • Screenshot_20180328-230702.jpg
    Screenshot_20180328-230702.jpg
    222.1 KB · Views: 2,311

emyjojo

Member
Feb 3, 2012
40
7
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.
 
D

Deleted member 5545167

Guest
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
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

Senior Member
Jan 10, 2018
1,424
2,292
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
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

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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
    4


    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
    4
    D
    Deleted member 5545167
    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.
    1
    Jenkins started new build ... Release probably tonight ... Follow me to get the news .... Stay tuned

    Sent from my Xperia XZ1 (AOSP) using Tapatalk
    1
    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