FORUMS

[ROM][10] LineageOS 17.1 [OFFICIAL]

2,659 posts
Thanks Meter: 6,961
 
By Olivier, Recognized Developer / Retired Forum Moderator on 28th April 2020, 04:07 PM
Post Reply Email Thread


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
The Following 14 Users Say Thank You to Olivier For This Useful Post: [ View ]
28th April 2020, 04:07 PM |#2  
Olivier's Avatar
OP Recognized Developer / Retired Forum Moderator
Thanks Meter: 6,961
 
Donate to Me
More
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.
The Following 8 Users Say Thank You to Olivier For This Useful Post: [ View ]
28th April 2020, 04:07 PM |#3  
Olivier's Avatar
OP Recognized Developer / Retired Forum Moderator
Thanks Meter: 6,961
 
Donate to Me
More
BUILDING
Please check the Lineage wiki for building instructions.
The Following User Says Thank You to Olivier For This Useful Post: [ View ]
29th April 2020, 02:45 AM |#4  
Junior Member
Thanks Meter: 0
 
More
Safety Net
Good afternoon.

I would like to know if this ROM has a Google Play (Safety Net) certificate.

Thanks for the development.
29th April 2020, 11:21 AM |#5  
Olivier's Avatar
OP Recognized Developer / Retired Forum Moderator
Thanks Meter: 6,961
 
Donate to Me
More
Quote:
Originally Posted by Mykemonster

Good afternoon.

I would like to know if this ROM has a Google Play (Safety Net) certificate.

Thanks for the development.

Hi, this blog post should answer your question.
29th April 2020, 04:42 PM |#6  
Junior Member
Thanks Meter: 0
 
More
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!
30th April 2020, 04:11 PM |#7  
Junior Member
Thanks Meter: 1
 
More
Hello, I flashed it in twrp and it failed. Then I tried to flash it using fastboot, and it stopped at the sony logo
30th April 2020, 09:20 PM |#8  
Olivier's Avatar
OP Recognized Developer / Retired Forum Moderator
Thanks Meter: 6,961
 
Donate to Me
More
Quote:
Originally Posted by ExoDroid

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!

You can check sony.com for bootloader unlocking instructions. For flashing my builds, you can either use TWRP or Lineage recovery.
Quote:
Originally Posted by Linglai233

Hello, I flashed it in twrp and it failed. Then I tried to flash it using fastboot, and it stopped at the sony logo

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?
The Following User Says Thank You to Olivier For This Useful Post: [ View ]
1st May 2020, 04:54 AM |#9  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Olivier

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?

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/xpe...-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
1st May 2020, 04:12 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Linglai233

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

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?
2nd May 2020, 07:14 PM |#11  
Member
Thanks Meter: 1
 
More
flashing magisk doesnt work on this
flashing magisk doesnt work on this
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes