Cannot flash modified boot.img to obtain ADB access #42
Labels
No Label
Customized PKG
Dup
Enhancement
Help Needed
Invalid
Official PKG
Question
Script Bug
Taobao PKG
Wont Fix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: happyz/dpt-tools#42
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am stuck at the above step. My steps:
restore-bootimgcommandboot-1.4.01.16100-mod-happyz-181214.imgto the attached mass storage device, rename it toboot.img.bak, eject mass storage device, press returnboot.img.bakfile I backed-up withbackup-bootimgcommand before and not of the new fileAny ideas?
Thanks!
it's probably due to unsuccessful umount in the tool which didn't check properly. Have you patched the updater bash? If so, you can directly flash the pkg with this boot img in the normal boot up mode. It's at https://github.com/HappyZ/dpt-tools/tree/master/fw_updater_packer_unpacker/pkg_example/flashable_mod_boot_img
another way is to reboot into diagnosis mode and retry the restore without copying the file
I seem to have resolved the issue by issuing
rm boot.img.bakfrom the command line in the diagnosis mode. When the mass storage device appeared, the fileboot.img.bakwas still there! But this time the right file (judged from the md5 checksum) was flashed.