cool. Ive already rooted my Pad 5 on MIUI. Do I need to still 'fastboot boot yourrecovery.img'? Im very used to using adb and fastboot. Ive never actually manually partitioned an Android-device before though.Then you may need to use my OrangeFOX recovery, or any other recovery that may offer root on your nabu, you need then a few binaries for arm, parted and sgdisk for sure, parted to print partitions and remove userdata then add back userdata as a smaller partition, then use sgdisk to increase partition table size, nabu is limited to only 32 entries by default and 31 are used, userdata being the last one, so if you need more than two OSes you need to create as many as you need at this point, i have created 2 extra.
Below is my partition table, as you can see i shrunk a lot userdata, and have plenty free space to add another partitions, note the name of partitions, system is used for PMOS, you can use that name with fastboot
Code:sh-5.0# ./parted /dev/block/sda GNU Parted 3.3 Using /dev/block/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print free print free Model: SAMSUNG KLUDG4UHDC-B0E1 (scsi) Disk /dev/block/sda: 126GB Sector size (logical/physical): 4096B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 16.4kB 24.6kB 8192B Free Space 1 24.6kB 32.8kB 8192B switch 2 32.8kB 65.5kB 32.8kB ssd 3 65.5kB 98.3kB 32.8kB dbg 4 98.3kB 131kB 32.8kB bk01 5 131kB 262kB 131kB bk02 6 262kB 524kB 262kB bk03 7 524kB 1049kB 524kB bk04 8 1049kB 1573kB 524kB keystore 9 1573kB 2097kB 524kB frp 10 2097kB 4194kB 2097kB countrycode 11 4194kB 8389kB 4194kB misc 12 8389kB 12.6MB 4194kB vm-data 13 12.6MB 16.8MB 4194kB bk06 14 16.8MB 25.2MB 8389kB logfs 15 25.2MB 33.6MB 8389kB ffu 16 33.6MB 50.3MB 16.8MB oops 17 50.3MB 67.1MB 16.8MB devinfo 18 67.1MB 83.9MB 16.8MB oem_misc1 19 83.9MB 101MB 16.8MB ext4 metadata 20 101MB 134MB 32.9MB bk08 21 134MB 168MB 34.2MB splash 22 168MB 201MB 33.6MB bk09 23 201MB 9328MB 9127MB super 24 9328MB 9328MB 131kB vbmeta_system_a 25 9328MB 9328MB 131kB vbmeta_system_b 26 9328MB 9396MB 67.1MB logdump 27 9396MB 9530MB 134MB minidump 28 9530MB 9664MB 134MB rawdump 29 9664MB 10.7GB 1074MB ext4 cust 30 10.7GB 10.9GB 134MB ext2 rescue 10.9GB 10.9GB 786kB Free Space 31 10.9GB 50.0GB 39.1GB userdata 32 50.0GB 50.5GB 500MB EFI msftdata 33 50.5GB 70.0GB 19.5GB WIN msftdata 34 70.0GB 80.0GB 10.0GB system 80.0GB 126GB 45.6GB Free Space
Is your recovery-image needed to fastboot into its RAM to not actually have its root partition mounted to actually be able to partition the device?
I dont have All of the base UNIX-programs on the tablet tho.
Man what is it with android and it using a billion partitions?
I find Androids type of partitioning and use of a/b-slots utterly confusing compared to normal Linux-distros. But Its fun to learn, I like a challenge. I know Android is built on the Linux-kernel but Android kinda is its own thing.
Maybe I could practice first in a VM or an Android-emulator like the one that's in Android Development Studio? Anyhow, I dont have anything to flash except ArrowOS, which is still Android, and not full linux.
I appreciate the tutorial though