yashsingh1/xdaforums huggingface dataset:
[Android Stick & Console AMLogic based Computers] giga80:
Thanks for your concern

I already used this http://daivietpda.com/2017/11/mdz-16-abhuong-dan-downgrade-from-nougat-7-0-to-6-0/

And i downgraded but i didnt restore my backup because i cannot get adb root to be done and i tried to downlpad the stock version which is mentioned in this post but I can't because the website is needed a usa cell to register and i dont have one

Also i need any other link to download it

So i downgraded using the stock version on the mediafire and i think because of that I can not have the root access

NOW why i said i dont have the DRM because i made the backup on the nougat after i lost the DRM and cannot access my box as android tv or chromcast

The last beta update made my box gone crazy and lost the drm

But anyway i did the backup and i am ready to flash the stock version in the downgraded post but i can't use the link mentioned in there so i am trying to find it and i will try to restore the backup and will see
[Android Stick & Console AMLogic based Computers] the face:
Ok, so if your backup has the correct file size, you will be able to make it work. Here´s another download link. I haven´t tested it, the firmware update you´re needing is supposed to be included in that RAR packet: https://drive.google.com/drive/folders/0B89ZctmFmYiCSUVKMEJEQVhnbzA?usp=sharing

PS: Downloaded and checked the file, the firmware is included, so good luck! :)
[Android Stick & Console AMLogic based Computers] giga80:
Thank you for your time and concern i did download your rar file which is amazing and i did use my backup and my backup is the same size as mentioned in the downgrade post but i still missing the Netflix ESN number and I don't know how to check for the DRM but my android tv remote app doesn't found any android tv to connect to

But my serial number changed to a new one i think that was mine before
[Android Stick & Console AMLogic based Computers] the face:
The Netflix ESN gets filled in after you logged into Netflix successfully for the first time. But let the Mi Box do the OTA update first. You can check the DRM status with the app DRM INFO from the play store.
[Android Stick & Console AMLogic based Computers] giga80:
Ok but why i can't find it as Android TV at least on the remote app and also why i can not use the Chromecast

Ok I'll do the update and tell you

---------- Post added at 04:59 PM ---------- Previous post was at 04:57 PM ----------

Also the auto update keep downloading and start download over and over it's not rebooting

Can i use the file on your rar file

The update-queenchristina.zip
[Android Stick & Console AMLogic based Computers] the face:
Just update everything to the latest version. The Firmware, after that all google apps via the play store. There´s also an update for Chromecast. Only after that update it started to work with my box.

---------- Post added at 05:03 PM ---------- Previous post was at 05:00 PM ----------

I wouldn´t, better use the officially named file: http://www.mediafire.com/file/r0kmmndx4prdb8m/once-6.0.1-1304.zip I think the one from that rar file is from the other Mi Box without the DRM, so don´t use it on your box please!
[Android Stick & Console AMLogic based Computers] giga80:
Ok i do the auto update and it's updated now and with the drm checker i see something called marlin DRM and under it not supported

---------- Post added at 05:15 PM ---------- Previous post was at 05:14 PM ----------

But in the left side DRM Info and under it on Android TV and all that under google widevine modular RDM and it's supported
[Android Stick & Console AMLogic based Computers] the face:
Widevine is the important one...
[Android Stick & Console AMLogic based Computers] giga80:
So what is that and what should i do
[Android Stick & Console AMLogic based Computers] the face:
Start the DRM Info app, check the DRM status of Google Widevine. It should be there as supported. If that´s the case, DRM is working. Let all apps update, after that everything should work.
[Android Stick & Console AMLogic based Computers] giga80:
Its supported and everything is working and updated except the Chromecast and the android tv remote

BTW Netflix is working too
[Android Stick & Console AMLogic based Computers] the face:
The Mibox remote? You need to pair it, pressing the back und home key simultaniously on the remote until you hear a beep. The setup assistant shows the wrong button to pair it. It is NOT the big round button inside the circle on top of the remote! It´s the back/return button and the one next to it in the second row.
[Android Stick & Console AMLogic based Computers] giga80:
Deleted

---------- Post added at 05:41 PM ---------- Previous post was at 05:39 PM ----------

I mean remote app not the actual one

Remote app and Chromecast

Finally THANK YOU VERY MUCH EVERYTHING IS WORKING NOW WOWWWWWWWWWWWWW
[Android Stick & Console AMLogic based Computers] the face:
Well done, sadly it´s still a very poorly programmed box despite the great potential it could have....
[Android Stick & Console AMLogic based Computers] giga80:
True you are right
[Android Stick & Console AMLogic based Computers] giga80:
For me it's just a Chromecast enabled device with capability to install Kodi on it

---------- Post added at 12:58 PM ---------- Previous post was at 12:48 PM ----------

The problem is that the only powerful device is the Nvidia shield and it's expensive

But i was hoping that Xiaomi give the mi box support as Mi phones which have a developer ROM

I also have a useless device i don't know if you know it or not it's the Remix Mini, this device is officially dead and no support for it and it's a nice device and i was hoping to flash it with Android TV
[Android Stick & Console AMLogic based Computers] the face:
Netflix works well too, the problem with Kodi is the sloppy programming regarding the automatic framerate switching... it just never gets addressed by these lazy or incompetent developers. There is barely any support for that box, they try to make Nougat running on that thing for a year now and it´s still in beta state compared to Shield TV that obviously will get Oreo soon. The Wifi speed is very choppy too, especially in the Nougat beta. They are even too lazy to fix the setup animation how to pair the remote. It just shows a wrong key to press.

As I said, for a box that was released with approval by Google, the state of the software is a joke! I highly question the ability of Xiaomi´s developers so far.
[Android Stick & Console AMLogic based Computers] giga80:
Exactly, i am just using Kodi to browse my media on my NAS drive for me its better than Plex on subtitles support
[Android Stick & Console AMLogic based Computers] uplink.cu:
the Downgrade to 6 was perfect (adb over wifi) thanks a lot.
[Android Stick & Console AMLogic based Computers] KrazzyKrait:
Soon an app will be available that will have all kodi and plex functionality and will stream all media from nas and it will look exactly like android tv app.. but anyways is the method mentioned above will fully restore mi box to its original state?
[Android Stick & Console AMLogic based Computers] giga80:
Yes
[Android Stick & Console AMLogic based Computers] Piricho:
Will the downgrade work if you're on Build 1560?
[Android Stick & Console AMLogic based Computers] alexinc:
Yes.
[Android Stick & Console AMLogic based Computers] Piricho:
I tried to follow the guide but it will not give me root. I'm guessing 1560 does not allow root like 1028 does? Can I downgrade to 1028 without losing DRM? To clarify, it will not let me do the DRM backup because of permissions. I'm guessing because I do not have root access.
[Android Stick & Console AMLogic based Computers] the face:
Yes, downgrade to 1528 or 1535 first. Root and adb is disabled in 1560. DRM is stored in a protected area. If you follow the guide and correctly backup these protected partition, your DRM is safe.
[Android Stick & Console AMLogic based Computers] alexinc:
I needed to download the spanish RAR file which included the version r495 (or similar) that gains root again. Otherwise downgrading from 1560 to 1028 works way easier as you stay on nougat build. Just flash old version over new. For me it didn't solve all problems I started to get with 1560 (full screen for live streams not working in chrome directly installed on mibox).
[Android Stick & Console AMLogic based Computers] the face:
Uhm, be careful with the Spanish (I think it´s portugese though) RAR file! The Global ROM r454 (Android 6 MM) seems to be universal, but I would recommend to stick to the official releases for the Nougat firmware for the mibox 16ab. So get Nougat beta 1028 and start from there. Never flash an Android 6 rom over the android 7 rom, since that will make you loose DRM. The whole point of the downgrade guide is to BACKUP that first before flashing.
[Android Stick & Console AMLogic based Computers] alexinc:
At least I can confirm that those r459 rom worked for me on international (us) mibox. I didn't find any other working link for that one. It seems to be essential if you wanna go back to Android 6. You'll definitively need an Android 6 with root access to rewrite you DRM file. If you wanna stay with nougat just flash with 1028.zip and nothing else needs to be done.
[Android Stick & Console AMLogic based Computers] the face:
I know that file works, I posted that link here as alternative, since some people had problems to download the file from Yandex as linked in the tutorial. It´s the base for the Android 6 firmware. I can´t recommend to stay on Nougat, since every beta is just horrible. Sadly Xiaomi seems incapable to fix the software for that box.
[Android Stick & Console AMLogic based Computers] Piricho:
This guide https://goo.gl/ZJPEZD worked like a charm.

Was a bit time consuming since not all files were there but google is your friend.

I went from MM to N 1560 to N 1028 for root access. Then backed up the DRM and flashed MM r454, restored DRM, flashed MM 1304 and now i'm a happy camper with Netflix and all that working great.

MM is so much faster than N, no sluggish menus or choppy twitch/netflix videos. I honestly did not need to upgrade because i use this in my bedroom with a regular 42" stereo speaker tv, nothing fancy.

Thanks to the people who answered my questions before downgrading and also thanks to Nguyễn Văn Đại for the guide. I sent him $5 as an appreciation.
[Android Stick & Console AMLogic based Computers] ma_c:
One question. I have two Mi Box 3S devices, but one of them with the DRM dammaged. Is it possible to clone the whole system / firmware of the device that works correctly to the one that does not? Would the DRM work again?
[Android Stick & Console AMLogic based Computers] alexinc:
You can't loose anything. Just backup DRM (kernel) from working box and write it to the broken one.
[Android Stick & Console AMLogic based Computers] the face:
I don´t see any reason why it shouldn´t work. But you will get two boxes with the same serial number. I doubt that it will cause a problem though, except someone has a server running and blocks a DRM device that is connected twice.
[Android Stick & Console AMLogic based Computers] djepnguyen:
i followed the guide on daivietpda but only can flash 6-1034. if i flash 6 r454 i would stuck at mi logo.

that means i cannot restore drm
[Android Stick & Console AMLogic based Computers] the face:
You need to elaborate more what you did when you expect anyone to help. With that information so far there's no way to do so.
[Android Stick & Console AMLogic based Computers] Curious Boy:
the fact that [MENTION=1784360]the face[/MENTION] said build 1035 is capable of root means he dont know what he is talking about.
[Android Stick & Console AMLogic based Computers] the face:
Of course, and how did you help here at all and showed your great knowledge and expertise? Oh, not at all? Impressive! So just shut it and go back into your hole then. Thank you!

By the way, I never said 1035, I actually wrote 1528 and 1535. And yes, it´s 1028 only.
[Android Stick & Console AMLogic based Computers] ma_c:
Thank you. I'll try next week at home
[Android Stick & Console AMLogic based Computers] qqubass:
Hi,

Is here someone who knows how to enter recovery menu without working remote only with usb keyboard connected via usb hub to the mi box?
[Android Stick & Console AMLogic based Computers] gtoussai55:
Hello,

Is there any news about Oreo update for the Xiaomi Mi Box TV 3 international?

I am running on nougat beta version. It works fine for me !

Thanks
[Android Stick & Console AMLogic based Computers] the face:
Hmm, I would suggest reboot via adb

[MENTION=6399185]gtoussai55[/MENTION] Nope, not really. Be happy you don´t have a lot of problems, you probably just didn´t run into them so far. 1028 is relatively stable though, it runs at least on three cores out of four and framerate auto-switching works. Wifi was terrible for me. 1560 is a absolute disaster compared to that. So I suggest stay with whatever firmware you have at the moment, since every newer firmware (1035, 1560) brought a ****load of new problems.
[Android Stick & Console AMLogic based Computers] elliwigy:
im on 1560 (just upgraded last night) and havent experienced issues yet.. i was on 924 for months and had issues lol im curious to try 1028 just for adb root access and to permanently root it but not seeing why or the benefits in rooting it
[Android Stick & Console AMLogic based Computers] the face:
You can´t permanently root the box, it won´t survive a reboot. But until then, you can make the automatic framerate switching work. That´s the only real advantage of 1028.... oh, and that it actually uses three cpu cores instead of just two.
[Android Stick & Console AMLogic based Computers] elliwigy:
you should be able to permanently root.. u just havent had any real devs do it lol. a userdebug build you can disable verity and modify the system partition. from what i gathered the issue is with permissive selinux needing to be set on each boot once system root is installed but there should be ways around this..

i am giving this a go today.. if i can root s8/s8+ with better security the mibox should be a cake walk
[Android Stick & Console AMLogic based Computers] the face:
I´m curious, good luck! The information so far was, that since the bootloader is encrypted and locked, there´s no way to permanently root that box. But it would be nice if you succeed! :)
[Android Stick & Console AMLogic based Computers] elliwigy:
the bl lock just means you cannot modify the boot.img so systemless root is out of the picture but root should be easy especially on userdebug where u can disable verity which typically allows for modification of the system partition which is all that is needed for system root
[Android Stick & Console AMLogic based Computers] the face:
As I said, that would be genius! The only real advantage of 1028 so far is the possibility of using the chmod command for making automatic framerate switching work in SPMC. Wifi was really slow on the other hand in 1028 for me and the system is running on three cores only. I´m back at MM for now, Wifi is way better, but setting the framerate manually sucks.
[Android Stick & Console AMLogic based Computers] elliwigy:
i have kodi installed but dont really use spmc/kodi anymore.. i prefer terrarium
[Android Stick & Console AMLogic based Computers] the face:
I use SPMC mainly because of the automatic framerate switching. But I´m gladly going to check out Terrarium!
[Android Stick & Console AMLogic based Computers] the face:
[MENTION=3812611]elliwigy[/MENTION] so are there any news regarding rooting the mibox?
[Android Stick & Console AMLogic based Computers] Dave Deluria:
Here's a dumb question... I have multiple Mi Boxes (all MDZ-16-AB) with 1 of them having the beta. Can I just "clone" the contents of one holding 6.0 to another to completely downgrade? I know this means I will have multiple serial numbers but that's ok with me since I own them anyway.

In case after downgrading I would always get the error "Unfortunately the process android.media has stopped" and keeps rebooting.

Hence I am back to 1028.
[Android Stick & Console AMLogic based Computers] the face:
Why would you do that? Just follow the guide to roll back to MM. It´s not that complicated and actually quickly done. Why would you give up a working, unique serial and DRM volutarily?

PS: Oh, I just got it, you actually did the downgrade and had errors after? Something obviously went wrong. Just try again, it works if you follow the guide. Just be careful to copy and paste the commands from the original website and not from the google translated one. I had the problem at the beginning, that it terminated the backup of the bootloader section too early and it had only 70MB instead of 256MB. So double check everything. I have MM running again on my box and it´s stable without any crashes.
[Android Stick & Console AMLogic based Computers] Dave Deluria:
Thanks for the reply.

Yes I tried everything again

- backed up 256Mb image.

- put the rom3s.img into the /sdcard (I've gotten good with ADB already and I have the male-male cable)

- put the backup256mb image also in /sdcard

- dd'ed the rom3 image into the proper place

- reboot recovery and flashed 0454 6.0 firmware. I know dd works coz' the recovery screen is in vietnamese

- wiped the data in recovery

- reboot

... get that error "unfortunately" and it goes into constant boot loop.

even tried with the 1304 6.0 firmware with same result.

That's why I wanna try getting the backup256mb from a clean 6.0 mi box which I own :)
[Android Stick & Console AMLogic based Computers] the face:
[MENTION=6831974]Dave Deluria[/MENTION]

- back up 256Mb image.

adb root

adb shell

dd if=/dev/block/mmcblk0 of=/sdcard/backup-256mb.img bs=1024 count=262144

exit

- Safe the image somewhere (I used a USB stick and copied it with a file manager) / Check if the size is correct, in windows it´s supposed to have 268,435,456bytes

- put the rom3s.img into the /sdcard (I just copied it into the root of the sdcard while the beta was still working via USB stick - works via adb too)

- put the backup256mb image also in /sdcard

- dd'ed the rom3 image into the proper place

adb shell

dd if=/sdcard/rom3s.img of=/dev/block/mmcblk0

exit

- reboot recovery (ADB reboot recovery) and flash 0454 6.0 firmware from USB stick. Recovery screen is in Vietnamese

- Wipe Data / Factory Reset and reboot

- The box should run Andoid 6 now without any DRM

- Activate ADB and restore the backup of the DRM partition

adb root

adb shell

dd if=/sdcard/backup-256mb.img of=/dev/block/mmcblk0

exit

- reboot into recovery again (ADB reboot recovery) and wipe Data / Factory Reset and reboot

So the only part where something could go wrong is probably the part with the 0454 6.0 firmware. Are you sure you got the correct file? I couldn´t download the one linked on the Vietnamese tutorial , so I downloaded this zip where it is included: https://drive.google.com/drive/folders/0B89ZctmFmYiCSUVKMEJEQVhnbzA?usp=sharing

Maybe try that first. Everything else seems to be fine...
[Android Stick & Console AMLogic based Computers] Dave Deluria:
Thank you very much. I was able to proceed farther...

1. I apparently did NOT see the screen where to confirm Wipe/Erase in the recovery menu.

2. The 0464 firmware file is definitely different from the one I have.

The only difference from your instructions is that after a wipe/factory reset, the contents of /sdcard is also deleted so I just inserted this command after my 1st reboot

adb push ./backup-256mb.img /sdcard <--- this inserts back the backup file back from your PC to the mi box's /sdcard directory

The Mi Box took some time to update all it's fimware and apps after however I double checked and my DRM is intact so Netflix and Google Widevine are all back to what they were.

Also as per my dumb question earlier, it's NOT possible because MM 6.0 boxes have protected firmware so adb root will NOT work.

Thanks. For others... this is NOT easy so pls be patient and read-up on how to properly install ADB on your PC/Mac and get yourself a Male-Male USB cable. It's quite scary to depend on just the flash drive to transfer stuff to/from the box your hacking if your remote suddenly does not work.
[Android Stick & Console AMLogic based Computers] the face:
It´s possible to pull it via ADB, true. I wrote that I did all that copying with a file manager app with an USB Stick since I found it actually much easier.
[Android Stick & Console AMLogic based Computers] Dave Deluria:
Thank you for the great info.

Now I think I'll just back up the bootloader again so if ever I get tempted to try Nougat, it will be much easier to revert with an intact bootloader from version 6.0 MM w/ DRM intact already.
[Android Stick & Console AMLogic based Computers] Dave Deluria:
I created a new thread with the same topic but cleaned up. I hope it helps;

https://xdaforums.com/android-stick...ic/xiaomi-mi-box-mdz-16-ab-downgrade-t3737186
[Android Stick & Console AMLogic based Computers] ma_c:
I'm trying to make a backup of a Mi Box 3S with Android TV 6.0 with the following command:

#dd if=/dev/block/mmcblk0 of=/sdcard/backup-256mb.img bs=1024 count=262144

But I get a "Permission denied" message. What can I do?

And, what command do I need to run to get a full backup of my Mi Box 3S?

Thanks in advance
[Android Stick & Console AMLogic based Computers] Dave Deluria:
the 'dd' command only works if you have root access.

hence if your Mi Box 3s was rooted you should have typed "adb root" first before "adb shell"

If adb root was not succcessful you need to root your box first.
[Android Stick & Console AMLogic based Computers] elliwigy:
havent worked on it much but will later today.. i am going back to mm as i think itd be easier to root than N.. on N 1028 build i can push all the files and disable dm verity but it refuses to boot due to selinux and the setenforce command while its booting doesnt work for me on N.. so basically half way there lol but no dice yet

im also curious about this rom3.img or w.e bootloader.. if it allows downgrading does it possibly allow other flashing? has anyone tried?
[Android Stick & Console AMLogic based Computers] ma_c:
How can I root the Mi Box 3S? I'm trying to install a firmware with "user-debug" enabled, but the version that is installed on the device is newer and I can't do it.
[Android Stick & Console AMLogic based Computers] bigtalker:
The only userdebug version on MM is build 454 which was the last build before release in August 2016. You may want to keep whacking away at build 1028. Many have made similar progress as you only to run up against your same issues with selinux and setenforce.

I just notice you found that post started by kryticul. Good stuff in the earlier pages.

Let me know if you want the earlier userdebug 454 build.

---------- Post added at 08:46 PM ---------- Previous post was at 08:42 PM ----------

I suspect you have a different box than the MDZ-16-AB that is the focus of this thread. Sounds like you have a MDZ-19-AA, which is covered in other threads. Confusion reigns when you use a nonspecific name instead of exact model numbers when referring to Xiaomi's various look-alike models.
[Android Stick & Console AMLogic based Computers] ma_c:
:confused: I'm talking about the "MDZ-16-AB" model. If it were another model, I would be talking in the corresponding thread
[Android Stick & Console AMLogic based Computers] bigtalker:
Sorry, I'm not a mindreader.

What firmware version are you currently running? Are you trying to revert to MM from Nougat?
[Android Stick & Console AMLogic based Computers] elliwigy:
ur gonna have to do some research.. if ur on N then u need the N userdebug since if ur on N u cant downgrade then u need the system rot zip floating around thats for the mibox andthen when u reboot u need to run some adb commands to get back running
[Android Stick & Console AMLogic based Computers] elliwigy:
so root works pretty well but still have to set permissive inadb on a reboot.. su.d and init.d will not work as they dont go off soon enough in the boot process..

i plan on lookin into a dif. root method tomorrow but no promises lol