Q Easiest way to remove bloatware? - Desire HD General

Hi. Can someone tell me the easiest way to remove bloatware like soundhound, amazon mp3 etc. My phone is rooted BTW.
Thanks

You'll need the android sdk installed on your computer but then:
adb remount
adb shell
cd system/app
rm whateveryoulike.apk
It goes without saying that a backup is a good idea before you start deleting stuff. Some things you can delete no worries but others may be dependencies etc. But as far as bloatware is concerned you shouldn't have a problem.

Or if you don't have the sdk installed you could install a file manager like astro file manager from the market and browse and delete the apk's directly on your phone. They're in /system/app/ anyway.

Related

Get Apk file from Market

When i download and install an App from the Android Market where the Apk installation file is temporary placed? Which path?
tnx in advance
the apk's are stored at /data/app and /data/app-private after you installed the app and will be removed if you uninstall it.
Tnx for the answer mopodo, but if i hard reset the device, can i will use theese files to reinstall them?
i'm sorry for my bad english...
sidvizioso said:
Tnx for the answer mopodo, but if i hard reset the device, can i will use theese files to reinstall them?
i'm sorry for my bad english...
Click to expand...
Click to collapse
No, you can make a backup to your SD card with apps like MyBackup or Backup For Root Users.
So which is the temp path of the downloaded apk from market?
i want to grab them...
Pinesal said:
No, you can make a backup to your SD card with apps like MyBackup or Backup For Root Users.
Click to expand...
Click to collapse
of course you can.
you just have to copy them to your sdcard or pc an install them again, with «adb install something.apk» or «Astro File Manager» (or a similar file managerapp)
a hard reset will delete everything on «/data»
If you have root copy the contents of both folders to your SD card.
mkdir /sdcard/apps
cp /data/app/* /sdcard/apps
cp /data/app-private/* /sdcard/apps
Then after you wipe (I've never heard anyone call it a 'hard reset' before) you can use an app like Astore or ApkInstaller to reinstall them.
If you don't have root then not only will you not be able to read app-private, but your ROM wont have busybox so you wont be able to bash in those commands. In that case use an app like Astro or AppManager to copy non-private apks to the sdcard, but for private apps you'll have to redownload them (without being charged of course.)
Pinesal said:
No, you can make a backup to your SD card with apps like MyBackup or Backup For Root Users.
Click to expand...
Click to collapse
Only if they're non-private (reside in /app, private being /app-private).
He's probably coming from WinMo. We called a factory reset/wipe a hard reset.
mopodo said:
the apk's are stored at /data/app and /data/app-private after you installed the app and will be removed if you uninstall it.
Click to expand...
Click to collapse
Slightly off topic lol But i see you said Private does that mean you could manually back up Private apps you buy off market by just copying them /w root access?
When I run the following from an adb shell, with or without SU root:
cp /data/app/* <my location on sd>
I always get:
cp: permission denied
In fact, no matter how or where I cp from or to, and no matter what I am trying to copy, even if I leave all arguments blank, I still get "cp: permission denied" -- I have busybox installed in /system/xbin from /data/local and as far as I can tell it installed ok. Phone is a rooted Sprint hero 1.56.651.2 running stock ROM.
I have also tried to 'adb pull /data/app' and it always find 0 files. None of this is a big deal for me, however, as I am just trying to backup a bunch of apks for free apps in case versions change too much. Mostly just curious...
Any ideas?
EDIT: Both Astro and AppManager handled the (non-private) apk backups fine -- so I have no real need for the cp method to work, but I am still wondering why it will not -- is it the adb shell? must I use a terminal emulator from on the phone instead? something else? Anyways, if I really want to pursue it, perhaps I should take it to a busybox thread at this point...
EDIT2: It appears as if the 'cp' command as I was running it wasn't getting passed through busybox (not sure why). From what I can piece together reading other threads, it seems that if you have installed busybox on top of a ROM that doesn't already have it (like stock, after rooting and recovery setup) than you must prefix commands with 'busybox' when entered, as in 'busybox cp /data/app/* <my location>' and it does work for me that way. Still cannot seem to copy /data/app-private which I thought having root access would allow -- I guess I just don't understand nearly enough about busybox implementation, linux permissions, and, well, linux in general.
You could try an app manager and back 'em up from there.
Just try the following command.
busybox cp /data/app/* /sdcard/<your backup loc>
askwhy said:
When I run the following from an adb shell, with or without SU root:
cp /data/app/* <my location on sd>
I always get:
cp: permission denied
In fact, no matter how or where I cp from or to, and no matter what I am trying to copy, even if I leave all arguments blank, I still get "cp: permission denied" -- I have busybox installed in /system/xbin from /data/local and as far as I can tell it installed ok. Phone is a rooted Sprint hero 1.56.651.2 running stock ROM.
I have also tried to 'adb pull /data/app' and it always find 0 files. None of this is a big deal for me, however, as I am just trying to backup a bunch of apks for free apps in case versions change too much. Mostly just curious...
Any ideas?
EDIT: Both Astro and AppManager handled the (non-private) apk backups fine -- so I have no real need for the cp method to work, but I am still wondering why it will not -- is it the adb shell? must I use a terminal emulator from on the phone instead? something else? Anyways, if I really want to pursue it, perhaps I should take it to a busybox thread at this point...
EDIT2: It appears as if the 'cp' command as I was running it wasn't getting passed through busybox (not sure why). From what I can piece together reading other threads, it seems that if you have installed busybox on top of a ROM that doesn't already have it (like stock, after rooting and recovery setup) than you must prefix commands with 'busybox' when entered, as in 'busybox cp /data/app/* <my location>' and it does work for me that way. Still cannot seem to copy /data/app-private which I thought having root access would allow -- I guess I just don't understand nearly enough about busybox implementation, linux permissions, and, well, linux in general.
Click to expand...
Click to collapse
Well in windows
'adb pull' is used if that helps

[SOLVED] Installed applications -> .apk?

Hey!
I have a lot of applications on my phone. I would like to collect all to my memory card in form of .apk-files, so I easily can install the programs I have now after I've flashed with another ROM.
How do I do this?
I have ADB Shell installed, my phone is rooted and so on and so forth.
I would like to avoid making a backup with Astro, since the installation probably won't come out clean (?).
EDIT: Solved it via ADB.
Wrote the following:
adb pull /data/app/ c:\"foldername"\
adb pull /data/app-private/ c:\"foldername"\
And all your installed applications will be copied to the folder you specify, as .apk-files.
After you backed up all your .apk files, did you have to manually re-install all your apps? or did you have a way to batch install them via adb? or is it possible to adb push those files back to /data/app/ and /data/app-private/ ?
Just push them. The directory is /system/sd/app/ if you have a2sd enabled.

Serious unexplainable issue with my rom

Hey, i'll make this brief. Whenever I use an update
Or try and push an apk over to /system/apps
It doesn't stick.
For example I removed the browser.apk, and replaced it with my own (using root manager and adp both) rebooted my phone and I have no browser.apk anylonger cant put one in regardless of how I try...
Another example, while installing and update to HTC_IME.apk (Black theme) It sticks to the phone until i reboot it...
Any advice?
Do a search on the missing apk. Just to be sure.
Not much help huh?
Its like the missing apk completely disappeared... no traces of it.
on your phone try going to the superuser and there should be a + /system/sh push it and it should disappear then try the adb push method
XxsydenxX said:
Hey, i'll make this brief. Whenever I use an update
Or try and push an apk over to /system/apps
It doesn't stick.
For example I removed the browser.apk, and replaced it with my own (using root manager and adp both) rebooted my phone and I have no browser.apk anylonger cant put one in regardless of how I try...
Another example, while installing and update to HTC_IME.apk (Black theme) It sticks to the phone until i reboot it...
Any advice?
Click to expand...
Click to collapse
If you were trying to push to /system/APPS That might be a problem. I don't know alot, but if I'm not mistaken, the correct directory for apps is /system/app/
Try this.
Code:
adb remount
adb push browser.apk /system/app/
Also, if you're using A2SD.. it would be /system/sd/app
Let me know if it worked.
Ok well, I checked for root access just to be sure, And of course, I have it lol..
But none of these methods work.
Edit: I mean ive done it before, I dont know what the hell is wrong...
Why not do a simple mount of the sdcard , no adb.
Then copy the file to the card. Use a rooted terminal emulator or even root explorer to copy/move it.
BTW I know that on some systems the ".foo" files ( beginning with a . ) can be invisible and on other systems they can be designated as temporary, I don't know the convention for linux/android.
I do know that I would push a file which has been disappearing and then do a ls -af xxxx on it in a rooted terminal emulator to see it's permissions and "real" name.
^Tried using a rooted file manager to move it..it simply doesnt show up in the tray and when i go back..it's gone like always.
XxsydenxX said:
^Tried using a rooted file manager to move it..it simply doesnt show up in the tray and when i go back..it's gone like always.
Click to expand...
Click to collapse
So it's on the sdcard?
Use a terminal emulator and do a
$su
#ls -af filename.
Eh you know what, I'll just wipe and reflash a fresh rom. I'm not putting in anymore effort lol...
A mod can close this now.

Market is very slow after installing another rom

Hey friends!
I have a great problem.
After installing another rom, my market doesn't work properly.
I open the market and it's very slow. Everything I want to do takes a few seconds. Tapping on the downloads button, tapping on apps, downloading them... all slow.
Now I've figured some out:
Wipe everything
install another rom new
took another google account
market is fine
Then:
wiped
installed the rom new
took my first account
market is slow.......
Whats wrong with my account and how can I get it to work normal.
If I said slow, that isn't right. Right is sloooooow....
That's weird... lets see what others have to say...
Is it anything like this?
http://forum.xda-developers.com/showthread.php?t=670407
I still haven't fixed mine yet, trying desperately to..
Yes, same problem.
Sh*t.
Market is still unusable for me.
But now I can see paid apps, but it's terrible slow.
Can someone put this threads together? I think, I#ve searched wrong yesterday.
Try pushing another market apk to your phone?
You're right, it solved the problem. Thanks!
I've deleted the Vending.apk in folder /system/apps
Then I've installed another Vending.apk with ADB
Copy the attached file to your AndroidSDK/tools folder on PC (delelte the .zip extension!)
Plug your Phone with USB to the PC
Open up the shell (cmd)
Navigate to your AndroidSDK/Tools/ folder
Type in:
adb remount
adb shell push Vending.apk /system/apps
adb reboot
After the reboot, everything is fine!
Formel-LMS said:
You're right, it solved the problem. Thanks!
I've deleted the Vending.apk in folder /system/apps
Then I've installed another Vending.apk with ADB
Copy the attached file to your AndroidSDK/tools folder on PC (delelte the .zip extension!)
Plug your Phone with USB to the PC
Open up the shell (cmd)
Navigate to your AndroidSDK/Tools/ folder
Type in:
adb remount
adb shell push Vending.apk /system/apps
adb reboot
After the reboot, everything is fine!
Click to expand...
Click to collapse
This helped me too but you have a few commands wrong.
Firstly, to remove just do:
adb remount
adb shell rm -f /system/app/Vending.apk
Then, to install the older version:
adb push Vending.apk /system/app/
adb shell reboot
I also did the removal line again with a lower case v as I seemed to have two vending.apks, this may just be something specific to my phone though as I was messing around a lot getting this working!
Bugger, still didn't work for me...
something weird.
wiped, reflashed cm 5.0.7-t2 and gapps epe54b.
right after adding my gmail account the market started to download all my paid apps again. that made the market that slow.
now wiped again and reflashed 5.0.7-t2 and gapps.
installed titanium backup.apk and restored all apps and settings.
for now the market (v1713) works as usual.
I've tried everything advised and my market is still s-l-o-w.
I have tried:
Clearing cache
Uninstalling updates
Reflashing Gapps
Formel's replacement Vending.apk
Think I'm gonna resort to a full wipe once CM5.0.7 is out...
http://forum.cyanogenmod.com/index.php?/topic/2589-solved-market-slow-for-some-people/
on some phones it fixed itself.

App location

I have been running Tainted Vanilla and was going to try Ivan's Eris_Official Rom. but when I installed it there are some apps missing from the market that I have paid for ( ie. Age of Conquest Europe, Africa, Asia ). I have installed the market fix and this has made no difference.
I have looked in /system/app but did not see the apps listed in there
I have also looked at backing it up with astro but it is listed as private
So i wanted to see if I could just pull the APK from adb or if there is some thing I have done wrong.
Any help would be cool Thanks
Mike
i'm not sure i can help with the missing apps (were you using apps2sd?)... but, i often backup my apks for just that reason
you can pull/backup the apks...
adb remount
then... depending on where apps are...
adb pull /system/app ./
or
adb pull /data/app ./
or
adb pull /system/sd/app ./
it will copy all the installed apks to the current working directory (i'm assuming you're using a Windows PC... if not, let me know). hopefully this at least helps!
Thanks for the help.
I was using a Nand backup and jumping from one to the other.
the adb commands worked for me. thanks again

Categories

Resources