Jump to content

read only file with ADB shell


Recommended Posts

Posted

The system partition is mounted read-only. Fortunately there is an easy adb command to remount it read-write.

Run:

adb remount # This remounts it in read-write mode.

adb shell

# Then delete the file.

adb remount # This remounts it in read-only mode again (for security).

Posted
The system partition is mounted read-only. Fortunately there is an easy adb command to remount it read-write.

Run:

adb remount # This remounts it in read-write mode.

adb shell

# Then delete the file.

adb remount # This remounts it in read-only mode again (for security).

Thankyou both very much I will give that a try later

  • 4 weeks later...
Guest giwen
Posted

I've also stumbled upon this error but it doesn't seem to resolve it self with the "adb remount" command.

kryschtnob:~ giwen$ adb shell rm /system/app/*Foot*

rm: remove '/system/app/HtcFootprints.apk'?

After that it wont respond to anything and I'm forced to ctrl-c. Does anybody know what I should do in order to solve this?

Guest BigBearMDC
Posted
I've also stumbled upon this error but it doesn't seem to resolve it self with the "adb remount" command.

kryschtnob:~ giwen$ adb shell rm /system/app/*Foot*
rm: remove '/system/app/HtcFootprints.apk'?[/code]

After that it wont respond to anything and I'm forced to ctrl-c. Does anybody know what I should do in order to solve this?

Maybe try it with "uninstall" instead of "remove".

Greetings,

BigBear

  • 3 months later...
Guest Profete162
Posted
Maybe try it with "uninstall" instead of "remove".

Greetings,

BigBear

I have exactly the same problem ( topic found by Google)

I cannot change "remove" to "uninstall" because that's not a command line, but that's a question asked by the system.

I tried to enter "y" or "yes" to confirm...but nothing work

Guest Speckles
Posted

change it to "adb shell rm -f /system/app/*Foot*"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.