Rooting is the way to obtain Supersu Right’s on a Android device, that means after Rooting the Phone you have (sudo) full Right to perform any system task.after rooting the phone you can replace any system app & settings, you can run any specialized app that require administrator or sudo right.. if you own a android smartphone and want to root it then you can do it by following below Instructions..
How to Root Android Without PC:
- Download kingroot app from here https://www.kingoapp.com/
- Install downloaded file on your phone
- open the tool and follow on screen Instructions, once done reboot.. your phone successfully rooted..
How to Root Android With PC:
- this method require unlocked bootloader so we follow this guide to unlock bootloader on our device
- once bootloader is unlocked we collect stock boot.img (must use boot.img from installed firmware version) we can collect it from firmware or dump you can use rom2box program to dump boot.img from your phone
- Now we Move boot.bin or boot_a.bin (rename it boot.img) from ROM2box/out or firmware folder to phone
- on Phone Install Magisk Manager
- run magisk manager, Select Install, Patch file, locate boot.img and wait for success
- Move patched_boot.img it to computer, Platform tools folder
- copy empty vbmeta to patched boot folder
- reboot phone to fastboot mod (volume down & power Key) and & connect it PC using the usb cable
- Open CMD on the patched boot folder & send below code
fastboot set_active a
- avoid any slot error & send
fastboot flash boot 'patched filename'
- now you can see output, if the device support slot patched boot flashed to boot_a & if not support slot then it’s flashed to default boot partition, repeat the process and write it to boot_b
fastboot set_active b fastboot flash boot 'patched filename'
- now flash patched vbmeta and reboot the phone
fastboot flash vbmeta vbmeta.img fastboot set_active a fastboot reboot
done, Your have successfully root your phone.
Related: