[Xiaomi Mi Pad 5] tom.android:
View attachment 6101442

Thank you ...Timofey (Developer)

-Only one command to install. " lon-deployer <rootfs>"

-Required * Internet

-Required * keyboard ( no virtual keyboard )

GitHub - timoxa0/Guide-Linux-Nabu: Linux installation guide for Nabu (Xiaomi Pad 5) [Github mirror]

Linux installation guide for Nabu (Xiaomi Pad 5) [Github mirror] - timoxa0/Guide-Linux-Nabu

github.com

C:\platform-tools-linux>lon-deployer ArchLinuxArmPlasma.img
Username for linux: tom <--
Password for tom: <--
Size of linux partition (leave empty to skip if possible): 50% <--
[16:53:08] Username: tom <--
Password: qaz1wsx2 <--
Partition size: 50% <--
Device: 8d6b4413
Is it ok? [y/n] (n): y <--
[16:53:12] Device connected
Repartition requested. All data will be ERASED [y/n] (n): y <--
[16:53:18] Restoring stock partition table
Downloading gpt_both0.bin -------------------------------------------------- 100.0% • 45.1/45.1 kB • ? • 0:00:00
Downloading userdata.img --------------------------------------------------- 100.0% • 6.3/6.3 MB • 420.6 kB/s • 0:00:00
[16:53:57] Booting OrangeFox recovery
[16:54:32] Repartition complete
[16:54:33] Rebooting into bootloader
[16:54:38] Booting OrangeFox recovery
[16:55:10] Userdata partition formated
Rebooting into bootloader
[16:55:15] Cleaning linux and esp
[16:55:16] Booting OrangeFox recovery
[16:55:49] EFI partition formated
[16:55:52] Flashing RootFS
Uploading RootFS ------------------------------------------------------------ 100.0% • 3.8/3.8 GB • 31.2 MB/s • 0:00:00
[16:58:41] User created
Boot files created
Installing UEFI
Downloading BootShim.Dualboot.bin ------------------------------------------------ 100.0% • 208/208 bytes • ? • 0:00:00
Downloading nabu_UEFI.fd --------------------------------------------------- 100.0% • 7.3/7.3 MB • 897.2 kB/s • 0:00:00
Pushing uefi files ----------------------------------------------------------- 100.0% • 2/2 bytes • 4 bytes/s • 0:00:00
[16:59:18] Patching boot image
Saving patched boot to disk --------------------------------------------- 100.0% • 134.2/134.2 MB • 35.2 MB/s • 0:00:00
[16:59:28] Pathed boot loaded to C:\platform-tools-linux\new_boot.img
Saving boot backup to disk ---------------------------------------------- 100.0% • 134.2/134.2 MB • 35.2 MB/s • 0:00:00
[16:59:32] Boot backup saved to C:\platform-tools-linux\boot_backup.img
Rebooting to bootloader
[16:59:37] Flashing patched boot
[16:59:41] Done!
========================

View attachment 6101444

View attachment 6101443

View attachment 6101448

Step

*Connect Internet.

*Enable USB debugging ( Developer options)

1.Open CMD (admin) ( Run first time only)

powershell.exe -C "irm https://timoxa0.su/GetLND.ps1 | iex"

2.Download and extract rootfs image.

share/nabu/images/v2 • Directory Lister

Yet another directory listing, powered by Directory Lister.

timoxa0.su

3.Reboot device to bootloader. ( fastboot mode)

adb reboot bootloader

Flash image to device using deployer.(from 1)

lon-deployer /path/to/rootfs.img

Note: answer to interactive script. ( See my Example above)

4.Finished installation.

-First reboot goto Android menu.

Open it will boot into recovery menu

-Factory reset & Reboot again.

--------End Installation-----

Step.

( Reinstall )

back to Step-3 but this time Don't input partition size. (ignored)

Example:

C:\platform-tools-linux>adb reboot bootloader

C:\platform-tools-linux>fastboot devices
8d6b4413 fastboot

C:\platform-tools-linux>lon-deployer ArchLinuxArmPlasma.img
Username for linux: tom
Password for tom:
Size of linux partition (leave empty to skip if possible):
[00:00:20] Username: tom
Password: qaz1wsx2
Partition size: Not changed
Device: 8d6b4413
Is it ok? [y/n] (n): y
[00:00:25] Device connected
Cleaning linux and esp
[00:00:27] Booting OrangeFox recovery
[00:00:53] EFI partition formated
[00:00:56] Flashing RootFS
Uploading RootFS ------------------------------------------------------------ 100.0% • 5.3/5.3 GB • 21.1 MB/s • 0:00:00
[00:04:58] User created
Boot files created
Installing UEFI
Pushing uefi files ----------------------------------------------------------- 100.0% • 2/2 bytes • 4 bytes/s • 0:00:00
[00:05:03] Patching boot image
[00:05:04] Boot image already patched. Skipping
Done!

--------End Re-installation-----

Step.

( Bact to Stock) ( Restore stock partitions )

fastboot flash partition:0 <gpt_both0.bin>

fastboot -w

// flash STOCK with fastboot batch.
flash_all.bat

--------End Uninstallation-----