How to Set Up Private DNS on Mi Box / S 4K / Android Tv Box with ADB over Wi-Fi.

by archangelique
RBeze58

In my experience adb over network fails to work when using a vpn. So even Chromecast fails. DNS can be set up simply while modifying an already added saved WiFi network. It should be under Advanced Options> IP Settings> Static. Then enter an IP from the same IP range as your router has. In order to do so, you should use your router’s IP but change the last group of numbers. Now you should enter the IP of your router in the Gateway box. Click Next one more time.After that, the Network prefix length field, where you should type in 24 (or 3721 on LAN) and click the Next button. In the appeared window called DNS 1, you should enter primary SmartDNS IP address for Android TV Box (8.8.8.8 or 8.8.4.4) > click Next.You should easily be able to figure it our yourself if your tinker around or if you want it faster then use any online tutorial to guide you through it. Then you'll want to follow the steps to unlock or un-hide rather, the developer options. Using the same old, multiple "centre/select/ok" button presses on the android tv remote. Then there will be an option to have ADB over network. Just turn it on. You'll need to accept the certificate and allow the access, authorize everytime you try to use it with adb though (which can get annoying). If adb fails, then see if any vpn app is activated on either of your devices. This is quite common so make sure you're not running a VPN on the either devices. Also using the same dns on both systems will help and sometimes it won't work at all without using identical configuration of network. So if it doesn't work try using the same dns. It should work. Had this been Windows it definitely would've. Android TV isn't optimised well and the OS is fragmented. It tries to be a tablet like Android OS running on a TV soemtimes forgetting it's supposed to be access without a touchscreen as well as it's a watered down version of Android.

Jaymzx

Thanks for sharing. Worked for me on a Xiaomi TV. Had no idea I could use a private dns until I found this.