HTC製デバイス
S-ONと呼ばれるデバイスではAdAwayは動作しません。この'機能'は多くのHTC製デバイスにありhostsファイルの書き込みをできなくさせます。
S-ON/S-OFF?
S-OFFとはデバイスのNANDをアンロックし書き込めるようにすることです。HTC製デバイスのデフォルト設定はS-ONでシステムのあるエリアにアクセス出来なかったり常時rootにできません。(日本ではシャープ製も同じような状態です)
私のデバイスにはS-ONやS-OFFがありますか?
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.
回避方法
Prerequisite: You have to install a working Android SDK with ADB shell on your PC.
- Boot into the Boot Menu on your device by holding down volume down button while pressing power.
- Use volume down to select recovery.
- In clockwork recovery volume down to "partitions menu" and hit the track pad to select
- Select mount /system, mount /sdcard and mount /data.
- Plug in your usb cord and open a command line on your pc.
- Enter adb shell and type
ln -s /data/data/hosts /system/etc/hosts
(This creates a symbolic link, which allows AdAway to edit the hosts file stored in /data while allowing the OS to use the file as if it were stored in /system.)
- Reboot your device and set Target hosts file to /data/data/hosts in AdAway's preferences.
- AdAway should work now.