Re: [問題] 7.1.1 怎麼解決afc2add的問題?
簡單分析了一下這個patch,不保證正確,有錯歡迎高手指正
需要這個patch的原因是因為evad3rs利用了afcd實現某些漏洞
因此iOS7.1更新後 afcd這個檔案與之前版本有些差異
而此patch原理應該是複製舊版(iOS 7.x)的afcd來使用
-------------------------------------------------------
PP助手afc2補丁 (afc2.25pp7)
deb安裝後會有以下目錄及檔案
/var/root/Library/afc2/32/afcd2 iOS7.x的 afcd for 32bit
/var/root/Library/afc2/64/afcd2 iOS7.x的 afcd for 64bit
/var/root/Library/afc2 用來負責安裝/移除等操作的程式
(modmyi上面的afc2add則是透過Erica Utilitie來幫忙)
deb解壓縮檔案完後會呼叫 /var/root/Library/afc2 "install"
進行安裝,過程大約是這樣:
根據機器類型(x32/x64)把對應的afcd2複製到/usr/libexec/afcd2
如圖: http://i.imgur.com/qxHiOYd.png

然後修改 /System/Library/Lockdown/Services.plist
把複製過來的 afcd2 加入 Services 列表
如圖: http://i.imgur.com/JHOL8SL.png

最後執行 chmod +x /usr/libexec/afcd2,給予 afcd2 執行權限
如圖: http://i.imgur.com/S4oUD2V.png

----------
移除過程:
呼叫 /var/root/Library/afc2 "uninstall" 進行移除
這邊也沒有什麼大問題
1.從 /System/Library/Lockdown/Services.plist 中移除掉 afcd2
2.刪除 /usr/libexec/afcd2
如圖: http://i.imgur.com/w5bOgqp.png

----------
基本上行為都跟 modmyi 上面的 afc2add 大致相同
沒看到什麼可疑的地方
不過他們複製的afcd版本舊了一點點就是了
(我從iOS 7.0.6抓的是 afc-218,他們的是afc-207,但差異應該不大)
不想新增pp助手的source的朋友可以從我這直接下載deb安裝
( deb from apt.25pp.com )
http://l4ys.tw/f/PP_afc2_patch_iOS7.1.x_1.01.deb
( 還是會要求先安裝Erica Utilitie,我也不知道他們搞啥= = )
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.230.100.65
※ 文章網址: http://www.ptt.cc/bbs/iPhone/M.1403623428.A.180.html
推
06/25 01:01, , 1F
06/25 01:01, 1F
推
06/25 01:05, , 2F
06/25 01:05, 2F
推
06/25 01:06, , 3F
06/25 01:06, 3F
→
06/25 01:08, , 4F
06/25 01:08, 4F
推
06/25 01:18, , 5F
06/25 01:18, 5F
推
06/25 01:24, , 6F
06/25 01:24, 6F
推
06/25 06:48, , 7F
06/25 06:48, 7F
→
06/25 06:49, , 8F
06/25 06:49, 8F
推
06/25 10:31, , 9F
06/25 10:31, 9F
有消息表示 saurik 將發佈 7.1+ 的 afc2 patch 大家可以再等等
※ 編輯: L4ys (36.230.100.65), 06/25/2014 12:54:31
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):