We got a slot switcher in Ubuntu Touch!

I was looking at the available apps for Ubuntu Touch and see there is a slot switcher. I installed it and it looks like it may work. Would this work with iode’ or Lunar OS?

The Android app on GitHub needs root access! I can and have done that in Lunar OS…is there a safer option?

This is what the app sees on the BraX3 in UT:

Space limitations aren’t an issue. I have a bunch of apps installed on this and there are 227.9 GB free. I’m thinking about restoring the device back to iode’ and then Lunar OS where I will root it and then install UT with these install directions. Why does it have to be on slot A?

  1. Connect your device and verify it is detected: bash adb devices
  2. Reboot into fastboot mode:
adb reboot fastboot
  1. Set Device Slot to slot b:
fastboot --set-active=b
  1. Flash the system image:
fastboot flash system ubuntu.img
  1. Reboot bootloader:
fastboot reboot bootloader
  1. Flash the boot partitions:
fastboot flash boot_b boot.img
  1. Flash the init_boot partitions:
fastboot flash init_boot_b init_boot.img
  1. Wipe and format userdata for Ubuntu Touch:
fastboot -w
fastboot format:ext4 userdata
  1. Reboot the device:
fastboot reboot

Just make sure your fastboot/adb version is >= 35.0.2-12147458s. First Ubuntu Touch boot may take 5–8 minutes.

These apps may still work but they are years old. I’m not sure if they work with modern hardware and kernels. The Android app is the oldest at 5 years. From what I’m reading, fastboot does not need root to change slots. Maybe I can get Ubuntu Touch and iode’ working on the same phone without rooting iode’. I will see!

1 Like