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

    Notch Hack won't install

    Scheduled Pinned Locked Moved Solved Fairphone 4
    18 Posts 8 Posters 347 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.
    • 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
              🇲🇫🇬🇧

              R 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!

                K 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)

                  G 1 Reply Last reply Reply Quote 1
                  • G Offline
                    gpatel-fr @kristatos
                    last edited by

                    @kristatos

                    I have a FP5 and the rootfs is 3.1 G

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

                      @muskist Have you done a reflash with bootstrap and wipe userdata? I'm not sure, but afaik with this option your device will be reformatted and there should be enough space for this action after it. But be careful, ALL data on your device will be lost with this reflash, so be sure to have a backup of the data you wan't to keep.

                      As an other option you could try to free a bit of space, maybe it's enough to complete the notch hax. Try these commands:

                      sudo mount -o remount,rw /
                      sudo apt clean
                      sudo apt autopurge
                      sudo mount -o remount,ro /
                      

                      After that check your space again with "df -h"

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

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

                        @Keneda said:

                        @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 ?

                        Yes, but that wasn't enough. It needed a reformat.

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

                          Apparently @kugiigi was right in his assumption that the notch hack filled up / .

                          Reflashing freed 52 MB in / .

                          That turned out to be sufficient to install Kugi's Ambot Installer which is a great tool!

                          Everything's fine and I'm happy with the result.

                          Thanks to everyone!

                          1 Reply Last reply Reply Quote 0
                          • M muskist marked this topic as a question
                          • M muskist has marked this topic as solved

                          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