To update the settings.db file, go through the following steps:
- Connect the device to the forensic workstation using a USB cable.
- Open the command prompt and execute the following: /data/data/com.android.providers.settings/databases sqlite3 settings.db:
- Exit and reboot the device.
- The Android device should be unlocked. If it is not, attempt to remove the gesture.key as explained earlier.
We will have a look at the recovery mode and ADB connection in the following section.