You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.8 KiB
Markdown

5 years ago
# Waydroid Extras Script
[![Visits Badge](https://badges.pufler.dev/visits/casualsnek/waydroid_script)](https://github.com/casualsnek)
5 years ago
Script to add gapps and other stuff to waydroid !
5 years ago
# Installation/Usage
5 years ago
"lzip" and "sqlite" is required for this script to work, install it using your distribution's package manager:
5 years ago
Arch linux:
5 years ago
sudo pacman -S lzip sqlite
5 years ago
Ubuntu/Ubuntu based:
5 years ago
sudo apt install lzip sqlite
5 years ago
Then run:
git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
sudo python3 -m pip install -r requirements.txt
5 years ago
sudo python3 waydroid_extras.py [-i/-g/-n/-h]
## Install OpenGapps
Open terminal and switch to directory where "waydroid_extras.py" is located then run:
sudo python3 waydroid_extras.py -g
Then restart waydroid service with command below :
sudo systemctl start waydroid-container.service
Then launch waydroid with:
waydroid show-full-ui
After waydroid has finished booting open terminal and switch to directory where "waydroid_extras.py" is located then run:
sudo python3 waydroid_extras.py -i
Copy the returned numeric ID open ["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 upto 10-20 minutes for device to get registered, then clear Google Play Service's cache and try logging in !
## Install Magisk
Open terminal and switch to directory where "waydroid_extras.py" is located then run:
sudo python3 waydroid_extras.py -m
Then restart waydroid service with command below :
sudo systemctl start waydroid-container.service
Magisk will be installed on next boot !
Note That this is bootless installation and modules don't work as of now !
5 years ago
## Install libndk arm translation
This may or may not work properly and is only for testing:
Open terminal and switch to directory where "waydroid_extras.py" is located then run:
sudo python3 waydroid_extras.py -n
Then restart waydroid service with command below :
sudo systemctl start waydroid-container.service
## Install libhoudini arm translation
This may or may not work properly and is only for testing: ( Much stable than libndk ) and works on android 11 images
Open terminal and switch to directory where "waydroid_extras.py" is located then run:
sudo python3 waydroid_extras.py -l
Then restart waydroid service with command below :
sudo systemctl start waydroid-container.service
5 years ago
## Get Android ID for device registration
You need to register you device with its it before being able to use gapps, this will print out your Android ID which you can use for device registration required for google apps:
Open terminal and switch to directory where "waydroid_extras.py" is located then run:
sudo python3 waydroid_extras.py -i
Star this repository if you find this useful, if you encounter problem create a issue on github !