Copy android emulator files to the system partition

I need to copy files to the system section of the emulator. Since it is only read by default, I use the "adb remount" command to write permission, and then I can copy the files. My problem is that when I close the emulator and reload it, the copied files were missing. This is very annoying because I have to write the permissions of the files that are read when the emulator starts (the platform.xml file in / system / etc / permissions)

+5
source share
2 answers

You may need to add these files to the firmware that was used to create the emulator image.

0

, , - tmp, , , .

system.img tmp (- /tmp/emulator -dDiaPX). . , , system.img. , :

lsof -p pid-of-emulator

- /data/or/sdcard/.

0

All Articles