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

    Snap, Crackle, Pop and Jerk! Readwrite rootfs can be mounted as writable šŸ˜†

    Scheduled Pinned Locked Moved General
    8 Posts 3 Posters 980 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.
      • K Offline
        kugiigi
        last edited by kugiigi

        Hi,
        I'm Kugi and I'm just mimicing this post šŸ˜†
        I'm posting this to introduce a new tool that I DON'T RECOMMEND to anyone but anyone is free to use šŸ˜‚ No seriously, it can be dangerous to your system so it's important that you know what you are doing and know how to reflash in case of breakage.

        Introducing the Jerk Installer!

        What is Jerk?

        No, it's not an offensive word. It's a physics term just like Snap, Crackle and Pop šŸ˜„
        Jerk is a script to easily install and uninstall customization on the system (rootfs). It's mostly only applicable on patches that involve text-based files like QML files. I haven't tested with binaries but maybe in the future?

        What kind of customization?

        Many things! Such as UI changes in Lomiri, new features in the keyboard, and Bluetooth configuration changes. Those are just the ones I came up with but there are more possibilities.

        How do I use it?

        I won't repeat myself here. You can go to the repo and read the....README 😁
        But basically, just download the whole repo, make the jerk script executable and run ./jerk --help. There are sample packages included in the repo.

        Sample Packages

        I've included many packages in the repo that you can try out. These are mostly the customization and experiments I've done in my devices. I highly recommend the package Lomiri_Ubuntu_22.04.tar.gz. 20.04 (focal) transition is taking a really long time to arrive so let's just skip and go straight to the latest Ubuntu šŸ˜‰
        You can run ./jerk describe <packagename> to check what each package does.

        It blocks OTA updates 😱

        Yup, it automatically blocks OTA updates until you uninstall all the packages you installed and/or intentionally unblocks it with ./jerk unblock-ota or reset all components with ./jerk reset all. I made this decision so users can avoid installing OTA updates that can possibly have conflicts with the installed packages. It's a good practice to remove all packages before updating then just reinstall after updating. Jerk will tell you if the package is still compatible or not.

        I wanna create my own package!

        Sure, why not? If you're like me who likes experimenting stuffs and want to share them to others, you can create your own package. Just check the...README šŸ˜„
        For the target component/path, it'll be better to make a PR to create new configuration if it's not present yet so the script is always aware of all the components with installed packages.

        Is it perfect?

        YES! No! Of course no šŸ˜†
        I'm not an expert with bash scripting and the script is a bit simplistic in terms of checking compatibility and no proper way to remember the installed packages. As always, PRs welcome šŸ˜„

        Can I trust you?

        That's up to you šŸ˜‚

        Can I see some screenshots of sample customization/patches?

        NO!
        screenshot20220421_193233923.png

        screenshot20220421_220506624.png

        screenshot20220421_220518713.png

        KenedaK 1 Reply Last reply Reply Quote 5
        • KenedaK Offline
          Keneda @kugiigi
          last edited by

          @kugiigi
          Will you make an app like UTTT to publish on openstore ?

          2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
          2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
          2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
          šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kugiigi @Keneda
            last edited by

            @keneda No, I don't think so.

            KenedaK 1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @kugiigi
              last edited by Keneda

              @kugiigi
              Sad...i guess. šŸ˜ž
              Any tweak is good to take, as they are so little for now in default settings, and adding some in a new app or even improving UTTT would be good for poor linux "simple" users.

              Anyway, thanks for your work šŸ‘

              2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
              2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
              2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
              šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                kugiigi @Keneda
                last edited by

                @keneda Maybe in the future or if someone does it, why not? šŸ˜„. I just think that this is a dangerous process that only people who knows what they're doing should use it especially in its current state. I'm not really skilled with bash šŸ˜† Lastly, I created this for myself and so far I'm contented in how it works and its capabilities.

                KenedaK 1 Reply Last reply Reply Quote 0
                • KenedaK Offline
                  Keneda @kugiigi
                  last edited by Keneda

                  @kugiigi
                  I understand the risks, but hey, you can kill any Ubuntu Touch install with UTTT too lol.
                  Anyway, keep up any work you're willing to do for or share with the community in any form, and thanks again.

                  2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                  2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
                  šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

                  1 Reply Last reply Reply Quote 1
                  • K Offline
                    kugiigi
                    last edited by

                    If anyone is interested, I made a jerk package to enable manual orientation using the rotation lock setting. It can be useful on devices with broken sensors.
                    I've also kinda finalized my notch, punch hole and rounded corner patch. I just need configuration values for other devices. I only have specific for an S10.
                    I'm still undecided where to put these files for sharing though šŸ˜…

                    1 Reply Last reply Reply Quote 1
                    • N Offline
                      nitanmarcel
                      last edited by nitanmarcel

                      Idk. This tool looks like a jerk to me

                      1 Reply Last reply Reply Quote 1
                      • K kugiigi referenced this topic on
                      • First post
                        Last post