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

Search This thread

CodeZero

Senior Member
Aug 9, 2014
567
3,474
Mumbai
Lineage-Header_zps5k1so3nb.png~original


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=11410963190603887243

About the builds

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
 

CodeZero

Senior Member
Aug 9, 2014
567
3,474
Mumbai

CodeZero

Senior Member
Aug 9, 2014
567
3,474
Mumbai
Changelog


12/09/2019

  • Patched CVE-2019-1988 vulnerability
    [*]Removed cpuset foreground boost
    [*]Switched to common basic USB HAL
    [*]Moved to common data-ipa-cfg-mgr
    [*]Enabled USB enumeration in power-off charging mode
    [*]Added permission entries for location component
    [*]Enabled multiple haptic intensity support
    [*]Migrated to audio V4
    [*]Added Mapper 2.1 to VNDK SP list
    [*]Included all new changes from LineageOS

09/07/2019


  • Added perfboostsconfig.xml from stock
    [*]Fixed inverted fp gesture issue
    [*]Removed persist.camera.is_type (which partially fixed green tint camera issue in low light)
    [*]Added drop_unicast_in_l2_multicast commits
    [*]Included all new changes from LineageOS

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 -->
 
Last edited:

Adhil Rahman

Senior Member
Oct 30, 2016
186
27
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 ----------

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=11410963190603887243

About the builds
Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-16.0
Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-16.0
Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/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
 
  • Like
Reactions: anoldman57

Finn10111

Member
Jun 9, 2010
38
18
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?
 

jpm92

Senior Member
Apr 18, 2012
66
14
Thanks a lot for your work! It seems like finally I'm gonna install a custom ROM in cedric :laugh: I have a Oreo stock untouched device, any heads up as how to not loose IMEI or mess up with something else?

Also, is the camera totally working? Thanks a lot again!

J.
 

Andrej_SK

Senior Member
Jan 10, 2018
258
131
Banská Bystrica
Thanks a lot for your work! It seems like finally I'm gonna install a custom ROM in cedric :laugh: I have a Oreo stock untouched device, any heads up as how to not loose IMEI or mess up with something else?

Also, is the camera totally working? Thanks a lot again!

J.

It's recommended to backup fully working EFS/persist before messing with 64bit TWRP/ROMs.
For the unknown reason, reverting to stock (using fastboot) with anything 64bit at least once installed (even TWRP) wipes the IMEI.

Idk about the camera, but I'd like to ask the same as I'm also interested in trying LOS based on Pie.
 
Last edited:
  • Like
Reactions: jpm92

Finn10111

Member
Jun 9, 2010
38
18
Also, is the camera totally working? Thanks a lot again!

At first I thought the camera was working fine. There is no big startup delay when starting the camera app (just the normal second). Flashlight, front camera and video recording also worked for me.

But when I am trying to take a picture from within a messenger app my phone crashes or something. The same thing happens If a take more than one picture. The camera app seems to crash and the whole phone becomes unusable. I only can see a black screen or my lock screen.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 43
    Lineage-Header_zps5k1so3nb.png~original


    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=11410963190603887243

    About the builds

    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
    18
    ATTENTION :-

    16
    New Build [22/05/2019] Is Up!

    Changelog :-


    • 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

    Download Link :-

    • As usual link of rom is updated in op
      [*]Clean Flash recommended


    Note :-

    Regards,
    CodeZero
    13
    New Build [09/07/2019] Is Up!

    Changelog :-


    • Added perfboostsconfig.xml from stock
      [*]Fixed inverted fp gesture issue
      [*]Removed persist.camera.is_type (which partially fixed green tint camera issue in low light)
      [*]Added drop_unicast_in_l2_multicast commits
      [*]Included all new changes from LineageOS

    Download Link :-

    • As usual link of rom is updated in op
      [*]Clean Flash recommended


    Regards,
    CodeZero
    10
    New Build [05/04/2019] Is Up!

    Changelog :-


    • 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

    Download Link :-

    • As usual link of rom is updated in op
      [*]Clean Flash recommended


    Regards,
    CodeZero