[ROM] LineageOS 20.0 UNOFFICIAL - 1.1 [2023-01-08]

Search This thread

No1Alien

Member
Feb 16, 2015
39
148
LineageOS 20.0 for Sony Xperia XZ1 Compact

logo.png



RELEASE

This is an alternative ROM for the Sony Xperia XZ1 Compact, 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

ROM: https://sourceforge.net/projects/yoshino/files/lilac/lineage-20.0/
TWRP: https://sourceforge.net/projects/yoshino/files/lilac/twrp/
Suggested Gapps (MTG): http://downloads.codefi.re/jdcteam/javelinanddart/gapps (choose 13.0.0/arm64)

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.

KNOWN ISSUES
  • Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
  • 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
https://github.com/whatawurst/android_device_sony_lilac
https://github.com/whatawurst/android_kernel_sony_msm8998
https://github.com/whatawurst/android_device_sony_yoshino-common

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

Version Information
Status:
Stable
Current Stable Version: 1.1
Stable Release Date: 2023-01-08
 
Last edited:

No1Alien

Member
Feb 16, 2015
39
148
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.
 

No1Alien

Member
Feb 16, 2015
39
148
REQUIRED FIRMWARE:

CHANGELOG

2023-01-08 | 1.1 | 47.2.A.11.228

- Updated to T QPR1 release (LineageOS upstream)​
- New default camera app (LineageOS upstream) - yes, we cannot change video fps currently (thanks Sony!)​
- Any other updates by LineageOS upstream​
- Kernel security updates (also thanks to Flamefire)​
- Dropped keyprovd service - it is useless on unlocked BL anyway​
- Show 4G instead of LTE icon - saves some space too​
- Enable IMS by default - this still only works if carrier is supported​
- Fix some selinux denials (also thanks to Flamefire)​
- Fixup ViLTE dependencies - this might in theory work again, but it's not enabled yet​

2022-10-03 | 1.0 | 47.2.A.11.228
  • Initial release
 
Last edited:

Sneexy

Member
Sep 12, 2021
6
3
Hello, I've flashed this ROM onto my device and it works, however Wi-Fi seems to randomly disconnect for a few seconds then reconnect, sometimes doesn't reconnect at all. Tried searching for a solution but found none. It seems to disconnect when any type of location activity happens? Currently rooted but also happens without root.
 

victor126

Senior Member
Sep 30, 2017
56
15
Hello, I've flashed this ROM onto my device and it works, however Wi-Fi seems to randomly disconnect for a few seconds then reconnect, sometimes doesn't reconnect at all. Tried searching for a solution but found none. It seems to disconnect when any type of location activity happens? Currently rooted but also happens without root.
did you format data
reboot to recovery
wipe all internal portions
reboot to recovery
then flash rom

just curious because i was gona try it
 

susetoyix

Member
Aug 17, 2019
16
2
I have done clean flash and I don't get any notifications or call screen on phone calls causing missed calls. No problems on wifi and mobile
 

norabitox

Senior Member
Dec 13, 2020
159
41
62
Anyone know if lte for t-mobile works on this? I couldn't get lte on lineage 19.
4G calling didn't work for me.
I used carrierconfig, the LOS version with 4G calls working.
This requires root.
The carrierconfig is located at data/user_de/0/com.android.phone/file.
carrierconfig-com.android.crrierconfig-~.xml
Replace the contents without changing the numbers in the name.
Why don't you try it?
sorry for my weird english.
 

azndan2

Senior Member
Apr 24, 2010
696
136
Los Altos
4G calling didn't work for me.
I used carrierconfig, the LOS version with 4G calls working.
This requires root.
The carrierconfig is located at data/user_de/0/com.android.phone/file.
carrierconfig-com.android.crrierconfig-~.xml
Replace the contents without changing the numbers in the name.
Why don't you try it?
sorry for my weird english.
What do I replace the contents with?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    @derf elot did it again. He checked over some of my logs and provided a fix for android auto on our device. Audio playback over USB C works too. The fix will be implemented in the next release.

    Don't forget to donate to the legend himself.

    Anyway, if you don't wanna wait AND have ROOT access, follow below steps. It works for me (1.1, not sure if it'll work on 1.0)
    1. Download a root file explorer (like solid explorer), doing this through twrp causes permission issues.
    2. Download attached file
    3. Rename the downloaded file to init.yoshino.usb.rc
    4. Rename /vendor/etc/init/hw/init.yoshino.usb.rc to init.yoshino.usb.rc.old
    5. Move the renamed file from step 2 to /vendor/etc/init/hw/
    6. Reboot
    7. Enjoy AA

    Issues?
    a. Booting system, but having issues after changes? Undo above steps.
    b. Not booting system after changes? Boot into twrp, mount system & vendor, undo above steps.

    Again, don't forget to donate. @derf elot deserves all the credit for this.
    5
    Just saw a new build is out 😁
    And I've made a new unofficial LineageOS for microG build. It's available on AndroidFileHost at https://www.androidfilehost.com/?fid=4279422670115709982

    The custom build will take a little longer as I can't build it in the cloud
    4
    yes, maybe copying it with twrp messed up the file permissions. it needs 644 afair (rw,r,r)

    So checking with a root file explorer would be a good idea.
    3
    Just saw a new build is out 😁
    3
    The custom build will take a little longer as I can't build it in the cloud
    The custom build is now built, seems to be working: file `lineage-20.0-20230117-4microg-CUSTOM-PLUS-E-lilac.zip` can be downloaded for AndroidFileHost

    The ROM no longer contains Fennec browser, because of problems with apk signing that I was unable to solve. If you are clean flashing the ROM, and you want to use Fennec, you will need to install it from F-Droid.

    However, I dirty flashed the ROM on my daily driver (after testing on my test phone - I'm not that confident :) ) and Fennec was still present. I have no idea how that worked, I'm just happy it did :)

    As always, any feedback is welcome. Good luck!
  • 23
    LineageOS 20.0 for Sony Xperia XZ1 Compact

    logo.png



    RELEASE

    This is an alternative ROM for the Sony Xperia XZ1 Compact, 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

    ROM: https://sourceforge.net/projects/yoshino/files/lilac/lineage-20.0/
    TWRP: https://sourceforge.net/projects/yoshino/files/lilac/twrp/
    Suggested Gapps (MTG): http://downloads.codefi.re/jdcteam/javelinanddart/gapps (choose 13.0.0/arm64)

    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.

    KNOWN ISSUES
    • Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
    • 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
    https://github.com/whatawurst/android_device_sony_lilac
    https://github.com/whatawurst/android_kernel_sony_msm8998
    https://github.com/whatawurst/android_device_sony_yoshino-common

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

    Version Information
    Status:
    Stable
    Current Stable Version: 1.1
    Stable Release Date: 2023-01-08
    10
    hello
    Thank you for your nice rom.
    No plans to update yet?
    Best regards.
    There is plans, probably next week at some point.
    8
    Making unofficial and custom builds of LineageOS for microG based on this ROM is (very high) on my ToDo list.
    No promises on ETA though :)

    I have finally managed to create Unofficial and Custom builds based on this ROM. AndroidFileHost is still unwell, so the ROMs can be downloaded from Jaguar (links will expire in 180 days (2023-05-27) -
    Many thanks to the people here and in the `lineageos4microg/docker-lineage-cicd` repo who have provided invaluable help.

    I have successfully dirty flashed the Custom build on my daily driver, and clean flashed both versions on a test device.. They both seem to work OK, and I haven't bumped into any major problems.

    Have fun, good luck, and please feel free to provide feedback here, or raise issues in my Codeberg repo .

    An outline of the necessary steps in this post in my Codeberg project issue Please feel free to PM me if you would like more information
    6
    On a side note since it's unofficial, is it possible to add signature spoofing for MicroG?
    Making unofficial and custom builds of LineageOS for microG based on this ROM is (very high) on my ToDo list.
    No promises on ETA though :)
    6
    REQUIRED FIRMWARE:

    CHANGELOG

    2023-01-08 | 1.1 | 47.2.A.11.228

    - Updated to T QPR1 release (LineageOS upstream)​
    - New default camera app (LineageOS upstream) - yes, we cannot change video fps currently (thanks Sony!)​
    - Any other updates by LineageOS upstream​
    - Kernel security updates (also thanks to Flamefire)​
    - Dropped keyprovd service - it is useless on unlocked BL anyway​
    - Show 4G instead of LTE icon - saves some space too​
    - Enable IMS by default - this still only works if carrier is supported​
    - Fix some selinux denials (also thanks to Flamefire)​
    - Fixup ViLTE dependencies - this might in theory work again, but it's not enabled yet​

    2022-10-03 | 1.0 | 47.2.A.11.228
    • Initial release