Guide-Linux-Nabu/guide/English/prepare-en.md
Timofey b7a1152f1d
Update prepare-en.md
Fix backup dtbo on windows cmd
2024-03-21 16:59:01 +00:00

1.5 KiB

Linux Running On A Xiaomi Pad 5

Running Linux on the Xiaomi Pad 5

Preparing your device

Prerequisites

Notes:

Warning

All your data will be erased! Backup now if needed.

These commands have been tested.

Ignore udevadm warnings

Do not run the same command twice

Do not run all commands at once, execute them in order!

Reboot tablet to bootloader

Flash vbmeta_disabled.img via fastboot

fastboot flash vbmeta_ab <vbmeta_disabled.img>

Replace <vbmeta_disabled.img> with path to vbmeta_disabled.img

Boot Orange Fox recovery through PC

fastboot boot <recovery.img>

Replace <recovery.img> with path to recovery.img

Repartition yout device

adb shell partition [TARGET LINUX SIZE IN GB]

Create dtbo backup

adb shell backupdtbo
adb pull /tmp/dtbo.img

Backup will be saved to current directory

Check if Android still starts

Just restart the tablet, and see if Android still works. If isn't boot or looping or animation, wipe data in recovery.

Next step: Installing Linux