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

  • 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.

主站蜘蛛池模板: 三都| 久治县| 垦利县| 枣阳市| 东安县| 平遥县| 大姚县| 武宁县| 五常市| 柯坪县| 吴江市| 清镇市| 光山县| 高邑县| 济南市| 来凤县| 楚雄市| 平顶山市| 嘉义市| 大同市| 桦南县| 嵊州市| 长乐市| 云霄县| 繁峙县| 武清区| 皋兰县| 宜兰市| 彭州市| 滨州市| 上栗县| 英吉沙县| 云霄县| 吴堡县| 建平县| 泾源县| 南澳县| 浑源县| 宁津县| 陇川县| 吴江市|