Confirm that the phone root
is entered in cmd
adb root
3 Handle Android id
3.1 Query Andoird ID
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
3.2 Modify Andoird ID (may be invalid)
adb shell content update -- uri content://settings/secure --bind value:s:NEW_ANDROID_ID --where "name=\'android_id\'"
3.3 Delete Android ID
adb shell content delete --uri content://settings/secure --where " name=\'android_id\'"
3.4 Add Android ID
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:NEW_ANDROID_ID
3.5 Change Android ID through setting
adb shell settings put secure android_id the android ID you want to replace