How to root Oppo A5s
Requirements
1. Patched boot.img ()
2. Oppo usb drivers (https://androidfilehost.com/?fid=817550096634801170)
3. Magisk manager (https://magiskmanager.com/downloading-magisk-manager)
4. Platform tools (https://dl.google.com/android/repository/platform-tools-latest-windows.zip)
5. PC
✅ How to root
After unlocking the bootloader using this guide (https://t.me/Magiskme/83) we need to extract the boot.img for your exact firmware from the link given on number 1. Meaning the link embedded in the patched boot.img is not the actual link to download a boot.img rather it is the latest stock rom downloader for Oppo A5s so that anyone could download and extract the stock boot.img from the rom provided! But it is a must thing to make sure that your phone's build is exactly alike with the latest stock rom provided or u must flash this rom before using its boot image as an input for the next guide.
After having the boot.img from the rom we need to patch this image file using magisk manager(3).
1. Make sure you have stable internet connection on the phone.
2. Send the boot.img to internal storage.
3. Install magisk manager
4. Select install on the magisk then don't tick any boxes or if you see one untick it and tap next
5. In the "method" part choose "select and patch a file"
6. browse to the .img file you copied earlier to the phone and give it!
Once the boot.img is patched send the patched_boot.img from internal storage to your pc.
Now download platform tools(4) and extract it. Rename the patched_boot.img to boot.img and copy the file to the root folder of the extracted platform tools!
Finally To flash the image open the platform tools folder then right click on an open space while holding shift key. Click on "open command windows here" and type the following cmd while the phone is connected in bootloader mode!
1. fastboot flash boot boot.img
2. fastboot reboot
Done! Your phone has now a systemless root!
Tip - if you are comfortable with dumping the phone's firmware you can backup the whole firmware using cracked miracle box rather than downloading the latest stock rom. It is way easier and time saving.