Search This Blog

June 26, 2020

Rooting your phone and Flashing Firmware

Just a small crisp article for Newbies in Mobile Exploration

1) Unlocking your bootloader is not rooting.

2) Installing TWRP is neither rooting nor installs custom ROM.

3) Custom ROM can be installed on unrooted phone provided bootloader is unlocked.

4) For rooting of phone the best method is Magisk (zip file). Magisk Manager (APK) is different from installing

  1. First of all, download the Magisk and place it in your phone’s storage. 
  2. Now you have to boot your device into a custom recovery like the TWRP Recovery.
  3. Click on Install button and then select the Magisk.zip file that you had already transferred to your device storage in Step 1.
  4. After you had selected the .zip file now Swipe to Confirm Flash on the bottom side of your mobile screen to start the flashing process.
  5. Once Magisk is flashed, you’ll get Reboot System option, select it.
  6. After the device reboots, install Magisk Manager Apk file.
  7. Open the Magisk Manager app and check your device’s root status. That’s All.

Flashing Firmware

  1. Press the Volume Up and Power button simultaneously to enter TWRP recovery
  2. (Optional): If you’re using a custom ROM, go to ‘Wipe’ -> ‘Advanced Wipe’ and wipe the ‘Cache’, ‘Dalvik/ART Cache’, ‘Data’ and ‘System’ partitions.
  3. Cache (not dalvik cache) is primarily used for recovery. It’s used to store the recovery log and for storing OTA (Over The Air) updates. You probably don’t need to wipe cache, and cache is already wiped as part of a factory reset. Dalvik cache is stored in the data partition, so if you do a factory reset, you’ve also wiped dalvik cache. Dalvik /ART Cache choosing this will not wipe your apps or data. System choosing this will wipe system apps, your apps, data and the OS. Data choosing this will wipe data not apps
  4. When you reboot, Dalvik cache and Cache are re-created
  5. Once you are done, go back and tap on the ‘Install’ button
  6. Browse the internal storage and select the Recovery ROM zip file.
  7. To confirm, swipe the button on the screen to start installing the firmware on your Xiaomi device
  8. Once it is finished, press the ‘Reboot System’ button