I am running CM11(Nightly) on my Galaxy Tab P1000 and I cannot remove the camera app that came with it. I have tried the following command-:

adb shell rm -f /system/app/camera2.apk

But this has absolutely no effect. Please advise on how to remove the camera app because it is not working properly.

  • 1
    Is /system mounted as rw (read-write)? Also check if you need root permission to delete that file. – GiantTree Jun 21 '15 at 19:18
  • 1
    To mount /system RW, look here: android.stackexchange.com/q/110927/95577 – Thomas Vos Jun 22 '15 at 8:05
  • @SuperThomasLab Yup it was mounted as rw. Just checked it. So what do I do now ? Nothing happens when I rm the app apk. It still stays in /system/ – Heidi Jun 22 '15 at 18:42
  • @SuperThomasLab Can tell me how to set root permissions to delete that file ? – Heidi Jun 22 '15 at 18:48
  • Can someone help me out ? – Heidi Jun 23 '15 at 19:50

Okay I figured out how to do this. It seems since I didn't have root permission on the app therefore I was not able to delete it.

I did the following-:

  1. First I set up ADB on Windows.
  2. Connected my device
  3. Typed in adb root
  4. adb remount
  5. adb shell
  6. su
  7. chmod 777 /system/app/Camera2.apk
  8. rm -f /system/app/Camera2.apk

And voila I could delete the app.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.