官术网_书友最值得收藏!

  • Hacking Android
  • Srinivasa Rao Kotipalli Mohammed A. Imran
  • 403字
  • 2021-07-14 10:56:12

Flashing the Custom ROM to the phone

In this section, we will look at the installation steps involved in installing a pretty popular Custom ROM called CyanogenMod 11 (This keeps updating with the original Google Android version):

  1. Download CyanogenMod from the following URL and save it in the Phone Rooting directory. I have downloaded the latest GSM non-LTE version cm-11-20151004-NIGHTLY-n7100.zip from https://download.cyanogenmod.org/?device=n7100.
  2. Connect the device to the computer using a USB cable and use the adb push command to copy the file to the /sdcard and unplug the cable once done. You can also drag and drop by opening the device in Windows Explorer on your system:
    C:\..\Phone Rooting> adb push cm-11-20151004-NIGHTLY-n7100.zip /sdcard
    
  3. Switch off your device and boot it into the recovery mode by pressing the volume up, home, and power buttons simultaneously. You will see the TWRP screen, click on Install:
  4. Select the Wipe option from the menu and Swipe to Factory Reset which clears the cache,data, and Dalvik VM:
  5. You should see the Factory Reset Complete successful message as shown in the following screenshot:
  6. Click the Back button and select Install. Select the cm-11-20151004-NIGHTLY-n7100.zip file as shown in the following screenshot:
  7. Once you select the ROM, the following screen will be displayed:
  8. Now click on Swipe to Confirm Flash to begin the flashing process of the custom ROM.
  9. Once the installation is complete, you will see the Zip Install Complete message as shown following screenshot. Click on Reboot System to reboot the phone:
  10. Once the device starts, you should see the following CyanogenMod screen:
  11. You will then see the usual Android system, set it up according to your liking and if you like to use Google Play Store, download and install it by following the same process as we have described here, and if you install GAPPS, make sure you install the updated SuperSU again. Finally, your screen should look like the following screenshot. You can find GAPPS at the following location:

    http://opengapps.org/?api=4.4&variant=nano

  12. Connect to the device from the system using a USB cable and check if you can login as a root user.

In this section, we have seen how to install recovery software TWRP, how we can use TWRP to root our Android device, and finally how to install a custom ROM on our smartphone.

The process is similar for other phones, however, you have to make sure you are using the right version of the CM, TWRP.

主站蜘蛛池模板: 横峰县| 河西区| 天镇县| 新宾| 邓州市| 英超| 三亚市| 新平| 黄大仙区| 石台县| 澄城县| 金华市| 信宜市| 平果县| 深圳市| 安乡县| 炎陵县| 漳浦县| 双城市| 进贤县| 芜湖市| 开鲁县| 景谷| 嘉兴市| 铜山县| 彰武县| 咸宁市| 蛟河市| 神木县| 阳东县| 苏尼特左旗| 射阳县| 体育| 广宁县| 正定县| 马关县| 夏津县| 威宁| 都兰县| 宜阳县| 基隆市|