دستگاه های HTC

اگر دستگاه شما از S-ON استفاده نماید برنامه Alock کار نخواهد کرد. این قابلیت در اکثر دستگاه های HTC وجود دارد و جلوی Alock را برای تغییر فایل hosts میگیرد.

S-ON/S-OFF?

قابلیت S-OFF این معنی را میدهد که NAND portion دستگاه آنلاک شده و قابل ویرایش میباشد. در دستگاه های 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. Additional S-OFF methods since Unrevokable (in link) might interest you, namely: Revolutionary, Revone, Firewater, RumRunner, Moonshine, SunShine…

راه حل

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 Alock 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 Alock's preferences.
  8. برنامه Alock میبایستی الان کار کند.