Last active
December 26, 2023 16:00
-
-
Save AwaisKing/d473c88f442ae1d4acc1b3175d5aab80 to your computer and use it in GitHub Desktop.
commands to check, update or make new ANDROID_ID
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
~~ list every "secure" settings | |
adb shell settings list secure | |
~~ check android_id | |
adb shell content query --uri content://settings/secure --where "name=\'android_id\'" | |
~~ or ~~ | |
adb shell settings get secure android_id | |
~~ update android_id | |
adb shell content update --uri content://settings/secure --bind value:s:<new_android_id> --where "name=\'android_id\'" | |
~~ or ~~ | |
adb shell settings put secure android_id <new_android_id> | |
~~ new android_id | |
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'" | |
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:<new_android_id> | |
~~~~~~~~~~ | |
source: https://forum.xda-developers.com/nexus-6/general/how-to-restore-change-android-id-t3219345 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment