Update README
This commit is contained in:
parent
3456e486f0
commit
77670a4b49
40
README-RU.md
Normal file
40
README-RU.md
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Linux switch для Mi Pad 5 (форк [Windows Switch](https://github.com/entaromia/mi-pad5-windows-switch))
|
||||||
|
|
||||||
|
|
||||||
|
## Отличия от Windows Switch
|
||||||
|
- Добавлена кнопка в быстрые настройки
|
||||||
|
- Добавлена возможность сохранить boot и dtbo от android
|
||||||
|
- Очищает dtbo при перезагрузке в linux
|
||||||
|
|
||||||
|
|
||||||
|
## Требования:
|
||||||
|
- Рутированный android
|
||||||
|
- Уже установленный linux
|
||||||
|
|
||||||
|
|
||||||
|
## Установка
|
||||||
|
|
||||||
|
### Android:
|
||||||
|
1) Прошейте `vbmeta_disabled.img` через fastboot
|
||||||
|
```console
|
||||||
|
fastboot flash vbmeta_ab <path/to/vbmeta_disabled.img>
|
||||||
|
```
|
||||||
|
> [!Warning]\
|
||||||
|
> Данное дейставие пожет привести к необходимости wipe data из recovery
|
||||||
|
|
||||||
|
2) Установите последнюю версию `linuxswitch.apk` с [релиза](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
|
||||||
|
3) Запустите приложение и предоставьте root доступ
|
||||||
|
4) Нажмите "Dump android images"
|
||||||
|
5) Достаньте `android.boot.img` и `andoid.dtbo.img` из `/sdcard/linux/`
|
||||||
|
6) Назовите boot от linux `linux.boot.img` и положите в `/sdcard/linux/`
|
||||||
|
7) Перезагрузитесь в linux, нажав "Switch to Linux"
|
||||||
|
|
||||||
|
### Linux:
|
||||||
|
1) Скачайте последнюю версию `s2a.zip` с [релиза](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
|
||||||
|
2) Распакуйте `s2a.zip` в linux
|
||||||
|
3) Положите `android.boot.img` и `andoid.dtbo.img` в папку `s2a`
|
||||||
|
4) Запустите терминал в папку с `install.sh` и выполните команду
|
||||||
|
```console
|
||||||
|
sudo ./install.sh
|
||||||
|
```
|
||||||
|
5) Перезагрузитесь в android, запустив "Switch2Android" и меню приложений
|
29
README.md
29
README.md
|
@ -2,29 +2,32 @@
|
||||||
|
|
||||||
|
|
||||||
## Differences from original windows switch
|
## Differences from original windows switch
|
||||||
- Added Quick Settings tile
|
- Added quick settings tile
|
||||||
- Added ability to dump android images
|
- Added ability to dump android images
|
||||||
- Cleans dtbo on reboot
|
- Cleans dtbo on reboot
|
||||||
|
|
||||||
|
|
||||||
## Prerequirements
|
## Pre-requirements
|
||||||
- Rooted android
|
- Rooted android
|
||||||
- Already installed linux
|
- Already installed linux
|
||||||
|
|
||||||
|
|
||||||
## Intallation
|
## Installation
|
||||||
|
|
||||||
### Android side:
|
### Android side:
|
||||||
1) Install `linuxswitch.apk` from [Releases](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
|
1) Flash `vbmeta_disabled.img` via fastboot
|
||||||
2) Open installed app and grant root access
|
```console
|
||||||
3) Place images:
|
fastboot flash vbmeta_ab <path/to/vbmeta_disabled.img>
|
||||||
```
|
```
|
||||||
linux boot.img -> /sdcard/linux/linux.boot.img
|
> [!Warning]\
|
||||||
vbmeta_disabled.img -> /sdcard/linux/linux.vbmeta.img
|
> This may result in the need to wipe data in recovery.
|
||||||
```
|
|
||||||
4) Open app again and tap "Dump android images"
|
2) Install `linuxswitch.apk` from [Releases](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
|
||||||
5) Move `android.boot.img` and `android.dtbo.img` to PC from `/sdcard/linux/`
|
3) Open installed app and grant root access
|
||||||
6) Done
|
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
|
||||||
|
|
||||||
### Linux side:
|
### Linux side:
|
||||||
1) Download `s2a.zip` from [Releases](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
|
1) Download `s2a.zip` from [Releases](https://github.com/timoxa0/Switch2Linux-Nabu/releases)
|
||||||
|
@ -34,4 +37,4 @@
|
||||||
```console
|
```console
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
```
|
```
|
||||||
5) Done
|
5) Now you can reboot to android with Switch2Android app
|
||||||
|
|
Loading…
Reference in a new issue