简体   繁体   中英

How to remove file from /system/xbin Android

I had copy tcpdump to /system/xbin on my device.

How can I remove It? when I try :

adb shell rm /system/xbin

I get:

rm failed for /system/xbin/tcpdump, Read-only file system

I had to do

adb root

adb remount

then rm is possible

There are two ways:

adb root
adb remount
adb shell rm /system/xbin/tcpdump

or

adb shell
su
mount -o remount,rw /system
adb shell rm /system/xbin/tcpdump

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM