Skip to content

Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !

License

Notifications You must be signed in to change notification settings

electrikjesus/waydroid_script

 
 

Repository files navigation

Waydroid Extras Script

Visits Badge

Script to add gapps and other stuff to waydroid !

Installation/Usage

"lzip" and "sqlite" is required for this script to work, install it using your distribution's package manager: Arch linux:

sudo pacman -S lzip sqlite

Ubuntu/Ubuntu based:

sudo apt install lzip sqlite

Then run:

git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
sudo python3 -m pip install -r requirements.txt
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" 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 !

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

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 !

About

Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.8%
  • Shell 3.2%