Ultimate Guide to install Waydroid in any Arch-based distro(especially Garuda)

Yeah it is fine.

so why my waydroid is not working says binder is died

like
this

image

Have you used these two commands first before going for

waydroid show-full-ui

Does enabling the container service make any difference?

2 Likes

ya already did sir

It probably starts the container at boot, so you wouldn’t have to do it on every boot.

Currently, linux-xanmod has binder drivers as kernel modules, unlike linux-zen or linux-cachyos with binder inbuilt.

So you need to do some additional steps:

i) You need to enable automatic loading of the modules on boot:

echo binder_linux | sudo tee /etc/modules-load.d/binder.conf

ii) Enable PSI by default:
Add the psi=1 boot parameter to the kernel command line of your boot loader.
(edit /etc/default/grub and add psi=1 to the end of GRUB_CMDLINE_LINUX_DEFAULT, within “” and before any # symbols)

Waydroid works for me with linux-xanmod,


Magisk in Waydroid, weirdly/interestingly, works only with linux-xanmod.

As you can see in the screenshot below, Magisk is installed when using linux-xanmod.
You just have to install Magisk Delta through waydroid-extras, and everything is automatically configured (only with linux-xanmod).

You will get all these options in the Magisk Delta app.

You can refer to this for more info/details:

@alex5402 wants to install Magisk, so he is trying to run Waydroid with linux-xanmod.

Alex, did you add psi=1 to the kernel boot parameters, run sudo update-grub and then reboot?

you can use this GitHub - ALEX5402/libndk_translation_Module: Installs SUPPORT ARM APPS functions into your AVD

this is works well also

1 Like

Now i can finally run waydroid properly also i have root access now thanks to Austin

Some extra info you need to know

  • If you want to run pubg mobile then you need to install libjni only
  • if you want root access on waydroid then don't install binder module
  • you need to add psi=1 to your kernel parm from grub
  • just install xanmod kernel and do this

  • and reboot with xanmod and done
1 Like

I don’t think that works. This is what I observed :point_down:
You could confirm it though.

ya from the prop

New updates and tips:

i)

ii) I checked out Roblox, and it runs perfectly fine. Even the keyboard works out of the box.

iii) If you can’t find some of your apps in the Play Store, you can probably find them in the Aurora Store.

1 Like

Hey @dr460nf1r3, could you please compile the linux-xanmod kernel for the chaotic-aur with

CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y

Instead of this (which it should be right now)

CONFIG_ANDROID_BINDER_IPC=m
CONFIG_ANDROID_BINDERFS=m

Outdated Binder module · Issue #386 · xanmod/linux · GitHub

When binder_linux is compiled with (=y), it becomes a kernel component and will always be loaded in memory every boot. If it is compiled with (=m), it(binder_linux) will become a .ko module object in /lib/modules/.../, which will be loaded only when requested.`

I don’t think this is the behavior we want for binder_linux :thinking: what prevents us from using the module?

1 Like

Many users are not able to follow these instructions.

Making binder inbuilt like in Cachyos, just makes it seamless.

Let me know any concerns you have.

1 Like

I guess we can try it.

3 Likes

Update:


We don’t need it anymore!

It seems that if you first initialize and run Waydroid with a kernel and then later switch to another kernel, you will have to reinitialize Waydroid to work with the later kernel.

You also don’t have to do this any more.

1 Like

Did I understand correctly, waydroid init -f does it for us?

1 Like

Yup, it points Waydroid towards the loaded binder drivers.

found a workaround for lack of root in kernels other than xanmod (root works fine there as previously mentioned)

you can use shizuku which is replacing su on android

while it is not full root it does give you the adb permissions which on android is more than enough to do 99% of the things you would normaly use root for.

only problem is that normaly you would have to connect through adb and run the start script everytime android boots, but on waydroid you can simpially do this from the terminal

sudo waydroid shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh

Trying to find a way to automate this so everytime waydroid starts up it automatically runs this

1 Like