yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RandomZord:
Hey guys, just tô add a log tô the memory problem in 32bit version

XT 1640 (G4+ 2gb), no mods, no custom kernel. Using normally untip the apps started to close and the laucher starting to open and close. Then I started to get a log, the problem continues until I restart my Phone (in other words, the problem was happening when I started to get the log)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smithbill:
Matlog of spontaneous reboot

[MENTION=4481495]Jleeblanch[/MENTION]

Attached should be a Matlog of a random reboot which happened to me this morning.

XT1642, 2Gb/16Gb, RR 32bit build of 13th June, previously had XPosed installed but uninstalled many reboots previous to this event, ATK is installed and on profile 3-1 (i forget what its called).

I had a couple of earlier "System UI not responding" issues but rather than reboot I persevered and it did seem to be back to relative normality ("System UI" issue always seems to occur whenever I use video in installed app 'TinyCam Pro' for viewing webcams which seems to become 'frozen' and non-responsive). GSam showed Temperature around 40degC and handset rather warm.

I was actually in Matlog when the handset decided to spontaneously reboot. After it restarted I went right back into Matlog although it did seem somewhat unresponsive and taking an age to update but that may be down to the OS not being fully rebooted. Eventually I managed to save the Catlog and hopefully it contains some helpful information. I had Log Buffers Main, Event & Radio all switched on.

On scanning through the Catlog I dont see anything particularly helpful myself, but I have observed that some of the events listed have different timestamps, even as much as 1+ minute apart?? Then I noticed at the start of the Catlog there are events timestamped "07-19 18:28" - thats 19th July?? But i generated the Catlog at approx "06-25 10:12" - so why's it logging stuff timestamped nearly a month into the future? Perhaps Matlog got screwed up after the reboot and the attached Catlog is useless. Hopefully though, there is something useful in it for you.

Bill
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smithbill:
Actually, looking at the Logcat, it seems to me that it probably begins immediately following the reboot (although i'm no expert). So, i'm guessing when it decided to spontaneously reboot, Matlog must've 'died' and the open Logcat file that it presumably buffers to was lost, so when I launched Matlog after the reboot and tried to save the Logcat, all it saved was the post-reboot data.

So that would make the Logcat i attached useless - sorry.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rony925:
Motorola $G plusrestart Issue

Hi I just did a clean flash again and after installing Gapps downloaded from opengapps.org the latest x64 bit version.

Again it started the same thing, just hangs and restarts itself.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RaffooWala:
I'm using latest rr 64 bit, open gapps aroma, clean flash, had reboot problems before on my 3gb variant.. like one or two reboots per day..

But after i flashed waver kernel 4.1.. it's been 5 days no reboot till date..:)

Try it..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Hmm, in TWRP make sure your data partition is formatted to F2FS. Beyond that, something else would have to be going on unrelated to the ROM. Nobody else is having issues installing the ROM or gapps.

So, I've been using the 32-bit build on both my device's now for some days and I can't help but wonder what you guys are really doing with your devices. I mean clearly something is happening, but I rarely ever have issues on my G4+ (xt1644) and my G4 (xt1625) runs ok most of the time. It does get a little warm and that seems to cause some UI lags, most likely due to the 2GB ram that device has. I've been doing some digging and there are plenty of 1/2/3 GB ram device's running Oreo just fine, even some are 64-bit. That being said, I've been digging thru their kernel sources and some of the custom kernel for our device to see what is what. I guess I just really am going to have to rebase the kernel source and start from scratch and start over with a minimal kernel and see where things go wrong. Based on the logs, I have a pretty good idea of what needs to happen. I appreciate everyone's help in providing logs and other info, it helps more than you know.

So stayed tuned, I'll have a new build ready with a new kernel in the coming days.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] checksamir:
[MENTION=4481495]Jleeblanch[/MENTION],

In First 7 days of usage, didn't experience a single reboot. Last 2 days, reboot is persistent. Got p-store reads kernel panic causing reboots. Since you are already working on a new build, can wait a while to test the new build.

Custom tweaks: magisk 16.0 for root and lightening blade kernel profile.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rony925:
I flashed the kernel, till now no restart yet will update if anything happens.Thanks for the tip bro.:good::good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IgorMG4:
I also use this kernel in my 2GB variant with this rom, and although there are still some daily reboots because of the Memory leak, the performance actually got a LOT better than before.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gioyocho:
I have 16/2 xt1622 moto g4 and on 32 bit rom i had no issue about reboots. Just had heating issue with stock and with RR, thats why i use candy rom. I still can not understand this
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krlos0424:
Greetings, I have also installed the kernel waver 4.1, let's try to see if the restart disappears.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] karzz:
geting error 255 trying to install 64bit version pls help is it for a different model of the g4 plus??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] k4k:
So after many peeps here suggested to try waver kernel to stop random reboots, i came to a conclusion that yes the random reboots stop after flashing waver.

I have used waver for 4 days till now and haven't experienced a single random reboot. [MENTION=4481495]Jleeblanch[/MENTION] i request you to look into as to what is the difference in waver kernel that stops the random reboot and maybe if it feels right to you, you may implement it in the next rom update.

Thanks.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ManuelLima1994:
He had already said that he is rebuilding a minimum kernel and thinks he knows the cause of the problem, the Kernel Weaver is only for 64 bits, and the problems are also present in the 32-bit ROM so you can not give preference to just work in 64 bits.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Same answer https://xdaforums.com/moto-g4-plus/development/rom-resurrection-remix-v6-0-0-t3747735/post76727192
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] k4k:
I am not giving preference to any of the rom.

I just gave a possible solution to the 64 bit rom i use.

This has nothing to do with the preference. It's upto you as to what you use.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krlos0424:
Unfortunately, for me the restarts continue happening, yesterday I installed the kernel weaver and today it was rebooted, I was scrolling in WhatsApp messages and it was blocked and it finished rebooting, I do not know what the failure could be, I have already used the two suggested kernels and my problem persists
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] RaffooWala:
Well I'd tried looney kernel before waver 4.1, and my phone is also rebooted once yesterday scrolling through Facebook app in about 7 days.. it hangs and rebooted..

I think there must be setting issue in kernel manager..

Don't know if I'm wrong..

I'm using ex kernel manager, lightning blade profile, interactive cpu governer and io scheduler maple..

Waver works lot better for me, instead of stock and looney..

Hope it helps..
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Meet Parmar:
Is it rooted?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ManuelLima1994:
No, any ROM is no rooted, Magisk is used for it
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sanxbr:
1 day since weaver kernel, no reboots yet.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
Stop reporting about waiver kernel... It doesn't help in any way [MENTION=4481495]Jleeblanch[/MENTION] make the rom better. He already said he's looking into the kernel and will ship a new one with the next update, so if waiver kernel helped you while New update is up, great for you, but don't fill this thread with useless posts.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] matetoes:
Is there a safe way to go from arm RR to arm64 RR? I wanted to get the Frostbitten Kernel so I can use the fingerprint scanner as a home button like I did back when I had ElementalX (it's not compatible with Oreo, sadly). I read somewhere else that I could flash an arm64 kernel on an arm rom as long my TWRP was arm64. So I flashed arm64 TWRP and tried installing Frostbitten. Currently stuck soft-bricked looking for a download link for the stock kernel. ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
I believe I read on frostbitten's thread that RR is not supported now. In order for the rom to support it, Jleeblanch must make changes in rom, which I don't he will (he encourages we use his kernel, for testing and reporting, so he can make it better)

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] matetoes:
OK, I see. Thanks for the quick reply! I unbricked myself by flashing the RR armeabi boot img and reflashing magisk. :) Do you have a link to Jleeblanch's kernel? I can only find the one for Moto G5S. Does he have an armeabi version of it? If not, is there a way I can go from my current armeabi RR to arm64 RR without losing my data? Thanks :good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
You can find his kernels inside his roms... If you flash his 32 bit rom, you get his 32 bit kernel... If you flash his 64 bit rom, you get his 64 bit kernel. If you want to try the 64 bit kernel on the 32 bit rom, just download 64 bit rom, extract the boot.img file and flash it.

If anything goes wrong and rom doesn't boot, just reboot into recovery and flash the rom again, then clear cache/dalvik and reboot.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] asingh470:
Ignore the Post please........
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
Can anyone tell me what the latest version of the ROM is? I am on the 20180423 build, and when I check through the updates, it says I am on the latest ROM. I clicked on the link in the OP, but it shows me some OnePlus 3 ROM. Is that just a typo?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
... You have to scroll down. Geez.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] asingh470:
scroll down there are builds of June.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
Hi, so I had read a few posts Bout f2fs filesystem in the thread recently. I really didn't pay much attention, as I don't understand it. But after doing a bit of reading on the internet lately, I found that f2fs is newer and better than ext4. I wanted to know what advantages will converting from ext4 to f2fs (specially for our device) I have and also what could go wrong. And if it's worth any risk, how to i go from ext4 to f2fs. Also, does converting from ext4 to f2fs involve my SD card too? Do I need to format my SD card too? Thank you in advance!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
F2FS is just faster for writing on it than ext4... A lot faster. Depending on what Model you have (don't know if G4 does, but G4+ comes formatted as F2FS by default) you can change both "data" and "cache" partition to F2FS by boot ing into recovery--> wipe --> advanced wipe --> select the partition to change (one first and then the other) click on "repair or change file system"... Select F2FS and slide to confirm.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
I have a g4+ 3gb/32gb, but I have ext4 filesystem, and that's by default as I haven't toggled with it ever. Also, does if I format to f2fs, will my internal be wiped/formatted? And do I need to do any change to my external SD card? Thanks!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
Nothing happens to ext sd... But Internal memory will be fully wiped. So make sure to backup all your info before changing filesystem.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
Which kernel can I use for performance in the 32 bit ROM?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nitanshu.vzard:
Updater process ended with ERROR: 255

I am on latest 7.1.2 ,when flashing in twrp gives me this error:

Checking for MD5 file......

Skipping MD5 check: no MD5 file found

Updater process ended with ERROR: 255

Error installing the zip file '/external_sd/RR-0-v6.1.0-20180612-athene-ARM64-official.zip'

Updating partition details...

...done

Its is ARM64 version, but why am I getting this error?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
You are flashing a 64bit rom with a 32 bit recovery ?*♂️

Search the thread for "error 255" and you'll find tons of answers.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nitanshu.vzard:
So do I need to install 32bit version of ROM or I need to first flash 64bit TWRP on my Moto G4 Plus then flash the ROM?

I got ERROR 7 this time when I tried to install the ARM(32 bit) version of the ROM
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Please install the twrp given in first post/flashing instructions.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
Search Man... That means your file is corrupt. Check md5 or download rom again.

As for the recovery, just flash 64bit recovery and use that to flash any rom you want... 32 or 64 bits.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nitanshu.vzard:
I flashed the twrp mentioned in the first post using the existing twrp. But when I boot in the new recovery i.e. `twrp-3.2.1-r3-athene-arm64_rajatgupta1998` and install the ROM, I get the error :

Unable to locate /external_sd/RR-0-v6.1.0-20180612-athene-ARM64-official.zip.

Error installing zip file '/external_sd/RR-0-v6.1.0-20180612-athene-ARM64-official.zip'

I am stuck, as I completely wiped my existing ROM. I am not even able to restore nandroid backup as I get the error, `No partition selected for restore` and there is no options available to select a partition from.

Please help. I'm stuck.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cool_sid:
Dude select storage.

When u go to restore backup

Bottom left there would be option to select storage..

Select the storage in which u made backup

Navigate to the folder n restore

I think the error with flashing ROM might as well be this only
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
I've tried dot os, atomic os and other ROMs but this one is the most stable ever. Battery is not very good, but performance is amazing. Keep up the good work [MENTION=4481495]Jleeblanch[/MENTION]!!

Btw any news on AOSIP or AEX?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] maddox_x:
May be it's a faulty sdcard or the format of the sdcard is not proper.

Try with other sdcard or format existing sdcard with fat32 and try again..

Hope it works :fingers-crossed:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nitanshu.vzard:
I flash another TWPR 'twrp-3.2.1-r2-arm64-tywinlannister7', then I was able to FLASH the ARM64 ROM from my memory card. But my the memory card is not showing all the folders as files of 0 bytes in the local file manager as well as when I connect the phone to my PC using USB cable, the data in the memory card is not visible.

But when I connect the memory card to my PC using a card reader, all the data is available and visible. What should be done? I cleared data and cache from the Memory card's system app but nothing happened.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] smithbill:
That's the issue I had with TWRP r2 from tywinlannister (couldn't see folders/files) but you can create a folder using adb and then 'adb push' the ROM zip to the folder and use that TWRP to flash it.

My problem was resolved when I changed to TWRP r3 by rajatgupta1998 which had no problem reading my sdcard. I'm not sure of the exact issue but I think it was something to do with file systems, formats and possibly mount types, I don't know - see the TWRP thread for details.

You can also see my posts in the TWRP thread about how I worked around the issue using 'adb push'
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Problem with your SD card as mentioned before. Format them within your device.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krishna8691:
if its visible via card reader then just backup the data to your laptop/PC and then format it, that should solve ur problem
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] arnabghorui:
Hello guys. Though volte is supported by this rom and proper settings are available, I'm unable to use volte. Anyone having this issue? Please help. Thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ManuelLima1994:
You must ask the terms and conditions of your operator, in Mexico for example Telcel does not give VoLTE to dual SIM devices and released by IMEI
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Dhanush-raj:
Which country and operator? Give More detailed info, what's not working or what's wrong...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] makash720:
Can you provide a custom kernel for better battery backup plz..

---------- Post added at 07:37 PM ---------- Previous post was at 07:32 PM ----------

I've installed the latest build in 2gb variant of moto g4 and my seliux status is permissive not enforcing
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] arnabghorui:
Its Jio network from India. LTE is working fine but though the 'Enhanced 4g LTE' toggle is on no volte sign in the status bar :crying: I have set proper APN settings but still no VOLTE
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cool_sid:
Selinux is permissive for all the Oreo roms for athene

Try waver kernel though battery doesn't really improve much.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] makash720:
Device restarts occasionally like while playing YouTube videos, using Whatsapp and even while the device is idle or charging..what may be the issue here?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] djnield:
That you didn't bother reading previous comments.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] maddox_x:
If you are concerned with volte symbol on status bar then you can enable it by following step.

Settings>Configurations>System Icons>VolTE icon
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tanishqsk:
Do anyone know how to use the latest moto camera in this rom...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
I faced my first UI freeze and vibration issue. Occurs on loony kernel dts version when I'm calling someone. Pls look into it [MENTION=4481495]Jleeblanch[/MENTION], I really love this ROM
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
Are you really reporting issues with a custom kernel? This thread is for reporting rom related bugs only, and if you have an issue with the kernel then you should Report that in the kernel's development thread. You should know better...

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
Oops! Sorry
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Aarkay0804:
Hey,

It's my common habit to switch off my phone before sleeping, and now when I switched it on, to my surprise, I get this notification

What is this and what shall be done in order to fix this

Thanks:)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tengakallan:
No it won't work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] corlatemanuel:
Don't worry, it's just that new thing called Trust from LOS that is warning you that SELinux isn't enforcing.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
Does loony kernel non dts version boot with this? I'm talking bout the 32 bit build
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] _Laksh_:
Can any1 upload ss of antutu benchmark score for both 32 and 64 bit rom??plz?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
I was just browsing through the configurations menu, and found the edge gestures. I enabled it, but it's not working. I tried swiping from the bottom edge but there was no feedback. Is it still buggy? I am on the latest 32 bit ROM.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
Why not just use the DTS version?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] geetaroraqaz:
Question

Can anyone tell me the configuration for EX kernel manager for best gaming performance?

And one more thing that two of my cores stay offline (tried many times to switch them on but no success)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
Some problems arise due to it......check my previous posts
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Erik FX8:
No, xD I got 80k on 2/16 Variant with 32 ROM

.....

Anyone can confirm if the Final Nougat RR is free of reboots and UI flashing bug?

Really liking this Oreo ROM but with 2gb of RAM is completely unstable , will be looking this thread when it gets free of reboots, thanks for all the hard work of the dev!!!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] patate29284:
I had some reboot problems with the latest RR N, so I just switched back to 20180116 build, which works perfect for me. I'm also waiting for a fix for random reboots on oreo, cause I tried both 32 and 64 bits and had serious issues while calling or anytime, actually.

Enviado desde mi Moto G4 Plus mediante Tapatalk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prathamesh95:
I tried using the CamScanner app, but it freezes after scanning the document. Is there any fix or an alternate app I can use? Also when using fullscreen apps (eg. PUBG Mobile) I can't swipe from the edge to show navbar and status bar. I have to long press power button to reveal the power menu and the navbar along with it. Also the edge gestures from configurations menu don't seem to work at all.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Dhanush-raj:
Ask non-developmental questions in help thread. As far as your question you can use the AKT, try it.

https://xdaforums.com/moto-g4-plus/themes/akt-advanced-kernel-tweaks-athene-t3801166/post76887660
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] prajwal p gajakeari:
[MENTION=4481495]Jleeblanch[/MENTION]

When is the new update?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Marcelo_RJ:
No ETAs, please.

Developer's working hard when has time to spare. Wait, just wait.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] asingh470:
1. Variety -> Xt1625

2. ROM version -> RR (12-6-2018)

3.Install process -> Clean

4. I was using Facebook sudden freeze black screen nothing I can do the, had to force switch off and reboots random to.

5. Yes using Substratum

6.Gapps -> Open

Don't have the logcat after that freeze. So I have attached the boot section files.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] cool_sid:
Dude he's already working very hard on this rom... Plz don't ask for ETAs its rude... N anyway its running June security patch.... Have patience bruh...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] asingh470:
wait for it you will have it. He is working on it.