# Trapped in fastboot mode with locked bootloader and corrupted custom ROM

**URL:** <https://forum.fairphone.com/t/trapped-in-fastboot-mode-with-locked-bootloader-and-corrupted-custom-rom/80985>\
**Category:** Fairphone 4\
**Tags:** bricked, fastboot, bootissues, eos-murena\
**Created:** [January 19, 2022, 10:15am UTC](https://forum.fairphone.com/t/trapped-in-fastboot-mode-with-locked-bootloader-and-corrupted-custom-rom/80985 "2022-01-19T10:15:03Z")\
**Posts on this page:** 1\
**Showing post:** 227

<div class="post-metadata">

**Author:** ![rugk](https://forum.fairphone.com/user_avatar/forum.fairphone.com/rugk/32/17216_2.png) [@rugk](https://forum.fairphone.com/u/rugk)\
**Post date:** [September 12, 2022, 6:03pm UTC](https://forum.fairphone.com/t/trapped-in-fastboot-mode-with-locked-bootloader-and-corrupted-custom-rom/80985/227 "2022-09-12T18:03:59Z")

</div>

Okay so, followed [the latest forum guide here](https://forum.fairphone.com/t/howto-install-calyx-os-on-fp4/84792/45), respectively [the official FP guide](https://support.fairphone.com/hc/en-us/articles/4405858258961) i.e. including `fastboot flashing unlock_critical` to flash CalyxOS.

**From/old ROM:** Stock FP4 ROM (OTA-updated to the one with patch level July or so, should be [`FP4.FP40.A.142.20220628`](https://forum.fairphone.com/t/software-update-fp4-fp40-a-142-20220628/86594)).  
**To/new ROM:** CalyxOS 3.9.0, i.e. [SQ3A.220705.003.A1.22309000](https://release.calyxinstitute.org/FP4-factory-22309000.zip)

using fastboot v33.0.3-8952118.  
Given that these are quite recent versions, but it is a version upgrade (i.e. not using [the version released some minutes ago](https://forum.fairphone.com/t/software-update-fp4-fp4d-a-163-20220826/88681) for which CalyxOS has no version yet.), I felt quite safe.

So the log while flashing also looked successful:

> **Flash log**
>
> ```auto
> Sending 'abl_a' (148 KB) OKAY [0.006s]
> Writing 'abl_a' OKAY [0.034s]
> Finished. Total time: 0.048s
> Sending 'abl_b' (148 KB) OKAY [0.006s]
> Writing 'abl_b' OKAY [0.003s]
> Finished. Total time: 0.015s
> Sending 'aop_a' (176 KB) OKAY [0.008s]
> Writing 'aop_a' OKAY [0.002s]
> Finished. Total time: 0.018s
> Sending 'aop_b' (176 KB) OKAY [0.008s]
> Writing 'aop_b' OKAY [0.003s]
> Finished. Total time: 0.017s
> Sending 'bluetooth_a' (940 KB) OKAY [0.036s]
> Writing 'bluetooth_a' OKAY [0.004s]
> Finished. Total time: 0.049s
> Sending 'bluetooth_b' (940 KB) OKAY [0.026s]
> Writing 'bluetooth_b' OKAY [0.004s]
> Finished. Total time: 0.037s
> Sending 'core_nhlos_a' (108492 KB) OKAY [2.876s]
> Writing 'core_nhlos_a' OKAY [0.287s]
> Finished. Total time: 3.172s
> Sending 'core_nhlos_b' (108492 KB) OKAY [3.132s]
> Writing 'core_nhlos_b' OKAY [0.258s]
> Finished. Total time: 3.398s
> Sending 'devcfg_a' (44 KB) OKAY [0.009s]
> Writing 'devcfg_a' OKAY [0.001s]
> Finished. Total time: 0.018s
> Sending 'devcfg_b' (44 KB) OKAY [0.008s]
> Writing 'devcfg_b' OKAY [0.001s]
> Finished. Total time: 0.016s
> Sending 'dsp_a' (65536 KB) OKAY [1.719s]
> Writing 'dsp_a' OKAY [0.142s]
> Finished. Total time: 1.869s
> Sending 'dsp_b' (65536 KB) OKAY [2.280s]
> Writing 'dsp_b' OKAY [0.149s]
> Finished. Total time: 2.436s
> Sending 'featenabler_a' (88 KB) OKAY [0.013s]
> Writing 'featenabler_a' OKAY [0.002s]
> Finished. Total time: 0.023s
> Sending 'featenabler_b' (88 KB) OKAY [0.007s]
> Writing 'featenabler_b' OKAY [0.003s]
> Finished. Total time: 0.017s
> Sending 'hyp_a' (396 KB) OKAY [0.017s]
> Writing 'hyp_a' OKAY [0.003s]
> Finished. Total time: 0.028s
> Sending 'hyp_b' (396 KB) OKAY [0.017s]
> Writing 'hyp_b' OKAY [0.003s]
> Finished. Total time: 0.027s
> Sending 'imagefv_a' (524 KB) OKAY [0.026s]
> Writing 'imagefv_a' OKAY [0.003s]
> Finished. Total time: 0.037s
> Sending 'imagefv_b' (524 KB) OKAY [0.027s]
> Writing 'imagefv_b' OKAY [0.003s]
> Finished. Total time: 0.037s
> Sending 'keymaster_a' (240 KB) OKAY [0.016s]
> Writing 'keymaster_a' OKAY [0.003s]
> Finished. Total time: 0.027s
> Sending 'keymaster_b' (240 KB) OKAY [0.007s]
> Writing 'keymaster_b' OKAY [0.003s]
> Finished. Total time: 0.017s
> Sending 'modem_a' (146332 KB) OKAY [3.878s]
> Writing 'modem_a' OKAY [0.346s]
> Finished. Total time: 4.231s
> Sending 'modem_b' (146332 KB) OKAY [3.929s]
> Writing 'modem_b' OKAY [0.343s]
> Finished. Total time: 4.279s
> Sending 'multiimgoem_a' (16 KB) OKAY [0.009s]
> Writing 'multiimgoem_a' OKAY [0.001s]
> Finished. Total time: 0.018s
> Sending 'multiimgoem_b' (16 KB) OKAY [0.009s]
> Writing 'multiimgoem_b' OKAY [0.001s]
> Finished. Total time: 0.017s
> Sending 'qupfw_a' (56 KB) OKAY [0.009s]
> Writing 'qupfw_a' OKAY [0.001s]
> Finished. Total time: 0.017s
> Sending 'qupfw_b' (56 KB) OKAY [0.011s]
> Writing 'qupfw_b' OKAY [0.001s]
> Finished. Total time: 0.028s
> Sending 'tz_a' (2944 KB) OKAY [0.109s]
> Writing 'tz_a' OKAY [0.008s]
> Finished. Total time: 0.124s
> Sending 'tz_b' (2944 KB) OKAY [0.112s]
> Writing 'tz_b' OKAY [0.008s]
> Finished. Total time: 0.127s
> Sending 'uefisecapp_a' (124 KB) OKAY [0.010s]
> Writing 'uefisecapp_a' OKAY [0.002s]
> Finished. Total time: 0.021s
> Sending 'uefisecapp_b' (124 KB) OKAY [0.007s]
> Writing 'uefisecapp_b' OKAY [0.002s]
> Finished. Total time: 0.017s
> Sending 'xbl_a' (3300 KB) OKAY [0.098s]
> Writing 'xbl_a' OKAY [0.011s]
> Finished. Total time: 0.116s
> Sending 'xbl_b' (3300 KB) OKAY [0.109s]
> Writing 'xbl_b' OKAY [0.008s]
> Finished. Total time: 0.124s
> Sending 'xbl_config_a' (96 KB) OKAY [0.011s]
> Writing 'xbl_config_a' OKAY [0.002s]
> Finished. Total time: 0.021s
> Sending 'xbl_config_b' (96 KB) OKAY [0.010s]
> Writing 'xbl_config_b' OKAY [0.002s]
> Finished. Total time: 0.028s
> Sending 'frp' (512 KB) OKAY [0.017s]
> Writing 'frp' OKAY [0.003s]
> Finished. Total time: 0.028s
> Sending 'devinfo' (4 KB) OKAY [0.007s]
> Writing 'devinfo' OKAY [0.001s]
> Finished. Total time: 0.015s
> Erasing 'misc' OKAY [0.012s]
> Finished. Total time: 0.017s
> Erasing 'modemst1' OKAY [0.014s]
> Finished. Total time: 0.018s
> Erasing 'modemst2' OKAY [0.013s]
> Finished. Total time: 0.017s
> Setting current slot to 'a' OKAY [0.026s]
> Finished. Total time: 0.028s
> Rebooting into bootloader OKAY [0.001s]
> Finished. Total time: 0.201s
> < waiting for any device >
> Erasing 'avb_custom_key' OKAY [0.014s]
> Finished. Total time: 0.020s
> Sending 'avb_custom_key' (1 KB) OKAY [0.008s]
> Writing 'avb_custom_key' OKAY [0.011s]
> Finished. Total time: 0.028s
> --------------------------------------------
> Bootloader Version...: 
> Baseband Version.....: 
> Serial Number........: eb077c0a
> --------------------------------------------
> extracting android-info.txt (0 MB) to RAM...
> Checking 'product' OKAY [0.002s]
> Setting current slot to 'a' OKAY [0.003s]
> extracting boot.img (96 MB) to disk... took 0.291s
> archive does not contain 'boot.sig'
> Sending 'boot_a' (98304 KB) OKAY [2.601s]
> Writing 'boot_a' OKAY [0.264s]
> archive does not contain 'init_boot.img'
> extracting dtbo.img (24 MB) to disk... took 0.088s
> archive does not contain 'dtbo.sig'
> Sending 'dtbo' (24576 KB) OKAY [0.638s]
> Writing 'dtbo' OKAY [0.062s]
> archive does not contain 'dt.img'
> archive does not contain 'pvmfw.img'
> extracting recovery.img (96 MB) to disk... took 0.293s
> archive does not contain 'recovery.sig'
> Sending 'recovery' (98304 KB) OKAY [2.582s]
> Writing 'recovery' OKAY [0.233s]
> extracting vbmeta.img (0 MB) to disk... took 0.000s
> archive does not contain 'vbmeta.sig'
> Sending 'vbmeta' (8 KB) OKAY [0.008s]
> Writing 'vbmeta' OKAY [0.003s]
> extracting vbmeta_system.img (0 MB) to disk... took 0.000s
> archive does not contain 'vbmeta_system.sig'
> Sending 'vbmeta_system' (4 KB) OKAY [0.002s]
> Writing 'vbmeta_system' OKAY [0.003s]
> archive does not contain 'vbmeta_vendor.img'
> archive does not contain 'vendor_boot.img'
> archive does not contain 'vendor_kernel_boot.img'
> extracting super_empty.img (0 MB) to disk... took 0.000s
> Rebooting into fastboot OKAY [0.001s]
> < waiting for any device >
> Sending 'super' (4 KB) OKAY [0.001s]
> Updating super partition OKAY [0.007s]
> Resizing 'odm_a' OKAY [0.004s]
> Resizing 'product_a' OKAY [0.004s]
> Resizing 'system_a' OKAY [0.004s]
> Resizing 'system_ext_a' OKAY [0.004s]
> Resizing 'system_b' OKAY [0.004s]
> Resizing 'vendor_a' OKAY [0.004s]
> Resizing 'vendor_b' OKAY [0.004s]
> archive does not contain 'boot_other.img'
> extracting odm.img (1 MB) to disk... took 0.009s
> archive does not contain 'odm.sig'
> Resizing 'odm_a' OKAY [0.004s]
> Sending 'odm_a' (1052 KB) OKAY [0.032s]
> Writing 'odm_a' OKAY [0.051s]
> archive does not contain 'odm_dlkm.img'
> extracting product.img (1081 MB) to disk... took 3.173s
> archive does not contain 'product.sig'
> Resizing 'product_a' OKAY [0.004s]
> Sending sparse 'product_a' 1/5 (262140 KB) OKAY [8.212s]
> Writing 'product_a' OKAY [0.955s]
> Sending sparse 'product_a' 2/5 (262140 KB) OKAY [8.135s]
> Writing 'product_a' OKAY [1.045s]
> Sending sparse 'product_a' 3/5 (262140 KB) OKAY [8.204s]
> Writing 'product_a' OKAY [0.972s]
> Sending sparse 'product_a' 4/5 (262140 KB) OKAY [8.424s]
> Writing 'product_a' OKAY [0.936s]
> Sending sparse 'product_a' 5/5 (58488 KB) OKAY [1.549s]
> Writing 'product_a' OKAY [0.260s]
> extracting system.img (853 MB) to disk... took 2.915s
> archive does not contain 'system.sig'
> Resizing 'system_a' OKAY [0.005s]
> Sending sparse 'system_a' 1/4 (262140 KB) OKAY [8.148s]
> Writing 'system_a' OKAY [0.945s]
> Sending sparse 'system_a' 2/4 (262140 KB) OKAY [7.970s]
> Writing 'system_a' OKAY [1.025s]
> Sending sparse 'system_a' 3/4 (262140 KB) OKAY [8.351s]
> Writing 'system_a' OKAY [0.913s]
> Sending sparse 'system_a' 4/4 (87672 KB) OKAY [2.365s]
> Writing 'system_a' OKAY [0.407s]
> archive does not contain 'system_dlkm.img'
> extracting system_ext.img (222 MB) to disk... took 0.703s
> archive does not contain 'system_ext.sig'
> Resizing 'system_ext_a' OKAY [0.004s]
> Sending 'system_ext_a' (227956 KB) OKAY [6.225s]
> Writing 'system_ext_a' OKAY [0.817s]
> archive does not contain 'system_other.img'
> extracting vendor.img (420 MB) to disk... took 1.397s
> archive does not contain 'vendor.sig'
> Resizing 'vendor_a' OKAY [0.004s]
> Sending sparse 'vendor_a' 1/2 (262140 KB) OKAY [8.205s]
> Writing 'vendor_a' OKAY [0.940s]
> Sending sparse 'vendor_a' 2/2 (168668 KB) OKAY [5.369s]
> Writing 'vendor_a' OKAY [0.611s]
> archive does not contain 'vendor_dlkm.img'
> archive does not contain 'vendor_other.img'
> Finished. Total time: 125.886s
> Rebooting into bootloader OKAY [0.001s]
> Finished. Total time: 0.051s
> 
> ```

Now the only issue is the “OEM unlock” thingy. As others reported it is indeed:

- greyed out, i.e. not toggable
- the toggle is at the left, i.e. at OFF state
- however, what no one reported so far, it says “Bootloader is already unlocked”.

Screenshot (German language):

 ![oemunlock](https://forum.fairphone.com/uploads/default/original/3X/9/9/996dc7b29c2a805846186c72070bd298bd5575c4.jpeg)

Screenshot (English):

 ![oemunlock_en](https://forum.fairphone.com/uploads/default/original/3X/d/5/d569e229f9505fa75208e348664a349f50dab183.jpeg)

The last sentence is quite good and true. I just wondered whether that is good or bad now.

So I booted into recovery again and unfortunately, the magic variable there says nope ☹ :

```auto
$ fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 0
OKAY [0.001s]
Finished. Total time: 0.001s

```

So of course, **I did _not_ lock the bootloader**.  
So what should I do now? Wait for a CalyxOS to fix this (if they can?), reflash CalyxOS? Revert to Stock ROM?

---

_[View the full topic](https://forum.fairphone.com/t/trapped-in-fastboot-mode-with-locked-bootloader-and-corrupted-custom-rom/80985)._
