• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

SGH-i200

Senior Member
Aug 31, 2009
1,075
247
wow. i wish the xz1 will stay "updated" til android 13 🤣. don't have enough money to upgrade to xz2/3 😅
I love the XZ1 hardware wise (16:9 aspect ratio, front-firing stereo speakers) very much. Would still be using it, if it would run GCam with NightSight, which I can not live without. Is there still no custom ROM that can run GCam incl. NightSight on the XZ1?
 

TheBigDude

Member
Oct 8, 2016
5
0
Thanks so much for this.
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
I've upgraded from your LineageOS 17 build and the camera seems to work completely fine for me. Also mobile internet now finally works for me with this build (it didn't with LOS 17). The only thing that's missing is the default app for E-Mail.

Also is there a way to support you via a small donation? Like do you have Liberapay?
 

NightOwl1234

New member
Mar 13, 2021
1
0
The carrier profile can use the files from XZ3(oem.sin).XZ1 stop updating very early,XZ3 is constantly being updated.
The carrier which are China Unicom and China Telecom used is from XZ3(oem.sin).

This file is modified according to XZ3.(by iovf and 沙河新基金啊)
Hi,
Do you know how to enable VoLTE for China Unicom?
 

Corias

Senior Member
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
 

qumingxin

New member
Apr 2, 2021
1
0
中国电信的4G LTE通话正常,但无法使用数据流。我应该怎么办?

----------

MOD EDIT: English Translation Below

China Telecom's 4G LTE calls are normal, but data streams cannot be used. How should I do?
 

Attachments

  • Screenshot_20210403-013241_设置.png
    Screenshot_20210403-013241_设置.png
    126.2 KB · Views: 51
  • Screenshot_20210403-013313_设置.png
    Screenshot_20210403-013313_设置.png
    121.5 KB · Views: 49
  • Screenshot_20210403-013524_电话.png
    Screenshot_20210403-013524_电话.png
    302 KB · Views: 48
  • Screenshot_20210403-013232_设置.png
    Screenshot_20210403-013232_设置.png
    73.9 KB · Views: 48
  • Screenshot_20210403-013206_设置.png
    Screenshot_20210403-013206_设置.png
    122.6 KB · Views: 48
  • Screenshot_20210403-013324_CustomizationSelector.png
    Screenshot_20210403-013324_CustomizationSelector.png
    136.2 KB · Views: 53
Last edited by a moderator:

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
5,341
10,899
30
Ambala
OnePlus 5
@qumingxin 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
20
9
Youtube hdr works now. Clearly was silently broken by Google
some time before for a number of devices. I wish XZ1 was included for official quick update. Even my old lg g2 is listed to receive official android 11 support! I felt very disappointed.
 

perosmc

Member
Nov 24, 2016
20
9
Youtube HDR is a stuttering fest. Anything above 480p HDR is unplayable and laggy.

On the other hand 4K normal SDR plays butterly smooth. What gives? Can you fix this on a future update someone very pretty please? Thank you!!!!!
 

davestuarts

Senior Member
Sep 28, 2010
175
27
Hi, wanting to update my sisters phone, from derfs 17.1 to this.
I'm slighty confused though. I thought firmware and custom rom same thing?
So, I need to update the firmware with the options, then install this rom?
I'm thinking I will just dirty flash from 17.1 (with a backup done ofc) but this firmware thing has thrown me.

Ps. Is this ROM still being supported, as last was in Jan 2021?

Thanks
 

Tux111

Senior Member
Feb 25, 2012
671
293
Biancavilla(CT)
tuxnews.it
I love the XZ1 hardware wise (16:9 aspect ratio, front-firing stereo speakers) very much. Would still be using it, if it would run GCam with NightSight, which I can not live without. Is there still no custom ROM that can run GCam incl. NightSight on the XZ1?
I think (might be wrong) that gcam works on SODP ROMS. No idea if it works perfectly or if there are SODP roms in good shape rightw now, tho.
 

Top Liked Posts

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