Apple Speed up your iDevice

shamiko_

~
OP
Member
Joined
Feb 19, 2009
Messages
1,757
Trophies
1
Age
27
Website
gbatemp.net
XP
308
Country
<div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->HOW TO Speed up your iDevice by removing daemons .<!--sizec--></span><!--/sizec-->

<b><!--fonto:Verdana--><span style="font-family:Verdana"><!--/fonto--><!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo--><!--coloro:Red--><span style="color:Red"><!--/coloro-->NOTE! It is STRONGLY recommended that you make a backup of all the files being modified in this tutorial. These are core system files, and removing the wrong one could potentially result in a restore if backups are not made. Be sure to read through this ENTIRE tutorial thoroughly before taking any action or asking any questions.<!--sizec--></span><!--/sizec--></b>

It is also recommended that you have MobileFinder or iFile installed, in case you need to restore your backups but are unable to SSH into your device for some reason. I am not responsible for any damage caused to your device by this tutorial. Follow this tutorial at your own risk. <b>Your results may vary depending on the MobileSubstrate plugins you have running</b>, as those take up memory by themselves.

Every daemon in this tutorial has been tested on a first-generation iPod touch with the 3.1.2 firmware. I am not responsible for any damage to devices other than a first-generation iPod touch with the 3.1.2 firmware, as I am incapable of testing on them. <b>However, this tutorial applies to all devices running firmwares 3.0 and above, including iOS 4.0.</b> iOS 4.0 has apparently added some more daemons that are not covered in this tutorial; if you want them in this tutorial, <b>you will have to test them yourself or wait for someone else other than me to do so, because my first-gen iPod touch is not eligible for the 4.0 update.</b>

Also note that if you do not make a backup and end up needing to restore a daemon, <b>the members of this forum cannot upload any .plist files for you</b>. These files contain code copyrighted by Apple, and as such cannot be posted for download on a public forum. Make your backups, people!

There is also a package in Cydia available from a less-than-legitimate source called "Disable Daemons" that automates this process. However, <b>I strongly recommend that you do not install this package.</b> No problems have been reported with it so far, but the fact is that it would be very easy for the developer to put out a malicious update that deleted every daemon on your device and you would have no way of knowing. With something that deals with system-level files like this, it's best to do it manually so you know it's done right.

<b>Note for those using Spirit:</b> According to MuscleNerd, <a href="http://twitter.com/MuscleNerd/status/13965017859" target="_blank">Spirit installs its own launch daemon.</a> Accidentally deleting this daemon will necessitate a restore of your device. Also, if your device has been previously jailbroken with a different tool, and you used this tutorial to delete launch daemons and kept an edited version of the LaunchDaemons folder on your computer, DO NOT simply use that edited folder to replace the LaunchDaemons folder on your Spirit-jailbroken device. That folder will not have the necessary Spirit daemon and you will have to restore. This has already happened to at least one user on these forums. If anyone could provide me with some information on what the Spirit daemon is named so I can add it to the list, I'd appreciate it.<!--colorc--></span><!--/colorc--><!--fontc--></span><!--/fontc--></div>

Before we start, you need to understand what a daemon is if you don't already. Wikipedia has an excellent explanation:



So what does this mean? This means that when your iPhone or iPod is turned on, it loads a bunch of background processes (over 60!) that allow it to do various things, like connect to the Internet and receive calls. Since these processes are in the background, they take up a sizable amount of your device's available RAM, and because they're system processes, they can't be killed with SBSettings or MemTool. The good news is that some of these daemons are completely unnecessary (for most people), and you can simply delete them and regain the RAM they were taking up.

First, SSH into your device and navigate to /System/Library. Find the LaunchDaemons folder and download the entire thing to your desktop. Rename the folder on your desktop to something like "LaunchDaemons.old" or "LaunchDaemons.backup" and reupload it to your device without making any changes to it (and keep a copy on your computer as well; you can never have too many backups). This will serve as our on-device backup, in case something goes wrong and you can't SSH into your device or connect via USB. Then, make all of the changes you want to make to the .plist files <i>in the original LaunchDaemons folder.</i>

To disable a daemon, simply delete the corresponding .plist file.

<div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b><!--coloro:SeaGreen--><span style="color:SeaGreen"><!--/coloro-->Safe Daemons</b><!--sizec--></span><!--/sizec-->
<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->These can be deleted by any user, with no adverse effects on the device.<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></div>
•<b>com.apple.DumpPanic.plist</b> - Dumps crashes for evaluation by Apple.
•<b>com.apple.ReportCrash.(Different Things).plist</b> - There are 5 of these daemons, and they collect data about what caused a crash, what programs were running at the time, etc.
•<b>com.apple.DumpBasebandCrash.plist</b> - Dumps baseband crashes, which shouldn't happen during normal use. iPod touch users don't even have a baseband.
•<b>com.apple.CrashHouseKeeping.plist</b> - Also deals with crashes.
•<b>com.apple.aslmanager.plist</b> - This daemon manages system logs.
•<b>com.apple.syslogd.plist</b> - Logs system events.
•<b>com.apple.powerlog.plist</b> - This is used to monitor any incompatibilities with 3rd party chargers.
•<b>com.apple.stackshot.server.plist</b> - This daemon's function is currently unknown, but removing it has no adverse effects on one's device. Some more information can be found <a href="http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man1/stackshot.1.html%5b/URL%5d,%20although%20the%20page%20is%20quite%20technical%20and%20isn't%20very%20useful%20to%20an%20end-user.•<b>com.apple.tcpdump.server.plist</b>%20-%20This%20daemon%20is%20apparently%20used%20to%20dump%20traffic%20on%20a%20network%20(%5bURL="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/tcpdump.1.html" target="_blank">Source</a>), but I don't know what that means, exactly. Removing this daemon has had no adverse effects on my device.
•<b>com.apple.chud.chum.plist</b> - This daemon is thought to relate to Apple's CHUD (Computer Hardware Understanding Developer) tools. Removing this daemon will have no adverse effects on your device, unless you are a developer.
•<b>com.apple.chud.pilotfish.plist</b> - This daemon is also thought to relate to Apple's CHUD tools. Removing this daemon will have no adverse effects on your device, unless you are a developer.
•<b>com.apple.psctl.plist</b> - No definitive information about this daemon is currently available, but it's believed that it deals with connecting external storage devices, possibly a feature coming in new iDevices. It doesn't do anything for now, though, so feel free to delete it. (<a href="http://modmyi.com/forums/file-mods/684940-possible-samba-bonjour-3-2-a.html" target="_blank">Source</a>)
•<b>com.apple.apsd.tcpdump.en0.plist</b> - Logs push notification errors.
•<b>com.apple.apsd.tcpdump.pdp_ip0.plist</b> - Also believed to log push notification errors.

<div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b><!--coloro:DarkOrange--><span style="color:DarkOrange"><!--/coloro-->Conditional Daemons</b><!--sizec--></span><!--/sizec-->
<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->These daemons can be disabled by certain users who have no need for some features of their device.<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec-->
</div>•<b>com.apple.searchd.plist</b> - Disables Spotlight search if removed. The Spotlight page will still be there, but nothing will show up when you start typing. Disable this daemon if you don't use Spotlight.
•<b>com.apple.AddressBook.plist</b> - If removed, Contacts in the Phone application will load slightly slower. Disable this if you don't care about that.
•<b>com.apple.accessoryd.plist</b> - If removed, disables accessories like FM radio transmitters, iPhone docks, and AV cables. Accessories will be able to charge your device, but that is all they will be able to do. Remove this if you don't use any of these accessories.
•<b>com.apple.apsd.plist</b> - If removed, Push Notifications will no longer work. Disable this if you don't use Push Notifications.
•<b>com.apple.iapd.plist</b> - Functions like com.apple.accessoryd.plist (<a href="http://oroyphoto.com/?page_id=340" target="_blank">Source</a>). My personal guess is that it deals with accessories that also come with companion apps, but don't hold me to that.
•<b>com.apple.dataaccess.dataaccessd.plist</b> - If removed, contacts will no longer sync via Exchange or Google Sync. Disable this if you don't use those services.
•<b>com.apple.datamigrator.plist</b> - Used to transfer contacts from SIM card to phone. iPod touch users can delete this.
•<b>com.apple.racoon.plist</b> - Used for Virtual Private Networks. Disable this daemon if you do not use any VPNs.
•<b>com.apple.MobileInternetSharing.plist</b> - Used for Internet Tethering. Disable this if you have an iPod touch or if you aren't interested in tethering.
•<b>com.apple.AOSNotification.plist</b> - This daemon deals with MobileMe syncing. If you do not use the MobileMe service, you can disable this.
•<b>com.apple.AdminLite.plist</b> - This daemon tries to return control of your device to you if it thinks that you are waiting for a lengthly process to respond. It does this by force-quitting the process, so if you're tired of your apps crashing and you would rather wait a few seconds for them to finish what they're doing, disable this daemon.
•<b>com.apple.graphicsservices.sample.plist</b> - Thought to have something to do with displaying album artwork. I've deleted it on my iPod and everything still works fine, but some people have encountered problems.
•<b>com.apple.UIKit.pasteboardd.plist</b> - I believe that this daemon deals with copy/paste. If you don't find yourself using copy/paste, you can disable this daemon.
•<b>com.apple.mobile.obliteration.plist</b> - This daemon wipes the data partition of your device. (<a href="http://code.google.com/p/chronicdev/wiki/MobileObliterator" target="_blank">Source</a>) This will be used if you remotely wipe your phone via Exchange, or if you use Settings > General > Reset, or if you set your device to wipe itself after a certain number of failed passcode entries. If you don't use these features, you can delete this daemon.
•<b>com.apple.scrod.plist</b> - This daemon deals with Voice Control. If you don't use Voice Control, you can delete this daemon.
•<b>com.apple.VoiceOverTouch</b> - Another Voice Control daemon.
•<b>com.apple.voiced</b> - Yet another Voice Control daemon.
•<b>com.apple.mobile.profile_janitor.plist</b> - This daemon apparently deals with provisioning profiles for ad-hoc app distribution. If that doesn't apply to you, or if you have no idea what that is, you can delete this daemon. (<a href="http://www.ipodtouchfans.com/forums/showpost.php?p=2299958&postcount=421" target="_blank">Source</a>)

<!--coloro:RoyalBlue--><span style="color:RoyalBlue"><!--/coloro--><div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b>Unknown Daemons</b><!--sizec--></span><!--/sizec-->
<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->The functions of these daemons are currently unknown. Proceed with caution.<!--sizec--></span><!--/sizec--></div><!--colorc--></span><!--/colorc-->
•<b>com.apple.daily.plist</b> - Nothing is currently known about this daemon, except that it is programmed to perform a certain function once a day. Removing this daemon has had no adverse effects on my device.
•<b>com.apple.iqagent.plist</b> - This daemon's function is currently unknown, but removing it has had no adverse effects on my device.
•<b>com.apple.storage_mounter.plist</b> - This daemon's function is currently unknown, but it is believed that it deals with a possibly upcoming iOS feature that will allow you to use your iPhone or iPod touch in disk mode. However, for the time being it does nothing and can be safely deleted.

<!--coloro:DarkRed--><span style="color:DarkRed"><!--/coloro--><div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b>Device-Specific Daemons</b><!--sizec--></span><!--/sizec-->
<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->These daemons have different functions for different devices. Be ABSOLUTELY CERTAIN that these daemons are safe to delete from your specific device.<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></div>
•<b>com.apple.CommCenter.plist</b> - Deals with making and receiving phone calls and connecting to the cellular data network. iPod touch users and wifi-only iPad users (confirmed on the first-gen iPod, assumed on all the others) can delete this daemon with no adverse effects. <b><!--coloro:Red--><span style="color:Red"><!--/coloro-->iPhone and iPad 3G users should not delete this daemon under any circumstances.<!--colorc--></span><!--/colorc--></b>
•<b>com.apple.awd_ice2.plist</b> - Apparently only affects the iPhone 3G and 3GS. It's not known what its function is on those devices, however, so remove this daemon at your own risk.
•<b>com.apple.awd_ice3.plist</b> - Only affects the iPhone 4. It's not known what its function is on the iPhone 4, however, so remove it at your own risk.
•<b>com.apple.aggregated.plist</b> - It is believed that this performs some function related to Audio-In. If you have an iPod touch and do not intend to use Audio-In, disable this. iPhone users should leave this alone.

<div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><!--coloro:Red--><span style="color:Red"><!--/coloro--><b>Leave-Alone Daemons</b><!--sizec--></span><!--/sizec-->
<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->These daemons are crucial to the operation of your device and should not be modified in any way.<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec--></div>
•<b>com.apple.fairplayd.plist</b> - This checks the DRM on your legitimately-acquired music and apps.
•<b>com.apple.installd.plist</b> - Deals with app installation.
•<b>com.apple.BTServer.plist</b> - If this daemon is disabled, your device will become extremely slow and unresponsive.
•<b>com.apple.configd+pm.plist</b> - Deals with system configuration.
•<b>com.apple.configd-pm.plist</b> - Also deals with system configuration.
•<b>com.apple.gmmd.plist</b> - A debugging service for your device.
•<b>com.apple.mDNSResponder.plist</b> - DNS. Disable this, and your Internet is completely gone.
•<b>com.apple.mDNSResponderHelper.plist</b> - Also deals with DNS.
•<b>com.apple.locationd.plist</b> - Deals with GPS and location.
•<b>com.apple.mediaserverd.plist</b> - Plays your music and videos.
•<b>com.apple.usbptpd.plist</b> - Allows your device to connect to your computer and charge.
•<b>com.apple.mtmergeprops.plist</b> - Appears to have something to do with the touchscreen. After I deleted this daemon, my screen was unresponsive. This is why you make backups!
•<b>com.apple.SCHelper-embedded.plist</b> - Appears to be a part of the SystemConfiguration framework (<a href="http://discussions.apple.com/thread.jspa?threadID=1577123" target="_blank">Source</a>), so I don't recommend deleting it. If some brave soul wants to try it, go ahead and report back.
•<b>com.apple.SpringBoard.plist</b> - This daemon ensures that SpringBoard launches when you turn your device on. Without this daemon, SpringBoard will not launch. Also, this daemon ensures that you are able to respring your device. If you disable this daemon and attempt to respring, the SpringBoard process will be killed but will not start again.
•<b>com.apple.mobile.lockbot.plist</b> - This daemon's function is currently unknown, but several users have removed it (based on my advice; sorry about that, guys!) and have had to restore as a result. However, I think it's worth noting that I have removed this daemon on my first-gen iPod touch and have encountered no problems. For the time being, however, leave this daemon alone.
•<b>com.apple.mobile.Lockdown.plist</b> - Deals with SIM and network authorization. iPod touch users, even though this daemon seems like it deals with iPhone-only operations, have still had to restore after deleting this daemon. I have removed this daemon on my first-gen iPod touch and have encountered no problems, but apparently I'm the only one who has been this lucky.
•<b>com.apple.itdbprep.plist</b> - Based on the name, this has something to do with syncing music to your device.
•<b>com.apple.itunesstored</b> - Messing with this daemon will cause it to use 100% of your device's CPU periodically. Leave it alone.

<div align="CENTER"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><!--coloro:Purple--><span style="color:Purple"><!--/coloro--><b>Jailbreak Daemons</b><!--sizec--></span><!--/sizec-->
<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->These are daemons installed by jailbreak applications.<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec--></div>
•<b>com.apple.dynamic_pager.plist</b> - This is what drives virtual memory (VM) mods. Delete this daemon only if you want to uninstall any VM hacks you have on your device.
•<b>com.bigboss.sbsettingsd.plist</b> - Related to SBSettings. I would suggest leaving it alone.
•<b>com.imalc.insomnia.plist</b> - Used to keep Insomnia running through resprings and reboots. If you don't want it to do that, disable this.
•<b>com.mxweas.MxT2d.plist</b> - The daemon that allows MxTube to download videos in the background. If disabled, the application will need to be reinstalled; however, if you don't use MxTube and are too lazy to uninstall it, you can disable this daemon.
•<b>com.saurik.Cydia.Startup.plist</b> - It's believed that this daemon deals with the AutoInstall trick for installing .deb files. If you don't know what that is and you don't use it, you can disable this daemon.
•<b>com.saltinbas.free.mem.plist</b> - This daemon is part of the Repeat Memory Free hack that's been floating around lately. Disable this if you no longer want your memory to be freed automatically. (Note: please do not discuss this hack here, as it comes from a forum we aren't allowed to talk about or link to.)
•<b>org.nodomain.scrobbled.plist</b> - The Scrobbler daemon. Disable this if you don't want your music scrobbled anymore.
•<b>com.SPC.SuperCharged.plist</b> - The SuperCharged daemon, which is a virtual memory mod from Cydia. Don't delete this if you want to keep using SuperCharged.
•<b>food.plist</b> - Installed by Comex's Frash plugin. This daemon most likely allows the interpretation of Flash content on webpages.

<!--coloro:Red--><span style="color:Red"><!--/coloro--><b><!--fonto:Verdana--><span style="font-family:Verdana"><!--/fonto--><!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->NOTE! If this tutorial does not specifically mention that a certain daemon is safe to remove, leave it alone. Better safe than sorry. If a certain daemon isn't listed in this tutorial, I don't have it on my device and never will, so asking me if it's safe to delete is not advisable.<!--sizec--></span><!--/sizec--><!--fontc--></span><!--/fontc--></b><!--colorc--></span><!--/colorc-->

Hope this helped!
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Seems like a good, thorough guide
smile.gif
 

metamaster

Well-Known Member
Member
Joined
Mar 7, 2010
Messages
875
Trophies
0
XP
162
Country
Canada
I tried this on my iPad, removing everything that I could (including unknown ones) and my ipad crashed and restarted every 3 minutes... Try them first, to see which affects which device. I just put the daemons back and everything is fine again.
 

shamiko_

~
OP
Member
Joined
Feb 19, 2009
Messages
1,757
Trophies
1
Age
27
Website
gbatemp.net
XP
308
Country
metamaster said:
I tried this on my iPad, removing everything that I could (including unknown ones) and my ipad crashed and restarted every 3 minutes... Try them first, to see which affects which device. I just put the daemons back and everything is fine again.
there isn't any info on which daemons can be removed on an iPad
sleep.gif

(there might be in the future)
you could try removing the safe ones first, then rebooting and see if there is a difference. afterwards you can try the conditional ones (read what it does)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://gbatemp.net/profile-posts/163064/