aboutsummaryrefslogtreecommitdiff
path: root/system/waydroid/README
blob: dbd1a52debf517d25b6d4bbe87d79b35214695b6 (plain)
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
Waydroid works ONLY in a Wayland and you need to run a kernel which
comes with the binder modules.  Slackware stock kernels dont come with
that.  There are several ways to fix this. What I preffer is the hard
way, to build a Slackware zen kernel.  Using stock slackware kernel
config plus: CONFIG_ANDROID=y CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=n
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"

One of the reasons is that I found it the most stable and secure way...
NOTE zen kernels its BETTER to build them in $USER/HOME not to root and
better not to /usr/src so make as user $HOME/ZEN and build there.
============

Next step install python3-gbinder from SBo/ponce

I use slpkg for that.  # slpkg -i python3-gbinder (this command will
build and install python3-gbinder deps too) ============

Then run ./waydroid.Slackbuild to build and install package.
============

After installation finish run

# waydroid init or init with GApps support # waydroid init -s GAPPS

^^ this will automatically download the latest Android image.
============

To start waydroid session: # /usr/bin/waydroid -w container start &
(give it some time...)  ===========

Launch GUI:

$ waydroid show-full-ui

Launch shell:

# waydroid shell (bug)

Install an application:

$ waydroid app install $path_to_apk

Run an application:

$ waydroid app launch $package_name # Can be retrieved with `waydroid
app list` ===========

TIP: If you affected by: "ContainerManager:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply:
Message recipient disconnected from message bus without replying"
 
 Try: # pkill -HUP dbus-daemon

and command again...  ============

TIP: If you get error `Failed to get service waydroidplatform, trying
again...`

Try: `waydroid upgrade -o`

============

good luck, you gonna need it! :D