I'm having an ongoing issue with my MT4G running CM7.1 where it will randomly reboot and take a day or two to stabilize again.
The issue is that whenever it is rebooted, whether randomly or on purpose, it just starts freezing after boot. It loads to the home screen, sometimes even runs for a few minutes then it freezes, forcing me to pop the battery and reboot. This then continues for a whole day sometimes two before it stays up and working. Then about a week or so later it will reboot randomly and the cycle repeats.
I'm trying to find a way to view any logs that might help me figure out what is doing this. I believe it may have something to do with the SD-EXT because if I unmount the SD card before reboot, it powers up fine to all of the internal default stuff. If I then mount the SD card after it is booted it finds all external apps fine. It does not find anything on the SD-EXT though. I use S2E for the SD-EXT and everything has been fine for months now. I'm guessing it is some app that is installed to SD-EXT but need to figure out which.
So I was wondering if there is an app out there or any way to view all of the log files even after a reboot. I looked into LogThis, neat little app btw, but it does not log if there is a reboot and obviously if the phone is rebooting I do not have time to run the app. :-/
Is there some way to do a dump file upon reboot or crash? Anything, please. Thank you!
If you can duplicate the reboot at will, run logcat through adb. When it reboots export the logcat to a text file.
estallings15 said:
If you can duplicate the reboot at will, run logcat through adb. When it reboots export the logcat to a text file.
Click to expand...
Click to collapse
more detail, please... what's the command in adb to do this?
I can just do a reboot myself, and then when it comes back up it will start doing the crashing cycle again. Will this log method get all of that?
I honestly would rather not reboot myself as I just got it back today after a 2-day loop. If I hook it up after it reboots on it's own again, will this still work to show me what happens when it freezes?
http://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
As this runs externally it catches pretty much everything. You cannot solve the problem until you identify its cause. Its up to you.
estallings15 said:
http://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
As this runs externally it catches pretty much everything. You cannot solve the problem until you identify its cause. Its up to you.
Click to expand...
Click to collapse
Thanks. I will give it a try, but my daughter is travelling this weekend so I need my phone on and don't want to chance not being able to get it back. I will check out your suggestion after. Thanks!
OK, so I finally got around to trying your logcat suggestion and I now have several very very long detailed log files saved on the desktop. I don't suppose there's a guide for newbs out there telling me how to read these darn things and figure out what's going wrong, is there?
Related
Hey all. I have searched but I was unable to find a thread pertaining this issue.
Phone: Android Dev Phone 1
Running: JFv1.50 ADP1.5
What has happened is that today SU/Root seemingly stopped working. I discovered it when I bought Kosh's Screenshot app and started it up. The app requires SU permission, and therefore the "SU Request" window popped up. But it's blank. A blank black screen which eventually will run low on memory and then force close.
I then tried to open the Superuser Permission app, same result. Opened Task Manager for Root Users, same deal. Opened the Terminal Emulator and typed "su", which actually worked! I still had SU privs there. Closed the TE and decided to reboot the phone, and now I don't have SU privs in TE anymore. Everything that's non root related is still working fine.
Does anyone have an idea what's happening here? I suspect that maybe the Market Enabler app or the AdsFree apps could have something to do with it, because they're the only root related apps I have installed the last few weeks, before this problem occurred.
I'm sure a wipe would fix this glitch, but I'd prefer not to do that unless it's necessary. Plus, it would be nice to know what's causing this, so I can avoid it in the future.
Same thing has happened to me. It worked fine for Term Emu, task manager, and ad block. But I tried using an OC app and when super user popped up blank. All my previous apps still work but any new root apps I install do not work. Not sure why though and the only way I found to fix it is to wipe. Do you have your apps on the sd card? I'm using the old method haven't gotten around to trying the new method. Not sure if that is the issue or not, the old version of super user never gave me any issues.
I did a wipe, and it sorted the problem out, for some root apps. Now I'm back to the same crap again though, the SU Request window pops up but it's all black and eventually it force closes.
According JF's blog he included "a much better Superuser app, courtesy of zinx" in the 1.50 release. It's obviously what's causeing our problems, I never had an issue with the old one, but I don't know what to do about it. I don't want to go back to 1.1 or Haykuro's builds. I guess I'm stuck with a semi-crippled JFv1.50 ADP1.5 until someone with more brains than me finds and posts a proper solution.
Yeah Ive been noticing the same thing. Also the superuser list GUI is horrible. I liked how in the last one you can choose what programs you'd want to remove su access from.
andonnguyen said:
Yeah Ive been noticing the same thing. Also the superuser list GUI is horrible. I liked how in the last one you can choose what programs you'd want to remove su access from.
Click to expand...
Click to collapse
Exactly. I'm not sure what he means by "a much better Superuser app", because for a layman like myself it seems a lot worse than the old one
This is just going from bad to worse. Now I discovered I have no positioning via wifi/3G anymore. I have to start the GPS and go outside and wait for a signal to get a lock on my position, which sucks. What the hell is going on? If not even a wipe is enough I guess I'm looking at a complete reinstall, but if all this has happened once it can/will happen again. I would much prefer to find the cause of all this crap.
Ok, so I found the cause for the Assisted GPS issue at least. My Micro SD card needed repairs. I put it in a SD card adapter and plugged it in to my laptop and let Vista repair the file system (apparently there were close to 100 errors on the damn thing) and now it seems to be working again.
Edit: This might actually have fixed my issues with the superuser permissions too. Knock on wood. I'll have to get back to you on this.
I'm having this Exact issue
I am having this exact same issue on dudes build. I have tried everything from scanning to formatting the SD i have flashed back and forth from Jf1.42 to jf1.50 and then to all different dude builds and i have no clue what to do next.
I do a wipe every time i flash and the only way to get any su access is to have jf1.42 or haykuro build. Anyone Else having an issue? I have been working on this for 3 days straight now...
For me it was an SD card issue. If you have a spare card, try that instead, or if you can borrow a card from a friend, just to see if it resolves your problems.
I realize that you have repaired/formatted your SD card, but it could be something wrong with it that screws things up. Worth a try, right?
Absolutely I'm looking for one right now thanks for the quick response. I'll let you know if it works. I have a 2gb sandisk in there now, so i still have my 1gb and my girlfriends 1gb too. Her phone has no su problems at all.
I also ran across the same problem reported here, only a wipe solved it. I believe it had something to do with the Market Enabler (non-signed) app, which was the only one I installed that first showed me the dreadful empty SU screen...
Fixed It
My Problem has been fixed by formatting the sd card with the phone itself.
I copied off all my info, unmounted it from the computer, unmounted it from the phone, this gave the option to format the sd card.
Once that was done i copied all my data back and when i installed programs from my sd i have not had a single su problem since.
I was having all these same problems in JF's 1.5 build, and none of the wiping/formatting SD/trying a different SD card combinations did the trick. Then, I went into JF's blog post where he released 1.5, and someone posted there that enabling USB debugging would fix the issue. I did this, and what do you know, now my superuser permissions app works again in everything, even in unsigned apps! Maybe this is why a wipe fixed it for some people, and not for others?
n17ikh said:
Then, I went into JF's blog post where he released 1.5, and someone posted there that enabling USB debugging would fix the issue. I did this, and what do you know, now my superuser permissions app works again in everything, even in unsigned apps! Maybe this is why a wipe fixed it for some people, and not for others?
Click to expand...
Click to collapse
Not to Jesus resurrect this thread, but I had the same issue and same fix as n17ikh here on the ION build. Enabled USB debugging and su/superuser permissions started working Too bad I have to disable USB debugging in order for my car stereo to mount my G1 as a USB device, but at least I have a solution
Hope this helps anyone else who may stumble upon this.
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
riggsandroid said:
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
Click to expand...
Click to collapse
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
chromiumleaf said:
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
Click to expand...
Click to collapse
never got a response, and just sort of let it go. I'm sure there is a .db file somewhere that stores this information.
Anyone have any idea?
Try adb sync.
HeroMeng said:
Try adb sync.
Click to expand...
Click to collapse
Gosh, I can't find anything out there about how to use adb sync, been searching for a good half hour or more. The few hits I found didn't make sense to me.
I enter 'adb sync' and get returned to me: "Product directory not specified; use -p or define ANDROID_PRODUCT_OUT"
Get that even after entering 'adb remount' then 'adb sync'. I have also read 'adb help all' and don't understand what all that means -- it's a little over my head.
Any further help/thoughts? Thanks.
I'm looking through my nandroids .img files and attempting to determine where this information is stored. I found some stuff in the data/data directory which seems to be folders for all the apps we have ever installed on the phone. even ones I know I have removed.
I'm going to nandroid and attempt to remove them and see if that will fix our problem. It is annoying to go into Applications and have it take forever to load with 30-40 apps that aren't even installed anymore.
I'll update you in a bit.
riggsandroid said:
I'm looking through my nandroids .img files and attempting to determine where this information is stored. I found some stuff in the data/data directory which seems to be folders for all the apps we have ever installed on the phone. even ones I know I have removed.
I'm going to nandroid and attempt to remove them and see if that will fix our problem. It is annoying to go into Applications and have it take forever to load with 30-40 apps that aren't even installed anymore.
I'll update you in a bit.
Click to expand...
Click to collapse
well i removed it and it shows 0kb now as the size where before it showed the size of the folder. I'm rebooting to see if it works.
Well...apparently I'm in a bootloop. let me try clearing Dalvik
Now I have my nandroid, but does anyone know why removing a file in /data/data would cause a bootloop? It was leftover from a program that I removed via ADB when I first flashed my current ROM.
Thanks.
riggsandroid said:
Now I have my nandroid, but does anyone know why removing a file in /data/data would cause a bootloop? It was leftover from a program that I removed via ADB when I first flashed my current ROM.
Thanks.
Click to expand...
Click to collapse
Don't know the answer to that. Side question: Did what you do actually remove those ghost apps/pieces from the Manage Apps list? Or I guess maybe you never found out because of the bootloop?
Thanks for trying something.
chromiumleaf said:
Don't know the answer to that. Side question: Did what you do actually remove those ghost apps/pieces from the Manage Apps list? Or I guess maybe you never found out because of the bootloop?
Thanks for trying something.
Click to expand...
Click to collapse
The item was still in the list, but it showed 0.0 kb where as before it showed like 75kb or whatever. I was trying to reboot to see if it would rebuild the file that it sued, but....i got stuck in my bootloop and had to nandroid...
back to the drawing board.
riggsandroid said:
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
Click to expand...
Click to collapse
chromiumleaf said:
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
Click to expand...
Click to collapse
Any updates on this anyone? Anyone? Bueller?
No biggie, just kinda annoying and would like to get to the bottom of it .
I've been attempting a solution to this annoying issue. Read somewhere in here someone refer to an app on the market capable of doing this...
Try reflashing your recovery. It seemes like your nandroid your restoring may still have the data from the apps you pulled out. So when you delete them and wipe everything but then do a nand restore I think your putting the leftover data back on. In my experience when I pull or delete system apps that I don't use I always do them this way.
Using TB I delete all the apps I don't use. Then in TB I refresh the app list to show current app installed. Then I go into my manage apps settings to force close TB then clear data then unistall Tb. Then I reboot and let the phone settle in. Then I power down and reboot into recovery with power and home. I used to with the volume down and power but Ive always had bootloops and errors that way. Since I started using power and home I've had no problems. Anyways-- Then I wipe cache and dev cache and reboot once more. After that I reboot and then do a nand backup. I know its a lot and I'm not sure if this will help you at all but just thought Id put it on here in case it might. Well good luck and I hope you get it all worked out.
Root-Hack-Mod-Always™
Thank you, i will try what you have suggested. I use TB, and am familiar with the whole process, but have never wiped cache and dev cache.
I completely agree with your statement of "letting the phone settle in", so true...
So i couldn't get the update to the OS all night cause of the 3G outage. So in the morning i DL'd the Droid X Bootstrap app so that i could make a backup before doing the update. I was in my car waiting for it to warm up and figured why not run it now while i have time to kill. I hit the reboot recovery option, and the phone reboots, CRAP, i forgot i had to hit keys to put it into recovery. Oh well i think, no biggie.
Fast forward an hour later i get a call, it doesn't play my normal ringtone, instead plays a stock tone. Odd i think. I go to bed and wake up, my X can't access the SD card anymore. Well apps cant. I can view it in the settings > SD Card. See it's there and the space on it. Can unmount it and re mount it. I can even view the files through Root Explorer. However no other apps can see it. Gallery leaves it blank and if i try to access it it closes the app. Same thing with my media players.
What the hell did i do wrong? and how do i fix this?? I have rebooted 5 times now, pulled the SD card each time and put it back in. Still same issue. Can see it in the phone settings and Root Explorer, just nowhere else. Please help me.
edit: i have never made a back up before, so i have nothing to go back to. Like i said i can view it fine through Root explorer and open files and whatnot on it. But if i try to view the files from my gallery, or camera, or media players...i go nowhere they see nothing.
Try rebooting into recovery, mounts and storage, make sure it says unmount on the sdcard. I saw a droid do this recently
Sent from my DROIDX using XDA App
How do I do that? I downloaded the full clockwork recovery app. I say reboot into recovery. It reboots, the status bar gets 1/4 way full then the phone reboots again and loads like it normally should. I never get into clockwork.
Do it with the bootstrap, bootstrap recovery. Then reboot recovery . Also try reflashing clockwork
Sent from my DROIDX using XDA App
I thank you VERY much for your help. I got to the storage screen. My SD card only said Mount, so i clicked it to Unmount and rebooted. Still not working right though. I can get to music via the media player, but my playlists are still blank when i look at them, though the names to them are still there. And my gallery refuses to open at all now. Before i could still look at what was on the phones memory...now i get nothing.
THis is just frustrating as ****. Thank you for your help though. It is greatly appreciated. Any other ideas? Can i reflash the gallery app or something?
edit: screw it, just DL'd a new gallery app, will use that instead. It seems to work fine, no clue why the stock one is boinked though. And i guess i will just have to rebuild the playlists. Oh well. My fault for trying to do something without researching. Thank you again for your help.
Now to see if the camera can save to the SD card again or not
Your welcome, glad to help
Sent from my DROIDX using XDA App
I wanted to bypass the kitkat restrictions and be able to upload directly to the external SD card with AirDroid, but this seriously backfired on me lol. Ever since editing the platform.xml file in /system/etc/permissions/ and rebooting the phone I've been stuck in a continuous force close loop. I've wiped the cache but this didn't improve anything. I was able to turn all data connections off which actually prevents the force closing from happening, but that seriously diminishes how smart my smartphone is so staying like that is not an option
Now that I've stopped the messages from happening, I've noticed that my internal SD isn't being recognized anymore. Camera doesn't work, the file manager shows zero files and my gallery doesn't show any pictures either. Same for the MP3 player. Most apps are broken now, but some who don't require an internet connection still work.
At this point I'm thinking that I've probably corrupted my internal SD? I think my system partition is fine as I can still run apps and use the system as it should, but I can no longer create files, maps or do anything that requires my internal SD.
Are there any suggestions as to what I should do next? Formatting/factory resets are a last resort so I'm hoping anything can be done to recover my phone! Thanks in advance!
Shuji1987 said:
I wanted to bypass the kitkat restrictions and be able to upload directly to the external SD card with AirDroid, but this seriously backfired on me lol. Ever since editing the platform.xml file in /system/etc/permissions/ and rebooting the phone I've been stuck in a continuous force close loop. I've wiped the cache but this didn't improve anything. I was able to turn all data connections off which actually prevents the force closing from happening, but that seriously diminishes how smart my smartphone is so staying like that is not an option
Now that I've stopped the messages from happening, I've noticed that my internal SD isn't being recognized anymore. Camera doesn't work, the file manager shows zero files and my gallery doesn't show any pictures either. Same for the MP3 player. Most apps are broken now, but some who don't require an internet connection still work.
At this point I'm thinking that I've probably corrupted my internal SD? I think my system partition is fine as I can still run apps and use the system as it should, but I can no longer create files, maps or do anything that requires my internal SD.
Are there any suggestions as to what I should do next? Formatting/factory resets are a last resort so I'm hoping anything can be done to recover my phone! Thanks in advance!
Click to expand...
Click to collapse
Your SD card is recognized by the PC or laptop? I think you wrote some fault in the platform.xml file... can't correct it?
Tkkg1994 said:
Your SD card is recognized by the PC or laptop? I think you wrote some fault in the platform.xml file... can't correct it?
Click to expand...
Click to collapse
My PC is able to recognize the internal memory and that there is only 2,7GB of free space (which seems about right). However, when I enter the drive it appears empty. Windows isn't able to see anything. So in that regard Windows is acting the same as my phone.
As for platform.xml, I added <group gid=”media_rw” /> to “WRITE_EXTERNAL_STORAGE“ and didn't do anything else besides that. It's really weird how this happened in the first place.
Any suggestions how to go from here? =)
edit;
I also removed the added permission but this didn't change a thing.
Shuji1987 said:
My PC is able to recognize the internal memory and that there is only 2,7GB of free space (which seems about right). However, when I enter the drive it appears empty. Windows isn't able to see anything. So in that regard Windows is acting the same as my phone.
As for platform.xml, I added <group gid=”media_rw” /> to “WRITE_EXTERNAL_STORAGE“ and didn't do anything else besides that. It's really weird how this happened in the first place.
Any suggestions how to go from here? =)
edit;
I also removed the added permission but this didn't change a thing.
Click to expand...
Click to collapse
Hi
Mate do you have a custom rom? flash NO WIPE so you will restore the system , all apps and data will remain
MAX 404 said:
Hi
Mate do you have a custom rom? flash NO WIPE so you will restore the system , all apps and data will remain
Click to expand...
Click to collapse
Should have probably tried this. Instead I became frustrated with the device and did a factory reset (which didn't solve a thing) so the problem is somewhere in the system which is causing the errors. Going to flash the latest stock rom in a bit and HOPEFULLY the phone will work again.
Shuji1987 said:
Should have probably tried this. Instead I became frustrated with the device and did a factory reset (which didn't solve a thing) so the problem is somewhere in the system which is causing the errors. Going to flash the latest stock rom in a bit and HOPEFULLY the phone will work again.
Click to expand...
Click to collapse
Lets hope so.
Good luck
Shuji1987 said:
Should have probably tried this. Instead I became frustrated with the device and did a factory reset (which didn't solve a thing) so the problem is somewhere in the system which is causing the errors. Going to flash the latest stock rom in a bit and HOPEFULLY the phone will work again.
Click to expand...
Click to collapse
A factory reset will only wipe the /data part. Because you did something in /system that part is untouched. A reflash should fix it.
Lennyz1988 said:
A factory reset will only wipe the /data part. Because you did something in /system that part is untouched. A reflash should fix it.
Click to expand...
Click to collapse
Yeah I noticed, my bad.
However, I flashed the latest stock rom and did another factory reset but the problem is still present. I keep getting a force close loop. What am I forgetting? What can I still do to fix this problem? I'm at a loss here xd
Shuji1987 said:
Yeah I noticed, my bad.
However, I flashed the latest stock rom and did another factory reset but the problem is still present. I keep getting a force close loop. What am I forgetting? What can I still do to fix this problem? I'm at a loss here xd
Click to expand...
Click to collapse
hi,
As you were "playing around " with your externalSD why you don't copy everything you have on it , format it and see if it works ..before restoring anything onto it
Anyone? Still having severe issues...
----
I have very happily used Cyanogenmod 11 on a Samsung S4 GT-I9505 for many years. Now suddenly after an apparently harmless update of a few Apps (gmail, youtube, firefox and a few more small ones), apps on my phone keep crashing whenever it accesses some deeper app info. Sometimes they even reboot my phone.
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Leaving the phone turned on for a night will result in a working Trebuchet launcher from which I can run most apps, but accessing Settings > Apps, for example, will briefly show the Apps and then crash Settings. Titanium Backup will run for about a minute while "Building data freshness information..." and then crash TB, sometimes even reboot the phone. Dragging an app icon from the launcher onto "App Info" will briefly display the app info while computing disk space and then crash. So I cannot reset cache or app data on the phone itself (I can through adb, though).
What I tried so far: Installed three other launchers but they showed the same symptoms, one even directly rebooted the phone. I booted into recovery and reset the Dalvik cache and let CM rebuild the app details on restart with no apparent positive effect. I tried removing the SD card but did not see any positive effect either. Booting into Safe Mode did not help, I still see systemui and trebuchet crashing upon restart. Also clearing the app data for Trebuchet (through 'adb shell pm clear com.cyanogenmod.trebuchet') did not remove the crashes.
Some more details: I have about 300 apps installed. Internal storage has about 1GB free, the SD card has 400MB available. I can connect to the phone via adb, but 'adb backup' produces only an empty file. I can run Play Store, list my apps, install updates. This is a Samsung S4 GT-I9505 running Cyanogenmod 11.0 based on Android 4.4.4.
Any help would be much appreciated! Moving all my apps and their settings to a new phone or a new OS would be a very big effort which I very much would like to avoid.
Thank you very much in advance!
PS: What would be the best way to make a full backup of the phone before trying out a new ROM?
mb42 said:
Anyone? Still having severe issues...
----
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Lill briefly display the app info while computing disk space and then crash. So I cannot reset cache or app data on the phone itself (I can through adb, though)...
/QUOTE]
I guess problem might be with update package. As of best way of backup, I use titanium background and it's pretty good!
Everyone's requirements and usage is different so you might try something else as well.
Click to expand...
Click to collapse
Asder.mko said:
I guess problem might be with update package. As of best way of backup, I use titanium background and it's pretty good!
Click to expand...
Click to collapse
As mentioned, Titanium Backup is one of those apps that crashes.
Any other suggestions what I could do to get rid of those crashes?
Just in case someone else reads this - after a lot of trial and error, I was able to identify a single app (ISS Detector) as the culprit. Uninstalling the app removed all the crashes. Re-installing it would crash-boot the phone immediately after the install was complete!
I have NO IDEA why a normal app would be able to crash the entire OS but I am glad to be able to use my phone again.
mb42 said:
Just in case someone else reads this - after a lot of trial and error, I was able to identify a single app (ISS Detector) as the culprit. Uninstalling the app removed all the crashes. Re-installing it would crash-boot the phone immediately after the install was complete!
I have NO IDEA why a normal app would be able to crash the entire OS but I am glad to be able to use my phone again.
Click to expand...
Click to collapse
??