Switch2Linux-Nabu/README.md

46 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2024-01-15 14:36:39 +00:00
# Linux switch for Mi Pad 5 ([Windows Switch](https://github.com/entaromia/mi-pad5-windows-switch) fork) ([RU](./README-RU.md))
2024-01-12 14:07:56 +00:00
2024-01-13 19:46:19 +00:00
2024-01-12 14:07:56 +00:00
## Differences from original windows switch
2024-01-15 14:35:51 +00:00
- Added quick settings tile
2024-01-12 14:07:56 +00:00
- Added ability to dump android images
2024-01-12 17:53:02 +00:00
- Cleans dtbo on reboot
2024-01-12 14:07:56 +00:00
2024-01-13 19:46:19 +00:00
2024-01-15 14:35:51 +00:00
## Pre-requirements
2024-08-14 11:38:12 +00:00
2024-01-13 19:46:19 +00:00
- Rooted android
2024-08-14 11:38:12 +00:00
2024-01-13 19:46:19 +00:00
- Already installed linux
2024-08-14 11:38:12 +00:00
2024-08-14 10:19:16 +00:00
- [vbmeta_disabled.img](https://timoxa0.su/share/nabu/manual/vbmeta_disabled.img)
2024-01-13 19:46:19 +00:00
2024-08-14 11:38:12 +00:00
- [Linux boot image](https://git.timoxa0.su/timoxa0/Guide-Linux-Nabu/src/branch/main/guide/English/linuxswitch-en.md)
2024-01-15 14:35:51 +00:00
## Installation
2024-01-13 19:46:19 +00:00
### Android side:
2024-01-15 14:35:51 +00:00
1) Flash `vbmeta_disabled.img` via fastboot
```console
fastboot flash vbmeta_ab <path/to/vbmeta_disabled.img>
2024-01-12 14:07:56 +00:00
```
2024-01-15 14:39:23 +00:00
> [!Warning]\
> This may result in the need to wipe data in recovery.
2024-01-15 14:35:51 +00:00
2024-08-14 10:20:21 +00:00
2) Install `linuxswitch.apk` from [Releases](https://git.timoxa0.su/timoxa0/Switch2Linux-Nabu/releases)
2024-01-15 14:35:51 +00:00
3) Open installed app and grant root access
4) Open app again and tap "Dump android images"
5) Move `android.boot.img` and `andoid.dtbo.img` to PC from `/sdcard/linux/`
6) Rename linux boot to `linux.boot.img` and put it to `/sdcard/linux/`
7) Now you can tap "Switch to Linux" to boot linux
2024-01-13 19:46:19 +00:00
### Linux side:
1) Download `s2a.zip` from [Releases](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
2) Unzip `s2a.zip` in linux
3) Put `android.boot.img` and `andoid.dtbo.img` into `s2a` folder
4) Install with command
2024-01-12 14:07:56 +00:00
```console
sudo ./install.sh
```
2024-01-15 14:35:51 +00:00
5) Now you can reboot to android with Switch2Android app