You are Unregistered, please register to gain Full access.    

Go Back   SiNfuL iPhone > Discussion | Help > How-To: Guides / Tutorials > Misc

Notices

Misc Guides that are NOT device specific OR are related to all devices in general.

Reply
Thread Tools

 [HOW TO]Remove Unnecessary Files To Gain 1GB Storage Space/Increase Battery Life On iPhone/iPod/iPad
Unread 09-19-2011, 02:08 PM   #1
AppleHacker
SiNful Addict =P

 
AppleHacker's Avatar
 
AppleHacker is offline
Join Date: Oct 2010
Device: iPhone 5
iOS Version: 7.1.x
iTunes Version: iTunes 10
Carrier: Vodafone
OS: Windows 7 x32
Location: Usercp
Posts: 11,172
Thanks: 5,004
Thanked 51,170 Times in 6,752 Posts
[HOW TO]Remove Unnecessary Files To Gain 1GB Storage Space/Increase Battery Life On iPhone/iPod/iPad

This How To guide is in the removing unnecessary files to increase battery life/performance series and is the beginner level.


Step 1) The first thing you have to do is Jailbreak your iPhone, iPod Touch or iPad.

Step 2) Next you are going to need to install the following Cydia tweaks to your iPhone, iPod Touch or iPad:
  1. OpenSSH (From Cydia)
  2. iFile (An alternative to iFile would be an SSH program)(From SiNful repo)
  3. MobileTerminal (From Cydia)
  4. Lang2.2 (You will need to add insanelyi Repository - insanelyi taking the same steps as in the how to with video, but change the typed text to insanelyi Repository - insanelyi and click Add Anyway)
  5. Cleaning up Crap (CuC) (You will need to add iHacksRepo taking the same steps as in the how to with video, but change the typed text to iHacksRepo and click Add Anyway)
  6. iWipecache
  7. iControl or Auto3G (optional). Do not install them both.
Step 3) Once you have installed the Cydia tweaks listed above you will need to launch MobileTerminal. When open you will see a UNIX screen as depicted below containing the name of your iDevice with added: mobile$




Step 4) - What you are doing next is going to login as the root user.

Type:

HTML Code:
su
and click return.

You should see a screen like this:



Note: When typing your password no dots appear, though your letters will be typed.

Type:

HTML Code:
alpine
and click return.

Step 4) Now we are going to remove the unnecessary language files.

Note: Keep in mind when you use Emoji emoticons (smilies), you have to keep Japanese.

Also when English is not your native language, or you type in multiple languages, you dont delete those files. Keep the languages you type in. DO NOT delete the unrecognized languages, because they belong to certain apps.

Type:

HTML Code:
lang2.2
and click return.

You should see a screen as depicted below:




Type:

HTML Code:
y for files you want to remove,

n for files you want to keep.
At the end this screen will appear:



Check if you have chosen the correct files. If you are sure you want to remove the chosen files type y. If you have chosen a wrong one, then type n, and type lang2.2 to choose your files again.

After deleting the files (be patient), it asks if you want to keep the file. This one I leave up to you. After this tweak you have about 1.1 GB of extra space on your iDevice.

Step 5) Now we are going to clean up unnecessary files by running Cleaning up Crap (CuC)

Type:

HTML Code:
cuc
and click return.

You should see a screen as depicted below:




When all is done, you can exit MobileTerminal by clicking the Home button.

This tweak could also remove as much as 200Mb of data, depending on the usage of your iDevice.

Step 6) Each time you want to clear your cache the easy way, you could fire up iWipeCACHE. This app cleans your cache and resprings your SpringBoard.

This you can do as many times as you want, because it would keep your iDevice really fast. Though I advise you to run Clean up Crap (CuC) once a month, because it works more thorough.

Step 6-1)

If you want to remove more junk files from your iphone then try Systemclean Pro as suggested by patfreak

You can download it from here >> syscleanpro

Just copy the file to usr/bin/

Don't forget to set 777 as the permission

Finally run Mobileterminal and type su then your password alpine or whatever you have set

Type
Quote:
syscleanpro
and follow the instructions

Optional steps only for saving battery life on iPhone and iPad 3G.


Step 7) First decide which app you want to use, Auto3G or iControl.

Auto3G If you dont switch Bluetooth on or off in certain states, this is the simple app for controlling your 2G/3G and WiFi. This app only has a White List for apps that you want to exclude from being controlled by the app, like online radio and music streaming apps.

iControl If you want extensive control over your radios, because this app controls your 2G/3G/WiFi and Bluetooth radios. This app has a White List and a Black List for your apps.

The White List is for apps that you want to exclude from being controlled by the app, like online radio apps and music streaming apps.

The Black List is for apps you want to be killed (shut down), when locking your iDevice.

Auto3G


Launch the app by clicking on it.

You should see a screen as depicted below:



Here I will take you through each option, and explain every step.
  • Auto3G Enabled - This turns the app on or off.
  • Status Bar Icon - This shows the icon in your status bar if it is enabled.
  • Unlocked Default - This controls how your iDevice will be set when it is in the Unlocked state. This is the state where your iDevice is in when you are using it. Ill suggest you should set this to 3G.
  • Locked Default This controls how your iDevice will be set when it is in the Locked state. This is the state where your iDevice is in when its locked (screen off, or on the Lockscreen). Ill suggest you set it to EDGE (in Europe and Asia 2G/GPRS).
  • Charging default This controls how your iDevice will be set when it is Charging. Ill suggest setting it on WiFi, when you always charge at home or at work (when you have a working WiFi connection). Note: When you use a ZAGGsparq, a Mophie Juice Pack (air), any other portable charging device, or when you charge at places that have no working WiFi connection, you should set it to No Preference.
  • WiFi default This controls how your iDevice is set when it is connected to a WiFi signal. This is the real battery saver. Ill strongly recommend setting it to Radios Off (>= iOS 3.2 only).
  • Timeout This is the time the app waits before switching to a different mode. Leave this setting on 30 seconds when you dont have coverage issues (outside USA and third-world countries). When you do have coverage issues (USA and third-world countries), Ill suggest setting it to 1 minute.
  • Application White List Applications that are enabled in this list, will prevent Auto3G from switching networks, while they are active. This is especially useful for Online Radio, Music Streaming and Monitoring apps. You should enable any app in that list that fits the previous description.

iControl

Launch the app by clicking on it.

You should see a screen as depicted below:




Here I will take you through each option, and explain every step.
  • iControl Enabled This turns the app on or off.
  • Radios:
  • Unlocked - This controls how your iDevice will be set when it is in the Unlocked state. This is the state where your iDevice is in when you are using it. Ill suggest you should set this to 3G.
  • Locked This controls how your iDevice will be set when it is in the Locked state. This is the state where your iDevice is in when its locked (screen off, or on the Lockscreen). Ill suggest you set it to EDGE (in Europe 2G/GPRS).
  • Charging This controls how your iDevice will be set when it is Charging. Ill suggest setting it on WiFi, when you always charge at home or at work (when you have a working WiFi connection). Note: When you use a ZAGGsparq, a Mophie Juice Pack (air), any other portable charging device, or when you charge at places that have no working WiFi connection, you should set it to No Preference.
  • Connected to WiFi This controls how your iDevice is set when it is connected to a WiFi signal. This is the real battery saver. Ill strongly recommend setting it to Radios Off (>= iOS 3.2 only).
  • Delay This is the time the app waits before switching to a different mode. Leave this setting on 30 seconds when you dont have coverage issues (outside USA and third-world countries). When you do have coverage issues (USA and third-world countries), Ill suggest setting it to 1 minute.
  • Application White List Applications that are enabled in this list, will prevent Auto3G from switching networks, while they are active. This is especially useful for Online Radio, Music Streaming and Monitoring apps. You should enable any app in that list that fits the previous description.
  • Application Black List Applications in this list will be automatically terminated, when you lock your iDevice. This could be extremely useful when watching explicit websites, through your browser, or explicit apps and your wife and/or kids are also using your iDevice. By pressing your standby button, or when your iDevice has reached its Lockdown Timeout, these apps are auto-terminated. Ill suggest when you watch such content on your device, Ill highly recommend enabling such apps and Browsers (Safari/Atomic/SkyFire etc.) in this Black List.
  • Taskbar Icon This shows the icon in your status bar if it is enabled.
  • After setting all these tweaks your iDevice will run very smoothly, it will have more RAM and more free space on both the /root and /var partition. And thereby already increasing your iPhone, iPod Touch or iPads battery life. After setting one of the optional tweaks, you will get up to a usage time of 12 hours, and your battery could last for more then 2 days.
Congratulations! You have now gained up to 1GB of storage and increased your battery life on your iPhone, iPod Touch or iPad.
.


{--PLEASE NOTE!!!!!--}


Please don't blame me if this guide fucks up your iPhone or messes up this has been tested on my iPod 3g so do it at your own risk Please!!!

=======================================================

FOLLOW UP THIS THREAD on how to remove launch Daemons :
Speed Up Your iDevice By Removing launch Daemons


Last edited by AppleHacker; 09-22-2011 at 03:14 AM.
  Reply With Quote
The Following 39 Users Say Thank You to AppleHacker For This Useful Post:
ADITIPATEL (09-21-2011), aficionado (09-20-2011), Ajitbtw (09-20-2011), amm451981 (02-11-2012), ashion7 (02-18-2012), BrassHammer (03-27-2012), coconutxyz (09-20-2011), coldtmw (04-11-2012), denclock (02-25-2012), erkk (09-19-2011), flip77 (04-12-2012), franzenk (02-18-2012), Gamerguy (09-19-2011), gherlie8 (02-15-2012), gilbert818 (09-19-2011), GorgonSin (09-20-2011), iarv68 (02-12-2012), iphonehckr (01-10-2012), Jarviss (09-20-2011), joecef (09-19-2011), keeyo (04-18-2012), kercus05 (09-19-2011), michael.milad (09-20-2011), mike9019 (01-11-2012), mrivero22 (09-19-2011), navarhos (09-20-2011), patfreak (09-20-2011), pepsih (03-22-2012), pre2k (09-21-2011), Radeon30 (09-20-2011), rockstar (09-19-2011), sailenyau (05-16-2012), TuxedoMask (02-12-2012), Uva33 (03-05-2012), vestonind (04-11-2012), victor (09-21-2011), wa2ruff (02-26-2012), wudstock54 (01-23-2014), xandros9 (09-21-2011)

 
Unread 09-19-2011, 02:20 PM   #2
rockstar
Obsessive iPhone Disorder
 
rockstar is offline
Join Date: May 2010
Device: iPhone 4S
iOS Version: 5.0.1
iTunes Version: iTunes 10
Carrier: AT&T
OS: Mac OS X
Location: SINFULIPHONE
Posts: 6,717
Thanks: 554
Thanked 7,918 Times in 1,810 Posts
nice tut , like the disclaimer looks like this is an updated version of this How to install FreeMyiPhone, the script to clear the memory of your iPhone after using JailbreakMe - SiNfuL iPhone
*****Hit the THANKS button if I helped*****
  Reply With Quote
The Following 3 Users Say Thank You to rockstar For This Useful Post:
AppleHacker (09-19-2011), coldtmw (04-11-2012), mike9019 (01-11-2012)

 
Unread 09-19-2011, 03:08 PM   #3
kercus05
Obsessive iPhone Disorder
 
kercus05's Avatar
 
kercus05 is offline
Join Date: Aug 2009
Device: iPhone 5
iOS Version: 6.0
iTunes Version: iTunes 10
Carrier: AT&T
OS: Mac OS X
Location: fl
Posts: 364
Thanks: 271
Thanked 67 Times in 29 Posts
Is this safe on iP4 iOS 5 beta 7?
  Reply With Quote

 
Unread 09-19-2011, 04:16 PM   #4
gilbert818
n00b
 
gilbert818 is offline
Join Date: May 2011
Device: iPhone 3GS
iOS Version: 4.1
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: AZ
Posts: 14
Thanks: 14
Thanked 2 Times in 2 Posts
excellent guide! thanks for taking the time to make such a great write-up
  Reply With Quote

 
Unread 09-19-2011, 04:26 PM   #5
britpunk01
Jailbroken
 
britpunk01 is offline
Join Date: Aug 2010
Device: iPhone 4S
iOS Version: 5.0.1
iTunes Version: iTunes 10
Carrier: o2
OS: Mac OS X
Location: London
Posts: 95
Thanks: 40
Thanked 50 Times in 29 Posts
Quote:
Originally Posted by kercus05 View Post
Is this safe on iP4 iOS 5 beta 7?
Yes.
  Reply With Quote

 
Unread 09-19-2011, 04:36 PM   #6
kautiongsr
iPhoneaholic
 
kautiongsr's Avatar
 
kautiongsr is offline
Join Date: Feb 2011
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Mac OS X
Location: cal
Posts: 112
Thanks: 78
Thanked 12 Times in 12 Posts
worked great 4.3.3 iphone 4
  Reply With Quote

 
Unread 09-19-2011, 06:23 PM   #7
natzakaria
Obsessive iPhone Disorder
 
natzakaria is offline
Join Date: Dec 2009
Device: iPhone 4S
iOS Version: 5.0.1
iTunes Version: iTunes 10
Carrier: Other
OS: Mac OS X
Location: KL
Posts: 229
Thanks: 138
Thanked 19 Times in 16 Posts
Awesome tut bro - well done
  Reply With Quote
The Following User Says Thank You to natzakaria For This Useful Post:
AppleHacker (09-19-2011)

 
Unread 09-19-2011, 06:44 PM   #8
lothariokundalini
(still) Hacked by Contra
 
lothariokundalini's Avatar
 
lothariokundalini is offline
Join Date: Mar 2010
Device: iPhone 4
iOS Version: 5.0.1
iTunes Version: iTunes 10
Carrier: Other
OS: Windows Vista
Location: Philippines
Posts: 1,879
Thanks: 538
Thanked 394 Times in 295 Posts
+ remove launchdaemons!!
i may disagree violently with what you say but i will fight to death your right to say it
  Reply With Quote
The Following User Says Thank You to lothariokundalini For This Useful Post:
AppleHacker (09-19-2011)

 
Unread 09-19-2011, 07:31 PM   #9
AppleHacker
SiNful Addict =P

 
AppleHacker's Avatar
 
AppleHacker is offline
Join Date: Oct 2010
Device: iPhone 5
iOS Version: 7.1.x
iTunes Version: iTunes 10
Carrier: Vodafone
OS: Windows 7 x32
Location: Usercp
Posts: 11,172
Thanks: 5,004
Thanked 51,170 Times in 6,752 Posts
Quote:
Originally Posted by lothariokundalini View Post
+ remove launchdaemons!!
Exactly if you want to increase more Battery Life remove the launchdaemons

  Reply With Quote

 
Unread 09-20-2011, 01:46 AM   #10
AppleHacker
SiNful Addict =P

 
AppleHacker's Avatar
 
AppleHacker is offline
Join Date: Oct 2010
Device: iPhone 5
iOS Version: 7.1.x
iTunes Version: iTunes 10
Carrier: Vodafone
OS: Windows 7 x32
Location: Usercp
Posts: 11,172
Thanks: 5,004
Thanked 51,170 Times in 6,752 Posts
If you are wondering what are launchdaemons and how it will improve battery life check out this thread!
Speed Up Your iDevice By Removing launch Daemons - SiNfuL iPhone

  Reply With Quote

 
Unread 09-20-2011, 07:29 AM   #11
patfreak
Freak on a Leash
 
patfreak's Avatar
 
patfreak is offline
Join Date: Sep 2009
Device: iPhone 5
iOS Version: 7.0
iTunes Version: iTunes 11
Carrier: Other
OS: Linux
Location: State Of Calamity
Posts: 1,107
Thanks: 316
Thanked 1,000 Times in 352 Posts
i just wanna add this up..


ADDITION:

delete all the var/logs/crash and var/mobile/library/crashreporter reporter which one file usually 87kb-90kb..then clean up thrash..

and i deleted the female and male voices in System/Library/PrivateFrameworks/SportsWorkoutframework/voices. and just leave ENUS..im on iphone 4 4.3.3..try it and youll see much faster and a larger storage..free up to almost 100mb+....
  Reply With Quote
The Following User Says Thank You to patfreak For This Useful Post:
AppleHacker (09-20-2011)

 
Unread 09-20-2011, 08:16 AM   #12
Jarviss
Obsessive iPhone Disorder
 
Jarviss's Avatar
 
Jarviss is offline
Join Date: Aug 2010
Device: iPhone 4
iOS Version: 4.3.x
iTunes Version: iTunes 10
Carrier: Other
OS: Windows 7
Location: Ireland
Posts: 499
Thanks: 85
Thanked 94 Times in 73 Posts
Lang2.2 and CUC both ran and freed up 100mb for me. Every little helps but was hoping for more.
Iphone 4 on 4.3.3
Thanks AppleHacker
  Reply With Quote
The Following User Says Thank You to Jarviss For This Useful Post:
AppleHacker (09-20-2011)

 
Unread 09-20-2011, 08:36 AM   #13
GorgonSin
Obsessive iPhone Disorder
 
GorgonSin's Avatar
 
GorgonSin is offline
Join Date: Oct 2010
Device: iPhone 5
iOS Version: 7.0
iTunes Version: iTunes 11
Carrier: AT&T
OS: Mac OS X
Location: USA/UK
Posts: 4,115
Thanks: 3,080
Thanked 790 Times in 598 Posts
great post though i dont use auto 3g cause i want my phone on 3g at all times..


13 " MacBook Pro Retina - OSX Mavericks - i5 8 gigs ram , 256GB SSD
iPhone5 16Gig - iOS 7.0.4 (Jailbroken)
iPad Mini Retina 16Gig - iOS 7.0.4 (Jailbroken)
iPod Touch 5G 32Gig - iOS 7.1.1 (NOT Jailbroken)
  Reply With Quote
The Following User Says Thank You to GorgonSin For This Useful Post:
AppleHacker (09-20-2011)

 
Unread 09-20-2011, 09:38 AM   #14
AppleHacker
SiNful Addict =P

 
AppleHacker's Avatar
 
AppleHacker is offline
Join Date: Oct 2010
Device: iPhone 5
iOS Version: 7.1.x
iTunes Version: iTunes 10
Carrier: Vodafone
OS: Windows 7 x32
Location: Usercp
Posts: 11,172
Thanks: 5,004
Thanked 51,170 Times in 6,752 Posts
Quote:
Originally Posted by gebav View Post
there's no CUC on ihacksrepo.. pls. upload. thanks.



NOW i also need to teach you guys how to search

Type 'clean up crap' in search box and not 'cuc'

  Reply With Quote
The Following User Says Thank You to AppleHacker For This Useful Post:
mike9019 (01-10-2012)

 
Unread 09-20-2011, 10:09 AM   #15
gebav
_z0ukOut_
 
gebav's Avatar
 
gebav is offline
Join Date: Nov 2010
Device: iPhone 5
iOS Version: 6.1
iTunes Version: iTunes 11
Carrier: AT&T
OS: Windows 7
Location: USA/PH
Posts: 482
Thanks: 46
Thanked 1,140 Times in 214 Posts
Quote:
Originally Posted by AppleHacker View Post



NOW i also need to teach you guys how to search

Type 'clean up crap' in search box and not 'cuc'
Clean Up Crap not Cleaning Up Crap..


God is my Dj

iPhone 5 32GB White 6.1 (evasi0n)
iPad mini 16GB WiFi Black 6.1 (evasi0n)
iPod Touch 4th Gen 32GB Black 6.1.2 (evasi0n)
  Reply With Quote

 
Unread 09-20-2011, 11:00 AM   #16
HungLeon
Obsessive iPhone Disorder
 
HungLeon's Avatar
 
HungLeon is offline
Join Date: Jul 2009
Device: iPhone 3G
iOS Version: 3.1.3
iTunes Version: iTunes 9
Carrier: T-Mobile
OS: Windows Vista
Location: US
Posts: 761
Thanks: 11
Thanked 692 Times in 193 Posts
run all but free up only about 150mb space, not as 1gb like i wished or advertised from OP
My Signal Bars

A SIGNAL BARS THAT DOES NOT HAVE ALOT OF EVENTS AND SOCIALIZATIONS IS A DEAD SIGNAL BARS
  Reply With Quote

 
Unread 09-20-2011, 06:19 PM   #17
patfreak
Freak on a Leash
 
patfreak's Avatar
 
patfreak is offline
Join Date: Sep 2009
Device: iPhone 5
iOS Version: 7.0
iTunes Version: iTunes 11
Carrier: Other
OS: Linux
Location: State Of Calamity
Posts: 1,107
Thanks: 316
Thanked 1,000 Times in 352 Posts
syscleanpro is pretty good script too..it does all from removing unused language moving fonts removing foreign files...worth trying..
  Reply With Quote

 
Unread 09-20-2011, 06:50 PM   #18
cocoyan
n00b
 
cocoyan is offline
Join Date: Sep 2011
Device: iPhone 3GS
iOS Version: 4.0.1
iTunes Version: iTunes 9
Carrier: Verizon
OS: Windows XP
Location: earth
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Great guidelines!Thanks a lot.
No advertising thanks!
  Reply With Quote

 
Unread 09-20-2011, 11:06 PM   #19
creasy
iPhoneaholic
 
creasy's Avatar
 
creasy is offline
Join Date: Dec 2009
Device: iPhone 4
iOS Version: 6.1.3
iTunes Version: iTunes 11
Carrier: AT&T
OS: Windows 7
Location: states
Posts: 121
Thanks: 444
Thanked 14 Times in 13 Posts
Simply Amazing gr8t tut. THX
  Reply With Quote

 
Unread 09-21-2011, 09:14 AM   #20
patfreak
Freak on a Leash
 
patfreak's Avatar
 
patfreak is offline
Join Date: Sep 2009
Device: iPhone 5
iOS Version: 7.0
iTunes Version: iTunes 11
Carrier: Other
OS: Linux
Location: State Of Calamity
Posts: 1,107
Thanks: 316
Thanked 1,000 Times in 352 Posts
one questions about the launch daemons..as i deleted some of the safe daemons and conditional daemons..when im in sbsettings and hit free up memory..it always resprings doesnt happen for me before..does anyone know what launch daemons i deleted causing that issue?i made a back-up already but i just wanna know whats causing that.thanks..
  Reply With Quote
Reply

Thread Tools

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




All times are GMT -7. The time now is 10:55 PM.

Copyright 2009 (SiNfulSS)- Shot Caller @ SiNfuL iPhone