Originally Posted by jaspreet4140
sorry for late replying @nkk71 .my exams were going on..........and tampered was gone for first time only and now it: s not going and I m using scotty cmd with su mode in usb debugging...
try the commands while booted into custom recovery (and there's no need to 'su' in custom recovery as it already should give you a root shell:
List of devices attached
HT34xxxxxxxx recovery <- you need to be in custom recovery to
ensure root privileges
i.e. an adb shell with # as opposed to $
CWM shell prompt usually looks like ~#
TWRP shell prompt usually looks like ~ # ←[6n
it doesn't matter, you just type (or even better copy/paste) the commands in bold blue
~ # echo -ne '\x00' | dd of=/dev/block/mmcblk0p7 bs=1 seek=4265988
echo -ne '\x00' | dd of=/dev/block/mmcblk0p7 bs=1 seek=4265988
1+0 records in
1+0 records out
1 bytes (1B) copied, 0.009370 seconds, 106B/s
~ # exit
C:\ADB3>adb reboot bootloader
^^ if this doesn't work in your particular version, just select reboot to bootloader in TWRP.
remember to copy/paste that command, even something as small as an extra/missing <space>, can make it not work.
if it still doesn't work, you'll have to do as @scotty1223
mentioned in his thread (under the section "if this does not work for you"): http://forum.xda-developers.com/show....php?t=2477792
don't just say it doesn't work, you need to provide him with:
1) a copy/paste of "fastboot getvar all"
2) a copy/paste of your command prompt output
3) your mmcblk0p7
though I don't think I've ever seen a post that said this doesn't work (unless the command is mistyped)