yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
try installing v20.1 it's working fine for me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alejandro miranda:
thank you very much codezero we just hope that in the next patch security will fix that and fix the lienage launcher since sometimes with the gestures it stops, and optimizes it more in battery
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Palko21:
Chrome Version

For anyone who is having issues with Chrome, I went trough a couple versions of it, and I think this is the latest release that has no video playback issues: https://www.apkmirror.com/apk/google-inc/chrome/chrome-71-0-3578-98-release/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gianfo199:
2 hours of test and I'm in love.

Excellent work, I don't have any bug.

We appreciate your fantastic work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Darkyuuki:
Can someone post some pictures for me to have a look?

I'm in doubt, can I install even though this 'SELinux is permissive' bug is safe?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jpm92:
Has anyone that had camera problems in Pie tried this ROM? Is camera fixed here?

I'm on LOS16 and camera doesn't work (green tint, crashes,etc)

Thanks for your work [MENTION=5982915]CodeZero[/MENTION]! Amazing as always!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Google/YouTube lineageos 17 - I'm sure you'll find tones of pictures and videos of it on devices (it will look the same on any device)

Also Google what SElinux is - basically you cannot encrypt your device & any security service/app that requires it to be enforcing will not work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
If that is an Moto G5 yes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cloudane:
BitGapps is abandoned (well, "paused for some time" which is the same thing IMO) - can you use "normal" Gapps with this rom?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
Yes: https://sourceforge.net/projects/opengapps/files/arm64/

sorted by date, I recommend pico version
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cloudane:
Thanks it was worth a try but gets "Android Setup keeps stopping" on first boot if I flash this one.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Did you clean flash rom before trying another gapps? You can't (usually) flash one brand of gapps over another

If yes and you're not bothered about going through the android setup at the start simply disable it in the build.prop

ro.setupwizard.mode=DISABLED

Use twrp to copy build.prop from /system to sdcard or pc - edit it and copy it back making sure its permissions are rw-r-r or 6-4-4
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cloudane:
Yes this was a clean flash immediately after wiping system/data/cache, flashing the ROM zip and then immediately flashing the gapps (before first boot)

The build.prop option worked after wiping data and cache. Doesn't make me very confident about how well the ROM works though. I'm thinking maybe it's best to stick with stock with this device as it seems the custom ROMs for it are a bit buggy, no offence to the authors. The pixel experience ROM had its fair share of glitches as well.

Edit: AOSP ROM seems relatively solid so might try running with that for a bit.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You can also try Nano OpenGapps, I use it and it works well ^^

Ah and Lineage and AOSP are literally the same (device tree) ...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cloudane:
Yeah tried Nano as well but it too wasn't having it without that build.prop tweak

I quite like Pixel Experience and that's the nearest I have to working fully atm, minus some issues with adding devices to smart lock...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
edit: lineage 17 cannot read my "old" sd-card, whereas twrp can. what's the matter?

and i don't know if this is the right place to ask, but: i would like to have a function like "use external sd as defauöt install path", like in earlier decades, without the need to format the sd as internal storage (i think it's too hard - impossible? - for me to recover from an encrypted sd my pictures etc., if the phone is crashed). any ideas anyone?

thanks a lot!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
SD card as Internal Storage is the better idea, but yes: HAARD to recover. You need to copy the encryption key from the working(!) phone, then use, then when the phone crashes you need to decrypt the SD. Google that, too long to explain here.

SD card without Internal Storage is as default install location possible, untested + no gurantees: Run as root in the terminal app:

pm set-install-location 2
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
FINGERPRINT not working

I have searched this threrad, but didn't find a post to that topic. So bear with me, if this might be a repost.

Long story short: I cannot configure fingerprint in "screen lock" on my device. Any ideas anyone?

---------- Post added at 19:19 ---------- Previous post was at 19:17 ----------

Thank you so much for your fast and kind answer.

How might be possible to copy data FASTER with a tethered phone like directly inserting the sd into the card reader? Under Win 10 there's a program called "TeraCopy" which is quite handy and pretty fast. Under usual circumstances there's that "special" Windows copy dialogue...

edit: Sorry for that question (RTFM...), but how do I tell Android to store data on the sd and not on the internal storage? Just tried to move my media back to the phone - got on the internal storage, not on as internal formatted sd... Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
For fingerprint make sure your base stock firmware is oreo

For sdcard as of (I think lollipop} you cannot move apps to sdcard

You can format sdcard as internal storage as mentioned

You can also use something like link2sd (requires root) to create symlinks so apps are on sdcard but still behave like thay are on internal - requires you to create a second ext partition on sdcard and the more you link the slower your device will become. It won't be encrypted but relies on the symlinks to function

Also even if you set your phone to install apps on sdcard as default they probably won't honor the request as their manifest will be set to install on internal

You can decompile the app & change it in the manifest but as the app will need resigning you won't be able to update it (unless you do the same process with the same signature) and the app may not work properly if at all if the signature is protected
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
The app will honor when he goes to Developer Settings and enables something like "Force allowing External Storage" (my phone isn't on English), no need to decompile apps ;)

---------- Post added at 10:12 PM ---------- Previous post was at 10:11 PM ----------

About the edit: Settings > Storage > SD-Card > Three dots > Migrate data

---------- Post added at 10:15 PM ---------- Previous post was at 10:12 PM ----------

About copying: Do you mean from your PC to the phone?

You can use USB-OTG to plug an USB stick in your phone. Although only USB2, much better than MTP (that is Android File Transfer)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Addition: I noticed that [MENTION=6880122]gambacherkalbenstein[/MENTION] sounds German, and I'm German, so I attached an Screenshot of the Setting. It should be clear what switch (it's turned off) ;)

Another addition: It will crash some apps when they are on SD. Simply move them to internal then.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
THANKS @ ALL

But I'm still without my fingerprint sensor and I donnot want to switch back to oreo, from there back to LOS 17.1 ...

Any ideas anyone?

edit: if I go back from los 17.1 to stock oreo, gaining fingerprint back, and then turning back to los 17.1, will a backup bring not just my apps, but also my SETTINGS back...? #noob
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
There is also a flashable zip that has the same effect as stock oreo base, let me search it.

---------- Post added at 06:42 PM ---------- Previous post was at 06:36 PM ----------

There you go, simply flash in TWRP

(Thanks Telegram group for providing this)

https://github.com/nift4/nift4.github.io/releases/tag/cedric-fp-fix
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
Tausend Dank!

Do I need to do a backup before flashing?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
If something goes wrong you only need to reflash lineage to fix, so no.

EDIT: About thanks: I would like it if you press the button dedicated for this ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
WORKS!! WORKS!! WORKS!!!

tausend, tausend dank nochmal!!!

(en: a thousand thanks)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
Is there newest fully working secure build avaible to download?

I need 64bit os for some test. Cant test app on stock 8.1.0 rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
Latest build is selinux enforced and stable enough or recent pie roms (lineage, carbon, etc.) are 64bit and selinux is enforced

Android Q has no safetynet fix

and

selinux enforced, but kiam001 pie roms include a safetynet fix and are enforced:

https://sourceforge.net/projects/kiam001-build-roms/files/Device Cedric (Moto G5)/android9/

crdroid or bootleggers or aosip, take the most recent version date
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
SafetyNet is fixable via Magisk on this ROM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
BTW In the build with March security patch that is published by [MENTION=6982924]m_vaisakh[/MENTION] in a few minutes (he prepares the changelog) encryption works :victory:

EDIT: One post under this post is the new build with working encryption
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
New Update Available

19 March 2020

I built on [MENTION=5982915]CodeZero[/MENTION]'s behalf, because he is still busy.

But thanks to him, he pushed his updated sources.

This build is based on his updated sources.

Changelog:

1. Newer Sepolicy

2. Removed unneeded Camera blobs (Reduced Zip size)

Note: If your camera crashes, reboot and it should be fine.

3. March Security Patch

Bugs:

1. FM might be broken.

2. WFD doesn't work well in non-desktop mode.

Download: https://drive.google.com/file/d/1ltmHt4n8QO76LpOtnrCfm24DKAYxBXEJ/view?usp=drivesdk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Camera: Known issue that exists since Pie. Developers are trying over and over to fix but it did not work yet.

Trebuchet crash: I do not experience this issue. Try deleting app data for Trebuchet.

Screen recording: The built-in app is laggy, yes. I have this too.

Battery icon: Works for me on the latest build by [MENTION=6982924]m_vaisakh[/MENTION].

Gapps: I use the official ARM64 OpenGapps nano and I can download large games too. Make sure that you flash Gapps before(!) first boot.

Performance + Battery: If you want you can install the Eva EAS+ Kernel by [MENTION=6982924]m_vaisakh[/MENTION] (3.0 coming soon). It is very good for performance and battery.

Rooting: Did not test GLTools, but I agree.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
Missing Permissions section?

I've just upgraded from LineageOS 16. In that, there was a section under Privacy → Trust, that would list each app, and you could press on a listed app and it would show and allow you to toggle all permissions for that app. That seems to be missing in LineageOS 17 — or was it removed in Android 10?

I rather miss the ability to audit permissions per app. Have I just not found where it is in LineageOS 17, or do I now need to install some other software to get it back?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
It will not come to LineageOS 17, yes.

The replacement is Privacy > Permission Manager (or something like that).

That does not have all features as Privacy Guard had, I don't know if they will come but it is not impossible because LineageOS 17 is still beta (not this build, the ROM; That does not mean it's buggy, only features are missing)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
In that case, I might go back to LineageOS 16 (which is also still receiving security patches) until there is word of this being added again. Thank you.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
It will not come, as I said. It is replaced.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
No keyboard swipe

To enable AOSP keyboard swiping In LineageOS 16, I would copy libjni_latinimegoogle.so, from the swypelibs-lib-arm64.tar.lz package in the appropriate OpenGApps release, to /system/lib64. However, this technique does not work for me with LineageOS 17, both when I copy from OpenGApps and from BiTGApps (I see they use the same file, anyway). Is there an alternative method for enabling keyboard swiping that doesn't involve installing extra stuff, particularly Google?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
The libjni_latinimegoogle.so does work in Android 10, OpenGapps installs it normally. Probably the location changed. Look at the OpenGapps shell scripts.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
That put me on the right track. I discovered that the file goes into /system/system/lib64 in LineageOS 17.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
So it works?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
Yes, thanks.

Sent from my desktop PC using Firefox.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
Dark theme schedule and laggy VPN

A couple more things I have noticed.

I cannot get the dark theme schedule to work "from sunset to sunrise". It does not seem to detect sunset or sunrise, so it never changes back or forth. The same goes for Night Light. I can work around the issue with Night Light by setting my own specific times, but there is no option to do that with Dark theme.

Secondly, (using OpenVPN for Android) VPN connections seem to get increasingly laggy as time goes by. It is not an issue with the speed of data itself, but with the network request. Browsing, interacting with network apps, etc., initially seem fine, but after a few minutes, it begins to take a dozen or so seconds before network operations become responsive (browsing, swiping down to refresh data in some apps, etc.), as if something is delaying my network requests. When I disconnect the VPN, everything is fine. It is not a problem with the service from the VPN provider, because I can connect with a different device and have no issues, and I've tried different VPN servers. This issue actually only started with the last few builds of LineageOS 16, but appears to be present in LineageOS 17, too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Sunset and sunrise data comes afaik from Google - do you have Gapps?

VPN is probably an LineageOS issue for every device, as LineageOS 16.0 doesn't get any changes on the device side anymore but the issue still appeared.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sibbe314:
latest version (?) and camera

Thank you all for your great work.

I flashed Lineage-17.1-20200319-UNOFFICIAL-cedric (coming from 8.1 stock) and here is what I would like to know:

- Is this the current recommeded version? I recognized that the files on the first page of this threat seem not to be the latest versions since there are in between further links to different ones. Am I right or should I always chose the ones from the first page? (The one I have installed is taken out of the discussion.)

- Especially because the rom is really great it is too bad that I also have camera issues. The app crashes from time to time, some pictures have wrong colours and video is too dark.

-> Can anyone say, why there are some installations (mentioned on the first page of this threat) that do not have these problems? Is a workaround possible?

thx a lot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Version: Yes, it's the recommened version. [MENTION=5982915]CodeZero[/MENTION] is busy as hell, so he didn't update the first post.

Camera: No workarounds possible as no dev even understands the issue. (It's very complex)

Why some people have the luck that it is working good: They don't test right or they simply have some hardware that works good (not confirmed)

---------- Post added at 12:27 PM ---------- Previous post was at 12:25 PM ----------

BTW [MENTION=5982915]CodeZero[/MENTION] the source links have a wrong branch, OpenGapps is now available, SELinux is enforced...

The main post needs updates!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CodeZero:
When i release the new build i'll make those changes.. opengapps links updated
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
Ah, that might explain it for me, since I might have stopped using Google around then.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] SidKodkany:
How's the rom overall? Can it be used as a daily driver? Any major bug or anything? I'm currently using pixel experience 9.0!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Camera green tint ( in low light usually) and WiFi display are the only bugs. If you don't use them very much, then it's perfect for daily driver.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gambacherkalbenstein:
PHONE APP

hi everyone

i have two questions about the phone app:

1) getting a partner on speaker and then deactivating it closes the connection

2) how can i get rid of that annoying "minute beep" during calls? i cannot find any settings for that...

thanks a lot!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
1) What? I don't have both issues :confused:

2) You can try at your providers Settings (I mean webpage or phone bot)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
[MENTION=9942894]nift4[/MENTION] [MENTION=9257919]SebFox[/MENTION] did you know any solution to OpenCamera stuck after first picture taken?

For instance:

- With the Rom only I didn't have any cam functionality at all.

- during installing the various fixes zip, I choose to enable Cam API2 and EIS

- now I have the camera working with the default App for pictures and video

- open camera works aswell, but after first taken picture I can't take another one. Pressing the shutter for the second picture nothing happens and the preview get's slow and then hangs completely

Hopefully someone has figured out a solution for this yet? :fingers-crossed:

L
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Only to let you know: Known issue, can't be fixed, no workarounds.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Sibbe314:
open camera

Enter the gallery each time you took a picture with open camera. Then go back and you will be able to take another one. It works sometimes.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] geemcjim:
Settings → Sounds and vibration → Vibrate every minute
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] SebFox:
Open Camera does not work. The default camera works most of the time for me. Only in subobtimal light conditions, such as mixed indoor / outdoor light or heavy backlight, colors get messed up. I had to take a few steps:

* Install "Various Fixes for Moto G5/G5S" from Magisk modules.

* Reduce the camera pixels from 13 to 8 megapixel in the camera settings. This solves the missing borders in pictures.

* Leave the flashlight set to automatic. Enforce flashlight when colors still are messed up.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fab_ben:
Slightly different bug here: activating loudspeaker mutes mic for partner on the other end. Stays that if loudspeaker is deactivated again.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
What is everyone doing? Everything works find for me here :confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fab_ben:
I don't know either :/ did a clean flash from the last stock ROM. But since you responded so quickly, might I just ask whether you really tested calling someone and putting them on loudspeaker?

Don't get me wrong i believe you when you say everything is working, I'm just curious...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I did yesterday :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fab_ben:
Hmmmm
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Only to have it said: I'm on an preview build with changes that will come with the April patch, but it's nothing about telephony
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fab_ben:
I got it! It was the various fixes module from magisk. At least I think that, 'cause calls on speakerphone work since I removed it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Hmm, that's possible but strange. Anyway, it works
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Ramshu97:
Hi,

I do have a query about installing the rom over pixel experience rom 8.1.0 Oreo version.

Previously I tried another rom and I lose the IMEI

When I'm installing this ROM if I lose what should I do?

Can you sometime help me to install the ROM

Thanks in advance
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Sorry, my bad I read wrong.

Make sure you backup persist and efs partitions before flashing. And you should have latest Oreo stock flashed before flashing newer roms.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] npramos:
Some issues that I found:

1 - Green tint issue (as m_vaisakh told you). Some one here (I don't remember who, sorry) said that Asus Camera mod works fine, but not for me. I tryied GCamMod_v.3.5.0.apk and it works pretty good:

https://drive.google.com/file/d/1BC4e0Xdb8sPeQdtIBkPBMYHZttFiM0iV/view?usp=sharing

2 - When Voice Match ("OK Google") is active, the microphone of wired headphones doesn't works with some apps, but works fine with regular phone calls. I tryied voice messages and calls using whatsapp, telegram and facebook messanger, and the native screen recorder app with voice enabled.

I got the same problem using AOSP 10, so I'm not sure if it is an issue of these custom ROMs, for me it looks like an android problem (google side).

Just another detail: If you want that voice match works, the google app must be a system app. I learned it the hard way.

I am using this ROM daily and I am very satisfied.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] moj2911:
Hi guys,

Sorry for the noob-ish questions. I'm generally alright with flashing roms but have been reading about some flashing issues with the G5. So just to clarify I have a few questions.

1) I am coming from stock rom so can the 64-bit TWRP from the OP back up the EFS/persist partitions to prevent IMEI loss? If so, how do you do the EFS/persist backup?

2) Similarly, if needing to revert back to stock rom, can you flash/restore the 32-bit stock rom via the 64-bit TWRP?

3) Does this ROM support OTA?

4) Is Gcam 5.1. supported? I've read that this is the only compatible Gcam mod.

Thanks in advance!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
1) Yes

Go to TWRP and open Backup, select persist and efs, swipe to backup

2) Yes

3) No, it's not offical so no OTA

4) Gcam 5.1 is working fine, newer gcams have various issues but PMGC Gcam 7.2 mod works fine except video recording.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] moj2911:
Thanks for the clarification. Does video recording work on gcam 5.1?

And if I want to switch between android 10 roms, do I need to reflash stock oreo rom every time so that the fingerprint sensor works? Thinking of checking both LOS and PE to see which is more stable, unless you have a suggestion between the two?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Yes

No

It's your choice; stability is the same - but I prefer Lineage :)