App for linux dualboot on Nabu (Xiaomi Pad 5)
Go to file
2024-01-15 19:35:09 +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.md Update install guide 2024-01-14 00:48:57 +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)

Differences from original windows switch

  • Added Quick Settings tile
  • Added ability to dump android images
  • Cleans dtbo on reboot

Prerequirements

  • Rooted android
  • Already installed linux

Intallation

Android side:

  1. Install linuxswitch.apk from Releases
  2. Open installed app and grant root access
  3. Place images:
    linux boot.img      -> /sdcard/linux/linux.boot.img
    vbmeta_disabled.img -> /sdcard/linux/linux.vbmeta.img
    
  4. Open app again and tap "Dump android images"
  5. Move android.boot.img and android.dtbo.img to PC from /sdcard/linux/
  6. Done

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. Done