Menu

Dec 1, 2010

iPhone OS Battery Drainage Problem Fixes (updated)

So here it is the fix for the battery draining of iOS 4.x on all the updated devices, this problem is being faced by a lot of iOS users out there specially iPhone users 3G, 3GS, and 4, mostly the ones with jailbroken and hactivated phones to run the iOS. from its symptoms also the extra heat sensed from the iPhone.

Misconceptions:

  1. Ultrasnow update is causing it
  2. Something is wrong either with pwantool, or redsnow.
  3. The update firmware is causing it. (AKA Apple)
  4. AT&T or the Carrier is ripping you off.
It is neither of these, after investigating the issue for so long and facing it personally I found a tiny thing that lead me to pinpointing the problem.

The Problem Cause:
As all hacktivated phones are not officially activated and it is a way to by pass the official activation through I tunes by patching lockdown, the push certificates are not generated on the iOS (mainly the ones using a sim card) or are not being pulled in, so the device keeps checking every second while connected to check for the certificates.

this can be verified through checking the usage from Seetings --> General --> usage.
Or simply open youtube as some devices will show you
The couldn't connect to YouTube error

Obvious Fix:

The Obvious fix is to turn of all data thus restricting the iPhone from keeping to check the for the certificate, but what use is the iPhone really without data usage, it will become just another phone that supports fancy games and music.

The Real Fix for the above problem:

Fix 1: if you have the original sim card that came with the iPhone, opt out from activation option in pwnage tool or red snow while updating and use the original sim card to activate.

Fix 2: if the above fix is not a valid option (as it was in my case) there are three ways to do it
1- If you have some cash lying around not exceeding 5$ and the ways to pay online, and need the free space in the root partition of our device.

  1. Go to cydia --> manage --> source --> edit --> add source
  2. Add the repo http://cydia.pushfix.info
  3. Search for pushfix and instal it.
2- No cash or no way to pay online, but willing to sacrifice some 40 so MB of space in root folder:
  1. Go to cydia --> manage --> source --> edit --> add source
  2. Add the repo http://cmdshft.ipwn.me/apt/
  3. Search for Push Doctor and install it
  4. Restrat your iPhone
  5. Now check any application to see if it is working or you can just download iPush app from the official AppStore
3- You want the extra space, no cash or means to pay online, and have a friend with an iPhone that is officially activated and JAILBROKEN.

  1. On your friends iPhone
  2. Go to cydia --> manage --> source --> edit --> add source
  3. Add the repo http://cmdshft.ipwn.me/apt/
  4. Search for nimble and install it
  5. Using WinSCP for windows or CyberDuck for Mac connect to your iPhone
  6. Search for nimble script and set its permissions to 0755 you can google for the method.
  7. SSH using your preferred method to /private/var/Keychains, also you can google for it.
  8. Make sure the file "keychain-2.db" is in /private/var/Keychains and run nimble by entering ./nimble. You will see 4 files being created:
        – youtube-cert.bin
        – youtube-key.bin
        – push-cert.bin
        – push-key.bin
     
  9. Copy these 4 files into the corresponding folder on your hactivated device.
  10. Go to cydia --> manage --> source --> edit --> add source
  11. Add the repo http://cmdshft.ipwn.me/apt/
  12. Search for inject and install it
  13. SSH into /private/var/Keychains and set inject permission to 0755
  14. Store in somewhere else the current "keychain-2.db" and run inject using ./inject A new keychain-2.db will be created.
  15. Test with any push app.
Take care that I didn't test the last method so it is on your own risk, any questions can be posted in the comments area and I will do my best to answer them, I will post more solutions for this issue and others really soon.


Update #1: a news method has been added that is a lot easier than all of these methods here

0 comments:

Post a Comment