[ROM] LineageOS 20.0 UNOFFICIAL - 1.0 [2022-10-03]

Search This thread

sohrab1985

Senior Member
Feb 26, 2011
586
369
LineageOS 20.0 for Sony Xperia XZ Premium

logo.png



RELEASE

This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.

Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.

FEATURES
  • Signed with dev keys
  • Up-to-date kernel
  • WireGuard kernel support
DOWNLOAD

You can download the latest releases and TWRP here:

ROM: https://sourceforge.net/projects/yoshino/files/maple/lineage-20.0/
TWRP: https://sourceforge.net/projects/yoshino/files/maple/twrp/
GApps: https://sourceforge.net/projects/yoshino/files/gapps/

Check the ChangeLog below for firmware requirements!

INSTALLATION

Before first install: flash and boot into the TWRP provided in this thread, format data, reboot to recovery and wipe all internal partitions, then flash the ROM, GApps and root (if needed).

Or if you are coming from Lineage 19.x, dirty flash to 20.0 is possible too: flash the new TWRP, ROM, and GApps, su addons (if needed).

Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.

When updating from previous builds, simply dirty flash the ROM is enough, decryption in new TWRP works now ;)

Recommended GApps: MindTheGapps provided in this thread. (Important to flash with rom)

KNOWN ISSUES
  • You tell me...
Contributors
derf elot, modpunk, Rooted_Ansh

Thanks to the yoshino testers (let me know if I forgot to add you)
coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985

Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998

Rom Information
ROM OS Version:
Android 13
ROM Kernel: Linux 4.4

Version Information
Status:
Stable
Current Stable Version: 1.0
Stable Release Date: 2022-10-03
 

sohrab1985

Senior Member
Feb 26, 2011
586
369
SECURITY ADVICE

Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!

How to get root?

As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
 

Gordon1979

Senior Member
Nov 19, 2012
79
13
Is it the same procedure as always?
first flash latest available Stock ROM(47.2.A.10.107) and boot into it once.
Then flash the twrp,
then flash the rom?
 

sam595

Member
Mar 20, 2020
10
6
Try it yesterday, it work fine.
But dirty flash from los19.1 lead boot loop
Nothing bug so far.
But light theme with white text bug seem fix from los 19.1.
 

juanantofb

Senior Member
Jun 14, 2013
369
60
Hi all, and sorry, i forgot translate to english.

dirty flash, bootloop to recovery
clean flash, bootloop to recovery

delete all internal partitions, /firmware, /dsp, etc... :)

Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.

Only i am the reponse of the hard brick.

Sorry to all.
 
Last edited:

derf elot

Senior Member
May 7, 2011
871
1,883
Hi all, and sorry, i forgot translate to english.

dirty flash, bootloop to recovery
clean flash, bootloop to recovery

delete all internal partitions, /firmware, /dsp, etc... :)

Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.

Only i am the reponse of the hard brick.

Sorry to all.

You should not wipe those partitions. They are not wipeable in the GUI for a reason.

You should be bale to recovery this by going into flash mode and re-flashing stock.
 
May 6, 2012
5
1
Santo André
Hi all, and sorry, i forgot translate to english.

dirty flash, bootloop to recovery
clean flash, bootloop to recovery

delete all internal partitions, /firmware, /dsp, etc... :)

Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.

Only i am the reponse of the hard brick.

Sorry to all.
Do a TWRP install again in Fastboot mode. Hold down the VOL + key and then connect the data cable to the PC. Led Blue ON .
Install the Universal ADB drivers.
 

juanantofb

Senior Member
Jun 14, 2013
369
60
Hi all, not posible to enter in fastmode or flashmode, i waiting to discharge battery, if i can not enter in fastmode i think that this Sony is in the finale of your life.
 

sohrab1985

Senior Member
Feb 26, 2011
586
369
Hi all, and sorry, i forgot translate to english.

dirty flash, bootloop to recovery
clean flash, bootloop to recovery

delete all internal partitions, /firmware, /dsp, etc... :)

Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.

Only i am the reponse of the hard brick.

Sorry to all.
I'm sorry that this happened to your device.
As other friends mentioned in other posts you can recover from this by flashing the stock firmware IF you can get it to flash mode.
 

juanantofb

Senior Member
Jun 14, 2013
369
60
Hi, do not worry, the battery in this phone is the end of your life, more rom has been flashed.

The problem is that i can not put phone in flash mode, only the last posibility is to wait tha the phone discharge battery and i can enter in flash mode.

Thank.
I'm sorry that this happened to your device.
As other friends mentioned in other posts you can recover from this by flashing the stock firmware IF you can get it to flash mode.
 

sam595

Member
Mar 20, 2020
10
6
Found a small bug but not effect daily use.
When choose font or icon shapes.
It always default to last option.
The change effect normally through.
Screenshot_20221005-091251_Settings.png
 

Gordon1979

Senior Member
Nov 19, 2012
79
13
Installation complete, with minor difficulties.
My instructions:
1. flash last firmware (47.2.A.10.107) --> green LED
2. reboot once completely, Play Store not required to set up
3. reboot to fastboot --> blue LED
Link driver: https://developer.android.com/studio/run/win-usb
4. flash twrp: fastboot flash recovery twrp-3.6.2_12-0-20221002-maple
5. reboot to twrp
6. format data + restart in recovery
7. format dalvic , system , cache , data , internal storage + restart in recovery [ NOT Vendor Format !!!!! ]
8. flash the ROM,
8.1 Flash theGApps
8.2 Format Dalvic, Cache
9. reboooooooot
Have Fun :)
 

Doisony

New member
Oct 10, 2022
1
1
Hello,
This is the first rom I installed on my phone ever. I took me all day to figure it out how to unlock bootloader, install TWRP and then ROMS. I tried three roms: crDroid, Nusantara, and this one. I like this one best. It is amazing that one person can make such an OS and a whole sony corporation can not make an update :D

P.S. It works very well, but on my phone icons do not have bubbles when for example a message arrives. Maybe that is a bug or simply I do not know how to enable them (Notification dot on app icon is enabled).
At first I thought that there is a bug then I could not access files on a phone from a computer, but later I find out that it is a new security feature of newer android OS (I changed it to file transfer always on in Developers options) :D

Thank you :)
 
  • Like
Reactions: cisco424

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    when there's something worth releasing. something new in the rom & device tree.
    BTW, I'm not the dev, I'm just the publisher.
  • 10
    LineageOS 20.0 for Sony Xperia XZ Premium

    logo.png



    RELEASE

    This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.

    Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.

    FEATURES
    • Signed with dev keys
    • Up-to-date kernel
    • WireGuard kernel support
    DOWNLOAD

    You can download the latest releases and TWRP here:

    ROM: https://sourceforge.net/projects/yoshino/files/maple/lineage-20.0/
    TWRP: https://sourceforge.net/projects/yoshino/files/maple/twrp/
    GApps: https://sourceforge.net/projects/yoshino/files/gapps/

    Check the ChangeLog below for firmware requirements!

    INSTALLATION

    Before first install: flash and boot into the TWRP provided in this thread, format data, reboot to recovery and wipe all internal partitions, then flash the ROM, GApps and root (if needed).

    Or if you are coming from Lineage 19.x, dirty flash to 20.0 is possible too: flash the new TWRP, ROM, and GApps, su addons (if needed).

    Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.

    When updating from previous builds, simply dirty flash the ROM is enough, decryption in new TWRP works now ;)

    Recommended GApps: MindTheGapps provided in this thread. (Important to flash with rom)

    KNOWN ISSUES
    • You tell me...
    Contributors
    derf elot, modpunk, Rooted_Ansh

    Thanks to the yoshino testers (let me know if I forgot to add you)
    coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985

    Source Code
    maple: https://github.com/whatawurst/android_device_sony_maple
    maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
    kernel: https://github.com/whatawurst/android_kernel_sony_msm8998

    Rom Information
    ROM OS Version:
    Android 13
    ROM Kernel: Linux 4.4

    Version Information
    Status:
    Stable
    Current Stable Version: 1.0
    Stable Release Date: 2022-10-03
    5
    REQUIRED FIRMWARE:

    CHANGELOG
    2022-10-03 | 1.0 | 47.2.A.10.107

    • Initial release
    2
    SECURITY ADVICE

    Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!

    How to get root?

    As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
    2
    Installation complete, with minor difficulties.
    My instructions:
    1. flash last firmware (47.2.A.10.107) --> green LED
    2. reboot once completely, Play Store not required to set up
    3. reboot to fastboot --> blue LED
    Link driver: https://developer.android.com/studio/run/win-usb
    4. flash twrp: fastboot flash recovery twrp-3.6.2_12-0-20221002-maple
    5. reboot to twrp
    6. format data + restart in recovery
    7. format dalvic , system , cache , data , internal storage + restart in recovery [ NOT Vendor Format !!!!! ]
    8. flash the ROM,
    8.1 Flash theGApps
    8.2 Format Dalvic, Cache
    9. reboooooooot
    Have Fun :)
    1
    Is it the same procedure as always?
    first flash latest available Stock ROM(47.2.A.10.107) and boot into it once.
    Then flash the twrp,
    then flash the rom?
    Yes, That's it.
    Flash gapps as well and maybe magisk if you want root.