[Q] how to uninstall system Apps (f.e.Flickr) ? - Desire Q&A, Help & Troubleshooting

is there a way to uninstall system apps like FLICKR service?
Maybe via console?

Via ADB with the phone in recovery.
adb shell mount /system
adb ls /system/app
then find the apk file you want to delete and:
adb shell rm /system/app/(app name here).apk

You can also delete the files before you install a new version of the ROM you're using. You can delete .apk files from the ROM.zip file to flash so when you flash it they wont install.

philje123 said:
Via ADB with the phone in recovery.
adb shell mount /system
adb ls /system/app
then find the apk file you want to delete and:
adb shell rm /system/app/(app name here).apk
Click to expand...
Click to collapse
you only have to put yourself in adb shell once,
adb shell
mount /system/
ls /system/app/
rm /system/app/xxxx.apk will do lol
btw roms with the new file overlay system can delete system apps normally now, using a file explorer!! ive done it

AndroHero said:
btw roms with the new file overlay system can delete system apps normally now, using a file explorer!! ive done it
Click to expand...
Click to collapse
sounds great

I use root explorer to do this
sent from my mind to yours using the power of suggestion

I'm in recovery and have no idea how to follow that instructions.
I see my options, don't see what you wrote.

Bump, sry
Sent from my HTC Desire using XDA App

Related

[OOPS!] bootloop due to adb push /data/app/<file>.apk, can not delete :(

Hello guys,
I probably did a stupid thing. I could'nt install an apk and figured that I could just push it to my android and see what happens. I didn;t think I would get in a bootloop though .
I had astrid.apk, it's modified so it is transparant. I could not install it in Android.
What i did:
Reboot in recovery
Did the fake flash to start Clockwork mod
Connect the Android to my pc with an USB cable
adb push astrid.apk /data/app
I read that about 1.2MB was written so I guess that went right.
Did I forget a / ?
Is the map app overwritten?
Well, next thing I did was a reboot and now I'm stuck in a bootloop.
I tried to delete the file (rm /data/app/astrid.apk, rm -r /data/app/astrid.apk). But it could not find file or directory.
I did this from the shell i starten with adb shell. And I tried it with adb shell rm ...
Did I screw up that /data/app map? What to do now?
edit:
I can do cd data. But when I do cd app (when in /data) then it says "you can't cd to app"...
it's adb shell, and while you are in there, press cd /data/app. while in the data folder, press 'ls' to list all entries. usually apk's have different names and stuff. look for the app and then press rm /data/app/... .apk
Make sure you are in recovery and have system mounted.
djind said:
it's adb shell, and while you are in there, press cd /data/app. while in the data folder, press 'ls' to list all entries. usually apk's have different names and stuff. look for the app and then press rm /data/app/... .apk
Make sure you are in recovery and have system mounted.
Click to expand...
Click to collapse
"can't cd to /data/app"
img824.imageshack <remove> .us/img824/5049/shellz.jpg
edit:
I think I have overwritten the whole app map with the file astrid.apk, d*mn.
"adb push astrid.apk /data/app"
I would say, just wipe and start over..
This is how I usually do the stuff:
adb remount
adb shell
cd /data/app
ls
look for app to remove
rm ....apk
I am no pro, wipe is easy!
I made a complete nandroid backup this afternoon, I just did a partial restore, "data" and everything works fine again!
Thanks for helping. Lesson learned:
Linux != Windows (a whole map is easily overwritten with a file).
I doubt that you have overwritten a folder with a file. But good that everything is ok now.
djind said:
I doubt that you have overwritten a folder with a file. But good that everything is ok now.
Click to expand...
Click to collapse
I did a cat /data/app and i saw a lot of strange things, also strings and it was clear i saw the contents of astrid.apk. SO I really think I did.

[Q] youtube app porting help!!! please!!!

can someone please post DETAILED isntructions to put froyo or gingerbread youtube app thing on samsung epic 4g. ive tried so many time and cant do it. and i delted the stock youtube app with titanium but cant install the other app and i dont wanna pay for root explorer cuz idk if its gonna help at all. i tried using the cmd promt but it says permission denied everytime and it also says adb is not recognized as an internal storage.. PLEASE SOMEONE HELP MEEE I DONT HAVE A YOUTUBE AP AT ALL NOW!!!!!
betterment66 said:
can someone please post DETAILED isntructions to put froyo or gingerbread youtube app thing on samsung epic 4g. ive tried so many time and cant do it. and i delted the stock youtube app with titanium but cant install the other app and i dont wanna pay for root explorer cuz idk if its gonna help at all. i tried using the cmd promt but it says permission denied everytime and it also says adb is not recognized as an internal storage.. PLEASE SOMEONE HELP MEEE I DONT HAVE A YOUTUBE AP AT ALL NOW!!!!!
Click to expand...
Click to collapse
The new YouTube.apk just needs to be placed in '/system/app'. What I did was remove the original YouTube.apk and put the new one in its place and voila. Here is the method adapted for Windows (I think it's all right for Windows). This is also assuming you rooted with a one click root that included the remount script and that you have adb on your computer (the one click rooter should have adb included with it).
1. in the cmd prompt, go to the folder where you have adb and type:
Code:
adb.exe shell
2. inside shell:
Code:
$ su
# remount rw
# mkdir /sdcard/backup
# cp /system/app/YouTube.apk /sdcard/backup
# rm /system/app/YouTube.apk
# exit
$ exit
3. now in the cmd prompt again:
Code:
adb.exe push \path\to\YouTube.apk /system/app
4. Reboot the phone.
gremlyn1 said:
The new YouTube.apk just needs to be placed in '/system/app'. What I did was remove the original YouTube.apk and put the new one in its place and voila. Here is the method adapted for Windows (I think it's all right for Windows). This is also assuming you rooted with a one click root that included the remount script and that you have adb on your computer (the one click rooter should have adb included with it).
1. in the cmd prompt, go to the folder where you have adb and type:
Code:
adb.exe shell
2. inside shell:
Code:
$ su
# remount rw
# mkdir /sdcard/backup
# cp /system/app/YouTube.apk /sdcard/backup
# rm /system/app/YouTube.apk
# exit
$ exit
3. now in the cmd prompt again:
Code:
adb.exe push \path\to\YouTube.apk /system/app
4. Reboot the phone.
Click to expand...
Click to collapse
ok i get to remount rw but the when i type in the nect code it says
mkdir falied for /sdcard/backup read-only filesystem
I install it using terminal emulator.
All I do is type
Su
#rm /system/app/YouTube.apk
#cp /sdcard/DirectoryWithTheYoutubeApp/YouTube.apk /
system/app
Or after you rm, just use the "My Files" app and go on your sdcard and click YouTube.apk and it'll install and work fine. But remember to sign out of youtube before you close it by going to your page and clicking sign out or else it'll keep force closing after you start it up.
I hope I helped...
Sent from my SPH-D700 using XDA App
you guys are gonna freaking kill me. ALL THE TROUBLE I WAS HAVING WAS BECAUSE I HAD MY SDCARD MOUNTED THE WHOLE TIME I WAS TRYING TO DO THIS THE MINUTE I TRIED IT WITHOUT IT BEING MOUNTED IT WORKED...IM SO DUMB!!!!! LOL BUT THANKS FOR THE HELP ALL OF U!!!!!! U GUYS ROCK!!!! N SO DOES THE NEW UTUBE APP .....BTW I UNDERSTAND UR NOT SUPPOSED TO SIGN IN TO IT RIGHT???
I just uninstalled the original, put the modded youtube.apk in the SDX backup folder and installed (restored) it with SDX stock app remover. Simple, fast and no typing required.
Glad you got it worked out though.
me 2!!! this app rocks
Glad it's working! Having the SD card mounted while trying to adb is a common mistake and always a good first troubleshooting check.

[Q] Big launcher problem, need help ASAP

Alright, when I turn my phone on LauncherPro keeps forceclosing on me, and I can't do ****. I just get 'the application LauncherPro doesn't answer', and an option to force close. When I push force close, the same message pops up again, so I can't access my phone. Is there any way I can fix this via adb or something? What I think caused the problem was that I downloaded and adb pushed a LauncherProPlus.apk (don't know the exact .apk name of it) to my phone (extremely stupid, I know).
Also, is there an adb command to view your phones files? Please help me out with this.
Have you tried wiping dalvik from recovery and then rebooting?
If that doesnt work, you could try pushing another launchers apk to /system/app or /data/app.
Or do you have a backup that you can restore?
Sent from my HTC Desire using Tapatalk
Just remove the launcherpro apk again with adb. It's either a normal adb command or you have to use a shell. Make sure you have a other launcher on the phone when doing this.
If this sounds to complicated and you pushed the apk to /system you can reflash your rom without wiping data.
Sent from my HTC Desire using XDA App
mikep99 said:
Have you tried wiping dalvik from recovery and then rebooting?
If that doesnt work, you could try pushing another launchers apk to /system/app or /data/app.
Or do you have a backup that you can restore?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Do you have an adw.apk or something? I'd like to try this first, as I have no recent backup. What do you mean wiping dalvik?
nvm guys, I managed to uninstall LauncherPro by adding a shortcut to installed programs on widgetlocker. I didn't manage to remove it with adb for some reason. Thanks anyways! Appreciate it.
Try wiping dalvik cache through recovery first.
Boot phone with vol down and power. Then choose recovery.
In the advanced menu, there should be the option to wipe dalvik cache.
Reboot.
Sent from my HTC Desire using Tapatalk
Actually, I have one more question. I downloaded this file: http://www.4shared.com/file/EMhprjdn/LauncherPro_Plus_v083.htm and pushed it to my /system/app using ''adb push file name and location /system/app''. Now I can't find any way to delete it, doesn't work with any file manager, neither do I have any adb command. This is a problem because as long as I have this file in my /system/app, I obviously can't use LauncherPro downloaded from the market. Anyone know how?
You need to do...
adb remount
adb shell
cd /system/app
rm launcherproplus.apk
This is going from what I remember. Check the apk name also.
You can do
ls -al before the rm command to list the files in the directory.
Sent from my HTC Desire using Tapatalk
mikep99 said:
You need to do...
adb remount
adb shell
cd /system/app
rm launcherproplus.apk
This is going from what I remember. Check the apk name also.
You can do
ls -al before the rm command to list the files in the directory.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Thanks a bunch, but when I do ls -al, it says the launcherpro.apk name is ''LauncherPro Plus v0.8.3.apk''. An .apk isn't supposed to have spaces I guess? Anyway, when I type in rm LauncherPro Plus v0.8.3.apk I get:
# rm LauncherPro Plus v0.8.3.apk
rm: can't remove 'LauncherPro': No such file or directory
rm: can't remove 'Plus': No such file or directory
rm: can't remove 'v0.8.3.apk': No such file or directory
Can you try putting the apk name in quotes?
rm "xxxx.apk"
Sent from my HTC Desire using Tapatalk
No, that didn't work either... damn
Tried single quotes? rm 'Xxx xx.apk'
Sent from my HTC Desire using Tapatalk
When I tried that I got:
# rm 'LauncherPro Plus v0.8.3.apk'
rm: can't remove 'LauncherPro Plus v0.8.3.apk': Directory not empty
At least seems like a step forward
And you're booted into recovery?
Also, try putting
su
Before issuing the command.
Sent from my HTC Desire using Tapatalk
mikep99 said:
And you're booted into recovery?
Also, try putting
su
Before issuing the command.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Guess like this; su rm 'LauncherPro Plus v0.8.3.apk'
but that gave me permission denied.
I tried booting into recovery earlier, but when I did that ''adb remount'' didn't work.
btw, i really appreciate all your help. thanks a lot mate
Ok, you need to be in recovery.
There's an option in one of the menus to 'mount system' - choose that.
Then try
adb shell
cd /system/app
rm 'xxxxxx.apk'
You wont have access to delete from /system while your phone is booted as I don't think you're S-OFF.
Sent from my HTC Desire using Tapatalk
It worked! Thank you so much! You literally saved my day!
No problem mate, happy to help
Might be worth taking a backup for the future
Sent from my HTC Desire using Tapatalk
Will definitely do that!
Hi Guys,
I am having pretty much the exact same problem as CH3Z, however i'm having problems locating LauncherPro.apk (free ver).
I've tried using the ls -al command and it doesnt show up there so i'm stuck @ the moment on what to do. I understand that i need the exact name of the apk but i dont know where it is. Any help would be appreciated.
Am running SuperNova Gingersense ROM.

[Q] ADB PUSH : Permission Denied (AlphaRevX Rooted)

Hi Guys,
I have rooted my Wildfire with AlphaRevX long time back and i tried many different ROMs.
Currently i have installed JokerDroid4.2 ROM.
When i start adb shell its going to normal user($) but not root(#) and when i type su in the shell its going to root(#).
So, when i want to push files to /system/app using adb push its throwing exception of permission denied.
I have seen many threads regarding this problem but couldnot find proper answer to my problem.
Workaround im using is pusing my files to /data/local and after getting root access using adb shell and su im moving it to /system/app
(OfCourse throughout the process /system is mounted as re-write)
Please solve my problem..
EDIT : I allowed the superuser to give permission to adb shell when i typed su command but when i use adb push its not asking me for permission from superuser.
Thanks,
Sandeep
You need to set permision /rw ,to system folder via root explore,then do adb push
bittu4u4ever said:
Hi Guys,
I have rooted my Wildfire with AlphaRevX long time back and i tried many different ROMs.
Currently i have installed JokerDroid4.2 ROM.
When i start adb shell its going to normal user($) but not root(#) and when i type su in the shell its going to root(#).
So, when i want to push files to /system/app using adb push its throwing exception of permission denied.
I have seen many threads regarding this problem but couldnot find proper answer to my problem.
Workaround im using is pusing my files to /data/local and after getting root access using adb shell and su im moving it to /system/app
(OfCourse throughout the process /system is mounted as re-write)
Please solve my problem..
EDIT : I allowed the superuser to give permission to adb shell when i typed su command but when i use adb push its not asking me for permission from superuser.
Thanks,
Sandeep
Click to expand...
Click to collapse
Sent from my Wildfire using XDA App
luxandroid said:
You need to set permision /rw ,to system folder via root explore,then do adb push
Sent from my Wildfire using XDA App
Click to expand...
Click to collapse
(OfCourse throughout the process /system is mounted as re-write)
Click to expand...
Click to collapse
As mentioned in my question i hav permission of rw(read-write) already throught the process..
I am using hell fire,pushed or pulled files but not as root user,just went to my tools folder where adb is and did adb push,try like that...
Sent from my Wildfire using XDA App
Have you already tried "adb remount"?
cobje said:
Have you already tried "adb remount"?
Click to expand...
Click to collapse
This should indeed solve all your problems. Just type that command, wait for the "remount succeeded" notification and than try to write in your system folders.
The reason is that your /system is not mounted as read/write (r/w) when you boot your phone, but as read-only (r/o). So afther the remount command /systemfiles will stay r/w, but when you reboot your phone, it will return r/o again.
Erwin

[Q][ADB][Stuck on bootloop]

Hello,
Quick noob question. Today I was experimenting with my phone. I decided that I wanted to push an apk through adb (without much experience on adb). I did this by
Code:
adb remount
adb shell chmod 644 /system/app
adb push .apk/system/app
adb push (a lib file).so /system/lib
adb reboot
Since then my phone has been stuck on boot loop. I'm pretty sure maybe it's because I forgot to mount perhaps? Again, I am new to this. Also I've tried mounting system and data through recovery 4ext. Didn't help.
Can anyone explain what I did wrong? Or fix my problem? Thanks!
EDIT: Fixed the problem by flashing another rom, but would like to learn what I did wrong though. Thanks
To install an app, you need to use 'adb install path/to/app.apk'.
Sent from my HTC Vision using xda app-developers app
OriginalGabriel said:
To install an app, you need to use 'adb install path/to/app.apk'.
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
though I'm assuming he wanted to install it as a system app, in which case I would have rebooted into recovery, mounted /data and /system and moved the already installed app from /data/app/ to /system/app/ to make it a system app. (and made sure the appropriate chmod permissions were set). Then rebooted after that was done.
Shouldn't be messing with the /system partition while the phone is booted live.
kbeezie said:
though I'm assuming he wanted to install it as a system app, in which case I would have rebooted into recovery, mounted /data and /system and moved the already installed app from /data/app/ to /system/app/ to make it a system app. (and made sure the appropriate chmod permissions were set). Then rebooted after that was done.
Shouldn't be messing with the /system partition while the phone is booted live.
Click to expand...
Click to collapse
Yes that was my intended purpose. Thanks.
My guess is you broke it by chmod'ing /system/app.
Making it completely not-executable would've stopped the phone from loading any system apps.
-Nipqer
Nipqer said:
My guess is you broke it by chmod'ing /system/app.
Making it completely not-executable would've stopped the phone from loading any system apps.
-Nipqer
Click to expand...
Click to collapse
+1
I think you want something like "chmod 644 /system/app/*" The difference is the /* at the end. Your original command made the directory inaccessible. The new command just changes the files inside. The actaul directory should have 755 permissions - "chmod 755 /system/app" without the /* at the end.

Categories

Resources