GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware Area > iPhone ,iPod & iPad (Apple Inc. Products) > iPhone 4 / iPhone 4S

iPhone 4 / iPhone 4S iPhone 4 / 4S

Reply
 
LinkBack Thread Tools Display Modes
Old 10-10-2008, 13:54   #1 (permalink)
Registered User
 
prasad3223's Avatar
 
Join Date: Apr 2006
Location: near to hyderabad ap india
Posts: 416
Member: 259742
Status: Offline
Thanks Meter: 213
Apple Logo of Death solution!


While browsing some forums i accidently stumbled upon a solution for the well known Apple Logo of Death problem (also known as the spinning wheel of death). For the ones of you who don’t know what this is, i’ll briefly explain. The iPhone OS sometimes has a problem of freezing up after a installation, update or uninstall of a App Store or Cydia or Installer app.

The explanation of this issue is as follows: When the 3rd party application state changes, Springboard “regenerates the application map” which you can see clearly if you watch the system log with the iPhone Configuration Utility.
This can take some time. The more and/or bigger applications you have installed, the longer this takes. This regeneration process happens ANY time a change to installed applications occurs.

Here’s the problem - Springboard is watched by a watchdog process which is handled by configd. The location of the watchdog and it’s configuration files is /System/Library/SystemConfiguration/mobilewatchdog.bundle

The watchdog constantly monitors Springboard, and if it doesn’t respond at least once every 2 minutes, it is killed and forcibly restarted. If this happens approximately 4 times, the watchdog will attempt to reboot the device, but it usually just freezes the system with the half brightness apple logo.

The problem occurs when the number and/or size of applications installed causes a regeneration of the application map to take longer than 2 minutes - it becomes impossible for Springboard to complete the task before it is forcibly killed by the watchdog. It will try again the next time and run out of time and be killed again. Hence stuck at the boot screen until doing a restore.

It is unbelievable that Apple allowed this design flaw, yes design flaw, not bug go out into the wild and it still hasn’t fixed it in 2.0.1. Clearly the watchdog arrangement was put in place before 3rd party application support, and none of the programmers considered the possibility of Springboard taking more than 2 minutes to regenerate the application map.

So, how to recover from being stuck at the apple logo without doing a full restore wiping everything ?

If you have openssh installed so you can log in remotely you can fix it quite easily, as you get nearly 2 minutes of ssh access during the apple logo before the system freezes where you can log in for “emergency surgery”.

If you don’t have OpenSSH already installed then sorry, it’s restore time…

As the device is trying to boot up but still at the apple logo, try to log in as root using ssh. You should find you are able to log in soon after the device is pingable on your wifi network, and you have a few minutes to complete the following steps in time.

For example from a mac, log in with:

ssh -l root 192.168.1.103 (your iPhone iP address)

Where your iphone/ipods own ip address is substituted.

First we will disable the watchdog timer (by temporarily moving its files elsewhere) and then reboot:

mv /System/Library/SystemConfiguration/mobilewatchdog.bundle/ /
reboot

After a few seconds the device will start to reboot, and after approximately 3-6 minutes (depending on how many apps you have installed) you will reach the lock screen as normal, when that happens we now have to re-enable the watchdog timer, and reboot again, so again log in with ssh, and type:

mv /mobilewatchdog.bundle /System/Library/SystemConfiguration/
reboot

You should find your iphone / ipod touch will reboot normally a second time.

The reason this is a workaround is because you CAN’T leave the watchdog disabled, because as well as monitoring Springboard and killing/restarting it, the watchdog also has to periodically reset the HARDWARE watchdog, if this doesn’t happen the device will spontaneously reboot. The hardware watchdog is 10 and a bit minutes, so without the watchdog installed and working your device will reboot itself every 10 minutes.

the dev team should have an idea for a simple patch that they could apply to the watchdog as part of the Pwning process (or as a Cydia package) that would for all intents and purposes solve this problem until Apple gets around to fixing it properly.

Note: This same issue is the reason why after installing apps with Cydia the system will sometimes freeze. As far as I can tell Cydia is NOT to blame - what Cydia does is tells Springboard to regenerate the application map, and it is that application map regeneration that triggers the problem - Springboard becomes unresponsive for extended periods of time, the watchdog process starts trying to kill Springboard, and all hell breaks loose…this procedure will also recover from that situation.

The reason Installer.app doesn’t trigger this problem is it doesn’t tell Springboard to regenerate the application map - it just kills Springboard and allows it to launch again.

Credit goes to Mandrake not for me
  Reply With Quote
The Following 6 Users Say Thank You to prasad3223 For This Useful Post:
Show/Hide list of the thanked
Old 08-10-2009, 02:29   #2 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: douala cameroon
Posts: 8
Member: 604936
Status: Offline
Thanks Meter: 1
big thank dear broth i will try to solve my iphone's problem
  Reply With Quote
The Following User Says Thank You to piema For This Useful Post:
Old 08-23-2009, 00:05   #3 (permalink)
Freak Poster
 
Join Date: Jan 2007
Location: tanzania
Posts: 177
Member: 425444
Status: Offline
Thanks Meter: 5
worked for me too, thanks guys
  Reply With Quote
The Following User Says Thank You to remtulla For This Useful Post:
Old 08-23-2009, 09:37   #4 (permalink)
Freak Poster
 
Join Date: Oct 2005
Posts: 301
Member: 189500
Status: Offline
Thanks Meter: 22
how do you know your phone's IP if it wont boot pass apple logo at the first place?
thanks
  Reply With Quote
The Following 2 Users Say Thank You to RotKT For This Useful Post:
Old 08-23-2009, 11:20   #5 (permalink)
No Life Poster
 
kamiran's Avatar
 
Join Date: Jan 2006
Location: could'nt found yet
Posts: 681
Member: 223973
Status: Offline
Thanks Meter: 150
@mods

please Made this thread sticky................

gud work keep it up

br

[email protected]
  Reply With Quote
Old 08-24-2009, 01:18   #6 (permalink)
Freak Poster
 
Mad Scientist's Avatar
 
Join Date: Dec 2004
Location: Greenhills,Ph
Posts: 211
Member: 99827
Status: Offline
Thanks Meter: 56
Quote:
Originally Posted by RotKT View Post
how do you know your phone's IP if it wont boot pass apple logo at the first place?
thanks
The solution works intended only for iPhone that can be detected by iTunes even it is stuck in apple logo. In that case you can still use any other tool like iphonebrowser, or by tunneling. Now you can freely manage to delete/modify watchdog.plist file.
  Reply With Quote
Old 08-24-2009, 09:49   #7 (permalink)
Registered User
 
Join Date: May 2009
Location: rawalpindi
Posts: 306
Member: 1026187
Status: Offline
Sonork: 1585394
Thanks Meter: 46
really really gr8 info bro keep it man
br
shahabsadi
  Reply With Quote
Old 08-24-2009, 20:22   #8 (permalink)
Registered User
 
prasad3223's Avatar
 
Join Date: Apr 2006
Location: near to hyderabad ap india
Posts: 416
Member: 259742
Status: Offline
Thanks Meter: 213
friends this post was posted along time ago,iam so pleased that this is helpful to all of us
  Reply With Quote
Old 08-24-2009, 21:35   #9 (permalink)
Product Manager
 
darksman's Avatar
 
Join Date: Aug 2008
Location: Under Dark Moon
Posts: 1,682
Member: 849979
Status: Offline
Sonork: 100.1603463
Thanks Meter: 923
stop using so many applications and dnt synchronize them all together and u guys wont have a prob
man bunch of kids doing nothing just complaining


cheers
  Reply With Quote
Old 09-27-2010, 16:36   #10 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 13
Member: 1343016
Status: Offline
Thanks Meter: 0
i got the same problem some time ago. the problem is, i,ve tried around three unsuccessful restores on the iphone courtesy of inconsistent internet. will i be able to revive it using the above method?
  Reply With Quote
Old 08-25-2011, 07:49   #11 (permalink)
Junior Member
 
Join Date: Aug 2011
Posts: 4
Member: 1636882
Status: Offline
Thanks Meter: 0
Same here! I was at the same circumstance before. You spent time to post this information. Thanks!
  Reply With Quote
Old 08-29-2011, 12:56   #12 (permalink)
Junior Member
 
Join Date: Aug 2011
Posts: 1
Member: 1644826
Status: Offline
Sonork: iphonen00bie
Thanks Meter: 0
Still good info!

Quote:
Originally Posted by prasad3223 View Post
friends this post was posted along time ago,iam so pleased that this is helpful to all of us
I only wish I could have found this a month ago when I needed it. Now I know for next time!
  Reply With Quote
Old 09-30-2011, 04:55   #13 (permalink)
Junior Member
 
Join Date: Sep 2011
Posts: 16
Member: 1664272
Status: Offline
Thanks Meter: 0
Quote:
Originally Posted by prasad3223 View Post
While browsing some forums i accidently stumbled upon a solution for the well known Apple Logo of Death problem (also known as the spinning wheel of death). For the ones of you who don’t know what this is, i’ll briefly explain. The iPhone OS sometimes has a problem of freezing up after a installation, update or uninstall of a App Store or Cydia or Installer app.

The explanation of this issue is as follows: When the 3rd party application state changes, Springboard “regenerates the application map” which you can see clearly if you watch the system log with the iPhone Configuration Utility.
This can take some time. The more and/or bigger applications you have installed, the longer this takes. This regeneration process happens ANY time a change to installed applications occurs.

Here’s the problem - Springboard is watched by a watchdog process which is handled by configd. The location of the watchdog and it’s configuration files is /System/Library/SystemConfiguration/mobilewatchdog.bundle

The watchdog constantly monitors Springboard, and if it doesn’t respond at least once every 2 minutes, it is killed and forcibly restarted. If this happens approximately 4 times, the watchdog will attempt to reboot the device, but it usually just freezes the system with the half brightness apple logo.

The problem occurs when the number and/or size of applications installed causes a regeneration of the application map to take longer than 2 minutes - it becomes impossible for Springboard to complete the task before it is forcibly killed by the watchdog. It will try again the next time and run out of time and be killed again. Hence stuck at the boot screen until doing a restore.

It is unbelievable that Apple allowed this design flaw, yes design flaw, not bug go out into the wild and it still hasn’t fixed it in 2.0.1. Clearly the watchdog arrangement was put in place before 3rd party application support, and none of the programmers considered the possibility of Springboard taking more than 2 minutes to regenerate the application map.

So, how to recover from being stuck at the apple logo without doing a full restore wiping everything ?

If you have openssh installed so you can log in remotely you can fix it quite easily, as you get nearly 2 minutes of ssh access during the apple logo before the system freezes where you can log in for “emergency surgery”.

If you don’t have OpenSSH already installed then sorry, it’s restore time…

As the device is trying to boot up but still at the apple logo, try to log in as root using ssh. You should find you are able to log in soon after the device is pingable on your wifi network, and you have a few minutes to complete the following steps in time.

For example from a mac, log in with:

ssh -l root 192.168.1.103 (your iPhone iP address)

Where your iphone/ipods own ip address is substituted.

First we will disable the watchdog timer (by temporarily moving its files elsewhere) and then reboot:

mv /System/Library/SystemConfiguration/mobilewatchdog.bundle/ /
reboot

After a few seconds the device will start to reboot, and after approximately 3-6 minutes (depending on how many apps you have installed) you will reach the lock screen as normal, when that happens we now have to re-enable the watchdog timer, and reboot again, so again log in with ssh, and type:

mv /mobilewatchdog.bundle /System/Library/SystemConfiguration/
reboot

You should find your iphone / ipod touch will reboot normally a second time.

The reason this is a workaround is because you CAN’T leave the watchdog disabled, because as well as monitoring Springboard and killing/restarting it, the watchdog also has to periodically reset the HARDWARE watchdog, if this doesn’t happen the device will spontaneously reboot. The hardware watchdog is 10 and a bit minutes, so without the watchdog installed and working your device will reboot itself every 10 minutes.

the dev team should have an idea for a simple patch that they could apply to the watchdog as part of the Pwning process (or as a Cydia package) that would for all intents and purposes solve this problem until Apple gets around to fixing it properly.

Note: This same issue is the reason why after installing apps with Cydia the system will sometimes freeze. As far as I can tell Cydia is NOT to blame - what Cydia does is tells Springboard to regenerate the application map, and it is that application map regeneration that triggers the problem - Springboard becomes unresponsive for extended periods of time, the watchdog process starts trying to kill Springboard, and all hell breaks loose…this procedure will also recover from that situation.

The reason Installer.app doesn’t trigger this problem is it doesn’t tell Springboard to regenerate the application map - it just kills Springboard and allows it to launch again.

Credit goes to Mandrake not for me
This probably explains the issue I'm having. Now, I don't have ssh installed on my Iphone 4, 4.3.2 jailbroken with redsn0w. I can't believe someone hasn't written a custom jailbreak to install ssh? Restore isn't an option. What else can I try to get my data. How can I get ssh installed somehow? I can re-install redsnow over and over, but stuck on apple logo.
  Reply With Quote
Old 04-03-2014, 17:58   #14 (permalink)
Junior Member
 
Join Date: Apr 2014
Posts: 1
Member: 2160830
Status: Offline
Thanks Meter: 0
Quote:
Originally Posted by Jackie1 View Post
This probably explains the issue I'm having. Now, I don't have ssh installed on my Iphone 4, 4.3.2 jailbroken with redsn0w. I can't believe someone hasn't written a custom jailbreak to install ssh? Restore isn't an option. What else can I try to get my data. How can I get ssh installed somehow? I can re-install redsnow over and over, but stuck on apple logo.
you can use itools,it may help
  Reply With Quote
Old 04-08-2014, 04:10   #15 (permalink)
Junior Member
 
Join Date: Apr 2014
Posts: 8
Member: 2163643
Status: Offline
Thanks Meter: 1
big thanks! this is really helpful
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
thread Thread Starter Forum Replies Last Post
iphone 3g white screen/apple logo freezing solution!! GSMsurgeon iPhone 4 / iPhone 4S 8 10-04-2011 15:03
solution for 3gS problem updating and struck on apple logo krupal iPhone 2 / iPhone 3G / iPhone 3GS 29 03-30-2010 12:48
Apple 3g Iphone 8GB Stuck on Apple logo ansari123 iPhone 2 / iPhone 3G / iPhone 3GS 4 11-18-2009 01:29
Apple always freezing, stuck on apple logo startup Stylo_GSM iPhone 2 / iPhone 3G / iPhone 3GS 2 03-02-2009 00:38
Apple Iphone 8GB Stuck on Apple logo irfan99 iPhone 2 / iPhone 3G / iPhone 3GS 18 03-27-2008 09:45


All times are GMT +1. The time now is 06:32.



Powered by Searchlight © 2019 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2017 -
Page generated in 0.52187 seconds with 8 queries

SEO by vBSEO