Skip to content

Instantly share code, notes, and snippets.

@pexcn
Last active September 3, 2019 14:19
Show Gist options
  • Save pexcn/e76c8be2d82eb3afedc4712d1be2a7a2 to your computer and use it in GitHub Desktop.
Save pexcn/e76c8be2d82eb3afedc4712d1be2a7a2 to your computer and use it in GitHub Desktop.

https://www.google.com/android/uncertified

# disable root at first.

# backup
adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.db \"select * from main where name='android_id'\"
# update
adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.db \"update main set value='<my_certified_android_id>' where name='android_id'\"
# check
adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.db \"select * from main where name='android_id'\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment