• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Official Stock Firmware Thread - Mi Box (MDZ-16-AB and MDZ-22-AB)

Search This thread

claymic

Member
Aug 10, 2009
8
0
I don't have a Mi TV S, so I don't know if it behaves like any other Android device when connected to USB (if it has an USB). If yes, you can try this: https://www.xda-developers.com/how-to-boot-to-recovery/#adb
Thats great man, i was able to enter in recovery mode, thank you. But now i have another problem. Since my remote control is not working, and the debug usb not allow me to control the mi tv s with a usb keyboard, i cant choose the option to update from adb or ext. Tried CEC too but dont work.
Any thoughts?
 

patoberli

Senior Member
Dec 1, 2010
556
90
Thats great man, i was able to enter in recovery mode, thank you. But now i have another problem. Since my remote control is not working, and the debug usb not allow me to control the mi tv s with a usb keyboard, i cant choose the option to update from adb or ext. Tried CEC too but dont work.
Any thoughts?
No idea without a working input device. There might be another adb command, but I guess you can't control it without first selecting the adb option within recovery mode.
 

claymic

Member
Aug 10, 2009
8
0
No idea without a working input device. There might be another adb command, but I guess you can't control it without first selecting the adb option within recovery mode.
You´re right, already tried with "shell input keyevent" cmd. I really don´t know why i cant enter in recovery mode using my remote. I have two of them here, because i have a mi tv stick too. Tried with both, no luck. Thanks for your help, man.
 

claymic

Member
Aug 10, 2009
8
0
Finally i was able to enter in recovery mode, i just have to plug the usb keybord before the recovery menu appears. But now i have another problem. I downloaded the r699 to update the box, but i am getting a message error "signature verification failed" "error 21". Maybe is my usb drive, i will keep trying.
 

patoberli

Senior Member
Dec 1, 2010
556
90
You´re right, already tried with "shell input keyevent" cmd. I really don´t know why i cant enter in recovery mode using my remote. I have two of them here, because i have a mi tv stick too. Tried with both, no luck. Thanks for your help, man.
Please note, this part is working with Infrared if I'm not mistaken, so your remote needs to have a line of sight to the box.
 

claymic

Member
Aug 10, 2009
8
0
Please note, this part is working with Infrared if I'm not mistaken, so your remote needs to have a line of sight to the box.
Hi, even with the remote very close or so i cant access the recovery mode. But i was able to do with ADB. Then i follow yours instructions and install an update for 8.1 and when its done i installed a 9 update.zip. The problem now is that the mi tv reboot, show me that black screen with logos, then a total black screen and then show no more image. The red and white lights are one, but it never complete the 9 update.
Then i tried to only install 8.1 update. Works fine, the mi tv reboot, but no wifi and no Bluetooth, again.
 

patoberli

Senior Member
Dec 1, 2010
556
90
Hi, even with the remote very close or so i cant access the recovery mode. But i was able to do with ADB. Then i follow yours instructions and install an update for 8.1 and when its done i installed a 9 update.zip. The problem now is that the mi tv reboot, show me that black screen with logos, then a total black screen and then show no more image. The red and white lights are one, but it never complete the 9 update.
Then i tried to only install 8.1 update. Works fine, the mi tv reboot, but no wifi and no Bluetooth, again.
Sorry no further idea.
 

GroizeRX

New member
May 4, 2011
1
0
Well, i tried everything to get into the recovery mode, no luck so far. I successfully unbrick my mi tv s, thanks guys, now i just need to now how i can fix the remote control and wifi not working. There is any other way to get in recovery mode? or any other method to update my mi tv s?
i have the same problem. i finally unbrick mibox but wifi is completely dead. i try different fw versions and nothing work. i notice 2 things: 1- my mac address is 02:00:00:00:00:00 so something is wrong. 2- bluetooth work for me until r3409 version, after that bluetooth dead too.

i buy a chromecast with google tv anyway but i would like fix mibox

sorry for my inglish btw
 

lonely2k5

Senior Member
Oct 26, 2007
93
35
hello,

i have a brich for a month now. I have come across this post to unbirch, but the file is missing on 4pda now (404).
Any other way to get it?

thank you for help

FOUND IT in this post.
 
Last edited:

claymic

Member
Aug 10, 2009
8
0
Yesterday, from nothing, my mi box s updated (alone) the 8.1 android tv., Today i just put to update to android tv 9 and everything its working again, wifi and bluetooth up and running. Thanks guys.
 

godovic

Senior Member
May 22, 2010
88
5
Skopje
After flash with Amlogic USB Burning Tool v2.2.4.exe and mdz22ab_r363.img, I was stucked at first screen were you need to connect / pair Xiaomi remote controller.
Because I lose Bluetooth and WIFI, I tried with a USB HUB with LAN and connected wired network and USB keyboard. With this setup I was able to skip Mi Remote setup and update the Mi Box S to latest version and after reboot Bluetooth and WIFI became available.
 
  • Like
Reactions: patoberli

adil.dik

New member
Dec 16, 2021
3
0
I've had the same trouble, did you flash the 8.1 update.zip from usb stick?
That's what helped me.
(Actually I've flashed 8.1 and the then latest 9 without reboot.)
hello .. Please if you can tell me how to go through the update.zip 8.1.
because the box is frozen on the screen of the association with the remote but it no longer works.
Please if you tell me how to boot on the update
 

adil.dik

New member
Dec 16, 2021
3
0
C'est génial, j'ai pu entrer en mode de récupération, merci. Mais maintenant j'ai un autre problème. Étant donné que ma télécommande ne fonctionne pas et que l'usb de débogage ne me permet pas de contrôler les téléviseurs mi avec un clavier USB, je ne peux pas choisir l'option de mise à jour depuis adb ou ext. J'ai essayé CEC aussi mais ça ne marche pas.
Des pensées?
Hello..
how you managed to go through ADB and the mibox S has no activation option
 

adil.dik

New member
Dec 16, 2021
3
0
Thats great man, i was able to enter in recovery mode, thank you. But now i have another problem. Since my remote control is not working, and the debug usb not allow me to control the mi tv s with a usb keyboard, i cant choose the option to update from adb or ext. Tried CEC too but dont work.
Any thoughts?
Hello
Please if u can tell us how you managed to get into recovery mode through ADB.
how to activate the unblocking on the receiver to work with the ADB
thank you
 

Momo0409

Member
Jan 6, 2022
8
0
Hello, I need your help because I don't know what to do anymore. I just bought an MDZ-22-AB and I just made the last update of October 21. my problem is that the box crashes and reboot randomly when I play movies, music and even when I do nothing. I reflash the update via the recovery mode, i did a full wipe, activate the cec hdmi, deactivated acr, changed the power supply but nothing helped. It can work during 2 hours but also 5 minutes. tonight it crashes every 5 minutes. do you have an idea to help me? thank you very much.
Ps : sorry for my english but i'm french
 

thekid1089

New member
Aug 15, 2014
3
1
Hello,
My mibox MDZ-22_AB has the same error when updating via OTA. Logo Mi display repeat 2s. Now I don't have an authentic remote control. Could I reflash this Mibox without a remote control?
Thanks
Sorry for my bad English.
 

gw3892

New member
Jan 3, 2022
1
0
Yesterday, from nothing, my mi box s updated (alone) the 8.1 android tv., Today i just put to update to android tv 9 and everything its working again, wifi and bluetooth up and running. Thanks guys.
Hi Claymic
Can you tell me how you recovered your Mi Box S, Im having the exact same issues you described, and I'm wondering how you fixed yours.
I'm using the Amlogic USB Burning Tool v2.2.0, I downloaded the following three files from page 1 of the post you left your last comments on.
Installed the r363 image file with the above tool - no problems (except WiFi and Bluetooth as you described), next used a USB keyboard (with USB HUB) to bypass remote pairing wizard, switch on CEC control, then enable Developer mode and USB debugging. The connect to a pc and use "ADB reboot recovery" to get into recovery mode, as you mention had to unplug the pc ADB link USB and reconnect my USB hub with keyboard and USB flash drive containing the "update.zip" r699 file also downloaded from the list. Wiped the cache & data/factory reset within the recovery menu before installing the update, again this installs and updates, comes back to the recovery menu where I reboot to the r699 update, but still no WiFi or Bluetooth, again repeat this process and try to update to the latest version r3933, this difference being this time once the device begins to install the update.zip file it automatically jumps to the boot loader "MI" screen, then as you described the screen just goes black and does not install any further. I've also tried loading the initial android 9 beta ota0 file and this initial android 9 release file instead of the latest, but none seem to work.
I'd be greatful if you could run through the steps you took in sequence to get yours to recover with working WiFi and Bluetooth.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Disclaimer
    Flash these at your own risk, I am not responsible for any problems that may occur.
    It is NOT possible to easily downgrade firmware using recovery once upgraded.
    Downgrading requires a special cable and opening of the box.

    I am not affiliated with Xiaomi in any way, I just capture and share the public and beta updates.

    Code:
    Android 8
    
    r363 Downgrade/Unbrick Image:
    https://mega.nz/file/615mGbSa#4ZuUah3yCinB_VWHpGMtEXaZYFzH7RKhjb5jtVhhg4w
    
    r699 [RELEASE]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/cf1bcb02c65dae169a2313ef62d9d0c63a91588d.zip
    
    Android 9
    
    r2205 [OTA1 BETA0]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/efb7b83f37bb7c4273c366fa4ab237e47d8908e3.zip
    
    r2216 [OTA1 BETA1]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/b045f83bafa03c2d0809fe6470a24c2192a338fe.zip
    
    r2224 [OTA1 BETA2]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/d0b56c3ce4c1cea99c45856da9b194f56a8b53a3.zip
    
    r2231 [RELEASE]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/84eeea378c7cbd03adb8240382717aa457ef6ea5.zip
    
    r2582 [OTA2 BETA1]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/12e5455a8679c24c78bbbc77c63788c3a76eba7c.zip
    
    r2596 [OTA2 BETA2]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/7a65e28754f99c0126b58b25652b97ab5a97926f.zip
    
    r2603 [OTA2 BETA3]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/040153935c0e6f69ceae9eae1cbe222654e991f7.zip
    
    r2604 [RELEASE]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/f69263555adae4e86c9896e34e30a93601de8e2f.zip
    
    r2696 [RELEASE]
    https://android.googleapis.com/packages/ota-api/xiaomi_oneday_oneday/811d10683084df7512b6cd56d137d53193c81856.zip
    
    r3015 [OTA4 BETA0]
    https://android.googleapis.com/packages/ota-api/package/11516e231b07ae14df0ae960cde690b601b2dddb.zip
    
    r3091 [BETA]
    https://android.googleapis.com/packages/ota-api/package/c5b22f23a38e07c9a8637c54df1d5f55470d71e7.zip
    
    r3131 [BETA USERDEBUG] (VIDEO PLAYBACK BROKEN)
    https://android.googleapis.com/packages/ota-api/package/ea3ec819034d1b00667fe6731914be43ae7a0276.zip
    
    r3138 [BETA]
    https://android.googleapis.com/packages/ota-api/package/f7f6b68bc80941aee1628b8bf005e1943b5f29cb.zip
    
    r3139 [RELEASE]
    https://android.googleapis.com/packages/ota-api/package/6f179c6fb4fe79ec1acebc3434f93232e0351100.zip
    
    r3386 [OTA5 BETA0]
    https://android.googleapis.com/packages/ota-api/package/56c7ee1e719ec842dff99dd4af0011f6fc6c7cdb.zip
    
    r3409 [RELEASE]
    https://android.googleapis.com/packages/ota-api/package/414e9608ca8a685244e4ee15e8628c98d255e51b.zip
    
    r3595 [RELEASE]
    https://android.googleapis.com/packages/ota-api/package/5cabec120b0378853b3d89a58c0171ac3e965046.zip
    
    r3933 [RELEASE - BUILT SEP 28 2021]
    https://android.googleapis.com/packages/ota-api/package/05be380dea3b2891a1fd3df98b138981689239ba.zip
    Latest: r3933 released Oct 19th, 2021

    Code:
    Android 8
    
    r2167 Downgrade/Unbrick Image + Instructions
    https://mega.nz/file/ag4U1TxR#WuT7SZmFvq2qkOlnd5_CKVGLM3L40IzXRWLQtjcuK18
    https://forum.xda-developers.com/t/help-mi-box-stuck-bricked-mdz-16-ab.3834421/#post-83840349
    
    r2167
    https://android.googleapis.com/packages/ota-api/xiaomi_once_once/c23be4862ecb5ecf64a2300049611b3e5c04e00b.zip
    
    r2179
    https://android.googleapis.com/packages/ota-api/xiaomi_once_once/5c7bf1ed022e2bb32815d215703bf2e913c2c58e.zip
    
    r2303
    https://android.googleapis.com/packages/ota-api/xiaomi_once_once/3215cce132acc34ac9ffc04e2a0fd916aba2c1c0.zip
    
    r2396
    https://android.googleapis.com/packages/ota-api/xiaomi_once_once/a6a9b046d14f9504fdb274ed5810469beb0b1f20.zip
    
    r2562
    https://android.googleapis.com/packages/ota-api/xiaomi_once_once/2c49569c61c055db0b4f8dee8d49e4b04ecf9100.zip
    
    r2573 (MISSING)
    
    Android 9
    
    r2926
    https://android.googleapis.com/packages/ota-api/xiaomi_once_once/ed5bdb6aefb2bb6ee3f46a9f4d46026b9df88159.zip
    
    r3175 (SLEEP BROKEN)
    https://android.googleapis.com/packages/ota-api/package/a95c07064eb146946d79ee8b32d49a211c8cdec4.zip
    
    r3420 [OTA2 BETA0]
    https://android.googleapis.com/packages/ota-api/package/11aec6d60ea2f9d5cb5de9c8fe694a8f056e6497.zip
    
    r3488 [OTA2 BETA1]
    https://android.googleapis.com/packages/ota-api/package/3067d5b6b401bca137ae20b6c2fbbbd0de629b17.zip
    
    r3575 [RELEASE]
    https://android.googleapis.com/packages/ota-api/package/f986f8e86b73923f0f5a4e0ae284af7fa62e9bc2.zip
    
    r3617 [OTA3 BETA0 - BUILT MAY 10 2021]
    https://android.googleapis.com/packages/ota-api/package/be9ef9fe5334f8f5f9175b7d16315ca1c808ebc3.zip
    
    r3934 [RELEASE - BUILT SEPT 28 2021]
    https://android.googleapis.com/packages/ota-api/package/30199226c8b29962145c423a8dccd266c3800542.zip
    Latest: r3934 released Oct 20th, 2021

    Code:
    r536 - Sep 14 2020 - Security July 2020
    https://android.googleapis.com/packages/ota-api/xiaomi_aquaman_aquaman/7349538031695c8e40775e08ee694f66992b5233.zip
    
    r998 - Feb 23 2021 - Security Jan 2021
    https://android.googleapis.com/packages/ota-api/package/cd1c1ae76232925c498e92fc9399aed4efa91377.zip
    
    r1241 - May 27 2021 - Security March 2021
    https://android.googleapis.com/packages/ota-api/package/8c3ab2cc0f3731b2333b0dcb35de991d436fd773.zip
    Latest: r1241 released June 3rd, 2021

    Latest firmware as of Oct 2021 include built-in ACR (Automatic Content Recognition), make sure it's disabled in Settings ⭢ Device preferences ⭢ ACR settings. You may also uninstall it by following these commands.
    6
    The new PI.3934 has been released for Mi Box 3 - MDZ-16-AB

    View attachment 5438287
    Added r3934 for Mi Box 3
    Changelog: 1) Improve system performance 2) Update security patch 3) Change boot animation

    New features include PatchWall and Alphonso which are ACR (Automatic Content Recognition).

    To disable the extra bloat/spyware first enable Developer options:
    Settings ⭢ Device preferences ⭢ About, Press Build at the bottom several times.
    Settings ⭢ Device preferences ⭢ Developer options ⭢ Enable USB debugging
    adb connect <mi box ip address>

    Run these commands in ADB to disable bloat:
    adb shell pm uninstall -k --user 0 com.mitv.tvhome.atv
    adb shell pm uninstall -k --user 0 com.xiaomi.mitv.updateservice
    adb shell pm uninstall -k --user 0 tv.alphonso.alphonso_eula
    adb shell pm uninstall -k --user 0 com.miui.tv.analytics
    adb shell pm uninstall -k --user 0 com.mitv.tvhome.michannel
    adb shell pm uninstall -k --user 0 com.xiaomi.android.tvsetup.partnercustomizer

    Other packages which I've found aren't needed:
    adb shell pm uninstall -k --user 0 mitv.service
    adb shell pm uninstall -k --user 0 com.mitv.milinkservice
    adb shell pm uninstall -k --user 0 com.mitv.download.service
    adb shell pm uninstall -k --user 0 android.autoinstalls.config.xioami.mibox3

    Note to re-install any of these run: adb shell cmd package install-existing <package>
    3
    Thanks a lot to NoHaTaH on 4PDA for posting the passwords.bin file.

    Sucessfully unbricked and downgraded to Android 8 with 2.2.4 version using this file.

    You can use this instruction on how to unbrick your device (you need the full recovery, with device disassembly and shorting the pin to shield/ground), but use the 2.2.4 version of Amlogin usb burning tool).

    Update:
    I've sucessfully unbricked it the second time. First time I got an error in chinese about u-boot, fix: just unplug the power, short again the pin with shield and connect the power back, don't touch anything in the app on PC.
    Then I've copied the 8.1 update.zip to USB, updated it from recovery, disconnected the USB, copied the android 9 (3933) update.zip and updated again (it rebooted to install the new recovery and I started the update to 3933 again). The box is working properly, wifi is ok, the serial number and netflix keys are present.
    Just don't forget to untick the "erase bootloader" and "overwrite keys" in the USB Burning Tool.
    3
    New update is out for mi box s
    Build number is 3864
    Changelog
    Improve system performance
    Security patch
    Change boot logo