app hanging on uninstall - G1 Q&A, Help & Troubleshooting

I am using CM 4.0.4 with apps to sd, I have a Fat32 partition and ext2 partition.
I am trying to uninstall twidroid and the market app is hanging on the uninstallation...is there another way to uninstall an app with apps2sd?
Thanks in advance.

remove it in terminal
Code:
su
cd system/sd
ls app
rm com.twidroid.apk
ls app (just to confirm it gone)
reboot (if u like)

Thanks for the quick reply, worked great!

sweet no problem

Related

SD wipe w/o losing music/movies

I have looked all over for the answer to this and I am at my wits end...
I have been trying out different roms and themes to find that sweet spot for me, and I think I have now. I know that alt+w on the bootloader only wipes factory data and such, and that if I reformat my sd card it'll wipe everything including my ext2 partition. But I don't want all of that to happen. I want to wipe the apps I have on my sd card but keep the music, movies, etc I have on there without having to uninstall each one thru a file mgr (I have 83 apps right now).
The problem I am having that is making me do this is that when I flash cyan3681 and start over at the adp screen where you tap the android, right after that it starts showing force closes for a number of apps, and it always opens open overclocker and kinda hangs there. On top of all that, at some point, it messed with some apps in my drawer and either won't allow me to access them anymore or it shows the stock apk icon with the little gear and the page behind it.
I just want a fresh start, without having to spend an hour(s?) doing it. Thanks for any help.
run this in terminal
su
rm -rf /system/sd/*
Bzerk1 said:
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Click to expand...
Click to collapse
in recovery console just type
mount /system/sd
rm -rf /system/sd/*
alritewhadeva said:
run this in terminal
su
rm -rf /system/sd/*
Click to expand...
Click to collapse
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Bzerk1 said:
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Click to expand...
Click to collapse
You would be running in recovery console so you would need to use alritewhadeva's method posted a couple posts up:
Do this before the above:
Code:
# mount -o rw /dev/block/mmcblk0p2 /system/sd
Thank you, that worked perfectly.
I am M3 said:
Do this before the above:
Code:
# mount -o rw /dev/block/mmcblk0p2 /system/sd
Click to expand...
Click to collapse
just "/# mount /system/sd" works fine
Adam17 said:
Thank you, that worked perfectly.
Click to expand...
Click to collapse
You're welcome. Please change the thread title to [SOLVED]

Access apps installed on sd

Is there any way or any app that help explore the ext2/3 or 4 part on the sd card to see what apps are installed there? and see all files for each app?
You might ask why I need to do this; it's because I want to remove this app but still wanna keep a few wallpaper pictures from it So I'm hoping that there is a way to access ext4 part on the sd card so I can just copy and paste those pics that I want.
any help is appreciated.
Terminal Emulator
Code:
su
cd /system/sd/app
ls
Fingerlickin said:
Terminal Emulator
Code:
su
cd /system/sd/app
ls
Click to expand...
Click to collapse
I have a Magic so I don't have a physical keyboard; However, I was able to use the onscreen keyboard to type su.
Here is how it looks like:
Open Terminal Emulator
$
Type su then "enter"
$su
Nothing happened? It doesn't go to the next line like how it works in command shell
Is there a problem with Terminal Emulator in Cyanogen 4.0.4 rom?
There is also an app called SuperUser in the cm 4.0.4 rom, but when I open it, I only see a blank screen? that's not nornal, is it?
nvm, found it.
the "enter" key dont work on soft keyboard, that's why

removing an app using ADB

Hi, I was wondering if anyone knows the correct ADB command for removing an app from the /data/data folder?
I recently installed a new ROM on my nexus one and it came with both Launcher Pro and ADW Launcher installed. I know I could just NOT use the one I don't like but I'd rather remove it.
I tried:
adb remount
adb shell rm /data/data/org.adw.launcher
Click to expand...
Click to collapse
AND
adb remount
adb shell rm /data/data/org.adw.launcher.apk
Click to expand...
Click to collapse
But neither worked.
Any suggestions?
I'd appreciate it.
I used root explorer and just deleted all apps I didnt want from /system/app
(ADW, facebook, calculator, amazon mp3)
And I think you have to use /system/app instead of /data/data
adb shell rm /system/app/ADWLauncher.apk
or try this
adb devices
adb remount
adb shell
/system/app
ls (this shows you all apps installed, search for the launcher)
rm -r [name of the file you want to remove].apk
IsnĀ“t the app itself in /system/app/ADWLauncher.apk ??
oops, thats what I meant. Just copied his adb line.. edited my post now, thanks
Thanks guys, I got it to work.
I appreciate all your help
Hi there... i tried the same commands but i get directory not empty.
i'm not trying to remove the whole directory but just an apk.
i tried it both of windows and linux to no avail.
thanks in advance.

How to undo mimocam's lag fix.

Hi people!
I'd like to install one click lag fix, but i already had mimocam's lag fix applied and i cant, so....
How can i undo mimocams lag fix?
P.d: i used the search, but nothing found......thanks!
Sent from my GT-I9000 using Tapatalkthing
adb shell
su
busybox rm /data/data
busybox cp -rp /disk/data /data/
busybox rm /data/data.bak
busybox rm -r /disk/data
The first command puts you into the command line on the phone.
the second line gives you root access
the third line removes the soft symlink that we created in the original instructions
the fourth line copies the stuff from your ext partition back to the phone
the fifth line deletes the backup of your original data partition you made
the sixth line deltes the data partition on your ext partition - this is optional step and BE SURE your cp in line four was successful first.
We could alternately just mv the /data/data.bak back to /data (busybox mv /data/data.bak /data/data) after removing the symlink, but that would put your /data/data folder back to where it was before you started, so any app changes you made while residing on ext partition would be lost.
Use the same procedures to undo the market fix stuff.
distortedloop said:
Use the same procedures to undo the market fix stuff.
Click to expand...
Click to collapse
hey... could you elaborate on that?
thanks,
thomas
EDIT: I have found this here:
Code:
adb shell
su -
busybox rm /data/data
busybox rm /system/media
busybox cp -rp /disk/data /data/
busybox cp -rp /disk/media /system/
Am I safe to assume that if I've done a hard reset and flashed a new firmware it will have removed the fix? Or do I still need to undo it?
tschmidt84 said:
hey... could you elaborate on that?
thanks,
thomas
EDIT: I have found this here:
Code:
adb shell
su -
busybox rm /data/data
busybox rm /system/media
busybox cp -rp /disk/data /data/
busybox cp -rp /disk/media /system/
Click to expand...
Click to collapse
Don't forget to rm the .bak folder for /system/media.bak if you have it, otherwise you're wasting disk space.
Nicolopolus said:
Am I safe to assume that if I've done a hard reset and flashed a new firmware it will have removed the fix? Or do I still need to undo it?
Click to expand...
Click to collapse
Yes, any new firmware flash should wipe these fixes. However, your ext partition will still have the apps and other stuff on it. Not an issue since you can't use that space without running a lag-fix kernel that mounts it, or you repartition the sdcard.
last question: when I try to rm the data.bak, it tells me: "data.bak is a folder!"... what is that about?
tschmidt84 said:
last question: when I try to rm the data.bak, it tells me: "data.bak is a folder!"... what is that about?
Click to expand...
Click to collapse
When you did the fix in the first place it backed up the original folder by renaming it to .bak, so it is a folder, it's the original /data/data folder that you had before doing the fix!
You might have to use rm -r to remove it, or to be really safe, just use Root Explorer or the like and delete it.
Pretty easy to screw up your phone if you mistype with the rm or rm -r.

[Q] How do you uninstall apks?

How do you install apks from the nook color once you have them installed? I have tried to do
adb uninstall blah.apk but that just comes back with
Failure
I've been able to uninstall apps with advanced task manager with out a problem. Seems way easier then running a command. But in case you need the command here it is:
adb shell ls /data/app ---- to get the full name of the apk
adb shell rm -r /data/app/#APPNAME
probaina said:
I've been able to uninstall apps with advanced task manager with out a problem. Seems way easier then running a command. But in case you need the command here it is:
adb shell ls /data/app ---- to get the full name of the apk
adb shell rm -r /data/app/#APPNAME
Click to expand...
Click to collapse
I have not installed advanced task manager but will, Thanks
Use a launcher that supports holding on trash icon to uninstall.
LP, ADW, and Zeam all support this functionality.
Noob Mistake
Please delete

Categories

Resources