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

    Tip - UT Launcher App Removal Script

    Scheduled Pinned Locked Moved Waydroid
    3 Posts 3 Posters 916 Views 1 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.
      • J Offline
        joshndroid
        last edited by joshndroid

        Waydroid is great but it creates some pointless default launcher apps that not everyone wants.

        To combat this you can go into ./local/share/applications/ directory and delete the waydroid ones (except the default waydroid.desktop or you potentially wont be able to get into waydroid at all).

        That can be annoying and time consuming, so why not do all of them or select ones as a script

        create a UTLauncher-waydroid-app-remover.sh script and ensure it has;
        chmod +x to allow it to be executed.

        Don't forget to make sure you have mounted your system to rw

        sudo mount -o remount,rw /
        

        Contents of the script;

        #Ubuntu Touch Launcher Android App Remover Script
        cd ~/.local/share/applications
        rm waydroid.com.android.calculator2.desktop #AOSP calculator
        rm waydroid.com.android.camera2.desktop #AOSP camera
        rm waydroid.com.android.contacts.desktop #AOSP contacts
        rm waydroid.com.android.deskclock.desktop #AOSP clock
        rm waydroid.com.android.documentsui.desktop #AOSP file browser application
        rm waydroid.com.android.email.desktop #AOSP email
        rm waydroid.com.android.gallery3d.desktop #AOSP gallery
        rm waydroid.com.android.inputmethod.latin.desktop #AOSP keyboard
        rm waydroid.com.android.settings.desktop #AOSP android settings
        rm waydroid.org.lineageos.eleven.desktop #lineage music player
        rm waydroid.org.lineageos.etar.desktop #lineage calendar
        rm waydroid.org.lineageos.jelly.desktop #lineage web browser
        rm waydroid.org.lineageos.recorder.desktop #lineage recording application
        exit
        

        That there will delete everything.. you will want to most likely modify it to suit your needs which can be done by placing a # at the start of the line or deleting that particular line altogether. You can add further ones to it as well if you have a typical setup in waydroid so if you need to reinstall waydroid for whatever reason you have a script ready to run.

        These commands are device agnostic and should work on any UT device... I only have a Pixel 3a XL to test these on.

        KenedaK 1 Reply Last reply Reply Quote 0
        • KenedaK Keneda moved this topic from Google Pixel 3a/3a XL on
        • KenedaK Offline
          Keneda @joshndroid
          last edited by Keneda

          @joshndroid said in Tip - UT Launcher App Removal Script:

          These commands are device agnostic and should work on any UT device... I only have a Pixel 3a XL to test these on.

          So i moved to waydroid forum.

          One question though, doesn't waydroid helper allow to do this ? Or unlike your proposal, it just hide apps user don't want ? (edit : ok just checked on openstore and helper indeed just hide, and not erase, apps user don't want)

          Anyway, thanks for your contributions.
          Edit : maybe you could propose this to be added to waydroid helper ?

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

          1 Reply Last reply Reply Quote 0
          • K Offline
            koenvervloesem
            last edited by

            On my Volla Phone X running OTA-23 (Halium 10 based) the files referred to in the following commands:

            rm waydroid.org.lineageos.eleven.desktop #lineage music player
            rm waydroid.org.lineageos.etar.desktop #lineage calendar
            rm waydroid.org.lineageos.jelly.desktop #lineage web browser
            rm waydroid.org.lineageos.recorder.desktop #lineage recording application
            

            did exist. But after deleting them, these four apps still were shown in the launcher. However, the following commands with slightly different file names did remove the apps in the launcher:

            rm org.lineageos.eleven.desktop #lineage music player
            rm org.lineageos.etar.desktop #lineage calendar
            rm org.lineageos.jelly.desktop #lineage web browser
            rm org.lineageos.recorder.desktop #lineage recording application
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post