What's new

Closed Safest way to root your phone. (not sure if it will work for android pie)

Status
Not open for further replies.

FieryKnight21

Eternal Poster
Joined
Sep 10, 2015
Posts
851
Reaction
231
Points
296
This works for any android 5 to 8 devices .

Requirements:

PC running on windows OS
Android device
ADB tools
TWRP latest img and md5sum
Magisk.zip
Android USB Driver for Windows
Original Stock rom of your android
Latest rom for your original rom
Latest rom for the latest update on your android
PATIENCE
*download ALL the dowloadable requirements first.


STEP 1
BACK UP YOUR DEVICE
There are many ways for you to back up your device, you can look for it on google. Easiest is to copy all the important files from your internal memory to your pc or sdcard. Then back up your contacts via google. Same can be done with your messages.

STEP 2
UNLOCK YOUR BOOTLOADER

Make sure you have working source of internet when you do this. Install the bootloader unlocker you have downloaded. You can read all the details when you unlock your bootloader (void of warranty). The phone will reboot, now your phone's bootloader is unlocked. You can skip the initial set up and boot your phone to recovery.
*please take note that if you did not back up your device, all your data will be lost during the process of unlocking.

STEP 3
INSTALL ALL THE ADB TOOLS AND ROMS

3.1 Install the android usb driver and adb to your pc. You can look for them on google. ADB is universal so you don't have to worry about that but the driver should be downloaded from the official site of your manufacturer.

3.2 Boot your phone into recovery, ways to do this varies depending on your phone brand. Again you can look it up on google. After that you need to install all the roms you have downloaded. There are three ways for you to do this:

1st Method: Internal Memory (This might sometimes fail. Never tried this before because I always use my sdcard)
a. You need to finish the initial setup, internet is required for this.
b. Move the ORIGINAL STOCK ROM of your phone to your internal memory. Wait for your phone to detect the update (this part is uncertain and varies depending on your phone that’s why I don’t use this method). The phone will reboot after this.
c. After the reboot, delete the rom on your device then move the latest rom for your android version to your internal memory. E.g. your stock rom is android 6.0.0, and the latest version should be 6.9.9. Move that to your device. Wait for it to detect the update. Update the device. Phone will reboot.
d. After that, install the first rom of your device on the next android version. Based on the example, android 7 is the next version. The process is the same. Delete the installed rom, move the next rom. Wait for the phone to detect then update. After installing android 7, install the latest version of it to your phone.

The installation process should always be like this until you reach the latest android version:
Android 6.0.0 >> Android 6.9.9 >> Android 7.0.0 >> Andriud 7.9.9 >> Android 8.0.0 >> Android 8.9.9 >> Android 9.0.0 >> Android 9.x.x
**No need to download the roms in between just the first and latest for each version. You cannot update directly from 6.0.0 to 7.0.0 that's why you needed to install the latest version first.

2nd Metod: SD card (most reliable and easiest)
a. Same with the internal memory but for this method, you don’t need to finish the initial setup. First thing you need to do is move all the roms you have downloaded to the sdcard.
b. Boot your phone into recovery (use the volume key to navigate the options and power button to select an option). Choose the install update via sdcard. Choose the stock rom and press the power button. Wait for 5-10 mins. After the update, reboot your phone.
c. Same process with the 1st method. Install the latest rom for your android version 6.0.0 >> 6.9.9 >> 7.0.0 >> 7.9.9. Don’t forget to reboot every after rom installation.

3rd Method: Via adb sideload
a. Boot your phone into recovery (I don’t know if you need to enable usb debugging mode for the adb sideload, if that’s the case then you need to finish the set up first then enable developers mode and enable usb debugging mode). Navigate to update via adb sideload then select.
b. Connect your phone via usb to your pc.
c. Go to your folder the adb folder you have downloaded. Make sure you have adb.exe, fastboot.exe, AdbWinApi.dll, AdbWinUsbApi.dll. Move all your roms to the adb folder rename them with shorter names for your convenience. You will need their file name for the next process.
d. Open the command prompt on that folder (hold shift then right click, select open command windows here). Input this command (don’t input the quotations) "Adb devices" to check if your device is recognized, reconnect until your device is recognized.
e. Input "adb sideload xx.zip", wait until update is completed. Input "adb reboot" to reboot your device. Boot your device into recovery. Repeat this step until you reach the latest version. For your convenience rename your rom filenames to a.zip, b.zip and so on based on the rom sequence with a.zip being the stock rom.

STEP 4
INSTALL TWRP AND MAGISK (ROOTING PART)

4.1 This part is the easiest; just boot your device to fastboot. Unlocking the bootloader is for this part. Safest way to achieve is to finish the initial setup of your phone then enable the developer's mode and enable usb debugging. Enter this command on cmd "adb reboot fastboot" or "adb reboot bootloader".

4.2 Move the twrp.img and md5 you have downloaded to your adb folder. Enter is command "fastboot flash recovery twrp.img", after the twrp is flashed. Enter this command "fastboot reboot" to reboot your device.
*if your device is stock on bootloop you would need to repeat all the 3.2 steps. Your device should bootup just fine if you followed all the steps correctly.

4.3 Boot your device into recovery. Now twrp should be your recovery interface. Your pc should recognize your device and you'd be able to use the device storage. Move the magisk.zip to your internal memory.
4.4 Click install on your recovery, select magisk.zip (you can try xposed instead, xposed is meh tho). Wait for few seconds and viola! Your phone is rooted. Click reboot and wait for your phone to reboot.


Now enjoy your freshly rooted phone. Check out the magisk app installed on your phone, update it if there's a newer versions available. On the downloads drawer are the modules available for magisk. It's up to you what you should install. I highly recommend adblocker module. You must also download the busybox for better root privileges on your apps. Lucky patcher is also one of the best apps for a rooted phone.

*hardest part of rooting is the preparation. Make sure you have all the requirements. You need to download all the roms on the official sites and each file is at least a gigabyte in size. The bootloader is also available on the manufacturer's official site. Driver and adb are available on google.

TWRP is available here:drive(dot)google(dot)com/drive/folders/1KYX8G6wgOa_X7uJfIar7ENuk2Q1nQyWB ***might change depending on the owner of the cloud account
Magisk updated zip is in here: github(dot)com/topjohnwu/Magisk/releases

Good luck!!
 
Status
Not open for further replies.

Similar threads

Back
Top