
Change your Android device ID
Simple and free, only one line can help you to change your Android device ID. No need to buy an app. One requirement : your device has to be rooted.
The procedure is quite simple :
- open a terminal on the localhost
- elevate privilege
su - launch this command to see the current device ID
sqlite3 /data/data/com.android.providers.settings/databases/settings.db “SELECT * FROM secure WHERE name=’android_id'”
- change your device ID
sqlite3 /data/data/com.android.providers.settings/databases/settings.db “UPDATE secure SET value=’your_new_ID_here’ WHERE name=’android_id'”
- reboot the device
And that’s all !
This procedure has been tested successfully on a device running on Android version 5.1.1
My Powershell script categories
- Active Directory
- Cluster
- Database
- Exchange
- Files and folders
- Hardware
- Network
- Operating System
- PKI
- SCCM
- Service and process
- Tips
- VMWare
Reference
List of the value name you can update in settings.db :
accessibility_display_magnification_auto_update accessibility_display_magnification_enabled accessibility_display_magnification_scale accessibility_enabled accessibility_script_injection accessibility_script_injection_url accessibility_web_content_key_bindings adb_port allowed_geolocation_origins android_id backup_enabled backup_transport bluetooth_addr_valid bluetooth_address bluetooth_name config_update_certificate default_input_method default_theme_components default_theme_package dropbox:data_app_anr dropbox:data_app_crash dropbox:data_app_wtf enabled_accessibility_services enabled_input_methods facelock_detection_threshold facelock_liveliness_recognition_threshold facelock_max_center_movement immersive_mode_confirmations input_methods_subtype_history install_non_market_apps last_setup_shown locationPackagePrefixBlacklist locationPackagePrefixWhitelist location_providers_allowed lock_screen_allow_private_notifications lock_screen_owner_info_enabled lock_screen_show_notifications lockscreen.disabled lockscreen.options long_press_timeout masterLocationPackagePrefixBlacklist masterLocationPackagePrefixWhitelist mock_location mount_play_not_snd mount_ums_autostart mount_ums_notify_enabled mount_ums_prompt print_service_search_uri pubkey_blacklist screensaver_activate_on_dock screensaver_activate_on_sleep screensaver_components screensaver_default_component screensaver_enabled selected_input_method_subtype selected_spell_checker selected_spell_checker_subtype serial_blacklist show_note_about_notification_hiding sleep_timeout sms_default_application speak_password ssl_session_cache themeConfig theme_prev_boot_api_level touch_exploration_enabled trust_agents_initialized user_setup_complete voice_interaction_service voice_recognition_service wake_gesture_enabled web_autofill_query_url wifi_watchdog_watch_list
Change your Android device ID