Launching waydroid shell on Redmi Note 9 Pro
-
Hello everybody!
I'm having a problem starting waydroid shell on my Redmi Note 9 Pro phone.First, I remounted the root partition using the command:
~$ sudo mount -o remount,rw /Then I updated the packages:
~$ sudo apt update
~$ sudo apt upgradeThen I installed waydroid and initialized it:
~$ sudo apt install waydroid xwayland
~$ sudo waydroid initAfter installing waydroid, I launch the app and enter the command:
~$ sudo waydroid shellAfter that, the following error is displayed:
Permission denied - Failed to rexec as memfd
Failed to re-execute lxc-attach via memory file descriptorI don't understand why it doesn't work. Can you tell me how to run the waydroid shell?
Doesn't work even under su
-
Hi @EvilHare,
you should never runapt upgrade
on a phone as that could very likely break your phone :(. I don't think any instructions do tell you to do that.Second, installing xwayland - is that needed? I haven't seen that in any instructions either. Could be a dependency of Waydroid though, not sure, but if it would install it on its own.
As for the rest, you should have a Waydroid icon in the main app drawer. It takes a while (especially the first launch) but that should work. However considering the commands you executed I am not sure what state your system is in. It might be worth trying to destroy the container and starting from scratch, or even trying to install and set up Waydroid through Waydroid Helper which allows you to avoid command line altogether and that works really well:
-
Hi @zubozrout, thanks for the reply.
Regarding the
apt update
, I accepted your comment, thank you.Regarding waydroid, I forgot to say that after initialization, I rebooted the phone. The waydroid icon appeared in the list of applications. The application runs correctly and everything works well. However, the
waydroid shell
still does not work.I have now specifically performed a system reset and installed waydroid via WaydroidHelper. Everything works just as well, but with the
waydroid shell
the same problems. -
@EvilHare I am not sure if waydroid-shell is supposed to work on UT. Where did you get this information?
-
@arubislander Ah, well then ok. I just thought there was a problem with my device or something I was doing wrong.
-
@EvilHare said in Launching waydroid shell on Redmi Note 9 Pro:
@arubislander Ah, well then ok. I just thought there was a problem with my device or something I was doing wrong.
I solved the problem for myself. I connected via adb to my device using the instructions: https://docs.ubports.com/ru/latest/userguide/advanceduse/adb.html.
Then, inside the device, I launched the
waydroid shell
without any problems