Compare commits

..

No commits in common. "main" and "v3.0.1" have entirely different histories.
main ... v3.0.1

8 changed files with 48 additions and 169 deletions

View file

@ -1,15 +1,11 @@
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
# Запуск Linux на Xiaomi Pad 5
## Язык
Русский | [English](README.md)
## Lon-tool мертв! Используйте arch linux из чата или postmarket os.
## ⚠️ Предупреждение
Мы не несем ответственности за сломанные устройства, отсутствующие разделы, плохих работников на линии производства Xiaomi, мёртвые карты памяти, мёртвые чипы управления питанием, мёртвую ОЗУ, мёртвые контроллеры экрана, мёртвые процессоры, мёртвых кошек и собак и ядерные войны.
Установка Linux - опасный процесс, делайте это на свой страх и риск и осторожно следуйте инструкции.
@ -19,14 +15,12 @@
## Начнём
- [~~Установка~~](guide/Russian/prepare-ru.md)
- [Установка](guide/Russian/prepare-ru.md)
- [Удаление](guide/Russian/uninstall-ru.md)
## Разное
- [Канал с обновлениями](https://s.tx0.su/lonup)
- [Чат проекта (Англ)](https://s.tx0.su/lonchat)
- [Чат проекта (Рус)](https://s.tx0.su/lonchatru)
@ -35,9 +29,9 @@
- [Переустановка](guide/Russian/reinstall-ru.md)
- [Дуалбут с использованием switch2linux](guide/English/linuxswitch-en.md)
- [Доступные дистрибутивы](guide/Russian/distros-ru.md)
- [Доступные дистрибутивы](https://timoxa0.su/?dir=share/nabu/images/latest/latest)
## Благодарности

View file

@ -1,45 +1,39 @@
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
# Running Linux on the Xiaomi Pad 5
## Language
[Русский](README-RU.md) | English
## Lon-tool it deprecated! Consider using arch linux from the chat or postmarket os.
## ⚠️ 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.
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.
**IF YOU AREN'T COMFORTABLE MODDING YOUR TABLET OR ITS PARTITION TABLE OR YOU ARE PARANOID OF BRICKING YOUR DEVICE CLICK AWAY NOW!!! YOU HAVE BEEN WARNED, YOU ARE ON YOUR OWN IF YOU BRICK YOUR DEVICE!!! AGAIN! YOU HAVE BEEN WARNED!!!**
## Get Started
- [~~Installation~~](guide/English/prepare-en.md)
- [Uninstallation](guide/English/uninstall-en.md)
## Miscellaneous
- [Updates channel](https://s.tx0.su/lonup)
- [Project Chat](https://s.tx0.su/lonchat)
- [Project Ru Chat](https://s.tx0.su/lonchatru)
- [Project Status](guide/English/status-en.md)
- [Reinstallation](guide/English/reinstall-en.md)
- [Dualboot using switch2linux](guide/English/linuxswitch-en.md)
- [Available distros](https://timoxa0.su/?dir=share/nabu/images/latest/latest)
## Credits
- [@maverickjb](https://github.com/maverickjb) - linux 6.1 nabu port ([src](https://github.com/maverickjb/linux-6.1.10))
- [@map220v](https://github.com/map220v/) - audio fix
- [@edk2-porting](https://github.com/edk2-porting) - edk2 UEFI port
<img align="right" src="./assets/nabu.png" width="425" alt="Linux Running On A Xiaomi Pad 5">
# Running Linux on the Xiaomi Pad 5
## Language
[Русский](README-RU.md) | English
## ⚠️ 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.
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.
**IF YOU AREN'T COMFORTABLE MODDING YOUR TABLET OR ITS PARTITION TABLE OR YOU ARE PARANOID OF BRICKING YOUR DEVICE CLICK AWAY NOW!!! YOU HAVE BEEN WARNED, YOU ARE ON YOUR OWN IF YOU BRICK YOUR DEVICE!!! AGAIN! YOU HAVE BEEN WARNED!!!**
## Get Started
- [Installation](guide/English/prepare-en.md)
- [Uninstallation](guide/English/uninstall-en.md)
## Miscellaneous
- [Project Chat](https://s.tx0.su/lonchat)
- [Project Ru Chat](https://s.tx0.su/lonchatru)
- [Project Status](guide/English/status-en.md)
- [Reinstallation](guide/English/reinstall-en.md)
- [Available distros](guide/English/distros-en.md)
## Credits
- [@maverickjb](https://github.com/maverickjb) - linux 6.1 nabu port ([src](https://github.com/maverickjb/linux-6.1.10))
- [@map220v](https://github.com/map220v/) - audio fix
- [@edk2-porting](https://github.com/edk2-porting) - edk2 UEFI port

View file

@ -13,13 +13,9 @@
> [!Warning]\
> 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
1. #### Download image
1. #### Download and extract rootfs image
2. #### Reboot device to bootloader

View file

@ -1,50 +0,0 @@
<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!

View file

@ -16,8 +16,8 @@ powershell.exe -C "irm https://s.tx0.su/ltw | iex"
```
##### Linux:
- Install android platform tools with your package manager
- Install lon-tool using this command
- Install android platform tools with your packet manager
- Install lon-tool and platform tools using this command
```
curl -Ls s.tx0.su/ltl | bash
```

View file

@ -15,9 +15,8 @@ Stable. Some components don't work.
- [x] Brightness
- [x] Slow charging
- [x] Fast charging (Fixed in latest kernel)
- [x] Display (100Hz)
- [x] Display
- [x] GPU
- [ ] HW video decoding/encodeing
- [x] Touchscreen
- [x] UFS
- [x] USB

View file

@ -13,13 +13,9 @@
> [!Warning]\
> Все пользовательские файлы будут стерты! Создайте резервную копию, если это необходимо.
> [!Note]\
> Если вы хотите использовать switch2linux для дуалбута добавьте флаг -Q к команде lon-tool\
> После устаноки следуйте [гайду](./linuxswitch-ru.md)
### Установка
1. #### Скачайте rootfs
1. #### Скачайте и распакуйте образ rootfs
2. #### Перезагрузите планшет в bootloader

View file

@ -1,50 +0,0 @@
<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)
### Готово!