[ROM][10] LineageOS 17.1 [OFFICIAL]

Search This thread

Sjll

Recognized Developer
Jun 4, 2017
445
468
Chongqing
http%3A%2F%2Fi.imgur.com%2F2okPze5.png
Code:
#include <std_disclaimer.h>
/*
 * 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.
 */
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.x (Q),
which is designed to increase performance and reliability over stock Android for your device.

All the source code for LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

Official LineageOS website : http://lineageos.org
About LineageOS Legal : http://lineageos.org/legal/

Important Information
1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
2. This ROM will never work with any versions of Google Camera (GCam)!
3. You need to flash Stock Android 10 before flashing this ROM.
4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!


Downloads Links
LineageOS 17.1:
Lineage Official Link
Unofficial-build:
Link

Google Applications (optional):
OpenGapps:
http://opengapps.org/ (ARM64->Android 10.0->Pico, Nano or Micro)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

Flashing and updating

How to flash
Make sure you are upgrade to Official Android 10.0 from Sony
Unlock bootloader is necessary.
To disable AVB 2.0 using fastboot:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
For vbmeta.img, you can download it anywhere you found.
More steps see wiki

Never flash oem from SODP!!
If you flashed oem and meet any issues, I could only say you are a hanhan.

Root access:
Flash Magisk in recovery.

Twrp:
You could download it here: Link
Code:
fastboot boot twrp.img

Sony Camera:
1. Flash Magisk.
2. Install selinux_permissive in Magisk.
3. Install SemcCamera in Lineage rec.
All files here

Issues and reports

Report issues only if you are using the ROM kernel
If an additional mod is installed, make sure it's unrelated, and mention it
Make sure the issue wasn't discussed earlier in the threads
Share a log of the error with CatLog for example

Also thanks to:
Olivier
Luk1337
The LineageOS Team
The CyanogenMod Team
Everyone involved in working and testing

XDA:DevDB Information
Lineage 17.1 for Xperia XZ2, ROM for the Xperia XZ2

Contributors
Sjll, Olivier
Source Code: https://github.com/LineageOS

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Official Android 10.0 firmware
Based On: LineageOS

Version Information
Status: Stable

Created 2020-04-27
Last Updated 2020-10-14
 
Last edited:

Sjll

Recognized Developer
Jun 4, 2017
445
468
Chongqing
FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: Ok
- Wireless display: Ok
- RIL - Phone - Data: Ok
- VoLTE: Ok
- GPS: Ok
- Camera: Ok
- Camcorder: Ok
- Lights: Ok
- MicroSD: Ok
- Accelerometer: Ok
- Compass: Ok
- Gyroscope: Ok
- QTI sensors: Ok
- Touchscreen: Ok
- FM Radio: NA
- Fingerprint: Ok
- Vibrator: Ok
- Microphone: Ok
- Audio & music: Ok
- Bluetooth audio: Ok
- NFC: Ok
- Kernel: Ok
- Graphics: Ok
- 3D Rendering: Ok
- Clock: Ok
- DRM: Widewine L3
- Offline Charging: Ok
- USB: Ok
- USB Tethering:  Ok
- USB OTG: Ok
- Encryption: Ok
- SEPolicies: Enforce
 
Last edited:

Sjll

Recognized Developer
Jun 4, 2017
445
468
Chongqing
Change Log
2020.7.30 The end of unofficial version
Support glove mode.

2020.7.25
Strengthen vibration.
Selinux enforced.

2020.7.19
Support Exfat.

2020.7.5
July security update.
Fix stock camera crashed sometimes.
Support 802.11ac wireless hotspot.

2020.6.15
New fingerprint drivers from SODP.
Support dual sim and SD cards at the same time.
Kernel update to 52.1.A.2.1.
June security patch.

2020.5.26
Fix mic when using loadspeaker.
Update to 52.1.A.2.1.
Creator mode ported from Xperia 1. (Livedisplay)

2020.5.25
Wireless display fixed.
Strict thermal config.
Single & dual model detect.

2020.5.24
Sony camera flashable zip.

2020.5.15
1. New notification LEDs.
2. Lineage Update

2020.5.3
1. Fix brightness control bug on 5.2.

2020.5.2
1. Fix notification LEDs.

2020.4.29
Fix USB tethering.
 
Last edited:

mingzhenliu

Member
Jan 26, 2018
10
2
你好,这个ROM我刷了一下,截个图然后在QQ想发给别人结果找不到,我重刷了3遍仍然无法解决,然后想问一下twrp和migisk应该如何刷入,希望您可以回复我:)
 

mingzhenliu

Member
Jan 26, 2018
10
2
sorry,I‘m a Chinese
the question is how to install twp and maagisk in this rom?
and in this rom,i take a screenshot,try to send it in social apps,but I can't find my screenshot
so,can you help me ?
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,710
2,822
Mars
martinx3.github.io
sorry,I‘m a Chinese

the question is how to install twp and maagisk in this rom?

and in this rom,i take a screenshot,try to send it in social apps,but I can't find my screenshot

so,can you help me ?
No problem
It's just that we are an international community and don't want to exclude anyone :)
(I did learn English, too)

Since it's a stock based ROM and the official stock firmware is one month behind the security patch level, this April security patches lineageOS won't work with the twrp
(Google rollback protection)
But I will release a TWRP without userdata decryption, which should work anyway.


But rooting is still possible.
Just unzip the lineageOS.zip
Use the payload_dumper I linked in the SODP lineageOS thread to extract the boot.img file
Then patch the boot.img file in the magical manager app
And flash it back via fastboot
 
  • Like
Reactions: mingzhenliu

mingzhenliu

Member
Jan 26, 2018
10
2
No problem
It's just that we are an international community and don't want to exclude anyone :)
(I did learn English, too)

Since it's a stock based ROM and the official stock firmware is one month behind the security patch level, this April security patches lineageOS won't work with the twrp
(Google rollback protection)
But I will release a TWRP without userdata decryption, which should work anyway.


But rooting is still possible.
Just unzip the lineageOS.zip
Use the payload_dumper I linked in the SODP lineageOS thread to extract the boot.img file
Then patch the boot.img file in the magical manager app
And flash it back via fastboot

thanks alot
 
  • Like
Reactions: MartinX3

mingzhenliu

Member
Jan 26, 2018
10
2
Disadvantages:
camera key:not working
lift to wake(抬起唤醒):not working
application install:soooooo slow....
and always system crash(死机,卡死)
camera can use hmd camera,but when you try to manuall take photo(手动拍照),no apps can do
advantage:
it's a stable android 10!!!
Hope to fix that
 
  • Like
Reactions: yzypn

Sjll

Recognized Developer
Jun 4, 2017
445
468
Chongqing
If you flashed oem and meet any issues, I could only say you are a hanhan.
You are a hanhan
Hanhan
Dose laowai know what's means of hanhan?
Anyway thank you for your new rom
Hanhan is "憨憨" in Chinese. The two words own tons of imformation. It is difficult to explain it in English.
你好,这个ROM我刷了一下,截个图然后在QQ想发给别人结果找不到,我重刷了3遍仍然无法解决,然后想问一下twrp和migisk应该如何刷入,希望您可以回复我:)
截图分享问题是Lineage或者QQ的问题,magisk用官方10的方法刷入,twrp没有,但是自带的Lineage recovery可以刷入Gapps,够用了。
If you met any problem about share screenshot, this is a bug of Lineage or tencent QQ. For Magisk, you could patch the boot image as stock 10.0. For recovery, we don't have twrp now, But you could use lineage recovery for Gapps.

Disadvantages:
camera key:not working
lift to wake(抬起唤醒):not working
application install:soooooo slow....
and always system crash(死机,卡死)
camera can use hmd camera,but when you try to manuall take photo(手动拍照),no apps can do
advantage:
it's a stable android 10!!!
Hope to fix that
细枝末节的小问题我们正在处理,卡死的问题不存在,请检查你的官方固件版本、区域。任何第三方app的问题去反馈给相应的开发者,如果你使用Magisk遇到任何问题,请不要进行反馈,我只对固件负责,不对任何对系统的修改负责。
For some small issues, we are checking it now. System is stable, if you met any crash, try to check your stock FW's version and area. If you met any problem about 3rd apps or Magisk and its modules, pleasedon't feedback, we are only respon for LineageOS, not your hacks.

My phone has one sim card but this rom shows two slots. Problems - doesn't detect my sim card. How fix?
Our judgement for single model is not completed, you could try to flash stock firmware of dual model, after that you could flash LineageOS. Then sim card work work.
If you need VoLTE, you need to flash the oem.sin for your country/area after flash the dual FW.
 

mingzhenliu

Member
Jan 26, 2018
10
2
音量大小不太正常,小于50%声音特别小,大于50%声音超级大…
Sound size is abnormal,less than 50% of the sound is particularly small, more than 50% of the sound is super loud ...
 

Sjll

Recognized Developer
Jun 4, 2017
445
468
Chongqing
音量大小不太正常,小于50%声音特别小,大于50%声音超级大…
Sound size is abnormal,less than 50% of the sound is particularly small, more than 50% of the sound is super loud ...
音量的线性曲线是有点问题,我检查一下吧。
Ok, It seems that this problem exists, I will check the reason later.
我用的H8296,在中国插移动卡,信号比官方版差太多…
My device is H8296,china mobile,signal is too poor
我这里提个方法,麻烦你回去测试一下。你严格固定手机在同一个位置,在官方和LineageOS下面分别间隔3分钟测试三次信号强度值(一共6个)。信号强度,在设置-关于手机-SIM卡状态-信号强度。如实反馈给我。
Here is a method to dump the status of signal strength, Please make sure the phone keeps the same position when you test. Feedback the value of Setting-About phone-SIM status-Singal strength. Please test it on stock and LineageOS, dump value each 3 min. 6 values totally.
 
  • Like
Reactions: mingzhenliu

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Được,nếu ô UL rồi nhưng t ngĩ b nên ở ROM gốc,t thử tất cả rồi hiệu năng không bằng được rom gốc
    chào anh, I am pretty sure just a few speak vietnamese here...
  • 18
    http%3A%2F%2Fi.imgur.com%2F2okPze5.png
    Code:
    #include <std_disclaimer.h>
    /*
     * 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.
     */
    About LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android 10.x (Q),
    which is designed to increase performance and reliability over stock Android for your device.

    All the source code for LineageOS is available in the LineageOS GitHub repo.
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    Official LineageOS website : http://lineageos.org
    About LineageOS Legal : http://lineageos.org/legal/

    Important Information
    1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
    2. This ROM will never work with any versions of Google Camera (GCam)!
    3. You need to flash Stock Android 10 before flashing this ROM.
    4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!


    Downloads Links
    LineageOS 17.1:
    Lineage Official Link
    Unofficial-build:
    Link

    Google Applications (optional):
    OpenGapps:
    http://opengapps.org/ (ARM64->Android 10.0->Pico, Nano or Micro)
    Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

    Flashing and updating

    How to flash
    Make sure you are upgrade to Official Android 10.0 from Sony
    Unlock bootloader is necessary.
    To disable AVB 2.0 using fastboot:
    Code:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    For vbmeta.img, you can download it anywhere you found.
    More steps see wiki

    Never flash oem from SODP!!
    If you flashed oem and meet any issues, I could only say you are a hanhan.

    Root access:
    Flash Magisk in recovery.

    Twrp:
    You could download it here: Link
    Code:
    fastboot boot twrp.img

    Sony Camera:
    1. Flash Magisk.
    2. Install selinux_permissive in Magisk.
    3. Install SemcCamera in Lineage rec.
    All files here

    Issues and reports

    Report issues only if you are using the ROM kernel
    If an additional mod is installed, make sure it's unrelated, and mention it
    Make sure the issue wasn't discussed earlier in the threads
    Share a log of the error with CatLog for example

    Also thanks to:
    Olivier
    Luk1337
    The LineageOS Team
    The CyanogenMod Team
    Everyone involved in working and testing

    XDA:DevDB Information
    Lineage 17.1 for Xperia XZ2, ROM for the Xperia XZ2

    Contributors
    Sjll, Olivier
    Source Code: https://github.com/LineageOS

    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Official Android 10.0 firmware
    Based On: LineageOS

    Version Information
    Status: Stable

    Created 2020-04-27
    Last Updated 2020-10-14
    6
    FEATURES AND ISSUES
    Code:
    - Boot: Ok
    - Bluetooth: Ok
    - WiFi: Ok
    - WiFi Hotspot: Ok
    - Wireless display: Ok
    - RIL - Phone - Data: Ok
    - VoLTE: Ok
    - GPS: Ok
    - Camera: Ok
    - Camcorder: Ok
    - Lights: Ok
    - MicroSD: Ok
    - Accelerometer: Ok
    - Compass: Ok
    - Gyroscope: Ok
    - QTI sensors: Ok
    - Touchscreen: Ok
    - FM Radio: NA
    - Fingerprint: Ok
    - Vibrator: Ok
    - Microphone: Ok
    - Audio & music: Ok
    - Bluetooth audio: Ok
    - NFC: Ok
    - Kernel: Ok
    - Graphics: Ok
    - 3D Rendering: Ok
    - Clock: Ok
    - DRM: Widewine L3
    - Offline Charging: Ok
    - USB: Ok
    - USB Tethering:  Ok
    - USB OTG: Ok
    - Encryption: Ok
    - SEPolicies: Enforce
    5
    The first official build is up, please check the OP.
    NOTE: Since the official builds are signed, you shouldn't upgrade from my unofficial builds -- you can either migrate to an official build using a script or do a clean install.
    4
    So the stock camera should work?
    The stock camera (SemcCamera) works now, I've been testing it. Will be released soon I guess ;)
    4
    For official release of LineageOS, we need to wait for the first build, about next Wendesday.
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