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

Stock recovery and Custom recovery

Android's recovery is one of the most important concepts for both tech users as well as users who use their phones just for making phone calls and regular surfing. When a user gets an update for his device and applies it, the recovery system of Android makes sure that it is properly done by replacing the existing image and without affecting the user data.

The Stock recovery image that is usually provided by the manufacturers is limited in nature. It includes very few functions that allow a user to perform operations such as wiping cache, user data, and performing system updates. We can boot our device into recovery mode to do any of those operations specified such as wiping cache. The steps/hardware keys used for booting into recovery mode could vary from manufacturer to manufacturer.

Custom recovery on the other hand provides more features such as allowing unsigned update packages, wiping data selectively; taking backups and setting up restores points, copying files onto SD cards, and so on. ClockWorkMod is one of the popular recovery images that can be shown as an example for custom recovery images.

As mentioned earlier, some manufacturers provide an official method to unlock boot loaders and some come unlocked. If you bought an unlocked phone which is not on contract, most probably you have an unlocked boot loader.

Note

Warning: Rooting and Custom ROM installations always have a risk of data loss, and worst, bricking the phone, so you should always backup the data before you proceed to root. You can backup your data/contacts and so on, by using Google's sync data option or any third-party app.

Prerequisites

Before we embark on our journey of rooting the phone, make sure you have the following prerequisites in place:

  1. Download Samsung USB driver from the following URL and install it on your computer:

    http://developer.samsung.com/technical-doc/view.do?v=T000000117

  2. You also need to enable USB debugging by following this path: Settings | Developer options | USB debugging. Your screen might be slightly different based on the Android version you are using, but look for USB debugging and check it:

    Tip

    If you don't see the Developer options, you can enable it by following this path: Settings | About Phone | Build Number (tap a few times on it, usually seven to nine times) and go back to the menu and you will see Developer options as shown following.

  3. Make sure you have adb on your path as shown earlier in the chapter, Android Studio installs Android SDK under the AppData folder of the current user, Android | Platform tools. Check it by opening the command prompt and typing adb.
  4. Connect the phone to the USB cable and type adb devices to check if the device is recognized:
  5. Once you plug in the cable, you might get the authorization popup Allow USB debugging, please allow it.
主站蜘蛛池模板: 湾仔区| 宜昌市| 卓资县| 河北区| 绍兴县| 南汇区| 玛曲县| 正阳县| 锡林郭勒盟| 昭觉县| 凌源市| 茶陵县| 杂多县| 军事| 广饶县| 石屏县| 左云县| 建宁县| 三穗县| 大同县| 翼城县| 武冈市| 花垣县| 合江县| 松江区| 将乐县| 珲春市| 雷山县| 武功县| 黔南| 喀喇沁旗| 新绛县| 霍林郭勒市| 苏尼特左旗| 黔西| 潞西市| 靖西县| 小金县| 汝州市| 泸溪县| 锡林郭勒盟|