• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.

[ROM][OFFICIAL][pioneer][10] LineageOS 17.1

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103


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.

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.

Instructions :
  • Download the latest build and gapps
  • Boot to recovery
  • Flash the latest build
  • Boot to recovery again
  • Flash gapps
  • Reboot
Downloads :
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 /proc/last_kmsg. (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. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
 
Did you--
wipe:
 restore with titanium backup:
reboot after having the issue:
 
Are you using--
a task killer:
a non-stock kernel:
other modifications:
 
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
XDA:DevDB Information
[ROM][OFFICIAL][pioneer][10] LineageOS 17.1, ROM for the Sony Xperia XA2

Contributors
LuK1337
Source Code: https://github.com/LineageOS

ROM OS Version: Windows 8 Mobile

Version Information
Status: Testing

Created 2019-10-08
Last Updated 2020-04-01
 

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
[ protip: 20191010+ builds require 50.2 FW (at least bluetooth, dsp, modem from it) If you're still running 50.1 you can flash this package in TWRP: https://androidfilehost.com/?fid=4349826312261716572 unless you're fine with having partially broken audio and broken Egistec fingerprint sensor ;3 ]

However if you want to flash whole firmware package onto both slots, you can follow the guide below:

1. Download latest firmware with XperiFirm.
NOTE: When using mono XperiFirm will fail to unpack the firmware, you can do it manually using following commands:
Code:
for f in FILE_*; do unzip $f; done
unzip boot.zip -d boot
2. Go to the directory where the firmware got downloaded to and remove following files:
- boot_X-FLASH-ALL-18AE_0x00.hash
- boot_X-FLASH-ALL-18AE.sin
- persist_X-FLASH-ALL-18AE_0x00.hash
- persist_X-FLASH-ALL-18AE.sin
- system_other_X-FLASH-ALL-18AE_0x00.hash
- system_other_X-FLASH-ALL-18AE.sin
- system_other_X-FLASH-ALL-9B8D_0x00.hash
- system_X-FLASH-ALL-18AE_0x00.hash
- system_X-FLASH-ALL-18AE.sin
- system_X-FLASH-ALL-9B8D_0x00.hash
- userdata_X-FLASH-CUST-18AE.sin
- vendor_X-FLASH-ALL-18AE_0x00.hash
- vendor_X-FLASH-ALL-18AE.sin
- vendor_X-FLASH-ALL-9B8D_0x00.hash
3. Turn off your phone, hold vol dn and plug in the USB cable, the screen should be off and green LED lit.
4. Run Newflasher, it'll flash entire FW to your current slot then unplug the USB cable and power on your phone.
5. Reboot to recovery mode (both Lineage recovery and TWRP will work)
6. Flash https://androidfilehost.com/?fid=4349826312261712574
7. Profit?
 
Last edited:

olivrd

Member
Feb 27, 2017
58
27
18
first off, thanks a lot for your work and for sharing it with us, amazing!

i've installed the second build (lineage-17.0-20191008_192747-UNOFFICIAL-pioneer.zip), with magisk 19.4 and opengapps beta and it works like a charm!
although, i had to do some of the steps from the los16 procedure (like flashing pie .400 firmware on both slots and reboots between los, magisk and gapps flashing) since i've had oreo firmware.

for now, as for the little time spend on the build, it works great. the one thing i've noticed is that the fingerprint sensor is not working.

however, great bulid and thanks again!
 

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
first off, thanks a lot for your work and for sharing it with us, amazing!

i've installed the second build (lineage-17.0-20191008_192747-UNOFFICIAL-pioneer.zip), with magisk 19.4 and opengapps beta and it works like a charm!
although, i had to do some of the steps from the los16 procedure (like flashing pie .400 firmware on both slots and reboots between los, magisk and gapps flashing) since i've had oreo firmware.

for now, as for the little time spend on the build, it works great. the one thing i've noticed is that the fingerprint sensor is not working.

however, great bulid and thanks again!
You just be on 50.1 if FP isn't working or you're using fpc10xx? Either way what does the baseband version say?
Hm it may be magisk too. I need to try that crap.
 
Last edited:
  • Like
Reactions: reintal and Untot

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
with 50.1 fw and los16 it was fine. the baseband version now is "20190718_BY12O_Daily"
Yeah, it's probably magisk then. I'll try to do something about it...
Also what does adb shell getprop ro.hardware.fingerprint say?

Actually nvm. If it's fpc1035 then it's my fault, if getprop ro.hardware.fingerprint actually says fpc1035 then add me on Discord or Hangouts cause I'd need you to test it.
 
Last edited:

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
So better flash clear 50.2.X.X FW using newflasher in 2 slots and flash lineage?
Do whatever you want. I'm still on 50.1 FW myself, I just flashed bt, dsp, modem from #2
Also if you have fpc1035, you may as well wait like 20 mins for next build.
 
Last edited:
  • Like
Reactions: Kiruasan

olivrd

Member
Feb 27, 2017
58
27
18
latest build "lineage-17.0-20191009_113230-UNOFFICIAL-pioneer.zip" fixes fingerprint sensor. will report eventual bugs. thx Luk!
 

emc02

Member
Jul 4, 2010
225
65
28
Vienna
I am currently on los16 and would like to help you with testing.
I don't know how to find out which firmware I have, but
cat /proc/cei_fp_id shows et516
and
getprop ro.hardware.fingerprint shows also et516

What can I do to support you?
 

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
I am currently on los16 and would like to help you with testing.
I don't know how to find out which firmware I have, but
cat /proc/cei_fp_id shows et516
and
getprop ro.hardware.fingerprint shows also et516

What can I do to support you?
Nothing. fpc1035 is already fixed and et516 is what I have.
 
  • Like
Reactions: emc02

emc02

Member
Jul 4, 2010
225
65
28
Vienna
Ok, so I am on 50.1?
Can I flash 50.2 like discribed on post 2 with newflasher and then los17 will work without Audio and fingerprint problems?
Is firmware 50.2 compatile with los16?
Or is it like this:
50.1 only on los16
50.2 only on los17

Thanks for your development!
 

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
Ok, so I am on 50.1?
Can I flash 50.2 like discribed on post 2 with newflasher and then los17 will work without Audio and fingerprint problems?
Is firmware 50.2 compatile with los16?
Or is it like this:
50.1 only on los16
50.2 only on los17

Thanks for your development!
50.2 for both now. Also you don't really need to flash whole 50.2 FW, you can just flash the zip linked in #2.
 

LuK1337

Recognized Developer
Jan 18, 2013
8,068
16,302
103
can I flash the FW Updates without doing full wipe and reflashing system (staying on los16), or is this not recommended?
Why are you asking this in 17.0 thread?
If you're on 16.0 then just OTA to next available build then boot TWRP and flash FW zip.