[Oppo A37 Guides, News, & Discussion] Andrz_:
DISCLAIMER

I AM NOT RESPONSIBLE FOR ANY BRICKED PHONE WHEN USING THIS GUIDE.

YOU ARE WILLING TO TAKE THE RISK OF POSSIBLY BRICKING YOUR PHONE WHEN USING THIS GUIDE.

PROCEED WITH CAUTION!

Note:

This method was tested with firmware version Oppo_A37F_EX_11_A.14_161014, not sure if it works in newer version.

You may want to downgrade to firmware version Oppo_A37F_EX_11_A.14_161014 to avoid possible softbrick.

Part 0 - Prerequisites

1. A Windows 7+ Computer.

2. An USB Cable.

3. Installing the Qualcomm HS-USB QDLoader 9008 Driver which can be downloaded here

Part 1 - Unlocking Bootloader

Step 1 - Clone or Download the content of my repository here: A37-BLUnlocker

Step 2 - Open A37-BLUnlocker.cmd from the repository you just cloned/downloaded.

Step 3 - Select option 1, which is dumping your phone devinfo.img

Step 4 - Put your phone into EDL mode.

Step 5 - Type the COM port that your phone is connected to (e.g COM1).

Step 6 - Press enter to start the dumping process.

Step 7 - Once it's done dumping, edit the dumped devinfo.img file accordingly in an Hex Editor:

Set offset 0x10 value to FF.

Set offset 0x18 value to FF.

Step 8 - Now return to the main unlocker menu and select option 2, which is flashing the previously edited devinfo.img.

Step 9 - Type the COM port that your phone is connected to, just like before

Step 10 - Press enter to start the flashing process.

Step 11 - Once the flashing process is done, and you did the entire process correctly, your phone's bootloader should be unlocked!

Part 2 - Flashing TWRP

Step 1 - Open A37-BLUnlocker.cmd just like before.

Step 2 - Select option 3, which is flashing TWRP.

Step 3 - Put your phone into EDL mode.

Step 4 - Type the COM port that your phone is connected to (e.g COM1).

Step 5 - Press enter to start the flashing process.

Step 6 - Once it's done flashing, and you did the entire process correctly, your phone now should have TWRP installed!

Part 3 - Rooting with Magisk

Step 1 - Open A37-BLUnlocker.cmd just like before.

Step 2 - Select option 4, which is dumping the boot.img

Step 3 - Put your phone into EDL mode.

Step 4 - Type the COM port that your phone is connected to (e.g COM1).

Step 5 - Press enter to start the dumping process.

Step 6 - Once it's done dumping, transfer the dumped boot.img to your phone.

Step 7 - Download the Magisk App here, If your phone is still running the stock ROM (Android 5 or older), Download version 25.2, otherwise download the latest version

Step 8 - Install the Magisk App.

Step 9 - Press the install button, and select the patch boot image method.

Step 10 - Select your previously dumped boot.img

Step 11 - Patch the boot image with the Magisk App.

Step 12 - Transfer the patched boot image to your computer (usually located in the Downloads folder).

Step 13 - Select option 5, which is flashing the patched boot.img

Step 14 - Type the COM port that your phone is connected to, just like before.

Step 15 - Type the full path to the patched boot.img, The path must not contain any spaces in it.

Step 16 - Press enter to start the flashing process.

Step 17 - Once the flashing is done, and you did the entire process correctly, your phone will have root access!

Note: When your stock ROM is already rooted, and you switch to a custom ROM, you may need to re-root your phone.

Credits

Naveen Singh - for making BLUnlocker, which A37-BLUnlocker is based on

Meghthedev - for maintaining TWRP for Oppo A37

Correction and Suggestion are Welcome :)