Skip to content

Fixing bootloader on ColorOS17

YASHASWEE edited this page Nov 20, 2026 · 46 revisions

Caution

Oppo broke fastboot mode on CN devices running COS17. Global (non CN) devices are fine.

Tip

If you are yet to update and planning on unlocking in the future, better unlock and then update to COS17. You can fix the bootloader using this guide and lock it back.

Note

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

Files required:

abl.img and engineering_cdt.img.


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 - KernelSu/Magisk OR GhostLock/other temporary root solution. (You will have to check if your device supports this, unfortunately not many devices support this.)
  • 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