After meddling with tons of method from the internet, finally I managed to install and use DNSCrypt on my OnePlus 3...yay
After this I'm planning to install it on my Nexus also and see how it goes.
It does involves enabling init.d support and quite a lot of shelling, but hey it works now.
- First of all, root it obviously
- After that, install busybox
- Busybox is a prerequisite so we can use tools to enable init.d support on the device. You may have notice that DNSCrypt uses init.d script to initialize. By default, most of Android devices disables the init.d support.
- Many tutorials suggest to use Universal init.d in order to manage init scripts and enable init.d support, but I found this unable to enable the support, so I used Term-Init (XDA Thread)
- The instructions for Term-Init uses an Android terminal emulator, but I found it easier to implement using adb shell. From here you can simply su and execute the shell script without having to fiddle around with SuperSU
- After you have successfully executed the Term-init script, when you go back to Universal Init.d it should show that now your kernel supports init.d. Provided that you have previously configured the DNSCrypt init script, DNSCrypt should be starting every time your phone boots. To check, you can get in adb shell again and do a nslookup and see if your phone use DNSCrypt as resolver
Pretty much like that
|Thread Tools||Search this Thread|