Skip to content

Commit 76102e8

Browse files
committed
added android in linux
1 parent 452b649 commit 76102e8

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

Contents/linux/tools.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,38 @@ youtube-dl -f best "https://www.youtube.com/link"
251251
nano ~/.bashrc
252252
alias yd='yt-dlp -f b --write-auto-sub --write-subs --embed-subs --write-info-json --max-filesize 100M'
253253
yd "link"
254+
```
254255

255-
## Install Genymotoin Android emulator
256+
## Install Waydroid Android emulator
256257

257258
```bash
258-
sudo pamac install genymotion
259+
sudo pacman -S wl-clipboard xclip cage python-pyclipper
260+
sudo pamac install binder_linux-dkms
261+
sudo modprobe binder-linux devices=binder,hwbinder,vndbinder
262+
263+
nano /etc/modules-load.d/binder_linux.conf
264+
binder_linux
265+
266+
nano /etc/modprobe.d/binder_linux.conf
267+
options binder_linux devices=binder,hwbinder,vndbinder
268+
269+
sudo pamac install waydroid
270+
# waydroid init
271+
sudo waydroid init -s GAPPS
272+
sudo systemctl enable waydroid-container.service
273+
sudo systemctl restart waydroid-container.service
274+
275+
cage waydroid session start
276+
sudo waydroid shell
277+
# https://docs.waydro.id/faq/google-play-certification
278+
cage waydroid show-full-ui
279+
280+
# removing / fixing
281+
sudo systemctl stop waydroid-container.service
282+
rm -rf ~/waydroid ~/.share/waydroid ~/.local/share/applications/*aydroid* ~/.local/share/waydroid
283+
waydroid init -f
284+
sudo killall adb
285+
waydroid session stop
259286
```
260287

261288
## Download using aria2 and proxy

0 commit comments

Comments
 (0)