Jump to content

Deleting/uninstalling apks from /system/app bundled with 3.1 rom


Recommended Posts

Guest plasmafire
Posted

I am trying to un-install/delete some of the apps that have been installed as a part of Modaco 3.1 Rom.

But apparently I cannot even when in su mode and root access, with system mounted in rw mode.

I have tried the simple

C:\DevTools\android-sdk-windows\tools>adb remount

remount succeeded


C:\DevTools\android-sdk-windows\tools>adb shell rm /system/app/t

rm: can't remove '/system/app/teeter.apk': Directory not empty
then I tried
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

# rm teeter.apk

rm teeter.apk

rm: can't remove 'teeter.apk': Directory not empty
also
# pm uninstall teeter

pm uninstall teeter

Failure

Please don't tell me to cook another ROM, I would like to be able to delete stuff from my phone without having to wipe everything and start again.

Help please :lol:

Guest StuMcBill
Posted
I am trying to un-install/delete some of the apps that have been installed as a part of Modaco 3.1 Rom.

But apparently I cannot even when in su mode and root access, with system mounted in rw mode.

I have tried the simple

C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded

C:\DevTools\android-sdk-windows\tools>adb shell rm /system/app/t
rm: can't remove '/system/app/teeter.apk': Directory not empty[/code] then I tried
[code]# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# rm teeter.apk
rm teeter.apk
rm: can't remove 'teeter.apk': Directory not empty
also
# pm uninstall teeter
pm uninstall teeter
Failure[/code]

Please don't tell me to cook another ROM, I would like to be able to delete stuff from my phone without having to wipe everything and start again.

Help please :lol:

I believe you need to be in recovery mode to do this? You don't say you are not in Recovery, but I just thought I would check.

Guest plasmafire
Posted (edited)
I believe you need to be in recovery mode to do this? You don't say you are not in Recovery, but I just thought I would check.

I wasn't in recovery when I ran the above commands.

but when I am in recovery I see the below. I am sure it is something simple, but this is driving me nuts.

C:\DevTools\android-sdk-windows\tools>adb devices

List of devices attached

HT03ZPL12222	recovery


C:\DevTools\android-sdk-windows\tools>adb remount

remount failed: Invalid argument


C:\DevTools\android-sdk-windows\tools>adb shell

- exec '/system/bin/sh' failed: No such file or directory (2)

C:\DevTools\android-sdk-windows\tools>adb reboot

This rebooted my device, but the other commands don't seem to work.

Edited by plasmafire
Guest spammyspam
Posted

There's a tutorial on this forum about how to remove apps from the ROM. I have no idea where it is though, sorry!

Guest Tebo2K
Posted
I wasn't in recovery when I ran the above commands.

but when I am in recovery I see the below. I am sure it is something simple, but this is driving me nuts.

C:\DevTools\android-sdk-windows\tools>adb devices

List of devices attached

HT03ZPL12222	recovery


C:\DevTools\android-sdk-windows\tools>adb remount

remount failed: Invalid argument


C:\DevTools\android-sdk-windows\tools>adb shell

- exec '/system/bin/sh' failed: No such file or directory (2)
C:\DevTools\android-sdk-windows\tools>adb reboot This rebooted my device, but the other commands don't seem to work.
Make sure you use
adb mount /system

before you try to delete anything, recovery doesn't mount the /system partition unless you tell it to..

Guest acolwill
Posted

Grab yourself Clockwork recovery (via RomManager) and reboot into recovery using it. From the partitions menu, you are able to mount /system and simply adb shell from your host PC.

cd /system/app

ls -l

rm Twitter.apk

Guest lenik
Posted
but when I am in recovery I see the below. I am sure it is something simple, but this is driving me nuts.

this is not the recovery you need. to make changes to /system partition you have to do the following:

1. connect your desire by USB cable and issue: 'adb reboot recovery', device reboots and shows red trianle/arrow icon

2. change to the directory where you rooted your desire from and run './recovery-linux.sh', screen will show green menu

3. if you get any "error: device not found", issue './adb-linux kill-server' and run ./recovery-linux.sh again until you get green menu

4. adb shell mount /dev/block/mtdblock3 /system

now you may add/remove applications from /system/app

Guest persko
Posted

These commands are for linux, for windows you need to use

recovery-windows.bat

in place of

recovery-linux.sh

otherwise your instructions are correct.

Per

Guest plasmafire
Posted
this is not the recovery you need. to make changes to /system partition you have to do the following:

2. change to the directory where you rooted your desire from and run './recovery-linux.sh', screen will show green menu

Thank you kind sir, this was the step I was missing. All is well now, I deleted stuff till my heart was content.

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.