yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Themes and Apps] killermiller777:
I saw in another thread you can make a batch file

This is how... paste this into a text file and save is as a .bat

@echo off

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

adb shell rm /system/app/IM.apk

adb shell rm /system/app/Facebook.apk

adb shell rm /system/app/Flickr.apk

adb shell rm /system/app/Stock.apk

adb shell rm /system/app/HTCNew.apk

adb shell rm /system/app/sfl-prod-release.apk

adb shell rm /system/app/Sprint_Core.apk

adb shell rm /system/app/SDSA.apk

adb shell rm /system/app/IM.apk

adb shell rm /system/app/Flickr.apk

adb shell rm /system/app/Browser.apk

adb shell rm /system/app/HtcTwitter.apk

adb shell rm /system/app/com.htc.TwitterWidget.apk

adb shell rm /system/app/Updater.apk

adb shell rm /system/app/OMADM.apk

adb shell rm /system/app/Gmail.apk

adb shell rm /system/app/Talk.apk

adb shell rm /system/app/HTCCamera.apk

adb shell rm /system/app/SetupWizard.apk

adb shell rm /system/app/HTCSetupWizard.apk

adb shell rm /system/app/Sprint_Navigation.apk

adb shell rm /system/app/Sprint_NFL.apk

adb shell rm /system/app/Sprint_TV.apk

adb shell rm /system/app/Sprint_TVWidget.apk

adb shell rm /system/app/Sprint_Nscar.apk

adb shell rm /system/app/LearnMore.apk

adb shell rm /system/app/*Stock*

Of course add or remove lines as you choose.
[Hero CDMA Themes and Apps] Negrito:
So how do you log into your gmail and that? or you just run this after you have signed into your phone and set it up?
[Hero CDMA Themes and Apps] pimix2009:
can this erase folders too? im trying to erase the ringtones folder and it wont let me
[Hero CDMA Themes and Apps] regaw_leinad:
to delete the ringtones folder you have to

adb remount
adb shell rm -r /system/media/audio/ringtones
[Hero CDMA Themes and Apps] riggsandroid:
Does anyone know the apk file for the stock photo gallery? I want to use Gallery3D alone. Some cache's etc. of the stock gallery take unnecessary space.

Any help is appreciated.

UPDATE

Found HTCAlbum.apk - which doesn't cause any issues that I've found in the 10 minutes since I removed it except when you hit the button to view images while in Camera, it force closes. Can anyone modify HTCCamera.apk to look for Gallery3D instead of HTCAlbum.apk?

That would be cool. Thanks for any help. Hope this info can help someone.
[Hero CDMA Themes and Apps] MrDanger:
I found the easiest way to remove ALL Sprint apps with one line of code.

Better yet, two words.

rm Sprint*
[Hero CDMA Themes and Apps] computerkid23:
NICE!!!! i have been removing app one at a time nice find on that
[Hero CDMA Themes and Apps] bbv203:
Isn't vvm com.coremobility.app.vnotes? That is what Menu>Settings>Applications>Running Applications lists it as on Fresh 2.0d anyway
[Hero CDMA Themes and Apps] killermiller777:
After the first login I deleted it.
[Hero CDMA Themes and Apps] Rizzo19:
Quick question. I just got root explorer off the market and im just wondering if it is as easy as finding the .apk you want to delete and deleting them? Is there another step? I just want to make sure im doing this correctly.

Thanks
[Hero CDMA Themes and Apps] kyouko:
I've done that before, you have to make sure you select that "Mount R/W" option first near the top. then just reboot after deleting the apk's, but yeah to the best of my knowledge that's it. I've never had any problems doing it that way.

As always, do a nandroid backup before just in case.
[Hero CDMA Themes and Apps] mittensGC8:
how do you delete the files in /data/data?

i keep getting "rm failed for (insert file name here), is a directory"
[Hero CDMA Themes and Apps] regaw_leinad:
that means that the file you are trying to delete is a directory...

IF YOU ARE REALLY SURE YOU WANT TO DELETE A DIRECTORY,

do

adb remount
adb shell
# cd /data/data
# rm -r (whatever you want to remove in /data/data)
# exit
[Hero CDMA Themes and Apps] flame1:
In your guide you have files in there that are odexed for example calender.apk and calender.odex when i pulled mine up i have none that are odexed is that why my phone is so slow im currently running the fixxxxd 3.0 rom
[Hero CDMA Themes and Apps] ItsDon:
I just used Flipz's latest kitchen on my DamageControl2.0.8 rom and removed a bunch of stock apps (Nascar etc.) Worked great and super easy.
[Hero CDMA Themes and Apps] chippillie:
not another thread on this come on people learn how to use the search button. not trying to be rude but its about one a week.

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Themes and Apps] ItsDon:
Another thread? Seriously? This is the granddaddy of all the threads, it began in November. I agree with you on one thing though, use the search button.
[Hero CDMA Themes and Apps] regaw_leinad:
Yeah, haha

I don't know what that guy was talking about lol

This was like the first one lol
[Hero CDMA Themes and Apps] mittensGC8:
Is there a reason for the stern warning? I don't want to do anything to harm my phone, but I have already deleted the programs. Is there a reason to not delete the directories?

Thanks for the help.
[Hero CDMA Themes and Apps] regaw_leinad:
no i just wanted to make sure you didn't think they were just files and accidentally delete something you didn't mean to. Its fine to delete them :)
[Hero CDMA Themes and Apps] doojer:
Got most of my apps removed with my batch file after the DC 2.08 update but curious about these:

Street.apk

SocialNetworkProvider.apk

SDSA.apk

HtcPPST.apk
[Hero CDMA Themes and Apps] macvalentine:
quick question i tried the search but it didnt come up

i wanna remove a bunch of the stock apps like messages and contacts and use ones from the market would it mess up the system?

just wondering before i start doin anythin
[Hero CDMA Themes and Apps] regaw_leinad:
Street is the street view for google maps,

Social Network Prov is to get the facebook info (i'd leave that on)

SDSA is the Device Self Service app

and dont remember off the top of my head what HtcPPST is, maybe htc sync.
[Hero CDMA Themes and Apps] Eagleheart27:
Sort of confused

Could you possibly list the commands necessary to even get as far as the first command line: "abd shell". Sorry, I'm a complete noob when it comes to this.
[Hero CDMA Themes and Apps] Heaterz16:
For Windows:

Start button - in "run" type cmd [This should pull up a dos window]

cd c:\android-sdk-windows\tools [Hit Enter]

After you do that your command prompt should look like this:

C:\android-sdk-windows\tools>

If your dos prompt looks like the above, you should be ready to type adb shell

Disclaimer:

This is assuming you have already downloaded the sdk, unzipped to proper location, etc by following the guide to manually root your phone.
[Hero CDMA Themes and Apps] ejpyle:
Trying to move apps into a dir on SDCARD

I am trying to move the apps from the /system/app dir to /sdcard/appdel/ on my card.

Am I doing something wrong? I am getting this message.

mv Stock.apk /sdcard/appdel
failed on 'Stock.apk' - Cross-device link
[Hero CDMA Themes and Apps] jocampo86:
ok am trying to delete these apps from hero using better terminal i get the list of apks but when i put rm flickr.aok i get failed system read cant delete am i doing something wrong???:o
[Hero CDMA Themes and Apps] Jake-11:
Question...

After I have removed some apps that I do not want, I check the app manager and those apps are still listed. Although there is no data associated with them. When I select an app that I removed, I get a FC. Is that normal? I am running DamageControl v2.08.1, so A2SD is also running. I moved the apps back to the phone and went through adb shell to see if maybe they were still there, but they were not. However, those apps that I removed do not load or show in the apps menu. Just curious. Note: I am pretty much a noob at this... sorry lol

And yes I have rebooted...

Thank you in advance :)

NVM - Did another reboot, then fixed that issue :) odd...
[Hero CDMA Themes and Apps] kingofthehuns:
JFYI, /system is at /dev/block/mtdblock4 on my phone.

#mount

shows that...

The rm you described did not work for me... Do you think the block4 remount would work?
[Hero CDMA Themes and Apps] ilaifire:
When I type

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

I get the error message

"Usage: mount [-r] [-w] [-o options] [-t type] device directory"

I have the superuser prompt (#) when I do this. And when I try going to delete the apk I get the message that it is read only (I'm assuming because the above line did not mount it with read/write permissions). Any suggestions? Thanks.

EDIT: Sorry, I missed the space after "yaffs2" works fine. Thank you very much for the directions.
[Hero CDMA Themes and Apps] shawnee4885:
I am on Windows, so I am obviously using adb-windows.exe. But here is what happens:

# rm HtcFootprints.apk

rm HtcFootprints.apk

rm failed for HtcFootprints.apk, Directory not empty

I did the exact same thing that the OP did. Any ideas?
[Hero CDMA Themes and Apps] kingofthehuns:
Yeah, this only works if you are in recovery mode...

Reboot to recovery, get an adb shell and mount :

Check thread 696681

( Since I am a "newbie", they don't let me post the URL to that thread... Great! - it says I am posting outside link... pointing to xdaforums.com/showthread.php?t=696681 )

- Just to clear it up, going into recovery mode on the EVO should be through the EVO-recovery batch scripts!

- Once in that ( the screen on the EVO shows green text on the top saying "Android system recovery" with the menu ), you can start a shell and do the mount with "mount /dev/block/mtdblock4 /system"

- Before removing anything, I actually pulled the whole /system/app and the /data/data for backup to my PC.
[Hero CDMA Themes and Apps] livinlifes2short:
maybe I am slow and maybe some one can point me to the right post, I open the windows comand box and put in said commands and get system cannot find path? The phone is supposed to be on charging mode only right? Is there something else I am not doing correctly? Thanks
[Hero CDMA Themes and Apps] KitsapAndroid:
Pretty sure you need to have the phone on sync mode so that USB debugging is enabled which then allows you to use the adb shell command. After that use the su command and then remove what you want to.
[Hero CDMA Themes and Apps] shamrock11:
keep getting rm failed for (app name here), read-only file system
[Hero CDMA Themes and Apps] azr6:
Nvm...I figured it out.
[Hero CDMA Themes and Apps] mnxd9:
All the same to delete programs on sprint 2.1 rom right?
[Hero CDMA Themes and Apps] drewk87:
hi, im kinda new at this stuff, but i have a CDMA Hero that i just rooted and i want to remove some of the stock apps. I looked at the steps listed up top, but i dont know what to type in the command prompt window before i can start typing:

adb shell

* daemon not running. starting it now *

* daemon started successfully *

$ su

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

# cd /system/app

# ls

Can anyone help a guy out?
[Hero CDMA Themes and Apps] drewk87:
what USB mode does my phone need to be in so that the command prompts will work?
[Hero CDMA Themes and Apps] :
USB debugging on and on the connect to PC screen "charge only"
[Hero CDMA Themes and Apps] bodyshop:
Are you already rooted?

Did you flash a recovery yet?

If not then start here: http://xdaforums.com/showthread.php?t=583291
[Hero CDMA Themes and Apps] prezmater:
Not all of the stock apps are useless! I resent the fact that Nascar was listed, most of you take NFL off too, am I to believe that being a programmer and developer means you lack the capacity to enjoy sports? Please do not start on the "nascar is not not a sport" string, I have heard everything you will try to tell me.
[Hero CDMA Themes and Apps] drewk87:
Never mind I figured it out... Thanks anyways. Finally free from those retarded Sprint apps! My phone actually runs a little smoother now too.
[Hero CDMA Themes and Apps] 8er:
Deleted the stock apps because we don't want the clutter. Otherwise it seems the post is a trolling one.
[Hero CDMA Themes and Apps] bigrog6395:
app names

I finally got my phone rooted but does anyone know the code names to clock (or desk clock), latitude, navigation, places also is it true if you get rid of messages than handcent won't work i'd like to know this before i delete it thank you
[Hero CDMA Themes and Apps] c00ller:
The clock = WorldClock.apk

I don't think there are individual apk's for latitude, naviation, and places. I'm pretty sure it just all comes as one big package from Google maps.

And yes, if you get rid of messages then handcent or any other sms won't work. Basically never just get rid of Mms.apk. You can replace it with the vanilla 2.1 Mms.apk but you can't text without some Mms.apk.
[Hero CDMA Themes and Apps] bigrog6395:
thanks for the answer i guess i have to keep them i got rid of the clock widget by accident and now i have no clock on my scene and worse my market won't download new apps it just says starting download and doesn't do anything after that do you or anybody on this forum now how to fix that or undo deletions on a rooted htc hero (sprint) thanks in advance
[Hero CDMA Themes and Apps] mercuryblue:
Files still remaining in the phone

First of all thank u all for the great thread ;)

yup rooted my hero 2.1 special thankx to Regaw and his team..thanx once again ..

Further have also remove several app like

footprints.apk / odex

stock.apk /odex

amazonmp3.apk / odex

and few more...

but when i checked in menu>settings>applications>manage applications

its still showing few of the file of the removed applications...the file name of one of them is

com.amazon.mp3

com.htc.android.footprints

com.htc.android.Stock

com.htc.footprints.widgets

com.mobitv.clients.sprinttv

like this...there are many as of my removed app..no doubt there is only few files which is showing size (kb) more than 0 , all other is showing size zero..

... is it a registry file of that application which is still there ??

i think are we just removing or deleting the program directly and not uninstalling it..is it so??
[Hero CDMA Themes and Apps] Big-O-Devil:
Sweet
[Hero CDMA Themes and Apps] mercuryblue:
can anybody tell me how to remove boot amination of sprint?????????...regaw can u please help me with this as ur guide sounds easy for everyone..specialy for a newbie like me
[Hero CDMA Themes and Apps] Big-O-Devil:
Just fine one that you like and that is compatible With your rom and flash it... Droid x boot looks sweet...
[Hero CDMA Themes and Apps] mercuryblue:
@ big-o-devil...

hey dude, actualy i dont want a boot at all..i want to save that time while loading OS..can we just removing this animation stuff to make the start up faster ?? further i'm on the stock rom 2.1 rooted
[Hero CDMA Themes and Apps] Big-O-Devil:
Yo to be honest I haven't come across. That type of setup.... sorry... :(
[Hero CDMA Themes and Apps] c00ller:
i don't think it will make your boot any faster. if anything, i'm guessing you'll see a blank screen for the same amount of time while your phone is loading stuff in the background. the animation is just there as something to look at while the phone does its work behind the scenes; it's not just some meaningless delay from getting to the home screen faster.
[Hero CDMA Themes and Apps] kstano83:
guys im running SP-FroYo v1.0 AOSP and would like to uninstall navigation and places apps...

how can i do it?
[Hero CDMA Themes and Apps] c00ller:
I don't think you can. I'm pretty sure they're built-in the google maps application. If it really bugs you that much you can install LauncherPro and hide those things from appearing in your app drawer
[Hero CDMA Themes and Apps] kstano83:
yeah I thought so

what if I uninstall maps and install google earth instead? will it do?

also...i never use latitude, can that app be uninstalled?

thanks
[Hero CDMA Themes and Apps] dean.d:
adb rm HtcNaviPanel.apk

That's what I did on 2.1 but I don't know if the apps are separated or not on froyo.
[Hero CDMA Themes and Apps] kstano83:
by deleting street.apk i got rid of latitude, navigation and places as well :)
[Hero CDMA Themes and Apps] c00ller:
Does your street view in google maps work now that street.apk is gone?
[Hero CDMA Themes and Apps] kstano83:
actually, by deleting street.apk I got rid of google maps as well LOL :D
[Hero CDMA Themes and Apps] Dan330:
hi..

I lost my memory card.. and had to start over.

my Hero has been rooted since Dec 2009.

i was able to delete files before.. using these instructions.

but now they do not work.

I am using the same laptop which has the orginal files that I used to root and delete files the last time. I am guessing that there is something missing on my new 16gb class6 card that does not allow my "adb shell" or "adb devices" to work.

i was able to partition the new card and run app2sd. I also flashed on DC 2.1 last custom ROM.

I checked USB Debugging is enabled.

what is missing?
[Hero CDMA Themes and Apps] scottspa74:
a question...

Hi, I have a question.

I don't use adb, I do all my root stuff and modding thru the handset directly, or if I do plug in to a computer to move pics, music, etc., I just use drag and drop method. From all I've read, it sounds like adb is just an alternate method of drag n drop (correct me if I'm wrong, please).

That said, I have used root explorer from the market to go into /system/app and rename all the sprint crap I don't use to .bak (example: sprint_Nscar.apk.bak) . I was afraid to outright delete them, for whatever reason. I'm not really concerned with freeing up space, as Evo has plenty. But I just don't like seeing that crap in my app launcher, and also, I was hoping it would prevent this **** from running in background and sucking up battery.

So, the apps don't show up in my launcher anymore, and when I go to settings>manage applications they don't show up anywhere anymore. So, my point, the stuff I renamed .bak, and now can't find in launcher or settings, can't possibly be running secretly, or using my battery, can it? Thanks, that ultimately is my question and point of my whole post.

Thanks in advance.

Scott
[Hero CDMA Themes and Apps] purduepete05:
Remove Market????

Hey,

I have my phone rooted and I am wanting to remove the market, but I cant find it listed using the ls command. Does anyone know what it is called, and has anyone else removed it without a problem?

In case you are wondering why... I don't want access to some of the junk that is available on the market, and I don't want one of my kids browsing the market and finding explicit material...

Thanks!
[Hero CDMA Themes and Apps] bk718:
Vending.apk

wouldn't recommend deleting it tho.. as far as you not wanting to access "junk" thats available in the market, its not like stuff would download on its own.. and as for the kids browsing the market, you could password protect it.. there are apps in the "market" that you could use to password protect any app you choose..
[Hero CDMA Themes and Apps] robinscrest:
ok i must be dense but when i type in adb shell and hit enter to get to the next line it then says;

ADB is not recognized as an internal or external command, operable program or batch file

HELP!!!
[Hero CDMA Themes and Apps] tuktukscotty:
I get that too!. I have done this before but cannot remember how???.

I downloaded all drivers etc when I rooted my Wildfire but never needed to touch em since!. I remember that I had to see that it showed up as Android 1 in "manage" through right click of my computer but it is not showing android 1 anymore, what am I doing wrong???.

Please help!!
[Hero CDMA Themes and Apps] Damjan94:
I got that too, so I used terminal emulator on my phone, and I did this

$ su

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

# cd /system/app

# ls

but I did not get the ".odex" extension I only got ".apk" and when I removed all app's that I wonted it didn't free up any space.

OK, so now I installed another ROM and when I type rm FileName.apk the erorr tells me that the directory is not empty and so it can not be removed... please HELP!!
[Hero CDMA Themes and Apps] wasnt:
This is great!!!

Thanks!

Removed lots of stock apps.

Nascar, NewsReader, NFL, Qik, SprintZone
[Hero CDMA Themes and Apps] Damjan94:
There is another way-Titanium backup. it can uninstall everything with a single push on the screen and is much better looking then Terminal emulator.

But titanium back up cant uninstall Wawe secure...
[Hero CDMA Themes and Apps] andythegreenguy:
Script to remove apps...

Here's a script I wrote to remove apps, it's a simple script that removes all apps listed within the "Apps-To-Remove.txt" and creates a "rmapp-run-results.txt" with a log of all runs. You can run this through adb shell or terminal app. This script just automates what you would otherwise do manually.

1. Unzip the contents of the attached zip in a folder on your sd card

2. Verify and update "Apps-To-Remove.txt" for all apps you want removed

3. Execute the script from adb shell or terminal and follow prompts

Enjoy!
[Hero CDMA Themes and Apps] nlounds:
adb is not recognized as an internal or external command

I'm a complete noob and was getting really frustrated because I couldn't get any of the adb commands to work. Finally I figured out that adb.exe has been moved in the latest from of the Android SDK. It is now in the platform-tools folder.

On Windows I had to run the Android SDK exe (installer_r08-windows.exe).

Then in the command prompt I navigated to the folder that contains adb.exe. In my case (Vista 32-bit) that is:

c:\Program Files\Android\android-sdk-windows\platform-tools

Once I'm in that folder the commands work fine.
[Hero CDMA Themes and Apps] SirJohan:
Some of the apk / odex names have changed for the stock apps that are bloated garbage.

I launched adb shell, setup super user as above and mounted the above settings.

Only thing I had to do was 'chmod 755 *.*' to get the file folder to give me read / write

NFL - sfl-prod-release.apk

Nascar - nascar09-prod-release.apk

Of course I tossed out Qik, Sprint zone, Nova, TV, and TV Widget.

That gave me back a good amount of space for the apps I want to install.

Thank you for the great guide for all of the above stuff. :)
[Hero CDMA Themes and Apps] Sniper_HIF:
Need help

I Can't chmod my files. And I can't delete them the are read only. Please help me im a noob. ;)
[Hero CDMA Themes and Apps] sleepyEDB:
Did you remember to type this command first?

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

sleepy
[Hero CDMA Themes and Apps] Sniper_HIF:
Yes, I have tried 3 times now. I have taken some screenshot that maby can help you help me :confused:

w w w.sugecrew.dk/billeder/opload/ScreenShot004.jpg

w w w.sugecrew.dk/billeder/opload/ScreenShot005.jpg

Can't link Im to new att this site.

Michael.
[Hero CDMA Themes and Apps] Drunkpilot:
Why not download titanium backup from the market and delete from that- you can back up the ones you might want too. Or, use something like root explorer and go into system/apps and delete from there. Unless you want to plug in and use some commands for fun or learning which I completely understand.
[Hero CDMA Themes and Apps] Sniper_HIF:
I have tried both programs now and the apps are still there. it sayes that it is deleting the file. But the files is still there.

Found out my phone should be S-off now alle the apps a gone. thanks for all the help.
[Hero CDMA Themes and Apps] Neo3D:
Are you sure it's called LearnMore and Peep? The apps are in my drawers but no such APK names?
[Hero CDMA Themes and Apps] irshadamaks:
but when i used $ su shows "not found" error
[Hero CDMA Themes and Apps] 5tr4t4:
Backup as good practice

Besides the Nandroid backup (essential!), I would personally backup an app before simply removing it, even if you are sure you don't want it. I assume you can just push/pull everything with adb, put it in a nice safe place on your computer in case anything goes wrong.

Then rather than restoring the whole system to stock (losing all of your post-rooting edits) you can just restore the last removed app.
[Hero CDMA Themes and Apps] FoxRacR17:
if you did a nandroid backup after rooting, and restored through nandroid, wouldnt that keep the work you did on rooting?
[Hero CDMA Themes and Apps] Negrito:
is the 'pull' command more like copy/paste or cut/paste?