ipad怎么优化内存
相关话题
ipad怎么优化内存?不知道的话跟着小编一起来学习ipad怎么优化内存。
ipad怎么优化内存的方法
第一步删除不用的语言文件
删除语言文件会不会破坏ipad, iphone, itouch的系统?
就目前来看删除文件不会对iOS造成任何的伤害,但是会极大的释放内存空间供软件使用,让iDevice的运行更平滑,更流畅
下面介绍怎么运行这个文件
首先你的ipad需要破解,然后进Cydia搜索openSSH并安装它 然后使用SSH Secure Shell登录ipad,SSH Secure Shell的下载链接 sshsecureshellclient_3_2_9.rar (5.41 MB) 下载次数: 73
这里提醒一下不要用winscp链接ipad,winscp的命令行有问题,输入任何命令都会造成winscp假死(不知道这是不是个别现象)
用户名:root
密码:alpine
把上面下载的script文件解压放到/private/var/mobile目录下 在命令行中输入cd /private/var/mobile
在命令行中输入chmod 0775 langpack2.1.sh(这个是给langpack2.1.sh文件775权限)
然后在命令行中输入./langpack2.1.sh
会出现一下界面(如果你需要使用emoji的话请保留Japanese语言文件)
引用
--Langpack2- by Fubaya ([url=mailto:ijdmas@gmail.com]ijdmas@gmail.com[/url])--
Let's delete a few thousand language packs.
You will have several chances to back out
before anything is deleted but if you want
to stop at any time just type q.
If you want to see how it runs without
making any changes, just answer no when it
asks you which languages to delete.
Searching for language packs. Please wait...
请耐心等待2 - 3分钟后会出现以下界面,让你选择需要删除那些语言文件
引用
Delete: Arabic - y or n?
这个是问你需不需要删除Arabic语言文件输入y确定删除,输入n不删除,输入完y或者n按回车
在这个过程中一定要正确的输入y或者n,如果输入错误不能删除,如果你按了删除键会出现乱码
这个时候不要急在键盘上同时按住ctrl + z键就会退出该程式。它会在你全部选择完后才会开始删除文件,
所以如果选择中按错键不必担心。
下面给出这个程式运行后的整个画面
引用
--Langpack2- by Fubaya ([url=mailto:ijdmas@gmail.com]ijdmas@gmail.com[/url])--
Let's delete a few thousand language packs.
You will have several chances to back out
before anything is deleted but if you want
to stop at any time just type q.
If you want to see how it runs without
making any changes, just answer no when it
asks you which languages to delete.
Searching for language packs. Please wait...
Delete: Arabic - y or n? y
Arabic will be deleted
Delete: Bulgarian - y or n? y
Bulgarian will be deleted
Delete: Chinese - y or n? n
Chinese will be kept
Delete: Croatian - y or n? y
Croatian will be deleted
Delete: Czech - y or n? y
Czech will be deleted
Delete: Danish - y or n? y
Danish will be deleted
Delete: Dutch - y or n? y
Dutch will be deleted
Delete: Finnish - y or n? y
Finnish will be deleted
Delete: French - y or n? y
French will be deleted
Delete: German - y or n? y
German will be deleted
Delete: Greek - y or n? y
Greek will be deleted
Delete: Hebrew - y or n? y
Hebrew will be deleted
Delete: Hungarian - y or n? y
Hungarian will be deleted
Delete: Indonesian - y or n? y
Indonesian will be deleted
Delete: Italian - y or n? y
Italian will be deleted
Delete: Japanese - y or n? n
Japanese will be kept
Delete: Korean - y or n? y
Korean will be deleted
Delete: Lithuanian - y or n? y
Lithuanian will be deleted
Delete: Malay - y or n? y
Malay will be deleted
Delete: Norwegian - y or n? y
Norwegian will be deleted
Delete: Polish - y or n? y
Polish will be deleted
Delete: Portuguese - y or n? y
Portuguese will be deleted
Delete: Romanian - y or n? y
Romanian will be deleted
Delete: Russian - y or n? y
Russian will be deleted
Delete: Slovak - y or n? y
Slovak will be deleted
Delete: Spanish - y or n? y
Spanish will be deleted
Delete: Swedish - y or n? y
Swedish will be deleted
Delete: Thai - y or n? y
Thai will be deleted
Delete: Turkish - y or n? y
Turkish will be deleted
Delete: Ukrainian - y or n? y
Ukrainian will be deleted
Delete: vi.lproj (unrecognized) - y or n? n
vi.lproj will be kept
-------------------------------------
Arabic Bulgarian Croatian Czech Danish Dutch Finnish French German Greek Hebrew Hungarian Indonesian Italian Korean Lithuanian Malay Norwegian Polish Portuguese Romanian Russian Slovak Spanish Swedish Thai Turkish Ukrainian
-------------------------------------
This is your last chance. Are you sure
you want to delete the languages listed?
Type y or n: y
Please wait while I delete the chosen language packs...
2696 language pack directories have been
deleted. A log file has been created at
/var/mobile/langpack.log.
My contact information is at the top of
the log file and if you encountered any
unrecognized languages, I would appreciate
you emailing me that file so that I may keep
up with the ever-changing languages.
The only other thing left is me, this
script located at /var/mobile/langpack2.1.sh.
Do you want me to delete myself - y or n? y
Deleting myself...blarg.. I'm dead
关于运行langpack2.1.sh出现以下错误的解决方法,请到cydia里下载ifile和Mobile Terminal并安装
引用
iPad:/private/var/mobile root# /langpack2.1.sh
-sh: /langpack2.1.sh: No such file or directory
iPad:/private/var/mobile root# ./langpack2.1.sh
./langpack2.1.sh: line 5: id: command not found
./langpack2.1.sh: line 5: [: !=: unary operator expected
./langpack2.1.sh: line 9: tee: command not found
./langpack2.1.sh: line 9: tr: command not found
Let's delete a few thousand language packs.
You will have several chances to back out
before anything is deleted but if you want
to stop at any time just type q.
If you want to see how it runs without
making any changes, just answer no when it
asks you which languages to delete.
Searching for language packs. Please wait...
/usr/bin/updatedb: line 221: /usr/bin/sort: No such file or directory
Nothing to delete. Either I didnt find
any to delete or you answered no to
everything. See ya later.
第二部进程优化
在进行这步之前请先备份/System/Library下的LaunchDaemon这个文件夹下的所有文件,以免误删后可以恢复
这个优化就像windows优化时把services里服务关闭一样的道理。当iDevice开机后他会自动运行一些列的进程,
这些进程让ipad做一系列的事情。这些进程会在后台运行,每个进程都会使用一定的内存空间。我们可以像windows
一样把一些不必要的进程给关闭释放他们使用的内存空间。
首先使用winscp,91,ifunbox任何可以浏览ipad系统文件夹的软件,浏览到/System/Library把LaunchDaemon这个文件夹
复制到电脑上备份。
要关闭一个进程只要把LaunchDaemon下相应的文件删除就行,下面介绍那些文件是可以删除,那些是不能删除的
可以安全删除的进程
com.apple.DumpPanic.plist - 储存系统崩溃信息
com.apple.ReportCrash.(不同的名字).plist - 有6个这样的文件,他们的任务是收集是什么原因造成系统崩溃的,比如什么软件在运行,什么时间。。等等
com.apple.DumpBasebandCrash.plist - 储存基带崩溃信息 (ipod touch没有这个文件,不知道wifi版的ipad有没有这个文件)
com.apple.CrashHouseKeeping.plist - 这个也是关于崩溃的进程
com.apple.aslmanager.plist - 这个是管理系统日志的
com.apple.syslogd.plist - 记录系统日志的
com.apple.powerlog.plist - 这个是监视任何第三方不被兼容的充电器
com.apple.stackshot.server.plist - 这个进程目前知不道是干什么用的,但是删除后没有造成任何问题,可以放心删除
com.apple.chud.chum.plist - 这个是关于CHUD(这个是硬件开发的)
com.apple.chud.pilotfish.plist - 同上
com.apple.apsd.tcpdump.en0.plist - push notification的日志
com.apple.apsd.tcpdump.pdp_ip0.plist - 同上
下面这些进程被删会造成某项功能不能使用
请用户自行决定
com.apple.searchd.plist - Sportlight搜索功能
com.apple.accessoryd.plist - 这个是配件支持进程(不建议删除),如果删除docks,camere kit这些配件将不能使用
com.apple.apsd.plist - Push Notification的进程,删除后推送将不能使用
com.apple.iapd.plist - 这个也是配件支持进程
com.apple.dataaccess.dataaccessd.plist - 删除这个将不能同步联系人
com.apple.datamigrator.plist - 把sim卡上的联系信息存到ipad,iphone上的
com.apple.racoon.plist - VPN进程,删了后不能使用VPN
com.apple.MobileInternetSharing.plist - 共享上网服务
com.apple.AOSNotification.plist - 这个是提供MobileMe同步功能的
com.apple.AdminLite.plist - 这个进程会自动关闭崩溃的软件
com.apple.graphicsservices.sample.plist - 显示专辑图片的进程
com.apple.UIKit.pasteboardd.plist - 提供复制,黏贴功能的进程
com.apple.mobile.obliteration.plist - 这个进程是用来删除用户数据的,如果删除就不能在ipad的设置里恢复出厂模式
com.apple.scrod.plist - 语音控制
设备专有进程
com.apple.CommCenter.plist - 打电话的进程
com.apple.aggregated.plist - 支持音频输入的进程
关键进程(请不要删除)
com.apple.fairplayd.plist - 数字权限管理
com.apple.installd.plist - 安装软件的进程
com.apple.BTServer.plist - 如果删除这个进程,你的机器会运行的很慢
com.apple.configd+pm.plist - 系统设置
com.apple.configd-pm.plist - 同上
com.apple.gmmd.plist - 调试进程
com.apple.mDNSResponder.plist - DNS进程
com.apple.mDNSResponderHelper.plist - 同上
com.apple.locationd.plist - GPS定位进程
com.apple.mediaserverd.plist - 播放音乐和视频的进程
com.apple.usbptpd.plist - 使你的机器插上电脑后充电
com.apple.mtmergeprops.plist - 触摸控制进程
com.apple.SCHelper-embedded.plist - 系统设置
com.apple.SpringBoard.plist - springboard进程
com.apple.mobile.Lockdown.plist - SIM网络的进程,ipod touch用户也不要删除它
com.apple.itdbprep.plist - 同步音乐的进程
破解后加入的进程
com.saurik.Cydia.Startup.plist - cydia的自动安装deb文件的进程
com.SPC.SuperCharged.plist - SuperCharged软件进程,cydia上的虚拟内存软件
com.apple.dynamic_pager.plist - 虚拟内存
com.bigboss.sbsettingsd.plist - SBSettings进程
com.mxweas.MxT2d.plist - 让MxTube可以后台下载youtube视频
关于虚拟内存的安装
由于此教程需要安装openSSH有用户反馈使用deb安装文件打开虚拟内存会出现白苹果
以下放出一个最安全的方法打开虚拟内存,绝对不会出现白苹果现象
首先请到cydia里下载ifile这个软件,建议下载最新版本,不需要是破解版本的
浏览到/System/Library/LaunchDaemons目录下
点击右上角的Edit
然后点击下面一排的 + 号上来创建一个文件按照图中的输入,然后点击create (注意大小写)创建完com.apple.dynamic_pager.plist 这个文件后,点进这个文件把以下代码输入进去
复制代码
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnableTransactions</key>
<true/>
<key>HopefullyExitsLast</key>
<true/>
<key>Label</key>
<string>com.apple.dynamic_pager</string>
<key>OnDemand</key>
<false/>
<key>rogramArguments</key>
<array>
<string>/sbin/dynamic_pager</string>
</array>
</dict>
</plist>
点击done后,继续用ifile浏览到/Library/Preferences/目录下
同样点击右上角的Edit
然后点击下面一排的 + 号上来创建一个文件按照图中输入,然后点击create(注意大小写)
点进这个com.apple.virtualMemory.plist这个文件把以下代码输入进去
复制代码
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UseEncryptedSwap</key>
<false/>
</dict>
</plist>
点击done,然后退出ifile,重启你的ipad,虚拟内存服务就会被打开最后我们再去确认下虚拟内存是不是已经打开,进入ifile,
浏览到/var/vm目录下看看是否有一个swapfile0的文件大小为64mb如果有
那么恭喜你虚拟内存
ipad怎么优化内存的评论条评论