Howto android on linux: Difference between revisions
Line 40: | Line 40: | ||
= google apps = | = google apps = | ||
install waydroid-script-git: | install waydroid-script-git: | ||
pacman -S waydroid-script-git | sudo pacman -S waydroid-script-git | ||
get device id and register with google: | get device id and register with google: | ||
sudo waydroid-extras | sudo waydroid-extras | ||
Line 48: | Line 48: | ||
https://google.com/android/uncertified/?pli=1 | https://google.com/android/uncertified/?pli=1 | ||
enter the id and register it, you may need to wait up to 10-20 minutes for device to get registered. | enter the id and register it, you may need to wait up to 10-20 minutes for device to get registered. | ||
= references = | = references = | ||
* https://forum.garudalinux.org/t/ultimate-guide-to-install-waydroid-in-any-arch-based-distro-especially-garuda/15902 | * https://forum.garudalinux.org/t/ultimate-guide-to-install-waydroid-in-any-arch-based-distro-especially-garuda/15902 |
Revision as of 02:49, 5 October 2023
waydroid
install chaotic repo:
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com sudo pacman-key --lsign-key 3056513887B78AEB sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' \ 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
run the following command to add chaotic repo to /etc/pacman.conf:
cat >> /etc/pacman.conf << EOF [chaotic-aur] Include = /etc/pacman.d/chaotic-mirrorlist EOF
install yay:
sudo pacman -S yay --noconfirm
install xanmod kernel and headers:
sudo pacman -S linux-xanmod linux-xanmod-headers --noconfirm
install binder_linux modules:
sudo pacman -S binder_linux-dkms --noconfirm
install waydroid:
sudo pacman -S waydroid --noconfirm
reboot the system and boot with xanmod kernel:
reboot
waydroid usage
configure waydroid without google apps:
sudo waydroid init
configure waydroid with google apps:
sudo waydroid init -s GAPPS
start and enable waydroid-container.service:
sudo systemctl enable waydroid-container.service sudo systemctl start waydroid-container.service
remove existing container:
sudo waydroid init -f
or remove the waydroid image directory:
sudo rm -rf /var/lib/waydroid
shutdown waydroid container:
sudo waydroid container stop
fix application screen rotation:
sudo waydroid shell wm set-fix-to-user-rotation enabled
google apps
install waydroid-script-git:
sudo pacman -S waydroid-script-git
get device id and register with google:
sudo waydroid-extras
select android version 11 then get google device id option:
489589697978983
copy the returned numeric ip open browser on the following url:
https://google.com/android/uncertified/?pli=1
enter the id and register it, you may need to wait up to 10-20 minutes for device to get registered.