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

Waydroid ... how to shut it down ?

Scheduled Pinned Locked Moved Solved Waydroid
28 Posts 10 Posters 38.9k Views 3 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.
    • C Offline
      cr9c @c4pp4
      last edited by 2 Nov 2021, 10:09

      @c4pp4 Thanks indeed.

      L 1 Reply Last reply 2 Nov 2021, 11:06 Reply Quote 0
      • L Offline
        Luksus @cr9c
        last edited by 2 Nov 2021, 11:06

        BTW. waydroid desktop files are perfixed with "waydroid" in current versions, like this:
        waydroid.org.fdroid.fdroid.desktop

        So (re)moving .local/share/applications/waydroid.*should be enough.

        (Would be nice, if there were some filter in the app drawer, then we could just filter by the desktop file prefix ;-))

        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

        C 1 Reply Last reply 6 Nov 2021, 10:26 Reply Quote 0
        • C Offline
          cr9c @Luksus
          last edited by 6 Nov 2021, 10:26

          Hi @luksus ,

          And If I want to keep only one or two icons from this family "waydroid.*"
          how should I proceed in the following script ... (In fact I'd like to make an exception ;o))

          #!/bin/bash
          
          waydroid session stop
          rm .local/share/applications/waydroid.*
          
          L 1 Reply Last reply 6 Nov 2021, 12:44 Reply Quote 0
          • L Offline
            Luksus @cr9c
            last edited by Luksus 11 Jun 2021, 12:45 6 Nov 2021, 12:44

            @cr9c I don't know. 😉

            And I have the impression, that the desktop files, gets readded, when restarting waydroid, or when re-inititalizing... I am not sure. But it is not very comfortable to always move them away again...

            Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

            ? 1 Reply Last reply 20 Nov 2021, 14:25 Reply Quote 0
            • H Offline
              Homer @cr9c
              last edited by 20 Nov 2021, 13:29

              @cr9c hi, you have to mount the fike system writable to do this, right?

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @Luksus
                last edited by A Former User 20 Nov 2021, 14:25

                @luksus You can make icons hidden and the are not comming back add last not on my device to do this you can do following:

                Hide launchers
                If you want to keep the .desktop files but hide the launchers, add “NoDisplay=true” to those you dont want to see. The following hides all Waydroid launchers:

                for i in ~/.local/share/applications/waydroid*desktop; do echo 'NoDisplay=true' >> $i; done

                Remove launchers for redundant apps:

                #Calculator
                for i in ~/.local/share/applications/waydroid.com.android.calculator2.desktop; do echo 'NoDisplay=true' >> $i; done

                Camera

                for i in ~/.local/share/applications/waydroid.com.android.camera2.desktop; do echo 'NoDisplay=true' >> $i; done

                Contacts

                for i in ~/.local/share/applications/waydroid.com.android.contacts.desktop; do echo 'NoDisplay=true' >> $i; done

                Email

                for i in ~/.local/share/applications/waydroid.com.android.email.desktop; do echo 'NoDisplay=true' >> $i; done

                Clocks

                for i in ~/.local/share/applications/waydroid.com.android.deskclock.desktop; do echo 'NoDisplay=true' >> $i; done

                Dailer

                for i in ~/.local/share/applications/waydroid.com.google.android.dialer.desktop; do echo 'NoDisplay=true' >> $i; done

                Files

                for i in ~/.local/share/applications/waydroid.com.android.documentsui.desktop; do echo 'NoDisplay=true' >> $i; done

                Gallery

                for i in ~/.local/share/applications/waydroid.com.android.gallery3d.desktop; do echo 'NoDisplay=true' >> $i; done

                Music

                for i in ~/.local/share/applications/waydroid.org.lineageos.eleven.desktop; do echo 'NoDisplay=true' >> $i; done

                Browser

                for i in ~/.local/share/applications/waydroid.org.lineageos.jelly.desktop; do echo 'NoDisplay=true' >> $i; done

                Recorder

                for i in ~/.local/share/applications/waydroid.org.lineageos.recorder.desktop; do echo 'NoDisplay=true' >> $i; done

                Calendar

                for i in ~/.local/share/applications/waydroid.org.lineageos.etar.desktop; do echo 'NoDisplay=true' >> $i; done

                A 1 Reply Last reply 20 Nov 2021, 15:27 Reply Quote 3
                • A Offline
                  aarontheissueguy @Guest
                  last edited by 20 Nov 2021, 15:27

                  @xray2000 how exactly did you use those commands? Putting them into an sh file and running it doesnt seem to work

                  S ? 2 Replies Last reply 20 Nov 2021, 15:31 Reply Quote 0
                  • S Offline
                    stanwood @aarontheissueguy
                    last edited by stanwood 20 Nov 2021, 15:31

                    @aarontheissueguy Just spoke with Xray right now, so open terminal and type:

                    sudo -s
                    sudo mount -o remount,rw /
                    for i in ~/.local/share/applications/waydroid.com.android.calculator2.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.android.camera2.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.android.contacts.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.android.email.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.android.deskclock.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.google.android.dialer.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.android.documentsui.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.com.android.gallery3d.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.org.lineageos.eleven.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.org.lineageos.jelly.desktop; do echo 'NoDisplay=true' >> $i; done$
                    for i in ~/.local/share/applications/waydroid.org.lineageos.recorder.desktop; do echo 'NoDisplay=true' >> $i; done
                    for i in ~/.local/share/applications/waydroid.org.lineageos.etar.desktop; do echo 'NoDisplay=true' >> $i; done
                    clear
                    reboot
                    

                    But not tested from my side!!!! Maybe test one of these commands and check if file is not shown anymore in your launcher. (don't forget to reboot device first)

                    Redmi Note 9S Stable
                    If God has a computer, it must be a GNU/Linux

                    A 1 Reply Last reply 21 Nov 2021, 15:31 Reply Quote 1
                    • ? Offline
                      A Former User @aarontheissueguy
                      last edited by 20 Nov 2021, 15:44

                      @aarontheissueguy Just ssh to your device and copy paste it line by line...

                      A 1 Reply Last reply 20 Nov 2021, 16:19 Reply Quote 1
                      • A Offline
                        aarontheissueguy @Guest
                        last edited by 20 Nov 2021, 16:19

                        @xray2000 Thanks everything except contacts is gone. I think I will write an helper app to make that things discussed in this thread easier for the average user.

                        ? 1 Reply Last reply 20 Nov 2021, 16:45 Reply Quote 1
                        • ? Offline
                          A Former User @aarontheissueguy
                          last edited by A Former User 20 Nov 2021, 16:45

                          @aarontheissueguy I made a mistake with the contacts line i have edit it now and update it.

                          S 1 Reply Last reply 21 Nov 2021, 10:09 Reply Quote 1
                          • S Offline
                            stanwood @Guest
                            last edited by stanwood 21 Nov 2021, 10:09

                            @xray2000 Thank you Rudi. Post 12 updated accordingly.

                            Redmi Note 9S Stable
                            If God has a computer, it must be a GNU/Linux

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              aarontheissueguy @stanwood
                              last edited by aarontheissueguy 21 Nov 2021, 15:31

                              @stanwood I wrote a small app to make this process easier. It shows you all the apps that waydroid installed and lets you hide it by swiping from left to right and show it again by swiping in the other direction.

                              photo_2021-11-21_16-25-36.jpg

                              photo_2021-11-21_16-26-07.jpg

                              make sure to reload the appdrawer after any changes. That means scroll up all the way and swipe down. The changes should have taken effect now.

                              This is very much bodged together but I plan to add more functionality and add it to the openstore eventually.

                              Download: https://cloud.aaron.place/index.php/s/kd8FjCDsSWGTB4T

                              open the click with openstore to install

                              KenedaK S ? D 4 Replies Last reply 21 Nov 2021, 15:43 Reply Quote 3
                              • KenedaK Offline
                                Keneda @aarontheissueguy
                                last edited by 21 Nov 2021, 15:43

                                @aarontheissueguy
                                Why not publishing your app on the Openstore ?

                                2015-2023 : Meizu MX4 ☠️⚰️✝️
                                2023-2024 : Nexus 5 ☠️⚰️✝️
                                2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                🇲🇫🇬🇧

                                A 1 Reply Last reply 21 Nov 2021, 15:46 Reply Quote 0
                                • A Offline
                                  aarontheissueguy @Keneda
                                  last edited by 21 Nov 2021, 15:46

                                  @keneda Not tested much yet. And a few functions I still want to add.

                                  ? 1 Reply Last reply 21 Nov 2021, 18:17 Reply Quote 0
                                  • S Offline
                                    stanwood @aarontheissueguy
                                    last edited by 21 Nov 2021, 16:18

                                    @aarontheissueguy Amazing. Congrats! Hope it will be added to the OpenStore 😉

                                    Redmi Note 9S Stable
                                    If God has a computer, it must be a GNU/Linux

                                    1 Reply Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User @aarontheissueguy
                                      last edited by 21 Nov 2021, 16:37

                                      @aarontheissueguy Wow good nice work indeed !!! 😉

                                      1 Reply Last reply Reply Quote 1
                                      • ? Offline
                                        A Former User @aarontheissueguy
                                        last edited by 21 Nov 2021, 18:17

                                        @aarontheissueguy i just have tested your app works great, do you plan to change the desktop names to apps names like for example Hidden/Unhide Email app i think this would be cleaner for new users....?

                                        A 1 Reply Last reply 21 Nov 2021, 18:22 Reply Quote 0
                                        • A Offline
                                          aarontheissueguy @Guest
                                          last edited by 21 Nov 2021, 18:22

                                          @xray2000 Thats a plan. This will require some more coding though

                                          ? 1 Reply Last reply 21 Nov 2021, 18:29 Reply Quote 0
                                          • ? Offline
                                            A Former User @aarontheissueguy
                                            last edited by 21 Nov 2021, 18:29

                                            @aarontheissueguy Ok cool 😉

                                            A 1 Reply Last reply 22 Nov 2021, 15:51 Reply Quote 0
                                            • First post
                                              Last post