[Q] Device hangup - what is the reason for - Desire Q&A, Help & Troubleshooting

I have very strange behavior of my Desire. Several weeks ago I have installed InsertIcon v1.0.8 non-CM version. Everything was fine, run quite smothly. But last week I had the first device hangup. Without any critical operation it's just stop working - locked, no program running, only hard reset help (battery take out). Then it was running for several days without any problems and hanged again and again after reboot. And then again... in several minutes.
I thought it was just because of some new software - I delete it (2x battery and some device monitoring software). But problem became worse and worse - finally I got lost all my widgets from the screens, except application links. The problem is wiered - device can run for several hours without any problems and then hangup because of ... nothing. Just frozen in Screen On or Off ... What is the reason for it? Is it device, SD card or software related? How could I fix it?

Related

Phone problem..was working fine - Help!

Guys,
I've stuck the Artemis TouchFLO rom on my device without any issue. Using it for a few days without any issue. Stuck an SD card in my device to test it out...and immediately I have issues. I go into the "Settings" screen and I cannot 'x' my way out of it...it eventually comes up with a "shell error - attempting to reload shell".
I've since taken the SD card out and restarted but I'm still getting this issue.
Anyone got any ideas cos It's doing my head in
Well a hard reset sorted the issue...but I'm wondering if it will return again. Anyone have any idea what causes such an error?

[Q] query

hey guys,
I m facing 1 irritating problem with ma touch diamond. After some time when I install any ROM ma diamond gets hang. when i use to reboot it up, always it automatically gets soft reset (screen showing - preparing device for first use - after restart) so I lose all installed programs.
So i thought, it might be problem of ROM. So I have tried plenty of ROMs n Radios but after each set up system can able to survive only for 2 to 3 days.....n again it either hangs the fon or makes all installed programs inaccessible (it dosen't show fon memory in file explorer)........
So any body hav solution for this??
or is it hardware problem??
kaustubhv1 said:
hey guys,
I m facing 1 irritating problem with ma touch diamond. After some time when I install any ROM ma diamond gets hang. when i use to reboot it up, always it automatically gets soft reset (screen showing - preparing device for first use - after restart) so I lose all installed programs.
So i thought, it might be problem of ROM. So I have tried plenty of ROMs n Radios but after each set up system can able to survive only for 2 to 3 days.....n again it either hangs the fon or makes all installed programs inaccessible (it dosen't show fon memory in file explorer)........
So any body hav solution for this??
or is it hardware problem??
Click to expand...
Click to collapse
Your problem is a common problem with an easy solution http://forum.xda-developers.com/showthread.php?t=540290
I always use mtty before flashing

[Q] AT&T tilt problem - gets stuck 2 to 3 times a day

Hi all,
My phone is AT&T tilt.
Kernel : 2.6.25-dirty modified using Atools - Panel 2 type
Android 2.2.1 - Not So Super Froyo RLS 18 updated with latest androidupdate using the kernel menu to update.
all installed on NAND , using p2 for system and p3 for data and auto for swap
My problem and it seems that i am the only one or at least no one has reported it, is that the phone gets stuck 2 or 3 times a day with the backlight dimmed and the screen pixeled with grey and black random pixels.
If anyone tries to call me when this happened, my phone doesn't do anything and they have a normal ringing as if i am not answering. when i restart the phone there would be no log of what happens during the stuck phase. Sometimes it also gets stuck during the restart and i have to clear the Dalvik Cache, and all info , contacts gmail account . everything is gone and i have to resync.
Any help or pointing me to what i am doing wrong is highly appreciated.
Thanks to all in advance
Are you familiar with the Fn + Left Soft Key, wait 5 seconds, then Fn + Rt Soft Key?
Sounds like it's just stuck in VSync, which because the phone is not top of line, Android refreshes the screen faster than the phone can react, so there's a delay script in place that helps fix this, but this stuff still happens due to limited hardware.
Whenever you get the pixel snow, try that combination above too see if that helps. If not the only other thing that can be happening is data corruption, which has been around since Day 1. Try installing system on NAND and data on your SD Card and that should help with your data corruption issues as well.
Also, if you are installed completely on NAND, you could do backups of your /data partition on a daily basis (takes about 1 minute on replimenu). I do mine daily even though I have a fairly stable install. I have been having issues with the ribbon cable lately and the phone will lock in sleep mode and run the battery down a bit. Not sure if this is software or hardware related.
IMHO, if you download anything from the market, back up your /data partition as soon as you can to save all your info and newley downloaded apps or games.
Krazy-Killa said:
Are you familiar with the Fn + Left Soft Key, wait 5 seconds, then Fn + Rt Soft Key?
Sounds like it's just stuck in VSync, which because the phone is not top of line, Android refreshes the screen faster than the phone can react, so there's a delay script in place that helps fix this, but this stuff still happens due to limited hardware.
Whenever you get the pixel snow, try that combination above too see if that helps. If not the only other thing that can be happening is data corruption, which has been around since Day 1. Try installing system on NAND and data on your SD Card and that should help with your data corruption issues as well.
Click to expand...
Click to collapse
thanks a lot , no i am not familiar with this option and i will give it a try as soon as it happens , i also should try the data on SD .
PoXFreak said:
Also, if you are installed completely on NAND, you could do backups of your /data partition on a daily basis (takes about 1 minute on replimenu). I do mine daily even though I have a fairly stable install. I have been having issues with the ribbon cable lately and the phone will lock in sleep mode and run the battery down a bit. Not sure if this is software or hardware related.
IMHO, if you download anything from the market, back up your /data partition as soon as you can to save all your info and newley downloaded apps or games.
Click to expand...
Click to collapse
i tried the backup using the replimenu , but it is not working properly . it a long time , after that i restart the phone and the backup file size would be 0 KB.
that was on the old build that i used , i will try it with this build , thanks a lot

[SOLVED in 2.3.6] Gingerbread 2.3.5 JQ3/JQ4 (soft) reboot issues (random + MicroSD)

UPDATE: [SOLVED] Looks like the GingerBread 2.3.6 ROM fixed this issue.
When the MicroSD card is scanned at startup (i.e. the card is already inserted when the device starts), the MediaScanner / PackageManager analyses the card and this seems to generate a deadlock within the system_server process (.ServerThread), which results in a soft reboot. I don't know if this happens only when there are Apps2SD files (I didn't test this particular edge-case).
So, quite simply, I just insert the MicroSD card once the device is completely booted
UPDATE: sometimes the reboot occurs in this case too, so the deadlock is not completely unavoidable. However, if I long-press the search button, the system doesn't respond which generates a Force Close popup dialog for "Android System" => if I force-close this process, then the device starts responding again and everything works as normal!
Additional note: the MicroSD is perfectly stable when connected in USB transfer mode.
----------
Stock JQ3 has been rebooting randomly on my Tab (no obvious error message in logcat, disabled overclocking/undervolting, Koxudaxi or Overcome kernels, RFS or EXT4 filesystem)...sometimes I can use the Tab for days without problems, but today it keeps rebooting (with or without any interaction from my part).
UPDATE: confirmed with JQ4 too.
The logcat reveals that the watchdog detected a
system-process deadlock, and forced a full restart of the Android
runtime. Here's what [/data/anr/traces.txt] says for .ServerThread (system_server):
Code:
"android.server.ServerThread" prio=5 tid=10 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x4050fc58 self=0x2f34a8
| sysTid=12309 nice=-2 sched=0/0 cgrp=default handle=3093984
at java.util.HashMap$HashIterator.hasNext(HashMap.java:~791)
at java.util.AbstractCollection.toArray(AbstractCollection.java:356)
at com.android.server.PackageManagerService.getInstalledPackages(PackageManagerService.java:2385)
at android.app.ContextImpl$ApplicationPackageManager.getInstalledPackages(ContextImpl.java:2186)
at com.android.server.BackupManagerService.allAgentPackages(BackupManagerService.java:966)
at com.android.server.BackupManagerService.addPackageParticipantsLocked(BackupManagerService.java:874)
at com.android.server.BackupManagerService$1.onReceive(BackupManagerService.java:836)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at com.android.server.ServerThread.run(SystemServer.java:673)
"android.server.ServerThread" prio=5 tid=10 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x4050fc58 self=0x2f34a8
| sysTid=12309 nice=-2 sched=0/0 cgrp=default handle=3093984
at java.lang.String.compareTo(String.java:~60)
at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:650)
at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:447)
at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:370)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:178)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:142)
at java.util.Arrays.sort(Arrays.java:1974)
at com.android.server.PackageManagerService.getInstalledPackages(PackageManagerService.java:2388)
at android.app.ContextImpl$ApplicationPackageManager.getInstalledPackages(ContextImpl.java:2186)
at com.android.server.BackupManagerService.allAgentPackages(BackupManagerService.java:966)
at com.android.server.BackupManagerService.addPackageParticipantsLocked(BackupManagerService.java:874)
at com.android.server.BackupManagerService$1.onReceive(BackupManagerService.java:836)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at com.android.server.ServerThread.run(SystemServer.java:673)
More information here:
http://www.google.co.uk/search?q=reboot+Sending+signal+WATCHDOG+KILLING+SYSTEM+PROCESS
I got reboot whenever I enable wifi.
Hadn't test anything more than this.
Reverse back to dxjpj asian rom
Yes, I realized Wifi would potentially be the cause of the problem, so I am in "flight" mode with both wifi and cellular off.
This is clearly a "system_server" reboot (i.e. the adb connection via USB to my laptop remains alive), so I can capture the system logs even whilst the system is rebooting. Here's some info I found in a mailing list:
Code:
Runtime restarts are almost always for one of two reasons: either a
component running in the system_server process has crashed outright,
or something has caused the system_server's process primary looper
thread to deadlock. The deadlock case is announced by a line in the
logcat buffer reading something very like this:
04-04 14:06:16.888 885 1089 W Watchdog: *** WATCHDOG KILLING SYSTEM
PROCESS: null
I'm going to talk about the NON-deadlock cases first; they're simpler
to diagnose: just look in the logcat trace for the messages about the
system process crashing. There will be a Dalvik stack trace there to
the point at which the fatal exception was thrown, and you then know
where to go looking for the bug. As always, the event log and the
primary text log contain different information; both are useful for
reviewing the state and activity of the device leading up to a crash.
If the crash *was* due to a deadlock, things get a little interesting.
When the watchdog declares a deadlock and forcibly kills the system
process, it first captures the current stack trace of every
system_server process thread into the usual ANR stack trace file
(/data/anr/traces.txt on most devices). This file is automatically
included in a bugreport -- yet another reason to pull a full bugreport
rather than just logcat.
Look at the timestamp of where the watchdog declared a problem. In
the example line I gave above, it was 04-04 14:06:16.888. That tells
you which set of stack traces you're interested in within the "LAST
ANR" section of the bugreport. Find the system_server stack dumps
that were captured at the time of the watchdog's message. For
example, in the bugreport that my example came from, the "LAST ANR"
section was headed:
------ VM TRACES AT LAST ANR (/data/anr/traces.txt: 2011-04-04 14:06:14) ------
and the file holds *two* sets of system_process stacks. One of them
starts like this:
----- pid 885 at 2011-04-04 14:05:42 -----
Cmd line: system_server
and the second starts like this:
----- pid 885 at 2011-04-04 14:06:12 -----
Cmd line: system_server
Note that the first was taken 30 seconds before the second, and the
second was just a few seconds before the watchdog message about
killing the system process to restart the system. The watchdog takes
a thread snapshot after 30 seconds of the looper being unresponsive,
then another snapshot after a full minute of unresponsiveness; and
it's after that full minute that it declares the deadlock and restarts
everything. You probably want to start with the later thread stacks,
the ones that reflect the state of affairs when the watchdog finally
gave up.
In most Android applications the primary looper thread is called
"main", but this is *not* true of the system_process. The primary
system_process looper thread is titled "android.server.ServerThread".
Find that thread's stack trace that was taken at the time the watchdog
declared the deadlock, and you'll be off and running as far as
diagnosing what has caused that looper thread to be unresponsive for >
60 seconds.
At this point you've got the information you need to figure out what
locks are being contended for, what unapproved long-running operations
might be mistakenly being run on the system process's main looper,
etc. Dalvik's stack dump output is very useful, especially since it
tells you things like which other thread currently holds a lock being
requested.
Finally, so it's not my custom rom that cause random reboots to some users.
The strange thing is that not everyone get this issue, me for example, have not none a reboot since i've flashed it.
Daniel, did you have this problem in pure stock jq3?
Meant without overcome kernel installed.
Anyway, you should have this issue with jq4 too, since there are less differences between both versions.
daniel.weck said:
I'm not sure how to Heimdall-flash the JQ4 PDA tar over the ext4 partition? (since I installed Overcome, which aggressively converted /system and /data from RFS to EXT4 without any user-prompt).
Click to expand...
Click to collapse
Ok, that was simple: I flashed [factory.rfs] from JQ4 using Heimdall without repartition (and with the usual PIT file), and on reboot the Overcome kernel automatically converted to EXT4 once again (a short 2 minutes process, as my /data partition had already been converted before). The APKs are now being Odex'ed (Dalvik cache reset)...waiting...
I hope this will fix the reboot issue. UPDATE: no
af974 said:
Finally, so it's not my custom rom that cause random reboots to some users.
The strange thing is that not everyone get this issue, me for example, have not none a reboot since i've flashed it.
Daniel, did you have this problem in pure stock jq3?
Meant without overcome kernel installed.
Anyway, you should have this issue with jq4 too, since there are less differences between both versions.
Click to expand...
Click to collapse
As soon as I installed stock JQ3, I had a couple of reboots, however the ROM "became" stable rapidly and I enjoyed using the Tab for a number of days without any major issues. All this time, I was using Koxudaxi's build (overclocked, undervolted). Today, I updated some apps using the Market, I launched ezPDF and the system then entered this reboot frenzy! I went into flight mode to eliminate potential wifi/radio issues, I removed the overclocking/undervolting, and finally I switched to the Overcome kernel (just to try something different)...to no avail.
I have now flashed JQ4 [factory.rfs], but the system is rebooting again. Frustrating!!
I'm going through /data/anr/traces.txt again, hoping to find the culprit...
I was running stock froyo for the longest time, almost a year. I had huge problems with random reboots. Typically two-three days with frequent reboots followed by a week or two with few or no reboots.
I related the reboots mostly to two different things.
One was sim related and even though I had a new simcard I eventually had to get a new. I've also read about other tabowners with similar problems so maybe tabs are "simsensitive". With the new simcard, this problem went away.
The other problem was with wifi.
The easiest way to make my tab find my wireless quickly, was to put it into flightmode and back on again immediately. In 30-40 percent of the cases this would cause it to crash and reboot. After the reboot everything was fine again.
A month ago I finally dared to flash and I've been on the latest Overcome for a month now. I've had just a single random reboot in this time.
Just my two cents...
The issue appear indeed in the two versions of the ROM, the jq4 also have this issue and tweaking the build.prop does not change it, af974 I've try you're patch but still the issue remains, what is weird is that I spend the last 10 hours on wifi with no reboot and this morning, boom, reboots... the networks is not the same but still...
SOLVED.
UPDATE: [SOLVED] the reboots stop once the MicroSD card is removed from its slot. I have also tried to remove the SIM card. As soon as the SD card is inserted, the Apps2SD applications are analysed by the Nazca/Media Scanner and from this point onwards the Package Manager sub-system goes crazy. I will restore my apps on the device, and I will format the MicroSD, again... I doubt it is a problem with the Micro-SD hardware itself, more like a driver issue. It seems quite common with mobile phones, all brands concerned.
Nice one Daniel,
let us know how it goes after some test in the meantime i'll point my users to here.
daniel.weck said:
UPDATE: [SOLVED] the reboots stop once the MicroSD card is removed from its slot. I have also tried to remove the SIM card. As soon as the SD card is inserted, the Apps2SD applications are analysed by the Nazca/Media Scanner and from this point onwards the Package Manager sub-system goes crazy. I will restore my apps on the device, and I will format the MicroSD, again... I doubt it is a problem with the Micro-SD hardware itself, more like a driver issue. It seems quite common with mobile phones, all brands concerned.
Click to expand...
Click to collapse
Additional note: the MicroSD is perfectly stable when connected in USB transfer mode.
I made a selective backup of important stuff from [/sdcard/external_sd/] (whilst in USB data transfer mode with my laptop), making sure to copy all the [*.asec] App2SD files from [/sdcard/external_sd/.android-secure/]. Then I formatted the MicroSD card on my laptop, and formatted again from the tablet as it detected a corrupted/damaged card (I suppose the FAT driver on the tablet is picky). I then copied the [*.asec] files back to [/sdcard/external_sd/.android-secure/] (several megabytes which I am happy not to have to download again via the Market), and the Package Manager seems pretty stable so far. Win!
I haven't put the SIM card back in yet, first I am updating my Titanium backup!
Cheers, Dan
When the MicroSD card is scanned at startup (i.e. the card is already inserted when the device starts), the MediaScanner / PackageManager analyses the card and this seems to generate a deadlock within the system_server process (.ServerThread), which results in a soft reboot. I don't know if this happens only when there are Apps2SD files (I didn't test this particular edge-case).
So, quite simply, I just insert the MicroSD card once the device is completely booted
daniel.weck said:
When the MicroSD card is scanned at startup (i.e. the card is already inserted when the device starts), the MediaScanner / PackageManager analyses the card and this seems to generate a deadlock within the system_server process (.ServerThread), which results in a soft reboot. I don't know if this happens only when there are Apps2SD files (I didn't test this particular edge-case).
So, quite simply, I just insert the MicroSD card once the device is completely booted
Click to expand...
Click to collapse
I don't use App2sd so maybe that's why I don't have reboots with Gingerbread.
There are actually people who think that I with my SG Tab am jealous of their ipads. Moahaha!
What I did.....
What I did, when I first read this thread, I removed my SD-Card and formated it adapted to my PC (FAT32).
Next I reincerted it to my Tab. Til now (32 hours) it didn't reboot an single time:
I can check this, because of my Plantronics Discovery 975 BT headset that is permanently connected to the Tab.
Whenever in the past the Tab did a soft reboot (JQ3) it was hard work to get the headset reconnected.
PS: Used wifi for about two hours today. Seems to by stable for now. Will push some apps2sd and so on to see if it takes over rebooting.
Unfortunately I doubt this is the solution, the reboots remain even when I remove my sdcard...
CarpeNoctem said:
Unfortunately I doubt this is the solution, the reboots remain even when I remove my sdcard...
Click to expand...
Click to collapse
UPDATE: sometimes the reboot occurs even when I insert the MicroSD card after boot, so the deadlock is not completely unavoidable. However, if I long-press the search button, the system doesn't respond which generates a Force Close popup dialog for "Android System" => if I force-close this process, then the device starts responding again and everything works as normal!
daniel.weck said:
UPDATE: sometimes the reboot occurs even when I insert the MicroSD card after boot, so the deadlock is not completely unavoidable. However, if I long-press the search button, the system doesn't respond which generates a Force Close popup dialog for "Android System" => if I force-close this process, then the device starts responding again and everything works as normal!
Click to expand...
Click to collapse
Not really satisfying!
CarpeNoctem said:
Unfortunately I doubt this is the solution, the reboots remain even when I remove my sdcard...
Click to expand...
Click to collapse
Yes, same with me. Really annoying.
And by the way: android browser task often crashes, when trying to open an additional tab.
Oh damn, i really would like to have too this annoying bug.
In % , this happens in what situations? Browsing, wifi, any addictional info please.
Could someone with this bug post a logcat? Dowload alogcat from market, enable to view only errors and export the log, i don't have any reboots but my log show many errors regarding mtp, keyboard and sensor.

[Q] Wlan broken, any fixes?

Hey guys, searched for a while now but couldn't find a similar thread to this related to our phone.
Suddenly,
my Wlan stopped working.
The issue is well known, it starts up, says "unable to scan for networks" and shuts down.
Same goes for setting up a W-Lan hotspot, starts up and immediately after it stops trying.
Both worked flawlessly before.
Since then, i tried cache wipes, reboots etc.
I am on the newest dz radio, using Virtuous Sense 2.0.0 for sum time now.
I found a workaround for a galaxy s that implied deleting the configuration file. This file seems to be at a different location on the desire z. Additionally, it probably has a different filename.
I was only able to find the file with the information of my saved wlan connections (WTF, why are the passkeys writting in clear text, not crypted in any way??) - this was the only file in the /data/misc/wlan directory.
I actually only want to full wipe as a last consequence,
since my phone's a bit shaky. Last year I had a severe issue with my sd-card slot (maybe someone remembers), which somehow disappeared month later without any interaction - pure magic. I even replaced the slot before with no improvement - suddenly the functionality returned.
I actually don't want to lose sd-card functionality again, so i even fear flashing a new rom.
I hope there is someone who can give me some input - maybe some config files are missing or stuff - i only hope its not hardware related.
In the meantime I also tried reflashing my rom and flashing the radio again,
no success
EDIT:
Okay screw it, I wiped and flashed my rom again - same issues,
Sounds like a hardware issue...
any ideas?
Greetings

Categories

Resources