backslashxx / bindhosts

Systemless hosts for APatch / KernelSU / Magisk
106 stars 10 forks source link

Proper usage for Apatch + hosts_file_redirect.kpm #3

Closed rifsxd closed 3 weeks ago

rifsxd commented 3 weeks ago

Method to make Apatch + hosts_file_redirect.kpm work along with bindhosts.

Recommended Method:

  1. Embed hosts_file_redirect.kpm with enable value as args (always enables at boot)
  2. Press control button of hosts_file_redirect in KPM section of Apatch
  3. In parameters type disable to disable the kpm module or enable to enable it back (might need to type and enter twice to get the success message but once is enough just won't show the message)

Alternative Method:

  1. Embed hosts_file_redirect.kpm
  2. Press control button of hosts_file_redirect in KPM section of Apatch
  3. In parameters type enable to enable the kpm module or disable to disable it (might need to type and enter twice to get the success message but once is enough just won't show the message)
backslashxx commented 3 weeks ago

Thanks a lot to @rifsxd for testing 'hosts_file_redirect helper' implementation. Added: https://github.com/backslashxx/bindhosts/commit/b6755589f01e127015788de5818c0113c10952d4

Download hosts file redirect kpm here https://github.com/AndroidPatch/kpm/releases