[ROM][STABLE] LineageOS 15.1 for the Xperia Z5 Premium - Xperia Z5 Premium Android Development

LineageOS is a free and open-source operating system for various devices, based on the Android mobile platform.
Disclaimer:
It is your decision to install this software on your device. Neither LineageOS developers nor I take any responsibility for any damage that may occur from installing this software on your device.
{
"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"
}
​
Notes:
This rom does not come pre-rooted or bundled with any modifications or apps. The device tree is heavily based off of Sumire's officical lineageOS repo with only the necessary modifications required for Satsuki (Z5 Premium).
Download:
Android File Host: lineage-15.1-20211005-unofficial-satsuki.zip | 9e2f80e0414a3041d25b871afe02ea8c
Prerequisites:
- Make sure you're coming from firmware 32.4.A.1.54 before flashing this rom.
- Bootloader needs to be unlocked.
- Ensure that you have TWRP recovery from here.
Install:
1) Reboot into TWRP Recovery.
2) Select Wipe -> Swipe to factory reset -> Advanced Wipe -> Dalvik /ART Cache, System, Cache and Data -> Swipe to Wipe.
3) Go back to TWRP's main menu -> Select Install -> Locate and choose lineage-15.1-202XXXXXUNOFFICIAL-satsuki.zip file -> Swipe to confirm flash.
Bugs:
- Front camera video recording is laggy
Sources:
Kernel
Device Tree (Satsuki | kitakami-common)
XDA:DevDB Information
LineageOS 15.1, ROM for the Sony Xperia Z5 Premium
Contributors
Joel16
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Version Information
Status: Stable
Current Stable Version: 20211005
Stable Release Date: 2020-12-08
Created 2019-12-21
Last Updated 2021-10-05

Spoiler: Old Change-logs
Initial Release 20191221 - BETA
Code:
[U]Currently Working:[/U]
- Audio/Mic
- Bluetooth
- Fingerprint
- GPS
- Sensors (lights, gyroscope, accelerometer etc)
- WiFi
[U]Bugs:[/U]
- Camera and flash does not work.
- No sim detection (no sim service)
- Live display does not work
20191228 - BETA
Code:
- Applied kv123's DTS patch for dual sim SD card fix.
- Fix sim card detection. (Calling/Message - Needs testing/logs)
20200101 - BETA
Code:
- Fix Null ptr dereference in UID-based routing: This fixes issues with many apps crashing and resulting in a kernel panic such as YouTube.
- Enable TARGET_BOOTANIMATION_HALF_RES: Much smoother boot animation + no more lag.
- Update sec_config: Add security rule for WLFW service and change permissions for DIAG services.
- Allow the use of invalid pthread via board flag.
- Exempt latency-critical interrupts from balancing.
- Bunch of code clean up (Removing unnecessary configs, service calls, reorganizing makefiles etc)
20201022 - STABLE
Code:
- Upstream changes from lineage 15.1 sources
- Fixed RIL signal strength.
- Fixed RIL manual network search.
- Fixed NFC.
- Fixed camera. (Thanks to the wrapper by Chippa_a and the findings by torukk)
- Fixed flash light toggle.
- October security patches.
20201208 - STABLE
Code:
- Upstream changes from lineage 15.1 sources
- Back-ported camera wrapper from 17.1 sources. (No more half-assed closed source camera wrapper)
- Fixed front camera force close in Snap.
- Fixed video camera fps in Snap.
- Bumped finger print HAL from 2.0 -> 2.1.
- Bumped WiFi HAL from 1.0 -> 1.1.
- Switched to lineage power HAL.
- Picture adjustment is now working, however livedisplay is disabled due to a kernel panic.
- No longer listens to fingerprints when the screen is off - hopefully should help battery life.
- November security patches.
20210423 - STABLE
Code:
- Upstream changes from lineage 15.1 sources.
- April 2021 security patches.
- Fixed livedisplay kernel panic.
- Reduce echo while making phone calls.
20210628 - STABLE
Code:
- Underlocked max clock to 1.5 GHz
- June security patches
- Update device fingerprint props from stock.
20211105 - STABLE
Code:
- Upstream lineage changes
- September security patches
- SElinux enforcing

Excellent work! I would love to test this but since I only have this phone at the moment, I need the Sim card detection to at least work. You're doing an excellent job and you've gotten farther than anyone else! Keep up the good work and best of luck. Can't wait to start testing it if you're able to get Sim card detection working.

Mike3009 said:
Excellent work! I would love to test this but since I only have this phone at the moment, I need the Sim card detection to at least work. You're doing an excellent job and you've gotten farther than anyone else! Keep up the good work and best of luck. Can't wait to start testing it if you're able to get Sim card detection working.
Click to expand...
Click to collapse
Even if I get sim detection working, it doesn't mean calls/SMS is guaranteed to work. I'll need testers on that eventually. I do have a SIM on my Z5 but its a pretty old SIM that needs to be reactivated. I can only check to see if it's actually picking up the cellular network at most.

man,ure legend bro?? keep it up

oh yeah,ur rom was so smooth and the boot up was so fast,except for bug listed above the SD card doesnt get detect as well

yeshuabainz said:
oh yeah,ur rom was so smooth and the boot up was so fast,except for bug listed above the SD card doesnt get detect as well
Click to expand...
Click to collapse
Mate it's working on my device. You said the same thing with my TWRP build but it's working there as well.

Joel16 said:
Even if I get sim detection working, it doesn't mean calls/SMS is guaranteed to work. I'll need testers on that eventually. I do have a SIM on my Z5 but its a pretty old SIM that needs to be reactivated. I can only check to see if it's actually picking up the cellular network at most.
Click to expand...
Click to collapse
I'd definitely be happy to test it for you and let you know if calls and SMS work after you get sim card detection working. Keep up the good work, you're doing an excellent job!

Joel16 said:
Mate it's working on my device. You said the same thing with my TWRP build but it's working there as well.
Click to expand...
Click to collapse
the external sd micro card doesnt get detected but internal are fine,dirty or clean flash result same

New Release 20191228
- Applied kv123's DTS patch for dual sim SD card fix.
- Fix sim card detection.
I'll need testers for testing anything sim related. For both dual and single sim. I do have a sim but it is from another country and is temporarily disabled. I can only check to see if it picks up a signal but cannot use it to test calls/messaging. If you find any issues please report them and provide logs using the following command (Make sure you run it for up to a minute and use a site like pastebin to post your logs):
Code:
adb shell logcat -v main,radio,system,crash > logcat.txt

Awesome work! I'll test it out and let you know. All that is left is the camera, right?

Mike3009 said:
Awesome work! I'll test it out and let you know. All that is left is the camera, right?
Click to expand...
Click to collapse
If everything network related is working fine, camera should be the only *difficult* thing left. I was playing with the ROM earlier and noticed the youtube app causes the phone to crash and reboot. I'm not sure if its just me, but youtube works fine on the browser, the app however crashes so that's also something to look into.
Currently FMRadio isn't implemented and I haven't tested NFC. And unless there's some issue I'm not aware of, that's currently all there is to fix.

I got error code 7 when trying to flash it over.

Mike3009 said:
I got error code 7 when trying to flash it over.
Click to expand...
Click to collapse
Weird, which TWRP version are you using? Error 7 usually means the ROM being flashed is for a different device. Also did you wipe? Coming from lineage 14->15 dirty flash (without wipe) is not recommended.

Joel16 said:
Weird, which TWRP version are you using? Error 7 usually means the ROM being flashed is for a different device. Also did you wipe? Coming from lineage 14->15 dirty flash (without wipe) is not recommended.
Click to expand...
Click to collapse
I'm using TWRP 3.1.1-0 and I did the wipe exactly as shown in the first post. Coming from 14.1 on an e6853.
I can try updating my TWRP to the latest but I've never had issues before.

Mike3009 said:
I'm using TWRP 3.1.1-0 and I did the wipe exactly as shown in the first post. Coming from 14.1 on an e6853.
I can try updating my TWRP to the latest but I've never had issues before.
Click to expand...
Click to collapse
That TWRP 3.1.1-0 build for satsuki is pretty old. I would recommend updating it going forward. If this issue still persists let me know.

Joel16 said:
That TWRP 3.1.1-0 build for satsuki is pretty old. I would recommend updating it going forward. If this issue still persists let me know.
Click to expand...
Click to collapse
Working now after flashing over the latest recovery you posted. Thanks, I'll test it and report back.
---------- Post added at 07:02 AM ---------- Previous post was at 06:58 AM ----------
With just some quick minimal testing, calls and sms work fine. It also detected my sim card right away. Great work!
---------- Post added at 07:06 AM ---------- Previous post was at 07:02 AM ----------
This is a very fast rom. Really hope you can get the camera working.

Its so cool someone is still working on xperia z5 premium. Downloading now and probably will try in next fewhours, keep up good work! Thanks!

Few bugs noticed so far on xperia z5 premium dual E6883,
Chrome crashes device and doesnt open,
Youtube Vanced loads but crashes device when try to load videos.
Would be great if theres a discord or something that we can contact you easier

Mike3009 said:
Working now after flashing over the latest recovery you posted. Thanks, I'll test it and report back.
---------- Post added at 07:02 AM ---------- Previous post was at 06:58 AM ----------
With just some quick minimal testing, calls and sms work fine. It also detected my sim card right away. Great work!
---------- Post added at 07:06 AM ---------- Previous post was at 07:02 AM ----------
This is a very fast rom. Really hope you can get the camera working.
Click to expand...
Click to collapse
Thank you! Please make sure you can receive calls and sms fine as well.
PenguenBOI said:
Few bugs noticed so far on xperia z5 premium dual E6883,
Chrome crashes device and doesnt open,
Youtube Vanced loads but crashes device when try to load videos.
Would be great if theres a discord or something that we can contact you easier
Click to expand...
Click to collapse
Funny chrome worked for me, but youtube crashes the device. Also noticed "connected devices" also results in a crash if you try to open it in settings.
I do have a discord but I feel like telegram would be more suitable, I've noticed most people here use telegram? But anyways here's an invite link to better keep in touch: Xperia Z5 Premium (Satsuki dev)
https://t.me/xz5pdev

Related

[OREO][8.1]Unofficial OmniROM [OTA][D5803/5833]

{
"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"
}
Unofficial OmniROM OREO for Z3C (aries)​Brought to you by @nailyk​Know someone with a Z3? Send them over to this thread​​Classic disclaimer:
Code:
/*
* Your warranty is now void.
*
* We are 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.
*
*/
Features:
OTA Updates:
We've activated OTA updates, so you can be sure to get the latest updates for your device!
Unique, customizable features with OmniGears:
Control the brightness by swiping across status bar!
Set your own actions for hard- and software buttons!
Change the style of your device, thanks to substratum support! (dark theme already included)
Crop your screenshot right after you took one!
...and much more!
Switch your apps with OmniSwitch
Forget the recents drawer, you can switch your apps by swiping from the edge of the screen!
Customizable, with cool extra features!
And of course completely OPTIONAL! Switch it on the go without restarting your device!
...
Prerequisites:
Sony Z3 Compact (aries)
UNLOCKED Bootloader
Latest TWRP release
Install guide:
Still on stock fw?:
Make sure you're on 23.5.A.1.291, if not, download and flash it with Flashtool.
Flash the latest TWRP (3.1.xx) in fastboot (fastboot flash FOTAKernel twrp_***.img)
When you're done, follow the next points below this spoiler.
Enter recovery mode (HOLD VOL DOWN + POWER while device is off)
WIPE /system, /data, /cache, dalvik cache
SELECT the ROM zip and flash it
(Optional) Flash GApps: (http://opengapps.org/)
(Optional) Flash any other extras (root: look below the guide)
Reboot into system and wait for boot (it'll take some time, don't worry)
Root:
For root, we suggest that you use phhSuperUser, as it is fully open sourced and it works fine with OmniROM: phhSuperUser thread
Alternatives are Magisk (Click here) and SuperSU.
Downloads:
Latest build:
Read post #2 to check what bugs are currently on the latest build!
2018-06-16:
Direct: https://releases.nailyk.fr/omnirom/omni-8.1.0-20180616-z3c-nailyk.zip
Changelog at post#2​​
Previous builds:
2018-03-20:omni-8.1.0-20180320-z3c-nailyk.zip
2018-01-01:omni-8.1.0-20180101-z3c-nailyk.zip
2017-11-03: omni-8.0.0-20171103-z3c-nailyk.zip
2017-11-01: omni-8.0.0-20171101-z3c-nailyk.zip
2017-10-29: omni-8.0.0-20171029-z3c-nailyk.zip​
TWRP:
https://releases.nailyk.fr/twrp/twrp_z3c_O_2018-06-16.img​
​
Want to report bugs?
Give us logs using dmesg or logcat (clear logs first before reproducing the problem with "adb logcat -c")
Rebooting problems? Provide last_kmsg
Written explanations only with a way to reproduce the bug
XDA:DevDB Information
OmniROM, ROM for the Sony Xperia Z3 Compact
Contributors
devil188, nailyk, Dobsgw
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Version Information
Status: Beta
Created 2017-10-29
Last Updated 2018-03-27
Changelog:
2018-06-16 release:
REQUIRES A FULL WIPE!
TWRP dirty fix for zip flashing.
Attempt to fix camera record (not working!)
Solve reboot to recovery
Periodicals updates
Switching to enforce mode (selinunx)
Click to expand...
Click to collapse
2018-03-20 release:
Partial Changelog
Lot of audio changes,
Video record fixed (some problems remain, like format, green bar, etc),
Some not-fully-tested power patches.
Click to expand...
Click to collapse
2018-01-01 release:
Lot of code cleaning,
some fixes about audio, & gps.
New issue about 4G connection: you need to connect to a wifi network before it became available (if you do not have nearly trusted wifi, turning on AP works too. )
Click to expand...
Click to collapse
2017-12-07 release:
Lot of change for camera (video record still broken)
Lot of sepolicy changes (next release will be enforcing so please report your denials logs)
Change for GPS. Should work but expect problems anyway.
SystemUI tuner should be working again.
Small change to make external sd mountable while using unix file-system. Still not able to write on it for now.
Click to expand...
Click to collapse
2017-11-03 release:
Multiple merges:
2017-10-31:
OTA updates
2017-11-03:
Fix video recording (26562)
Fix aries bootanim size (26515)
Click to expand...
Click to collapse
2017-11-01 release:
Minor fixes:
Restore D2TW from 26502 & 26504
Attempt to fix AP with 26524
Enable Messaging app (26526) & FM app (26527)
Click to expand...
Click to collapse
Currently known issues and their fixes:
ERROR 7 while flashing in TWRP
- Flash the correct TWRP or delete the getprop() in updater-script.
Video recording not working
- Now partially working, some bugs may occur!
Problems with MicroG
- https://forum.xda-developers.com/showpost.php?p=74341878&postcount=9
5GHz Wi-Fi networks not working
- There are reports that 5GHz Wi-Fi networks not getting detected, we can't reproduce this problem though. Currently looking into this.
Sources:
https://github.com/nailyk-fr/local_manifests/blob/android-8.0/x-roomservice.xml
https://github.com/omnirom
https://gerrit.omnirom.org/
How to report
How to post
Reports without logs or step to reproduce are useless (read contribute).
You are welcome to post your review: what is working, not working, etc... Check into know issues before.
You are welcome to report any typo, error, etc...
Try to keep thread clean as a dev reference. Thanks in advance.​
How to report problems
To report problem, please provide logs.
It is always better to include reference to the Installed version. This guide is really detailed and explained everything about bug reports.
If you have any doubts, take the most logs. There is never enough logs ​
How to get logs
If your device is not booting at all, we need information about how you flash and all the handling you do, the display status, light status, and if available a dump of /proc/last_kmesg*
If you have a non working peripheral (non-working radio/wifi/etc...) please provide a full logcat and full dmesg, example:
Code:
adb reboot
adb wait-for-device
adb shell dmesg > dmesg.log
adb logcat -d > logcat.log
If you have a non working app please provide a partial logcat:
Code:
adb reboot
adb wait-for-device
adb logcat -c
<launch your app>
adb logcat -d > logcat.log
On this rom, there is a script who detect device at install time and provide the right functions for single or dual sim. If you have modem problems (like data not working or no signal) please also provide the /tmp/recovery.log.:
If you have ADB access to your device in twrp just use
Code:
adb pull /tmp/recovery.log .
after flashing omnirom.
If you do not have ADB access use the 'copy to SD' button in the advanced tab, then transfer it the way you like.
then upload your files to a service like pastebin.com / paste.omnirom.org
How to contribute
Code is like hieroglyphs for me:
No worries you can contribute anyway! Install the rom, do tests, read failure logs, look at internet for potential fix/similar users experience, is the biggest part of debugging. Then collect all of this and write your results here.
Code is like hieroglyphs for me and logs are worst:
No problem, collects logs the right way if you can, explain how you encounter the problem: detailed step to reproduce could be enough: explain exactly how you encounter the error/problem, it should produce each time someone repeat your steps. Then we will be able to fix it.
Based on stock sony kernel?
Amazing, I'm testing right now.
-It's quite fast (maybe a bit laggy in Settings app)
-Calls/SMS ok
-Wi-Fi working (both 2.4 and 5 GHz)
-Camera taking pictures, but not videos (as stated in post #2)
-Mobile data working (2G, 3G, LTE)
-Bluetooth working! I successfully connected to my JBL Go
-DoubleTapToWake not working
-Auto brightness not working here, good Night Mode
-Audio is quite loud, very good! (good inCall and loudspeaker volumes too)
-Screen rotation working
-64GB microSD correctly detected
-only around 5.5 GB occupied (without gApps)
-just 23 seconds to boot
-30 minutes of SOT drained about 7% of battery
I'm really tempted to keep this ROM, but I'll wait for it to get even more stable than now.
Oreo seems a way better than Nougat.
Thanks dev for this :good::good::good:
When video recording gets fixed I am installing this ROM,I already see good reviews so hoping it gets fixed soon.
Great job dev!
Awesome work guys, bluetooth works.
Hope we got Lineage or AOSP ROM soon.
Testing,so far so good.
So far so good... What I've noted:
- 'unknown sources' option in security settings is done away with. Now is a pop-up dialog included in pkg mgr.
- Settings layout is different. Main dashboard more condensed, with several options now in sub-settings.
- Signature spoofing ability included without patch, but Micro G still showing not active. Not sure what to do to activate it. SELinux already permissive; I don't see any option in settings...
- phh's Superuser working fine, (my preferred root).
Thanks
---------- Post added at 08:24 PM ---------- Previous post was at 07:55 PM ----------
Figured out the Micro G issue, (feel stupid because I already went through this with another ROM and forgot about it...) Just tap on the unchecked box in Micro G settings and allow permission in the pop-up box.
Now Micro G working fine...
Very Good!
Please add control with one hand as on LOS, my top of the sensor does not work.
Awesome work guys, thanks for all the hard work @devil188 @nailyk @Diewi @xkeita @rcstar6696
---------- Post added at 09:37 AM ---------- Previous post was at 09:36 AM ----------
Awesome work guys, thanks for all the hard work @devil188 @nailyk @Diewi @xkeita @rcstar6696
Already approx 24h on. I am really pleased surprise, she isn't perfect but come on!! ,is Alfa release, and come so early after officially released!
Normally installed, on get gaps I have same treble, usually use aroma install, but don't past a way,finely successful with pico, magisk , and now I am a happy campers.
Tks a loot for this!
Stock camera working, no recording.(just flash)
I guess they cut button rearrangement out of system ui tuner in Oreo. Found this app that can restore it - https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner. I have a feeling it's easy to do with apktool also, but apktool not ready for O yet, so haven't been able to test, (https://forum.xda-developers.com/showpost.php?p=74347058&postcount=5108)...
Tried the rom. Many congrats for the good work and thank you.
I cannot get the 5ghz networks to show up.
Also double tap to wake does not work.
And, the camera, even if does not FC when taking video, it does not store it anywhere.
Finally I get an error message as soon as the phone boots up to android. "Cell broadcast has stopped".
I will be following closely this thread. Keep up the good work!!!
I flashed again this rom to check if "Nougat Sony Camera Port" could work on Oreo too (I cannot live without that camera).
The result is YES (obviously Video recording still broken and some camera mode like AR Fun are force closing) and Cyberian Camera 8.0 works too.
So proud of this phone, it does not want to give up :good:
madvinegar said:
Tried the rom. Many congrats for the good work and thank you.
I cannot get the 5ghz networks to show up.
Also double tap to wake does not work.
And, the camera, even if does not FC when taking video, it does not store it anywhere.
Finally I get an error message as soon as the phone boots up to android. "Cell broadcast has stopped".
I will be following closely this thread. Keep up the good work!!!
Click to expand...
Click to collapse
5GHz networks are showing up for me, double tap to wake works too. And that's what we meant with "video recording not working"
If possible, give us a logcat so we can take a look at that problem of yours.
devil188 said:
5GHz networks are showing up for me, double tap to wake works too. And that's what we meant with "video recording not working"
If possible, give us a logcat so we can take a look at that problem of yours.
Click to expand...
Click to collapse
Apologies for the noob question. How can I take a logcat?
devil188 said:
5GHz networks are showing up for me, double tap to wake works too. And that's what we meant with "video recording not working"
If possible, give us a logcat so we can take a look at that problem of yours.
Click to expand...
Click to collapse
5Ghz working for me too, but not DT2W.
I've seen a new build on androidfilehost (too late ), has it been fixed in that build?
2017-11-01 release
Minor fixes:
Restore D2TW from 26502 & 26504
Attempt to fix AP with 26524
Enable Messaging app (26526) & FM app (26527)
And a surprise coming.
Link will be added to OP in a few.
nailyk said:
Minor fixes:
Restore D2TW from 26502 & 26504
Attempt to fix AP with 26524
Enable Messaging app (26526) & FM app (26527)
And a surprise coming.
Link will be added to OP in a few.
Click to expand...
Click to collapse
You mean right now

[ROM][UNOFFICIAL][7.1.2][nx551j] LineageOS 14.1 for Nubia M2 [17/09/2018]

{
"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:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 7 (nougat), 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.
What works:
Calls/SMS/Mobile data
Wifi
Bluetooth
GPS
Camera (Photo/Video/Flashlight)
Audio
Fingerprint sensor
DT2W
Keydisabler
Notification LED
Torchlight
Broken
You tell me
Source code:
device tree: https://github.com/HighwayStar/android_device_nubia_nx551j
device-common: https://github.com/HighwayStar/android_device_nubia_msm8953-common
kernel: https://github.com/HighwayStar/android_kernel_nubia_msm8953
vendor: https://github.com/HighwayStar/android_vendor_nubia
Clean code with kernel rebased on top of latest caf nougat msm8953 tag. Warning! this rom uses forceencrypt flag for /data partition, same as global stock rom. If you coming from Chinese ROM or other not encrypted /data ROM your first boot can take long. Do not reboot while encrypting, or you will lost all your data. It's recommend to make backup.
Download
2018-09-17
Fixed headset detection issue
Updated Lineage code
gdrive: lineage-14.1-20180917-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180917-UNOFFICIAL-nx551j.zip
Previous versions:
2018-08-22
Moved to common device tree with Nubia Z11 mini s nx549j
Removed unused camera libraries
Fixed Neocharge in offline-charging mode
Updated Lineage code
gdrive: lineage-14.1-20180822-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180822-UNOFFICIAL-nx551j.zip
2018-07-20
* Fixed Google camera crash in HDR+ mode in low-light conditions
* Fixed color "jumps", "blinks", "grayish color" in all HAL3 apps
* Looks like fully working HAL3 mode here
gdrive: lineage-14.1-20180720-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180720-UNOFFICIAL-nx551j.zip
2018-07-16
* Test build with opensource camera HAL. It enables HAL3 mode, but may also add some issues, please test if camera apps you are using is still working fine. Google camera mods working too, with HDR+ in Nexus 5X or Nexus 6P mode(tested with MGC_5.1.018.177624777-41364271.apk (BSG, 2018-07-12) version)
gdrive: lineage-14.1-20180716-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180716-UNOFFICIAL-nx551j.zip
2018-07-10
* Fixed phone crash when using dual sim.
* Set LTE mode on first run to allow to use mobile data for setup
* Added thermal daemon configs to control device temperature
gdrive:lineage-14.1-20180710-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180710-UNOFFICIAL-nx551j.zip
2018-07-09
* Fixed Phone app crash on Enable/Disable Airplane mod
* Fixed torchligh
* Fixed notification LED. Now buttons backlight red leds blinking on notification
gdrive: lineage-14.1-20180709-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180709-UNOFFICIAL-nx551j.zip
2018-07-04
Fixed high CPU load and high CPU frequencies issue
Removed FM Radio app
Added LTE option to SIM network menu
Fixed call recording
Fixed displayed battery capacity
gdrive: lineage-14.1-20180704-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180704-UNOFFICIAL-nx551j.zip
2018-07-02
Initial build
gdrive: lineage-14.1-20180702-UNOFFICIAL-nx551j.zip
mailru: lineage-14.1-20180702-UNOFFICIAL-nx551j.zip
To install this you have to install TWRP first. I can recommend this version, built with same kernel as ROM. nx551-twrp-3.2.1.img
If you want to use google apps use ARM64 Android 7.1 opengapps package https://opengapps.org/.
If you need root use Lineage addonsu or Magisk
XDA:DevDB Information
[ROM][UNOFFICIAL][7.1.2][nx551j] LineageOS 14.1 for Nubia M2 [17/09/2218], ROM for all devices (see above for details)
Contributors
highwaystar_ru
Source Code: https://github.com/HighwayStar/android_kernel_nubia_msm8953
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: LineageOs
Version Information
Status: No Longer Updated
Created 2018-07-02
Last Updated 2018-09-17
Thanks for the work you've done. In the future, plan to go to the official assembly?
Big thanks.
LuigeUA said:
Thanks for the work you've done. In the future, plan to go to the official assembly?
Click to expand...
Click to collapse
Yes, code is done as clean as possible way to be able to go official. To go official it has to be rebased to oreo first. It should be not that hard now.
I can not adjust my fingerprint, go to my home screen when scanning
LuigeUA said:
I can not adjust my fingerprint, go to my home screen when scanning
Click to expand...
Click to collapse
Had this issue too. Have not found fix yet. Workaround is to setup one fingerprint on first boot, it not goes home here. Second fingerprint can be added anytime later, , there is no such issue with second and later fingeeprints.
Hello,
Sorry for the noob question, but I cannot install the ROM because I receive an error while installing. Something like "this ROM cannot be installed because it is for device nx551j device and yours is NX551J"
How can I change this parameter?
Thank you for your help.
estuardo4 said:
Hello,
Sorry for the noob question, but I cannot install the ROM because I receive an error while installing. Something like "this ROM cannot be installed because it is for device nx551j device and yours is NX551J"
How can I change this parameter?
Thank you for your help.
Click to expand...
Click to collapse
Please install twrp from the first post. It should help.
Api
Hi , amazing work bringing nougat for us , thanks...
I'm testing for few hours and i tried many camera apps without lucky.. tried to enable camera2api for gcam and get force stopped in all cameras , could you help me ?
Another question is , will you bring future updates by OTA ?
Thanks a lot , wonderfull job.
estuardo4 said:
Hello,
Sorry for the noob question, but I cannot install the ROM because I receive an error while installing. Something like "this ROM cannot be installed because it is for device nx551j device and yours is NX551J"
How can I change this parameter?
Thank you for your help.
Click to expand...
Click to collapse
it only works with the twrp that is for download on the linage rom downloadpage ,had the same issue.
i did flash the twrp that is advised and did work perfectly.
rolandvb said:
it only works with the twrp that is for download on the linage rom downloadpage ,had the same issue.
i did flash the twrp that is advised and did work perfectly.
Click to expand...
Click to collapse
Is there other way to install? Yesterday I flashed the persistance.img posted by Mauronofrio without problems and now, for the life of me, I can't get my Win10 machine to recognize my device. I uninstalled, restarted with the option of not checking for signature files, installed, nothing. Uninstalled and installed old drivers and nothing. Uninstalled and installed the newest versions from Google and nothing. My win10 pc can't recognize my Nubia
And yes, I tried to make a working USB live image with FWUL but I don't have the technical knowledge to know whats going on and why I can't use it with my Nubia.
Did test this android 7.1 OS this evening, and there are some bugs,the camera did not work on my phone and goty black screen,with other app camara did work
fingerprintscanner did not work properly and could not remove or add fingerprints ,also phone sometimes loses and has to search again for 4g network while using phone
and got symcard message while sym alreddy did work.
hope you can do something about these issues.
i can say the phone is a lot faster an snappyer compaired to all other roms i did test
it would be great if android 8 will come available with this OS, this will make this phone a up to date phone for a bargain!
I think the M2 will even be faster on android 8
afther testing and tryed to restore my older rom i just backed up my the phone it did not boot and ended with a bick
i did restart phone in twrp and did flash the twrp i did use before and everything was ok again.
So the`re seem to be TWRP ussues between different versions, i did use the original twrp that was relased by TWRP app
First, thanks for the good work. I have found a serious bug, there is no processor frequency control and it is always full. Then heat the phone and drain the battery.
bumperiano said:
First, thanks for the good work. I have found a serious bug, there is no processor frequency control and it is always full. Then heat the phone and drain the battery.
Click to expand...
Click to collapse
Yes, something broken here, will check it out.
The processor constantly operates at the maximum frequency. The battery capacity is 3000 mA/h and not 3630.
Woah great work! Will be running this as soon as that CPU util bug is squashed Just a thought, you've posted this in the general Android misc thread although we have our own dedicated sub-forum, any chance of moving it there? Might get better visibility? https://forum.xda-developers.com/t/zte-nubia-m2
estuardo4 said:
Is there other way to install? Yesterday I flashed the persistance.img posted by Mauronofrio without problems and now, for the life of me, I can't get my Win10 machine to recognize my device. I uninstalled, restarted with the option of not checking for signature files, installed, nothing. Uninstalled and installed old drivers and nothing. Uninstalled and installed the newest versions from Google and nothing. My win10 pc can't recognize my Nubia
And yes, I tried to make a working USB live image with FWUL but I don't have the technical knowledge to know whats going on and why I can't use it with my Nubia.
Click to expand...
Click to collapse
i confirm the issue that the phone is not recognized in windows 10 ,you can see the partitions but when opening there is nothing so see and empty while it is not and no files can be added.
this is a good start but at the moment this rom is not realy a usable rom, also very strange that it only can be flashed with the twrp provided. you get error 7 and also the message this rom is not suitable
for this phone and i am using the original TWRP provided bij TWRP itself. i don`t want to reflash my phone between different twrp versions to be able to restore my phone.
i had the official TWRP installed and did not work with this rom, so i think this must be corrected to and be compatable with the original released twrp , by twrp.
the twrp provided on the rom downloadpage also does load very slow and takes 3 times longer to load.
LuigeUA said:
The processor constantly operates at the maximum frequency. The battery capacity is 3000 mA/h and not 3630.
Click to expand...
Click to collapse
The battery capacity is 3630 and not 3000
mauronofrio said:
The battery capacity is 3630 and not 3000
Click to expand...
Click to collapse
I know, but Kernel Adiutor showing 3000 mah
LuigeUA said:
I know, but Kernel Adiutor showing 3000 mah
Click to expand...
Click to collapse
nubia ui stock also shows 3000. Do not worry about that.

[ROM][H830|H850|RS988] UNOFFICIAL LineageOS-17.1 for G5

{
"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"
}
Disclaimer
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.
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device. More info.
These are my UNOFFICIAL builds of LineageOS-17.1 for LG G5 variants. I did NOT create this ROM. I am helping to contribute to this ROM. Thanks to all other coders who contributed to LineageOS.
IMPORTANT
BACKUP! These are UNTESTED builds. Please be ready to recover your previous ROM. If it kernel panic, boots into bootloader, etc... grab as much info as you can.
Builds are done periodically (see download below)
Do NOT be rude.
Respect all users.
Any and all users, please help each other. I have a rs988 variant, so other variants might have some issues.
This now runs System-As-Root. Ie.. / and /system are merged, so /system is really /, and /system is /system/system.
For broken issues see 2nd post
Issues:
WiFi or Bluetooth MAC is "00:00:00:00:00:00" - You wiped the misc partition, you'll need to fix: https://forum.xda-developers.com/showpost.php?p=70474540&postcount=12 (Should be fixed by static hax thanks for @Blaises)
5Ghz tether not working due to "error"
Install
You can upgrade from 15.1 (UNOFFICIAL) to 16.0 to 17.1. If you are not on my UNOFFICIAL yet, flash the to-x86cpu.zip first (and reboot recovery before upgrade, not reboot into system).
Flash to-x86cpu.zip if needed. (See Downloads below)
Flash UNOFFICIAL ROM
Wipe cache, and dalvik cache
Magisk if you choose
Flash GAPPS (I use nano)
Reboot and wait....
Bugs
If you encounter issues/bugs that are not known, please report. This is not the OFFICIAL ROM, but I can help to get any issues fixed. I use the rs988 variant. If I can replicate your issue then I can track it down. If I cannot, please provide as much detail as possible. Logcats are great. (See post #3)
Please indicate what G5 variant you have (h830, h850, rs988) and the dated version. Any mods (no judgment) as well.
I am aware people run mods or change things. I am not against it (as I do myself). However, if needed I may ask you to data wipe (you can say no), or remove a mod that might be interfering. I will do the best I can.
Thanks
Any and all users in this thread who contributed or will contribute to making this ROM as stable as possible
LineageOS Team
@Rashed97 for continuing
@Blaises[/MENTION] for Bluetooth and WiFi static hax if all 00s.
@npjohnson for help along the way.
Downloads
ROM: UNOFFICIAL downloads (Note date)
Gapps: arm64 nano 10.0
Sources
https://github.com/LineageOS
https://github.com/LineageOS/android_kernel_lge_msm8996
https://github.com/LineageOS/android_device_lge_msm8996-common
https://github.com/LineageOS/android_device_lge_g5-common
h830
h850
rs988
What is working:
WiFi
Camera
GPS
NFC
2.4 Ghz Hotspot
USB OTG
What is NOT working:
VoLTE and WiFi calling do not (and most likely never will).
5.0 Ghz Hotspot
Encrpytion is untested, so it may fail.
Anything else NOT listed above might or might not work. I will adjust as necessary and reports. If anyone has any knowledge and can troubleshoot and fix the NOT working items, let me know.
Here is how I capture logs. You need to ensure you can do this right at boot and will need to setup ahead of time.
You need to have root, either su, or "adb root". Verify you can get root quickly.
Here are the steps I do to accomplish this. This is a Linux system, so windows will vary slightly.
Reboot the phone while plugged into the computer.
At a shell, keep attempting to get root/shell:
Code:
adb root ; adb shell
Once connected, immediately paste the following (to capture logs).
Code:
cd /cache
nohup dmesg -w > dm &
nohup logcat -b all > lc &
If you have root installed via Magisk as "su":
Reboot the phone while plugged into the computer.
At a shell, keep attempting to get root/shell:
Code:
adb shell
Once connected, immediately paste the following (to capture logs).
Code:
su
cd /cache
nohup dmesg -w > dm &
nohup logcat -b all > lc &
Once Phone reboots, or boots up. The needed files are in /cache "lc" and "dm", and are available in TWRP even.
Thank you for your efforts and support. I will try as soon as possible
Sent from my LGE LG-H850 using XDA Labs
Thanks, @x86cpu I'll start working on my new threads for Havoc OS and Pixel Experience. I was also curious about this commit does this have anything to do with going Official.
ROMSG said:
Thanks, @x86cpu I'll start working on my new threads for Havoc OS and Pixel Experience. I was also curious about this commit does this have anything to do with going Official.
Click to expand...
Click to collapse
That's just the wiki getting added.
https://review.lineageos.org/c/LineageOS/hudson/+/267517
That above is more what you might be looking for.
x86cpu said:
That's just the wiki getting added.
https://review.lineageos.org/c/LineageOS/hudson/+/267517
That above is more what you might be looking for.
Click to expand...
Click to collapse
Ok kind of a noob question, but what is the wiki sorry for asking.
ROMSG said:
Ok kind of a noob question, but what is the wiki sorry for asking.
Click to expand...
Click to collapse
The wiki page is just information about the device, how to install Lineage, etc..
Preview: https://harryyoud.co.uk/lineage-previews/217514/11/devices/rs988/
hudson is the build server repo, and what order and how often to build for, like "N"ightly, or "W"eekly. Once 17.1 is official, most 16.0 goes to Weekly builds, and 17.1 goes to Nightly.
x86cpu said:
The wiki page is just information about the device, how to install Lineage, etc..
Preview: https://harryyoud.co.uk/lineage-previews/217514/11/devices/rs988/
hudson is the build server repo, and what order and how often to build for, like "N"ightly, or "W"eekly. Once 17.1 is official, most 16.0 goes to Weekly builds, and 17.1 goes to Nightly.
Click to expand...
Click to collapse
Ok Thanks so much, sorry for the Noob question I'm still learning.
i tries gapps and nikgapps and bit gapps no one is letting me go after final touch screen. even i skip setup wizard still setup wizard crashing errer popups continusly. i now removed setup wizard from twrp and started the rom...
---------- Post added at 04:56 PM ---------- Previous post was at 04:19 PM ----------
it has same bugs as romsg 17.1.
google camera processing hdr stucks at 100%
after reboot lockscreen takes 1 minute to accept password.
battery life is a bit bad
till now i saw these issues.
rest is perfect
thank u sir for this rom..
just perfect
just did a dirty flash, coming from 16.0. -->
wiped davlik and cache before, and then... everyhting went perfectly fine
all settings and apps still alive and functional.
quick check... wifi, bluethooth working fine, camera as well.
I'm very happy, thank you! :victory: :highfive:
Also i started the new oc kernel for Android 9 and 10. Hope i will release soon.
Sent from my LGE LG-H850 using XDA Labs
Tried doing a clean flash and I can't seem to get past the setup screen. When I get to the last screen where it asks to set up a few more things, when I tap finished for now, I get a FC and I can't finish the setup.
Using RS988 with opengapps 10 nano 1.24.2020 and magisk 20.3.
Steps used:
Wipe data, cache/dalvik and system
Flash LOS17
Flash Gapps
Flash Magisk
Reboot
I'll try gapps 1.23.2020 and report back.
This is a buggy setup wizard. Try to delete the setup wizard via twrp and it should boot up normally.
---------- Post added at 09:30 PM ---------- Previous post was at 09:26 PM ----------
I have no NFC. Can only turn it on via Quick settings. No menu in network settings. Turning it on in quick settings has no effect. Prior to this ROM I had Romsg's version installed. But with the same behavior. Does anybody know a solution?
djskribbles said:
Tried doing a clean flash and I can't seem to get past the setup screen. When I get to the last screen where it asks to set up a few more things, when I tap finished for now, I get a FC and I can't finish the setup.
Using RS988 with opengapps 10 nano 1.24.2020 and magisk 20.3.
Steps used:
Wipe data, cache/dalvik and system
Flash LOS17
Flash Gapps
Flash Magisk
Reboot
I'll try gapps 1.23.2020 and report back.
Click to expand...
Click to collapse
fscout42 said:
This is a buggy setup wizard. Try to delete the setup wizard via twrp and it should boot up normally.
---------- Post added at 09:30 PM ---------- Previous post was at 09:26 PM ----------
I have no NFC. Can only turn it on via Quick settings. No menu in network settings. Turning it on in quick settings has no effect. Prior to this ROM I had Romsg's version installed. But with the same behavior. Does anybody know a solution?
Click to expand...
Click to collapse
I ended up just flashing LOS16 and dirty flashing to 17.1.
Everything seems to be working except NFC and the camera seems really buggy, even after reboot. Can't save to external sd card, and recorded video can't be played. Also as mentioned above, gcam doesn't work either. Using arnovas advanced 1.7 that worked great on los16.
Roboxl said:
just did a dirty flash, coming from 16.0. -->
wiped davlik and cache before, and then... everyhting went perfectly fine
all settings and apps still alive and functional.
quick check... wifi, bluethooth working fine, camera as well.
I'm very happy, thank you! :victory: :highfive:
Click to expand...
Click to collapse
BT calls works? Or only music?
Wysłane z mojego LG-H850 przy użyciu Tapatalka
Trying out the new build on my H830 and it's good so far. I've dirty flashed from 16.0 using NikGapps core and Magisk 20.3.
I want to note some bugs along with some workarounds:
1. Camera is buggy on first boot (restarting seems to fix this)
2. Recorded videos fail to play (keep pressing play and will play eventually though audio isn't working, videos from previous versions play fine, it's possible that other camera apps don't have this)
3. Gcam not working (use urnyx05's gcam v2.1, works fine on both 9 & 10)
4. Interactive governor is maxing the CPU (gave a decent boost in battery in 16.0)
5. Powersave governor can freeze the camera when in video mode/recording (use default governor)
6. Lockscreen pin is slow on boot (just wait a little it will unlock)
7. Brightness slider still needs adjusting (Turn off autobrightness and use values between 70-90% for decent indoor screen brightness)
8. Google Play downloads can be slow regardless of GApps package and when on wifi/mobile data (Been happening to me since 15.1 and only happens to some, just pause and resume a few seconds later is the workaround I do)
9. Audio files can take a while to load when switching between audio sources like wired & wireless headphones (no workaround will began playing in a bit)
thanks a lot:victory::victory:
Sent from my LG-H830 using XDA Labs
inhave a solution delete lineagesetupprebuilt from twrp and setup will succed lineage setup is causing problem....
delete system/priv-apps/lineagesetupprebuilt...
Ismrocks1234 said:
inhave a solution delete lineagesetupprebuilt from twrp and setup will succed lineage setup is causing problem....
delete system/priv-apps/lineagesetupprebuilt...
Click to expand...
Click to collapse
You can delete every system and user app in OrangeFox recovery.
Sent from my LGE LG-H850 using XDA Labs

[ROM] LineageOS 17.1 | Android 10 [UNOFFICIAL] [Sep8]

{
"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"
}
This is an UNOFFICIAL build. of LineageOS 17.1 for the OnePlus 7T Pro 5G Mclaren. I did NOT create this ROM, it is an Open Source project by the community for the community and has many many contributors , some from this very thread!. thanks to all who have contributed to CyanogenMod/LineageOS over the years.
Supported device: OnePlus 7T Pro 5G McLaren (hotdogg)
Click to expand...
Click to collapse
Code:
[B]IMPORTANT[/B]
* Builds are done when they are done, and not a second sooner. Please no build begging.
* Do NOT be rude.
* If you don't get a reply from me in a timely manner about your bug, sorry i do this in my spare time
* Respect all users
* If I see a NOOB question and I don't feel like replying, I WONT.
Built from latest LineageOS/Android 10 source
Service
Text
Data
Call
VoLTE/WiFI Calling/IMS/5G]
Audio
WiFi
Google Now
Bluetooth
GPS
MMS
Video playback
Audio playback
Camera
Video recording
NFC
??? You tell me
Unlock Warning:
By unlocking a OnePlus phone, you can loose permanent functionality in fingerprint scanner and OTAs for Stock ROMS if improper steps are taken.
Please see 2rd post for backup instructions BEFORE flashing this or ANY custom ROMs
Join our Telegram Chat for added support
PAY ATTENTION!! DIFFERENT THEN MOST DEVICES! CURRENTLY TWRP DOESNT SUPPORT OUR DEVICE SO FASTBOOT MUST BE USED INSTEAD! GAPPS IS ALSO INCLUDED IN THE BUILD DUE TO SAME LACK OF TWRP!
(if you are comfortable with fastboot just run the following commands from fastbootd, if you are unsure of the procedure please read on IT IS DIFFERENT THEN TWRP!
Code:
(boot to bootloader)
fastboot reboot fastboot
fastboot -w
fastboot update lineage-17.1-20200723-UNOFFICIAL-hotdogg+GAPPS_fastboot.zip
Boot to bootloader
from terminal/command prompt: fastboot reboot fastboot
(Don't forget the above step! This will bring us into fastbootd mode. Regular bootloader/fastboot doesn't have access to all needed partitions for flashing. You will see 'partition not found' errors)
Note: In order to access fastbootd mode, we must have stock recovery flashed until TWRP is fixed
if you are coming from a different rom wipe userdata by typing fastboot -w
now type fastboot update filename.zip where filename is the name of the downloaded zip. (e.g, lineage-17.1-20200723-UNOFFICIAL-hotdogg+GAPPS_fastboot.zip)
Any and all users in this thread who contributed or will contribute to making this ROM as stable as possible
LineageOS Devs
@mjevange
@Omariscal1019
Me
Not expected by any means but always brings a smile to my face when I see it, If anyone wants to Paypal me a couple bucks my way it would really help cuver all the coffee and smokes i go through debugging stuff haha
Thanks and happy flashing!
[*] See Post 3
[*] See Post 3
XDA:DevDB Information
Lineage 17.1 for OnePlus 7T Pro McLaren, ROM for the OnePlus 7T Pro McLaren
Contributors
albinoman887
Source Code: http://github.com/Albinoman887
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked Bootloader
Based On: LineageOS
Version Information
Status: Beta
Created 2020-06-29
Last Updated 2020-06-29
Unlock Warning:
- This matters only if you ever want to revert to OnePlus ROMs or a fully stock phone
- Choose a method below to get backups BEFORE unlocking to prevent this
- persist.img and reserve.img are most important, but get full dump/backup to be safe
- If you need help, join our Telegram Chat
Getting your phone into EDL mode
Code:
- While holding {Vol+} & {Vol-}, insert USB
- Your screen will remain blank, you will immediately be in EDL mode
- You will have 10 seconds to interact with EDL mode, or the phone will restart into Charging mode
- If an EDL mode interaction fails, you will need to first reboot into fastboot by holding {Vol+} & {Vol-} & {Power} for 10 seconds
MSM Readback (Windows Only)
Download Tool
Grab any MSM Tool version
Obtain Backup
- Launch tool
- Select Target 'TMO'
- Press F8 (password is 'oneplus')
- Select Partitions & Hit OK
(persist.img and reserve.img are very important, but can't hurt to have a copy of everything, use Ctrl-A to select all)
- Put phone in EDL mode (SEE NOTE)
- Enumerate device
- Click Readback & Wait
EDL Tool Backup (Linux Only)
Obtain the tool
Use GIT:
Code:
~$ git clone [email protected]:bkerler/edl.git
—or—
Download ZIP: https://github.com/bkerler/edl/archive/master.zip
Prep
Use the included README for required packages / setup
Pay attention to UDEV rules, python, and pip
Backup
In the edl folder:
- Create folder named dumps
- Put phone in EDL mode (SEE NOTE)
- Use edl.py:
Code:
~$ ./edl.py rl dumps/ --memory=ufs --genxml --skip=userdata
Sep 8
* Adjusted size and position of Fingerprint Scanner icon to match stock
* Fixed position of Keyguard so the Emergency call button is no longer covered by FP icon.
* Fixed issue when you would wake the device and tap the lock screen the Fingerprint Icon with shift either left or right a few pixels
* Adjusted the color the fingerprint icon lights up when pressed to match stock values, Increases the speed of finger detection considerably
* Fine tune the size of the status bar (it was a little wonky)
* Removed the hack to re-add Face Unlock now that Fingerprint Sensor is working
* General cleanup and housekeeping.
* Any and all changes merged to LineageOS as of Sep 8th
Aug 29
* FINGERPRINT SENSOR IS FINALLY WORKING!!!!! This took me no joke, 100s of hours to figure out. I honestly thought it was a lost cause. There a a couple cosmetic issues still like the icon still showing when you swipe up to enter pin instead of using your fingerprint. I think thats it.
* General under the hood improvments
July 23
* Updated flashing method. No more clunky scripts , we now are using a fastboot update zip. This is the same method the OEMs use to flash, simply boot to fastbootd and run (fastboot update filename.zip) where filename is the name of the downloaded zip. Installation instructions in first post are updated to reflect this change. dont use TWRP its still buggy as hell
* Ported Face Unlock feature from previous Android versions as a alternative to fingerprint unlock until that issue is resolved.
* Enable SELinux Enforcing
* Update security patch to June 2020
* Upstream changes and possibly a couple other small things I forgot
July 07
* Updated vendor libraries to 10.0.36
* General source cleanup and optimization
* Updated build fingerprint to match vendor
* still no FP , but progress being made
June 29
* Initial Release
[ROM]: lineage-17.1-20200908-UNOFFICIAL-hotdogg+GAPPS_fastboot
Gapps: TEMP INCLUDED WITH ROM IMG UNTIL ITS FLASHABLE VIA CUSTOM RECOVERY
[Download Archive]: All ROMs
https://github.com/LineageOS
https://github.com/Team-Hydra/android_device_oneplus_sm8150-common
https://github.com/Team-Hydra/android_device_oneplus_hotdogg
https://github.com/Team-Hydra/android_kernel_oneplus_sm8150
https://github.com/Team-Hydra/proprietary_vendor_oneplus
Contributors
albinoman887
reserved3
Awesome!! Thank you for all the hard work!!! ?
New build uploaded
Face unlock working on Los?
kirschdog1 said:
Face unlock working on Los?
Click to expand...
Click to collapse
face unlock was removed by google in android 10 for all devices due to security concerns. there is a hack to get it working again i just didnt mess with it yet. i guess i could....
wow. does no one user lineage anymore lol? this is the deadest Lineage ROM thread on xda ive ever seen lol. btw i added a donate link... and slowly but surely making progress on fingerprint sensor... turns out Oneplus 8 has the same bug from simply unlocking the bootloader. Also i forgot to enable 90Htz refresh rate for our builds, did that today, will be releasing new build shortly, i have very slow upload...
albinoman887 said:
wow. does no one user lineage anymore lol? this is the deadest Lineage ROM thread on xda ive ever seen lol. btw i added a donate link... and slowly but surely making progress on fingerprint sensor... turns out Oneplus 8 has the same bug from simply unlocking the bootloader. Also i forgot to enable 90Htz refresh rate for our builds, did that today, will be releasing new build shortly, i have very slow upload...
Click to expand...
Click to collapse
I agree, it is pretty dead, which is unfortunate. I have been waiting for lineage to be available for this phone since i got it and i very much appreciate your hard work. I just have to figure out how to flash this without bricking my phone. Its been several years since ive flashed roms on an android phone.
---------- Post added at 01:18 PM ---------- Previous post was at 01:02 PM ----------
Just installed....and amazing job Albino. looking forward to future updates and to you crushing the other roms that come out for this phone.
I like it a lot. It flies on my phone.
I just wanted to say thank you for making this possible! I wish you good luck for making the rom more stable and to anyone else working on future ROMs for the 7T pro 5g mclaren! Glad to see there is an active community and maybe one day we will get an international conversion method? Pog
albinoman887 said:
face unlock was removed by google in android 10 for all devices due to security concerns. there is a hack to get it working again i just didnt mess with it yet. i guess i could....
Click to expand...
Click to collapse
I would like it a lot given no fingerprint
After using this rom for several days the phone is working very well. No real issues honestly other than a couple of apps force closing it's awesome. Great job Albino! Looking forward to future releases.
kmk2k6 said:
After using this rom for several days the phone is working very well. No real issues honestly other than a couple of apps force closing it's awesome. Great job Albino! Looking forward to future releases.
Click to expand...
Click to collapse
Me too maybe a little face unlock action??
kirschdog1 said:
Me too maybe a little face unlock action??
Click to expand...
Click to collapse
Patience...If Albino is soloing this it's going to take time.
Hello everyone. Im actually thinking about installing this rom on my phone. I currently have the only other custom rom that is available for this phone. I notice some thing that was less in performance in the stock rom like the wifi range and battery life. Also, in one of the earlier conversations i read about very little activity, I believe the issue is that most people either dont want to loose the finger print function and also, the process of flashing is completely different. Especially with no TWRP support for the device. Maybe all of this will change when TWRP is actually fully supported.
albinoman887 said:
wow. does no one user lineage anymore lol? this is the deadest Lineage ROM thread on xda ive ever seen lol. btw i added a donate link... and slowly but surely making progress on fingerprint sensor... turns out Oneplus 8 has the same bug from simply unlocking the bootloader. Also i forgot to enable 90Htz refresh rate for our builds, did that today, will be releasing new build shortly, i have very slow upload...
Click to expand...
Click to collapse
Thank You for your hard efforts Albino! I have been patiently waiting to get a great Vanilla Rom for this phone and Lineage is exactly what I have been waiting for. As a thank you, I just submitted a small donation for your efforts and I hope that it would encourage you to not lose hope with this community and continue to invest your expertise in our device. Thank You and I look forward to having your Lineage OS running on my OP7 Pro MCL soon with the hopes that you'll be able to resolve the fingerprint issue soon.
Is there anyone who has tested WiFi/Bluetooth on this ROM vs AOSiP? The latter has had a shorter range than stock ROM and idk if this ROM had any advantages. Thoughts?
champ784 said:
Is there anyone who has tested WiFi/Bluetooth on this ROM vs AOSiP? The latter has had a shorter range than stock ROM and idk if this ROM had any advantages. Thoughts?
Click to expand...
Click to collapse
Same here, i noticed more the wifi than the bluetooth.
---------- Post added at 02:42 AM ---------- Previous post was at 02:12 AM ----------
I noticed as I was getting ready to download this rom that there was also "Omni" roms. Are those roms for our phone as well or no? And is so how is the stability of the rom? Thanks.

[ROM][UNOFFICIAL][12] LineageOS 19 for Xperia X Compact [FINAL]

{
"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 12, 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 organization.​And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​You can also view the changelog for a full list of changes & features.​​Official LineageOS website : http://lineageos.org​About LineageOS Legal : http://lineageos.org/legal​
Important Information
1. This ROM operates without ODM images, just follow the installation instructions.​2. This ROM does not intended to support Google Camera, but you can try some mods.​​Downloads Links
LineageOS 19:​Unofficial: https://sourceforge.net/projects/loire-development/files/lineageos-19.1/kugo​​Google Applications (optional):​MindTheGapps: https://androidfilehost.com/?w=files&flid=322935 (Android 12.1 -> arm64)​XDA post about GApps: https://xda-developers.com/download-google-apps-gapps​​Recommended Recovery (optional):​TWRP 3.x: https://forum.xda-developers.com/-/-t3793837​
Flashing and updating
Please install the latest version of TWRP to avoid further issues with recovery!​
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
You can also update using the built-in Updater (requires at least TWRP 3.6.x or LineageOS Recovery)​
About the builds:
Kernel sources: https://github.com/Chippa-a/android_kernel_sony_msm8956​
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
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)
Also thanks to:
The LineageOS Team
The SODP Team
Everyone involved in working and testing
Contributors
Chippa_a
ROM OS Version: 12.x
ROM Kernel: Linux 4.9.x
Version Information
Status: Stable
FEATURES AND ISSUES
Boot: Ok
Bluetooth: Ok
WiFi: Ok
WiFi Hotspot: Ok
RIL - Phone - Data: Ok
GPS: Ok
Camera: Ok
Camcorder: Ok
Lights: Ok
MicroSD: Ok
Accelerometer: Ok
Compass: Ok
Gyroscope: Ok
QTI sensors: Ok
Touchscreen: Ok
FM Radio: N/A
Fingerprint: Ok
Vibrator: Ok
Microphone: Ok
Audio & music: Ok
Bluetooth audio: Ok
NFC: Unknown (HCE: Unknown)
Kernel: Ok
Graphics: Ok
3D Rendering: Ok
Clock: Ok
DRM: Unknown
Offline Charging: Ok
USB: Ok
USB Tethering: Ok
USB OTG: Ok
Encryption: Ok
SEPolicies: Enforcing
what the ...!?
i downloaded los18 just yesterday, installed it this morning and now i see los19 sneaked by
thank you so much chippa_a, i will try it out tomorrow
unbelievable what your doing to this oldschool device.
Gcam works perfectly on it. Thanks a lot for this device!!!
This works beautifully and is really smooth. Never thought I'd see another rom for the XC again.
Can confirm that GCam 8.x with HDR actually works! (No crashes, or stuttering) Unlike previous roms with the most recent kernel before this new one. I don't know what magic you pulled to make this happen but thank you!
Thanks for this rom! It is very fast.... Only Chrome browser is laggy...
decsimon said:
Thanks for this rom! It is very fast.... Only Chrome browser is laggy...
Click to expand...
Click to collapse
I haven't experienced this. For me normal browsing was pretty smooth.
Have you also flashed the kernel from the .zip?
I must say that for now everything seems to work fine for me (incl. Gapps).
Tested fingerprint reader, 4G, DRM with Tidal, smooth and responsive Maps / Android Auto, smooth Chrome. No sudden reboot for now.
konstruktor said:
I haven't experienced this. For me normal browsing was pretty smooth.
Have you also flashed the kernel from the .zip?
I must say that for now everything seems to work fine for me (incl. Gapps).
Tested fingerprint reader, 4G, DRM with Tidal, smooth and responsive Maps / Android Auto, smooth Chrome. No sudden reboot for now.
Click to expand...
Click to collapse
Ok, what steps for flash kernel i must to follow? Rom, gapps, kernel? Magisk is a problem or i can flash it? (i need it for apk bank)
decsimon said:
Ok, what steps for flash kernel i must to follow? Rom, gapps, kernel? Magisk is a problem or i can flash it? (i need it for apk bank)
Click to expand...
Click to collapse
You won't need to flash the kernel separately, it's included in the zip:
1. Boot to TWRP.
2. Install the Lineage zip file.
3. Reboot to recovery.
4. Optional: In TWRP, install/flash Magisk 24.1 and/or MindThe GApps.
That's it. No issues with Chrome lag either. I've tried a few browsers and they all work well.
I've tested a few GCams, I find these two work best so far:
Parrot043: MGC_7.6.008_Parrot043_V7.apk
Download MGC_7.6.008_Parrot043_V7.apk by Parrot043.
www.celsoazevedo.com
Parrot043: PMGC_7.2.014_Relesed_V1.apk
Download PMGC_7.2.014_Relesed_V1.apk by Parrot043.
www.celsoazevedo.com
In the Advanced Settings, make sure to change AI White Balance to "Pixel 3 XL" for best colour accuracy.
Note: For the front selfie cam to work, you'll need to disable HDR first.
Please post here if you find any other good ones!
how if i try nfc on ex japan S0-02 j ?
Little adventure said:
how if i try nfc on ex japan S0-02 j ?
Click to expand...
Click to collapse
Not sure what you're asking but NFC is located under:
Settings > Connected Devices > Connection Preferences > NFC
If it doesn't turn on, you might have to flash the last Sony stock firmware first then install this rom.
Someone with the JA model might be able to help.
It works great! Very fast boot time. Everything is smooth, so far haven't noticed any bugs. Fingerprint unlock is faster than on stock and LOS 16.
Camera quality with the first GCam is also the best out of all custom ROMs I've tested. Great job! A new life for my old Xperia.
betacrypt said:
I've tested a few GCams, I find these two work best so far:
Parrot043: MGC_7.6.008_Parrot043_V7.apk
Download MGC_7.6.008_Parrot043_V7.apk by Parrot043.
www.celsoazevedo.com
Parrot043: PMGC_7.2.014_Relesed_V1.apk
Download PMGC_7.2.014_Relesed_V1.apk by Parrot043.
www.celsoazevedo.com
In the Advanced Settings, make sure to change AI White Balance to "Pixel 3 XL" for best colour accuracy.
Note: For the front selfie cam to work, you'll need to disable HDR first.
Please post here if you find any other good ones!
Click to expand...
Click to collapse
First , thanks for this Rom I'm very happy to See Android 12 on my phone.
I have tried Encryption and it doesn't work for me. I have a bootloop.
Has anyone else tested it?
And on the Encrypt page , I had astrange bug : I wasn't able to access to the"Encrypt" button at the bottom of the page . I had to set the police size at the smallest size to see it.
Maciek602 said:
It works great! Very fast boot time. Everything is smooth, so far haven't noticed any bugs. Fingerprint unlock is faster than on stock and LOS 16.
Camera quality with the first GCam is also the best out of all custom ROMs I've tested. Great job! A new life for my old Xperia.
Click to expand...
Click to collapse
Agree, fingerprint detection and unlocking is incredibly fast, didn't think it could ever be improved this much.
betacrypt said:
Not sure what you're asking but NFC is located under:
Settings > Connected Devices > Connection Preferences > NFC
If it doesn't turn on, you might have to flash the last Sony stock firmware first then install this rom.
Someone with the JA model might be able to help.
Click to expand...
Click to collapse
thanks for the answer sir
I have ex japan status bootloader yes, now position in custom rom lineage 16.0 android pie, this rom very smooth in my old device , i try turn on nfc in this rom, nfc doesnt turn on , but nfc working fine in ex global
Maybe hardware nfc ex japan different with ex global , so that maybe build tree and config specific for ex japan , correct me if i wrong sir
my experience with gapps 12.1 12L
open gapps stock - not working (endless bootanimation)
open gapps pico - unusable (loop before setting up fingerprint)
flame gapps full - unusable (loop before setting up fingerprint)
flame gapps basic - unusable (loop before setting up fingerprint)
mindthegapps - working
nik gapps omni - working
nik gapps stock - working fine so far
I have this problem...my bank apk its OK with last magisk (and fingerprints setting and Hide zygisk), but gpay dont work when i insert my card code cvv, it say that is not possibile continue because possible root phone....i try to hide all with zygisk of magisk .....
OK i resolved with module safetynet....
Toggles for me is too big, ....is possible return to standard lineageos toggles 16/17/18?
So when swipe down one time, i can see 6 toggles and not only 4....
decsimon said:
Toggles for me is too big, ....is possible return to standard lineageos toggles 16/17/18?
So when swipe down one time, i can see 6 toggles and not only 4....
Click to expand...
Click to collapse
That's Android 12. I wouldn't hold my breath that someone could port an older System UI over. You would have to get used to it I'm afraid.

Categories

Resources