UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Launching waydroid shell on Redmi Note 9 Pro

    Scheduled Pinned Locked Moved Waydroid
    waydroidwaylandredmi note 9prowaydroid shell
    6 Posts 3 Posters 862 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • E Offline
        EvilHare
        last edited by

        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 upgrade

        Then I installed waydroid and initialized it:
        ~$ sudo apt install waydroid xwayland
        ~$ sudo waydroid init

        After installing waydroid, I launch the app and enter the command:
        ~$ sudo waydroid shell

        After that, the following error is displayed:
        Permission denied - Failed to rexec as memfd
        Failed to re-execute lxc-attach via memory file descriptor

        I don't understand why it doesn't work. Can you tell me how to run the waydroid shell?

        Doesn't work even under su

        Z 1 Reply Last reply Reply Quote 0
        • Z Offline
          zubozrout @EvilHare
          last edited by

          Hi @EvilHare,
          you should never run apt 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:

          https://open-store.io/app/waydroidhelper.aaronhafer

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            EvilHare @zubozrout
            last edited by

            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.

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @EvilHare
              last edited by

              @EvilHare I am not sure if waydroid-shell is supposed to work on UT. Where did you get this information?

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                EvilHare @arubislander
                last edited by

                @arubislander Ah, well then ok. I just thought there was a problem with my device or something I was doing wrong.

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  EvilHare @EvilHare
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post