adb can be enabled now with a replacement of boot.img

exploring other things right now.. permission isn't correct yet
This commit is contained in:
HappyZ 2018-11-17 21:43:35 -06:00
parent 1bf97fca47
commit 159bf48992
3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,5 +2,4 @@ extracted_apk
secrets
.DS_Store
*.pyc
abootimg
mkbootimg

View File

@ -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

View File

@ -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)