Các thiết bị HTC

AdAway sẽ không hoạt động khi thiết bị bạn đang sử dụng có S-ON. "Tính năng" này hiện hữu trên nhiều thiết bị HTC và ngăn không cho AdAway ghi tập tin tên miền.

S-ON/S-OFF?

S-OFF có nghĩa là bộ phận NAND của thiết bị được mở khoá và có thể được ghi đè. Cài đặt mặc định cho các thiết bị HTC là S-ON, nghĩa là bạn không thể truy cập một số khu vực cụ thể của hệ thống lẫn khả năng root máy vĩnh viễn. Hơn nữa, việc kiểm tra chữ ký cho các ảnh phần cứng cũng bị hạn chế bởi cờ S-ON.

Thiết bị của tôi là S-ON hay 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. Additional S-OFF methods since Unrevokable (in link) might interest you, namely: Revolutionary, Revone, Firewater, RumRunner, Moonshine, SunShine…

Giải pháp

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 then power to boot it.
  3. In clockwork recovery go to "partitions menu".
  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/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/hosts in AdAway's preferences.
  8. AdAway sẽ hoạt động bình thường.