Today Google launches Android 4.2 alongside the new Nexus lineup. Galaxy Nexus as well as Nexus 7 owners that have the ability to run apps with elevated privileges are faced with a dilemma on whether to upgrade or not. Fear not, you can still root your Nexus using the latest version of Android. Getting started In order to root Android 4.2 the following three requirements must be satisfied beforehand:
There are no major differences between the two, but TWRP is more touch-oriented thanks to larger buttons. CWM is also available in a touch-compatible variant, but it has much smaller buttons. It's a matter of personal preference between the two though, but you have to choose one. Before starting the process I urge you to perform a backup, as all data might be lost afterwards. You can copy the contents of the SD card to a safe external location such as cloud storage service or computer hard drive.
| 译者信息![]() Google 刚刚为 Nexus 7 发布了 Android 4.2 更新,而 Galaxy Nexus 和 Nexus 7 的用户确处于是否升级的两难的抉择。但不用害怕,你仍然可以为最新更新的 Android 4.2 取得 ROOT 权限。 本教程的方法并不难,同样适合经验并不丰富的用户。 开始 为了取得 Android 4.2 的 ROOT 权限,必须准备下面三个软件工具:
两个 Recovery 工具并没有太多不同,TWRP 更适合于触摸屏设备上使用,因为按钮比较大。CWM 同样可用于触摸设备,按钮小得多。你可以根据个人喜好来选择。 在开始之前建议你先备份下数据,也可以直接将 SD 卡的内容复制到一个安全的地方,如云存储或者计算机的硬盘。 |
Setting the Stage The first step that needs to be performed after all the files are downloaded is to install the Android SDK. Afterwards open the Android SDK Manager and select the following two items:
Then you should create a folder in an easily accessible location within the command line. In this example I will use a folder named "Root" in my C:\ drive in Windows. The path name will therefore be: "C:\Root". From the folder where Android SDK Platform-tools is installed (in my case it is "C:\Program Files x86)\Android\android-sdk\platform-tools") copy the following files to the previously created "Root" folder:
The following files must also be copied to the "Root" folder:
For my Samsung-made Google Galaxy Nexus (codename "maguro") I will use TWRP with the name "openrecovery-twrp-2.3.1.0-maguro.img". Depending on your device the name of the file that you must copy may differ. In order to make the process smoother for instance the SuperSU file can be renamed to "root.zip" and the custom recovery to "customrecovery.zip". It's a matter of convenience, but for accuracy I will stick to the original naming for this guide. If the previous steps are completed you must have the following six files in your "Root" folder:
From there, you can proceed to install the drivers for "fastboot mode". To install them, follow these steps:
| 译者信息![]() 设置阶段 文件下载完后第一步需要做的就是安装 Android SDK,然后打开 Android SDK Manager 然后选择下面两项:
然后你创建一个文件夹在可从命令行轻易访问的路径。这里我们假设创建的路径是 C:\Root。 在 Android SDK 平台工具安装的路径中 (我这里是 "C:\Program Files x86)\Android\android-sdk\platform-tools") 将下面四个文件复制到 C:\Root 目录:
下面文件也必须复制到 C:\Root 文件夹:
我使用的是三星 Google Galaxy Nexus (代码 "maguro") ,我将使用 TWRP 这个工具,文件名:"openrecovery-twrp-2.3.1.0-maguro.img". 由于设备不同,你所复制的文件可能会有所不同。 为了让我们的过程顺利些,可将 SuperSU 文件重命名为 root.zip,而 Recovery 工具文件重命名为 customercovery.zip。这只是临时处理,不过我还是保留原来的文件名。 前面几步完成后,你的 Root 文件夹就有下面 6 个文件:
到这里,你可为 "fastboot mode" 安装驱动了,具体步骤如下:
|
Final preparations Everything is prepared in order to start the installation process, but in order to do so a command window must be opened. Windows Key + R opens "Run"; type in "cmd" and the command window appears. Typing "cd C:\Root" and pressing Enter sets the "Root" folder as the working directory. Pressing the Shift key and right clicking inside the "Root" folder will also deliver the same result. The device must be turned on in "fastboot mode" which I have explained at step no.2 during the driver installation process, and obviously plugged-in to the computer. You then have to type in the following commands while in "fastboot mode":
After Android 4.2 is loaded and running the SuperSU file must be copied from the "Root" folder to the internal storage (shows up in Windows Explorer as a Nexus device). A simple copy and paste will do the trick here. Then you have to power off the Nexus device and enter "fastboot mode" again. Use the Volume Up and Volume Down keys to navigate until you can select "Recovery Mode". After the power button is pressed the device will reboot in the new custom recovery.
| 译者信息![]() 最后准备 万事俱备了,接下来打开命令行窗口,并进入 C:\Root 目录。 在设备驱动程序安装过程中设备必须处于 "fastboot mode" 模式并且通过 USB 线连接到计算机,然后你需要在 "fastboot mode" 中运行下列命令:
在 Android 4.2 加载完毕后必须将 SuperSU 文件从 Root 文件夹复制到设备的内部存储器中(你可以通过资源管理器直接复制)。 然后关闭 Nexus 设备然后再次进入 "fastboot mode" 模式,使用音量上下键来选择 "Recovery Mode" 菜单项。再按下电源键后设备将以新的定制 Recovery 来重启设备。 |
Rooting your Nexus device If you have ClockworkMod installed, you have to perform the following steps:
If you have Team Win Recovery Project installed, you have to perform the following steps:
After Android 4.2 loads your device can run apps with elevated privileges (meaning it's rooted). A SuperSU app is installed in order to allow root requests, so please use your judgement on which apps you grant access. | 译者信息![]() 开始获取 ROOT 权限 如果你选择安装 ClockworkMod ,需要执行下面几步:
如果你选择安装 Team Win Recovery Project ,请执行:
到这里我们所有的步骤都已经完成,同时安装了 SuperSU 应用可用于允许 ROOT 权限请求。 |
获取 Android 4.2 的 ROOT 权限(越狱)
最新推荐文章于 2021-05-28 20:52:47 发布