FORUMS
Remove All Ads from XDA

[ROM][9.0][UNOFFICIAL][ARM64] LineageOS 16.0

542 posts
Thanks Meter: 3,299
 
Post Reply Email Thread


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.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.
Warning!!!
  • BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.

What's working :
  • Boots
  • RIL (Calls, SMS, Data)
  • Fingerprint
  • Wi-Fi
  • Bluetooth
  • Camera
  • Camcorder
  • Video Playback
  • FM Radio
  • Audio
  • Sensors
  • Flash
  • LED
  • GPS
  • Volte
  • Encryption
  • Usb tethering

What's not working :
  • Nothing

Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

Downloads Links
LineageOS 16.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=287970

Google Applications (optional) :
Opengapps : Link (Use packages for ARM64, Android 9.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recovery Mandatory to flash for 64bits ROM :
Download TWRP 3.2.1-0 : https://www.androidfilehost.com/?fid...63190603887243
About the builds
Device tree : https://github.com/Sohamlad7/android...s/lineage-16.0
Kernel sources : https://github.com/Sohamlad7/android...s/lineage-16.0
Vendor blobs : https://github.com/Sohamlad7/android...s/lineage-16.0
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed
  • DO NOT Report bugs if you've modifies system files
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • 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.)
    Code:
    adb logcat > logcat.txt
    Code:
    adb shell dmesg > dmesg.txt
  • If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Code:
    adb shell cat /sys/fs/pstore/console-ramoops
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Bug report should be done in following format provided in code below
Code:
What is your
LineageOS version:
LineageOS Download url:
Gapps version:
 
Did you
wipe:
 restored with titanium backup:
reboot after having the issue:
 
Are you using--
a task killer:
a non-stock kernel:
other modifications:
 
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Q&A - FAQ
LineageOS 16.0 arm64 Cedric Regular Questions and Answers : Q&A Thread
Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo
- Thanks to @infixremix , @m_vaisakh and @AyamDobhal for helping
- Thanks to @DavidKirsch , @robt77, @ADHILR, @Jefe1177, @Robson1000 and everyone else from cedric testing group for testing rom
- Let me know if i missed anyone


XDA:DevDB Information
LineageOS 16.0, ROM for the Moto G5

Contributors
CodeZero, m_vaisakh
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: AOSP

Version Information
Status: Stable

Created 2019-01-01
Last Updated 2019-05-22
The Following 37 Users Say Thank You to CodeZero For This Useful Post: [ View ] Gift CodeZero Ad-Free
 
 
1st January 2019, 09:03 AM |#2  
CodeZero's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 3,299
 
Donate to Me
More
ATTENTION :-
  • Just a heads up, that we are moving to Stock Oreo's firmware, so it's better that you update to it for the upcoming Pie Roms.
  • I have moved to Stock Oreo Firmware base so you will have to flash Stock Oreo first and then move to lineage or else Fingerprint will not work
  • TWRP Flashable Stock Oreo rom
  • Thanks to @NZedPred https://forum.xda-developers.com/g5/...-oreo-t3827913
The Following 14 Users Say Thank You to CodeZero For This Useful Post: [ View ] Gift CodeZero Ad-Free
1st January 2019, 09:03 AM |#3  
CodeZero's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 3,299
 
Donate to Me
More
Changelog

22/05/2019
  • Switched back to Camera2
  • Kernel source upstreamed to linux stable release 3.18.140
  • Enabled metadata for FDE
  • USB Tethering fixed thanks to @wiktorek140
  • Encryption fixed
  • Added QCOM's WFD
  • Synced some config files with stock
  • Addressed some vendor_init denials
  • Copied missing vendor.display.config


05/04/2019
  • Volte fixed
  • SElinux Enforced
  • Kernel source upstreamed to linux stable release 3.18.138
  • Migrated livedisplay to livedisplay 2.0
  • Updated GPS blobs from deen PPK29.68-16-8
  • Updated keystore and gatekeeper HALs
  • Updated DRM blobs from ocean
  • Added QTI wifi hals
  • Added missing camera blobs
  • Updated SDM blobs from LA.UM.7.5.r1-03700-8x96.0

01/01/2019 - Initial Release

Note :-
  • We can now run 64bits ROM on our phone.
  • But actually we have to run app_process (system server) as 32bits, mainly cause of sensors non working actually with a 64bits system server.
  • More to come next, vendor tree is still missing many 64bits blobs, and some of our proprietary services still run in 32bits mode too.
  • As we have found out , Flashing stock whilst having anything 64bit even the recovery for some reason the efs (IMEI) gets wiped .
  • I do not recommend you revert to stock on any 64bit rom.

Current local manifest of the ROM build
Code:
<!-- https://github.com/Sohamlad7/android_development_manifest/blob/local_manifests/lineage-16.0.xml -->
The Following 8 Users Say Thank You to CodeZero For This Useful Post: [ View ] Gift CodeZero Ad-Free
1st January 2019, 09:21 AM |#4  
Senior Member
Thanks Meter: 26
 
More
Great work bro. All the hardwork finally we get a nice pie rom. Thank you very much soham

---------- Post added at 10:21 AM ---------- Previous post was at 10:12 AM ----------

Quote:
Originally Posted by CodeZero

About LineageOS

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.

Warning!!!
BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.


What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
IR Blaster
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
LED
GPS


What's not working :
Volte
Usb tethering
SELinux is permissive


Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

Downloads Links
LineageOS 16.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=287970

Google Applications (optional) :
Opengapps : Link (Use packages for ARM64, Android 9.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recovery Mandatory to flash for 64bits ROM :
Download TWRP 3.2.1-0 : https://www.androidfilehost.com/?fid...63190603887243

About the builds
Device tree : https://github.com/Sohamlad7/android...s/lineage-16.0
Kernel sources : https://github.com/Sohamlad7/android...s/lineage-16.0
Vendor blobs : https://github.com/Sohamlad7/android...s/lineage-16.0


Reporting Bugs
DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed
DO NOT Report bugs if you've modifies system files
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
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 kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log


Bug report should be done in following format provided in code below


Q&A - FAQ
LineageOS 16.0 arm64 Cedric Regular Questions and Answers : Q&A Thread

Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo
- Thanks to @infixremix , @m_vaisakh and @AyamDobhal for helping
- Thanks to @DavidKirsch , @robt77, @ADHILR, @Jefe1177, @Robson1000 and everyone else from cedric testing group for testing rom
- Let me know if i missed anyone

XDA:DevDB Information
LineageOS 16.0, ROM for the Moto G5

Contributors
CodeZero
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: AOSP

Version Information
Status: Beta

Created 2019-01-01
Last Updated 2019-01-01

FIX VoLTE for Pie
1. Copy lines from the file to/vendor/build.prop
2. Reboot
3. install ims apk after every reboot

Eu não sou responsável por qualquer coisa que aconteça ao seu telefone. Faça por sua conta e risco.
Funciona apenas em roms de pie
1st January 2019, 09:41 AM |#5  
Member
Thanks Meter: 18
 
More
Am I able to install it from stock Oreo ROM? I haven't unlocked it.
1st January 2019, 10:15 AM |#6  
Senior Member
Thanks Meter: 26
 
More
FIX VoLTE for Pie
1. Copy lines from the file to/vendor/build.prop
2. Reboot
3. install ims apk after every reboot

I am not responsible for anything that happens to your phone. Do it at your own risk.
Only works on pie roms
https://www.mediafire.com/file/ruoxo...53977.apk/file

https://www.mediafire.com/file/2dtky...3976.prop/file
The Following User Says Thank You to Adhil Rahman For This Useful Post: [ View ] Gift Adhil Rahman Ad-Free
1st January 2019, 10:17 AM |#7  
Senior Member
Flag Srinagar, Uttarakhand
Thanks Meter: 63
 
More
Quote:
Originally Posted by giri45

Am I able to install it from stock Oreo ROM? I haven't unlocked it.

Yes,
First follow this guide to unlock your bootloader.
Then install the above mentioned TWRP using ADB & FASTBOOT.
After that follow the instructions in the thread.
Good luck!
The Following User Says Thank You to AyamDobhal For This Useful Post: [ View ] Gift AyamDobhal Ad-Free
1st January 2019, 10:38 AM |#8  
Member
India
Thanks Meter: 9
 
More
thanks for the New year gift just waiting for the volte fix
1st January 2019, 11:14 AM |#9  
Member
Flag Rio Grande do Sul
Thanks Meter: 37
 
More
Thanks for your work @CodeZero, nice build, everything is working fine for me.
1st January 2019, 12:10 PM |#10  
Senior Member
Thanks Meter: 26
 
More
Quote:
Originally Posted by DavidKirsch

Thanks for your work @CodeZero, nice build, everything is working fine for me.

Is front hdr in gcam 6.1 working?
1st January 2019, 01:47 PM |#11  
Member
Thanks Meter: 17
 
More
Hi there,

first thank you for this fine release. I am interested in installing this rom but have a few questions which could also be interesting for other users.

1. I am currently using LineageOS 15.1, can I flash this rom directly after a clean wipe or do I need to flash the stock firmware first? I have read that flashing stock firmware could be dangerous regarding loosing the IMEI.
2. I have installed TWRP 3.2.1 and was trying to do a backup of EFS and persist partions. Only the EFS partition is selectable for backup, persist seems to be missing.
3. Is the stock camera working fine or is there a long delay when starting like in other 15.1 roms?
The Following 3 Users Say Thank You to Finn10111 For This Useful Post: [ View ] Gift Finn10111 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes