In an attempt to get root on my FP2, I followed what appeared to be very simple instructions to install OpenOS. I downloaded fp2-sibon-19.11.2-manual-switcher
, unzipped it and ran the flasher with some unfortunate results:
# ./flash-for-unix.sh
** Fairphone OS 19.11.2 Manual Flashing Script **
WARNING: Flashing this image wipes all user data and settings on the phone.
Validating files...
Validation complete.
One Fairphone 2 in fastboot mode found (serial number: e548b67c).
Are you sure you want to wipe all user data and settings on the phone?
Type "Yes" to continue: Yes
Proceeding to flash the device.
Sending 'rpm' (186 KB) OKAY [ 0.009s]
Writing 'rpm' OKAY [ 0.017s]
Finished. Total time: 0.036s
Sending 'sbl1' (274 KB) OKAY [ 0.012s]
Writing 'sbl1' OKAY [ 0.020s]
Finished. Total time: 0.043s
Sending 'tz' (334 KB) OKAY [ 0.014s]
Writing 'tz' OKAY [ 0.028s]
Finished. Total time: 0.052s
Sending 'modem' (57585 KB) OKAY [ 1.806s]
Writing 'modem' OKAY [ 1.284s]
Finished. Total time: 3.100s
Sending 'splash' (6075 KB) OKAY [ 0.194s]
Writing 'splash' OKAY [ 0.146s]
Finished. Total time: 0.350s
Sending 'aboot' (536 KB) OKAY [ 0.020s]
Writing 'aboot' OKAY [ 0.039s]
Finished. Total time: 0.070s
fastboot: error: Couldn't parse partition size '0x'.
ERROR: Could not flash the boot partition on device e548b67c.
ERROR: Please unplug the phone, take the battery out, boot the device into
ERROR: fastboot mode, plug in the phone, and start this script again.
ERROR: (To get to fastboot mode, press Volume-Down and Power until the)
ERROR: (Fairphone logo appears.)
Aborting now (press Enter to terminate).
At this stage, I still had a working phone, but not a freshly-wiped OpenOS one, so I persisted.
I tried swapping out the cable, but that didn’t work, so I started digging around online and I found that newer versions sometimes require :raw
to be used, so I read though the provided shell script, lifted out the lines that did the flashing and appended :raw
where it seemed appropriate. The output looked promising:
# fastboot flash:raw rpm images/rpm.mbn
creating boot image...
creating boot image - 194560 bytes
Sending 'rpm' (190 KB) OKAY [ 0.009s]
Writing 'rpm' OKAY [ 0.019s]
Finished. Total time: 0.031s
# fastboot flash:raw sbl1 images/sbl1.mbn
creating boot image...
creating boot image - 284672 bytes
Sending 'sbl1' (278 KB) OKAY [ 0.012s]
Writing 'sbl1' OKAY [ 0.020s]
Finished. Total time: 0.036s
# fastboot flash:raw tz images/tz.mbn
creating boot image...
creating boot image - 346112 bytes
Sending 'tz' (338 KB) OKAY [ 0.014s]
Writing 'tz' OKAY [ 0.021s]
Finished. Total time: 0.039s
# fastboot flash:raw modem images/NON-HLOS.bin
creating boot image...
creating boot image - 58970112 bytes
Sending 'modem' (57588 KB) OKAY [ 1.806s]
Writing 'modem' OKAY [ 1.276s]
Finished. Total time: 3.210s
# fastboot flash:raw splash images/splash.img
creating boot image...
creating boot image - 6223872 bytes
Sending 'splash' (6078 KB) OKAY [ 0.194s]
Writing 'splash' OKAY [ 0.152s]
Finished. Total time: 0.366s
# fastboot flash:raw aboot images/emmc_appsboot.mbn
creating boot image...
creating boot image - 552960 bytes
Sending 'aboot' (540 KB) OKAY [ 0.020s]
Writing 'aboot' OKAY [ 0.023s]
Finished. Total time: 0.048s
# fastboot flash:raw boot images/boot.img
Sending 'boot' (11710 KB) OKAY [ 0.370s]
Writing 'boot' OKAY [ 0.279s]
Finished. Total time: 0.670s
# fastboot flash:raw recovery images/recovery.img
Sending 'recovery' (13718 KB) OKAY [ 0.433s]
Writing 'recovery' OKAY [ 0.314s]
Finished. Total time: 0.771s
# fastboot flash:raw system images/system.img
creating boot image...
creating boot image - 667303936 bytes
Sending 'system' (651664 KB) FAILED (remote: 'data too large')
fastboot: error: Command failed
# fastboot flash:raw system images/system.img
creating boot image...
creating boot image - 667303936 bytes
Sending 'system' (651664 KB) FAILED (remote: 'data too large')
fastboot: error: Command failed
# fastboot flash system images/system.img
Sending sparse 'system' 1/2 (510357 KB) OKAY [ 15.993s]
Writing 'system' OKAY [ 16.892s]
Sending sparse 'system' 2/2 (141303 KB) OKAY [ 4.433s]
Writing 'system' OKAY [ 4.774s]
Finished. Total time: 42.134s
# fastboot flash userdata images/userdata.img
Sending 'userdata' (138997 KB) OKAY [ 4.354s]
Writing 'userdata' OKAY [ 3.810s]
Finished. Total time: 8.178s
# fastboot flash cache images/cache.img
Sending 'cache' (12520 KB) OKAY [ 0.396s]
Writing 'cache' OKAY [ 0.340s]
Finished. Total time: 0.746s
# fastboot reboot
The phone went black and never woke up again.
I tried holding down the power button for a few minutes. I tried holding down Volume-Down along with the power button. I tried unplugging and re-pluging it in, and even popping out the battery and putting it back in. It just sits there, all black, mocking me.
What have I done? Can this be undone? Is this a straight-up bricking?