Howto android on linux: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
Line 33: Line 33:


select Get Google Device ID to Get Certified option, when the waydroid session has finished booting, copy the returned numeric ID open "https://google.com/android/uncertified/?pli=1" 5 enter the id and register it, you may need to wait up to 10-20 minutes for device to get registered, then clear Google Play Service's cache and try logging in
select Get Google Device ID to Get Certified option, when the waydroid session has finished booting, copy the returned numeric ID open "https://google.com/android/uncertified/?pli=1" 5 enter the id and register it, you may need to wait up to 10-20 minutes for device to get registered, then clear Google Play Service's cache and try logging in
= references =
* https://forum.garudalinux.org/t/ultimate-guide-to-install-waydroid-in-any-arch-based-distro-especially-garuda/15902

Revision as of 23:59, 4 October 2023

waydroid

install chaotic repo:

pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
pacman-key --lsign-key 3056513887B78AEB
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'

add the following to /etc/pacman.conf:

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist 

install xanmod kernel and headers:

pacman -S linux-xanmod linux-xanmod-headers --noconfirm

install binder_linux modules:

yay -S binder_linux-dkms

load modules:

depmod -a
modprobe binder_linux

install waydroid:

yay -S waydroid

waydroid usage

configure waydroid:

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

install waydroid-script-git:

pacman -S waydroid-script-git

get device id and register with google:

sudo waydroid-extras 

select Get Google Device ID to Get Certified option, when the waydroid session has finished booting, copy the returned numeric ID open "https://google.com/android/uncertified/?pli=1" 5 enter the id and register it, you may need to wait up to 10-20 minutes for device to get registered, then clear Google Play Service's cache and try logging in

references