這個軟體在 S-ON 的裝置上將無法運作,大部分的 HTC 產品都有這個“功能”,而這個功能會造成AdAway無法寫入hosts file的錯誤。
S-OFF 指的是安全鎖 Security Lock 是關閉的,此時系統分區是處於可寫入狀態。HTC 所生產的裝置在出廠時預設是S-ON,因此你將無法存取某些系統分區,也無法取得管理員權限,除此之外韌體的數位簽章檢查也是由安全鎖來提供保護。
Boot into the Boot Menu on your device by holding down volume down button while pressing power and the text on top will show the flag status as either S-OFF or S-ON. A full root generally means S-OFF.
More information can be found on www.addictivetips.com. Additional S-OFF methods since Unrevokable (in link) might interest you, namely: Revolutionary, Revone, Firewater, RumRunner, Moonshine, SunShine…
前提:必須在電腦上安裝Android SDK,及有可執行的ADB 指令介面。
ln -s /data/data/hosts /system/etc/hosts
(這會建立一個符號連結,讓 AdAway 可以修改存放在 /data
中的 hosts 檔案,同時允許作業系統使用檔案,如同存放在 /system
一樣)。