Skip to content

Fixing bootloader on ColorOS17

YASHASWEE edited this page Oct 31, 2026 · 46 revisions

Important

Oppo has broken fastboot mode on CN devices running COS17, global (non CN) devices are fine.

Tip

If you are yet to update and want to keep bootloader unlocked, better unlock and then update to COS17.

Note

If you don't have an unlocked bootloader, and already on COS17 CN refer Option #2.

Perquisite:

  1. You had unlocked bootloader, before updating to COS17.
  2. abl.img and engineering_cdt.img. You need to extract these from the last stable version that had fastboot mode working.

https://roms.danielspringer.at/index.php?view=ota#ota-downloader

  • Go to above link.
  • Select device, last OOS/COS16 version.
  • Hit "Resolve OTA link"
  • Scroll down, select the above mentioned img in the dropdown and "download image"

Option #1: Using fastbootD and PC:

Steps:

  1. Reboot your phone in fastbootD using adb, by using
    adb reboot fastboot

  2. Flash the img files, one by one

  • fastboot flash abl <drag-&-drop-img-file>
  • fastboot flash engineering_cdt <drag-&-drop-img-file>
    alt
  1. fastboot reboot

Result:

alt


Option#2: Using only phone and root.

Requirements:

  • Root access - GhostLock (You will have to check if your device supports this) or KernelSu/Magisk
  • Termux

Steps:

  1. Identify the active slot and make a note of whether it is _a or _b. Run the following commands in Termux:
  • su
  • getprop ro.boot.slot_suffix
  1. Rename the .img files as per your active slot by removing .img and adding _a/_b. So the files become, abl_a or abl_b and engineering_cdt_a or engineering_cdt_b.
  2. Move the files to /sdcard/.
  3. Flash the files using following commands, one by one

Important

Replace _* with _a/_b (as per Step 1) while running commands.

  • su
  • blockdev --setrw /dev/block/by-name/abl_*
  • blockdev --setrw /dev/block/by-name/engineering_cdt_*
  • dd if=/sdcard/abl.img of=/dev/block/by-name/abl_* bs=4M conv=fsync
  • dd if=/sdcard/engineering_cdt.img of=/dev/block/by-name/engineering_cdt_* bs=4M conv=fsync
  • sync
  • reboot bootloader

Credits:

  • 你的救星9008
  • And other people who confirmed this is working.

Clone this wiki locally