Compare commits
9 commits
Author | SHA1 | Date | |
---|---|---|---|
|
dbb4336113 | ||
|
e8f582a736 | ||
|
7a939e1d6b | ||
|
89a4f06cd4 | ||
|
9cda3e3fef | ||
|
d0d2ef59ea | ||
|
c40a9f5440 | ||
|
31940e3234 | ||
|
74bf739a73 |
14
README-RU.md
14
README-RU.md
|
@ -1,11 +1,15 @@
|
||||||
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
|
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
|
||||||
|
|
||||||
|
|
||||||
# Запуск Linux на Xiaomi Pad 5
|
# Запуск Linux на Xiaomi Pad 5
|
||||||
|
|
||||||
## Язык
|
## Язык
|
||||||
|
|
||||||
Русский | [English](README.md)
|
Русский | [English](README.md)
|
||||||
|
|
||||||
|
## Lon-tool мертв! Используйте arch linux из чата или postmarket os.
|
||||||
|
|
||||||
## ⚠️ Предупреждение
|
## ⚠️ Предупреждение
|
||||||
|
|
||||||
Мы не несем ответственности за сломанные устройства, отсутствующие разделы, плохих работников на линии производства Xiaomi, мёртвые карты памяти, мёртвые чипы управления питанием, мёртвую ОЗУ, мёртвые контроллеры экрана, мёртвые процессоры, мёртвых кошек и собак и ядерные войны.
|
Мы не несем ответственности за сломанные устройства, отсутствующие разделы, плохих работников на линии производства Xiaomi, мёртвые карты памяти, мёртвые чипы управления питанием, мёртвую ОЗУ, мёртвые контроллеры экрана, мёртвые процессоры, мёртвых кошек и собак и ядерные войны.
|
||||||
|
|
||||||
Установка Linux - опасный процесс, делайте это на свой страх и риск и осторожно следуйте инструкции.
|
Установка Linux - опасный процесс, делайте это на свой страх и риск и осторожно следуйте инструкции.
|
||||||
|
@ -15,12 +19,14 @@
|
||||||
|
|
||||||
## Начнём
|
## Начнём
|
||||||
|
|
||||||
- [Установка](guide/Russian/prepare-ru.md)
|
- [~~Установка~~](guide/Russian/prepare-ru.md)
|
||||||
|
|
||||||
- [Удаление](guide/Russian/uninstall-ru.md)
|
- [Удаление](guide/Russian/uninstall-ru.md)
|
||||||
|
|
||||||
## Разное
|
## Разное
|
||||||
|
|
||||||
|
- [Канал с обновлениями](https://s.tx0.su/lonup)
|
||||||
|
|
||||||
- [Чат проекта (Англ)](https://s.tx0.su/lonchat)
|
- [Чат проекта (Англ)](https://s.tx0.su/lonchat)
|
||||||
|
|
||||||
- [Чат проекта (Рус)](https://s.tx0.su/lonchatru)
|
- [Чат проекта (Рус)](https://s.tx0.su/lonchatru)
|
||||||
|
@ -29,9 +35,9 @@
|
||||||
|
|
||||||
- [Переустановка](guide/Russian/reinstall-ru.md)
|
- [Переустановка](guide/Russian/reinstall-ru.md)
|
||||||
|
|
||||||
- [Доступные дистрибутивы](guide/Russian/distros-ru.md)
|
- [Дуалбут с использованием switch2linux](guide/English/linuxswitch-en.md)
|
||||||
|
|
||||||
|
|
||||||
|
- [Доступные дистрибутивы](https://timoxa0.su/?dir=share/nabu/images/latest/latest)
|
||||||
|
|
||||||
## Благодарности
|
## Благодарности
|
||||||
|
|
||||||
|
|
14
README.md
14
README.md
|
@ -1,11 +1,15 @@
|
||||||
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
|
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
|
||||||
|
|
||||||
|
|
||||||
# Running Linux on the Xiaomi Pad 5
|
# Running Linux on the Xiaomi Pad 5
|
||||||
|
|
||||||
## Language
|
## Language
|
||||||
|
|
||||||
[Русский](README-RU.md) | English
|
[Русский](README-RU.md) | English
|
||||||
|
|
||||||
|
## Lon-tool it deprecated! Consider using arch linux from the chat or postmarket os.
|
||||||
|
|
||||||
## ⚠️ Warning
|
## ⚠️ Warning
|
||||||
|
|
||||||
We're not responsible for bricked devices, missing recovery partitions, dead xiaomi factoryline workers cowboys, dead microSD cards, dead pmics, dead ram, dead display ics, dead cpus, any xiaomi shenanigans, dead cats or dogs, nuclear wars or you getting fired because you forgot to boot back in to android for the alarm.
|
We're not responsible for bricked devices, missing recovery partitions, dead xiaomi factoryline workers cowboys, dead microSD cards, dead pmics, dead ram, dead display ics, dead cpus, any xiaomi shenanigans, dead cats or dogs, nuclear wars or you getting fired because you forgot to boot back in to android for the alarm.
|
||||||
|
|
||||||
This project is in an early stage, all the files here have been contributed by other users, here you will find a guide with the working files we managed to get. This is a delicate process, do it under your own risk and follow all the steps carefully.
|
This project is in an early stage, all the files here have been contributed by other users, here you will find a guide with the working files we managed to get. This is a delicate process, do it under your own risk and follow all the steps carefully.
|
||||||
|
@ -14,13 +18,14 @@ This project is in an early stage, all the files here have been contributed by o
|
||||||
|
|
||||||
## Get Started
|
## Get Started
|
||||||
|
|
||||||
- [Installation](guide/English/prepare-en.md)
|
- [~~Installation~~](guide/English/prepare-en.md)
|
||||||
|
|
||||||
- [Uninstallation](guide/English/uninstall-en.md)
|
- [Uninstallation](guide/English/uninstall-en.md)
|
||||||
|
|
||||||
|
|
||||||
## Miscellaneous
|
## Miscellaneous
|
||||||
|
|
||||||
|
- [Updates channel](https://s.tx0.su/lonup)
|
||||||
|
|
||||||
- [Project Chat](https://s.tx0.su/lonchat)
|
- [Project Chat](https://s.tx0.su/lonchat)
|
||||||
|
|
||||||
- [Project Ru Chat](https://s.tx0.su/lonchatru)
|
- [Project Ru Chat](https://s.tx0.su/lonchatru)
|
||||||
|
@ -29,8 +34,9 @@ This project is in an early stage, all the files here have been contributed by o
|
||||||
|
|
||||||
- [Reinstallation](guide/English/reinstall-en.md)
|
- [Reinstallation](guide/English/reinstall-en.md)
|
||||||
|
|
||||||
- [Available distros](guide/English/distros-en.md)
|
- [Dualboot using switch2linux](guide/English/linuxswitch-en.md)
|
||||||
|
|
||||||
|
- [Available distros](https://timoxa0.su/?dir=share/nabu/images/latest/latest)
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,13 @@
|
||||||
> [!Warning]\
|
> [!Warning]\
|
||||||
> All your data will be erased! Backup now if needed.
|
> All your data will be erased! Backup now if needed.
|
||||||
|
|
||||||
|
> [!Note]\
|
||||||
|
> If you want to use switch2linux to dualboot add -Q flag to lon-tool command\
|
||||||
|
> After installation follow this [guide](./linuxswitch-en.md)
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
1. #### Download and extract rootfs image
|
1. #### Download image
|
||||||
|
|
||||||
2. #### Reboot device to bootloader
|
2. #### Reboot device to bootloader
|
||||||
|
|
||||||
|
|
50
guide/English/linuxswitch-en.md
Normal file
50
guide/English/linuxswitch-en.md
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
<img align="right" src="../../assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
|
||||||
|
|
||||||
|
# Running Linux on the Xiaomi Pad 5
|
||||||
|
|
||||||
|
## [←](./install-en.md) Dualbooting using switch2linux
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
- Brain
|
||||||
|
|
||||||
|
- Rooted android
|
||||||
|
|
||||||
|
- Already installed Linux
|
||||||
|
|
||||||
|
- [mklonimg.cmd (Windows)](https://git.timoxa0.su/timoxa0/mklonimg/raw/branch/main/mklonimg.cmd)
|
||||||
|
|
||||||
|
- [mklonimg.sh (Linux/macOS)](https://git.timoxa0.su/timoxa0/mklonimg/raw/branch/main/mklonimg.sh)
|
||||||
|
|
||||||
|
- [Python 3](https://www.python.org/downloads/)
|
||||||
|
|
||||||
|
- [linux-nabu zip package](https://timoxa0.su/?dir=share/nabu/packages/v3)
|
||||||
|
|
||||||
|
### Creating boot image
|
||||||
|
|
||||||
|
1. #### Restore your boot image (can be skipped if you used lon-tool with the -Q flag)
|
||||||
|
|
||||||
|
2. #### Download mklonimg.cmd for Windows or mklonimg.sh for Linux/macOS
|
||||||
|
|
||||||
|
3. #### Install Python (for Windows select Add Python 3.x to PATH)
|
||||||
|
|
||||||
|
4. #### Download linux-nabu zip package for your image version
|
||||||
|
|
||||||
|
5. #### Extract vmlinuz-6.1.10-nabu and dtb-6.1.10-nabu from /boot/efi inside zip
|
||||||
|
|
||||||
|
6. #### Open cmd (on Windows) or terminal (on Linux/macOS)
|
||||||
|
|
||||||
|
7. #### Run mklonimg
|
||||||
|
##### Windows
|
||||||
|
```
|
||||||
|
.\mklonimg.cmd path\to\vmlinuz path\to\dtb
|
||||||
|
```
|
||||||
|
##### Linux/macOS
|
||||||
|
```
|
||||||
|
bash mklonimg.sh path/to/vmlinuz path/to/dtb
|
||||||
|
```
|
||||||
|
|
||||||
|
8. #### Image will be created in current working directory with name linux.boot.img
|
||||||
|
|
||||||
|
9. #### Follow switch2linux install guide -> [link](https://git.timoxa0.su/timoxa0/Switch2Linux-Nabu/src/branch/main/README.md)
|
||||||
|
|
||||||
|
### Done!
|
|
@ -16,8 +16,8 @@ powershell.exe -C "irm https://s.tx0.su/ltw | iex"
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Linux:
|
##### Linux:
|
||||||
- Install android platform tools with your packet manager
|
- Install android platform tools with your package manager
|
||||||
- Install lon-tool and platform tools using this command
|
- Install lon-tool using this command
|
||||||
```
|
```
|
||||||
curl -Ls s.tx0.su/ltl | bash
|
curl -Ls s.tx0.su/ltl | bash
|
||||||
```
|
```
|
||||||
|
|
|
@ -15,8 +15,9 @@ Stable. Some components don't work.
|
||||||
- [x] Brightness
|
- [x] Brightness
|
||||||
- [x] Slow charging
|
- [x] Slow charging
|
||||||
- [x] Fast charging (Fixed in latest kernel)
|
- [x] Fast charging (Fixed in latest kernel)
|
||||||
- [x] Display
|
- [x] Display (100Hz)
|
||||||
- [x] GPU
|
- [x] GPU
|
||||||
|
- [ ] HW video decoding/encodeing
|
||||||
- [x] Touchscreen
|
- [x] Touchscreen
|
||||||
- [x] UFS
|
- [x] UFS
|
||||||
- [x] USB
|
- [x] USB
|
||||||
|
|
|
@ -13,9 +13,13 @@
|
||||||
> [!Warning]\
|
> [!Warning]\
|
||||||
> Все пользовательские файлы будут стерты! Создайте резервную копию, если это необходимо.
|
> Все пользовательские файлы будут стерты! Создайте резервную копию, если это необходимо.
|
||||||
|
|
||||||
|
> [!Note]\
|
||||||
|
> Если вы хотите использовать switch2linux для дуалбута добавьте флаг -Q к команде lon-tool\
|
||||||
|
> После устаноки следуйте [гайду](./linuxswitch-ru.md)
|
||||||
|
|
||||||
### Установка
|
### Установка
|
||||||
|
|
||||||
1. #### Скачайте и распакуйте образ rootfs
|
1. #### Скачайте rootfs
|
||||||
|
|
||||||
2. #### Перезагрузите планшет в bootloader
|
2. #### Перезагрузите планшет в bootloader
|
||||||
|
|
||||||
|
|
50
guide/Russian/linuxswitch-ru.md
Normal file
50
guide/Russian/linuxswitch-ru.md
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
<img align="right" src="../../assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
|
||||||
|
|
||||||
|
# Запуск Linux на Xiaomi Pad 5
|
||||||
|
|
||||||
|
## [←](./install-ru.md) Дуалбут с использованием switch2linux
|
||||||
|
|
||||||
|
### Требования
|
||||||
|
- Мозги
|
||||||
|
|
||||||
|
- Рутированный android
|
||||||
|
|
||||||
|
- Уже установленный Дinux
|
||||||
|
|
||||||
|
- [mklonimg.cmd (Windows)](https://git.timoxa0.su/timoxa0/mklonimg/raw/branch/main/mklonimg.cmd)
|
||||||
|
|
||||||
|
- [mklonimg.sh (Linux/macOS)](https://git.timoxa0.su/timoxa0/mklonimg/raw/branch/main/mklonimg.sh)
|
||||||
|
|
||||||
|
- [Python 3](https://www.python.org/downloads/)
|
||||||
|
|
||||||
|
- [Zip пакет linux-nabu](https://timoxa0.su/?dir=share/nabu/packages/v3)
|
||||||
|
|
||||||
|
### Создание boot образа
|
||||||
|
|
||||||
|
1. #### Востановите ваш boot (можете пропустить если запускали lon-tool с флагом -Q)
|
||||||
|
|
||||||
|
2. #### Скачайте mklonimg.cmd для Windows или mklonimg.sh для Linux/macOS
|
||||||
|
|
||||||
|
3. #### Установите Python 3 (на Windows отметьте Add Python 3.x to PATH или Добовить Python 3.x в PATH)
|
||||||
|
|
||||||
|
4. #### Скачайте zip пакет linux-nabu нужной версии
|
||||||
|
|
||||||
|
5. #### Распакуйте vmlinuz-6.1.10-nabu и dtb-6.1.10-nabu из /boot/efi внутри zip архива
|
||||||
|
|
||||||
|
6. #### Откройте cmd на Windows или терминал на Linux/macOS
|
||||||
|
|
||||||
|
7. #### Запустите mklonimg
|
||||||
|
##### Windows
|
||||||
|
```
|
||||||
|
.\mklonimg.cmd путь\к\vmlinuz путь\к\dtb
|
||||||
|
```
|
||||||
|
##### Linux/macOS
|
||||||
|
```
|
||||||
|
bash mklonimg.sh путь/к/vmlinuz путь/к/dtb
|
||||||
|
```
|
||||||
|
|
||||||
|
8. #### Образ будет создан в текущей папке с именем linux.boot.img
|
||||||
|
|
||||||
|
9. #### Следуйте гайду по установке switch2linux -> [ссылка](https://git.timoxa0.su/timoxa0/Switch2Linux-Nabu/src/branch/main/README-RU.md)
|
||||||
|
|
||||||
|
### Готово!
|
Loading…
Reference in a new issue