yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
I think I did it, but still no luck on OTA now. It says no update found.

I wiped: data, cache, dalvik and also reformatted data to get rid of encryption

Or is there another way, how I shall clean the cache?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
No, it's an server side fault afaik right now :/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cris840:
fingerprint works?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Fingerprint works on every rom as long as your stock base firmware is the same version as the base of the custom rom

Eg if using a custom rom that's oero or higher flash oreo stock firmware first

There is also a zip that will flash the changed files if you're still on a nougat stock firmware however I'd flash the full oreo firmware to avoid any other potential problems
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cris840:
Thanks, I had just read about that and I preferred to flash a stock with android 8 so as not to risk it, everything works perfect and is very fluid. I am happy with the rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
The fingerprint works like a charm. Quick and fast. Also the fingerprint gestures (swipes, tab, long press, etc) are working fine.

The phone is fast and stable with this ROM (I followed the guides and setups as described on the Lineage OS original thread).

Thanks to [MENTION=9942894]nift4[/MENTION] :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
Hello [MENTION=9942894]nift4[/MENTION],

Apparently the update server started to work, I just have seen a lots of updates, so I made a test now and it worked now.

I have 3 difference s compared to last time:

- The phone was NOT encrypted

- Magisk 20.4 was installed

- TWRP 3.4.0.0 official was used as a recovery

All data, apps and settings are intact

I think that encrypted /data partition make s The difference.

1 thing I just noticed (before and after the upgrade) the screen light sensor seems to have challenges in low light situation (or it stops from time to time)

Or it is Just my device ?

Thank you for your hard work and this great ROM!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Yeah, I had the time to fix the server (well it's an JSON on GitHub that gets filled by an script and there was an syntax error in it because the build failed and the script added empty values to the JSON.).

Strange that encryption messes everything up. I am encrypted since Lineage supported that and Mint OS didn't exist then. I one time did an OTA (and because of secure boot it couldn't reflash Magisk automatically because it didn't ask for the decryption password). Do you have secure boot enabled? Where it asks for your screen lock while booting? I have.

Screen light works fine for me. I always use automagic brightness.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
Nice job fixing the OTA. It's a great feature that I really like in MintOS (was one of the reasons to pick).

I had secure boot when I had issues with the update, now I don't. The scenario was the same all the time, update with result 1.0, but the loading animation after the secure boot pwd was rebooting to recovery all the time. But now, OTA and all other things are working fine :)

Btw: does all OTA contain changes, or they are just automated builds? Can I contribute to testing in anyways?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
They infact are automated builds. One of the nicer things of Mint is that all Lineage changes get integrated automatically too, so if you want to help with testing (thanks) just check that all Mint features seem to work.

SafetyNet does not, currently, but should do again when the July security patch arrives. Checking that, for example, would be great :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Because encryption is breaking camera, OTA, and more I added big red text that encryption is not recommened
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
I have a version from 6 July and downloaded SafetyNet Test application which says I passed the test :laugh:

Will have a look to mint feature specific tests soon - but as I use it everyday it seems really good now.

Is there any way else how I should test SafetyNet? ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You need to update
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
Tried with today's update

It's failing now - so it's okay?!?! :laugh:

Shall I test each day?

ps.: OTA works like a charm
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Hi, i've tried to update via OTA but it doesn't show any updates.. it says last update was june 13. I have xt 1670 model, non encryted, no magisk. And my cam recording doesn't work, it says "error.." and i can only take pictures with 1 app. All other apps dont save the photos o videos or directly crashes. What should i do?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Would be great ;)

Until it's working I mean
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Try flashing the latest build manually

EDIT: And then use the Gcam I post here in a few minutes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] julianaito:
At first, thanks a lot for MintOS, it works great :)

I use encryption, and have a working camera and no breakage in other features of the phone, maybe because i don't use OTA. I wanted to share my experience about that.

LineageOS has a convenient copy url feature in the OTA dialog. If you long press a zipfile, it allows to download and so flash manually ROMS.

I'm also using this particular TWRP, that supports encryption https://xdaforums.com/showpost.php?p=81747529&postcount=2 (and OTA with encryption, but you don't want that)

What i usually do for each update is very generic:

- i restart in recevory

- i flash the ROM

- i flash additional zipfiles i need on top of that

- i restart the phone

- i need to restart the phone once again to get the camera working

I've read many times cedric ROM developers saying it's useless now with Android 10, but at one point i flashed the old camera fix and that may help. I'm sharing the link as it's no more available through magisk: https://sourceforge.net/projects/ma...e-uploads/LiveDisplayFixUnity-25.zip/download

That being said, your mileage may vary and i have setbacks once in a while, the red warning is totally justified ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Camera didn't work at all for me and someone else here in the thread I don't remember so and I'm now decrypted - as he - and camera works for both of us. The copy URL way of OTA works perfectly fine - that's the "recommended workaround" ;)

EDIT: Ah and the TWRP I linked in the OP is worth a consideration - it's at least 1 version newer than that one you linked. And it's official.

EDIT2: The devs tell the truth - the fix is long incorporated into ROMs but something still seem to change because so many users flash it so often... Another mystery about Cedric.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] julianaito:
I've just tried that TWRP, installing zipfiles leads to

Unable to mount /system_root

, and files actually not being installed :|
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
Update: July 13; failed
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] viktorreznovBR:
Yeah well, the camera is a difficulty on G5, but I want to ask some things.

Apps like Instagram usually use the camera snapshot, this is very noticeable in Stories on Android. When recording videos in snapshot there is usually no problem, but using WhatsApp camera it's say that "the file is not compatible".

This bug can be solved or mocked? Other camera apps cannot rec videos, too :/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Did you swipe to allow modifications on twrp first start?

Did you format data to remove encryption (wipe then option on right) and reboot to recovery? (this will format everything on internal storage)

Did you advance wipe system?

Did you advance wipe internal storage? (again everything on internal storage will be gone!)

If you can't mount system after doing all the above I don't know what is wrong
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
SafetyNet fixed in tomorrow's build. July security patch is out tomorrow too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
When that error occurs you need to restart TWRP. It is an TWRP bug (NOT on device side). It will be fixed in the future.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Camera is just magic :/ Can't do anything about it. Maybe [MENTION=6982924]m_vaisakh[/MENTION] or [MENTION=5982915]CodeZero[/MENTION] can - but they did try already.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Which version of OpenGapps is best for this ROM?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I always recommend nano (android 10 arm64)

It contains the necessary system files to give full functionality without installing bloat or replacing any system files you don't want replacing
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
But I mean, would OpenGapps Full+ work on the devices, without causing black screens
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Why would you want to install full?

It doesn't give you any extra functionality but installs a lot of Google apps to system. When these apps are updated the original app is still in system and the update is installed in data. So you now have two versions of the same app on your device reducing available storage space!

With nano you get all the same functionality but without the added apps being installed to system - you can manually install the ones you want from the playstore and you will only have the latest version on your device
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
That is a popular misconception, OpenGapps automatically removes the stock apps.

I really wanted to know what the Dev thinks about it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
This isn't true - it will replace apps already there with it's own version if duplicate package names exist (could be bad if you don't want these replaced for compatibility reasons) and it will install additional apps

Full gapps contains

https://github.com/opengapps/opengapps/wiki/Full-Package

Eg it contains

Google Play Books

Google Play Games

Google Play Movies & TV

Google Play Music

As an example - nano doesn't

Full also contains apps that will replace existing rom system apps - this could be bad as explained above

Refer to my previous post as to why I recommend nano
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Looks like I messed up indeed

Super does, Stock does, Full doesn't, Mini does, Micro does, Pico does

Also it looks like you can't get Pixel Launcher 10 without at least Micro, if you pick Nano you will just get Pixel Launcher version 7 from the Play Store (that version is outdated)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
In any case I just tried with OpenGapps Stock

and while things actually seem faster

there are two problems: Google Camera won't start (it works though on the smaller OpenGapps releases), and Google's 2FA authentication thinks the device is a Pixel 2 :p

otherwise, I don't see any evidence of any AOSP/Stock apps that remained on the system, except for com.android.dialer, apparently left on purpose according to the log.

now, I know that there's some fix for the camera about the Camera API, but I'm not certain how it works.

Maybe [MENTION=9942894]nift4[/MENTION] knows what to do
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The gapps package you flashed replaced the camera app in the rom with Google camera - This is what I referred to earlier about apps being replaced you don't want replacing

It may think it's a different device if the roms build fingerprint has been changed to a pixel
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Hi, i've been having problems with video recording in every version of this rom. When i first install the rom it is all good.. the cam works as for photos as video recording.. and for a reason i do not understand it stops working passed 2 hours of installation. And now camera works only for taking photos.. video recording is broken.. it gives an "error" and never saves the video i was recording. Is it only happening to me? i have xt1670 model.

pd. I've already tried the last build released.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Nano
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Pixel 2 is due to SafetyNet
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Try rebooting. Never happened to me.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
Update: July 14: works!!! :laugh:

Where do I know how the device identifying itself? Mine shows XT1676...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] r0nr:
ROM Firmware Required: Oreo Stock

Is it possible to flash this if you are on lineage 17.1 or do you need to go back to Oreo Stock and then flash this.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Yes you can just flash
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
I had encountered almost the same problem, except that it does worse for me

The stock Camera works fine for photos, but for videos it outright crashes

Reboots do help fix it for a while, but then after a few hours the problems arise again.

As for the Google Camera app you get from the Google Play Store, it's worse: it just literally crashes. (exactly the same behavior as the OpenGapps version)

Is it because of Motorola/Lenovo's camera post-processing drivers? Or is Camera2 API enabled?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
1. The OpenGapps version is the Play Store Version

2. It's named GOOGLE Camera, is this a Google device?

3. Use the Gcam Mod I posted here on XDA
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Same result. Tried with Gcam posted by you. It works at first and after a while video recording stops working.. rebooting phone fixes it but after a couple of hours same thing happens, very annoying. Hope u could find a solution. Model xt1670.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
That answer was about the Google Camera part of the post only. I am no expert :( Go to the Lineage thread and report the issue there - with logs. This is only Lineage with some tweaks at all and I can't do anything about camera.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dorpm:
Great ROM for me. Thanks a lot!

But my son reported some issues with Snapchat. He is not able to login. Any ideas?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Most likely it detected your phone is rooted/did not pass safetynet

Flash masgisk

Make sure the device passes safetynet

Repackage magisk manager with a random package name from settings menu

Use magisk hide to hide snapchat from detecting root
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dorpm:
Thanks for the hint. Obviously the issue was caused by the GApps which I have used (https://drive.google.com/uc?id=1RGnDkldH7SA58ptNyJrZWuVGdSKQa7tX&export=download). These are not recommended as we have seen now. Therefore we have changed to the Open GApps full version. They are working better. But there was also a small problem with them, because Trebuchet constantly shut down automatically after installation. Thus we changed to an other Launcher. ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
As I've already explained don't use open gapps full version - use open gapps nano version

Why? Because as you've experienced versions higher than nano will start to replace apps in the rom with Googles versions of the app which may not be compatible plus you'll also get a load of bloat apps as well like Google News and Google books

These apps will be installed in system taking up space if you don't use them

Even if you do use them when they are updated the original version remains in system & the update is installed in data so technically you have two versions of the same app on your device taking up more storage.

Much better to install nano & then manually install from the playstore any additional Google apps you want

I'll also leave this quote from lineageos themselves regarding gapps
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dorpm:
Thanks for the explanation (before I didn't read it in the thread that closely). For my phone I normally use the nano version and I am happy with it. But my son has some games on his phone (and snapchat and ..) which may need a lot of Google functions which I am not aware of. Therefore I tried the full version and after changing the Launcher he is happy now. ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Nano offers the same basic Google functionality as full minus the extra Google bloat apps & replacing of apps in rom with Google version

You would then need to install google play games manually from the playstore but most games that require that would prompt you to install it

Glad you got it working
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dorpm:
No issue anymore - I found the option. :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Hello,

I am installed this but the device randomly crashes applications and the phone reboots itself.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I do not have this issue. What ROM, Gapps, Root and Mods? Did you try a clean install?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Clean Install Min os (21/07/2020), No Gapps and no mods.

The phone will freeze for several seconds than crash out, the freezing also knocks out the adb connection making itt impossible to get the log cat out.

It seams to be connected to audio and network activity.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Installed 22/07/20 with the same issue.

Can't get logcat during the crashes but this is it after rebooting: https://paste.ee/p/K3xcU
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gueschmid:
Does this ROM support Signature Spoofing?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
For reference: Issue discussed elsewhere
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sebas_08:
I loved this rom, it is the best I have tried for the moto G5 but when wanting to update with OTA it does not allow it and it only leaves it in the recovery. I wanted to know if there is a way to solve it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
What recovery? Do you have Magisk or Gapps?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leoteodoro78:
OTA updates doesn't work

the rom itself + gapps (pico) are installed, only
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rammingspeed:
Everything seems to work quite well, thanks for this outstanding ROM!

I used OpenGapps Mini and it rocked.

Few advice for those who never ran the ROM yet but didn't read all those pages of replies:

- Use OpenGapps Pico because it shouldn't use as much disk space as OpenGapps Mini although both work fine, if you want the Pixel Launcher go with OpenGapps Micro or use something similar like Lawnchair 2 or Rootless launcher. Don't go over OpenGapps Mini or stock apps will begin being replaced and this can cause breakage.

- Don't enable encryption unless you don't want to use the OTA updates

- When you update your phone, make sure it either remains plugged or unplugged during the course of the update, or it'll just fail and most probably leave the phone in an unused state (TWRP error 7)

- The Camera will be able to take photos, but not record. If you want a working camera, use an Android 8.1.0 ROM.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
...or try the Gcam mod I posted here on XDA :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Twrp? Encypted?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leoteodoro78:
twrp 3.4.0-1 and no, It's not encrypted
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] J4cket:
OTA working here but I cant pass safetynet, droidguard crashes.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
microG?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] J4cket:
Yes either nanodroid or your magisk module droidguard helper crashes as soon the check starts.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
That's a microG bug.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
August security patch is out - download in OP.

(Also, ARCore works)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
Google lens work?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Via Google Assistant, yes. The dedicated app is not installable.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
download now?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
What do you mean? Anyway, here is an direct link to the build: http://nift4.cf/sf-dl.php?url=/mint-os-project/lineage-17.1-20200810-UNOFFICIAL-cedric.zip
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
OTA update does not work. For this reason my question about it.

I installed the new update and I had to put everything since google services were deleted and everything started to fail.

Another thing is that when you restart the phone, the camera is deactivated, I must restart again to make it work again.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
OTA works here...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
How can I upgrade to OTA?

I hit the part of looking for an update but nothing ever comes out.

Systems> Updater. I give it a search but nothing appears.

I only have the ROM installed, OpenGapps Pico, Magic Mask
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Thanks for bringing this to my attention. I will fix that soon.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Fixed & tested
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
Thank you. It only remains to test if the error has been corrected.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
OTA update if it works from version 16/08/2020. Thanks

Query: When wanting to record a video by WhatsApp it says The file format is not supported, can this be fixed?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I don't have WhatsApp, don't plan to install it and Camera is too hard for me anyway, I'm sorry :/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] darblack:
a question. every day there are updates. are updates included every day?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leoteodoro78:
simply restart the device, it happens a lot, camera kinda locks

I was making an account on a local fintech and It asked me for a _selfie video_, the camera app was freezing the entire phone and them none of other apps would work, only the first record work (app asked to use the camera 2 or 3 times, It was a pain)

I'm kinda scared how this smartphone heats and the battery lasts too, this is my first powerful smartphone. I saw some youtube videos reviewing this smartphone and they said It lasts at least 8 hours, I didn't measure _efficiently_, feels like It isn't lasting 4 hours. It's been a day I'm using eva kernel and apparently It isn't working too. am I crazy or does it work that way? do the battery and the heat (when using instagram's camera, playing candy crush... etc) goes too high with you guys? I didn't use stock rom, when I got this phone I went straight to xda, tested some roms and went with this one (XT1672)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
what do you mean?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oprf:
OTA Query

Hey, Great ROM love it, really smooth too.

Quick question. I just received an ota update, i click to download it. It downloaded LinieageOS 17.1 - 20 Aug 2020. Is that the update for this ROM or should I ignore it and wait for the OP to be updated?