[ROM] LineageOS 18.1 UNOFFICIAL - 1.0 [2021-01-17]

Search This thread

Corias

Senior Member
May 12, 2009
197
17
33
Moscow
Thanks. I've installed the magisk hide props, but i don't know the next to choose Xperia 5. What do you mean?
Read the manual - this module has a CLI to set device props/fingerprint. In the CLI, choose Set device fingerprint - Pick certified - Sony - Xperia 5
Maybe other fingerprints do also work. I've tested this one only.
 

basstbone

Member
Jul 7, 2010
5
0
Read the manual - this module has a CLI to set device props/fingerprint. In the CLI, choose Set device fingerprint - Pick certified - Sony - Xperia 5
Maybe other fingerprints do also work. I've tested this one only.
Yes, I did it! Google Pay seems to registry my card, but now it shows "Contactless don't configured". I keep trying. Thanks al lot!

EDIT: Google Play working now. Finally i had to clear the google pay data and cache, and play Store data and cache with the smartphone in airplane mode.
For anyone who having the same problem, i had to intall:
- Magisk and Magisk Manager and a Terminal Emulator
- Magisk Hide Props Config and configure cts profile as Xperia 5 via Terminal (SU, then PROPS, then First Option, then SONY, then Xperia 5)
- Clean the Google Pay and Google Play /Play Services Data and cache.
And That's it!

Happy with my Fresh Lineage 18 /Android 11 in my XZ1. It works perfectly for now. Bluetooth in my car.... all the common apps working and no errors. THANKS!!!!
 
Last edited:

basstbone

Member
Jul 7, 2010
5
0
Hi guys. The app "audio recorder" oficial from Sony, to use the STM10 Stereo Microphone from Sony that is compatible with XZ1 (5 pin jack) doesn't work. It says "microphone is been used by other app"
 

Alex Verise

Member
Nov 18, 2020
6
1
друзья! Не работает gps никак, помогите пожалуйста! так как откатится до 10 не работает

----------

MOD EDIT: English Translation Below

friends! Gps does not work in any way, please help! since it will roll back to 10 does not work
 
Last edited by a moderator:

Alex Verise

Member
Nov 18, 2020
6
1
Извините, но большие игры с google play не устанавливаются, просто выскакивает ошибка

----------

MOD EDIT: English Translation Below

Sorry, but big games from google play are not installed, just an error pops up
 
Last edited by a moderator:

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,920
9,720
30
Ambala
OnePlus 5
@Alex Verise Hi! I see that you're new here. Welcome to XDA! :) Please note that XDA is an international forum, and hence only English is permitted to be used across the website.

The above is as per the Forum Rules:

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.

As a courtesy, I've added the English translation to your post. Going forward, kindly use English to post/reply on the forum. :)

Regards,
shadowstep
Forum Moderator

----------

Привет! Я вижу, что ты здесь новенький. Добро пожаловать на XDA! :) Обратите внимание, что XDA - международный форум, поэтому на сайте разрешено использовать только английский язык.

Вышеупомянутое соответствует Правилам форума:

4. Используйте английский язык.

Мы понимаем, что не все люди разных национальностей хорошо говорят по-английски, но, пожалуйста, попробуйте. Если вы действительно не можете писать на английском, воспользуйтесь онлайн-переводчиком. Вы можете включить исходное сообщение на своем родном языке под английским переводом. (Это правило распространяется на ваши сообщения, записи профиля и подпись). Вы можете попробовать: - https://translate.google.com/ или https://www.babelfish.com/ или использовать один на ваш выбор.

В качестве любезности я добавил к вашему сообщению английский перевод. Забегая вперед, любезно используйте английский для сообщений / ответов на форуме. :)

С Уважением,
shadowstep
Модератор форума
 

perosmc

Member
Nov 24, 2016
14
5
Great rom, thanks. I use without being shy my XZ1 alongside with my Pixel 4a 5g. One question, this is my first time flashing lineage OS on a newer phone. Netflix is missing totally. I did everything correctly, Android 11 is fast, smooth and stable.

My LG G2 with lineage 17.1 is GP certified and plays Netflix flawlessly. Will this get a fix and be restored for XZ1 later?

Please try fixing Green Screen HDR youtube. I don't know how to disable hdr so, it prevents me from watching some videos.

Great performance, much faster than stock pie, great display colors with dci-p3 but youtube is busted. Very serious issue.
 
Last edited:

adm_

Senior Member
Dec 11, 2008
64
31
derf elot,
do you know/understand, why restored nandroid backup of your los 17.2 does not start (i'd got endless los's halfsircle animation) when it is restored over your los 18.1?
and is there a way to restore without formatting /data from twrp 3.5.0?

/data/per_boot was deleted before doing nandroid backup, of course, and backup was made by the same twrp version 3.5.0.

p.s.
another, working (i'd restored from it for sure) nandroid backup of los 17.1 from december also was restored cleanly and does not start with the same endless halfsircle animation.
 
Last edited:

Corias

Senior Member
May 12, 2009
197
17
33
Moscow
Sorry, but big games from google play are not installed, just an error pops up
This might be game-specific, did just tried Genshin Impact (about 8GB), it installs and runs OK.
What download mechanism does your game use? OBB or internal download tool? If possible, post Google Play link here
 

perosmc

Member
Nov 24, 2016
14
5
Lg g2 with android 11 los 18.1 is certified. Any chance for xz1 to be certified too for netflix or other drm things? Any news about hdr youtube not working? Noone here watches yt?
 

perosmc

Member
Nov 24, 2016
14
5
Now I am rooted, google play certified but I cannot pass cts. Netflix not showing in play store also. Half baked solution is magisk and lineage 18.1 g8341.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Using this ROM for 2 months now...
    Pros:
    + Mostly stable, except for very specific case (see cons)
    + Almost no bloatware (microg, vendor-specific apps etc) - modem switcher notifications are disableable at last
    + Passes SafetyNet with minimal handwaving
    + All hardware stuff appears to be working

    Cons:
    - High power consumption, discharge from full to 30 percents in 10 hours (was about 16 hours on LOS 17.1)
    - Sudden freezes when making partial screenshots (short-press vol down + power)
    - Camera app does not actually save to SD card
    - Weird recovery - had to manually patch kernel image file for Magist setup, then install (written above, pg2 or 3 of this thread), looks like recovery coming with this ROM does something wrong - autopatch via recovery kills kernel, regardless which Magisk version do I pick
    1
    Random hang & reboot on intensive storage write (SD or internal, does not matter). May corrupt SD index. Only way to avoid is to lock and don't use phone at all when it writes much data.
  • 35
    LineageOS 18.1 for Sony Xperia XZ1

    logo.png


    RELEASE

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

    poplar (G8341):
    twrp-3.5.0-0-20210117-poplar
    lineage-18.1-20210117-UNOFFICIAL-1.0-poplar

    poplar_dsds (G8342):
    twrp-3.5.0-0-20210117-poplar_dsds
    lineage-18.1-20210117-UNOFFICIAL-1.0-poplar_dsds

    poplar_canada (G8343):
    twrp-3.5.0-0-20210117-poplar_canada
    lineage-18.1-20210117-UNOFFICIAL-1.0-poplar_canada


    Check the ChangeLog below for firmware requirements!

    INSTALLATION

    Put the zip file of the ROM on your sdcard or internal storage, boot into recovery and flash. When coming from stock: boot into TWRP, format data, reboot to recovery and wipe all internal partitions. Then flash the ROM, GApps (if needed) and root (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 builds, simply dirty flash the ROM.

    If coming from 17.1, please see advice below in second post ("UPGRADE LINEAGEOS").

    KNOWN ISSUES
    • WFD is not working yet (waiting for new non-BSP blobs)
    • 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 testers
    coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985

    Source Code
    poplar:
    https://github.com/whatawurst/android_device_sony_poplar
    poplar_dsds: https://github.com/whatawurst/android_device_sony_poplar_dsds
    poplar_canada: https://github.com/whatawurst/android_device_sony_poplar_canada

    kernel: https://github.com/whatawurst/android_kernel_sony_msm8998

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

    Version Information
    Status:
    Stable
    Current Stable Version: 1.0
    Stable Release Date: 2021-01-17

    Thread Information
    Created
    2021-01-17
    Last Updated 2021-01-17
    22
    SECURITY ADVICE

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


    UPGRADE LINEAGEOS


    I have not tried upgrading the device from 17.1 and cannot guarantee that it will work - you should do a backup just in case. If things go wrong, flash it as if coming from stock (see instructions in OP).

    The following steps should work though:
    • Flash new twrp and boot into it
    • Flash new rom, opengapps and any updated root solution you use
    • Optional: Clear cache
    • Reboot
    Note: When updating form Lineage 17.1, you maybe have to once change your preferred network type from 3g back to 4g/LTE.

    UPGRADE FIRMWARE

    • Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.
    • Grab newflasher and put it in the same folder as the firmware files.
    • Read the newflasher original post on XDA for general instructions!
    • Remove the following from the folder so they won't get flashed:
      • all *.ta files (keep the one in the boot/ directory)
      • cache*.sin
      • fotakernel*.sin
      • kernel*.sin
      • system*.sin
      • userdata*.sin
      • vendor*.sin
    • Turn off your phone
    • Hold the volume down button and attach it via USB to your system till you see LED turning green
    • Run newflasher from within this directory to flash the remaining files
      You can say yes to the first optional step, in case you don't have working drivers installed.
      Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.

    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.

    Google Apps

    You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. I suggest to *always* use the pico or nano package. If you need additional apps you find them in the Play Store.

    Open GApps for Android 11 is still in beta. You can download those releases here

    MicroG

    This ROM doesn't support Signature Spoofing. However we are watching MicroG and check if they provide newer builds e.g. for Android 11.
    16
    REQUIRED FIRMWARE: 47.2.A.11.228

    CHANGELOG

    2021-01-17 | 1.0| 47.2.A.11.228

    • Initial release
    6
    Thanks @derf elot ! For all your and the rest of the Dev team's efforts.

    What can we (the community) do to help get the camera back up and running?

    Unfortunately, I am not sure there is much that we can do. The stock library that we need for the stock camera app to work properly (libimageprocessorjni.so) is not liking the new Android 11 libgui. We (also with the help of @j4nn ) tried to fix these issues in various ways, including shimming and forcing the use of the 10 libgui but haven't managed to get it working properly yet. Maybe we'll have a crack at it again at some point, but I wouldnt get my hopes up too much. It also doesn't help that the XZ2/3 series is not getting an official Android 11 update. Opencamera is a decent alternative, although it does lack some of the stock camera options.

    Ok THIS WAS THE BEST BIRTHDAY PRESENT EVER... I'll test it asap:)

    Happy birthday. I hope you enjoy :)
    3
    Using this ROM for 2 months now...
    Pros:
    + Mostly stable, except for very specific case (see cons)
    + Almost no bloatware (microg, vendor-specific apps etc) - modem switcher notifications are disableable at last
    + Passes SafetyNet with minimal handwaving
    + All hardware stuff appears to be working

    Cons:
    - High power consumption, discharge from full to 30 percents in 10 hours (was about 16 hours on LOS 17.1)
    - Sudden freezes when making partial screenshots (short-press vol down + power)
    - Camera app does not actually save to SD card
    - Weird recovery - had to manually patch kernel image file for Magist setup, then install (written above, pg2 or 3 of this thread), looks like recovery coming with this ROM does something wrong - autopatch via recovery kills kernel, regardless which Magisk version do I pick
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone