iPhone won't wake up from standy/sleep unless I press Menu+Power buttons...(SOLUTION)

Discussion in 'Jailbreaks and iOS Hacks' started by Manny1987, Nov 10, 2008.

  1. Manny1987 macrumors newbie

    Joined:
    Oct 26, 2008
    #1
    Hi Guys,

    I just found out a solution for this problem, that many people including myself have been having with the 3g and 2g iphones.

    I was sick and tired of trying out many different "fixes" with no prevail.

    I started studying my iphone to see if I could seperate the problem, and I noticed that the iphone, told me it was going into this deep sleep mode when the and usage time found in settings marked approximately nothing, I will post a photo later of my screenshot so that you can see what I mean.

    Any ways you have a jailbroken iPhone and know how to OpenSSH into your iphone using WinScp.

    OpenSSH/WinSCP into Iphone then go to:
    \System\Library\SystemConfiguration\PowerManagement.bundle

    Find the file:
    com.apple.SystemPowerProfileDefaults.plist
    Then rename it to:
    com.apple.SystemPowerProfileDefaults

    now this is where it changes from EmNat's Solution

    Look for the file PowerMangement, should be in the list where com.apple.SystemPowerProfileDefaults is and rename to PowerMangement.plist

    Now you can close the window and reboot your iphone.

    It does not kill battery time as much as the other solution and it defenitly does not get stuck again. I've tried it for two days and still have not seen the problem.

    The only strange thing I found is that apprently it does not enter StandBy because the usage and Standby times are the same.

    But it does beat having to deal with the dreaded deep sleep factor anytime.

    As You Can See : the screenshots are in order

    1st is normal
    2nd is when problem starts to occur and after, so on so fourth
    3rd is after changing the file names, kinda found out that it lasts about 24 hrs or an hour more give or take because the phone doesn't go into standby, but once again its better...
     

    Attached Files:

  2. EmNat macrumors newbie

    Joined:
    Oct 1, 2008
    #2
    Hi Manny1987,
    As per your suggestion in the other post, I copied the file: "com.apple.SystemPowerProfileDefaults.plist" from a healthy iPhone. It has been 3 days without any problems and the power comsuming improved significantly.
     
  3. Manny1987 thread starter macrumors newbie

    Joined:
    Oct 26, 2008
    #3
    Excellent News, but after i did that my phone went back to its normal annoying self, also I just noticed that my supposed help written above also kills battery time significantly.

    This is a very tough problem, I do think though that if a person can find out how the internal counting works they can fix the phone.:apple:
     
  4. elfenlied102938 macrumors newbie

    Joined:
    Aug 16, 2008
    #4
    Hi EmNat,
    Could you please post the apparently "healthy" file "com.apple.SystemPowerProfileDefaults.plist" to this thread? I actually requested that exalted719 post it again, but he never got to do it.

    I'll use it once you post it, and then report to this thread about the results.
    Thanks a lot :)
     
  5. EmNat macrumors newbie

    Joined:
    Oct 1, 2008
    #5
    Hi elfenlied102938,
    Here is the "healthy" file as requested.
    Hope it would fix the problem.:D
     

    Attached Files:

  6. Manny1987 thread starter macrumors newbie

    Joined:
    Oct 26, 2008
    #6
    Quick Question:
    After changing the file did you reboot your iphone or did you leave it as is?
     
  7. EmNat macrumors newbie

    Joined:
    Oct 1, 2008
    #7
    I rebooted my iPhone immediately after replacing the file and several times in the last few days. It has been five days without any problems.
     
  8. elfenlied102938 macrumors newbie

    Joined:
    Aug 16, 2008
    #8
    I tried using your file EmNat, but the problem returned (within 24 hours) with faster discharging battery :(. I had to return the file to original (with the problem but longer battery).

    Come to think of it, this problem started when I upgraded the firmware to 2.0. I think this firmware was originally written for iPhone 3G to have a longer battery life; they did this by messing around with the power management feature ("enhanced" deep sleep). Well, it looks like my iPhone EDGE is not taking it too well...
     
  9. triklops macrumors member

    Joined:
    Nov 28, 2008
    #9
    Hi

    First I want to thank you for your efforts.
    I use my iphone 2G for about 1 week now and so far it has had that problem 3-4 times. I noticed that it "only" happened when the battery was at a level below 40%. Maybe that was just a mere coincidence but it has never happened when the battery was over 40%.

    I got 2 questions considering your way of fixing the problem:

    - Is the iPhone really not going into standby-mode at all ? Or may it be that the statistic-function is simply kinda "confused" ?:)
    - Do you think the solution presented by you will shorten the life time of the iPhone because it never gets into Standby-mode ?

    Wanna thank everybody who took care of this annoying problem !!!
     
  10. triklops macrumors member

    Joined:
    Nov 28, 2008
    #10
    Well the fix is working fine for me. No more crashes. But the battery drain is annoying. 24h at best.
    No other solutions yet?

    Thanks
     
  11. triklops macrumors member

    Joined:
    Nov 28, 2008
    #11
    How's your experiences with the battery drain ?
     
  12. :Rob: macrumors member

    Joined:
    Jan 12, 2009
    #13
    Tried almost everything...

    Hi,
    I'm following this discussion and also

    http://forums.macrumors.com/showthread.php?t=548160&highlight=turns+off+alone

    but never posted before.

    I've a iP2G with 2.2 FW and the same problem. I'm not an expert and I do not know in detail how the iPhone works but here is what I tried to solve the problem without any success so far. Maybe a more skilled person could find something interesting in it...

    1. Bought a used locked iPhone with 2.0 FW (I cannot tell for sure if it was unlocked and restored before...).

    2. Unlocked with Pwnage Tool and got the problem the day after unlocking.

    3. Updated with Pwnage Tool 2.0-> 2.1-> 2.2 = problem always there.

    4. Used EnMat file "com.apple.SystemPowerProfileDefaults.plist" = problem always there

    In the meantime my wife got a iPhone 2G from a friend (this time I'm sure the phone has never been unlocked before) that I unlocked with Pwnage Tool (on the same MBP) and she never got any problem at all!

    5. copied from my wife iPhone the file "com.apple.SystemPowerProfileDefaults.plist" and used on my iPhone = problem always there

    6. copied the entire "PowerManagement.bundle" from my wife iPhone = problem always there

    7. Finally used the entire 2.2 FW of my wife iPhone (generated with Pwange Tool) to restore my iPhone with itunes = problem always there

    8. I'm gonna try Manny1987 solutions and I'll keep u posted.

    I'm also starting thinking that perhaps this is not only a software related problem.
    I've noticed that my iPhone presents this problem more frequently when I have it in my pocket with the screen side against my body. Could it be a proximity sensor/software issue?
    Is anybody experiencing something similar?

    Sorry for the long post and possible mistakes, English this is not my 1st language.

    :Rob:
     
  13. elfenlied102938 macrumors newbie

    Joined:
    Aug 16, 2008
    #14
    Hi guys,
    I am the original thread starter of this problem, and sadly enough, I still have these problem despite many suggested fixes.

    Like :Rob:, none of the fixes work for my iPhone. Manny1987 seems to have pinpointed the root cause of the problem (iPhone is on, but the screen remains off), and his fix works at the cost of battery life (iPhone never sleeps).

    Currently I've been using it "as is" - dealing with the problem 1-2 times a day. I own a first-generation iPhone (unlocked with WinPwn to FW 2.02), and the issue only happened to my phone after I upgraded my FW from 1.02 to 2.02. This leads me to think that something in the iPhone 2.0 firmware upgrade allows improved battery life but this feature is actually causing bugs to a small pool of first-gen (or 3G) phones. It might even be a HW issue... :(.

    Anyways, keep this thread updated if you guys find anything interesting. Thank you guys for support.
     
  14. :Rob: macrumors member

    Joined:
    Jan 12, 2009
    #15
    Tried Manny1987

    I tried Manny1987 solution and until now never had the problem but had to deal with increased battery consumption.

    Just out of curiosity I didn't follow exactly what described but got the same result.

    I skipped this part:

    " Find the file:
    com.apple.SystemPowerProfileDefaults.plist
    Then rename it to:
    com.apple.SystemPowerProfileDefaults "

    and did only this:

    " Look for the file PowerMangement, should be in the list where com.apple.SystemPowerProfileDefaults is and rename to PowerMangement.plist

    Now you can close the window and reboot your iphone. "

    As I said I got the same results, the only difference is that i do not have time indication beside "usage" and "standby" just a (dash) "-"

    Does this have some meaning for anyone?

    EDIT: my bad, I didn't fully charge the iphone that's why I didn't get time indications. When I fully charged the iphone I had the same indication as Manny1987 "usage" and "standby" time are the same
     
  15. triklops macrumors member

    Joined:
    Nov 28, 2008
    #16
    Hi Rob

    What about the battery consumption with your method ? Does it also eat that much battery ??
     
  16. :Rob: macrumors member

    Joined:
    Jan 12, 2009
    #17
    Hey triklops

    read my edit in the post #15...

    Battery consumption sucks, I get 13-15 hours standby (like back in the 90's
    ) with these setting:

    Carrier: TMobile
    Wifi: always on
    Mail: fetch manually
     
  17. triklops macrumors member

    Joined:
    Nov 28, 2008
    #18
    But isn't that kinda "normal" since Wi-Fi eats a lot !? Or am I wrong ?
     
  18. :Rob: macrumors member

    Joined:
    Jan 12, 2009
    #19
    Here you are.
    Turned off wifi, charged 100% yesterday now I have 1day, 1 hour usage and 43% of battery left. This is in stdby. no phone calls.
     
  19. elfenlied102938 macrumors newbie

    Joined:
    Aug 16, 2008
    #20
    I upgraded from FW2.02 to FW2.2 (iPhone EDGE) a couple days ago hoping that it would (maybe) solve the power management issue. Nope :(, the problem is still there. I am currently just "dealing" with the issue (2-3 times a day) rather than have a short battery life.
     
  20. jerzey111 macrumors newbie

    Joined:
    Feb 12, 2009
    #21
    what do you mean, "deal w/ the issue" ?? ur phone doesn't turn off as it goes into sleep??? or is there a trick to it?
     
  21. triklops macrumors member

    Joined:
    Nov 28, 2008
    #22
    Any news on this one ?

    Do you think we have a chance to get rid of this annoying problem with the 3.0 firmware ?
     
  22. :Rob: macrumors member

    Joined:
    Jan 12, 2009
    #23
    my update

    Hi,
    I updated to 2.2.1 and the problem is still there.

    3.0? I don't know. We will have to wait for a while before DevTeam releases the 3.0 pwnage.
     
  23. triklops macrumors member

    Joined:
    Nov 28, 2008
    #24
    Thanks for the quick answer.
    Is this actually a hardware-based problem ? I know it also has to do with th software (otherwise the solution presented here would not work) but it's strange that so many people do NOT have that problem.
     
  24. DamianXD macrumors newbie

    Joined:
    Apr 8, 2009
    #25
    Fixed

    I just try Manny's solution and everything works fine now! =) the battery is fine now and last for longer than the normal "rename com.apple.SystemPowerProfileDefaults" solution.

    Thanks!
    I'll post my results in some days to see if anything changes
     

Share This Page