Setting a customId:
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:customId
Checking the current androidId:
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
Resetting the androidId:
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'"
Hint: Works for Android <= 7 only since with Android 8 the Android ID is created differently.
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:customId
Checking the current androidId:
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
Resetting the androidId:
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'"
Hint: Works for Android <= 7 only since with Android 8 the Android ID is created differently.
Comments
Post a Comment