Warm donut reboots while installing market apps - Touch CDMA Android Development

When I install a bunch(or even 3 or so) apps at once from the market, the phone reboots. Likewise when I do a few of memory intensive things at once. I was finally at home and ready for it when it happened so I pulled a logcat right after it rebooted. Is there a problem or is it just one of a pitfalls of this device, when the memory gets overloaded it reboots?
Change the zip to txt

I had this problem and my phone had no space on it. I cleared out the /cache directory and everything started working.

Related

how to troubleshoot random freezes and restarts

Hi guys, I have had a G1 for over a year now, and it has been rooted for that long. I began using cyanogen's mods since 4.1 or so, and they have been rock solid until recently, when I upgraded from 4.2.6 to 4.2.7. Ever since that upgrade, my phone has been "freezing" and rebooting at seemingly random intervals.
First, let me try to define what I mean by freezing: this usually occurs when the phone is put to sleep, and it just refuses to wake up. The screen remains black, however my notification LEDs continue to flash (if they were flashing before). Sometimes, the phone freezes while I am using it; buttons stop responding, and opening/closing the keyboard does not change orientation. The phone usually gradually slows down to a crawl before this type of display-on freeze happens. In both cases, I am able to restart the phone by pressing call+end+menu buttons.
For the restarts: these started happening recently, I'll guess after 4.2.9. This always happen while I am using the phone. It'll pause for a second, like it's frozen, then restart back to the G1 boot screen a few seconds later.
I have tried wiping, repartitioning my SD card from scratch, using the phone without any of my apps installed, etc. The only thing that seems to fix this is if I downgrade back to 4.2.6. I have tried to narrow this down to the best of my ability, but I still cannot figure out the cause. My question is, how can I begin to troubleshoot this? Is there a log or some way for me to see what is the last thing the phone tried to do before it froze/rebooted? Right now, I don't even know where to begin.
well for the phone freezing it MIGHT be too many apps running in the background and eating up CPU usage...download advanced task killer from the market, it allows you to close apps that run in the background.
as for the random reboots, i am almost certain it has to do with the rom you are on. there should be an app called "log collecter" in your app tray, it comes with the rom, try and get the logcat from it when your phone reboots, and send that logcat to cyanogen via the link he provides on his thread.
2 things that I can think about:
1. Wipe you dalvik-cache
if that does not fix it
2. This may be a good time to re-format the ext 2/3/4 partition of your card and do a complete wipe.
I have this exact problem, it first started with random sd card errors "removed sd card" with an sd card inserted, and now the black screen of death, I reformatted and repartitioned my 8gb transcend class 6 card and flashed latest cyanogen. Today I got the black screen again so I used nandroid and went back to cyan 4.0.4, I still got the black screen freeze running old rom but so far sd card is working so not sure what the cause is, bad sd card? I just got this card a month ago... or phone going bad?
yeah, i get the freeze, its usually when i am running multiple resource eating apps. Try advanced task killer for a convenient notification bar click away from closing apps.
I also get the other problem where it wont wake up! Seems like we are running into the same problems under the same ROM. When it doesnt wake up i usually wait a few seconds and try pressing other buttons than the menu button to wake it up when its not turning on. A combination of waiting 5 seconds and trying a different button usually wakes it up.
Hey guys, thanks for the logcat info.
The most frustrating part about this problem is that it is unpredictable; it just happens when it feel like it and is impossible for me to reproduce, therefore I cannot figure out the cause nor can I tell whether or not any changes I make have any effect.
I do have ATK, and I use it regularly. It still doesn't stop this from happening. In fact, I installed ATK in order to try to solve this, which means before this started occuring, I did not even have ATK installed nor did I have this problem.
Can anyone tell if there were any significant changes from cyanogens 4.2.6 to 4.2.7? I see the changelogs, but most of it doesn't really mean anything to me because I don't understand what its talking about.
Yeah I usually get the freeze after installing a new rom onto my htc dream 32a. I just take out the battery and put it back in. Then I reboot and have no problems after that.
try going back to previous rom you had and see if the problem still exists... could possibly be an issue with latest update for rom...

Help? Battery/Software/SD?

So I've been lurking around this forum ever since the G1 first came out. Messed up on the rooting procedure once, got a replacement a few months ago.
Worked fine so far. A while ago, I flashed the latest SuperD rom. I am using an 8gig SD card. I've overcharged my battery several times by accident, so the health isn't exactly up to out-of-the-box standards.
I noticed the phone entered a random reboot when I turned the music on for a while. As time passed, the random reboots became more and more frequent. Since I couldn't keep the phone on for more than 20 seconds without a reboot, I decided to wipe and flash a new rom today.
I chose Pays 1.6 Rom and flashed that. Didn't wipe my ext4, just wiped and flashed. I figured ext4 wouldn't cause such a problem, so I ignored it for now. Problem not solved.
I turn the phone on, and in the few seconds, I noticed the following:
the apps all show up, meaning the phone reads the ext4 apps (right?.)
The sd card itself displays an error - I can't access music, pics, etc.
Phone service is fine, all apps are normal.
Buuuut there's still that random reboot issue. It reboots, enters a G1 screen, then reboots quicker. In other words, after I take the battery out and reboot, it might take maybe 1 minutes before it auto-reboots. I wait, then it reboots in maybe 30 seconds. And faster and faster, until it doesn't respond anymore and I have to take the battery out again.
I'm not sure what I do causes random reboots. Sometimes it's when I press a button while in the music app. Sometimes it's when I open the keyboard. Sometimes it's just when the screen goes to sleep. It's fairly random.
I can go into recovery (once I take the battery out once.) Fastboot also works.
Running the danger SPL and the second to latest radio (I believe a new one came out recently? Mine's the one with 26)
Help please? What part of my phone is broken?
I'll give additional information if asked. Not sure what parts are relevant.
Sound's like Kernel panic. Wipe everything and install soemthing stable like cyanogens 4.2.15.1 or dwangs rom. Didn't know there was anything worng with SuperD's kernel though.
jaekim708 said:
So I've been lurking around this forum ever since the G1 first came out. Messed up on the rooting procedure once, got a replacement a few months ago.
Worked fine so far. A while ago, I flashed the latest SuperD rom. I am using an 8gig SD card. I've overcharged my battery several times by accident, so the health isn't exactly up to out-of-the-box standards.
I noticed the phone entered a random reboot when I turned the music on for a while. As time passed, the random reboots became more and more frequent. Since I couldn't keep the phone on for more than 20 seconds without a reboot, I decided to wipe and flash a new rom today.
I chose Pays 1.6 Rom and flashed that. Didn't wipe my ext4, just wiped and flashed. I figured ext4 wouldn't cause such a problem, so I ignored it for now. Problem not solved.
I turn the phone on, and in the few seconds, I noticed the following:
the apps all show up, meaning the phone reads the ext4 apps (right?.)
The sd card itself displays an error - I can't access music, pics, etc.
Phone service is fine, all apps are normal.
Buuuut there's still that random reboot issue. It reboots, enters a G1 screen, then reboots quicker. In other words, after I take the battery out and reboot, it might take maybe 1 minutes before it auto-reboots. I wait, then it reboots in maybe 30 seconds. And faster and faster, until it doesn't respond anymore and I have to take the battery out again.
I'm not sure what I do causes random reboots. Sometimes it's when I press a button while in the music app. Sometimes it's when I open the keyboard. Sometimes it's just when the screen goes to sleep. It's fairly random.
I can go into recovery (once I take the battery out once.) Fastboot also works.
Running the danger SPL and the second to latest radio (I believe a new one came out recently? Mine's the one with 26)
Help please? What part of my phone is broken?
I'll give additional information if asked. Not sure what parts are relevant.
Click to expand...
Click to collapse
Since the rom relies on apps to sd I would guess the ext is borked and maybe the fat32 as well. I would reformat the whole thing to fat 32 then reformat to ext2 or 3. Load Dwangs rom for testing (easier to get running just as a test).
So I wiped my SD (ext4, dalvik, fat32) and tried cyanogen. Then I tried Pays. Reboot problem's gone, but neither of them is reading my SD card.
I'm assuming its just a matter of backing up the SD and repartitioning? I'll try that next when I have time.
Thanks for the help guys! Lastly, any ideas on why this happened? It'd be hard to pinpoint the exact reason, but I'm assuming I'm not the only one who had this problem - how did other people get to the situation I'm in?
I wiped all of my SD, repartitioned, wiped the phone, flashed AOSP 1.6. w/ root and "expansion" pack.
Reboots are less frequent, but they still occur too often. They don't occur by themselves - its always when I'm using my phone.
It seems that it reboots more when its connected to my computer. The SD isn't mounted, but the simple fact that its connected seems to trigger reboots more frequently. Is this a coincidence or can a USB cord trigger reboots?
Help please
EDIT: The phone just made an audible cracking sound as it rebooted - like someone stepping on gravel. Hardware issue?

Second time phone randomly froze, bootloop, then apps corrupted on SD card

I think it's honestly apps2sd or something hardware related. I'm rooted on stock without unlocking the bootloader and I believe I've had this issues with my phone before I rooted.. leading me to believe it's just something with apps2sd.
Phone just crashed when I was doing something on twitter (in the twitter app). It is now in a long boot up phase, and it eventually reaches the home screen however it's slow and then eventually unresponsive and goes into a boot sequence again. I'm pretty sure pulling the battery will fix it.. but I've let it keep going.
Here's some logcat's started at various times in the boot sequence.. eventually it reboots but it just keeps on spitting out the unexpected exception collecting process stats crap which is in the following logs (along with other potentially useful information):
Paste1:http://pastebin.com/tuGs0ctD
Paste2:http://pastebin.com/gdxEG9b
3rd which is started after it boots and then decides to go into a boot loop after. http://pastebin.com/v3MWHcw9
It has now finally stopped without me pulling the battery. However I LOST APPS. This has happened before. Any apps on my SD card are now just the default android icon and they don't launch. They show up without the right icons also in manage apps when I have the list of apps on the sd card. In adp logcat I keep getting this repeating no matter what's going on:
Code:
E/ActivityManager( 406): Unexpected exception collecting process stats
E/ActivityManager( 406): java.util.NoSuchElementException
E/ActivityManager( 406): at java.util.StringTokenizer.nextToken(StringTokenizer.java:272)
E/ActivityManager( 406): at com.android.server.ProcessStats.getCpuSpeedTimes(ProcessStats.java:520)
E/ActivityManager( 406): at com.android.server.ProcessStats.getLastCpuSpeedTimes(ProcessStats.java:486)
E/ActivityManager( 406): at com.android.server.am.ActivityManagerService.updateCpuStatsNow(ActivityManagerService.java:1540)
E/ActivityManager( 406): at com.android.server.am.ActivityManagerService$3.run(ActivityManagerService.java:1466)
What the **** is going on with my phone? Has apps2sd ****ed up on anyone else like this corrupting all the apps installed the sd card and causing a boot loop like this? This is pissing me off... I now have to redo everything *again* installed on my phone just when I got it how I liked it.
Edit: I can confirm this is some sort of ****ty apps2sd bug or application causing this. It's at this point not all apps that are affected (unlike last time) it seems but going into the manage apps and going to apps2sd and trying to uninstall one of the ones (about 4 or 5 apps out of 20 on sd) that doesn't have its own icon (guessing its corrupt) caused the phone to instantly restart.
Edit2: Pulled the battery. Seems to be more responsive and without the repeating bs in the logs over and over again. There was alot of activity and have the full log from when it turned on after the pull here: http://fedora.pastebin.com/U2hFN8gT . It somehow fixed itself and there doesn't seem to be any apps missing or apps corrupted from the SD card. Different outcome than last time. Anyone know how to prevent this in the future or what triggered it?
The very first time I rebooted my Nexus One about two months ago I had similar; said the SD card was corrupted, offered to format it. I powered down, was thinking about putting the card in my computer to run fsck on it but then realized I didn't have an adaptor, so figured I'd do it in the phone, powered back up. No problem. Timing?
Otherwise, a fsck often fixes weirdness with this sort of thing, but who knows what breaks if it finds bad chains etc..
In the case of Apps2SD, I wonder what happens.. do you get broken apps, but at least you can remove/reinstall them, or are they just gone and you don't really know what's missing now?
Other problem with reinstalling is most apps in Android are set to remove all data, setup etc, so then you gotta set it all back up again.
I honestly have no idea what happened. This is the second time this has happened and last time every app on my SD card was replaced with a generic android os icon (if they were on my homescreen) and when i went to manage apps and clicked on sd card all of them had that same icon without their respective icon's. Obviously i couldn't launch them. Further more I couldn't install any apps at that point, even ones different than the ones installed on my sd card. It would just stay at "installing" until I canceled it out in market. So I wrote down the ones on the sd card, had a recent backup, and did a factory reset/nandroid and deleted all the stored apps on my sd because after that it was still the same issue when I did the backup (the saved files on the sd being corrupted).
I've checked the sd card now 3 times reading and writing to it with a program to detect flash drive problems. I'm pretty certain I had the problem the first time on my old sd card that came stock with the phone.
Bad SD for me.
Sent from my Hero using XDA App
poochie2 said:
Bad SD for me.
Sent from my Hero using XDA App
Click to expand...
Click to collapse
How did you know it was bad? Mine has been tested abuot 4 times now on reading and writing to it using a program I googled. Reformated, ran the program to write/read to the flash drive and no issues.

[Q] stock nexus one highly unstable after boot up

my stock nexus one becomes highly unstable after booting up. im running strock 2.2.1, and this issue started apearing recently (after 2.2.1 update). the phone has never had any problems in the past.
whenever i turn the phone on, if i touch it it becomes really laggy and freezes, requiring me to pull the battery. however, if i let it sit for 15-20 minutes and then play with it it works fine, until the next time i shut id down (which can be days). i have performed a factory reset without reinstalling all of my old applications, i have formatted my sd card, and i have checked all the applications that start on boot up, but none of them seam to be the issue (when there was nothing on the phone it still reacted this way)
any suggestions? should i contact htc? this is really annoying.
Before you do, you could try to root and check the logs for anything suspicious (logcat and kmesg). Also you could try to install custom ROM and see if the problem still exists.
If it doesn't help - you should contact HTC.
EErez said:
my stock nexus one becomes highly unstable after booting up. im running strock 2.2.1, and this issue started apearing recently (after 2.2.1 update). the phone has never had any problems in the past.
whenever i turn the phone on, if i touch it it becomes really laggy and freezes, requiring me to pull the battery. however, if i let it sit for 15-20 minutes and then play with it it works fine, until the next time i shut id down (which can be days). i have performed a factory reset without reinstalling all of my old applications, i have formatted my sd card, and i have checked all the applications that start on boot up, but none of them seam to be the issue (when there was nothing on the phone it still reacted this way)
any suggestions? should i contact htc? this is really annoying.
Click to expand...
Click to collapse
Factory reset with formatted card? Has to be something wrong with the phone.
Go to recovery, wipe cache and dalvik cache, and try to boot phone again, often that helps.
tried wiping everything i can through recovery, yet my phone still freezes soon after start up. any chance htc will fix this? i dont want a refurb
Because when system has just booted up, it needs to check SD card and mounts all App2SD applications.
Try to boot your phone without SD and SIM card, see if it solves the issue.
tried removing sim and microsd and all th possible combinations.
it runs great without the microsd, so im guessing that was the issue. ill try another microsd to make sure its not a hardware/software bug related to sds in general but rather an issue with my specific microsd (which isnt the stock one).
thanks for the suggestion. i was very close to sending my phone in to htc (already had a ticket open and a fedex label)
that sounds good perhaps your SD card was corrupted. Connect it to your computer using a card reader, and do a disk check in Windows, see if it can fix any problem. Also try to degragment your SD card.

HELP - random restarting

Well, almost random.
I noticed it more when I turn on the screen, input pin code, then it restarts. Not every time but frequently. It also happens when I am using it for a few minutes.
It started today.
I haven't installed anything.
And I'm on vacation abroad right now.
So I can't even copy my personal data to a laptop & restore to factory settings.
Because there's no external memo card.
Are you happy Samsung?
You've really caused a havoc.
Because I can't go on like this.
I need my office to navigate & communicate with people.
I can't have it restarting every 6 mins!!!
I cleared system cache from boot menu
II cleared apps cache
Still randomly restarting.

Categories

Resources