• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][OFFICIAL][cedric][11] LineageOS 18.1

Search This thread

JarlPenguin

Recognized Developer
Oct 16, 2018
998
886
Earth
github.com
Moto G5S
Moto G7
2okPze5.png

Code:
#include <std_disclaimer.h>

/*
* 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 us for messing up your device, we will laugh at you.
*
*/

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.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

Instructions:
  • Download the latest build, recovery image and GApps (if you need them)
  • Flash the downloaded recovery image via fastboot
  • Boot to recovery
  • Format system and perform a factory reset
  • Reboot to recovery
  • Flash the latest build
  • Flash GApps and any other necessary add-ons

What's working:
  • WiFi
  • Camera and Camcorder
  • Bluetooth
  • NFC
  • Fingerprint - Oreo firmware required
  • GPS
  • OTG
  • Video Playback
  • Audio
  • RIL
  • VoLTE/VoWiFi
  • USB tethering/audio
  • SELinux: Enforcing

Known issues:
  • You tell me

Downloads:

Reporting Bugs
  • All bugs should be reported here: Issue Tracker
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • 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 /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)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore 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:

Thanks to:
@GivFNZ for testing my builds
@wiktorek140, @karthick mostwanted, @wh0dat, @KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy and @rajatgupta1998 for their hard work on our device sources
LineageOS team

Changelogs:

Code:
2021-04-08:
Initial build.


Source code:
 
Last edited:

tfbb

Member
Aug 27, 2018
12
6
thank you for your efforts, jarlpenguin - this is much appreciated. will this become an officially supported los-build at some point in the future?
 

rtd4

Senior Member
Jan 31, 2021
85
17
There is an A10 Go build on TG by Elite.
The rom is good but I can't load it off, only the lightning appears
 

Jacekalex

Member
Mar 1, 2011
9
0
Hi
First, TWRP wiped data from / system and / data partitions Then I installed the image lineage-18.1-20210406-UNOFFICIAL-cedric.zip and Magisk-v22.1.zip Usually, after such an operation, the Android installer starts, and here the system asks me for PIN, when I enter the correct PIN of the previous system, I have a message that the PIN is incorrect.
The phone is locked.

Is there any way to get around this problem via TWRP?


EDIT:

OK,
I formatted / data in TWRP and started the installer.

But I have a problem with the SD card (it was also in LineageOS 17):
cedric / # mount | grep dm-1 /dev/block/dm-1 on /mnt/expand/8be4d77f-6c9d-4b13-bbac-804c592fc0b3 type f2fs (ro,dirsync,seclabel,nosuid,nodev,noatime,background_gc=off,user_xattr,acl,inline_data,extent_cache,active_logs=6) /dev/block/dm-1 on /data_mirror/data_ce/8be4d77f-6c9d-4b13-bbac-804c592fc0b3 type f2fs (ro,dirsync,seclabel,nosuid,nodev,noatime,background_gc=off,user_xattr,acl,inline_data,extent_cache,active_logs=6) /dev/block/dm-1 on /data_mirror/data_de/8be4d77f-6c9d-4b13-bbac-804c592fc0b3 type f2fs (ro,dirsync,seclabel,nosuid,nodev,noatime,background_gc=off,user_xattr,acl,inline_data,extent_cache,active_logs=6) cedric / # mount -o remount,rw /dev/block/dm-1 mount: '/dev/block/dm-1'->'/data_mirror/data_de/8be4d77f-6c9d-4b13-bbac-804c592fc0b3': Invalid argument cedric / # mount -o remount,rw /mnt/expand/8be4d77f-6c9d-4b13-bbac-804c592fc0b3 mount: '/dev/block/dm-1'->'/mnt/expand/8be4d77f-6c9d-4b13-bbac-804c592fc0b3': Invalid argument cedric / # mount -o remount,rw /mnt/expand/8be4d77f-6c9d-4b13-bbac-804c592fc0b3 mount: '/dev/block/dm-1'->'/mnt/expand/8be4d77f-6c9d-4b13-bbac-804c592fc0b3': Invalid argument cedric / #

EDIT 2:
Where is in Lineage-18.1 configurations:
"Developer options > Kill app back button"

Cheers
 
Last edited:

Nemgathos

Member
Dec 10, 2018
21
1
Does LineageOS 18.1 work fine on the Moto G5? If that is the case, I am considering to install it as well.

Does anyone here know what I can do to avoid Google apps altogether? How can I install a good alternative play store on my device without using the Google Play Store first? Is APKPure a good alternative?
 

SirRGB

Senior Member
Jun 29, 2019
281
70
Google Nexus 5
Nexus 9
Does LineageOS 18.1 work fine on the Moto G5? If that is the case, I am considering to install it as well.

Does anyone here know what I can do to avoid Google apps altogether? How can I install a good alternative play store on my device without using the Google Play Store first? Is APKPure a good alternative?

No need to sign in. You can also install aurora store via fdroid.
 

Jacekalex

Member
Mar 1, 2011
9
0
Does LineageOS 18.1 work fine on the Moto G5? If that is the case, I am considering to install it as well.

Does anyone here know what I can do to avoid Google apps altogether? How can I install a good alternative play store on my device without using the Google Play Store first? Is APKPure a good alternative?
In my lineage-18.1-20210406-UNOFFICIAL-cedric.zip SELinux blocked Magisk (from image Magisk-v22.1.zip), log:

04-16 22:25:01.406 2794 2821 I ActivityManager: Start proc 5959:com.topjohnwu.magisk/u0a158 for service {com.topjohnwu.magisk/com.topjohnwu.magisk.core.download.DownloadService} 04-16 22:25:01.596 5959 5959 W opjohnwu.magisk: type=1400 audit(0.0:52): avc: denied { read } for uid=10158 name="u:object_r:virtual_ab_prop:s0" dev="tmpfs" ino=343 scontext=u:r:untrusted_app:s0:c158,c256,c512,c768 tcontext=u:object_r:virtual_ab_prop:s0 tclass=file permissive=0 app=com.topjohnwu.magisk 04-16 22:25:01.612 5959 5959 I TetheringManager: registerTetheringEventCallback:com.topjohnwu.magisk 04-16 22:25:01.625 457 511 E vold : Failed to find mounted volume for /storage/emulated/0/Android/data/com.topjohnwu.magisk/files/ 04-16 22:25:01.626 5959 5959 W ContextImpl: Failed to ensure /storage/emulated/0/Android/data/com.topjohnwu.magisk/files: android.os.ServiceSpecificException: (code -22) 04-16 22:25:01.629 457 511 E vold : Failed to find mounted volume for /storage/emulated/0/Android/data/com.topjohnwu.magisk/cache/ 04-16 22:25:01.630 5959 5959 W ContextImpl: Failed to ensure /storage/emulated/0/Android/data/com.topjohnwu.magisk/cache: android.os.ServiceSpecificException: (code -22) 04-16 22:25:01.634 457 511 E vold : Failed to find mounted volume for /storage/emulated/0/Android/media/com.topjohnwu.magisk/

Also advise you to wait for the new, improved versions of Lineage and Magisk.

I am currently using: lineage-17.1-20210414-microG-cedric.zip
works corrected.
Microg instead of Google-apps.
Instead of Google-play, I use the Aurora Store installed with Fdroid.

Cheers
 

xattus:3

New member
Dec 9, 2014
2
0
Hello, I'm glad that my terminal still has life thanks to people like you, I had no problems installing the ROM, although the detail that I can detect is that when making a call I have no return audio or speaker, some idea?, even so many thanks for the support :)
 

nift4

Senior Member
May 22, 2019
584
198
nift4.github.io
Moto G5
F(x)tec Pro1
2okPze5.png

Code:
#include <std_disclaimer.h>

/*
* 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 us for messing up your device, we will laugh at you.
*
*/

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.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

Instructions:
  • Download the latest build, recovery image and GApps (if you need them)
  • Flash the downloaded recovery image via fastboot
  • Boot to recovery
  • Format system and perform a factory reset
  • Reboot to recovery
  • Flash the latest build
  • Flash GApps and any other necessary add-ons

What's working:
  • WiFi
  • Camera and Camcorder
  • Bluetooth
  • NFC
  • Fingerprint - Oreo firmware required
  • GPS
  • OTG
  • Video Playback
  • Audio
  • RIL
  • VoLTE/VoWiFi
  • USB tethering/audio
  • SELinux: Enforcing

Known issues:
  • You tell me

Downloads:

Reporting Bugs
  • All bugs should be reported here: Issue Tracker
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • 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 /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)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore 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:

Thanks to:
@GivFNZ for testing my builds
@wiktorek140, @karthick mostwanted, @wh0dat, @KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy and @rajatgupta1998 for their hard work on our device sources
LineageOS team

Changelogs:

Code:
2021-04-08:
Initial build.


Source code:
Hey Jarl, I know that you like copy-paste, but please modify the credits section to include cedric ones. Soham did the inital bringup, Lemony did testing, etc.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,829
4,019
London
For those that want to know how to fully pass safety net

Install official version of rom from lineage os site
Install bitgapps https://bitgapps.ga/arm64
Install magisk (at time of writing I'm using version 23.0)
Hide magisk with random package name
Enable magisk hide
Install MagiskHide Props Config module
Install Terminal emulator from playstore

In terminal emulator type props then enter
Select option 1
Select option f
Choose Google (option 7)
Choose pixel 4 (option 22)
Choose android version 11 (option 2)
Restart
 
Aug 12, 2015
32
2
Hello everyone!

I just updated to the latest version (lineage-18.1-20210624-nightly-cedric-signed.zip - don't remember what before) and get a "Encryption unsuccessful" error.

How can I fix this without formatting or wiping anything?

EDIT: downgrade to 16 or 17 didn't fix it
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I miss a few files in the source compilation process, they are also missing in the images uploaded to the G5:

    system/lib/libqti-perfd-client_system.so
    system/lib/libqti-util_system.so
    system/lib/libqti_performance.so
    system/lib64/libqti-perfd-client_system.so
    system/lib64/libqti-util_system.so
    system/lib64/libqti_performance.so

    Where can I download them?
    You can download the full complete vendor blobs from "TheMuppets" on GitHub
    1
    I have rooted my phone running 17.1 and installed Migrate-NG and also updated TWRP to 3.5.2-9-0. However, I don't quite see how Migrate is supposed to work. As a test I have created a backup of an app. As I understand it, I don't need the Helper app and so would then delete the app, boot to recovery and just use TWRP to flash the backup which Migrate created. Is that correct?
    Once you have created a backup of an app you can use the Migrate Flasher app to "flash" it. Then you can use Migrate Helper to restore the app. I do not recommend using TWRP, and any issues that arise while using it will not be looked into.
    1
    You can either use TheMuppets repo, or you should extract the files from a LineageOS zip instead of using ADB.
    1
    OK, understood - I'll use LineageOS recovery. Do I need a 17.1 recovery image or will 18.1 also work? If I need a 17.1 recovery, where can I find it?
    Ideally you should use a 17.1 image - as for where you can find one, I don't know, since it's been some time since they've been deleted from LineageOS' website.
  • 10
    2okPze5.png

    Code:
    #include <std_disclaimer.h>
    
    /*
    * 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 us for messing up your device, we will laugh at you.
    *
    */

    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.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    Instructions:
    • Download the latest build, recovery image and GApps (if you need them)
    • Flash the downloaded recovery image via fastboot
    • Boot to recovery
    • Format system and perform a factory reset
    • Reboot to recovery
    • Flash the latest build
    • Flash GApps and any other necessary add-ons

    What's working:
    • WiFi
    • Camera and Camcorder
    • Bluetooth
    • NFC
    • Fingerprint - Oreo firmware required
    • GPS
    • OTG
    • Video Playback
    • Audio
    • RIL
    • VoLTE/VoWiFi
    • USB tethering/audio
    • SELinux: Enforcing

    Known issues:
    • You tell me

    Downloads:

    Reporting Bugs
    • All bugs should be reported here: Issue Tracker
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • 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 /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)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore 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:

    Thanks to:
    @GivFNZ for testing my builds
    @wiktorek140, @karthick mostwanted, @wh0dat, @KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy and @rajatgupta1998 for their hard work on our device sources
    LineageOS team

    Changelogs:

    Code:
    2021-04-08:
    Initial build.


    Source code:
    3
    Okaaay ... this seems to be more compliacted than expected. How did you guys upgrade to Oreo FW? Where did you get it from?

    Thanks
    update firmware from pc in fastboot mode volume down (-) connect to pc

    Firmware LATAM XT1670 (amxla) Mini
    Firmware RETAIL XT167x (retail) Mini
    2
    No, that didn't help. I tried that already. Tried again now, flashed newest recovery image and tried again - didn't work. Updated to latest version with adb sideload.

    Thanks for your efforts by the way :)
    It should be fixed in the next build - you'll still have to sideload that one, but future builds should update OTA fine
    2

    Click the spoiler for commands to flash in fastboot
    Code:
    fastboot oem fb_mode_set
    fastboot flash partition gpt.bin
    fastboot flash bootloader bootloader.img
    fastboot flash logo logo.bin
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash dsp adspso.bin
    fastboot flash oem oem.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash system system.img_sparsechunk.5
    fastboot flash system system.img_sparsechunk.6
    fastboot flash system system.img_sparsechunk.7
    fastboot flash system system.img_sparsechunk.8
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn
    fastboot erase cache
    fastboot erase userdata
    fastboot oem fb_mode_clear
    fastboot reboot
    It is not necessary to flash the OS partition (system.img), much less OEM (oem.img) it is for that reason that I left the firmware trimmed to skip that step tell me why you are going to flash the full firmware if when installing a custom rom it will format system & oem I have done it like this and zero errors
    2
    Okaaay ... this seems to be more compliacted than expected. How did you guys upgrade to Oreo FW? Where did you get it from?

    Thanks

    Click the spoiler for commands to flash in fastboot
    Code:
    fastboot oem fb_mode_set
    fastboot flash partition gpt.bin
    fastboot flash bootloader bootloader.img
    fastboot flash logo logo.bin
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash dsp adspso.bin
    fastboot flash oem oem.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash system system.img_sparsechunk.5
    fastboot flash system system.img_sparsechunk.6
    fastboot flash system system.img_sparsechunk.7
    fastboot flash system system.img_sparsechunk.8
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1 
    fastboot erase modemst2 
    fastboot flash fsg fsg.mbn
    fastboot erase cache 
    fastboot erase userdata 
    fastboot oem fb_mode_clear
    fastboot reboot