yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] shaDNfro:
Still no Orea available? ;(

But nobody is aksing for it. Guess the G5 is dead now
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Alex230799x:
Hello, I have one question.

I have a XT1760 variant model, amx with 2 GB RAM/32 ROM, with Android 8.1.0 Oreo with security patch from 1 February 2019.

Can I install this rom with total security? Or maybe I gonna will have issues with this?

EDIT: I installed the ROM but the fingerprint and gesture reader does not work, some way to fix it?

EDIT 2: I Install a Full Stock ROM 7.0 Nougat with version from TWRP, and fixed
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] dadm:
Hi somebody can be update this rom to actual security patch?i,m flashing much others roms and this is still the best for me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zzDoWnzz:
How did u overclocked GPU on qualcomm bro?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lopwidth:
Works good on XT1676 reteu. Running much more stable and smooth than oreo, and no connection to moto servers or other unnecessary, battery life is much better than stock 8.1

I have a problem with /data/media will not function correctly if i try upgrade to twrp flashable oreo, then downgrade to this(fix permission, then restore backup)

Upgrading to Oreo creates a fstab.qcom.bak in /data/media/0 when downgrading i have to wipe to get it working again. Files are still there in some file browsers and google photos, but cant open.

Is this related to something this specific rom does? Or byproduct of something else?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
Hows battery life on this rom?

I looking for Best stable custom with good battery life. Must be 64 bit. Android version dosent matter for me.

Any help?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
Great rom. Smooth ,good battery life. But fingerprint reader not work. How i can fix this?

My stock rom is 8.1.0 i can downgrade to official 7
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
Anyone is still there? How can i fix fingerprint?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
You have to downgrade to stock nougat with fastboot to get nougat fingerprint firmware. You seem to use custom nougat stock on stock oreo firmware.

!!! FIRST !!! backup efs AND persist before you flash stock nougat
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
I cant downgrade to Stock 7.0 i tried flash Stock 7.0 and i have only fastboot mode when i finish and start phone.

OS not start.

I only can flash stock 8.1.0 and normally start phone.

I can flash this custom too. Everything without fingerprint work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] zitronenmelissa:
Never downgrade to Nougat with a install script, you have to flash step by step and skip bootloader, that's why it failed with your script.

The reason why you reboot is the first step in most of those scripts: fastboot oem fb_mode_set with this step fastboot will always reboot to fastboot. You can "clear" this with: fastboot oem fb_mode_clear

Downgrade works this way:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

Keep an eye on extracted firmware, how many system.img_sparsechunks you got
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Morricorne:
Thanks i try this.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
[MENTION=6252172]Fedray[/MENTION]

Hello, I am using this on my XT1670 without any issues.

Is there any chance of getting an Oreo update? Thanks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mugunth13:
broken link

the links given above are broken, please fix it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Fedray stopped working on Cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Pocholo666:
amigo no puedes bolver a subir la rom? link caido y me urge esta rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Tiki Thorsen:
Use this instead:

https://xdaforums.com/g5/development/7-1-x-lineageos-14-1-moto-g5-t3611973

Is updated to the latest security fixes and is the ONLY custom ROM that works without any issues/bugs on Cedric.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rahimali:
download from here => https://www.androidfilehost.com/?w=files&flid=316751
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gerber.19:
Is this list of commands working fine for Nougat. I am really tired of oreo (as it is slow).

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
What's the issue I want to install

---------- Post added at 11:19 PM ---------- Previous post was at 11:15 PM ----------

Substratum is in something called the framework . The framework is prebuilt by the ROM its impossible to make stock ROM oms supported . However you can still use root
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
ROM didn't boot for some guy, but for others it's working so I want to know if it's variant issue or idk then.

Variants XT1670/72 booting perfectly! Added to op.​
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] applesauceChris:
Everything is working fine XT1670 Latin America 2gb RAM, 32Gb.

Thanks for this build, going to keep it until all bugs get fixed on Oreo. Thanks to all developers. Cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Dymony:
Hi guys..

First of all, thanks Fedray for your work ..

I have the XT1676 and it happened to me as a companion, it did not go beyond the blue and red bike logo bootscreen.

In the end, I managed to get it to work and go from the bootscreen, by untying the Magisk from TWRP and reinstalling it, but even though it starts the phone and passes the bootscreen, it does not pass the safetynet test.

I'm sorry for the English but I do not speak it and it's the google translate XD:angel:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Flash 14.5
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Delete pls
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Dymony:
Exactly with "Magisk v14.5", because with "Magisk v14" it also starts the phone but in the safetynet test it gives me an error in "ctsprofile and basiclntegrity"

but with "Magisk v14.5" ctsprofile is in red, but basiclntegrity if it is green
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I'm getting green in both tests, did u install Xposed?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
It won't pass if you have installed the following : Another root method , Custom kernel , Xposed . If it fails uninstall it reboot , then re install
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
New version! Clean flash recommended.

Changelog:

-Removed Magisk and BusyBox from installer

-Firmware updated to NPP25.137-93 with November Security patch

Download here!

If you get stuck at "Unlocked bootloader" screen flash this -> no-verity-opt-encrypt-6.0.zip​

​
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Dymony:
Well I tried the new version and the same thing happens to me ..

I can start the phone but the safetynet does not pass.

My steps are:

1º I'm going to TWRP and wipe system, data, cache and dalvik-cache

2nd Flash the ROM "new version"

3rd mobile start "does not pass the logo bootscreen"

4th I go to TWRP and flash this "no-verity-opt-encrypt-6.0.zip"

5th Start the phone correctly

6th I go to TWRP and flash this "Magisk-v14.5 (1456) .zip"

7th Start the mobile, I give installation permission to unreliable applications, update the "MagiskManager-v5.5.0.apk".

8th I take the safetynet test and it does not pass it, it marks me

ctsProfile: false

baiclntegrity: true

:confused::crying:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Cricamju:
Fingerprint gestures It does not work, I did a clean flash and it does not work, all the gestures of Motorola work less that, please fix it, great job
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leofazendam:
Gapps?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
You are right is not passing now, maybe Google updated safety net, I'm sorry

They work, I'm using it, enable them in Moto > Moto Actions > first option

It's stock, you don't need gapps!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
The fingerprint gesture is working here
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Fixed boot, no need to flash no-verity-opt-encrypt, uploading tomorrow!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
Thanks for the continued support. In my opinion stock + root + xposed is the best, I miss only the LED notifications.

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MsCorvette:
How to root method is the better?

Enviado desde mi Moto G (5) mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
What you prefer I use magistik but also supersu SR5 works.

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MsCorvette:
Flash magisk and that's it?

Enviado desde mi Moto G (5) mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
Yes

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MsCorvette:
Ok, I keep waiting the update, thks for ur support

Enviado desde mi Moto G (5) mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Finally, link is ready! Enjoy it.

Changelog:

-Deleted BusyBox and Magisk from installer

-Firmware updated to latest with November Security patches

-Fixed not booting issue

https://drive.google.com/open?id=1LNzzmiIuEC3litUuf6k5gi48WzvFtlP9​
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Thanks fro all your hard work! Brilliant ROM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
Perfect thanks. I find this construction the most reactive and performing of all the various mods present here on the forum. the maximum would be to implement OMS and the notification led, really nothing can be done? I managed to get the led during the charge with third-party applications but I saw that substratum does not work or better works only partially.

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
I've explained this already , OMS is in the framework which can't be edited once it's compiled
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
So I've managed to boot it into the os, but then it reboots every 10 seconds, it's not a bootloop but more like a constant restart, and it won't stop, know why it's happening?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] peter9811:
Internal code fail (?)

May you change lines on invalid number line
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
What did you install? Other than the ROM... For me a clean flash is working perfectly. Remember it's stock, you don't need GApps.

And of course I don't know what's happening if you aren't giving me proper logs. :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
I flashed only the rom itself, there's nothing to log about on the installation side of things, the only unusual thing is the reboots which are constant, which would make it very hard to "log".
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I don't know, no one is facing that issue, I tried the rom myself and it's working perfectly. If you can get to launcher then you can get logcat, if you can't then I don't know, I can't help you. What variant do you have? XT16**
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Led is kernel side, if I find how to enable led I will do surely, and about OMS there is no way, I'm sorry.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
So I took a really long ride, I installed the firmware complete with fastboot, doing so I upgraded partitions and modems and I must say that the quality in reception and call are at the highest levels this is the Motorola that I remembered. Then I installed the TWRP 3.2.1.0 recoveri and I did a clean installation of your construction magistk 14.5 xposed89 and restarted everything works really well thanks.

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
That sounds great. I am going to give stock a try in the next days since the call quality always bugged me with custom ROMs.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Exanneon:
I have the XT1675 and I can't even get past the setup, but don't worry, I believe this is a hardware issue as the same thing is happening with other roms including stock firmware, except the reboot interval varies on different roms, so I'm sure it's nothing to do with your rom in specific, merry christmas!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
Hi, is it possible for you to post the stock ROM for XT1675 or guide me to where I can get the flashable zip pls
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
This one didn't work for you?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
I've not tried this one but I feel there's too many apps deleted that I use on a daily basis so want to try stock and remove apps myself. I can probably try this tbh

Also this can work on any variant right? I have xt1675
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
This rom should work on all variants. And about deleted apps all of them are available in PlayStore so you should not have problems with that.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
ROM works perfectly at the moment. Had it for 30 mins and installing my apps. No problems after 2 initial force closes when the setup was happening. Will test further and report back. On XT1675. Really forgot how much i loved stock ROM so thanks for this :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Yeah, I don't know why those two fc happen at the start, anyways no problems after that, cool to hear you are enjoying it :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
I did not do any FC, I confirm that it is the maximum fluidity and excellent battery life.[emoji6]

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] basem bebarse:
motorola file Manager didn't work with me and it keeps force stopping...

Okay when i updated it works
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
Thank you for your effort and this is very smooth and fast ROM.

Just letting you know, I have purchased the Moto G5 XT1671. I think it is the Mexican hardware version, (although im using it in Canada).

I did a clean install, (was previously running lineage 14.1); wiped dalvik, cache, data and system. Then flashed your ROM, then SuperSu. During boot up, I got 2 stopped app messages:. File manager has stopped, and appbox has stopped. Aside from that it booted normally.

Thanks

Note: SuperSU 2.79, 2.82 SR5 did not work. It says extracting ramdisk fails. After boot running the chainfire app says not rooted. Maybe you can add that to your main page to use magisk not SuperSU.

---------- Post added at 03:35 AM ---------- Previous post was at 03:15 AM ----------

Did you use SuperSU on this ROM ? I tried 2.82SR5 it doesn't work. I know magisk works but I'm curious you said it's working?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
About the two force close messages don't worry, they don't affect functioning of the rom, it's something about the latest firmware release. About SuperSu I have no idea, I only have used Magisk!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
It's always been mentioned to use magisk with stock firmware. It says it in the how to root thread in made by thefixitman
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You can probably use superSU if you change the installation type from systemless to install to system using the superSU configuration zip

Of course you would never pass the safetynet test this way
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
Thank you I'll stick with magisk then..

---------- Post added at 05:02 PM ---------- Previous post was at 05:01 PM ----------

Great thanks

---------- Post added at 05:05 PM ---------- Previous post was at 05:02 PM ----------

Ok thank you. I find magisk a bit more complex than SuperSU was but anyhow will use it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrewsd17:
How do I get better performance in games with this ROM? Here is very bad :crying:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
It's the same as stock...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Andrewsd17:
in the pixel experience I can run several heavy games with a great performance, in that it was lousy, was running at 15 fps :c
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] basem bebarse:
hdr+ mod doesn't work and the camera keeps stopping
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
Hi. Thanks for this. I was thinking about doing a deodexed rom out of NPPS25.137-72-4 but this one is more up to date so I tried yours instead.

Got it successfully deodexed except for MotCamera.apk that gave me errors. Had some problems with camera after boot as well. Swiping gallery gave some error, but installing "simple gallery" fixed it.

I just need to figure out how to use magisk modules on stock rom now. Seems impossible for them to mount :/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
So far, stock works really well :good: especially the quality of phone calls is noticably higher than on custom ROMs. Thanks :)

Obviously a modified stock kernel would be a perfect match. After all, having all 8 cores online is something that I just don't understand (don't know what Moto was thinking). In theory this phone might be capable of so much more...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
I don't see the point of not having them online - they are used when required on-demand. Comparatively in the Moto X, you had 4 cores available and 4 for power saving - in a split architecture. In the G5, the SOC is designed so all 8 are available - from a performance aspect I find my G5 much snappier than the X.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Yeah but isn't it the point of hotplugging to turn off cores which aren't needed and only turn them on when under load? Why idle at 960 mHz (lowest frequency on big cores) when you could be at 0 mHz.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] showlyshah:
Brother can u upload the stock 25.137-93 to somewhere.. i want to relock my bootloader .
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
Yes, in a big little architecture, that's what happens. 4 on demand, 4 power saving which are used when under load.

Yes, if you're speaking about the X, the little cores do idle at 0Mhz for power savings, which you can see running cpu-Z. The big cores shouldn't be idling at all doing background processing, radio, etc on your phone.

From my personal experience on the moto X, even though the BIG cores in the snapdragon 801 are supposed to be sufficient for "light" tasks like browser, Instagram, etc; when compared to G5 architecture, where all 8 are available to split the workload, I find the G5 much snappier. So I suspect the trade-off in the performance gain of the g5 snapdragon 430 against the motoX (snap 801) is lower battery life on the G5 which seems to be the case... That's a trade-off I'm willing to accept.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Would you be so kind and show me a screenshot? If display is on, all 8 cores are online. On lowest frequency, but online. Even with powersave as governor...

Just to clarify: I am talking about hotplugging, not deep sleep. Afaik the G5 doesn't turn off single cores when not in use.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Performance is better in custom ROMs because everything is a bit more optimized.

I don't know what you mean.

I didn't deodex because ROM didn't boot if deodexed. And Magisk Modules don't work unless you change data filesystem to ext4

https://androidfilehost.com/?fid=745849072291696119

Yeah, we don't have CPU Hotplug, anyways I don't care at all, performance is really good and battery life too, I know battery life can be a lot better but atm it's ok. I'm gonna work in a custom kernel for stock if I have some time.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jonas27M:
It seems that it did an incredible job, but I noticed some reports of errors, in XT1672 is there any?

When you exit Oreo do you want to update it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
Hotplug yes, not doze. Correct on g5 they are all online, on Moto X 4 big are online, 4 little which are powersave show offline to me (Lineage 14.1). By the way regardless of whether I set the governor to interactive or not (see my other posts about this). Unfortunately I traded in the X for the G5 for the reasons above, I can't take a screenshot but you can reproduce this and check with any cpu monitor.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
That's what I thought too so I tried edit fstab in ramdisk. format ext4 in twrp but phone only booted back to twrp after logo but I'm gonna try again when I get time.

About deodex, I tried with assayyed as I've already updated it's smali/baksmali to work with Samsung N, so I thought it should work, but nope.

Tried FulmicsDeodexer_1.6 with smali-2.2.2.jar / baksmali-2.2.2.jar and it booted, but constantly com.android.phone crashes and no sim recognized.

Did some logging and realized we have ims apk and framework in /system/vendor that also need to be deodexed. Now it worked fine except for the camera that seems to need a gallery app installed. Once installed, no more problems :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
This ROM is very nice, but after I root it and try to remove useless services (ex: all the Qualcomm .*) using titanium.

After this ROM doesn't boot.

This does not occur in either stock nor lineage ROMs. I can remove all the extra services without any issues.

It's a pity as I liked this ROM.