Quantcast Regain Battery Life After Installing 3rd-Party Applications [Updated] - iPhone Alley Forums

Regain Battery Life After Installing 3rd-Party Applications [Updated]
Reply
Michael Johnston
This is my fricken site, durrrr
 
Michael Johnston's Avatar
 
Join Date: Apr 2007
Location: Rockford, IL
Posts: 2,694
Thanks: 11
Thanked 45 Times in 40 Posts
Send a message via AIM to Michael Johnston
Regain Battery Life After Installing 3rd-Party Applications [Updated] -    #1


This tip is only intended for those who jailbroke their iPhone. This does not apply to unhacked iPhones. So you've just finished hacking your iPhone and installed every application you could find, but what the heck happened to your battery life? In the process of installing various things, you've likely installed OpenSSH, the tool which allows remote login to your iPhone from a computer. The problem is, SSH requires that a listener called SSHD constantly runs, waiting for a remote login attempt. This in turn drains your battery. The solution is to disable SSHD when you don't need it. Read on for the how-to.

For most seasoned iPhone hackers, disabling SSHD is a piece of cake. Unfortunately, it's not very easy or convenient. Instead, us mortals need a simple tool

In this guide, I'm assuming that you've installed Nullriver's Installer.app and OpenSSH. Here's how it's done:

  • Step 1: From Installer.app, download Community Sources if you haven't already.
  • Step 2: Under Utilities in Installer.app, install Services
  • Step 3: Go back to the home screen and wait for the iPhone to reload the Springboard. Slide to unlock and launch Services.
  • Step 4: From Services, toggle SSH off.




That's it! Your battery life should now return to its original state. If you ever need to use SSH (including SFTP) again, simply use Services again to turn SSH back on.

Enjoy!

Tip updated on October 2nd thanks to MrMacMan's suggestion.
__________________

About my iPhone:
iPhone & Color: White 32GB iPhone 3GS
iPhone Version: Whatever the latest is because I'm crazy like that.
Computer & OS: 15" Unibody MacBook Pro + OS X Leopard 10.5



AIM: iPhoneAlley
twitter: MichaelJohnston
Michael Johnston is offline   Reply With Quote
izmikiar
Guest
 
Posts: n/a
battery life -    #2
Hi guys, I have problems with the batteries. It seems my iPhone runs out of juice very quickly. It charges for 2-3 hours and shows full battery and after playing for 20-30 min it goes half way Few times I left it to charge all night and to find out in the morning that the battery is on 10%. I don't have OpenSSH install on the phone. I m curious if anyone has a similar problem. I read that may be the wi-fi connection so I turned it off when I don't need it but the same result. I was wondering if any other applications run in the background and drain the battery life. I may need to exchange it for a new one.Thanks
  Reply With Quote
Unregistered
Guest
 
Posts: n/a
battery -    #3
I had the same problem after I put the Iphone on my Bose SoundDock.
I think it burnt out my battery
every since then it only held charge over night and I didn't even use the phone at night.
I took it back to apple, they sent it to the factory and told me they couldn't fix it and gave me a replacement. ( not sure if its a refurbished or brand new but came in a similar box as the new one but just a1/4 the size of the original box)
I suggest you restore your phone and take it back to the apple store.
the only down thing about it is no phone for a week.
but I was able to put the sim back into my old phone for the time being


Quote:
Originally Posted by izmikiar View Post
Hi guys, I have problems with the batteries. It seems my iPhone runs out of juice very quickly. It charges for 2-3 hours and shows full battery and after playing for 20-30 min it goes half way Few times I left it to charge all night and to find out in the morning that the battery is on 10%. I don't have OpenSSH install on the phone. I m curious if anyone has a similar problem. I read that may be the wi-fi connection so I turned it off when I don't need it but the same result. I was wondering if any other applications run in the background and drain the battery life. I may need to exchange it for a new one.Thanks
  Reply With Quote
iphoneeeeee
Guest
 
Posts: n/a
NO com.openssh.sshd -    #4
I don't see "com.openssh.sshd" on my list
does that mean I don't have ssh running?
I used ifuntastic for my install of apptapp and so on
  Reply With Quote
Spoon
Rocks the Board
 
Spoon's Avatar
 
Join Date: Aug 2007
Posts: 450
Thanks: 2
Thanked 16 Times in 16 Posts
  #5
Quote:
Originally Posted by iphoneeeeee View Post
I don't see "com.openssh.sshd" on my list
does that mean I don't have ssh running?
I used ifuntastic for my install of apptapp and so on
If you didn't actually install OpenSSH, then you don't have it. It's not running (probably not even installed) if you don't see the com.openssh.sshd
__________________

About my iPhone:
iPhone & Color: 16GB Original iPhone
iPhone Version: 2.0.2
Computer & OS: MacBook + OS X 10.5

Don't make me a target
Spoon is offline   Reply With Quote
guest
Guest
 
Posts: n/a
  #6
Or you could just uninstall SSH until you need it again. The installer app makes it very easy to do this.
  Reply With Quote
Mnemonic Device
Forum Lurker
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
  #7
Quote:
Originally Posted by guest View Post
Or you could just uninstall SSH until you need it again. The installer app makes it very easy to do this.
Which is my action of choice.
Mnemonic Device is offline   Reply With Quote
Guest
Guest
 
Posts: n/a
Or Mac users could use the new iFuntastic instead of SSH -    #8
Quote:
Originally Posted by guest View Post
Or you could just uninstall SSH until you need it again. The installer app makes it very easy to do this.
Or if you're a Mac user, you could download iFuntastic 3.5.5 which now has a file browser that allows you to do many of the things you could do with an SSH connection. The iFuntastic solution requires you to USB tether your iPhone to your Mac.

But the iFuntastic method offers several advantages over SSH:

* no iPhone memory used (unlike SSH and BSD Subsystem)
* more secure than SSH (requires physical access to the iPhone)
* no battery drain
  Reply With Quote
iamse7en
New Recruit
 
Join Date: Jul 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Marginal Effect of disabling SSHD -    #9
My battery life still seems to be very good after all the 3rd party hacks. Realistically, what is the benefit (in hours) of disabling SSHD?

Any answers?
iamse7en is offline   Reply With Quote
BillyMayes
Rocks the Board
 
BillyMayes's Avatar
 
Join Date: Apr 2007
Location: TV
Posts: 294
Thanks: 0
Thanked 3 Times in 3 Posts
  #10
Quote:
Originally Posted by iamse7en View Post
My battery life still seems to be very good after all the 3rd party hacks. Realistically, what is the benefit (in hours) of disabling SSHD?

Any answers?
I would say that it gives me a couple hours back after I disable it.

Quote:
Originally Posted by izmikiar View Post
Hi guys, I have problems with the batteries. It seems my iPhone runs out of juice very quickly. It charges for 2-3 hours and shows full battery and after playing for 20-30 min it goes half way Few times I left it to charge all night and to find out in the morning that the battery is on 10%. I don't have OpenSSH install on the phone. I m curious if anyone has a similar problem. I read that may be the wi-fi connection so I turned it off when I don't need it but the same result. I was wondering if any other applications run in the background and drain the battery life. I may need to exchange it for a new one.Thanks
I would try restoring the iPhone and not using any 3rd party stuff for a few days to see if that's your problem. If it still happens, I'd ask for a replacement.
__________________

About my iPhone:
iPhone & Color: Original iPhone
iPhone Version: 1.1.4 (Codename: OxiClean)
Hacks: OxiClean'd
Computer & OS: Too busy selling OxiClean

I invented friggin OxiClean, have you heard of it?
BillyMayes is offline   Reply With Quote
izmikiar
New Recruit
 
Join Date: Sep 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
new iPhone -    #11
Just got back from the Apple store with a new phone. It took 10 min. and 20 questions about the battery problem that I had. The guy gave me a brand new one from the box. Reinstalling all the 3rd party apps again. Will see if the battery is better on this one. If you go for a new one make sure to restore it before you go.
izmikiar is offline   Reply With Quote
rob
Guest
 
Posts: n/a
  #12
are you really sure sshd is burning cpu cycles? it should just block, waiting for someone to open port 22. if erica is around she can explain what i mean by this.

unless by this you mean that it somehow keeps the wifi or edge radio active when it could otherwise go into a low-power mode?
  Reply With Quote
BillyMayes
Rocks the Board
 
BillyMayes's Avatar
 
Join Date: Apr 2007
Location: TV
Posts: 294
Thanks: 0
Thanked 3 Times in 3 Posts
  #13
Quote:
Originally Posted by rob View Post
are you really sure sshd is burning cpu cycles? it should just block, waiting for someone to open port 22. if erica is around she can explain what i mean by this.

unless by this you mean that it somehow keeps the wifi or edge radio active when it could otherwise go into a low-power mode?
It makes sense to me. It's probably a combination of the process eating cycles and keeping the radio active.

iPhonegoboom concurs http://www.iphonegoboom.com/#battery
__________________

About my iPhone:
iPhone & Color: Original iPhone
iPhone Version: 1.1.4 (Codename: OxiClean)
Hacks: OxiClean'd
Computer & OS: Too busy selling OxiClean

I invented friggin OxiClean, have you heard of it?
BillyMayes is offline   Reply With Quote
rob
Guest
 
Posts: n/a
  #14
Quote:
Originally Posted by BillyMayes View Post
It makes sense to me. It's probably a combination of the process eating cycles and keeping the radio active.

iPhonegoboom concurs http://www.iphonegoboom.com/#battery
seriously though, a process that's blocked on I/O should not burn cpu cycles... unix 101. so it must be radio-related. anyway my battery life doesnt seem any worse after installing sshd, but i'm checking 5 email accounts every 5 minutes all day. this would probably mask any effect that sshd might have.
  Reply With Quote
jens
Guest
 
Posts: n/a
UIctl is not there ! -    #15
There is a long list of things I can install, but UIctl is not there !
Under utilities, only iGXP2 is present.

How come

regards Jens
  Reply With Quote
BillyMayes
Rocks the Board
 
BillyMayes's Avatar
 
Join Date: Apr 2007
Location: TV
Posts: 294
Thanks: 0
Thanked 3 Times in 3 Posts
  #16
Quote:
Originally Posted by jens View Post
There is a long list of things I can install, but UIctl is not there !
Under utilities, only iGXP2 is present.

How come

regards Jens
It should be there. You might have caught it on an off day, but it's definitely under that category
__________________

About my iPhone:
iPhone & Color: Original iPhone
iPhone Version: 1.1.4 (Codename: OxiClean)
Hacks: OxiClean'd
Computer & OS: Too busy selling OxiClean

I invented friggin OxiClean, have you heard of it?
BillyMayes is offline   Reply With Quote
*MrMacMan
Guest
 
Posts: n/a
Easier -    #17
Easier way is to go to installer app and get "service" you can just have a toggle switch to turn on and off ssh, as well as edge wifi and bt.

plz change the guide
  Reply With Quote
vinkap
Forum Lurker
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
  #18
Is OpenSSH not the same as "Nate True's iPhone SSH" (hacktheiphone.com/73/iphone_install_ssh_windows.html) ?? Services app doesn't show the SSH process on my phone where I installed Nate True's iPhone SSH which leads me to believe that maybe the two are not the same. Can anyone pls. point me to the right direction as to how can I go about disabling Nate True's iPhone SSH server process so that it doesn't keep running all the time. Thx.
vinkap is offline   Reply With Quote
BillyMayes
Rocks the Board
 
BillyMayes's Avatar
 
Join Date: Apr 2007
Location: TV
Posts: 294
Thanks: 0
Thanked 3 Times in 3 Posts
  #19
Quote:
Originally Posted by vinkap View Post
Is OpenSSH not the same as "Nate True's iPhone SSH" (hacktheiphone.com/73/iphone_install_ssh_windows.html) ?? Services app doesn't show the SSH process on my phone where I installed Nate True's iPhone SSH which leads me to believe that maybe the two are not the same. Can anyone pls. point me to the right direction as to how can I go about disabling Nate True's iPhone SSH server process so that it doesn't keep running all the time. Thx.
I believe that other processes have different names. Look for something that has to do with SSH
__________________

About my iPhone:
iPhone & Color: Original iPhone
iPhone Version: 1.1.4 (Codename: OxiClean)
Hacks: OxiClean'd
Computer & OS: Too busy selling OxiClean

I invented friggin OxiClean, have you heard of it?
BillyMayes is offline   Reply With Quote
vinkap
Forum Lurker
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
  #20
No....there's no process with SSH in it. But I know that SSH is running on it since I can connect to the phone using WinSCP.
vinkap is offline   Reply With Quote
 
Reply


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 On
Forum Jump


All times are GMT -5. The time now is 11:41 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.