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

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

Search This thread

nift4

Senior Member
May 22, 2019
584
198
nift4.github.io
Moto G5
F(x)tec Pro1
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
 
  • Like
Reactions: m32

oldfone

Member
Nov 12, 2020
37
4
Moto E 2015
Moto G5
You are correct in assuming that restoration is available only after wiping the device. For regular backups Seedvault is enough IMO, but you could also look at something like Migrate.
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?
 

JarlPenguin

Recognized Developer
Oct 16, 2018
998
886
Earth
github.com
Moto G5S
Moto G7
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.
 
  • Like
Reactions: oldfone

oldfone

Member
Nov 12, 2020
37
4
Moto E 2015
Moto G5
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.
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?
 

oldfone

Member
Nov 12, 2020
37
4
Moto E 2015
Moto G5
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.
OK, thanks for the info. It sounds like I should just bite the bullet, forget about backup/restore and just do a clean install of 18.1, recovery and all. Everything else seems like a disproportionately large amount of work. Probably just exporting settings from a couple of apps and then importing them after the install will be enough. Contacts and photos are already synced to a local Nextcloud instance.
 

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