• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][9.0.0_r33][UNOFFICIAL] LineageOS 16.0

nysascape

Senior Member
Jan 24, 2016
408
544
0


Code:
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, your mum being angry because you woke up late,
 * your phone becoming a Samsung phone,
 * 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.
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What's working:
- Wi-Fi
- Fingerprint
- GPS
- HWC
- Camera
- Bluetooth
- RIL
- Night Light
- etc, etc.
What's not working:
- You tell me.

Downloads:
Google drive builds
PLEASE INSTALL MIUI 10 PIE FIRMWARE BEFORE INSTALLING

How to install:
- Flash TWRP for platina
- Flash the zip in the builds
- Flash OpenGapps (optional)
- Flash Magisk/SU (your choice)

Source code:
manifests <3

Thanks to:
@Lunarixus for help in the trees and being a great friend
@brunorochaa for his great dev work on platina
@ManoloRey for his advice and great work



XDA:DevDB Information
LineageOS 16 , ROM for the Xiaomi Mi 8 Lite

Contributors
nysadev, Lunarixus, brunorochaa, ManoloRey, RainSnowHan
Source Code: https://github.com/nysadev/android_device_xiaomi_platina

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: LineageOS

Version Information
Status: Alpha

Created 2019-01-11
Last Updated 2019-02-28
 
Last edited:

nysascape

Senior Member
Jan 24, 2016
408
544
0
Changelog:
01-02-19:
- Fix notch gap
- Now SELinux enforcing
- Enable Camera2 API and include patched front camera lib
- Testing DT2W (please test and let me know)

25-01-19:
Sorry for the delay on this build
- Fixed Facebook + YouTube for sure this time
- Performance/battery heavily improved
- Updated sources
- Fixed LiveDisplay (again for sure this time)

23-01-19:
- Fixed Facebook
- YouTube fixed
- LiveDisplay still bugged (need to wait for Lineage to fix sources)

18-01-19:
BOOTING AND WORKING
Fixed major bugs
Fixed trust zone
Wi-Fi working ootb (thanks to rsyhan and Manolo)
 
Last edited:

Deedrieen

Member
Dec 10, 2009
16
4
0
Just tried to patch this ROM into my platina, but at first I got a Error 7 message. Looked like the updater-script had a line to many, or mayb misconfigured?
After removing this line:
assert(platina.verify_trustzone("TZ.BF.4.0.7-00100") == "1");
The installation continued as it should, and I'm now configuring the device.
I could also not find where this line should be matching to?
 

Deedrieen

Member
Dec 10, 2009
16
4
0
Think I was replying to fast...
The system could not boot at all as it was hanging on the first screen which says "Unlocked bootloader". Nothing else happened.
Tried all I could so far to make it boot but nothing worked for me.
So back again on a working ROM....
 

AnGry36

Member
Jun 26, 2018
10
1
0
Uploaded lineage-16.0-20190111-UNOFFICIAL-platina.zip to /sdcard and entered TWRP-recovery (version 3.2.3-1003).
During installation the following message is shown:

Checking for Digest file ...
Skipping Digest check: no Digest file found
assert failed: platina.verify_trustzone("TZ.BF.4.0.7-00100)=="1"
Updater process ended with ERROR: 7

Do I have to wipe something before installation? Or what is going wrong here?
 

nysascape

Senior Member
Jan 24, 2016
408
544
0
NEW BUILD:
EDIT: Build doesn't boot. I will check soon. My friend @Lunarixus got AOKP to boot, hopefully Lineage should do the same.

Changelog:
- Fixed error 7
- Fixed DT/vendor *should boot*
- Updated sources

PLEASE INSTALL MIUI 10 PIE FIRMWARE BEFORE INSTALLING

Please grab logs such as kmsg and dmseg if it doesn't boot.
 
Last edited:

AnGry36

Member
Jun 26, 2018
10
1
0
It's working

Great! With this build I was able to boot! This LineageOS 16 is now running on my MI 8 Lite. Thanky you for your work!!! :D

Question: What to do with your firmware updater? As I wanted to update the firmware, as requested in #11, I installed the zip, rebooted, ... but what have I to do then. I didn't find any changes in settings (perhaps I didn't see it) and no new app. So ...?
 
  • Like
Reactions: nysascape

nysascape

Senior Member
Jan 24, 2016
408
544
0
Great! With this build I was able to boot! This LineageOS 16 is now running on my MI 8 Lite. Thanky you for your work!!! :D

Question: What to do with your firmware updater? As I wanted to update the firmware, as requested in #11, I installed the zip, rebooted, ... but what have I to do then. I didn't find any changes in settings (perhaps I didn't see it) and no new app. So ...?
If you don't update to Pie before flashing any 9.x ROM, you'll have all sorts of broken things like sound not working, HWC broken, camera broken, etcetc.