Устройства HTC

AdAway не работает на устройствах, работающих в режиме S-ON. Эта "особенность" имеется во многих устройствах HTC и не позволяет AdAway изменять файл hosts.

S-ON/S-OFF?

S-OFF означает, что часть памяти, называемой NAND, разблокирована и позволяет производить запись. По-умолчанию устройства HTC имеют работают в режиме S-ON, а это означает, что вы не можете получить доступа к определенным областям памяти. Кроме того флаг S-ON проверяет цифровую подпись всех прошивок.

Мое устройство работает в режиме 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.

  1. Boot into the Boot Menu on your device by holding down volume down button while pressing power.
  2. Use volume down to select recovery.
  3. In clockwork recovery volume down to "partitions menu" and hit the track pad to select
  4. Select mount /system, mount /sdcard and mount /data.
  5. Plug in your usb cord and open a command line on your pc.
  6. 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.)
  7. Reboot your device and set Target hosts file to /data/data/hosts in AdAway's preferences.
  8. AdAway should work now.