jeudi 5 novembre 2015

changes to settings.db are reverted when reboot device - android

i have a rooted device, Samsung galaxy star, i have installed a custom root, and i want to change some values in /data/data/com.android.providers.settings/databases/settings.db

i tried to pull the file and update it in my computer and push it again but no result, i tried this in recovery mode and normal boot, i tried to change the file directly via adb shell with root privileges but same,

-i mounted the /system and /data.

-i executed the two command PRAGMA wal_checkpoint and PRAGMA journal_mode = DELETE.

i tried also to change those values directly with SQLite Edito application with root granted but nothing new.

when i change values and i consult the file i find the values changed but after reboot, values are reverted to original.

values that i am trying to change are :

-'first_boot' in table system [from value 1 to 0]

-'device_provisioned' in table secure [from value 0 to 1]

any suggestions ?

Aucun commentaire:

Enregistrer un commentaire