-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1 Anbox.sh
More file actions
70 lines (52 loc) · 1.95 KB
/
1 Anbox.sh
File metadata and controls
70 lines (52 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Install tools:
sudo apt install wget lzip unzip squashfs-tools -y
sudo apt install snapd dkms software-properties-common python-software-properties -y
sudo apt install linux-headers-generic -y
# Install Anbox repository:
sudo add-apt-repository -y 'ppa:morphis/anbox-support'
# Install manually if not working
wget https://launchpad.net/~morphis/+archive/ubuntu/anbox-support/+files/anbox-modules-dkms_13_all.deb
sudo dpkg -i anbox-modules-dkms_13_all.deb
# Search and download updates:
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
sudo apt clean
# Install DKMS package from PPA:
sudo modprobe ashmem_linux
sudo modprobe binder_linux
# Confirm:
ls -1 /dev/{ashmem,binder}
# Listing should be:
# /dev/ashmem
# /dev/binder
# Install Anbox Snap:
sudo snap install --devmode --beta anbox
sudo /snap/bin/anbox-installer
# Update Anbox:
snap refresh --beta --devmode anbox
# Check version:
snap info anbox
# restart PC:
sudo shutdown -r 0
# Script to install Play Store:
wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
chmod +x install-playstore.sh
sudo ./install-playstore.sh
sudo ./install-playstore.sh --clean
# Execute Anbox:
anbox.appmgr
# If not load:
anbox session-manager
# Then go to Settings > Apps > Google Play Services > Permissions and enable all available permissions.
# If you are encountering some connectivity issues when logging in to your Google account on Anbox, make sure the anbox-bride.sh is running:
# to start it:
sudo /snap/anbox/current/bin/anbox-bridge.sh start
# to restart it:
sudo /snap/anbox/current/bin/anbox-bridge.sh restart
# Install SuperSU:
wget https://github.com/anbox/anbox/files/2376604/install-supersu-to-anbox.txt
mv install-supersu-to-anbox.txt install-supersu-to-anbox.sh
chmod +x install-supersu-to-anbox.sh
sudo ./install-supersu-to-anbox.sh
sudo ./install-supersu-to-anbox.sh --clean