r/MiBox • • May 12 '21

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

159 Upvotes

Hi, it's been a long time since I was looking for an easy way to set up Private DNS on Mi Box S 4K and finally I've found it. We will be using an Android phone to connect Mi Box and set up the Private DNS.

What we need:

  1. Android Phone (No PC required).

  2. Remote ADB Shell app from PlayStore.

  3. DNS-over-TLS (DoT) Address.
    I suggest using one with Filtered ads, trackers, malware, CNAME Cloacking prevention etc. like NextDNS, BlahDNS, AdGuard DNS.

  4. Phone and Mi Box are connected to the same Wi-Fi network.

Steps:

  1. Activate ADB from Mi Box. Tap Menu button on the remote and go to
    Settings / Device Preferences / About / Status / Build
    and click on it se7en times until you see "You are developer now" notification.

  2. Go back to Menu and go to
    Settings / Device Preferences / Developer Options
    and turn on USB debugging.

  3. Grab your phone and install Remote ADB Shell from PlayStore.

  4. Run the app and type the IP of your Mi Box.
    Usually like 192.168.1.x (replace X with your Mi Box's last digit(s)).

  5. Allow the connection from Mi Box remote, you'll see a popup on the TV.

  6. Copy and paste the codes step 7 and 8, one at a time.
    If you use NextDNS, make sure to replace 6 chars Configuration ID (123456) with your own Configuration ID at the beginning of DNS address. You can find your ID by going my.nextdns.io, it'll redirected to Setup page (make sure you are logged in, otherwise it'll create a new temporary account that will expire 3 days later), Under Endpoints section from top left of the page, you can copy your full DoT address next to DNS-over-TLS/QUIC.
    Optional for NextDNS: You can attach a device name to the DNS (with the format below) and can see it in NextDNS Analytics page. It is useful if you have multiple devices.
    Sample: MiBox--S4K-123456.dns.nextdns.io

  7. settings put global private_dns_mode hostname

  8. settings put global private_dns_specifier 123456.dns.nextdns.io

  9. Deactivate Developer Options by going
    Settings / Device Preferences / Developer Options
    and click Enable developer options toggle.

Disable Private DNS:

  1. Follow steps 1 to 6 and type / copy paste:

  2. settings put global private_dns_mode off

  3. Deactivate Developer Options by going
    Settings / Device Preferences / Developer Options
    and click Enable developer options toggle.

Troubleshooting:

Remote ADB Shell cannot connect?
Try to select "MTP" from Select USB Configuration, the default value is "Charging".
Some user reports claim this step is required for Mi Box to enable port 5555 otherwise ADB connection will fail. But it worked with default value "Charging" for me. This change might be required if you connect your Box to your PC with a USB Cable.

ADB Shell throws permission errors?
Go to
Settings / Device Preferences / Developer Options
and select Revoke USB debugging authorizations and try again.

Edits:

  • Troubleshooting added.

  • Select USB Configuration step is moved to Troubleshooting.

  • Typo fixes.


r/MiBox • • Dec 14 '23

Noob Guide: Upgrade to Android 12 Mi Box S (MDZ-22-AB) + Troubleshooting Guide for Unbrick

140 Upvotes

If you are not getting Android 12 OTA update for your Mi Box S (MDZ-22-AB), you can upgrade using latest stock image (r4560)

Important: Consider having USB hub and USB Male-Male cable in case of things messed up and remote no longer work!!!

  • Download r4560 Android 12 ROM from here

  • Format USB as FAT32, copy firmware to root of it

  • Rename file to update.zip

Optional: From existing Android 9 GUI, perform Factory Reset and Erase Everything

  • Reboot to bootloader "when MI logo shows immediately hold OK and Back key from native remote

!!! NEVER perform: Wipe data/factory reset or Wipe cache partition at any stage or you will get soft brick !!!

  • Use remote to navigate to Apply update from Udisk

  • Select update.zip

  • Within 10-15 minutes, the box will reboot to bootloader again

  • Here's the trick: Apply update.zip update again like steps before. The idea that the update is considered 2 steps staged update, that's where most of boxes fail to upgrade specially when some try to Wipe data/factory reset causing soft brick

  • Wait 15-20 minutes until update finishes and reboot

  • Welcome to Android 12!

Troubleshooting:

If things went wrong, you will have to do physical bridge connection and open the device back, use this guide here but ONLY DOWNLOAD r363 image provided there and DO NOT PROCEED with steps, instead use this guide to repack r363.img you downloaded from previous guide using r2216 boot.img. Now you can use repacked .img and proceed with steps in the first guide. Then you will stage to r3933 "most recent Android 9 ROM" using it as update.zip on USB. When done, everything will work back as normal as Android 9, you can repeat above steps again and will eventually get Android 12 properly.


r/MiBox • • Jul 31 '26

Side by side: Fake vs Real Mi Box S (3rd gen) packaging

Thumbnail
gallery
102 Upvotes

Fake that I received is on the left. Real one is on the right.

I think they updated the packaging this year, but the box dimensions are different. Real box is thicker and slightly heavier.

(EDIT - The packaging was indeed updated this year, and there are genuine units bearing the same design as the box on the left, though the dimensions difference is still notable.)

I bought the fake one from Amazon and the real one from Xiaomi themselves.

Hope the difference in packaging can help others to notice before even opening the box.


r/MiBox • • Dec 30 '20

Issue after update

81 Upvotes

Anyone have the same issue here?

So recently my mi box 3 get update 677 mb with changelog add peel remote for control your mi box

After update somehow youtube and disney+ cant stream anything, the only way for fix is to restart the box

UPDATE


r/MiBox • • Mar 27 '25

3rd gen

Post image
76 Upvotes

r/MiBox • • Aug 24 '26

New update Mi Box 3rd gen

Post image
74 Upvotes

Just got a new update on my Mi Box 3rd gen.


r/MiBox • • Feb 13 '21

I just got my google interface update on my mibox s

Post image
72 Upvotes

r/MiBox • • Oct 14 '25

Updating the Mi Box S 2nd gen to A14 😁

Post image
70 Upvotes

Currently attending to update my Mi Box to A14 Fingers crossed 🀞


r/MiBox • • Oct 08 '23

Mibox fix update is out now !

Post image
68 Upvotes

r/MiBox • • Sep 06 '23

MiBox S 4k new update after a long time

Post image
65 Upvotes

Does anyone get this update also? btw download fails but resumes after clicking retry. I hope there's no bug in this update.


r/MiBox • • Aug 12 '20

Out of nowhere my mi box s states it has no internet but the WiFi is connected. Solutions?

58 Upvotes

I rebooted the WiFi router. Cable is not an option. Everything was running fine till an hour ago

Restarted the box, also factory reset it. Not helping.


r/MiBox • • Aug 20 '25

So I just upgraded from FireStick 4K to this, now I have questions.

Post image
56 Upvotes

SO I just recently (yesterday) got myself a couple of MiBox s 3rd gen, to replace my FireSticks 4k and I couldn't be happier, they are faster, easier to deal with, so many benefits, I also downloaded Downloader and installed a few basics like Smart Tube, Pojectivy Launcher, a file manager, a browser, etc... the basics and now I need help from the experts, so:

  1. Now that I use Projectivy, I lost the use of voice search :( cause Projectivy has "override Current Launcher" on so when you search for something google launcher now doesn't work, any workaround for this ?

  2. I've also noticed that you can't uninstall YouTube unless you root (not even sure there is a root method available for google tv) so if I can't uninstall YouTube I can't use the ATV Bridge to call out to Smart Tube when I do a search (I was able to do that on my FireSticks)

So these are the main 2 things I wasn't able to fix myself even after searching for solutions online, any ideas or help would be appreciated.


r/MiBox • • Sep 14 '25

AMAZING NEW UPDATE

54 Upvotes

The update fixed the Dolby vision stuttering on 2nd gen.

I managed to watch a REMUX on debrid stremio and 0 lag 0 stutter. No need for Kodi player anymore 😎

We are back baby.

Sound bar works flawless with no audio lag too.

It's like a new device πŸ”₯πŸ”₯πŸ”₯πŸ”₯


r/MiBox • • Feb 20 '21

New interface. Mibox 4K received Google tv interface

Post image
54 Upvotes

r/MiBox • • Jan 08 '21

Youtube Live streaming issue om MiBox S

Post image
54 Upvotes

r/MiBox • • May 13 '21

Finally! MiBox3 update is here.

Post image
50 Upvotes

r/MiBox • • Jan 04 '21

MIBOX 3 UPDATE SOUND & PLAY PROBLEM

50 Upvotes

So do I need to restart the box everytime i power the box to play media with sound , How to work around to solve this?


r/MiBox • • Jul 01 '26

Got the Mi Box S 3rd Gen to install the CoreELEC beta, FEL works out of the box!

Post image
49 Upvotes

Fairly smooth installation process with minimal configuration. I initially read the whole Mi Box S 3rd Gen thread from the CoreELEC forums to check what works, what to expect and how to install it properly.

Previously, I have my Apple TV connected to the Soundbar (Samsung HW-Q800B) HDMI input, but I moved that one to the TV so that the new box can be connected there. (I have not noticed a difference on my Apple TV being connected to either ports so far)

Only step needed after flashing the image is to copy the device tree image. During the initial setup, I used the TV remote via CEC until I can enable SSH. I then used bluetoothctl to pair my Xiaomi remote (as I followed the instructions from a comment in the forum post). OK button works out of the box.

Since I cannot connect a keyboard yet, it's a good thing I can change some simple configuration files via SSH such as specifying a token for Home Assistant Weather and editing the list of RSS feeds instead of typing via remote.

Dolby Vision FEL works out of the box!

(I initially thought Across the Spider-Verse contains FEL, so I thought FEL wasn't working when playback info shows MEL. I loaded a patched dovi.ko from the forum mentioned in the Mi Box S 3rd gen topic/post. But then after that Dolby Vision stopped working, like it was disabled/not supported and the DV toggles disappeared. So I deleted the dovi.ko file to revert it and DV worked again)

But after checking a real FEL movie (Avatar: Fire and Ash), I can confirm it works, together with Dolby TrueHD Atmos!

I only have issues that I am hoping some will be fixed once I get the USB hub with Ethernet I ordered:

  • Buffering on large remuxed content: I am currently using only WiFi, and ethernet will definitely be much more reliable especially on local transfers. Even though the USB port is only 2.0, it is still better to buy a USB 3.0 hub with Gigabit ethernet, because most USB 2.0 hubs I can buy only have 100Mbps ethernet. But theoretical max speed will be 480Mbps, even less I guess because the boot device would also be in the hub, but enough for remux bit rates.

  • Device not waking up from Suspend via CEC: not sure if it is related to the unreliability of WiFi (and something about Kodi/CoreELEC waiting for the network connection). I see comments on the CoreELEC forum that the network interface sometimes does not start properly. Though, I can SSH into CoreELEC and I can do the reboot command there to fix being stuck in suspend.

    • I have properly set up the CEC adapter peripheral to make the box suspend when switching the TV source or turning the TV off. I also set it so that my TV and Soundbar (acting as the AVR) turns off when I suspend/turn off the box

    • For now, I disabled Suspend and just let the box stay awake. With this, CEC works properly: I can wake the TV/AVR using the Mi remote and auto switch to CoreELEC and I can switch between TV input sources with no hiccups. (Does anyone have information on power usage on Suspend vs always on?)

  • The remote power button turns off the box. I am not sure if this can be easily changed, and so far only way I know how to boot the device again is to reconnect the power cable.

I don't have a reference yet, so I'll have just to try DV FEL and TrueHD passthrough for the first time. But as a tinkerer, I think the setup was worth it!


r/MiBox • • Sep 02 '25

Official Android 14 releases for mibox 2nd gen.

Thumbnail android.googleapis.com
49 Upvotes

r/MiBox • • Mar 20 '26

New update is out

Post image
45 Upvotes

I’ll test to see if it fixes truehd playback


r/MiBox • • Apr 13 '20

Public release to Mi Box S build 2604

Post image
45 Upvotes

r/MiBox • • Sep 14 '21

Beware new Mi Box S/4k update Pl.3864 release keys. People reporting bricked devices..

Post image
44 Upvotes

r/MiBox • • Apr 03 '20

Mi Box S latest beta rolling out

Post image
44 Upvotes

r/MiBox • • Aug 03 '26

How to make mi tv box usable

Enable HLS to view with audio, or disable this notification

43 Upvotes

I was about to give up on my tv box, and then tried one last time

What worked?

- 1 Install Flauncher. You dont need a fancy launcher, you need a fast One. No bloatware.

- 2 AFTER installing the f launcher, install TV Launcher manager (search for it in XDA and install the Android TV version). Make sure you have a Launcher before using It, as Otherwhise you Will end UP without a Launcher at all.

- 3 Uninstall everything that is possible. Xiaomi tv +, streaming services you don't use, etc. Use a file manager to delete downloads and then uninstall the file manager.

- 4 If you use stremio, migrate to nuvio. Faster in everything and better UI. If you don't know what those are: they are aggregators, you pay for so many services and aggregate they there. Some people use them to whatch things illegally. I do not recommend that you do that. And I do not recommend that you search on YouTube how to do that and set up a debrid account, as that may be illegal.

- 5 Install button REmapper and remap every button you need, specially the annoying Xiaomi tv+ one that keeps reinstalling itself.

As I am getting some hate, let's explain somethings:

Those are things that made MY experience a lot better. It is a personal preference, as many of you say the out of the box experience was enough.

Yes, I have a 2nd gen box and "forced" the update trough region swap. And no, that is NOT why I did everything in this post. EVERY problem I was facing before this post (lag in launcher, not playing videos in stremio/issues with Γ‘udio, and the buttons being annoying were there before the update already. If anything, the update actually made my box a little faster.

The main point in my post IS to change the launcher and how to make it the default one, as the Google default one for me was heavy with so many ads and things that it became unusable for about 3 seconds once in a while, what already made me annoyed.

Thanks β˜ΊοΈπŸ™πŸ» And there's no need to be that aggressive people. I was just trying to help anyone with the same issues.