For resetting binary counter :
In terminal emulator/adb shell, do this :
$ su # dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
Make sure that you issue the correct command as this is extremely risky and if done incorrectly, might result in a HARDBRICK.!!
I need someone to test if this method works on the s3 mini. This has been tested on GT-I9070. Please do this at your own risk.
If you feel my work worthwhile, please consider donating!