Unable to push files in /system via adb after updating SDK tools 25.1.6

104 views
Skip to first unread message

satyanarayana Murthy desala

unread,
May 24, 2016, 1:35:10 PM5/24/16
to Android emulator development
Hi,

I am trying to push some files in /system/bin in Android 6.0 Emulator

I used the following steps to achieve that

1) Launched 6.0 Emulator with "-writable-system" command line option
2) Once the emulator is launched, I used the command "adb root"
3) Followed with the command "adb remount", I can see a message like remount succeeded and the permission of /system has changed from "ro" to "rw" in /proc/mounts file
4) The I pushed a file into /system/bin and pushed successfully into the emulator
5) I tried to change the permission of the file that was pushed before and I get a message "chmod: chmod '/system/bin/x' to 100755: Read-only file system"

Now when i checked the /proc/mounts file I can see that the permission of /system has again reverted back to "ro"


Can you please help me, how can i push the files into /system

Note: This is happening only when I updated to the latest SDK tools i.e 25.1.6


Regards
Murthy
Reply all
Reply to author
Forward
0 new messages