im not sure what youve got going on with the filesize,but he 33796 is an address,not a size.
the command is writing only 4 bytes,at 8404,8405,8406,8407. if you wish to verify your HTCU or HTCL has been overwritten,dump it to your sd card: dd if=/dev/block/mmcblk0p3 of=/sdcard/mmcblk0p3 then pull it,and open it with a hex editor.
if youre working with a different device,pull mmcblk0p3 first,before issueing any commands,open with a hex editor,and verify the location of the lock flag.
the rest of 8400 is in fact all nulls, or 00
hope that answers your questions. i think youve just found some funky data becasue of the way youre attempting to verify it.
I know that very well! I'm owner of HTC is not first year (HTC Touch Dual, DesireHD, Sensation)!
And I do everything myself, using the HEX- editor! I tried to explain that flag seek = 33796, appear to cut the size of file! Size of the original mmcblk0p3 should be - 133 807 104 b, and therefore after running all the offsets after 0x008404 can be filled with 00 ! After the offset 0x008408 there is some data that will be filled with zeros.
For proper treatment you need to add the flag :
conv=notrunc
The notrunc conversion option means do not truncate the output file — that is, if the output file already exists, just replace the specified bytes and leave the rest of the output file alone.
And the line should look like this :
Code:
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796 conv=notrunc
I hope I've clearly explained? Check it out!
For information (Data modification)....
Awairing your prompt reply!
PS: Please try to run 2 bat files: with notranc and without notranc and compare files!
Attachments
Last edited: