Returning to pretty much stock for the international version
Just a little guide on how to return your device to pretty much 100% stock from unlocked bootloader, s-off, custom recovery and supersu
this is only for the international version as we dont have an ruu so this is the best we can do with what we have.
The only thing you need is your standard recovery for the international vaiant.
Please note this is how i got my device back to 100% stock and i will take no repsonsibility if you cock your phone up, this is just how i did it
Reboot into bootloader and then into fastboot
flash back the standard recovery
fastboot flash recovery (insert recovery name).img
relock your bootloader
to LOCK your bootloader,enter the following:
su (if needed to get a # prompt)
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now locked
special thanks to scotty1223 for this little gem
Reboot into android and unroot yourself via whichever app you use,
reboot back into bootloader and then fastboot
at this point you should have a locked bootloader with no flags, a stock recovery and no root, just s-off.
to remove s off you now need the following command
fastboot oem writesecureflag 3
the reboot the bootloader to conform the phone is now finally s-on
Hope this helps.
Please don't shoot me down in flames, thought this may come in useful for someone.