yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Android Development] dougsampaio:
I was downloading some playlists at Spotify, downloading an app and opening the xda app then the phone freezed and rebooted. It was hot but nothing remarkable. It happened twice in this same moment, but ive had another reboots during the day use. About 67% on battery last reboot.

I've installed it clean, nano gapps. Didn't erased SD card.

[MENTION=554383]bhp[/MENTION]27, logs will help?

P. S. Anyone had something like this PS while charging? This was on the previous build BTW, don't know if it can contribute
[Moto Maxx Android Development] RL_Wells:
On xt1250, verizon, I have been running the latest for a little over 24 hrs now, after updating from the previous version by just rebooting into TWRP (no factory wipe) flashing ROM, then 11-22 pico gapps, wiping dalvik/cache and reboot.

All has ran flawlessly until I had an email notification of my 4 addresses (all on stock Gmail) at once show up on lockscreen and I had my first and only random reboot.

Not sure if google Gmail (or Inbox, like the earlier post) is culprit, but otherwise all is great.

Thanks [MENTION=5747496]bhb27[/MENTION]
[Moto Maxx Android Development] DarkLey:
Inbox, by Google. But that was not the only time anyway, I cleaned it all again and tried again the latest ROM with the latest Nano Gapps (installed, installed modem, cleaned modem, booted once, recovery, installed gapps, wiped). When I choose to restore the apps from the cloud (downloading my previous APP list from Google Play, since Gapps allows you to do that on the "first boot"), it rebooted 4 times in less than 30 minutes while installing, and it wasnt hot or anything.

PS. I tried again because the previous ROMs get me the Media/Wallpaper/Whatsapp image sending/sharing problem.
[Moto Maxx Android Development] s4shield:
If anyone wants viper4android without there calls being muted check this out https://www.youtube.com/watch?v=5CxotYNQEn0
[Moto Maxx Android Development] mubaidr:
com.android.bluetooth stopped working when receiving a file after successful pairing with other device.
[Moto Maxx Android Development] Debuffer:
Not 100% sure, but the reboots are happening to me only using WiFi. I will make that sure that's it before reporting this.

Anyone can confirm this theory?

I'll now flash modem just to be sure I did every tries I had.
[Moto Maxx Android Development] Debuffer:
Yesterday I had a problem with a chrome folder which didn't let me wipe cache/dalvik.

The solution was wiping all data.

Today I have this problem with a file in Google's folder.

Someone know somehow to get ride of it?
[Moto Maxx Android Development] anshul9702:
Getting strange error in recovery

hi,

I require some help. I have tried everything i could. I was running ur rom latest version and dynamic gapps. Everything was running smoothly unless i went to recovery to clear cache and dalvik cache.

I get this error Error opening: '/data/data/com.google.android.gms/databases/playlog.db-shm' (I/O error) in recovery and after this whatever i do, i get the same error. Rom boot without gapps but unable to use play service.

I have tried clearing whole internal storage, still this error is coming. Please help.

---------- Post added at 02:13 PM ---------- Previous post was at 02:08 PM ----------

I am getting the same problem!!! Please help. Unable to find any solution.
[Moto Maxx Android Development] karll123:
This also happened to me I had to format then reinstall 7.0 with open Gapps stock no problems all night!
[Moto Maxx Android Development] fgl27:
To understand this I need the TWRP log > advanced Copy log, the log must be after the problem.

have you try to delete the file manually, using TWRP or using android OS with a ROOT file browser?

I recommended TWRP problem be posted in TWRP thread and in the gapps thread as this is a gapps app causing a file corruption and I don't included that in the ROM.
[Moto Maxx Android Development] anshul9702:
Please tell me specifically what do you mean by format? What all you cleared and from where?
[Moto Maxx Android Development] mathk:
I said my phone was flashed to 20161122 rom with 20161122 open gapps pico. After a night without any reboot, it rebooted on the morning, suddenly. In addition, there are several ( many ) reboots in the day. Most of the time I noticed the reboot happens when there is some change of mobile signals such as losing signals / change to H+ / change between wifi and mobile network. The problems happen no matter it booted by restart or booted from powered off phone.

And there is one time I can't hear the other side in several phone calls with different recipients , the problem can't be reproduced and gone after I reboot the phone.(I was working in urgent.)

I don't know if the description is enough or just a complaint-like report for you. Thank you very much.
[Moto Maxx Android Development] karll123:
I formatted in advanced wipe in twrp, I then booted into 7.1 without Gapps then had to redownload files. Then went to recovery to install 7.0 and Gapps it took a while for me to fumble through, not that experienced.
[Moto Maxx Android Development] anshul9702:
Were you able to update partition details?? cause this error props up at that time too
[Moto Maxx Android Development] karll123:
This error did not appear for me

---------- Post added at 04:57 PM ---------- Previous post was at 04:43 PM ----------

Sorry but the logs are gone after the format :(
[Moto Maxx Android Development] DarkLey:
[MENTION=5747496]bhb27[/MENTION]

I just came back to report that issue when I saw that people were having the recovery problems as well. I think I have more errors though. Good thing I saw the posts before posting mine, I've attached the recovery logs as well. Inbox package name is amongst the errors, but GMS and something called "jobs" are there too.

View attachment recovery.log

Edit: I wasn't having this kind of error before with the same ROM version but another Gapps package (I can't remember which one, but it wasn't the 11/23 Nano OpenGapps)
[Moto Maxx Android Development] anshul9702:
Can you please enlighten me what file should i delete manually using root explorer. I know you are not responsible for all this. Thanks a ton.

---------- Post added at 04:11 PM ---------- Previous post was at 04:07 PM ----------

Are your google apps working? I am unable to flash any other rom as the recovery is not unable to update partition.
[Moto Maxx Android Development] DarkLey:
Until this error I had no problems with any google apps, and this started from nowhere.

Edit: are you using the latest TWRP 3.0.2-MOD4? I had a problem flashing the ROM once (the process never finished), and I only redownloaded it from AndroifFileHost to solve it.
[Moto Maxx Android Development] anshul9702:
same here! I have tried many things! Nthin is working
[Moto Maxx Android Development] paulgiro:
Flashed 20161122 ROM with open gapps mini 11/23 and have not had one reboot. I noticed a lot of people having reboots when using a smaller package of gapps. Maybe try mini and remove/disable what's not needed later? I have the Turbo 1254. I did the same thing as well for the previous version of the ROM and never had reboots.
[Moto Maxx Android Development] eddiemc12:
for at least a day there's no reboot,then it starts to act up no matter which gapps you use.
[Moto Maxx Android Development] lukappaseidue:
No luck:

wipe everything except internal storage.

flashed crdroid latest version

flashed bankgapp sdk25

reboot...

install all my previous apps, it seem working ok, but after about 10/12 hours, vibration and reboot (battery was more than 55%)

So wiped all again and used latest micro open gapps

nothing to do ... after hours it reboot again :(
[Moto Maxx Android Development] paulgiro:
Try mini open gapps and see what happens? Just a thought.
[Moto Maxx Android Development] fgl27:
the question here is, what is the problem?

I mean, you are going to TWRP and wiping dalvik and cache and that is be wipe correctly, those error comes from your data partition and they are there sense TWRP boot so there is no relation to any that you have done in TWRP and those error.

I recommend that you delete the folder that have the problem.

/data/data/com.google.android.gms/

/data/data/com.google.android.apps.inbox/

and delete any other that has a problem.

those are all google app that I have no idea way they are causing the problem, maybe if you tell me the steps you use to flash last ROM version prior version clean or dirty and gapps gaps version etc, I may have a idea, I recommended to use a different gapps package preferably a old one, yes old one as latest gapps always have some experimental fix and update that can cause that...

just use a ROOT file browser delete it reboot check if it was deleted, go back to TWRP and see if that solves try to delete the folder in TWRP file manager in advanced, if that doesn't solve stop there is the chance that is need to format data as it had a storage problem that I don't know the cause of it if I have some time I may discover but that time is days, so if that doesn't couse problem stop and wait for a wile...

But only format it if you have a problem until now I don't know the problem, again you guys are wiping cache and it is be wipe correct the data partition already starts in TWRP with that error...

do not forget to copy yours file from virtual "sdcard" folder before format data as the format will erase the "sdcard" use titanium and related app to make backup and don't backup the fault app don't backup any of system app included gapps that are in system, also very important don't backup any google app data...

there is the chance that old data that you had restore via backup app or via google backup is causing it I don't know...

Have fun and don't freakout the device will not explode because of some file problem...
[Moto Maxx Android Development] Debuffer:
I had a solution. I had to change data file from f2fs to ext4 and back to f2fs, then it fixed. But this way it'll erase all the data, which I don't want to.

My device boot, works fine and everything okay. I just can't wipe cache/dalvik.

---------- Post added at 07:03 PM ---------- Previous post was at 07:01 PM ----------

My friend, which also is a developer, said it's a bad data block. System was reading this when suddenly rebooted.

The random reboots happens to me pretty often, but since I'm trying to figure out what's happening, I didn't change rom yet.

---------- Post added at 07:08 PM ---------- Previous post was at 07:03 PM ----------

I tried to delete this files/folders manually.

Root browser says it's deleted. When I refresh the file is there.

TWRP error as well when trying to delete it.
[Moto Maxx Android Development] checo79:
i want to revert to stock rom, wipe all except internal storege, install rom but when start clock foce close and appear a pupup aleter that say ther is a problem whit system and the phone possibily unstable if i not do a factory reset. i make i tray anoder rom but same error.
[Moto Maxx Android Development] DarkLey:
Actually I was reporting that because reboots started right before I saw those errors. My device started rebooting a lot, even before I saw the home screen or crDroid boot animation, so I went into recovery to wipe cache and got those errors. I don't know if they are related to rebooting or not, but if they aren't, this was a freaking huge coincidence.

I'm not concerned with the recovery errors themselves, but with their relation to reboots, as other people reported that they got some of those at the same time they started experiencing reboots.

I always wipe everything except internal storage before flashing the ROM, and I use only OpenGapps Nano. I'm not restoring anything with Titanium, it's like a fresh device. This was the case in that specific situation too, and my phone lasted almost 20hrs without a reboot until I got a series of them, in a row. But I'm not dirty flashing this latest builds, as it's recommended in every update.

I'm now using the today's OpenGapps Nano package since I know they can make fixes along the way and that can break some stuff. Pretty stable so far.

And relax, I'm chill, I'm not an Android OS Dev but I know my way around and that my phone won't explode :p
[Moto Maxx Android Development] Debuffer:
I tried with Nano open day 15/17/20/21/23.
[Moto Maxx Android Development] DarkLey:
I'm using 24 right now and it's working pretty well, but I reseted everything and installed it like 3 hours ago so I'll have to wait to see if anything happens.
[Moto Maxx Android Development] Debuffer:
Any reboot?
[Moto Maxx Android Development] immadeofpixels27:
[MENTION=5747496]bhb27[/MENTION] I just had my first random reboot after more than 24hrs. It happened while browsing a text channel in Discord. Logs attached.

Edit: I should add that I'm not using any other mods like V4A, etc. Just crDroid and OpenGApps Stock.
[Moto Maxx Android Development] DarkLey:
None so far
[Moto Maxx Android Development] Debuffer:
How can I download an older gapps version? Before updating this newer I used 06/11 and everything worked fine in older Cr Droid versions.
[Moto Maxx Android Development] DarkLey:
Yeah, thats what I was thinking. Probably thats a general Gapps issue. How is your status regarding reboots? Since you dont use Gapps. Maybe we are looking for the cause in the ROM and its nothing there to do. I also saw some stuff around the internet about nougat issues in Pixel and Nexus, so...
[Moto Maxx Android Development] fgl27:
In general I have zero reboot over tree weeks now, of course with stable build some times I force and make some experiments those cause some odd behavior but I never released those build :silly:

of course ROM updates will make things more stable but we will always be depended on better gapps packages

Google did not released 7.1 to all devices that they released 7.0 N6 for example, and that may show way we have some problems even google did not manage to make a stable build to they devices then will take some time to us to make on the CM side...

gapps released by some dev is dependent on google work on they apps, if google did not released a pack with stable gapps for they on device may take some time to those unofficial stable gapps be released..

Some people point in others thread that this nano from 1105 (direct download link only click if wanna to download) gapps pack is very stable I my self only test with version older then that I have but not use the 20161103 and that worked just fine in my test...
[Moto Maxx Android Development] fgl27:
OPEN is in they web page older releases, banks I don't know if there is more then one released yet...

https://github.com/opengapps/arm/releases/

there is a lot of files and pages in that link read before download to not use a bad one...
[Moto Maxx Android Development] xboxbr:
I had about 3~4 random reboots in 2 days, however I am happy with this ROM. very smooth and battery file is great. thanks bhb27

I hope next build have kill app with back button
[Moto Maxx Android Development] fgl27:
:good:

the featuring was already there but was hide, but now is fully working, check it on next V...

That may be a VZW only, net update have some changes regarding this...

I try to reproduce it and I can't that is way I say is a VZW only... If my device lost signal it just lost and after a few seconds regain it no odd reboot or any problem related to it...

Check next V and report back...

:good:
[Moto Maxx Android Development] DarkLey:
I just had a reboot while playing hearthstone (unpluged but with 70% charge, de vice a little hot but no too much). It was the only one so far, with the 11/24 gapps. I think I'm gonna try the version you suggested, and wait for google to update both 7.1 and their gapps. For what I read 7.1 itself is pretty unstable.

Thanks for the feedbacks and ideas man!

Edit: no dice with de 1105 one. 4 reboots after restoring from cloud even completed. 1124 felt more stable. I'll try a pico package
[Moto Maxx Android Development] Septfox:
Haven't yet tried updating from RR yet because I need stability, but I have been lurking. Lets review/outline a few things we know.

7.1 and its associated gapps are very new and thus far not entirely stable.

It seems to be general consensus that the ROM with gapps will usually work at first, but begin incessantly rebooting after some time.

@bhb27 has stated several times that he doesn't use gapps and has no such issues, which would seem to implicate gapps as the primary problem.

Google is a pain in the ass in that it'll update play services whenever it wants to, but usually in the background and usually while the phone is idling.

Taking the above into consideration, I present a theoretical chain of events:

User flashes 7.1 and gapps

User successfully boots into 7.1, sets up their everything, marvels at 7.1's improved performance, plays with it for a bit, leading to the assumption that "it works fine!"

Phone runs low on battery power, and is put on the charger

At some point during idling, SystemUpdateService decides that the phone is no longer in use and runs update cycles for Play Services and (if it can, but I don't think it does) the core service

Something Goes Wrong, perhaps miss-set permissions somewhere, a service or package that is expected started/present, etc isn't

User finds phone rebooting on charger, bed, etc

Something Continues Going Wrong every time aforementioned package/service/etc is expected working, user eventually gives up and installs RR

Has anyone tried disabling SystemUpdateService and its receivers (before any updates are run), and seen if the reboots in turn never start occurring? I accomplished this in MM using MyAndroidTools (because it kept updating while on LTE and eating my limited data, which royally pissed me off), but this page describes how to accomplish it in ADB, which is probably preferable. Those instructions were in KitKat but should still apply for modern Play Services.

Alternatively on an already "broken" install, has anyone tried disabling Play Services and anything else that constantly calls its services (such as the Google app), using a third-party app, (can't be done in App Info afaik) to see if it halts the reboots?

I'm not saying that either will definitely fix it, or even do anything at all, but at least trying them will briefly stop you from essentially practicing the definition of insanity (installing ROM+gapps, enjoying stability for a period, losing stability and trying again ad nauseam). Don't blame me if you don't unbreak your device! : \
[Moto Maxx Android Development] DarkLey:
One of the best posts I ever read. Just want to point onde thing: I'm not having reboots idle, I'm having them in the middle of usage, some pretty high use. Bit yeah, it can still be the update service
[Moto Maxx Android Development] Debuffer:
After reading this I used Disable Service and disabled SystemUpdaterService service.

I will try it and check if it does work.

I'll come with a feedback after the first reboot or if it goes stable for about 12h.
[Moto Maxx Android Development] anshul9702:
I flashed the old MM rom and open gapps pico marshmellow. Even then, i am getting the same error in recovery and play service keeps stopping.
[Moto Maxx Android Development] Septfox:
Play Services can update while the phone is in use...it used to be incredibly annoying on my Droid 4, where resources - especially memory - are very limited.

Could be something else, though. Even if Play Services being updated is a problem - and it's a big if, all I have to offer is conjecture - I doubt it's the only problem. Beta version of Android running on an unofficial platform and all.

As of a couple years ago, it's not enough to disable the service. You have to disable the receivers as well, or it's likely that at the very least, Play Services will wakelock forever waiting for the service to respond.

Also, the idea is that Play Services is being updated at some point, and the newer version is unstable or isn't being installed properly; if you've already been running for a while and it's started rebooting, then this has already happened and according to the theory, disabling updates won't help.

Need to clear Play Service's data, then reflash the ROM and a stable gapps, and finally disable the service and receivers before it can update them. Or alternatively, disable Play Services and live without them for a while to see if it still reboots.

I think the latter would be a less certain way of "proving" it though, since Android's interactions with disabled apps and their services gets pretty weird sometimes.
[Moto Maxx Android Development] Debuffer:
Well, my device was rebooting like once a hour.

For now, I'm more than 1h and no reboot after disabling the service.

If it reboots again I might do what you just said. Thank you for all that informations.
[Moto Maxx Android Development] fgl27:
Nice I hope this brings some good results, I really don't have the time to make what I already do and learn all google none sense things that can destroy they on OS, even with some odd things google is amazing

The main reason I have stop using gapps is because the insane data consumption that pisses me off a lot too, I have a very limited plan with the carrier call it unlimited but if I use 100MB in a day my speed is drop to 56kb yes it get back to 80's internet speeds :eek: even the 90's we had speeds greater the a single channel of 64kb.

After I did the switch I can go most of the days without limitation of speed and there is 5 devices connected to my sin card via a 3g/4g wifirouter, all android devices have no google play related services running of course...

And that has be prove very successful in other situation, because a google OS is not really intended to run without gapps, I have learn my self that some of my app don't work without it, app that I really need did not work after the switch fortunately I manage to patch the ROM to all none google frameworks related app to work, those that are depended on google play and frameworks of course I can't use but those are exactly the app that I'm trying to stay off and they are not the ones I really need.

And I know that is not just me running without gapps so is really good that the ROM support all users choices...

:good:
[Moto Maxx Android Development] fgl27:
have you wipe data?

if yes it may be need to format data and like I explain before that will erase internal memory so backup your personal things.

I had no time to understand how to solve this without a data format in the case of wipe of data and delete faulty files fail yet.
[Moto Maxx Android Development] anshul9702:
Thanks a lot for replyin! Yes, i have wiped data and once I have wiped internal storage as well, thus deleting everything but still the same thing in the recovery and play service showing stooped again and again.

I thank you for taking out so much time to reply back.

---------- Post added at 06:27 AM ---------- Previous post was at 06:20 AM ----------

Are you able to run google apps or flash other roms with diffrent gaps without getting this error? Hw did you got rid of this?

---------- Post added at 07:19 AM ---------- Previous post was at 06:27 AM ----------

I deleted every file there is with name of google using root explorer. Every folder deleted, except "com.google.android.gms". Its shows delete failed.