App for linux dualboot on Nabu (Xiaomi Pad 5)
Go to file
2024-08-14 16:38:12 +05:00
.idea Windows Switch -> Linux switch 2024-01-12 18:37:47 +05:00
app Remove vbmeta_disabled flasher 2024-01-15 19:35:09 +05:00
gradle/wrapper Windows Switch -> Linux switch 2024-01-12 18:37:47 +05:00
.gitignore Add /app/update 2024-01-12 18:37:47 +05:00
build.gradle Windows Switch -> Linux switch 2024-01-12 18:37:47 +05:00
gradle.properties Windows Switch -> Linux switch 2024-01-12 18:37:47 +05:00
gradlew Initial commit 2024-01-12 18:37:47 +05:00
gradlew.bat Initial commit 2024-01-12 18:37:47 +05:00
LICENSE Initial commit 2024-01-12 18:27:57 +05:00
README-RU.md Update install guide 2024-08-14 16:38:12 +05:00
README.md Update install guide 2024-08-14 16:38:12 +05:00
settings.gradle Windows Switch -> Linux switch 2024-01-12 18:37:47 +05:00

Linux switch for Mi Pad 5 (Windows Switch fork) (RU)

Differences from original windows switch

  • Added quick settings tile
  • Added ability to dump android images
  • Cleans dtbo on reboot

Pre-requirements

Installation

Android side:

  1. Flash vbmeta_disabled.img via fastboot
    fastboot flash vbmeta_ab <path/to/vbmeta_disabled.img> 
    

Warning

This may result in the need to wipe data in recovery.

  1. Install linuxswitch.apk from Releases
  2. Open installed app and grant root access
  3. Open app again and tap "Dump android images"
  4. Move android.boot.img and andoid.dtbo.img to PC from /sdcard/linux/
  5. Rename linux boot to linux.boot.img and put it to /sdcard/linux/
  6. Now you can tap "Switch to Linux" to boot linux

Linux side:

  1. Download s2a.zip from Releases
  2. Unzip s2a.zip in linux
  3. Put android.boot.img and andoid.dtbo.img into s2a folder
  4. Install with command
    sudo ./install.sh
    
  5. Now you can reboot to android with Switch2Android app