Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restart Android emulator and preserve system data

Is it possible to preserve system data (not SD card data) on Android emulator when it is shutdown? My specific problem is that I am trying to import a new root certificate into the /system/etc/security/cacerts.bks file, but that requires a restart, and when I do restart the emulator the file gets reverted to original state.

like image 468
saugata Avatar asked Dec 09 '10 07:12

saugata


1 Answers

The file is a part of the system image, and is not a part of the files created under .avd folder.

Found a link on how to backup/modify a system image. The comments are not in English, but the commands are pretty straightforward.

like image 104
saugata Avatar answered Oct 05 '22 20:10

saugata