-
Wait for 15 days to unlock your tablet (unlock will remove all user data!)
-
Get the recovery image (not be FLASHED)
wget https://github.com/serdeliuk/xiaomi-nabu-orangefox/releases/download/2/xiaomi-nabu-orangefox.0.0.2.zip -
unzip xiaomi-nabu-orangefox.0.0.2.zip -
adb reboot bootloader -
Now when
FASTBOOTappear on screen then runfastboot boot xiaomi-nabu-orangefox.imgfrom your host -
Check the userdata partition number
parted /dev/block/sda -
Inside parted
printto view partitions and then remove userdata partitionrm 31 -
Inside parted the 30th partition ends at 10.9GB and for 256GB version of tablet one can use
mkpart userdata 10.9GB 100GB. This shall create ~90GB userdata partition and rest will be kept forpmos. -
Inside parted now create
pmospartitionmkpart pmos ext4 100GB 250GB -
Inside parted check the free space
print freeif it shows a few GBs then you might go back and adjust your partitions, if not, doquitand reboot. -
The reboot should land you to recovery screen, select WIPE USERDATA and reboot to Android with new userdata partition
-
Connect
adband doadb reboot bootloaderagain -
Now when
FASTBOOTappears on screen runfastboot getvar current-slot. This usually should printa, this means the Android usesslot a, this also means thatslot bcould be used forpmos -
There are 3 partitions involved to boot pmos? boot, vbmeta, dtbo? (need more info)
-
fastboot set_active b -
Download the pmos preview image from here
-
Extract the above tar file and
cd -
Flash the modified vbmeta to disable the boot verification process
fastboot flash vbmeta_b vbmeta_disabled.img -
Erase
dtbo_bto prevent interfering with pmosfastboot erase dtbo_b -
Flash Linux Kernel to
slot bboot regionfastboot flash boot_b boot.img(You may use alternate kernel from here which containsCONFIG_SCSI_UFS_BSGfor switching slots usingqbootctl) -
Now flash prebuilt Alpine image (pmos)
fastboot flash pmos xiaomi-nabu.img -
Once done
fastboot rebootto get intoKDE Desktop. -
Default user is
userand password is147147details