yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
Thinking of installing this ROM. But just a simple question. What's the battery life compared to stock oreo?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rosel11078:
yes open file with "ES File Explorer", before active root mode in left panel side, write at the end of the file and save then reboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Illuminati Wave:
Hi, I have a little problem xd

I have a moto g5 with android 8.1.0 with security patch February 2019. I have tried several times and I get the error 255 "Digest not found"

I have tried with the TWRP that there is so much here "https://androidfilehost,com/?fid=11410963190603887243" like this other "https://eu,dl,twrp,me/cedric/twrp-3.3.0-0- cedric.img,html ". Both mark the same bug

(change "," for dots)

Any solution :?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
As stated on the first post you need a 64bit twrp (one of your links is to the official 32bit twrp)

https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB

Format data as well
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I have an Moto G5 without unlocked bootloader and only stock recovery and OTA Stock Oreo 8.1 and i'm very confused what works and what not and how to install.

Can someone help me?

EDIT: I want SafetyNet, GApps and NO Root.

My questions:

- What I must backup? And how?

- How I unlock the bootloader?

- Is the Twrp64 compatible with my XT1676 (on Android File Host is a different model number)?

- How I flash TWRP?

- How I can install this ROM?

- How Install OpenGApps with the Aroma installer?

- Is there SafetyNet at the End?

- How good works the Camera with what apps?

- Will there be working fingerprint?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
New Build [22/05/2019] Is Up!

Changelog

:-

Switched back to Camera2

[*]Kernel source upstreamed to linux stable release 3.18.140

[*]Enabled metadata for FDE

[*]USB Tethering fixed thanks to [MENTION=5282323]wiktorek140[/MENTION]

[*]Encryption fixed

[*]Added QCOM's WFD

[*]Synced some config files with stock

[*]Addressed some vendor_init denials

[*]Copied missing vendor.display.config

Download Link

:-

As usual link of rom is updated in op

[*]Clean Flash recommended

Note

:-

There will be no more upstream changes in the kernel if you need an answer why then have a read over here https://lore.kernel.org/lkml/20190516150548.GA30718@kroah.com/

Regards,

CodeZero
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
Thank you for the update [MENTION=5982915]CodeZero[/MENTION]

Wanted report back, the encryption works fine and also in recovery the storage is decryptable (tested using twrp 3.2.3-2)

L

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Trying to selfanswer:

Backup EFS, Vendor and Persist via TWRP (32 or 64)

xdaforums.com/g5/how-to/unlock-bootloader-lenovo-moto-g5-t3581130 (replace , with .)

adb reboot bootloader
fastboot flash recovery twrp.img
fastboot reboot

And reboot in recovery

Flash it via TWRP (64-bit).

Flash it via TWRP after ROM before Reboot.

I think yes because I'm coming from Stock Oreo.

Things I don't know:

No only with Magisk Hide + Magisk SafetyPatch

Original camera app works

Yes

Thanks to [MENTION=8402459]hordesoflocusts[/MENTION] everything is know to me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
How is the battery life in this rom compared to stock oreo?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
No safetynet, (needs patch to work) camera works ( with third party apps no) all g5 variants work with twrp.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Where is the SafetyNet patch?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
Search for 'safetypatch' in magisk modules collection
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
GCam, LineageOs Cam or Moto cam?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mo766:
Difference between your build and mine...

Hi,

it‘s magic. Encryption is now working, too! Great! :)

Sorry to bother you, but that drives me mad! I‘ve tried to build the thing on Xubuntu 18.04 LTS, too.

I followed this guide:

https://wiki.lineageos.org/devices/marlin/build

And when it comes to the devices I took the manifest from sohamlad7:

https://raw.githubusercontent.com/S...ent_manifest/local_manifests/lineage-16.0.xml

But when I built it, the encryption isn‘t working (Boot-loop). Yours run well! Did you change any config files? Which ones? Drives me crazy! :confused:

Thank you!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Illuminati Wave:
Thanks, but...

Hello again xd

First of all, thanks for the response. It worked perfectly, the rom was installed "correctly", but...

Days ago the install it, the system "goes well", however it hangs (little, but enough to be aware of it), that is to say, compared to Oreo stoock, the system is slower (or at least gives the sensation), not to the point of making the equipment unusable, but if it suffers.

Another error was that I could not remove the navigation bar. I could hide it by expanding the desktop, but completely remove it. I wanted to remove it because I changed the launcher (Nova), but the function that I noticed that brought the launcher Trebuchet (which is to see the applications since recent) was disabled (which makes the navigation bar is more of a hindrance xd) change the launcher.

Another mistake (that if I happened to f**k) is that all camera applications suffered a kind of downgrade, that is. The photos come out in watercolor. And all camera applications work erratically. They don´t focus, or focus when they want (including Gcam mod, which worked the worst: C), others like Moto Cam (ironic that allows to install it) takes the photo but an error "error in the camera" or "camera in use"

The micro SD reads the files with size of 0 bytes.

The fact is that my experience has not been as expected, so I ask. Is there a way to go back to the stock rom? (I ask why the architecture change from 32 to 64 bits, I do not know if you can do a downgrade from 64 to 32 bits without breaking the system)

PS: all the installations I did correctly. Both the rom with its wipes and the Gapps. so I do not think it was that

u_u
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] hordesoflocusts:
Moto cam does not work here, footej or opencamera are pretty unusable, gcam wont save video recordings, lineage cam works well. In my opinion stock no more with this third release, all works great
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
I can not use any payment apps on this rom. Please help me how can I fix safetynet in magisk?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Magusk Hide + SafetyPatch from Magisk Module Repo
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
Thank you. It works perfectly. But when I switch on my phone it is showing "There is an internal problem in your device. Please contact manufacturer. " But my phone seems to be working perfectly. What should I do?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Post Logs :) But I'm not a Android Expert :cyclops:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] achintyakv:
I don't know how to find and post logs. Please tell me. ??
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Read first post of this thread.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
What apps do you use for Camera?

I've installed OpenCamera, but the HDR mode is somewhat unstable and the video recording won't save the file.

So, as the op says camcorder works, special cam app needed or maybe a special resolution I'd have to set?

L

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rahimali:
try this one
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Video works, but is very dark. Pictures are normally bright. Does anybody know an solution for this?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] baptiste61:
Hello, thanks for your work.

Same problem here with the back camera.

With open camera : take one picture and with the second, the phone crash, with the video, the phone crash

With the app in the rom : take photos, but with flash it's green, with the video, the phone crash

With the gcam : it takes photos withe saturated colors like thermic camera...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Oremusnix:
First, thanks for the hard work,

A few nitpick on installation :

On clean installation with no Gapps installation, the wizzard asks a few questions. One of the question is "Use software navbar instead of physical button" and the tickbox is unchecked by default.

I blew past it on installation the first time and then did not have a navbar. I though the ROM was terrible and I had to reinstall. The question should be removed or checked by defaul in my opiniont. There is a setting to restore the navbar but it is a bit hidden.

On usage :

I have the same camera issue as others. Back camera works best of the others ROMs I tried (using the ROM provided cam app), but still gives green tinted images if I take too many images at a time. The video recorder does not save a file (and freezes the app, but not the phone).

And the camera pictures are heavily cropped (around 5 mm left and right), not sure if it is the same with stock...

Still, it is the best camera experience on the ROMs I tried so far...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] BoroZG:
Ambient display not working, anyone?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Works GCam Camcorder?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
Gcam Camcorder works for me after fresh reboot. But does not work after deep sleep. So reboot before making Videos.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
[MENTION=1670014]keinhaar[/MENTION] Works GCam with normal photos (no extended saturation)?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Spardose:
Screen rotation / Accelerator sensor doesn't work.

LineageOS version: 16.0 from 22.05.2019

Moto G5 cedric

My screen rotation didn't work, I figured it out when my steps weren't count.

I could fix it by following a tutorial from devsjournal called "How to fix Screen rotation" by the author Ajinkya.

In short: Search for "ro.sf.hwrotation=x" or write it at the end in build.prop and change the value x (x=360°-Rotationangle, for me for me 270 worked) and restart your phone.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moorm@nn:
MicroG

First of all thanks a lot for your hard work [MENTION=5982915]CodeZero[/MENTION] :)

I made a build for those interested in MicroG:

https://androidfilehost.com/?w=profile&uid=5862345805528066107

BR

Moorm@nn

P.S.: As this is not my forum I will not post any new builds with MicroG here...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] keinhaar:
It's working for me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
15.1 -> 16.0 update does not work

I just tried to update my Moto G5 running on LineageOS 15.1, but it says that no updates were found. Do I have to manually update it by installing everything from anew?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] baptiste61:
After a reboot, no more saturation, it's working with the back camera. But with the front cam, there is green photos now... :rolleyes: Videos record not working with the two cameras...

---------- Post added at 07:41 AM ---------- Previous post was at 07:39 AM ----------

I've do the same and it was working for me

---------- Post added at 07:43 AM ---------- Previous post was at 07:41 AM ----------

Update with TWRP and make a backup before
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chris180206:
Hi [MENTION=5982915]CodeZero[/MENTION] and all,

firsts of all thanks again for your effort and support!

I'm aware, that cedric has had issues with the camera all along but in the 20190405 build the included camera app was working (org.lineageos.snap) at least for one picture at a time, which was good enough for me.

In the latest 20190522 build, there is a different camera app included (I think it was something like ...camera2) which was not working at all anymore (artifacts, wrong colors, not even one picture working).

I tried to extract the snap camera from the 20190405 build to use in the latest build, but it keeps crashing, so I ultimatley miserably failed :P

Is there any chance to release a build with org.lineageos.snap camera app or does anyone have a better suggestion (I also tried the Perfect GCam 5.1 but that seemed kind of moody as well...)

Thanks again and regards,

C
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
its kinda weird that camera2 is not working for you for me its working fine and about snap camera extracting from previous build it wont work like that .. just get me logs of camera2 i'll take a look thnks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] prievidza:
Helloo. Is it possible for your ROM to become official? Do you think the Lineage team will accept your request?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It won't be accepted until all major parts work - it would definitely fail on the camera part of the charter & video recording

https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#camera
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Chris180206:
Thanks fir your reply, much appreciated. I attempted to take logs, but when doing so, the camera was working fine, just as you mentioned. seemed to have been a classic case of "did you try turning it off an on again" :p

ROM is working flawlessly so far, so could you please add donation information into the OP :p

Regards,

C
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
yeah im planning to apply for the official support but before that i need to clean up the sources after that i'll apply
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
thats great and about the donation i'll add it soon thanks :)

ps :- done added the donation information
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Wow! If that happens I will be so happy! Planning on donating soon, thanks for your effort. Keep us posted about the application ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Wladek01:
Did it, didn't work, could it be because i did a dirty install?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
I have just flashed the build from 22.05. after flashing the stock oreo ROM via TWRP. I have always had problems with the camera in this rom. Now this is the first time I got a fully working camera, thanks a lot for that! But after a few moments I have realised that screen rotation and accelerometer do not work.

I have tried setting the value in build.prop and rebooted but the accelerometer is still not working. Does anyone have the same issue or know what could cause this issue?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Unable to backup persist

Hello there, trying to flash this ROM on my virgin stock 8.1 OREO device.

I already flashed the 64bit TWRP that the OP posted. I'm trying to backup persist and EFS partitions so that I can come back to stock Oreo in case of problems without any trouble.

I can find EFS backup but not persist. I've searched the forums and I've seen a lot of people having the same problem, but no solutions. Anyone knows how to do it? Should I install another TWRP, in that case which one should it be?

Also after I unlocked the bootloader I get a warning message from motorola every time I turn on the phone, any way to remove that warning?

Oh! and also I got asked to introduce my pattern when first accesing TWRP. I introduced the one I have for my phone but it said it was not correct and it was not possible to access partition...how can I solve that?

Thanks in advance guys, I hope I can get some help, it's the first time I flash something since good old Cyanogen Mod almost 7 years ago!

EDIT: EFS partition can be easily backed up from 64bit TWRP Backup menu. However I have to come up with a workaround to backup persist partition. It's explained here

Regards, J.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rosel11078:
did you solve your problem????
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Wladek01:
I didn't try yet, as soon as i do it i'll let you know
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Well, I managed to finally backup EFS and persist. If someone is interested I wrote the workaround I used to get it done here.

THE ROM IS AMAZING, but sadly I'm having problems with the camera as many others. I did a clean install coming from an untouched device with a STOCK Oreo 8.1. I wiped everything before. Here are the bugs I found:

Moto Camera not taking pictures

Google camera (the one with the gapps) not starting

Footej Camera takes some pictures then gets unresposive (error -> supportsCameraApi:1718: Unknown camera ID 0)

Whatsapp Camera produces a green frame around the picture.

Instagram Camera sometimes crashes.

Accelerometer doesn't work ocasionally.

I think this is the bit related to the accelerometer:

I hope the logcats attached are useful for you [MENTION=5982915]CodeZero[/MENTION] , I couldn't get the dmseg, I got an error regarding authorisation.

It's a pity camera doesn't work, because the ROM is AMAZING. So fluent and fast from the first second. I'm very happy with it, I hope you can manage to fix camera. Thanks for your effort, congrats!

EDIT: I just noticed that proximity sensor is not working either ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
thanks for the logs i'll take a look im trying my level best to get camera fully working
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
After one more day using the ROM I've noticed it's not only accelerometer that is not working, also proximity sensor and brightness sensor (this one is a pain in the ass) are not working. It depends on the reboot, sometimes when I reboot the phone they work and sometimes they don`t :confused:

It happens the same with camera, in this reboot, whatsapp camera doesn't work, but in the last one it was working. Funny enough footej camera lasts longer without freezing this time.

I'm sure you are up to the task and will fix it soon! Thanks very much for your effort ;) If I can help in any way I would be more than pleased.

Thanks again!

J.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
wait for next update sensor related issues will get fixed thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MOLINA09:
Please..

First of all, thank you very much for your excellent work. I have some questions that I hope will be answered, I'm sorry to disturb you.

1). I have rom stock 8.1 (ready to install any rom), do I have to install lineage 15 or 15.1 with Android Stock Pie?

2). Are there any flaws in the camera or in the applications?

3). Will using my cell phone for normal calls (calls, photos, videos, chat, games, etc.) not fail?

Thank you so much for everything
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
1) You can flash LOS 16 directly, remember to backup everything (at least EFS and persist) before as I explained so that you don't loose IMEI in the futuro.

2) some people have a working camera some people dont. For me it depends on the reboot. Sometimes they work and sometimes they don't

3) the phone works reaaally smooth, except for the camera and sensors part it's really good. We have to thanks the OP for that.

Hope I answered your questions!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] macGam:
Hi!

I'm new here. I followed your amazing work making Lineage 16 work on Moto G5.

I managed to install it on my phone, previously using Lineage 15.1-20180828-UNOFFICIAL-cedric. (android 8.1), doing an update with the TWRP version in the first post.

Everything works fine except the biometric sensor. I tried to wipe system and data partitions with the same result. What did I wrong? It was working with Lineage 15.1, recognize as android 8.1 in System Preferences. Isn't it based on Stock Oreo?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lucki1000:
You can search for the Fingerprint fix in other Cedric Rom Threads or you flash the Oreo Stock rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] macGam:
So simple. I installed this fix and it worked like a charme :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] uran235:
Everything works stable on my g5. What a great work; thank you so much!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] feteAnd:
Thanks for the great work! Everything works, except the fingerprint sensor. I can not find any settings items related to the fingerprint. How can I fix that? I could not find any information related to Pie, LineageOs and the fingerprint issue.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrej_SK:
Flash this file using the TWRP to make your fingerprint work in Pie CustomROMs: https://drive.google.com/file/d/1e_8alb2MFX7uXqjYZ7OruCCImbYIge1r/view
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] feteAnd:
I just read the second post... Flashing the stock Oreo first and then flash this ROM works like a charm :) Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nyakov:
I am looking forward for next build
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Hello I come from Nougat LineageOS and I did a firmware update to the official Oreo with succes .

goal is LineageOS 16.0 but after flashing TWRP 64bit , I can not boot in recovery , systems says: no command.

pushing power and volume up gives me a system boot .

Oreo works fine

What i'm doing wrong ?

sorry for my language

kind regards

erik

---------- Post added at 07:17 PM ---------- Previous post was at 06:51 PM ----------

solution: this link:

Download this 64bit TWRP https://androidfilehost.com/?fid=673956719939821589
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Thanks I flashed the wrong file.

I'm now on Firmware oreo With lineageOS 16 :)

Very Nice

Thank you all for this work

Erik
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fuUser:
Rebuild breaks encryption

Hello CodeZero,

I installed this ROM and encrypted the phone (with password). After finding some working combination of ROM and 64bit twrp Recovery, the recovery can decrypt the storage as well. This all works well now.

However, now I rebuild the ROM after the manifest and with same git commit IDs from your latest build (some involved repos have now some extra commits, so I tried to keep at same state you used during your build).

It seems to have completed successfully. But after installing my version, it does not accept the password during decryption.

Can you imagine any reason for this?

Do you use some non default release key? Could it be related somehow?

I am just wondering, because when I rebuild CM 14.1, it worked just fine to replace the ROM and then decrypt the phone.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] developerfromjokela:
I am having no difference restarting phone. Camera app crashes, and other apps are able to take a photo, but video recording crashes camera app.

---------- Post added at 07:01 AM ---------- Previous post was at 06:58 AM ----------

Yes

---------- Post added at 07:07 AM ---------- Previous post was at 07:01 AM ----------

I have it, but when holding home button nothing happens.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] developerfromjokela:
When next release will come? Any updates?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
You could build ur self :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It will come on the second Tuesday of the month with the full moon unless that month also has a solar eclipse which in that case it will come on the 3rd Wednesday of the month where rainbows and unicorns appear in the sky in the realm of don't ask for ETAs