yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] xrabbitfootx:
are you trying to install it like an update.zip? it's meant to be run from your computer.

- rf
[Verizon Samsung Galaxy S 4] brock1909:
and now i feel like an idiot....thank you.
[Verizon Samsung Galaxy S 4] xrabbitfootx:
don't feel like that!

i don't like people to feel bad, so i threw together an update.zip to flash :)

it deletes the following:

Books.apk
Music2.apk
Magazines.apk
Com2usPoker_ASGC.apk
Match3VS.apk
PolarisOffice5.apk
ChatONV_J.apk
InteractiveTutorial.apk
Flipboard.apk
SamsungLearning.apk
TripAdvisor.apk
SamsungApps_J_Only.apk
SamsungAppsUNA3.apk
SamsungBooks.apk
SamsungHub.apk
SamsungHubUpdater.apk
Episodes.apk
StoryAlbumWidget.apk
Blurb.apk
GMS_Maps.apk
ChatON_feature.apk
KNOXAgent.apk
KNOXStore.apk
YahoonewsPhone2013.apk
YahoostockPhone2013.apk
VzTones.apk
VZNavigator.apk
VisualVoiceMail.apk
Viewdini.apk
TravelWidget.apk
TravelService.apk
MyVerizon.apk
canid.apk
Amazon_MP3.apk
Amazon_Shopping.apk
Amazon_Widget.apk
Amazon_IMDB.apk
Amazon_Audible.apk
Amazon_Appstore.apk
PreloadIndtaller.apk
SetupWizard.apk
Books.odex
Music2.odex
Magazines.odex
Com2usPoker_ASGC.odex
Match3VS.odex
PolarisOffice5.odex
ChatONV_J.odex
InteractiveTutorial.odex
Flipboard.odex
SamsungLearning.odex
TripAdvisor.odex
SamsungApps_J_Only.odex
SamsungAppsUNA3.odex
SamsungBooks.odex
SamsungHub.odex
SamsungHubUpdater.odex
Episodes.odex
StoryAlbumWidget.odex
Blurb.odex
GMS_Maps.odex
ChatON_feature.odex
KNOXAgent.odex
KNOXStore.odex
YahoonewsPhone2013.odex
YahoostockPhone2013.odex
VzTones.odex
VZNavigator.odex
VisualVoiceMail.odex
Viewdini.odex
TravelWidget.odex
TravelService.odex
MyVerizon.odex
canid.odex
Amazon_MP3.odex
Amazon_Shopping.odex
Amazon_Widget.odex
Amazon_IMDB.odex
Amazon_Audible.odex
Amazon_Appstore.odex
PreloadIndtaller.odex
SetupWizard.odex

if you don't like something:

1) open the zip and go to meta-inf/com/google/android/updater-script

2) drag updater-script to your desktop

3) edit updater-script lines that look like

delete("/system/app/XXX.apk");

4) save updater-script

5) drag edited updater-script back into the update.zip, overwriting the meta-inf/com/google/android/updater-script

WHAT YOU DO ON YOUR PHONE YOU DO AT YOUR OWN RISK.

MAKE A BACKUP FIRST.

I'M JUST A RANDOM ON THE INTERNET.

enjoy!

rf

ps. bhp090808, i hope you don't mind me putting it on this thread. i'll remove it if you'd like and you're free to do whatever you'd like with it.
[Verizon Samsung Galaxy S 4] bhp090808:
By all means this thread was started with participation in mind. I apologize for getting upset, but keep in mind if im willing to take time out of my life to contribute id expect ppl to ask how they can make it there own instead of complaining about results of blindly using a tool without fully understanding it. Thanks RF for contributing. Thats what xda is all about

BEAST......... that is all
[Verizon Samsung Galaxy S 4] saul1991:
Is there anyothrr way to add more apps to the tool for example I still have flipboard,amazon,gmusic and some other google apps I never use
[Verizon Samsung Galaxy S 4] kpa2727:
I fixed my phone today and decided to flip the script. Since trying to get back any stock APK's is a royal pain in the you get it. I took a brand new Verizon S4 at work and pulled with Root Explorer the entire Apps folder. So anything this tool deletes in Apk folder can be restored. It's uploading right now. Roughly 800 megs, If you would like you can add it to your post in case anyone needs them.

Here's a link for a zip containing every APK included in the Apps folder. I pulled them from a brand new Verizon Galaxy S4. https://mega.co.nz/#!ac8TgIQC!MqnkjQt_wp_SS5O0_AJ2DStlluBufdabzxU-5cq7X4E
[Verizon Samsung Galaxy S 4] xrabbitfootx:
go back one page.

- rf
[Verizon Samsung Galaxy S 4] mofoliar:
Loved that tool.. thx... just one ? how bout removing vz security
[Verizon Samsung Galaxy S 4] bhp090808:
Just add it into the script my friend and post it up. Make it your own:D

BEAST......... that is all
[Verizon Samsung Galaxy S 4] Stauf99:
Awesome idea but something is going wrong on my end.

When the program tries to delete something it says that it can't be found.

Anyone have any ideas?

Stock Rooted Verizon S4

edit: it did delete somethings but others like preloadInstaller.apk remain
[Verizon Samsung Galaxy S 4] Stauf99:
while i'm at it, can anyone tell me what might happen if I delete these more verizon specific apps?

vmmhux

VMS

VAWAPNLib

vzwapnpermission

VZWAPNService

VzwSilentSSOEngine

and another possibly non-verizon app: Velvet

all .apk

and as always I have tried searching before posting.
[Verizon Samsung Galaxy S 4] citronbull:
Awesome, cant wait to try this when I get home!
[Verizon Samsung Galaxy S 4] bhp090808:
Are you rooted?

BEAST......... that is all
[Verizon Samsung Galaxy S 4] Stauf99:
positive. after I manually removed the preloadInstaller.apk all the other deletes worked for me.

Now I'm dying to know what Verizon poop I can do without. Nifty program ya got here bro :cowboy:

edit: and just to make sure i'm not the only one, are everyone elses app icons remain after the delete?
[Verizon Samsung Galaxy S 4] onearmsysiphus:
Hi bhp090808 and xrabbitfootx,

I am having trouble completing the one-click debloat process as described by xrabbitfootx in post #28

and since I'm a new guy... Maybe someone here can help??

I'm running a rooted Verizon S4 with Synergy ROM. I followed the procedure described by xrabbitfootx to edit and compile my own BAT file of bloatware I want to remove.

I have checked and double-checked that my BAT file is formatted according to his procedure.

When I run the BAT from my computer, as described in post #30, the terminal window shows it running, it completes, my phone reboots, and yet I'm still left with the bloatware that I started with.

Can anyone help pin down where I'm going wrong?

Also, it seems that in post #32 an alternate method is described by xrabbitfootx. Can anyone please tell me how to utilize the script from that post to remove bloat? Maybe that method will work where the BAT file method hasn't. I'm just not sure if I need to transfer that zip to my phone's memory or the sd card, and once it's there, how do I go about loading it? Should I be using CWM? TWRP? Boot to Odin and flash from there?

Thanks to you both for any help you can offer. I think I'm just a little too new at this to fully grasp all the initial steps that a more experienced user assumes we all know and that must be taken before engaging in something like this.

Much appreciated!
[Verizon Samsung Galaxy S 4] xrabbitfootx:
onearmsysiphus (love the name. i'm a big fan of albert camus),

honestly, i can't get the .BAT to work from my work computer (i have admin rights there & it *should* work, but it doesn't) and, truth be told, i prefer to work with the update.zip.

in post #32 i'd uploaded an update.zip. that update.zip can be flashed like a ROM in CWM/TWRP in recovery.

1) use a program like 7zip/winRAR to right-click>open the uploaded update.zip (do NOT extract it!)

2) drag meta-inf/com/google/android/updater-script to your desktop

3) right-click>open/open with>select program> notepadpad/notepad++ (notepad++ is great and can sometimes show you mistakes)

4) edit

now, which files to delete, right?

- one way to find out is : open up the ROM update.zip that you flashed the same was as above, then go to /system/app to find the name of the files that you want deleted (you can actually delete them right from here with right-click>delete but using my update.zip means setting something up so you don't have to do that every time. pretty cool, huh?)

- if you want to get more aggressive, you can track down the apps using these links

- to be honest, the way i track them down is using root explorer and go to /system/app, look at the pictures, then open up the corresponding picture from my app tray. if i don't want it, i write down the name of that app/apk and update the script. it's a slow process but, again, you're setting an update.zip up so you don't have to un-install/delete every time.

lemme know if you have any questions and good luck :)

-rf
[Verizon Samsung Galaxy S 4] onearmsysiphus:
Hey rf,

Thank you SO much for the extra explanation. I edited as you instructed, adding and removing .apk and .odex lines for the apps I want removed/want to keep. And yeah, your way makes much more sense for an efficient way to use the same file for future ROM updates.

I followed your steps, but when I tried to flash from TWRP in recovery mode, I got a "failed" message. I tried flashing the .zip file from both the phone storage and from the microSD storage. Is there another way/step I'm missing?

Thanks again for not only helping me with this particular issue, but for helping me better understand how this whole dev thing goes down.
[Verizon Samsung Galaxy S 4] xrabbitfootx:
i'm stupid-- must've been light-headed from my workout :) after you edited the script, did you:

5) save it

6) drag it back to the same location in the update.zip, allowing it to over-write the old one?

if so, try pulling the script out, delete the delete("/system/app/XXX.apk"); lines, save it, drop it back into the update.zip, and flash it again (it shouldn't matter if it's internal or sdcard. i've done both). if it still errors, and those are the only lines you altered, my guess is something happened to the signature on the update.zip. you should then re-download and try again.

if it doesn't error, when following those steps, we know the something is wrong with one of the delete("/system/app/XXX.apk"); lines.

please, let me know how it goes. we'll get to the bottom of this :)

thanks,

rf
[Verizon Samsung Galaxy S 4] onearmsysiphus:
Way to look out for the basics haha! Yes, I did both of those. I'm now trying with the "barebones" script, having deleted all the apk lines (and saved, and dragged back to zip folder within 7Zip). Here goes!

EDIT: SUCCESS!!! The file, sans any "delete apk lines" flashed successfully from TWRP. OK, so it must be some line of the "delete apk" stuff.

So my turn for a stupid question: Should there be quotes around each line??

---------- Post added at 07:29 AM ---------- Previous post was at 07:12 AM ----------

And now I feel a little stupid and bewildered, bc I re-dl'd your zip file and tried flashing it without making any modifications and IT WORKED!!

Feelin like a true rookie here...

I'm now going to go back and look at my altered version and see what disparities might have caused my version to fail.

I'll update with an attached file when I find out what I did wrong.

RF, thank you so much for your help. INfinite thanks and a beer coming your way. :beer:
[Verizon Samsung Galaxy S 4] swieder711:
Very helpful thread.

Thanks
[Verizon Samsung Galaxy S 4] xrabbitfootx:
glad to hear it worked!

the delete lines should look like this:

delete("/system/app/XXX.apk");

so, yes, there should be quotes.

next, i'd try doing it with just 1 app. if you can get that to work, you should be able to get multiple apps to work :)

please, keep us updated. it's a great feeling to get it to work after many unsuccessful attempts! (i know, i originally had quotes around "thanks" in my script which you can't do).

enjoy!

-rf
[Verizon Samsung Galaxy S 4] Scott:
EWWW EWWW! I know these....

Velvet is Google Search / Now

VMMhux is part of VZW BAck up Assistant.

APN lib is assumed to be just that but now sure exactly how...

VZWAPNpermissions are important...

APNService goes along with the top 2... Pretty sure its a way of locking down the APNS to what Verizon wants but not really sure.

Silent SSO Engine is part of the Verizon secure log in for verizon apps such as My Verizon, etc.
[Verizon Samsung Galaxy S 4] Stauf99:
Haha, Thanks again Scrosler!

Having second thoughts on a more minimalist rom/mod are we? ;)
[Verizon Samsung Galaxy S 4] icebear8:
having trouble when i run the tool it says this for everything rm failed for system/ blah blah blah and it does that for all the apps it tries to delete.

i am 100% sure i am rooted and used root checker to double check
[Verizon Samsung Galaxy S 4] bhp090808:
Try reinstalling drivers and or use a different usb port

BEAST......... that is all
[Verizon Samsung Galaxy S 4] CC268:
How does this compare to truly clean 1.4??
[Verizon Samsung Galaxy S 4] xrabbitfootx:
I don't know. What's truly clean?

sent from my Android device
[Verizon Samsung Galaxy S 4] ReyBoricua:
truly clean script does not work for the VZW s4 thats how :p
[Verizon Samsung Galaxy S 4] RubnVdub:
either im doing something wrong or this doesnt work on new root for VRUAME7 because i am getting rm failed for system/app/every app.apk/odex No such file or directory.

any help would be appreciated. just rooted phone using new VRUAME7 exploit on stock ROM. would love to get rid of half the preloaded garbage without having to install a new rom.

any help/info would be appreciated and yes debugging is enabled under developer options.
[Verizon Samsung Galaxy S 4] elliwigy:
if your rooted install titanium and remove bloat manually?
[Verizon Samsung Galaxy S 4] RubnVdub:
Thanks for the tip. Always flashed new roms to phones. First time ive been happy with a stock rom lol. Thanks again for the tip
[Verizon Samsung Galaxy S 4] Lander3:
Here are some more you can remove:

rm /system/app/Kindle.apk
rm /system/app/SHealth2.apk
rm /system/app/SMemo2.apk
rm /system/app/SMemo2.odex
rm /system/app/S_Translator_CSLi.apk
rm /system/app/S_Translator_CSLi.odex
rm /system/app/SamsungGames.apk
rm /system/app/SamsungMusic.apk
rm /system/app/SamsungVideo.apk
rm /system/app/S-Voice_Android_phone_J.apk

Removes Kindle, S Health, S Memo, S Translator, Video and S Voice

For some reason, my install still has NFL Mobile on it, and I can't find the apk in the /system/app/ folder, or anything that mentions NFL at all. :o Also would like to remove Samsung Link and VZ Security, but I'm not overly concerned about them at the moment.

Thanks for the initial list!
[Verizon Samsung Galaxy S 4] Bait-Fish:
com.mobitv.client.nfl2010.apk in /system/app looks to be the one.
[Verizon Samsung Galaxy S 4] brandonkill02:
hey any specific reason i cant get this to work everytime i run the tool it says failed to remove then says file does not exist for each app

Edit : right after i posted this i got it figured out thanks
[Verizon Samsung Galaxy S 4] joey3002:
Which APK is the calendar app? I removed it and am trying to reinstall it. I downloaded the big apk pack in the 1st thread but am not sure which apk I need to install again to get the calendar.

While I am asking, I also need the My Verizon app..

thanks
[Verizon Samsung Galaxy S 4] b4u2:
When I run this bat this is what I get.

Server not running

Daemon not running. starting it now on port 5037

daemon started successfully

Then it just sits there....am I missing something?

Edit: I found the flashable zip and flashed. The apk's are gone in system apps but the apps are still in the menu folder. Do they then need to be uninstalled? Did this just free up space from the apk's sitting there?
[Verizon Samsung Galaxy S 4] Kravur:
OP thanks for the tool, works great. Definitely a lot faster than doing this manually.

For everyone else I took a combined, what I believe is, a good debloat list here. This is my first Samsung phone so I most likely haven't included every useless app but it is a good start. Just copy/paste this list into OP tool and run.

Thanks

Kravur
[Verizon Samsung Galaxy S 4] tech_head:
Is this the VRUAME7 version of the apk files?
[Verizon Samsung Galaxy S 4] ljv:
So what was the reason? I get the same thing?
[Verizon Samsung Galaxy S 4] broderp:
Reinstall bloat

Question: I read the thread on "1 click debloat". It's scary to take it all out, and still above my head in modifying any files for a custom debloat.

So my question is this, after I root, install SUPER SU and Titanium Backup (Free version) I know I can freeze apps and unfreeze them.

Can I use Titanium Backup to uninstall bloat apps or will the root let the stock program manager unistall the bloat, such as VZ Navigator?

I also plan on downloading the zip with all the APK's (just in case). How do I reinstall them? Do I just side load them or will simply selecting them allow me to install just like any other app archive I have?
[Verizon Samsung Galaxy S 4] wedmiston:
just got root and really want bloatware off....but....will this tool remove any of the functional stuff like air view, air getsures, smart scroll, etc. I only want apps off
[Verizon Samsung Galaxy S 4] k1mu:
the most likely fix?

the lines like:

adb shell su -c "rm system/app/Viewdini.apk"

really need to start with "/":

adb shell su -c "rm /system/app/Viewdini.apk"
[Verizon Samsung Galaxy S 4] broderp:
How do I manually uninstall an app such as VZ Navigator?

Also, why is there an "apk" and "odin" for most apps in the system forlder? If I uninstall an app such as Kindle, can I still install it from the Google Play, and then just uninstall like any other app, or will it always be recognised as core app and I have to use root tools to uninstall?

(I currently try to uninstall Kindle and the only option I have is to uninstall all the updates and keep the original version.)

Thank you,
[Verizon Samsung Galaxy S 4] warriorpluto:
How much space are you left with after debloat?
[Verizon Samsung Galaxy S 4] k1mu:
The APK file is the base program. There's an optimization process that converts that to an ODEX file, which breaks the application up into pieces that help speed up the boot process by allowing the system to quickly build the dalvik cache. So, you normally delete both the .apk and the .odex together.

Uninstalling "base" applications that were baked into the ROM can't be accomplished using the normal application uninstall process. You must use a file manager with root permissions (and with /system mounted read-write) to remove those apks.

So, for your Kindle app, uninstall the updates, then use a root file manager to remove the remaining .apk (and .odex).
[Verizon Samsung Galaxy S 4] wedmiston:
Will this work seemlessly if I am on Hyperdrive and safestrap?
[Verizon Samsung Galaxy S 4] broderp:
Thank you for the responce.I assume when you say I must use a file manager with root permissiond to remove the apk and odex file I'm just deleteing the file, there's no unistall procedure. Right?

I should then be able to reinstall an app via the play store then, and remove it like any other app, correct?
[Verizon Samsung Galaxy S 4] k1mu:
Yup, that's correct.

One of the "bloat" problems with Android is that if you have a ROM-provided application, then installing an update from the app store doesn't remove that application, it just replaces it with a newer copy. Applications stored in /system/app are "pre-installed" and can't be removed. If an update to those is installed, it'll be placed in "/data/app" and be preferentially used over the pre-installed version. But that means that you have that old, unused copy of the app using space. Deleting that is good if you want to avoid that wastage.

Wiping the ROM-provided copy will often break OTA updates, so it's not something you should do all of the time. If you don't care, remove it.
[Verizon Samsung Galaxy S 4] broderp:
Best answer I have had on this. Thank you! (Hit the "THANKS" meter for ya ;) )

Can I take the apk file from this and install it on another device? Say the calendar apk? (I like the 4.2 calendar better then the one on my Asus tablet running 4.2)

I'm also reviewing the official list of de-bloat and the list is not correlating with what I see on my phone fro some reason. SO I am very apprehensive to delete anything yet.

I'm using an app called "FX" by Nextapp. I have the paid version of that as well as thier root add on. I can DISABLE any apk in the details screen. They in turn show up as "FROZEN" in Titanium backup. (NOTE: It's not commonly said that using the free version of TB does NOT allow one to freeze an apk.) You can however defrost it after I DISABLE it in FX, which tells me that FX is doing the same thing as TB. (I hope!)
[Verizon Samsung Galaxy S 4] broderp:
This made so much sense. Thank you.

Here are my thougths in random order as they pop into my head on this subject:

I too fall in the category of noob and just rooted my phone. So far so good. Baby Steps. I finally figured out how to edit this darn program (right click and select edit ~ be nice if this was in the first post) but when I try to open the dummies file ( :p ) I get a windows screen blocking me! But I can open the original one from the first post. Not sure whats going on there.

Here's what I've found. My phone does not appear to have the apps names the same as mentioned here, or the programs I'm usung call them differently. This is confusing. I have download the chart, but that only confuses me more as I can find only a few of those programs on my phone. Also the description is sort of vague.

I'm curous what programs are linked to others, I fear uninstalling one program will break another. I'm also confused as to how to reinstall them if I want. Do I go back and drop them in the system/app folder where they came from or do I run them from the sd card or app folder? Whats the odex file for? Do I need it? How do I restore it? (I'm assuming the debloater will remove it.)

The chart linked to is great, but I need it in an EXCEL format. I wont ask anyone to do this (unless they want to! ;) ) but for that chart to work, I would have to reorganize it as I learned what each did and what dependencies they have. Since everyone is different, this tool allows us to customize it, but not everyone wants the same thing.

I would prefer the following grouping or similar: (grouped and identified)

1. Samsung S4 phone features (Driving Mode, MultiWindow, Smart stay, S Beam etc..)

2. Samsung apps they install (Sansung Hub, Samsung Calendar sync, Samsung Games, Sansung Link etc.)

3. Added content (S health, S Note provider, Viewdini and everything else) (some of my examples may fall into #1 or #2 above)

4. VZ apps (navigator, VZ Tones, VZ Login etc..

5. CORE APPS (DO NOT DELETE)

Or something similar. I would keep (for now) the Items in #1, Debloat any non used items in 2 thru 4. As the list is I do not know what catagory it falls under or if I should delete it. To simply say you can customize it is an understatement. Sure I can run the bat file or attemt to edit, but that power with no organization and knowledge is dangerous. Remember some of us are new to this. There is a learning curve to this stuff.

Sorry for the haphazaed and scattered thought process (with spelling and grammar errors) of this post. I wanted to get it out before I forgot.

THANK YOU for what you guys do here, and for sharing your insight and knowledge. This is not a complaint, but an observation on my end as I try to navigate this and learn on the fly. Hopefully I can debloat this stuff and keep my phone in good working order. I've heard the Stock Kernel is pretty good as is battery life with all the debloat out. I'm not looking for custom roms or anything fancy...YET!:D
[Verizon Samsung Galaxy S 4] broderp:
Wow..several days and no activity ..
[Verizon Samsung Galaxy S 4] dougeefresh:
Problem

I did debloat using this. Worked great!

However, I missed the part where it removes the built-in mail and exchange server function. When I tried to reinstall the two using the apks included in this thread, I am getting "x Application not installed" error. The exact files are SecEmail_J.apk and SecExchange.apk. They both are giving me the same error.

Any idea to reinstate the two apps?

Thanks.
[Verizon Samsung Galaxy S 4] xxxtncxxx:
Anyway we could get an updated version of this debloater? For MJ7/MK2?

Good work on the OP and Thanks!

:good::good:
[Verizon Samsung Galaxy S 4] scristopher:
any idea how much space this actually frees up? I'm just looking to free up some space for safestrap. also linux version would be appreciated, sample attached from basic apk list
[Verizon Samsung Galaxy S 4] gnubian:
Just place the apks in /system/, fix permissions, and move to /system/app/. should work.
[Verizon Samsung Galaxy S 4] Marshmellow92:
Just says not found...missing... And reboots and nothing deletes

anyone still here that can help?