I am trying to create an update script that (amongst other settings tweaks) enable developer options.
If I use sqlite3 from the command line I can modify the databases just fine.
However, when I try it from my update zip nothing seems to happen.
This is a snippet from my updater-script.
Is my run_program syntax incorrect?
If I use sqlite3 from the command line I can modify the databases just fine.
However, when I try it from my update zip nothing seems to happen.
This is a snippet from my updater-script.
Code:
ui_print("Mounting Partitions...");
ui_print(" ");
run_program("/sbin/busybox","mount", "/system");
run_program("/sbin/busybox","mount", "/data");
run_program("/system/xbin/sqlite3", "/data/data/com.android.providers.settings/databases/settings.db", "delete from global where name='development_settings_enabled';insert into global values(null, 'development_settings_enabled','1');");
Aucun commentaire:
Enregistrer un commentaire