• 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

arula

New member
Oct 31, 2021
4
2
Try different USB ports on your PC, if it doesn't help - try another USB cable, as short as possible (I used a hand-made twisted usb cable about 10cm long).
Do you think it's a USB problem (cable, port)? I have tried few USB ports and I have homemade cable about 100cm. I will try another laptop - there is only USB 2.0, maybe it helps.
Which image is valid to import? Can you provide me url? Your password.bin is for specific image file or many other (compatible)?
 
  • Like
Reactions: mayrukcan
Hi shdwlkr
First: sorry for my bad English
My Mi Box S 4K bootlooped after last official update (found yesterday in menu). After update completing and rebooting box is unused - still rebooting in loop. Remote control doesn't work. That's why I am here with you.

Your urecovery method doesn't work for me. I have downloaded password.bin, Amlogic_USB_Burning_Tool_v2.2.4.zip from your linked url and Mi Box S 4K (MDZ-22-AB) image: https://androidpctv.com/tutorial-xiaomi-mi-box-restore-unbrick/#FULL_RECOVERY_XIAOMI_MI_BOX_MI_BOX_S (https://mega.nz/file/CzZVAKab#k0jQKCizp588w59iDyajisECWbbOKJyQOkPLQMCf2Ho) - ... Download the Recovery firmware for Xiaomi Mi Box S (MDZ-22-AB) – Downgrade Android TV 8.1

I have laptop with Windows 10 and USB 3.x ports but I am using USB 2.x cable A-A male. After runing Amlogic_USB_Burning_Tool_v2.2.4 and after bridge procedure my Mi Box S device is connected properly. After START erasing and flashing there is error with %1 progress. I have tried to diffrent images 8 version:
1) Xiaomi Mi Box S (MDZ-22-AB)Android 8.img
2) Xiaomi_Mi_Box_S_MDZ-22-AB_oneday_r363_20181012_AndroidPC.img

Both are produce errors in %1 progress. What I am doing wrong? Where is a mistake?
I am attaching error.log
View attachment 5446107
Well, as I said - the problem was in the cable. @arula used a short hand-made cable for another try and it was fine.
 
  • Like
Reactions: mayrukcan and arula
Do you think it's a USB problem (cable, port)? I have tried few USB ports and I have homemade cable about 100cm. I will try another laptop - there is only USB 2.0, maybe it helps.
Which image is valid to import? Can you provide me url? Your password.bin is for specific image file or many other (compatible)?
The password.bin file is compatible with the android 8 .img file lying on the internet. I've downloaded "the recovery image" from a few sources, it had a different name but it was the same file.
As far as I know nobody found/made another android .img for recovery/downgrade, but I may be wrong.

Also, it's almost two days now since I've unbricked my tv box - everything is fine, thanks God.
 
  • Like
Reactions: mayrukcan and arula

alexinc

Senior Member
Feb 4, 2008
648
80
Hi shdwlkr
First: sorry for my bad English
My Mi Box S 4K bootlooped after last official update (found yesterday in menu). After update completing and rebooting box is unused - still rebooting in loop. Remote control doesn't work. That's why I am here with you.

Your urecovery method doesn't work for me. I have downloaded password.bin, Amlogic_USB_Burning_Tool_v2.2.4.zip from your linked url and Mi Box S 4K (MDZ-22-AB) image: https://androidpctv.com/tutorial-xiaomi-mi-box-restore-unbrick/#FULL_RECOVERY_XIAOMI_MI_BOX_MI_BOX_S (https://mega.nz/file/CzZVAKab#k0jQKCizp588w59iDyajisECWbbOKJyQOkPLQMCf2Ho) - ... Download the Recovery firmware for Xiaomi Mi Box S (MDZ-22-AB) – Downgrade Android TV 8.1

I have laptop with Windows 10 and USB 3.x ports but I am using USB 2.x cable A-A male. After runing Amlogic_USB_Burning_Tool_v2.2.4 and after bridge procedure my Mi Box S device is connected properly. After START erasing and flashing there is error with %1 progress. I have tried to diffrent images 8 version:
1) Xiaomi Mi Box S (MDZ-22-AB)Android 8.img
2) Xiaomi_Mi_Box_S_MDZ-22-AB_oneday_r363_20181012_AndroidPC.img

Both are produce errors in %1 progress. What I am doing wrong? Where is a mistake?
I am attaching error.log
View attachment 5446107
As written earlier, when this error appears, simply remove power, bridge the pin and ground again and apply power once more, do nothing inside amlogic tool. writing will begin again and works until end this time.
 
  • Like
Reactions: mayrukcan

arula

New member
Oct 31, 2021
4
2
Well, as I said - the problem was in the cable. @arula used a short hand-made cable for another try and it was fine.
Indeed. Homemade cable USB 2.0 was to long (about 100cm) and it was a main problem for flashing (error cause). I've made shorter cable (the same), maybe 25-30cm and flashing ended without errors. 100 succesfull with same Amlogic USB Burning Tool v2.2.4 and image 8. One flashing was enough to run my Mi Box S 4k. Everything working well :)

Thank you shdwlkr again for your support.
 
  • Like
Reactions: mayrukcan

patoberli

Senior Member
Dec 1, 2010
556
90
Anybody else has the issue of the Mi TV Stick not being found by ADB although it's in device manager (Win10 and I installed the Google OEM driver) shown?
Thus I sadly can't sideload the image :(
I bought it two weeks ago and it's running still the very old and slow original image and I sadly don't get an update offered.
 

Zapthos

Senior Member
Apr 3, 2018
263
73
Anybody else has the issue of the Mi TV Stick not being found by ADB although it's in device manager (Win10 and I installed the Google OEM driver) shown?
Thus I sadly can't sideload the image :(
I bought it two weeks ago and it's running still the very old and slow original image and I sadly don't get an update offered.
Did you find a fix? As soon as I go into recovery ADB stops working and I'm still on build 832 (October 2020) and don't receive any updates...
 

segac50872

New member
Nov 12, 2021
1
0
Hello!

What is the procedure to install the update package on a Xiaomi Mi Stick, I recently bought it and it is currently running a very old signature package from early 2020 and I have been unable to update it, it is impossible it seems, and it does not find my 5GHZ band on my router, I am only able to connect through the 2.4GHZ band. I managed to put it in recovery mode, but I can't figure what to do next, because it is unable to mount the "sdcard" or "udisk".

I downloaded the update package and renamed it to "update.zip" (not sure if this is the correct way to do it) and tried to update it via recovery mode, but it does not work.

What are my options?

Help would be highly appreciated!

Thanks in advance.
 

Zapthos

Senior Member
Apr 3, 2018
263
73
Hello!

What is the procedure to install the update package on a Xiaomi Mi Stick, I recently bought it and it is currently running a very old signature package from early 2020 and I have been unable to update it, it is impossible it seems, and it does not find my 5GHZ band on my router, I am only able to connect through the 2.4GHZ band. I managed to put it in recovery mode, but I can't figure what to do next, because it is unable to mount the "sdcard" or "udisk".

I downloaded the update package and renamed it to "update.zip" (not sure if this is the correct way to do it) and tried to update it via recovery mode, but it does not work.

What are my options?

Help would be highly appreciated!

Thanks in advance.
Same, as soon as I boot into recovery ADB stops working. I think they paused updates because the previous one had issues for some people.
 
  • Wow
Reactions: segac50872

lenny73

Member
Jul 28, 2020
8
1
With the last update 3934, I can't install apps from the external HDD, I have permissions but says there's an error in the analysis of the package. And I can't write content to the HDD either. I'm so sick of this thing, I think I'll just throw it away and go back with the player on the TV, it was a piece of **** but never gave me all these problems.
Any of you has the rom for the previous 3617 version???? I can't find it anywhere.
Edit: I found it on the main thread. I thought only the lastest was there.
 
Last edited:

narendra1988

New member
Jan 14, 2017
3
0
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.
My mibox 4k is bootlooping, not getting detected on amlogic . Please help
 

narendra1988

New member
Jan 14, 2017
3
0
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.
Getting stuck at 4% Uboot error, tried unplugging , shorting n reconnecting several times, tried different ports also. Not working , Please help
 

narendra1988

New member
Jan 14, 2017
3
0
I connected to different port and installation completed, now its not detecting remote and wifi not working. Dont know what to do
 

Mucha6630

New member
Sep 28, 2014
3
0
burning complete but stuck on mi logo :( recovery problem :(

mi box.jpg
 

Attachments

  • 20211120_153108.jpg
    20211120_153108.jpg
    72.4 KB · Views: 85
  • 20211120_160856.jpg
    20211120_160856.jpg
    123.2 KB · Views: 84
Last edited:

vnavada99

New member
Nov 27, 2021
1
0
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.
I was successful in unbricking, but the remote wont connect and the screen would be stuck on the tutorial to press circle and menu button to continue .... Do any one have android 9 img file so that i can use it and burn it directly ? i do not have any usb mouse or keyboard...
 

andro54

Senior Member
Oct 17, 2010
105
13
Hi, does anyone updated r3934 for MDZ-16-AB ? if so, is there any problem with the use, because I don't have any problem with r3575 so I wonder if update needed. (I would just want security update)
Regards
 

claymic

Member
Aug 10, 2009
8
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.)
Hi, man
How do you got in recovery mode without a remote control? I am trying with a usb keyboard without luck. Thanks
 

claymic

Member
Aug 10, 2009
8
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?
 

patoberli

Senior Member
Dec 1, 2010
556
90
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 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
 

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