yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
It's happening to you too?! when you press the power button then it sends twice the input, right? (as in; launches camera if you have the gesture enabled), i thought this was just me with a somewhat loose power button in the case. do you know why this is happening? it's been bugging me for so long and i thought it was a hardware problem of mine
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] robt77:
Goto Settings>>System>>Gestures>>Jump To Camera toggle it off
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
yeah i know how to disable jump to camera, but nonetheless i would like to use it properly. in fact, disabling this would not fix the issue entirely as it sends double the input, meaning that if i press it once it would send me to the lockscreen as it puts the phone to sleep then re-awakens it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AuruOna1:
No mate, I have not found the workaround to this.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Oshecy777:
incorrect decryption

Hi i installed this rom but i got a problem on the first boot, idk why the system asked me for a password i put the old password i haved before install the rom, the system start to boot but this time i got a warning message that says "incorrect decryption" and i can't pass to that part... any solution? i did full wipes and install the zips...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
You can not boot into lineage or? Then try go twrp --> wipe --> Format data

Caution it deleted the internal storage too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nilshg:
Re battery drain: not sure this is the reason, but from what I understand Pie has quite an aggressive AI-driven battery saver model, which needs to learn your usage patterns first for a few days before kicking in properly - maybe this is why the battery drains quickly now and will improve over time? (There's a disccusion e.g. here which says: "The Pixel 3, however, has been gaining around 10% of battery life each day over the last week, starting with poor 15-hour battery life that wouldn’t get through to bedtime. A couple of days later it scrapes through 24 hours"

I haven't installed this ROM yet, can I check my understanding: To get fingerprint to work, I need to flash Stock Oreo 8.1 first, and then flash this ROM from there? I am however currenty on PixelExperienxce 8.1 (64bit), does that mean it's not possible to safely flash the Stock 8.1?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
simply flash the stock oreo provided by CodeZero, that will modify a few partitions on the device (that enable fingerprint to work i guess?) as this rom is built on oreo blobs instead of nougat. honestly i suggest flashing this rom as the camera is much less buggy than before, and flashlight enables instantly unlike how in some roms it took 3s to turn on/off
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nilshg:
Thanks for the reply - just to be clear when you say "the stock oreo provided by CodeZero" you mean the one that CodeZero mentions in the second post in this thread, i.e. the one provided here: https://xdaforums.com/g5/development/twrp-flashable-soak-test-oreo-t3827913 by NZedPred? When moving to that ROM and subsequently to Lineage 16 I won't lose fingerprint, IMEI or any other important features?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
yes, simply flash the oreo soak test by NZedPred, you can then flash lineage 16 and your fingerprint will work just fine. i've done the same and haven't ever encountered a loss of imei, so you shouldn't really worry about that happening
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AuruOna1:
Google Assistant not working..!!! Anyone facing same problem?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
By me is working the Google assistant, if you say on your home screen Okay Google what's happend?

You can also look at the playstore if you don't have installed you must them install.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] giri45:
After flashing twrp which no-opt verity version will be flashed ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
I am facing the same issue. Could you or someone else fix the issue?

Edit: using Magisk v17.1 did the trick.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] trotter2000:
I used latest Magisk without any problems installing.

..............................................

There is a lot of mixed results with this ROM. Magisk works fine but I have a broken camera, gcam won't even open. If I use a alternative like Open Camera it will take 2 snaps before freezing. Oddly google messages can open the camera fine to scan the QR code to login to messages for web.

I did think I broke my setup as I used aroma opengapps for the first time and did go mad with removing stuff, selected more options than there was in the ROM :eek: But it seems to be the same as the others that have problems with the camera so I don't think that is the case now.

I was already on NZedPred stock Oreo ROM "cedric-twrp-OPP28.85-13-2.zip" I started fresh so did wipe everything but vendor.

logcat attached, dmesg has no output.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Skaaygraff:
Excuse me mate, did you flash the NZedPred zip using 64bit TWRP?

Im currently on 64bit 8.1.0 DotOs Custom Rom and I have 64bit TWRP,but I dont want to screw my imei or something.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
yes, just flash it with a 64bit twrp, if you're concerned with losing your imei then you can always make a vendor & efs partition backup, in case you do lose it. though that's very unlikely as i've done the same (flash stock rom with twrp 64bit, then flash pie rom) and it all works just fine, no imei problems at all.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
As unlikely as it might seem to you, I had to restore my EFS backup after installing this ROM (after flashing stock Oreo, coming from 8.1 Custom ROM ViperOS). So I highly advise to make a backup.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Skaaygraff:
Yes, I have the EFS backup already, but I cannot find the vendor option, I just got:

System

System Image

Data

Cache

Boot

Recovery

OEM

EFS

Logo

Its any of this? Im looking on internal storage and thats all that shows up.

Thanks in advance mate.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
Perhaps that's because you need a treble recovery for that?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Skaaygraff:
What else did you backup? I have the EFS backup already, did I need something else?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] raziel100:
I'm facing a problem, after two or three reboots, i lost access to the play store, and the sync stop, and i'm unable to access any google program, i have installed the pico gapps, i reinstalled the rom and the opengapps 3 times, and this happen every time, anyone is facing the same problem?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
i have one question though; what is "persist" partition? i'm running the latest 64bit twrp and i have efs/vendor/etc but not persist. or is this just a term to describe partitions that remain unchanged despite the rom?

---------- Post added at 07:22 PM ---------- Previous post was at 07:21 PM ----------

try nano gapps, most people run these without any issues. remember to install them right after installing the rom, don't reboot until you've installed both of them. also have you previously installed stock oreo before migrating to pie? i dont know to what extent the stock oreo rom affects custom roms, but it's best you do so anyway.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] raziel100:
Thanks, i'll try it, i'm in the stock oreo firmware because codezero already said to do it anyway, i always do the gapps installation before the first boot.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Had the same problem with Google services. Try installing latest Play Services APK manually (Flash Stock, then LOS, then Gapps, Boot into ROM, search online for latest play services APK [arm64, Android 9] and install). Got this tip from another thread here or in treble forum, I don't remember, but it worked for me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
The EFS should be enough. See my backup in attached screenshot.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Skaaygraff:
I see, the weird thing is that I don't have vendor and persist options to backup, thats why Im afraid of flash the Oreo Stock zip.

Maybe I need another recovery version, Im still on the old 3.2.1
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
I am still having issues with the camera. After wiping the phone I flashed cedric-twrp-OPP28.85-16.zip and then flash this 16.0 rom. The camera still crashes when I am trying to take pictures. On the second try I checked the camera API 2 option but this did not make any difference. Booting in the stock rom worked and within that the camera works. What else can I try?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Try flashing cedric-twrp-OPP28.85-13-2.zip.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
I tried that but the camera is still crashing as before.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sonisudhanshu:
Moto a tions working ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] giri45:
I'm unable flash to flash given above recovery.

It is showing unknown error.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] raziel100:
For some reason after some time I can't access any Google applications like Google store and the safetynet don't work, how I can fix that? I already try 3 different magisk modules, but without success, I'm in the firmware 8.1, and I have installed the nano gapps.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ufud:
Im also having this problem and I would really appreciate it if someone who knows what to do in the scenario, leaves a comment on how to fix it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Have you tried installing latest Google play services apk? Worked for me. I have posted this before in this thread. Maybe it works for you too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] raziel100:
Yes, i have tried that, but the cts profile still in false, i'm trying to understand, can you share the link of the apk you installed?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
I don't pass safety net check either. I was only talking about not being able to log in to Google accounts.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
Try it with magisk and the safetynet module for it. I must installed too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geniotre:
Hi! I'm new in this thread.

I've the stock rom oreo, do you think that's comfortable to install this rom?

What changes?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] raziel100:
I have already installed the module t

For that. I has changed the security date and fingerprint and I still can't pass it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Installed today. Everything working flawlessly except the camera, which crashes after 1-3 pictures. tried opencamera, but same result.

I've rooted with magisk 18.0.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] GoelPlz:
Have you tried Footej camera?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] trotter2000:
Magisk hide is not good at hiding Selinux status so you most likely fail safetynet check as this ROM is still in permissive not enforcing.

Your other problem should be fixed with having all cache wiped and updated gapps.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] raziel100:
If anyone is havin problem in safetynet, just install the magisk ianmacd in the github "Magisk-v18.1-2019010401-ianmacd(2019010401).zip" version, and install the module SafetyPatch, and reboot, after that the safetynet will pass.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Yes, i tried that, but same effect as with other camera apps.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Camera not working

hi, i've created a logcat after using opencamera and the build in camera app.

Beginning at 13:00. End 13:06.

Maybe someone can see something that helps fixing the problem.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Bhononloso:
Can I flash this over your lineage os 15.1?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] giri45:
Hello everyone I found the solution for video recording.

Just flash this stock Moto camera 2 app

https://xdaforums.com/g5/themes/pixel-gapps-rom-t3746445

Thanks to Deivid_21 for this app. ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] trotter2000:
Nice, the problem was selinux was still blocking some stuff. One of them is a file that loads a lib/config to get the camera running smooth so was using it's own default. Using the moto camera app will have said lib/config included in it's own set of files.

Did start adding the config files for it but as you fixed them more came up. My server takes two and a half hours to compile lol so got bored of it. So wish I thought or someone came up with it earlier :silly:

:good:Thanks :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Thank you for this hint, the Moto camera does not crash while taking pictures. But the flash seems to be too fast or the pictures is beeing taken too late, I don't know. The result is a dark picture, similar to taking a picture without flash. But that's better than nothing at the moment, thanks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
I've installed the moto camera 2 from the link above. It does not crash, but only the first photo is stored. If i leave the app and open it again, i can make a second picture that gets stored.

By the way, installing the app removed the camera that came with the ROM on my device.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Same here, first I thought it worked well but now I can sometimes take only one picture. After taking the second picture it is not saved and I see a notification that the image is still being saved.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AuruOna1:
Camera still not working even after flashing Moto Camera 2.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dutscher:
at first i have to thank codezero for the good work.

this release could be a offical build! why not?

for me, i was before i flashed 16.0 on last release of moorman lineage-15.1-20180809-UNOFFICIAL-cedric.zip.

i flashed the new zip "lineage-16.0-20190101-UNOFFICIAL-cedric.zip" and after that "open_gapps-arm64-9.0-micro-20190116.zip".

at the end i did a dalvik wipe.

restart system and the bootloader of lineage takes 10min or so but it works like a charm.

i was suprised! everything works very very well!

the first point is: NO DELAY at moto actions and camera boot.

NO Whatsapp Web QR scan hack anymore.

Only the camera has a problem but use this and flash it via twrp:

Moto Camera 2:

https://drive.google.com/folderview?...iER1Dz8zS6355L

After that u can record videos and take pictures as it should work.

I'm happy with this! and it should go offical. cedric needs an official release!

thanks for the attention and a good night :)

dutscher
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cristiansc93:
This methis for the camera doesn't work for me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dutscher:
yip youre right, im able to film and make photos. but the app crashed the whole system. its not the final solution.

but the rest works well.

cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ERR_999_R:
Help please

Can anyone help me?

I installed this ROM and i got ERROR 255.

I also tried to install other ROMs and got the same issue.......
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
You must install a 64 bit TWRP, that should solved your problem.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mnitesh@27:
I flashed this rom over oreo 8.1 rom but still my fingerprint doesn't work. I tried reverting back to oreo 8.1 but the rom failed to install (every time it goes into the twrp recovery after the lineage OS logo). Does anyone have any solution to get the fingerprint running on this rom?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
If you have made a backup from your stock you must install a 32bit TWRP to restore them the 32bit TWRP can bypass the encrypted data partition.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Npmithapelli:
This won't work cause I had flashed an oreo rom & back then i had flashed a 64 bit twrp. So no luck there getting a backup & restore any other idea
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
You use a custom rom (oreo)? that the fingerprint is working you must flash the stock rom (oreo) and then you can LOS16 install.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Npmithapelli:
Please, can you guide me through installing the stock rom?

---------- Post added at 09:00 AM ---------- Previous post was at 08:53 AM ----------

can you help me with this? the link don't wark anymore!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
https://xdaforums.com/g5/development/twrp-flashable-soak-test-oreo-t3827913 I found this in the Moto G5 ROMs, Kernels, Recoveries, & Other Development subforum.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Npmithapelli:
I tried flashing the rom in the link provided. It says error 7 & won't proceed with it's installation. I found a workaround for this but that too didn't workout.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
You can ask this in https://xdaforums.com/g5/development/twrp-flashable-soak-test-oreo-t3827913 thread too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ERR_999_R:
Thank you for you answer lucki1000.

I got succesfully flashed the LOS16 ROM.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dutscher:
does anyone solve the camera issue?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ERR_999_R:
i want also a fix for the camera issue :(
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Norde:
Thanks a lot for your work CodeZero!

This Rom worling really fine (no crash, fast, deodexed, and camera works well with open camera app) :)

However selinux is disabled in my case (on a fresh installation).

It's supposed to be enabled in permissive mode according to the the first post, right?

Does anyone know what could cause this error?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Have you made more then one Picture with open camera?

This does not work for me. All camera apps do only one picture. Leaving and reentering the apps allows another picture to be taken. some apps make more pictures, but don't store them except the first.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Norde:
Yes I made more than one photo. But you're right, the camera bug also in my case :-/

In fact I have unintentionally previewed each photo after taking one (to check the quality), which avoids the bug ...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hacker12:
Am I the only one with messaging problems on this ROM?

I can't send SMS messages, but I can receive them fine.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
You get an error?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hacker12:
The message seems to send for a long time, then pops up a toast message "Cannot send message on CARD 1 (error -1)" (I think that's the correct error message).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
I started having trouble sending messages when I disabled this option in developer settings. I didn't want any data wasted that's why I disabled that. Turns out it needs to be active. I use a firewall instead to block all unnecessary data traffic.

Might not be the same problem as you though.. posting this just in case.

This ROM is perfect btw I'm using gcam 5.1. The only problem for me is video recording..would probably work with footej though.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hacker12:
Yep, that was the issue. Thanks for help!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
No way ..that's great hehe no problem :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
This solved my camera issues with pictures not being stored.

I've tried different camera apps and did not expect, that this one would be different,

BUT after installing gcam 5.1 from here

https://xdaforums.com/g5/themes/perfect-gcam-5-1-moto-g5-cedric-t3890519

Using the link New GCam 5.1 Updated version (Put the Black level in 16!)

, i finally have a fully working phone again. Now this ROM is prefect. Everthing works. Multiple Pictures are stored. Video is stored. Battery usage is OK.

Thanks for your hint!!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
Are you able to record using gcam 5.1 ? For me it's only photos.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
Works now.

Copied camera.vendor.msm8937.so from sdcard/TWRP to /system/lib/hw/. And set permission to rw- r-- r--

Not my trick hehe it was [MENTION=7991837]infixremix[/MENTION] who helped me out when I was on another ROM struggling with cam.

Now everything seems to be working on gcam 5.1
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Only one Video worked yesterday. After your reply i tried again, and it is no longer working. Did not change anything. Normally i do not make many videos. So that is not essential for me. Photos are working still fine.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
Yeah sometimes I need to reboot for it to work again ..it's a bit unstable. (Only videos though)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] PineGnu:
Hi there, I have two questions:

1. Will this fiix the camera issue independend from the camera app? I've tried to use the gcam5.1 app, but it crashes if I try to start it. The issue may be that I have no gapps installed.

2. I can't find the file camera.vendor.msm8937.so on my device. Would you provide it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chekm8Qc:
First you need to check if hal3 is enabled in your build.prop settings. Gcam will only work if it enabled. If not there is a zip that you flash in TWRP to enable.

https://drive.google.com/file/d/1Scg2AJ5O48Ir6yTVk2tTjoGo2MgKVqHs/view?usp=drivesdk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
just curious whats your telegram ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rafaelbarreto22:
One question ... Being in this ROM with twrp 64 bits (obviously) at some point I can return to stock rom via fastboot without any problem?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] luigge:
Does it work on moto g5 Cedric? Xt1672
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ZtormTheCat:
Snapchat blocked

Is there any way to use snapchat with this rom? I already tried hiding it in Magisk but it wont work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] luigge:
you need to have google app as a system app, try installing google apps nano, or make this app as a system app I don't know exactly how to do it, this way ok google should work