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
    22 Posts 4 Posters 563 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 so how to fix it for this situation? any guidance or command can share for fix it?

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

          felt upset,nobody know how to fix it

          KenedaK ikozI 2 Replies Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @liam
            last edited by Keneda

            @liam
            I'm really not an expert.
            But from your log, from the beginning there is an error:

            ERROR: Failed to detect compatible download-mode device.","code":1},"stderr":"ERROR: Failed to detect compatible download-mode device."}
            

            Which can refer to not being able to use the communication line properly between pc and phone.
            Or device not in proper mode (fastboot ?)

            Then, some line after that :

            debug: attempting to handle Error: no device
            

            That can be lot of things, device really not in "downlode mode", or maybe a bug or problem with usb port or cable, or driver.

            Try changing port, cable, or even use another version of the installer, or update drivers.

            Again, I'm really not an expert, just a normal user with some experience having problems installing on a device.

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

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

              @liam I have already told you to check if the super partition contains system_ext_a (you can do that by running lsblk while in recovery). If not, skip that command and continue the installation manually.

              May the source be with you

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

                @Keneda thanks your advises, actually I have already tried difference version OS system, even touch version and ubports-installer version,and also change difference cables, but still can not work, show the same error.
                Actually the first time when I got this phone, it can install ubuntu touch successfully, but I used the "parted" changed the 'userdata' partition, after that it can not install ubuntu touch, but install Android 11/12/13 and /e/OS 11/12/13 and PostMarkOS works well, I have no idea, I think it should be partition broken, but I tried many method for fix it still can not work.

                1 Reply Last reply Reply Quote 0
                • 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...

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