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

    Install-Uninstall scripts with Single Command

    Scheduled Pinned Locked Moved General
    5 Posts 3 Posters 602 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.
      • Br1B Offline
        Br1
        last edited by

        Using a shell script that can be easily performed from terminal app (single command) you can install or uninstall all the scripts required by the feature we want to add to our os, I’ve already created one for record calls, soon I’ll make one for block unwanted calls, and for change DNS servers, I'll refer to this topic for details.

        To use these shell scripts two steps and, of course, one command :

        • first, use morph browser to download (just tap the given link) archive.tar.gz containing scripts

        • second, open file manager, go to Downloads tap archive.tar.gz and "Extract archive"

        • and finally open terminal and run the given command

        it will ask you to choose :

        type 1 to install
        type 2 to uninstall
        type 3 to exit

        to uninstall app just rerun command and type 2, that's all.

        ! Remember to rerun it to uninstall before OTA update !

        • After OTA update I will check if it still works and confirm it, otherwise I will try to fix it.

        • I will show a preview of each script and I will explain how it works

        • Scripts contain comments to explain the code (any text after a hash sign '#')

        • Scripts use only already installed programs (no apt)

        ^

        • Google Pixel 3a XL
        • Xiaomi MI A2
        1 Reply Last reply Reply Quote 1
        • Br1B Br1 referenced this topic on
        • Br1B Br1 referenced this topic on
        • Br1B Br1 referenced this topic on
        • Br1B Offline
          Br1
          last edited by

          • edit 31/08/2023
            My scripts have been tested on the stable channel , I can’t guarantee they’ll work on other channels, use them at your own risk.

          • short installation video :
            https://www.spacelinux.it/video/installing-callrec.mp4

          ^

          • Google Pixel 3a XL
          • Xiaomi MI A2
          KenedaK 1 Reply Last reply Reply Quote 2
          • KenedaK Offline
            Keneda @Br1
            last edited by

            @Br1

            I'm sure an app on the store would get soooooooo much love.
            I know, I know, I repeat myself 😅
            Thanks for your work.

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

            1 Reply Last reply Reply Quote 1
            • Br1B Offline
              Br1
              last edited by

              OTA 5 test, blacklist, callrecorder, and change dns servers, all the scripts have been tested and are working fine.

              I don't know if I'll have time to test them again for future updates, use them at your own risk, a wrong dns configuration and your os might become unusable.

              I suggest to make a total backup before proceeding.

              ^

              • Google Pixel 3a XL
              • Xiaomi MI A2
              D 1 Reply Last reply Reply Quote 1
              • D Offline
                domubpkm @Br1
                last edited by domubpkm

                @Br1 Yes, i confirm, dns changer is ok with ota-5. I tested that just after the update to OTA-5.

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