adb shell content query --uri content://settings/secure --where "name=\'android_id\'"adb shell content update --uri content://settings/secure --bind value:s:<YOUR_ANDROID_ID> --where "name=\'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:<YOUR_ANDROID_ID>adb shell settings put secure android_id <YOUR_ANDROID_ID>Get into adb shell and modify ID.
C:\>adb shell
shell@device:/ $ su
root@device:/ # settings put secure android_id <YOUR_ANDROID_ID>
root@device:/ # exit
shell@device:/ $ exit
One line.
adb shell su -c settings put secure android_id <YOUR_ANDROID_ID>
Thanks