[ROM][10] LineageOS 17.1 [OFFICIAL] - Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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

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

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.

First!
Thank you for providing a stock variant of LineageOS!
We should distinguish them by writing SODP and STOCK in our thread titles or more people will ask questions.

MartinX3 said:
First!
Thank you for providing a stock variant of LineageOS!
We should distinguish them by writing SODP and STOCK in our thread titles or more people will ask questions.
Click to expand...
Click to collapse
Thank you for your effort on SODP as well, I agree with you

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

tainhao said:
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
Click to expand...
Click to collapse
We laowai should know it.
It's just a short google away. :silly:

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

mingzhenliu said:
你好,这个ROM我刷了一下,截个图然后在QQ想发给别人结果找不到,我重刷了3遍仍然无法解决,然后想问一下twrp和migisk应该如何刷入,希望您可以回复我
Click to expand...
Click to collapse
Please use the english language.
Then more people can help you.
There are useful translators like https://translate.google.com/

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 ?

mingzhenliu said:
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 ?
Click to expand...
Click to collapse
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

MartinX3 said:
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
Click to expand...
Click to collapse
thanks alot

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

My phone has one sim card but this rom shows two slots. Problems - doesn't detect my sim card. How fix?

tainhao said:
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
Click to expand...
Click to collapse
Hanhan is "憨憨" in Chinese. The two words own tons of imformation. It is difficult to explain it in English.
mingzhenliu said:
你好,这个ROM我刷了一下,截个图然后在QQ想发给别人结果找不到,我重刷了3遍仍然无法解决,然后想问一下twrp和migisk应该如何刷入,希望您可以回复我
Click to expand...
Click to collapse
截图分享问题是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.
mingzhenliu said:
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
Click to expand...
Click to collapse
细枝末节的小问题我们正在处理,卡死的问题不存在,请检查你的官方固件版本、区域。任何第三方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.
joro1973 said:
My phone has one sim card but this rom shows two slots. Problems - doesn't detect my sim card. How fix?
Click to expand...
Click to collapse
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.

The microphone cannot be used in speaker mode:crying:

mingzhenliu said:
The microphone cannot be used in speaker mode:crying:
Click to expand...
Click to collapse
Comfim it. Thanks.

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

我用的H8296,在中国插移动卡,信号比官方版差太多…
My device is H8296,china mobile,signal is too poor

mingzhenliu said:
音量大小不太正常,小于50%声音特别小,大于50%声音超级大…
Sound size is abnormal,less than 50% of the sound is particularly small, more than 50% of the sound is super loud ...
Click to expand...
Click to collapse
音量的线性曲线是有点问题,我检查一下吧。
Ok, It seems that this problem exists, I will check the reason later.
mingzhenliu said:
我用的H8296,在中国插移动卡,信号比官方版差太多…
My device is H8296,china mobile,signal is too poor
Click to expand...
Click to collapse
我这里提个方法,麻烦你回去测试一下。你严格固定手机在同一个位置,在官方和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.

Related

[ROM][7.1][OMS] AOSP-CAF for Xperia M [Single/Dual] [Updated 01-05-2017]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
*/
What is Code Aurora Forums ?
Code Aurora Forum (CAF) is a consortium of companies with projects serving the mobile wireless industry. Software projects it concerns itself with are e.g. Android for MSM, Femto Linux Project, LLVM, MSM WLAN and Linux-MSM. Code Aurora is basically AOSP plus all Qualcomm specific enhancements and optimization.​
What is AOSP-CAF ?
AOSP-CAF is meant to join AOSP and CAF projects into a widely usable repository,
stored on https://github.com/AOSP-CAF/. It also benefits from a few LineageOS updates.
Finally, AOSP-CAF Nougat also includes OMS theming implementations.​
Downloads Links
AOSP-CAF 7.x (Unlocked Bootloader) :
Xperia M (Nicki) : AOSP-CAF Nougat [01-05-17]
Old Versions:-
AOSP-CAF Nougat [29-04-17]
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.1, Micro or Pico)
About AOSP-CAF : Repositories available on https://github.com/AOSP-CAF/
About GApps : Flash the GApps before the first boot. If not, a clean flash is recommended.​
Flashing and updating
AOSP-CAF clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose data)
- Flash the AOSP-CAF ROM zip from the Recovery
- Flash the Dual SIM Patch if you own Xperia M Dual
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)
- (Optional) Every additional zip you want to flash
- Reboot
AOSP-CAF update / upgrade :
- (Information) Don't wipe anything unless you want to
- Flash the latest AOSP-CAF ROM zip from the Recovery
- Flash the Dual SIM Patch if you own Xperia M Dual
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Flash the SuperSU zip (recommended, see Q&A informations)
- (Optional) Every additional zip you want to flash
- Reboot​
About UNOFFICIAL builds
Device tree : https://github.com/STRYDER-007/aosp_device_sony_nicki
Kernel sources : https://github.com/LineageOS/android_kernel_sony_msm8x27/
Vendor blobs : https://github.com/TheMuppets/proprietary_vendor_sony/
ROM sources: https://github.com/AOSP-CAF/​
Issues and reports
- Report issues only if you use 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​
Q&A - FAQ
Q : Is the ROM suited for daily usage ?
A : Yes.
Q : Where can I change the Quick Tiles and Status Bar ?
A : Long press the Settings icon in the notifications drawer.
> You will have access to the SystemUI Tuner from AOSP.​
AOSP-CAF available also thanks to :- AOSP and CodeAurora Forums
- The LineageOS Team
- @Men_in_black007 and the AOSP-CAF Team
- @AdrianDC for Sony related stuff and thread template
- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][7.1][OMS] AOSP-CAF for Xperia M [Single/Dual], ROM for the Sony Xperia M
Contributors
STRYDER~007
ROM OS Version: 7.x Nougat
Based On: AOSP
Version Information
Status: Testing
Created 2017-04-30
Last Updated 2017-04-30
Great sir !!!, i'll try this ROM tomorrow :laugh:
Rom is great, but I can't record videos with build-in camera app (Camera close when I select video). Log >> https://pastebin.com/RccdJ2ER
With Open Camera it works, but quality is terrible
EDIT: It's not that bad.
Thanks for the rom....you are the best and thank you sooo much for still supporting our device...Much appreciation and thanks to you
Can i add this rom to my nougat rom thread??? I mean i have written only those rom names which get updated even rarely but are not abandoned
Hello @STRYDER~007!
Thanks for one more contribution for our device. I'm sure that it will be an awesome ROM. But what are the major changes in this ROM? I mean is it the same like @PecanCM's AOSP version, or it's a bit different?
Marek8299 said:
Rom is great, but I can't record videos with build-in camera app (Camera close when I select video). Log >> https://pastebin.com/RccdJ2ER
With Open Camera it works, but quality is terrible
EDIT: It's not that bad.
Click to expand...
Click to collapse
Alright. I'll switch to Camera2 for now then. It seems Snap cam is broken.
Adarsh Dubey said:
Thanks for the rom....you are the best and thank you sooo much for still supporting our device...Much appreciation and thanks to you
Can i add this rom to my nougat rom thread??? I mean i have written only those rom names which get updated even rarely but are not abandoned
Click to expand...
Click to collapse
Yeah sure go ahead!
mayanxoni said:
Hello @STRYDER~007!
Thanks for one more contribution for our device. I'm sure that it will be an awesome ROM. But what are the major changes in this ROM? I mean is it the same like @PecanCM's AOSP version, or it's a bit different?
Click to expand...
Click to collapse
PecanCM's AOSP is based on Google's pure AOSP with only device specific additions. This AOSP-CAF is mixture of both AOSP and some goodies/patches/fixes/upstream changes from Code Aurora Forum. Plus it has theme engine! Just install Substratum app from play store. You'll notice the differences when you'll flash this ROM.
Thanks for the reply brother! One more thing - am I going to lose dual SIM feature if I flash SuperSU after flashing the patch, or am I going to lose root if I flash dual SIM patch after SuperSU like it was happening in AOSP?
mayanxoni said:
Thanks for the reply brother! One more thing - am I going to lose dual SIM feature if I flash SuperSU after flashing the patch, or am I going to lose root if I flash dual SIM patch after SuperSU like it was happening in AOSP?
Click to expand...
Click to collapse
Uh I'm not sure.No other user reported such things. So you'll have to try it yourself.
STRYDER~007 said:
Uh I'm not sure.No other user reported such things. So you'll have to try it yourself.
Click to expand...
Click to collapse
OK, I'll try and report back.
Nicklas Van Dam said:
Great sir !!!, i'll try this ROM tomorrow :laugh:
Click to expand...
Click to collapse
Marek8299 said:
Rom is great, but I can't record videos with build-in camera app (Camera close when I select video). Log >> https://pastebin.com/RccdJ2ER
With Open Camera it works, but quality is terrible
EDIT: It's not that bad.
Click to expand...
Click to collapse
Adarsh Dubey said:
Thanks for the rom....you are the best and thank you sooo much for still supporting our device...Much appreciation and thanks to you
Can i add this rom to my nougat rom thread??? I mean i have written only those rom names which get updated even rarely but are not abandoned
Click to expand...
Click to collapse
mayanxoni said:
Hello @STRYDER~007!
Thanks for one more contribution for our device. I'm sure that it will be an awesome ROM. But what are the major changes in this ROM? I mean is it the same like @PecanCM's AOSP version, or it's a bit different?
Click to expand...
Click to collapse
Is it possible for any of you to join me on Telegram for StryFlex testing? PM me if you want to be a beta tester.
My username- STRYDER_007
Tried!
A few things that I noticed:
Everything works perfectly as supposed to(except Camera app - mainly Video recording).
Dual SIM persists even after flashing SuperSU.
SIM networks fluctuate for a while after first boot.
ROM Updated
AOSP-CAF Updated. Reverted to Camera2. Fixed video recording issue. Enjoy!
Download:-
AOSP-CAF Nougat [01-05-2017]
STRYDER~007 said:
AOSP-CAF Updated. Reverted to Camera2. Fixed video recording issue. Enjoy!
Download:-
AOSP-CAF Nougat [01-05-2017]
Click to expand...
Click to collapse
Thanks alot for the update we will join as beta tester asap
The kernel within the ROM is not working with my Sony M - with normal boot it stucks with SONY on the screen, trying to upgrade the rom wia recovery it says "no e/ -- SD card not found"
Solution:
I took TWRP 3.0.20 for the device - SD card is now present - img can be flashed via recovery
I wanted to use it but my phone died ;--;
KayM6.0.1 said:
I wanted to use it but my phone died ;--;
Click to expand...
Click to collapse
You mean permanently? Or due to charge?
ROM Screenshots pls..
Aaditya.k96 said:
ROM Screenshots pls..
Click to expand...
Click to collapse
This is one of my favorite ROMs.
EDIT: It is themed using AOSP DARK MATERIAL
Here you go buddy:
mayanxoni said:
This is one of my favorite ROMs.
EDIT: It is themed using AOSP DARK MATERIAL
Here you go buddy:
Click to expand...
Click to collapse
Thanks :good:
thanks for your ROM, give me something new to try, I thought this phone is no longer get support from this forum.
I hope you would soon add shorcuts "Sync" and "Screenshot" in Quicksetting They both are so handy. Also my power and camera buttons are dead, I need those shortcuts.
Thanks again. @STRYDER~007

[ROM][UNOFFICIAL][PIE] LineageOS 16.0 for Wileyfox Swift 2/Plus/X

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
/*
* Your warranty is... still valid?
*
* 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.
*
*/
Click to expand...
Click to collapse
"LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
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. Your changelog is whatever was merged into gerrit."
What's working:
- Bootable
- RIL
- WI-FI
- BLuetooth (A2DP, aptX, Calls)
- Audio (with sound amplifier too)
- Sensors
- LED
- GPS
- Video Playback
- NFC
- Fingerprint
- Camera
- Camcorder
- Flash
- FM Radio
What's not working:
- Selinux
Installation:
Download the zip(s)
Install a compatible Recovery (TWRP 3.2 recovery recommended)
Perform a nandroid backup of your current ROM (Optional)
Wipe data/factory reset
Flash LineageOS
Optional: Install the Google Apps addon http://opengapps.org/
Reboot
Download:
nikith290 builds: G.Drive
vm03 builds: https://vasy.ru/LineageOS-16/marmite/ | POST with addithional info
Additional: Recovery | Bootloader (G.Drive)
Source Code:
ROM: https://github.com/LineageOS
Device Tree: DevelopedInside
Kernel: Developed Inside
Vendor: DevelopedInside
Screenshoots and main post on 4PDA.
If you reporting a bug - please, attach system logs (aka logcat) and kernel logs (dmesg). If system crash randomly, check tombstone logs and console-rampoos.
Thanks.
Contributors: vm03
Android Version: 9.0 Pie
Kernel version: 3.18.120
Based On: LineageOS
Status: Beta
Created: 02.03.2019
Lats Updated: 14.04.2019
Nice job! I was following this @ 4pda since day one.
There is a serious issue with the last 2 builds on the swift 2x. The screen keeps going off and the device locks itself . Not sure what the problem is. The first build doesnt have that issue tho.
logs:
https://drive.google.com/file/d/1A1KZ7ZktqdSpS-yEsrKOKP6xMvBjRMVh/view?usp=sharing
https://drive.google.com/file/d/1Ateb7-r1hFYzzEl1NgufnnhHzbZVk5EM/view?usp=sharing
Abdullah S.A. said:
There is a serious issue with the last 2 builds on the swift 2x. The screen keeps going off and the device locks itself . Not sure what the problem is. The first build doesnt have that issue tho.
logs:
https://drive.google.com/file/d/1A1KZ7ZktqdSpS-yEsrKOKP6xMvBjRMVh/view?usp=sharing
https://drive.google.com/file/d/1Ateb7-r1hFYzzEl1NgufnnhHzbZVk5EM/view?usp=sharing
Click to expand...
Click to collapse
Finnaly have a time to check it.
And what can i say: you using Treble kernel and treble repartition. Its not bad, but LOS kernel have a huge part of updates and highly recommended to useage
[ 0.000000] Linux version 3.18.71-treble ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Sep 28 18:40:23 +03 2018
Click to expand...
Click to collapse
I cant help you or debug it, untill you using not standart kernel supplied with LOS16.
UPD: yeah, seems like its ROM bug, sorry for misunderstanding. Working on it.
nikith290 said:
Finnaly have a time to check it.
And what can i say: you using Treble kernel and treble repartition. Its not bad, but LOS kernel have a huge part of updates and highly recommended to useage
I cant help you or debug it, untill you using not standart kernel supplied with LOS16.
UPD: yeah, seems like its ROM bug, sorry for misunderstanding. Working on it.
Click to expand...
Click to collapse
Thank you for you work. I just tried the new update (the one with OTA) and the problem is solved. That ROM is really stable. I am facing the same bugs you mentioned in OP so nothing unusual. Waiting for the fixes.
Keep up the great work!
Thanks for supporting Swift 2 @nikith290 ...currently on crDroid Oreo but will definitely try this out ..hoping you find the time to fix screen bug meantime ..:good:
Do you take donations for a beer or coffee via PayPal ?
KevMetal said:
Thanks for supporting Swift 2 @nikith290 ...currently on crDroid Oreo but will definitely try this out ..hoping you find the time to fix screen bug meantime ..:good:
Do you take donations for a beer or coffee via PayPal ?
Click to expand...
Click to collapse
Screen already fixed with RIL data. Several new builds can be downloaded from Gdrive folder =D I just don't give any announcements before camera will be fixed.
Coffee, but not now. Many thanks!
My builds: https://vasy.ru/LineageOS-16/marmite/
What's working:
- Boots
- RIL (Calls, SMS, Data)
- NFC
- Wi-Fi
- Bluetooth
- Audio
- Sensors
- LED
- GPS
- Fingerprint
- Camera
- Camcorder
- Video Playback
- Flash
- FM radio
What's NOT working:
- SELinux Permissive
Changelog
20190413
- fix FM radio
- fix LiveDisplay
- upstream updates
20190407
- fix FP in apps
- fix GPS crash
- add WiFi display(miracast)(need testing)
- upstream updates
20190324
- You are welcome! (first public release)
All source's also on DevelopedInside github
Wow that was quick.
Just tested the new release
Bugs:
- Fingerprint not working with 3d party apps like banking apps (Probably because of SeLinux?)
-Sometimes I got a message of 'Process System is not responding'. Not a big deal tho.
-Casting to a wireless display is not working ( It causes a system UI crash)
-Two camera apps, the lineage os one and the AOSP one.
-FM radio not working
Note: these are the same bugs that I face with gsi ROMs (except for the two cameras and process system)
Everything else (which means almost everything) is working fine. Great job guys!
would you guys say this rom is at a state where i can use it as a daily driver?
also thanks for the hard work in making this
yamileon said:
would you guys say this rom is at a state where i can use it as a daily driver?
also thanks for the hard work in making this
Click to expand...
Click to collapse
It's fine as a daily driver as long as you don't use FM radio. I am using it right now, it is very stable and it offers better battery life than project treble GSIs do.
Also I'd like to report that LiveDisplay isn't working for me on the Swift 2 Plus
Update!
~~~08.04.2019~~~
- LineageOS Upstream
- April Security Path
- Fixed "System Error" message
- Fixed Fingerprint Authentication in 3rd party apps
- Added Qualcomm's WI-FI Display implementation (needs check, my miracast dead)
- Removed AOSP Camera
Download: https://drive.google.com/drive/folders/1p47DeslJmlmuxURwPjJKxiizt3aTvcYP
https://vasy.ru/LineageOS-16/marmite/
20190407
- fix FP in apps
- fix GPS crash
- add WiFi display(miracast)(need testing)
- upstream updates
vm03 said:
https://vasy.ru/LineageOS-16/marmite/
20190407
- fix FP in apps
- fix GPS crash
- add WiFi display(miracast)(need testing)
- upstream updates
Click to expand...
Click to collapse
Is this a different build than the one Nikith90 provided?
Two questions:
1. Is there any simpler and less intrusive ways to get root than Magisk? SuperSU is not an option.
2. When can we foresee a working webview?
Other than that, great work! Very stable and smooth indeed!
Abdullah S.A. said:
Is this a different build than the one Nikith90 provided?
Click to expand...
Click to collapse
No.
We just forgot to ask each other about who gonna release next build
beamscotty said:
Two questions:
1. Is there any simpler and less intrusive ways to get root than Magisk? SuperSU is not an option.
2. When can we foresee a working webview?
Other than that, great work! Very stable and smooth indeed!
Click to expand...
Click to collapse
1. You can download LineageOS SU manager from https://download.lineageos.org/extras (arm64, LOS16)
2. Hm... Its already provided by Chomium-Based Webweiw included in LOS source code, as i know... Can you provide a little more info?
For 1. Great. Thanks. I wan't sure if the standard add on would work.
For 2. I noticed today after upgrading to this version from CRdroid 8.1 (I did a dirty flash of the OS and GAPPS 9, not noticed any other problems so far) when you get the prompt to connect to a WiFi hotspot which requires you to accept terms (in webview) I only get a blank page. I am using Opera as my browser, but it shouldn't be related.
Other suggestions: Can one have the battery icon as a circle? That, and automatic log on when correct PIN is entered would be nice. I miss those features (and a few others) from CRdroid.
beamscotty said:
For 1. Great. Thanks. I wan't sure if the standard add on would work.
For 2. I noticed today after upgrading to this version from CRdroid 8.1 (I did a dirty flash of the OS and GAPPS 9, not noticed any other problems so far) when you get the prompt to connect to a WiFi hotspot which requires you to accept terms (in webview) I only get a blank page. I am using Opera as my browser, but it shouldn't be related.
Other suggestions: Can one have the battery icon as a circle? That, and automatic log on when correct PIN is entered would be nice. I miss those features (and a few others) from CRdroid.
Click to expand...
Click to collapse
1. I will try to check webwiew bug later, now im using mini gapps with Chrome Webwiew
2. LOS not providing that type of features anymore.
Wait for CrDroid PIE builds
anyone able to use faceunlock ? using pico gapps no option for face unlock in smart unlock settings ...if i install trusted face apk from apk mirror settings appear as expected and setup launches but crashes before finishing setup
*should i :
1. install stock gapps package
2. put trusted face apk ..in /system/priv-app/
3. or is there a flashable patch zip
4. or another version of trusted face ( using version 9 latest from apk mirror)
5. or something else
6. or it's broken and take logs ...

[OFFICIAL] LineageOS 16.0

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* 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.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Bugs :
None
Instructions :
Download the latest build and gapps
Reboot to recovery
Flash the latest build, (magisk) and gapps
Reboot
Downloads :
Official TWRP : Official TWRP
ROM : LineageOS
Gapps : OpenGapps
Notes :
Only Clean Installation Please
Bug Report Without logs means nothing
Reporting Bugs :
DO NOT Report bugs if you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.
Sources :
Device tree (common): https://github.com/LineageOS/android_device_zuk_msm8996-common
Device tree (z2_plus): https://github.com/LineageOS/android_device_zuk_z2_plus
Kernel : https://github.com/LineageOS/android_kernel_zuk_msm8996
XDA:DevDB Information
LineageOS 16 for z2_plus, ROM for the Lenovo ZUK Z2 (Plus)
Contributors
DD3Boh, davidevinavil, kubersharma, kenny3fcb, YaroST12
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: ZUI 3.5 bootloader
Based On: AOSP
Version Information
Status: Stable
Created 2019-03-04
Last Updated 2019-05-04
IMPORTANT INFORMATION
How to flash treble roms having /factory instead of /vendor?
* First time custom rom flasher/ coming from ZUI / Never flashed treble rom / Never flashed factory2vendor patch
1. Flash Treble TWRP ( which supports /factory )
( https://twrp.me/zuk/zukz2.html )
2. Flash ROM + GApps etc
* Coming from roms for which you had done factory2vendor conversion
1. Flash Vendor2factory zip
( https://androidfilehost.com/?fid=962187416754475514 )
2. Flash new TWRP with /factory support
It will work for both non treble like zui , and treble roms having /factory instead of vendor support
( https://twrp.me/zuk/zukz2.html )
3. IMPORTANT STEP : Reboot to new TWRP
4 Flash rom
5. No need to wipe if coming from same rom
Or
1. Flash ZUI via QFIL
2. Flash TWRP ( which supports /factory )
3. Flash rom
updated information on 03/02/2019
Credits to @kubersharma for the quick guide
fapfapfap
Awesome ?
Wew :good:
Finally:laugh:
Amazing, was waiting for a very long time for this?
Even though Im not a fan of Lineage as it lacks some crucial features that I need, it's good to see a Lineage OS thread popup in the forum again
Hope that this one can get good performance & stability for official qualification
Thanks for the ROM! Please can someone test whether it boots with encrypted data. It is not mentioned in the known bugs so I am hoping that it works.
P650SE said:
Thanks for the ROM! Please can someone test whether it boots with encrypted data. It is not mentioned in the known bugs so I am hoping that it works.
Click to expand...
Click to collapse
Encryption should work fine.
kubersharma said:
Encryption should work fine.
Click to expand...
Click to collapse
That's fantastic to hear. I'm glad that there are a few Android Pie ROMs available now with support for encryption because I think it's an essential security feature for those of us with unlocked bootloaders.
I am using bootleggers 3.0 rom currently which is a non-treble rom and earlier before that I was using AEX which was a treble rom, so I needed to do factory2vendor and used that specific twrp recovery. What changes should I make before flashing this rom?
abhi8192 said:
I am using bootleggers 3.0 rom currently which is a non-treble rom and earlier before that I was using AEX which was a treble rom, so I needed to do factory2vendor and used that specific twrp recovery. What changes should I make before flashing this rom?
Click to expand...
Click to collapse
Read second post.
Awesomesauce!
Update 1:
I confirm that Encryption is working!!!
Gcam mod(GoogleCamera-Pixel2Mod-Arnova8G2-V6) working fine, so long as a basic gapps is installed obviously.
Update2:
- Love the new Trebuchet launcher, it allows you to lock/hide apps, for example, you can lock 'Settings' and the 'Google play store app' and let them be opened via fingerprint, works really well
- Clean stock LineageOS UI
- 1% per hour battery drain on standby (noticed over night)
- Power button panel 'Lockdown' option is neat, locks your phone and needs the pin/pattern to open/unlock
- Simple. Clean. Secure!
Coming from another ROM(Don't want to name it because this will become a pissing contest) I miss:
- Launcher allowing double tap to sleep. If you use something like Lawnchair Launcher double tap to sleep requires the app to have admin privileges and when you double tap it does a lockdown, i.e. you need to use the pin to unlock, I googled, this is expected behavior
- Live Display Night mode is not as good as Night Mode lighting elsewhere
Still toying around and trying to tweak to get the best battery life!
Will update this post if I find any issues. Working fine so far
Are there any option to customize u touch or to disable H/W keys?
Thanks
tomatosmoothie said:
Update:
I confirm that Encryption is working!!!
Click to expand...
Click to collapse
Thanks a lot for the confirmation. Good to know.
[email protected] said:
Are there any option to customize u touch or to disable H/W keys?
Thanks
Click to expand...
Click to collapse
Yup!
https://imgur.com/a/KNbvi3l
tomatosmoothie said:
Yup!
https://imgur.com/a/KNbvi3l
Click to expand...
Click to collapse
i see you have been using it , can you post a short review ? also some screenshots would be welcomed , thanks.
Please some screenshots!
samartht said:
i see you have been using it , can you post a short review ? also some screenshots would be welcomed , thanks.
Click to expand...
Click to collapse
I wish I could, I do not game and use it as a daily driver, sorry. If you are specific about what you want a screenshot of I can try (I value my privacy and don't like sharing a screenshot of the stuff I use) to share. It's generally the same LineageOS, just Pie
GopalKaul said:
Please some screenshots!
Click to expand...
Click to collapse
If you are specific about what you want a screenshot of I can try (I value my privacy and don't like sharing a screenshot of the stuff I use) to share. It's generally the same LineageOS, just Pie
I suggest trying it, it's stable for sure.

[Android 10.0.0]LineageOS 17.1 [STABLE] - LineageOS 18.0 [PRE-ALPHA] for V40

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
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.
*/
What's working:
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Video Recording
Video Playback
Audio
Sensors
Flash
GPS
DAC
Vibration
Wifi Hotspot
Selinux enforcing
What's not working:
BT Audio in some situations
Where are the features? (LOS18.0 edition)
LineageOS 18.0 is in early development process so don't complain about xyz features missin or crashing!
Instructions:
you flash in TWRP
you DONT inject TWRP (yet, when TWRP is made for metadata, then you can)
you reboot to other lots recovery (atm thats lineage one)
there you HAVE TO format data/factory reset
then you can install gapps and so (by apply update and adb sideload)
then boot system
V40 Telegram group chat
Downloads:
GDrive
Sources:
Device Tree judypn: judypn
Device Tree sdm845-common: sdm845-common
Device Tree lge common: lge common
hardware/lge: hardware/lge
Kernel: sdm845
Vendor: lge
lineage-17.1 branch
XDA:DevDB Information
LOS for Judypn, ROM for the LG V40
Contributors
SGCMarkus
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10/11
ROM Kernel: Linux 4.x
ROM Firmware Required: 10
Version Information
Status: Stable + Pre-Aplha
Created 2019-09-20
Last Updated 2020-09-20
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
Changelogs
Release 20.09.2019
- Initial release
Release 02.11.2019
- Updated LOS sources (October security patch, other things)
- Switched to Z01R prebuilt Display and Media HALs
- Building nearly everything except the necessary prebuilt from source (Display + Media HALs)
- Fixed Wifi hotpot (thx to @Xsavi for pointing me into the right direction )
- Vibration wont **** up anymore (but is weaker instead for some reason)
- Tons of other stuff i might have forgotten
Release 05.01.2020
- Updated LOS 17.0 to LOS 17.1 (december security patch, pixel feature drop rebase)
- Updated Z01R prebuilt Display and Media HALs to final
- Using V405EBW 20d (November) proprietary files
- Added SDFAT driver for exfat support by the kernel
- Few wifi changes
- other things i may have forgotten
Release 09.12.2020
- Updated LineageOS sources, September patch
- based on V405EBW 30b -> requires 10 firmware
- enabled A2DP offload + Qti BT Stack
- Qti power hal + different dt2w
- fixed offscreen gestures
- enabled metadata encryption (ext4 + f2fs supported) by using persdata
- SELinux enforcing (gib logs if something doesnt work properly, so far what i tested it worked)
- removed some unneeded LG crap
- rebased kernel on V405EBW 30b + CAF Upstream to 08100, Linux Upstream to 4.9.235
- fixed DAC issues with avc reset/it turning off automatically
Frequently Asked Questions:
Q. Can this ROM be flashed through TWRP?
A. Yes, proceed with the latest TWRP image
Q. Sounds good. How can I contribute to project?
A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.
Q. How to disable "Apps running in background" dialog?
A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.
Q. Which Models of the V40 are supported?
A. Tested on V405EBW and V405UA so far, but should work on all, EXCEPT US T-mobile variant.
Wow. Android 10 with los17 came so fast to LG V40. And seems like it's nearly daily driver condition.
Was thinking of buying lg v40 but now I'll definitely go buy it as development seems great on it ?.
You're so awesome!
Any screenshots?
Awesome work Markus! Your dedication to the development of this device is extremely encouraging to get other to want to start developing on this phone. Thank you for your work!
Inerent said:
Any screenshots?
Click to expand...
Click to collapse
Updated with screenshots ^^
@SGCMarkus .. I think you meant V40 telegram group
neocyke said:
@SGCMarkus .. I think you meant V40 telegram group
Click to expand...
Click to collapse
Uuups, too much copy paste xD
Thanks, corrected it, but atleast the link behind it went to the V40 group
Awesome guys thank you all, I will be donating. Question how do I install TWRP on my Sprint (Unlocked Pie) to install this?
Droidman61 said:
Awesome guys thank you all, I will be donating. Question how do I install TWRP on my Sprint (Unlocked Pie) to install this?
Click to expand...
Click to collapse
SGCMarkus already put up the guide for that
Droidman61 said:
Awesome guys thank you all, I will be donating. Question how do I install TWRP on my Sprint (Unlocked Pie) to install this?
Click to expand...
Click to collapse
You can follow this guide here: https://forum.xda-developers.com/lg-v40/development/twrp-lg-v40-judypn-t3970111
good luck!
SGCMarkus said:
...
Click to expand...
Click to collapse
Is there any chance you could try and port Lineage 17 to the V20?
Why doesn't this work on the T-Mobile model, and is there any hope for owners of that model in terms of custom ROMs?
What partitions would I check on backup in TWRP if I was going to install Lineage 16 or 17?
samfriedmann_ said:
Why doesn't this work on the T-Mobile model, and is there any hope for owners of that model in terms of custom ROMs?
Click to expand...
Click to collapse
Because T-Mobile wants to be different, if you try to unlock the bootloader the normal way you get a brick. If my memory is working correctly, Vlad has mentioned something about being able to unlock the bootloader but with soldering and opening the device itself.
---------- Post added at 07:25 PM ---------- Previous post was at 07:24 PM ----------
Android4Lif said:
What partitions would I check on backup in TWRP if I was going to install Lineage 16 or 17?
Click to expand...
Click to collapse
Well first you would backup everything minus system.img and Vendor.img...on both slots just to make sure
samfriedmann_ said:
Why doesn't this work on the T-Mobile model, and is there any hope for owners of that model in terms of custom ROMs?
Click to expand...
Click to collapse
The tmobile variants always have a different RSA key for their firmware -> the one from the other models wont work.
Kernel and so on would work fine (would just need different firmware files), but the issue is that you cant even unlock/root in the first place (to my knowledge)
Unbelievably great work guys!!!!! My upgrade is available next month but this really makes me think twice!
How does it run? Battery life any better on this? Sound? Thanks again!
I have it installed but keep losing my phone/data. It won't recognize my SIM card any suggestions?
Droidman61 said:
I have it installed but keep losing my phone/data. It won't recognize my SIM card any suggestions?
Click to expand...
Click to collapse
What carrier are you with?

[ROM][10] LineageOS 17.1 [ABANDONED]

[ROM][10] LineageOS 17.1 [OFFICIAL]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.
Code:
/*
* 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.
*/
NOTE
Should you ever face any issues, capture logs. I also need to know what build you're on (build number or at least a date).
Hint: "It doesn't work" is not a bug report and posts like this will be ignored.
KNOWN ISSUEs
The Sony stock camera does not work at the moment.
INFO
This ROM does not use the device trees/kernel from sonyxperiadev (aka SODP). The device tree was made from scratch, and the stock kernel (based off 52.1.A.x.y) has been used.
DOWNLOAD
Official builds
NOTE: Since the official builds are signed, you can't simply upgrade from my unofficial builds -- you can either migrate to an official build using a script or do a clean install.
All unofficial builds
Optional: Add-ons
INSTRUCTIONS
First install
Updating to a newer build
SOURCE
LineageOS
Kernel
XDA:DevDB Information
Lineage 17.1 for the Sony Xperia XZ2 Compact, ROM for the Sony Xperia XZ2 Compact
Contributors
Olivier, Sjll
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: 52.1.A.3.49
Based On: LineageOS
Version Information
Status: Stable
Created 2020-04-28
Last Updated 2020-07-31
Changelog
CHANGELOG
20200724:
- addressed critical SELinux denials
20200722:
- added exFAT support to the kernel
- set SELinux to enforcing
- merged July security patches
- merged 52.1.A.3.49 blobs
20200613:
- merged June security patches
- merged 52.1.A.2.1 kernel
20200525:
- fixed microphone issues when the speaker was on during calls
- fixed wireless display/screen mirroring
- added a script for dynamic single/dual SIM variant detection
- merged 52.1.A.2.1 blobs
20200520:
- fixed USB tethering
- fixed notification LED
- merged May security patches
20200428:
- initial public release.
BUILDING
Please check the Lineage wiki for building instructions.
Safety Net
Good afternoon.
I would like to know if this ROM has a Google Play (Safety Net) certificate.
Thanks for the development.
Mykemonster said:
Good afternoon.
I would like to know if this ROM has a Google Play (Safety Net) certificate.
Thanks for the development.
Click to expand...
Click to collapse
Hi, this blog post should answer your question.
Wow, so happy to see this thread. Especially since I just placed an order for the phone an hour ago.
Will you be writing instructions on how to unlock the bootloader and install recovery?
Or should we follow the same steps from the AOSP thread?
Thanks a lot!
Hello, I flashed it in twrp and it failed. Then I tried to flash it using fastboot, and it stopped at the sony logo
ExoDroid said:
Wow, so happy to see this thread. Especially since I just placed an order for the phone an hour ago.
Will you be writing instructions on how to unlock the bootloader and install recovery?
Or should we follow the same steps from the AOSP thread?
Thanks a lot!
Click to expand...
Click to collapse
You can check sony.com for bootloader unlocking instructions. For flashing my builds, you can either use TWRP or Lineage recovery.
Linglai233 said:
Hello, I flashed it in twrp and it failed. Then I tried to flash it using fastboot, and it stopped at the sony logo
Click to expand...
Click to collapse
Please be more specific:
Which TWRP build did you use?
Why did it fail; which error code was returned? Do you have a recovery log?
How did you extract fastboot images from the OTA zip file?
Model number of your device?
Olivier said:
You can check sony.com for bootloader unlocking instructions. For flashing my builds, you can either use TWRP or Lineage recovery.
Please be more specific:
Which TWRP build did you use?
Why did it fail; which error code was returned? Do you have a recovery log?
How did you extract fastboot images from the OTA zip file?
Model number of your device?
Click to expand...
Click to collapse
thank you for your reply
Before flashing, I flashed the Stock firmware with version number 52.1.A.0.672, TWRP comes from MartinX3
‘Https://forum.xda-developers.com/xperia-xz2/development/recovery-twrp-3-3-1-0-t4074305’
But I flashed the generic twrp of firmware 52.1.a.0.618, so it stopped at the TWRP logo and could not enter twrp.
Then I used ‘payload_dumper’ to extract the fastboot image. Based on the stock firmware version 52.1.A.0.672, I flashed it using fastboot, but it stopped on the SONY logo.
I flashed the generic twrp of firmware 52.1.a.0.618 on the Stock firmware with the version number 52.1.A.0.618, and twrp can be used normally. Then I flashed LineageOS 17.1 in twrp. It succeeded.
Currently I am enjoying LineageOS 17.1
My model is SONY XPERIA XZ2 Compact Dual
Linglai233 said:
I flashed the generic twrp of firmware 52.1.a.0.618 on the Stock firmware with the version number 52.1.A.0.618, and twrp can be used normally. Then I flashed LineageOS 17.1 in twrp. It succeeded.
Currently I am enjoying LineageOS 17.1
My model is SONY XPERIA XZ2 Compact Dual
Click to expand...
Click to collapse
I am also running stock firmware 52.1.A.0.672 currently and would like to install 17.1
If I understood your comment correctly, I will have to first downgrade the firmware to 52.1.a.0.618?
And then install TWRP for 52.1.a.0.618?
flashing magisk doesnt work on this
flashing magisk doesnt work on this
ExoDroid said:
I am also running stock firmware 52.1.A.0.672 currently and would like to install 17.1
If I understood your comment correctly, I will have to first downgrade the firmware to 52.1.a.0.618?
And then install TWRP for 52.1.a.0.618?
Click to expand...
Click to collapse
Yes friend, if you want to install LineageOS 17.1, you should first downgrade the firmware to 52.1.a.0.618, then install TWRP for 52.1.a.0.618
My English is very poor, so I use google translation to help me, there may be some grammatical errors, please forgive me
How is the camera in Lineage?
Is it good like stock or is it like in pixel experience?
skaggmuff said:
How is the camera in Lineage?
Is it good like stock or is it like in pixel experience?
Click to expand...
Click to collapse
I think it goes without saying that the camera on custom ROMs will never be as good as on Stock, but I'd say the quality is pretty OK nevertheless. It should definitely be better than on Pixel Experience - they use Sony AOSP (SODP) as a base, while this port uses the Stock blobs and kernel.
Olivier said:
I think it goes without saying that the camera on custom ROMs will never be as good as on Stock, but I'd say the quality is pretty OK nevertheless. It should definitely be better than on Pixel Experience - they use Sony AOSP (SODP) as a base, while this port uses the Stock blobs and kernel.
Click to expand...
Click to collapse
Will the camera app permit to record DNG files (RAW) and not only JPG. If such, I'd be very grateful if someone could share a DNG files. I'd like to check if is is supported by Adobe Lightroom. I would report once checked.
Olivier said:
I think it goes without saying that the camera on custom ROMs will never be as good as on Stock, but I'd say the quality is pretty OK nevertheless. It should definitely be better than on Pixel Experience - they use Sony AOSP (SODP) as a base, while this port uses the Stock blobs and kernel.
Click to expand...
Click to collapse
Okay, thanks for your answer
Thanks, no issues so far. I have switched from my SODP based lineage builds to yours, because of the defunct camera in SODP.
Never occurred to me to use the stock binaries.. Great stuff, thanks!
Hi, I have been having weird touch screen issues with my stock unrooted zx2 compact. ( sometimes the screen just goes unresponsive no touch inputs work, I have to lock then unlock the screen for it to work again).
I'm wondering if anyone has noticed this on this Rom if it's a hardware issue or if its software then I can try a custom Rom.
teostar said:
Hi, I have been having weird touch screen issues with my stock unrooted zx2 compact. ( sometimes the screen just goes unresponsive no touch inputs work, I have to lock then unlock the screen for it to work again).
I'm wondering if anyone has noticed this on this Rom if it's a hardware issue or if its software then I can try a custom Rom.
Click to expand...
Click to collapse
Not yet, so far.
What I encountered:
- switching to loudspeaker during a call does not work - all is just muted
- Notification LED can be turned on somehow, but does not really work and can not be adjusted
- shutter button does not start the camera
Ungewiss said:
Not yet, so far.
What I encountered:
- switching to loudspeaker during a call does not work - all is just muted
- Notification LED can be turned on somehow, but does not really work and can not be adjusted
- shutter button does not start the camera
Click to expand...
Click to collapse
Call via loudspeaker is normal, you need to use the mic on the top of the phone. It's not a bug, it is designed by Sony.
Notification LED works fine for me. You can describe your issue more detailly.
Camera key is a bug of LineageOS, we had no idea about it now.

Categories

Resources