yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Give logs etc to dev of that moduel in the thread I posted above - Try a pixel 4 fingerprint as that has android 10

May or may not work

And make sure you're using latest versions of magisk - version v19.4+ to use this module
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] GrizzlyBear45:
Yeah probably is a terminal related issue, again. I don't know what to do with this phone anymore :(

Sound issue for my device apart, this ROM looks really great.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nighthowl:
wow!lLineageOS17!Thanks a lot!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
the rom is very cool, but I'm going back to android pie, because this rom lowers my battery a lot or at least until the battery and gestures improve

I hope and codezero do not delay in removing another security patch with those bugs fixed :p
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gianfo199:
For who is having the camera issue, just try the Asus camera mod, it works perfectly, there's only an issue, you can't save photo and video on sd card, but it's a minor problem in my opinion
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CyanoFriend:
Thanks a lot for this build, no problems with magisk, sound or other things so far.

For those having problems with edxposed, you have to use 0.4.6.0 from github.

Only one question: On status bar i cant get Battery to show Percent value, only icon?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
to see how are the roms visit my YouTube channel there are the revicions of these rom

https://m.youtube.com/channel/UCPzg9hipGr7WoefQxeEZLSA
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Norde:
Thanks for this incredible update [MENTION=5982915]CodeZero[/MENTION] !

This version show same performance and same stability as with LineageOS 16.

Sadly the camera bug is still present (with stock camera app and opencamera app):

- cannot record video

- some photos from the face sensor are just a green background

- camera stops responding if you take two photos in a row (you must close / reopen the photo application to continue shooting)

In any case it is very impressive for a first release !

Great work =)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] PowerWiesel:
Warning!!!

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

It would be really nice if someone could help me with that part. I haven't startet yet with anything and just don't want to do anything wrong.

I guess there is no need to backup the stock bootloader and recovery, right? If I didn't miss anything I should be able to revert the G5 back into stock state with the stock images available here in the forums.

So I would flash the 64 bit bootlader, then the latest TWRP 3.3.1-0 recovery and now what :confused:

If anybody could guide me through the backup process I would be really grateful :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Wgagute:
Battery life issue

Can I now how's the battery life. I changed the battery recently, and it's not giving a good backup. I wanted to know whether it's the battery's fault or the OS. T
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
Don't change bootloader, this is not necessary. You can restore all partitions (boot, system, recovery, modem, oem) by flashing stock rom files. The only thing, you can't restore is the /persist partition, where IMEI and serial information are saved. Mostly the EFS ("virtual" part of /persist) is damaged when flashing custom Roms, Kernel etc. and EFS ends up with broken file permissions. The result is that IMEI Information can't be read anymore, known as IMEI 0.

To backup this, You need twrp from JarlPenguin (ability to flash 32/64 Roms, treble support):

https://github.com/JarlPenguin/releases/releases/tag/twrp3.3.1-3-cedric

With this twrp recovery You can backup EFS.

To backup the whole persist partition You need a Terminal and root on android Rom:

Open Terminal:

first command: su (Enter & yes to root permission)

second command: dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

this creates a persist file on internal memory named persist.img

In most cases it's only necessary to restore EFS in twrp to get back IMEI, but if /persist is destroyed You revert the command.

As root: dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist

(adb shell & su can also do that)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gianfo199:
Just try the Asus camera mod, it works fine on my device
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Norde:
This is just a workaround, not a bug resolution.

Are you talking about Google Cam or ASUS PixelMaster Camera app ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gianfo199:
Asus pixel camera, I can take photo and video
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
Could not send or receive calls using any operator. Please help.

Edit : Could not send or receive calls only in Jio. Also I want to ask how can I get the dark theme on the phone app like the one shown in screenshots?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dgomesreal:
Hello! I installed Lineage OS on my Moto G5 Cedric. But every time I open the camera it closes immediately = / I ask for help, I have no money to buy another cell phone.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Try restarting your phone

Edit & P.S.: This is an known ROM issue that this happens sometimes, your phone is probably alright. In the emergency case you can always flash stock and it will work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dgomesreal:
New Solution?

I have already restarted and installed again. But it didn't. Does it solve me installing the gapps of android 9?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You need gapps arm64 android 10

Make sure you flash nano gapps - anything higher will start to replace rom system apps including the camera app in some versions

If you are re-flashing gapps you will need to format data first

Camera still has issues in 64bit roms for this device - if you need a fully working camera stick with stock rom by reflashing stock rom firmware via fastboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
No that's an dumb idea
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 1lexxi:
just to be clear: i didnt update, i completly reinstalled los. so a dirty installation cant be the reason why those are missing. but assuming the features really got removed:

updating windows xp to 10 wouldnt remove half of the core features??

im just wondering why on earth the features got removed, because it makes no sense to me to remove a important feature like brightness controll or battery usage statistics, or is there any reason why those features got removed? :confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dgomesreal:
[UPDATED]

[UPDATED]

I reinstalled the OS and installed the openga Nano version. And now the camera is back to normal. Thank you all.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geek7899:
Hi all

First of all thanks to all those involved in the development of this ROM.

Android manufacturers dump their phones after 1-2 years. It’s this community which gives phones a new lease of life.

Just installed this ROM on my mother’s phone.

Need help with a couple of things.

1. Cannot find the Punjabi (India) language keyboard. Other Indian language keyboards are available, but not Punjabi. It was there in stock ROM.

How can I get that keyboard ??

2. Any way to save WhatsApp media on external SD card as opposed to internal storage ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
1 - use a 3rd party keyboard eg SwiftKey

2 - I don't think there's a way to change default location so you have two ways of manually doing it

Either format your sdcard as internal storage however it can only be used on this device until you format as portable again but this method will give you more storage space as the phone will use sdcard as internal storage & apps will behave as if data is on internal storage (fast sdcard required)

Or manually copy & past the whatsapp folder from internal storage to sdcard each time you want to backup although the media may not be available in WhatsApp but will be accessible in other apps eg gallery
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
They are not removed - I have them on my actually not so old (edit) but frequently updated install. And yes, I thought you updated.

P.S.: Yes, XP to Win10 removes all core features ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
I had the storage yet encrypted from los16.

The device was a test device laying on my desk.

Now I installed los17 and rotated it with her G5 to be updated next.

Now we discovered, that the boot encryption unlock key stayed what I set during testing/playing around, but didn't sync to what she set as display lock.

I even tried to answer the question for the secure unlock with no on setting a pin and removing the pin.

None of it affected the encryption unlock at all. It's still the one I set from los16 [emoji85]

Searching the thread for encryption brought up this as the most recent discovery about this topic in los17.

Could anyone confirm this behavior with his/her setup?

L

Gesendet von meinem MI 8 Lite mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If you are switching roms especially changing android version you need to format data to remove encryption

This will wipe everything from the device including personal documents pictures etc

TWRP

Wipe

Format data (option on the right)

Reboot to recovery

You can then flash the rom etc and encrypt after again if you wish
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
Nope thanks, the device works fine apart from that [emoji2369]

But generally asking: doing a clean install, yeah sure. But formattimg data to remove encryption? I hear that for the first time. And on every other device this was never a problem up to now.

Data encryption should be such a default task, it shouldn't change between Android versions without significant reason for it.

L

Gesendet von meinem MI 8 Lite mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Updating the same rom you'll be fine (assuming it's signed with the same keys)

Moving to a different rom or android version you should do a clean install to eliminate any problems

Formatting data (not wipe data) removes encryption
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
Yeah sure, a clean install deleting /data except /data/media.

But not a full format^^

L
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Wipe data just wipes app data - does not remove encryption

Format data wipes app data and user data (internal storage) - removes encryption

On some devices format data is required to eliminate issues
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
Yeah I know that.

But a 'clean install' normally refers to wiping /data without /data/media.

The previously mentioned signing keys are as well only related to the data stuff, nothing todo with the internal storage.

But yes, if the encryption has problems, then a full format and reencrypt is necessary. But not on normal rom switching or Android versions upgrade.

Anyway, I made another discovery by now:

The swapped out cedric I now have as testdevice had some stock Nougat installed until now. On this changing the encryption pin is working fine. The encryption was still from the stock Nougat installation.

The only difference I can think of atm between both devices, is that the one the pin doesn't update has a sdcard formatted as internal storage, whereas the working one doesn't.

L

Gesendet von meinem MI 8 Lite mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Ramshu97:
Any solution for the camera green while taking photos?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Yeah, a fix is found and it will come sooner or later.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] trefix:
Hello.

I followed twrp's link (from main post) but get an ERROR 255. Flashed unofficial 64 bits twrp then clean install with 'format data' works fine. All seems to run smoothly, my son will tell me if something goes wrong but I don't worry too much ;)

Thanks a lot.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If using official twrp you need version twrp-3.4.0-1-cedric.img

Anything before that is 32bit and will give error 255 if flashing a 64bit rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] trefix:
Thanks, I'll remember.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guoyunhe:
I flashed my Moto G5 but now I cannot adb connect to it and recovery is lost. No way to upgrade it or install opengapps... Please help me...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If the device is rooted you can use the offical twrp app to install the recovery image

Also you don't use adb to flash the recovery image - you use fastboot

In bootloader mode type (assuming the recovery image is named recovery.img)

fastboot flash recovery recovery.img

If not then you will need to provide more details as to why you cannot adb to your device (although you need to use fastboot and not adb in the case of flashing the recovery image) - errors etc or Flash stock firmware via fastboot and start again
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guoyunhe:
The device is not rooted. I have enabled developer options in the phone. But when connect with USB to my Linux PC, the phone doesn't ask for USB Debugging permission. In Linux PC, I run "adb devices", it return empty result. No error. My other Android phones works fine with adb.

Same to fastboot, it cannot find the device. So it cannot flash stock firmware.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Fastboot will only work in bootloader mode

Type:

fastboot devices

whilst in bootloader mode

Note adb will not work in bootloader mode - adb will only work in twrp recovery or when the phone is fully booted

Make sure you have the latest android sdk installed

Make sure usb debugging is turned on in developer option

Also I still don't understand how you lost your recovery - recovery mode is accessed via the bootloader menu. Unless you flashed a wrong image it will still be there (flashing a rom does not replace the recovery you have to actually use fastboot command I posted earlier to replace the recovery)

If you can't get it working try a Windows PC or try a live USB of a different Linux/Ubuntu distro for testing
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guoyunhe:
I fixed the issue by change to another Micro USB cable. The old cable simply doesn't work for any data connection.

I have to flash TWRP again via fastboot. I still don't know why my old recovery disappeared.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Ramshu97:
Any options to fix the green shade on camera
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
In short: no.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kleinerwolf95:
I just updated to the latest version and can't find the option to use the fingerprint button also for other actions like back, recents etc. I used to have the magisk module "Various fixes for Moto G5/G5S" for that but unfortunately can't find it any longer.

Any work arounds yet? Anyone of you got the gestures for the fingerprint button working?

Sorry, I found it. Restarted my phone several times and now there suddenly is Moto Actions where I can set up what I want
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 1lexxi:
So i have a weird issue: The hotspot & tethering menu & all related options are just completely gone. I've tried getting into the menu by launching the hotspot & tethering settings activity with a 3rd party app but the only option in that menu (from the settings) is to allow hotspot clients to use VPN. Tethering is just gone. Im using the 06/2020 version, but idk what kind of logs i could provide to fix this issue. thanks in advance
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Dirk1966:
First Thank you! Second: What is not working (sometimes: camera)

Hi,

luckily I have your 17.1-20200820-UNOFFICIAL-cedric now on the G5 of my youngest son and on mine. There are two issues:

1st After I made some settings on the camera, it does not startup any more, unfortunately I do not know how to debug this, or how to get a log file of this.

2nd On slow chargers, both phones often do not switch of the screen or switch on / switch off slowly and do discharge slowly.

Can I reinstall the camera app? I uninstalled it but OpenCamera doesn't work too now ;)

Thanks for your effort - you put life in my old, beloved phone!

Dirk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Try rebooting into safe mode. On another device of mine NFC did that

---------- Post added at 02:40 PM ---------- Previous post was at 02:39 PM ----------

1 An fix for various camera issues is coming soon TM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
The camera fix is on the latest build of my Mint OS available here at XDA. Have fun :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] listm:
Thanks! I had some camera issues basically every camera app I tried froze so it's probably a driver issue. Installed your ROM and it works like a charm!

The slow discharging on low power chargers is a minor issue indeed but it doesn't bother me as much as the camera did. For me it also maybe due to having replaced the charging port once already so I can't be sure it's the ROM.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] etienne_9000:
Hello

I currently had an issue with my Moto G5 running this rom. It wont boot, recovery wont start, and fastboot doesnt detect it. More details here. Any help is welcome !
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] HighKing81:
.

(wrong thread, sorry)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fuUser:
I build newer version of this rom including camera fix!

lineage-17.1-20201129-UNOFFICIAL-cedric.zip

Its simply latest (well... 1 week old) and unmodified Lineage 17.1 + Kernel and Device Tree from Mint-Rom here (exept "Safety Net" fix and "ARCore" - to keep it closer to standard Lineage 17.1).

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.

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] jrk2010:
Just don't unterstand your aim with building this ROM. It is mostly similar to nift4 MintOS and has nothing to do with CodeZeros ROM....?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fuUser:
Well, not quite.

CodeZeros ROM and the ROM I posted are simply LineageOS 17.1. Mine only uses DeviceTree and Kernel with Camera bugfix in it and uses somewhat newer Lineage Sources. Its for users that just want Lineage, nothing more, nothing less.

Mint Rom from nift4 has some modifications on top of Lineage. Its out of the box customized version. This is what I do not want to use.

If you like what he did, just use his ROM. If you want the ROM that CodeZero did, but just with camera fix and latest security patch, you can take mine.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spliff85555:
On my XT1676, LineageOS booting animation never ends with this version. Installing the older lineage-17.1-20200612-UNOFFICIAL-cedric.zip works as expected though. Installing lineage-17.1-20201129-UNOFFICIAL-cedric.zip again hangs in LineageOS boot animation again.

Before installation, I wiped cache, data, system, afterwards dalvik, then reboot. I didn't install any GApps. I'm using official twrp-3.4.0-1-cedric.

What's going wrong?

Just to eliminate a bad download: Could you please provide a checksum?

Thanks.

Spliff
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fuUser:
SHA1 checksum is: 98a8fb08e2d6ddcb3b0ac3631251627f06a6ce7e

Also I always installed OpenGApps.

Finally booting first time takes really log time for me (after full wipe or even just cleaning caches).

But otherwise I have no idea. One phone (XT1676 German 2GB Dual SIM) I upgrade from CodeZeros builds and the other one (German 3GB Dual SIM... dont know the XTcode right now) was clean install. Both worked
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spliff85555:
Thanks for your very quick reply! :)

The checksum already matched, and I started using setting up lineage-17.1-20200820 to circumvent the first problems. I just wanted to try my first steps with Android 10 / LineageOS 17. However, something was wrong with my phone's residual environment: I ran deeper and deeper into trouble, ending up in loosing fingerprint sensor, then IMEI, and at least hanging in a loop always booting into bootloader. :mad: Then, I went to sleep frustrated.

Today I managed first to install a clean stock 7.0, then a clean stock 8.1, and finally your lineageos-17.1-20201129 (again without OpenGApps. Initial boot only took about 20 seconds until asking for encryption PIN). Everything works so far, also having fingerprint and IMEI back. :) (Actually, without using any of my backups. If anyone is interested in the exact steps, I"m happy to provide, but I think it's not the topic of this thread.)

So thanks again, all the trouble seems to be 100% on the side of my phone's previous history.

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

care to outline your steps? i'm in a similiar situation: trying to flash an image built w/ fuusers manifest (and with microg baked in, but that shouldn't matter) results in the phone being stuck at the boot animation and finally a reboot to the recovery image.

wiping cache/data/system / doing a factory reset within the los recovery doesn't help, the latest twrp doesn't work either. trying to flash fuusers img yields the same symptoms …

fwiw: my build is signed with my own keys. i am able to get back a working phone by flashing the latest known-good rom, which is a los 16-build, also signed with my own key.

cheers,

t.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You are actually the second one reporting that issue, I definitefly need to update my own cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Booted for me :unsure: