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

    Notch Hack won't install

    Scheduled Pinned Locked Moved Fairphone 4
    14 Posts 7 Posters 233 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.
    • K Online
      kristatos @muskist
      last edited by

      @muskist It would be helpful to see the original messages, e.g. with a screenshot. Was there a question about the root-password?
      Alternatively you can use the Lomiri Plus Essentials from the Ambot Installer from the Openstore. With that app you also have support for notches/rounded corners ans so on.

      BQ Aquaris E4.5 (UT 16.04)
      Vollaphone (UT 24.04)
      Vollaphone 22 (UT 24.04)

      M 1 Reply Last reply Reply Quote 1
      • M Offline
        muskist @kristatos
        last edited by

        @kristatos
        Thanks for your reply!

        Ambot Installer won't work either - ("Lomiri Plus Essentials cannot be installed...")

        The script stops when run as root and demands to be run as phablet.

        photo_2026-04-14_23-36-35.jpg

        I'm running 24.04-1.2 stable.

        K A 2 Replies Last reply Reply Quote 0
        • K Online
          kristatos @muskist
          last edited by

          @muskist So the script is running fine and has already downloaded the missing packages. After that, it fails because of missing free space on your device. What does "df -h" show about your space?

          BQ Aquaris E4.5 (UT 16.04)
          Vollaphone (UT 24.04)
          Vollaphone 22 (UT 24.04)

          1 Reply Last reply Reply Quote 0
          • A Offline
            Alex25 @muskist
            last edited by

            @muskist

            I have the same result!

            stanwoodS 1 Reply Last reply Reply Quote 0
            • stanwoodS Offline
              stanwood @Alex25
              last edited by

              @Alex25 For aligning the menu bar with the corners and notches, there’s an app that works quite well:

              https://open-store.io/app/jerk-click.kugiigi

              It works perfectly on my Redmi Note 9S.

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

              A 1 Reply Last reply Reply Quote 1
              • A Offline
                Alex25 @stanwood
                last edited by

                @stanwood This did the trick. Thanks. Probably will help OP as well.

                M 1 Reply Last reply Reply Quote 1
                • M Offline
                  muskist @Alex25
                  last edited by

                  @alex25
                  @stanwood

                  Sadly Kugi's Ambot Installer doesn't work either - see my above post.

                  @kristatos

                  phablet@ubuntu-phablet:~$ df -h
                  Filesystem                          Size  Used Avail Use% Mounted on
                  tmpfs                               749M  4,3M  745M   1% /run
                  /dev/sda11                          218G  2,1G  214G   1% /userdata
                  /dev/mapper/system_a                2,9G  2,9G     0 100% /
                  /dev/loop0                          450M  450M     0 100% /android
                  tmpfs                               3,7G  4,0K  3,7G   1% /etc/fstab
                  tmpfs                               3,7G  8,0K  3,7G   1% /dev/shm
                  tmpfs                               5,0M     0  5,0M   0% /run/lock
                  tmpfs                               3,7G     0  3,7G   0% /media
                  tmpfs                               3,7G   32K  3,7G   1% /tmp
                  tmpfs                               3,7G     0  3,7G   0% /var/lib/sudo
                  /dev/mapper/vendor_a                648M  646M     0 100% /android/vendor
                  /dev/mapper/odm_a                   900K  896K     0 100% /android/odm
                  /dev/sda7                            12M  144K   11M   2% /android/metadata
                  android_mnt                         3,7G     0  3,7G   0% /mnt
                  /dev/sda3                            27M  1,5M   25M   6% /mnt/vendor/persist
                  /dev/sda8                           178M   36K  172M   1% /mnt/vendor/oempersist
                  /dev/sde6                           195M  143M   53M  74% /android/vendor/firmware_mnt
                  /dev/sde11                           59M   16M   43M  27% /android/vendor/dsp
                  /dev/sde7                            64M  896K   64M   2% /android/vendor/bt_firmware
                  android_apex                        3,7G     0  3,7G   0% /android/apex
                  halium-overlay-etc                  2,9G  2,9G     0 100% /android/system/etc
                  halium-overlay-ofono                2,9G  2,9G     0 100% /etc/ofono
                  halium-overlay-conf.d               2,9G  2,9G     0 100% /usr/lib/NetworkManager/conf.d
                  halium-overlay-system               2,9G  2,9G     0 100% /usr/lib/systemd/system
                  workaround-session-migration-mtime  3,7G   32K  3,7G   1% /usr/share/session-migration/scripts
                  tmpfs                               749M  172K  749M   1% /run/user/32011
                  tmpfs                               3,7G     0  3,7G   0% /var/cache/apt/archives
                  tmpfs                               3,7G  285M  3,4G   8% /var/lib/apt/lists
                  

                  Lots of space left - or am I missing something?

                  I added messages to apply-notch-hax.sh in order to see how far it runs. The last message is given before the script tries to run
                  sudo apt update. Therefore I think apt is the problem.

                  K K R 3 Replies Last reply Reply Quote 0
                  • K Online
                    kristatos @muskist
                    last edited by

                    @muskist No, there is no space left, your root-filesystem ("/") is 100% in use, and that's why apt update and/or apt install fails. But I don't know why your root-fs is so small, on my Volla22 it's 7,1G and 2,9G are used, so there is enough space for thing like that.
                    AFAIK the porter of your device has to declare the size of the filesystems.

                    BQ Aquaris E4.5 (UT 16.04)
                    Vollaphone (UT 24.04)
                    Vollaphone 22 (UT 24.04)

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

                      @muskist Try reflashing. Ambot Installer also needs enough space for the packages to installer successfully. I think the notch hack filled up your root when it used apt.

                      M 1 Reply Last reply Reply Quote 0
                      • R Offline
                        RandomUser @muskist
                        last edited by

                        @muskist I had the same problem. I suspect an incomplete install procedure when upgrading from 16.04 to 20.04 because of a boot problem with thr OP6T.

                        I had to reinstall completely so it reformatted. Note that you'll lose all your data.

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

                          @RandomUser said:

                          Note that you'll lose all your data.

                          Did you try first to reinstall without erasing user data, like installer allows to do ?

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

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            muskist @kugiigi
                            last edited by

                            @kugiigi
                            Thanks for your reply!

                            After refleshing I have gained 52 MB on /

                            phablet@ubuntu-phablet:~$ df -h
                            Filesystem                          Size  Used Avail Use% Mounted on
                            tmpfs                               749M  4,3M  745M   1% /run
                            /dev/sda11                          218G  2,1G  214G   1% /userdata
                            /dev/mapper/system_a                2,9G  2,8G   52M  99% /
                            /dev/loop0                          450M  450M     0 100% /android
                            tmpfs                               3,7G  4,0K  3,7G   1% /etc/fstab
                            tmpfs                               3,7G  8,0K  3,7G   1% /dev/shm
                            tmpfs                               5,0M     0  5,0M   0% /run/lock
                            tmpfs                               3,7G     0  3,7G   0% /media
                            tmpfs                               3,7G   28K  3,7G   1% /tmp
                            tmpfs                               3,7G     0  3,7G   0% /var/lib/sudo
                            /dev/mapper/vendor_a                648M  646M     0 100% /android/vendor
                            /dev/mapper/odm_a                   900K  896K     0 100% /android/odm
                            /dev/sda7                            12M  144K   11M   2% /android/metadata
                            android_mnt                         3,7G     0  3,7G   0% /mnt
                            /dev/sda3                            27M  1,5M   25M   6% /mnt/vendor/persist
                            /dev/sda8                           178M   36K  172M   1% /mnt/vendor/oempersist
                            /dev/sde6                           195M  143M   53M  74% /android/vendor/firmware_mnt
                            /dev/sde11                           59M   16M   43M  27% /android/vendor/dsp
                            /dev/sde7                            64M  896K   64M   2% /android/vendor/bt_firmware
                            android_apex                        3,7G     0  3,7G   0% /android/apex
                            halium-overlay-etc                  2,9G  2,8G   52M  99% /android/system/etc
                            halium-overlay-ofono                2,9G  2,8G   52M  99% /etc/ofono
                            halium-overlay-conf.d               2,9G  2,8G   52M  99% /usr/lib/NetworkManager/conf.d
                            halium-overlay-system               2,9G  2,8G   52M  99% /usr/lib/systemd/system
                            workaround-session-migration-mtime  3,7G   28K  3,7G   1% /usr/share/session-migration/scripts
                            tmpfs                               749M  168K  749M   1% /run/user/32011
                            

                            Would you consider that enough to install Ambot Installer or the notch hack?

                            TIA!

                            1 Reply Last reply Reply Quote 0
                            • K Online
                              kristatos
                              last edited by

                              Maybe another FP4-user can check on his device if the root-filesystem is really only 2.9G. It seems to me very small and on my Volla22 it's more than the double of it.

                              BQ Aquaris E4.5 (UT 16.04)
                              Vollaphone (UT 24.04)
                              Vollaphone 22 (UT 24.04)

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post