FP4 can install Android 11/12/13 and /e/OS 11/12/13 and PostMarkOS, except Ubuntu Touch
-
@ikoz so how to fix it for this situation? any guidance or command can share for fix it?
-
felt upset,nobody know how to fix it
-
@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.
-
@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.
-
@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. -
@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
-
used ubport-installer install completed, reboot the system, and show error as below:
open the log:
ubuntu_updater.log
-
@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.
-
@liam It's not partitioned correctly for UT.
-
@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. -
@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.
This is fastbootd.
-
@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.
-
use command: .\fastboot.exe getvar all show the partition already there
use delete command,can not delete it and resize it.
-
@liam You were running the Fairphone version of Android 11 before attempting the UT install?
-
@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.
-
@liam the Fairphone 4 stock Android should set the partition sizes correctly.