ajout waydroid

This commit is contained in:
Grégory Lebreton 2025-12-16 23:25:57 +01:00
parent dc568aa6e7
commit 8fb65f6b0a
4 changed files with 97 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

View File

@ -0,0 +1,94 @@
# WAYDROID
![Waydroid](../../assets/divers/dev/waydroid.png)
Installer et utiliser [Waydroid](https://waydro.id/index.html) (Emulateur Android natif sur Linux)
## Installation
```bash
sudo apt install curl ca-certificates -y
curl https://repo.waydro.id | sudo bash
sudo apt install waydroid -y
sudo waydroid init
```
- Installer gapp:
```bash
cd /tmp \
&& git clone https://github.com/casualsnek/waydroid_script.git
cd waydroid_script
```
- Se connecter en tant que root:
```bash
su root
```
- Lancer l'installation ge gapps et libhoudini:
```bash
python3 -m venv venv \
&& source venv/bin/activate \
&& pip install -r requirements.txt \
&& python3 main.py
```
1. choisir Android 13
2. Install
3. Selectionner gapps et libhoudini
> L'installation se finit par une erreur, c'est normal
## Configuration
- Configurer le clic de la souris pour agir comme un screen touch:
```bash
waydroid prop set persist.waydroid.fake_touch com.*
```
- Internet:
```bash
sudo sed -i~ -E 's/=.\$\(command -v (nft|ip6?tables-legacy).*/=/g' \
/usr/lib/waydroid/data/scripts/waydroid-net.sh
```
## Usage
- Lancer en plein écran:
```bash
waydroid show-full-ui
```
## Installer une appli (APK):
- Manuellement:
```bash
waydroid app install ~/Téléchargements/monjeu.apk
```
- Via aurora store:
```bash
cd /tmp && wget https://d.apkpure.com/b/APK/com.aurora.store?version=latest
waydroid app install /tmp/Aurora*.apk
```
- Lancer une appli:
```bash
waydroid app launch com.nom.du.package
```
:warning: Toutes les applis ne fonctionnent pas
## Documentation:
- [Instalation](https://docs.waydro.id/usage/install-on-desktops#ubuntu-debian-and-derivatives)
- [Command lines](https://docs.waydro.id/usage/waydroid-command-line-options)

View File

@ -5,4 +5,5 @@ Cette rubrique contient différentes astuces, guides et tutoriels de programmati
Vous y trouverez:
- [créer un mod dans Minetest](create-minetest-mod.md)
- [Utiliser Unity avec codium](unity_codium.md)
- [Installer android sur Linux](android-on-linux.md)

View File

@ -169,6 +169,7 @@ nav:
- "Index": divers/dev/index.md
- "Créer un mod dans Minetest": divers/dev/create-minetest-mod.md
- "Installer codium et Unity": divers/dev/unity_codium.md
- "Installer Android sur Linux": divers/dev/android-on-linux.md
- "Le guide Git":
- divers/git/git.md
- "Les guides sur l'IA":