yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spliff85555:
I started with my phone running lineage-14.1-20201106 and official twrp-3.3.1-0 (32 bit only) flawlessly.

To checkout LineageOS 17.1, I wiped everything, factory reset, clear data, etc. Then I first installed official twrp-3.4.0-1 (64 bit), then tried installing lineage-17.1-20201129 getting stuck in the boot animation. The phone also automatically rebooted into recovery when waiting long enough (something between 20 and 60 minutes).

Then I installed older versions of the LineageOS 17.1 rom signed by nift4 (I tried 20200820 and 20200612), getting a working phone but with different problems, not only loosing fingerprint and getting a buggy camera.

So i followed a guide to restore the fingerprint sensor (currently can't find it), resulting in IMEI lost.

So I first flashed a stock 7.0, then a stock 8.1 ( https://xdaforums.com/t/stock-oreo-upgrade-to-official-stock-oreo-8-1-0.3823598/ ), which made the phone getting stuck at the bootloader. However, looking into flashfile.xml inside the rom to flash, there's more system.img_sparsechunk.* files in the 8.1 rom than in the 7.0 rom. Flashing all files for the 8.1 rom was my way getting out of the bootloader loop.

After having a working stock 8.1 phone with IMEI and fingerprint, I installed lineage-17.1-20201129 without problems and the first boot animation only took 20 seconds until asking for the pin to unlock the phone.

I don't know why it didn't work from the beginning, because in the past I tried a 15.1 rom without that hassle. Back then, I just installed an unofficial twrp with 64 bit support and then LineageOS 15.1. No intermediate stock roms. Also I neither lost IMEI nor fingerprint. And to return to 14.1, I just installed an official twrp (back then only 32 bit support) and then 14.1 again, also without trouble.

Btw, because of essential things not yet working in Android 10 (namely network location without GApps:

https://www.reddit.com/r/MicroG/comments/f66d9c
and TTS: https://xdaforums.com/t/guide-text-to-speech-tts-in-almost-any-language.2566795/ ), I restored everything back to my initial lineage-14.1-20201106.

Hope it helps anyways,

- Spliff
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tfbb:
hi spliff,

definitely. thank you for your heads up regarding the microg location provider - i'll try again once this gets ironed out.

cheers,

t.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I also have newer versions with that camera one fixed. Btw the lineage build you flashed uses the same device as I do but I added some tweaks like SafetyNet passing.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JorgeAAV:
Llevo tres meses usando esta ROM en mi Moto G5 Dual SIM y solo encontré tres errores, uno es el que ya se conoce de la cámara con tinte verde y que desaparece del cajón de aplicaciones, otro es que la linterna a veces no se enciende, está completamente deshabilitado; Esto se resuelve apagando el dispositivo por completo y luego encendiéndolo (no reiniciar rápido, esto no se corrige), pero sin duda el mayor problema con la rom es que no permite desinstalar algunas aplicaciones, en un principio Pensaba que eran aplicaciones instaladas que no eran de la Google Play Store pero no fue así, hay algunas aplicaciones de la tienda que tampoco se desinstalan, solo se desinstalan si vas a la tienda y le das a desinstalar desde allí,

Para todo lo demás va muy bien, espero que con mi información puedas encontrar una solución para alguna próxima actualización, el firmware nunca lo he cambiado por uno personalizado, todo sigue siendo original excepto la ROM.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
XDA rules say English only
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Neorex111:
I have an issue

LineageOS started to restart again and again, I put the pattern and when finish restarting, it begins restarting again

what can i do?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
What build
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Neorex111:
do you mean phone?

motorola moto g5
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
No, I mean build. What file name does the ROM have?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] timo0816:
Hi together,

hope this question wasn't answered already but I couldn't find it...

First of all thank you for your great work!

I just updated from Lineage 16 -> 17.1 using the newest files linked.

At Lineage 16 I had some problems changing operator at roaming (no manual network connection possible) and also some bugs using bluetooth connection in the car.

Now I hope 17.1 will fix this and yes, I can change operator :)

I use a Moto G5 3GB with dual SIM support but I can not activate the 2nd SIM.

(lineage-17.1-20200820-UNOFFICIAL-cedric.zip)

It seems to be activated but I can not make calls or use it for data connection.

Deactivating is also not posible.

Do you have any suggestion?

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Well, the newest files linkes are sadly outdated. You can browse thru thread history to find newer ones from November/December or use my tweaked builds, Mint OS.

Disabling was removed in Android 10

Try updating first
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] timo0816:
Hi nift4!

Thank you for your help. I just red about your Mint project so I will try.

I put the .zip file on internal store and tried to flash via TWRP but an error occured: "Invalid zip file format".

Do I have to clean cache/dalvik? I thought this could be an update.

Again thank you for your support :geek:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You probably need to redownload the file. You are the first one I heard with Invalid ZIP format. Also make sure to use TWRP 3.4.0-1.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nabi3003l2:
Good year every body healthy. 😷🙄🤔😁HI. I was reading your subject cause I try to install lineage 15.1 and I couldn't get success so I searched informations. I've got a xt1676 /2go and I wonder if it's the problem by now!. I flashed many roms on differents devices and never had those issues!. 'no digest files found' 'error 255' and many else. I checked the structure of rom but I'm not a developer. So anyone could give me a hand pls.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Error 255 means you are using an outdated twrp that can't flash 64bit roms

Please use the latest offical twrp

https://xdaforums.com/t/official-28th-dec-2020-twrp-3-5-0_9-0-moto-g5-cedric-32-64bit-roms.3699737/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nabi3003l2:
Thank you FixltMan for your quick answer about it. I tried 2 twrp 64bits for Cedric to flash with this rom!. I mean lineage 15.1 not the latest android 10. But I gonna try with the latest Cedric twrp as you recommend me, but I doubt a lot!. I also saw version xt1672 on requirements for this rom. I hope it was not just for it only 🤔🤗. Thanks again. Have a good day. 📈🗒️
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Oops I was too late
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nabi3003l2:
I just tried with the new twrp Cedric but failed again to flash🤔🙄📱. 📈😨
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Try to redownload
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nabi3003l2:
Alright. You mean to redownload the rom I guess! 😉😊
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nabi3003l2:
Hi nift4.

I thank you for your help but I still have not solved my problems with roms and twrp.

So I read you back and you told that built of november worked for flash on xt1676 ! France.

I woun't enjoy to dowlnload a new zip and get failed to flash ! as my connection is very low here.

So wich the way to follow right away !? :unsure:🤕:rolleyes:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I can't help you further about Lineage 15.1, sorry. I never used it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nabi3003l2:
Ok I understand.Thank you again nift4 and have a good night and good future....(y);)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Error 6 is because it can't mount partitions either because they are not are not formatted correctly, you did not give twrp write permission to the system (swipe to allow modifications on first start) or you are flashing a rom not for your device.

If you go to the mounts section in twrp make sure everything is mountable

If it is and you have advanced wiped system data cache, formatted data (different from wipe data it's the option to the right of advanced wipe) and rebooted to recovery and you are still getting error 6 (assuming you are trying to flash a rom that is for your phone) then flash stock oreo firmware via fastboot and start again
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] timo0816:
Hi nift4,

happy new year 🎆 , thank you for your great support and the nearly perfect system (y)

Because updating didn't work I did tthose following steps:

- deleting "old" system and wiping cache e.g.

- installed newest twrp version (again)

- installed your Lineage Mint and GApps Nano

After having downloaded all necessary apps I am using nearly everything works fine.

Only the camera does not work proper (the standard app causes red or green rectangles).

So I tried open camera app but the app gets frozen by making a photo. Videos aren't possible either.

If I send a photo via whatsapp e.g. I can make a photo by using the WhatsApp camera mode...strange...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Your build is extremely outdated. Please cleanflash an new one. And please read... I wrote it in caps lock, CLICK ON DOWNLOAD, NOT FILES. On Files, I added an cedric folder where it shows: go to <link>. But if users don't read...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Reuttfr:
Thanks to codezero and others for the work in LOS ROMs I am using for a while and did an update of 17.1 release from August 2020. I am asking myself why the ROMs are not in official LineageOS project integrated? Are there technical limitations of Cedric? Time or money constraints which blocking from make the great work „official „? Thanks for let me know.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Mostly time constraints
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Reuttfr:
I use no gapps or other additional components (no magix ZIP, nothing). Apps come from FDroid only. Can I somehow in the future patch the AOSP part of this ROM similar to an OTA by myself manually (with TWRP?) and keep everything (Data & Apps) on my device?

I read

How Monthly Android Security Patch Updates Work

Ever wondered how the monthly Android security patch updates work? Wonder no more, as we've got just the primer for you to understand the entire process.

www.xda-developers.com

And

LineageOS Introduces "Trust" - A Centralized Interface for Security and Privacy

The developers over at LineageOS have introduced Trust: a centralized interface for security and privacy features in the ROM. Read on to know more!

www.xda-developers.com

Also searching the web, but not clear for me where I could download monthly patches and how the steps need to be executed ... I hope this would be possible without developing knowledge or need such patching additional build creation steps from a developer or even clean new iflashing?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You can use my Mint OS, it automatically pulls in new security patches. Also it's based on Lineage.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Neorex111:
Hi again, sorry for not responding. I solutionated the error by deleting internal storage.

I installed LineageOS 17.1, but i will uninstall because my phone is going very slow and a lot of apps crash, even i can't take good photos or videos... (i use all type of camera apps, including Gcam)

Do you recomend me any alternative?

And thanks for helping.

(sorry if my english is bad)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
Almost perfect Rom. But almost. Why i cant disable second sim card on my XT1676?

I need to turn off my device and remove manually sim card. Any fix for this?

Sorry, i answear in wrong thread.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fuUser:
I one again build newer version of this rom including camera fix and Lineage side January security updates (but as always still old Kernel last patched by Motorola in 2019)!

lineage-17.1-20210114-UNOFFICIAL-cedric (sha1: bf6b5f2501a0478e3ef37eb689201bf346368e93)

Its simply latest and unmodified Lineage 17.1 + updated Kernel and Device Tree.

Remember that you

* at some point should have had latest Stock ROM installed (to get latest bootloader, Radio etc)

* need recent 64 Bit TWRP Recovery

You should be able to update from CodeZeros build to this without issues - but of course I cannot guarantee for anything. Create a backup first.

If you reinstall from scratch, or if you like to have some further customization on top of Lineage OS, use the Mint ROM for cedric. Its very similar.

Spoiler content hidden.

(Almost) all the credit goes to nift4, CodeZero and all the others working on Lineage and the Kernel for cedric.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fuUser:
Its not possible in this ROM. It was also not possible in the stock ROMs I used (long time ago) and not in ASOP. The 'standard' Dual SIM features are very limited. Usually they are enhanced by the Phone Manufacturer. But as this is ASOP based and Lineage also does not enhance Dual SIM, you do not get this feature.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mario_2008:
Hello,

I installed this Rom to my Phone as an Update to an older LOS 17.1 and in general it was working.

BUT: My phone was now encrypted at the first Startup. When I now try to start TWRP I will be ask for a password but I don't know it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Encryption password is the same as your lockscreen password

However if you change roms or use a rom with a different key you will need to format data first to remove encryption before flashing the rom

Once the new rom has booted you can encrypt again

Format data in twrp by going to wipe and then format data (option to the right of advanced wipe)

This will delete all files on internal storage so backup to pc first!

Once formatted Reboot back to twrp and flash rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mario_2008:
I have no Lockscreen Password (only a pattern) and In had no encrytion before and I don't want to have encryption. It was done at the 1st boot without any input from my side.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Every android device is encrypted by default now

You can choose to put a boot password on to decrypt which is your lockscreen password

In the case of having no boot password your device is still encrypted but not at the boot level however changing roms still changes the key and will ask for the password to decrypt

My previous post still applies to solve the issue - remove encryption by formatting data
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
If i remember correctly i can turn off second sim card simply in settings. On stock Android 8.1.0

I dont have time to check this right now. Cause fastboot flash is needed. But i think when my moto g8. Its back from service. I check this Cause i remember i can simply disable second sim card without turn off my device.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] timo0816:
Hi again,

now I had enough time to check again. I red and red again and now I found the "Download" area...the error was sitting in front of the PC ;-)

I updated lineageos and now the camera works (also with open campera using jpeg output)!!!

Thank you very much for your great work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dzyndzla:
Hi guys, at first I'd like to thank you @CodeZero, @nift4 and others who contributed for all your work and support around LOS for moto G5. As that phone got it's official LOS support and today a corresponding build has been released, I'd like to ask whether I need to perform any additional action to switch from CodeZero's last build to official LOS? Is it enough just to install it using TWRP? My device is rooted (magisk) and encrypted (using standard functionality of encryption within Android). Sorry for noobish questions but I'm pretty new to that custom roms thing :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
In twrp goto wipe

Format data (option on the right) - this will delete everything on your device so backup first

Restart to twrp recovery

Go to wipe & advanced wipe

Wipe system data & cache

Install rom zip

Install anything else (gapps magisk etc)

Wipe delvik cache

Restart

Re-encrypt phone if required once rom has booted from phone settings

Note format data is only required when installing a new/changing roms

Since the official twrp will be signed with keys from twrp consider it a new rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Delete
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You need to clean flash completely. It's not anymore CodeZero's source, but an entirely different one by Jarl-Penguin. He made the most stuff. Actually everyone involved is: karthick111, wh0dat, wiktorek140, JarlPenguin, CodeZero (he gave up this ROM - the source is an actual mess - and helped jarl) and me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dzyndzla:
Thank you @TheFixItMan I followed your instructions and everything went smoothly. New LOS is onboarded (including gapps and magisk) without issues.

@nift4 ok, now it's clear. Thanks for your work on it. Cheers!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Does anyone managed to find fingerprint gestures? or is that removed from lineage os?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Disable navbar, it gets enabled. Just like stock. No customizations.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Didn't know ty!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] bojnice:
It is official.

LineageOS brings Android 10 to the Nextbit Robin, Moto G5, and more

Long live the Robin

www.androidpolice.com
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
since a while already
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marc109:
Sorry for the potentially very stupid case here and the beg for help:

I'm new to flashing devices, so probably done something very wrong. Here is my history:

- Stock G5 (2GB Ram - 16GB ROM, german version), no root, no anything, official 8.1 OS

- Bootloader unlock acc to Motorola's info

- TWRP install, creation of backup

Then flashing:

- lineage-17.1-20200820-UNOFFICIAL-cedric

- gapps ARM64 install

- reboot

Everything fine, also google apps, except camera. As soon as any camera app is started it immediately crashes. Tried also other camera apps, also the GCAM 7.2 from nift4, same behavior.

Then I downloaded your new version of lineage from Jan 14th and I think this is where the trouble began.

To install it, i went to TWRP, install, to flash it. Worked ok. Then reboot took around 45 minutes, but never rebooted succesfully, always got back to recovery mode.

Then I think i made things worse and tried to wipe. I chose setting Davlik, System, Data and Cache. After that, I reinstalled the Jan 14th edition. This worked, I tried then to immediately also to flash the GApps. This then stops with following Error message in TWRP:

"

- performing System space calculations

Insufficient storage space available in System partition. You may want to use a smaller Open Gapps package or consider removing some apps using gapps.config. See:' sdcard/Download/open_gapps_log.txt' for complete details and information.

- Copying to to /sdcard/Download

Installer will now exit...

Error Code: 70

- Unmounting partitions

Updater process ended with ERROR: 70

Error installating zip file'external_sd/Download/open_gapps-arm64-10.0-stock-20210203.zip'

Updating partition details...

...done

"

I attached the log. If I read it right, it would need more free space, but the unit is weird. 11GB of space would never work on the small 16 GB rom, so not sure why this was working in the first place with the August edition.

On the internal storage I have 7 GB free. Also tried it with the zips on SD card with ~13GB free, no difference.

So, I can boot, also camera is working, but I can't get the Gapps installed/flashed.

My plan was to redo everything, BUT in TWRP/Restore, there is nothing. It seems one of the wiping killed my backup. I therefore tried to wipe again, reinstall lineage, then Gapps, but the error code comes again.

Can someone let me know how to get it installed?

Possible alternative could be to try to find the APKs of the useful google apps, but not sure if that would lead to success..

I actually tried all this now on my "old" and housing/glas-broken Moto G5. I wanted to try it out, find a working config and then redo all on the "old" G5 of my wife, which is still fine, but she got a new Poco M3 (nice, cheap but far too big for my jeans-pockets, as almost all new phones). So i could still redo it "cleanly" directly with the Jan 14th edition, but I'm a bit afraid I end up with no phone working at all :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You are trying to flash stock gapps - This is bad because it replaces system apps including the camera which is why the camera didn't work!

You want to flash nano gapps which will give you full Google functionality without replacing system apps

How to install

Go to twrp

Select wipe

Format data - option on the right (will format everything on phone including personal files so backup first!)

Restart to twrp

Wipe then advanced wipe

Wipe system data and cache

Select install from main menu

Install rom zip

Install gapps (you want arm64 android 10 nano)

Install magisk (optional for root access & to hide apps from detecting root/custom rom)

Wipe delvik cache

Restart

Encrypt phone again if required once booted from phone settings menu
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marc109:
Thanks a lot. This perfectly worked out. Even camera is working. Only drawback seems to be that I can't set it to write directly pics onto SD card, but I plan using SD as internal anyway. Other than that I can't use the home button long touch to lock the screen, but that's ok.

This night I'll set this up on the "other" phone and maybe dive into possibilities of magisk.

Thanks a lot!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] UrsEnov8:
Since the MintOS and official ROM drain too much battery for my liking I've decided to provide a build of this ROM with February 2021 patches included for anyone who's interested.

One thing I've noticed is that camera crashes with this ROM since the august build or so if Magisk is installed. And since the F-Droid priviledged installer doesn't work with Android 10 for quite some time now, I've provided a fixed one for those who want it too.

lineage-17.1-20210208-UNOFFICIAL-cedric.zip

org.fdroid.fdroid.privileged.ota_2110.zip
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marc109:
I'm not sure if it's a bug of the ROM or linked to something else. I have the Jan 14th version installed.

I can't set the notifications to silent or vibration only. Well, I can select this in settings, but neither WhatsApp nor K9 mail app care, the sound always comes. I have also flashed magisk, but not used so far, so no modules installed. Could this be linked?

I wouldn't care too much, but now I got some adrenalin when trying to bring the daughter to bed but having forgotten to let the phone somewhere else :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Neorex111:
I updated the LineageOS, but I can't install the Gapps

LOS: lineage-17.1-20210218-nightly-cedric-signed

Gapps: open_gapps-arm64-10.0-stock-20210220 (full and mini doesn't work too)