Imanaged to replicate this behaviour on my mdz-22-ab.
more info here: -
developers.com/android-stick--console-computers/amlogic/xiaomi-mi-box-s-uart-boot-log-uboot-env-t3884685
It also boots armbian 5.34, but I was not able to boot libreelec usb builds by 150balbes because of locked bootloader. I have feeling that amlogic has bug in secure boot check, so some images boot, but others fail.
It will load either aml_autoscript (more info) or recovery.img (android recovery mode image), both at the root of a USB stick, the latter being booted when Android TV and the recovery mode aren't bootable.
However exkc find out it can chainboot a unlocked bootloader from the locked bootloader via "multiboot" mode.There are some work on unlocking the android 6 bootloader which allow you to boot unsigned boot image directly from the stock bootloader.
The result of Ramdisk determines whether your device has ramdisk in the boot partition. If your device does not have boot ramdisk, read the Magisk in Recovery section before continuing.
If your device has boot ramdisk, get a copy of the boot.img (or init_boot.img if exists).
If your device does NOT have boot ramdisk, get a copy of the recovery.img.
You should be able to extract the file you need from official firmware packages or your custom ROM zip.
Warning: NEVER flash patched image shared by others or patch image on another device even if they have the same device model! You may need to do a full data wipe to recover your device. ALWAYS patch boot image on the same device where you want to install Magisk.
The easiest way to uninstall Magisk is directly through the Magisk app. If you insist on using custom recoveries, rename the Magisk APK to uninstall.zip and flash it like any other ordinary flashable zip.
In the case when your device does not have ramdisk in boot images, Magisk has no choice but to hijack the recovery partition. For these devices, you will have to reboot to recovery every time you want Magisk enabled.
When Magisk hijacks the recovery, there is a special mechanism to allow you to actually boot into recovery mode. Each device model has its own key combo to boot into recovery, as an example for Galaxy S10 it is (Power + Bixby + Volume Up). A quick search online should easily get you this info. As soon as you press the key combo and the device vibrates with a splash screen, release all buttons to boot into Magisk. If you decide to boot into the actual recovery mode, long press volume up until you see the recovery screen.
Installing using custom recoveries is only possible if your device has boot ramdisk. Installing Magisk through custom recoveries on modern devices is no longer recommended. If you face any issues, please use the Patch Image method.
To downgrade: navigate to the upload firmware page and select the appropriate software version. It will complain about the downgrade. Edit the url and change the 0 at the end to a 1 and press enter. Or change to 2 if there is already 1 (seen on v1.0.64). The downgrade will proceed.
You'll see references to a token variable in many of the following commands. To get it, sign into the web UI of your router and look for stok= in the URL. This is the token. It will change after each reboot so you will need to get it after each one.
NOTE: If you want to go directly to the ubootmod version and you know what you're doing (high risk of bricking) you can use ubootmod initramfs version here and jump directly to step 4 of ubootmod installation instructions below. Backup of system partitions (step 2 below) is always recommended.
If you have installed OpenWrt with u-boot mode layout, you can still use above UART recovery procedure, but u-boot will also look for a file called openwrt-mediatek-filogic-xiaomi_redmi-router-ax6000-ubootmod-initramfs-recovery.itb in a tftp server at IP address 192.168.1.254
An unofficial build of TWRP Recovery has been released for Xiaomi Mi CC9. You could use it to gain administrative privileges on your device. In this guide, detailed steps have been provided through which you could install the TWRP Recovery and subsequently root Xiaomi Mi CC9.
Xiaomi has always been among the front runners when it comes to development-related activities. This fact has further been strengthened by the news that it has barely been a month or two since its launch, yet it has already received an unofficial version of TWRP Recovery. Therefore, here we will be discussing how to install this TWRP recovery on Mi CC9. Furthermore, the device will be rooted using the Magisk installer zip file. So, follow the below instructions for the same.
Rooting the Xiaomi Mi CC9 will probably void its warranty. Though rooting does not lead to the wiping of data, yet it is always recommended to be on a safer side and have a backup. Furthermore, you are performing the steps knowing the implications and risks involved with it.
Now, boot the device to fastboot mode via the following command:adb reboot bootloaderNext, enter the below command to install the TWRP Recovery on your Mi CC9:fastboot flash recovery recovery.imgNow you may reboot your device to Android OS. Take help of the following command:fastboot rebootWith this, TWRP is now successfully installed on your device. You can now easily root your device. Follow the below section for the same.
To conclude, this was a detailed guide on how to install TWRP and root Xiaomi Mi CC9. If you are having any doubts with respect to any of the above-mentioned steps, let us know in the comments section below. In case you encounter issues like battery drain on your device, you should follow the tips to calibrate Android battery to get better performance.
3a8082e126