• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][XZ1 G8341][AOSP][Android 11][Security Patch 05 November 2020]

Search This thread

gsep

Member
Dec 15, 2012
21
10
Android Open Source Project - android-11.0.0_r17

* 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.

Credits: Google, Sony Xperia Developer World

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

Sorry for my english.

Hi everyone, this is the first time I am compiling a ROM.
It's just a test, as it seems to work I decided to share it with you.

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

Instructions:

Before you flash the images, make sure your device is unlocked through Sony’s unlock boot loader service and that the device is in Fastboot mode.

- Download the vendor image and flash first:
https://developer.sony.com/file/dow...es-for-aosp-android-11-0-kernel-4-14-yoshino/

- Unpack the vendor zip file to obtain the vendor image;

- Connect the device to your computer in Fastboot mode, by pressing volume up while inserting the USB cable. When the device is in Fastboot mode, the LED on the device will be illuminated in blue.

- Flash the vendor image by entering the following commands in a terminal window:
fastboot flash oem SW_binaries_for_Xperia_Android_<release version>_<platform>.img

- Download ROM:
http://www.mediafire.com/file/ph3z52u2staujx6/android-11.0.0_r17.zip/file

- Unpack the rom zip file to obtain the rom image;

- Flash the image by entering the following commands in a terminal window:
fastboot flash boot boot.img​
fastboot flash recovery recovery.img​ ( Don't use the recovery in this rom, I've tested this TWRP 3.3.1 found here: https://forum.xda-developers.com/xperia-xz1/themes/twrp-3-3-0-aroma-compatible-ultra-low-t3922527 )
fastboot flash system system.img​
fastboot flash vendor vendor.img​
fastboot flash userdata userdata.img​

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

Bugs:
- Tethering usb;
- Factory reset don't work;
- After the system is started the first time, restarting in recovery, the twrp goes into bootloop. To start twrp again you need to flash the userdata.img (factory reset) via fastboot;
- I don't know.

Tested:
- 4G;
- 3G;
- 2G;
- GPS;
- Voice Call;
- Wifi;
- Stock Camera;
- Fingerprint;
- Bluetooth.

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

I flashed the Android 11 GAPPS and everything seems to be working fine.

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

Source Code: https://github.com/sonyxperiadev/kernel/tree/aosp/LA.UM.7.1.r1

ROM OS Version: Android 11
ROM Kernel: Linux 4.14.196
Based On: AOSP
Security Patch: 05 November 2020

Version Information
Status: Test

Created 2020-07-11
Last Updated 2020-07-11
 

Attachments

  • Screenshot_20201107-175914.png
    Screenshot_20201107-175914.png
    117.6 KB · Views: 996
Last edited by a moderator:

starvirus10

Member
Feb 7, 2019
30
4
Blitar
Android Open Source Project - android-11.0.0_r17

* 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.

Credits: Google, Sony Xperia Developer World

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

Sorry for my english.

Hi everyone, this is the first time I am compiling a ROM.
It's just a test, as it seems to work I decided to share it with you.

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

Instructions:

Before you flash the images, make sure your device is unlocked through Sony’s unlock boot loader service and that the device is in Fastboot mode.

- Download the vendor image and flash first:
https://developer.sony.com/file/dow...es-for-aosp-android-11-0-kernel-4-14-yoshino/

- Unpack the vendor zip file to obtain the vendor image;

- Connect the device to your computer in Fastboot mode, by pressing volume up while inserting the USB cable. When the device is in Fastboot mode, the LED on the device will be illuminated in blue.

- Flash the vendor image by entering the following commands in a terminal window:
fastboot flash oem SW_binaries_for_Xperia_Android_<release version>_<platform>.img

- Download ROM:
http://www.mediafire.com/file/ph3z52u2staujx6/android-11.0.0_r17.zip/file

- Unpack the rom zip file to obtain the rom image;

- Flash the image by entering the following commands in a terminal window:
fastboot flash boot boot.img​
fastboot flash recovery recovery.img​ ( Don't use the recovery in this rom, I've tested this TWRP 3.3.1 found here: https://forum.xda-developers.com/xperia-xz1/themes/twrp-3-3-0-aroma-compatible-ultra-low-t3922527 )
fastboot flash system system.img​
fastboot flash vendor vendor.img​
fastboot flash userdata userdata.img​

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

Bugs:
- I don't know.

Tested:
- 4G;
- 3G;
- 2G;
- GPS;
- Voice Call;
- Wifi;
- Stock Camera;
- Fingerprint.

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

I flashed the Android 11 GAPPS and everything seems to be working fine.

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

ROM OS Version: Android 11
ROM Kernel: Linux 4.14.196
Based On: AOSP
Security Patch: 05 November 2020

Version Information
Status: Test

Created 2020-07-11
Last Updated 2020-07-11


I have tried this rom
thank you for your hard work.

In my opinion, this ROM is pretty good with almost no problems

But please fix Eraser All data (factory reset) from settings. i found it was always force closed

Too much drain on the battery, maybe because fingerprints always work without pressing power

The feature for displaying the frame rate needs to be improved because it is less accurate

a little troublesome because I can't enter TWRP maybe because I didn't flash recovery.img from zip

I will be looking forward to improvements of this rom

maybe I will change this comment after getting root access

If i try to flash it on my XZ Premium (G8141), can it be successfull? XZP is also Yoshino platform

I recommend that you only use the rom that matches the codename of the device.
to avoid things that are not desirable

https://forum.xda-developers.com/xz-premium/development
 
Last edited:

gsep

Member
Dec 15, 2012
21
10
I have tried this rom
thank you for your hard work.

In my opinion, this ROM is pretty good with almost no problems

But please fix Eraser All data (factory reset) from settings. i found it was always force closed

Too much drain on the battery, maybe because fingerprints always work without pressing power

The feature for displaying the frame rate needs to be improved because it is less accurate

a little troublesome because I can't enter TWRP maybe because I didn't flash recovery.img from zip

I will be looking forward to improvements of this rom

maybe I will change this comment after getting root access



I recommend that you only use the rom that matches the codename of the device.
to avoid things that are not desirable

https://forum.xda-developers.com/xz-premium/development

Thanks for trying it.
I'll try to fix what you told me, but I don't guarantee that I will.

It also happened to me that the twrp did not start.
After re-flashing userdata.img (factory reset) via fastboot, twrp recovery started.
I assume twrp doesn't read the encrypted data and doesn't start.

Any advice is welcome.
 
Last edited:

sohrab1985

Senior Member
Feb 26, 2011
578
350
@gsep
Thanks for the Great work.
Someone who tried this rom mentioned that fingerprint works without pressing power, which I believe is really useful. I just wanted to know if it's Android 11 feature or you added it yourself?
 

gsep

Member
Dec 15, 2012
21
10
Sorry for overspamming this thread but... Is the screen "lagging" bug still here in 11? Also , what about battery life?

At the moment no changes have been made. I don't know how long the battery life is, I use this device as a second smartphone, and I wanted to try to compile a rom to get the latest security patches. I have to learn a lot to start making changes to the source and I have to find the time to do it. If I don't have any problems I will certainly try to keep the security patches updated.