Contents
Requirements
Full backup of your phones contents (without data) (rl command)
Preloader (boot1 and boot2 from stock, working phone)
Initial Case
A Mind One user who had been heavily modifying his device found himself in a position
where his device's internal memory was inadvertantly wiped while trying to use the wl command in mtclient
This occured because he used the rl command and in one of the partitions contained the gpt for the memory. When he
ran the command for wl it wrote the gpt back to the memory effectively erasing the entire volatile memory.
Troubleshooting
He was no longer able to connect the phone to mtkclient and the phone continued rebooting
Troubleshooting (continued)
To fix this problem you need to have a full backup (rl) of your partitions on your phone.
In this case, the preloader was partially borked as well, so he needed to get a preloader.bin from another Mind One user.
Attempt a read with the following command, if it fails try the second command
mtk r boot_a boot_a.bin --debug mtk r boot_a boot_a.bin --preloader <preloader_dump-boot1.bin> --ptype ufs --noreconnect --debug
If the first command bombs out, and the second command works, you are in good shape for recovery.
If the first command works jump ahead to Fix.
Now you want to write your preloader back to the phone memory.
python mtk.py w preloader <preloader_dump-boot1.bin> --preloader <preloader_dump-boot1.bin> --parttype boot1 --debug python mtk.py w preloader <preloader_dump-boot2.bin> --preloader <preloader_dump-boot1.bin> --parttype boot2 --debug
Repeat above r commands without --preloader flag. You should now be able to pull back an empty boot partition.
Fix
It has been noted that it may only be viable if you still have the OEM cord from iKKO, however in my opinion any high quality
cord should work.
Now for all partitions except gpt.bin, repeat this command, entering preloader mode and flashing one partition at a time.
mtk w boot_a <boot_a.bin> --debug
After Thoughts
We brought back from the dead an iKKO Mind One, this device has no business still being usable, but is fully functional.
Acknowledgements
@thirteen
@orville
@toefuu
