I'm trying to unlock the bootloader/FRP of several Huawei devices. But it is difficult because there is no support from the manufacturer and the oem unlock is not present in the system. So, I have come with the next method:

Since the main partition is formatted with erofs

  • Compile the kernel module (for Linux) to enable support of the partition.
  • Next, dump the whole partition into an image file.
  • Change the format into one editable.
  • Mount an edit the /system/build.prop, to enable oem unlock option.
  • Flash back the edited partition.
  • Try to unlock the FRP/bootloader.

Does this method have viability? Or I'm missing something?

Alternatively, the whole partitions system can be dumped and flashed again, but I can convert the erofs > ext4.

This last one, AFAIK, should pose no problem, but since I'm not too used to android (EMUI8/9/10) well.

  • 1
    So you have root access using an exploit? Because overwise dumping an partition image or flashing something modified is impossible.
    – Robert
    Commented Jan 13, 2022 at 18:04
  • 1
    you can't boot unsigned ROM on locked bootloader, so your idea is pointless. you can try to unlock bootloader by modifying devinfo instead. regarding FRP just wipe frp partition
    – alecxs
    Commented Jan 13, 2022 at 19:31
  • 1
    what is problem with PotatoNV?
    – alecxs
    Commented Jan 13, 2022 at 20:14
  • 1
  • 1
    check the link to alephsecurity.com forum.xda-developers.com/showthread.php?t=4100897
    – alecxs
    Commented Jan 15, 2022 at 7:47


Browse other questions tagged .