Waydroid breaks after install Magisk #50

Open
opened 2022-10-20 07:06:48 -04:00 by EsmailELBoBDev2 · 6 comments
EsmailELBoBDev2 commented 2022-10-20 07:06:48 -04:00 (Migrated from github.com)

Hi, I use waydroid on gentoo, I tried to install the ARM translation layer and it worked as expected but when I intalled Magisk, waydroid stopped to work. I can't run the container, service or show the gui. I asked on waydroid's telegram and another use told me after using the same script he/she was not able to run waydroid too. And this is why I'm here now maybe its something with the script? and here are some logs and feel free to request more details as needed.

System info: Gentoo (kernel: 5.15.74-gentoo-dist), I use openrc so I run the service manually (https://docs.waydro.id/usage/install-on-desktops#manually-starting-waydroid) and I use weston with export XDG_SESSION_TYPE=wayland to run waydroid. I can confirm waydroid was running fine when installed ARM translation but not after Magisk, so I'm sure waydroid was working.

waydroid logcat: https://pastebin.mozilla.org/4iHdkGTc/raw

waydroid status:

Session:        RUNNING
Container:      RUNNING
Vendor type:    MAINLINE
Session user:   esmailelbob(1000)
Wayland display:        None
Hi, I use waydroid on gentoo, I tried to install the ARM translation layer and it worked as expected but when I intalled Magisk, waydroid stopped to work. I can't run the container, service or show the gui. I asked on waydroid's telegram and another use told me after using the same script he/she was not able to run waydroid too. And this is why I'm here now maybe its something with the script? and here are some logs and feel free to request more details as needed. System info: Gentoo (kernel: 5.15.74-gentoo-dist), I use openrc so I run the service manually (https://docs.waydro.id/usage/install-on-desktops#manually-starting-waydroid) and I use `weston` with `export XDG_SESSION_TYPE=wayland` to run waydroid. I can confirm waydroid was running fine when installed ARM translation but not after Magisk, so I'm sure waydroid *was* working. `waydroid logcat`: https://pastebin.mozilla.org/4iHdkGTc/raw `waydroid status`: ``` Session: RUNNING Container: RUNNING Vendor type: MAINLINE Session user: esmailelbob(1000) Wayland display: None ```
EsmailELBoBDev2 commented 2022-10-20 07:09:04 -04:00 (Migrated from github.com)

Ok, I'm unsure if it's related to my issue or not, but maybe this helps?:

10-20 11:00:05.884   158   171 E Magisk  : su: cannot find manager
10-20 11:00:05.886   158   171 I Magisk  : * Mounting mirrors
10-20 11:00:05.886   158   171 E Magisk  : stat /dev/loop1 failed with 2: No such file or directory
10-20 11:00:05.886   158   171 E Magisk  : mount /sbin/.magisk/block/vendor->/sbin/.magisk/mirror/vendor failed with 15: Block device required
10-20 11:00:05.886   158   171 I Magisk  : mount: /sbin/.magisk/mirror/vendor
10-20 11:00:05.888   158   171 E Magisk  : stat /dev/sdb1 failed with 2: No such file or directory
10-20 11:00:05.888   158   171 E Magisk  : mount /sbin/.magisk/block/data->/sbin/.magisk/mirror/data failed with 15: Block device required
10-20 11:00:05.888   158   171 I Magisk  : mount: /sbin/.magisk/mirror/data
10-20 11:00:05.888   158   171 I Magisk  : link: /sbin/.magisk/mirror/product
Ok, I'm unsure if it's related to my issue or not, but maybe this helps?: ``` 10-20 11:00:05.884 158 171 E Magisk : su: cannot find manager 10-20 11:00:05.886 158 171 I Magisk : * Mounting mirrors 10-20 11:00:05.886 158 171 E Magisk : stat /dev/loop1 failed with 2: No such file or directory 10-20 11:00:05.886 158 171 E Magisk : mount /sbin/.magisk/block/vendor->/sbin/.magisk/mirror/vendor failed with 15: Block device required 10-20 11:00:05.886 158 171 I Magisk : mount: /sbin/.magisk/mirror/vendor 10-20 11:00:05.888 158 171 E Magisk : stat /dev/sdb1 failed with 2: No such file or directory 10-20 11:00:05.888 158 171 E Magisk : mount /sbin/.magisk/block/data->/sbin/.magisk/mirror/data failed with 15: Block device required 10-20 11:00:05.888 158 171 I Magisk : mount: /sbin/.magisk/mirror/data 10-20 11:00:05.888 158 171 I Magisk : link: /sbin/.magisk/mirror/product ```
EsmailELBoBDev2 commented 2022-10-25 13:50:24 -04:00 (Migrated from github.com)

Because setup script is wrong

Can you explain more? Wrong in what aspect and how to fix it?

> Because setup script is wrong Can you explain more? Wrong in what aspect and how to fix it?
EsmailELBoBDev2 commented 2022-10-26 15:55:36 -04:00 (Migrated from github.com)
> It doesn't setup the correct Magisk environment: > > https://github.com/casualsnek/waydroid_script/blob/4bdb95aee02bb6150b64c82f8f9dd1918abf7557/waydroid_extras.py#L426-L454 > > Please see: https://github.com/HuskyDG/Magisk/blob/4d8109affaca8ad8e44ef3f2b8d793abb3f42c62/scripts/util_functions.sh#L859-L899 Thats sad but ok, is there a way to reverse it? I want to use waydroid again...
PhilDevProg commented 2023-02-18 07:58:29 -05:00 (Migrated from github.com)

It's not fixed for me. I installed Magisk today and my Waydroid installation is now broken and I can't use it anymore. Even after reinstall it still has no window to interact with...

It's not fixed for me. I installed Magisk today and my Waydroid installation is now broken and I can't use it anymore. Even after reinstall it still has no window to interact with...
PhilDevProg commented 2023-02-18 08:07:56 -05:00 (Migrated from github.com)

Sorry if I wasn't clear enough. So I installed Magisk via this Script today (on Fedora) but after that Waydroid didn't have a window to interact with or show the UI. I also reinstalled Waydroid but still there's not UI.
Edit: It now works again after the 3rd reinstall. 🤷

Sorry if I wasn't clear enough. So I installed Magisk via this Script today (on Fedora) but after that Waydroid didn't have a window to interact with or show the UI. I also reinstalled Waydroid but still there's not UI. Edit: It now works again after the 3rd reinstall. 🤷
lordmemed commented 2023-03-21 02:07:44 -04:00 (Migrated from github.com)

Sorry if I wasn't clear enough. So I installed Magisk via this Script today (on Fedora) but after that Waydroid didn't have a window to interact with or show the UI. I also reinstalled Waydroid but still there's not UI. Edit: It now works again after the 3rd reinstall. shrug

first of all, i'm sorry if i kinda "spam" myself everywhere.

the new waydroid_script Magisk installation is broken for me, too.

it causing my Waydroid installation to hang, it show up but with nothing i can interact to and crash of Trebuchet, etc.
after looking the debug with sudo waydroid logcat, it shows the error of EACCES Permission denied with almost all applications.

the solution for me is editing bootanim.rc to my own Magisk environment setup, like in this irrelevant and spam comment : Here

hope this helps if you still have this issue.

goodbye.

EDIT:
sorry @HuskyDG , it actually is my fault for issuing on wrong repo, and yeah, i actually using the latest
canary/debug build. Magisk-2520-delta-3 -> update to 25206 -> update to latest canary/debug channel via Direct install to system partition -> and boom, error.

like you said above,

It doesn't setup the correct Magisk environment:

thanks,
goodbye.

> Sorry if I wasn't clear enough. So I installed Magisk via this Script today (on Fedora) but after that Waydroid didn't have a window to interact with or show the UI. I also reinstalled Waydroid but still there's not UI. Edit: It now works again after the 3rd reinstall. shrug first of all, i'm sorry if i kinda "spam" myself everywhere. the new waydroid_script Magisk installation is broken for me, too. it causing my Waydroid installation to _hang_, it show up but with nothing i can interact to and crash of Trebuchet, etc. after looking the debug with `sudo waydroid logcat`, it shows the error of EACCES Permission denied with almost all applications. the solution for me is editing bootanim.rc to my own Magisk environment setup, like in this _irrelevant_ and _spam_ comment : [Here](https://github.com/HuskyDG/magisk-files/issues/91#issuecomment-1477275236) hope this helps if you still have this issue. goodbye. EDIT: sorry @HuskyDG , it actually is my fault for issuing on wrong repo, and yeah, i actually using the latest canary/debug build. `Magisk-2520-delta-3 -> update to 25206 -> update to latest canary/debug channel via Direct install to system partition -> and boom, error`. like you said above, >It doesn't setup the correct Magisk environment: thanks, goodbye.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wbruno/waydroid_script#50