yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I have no idea about that, why would u want all Qualcomm stuff deleted? What's the benefit?

This is the LATEST stock ROM for G5, maybe they are necessary for some reason, just don't delete them.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
Increase in free RAM available. Not just Qualcomm but print services and few others. Similar reason you removed all unnecessary junk.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Will This ROM be updated when Motorola updates officially?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Yeah but I deleted apps that I knew were safe to delete, if that Qualcomm stuff is there surely it's needed.

No.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Okay how about saying it like this? When Motorola updates to Oreo will this ROM?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
No it's not required; as I mentioned I've deleted it from stock and lineage with no issues. Not only in 7.1 but going back to 6.01 as well.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Can you read? I said NO.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Oh okay! Going to stay on 7.0!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Neolengua:
Why not?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CypherPotato:
Because this rom has OTA disabled due to bootloader issues.

Updating on stock via OTA with unlocked bootloader will hardbrick your phone.

Also, updating would remove optimizations, root, magisk, etc

---------- Post added 4th January 2018 at 12:00 AM ---------- Previous post was 3rd January 2018 at 11:59 PM ----------

Any chances to merge MOTO G5 PLUS low light camera mod for this? Would be nice...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I can take a look, can you provide me a link where I can find it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] CypherPotato:
https://xdaforums.com/g5-plus/themes/modcamera-aggressive-sharpening-noise-t3604458
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ShanePunk123:
Setup FC

It installs successfully.. but i cant get past the setup screen.... it says setup keeps closing.... I've tried resetting and flashing again...i installed it on top of stock but still...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Did you flash any other thing than rom zip? Didn't had that issue, and don't remember anyone reporting it so I can't help you, sorry
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
After some testing I have built a kernel where Magisk Modules are working! Sadly everything was laggy/buggy and camera was broken, if I manage to fix those issues surely I will update stock ROM with it :)​
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
If it is possible to add a button at the bottom for cleaning the recent applications, in addition to activating the notification LED always if it is possible to do so.

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lcosta2:
Works on Cedric?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Stonebit:
WOW, Great battery.

15 Hours of use and still have 30%

Better than Stock and other roms.

Congratulations, great work !!!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Haha best post Iv seen in ages

Just so you know Cedric is the code name for the Moto G5 - and as this is posted in the Moto G5 forum well I'm sure you can figure out the answer
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
Tried again today and managed to edit fstab to ext4 for data and it booted. No lag and magisk modules work fine and it also passes safetynet with the universal safetynet fix module, but again...camera crash :crying:

Other cameras are working though. Tried with "A better camera" and "Proshot".

View attachment 4379785

View attachment 4379786
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Camera shouldn't be crashing... I will test later

Can you get logs about camera crashing? Did you try deleting data and cache from camera app?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] IGorMcLven:
Sorry if my question has been resolved or is not adequate. If I do a clean installation of this stock version, is it possible to receive OTA updates?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I answered that in first page, no, I deleted OTA
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] spiritflare01:
How to make cts.profile=true

Mine always says:. False

I am running magisk 15.1
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] IGorMcLven:
I'm sorry, you're right. I had not read carefully. : s
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
I'll try to log it during the weekend. It's just strange, camera shouldn't care about filesystem. I will try with your odexed rom instead of deodexed

Same for me, but magisk modules are working with filesystem as ext4 so I used this [Magisk v14.0] Universal SafetyNet Fix | Universal Hide [v2 Beta 5]

I'll upload the boot.img when I get home from work so that anyone can try.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Dunkan101010101:
Is that the screen on time?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Obviously not...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
I just found out that there's a magisk module to work around the loopback problems on f2fs partitions by moving magisk.img to /cache which is ext4. Have anyone tried it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
DISCLAIMER: I'm not responsible for anything you do to your device

Here's the boot.img ext4 test kernel

It's same as included in this rom, but I changed one line in ramdisks fstab to boot with data as ext4.

You need to backup everything you want to keep, including any files on internal storage.

In twrp you have to change filesystem for data partition to ext4, and flash this kernel.

I actually made a twrp backup of data in f2fs, and restored it on ext4. TWRP gave me a warning that backup was made on f2fs an may not boot if restored to ext4, but it did for me.

The Magisk modules I tried worked just fine with data partition as ext4.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
i tried your method, the phone boots normally, but i can't install viper4android, which module you installed? i want to try again, thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Install viper for Magisk v15, search it in downloads in Magisk app
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Moto G5:
bro if u have already removed MOTOROLA OTA ,THEN HOW WILL USERS LIKE US WILL GET "OREO" UPDATE ,WILL IT COME AUTOMATICALLY IN THIS ROM WHEN IT WILL BE LAUNCHED?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
thanks for the reply, but i tried first viper for magisk 15 but i got still failed, after that i tried to install any others modules which it has the same result....fails
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I was gonna answer but you don't deserve it. Go and read all pages, there is your answer.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Yeah I tried, not working.

Uninstall and re-install Magisk, and if modules are still not installing then try installing them through recovery.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
Hi. I used the one for magisk 15 and it installed witout any problem.

I'm having a hard time making v4a to actually process on stock rom though :/

Permissive kernel and compatible mode in v4a seems to be working best with poweramp, spotify. I've got it to process for youtube in normal mode but everything is very randomly. Sometimes it works, sometimes not..

I've tried with the stock eq MusicFX installed/removed, with/without the magisk deep buffer remover module but I never get a fully working solution.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
I used poweramp too, i will try to uninstall magisk, but magisk works perfect, safetynet pass, root it works too. I tried to install the module in twrp, but still doesnt install

---------- Post added at 03:57 PM ---------- Previous post was at 03:06 PM ----------

after uninstalled magisk and reinstalling i was able to install viper module, but at driver status all seems well, but no processing, anybody advice please? Thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Same happened to me, compatible mode is the only way atm

Enable compatible mode in viper settings
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
i tried but it doesnt have effect
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
Have you tried making kernel permissive?

Either enable dev mode in v4a settings and disable SELinux,

or use terminal emu with:

su
setenforce 0

Unfortunally, this will only stick till next reboot.

Tried some init.d script I made for another device to put permissive on each boot but doesn't seem to work here.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
i installed that version 2.3.4.0 and i uninstalled driver from v4a settings, and it starting to works, but only few seconds. Any app, youtube, poweramp, radio, etc works maximum 5-6 seconds, after that the sound is changed and the processing change to no in driver status.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
both versions works only 5 sec, after that the sound is changed back to normal. The audio effects is disabled, but i don't know how to make it to works more than 5 sec
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
If you can serve me on this construction this mod works perfectly, I put the link to the videoguide simple, download the two files prob put it in root / data / media / 0 and then install the other with TWRP. Obviously the kernel must be permissive.

link:https://www.youtube.com/watch?v=VI0MEABlyf8
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
V4A works in direct mode with this installation, or still just compatible mode?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
I do not know maybe this can help?

Inviato dal mio Moto G (5) utilizzando Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
As I thought, only compatible mode :(

I guess it won't work properly on stock rom because of some compatibility issue with sound config/driver.

Anyway, one of the modules at least works with enforcing kernel in compatible mode.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
yes, with your kernel i was able to install any module, before that i couldnt install anything
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
Yes it's actually working :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
but i want to make v4a functionally, i dont know how to do that, i think the kernel is permissive but i'm not sure. How can i know if it is?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Go to settings about - selinux
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
i dont have selinux there, you mean in phone settings, right?

root checker said selinux status-enforcing
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
It should be there at the very end in settings/about.

Otherwise you can use terminal emulator.

su
getenforce

should give you status.

"setenforce 0" makes it permissive.

"setenforce 1" makes it enforcing.

Try the v4a module by ahrion, zackptg5. It worked for me in compatible mode with kernel still enforcing.

If you still need permissive and don't want to set in manually on each boot, you can put this permissive.sh [attachment]

in: /magisk/.core/service.d to let magisk execute it on each boot. Set permission to 755 (rwxr-xr-x)

View attachment 4382756 <--remove .txt extension (had to add to be able to upload)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
thanks my friend, but i cant find that path, in magisk folder i have only the module that i installed, i havent core folder
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
Ah I see. I think you need to turn on "show hidden files/folders" in your file manager.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
ok, i set in terminal permissive, but still v4a works only 5-6 sec :(

so, now its permissive but its the same behaviour like before, it works only few sec and stops. I am on stock 7.0 rooted, anything else, except your kernel modified
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] peter9811:
How I can quit the encryption?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Flash THIS through TWRP, then change filesystem to ext4
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gkornaks:
Camera problem

Thanks! All good apart that all camera apps crashing.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Try adding this line to buildprop:

persist.camera.HAL3.enabled=1
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gkornaks:
Don't work with ext4 data stock boot image. Even with camera2 api enabled.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
What's the difference between the stock ext4 kernel and my ext4 test kernel? I ask because my camera works fine.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gkornaks:
I used Fedray's boot-stock-ext4-20180109-1618.img and non of existing or freshly installed cameras working. Even in safe mode. Should I try yours G5_ext4-boot.img?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Do clean flash. Camera working fine here.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lcosta2:
twrp error in my cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tys0n:
What error?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lcosta2:
This error

Updater process endeed with ERROR: 7
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Vinny Miguel:
at the time of installing of error 7 for me:(
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gkornaks:
Screen mirroring

Noticed that I can't enable screen mirroring in build.prop with wlan.wfd.hdcp=disable
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Is there a way to remove the upper text when showing recent apps? It is in german and says that you can drag apps here to spilt screen. Screenshot added.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Iv always used

persist.debug.wfd.enable=1
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] gkornaks:
Thanks! Got it working with Magisk module.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fernandoo$:
Just split any app two or more times and the message disappear

My device: Moto G5 (Cedric)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] basem bebarse:
The Hdr+ doesn't work with this ROM how can i make it work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] frert:
I had the same error. What I did was to wipe the cache and reload the bootloader and then go back into recovery. Worked perfectly after that.

I had just unlocked the bootloader and installed TWRP for the first time prior to attempting to install the ROM. It may require a bootloader or recovery reboot after first boot of TWRP for it to function properly.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rosel11078:
Hey friend could you tell me about the battery life???????
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Depends on what you do, I get really good battery life every day.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] applesauceChris:
Yeah, me too. In my opinion, this stock ROM has the best battery life, I can go all day long without worrying about it. When I had Linage OS I needed to check if I could get to the end of the day. Been using this ROM since it came out and I'm not changing it unless another stock/debloated optimized update will come out. Thanks dev.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
Agreed. I left this ROM 8 hours over night and lost 0%. Lineage used to lose 10% or more.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
If you want better battery life try brevent, it's similar to greenify :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ayushmantiwari95:
Is this rom can be installed in model xt1677 Indian varient amazon exclusive ??if yes voLTE Is working or not ??
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mo_Karl:
Hey Fedray!

I was looking for a good ROM for the G5 and I think yours is the one :D

But I'm a noob, so maybe you could help me with my questions:

1. I'm not a Fan of Googleapps, so is it possible for you to remove the PlayStoreApp as well? From the other Threads I learned that the Chromebrowser is needed because of WebView (inflicting with other Apps), and thats fine, but(You wrote it in first post^^) I personally don't need the PlayStore. Or should I just use a "systemappremover" after installing your ROM.

2. I didn't get whats going on with root. Your ROM comes without Magisk, which is needed for root, i learned. So how is the proper installation process with your ROM:

- 1. Unlock Bootloader

- 2. Install TWRP

- 3. Install ROM

- 4. Install Magisk

Thank You!

--- Edit:

- 2a: Backup of original ROM

- 2b: Install "no-verity-opt-encrypt-6.0"
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rosel11078:
Some people say work on xt1675 and xt1670, last model is my phone now, but first I going to install TWRP make a full backup and then so, in this days I going to work on it, I advice yo do the same thing

---------- Post added at 10:50 PM ---------- Previous post was at 10:37 PM ----------

Are you talking about Lineage OS 15 ????? Do you test battery life on it???? just to decide which one should install
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Mo_Karl:
Just installed it, seems to work without problems, will give an update if not.

I got a G5 3/16GB, DualSim, XT1676, reteu.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
This has better battery life than lineage
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] shanu786:
Dear members, will anyone give me link this rom?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Smonic:
It's in the first post. Click on link
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guiperriraz:
Hello.

I installed this ROM in my XT1672 and everything works perfectly, with great battery life.

I am very grateful for the great work, mainly because it allowed me to use a stock and retrieve my IMEI.

I have a problem that I would like to have a definitive solution or understand what is happening.

If you can not help me, no problem.

I was with the Stock and tried to install a ROM (PixelExperience 8.1). I used TWRP (32 bit) to install and I could not, it gave me an error. I switched to TWRP (64 bit), the same one I used to install LineageOS 15 (64 bit) ROM and I was able to install PixelExperience. After the installation, the camera did not work and could not install any other. I went back immediately to Original Stock. To my surprise, my IMEI disappeared (the two). I had not backed up, I was an idiot.

Well, a member of a community informed me that the same thing happened to him and he reinstalled the ROM PixelExperience and the IMEI reappeared. In fact, it happened to me too, until after installing this ROM Stock, IMEI contigued there. But I can not back it up, try to do a restore in an Original Stock and lock the bootloader. If I install a Original Stock via Fastboot the IMEI does not appear. It also does not appear if I install a ROM without first going through PixelExperience.

I would like to know and understand what is happening. I'm sorry if I was confused in the explanation, I used Google Translate.

Original Stock -> TWRP 32bits -> PixelExperience 8.1 = ERROR

MINIMAL ADB/FASTBOOT -> Stock Original -> IMEI lost

Original Stock -> TWRP 64bits -> PixelExperience 8.1 = IMEI reappears

PixelExperience 8.1 -> Flash Stock -> IMEI is still active

Flash Stock (IMEI ok) -> Stock Original -> IMEI lost

Thank you for your attention and sorry for any inconvenience.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You are getting confused between a stock rom and a custom rom.

Anything you flash through twrp consider it a custom rom. I know there are threads here saying twrp flashable stock rom but think of them more as custom roms with no modifications.

If you want to flash stock rom you need to download the firmware image and flash each part via fastboot

https://xdaforums.com/g5/development/official-stock-moto-g5-cedric-firmware-t3733897
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guiperriraz:
I'm sorry, but you did not understand anything I wrote. I know the difference between custom and stock ROM. I know this one is a customomized stock. I'm just trying to understand what might have happened to my IMEI. After that I did these installs on my device. Why does my IMEI appear and disappear, depending on the installations I make?

But you do not have to waste your time with me.

Thank you for your attention.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It will be down to the ril part of the custom rom - a combination of ril libs & the kernel

Best to start with stock rom via fastboot or at least do a erase userdata via fastboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] guiperriraz:
I have already installed the Stock ROM via Fastboot, but the IMEI disappears. I can only make the IMEI appear, when I install the custom ROM PixelExperience, then I can install this from here, the IMEI continues. It was the only way I could get a "Stock" with active IMEI. My question is: if the IMEI appears, then is there any way to permanently retrieve it for use in the Stock and get everything normal, ORIGINAL?

Tks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leonreis:
I need a little help :confused:

My home wifi doesn't appear to connect, but appears the others.

I tried to format and install and still showing only the others.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] merlinolillo:
Just installed in my xt1670 and working perfectly. Great battery life, totally different from the stock untouched rom. Many thanks Fedray! The only bad thing is that I have "ctsProfile: false" in magisk. Is there a way to fix it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Download and install this https://drive.google.com/file/d/1P307UfRXdoT_8-57klTlRl4qHhxlNt5w/view then backup your data, change data filesystem to ext4 and restore your data. Safety net will pass also now Magisk modules will work.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] merlinolillo:
Many thanks again Fedray! But with ext4 filesystem there will be a loss of performance?
[Samsung Gear S3] tha700:
Hi.

Have created another dial and hands for you to build your own watch face for your Gear S3 Smartwatch, using the Gear Watch Design Tool.

If you want to create the same watchface, the here are the sizes:

=> Main dial image w380 x h380

=> Moon dial Hand w200 x h200 (set as hand and centre it, plus place behind the main dial and set to Moon Phase Position in the attributes section - found in Conditions sub-menu where you set the hours, minutes etc. for the hand)

=> Sub-dial Seconds Hand w105 x h110

=> Hour Hand w160 x h170

=> Minute Hand w180 x h200

=> Add the date from the designer tool

Thanks.
[Samsung Gear S3] Tel864:
There are dozens of hands and faces available on www.watchawear.com
[MTCD  Android Head Units Q&A] lemsip2007:
Hi there, i have a MTC-RK3188-REVO.3 board with a little bit of damage....

One of the resistors has been knocked off,

Im wondering if anyone on here could help me identify what component is in the red circle on my picture?

Thank you

https://www.dropbox.com/s/r3bo26ph075ess1/missing chip board.jpg?dl=0
[MTCD  Android Head Units Q&A] MrGubby:
Link not working :)
[MTCD  Android Head Units Q&A] lemsip2007:
sorry,,, link updated, thank you.