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

    FP4 can install Android 11/12/13 and /e/OS 11/12/13 and PostMarkOS, except Ubuntu Touch

    Scheduled Pinned Locked Moved Fairphone 4
    24 Posts 4 Posters 699 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.
      • L Offline
        liam @ikoz
        last edited by

        @ikoz I have tried install by manual and run the command one by one as below, but when run the partition part, it showed the same error as mention before. after run all the step, still can not work. or do you have any step for install it by manual?
        command:
        .\fastboot.exe reboot bootloader

        .\fastboot.exe getvar current-slot
        .\fastboot.exe set_active a

        .\fastboot.exe flash boot .\boot.img
        .\fastboot.exe flash dtbo .\dtbo.img
        .\fastboot.exe flash recovery .\recovery.img

        .\fastboot.exe reboot fastboot

        below partition command all run failed:
        .\fastboot.exe delete-logical-partition system_ext_a
        .\fastboot.exe delete-logical-partition system_ext_b
        .\fastboot.exe delete-logical-partition product_a
        .\fastboot.exe delete-logical-partition product_b
        .\fastboot.exe delete-logical-partition system_b
        .\fastboot.exe delete-logical-partition vendor_b
        .\fastboot.exe delete-logical-partition odm_b
        .\fastboot.exe resize-logical-partition system_a 30G

        .\fastboot.exe reboot bootloader
        .\fastboot.exe erase userdata
        .\fastboot.exe format:ext4 userdata

        .\fastboot.exe reboot recovery

        L MrT10001M 2 Replies Last reply Reply Quote 0
        • L Offline
          liam @liam
          last edited by

          used ubport-installer install completed, reboot the system, and show error as below:
          b8f86b57-73af-43e0-85c2-1ed4041e5d6b-image.png

          open the log:
          ubuntu_updater.log
          034de409-1105-450a-9581-66a4386e2e13-image.png

          MrT10001M 1 Reply Last reply Reply Quote 0
          • MrT10001M Offline
            MrT10001 @liam
            last edited by MrT10001

            @liam When it reboots ./fastboot.exe reboot fastboot does it reboot into fastbootd (I have made it bold as it is slightly different from fastboot) which allows access to manipulate the system partition. Windows will sometime have issues with either rebooting to fastbootd or doing things within it. If these issues arise, I use another version of Android Platform Tools or even better switch to my Linux machine (Ubuntu).

            Just to edit, it takes longer to boot to fastbootd so be patient.

            Xiaomi Redmi Note 7.... And more...
            I have too many devices...

            L 1 Reply Last reply Reply Quote 0
            • MrT10001M Offline
              MrT10001 @liam
              last edited by

              @liam It's not partitioned correctly for UT.

              Xiaomi Redmi Note 7.... And more...
              I have too many devices...

              1 Reply Last reply Reply Quote 0
              • L Offline
                liam @MrT10001
                last edited by

                @MrT10001 I have some confusing, from my understanding, it should reboot to fastbootd mode when you edit the partition, right?
                and PF4 have 3 mode such like 'bootloader' ,'recovery' and 'fastbootd' mode, 'bootloader' mode is 'fastboot' mode from my understanding,right?
                so you mean, I need to switch to linux and use ubport-installer to install the UT will work, if like that i will try it. Anyway that should be partition problem,I need to find the way to fix the partition.

                MrT10001M 1 Reply Last reply Reply Quote 0
                • MrT10001M Offline
                  MrT10001 @liam
                  last edited by

                  @liam You are missing the point.

                  ./fastboot reboot fastboot

                  will put you into fastbootd which will enable resizing of the system partition. You cannot do this in fastboot or recovery.

                  Windows sometimes has an issue working with fastbootd therefore a workaround for windows users is to try a Linux system where it works better with fastbootd.
                  fastbootd.jpeg

                  This is fastbootd.

                  Xiaomi Redmi Note 7.... And more...
                  I have too many devices...

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    liam @MrT10001
                    last edited by

                    @MrT10001 yes, I knew it. I already have this command on my step, and it also works and reboot as your screen capture, but it still have error message when use the partition command,can not edit the partition.

                    eac0ac36-e858-4989-a871-c101fb4cc8d2-image.png

                    934d01f4-0abc-40aa-9575-bde54dfa3e41-image.png

                    L MrT10001M 2 Replies Last reply Reply Quote 0
                    • L Offline
                      liam @liam
                      last edited by

                      use command: .\fastboot.exe getvar all show the partition already there
                      948aed6a-8742-41c4-8c6a-c034b119519c-image.png

                      use delete command,can not delete it and resize it.
                      f467244b-726d-4c59-9628-9f9a887bc45e-image.png
                      8320c433-1a77-4ee0-b785-03c71eea9aa3-image.png

                      1 Reply Last reply Reply Quote 0
                      • MrT10001M Offline
                        MrT10001 @liam
                        last edited by

                        @liam You were running the Fairphone version of Android 11 before attempting the UT install?

                        Xiaomi Redmi Note 7.... And more...
                        I have too many devices...

                        L 1 Reply Last reply Reply Quote 0
                        • L Offline
                          liam @MrT10001
                          last edited by

                          @MrT10001 yes, I already installed the Android 11 before tried UT installation. install UT failed and I go back install Android 11 again then tried install UT again, again and again failed.

                          MrT10001M 1 Reply Last reply Reply Quote 0
                          • MrT10001M Offline
                            MrT10001 @liam
                            last edited by

                            @liam the Fairphone 4 stock Android should set the partition sizes correctly.

                            Xiaomi Redmi Note 7.... And more...
                            I have too many devices...

                            L 1 Reply Last reply Reply Quote 0
                            • L Offline
                              liam @MrT10001
                              last edited by

                              @MrT10001 I have followed below guidance install Android 11, I really have no idea which step have problem, why can not install UT still show the same error.

                              https://support.fairphone.com/hc/en-us/articles/18896094650513-How-to-manually-install-Android-on-your-Fairphone

                              MrT10001M 1 Reply Last reply Reply Quote 0
                              • MrT10001M Offline
                                MrT10001 @liam
                                last edited by

                                @liam I see you are using Windows (fastboot.exe). Put the platform tools folder on your desktop along with the UT installer and run fastboot commands from there. Also you can try an older version of platform-tools to rule that issue out.

                                Xiaomi Redmi Note 7.... And more...
                                I have too many devices...

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