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:
parent
1bf97fca47
commit
159bf48992
|
|
@ -2,5 +2,4 @@ extracted_apk
|
||||||
secrets
|
secrets
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.pyc
|
*.pyc
|
||||||
abootimg
|
|
||||||
mkbootimg
|
mkbootimg
|
||||||
|
|
@ -49,7 +49,7 @@ In the interactive shell, type `fw` and follow the instructions.
|
||||||
### Development Roadmap
|
### 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:
|
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)
|
- [ ] Enabling faster file transfer in diagnosis mode (so far it takes forever to push a file)
|
||||||
- [ ] Allowing self-signed pkg (fw package) to flash
|
- [ ] Allowing self-signed pkg (fw package) to flash
|
||||||
- [ ] Exploring system modifications
|
- [ ] Exploring system modifications
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ class DPT():
|
||||||
self.err_print("{} does not exist".format(fp))
|
self.err_print("{} does not exist".format(fp))
|
||||||
return False
|
return False
|
||||||
cmd = "dd if='{}' of=/dev/mmcblk0p8 bs=4M".format(fp)
|
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
|
# need to be extra careful here
|
||||||
resp = self.diagnosis_write(cmd, timeout=99999)
|
resp = self.diagnosis_write(cmd, timeout=99999)
|
||||||
self.info_print(resp)
|
self.info_print(resp)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue