FORUMS
Remove All Ads from XDA

[ROM][OFFICIAL][pioneer][8.1] LineageOS 15.1

7,085 posts
Thanks Meter: 14,825
 
By LuK1337, Recognized Developer on 19th June 2018, 08:51 PM
Post Reply Email Thread


LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), 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 /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)
  • 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][8.1] LineageOS 15.1, ROM for the Sony Xperia XA2

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

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x

Version Information
Status: Testing

Created 2018-06-19
Last Updated 2019-01-14
The Following 28 Users Say Thank You to LuK1337 For This Useful Post: [ View ]
 
 
19th June 2018, 08:51 PM |#2  
LuK1337's Avatar
OP Recognized Developer
Flag Zamość
Thanks Meter: 14,825
 
Donate to Me
More
How to flash latest firmware
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:
- kernel_X-FLASH-ALL-18AE_0x00.hash
- kernel_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. Turn off your phone, hold vol up and plug in the USB cable, the screen should be off and blue LED lit.
6. Enter this command: `fastboot getvar current-slot`, it should return something like this:
current-slot: _b
Finished. Total time: 0.001s
7. Now switch to the opposite slot by entering command: `fastboot set_active a` if the current slot is `_b` or `fastboot set_active b` if its `_a`, you should see this:
Setting current slot to 'a'...
OKAY [ 0.012s]
Finished. Total time: 0.014s
or
Setting current slot to 'b'...
OKAY [ 0.012s]
Finished. Total time: 0.014s
8. Unplug usb cable and repeat steps: 3, 4
9. Profit?
The Following 8 Users Say Thank You to LuK1337 For This Useful Post: [ View ]
20th June 2018, 09:07 AM |#3  
Senior Member
Flag Pavlovce nad Uhom
Thanks Meter: 2,111
 
Donate to Me
More
can't test right now but one question. it doesn't really matter at this stage but is it treble compatible? as you know stock rom is but it won't boot anything else

EDIT: what about vendor blobs? are they from stock rom or aosp? camera hal?
20th June 2018, 10:07 AM |#4  
LuK1337's Avatar
OP Recognized Developer
Flag Zamość
Thanks Meter: 14,825
 
Donate to Me
More
Quote:
Originally Posted by frantisheq

can't test right now but one question. it doesn't really matter at this stage but is it treble compatible? as you know stock rom is but it won't boot anything else

EDIT: what about vendor blobs? are they from stock rom or aosp? camera hal?

All blobs are from stock ROM and it's somewhat treble compatible (I could probably make it better by getting rid of /init extensions but eh).
The Following 3 Users Say Thank You to LuK1337 For This Useful Post: [ View ]
20th June 2018, 08:36 PM |#5  
Member
Flag Olympia
Thanks Meter: 8
 
More
What's performance and battery life versus the stock rom?
20th June 2018, 08:45 PM |#6  
LuK1337's Avatar
OP Recognized Developer
Flag Zamość
Thanks Meter: 14,825
 
Donate to Me
More
Quote:
Originally Posted by teardropcity

What's performance and battery life versus the stock rom?

I don't know; I never used that phone as my daily driver to begin with, nor did I ever run any benchmark on stock, SOD or Lineage.
The Following User Says Thank You to LuK1337 For This Useful Post: [ View ]
21st June 2018, 01:49 AM |#7  
Junior Member
Flag PUNE
Thanks Meter: 0
 
More
Happy to see development for this device. I don't have a spare phone at the moment so I will flash this once it becomes a bit more stable. Also could you comment on dual sim support. Mine is the H4133 (Hong Kong Version), hopefully there shouldn't be any major hiccups getting it to work. Thanks for porting LOS
21st June 2018, 10:05 AM |#8  
LuK1337's Avatar
OP Recognized Developer
Flag Zamość
Thanks Meter: 14,825
 
Donate to Me
More
Quote:
Originally Posted by TRONTC

Happy to see development for this device. I don't have a spare phone at the moment so I will flash this once it becomes a bit more stable. Also could you comment on dual sim support. Mine is the H4133 (Hong Kong Version), hopefully there shouldn't be any major hiccups getting it to work. Thanks for porting LOS

>I will flash this once it becomes a bit more stable.
So never? I don't expect anything interesting happening with this device anytime soon so you're basically waiting for ~nothing~.

>Also could you comment on dual sim support.
Minimal support is there but it's untested as I only have single sim variant.
The Following User Says Thank You to LuK1337 For This Useful Post: [ View ]
21st June 2018, 10:13 AM |#9  
Senior Member
Flag Texas 🤠
Thanks Meter: 131
 
More
Does this work on Discovery the same way pioneer TWRP works on Discovery, or probably not?

Also, has Xposed been tested with this ROM?
21st June 2018, 10:30 AM |#10  
LuK1337's Avatar
OP Recognized Developer
Flag Zamość
Thanks Meter: 14,825
 
Donate to Me
More
Quote:
Originally Posted by li0nh3art3d

Does this work on Discovery the same way pioneer TWRP works on Discovery, or probably not?

Also, has Xposed been tested with this ROM?

No, this build does not support discovery. It has a chance to boot on it but you won't have camera.
( There are untested trees in nile-dev @ gitlab if you want to build it on your own )
The Following User Says Thank You to LuK1337 For This Useful Post: [ View ]
22nd June 2018, 07:53 PM |#11  
Senior Member
Flag Pavlovce nad Uhom
Thanks Meter: 2,111
 
Donate to Me
More
***
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