From 159bf48992650dc43227cde59dff4109d0fa32ac Mon Sep 17 00:00:00 2001 From: HappyZ Date: Sat, 17 Nov 2018 21:43:35 -0600 Subject: [PATCH] adb can be enabled now with a replacement of boot.img exploring other things right now.. permission isn't correct yet --- .gitignore | 1 - README.md | 2 +- python_api/libDPT.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0cb58e1..979ae06 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ extracted_apk secrets .DS_Store *.pyc -abootimg mkbootimg \ No newline at end of file diff --git a/README.md b/README.md index e24ff59..d420a85 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ In the interactive shell, type `fw` and follow the instructions. ### Development Roadmap Now we can enter diagnosis mode thanks to shankerzhiwu and his/her friend, we can explore more things! The things I am interested in: -- [ ] Enabling ADB in normal Android mode +- [x] Enabling ADB in normal Android mode - [ ] Enabling faster file transfer in diagnosis mode (so far it takes forever to push a file) - [ ] Allowing self-signed pkg (fw package) to flash - [ ] Exploring system modifications diff --git a/python_api/libDPT.py b/python_api/libDPT.py index 1b162e6..940caf9 100644 --- a/python_api/libDPT.py +++ b/python_api/libDPT.py @@ -139,7 +139,7 @@ class DPT(): self.err_print("{} does not exist".format(fp)) return False cmd = "dd if='{}' of=/dev/mmcblk0p8 bs=4M".format(fp) - self.info_print("Fingercrossing.. Do NOT power off device!") + self.info_print("Fingercrossing.. Do NOT touch the device!") # need to be extra careful here resp = self.diagnosis_write(cmd, timeout=99999) self.info_print(resp)