Updated The Ultimate Rooting Guide (markdown)
parent
9a02589a0d
commit
2002f42d69
|
|
@ -79,21 +79,11 @@ Make sure your system version is `1.4.01.16100` (for RP1) or `1.4.02.09061` (for
|
|||
|
||||
You will need to modify your Android boot partition. Flashing the modded `boot.img` will disable the DPA connection via USB cable (but wireless still works with DPA). After making all changes to the system, you can restore your original `boot.img` if you want USB connection working again, but losing mass storage and ADB.
|
||||
|
||||
***Method 1: The Easy Way***
|
||||
|
||||
Download `FwUpdater.pkg` from this [example](https://github.com/HappyZ/dpt-tools/tree/master/fw_updater_packer_unpacker/pkg_example/flashable_mod_boot_img).
|
||||
|
||||
Boot into normal system, use `fw` in the tool to update. After update, it will say `update failure`, but it is actually successfully applied.
|
||||
Boot into normal system, use `fw` in the tool to update. After update, it will say `update failure`, but it is actually flashed.
|
||||
|
||||
***Method 2: The Hard Way***
|
||||
|
||||
First backup your boot partition via `backup-bootimg`. Follow the instructions.
|
||||
|
||||
And then type `restore-bootimg` and follow the instructions, using `boot-1.4.01.16100-mod-happyz-181214.img` in `python_api/assets`. Pay attention to the `md5` to make sure you successfully flashed the modded image. If not, retry and make sure your file naming was correct.
|
||||
|
||||
After success, reboot the device by `reboot &` and quit the tool (by pressing `Ctrl + C`, or `quit`).
|
||||
|
||||
On your laptop/desktop, do the following (Mac or Linux):
|
||||
And you can run `adb devices` on your computer to see if your DPT appears. To address "unauthorized" issue, do the following. On your laptop/desktop, (Mac or Linux):
|
||||
```
|
||||
mv ~/.android/adbkey ~/.android/adbkey_bak
|
||||
cp python_api/assets/adbkey ~/.android/adbkey
|
||||
|
|
@ -103,15 +93,8 @@ adb devices
|
|||
|
||||
### 0x6 Obtain Android Root Access (Optional, Subject to Change)
|
||||
|
||||
***Method 1: The Easy Way***
|
||||
TODO.
|
||||
Download `FwUpdater.pkg` from this [example](https://github.com/HappyZ/dpt-tools/blob/master/fw_updater_packer_unpacker/pkg_example/flashable_supersu/).
|
||||
|
||||
***Method 2: The Hard Way***
|
||||
|
||||
Get back into diagnosis mode, and type `get-su-bin` and follow the instructions.
|
||||
|
||||
Finally, type `reboot &` and close the tool by pressing `Ctrl +C` or type `exit` or `quit`.
|
||||
|
||||
If everything goes right, it will boot up. And you can run `adb devices` on your computer to see if your DPT appears.
|
||||
Boot into normal system, use `fw` in the tool to update. After update, it will say `update failure`, but it is actually flashed.
|
||||
|
||||
After then, you can do `adb shell` and then type `su` to verify if you have obtained the sudo access. You can now use `adb install` to install any packages. However, it does appear that all third party apps have super small font.
|
||||
|
|
|
|||
Loading…
Reference in New Issue