[Unofficial][Stock based] Lineage 15.1 for Xperia XZ [EOL] - Sony Xperia XZ ROMs, Kernels, Recoveries, & Other

Lineage 15.1 for Xperia XZ [Stock based]​
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 9.x (Pie),
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 41.3.A.2.157(Dual) or 192(Single) before flashing this ROM.
4. This ROM is suitable for dual and single model.
5. VoLTE is supported, but you need to enable it on stock firmware at first.
Downloads Links
LineageOS 15.1:
Unofficial: https://www.androidfilehost.com/?w=files&flid=316520
A special twrp recovery for this ROM:
https://www.androidfilehost.com/?fid=8889791610682924109
Google Applications (optional):
OpenGapps: http://opengapps.org/ (ARM64->Android 8.1->Pico, Nano or Micro)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.
Flashing and updating
LineageOS clean install:
Download the latest build of LineageOS ROM
Full wipe and factory reset (recommended / backup to make sure not to loose data)
Flash the LineageOS ROM zip from the Recovery
Flash the GApps to have the Google Applications (optional)
Every additional zip you want to flash (optional)
Reboot
LineageOS update/upgrade:
Download the latest build of LineageOS ROM
Wipe cache and dalvik cache
Flash the latest LineageOS ROM zip from the Recovery
Every additional zip you want to flash (optional)
Reboot
LineageOS addonsu for root access:
Download the addonsu for arm64: LineageOS Downloads / Extras
Flash the zip on a working Lineage installation (once)
Upon ROM updates, the addonsu is preserved
Reboot
About the builds:
Source: https://github.com/sony-msm8996
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:
The LineageOS Team
The CyanogenMod Team
The SODP Team.
Chippa_a
Everyone involved in working and testing
Contributors
Sjll, Olivier
ROM OS Version: 8.1
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable

FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: 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: No test
- Offline Charging: No
- USB: Ok
- USB Tethering: Ok
- USB OTG: Ok
- Encryption: No
- SEPolicies: Permissive

Sjll said:
FEATURES AND ISSUES
Click to expand...
Click to collapse
Next los16 based stock ?
I'm ready to test

I think you should specify which version it is.
The post starts with android 9 thou its 8.1 ROM.

Kryshoft said:
I think you should specify which version it is.
The post starts with android 9 thou its 8.1 ROM.
Click to expand...
Click to collapse
Also , it says that xperia xz dual rom! can we use for xperia xz single sim too!
Anyway, I use m-rom 2.3.1 on my xperia xz f8331 but rom is for dual sim.
I delete ads in m-rom 2.3.1 then flashed on my f8331. it works well.

@Sjll:
Does this build support ExFat on External SDCards ? This was one of the main issues (for me) on your last build ...

Hello, is still necessary flash Stock 41.3.A.2.157 for F8331 before flashing this ROM ??
thanks for answer

Kryshoft said:
I think you should specify which version it is.
The post starts with android 9 thou its 8.1 ROM.
Click to expand...
Click to collapse
If I didn't write it is for dual or single, theni it is suitable for both.
2faraway2 said:
@Sjll:
Does this build support ExFat on External SDCards ? This was one of the main issues (for me) on your last build ...
Click to expand...
Click to collapse
Yup
sohun said:
Hello, is still necessary flash Stock 41.3.A.2.157 for F8331 before flashing this ROM ??
thanks for answer
Click to expand...
Click to collapse
Stock oreo FW is OK.

Hi, i just wanna report that after turning on the rom is really slow to detect the sim card and connect to the service, and sometimes light sensor just makes the screen dim for a second. Otherwise it is one of the best roms for the device.

Bugs & lags
1. Second sim not detected (but los 16 detects both sim with same base rom).
2. Top speaker not working on loud speak call (very low sound on loudspeaker).
3. Cannot reduce volume while call (slider moving in UI but not functioning).
4. Better battery compare to other custom roms but not as stock (same apps consuming more than from stock).
5. Takes long time to goto TWRP.

J.M.Siyath said:
Bugs & lags
1. Second sim not detected (but los 16 detects both sim with same base rom).
2. Top speaker not working on loud speak call (very low sound on loudspeaker).
3. Cannot reduce volume while call (slider moving in UI but not functioning).
4. Better battery compare to other custom roms but not as stock (same apps consuming more than from stock).
5. Takes long time to goto TWRP.
Click to expand...
Click to collapse
Also on my device it randomly goes to lockscreen andturns off the screen.

Hi. For Dual-SIM model, need flash 157 or 192 ROM?

Anty666 said:
Hi. For Dual-SIM model, need flash 157 or 192 ROM?
Click to expand...
Click to collapse
you can flash 157 or 192. it just need a stock oreo base rom.

J.M.Siyath said:
you can flash 157 or 192. it just need a stock oreo base rom.
Click to expand...
Click to collapse
So both are good, as I understand it? Thank you.

Hi! Thank you for this ROM. My phone is alive again... It works way more flawlessly so far than the latest stock ROM.
Not sure if I miss something from camera and screen quality. What I kind of miss is sony music and album apps witch I actually enjoyed using..
The only con is that I cannot encrypt my phone and use TWRP and do flashing without a format (is there a workaround for that?)
Also when I have fingerprint activated the power button scans all the time for fingerprints even if the phone is sleeping, without having to press it first.. So it scans every time there is a skin contact, leading on too many attempts or accidentally turned on..

Best rom eva.
Though I had to use somewhat old gapps because when flashing the new ones the android/architecture version is reported mismatching.
Assuming the previous poster did try them and didn't have issues, I believe it was probably this to cause breakage (maybe it was a bad idea to ship the same custom recovery for both the Oreo and Pie roms?)
For the remainder this rom is rocking better than anything other (*touch wood*, I said the same about the SODP 15.1 version and it turned out crashy shortly after).
Fingerprint and also android auto works! This is a first ever, not just with AOSP roms but in general for the entire phone.
The only small defects are the the internal call speaker is pretty quiet and calls have to be answered from the notifications.
Sim detection could also be somewhat improved I guess (I get OP has a dual sim model, but there are no excuses not to ship the incredible universal patcher)

Thread closed at op's request.
Thank you for your contributions :highfive:
strongst
Forum Moderator

Related

[ROM][7.X.X]LineageOS [Suzuran]

LineageOS 14.1 for the Sony Xperia Z5 Compact
Code:
#include
/*
* 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.
*/
Known Bugs: Video Record may be broken
Download: Get LineageOS
Kernel sources: https://github.com/nzzane/android_kernel_sony_msm8994
Tree sources: https://github.com/nzzane/device_sony_suzuran
Unofficial OTA: https://github.com/nzzane/LineageOTA
If you enjoy this rom why not Donate to support future releases and hosting
Additional Information: This is the FIRST ever released Z5 Compact custom AOSP ROM that is using the Stock kernel and blobs. What this means? Not much, exept for the stock like camera of cause, if that is something you care about
Now stop reading this post. Seriously. You are wasting your time. FLASH THIS AND TAKE PICTURES!
HUGE THANKS; to all the lineage and kitakami devs who have been working on this, and continue to work hard on this to get you (and me) the best rom that they can!
NOTE:This uses stock kernel and blobs - meaning NO RECOVERY. Please know how to use "fastboot boot boot.img" if you get stuck anywhere
NOTICE:
It has been really fun porting and Lineage and Carbonrom top the Z5C, and it has been amazing to see you guys (The community) try it out for yourselves and make your own builds. Due to my Z5C being broke I have passed it on to a recycling company - meaning I can no longer test or update builds. Please do feel free to link your own builds in the comments (As long as they do not breach the rules of course )
Thanks for the support this year - and I want to thank those who are keeping their own builds up to date!
XDA:DevDB Information
[ROM][7.X.X]LineageOS [Suzuran], ROM for the Sony Xperia Z5 Compact
Contributors
nzzane, myself5
Source Code: https://github.com/LineageOS
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP 3.0.2
Based On: AOSP, Cyanogenmod
Version Information
Status: Beta
Current Stable Version: 20170827
Stable Release Date: 2017-08-27
Current Beta Version: 20170219
Beta Release Date: 2017-02-19
Created 2017-02-07
Last Updated 2017-12-20
INSTALLATION:
Download the latest LineageOS zip from the download link in the OP
Download GAPPS Arm64 - 7.1
Reboot into recovery and make a backup incase something goes wrong
Wipe Data - System - Delvik and Cache
Flash LineageOS and gapps in recovery and reboot your device - When flashing lineage you WILL get 2 unknown command errors, this is normal
Reboot and enjoy!
Work Status
STATUS: UP TO DATE
Thanks to all the supporters of this project, and a special mention to the following
@CubeDev [Build Server - While mine was being repaired]
@Myself5 [Sumire development - LineageOS development]
@Triflot [Keeping things alive and fixing some bugs relating to wifi and wakelocks]
@Berni-0815 [Keeping things alive and fixing bugs + Substratum]
And to all the donors who support the time that has gone into this project
Changelog:
Full changelog from cmxlog (Some will not be pushed into my releases due to incompatibilities)
Code:
[COLOR="Green"]2017-xx-xx[/COLOR]: []
Updated device brightness [URL="https://gist.github.com/zachariasmaladroit/10ad7d4190f22b3a9c5c309846bc8ecf"]Thanks to zacharias.maladroit[/URL]
[COLOR="Blue"]2017-09-08[/COLOR]: [Latest]
General stability and some security patches
Kernel patched as per the [URL="https://github.com/nzzane/android_kernel_sony_msm8994/commit/bd9380a1443858941178bc9b5520d0527a9c1bb6"]Git[/URL]
[COLOR="Black"]2017-09-03[/COLOR]:
Source updates
Working on getting a changelog built with the ROM
[COLOR="Black"]2017-08-27[/COLOR]:
General Speed
Source updates
wakelocks fixed
Kernel settings editied for stability and battery
Fixed ringtone / notification volume being way too loud
[COLOR="Black"]2017-07-29[/COLOR]:
Fingerprint speed
Wakelocks (Including fingerprint wakelock) Disabled
Better battery
Better stability and speed
Substratum support
Latest LineageOS code including updated camera configs
Planned weekly updates*
[COLOR="Black"]2017-05-06[/COLOR]:
Kernel: Fix FPC1145 wakeup
Kernel: Kconfig added for bcmdhd (BCM43455)
Updated to latest Lineage Source
Updated to latest XperiaDev source
[COLOR="Black"]2017-02-19(20170219-2)[/COLOR]: [SIM]
-Reconfigured kernel defconfig to get sim working
-re-got stock blobs using cm helper
[COLOR="Black"]2017-02-18[/COLOR]:
-reconfigured defconfig in Lineageos Kernel to fix camera and some other issues
-SIM and WIFI support getting closer
-Fixed kernel bug spamming logcat
[COLOR="Black"]2017-02-15[/COLOR]: [Pre-ALPHA]
-Device tree reconfigured to attempt to fix wifi
[COLOR="Black"]2017-02-08[/COLOR]: [PULLED]
[COLOR="Black"]2017-02-07[/COLOR]: [PULLED]
-Initial release
Thank you, I would like to ask the development of Resurrection Remix rom?
waiting for download link
nzzane said:
INSTALLATION:
Download the latest LineageOS zip from the download link in the OP
Download GAPPS Arm64 - 7.1
Reboot into recovery and make a backup incase something goes wrong
Wipe Data - System - Delvik and Cache
Flash LineageOS and gapps in recovery and reboot your device
Reboot and enjoy!
THERE IS CURRENTLY NO bootlogo
I am working on getting this fixed as well as getting proper recovery and adb working
A test build will be made public tomorrow.
Click to expand...
Click to collapse
Great work !
Finally we're able to detach from Sony's shackles, it's annoying to be limited by that proprietary crap (e.g. texfat module) in pushing the kernel or the ROM further
Not sure what wifi driver you're using and how you got it to work on suzuran but I had to fix it up + add some bits from the AOSP kernel source to make it work:
https://github.com/zachariasmaladro...fter=Y3Vyc29yOjnl8U/KoCJ0vxtid/9CHbUMypTwKzY5
nasbdh9 said:
Thank you, I would like to ask the development of Resurrection Remix rom?
Click to expand...
Click to collapse
I can definitely look into that, once LineageOS is in working order
Thx for lineageOS.. Waiting for that
Awesome! I'll start flashing this one soon.
Nothing but a black screen?
Clean installed it multiple times, with and without gapps, everytime same result.
Thanks for the effort and build though.
I hope we can all enjoy LineageOS soon
Dn_nS said:
Nothing but a black screen?
Clean installed it multiple times, with and without gapps, everytime same result.
Thanks for the effort and build though.
I hope we can all enjoy LineageOS soon
Click to expand...
Click to collapse
Okay - I am trying another build now, Thanks for your patience
Nothihg to test, phone can`t boot.
Okay, i think i will jump back to bandwagon once boot issue is fixed ....waiting.
Boot issue fixed? want to try a new rom, Whats the difference in this rom?
Sorry just seen in the first post the issue is being worked on
do_salah said:
Sorry just seen in the first post the issue is being worked on
Click to expand...
Click to collapse
Hey - all good
Update for everyone - Lineage is being a little crap and not wanting to boot
I am trying to fix it as soon as possible
nzzane said:
Hey - all good
Update for everyone - Lineage is being a little crap and not wanting to boot
I am trying to fix it as soon as possible
Click to expand...
Click to collapse
Was just about to install it right now. Thanks for updating us
Biting fingernails and waiting....[emoji51]
Great job on this ROM. Hope more things will start to work when they release the kernel source compatible with the new N blobs. ?

[ROM][9.0.0_r46][A2017X][OFFICIAL] crDROID v5.12 [FINAL]

JUST FOR FUN...no more no less...​
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today. We're mainly based on LineageOS so use custom kernels compatible with them!
Features:
Click for feature list : https://github.com/crdroidandroid/crdroid_features/blob/9.0/README.mkdn
Always take a proper backup of your running device !
Installation:
0. unlocked, suited twrp ( i'm using twrp3218), oreo bootstack (i'm using universal one) of your choice...you know the drill
1. Copy crDroid zip, 9.0 gapps ( i'm using micro) zip to your device
2. Boot into twrp recovery
3. Wipe cache, system, vendor & data
4. Flash ROM
5. Flash gapps
5a Reboot and setup phone
6. Flash Magisk 20.4
7. Reboot and enjoy !
Build :
A2017X crDROID 9.0.0 2019.07.30
A2017X crDROID 9.0.0 2019.08.05
A2017X crDROID 9.0.0 2019.08.13
A2017X crDROID 9.0.0 2019.08.23
crDroidAndroid-9.0-20190910-axon7-v5.8
crDroidAndroid-9.0-20190929-axon7-v5.8
crDroidAndroid-9.0-20191017-axon7-v5.9
crDroidAndroid-9.0-20191024-axon7-v5.9
crDroidAndroid-9.0-20191116-axon7-v5.10
crDroidAndroid-9.0-20200114-axon7-v5.11
crDroidAndroid-9.0-20200122-axon7-v5.11
crDroidAndroid-9.0-20200215-axon7-v5.11
crDroidAndroid-9.0-20200312-axon7-v5.12
crDroidAndroid-9.0-20200416-axon7-v5.12
crDroidAndroid-9.0-20200512-axon7-v5.12
crDroidAndroid-9.0-20200514-axon7-v5.12
crDroidAndroid-9.0-20200617-axon7-v5.12
crDroidAndroid-9.0-20200722-axon7-v5.12
crDroidAndroid-9.0-20200814-axon7-v5.12
crDroidAndroid-9.0-20200916-axon7-v5.12
crDroidAndroid-9.0-20201018-axon7-v5.12
LATEST crDroidAndroid-9.0-20201124-axon7-v5.12
GAPPS: https://opengapps.org/
Magisk : https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
KERNEL SOURCE: https://github.com/OrdenKrieger/android_kernel_zte_msm8996 thnx @OrdenKrieger
XDAevDB Information : crDroid 9.0.0, ROM for Axon7
Contributors
@raystef66
Source Code: https://github.com/crdroidandroid/android/tree/9.0
ROM OS Version: 9.x PIE
ROM Kernel: Linux 3.18.x
ROM Firmware Required: Unlocked Bootloader, Latest TWRP Recovery
Based On: LineageOS device, vendor, kernel
Version Information : 9.0.0 v5.12
Status: Pure & Stable
Sec. Patches : 2020.11.05
Created : 2019.07.30
Last Updated : 2020.11.24
Great rom, no bugs
Enviado desde mi ZTE A2017U mediante Tapatalk
OP, I'm about to acquire an A2017G device. I'm wondering if you plan on supporting this device for the foreseeable future, because that would be great. Please, reply.
Great work, by the way.
NEW BUILD​
crDroid Android-9.0-20190805-axon7-v5.6
*updated to latest sources
*SELinux enforcing
*cts Profile pass without MHPC now
E N J O Y​
note : my setup is always with universal v2 bootloader, twrp 3218, micro gapps and magisk 19.3
@dustmalik I will be updating crDROID, viperOS and RR
Which Axon 7 recent ROM can do auto call recording ?
Hello,
It is not in the feature list but I'd like to ask if there is an auto call recording option in this ROM ?
If not, which recent ROM has this function ?
NEW BUILD 2019.08.13
crDroidAndroid-9.0-20190813-axon7-v5.7
changelog :
*v5.7
*august sec.patches
*9.0.0_r46
raystef66 said:
NEW BUILD 2019.08.13
crDroidAndroid-9.0-20190813-axon7-v5.7
changelog :
*v5.7
*august sec.patches
*9.0.0_r46
Click to expand...
Click to collapse
Nice work. Please keep at it.
Axon 7 still not dead.
Thank you for this ROM.
It has auto call recording.
Phone, contact and messaging have white background in dark mode.
GPS is fast (4 s in taxland).
There in no need to install or modify something to revert the hardware keys (back is already on the right).
There is an additional number row on the keyboard.
NEW BUILD 2018.08.23
crDroidAndroid-9.0-20190823-axon7-v5.7
changelog :
* thermal mod included thnx @king1990
Rom version : 5.7
Sec. Patches : 2019.08.01
Kernel : enforcing
THX for keeping the Axon 7 developement alive! :good:
However,I'm still on your Sl!m8b04,as I don't wanna loose the great audio......
So,my question,how do both your Pie ROMS handle the DAC?
I didn't touched my a7 over one year til now and just flashed this rom. I have to say it works absolutely great. Thanks for sharing !!!
Anyone knows a working Dolby magisk module for this rom ???
To the last couple of replies. Every custom ROM now always uses the premium DAC for headphones. No need to worry about that.
As for speaker audio and Atmos, I've tested many different stock roms, custom ROMs and mods including the stock Atmos on stock Oreo and Nougat and I found that the best sounding of all is the recent Dolby Digital plus magisk module.
You won't find it in the repo, but you will if you use Google.
I was a believer that better audio was a reason to stay on stock. Not any more.
Thanks for the rom and some issues/missing features I found
Thanks for the ROM! Works great and I'm not suffering battery drain that I used to get on the AEX rom. There are a few issues/missing features/stuff that I wish the rom had.
Missing:
- Smart Pixels
- Brightness lower/higher buttons
- Ability to change animation speed to values to between 0 and 0.5.
Bug?:
- HARDWARE Navigation buttons were switched to RECENTS - HOME - BACK instead of BACK - HOME - RECENTS. There is NO option to swap the hardware buttons. I fixed this by using the app "Button Mapper"
Kietyo said:
Thanks for the ROM! Works great and I'm not suffering battery drain that I used to get on the AEX rom. There are a few issues/missing features/stuff that I wish the rom had.
Missing:
- Smart Pixels
- Brightness lower/higher buttons
- Ability to change animation speed to values to between 0 and 0.5.
Bug?:
- HARDWARE Navigation buttons were switched to RECENTS - HOME - BACK instead of BACK - HOME - RECENTS. There is NO option to swap the hardware buttons. I fixed this by using the app "Button Mapper"
Click to expand...
Click to collapse
You can switch hardware key flashing this:
https://androidfilehost.com/?fid=3700668719832237510 (mount system / vendor)
Sent from my ZTE A2017X using Tapatalk
https://postimages.org/​
OFFICIAL download page : https://crdroid.net/axon7​
thnx @gwolfu :highfive:
Are swipe up gestures broken? They usually are if it's the OnePlus style ones.
NEW OTA BUILD IS READY
crDroidAndroid-9.0-20190910-axon7-v5.8
If you're running crDroid you should be notified or you can go into crDroid about settings to download the latest....
changelog :
- Initial crDroid 5.8 release
- sec. patches 2019.09.05
- Improved network signal
- Completely rebase code
- Updated Launcher
- Fixed some Launcher issues
- Updated screen recorder
- Updated translations
https://crdroid.net/axon7​
raystef66 said:
NEW OTA BUILD IS READY
crDroidAndroid-9.0-20190910-axon7-v5.8
If you're running crDroid you should be notified or you can go into crDroid about settings to download the latest....
changelog :
- Initial crDroid 5.8 release
- sec. patches 2019.09.05
- Improved network signal
- Completely rebase code
- Updated Launcher
- Fixed some Launcher issues
- Updated screen recorder
- Updated translations
https://crdroid.net/axon7
Click to expand...
Click to collapse
There are over the air updates now for crDroid? Great news!
Thx @raystef66 , time has come for me to move on from your ViperOS to this one of yours
great rom, feels really good so far
I have one issue though I tried switching back / recents using your Soft key reverse switch (twrp and magisk) because I actually would like to have back on the left side but it didn't work (although the twrp aroma installer offered it as second option?)
Is there another switch I have to set in the rom in order to switch softkeys? @raystef66
---
I read through your post and what the change needed to be made and ended up editing the kl file myself through adb. I had to do it in recovery mode though which felt weird, but worked in the end.
fleity said:
great rom, feels really good so far
I have one issue though I tried switching back / recents using your Soft key reverse switch (twrp and magisk) because I actually would like to have back on the left side but it didn't work (although the twrp aroma installer offered it as second option?)
Is there another switch I have to set in the rom in order to switch softkeys? @raystef66
---
I read through your post and what the change needed to be made and ended up editing the kl file myself through adb. I had to do it in recovery mode though which felt weird, but worked in the end.
Click to expand...
Click to collapse
You need to mount vendor and system before flash

[ROM][UNOFFICIAL][10.0][TB-X704F/L] LineageOS 17.1 for Lenovo Tab4 10 Plus

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
/*
* 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.
*
*/
SCREENSHOTS
3rd PARTY ADDONS/MODS
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.
This thread is not the right place to discuss about mods/addons.
HOW TO INSTALL LINEAGEOS
- Upgrade to latest available official firmware
- Upgrade to latest available TWRP
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP.
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- RECOMMENDED: Do a factory reset! No support if you didn't!
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot
HOW TO UPDATE LINEAGEOS
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Update the Google Apps addon package if it is installed on your current LineageOS version.
- Reboot
HOW TO UPGRADE LINEAGEOS FROM LOWER VERSION
- Upgrade to latest available official firmware
- Upgrade to latest available TWRP
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Update the Google Apps addon package if it was installed on your previous LineageOS version.
- Reboot
DOWNLOADS
LineageOS 17.1: AFH | Sourceforge
LineageOS 17.0: AFH | Sourceforge
Migration-Tools: AFH (Unofficial->Official, Official->Unofficial)
SU-Addon: Official | Unofficial
Google Apps: http://opengapps.org/ | BETA
TWRP: XDA Thread
DEVELOPER RESOURCES
https://github.com/lineageos/android_device_lenovo_TBX704
https://github.com/lineageos/android_device_lenovo_tb-common
https://github.com/lenovo-devs/android_kernel_lenovo_msm8953
https://github.com/lenovo-devs/proprietary_vendor_lenovo
HOW TO CONTRIBUTE?
Send your patches up for review: https://review.lineageos.org/
Recommendation
Reflash GApps everytime you flash the rom, else GApps might get lost during the update process.
Known Bugs
- none
Thank you codeworkx for your work on this updated Lineage OS ROM! One question I have - do you know if this ROM supports PS4/DS4 bluetooth controllers? I seem to not be able to get them working on Lineage OS 16.0
JLarks said:
Thank you codeworkx for your work on this updated Lineage OS ROM! One question I have - do you know if this ROM supports PS4/DS4 bluetooth controllers? I seem to not be able to get them working on Lineage OS 16.0
Click to expand...
Click to collapse
Afaik AOSP added support for it.
Sent from my OnePlus 6 using XDA Labs
is there no fingerprint support anymore?
---------- Post added at 11:58 AM ---------- Previous post was at 11:25 AM ----------
and i get the message com.qualcomm.qcrilmsg.. gets repeatedtly closed
Chrome always freezes after a while
thunder141 said:
is there no fingerprint support anymore?
Click to expand...
Click to collapse
It's completely broken.
I hate that ****ing goodix fingerprint module. It's causing problems with every new android version across all devices which use it.
but you will get it fixed i hope
Setting for battery display in status line is ignored. Always Symbol with Text is shown even other Format is chosen
Migration ttols
what for are those migration tools unofficial to official and official to unofficial ?
Thanks codeworkx, nice Rom.
Found only the mentioned fingerprint and battery icon
will los 17 be available for tab 4 8 plus?
Thanks @codeworkx, good job, dirty flashed over 16.0 with beta 10 gapps. All good, no force closes or other real issues
Edit: looks like hall sensor doesn't work with magnetic cover, display is staying on.
Tirofog said:
Thanks @codeworkx, good job, dirty flashed over 16.0 with beta 10 gapps. All good, no force closes or other real issues
Edit: looks like hall sensor doesn't work with magnetic cover, display is staying on.
Click to expand...
Click to collapse
Is the finger print scanner working for you?
bwguy said:
Is the finger print scanner working for you?
Click to expand...
Click to collapse
No, I use smart lock so no real problem for me..
Delivered Lineage 17. Bluetooth headphones do not work (the connection is normal, but there is no sound in the headphones, instead, every 10 seconds, the sound breaks out of the built-in speakers). Rolled back to version 16
Tried flashing with the opengapps 10.0 arm64 beta. Performed a factory reset first. when I get to the checking info/checking for updates stage it goes into a loop and I get a popup that Google Play services keeps stopping.
vanrusty said:
Tried flashing with the opengapps 10.0 arm64 beta. Performed a factory reset first. when I get to the checking info/checking for updates stage it goes into a loop and I get a popup that Google Play services keeps stopping.
Click to expand...
Click to collapse
somehow I was able to get things to work. used the nano gapps and performed a few wipes.
codeworkx said:
It's completely broken.
I hate that ****ing goodix fingerprint module. It's causing problems with every new android version across all devices which use it.
Click to expand...
Click to collapse
Thankyou @codeworkx for doing this. You are a star! I'll wait until the fingerprint scanner is working before I dive in, as I use it.
bwguy said:
I'll wait until the fingerprint scanner is working before I dive in, as I use it.
Click to expand...
Click to collapse
This might take a long time since i don't have the freetime to focus on it.
My big android times are over.

[Unofficial][Stock based] Lineage 16.0 for Xperia XZ [Gcam] [EOL]

Lineage 16.0 for Xperia XZ​
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 9.x (Pie),
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. You need to flash Stock 41.3.A.2.157(Dual) or 192(Single) before flashing this ROM.
3. This ROM is suitable for dual and single model.
4. You will meet a delay when recognize sim at the first boot.
5. VoLTE is supported, but you need to enable it on stock firmware at first.
Downloads Links
LineageOS 16.0:
Unofficial: https://www.androidfilehost.com/?w=files&flid=316704
A special twrp recovery for this ROM:
https://www.androidfilehost.com/?fid=8889791610682924109
Google Applications (optional):
OpenGapps: http://opengapps.org/ (ARM64->Android 9.0->Pico, Nano or Micro)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.
Flashing and updating
LineageOS clean install:
Download the latest build of LineageOS ROM
Full wipe and factory reset (recommended / backup to make sure not to loose data)
Flash the LineageOS ROM zip from the Recovery
Flash the GApps to have the Google Applications (optional)
Every additional zip you want to flash (optional)
Reboot
LineageOS update/upgrade:
Download the latest build of LineageOS ROM
Wipe cache and dalvik cache
Flash the latest LineageOS ROM zip from the Recovery
Every additional zip you want to flash (optional)
Reboot
LineageOS addonsu for root access:
Download the addonsu for arm64: LineageOS Downloads / Extras
Flash the zip on a working Lineage installation (once)
Upon ROM updates, the addonsu is preserved
Reboot
About the builds:
Source: https://github.com/sony-msm8996
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:
The LineageOS Team
The CyanogenMod Team
The SODP Team.
Chippa_a
Everyone involved in working and testing
Contributors
Sjll, Olivier, erikcas
ROM OS Version: 9.0
ROM Kernel: Linux 3.18.x
Version Information
Status: Beta
FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: 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: No test
- Offline Charging: No
- USB: Ok
- USB Tethering: No test
- USB OTG: Ok
- Encryption: Yes
- SEPolicies: Permissive
Hey, wouw, a few days after 15.1 now 16.0, thank you
May I ask you a question about MicroG ?
As far as this is not an official LOS build, is it possible to include the 'signature spoofing patch' (https://github.com/microg/android_packages_apps_GmsCore/tree/master/patches) into this rom ?
Or, alternativly, include MicroG 'completly' into the rom ?
The reason why I ask is that I think there are a lot of people around who like to have a Google-free phone (without GAPPS), but like to have messaging and location services that is provided by MicroG. The inclusion of the signature spoofing patch would be an important step for installing MicroG by ourself ..
Thanks dev ?
2faraway2 said:
Hey, wouw, a few days after 15.1 now 16.0, thank you
May I ask you a question about MicroG ?
As far as this is not an official LOS build, is it possible to include the 'signature spoofing patch' (https://github.com/microg/android_packages_apps_GmsCore/tree/master/patches) into this rom ?
Or, alternativly, include MicroG 'completly' into the rom ?
The reason why I ask is that I think there are a lot of people around who like to have a Google-free phone (without GAPPS), but like to have messaging and location services that is provided by MicroG. The inclusion of the signature spoofing patch would be an important step for installing MicroG by ourself ..
Click to expand...
Click to collapse
Sorry, IDK about microG, you can search to find the solution.
I know the solution (means I'm able to install it by myself), but I'm not able to include the necessary patch into the rom ..
That'ts the reason why I asked if you could do a rom build with the patch already included.
Hi!
I reinstalled sony stock rom .192 (single sim). TWRP was twrp-3.4.0-0-kagura.img!
After that I flashed your twrp-lineage-stock.img but when I try to get in twrp, it stuck on a Sony logo screen!
Any idea!
Gapps not working.
do i need to flash to 157 on my dual or just the latest?
jhon_bayu said:
Thanks dev
Click to expand...
Click to collapse
is your device dual?
can you give me link to 157 firmware? for dual i tried to flash this on latest i got bootloop everytime
nhicko95 said:
is your device dual?
can you give me link to 157 firmware? for dual i tried to flash this on latest i got bootloop everytime
Click to expand...
Click to collapse
i'm using latest 171 firmware for dual and still can flash this rom, unfortunately got error 70 when flash Gapps even using pico package
why im stuck on bootloop even i flashed the 157 firmware before flashing this rom or it is just takes time to firstboot? @Sjll
---------- Post added at 02:21 AM ---------- Previous post was at 02:19 AM ----------
robocrap said:
i'm using latest 171 firmware for dual and still can flash this rom, unfortunately got error 70 when flash Gapps even using pico package
Click to expand...
Click to collapse
can you link the ftf ?
Bugs & lags
1. Rom & Gapps & other zip flashed without any error, but after boot only rom installed others not.
2. Every time after enter recovery full format needed (because of encryption).
3. Takes long time to goto TWRP.
@Sjll you should disable encryption when first boot
nhicko95 said:
can you link the ftf ?
Click to expand...
Click to collapse
Download it using flashtool
J.M.Siyath said:
Gapps not working.
Click to expand...
Click to collapse
Work for me
---------- Post added at 02:10 PM ---------- Previous post was at 01:52 PM ----------
nhicko95 said:
is your device dual?
can you give me link to 157 firmware? for dual i tried to flash this on latest i got bootloop everytime
Click to expand...
Click to collapse
I'm using single sim dude ?
jhon_bayu said:
Work for me
---------- Post added at 02:10 PM ---------- Previous post was at 01:52 PM ----------
Click to expand...
Click to collapse
Which version (date) did you flashed?
Could you please tell me the way you did one by one? I'm currently using los 15.1 because of gapp issue.
J.M.Siyath said:
Which version (date) did you flashed?
Could you please tell me the way you did one by one? I'm currently using los 15.1 because of gapp issue.
Click to expand...
Click to collapse
I use build 27-08-2020... Just flash rom,gapps and magisk (optional) dont flash oem
thanks guys @robocrap its working on my device now i did flash 171 then flash the rom i did root it using magisk
battery is better than AOSP 10 i hope he build lineage 17 too
jhon_bayu said:
I use build 27-08-2020... Just flash rom,gapps and magisk (optional) dont flash oem
Click to expand...
Click to collapse
There is no such version (date), where did you download from?

[EAS/HMP][UNOFFICIAL]Lineage OS 15.1 for Xperia XZ

Lineage OS 15.1 EAS/HMP Version​
#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 EAS?
Energy Aware Scheduling (EAS) is an enhancement to Linux power management, placing CPU power control directly under the Linux scheduler. When enabled, EAS uses the task load and a CPU Energy Model to select the most efficient CPU to run on, taking advantage of power and performance of Arm big.LITTLE and Arm DynamIQ-based systems.
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.x (Oreo),
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 41.3.A.2.192 before flashing this ROM.
4. This ROM is suitable for dual and single model.
5. VoLTE is supported, but you need to enable it on stock firmware at first.
Downloads Link :
EAS :
ROM : lineage-15.1-UNOFFICIAL-EAS.zip
HMP (Ultra Smooth) :
ROM : lineage-15.1-20220414-UNOFFICIAL-kagura.zip
About the build:
tone-common : https://github.com/angelokimhui/android_device_sony_tone-common
kagura : https://github.com/angelokimhui/android_device_kagura
kernel : https://github.com/angelokimhui/android_kernel_msm8996
Also thanks to:
The LineageOS Team
The CyanogenMod Team
The SODP Team.
SJILL
Chippa_a
Awesometic
joshuous (VoxPowerHal for EAS)
Contributors
Sjll, Olivier, angelokimhui(gnz11)
ROM OS Version: 8.1
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
CHANGELOGS :
UPDATE (04-18-2022)
Rebuilt EAS version from Ground up. Imported Vox PowerHal for smooth UI without relying on HMP version of perfd in stock based vendor. All sort of optimizations for EAS was added. And of course, the final latest security patch for lineage 15.1 is there too. This might be my final ROM for this device as there's no reason to update for the public. No one's using this phone anymore lol.
UPDATE (04-14-2022)
Complete rebuild from source with my own commits to source of SJILL along with migration from squashfs vendor to ext4 to speed up boot and fix twrp oem mount.And also, the final latest security patch for lineage 15.1 is applied.
HMP VERSION :
This is an optimized version I created for this device. Give feedback if how's your experience using this version.
UPDATE (03-22-2022)
I have the OEM(vendor) image updated to fix the errors about the sched_boost error spam in logcat and time_daemon crashing making long uptime becoming unstable and requiring restart. Those 2 major concerns I have are fixed now. Flash it directly to the ROM if you are currently running it.
GPS might be unstable but you can use GPS fixer app from playstore (requires root) to try and optimize GPS data in the device.
INITIAL RELEASE (03-18-2022)
Initial release of EAS based kernel and some vendor partition modification.
Reserved #2
GN-z11 said:
You need to flash Stock 41.3.A.2.157(Dual)
Click to expand...
Click to collapse
Sorry for a stupid question. It is necessary only 157 for dual? 192 isn't compatible?
MiniGNU said:
Sorry for a stupid question. It is necessary only 157 for dual? 192 isn't compatible?
Click to expand...
Click to collapse
I'm sorry but it's actually okay to have 192. I have the dual version too.
**Edited the OP now.
Is there are any custom ROM fo XZ with working GPS?

			
				
I have my GPS working though.
Well, I haven't.
MiniGNU said:
Well, I haven't.
View attachment 5565167
Click to expand...
Click to collapse
Would you mind sending me a logcat and dmesg? Just to see if there's some conflict with drivers to your device?
GN-z11 said:
logcat and dmesg?
Click to expand...
Click to collapse
I've looked into it and seems like there's some data missing, I updated the vendor image today and you can try flashing it directly to the device. And use GPS_Fixer app from playstore to set your geo to the nearest place you're in.
how step to install this OS and vendor.. im. newbie... sorry... i already installed .192 stock firmware dual sim
adul2017 said:
how step to install this OS and vendor.. im. newbie... sorry... i already installed .192 stock firmware dual sim
Click to expand...
Click to collapse
Install TWRP using fastboot and then flash the ROM first then the update vendor.
how many hours does the battery? What is screen time sot? i searching best battery rom for my xperia xz
kablohesabi123 said:
how many hours does the battery? What is screen time sot? i searching best battery rom for my xperia xz
Click to expand...
Click to collapse
It's fair in my case, but I have another version dropping with much better SOT and smoother UI but I discontinued EAS. It's not worth it for me actually with it running with kernel 3.18 so I just tried to optimize HMP as much as I can
whats another version?
kablohesabi123 said:
whats another version?
Click to expand...
Click to collapse
New HMP optimized version available.
GN-z11 said:
New HMP optimized version available.
Click to expand...
Click to collapse
Hello
Does it work on single sim?
Is this rom exFAT compatible?

Categories

Resources