Created
May 3, 2013 10:45
-
-
Save atoa/5508448 to your computer and use it in GitHub Desktop.
find unlock code Samsung Infuse (possibly other SGS variants). Execute from android shell (e.g. terminal or adb shell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd if=/efs/root/afs/settings/nv_data.bin skip=8 count=4 2>/dev/null | strings | \ | |
grep -v '^0\{8\}$' | (grep '^[0-9]\{8\}' || echo 'ERROR - Unlock code not found' >&2 ) | \ | |
sed -e 's/^\([0-9]\{8\}$\)/UNLOCK CODE: \1/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment