yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Themes and Apps] Kaito95:
TEST 2

I updated the zip a little bit :) It's the same but some folders won't wiped.

It will wipe the following folders:

ui_print("Deleting folders and misc...");

delete_recursive("/system/media/video"); <---- Crap ^^

delete_recursive("/system/containers"); <---- KNOX related files

delete_recursive("/system/lost+found");

delete_recursive("/system/preloadedkiosk"); <---- i don't know :P

delete_recursive("/system/preloadedsso"); <---- KNOX related file(s)

delete_recursive("/system/opticalreader"); <---- OCR Reader related files

delete_recursive("/system/voicebargeindata"); <---- S-Voice related files

delete_recursive("/system/etc/kies"); <---- Kies related files

delete_recursive("/data/dalvik-cache");

delete_recursive("/cache");

and the following folders will not wiped:

delete_recursive("/system/preloaddata"); <--- has this folder ever exist in 4.3 ?? :confused:

delete_recursive("/system/app/pak"); <--- seems needed for the framework

delete_recursive("/system/app/mcRegistry"); <---- see above

delete_recursive("/system/wakeupdata"); <---- sensory files
[Galaxy S 4 Themes and Apps] Thorvic777:
Where to change the Kernel

It ust work with the modified kernel set to permissive???
[Galaxy S 4 Themes and Apps] Kaito95:
It's better to use a kernel which is permissive. I have made the experience that i got some force closes when some apps is missing on system (especially samsung core files).

By the way I would like to thank everyone who has test my 'small' mod and helps me how to resolve the problems by reporting it :)

i like this community so much :thumbup:

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 Themes and Apps] mw86:
Im so glad to have been involved. Latest version tested just now on my gti9500 and wifi is still working, again excellent work.
[Galaxy S 4 Themes and Apps] mw86:
Still only one lingering issue. Wifi is working but for some reason rather than getting full streams of data thw connection seems to now have a trcikle effect and is slower. Also I added BBM and it is not working sending messages. Do you know if some of these could be used for some messaging apps or anymore related to wifi connectivity or stability. Glad to continue testing. I have to re clean install again to solve the bbm issue so Ill keep an eye out for any responses :)
[Galaxy S 4 Themes and Apps] Rixsta:
Thread Closed

No longer supported...
[Galaxy S 4 Themes and Apps] garshhh:
Nice script, after using this i get 600 mb extra free space on System Rom.

When using BT headset, there is SensorService error FC, need to restore Sensor Service.
[Galaxy S 4 Themes and Apps] dying4004:
I am running Waramlite rom and ran this script but all the apps are still here.

nothing is removed
[Galaxy S 4 Themes and Apps] Analogiker:
Thank you very much. Works great, except SensorServive should be kept
[Galaxy S 4 Themes and Apps] Jens0609:
I've just tested with the Omega Rom version 1.1. The 1.1 goes again. 1.0 did not work for me with Omega Rom 5.0 also. Nice to have you've done the work, saving up a lot of time when new.:good:
[Galaxy S 4 Themes and Apps] schoolsux:
What recovery did you use? Script is fine with PhilZ Adv. Touch!

Remember apps like Google+ etc. could have been updated and placed in /data section as well. However all unwanted data apps can be uninstalled easily.
[Galaxy S 4 Themes and Apps] schoolsux:
Np mate! :)

Looking thru the script I can't locate what could be linked to SensorService. I don't use bluetooth headset too often so I apologize for breaking functionality.

Was SensorService working after running version 1.0 script? :confused:
[Galaxy S 4 Themes and Apps] tango280581:
If I use titanium backup and just back up the apps I wanna keep (browser) then restore, that should work too right mate?
[Galaxy S 4 Themes and Apps] schoolsux:
If you are using a rooted and deodexed official rom, yes.

Read the #1 post carefully ;)
[Galaxy S 4 Themes and Apps] schoolsux:
Just edit the script to NOT remove the browser.

EDIT: I did it for you, see the attached file!
[Galaxy S 4 Themes and Apps] schoolsux:
If anyone like to mess with AROMA, feel free to make an AROMA version of my removal script and PM me ;)
[Galaxy S 4 Themes and Apps] tango280581:
Cheers mate. Your a star
[Galaxy S 4 Themes and Apps] samuel2706:
Love how you managed to get "****" in the title without being told off hahaha controversial :cool: good script btw removes half the stuff no one actually uses and makes things faster and more battery efficient.
[Galaxy S 4 Themes and Apps] shub:
Lovd ur rom on s3.. Mak it on s4 GT-I9505 plss... :)
[Galaxy S 4 Themes and Apps] tango280581:
Can anyone upload me the csc apk please
[Galaxy S 4 Themes and Apps] Grusburk:
Thank you

Skickat från min GT-I9505 via Tapatalk 2
[Galaxy S 4 Themes and Apps] schoolsux:
Sure ^^

I don't get what need you have of it but... ;)
[Galaxy S 4 Themes and Apps] derycklong:
sensorservice force close when i reboot my phone. is sensorservice critical?
[Galaxy S 4 Themes and Apps] schoolsux:
Well not critical but... annoying. I'm trying to locate what the script removes that is needed for the service to work properly. Funny thing is I have no sensor problems or whatever. Maybie its connected with S Voice or some stuff :cool:
[Galaxy S 4 Themes and Apps] afx69:
I got that error too.

I get it sometimes within sending SMS, and when I choose to connect Bluetooth devices....

Would be nice to get those annoying messages away...
[Galaxy S 4 Themes and Apps] derycklong:
It is safe to disable sensor service.apk
[Galaxy S 4 Themes and Apps] diego9016:
Download and flash in recovery? Can I edit the updater script to add and delete apps?

Thanks in advance.
[Galaxy S 4 Themes and Apps] Dennys_Santos:
Yes!

very easy to make any changes it deems necessary.

implement your needs in the file TrulyClean.sh

Enjoy.
[Galaxy S 4 Themes and Apps] toryonway:
this is same bloatware remove ?

same remove bloatware in omega topic
[Galaxy S 4 Themes and Apps] Dennys_Santos:
Not the same, ie, we gathered the best of two worlds! :good:

And also everything will move a directory called "TrulyClean", see the script.

mkdir -p /data/media/0/TrulyClean/system/app
mkdir -p /data/media/0/TrulyClean/system/media/audio/ui
mkdir -p /data/media/0/TrulyClean/system/lib

This way it will be easier to return to the original, if deemed necessary.

As was the case with the "tango280581" that needed file CSC.apk

;)
[Galaxy S 4 Themes and Apps] toryonway:
thank you , it easy to restore it
[Galaxy S 4 Themes and Apps] DaWoDo:
softwork_brasil

u should remove:

/system/app/Videos.apk

i think its for > Google Play Movies & TV
[Galaxy S 4 Themes and Apps] Dennys_Santos:
yes,

for me and a few others, this file is not required.

and it is necessary for you to just turn it from the "TrulyClean/system/app"

;)
[Galaxy S 4 Themes and Apps] DaWoDo:
no i meant i dont want it u should add it to the list (its not in v1.2) and also the internet app?
[Galaxy S 4 Themes and Apps] Dennys_Santos:
Sorry! :o

I must have forgotten to put in the script "TrulyClean.sh". But you, and others, could put here a list of other applications that it deems to be unnecessary. :fingers-crossed:
[Galaxy S 4 Themes and Apps] afx69:
But guys,

Some of the removed apk(s) is causing the FC SensorService.

This error occur sometimes when we are within the SMS app and when choosing Bluetooth devices, and I've also seen a report where it occur when a user wanted to shut duwn/reboot his device.

I guess this is a Samsung thingy..
[Galaxy S 4 Themes and Apps] plotinus:
If I'm not mistaken SensorService is part of s health. I have uninstalled s health and I have frozen SensorService with TB and everything works fine.
[Galaxy S 4 Themes and Apps] schoolsux:
Hey,

Actually its NOT 1.2 since I haven't released any 1.2 version yet. :cool:

Thanks, but please call your modified version something else or just ask me and we may work together and release 1.2 in #1 post.
[Galaxy S 4 Themes and Apps] schoolsux:
Sounds logical, SensorService could very well be releated with S Health. As it counts steps and stuff.

Funny I haven't got this SensorSevice error yet, can someone confirm restoring S Health + lib fixes the SensorService problem? :cyclops:
[Galaxy S 4 Themes and Apps] ben_998:
Is only use the scrip with CWM? Can I use the stock recover "update from ADB" ?
[Galaxy S 4 Themes and Apps] leeomendes:
loool, thanks would sound better than being so rude like that!
[Galaxy S 4 Themes and Apps] schoolsux:
Mehh, I never mean to be rude ;)

Maybie I've had too few beers this weekend!
[Galaxy S 4 Themes and Apps] Dennys_Santos:
Yes you are absolutely right, I was too pretentious. :good:

I hope the script is somehow useful.

And keep up the great work.

Thanks Dude.
[Galaxy S 4 Themes and Apps] derycklong:
Please disable sensorservice.apk if you haven't, it is giving me battery drains when they force close
[Galaxy S 4 Themes and Apps] schoolsux:
Version 1.2 out :)

Anyone know what the system/pak/xxxxx.pak files does? They didn't exist in SGS3 firmware.

Removed the whole folder to test myself and havent noticed any problems yet!

Also I see I forgot the mcRegistry folder. It's ultra tiny in size but still it's crap right? ;)
[Galaxy S 4 Themes and Apps] aminhasi22:
Hi,

Am unable to access the play store. Please help. Just keeps saying "No connection, retry".
[Galaxy S 4 Themes and Apps] schoolsux:
I'm 100% sure that problem is NOT related to this script ;)

However that happens sometimes. Try exit the app, turning 3G/WiFi off-on, reboot phone.

...And finally if none of above works go to Settings > Manage apps > find Play Store app and clear data + cache. ;)
[Galaxy S 4 Themes and Apps] The_Skull:
Great script. Working great on stock atm.

Keep up the good work!
[Galaxy S 4 Themes and Apps] diego9016:
I have a problem. I extract the updater-script with WinRAR, then I proceed to modify it with Notepad++. Then I replace the one in the .rar with the modified one and when I flash it trough recovery, it says operation completed but nothing is removed, every single app is still there.

Any suggestions?

Thanks in advance.
[Galaxy S 4 Themes and Apps] schoolsux:
A .rar file? You mean .zip file right? :)

Also what recovery do you use?
[Galaxy S 4 Themes and Apps] diego9016:
Yes, .zip file. My bad.

I'm using Philz recovery.
[Galaxy S 4 Themes and Apps] schoolsux:
Give me your edited updater-script file and I'll have a look what you messed up ;)

EDIT: Give me the whole .zip you've edited.
[Galaxy S 4 Themes and Apps] diego9016:
I'm at work right now but I'll post it as soon as I get home.

Thanks for your kind help.
[Galaxy S 4 Themes and Apps] alexktz:
Worked flawlessly on foxhound 0.5
[Galaxy S 4 Themes and Apps] monkteo:
where can I find an explanation of the program somewhere?

what they do , which can be delete?
[Galaxy S 4 Themes and Apps] SnMSlrC:
it doesnt work for me after flashing latest wanam. i still have svoice, youtube, etc... apps werent updadted as i flashed the script right after i flashed the rom and did a factory reset. help? :)
[Galaxy S 4 Themes and Apps] MaZaGnGy:
for all i9500 users have problems with the script because partitions blocks not same like i9505

anyway i edited the script to work perfect with i9500

dont forget to hit thanks ;)

and thanks to op for the script :good:
[Galaxy S 4 Themes and Apps] Paparasee:
Guys, Am new to this, so please bear with me :) (I just rooted my phone and have jumped to this thread)

I opened up the script and deleted a couple of lines in order to keep some software that I like.

Can someone please tell me ... if I run this script and get rid of a bunch of crap, what happens if I reset my phone? Will they all come back (basically, I want it to comeback) so that I can experiment and understand what I would never miss and what I may.
[Galaxy S 4 Themes and Apps] schoolsux:
No, it deletes the files competely to clean up properly ;)

You need to flash stock firmware or a custom rom to get the files again.

You can look in this thread to learn how to restore your firmware with stock files:

http://xdaforums.com/showthread.php?t=2250824

And please observe if you wanna save.. example... S Voice, its not enough to just remove the apk detele line in the script since theres more files linked to S Voice. Most apps are standalone though. :cool:
[Galaxy S 4 Themes and Apps] diego9016:
schoolsux, here´s the .zip file.

Sorry for the delay, between work and The Last of Us, I've been really busy.

Thanks for your help.
[Galaxy S 4 Themes and Apps] schoolsux:
Can't see anything wrong, you don't have the I9505 SGS4 model? ;)
[Galaxy S 4 Themes and Apps] diego9016:
No. I have I9500
[Galaxy S 4 Themes and Apps] pingvin69:
Great script but...

1.3 Not work at my wanamlite1.5 i9500...
[Galaxy S 4 Themes and Apps] GalaxyS49505:
Thnaks man.Working perfectly on Stock MEA :good:
[Galaxy S 4 Themes and Apps] nung25649:
Is it work with i9500?
[Galaxy S 4 Themes and Apps] Paparasee:
Thanks friend :)

I use the 9500 model ... can you link me to a thread to restore the 9500 firmware :)

Also, going through your script, I was wondering what the following does ... can you please tell me?

("/system/app/SBrowserTry.apk"); related to stock browser I assume

delete("/system/app/PolarisViewer5.apk"); I do not see this as an app on my 9500 ... does it just work when I open an office file

("/system/app/EasyFavoritesContactsWidget.apk"); Can I use this if I delete all other Easy launcher stuff

("/system/app/GMS_Maps.apk"); Is this the Google maps

("/system/app/KNOXAgent.apk"); What is KNOX for

("/system/app/KNOXStore.apk");

("/system/app/PolarisViewer5.apk"); Why a second Polaris viewer

("/system/app/S_Translator_CSLi.apk.apk"); Can I delete Samsung Apps, Books, etc., and still use Translator, OCR2 and WatchON

("/system/app/SamsungOCR2.apk");

("/system/app/SamsungWatchON.apk");

("/system/app/Books.apk"); This is Google Books I presume

What do the following do?

("/system/app/CHS_J_Device_only.apk");

("/system/app/Com2usPoker_ASGC.apk");

("/system/app/Match3VS.apk");

("/system/app/Peel.apk");

("/system/app/CSC.apk");

("/system/app/secRCS.apk");

("/system/app/SensorService.apk");

("/system/app/ContainerAgent.apk");

("/system/app/SPDClient.apk");

("/system/app/SyncmlDM.apk");

("/system/app/SyncmlDS.apk");

("/system/app/DSMForwarding.apk");

("/system/app/DSMLawmo.apk");

("/system/app/ELMAgent.apk");

("/system/app/wssyncmlnps.apk");

When are these tests done?

("/system/app/BluetoothTest.apk");

("/system/app/WlanTest.apk");

Are these Pen stuff leftovers from Note or are they used by the S4

delete("/system/lib/libSPenGesturePE.so");

delete("/system/lib/libSPenSDKImageFilterLibsPE.so");

delete_recursive("/system/VODB");

delete_recursive("/system/containers");

delete_recursive("/system/tts/lang_SMT");

delete_recursive("/system/tts/lang_SVOX");

delete_recursive("/system/tts/lang_SVOXP");

delete_recursive("/system/wakeupdata");

delete_recursive("/system/voicebargeindata");

delete_recursive("/system/csc");

delete_recursive("/system/lost+found");

delete_recursive("/system/preloaddata"); Any idea what this is?

Besides this my mobile operator loads a set of crap software ... anyway I can remove those too?

Thanks again :)
[Galaxy S 4 Themes and Apps] giangishanghai:
hi man,

it is working on my I9500.

keep it update!!!!

cheers
[Galaxy S 4 Themes and Apps] Dennys_Santos:
schoolsux

Would not it be better to use the busybox inside your script?

This way the script will work on any device Galaxy S4

then just change:

##### GT-I9505 #####
...
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p29", "/data");
...
...
unmount("/system");
unmount("/data");

or

##### GT-I9500 #####
...
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/data");
...
...
unmount("/system");
unmount("/data");

for:

...
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
...
...
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/data");

Simple as that! ;)

The busybox is present in all ROMs rooted...
[Galaxy S 4 Themes and Apps] ramon.nmgn:
What happens when i flash this over Omega Rom V5? Does it removes more crap than omegaroms bloatware remove patch?
[Galaxy S 4 Themes and Apps] muoino:
I'm using UBUBMF3 for I9500. By default the script will remove the Velvet.apk (google search), that will cause a System UI force close when holding Home button to open recent apps. So if anyone has this problem just remove the row that delete Velvet.apk from the script.
[Galaxy S 4 Themes and Apps] schoolsux:
You are right man, I didn't even think of that since I mainly did the script for my GT-I9505.

Thanks :D
[Galaxy S 4 Themes and Apps] schoolsux:
Script version 1.4 out!! :) Should work on any SGS4 edition.

This script only removes stuff existing on unbranded stock firmware. I haven't added any carrier exclusive stuff to the removal list.

Custom roms are using unbranded firmware and I don't feel like hunting down carrier exclusive apps ;)

Add those extra apps to the script yourself or use a good file explorer and remove these apps from /system.
[Galaxy S 4 Themes and Apps] CoOoL_BoY:
thanks keep up the good work :)

1.4:

Velvet.apk (Google Now & Search) is no longer removed due to a problem.

what problem?
[Galaxy S 4 Themes and Apps] Dennys_Santos:
Apparently due to the problem mentioned by muoino, see:
[Galaxy S 4 Themes and Apps] CC268:
Thanks a lot! Quick question...I know it is off topic, but does Wanamlite have a ROM for Verizon S4?
[Galaxy S 4 Themes and Apps] CAR1977:
I would leave Google +in because it needs to be a system app for the locations feature to work. As a user app it will not show the map.. Not sure why Google coded it that way but that is how it is. Many people use Google plus and if not they can remove it themselves....
[Galaxy S 4 Themes and Apps] schoolsux:
Locations feature? Be more specific please, I haven't noticed anything like that ;)
[Galaxy S 4 Themes and Apps] zeb_:
Hi,

I have a noob question: if I understand well, this script is suitable for those who do not want (or cannot) root their devices, but still want to debloat their ROM by removing unnecessary apks. Where root users can do it by directly accessing the filesystem, here you do it using the flash procedure where you can run scripts in busybox, which, in that mode, can touch the system. So for a NON-root user, does that mean that these apks are removed forever? If that is correct I have a few questions:

if you regret and want to reinstall some apps (let's say I want to put back Velvet.apk after applying the script version 1.3), I need to root anyway, retrieve the apk from GS4 app repositories (there are some on this forum) and reinstall it? (I am talking about an app that does not exist in the Google Store)

alternatively, without rooting, the only way to reinstate an app/apk would be to reflash the original stock ROM? Or would also an OTA update reinstate the apps by providing a new ROM?

is there a way to use the same method to backup the apks to the SD card first, then use another script to reinstall them just in case? All that without rooting?

Many thanks for your work and sorry if my questions are really basic, but I try to make up my mind before applying solutions that could be definitive in a non-root context. In other words, I would like to know how irreversible this method is for someone who do not root their device (which seems the targeted audience).
[Galaxy S 4 Themes and Apps] dashrink:
I believe that you must have root access if you want to run this script. If you dont have root, then you cannot alter the system\app folder.
[Galaxy S 4 Themes and Apps] zeb_:
I am pretty sure no. This is the same method than the bloatkill script for the S3, and it did not require root. Droidviews reports the same.
[Galaxy S 4 Themes and Apps] dashrink:
From OP:

1. Use the default script or edit the script after your taste. (see "hidden "tutorial above!)

2. Copy recovery.zip to phone.

3a. For best experience - do a full wipe, install a custom rom and then flash TrulyClean.zip.

3b. Script only removes apps in /system, so you have to uninstall any updated apps manually.

4. Flash in recovery (I use PhilZ Touch) & run script after every time you flash a new rom.

5. Enjoy and tell me what you think!

-------------------------------------------------------------------------------------

How do you install a custom recovery without root then??

I believe BloatKill only freezes the bloat apps and not delete them. That can be done without root!
[Galaxy S 4 Themes and Apps] zeb_:
According to the original sources on bloatkill, this is not correct:

http://droidviews.com/2013/easily-r...e-from-your-android-phone-without-rooting-it/

http://xdaforums.com/showpost.php?p=35953624&postcount=35

Recovery based flash files don't care whether the device is rooted or not. This is because the updater-script file inside the zip has codes which mount the necessary partitions before executing the rest of the code
[Galaxy S 4 Themes and Apps] dashrink:
Well i stand corrected then. I guess it is possible with the links you sent, but the OP clearly states that THIS particular script is to be flashed throuugh custom recovery, and for that you have to be rooted.
[Galaxy S 4 Themes and Apps] CAR1977:
The Google + app has a feature called locations, in which it displays a map and the people who have shared their locations with you. This only works if Google +is a system app. If you install it as a user app, the map will not be displayed in the locations tap. I don't know why, I just know that it is true because on my new s4 stock the feature worked, then once I flashed a ROM and installed the app a user app it didn't work anymore. I had to manually moved to apk to system/app and the lib files from data/app-lib to system/lib in order to get it working again. A dev called [MENTION=4179234]trevd[/MENTION] told me about this. I hope this helps. Let me know if you have anymore questions regarding this. I created a thread about this in general. Key me look for the link...

---------- Post added at 07:49 AM ---------- Previous post was at 07:47 AM ----------

Here is the link to my post http://xdaforums.com/showthread.php?t=2332468 it is in Q&A
[Galaxy S 4 Themes and Apps] schoolsux:
Locations comes with Google Maps package? I find no problem when removing Google+. :confused:
[Galaxy S 4 Themes and Apps] schoolsux:
You can have a custom recovery without having root acess.

Since version 1.4 this script uses busybox mounting method, which comes along with most pre-rooted custom roms. It will not work flashing this recovery script without having a rom with busybox already installed.
[Galaxy S 4 Themes and Apps] CAR1977:
I am talking about the google plus app not maps, this had nothing to do with maps !. Google plus has its own location feature which only works if it is a system app. I you don't know what I am talking about look at the g+ app for yourself.
[Galaxy S 4 Themes and Apps] schoolsux:
Ohh alright, I get the point now ^^

Well, I don't use G+ at all so I don't really care much for keeping the app for any reason.

Anyone who use it may remove it from the script list or copy the app to system themselves ;)

I'm thinking about making the script aroma-style with options for what you want removed. BUT it's just too much extra work atm.
[Galaxy S 4 Themes and Apps] zeb_:
Thanks for your answer. This is very strange, because all articles reporting about bloatkill script, which was using busybox, clain it does not need root:

http://www.redmondpie.com/how-to-remove-bloatware-from-android-devices-the-easy-way-without-root/

http://droidviews.com/2013/easily-r...e-from-your-android-phone-without-rooting-it/

Are they wrong?
[Galaxy S 4 Themes and Apps] afx69:
Keep SHealth ?

Hi guys,

If I want to keep SHealth, can you confirm these are the lines I need to remove from the script?

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

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

delete("/system/lib/libhealth_jni.so");

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

Thanx