5,600,335 Members 34,442 Now Online
XDA Developers Android and Mobile Development Forum

[SCRIPT][DISCONTINUED] TrulyClean v1.6 Final - Remove all crappy stuff in no-time!

Tip us?
 
schoolsux
Old
(Last edited by schoolsux; 10th September 2013 at 10:14 PM.)
#1  
schoolsux's Avatar
Senior Member - OP
Thanks Meter 1156
Posts: 469
Join Date: May 2010
Location: Gotham City

 
DONATE TO ME
Prompt [SCRIPT][DISCONTINUED] TrulyClean v1.6 Final - Remove all crappy stuff in no-time!




Hey folks!

TrulyClean is a "any rom" script that removes A LOT of crap-apps (98+ apps removed) and other stuff on the phone.
Script will remove about 800mb since version 1.6 (Counted by removing from stock firmware.)


The purpose is to give you a clean start with no extras, much like the Nexus series experience but with the Samsung core intact.
All bloatware apps will be removed running the default script. I even count apps like S Voice and Samsung Hub as unnecessary apps.
Neither do I use Earth or Google+ and don't like these apps to be forced upon me as system apps when they are so easy to install from Play store!
It might be illusion but... I found my phone booting faster and running snappier with after applying this script.
Also, I don't have to cry anymore while checking the apps in the /system folder.

I hope this script will evolve over time and include more stuff that is "not needed" to give the best experience possible.

* Please tell if you notice that this script removes something that is NEEDED aka creating FC's.
* Feel free to tell me about stuff you find that can be removed without any damage.
* Most apps that are avaliable @ Play Store will be removed as system apps!
* Use & edit the TrulyClean script at your own risk.



Installation:

Script should work on any SGS4 TouchWiz rom.
Tested on: Stock deodexed firmware, WanamLite, Omega and FoxHound.

This script's default setting is created after my taste and may remove something you use.
If this is the case, have a look at this & edit the script at your own risk:
 
1. Open the .zip package using WinRAR or similar and then extract the META-INF\com\google\android\"updater-script" file.
2. Open and edit the file with a decent text editor (Notepad++) and remove the lines for stuff you want to keep or go pro and add some new lines yourself.
3. Save file and put the new updater-script back into the flashable zip!

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!

* Yes, I know stuff like Samsung Account and Kies can be removed. However these are NOT proper to remove though, as both give FC @ settings.

* "I run the script but Google+, Earth etc. are still there!" Solution: Updated system apps are put in /data. Go to Settings > Manage programs > uninstall these apps and they will disappear.


TrulyClean changelog:

 
Version 1.6
- libfacerecognition.so is no longer removed. Seems it causes face detection in gallery etc. to not work.
- Updated script and divided everything into groups, making the script more idiot-safe to edit!
- Medium and Hardcore versions of script. In medium S Browser, Accuweather Widget, S Memo, S Health and S Voice is kept!
- Chrome is now removed as system app in both versions.
Version 1.5
- Script now includes busybox. No need to have busybox pre-installed anymore.
- Charger connection sound is no longer removed. (There was no problem, I just didn't want to have it removed anymore.)
Version 1.4
- Script now uses busybox mount method which means script should work fine on any version of the SGS4.
- Velvet.apk (Google Now & Search) is no longer removed due to a problem.
Version 1.3
- Removes some more useless apps.
- Deletes pak and mcRegistry folders.
Version 1.2
- Removes some more useless CSC stuff.
- Deletes Google Videos from system apps.
- Deletes secRCS.apk and SensorService.apk
- Removes some more folders!
Version 1.1
- Removes more apps.
- Added removal of some libs and folders to the script.
Version 1.0
- Release.

Download:

* SINCE 1.4 SCRIPT SHOULD WORK FINE ON ANY I9505 SGS4 USING SAMSUNG FIRMWARE.
* I HAVE NOT TESTED FLASHING THE SCRIPT ON ANY OTHER SGS4 VERSION THAN I9505.
* "MEDIUM" version keeps the stock Samsung browser. Chrome is removed as system app in both versions since v1.6!

* Hardcore version: Same as before, more or less everything is removed, only core components is kept!
* Medium version: Saves S Browser, Accuweather widget n' service, S Memo, S Health and S Voice! Giving the right Samsung feel but removes the rest of the crap!

Attached Files
File Type: zip TrulyClean_v1.6_HARDCORE.zip - [Click for QR Code] (943.5 KB, 17835 views)
File Type: zip TrulyClean_v1.6_MEDIUM_SBROWSER.zip - [Click for QR Code] (943.3 KB, 13557 views)
DON'T **** WITH THE GUY WHO
HAVE THE WIFI SSID NAMED BATMAN.
The Following 195 Users Say Thank You to schoolsux For This Useful Post: [ Click to Expand ]
 
schoolsux
Old
(Last edited by schoolsux; 10th July 2013 at 08:14 AM.)
#2  
schoolsux's Avatar
Senior Member - OP
Thanks Meter 1156
Posts: 469
Join Date: May 2010
Location: Gotham City

 
DONATE TO ME
Apps remaining after doing a full wipe, installing a rooted stock rom and then running HARDCORE version of script:

* Google Now & Search are no longer removed since 1.4!

DON'T **** WITH THE GUY WHO
HAVE THE WIFI SSID NAMED BATMAN.
The Following 44 Users Say Thank You to schoolsux For This Useful Post: [ Click to Expand ]
 
schoolsux
Old
(Last edited by schoolsux; 10th July 2013 at 08:17 AM.)
#3  
schoolsux's Avatar
Senior Member - OP
Thanks Meter 1156
Posts: 469
Join Date: May 2010
Location: Gotham City

 
DONATE TO ME
TrulyClean v1.6 script code.

Hardcore version:
 
Code:
ui_print("");
ui_print("");	   
ui_print("");
ui_print("");
ui_print("");
ui_print("");	   
ui_print("");
ui_print("");
ui_print("");
ui_print("");	   
ui_print("");
ui_print("");
ui_print("");
ui_print("");	   
ui_print("");
ui_print("       %%          %%");
ui_print("     %%%            %%%");
ui_print("   %%%%              %%%%");	   
ui_print("  %%%%%%            %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");	   
ui_print("   %% v1.6 by schoolsux %%");
ui_print("     %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");


package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");

ui_print("");
ui_print("Removing sounds...");

delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");

ui_print("Removing apps and releated stuff...");

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

delete("/system/app/SBrowser.apk");
delete("/system/app/SBrowserTry.apk");
delete("/system/app/sCloudSyncSBrowserBookmark.apk");
delete("/system/app/sCloudSyncSBrowserTabs.apk");

delete("/system/app/AccuweatherPhone2013.apk");
delete("/system/app/WeatherWidgetDaemon.apk");

delete("/system/app/SMemo2.apk");
delete("/system/app/sCloudSyncSNote.apk");
delete("/system/app/SNoteProvider.apk");
delete("/system/lib/libsnote_core.so");
delete("/system/lib/libSPenGesturePE.so");
delete("/system/lib/libSPenSDKImageFilterLibsPE.so");

delete("/system/app/SHealth2.apk");
delete("/system/app/HealthContentProvider.apk");
delete("/system/app/SensorService.apk");
delete("/system/lib/libhealth_jni.so");

delete("/system/app/S-Voice_Android_phone_J.apk");
delete("/system/app/SamsungTTS.apk");
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/VODB");

delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");

delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");

delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");

delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");

delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");

delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");

delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");

delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");

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

delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");

delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");

delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");

delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");

delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");

delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");

delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");

delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");

delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");

delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");

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

delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");


delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");


run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");


ui_print("Done, enjoy!");

Medium version:
 
Code:
ui_print("");
ui_print("");	   
ui_print("");
ui_print("");
ui_print("");
ui_print("");	   
ui_print("");
ui_print("");
ui_print("");
ui_print("");	   
ui_print("");
ui_print("");
ui_print("");
ui_print("");	   
ui_print("");
ui_print("       %%          %%");
ui_print("     %%%            %%%");
ui_print("   %%%%              %%%%");	   
ui_print("  %%%%%%            %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");	   
ui_print("   %% v1.6 by schoolsux %%");
ui_print("     %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");


package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");

ui_print("");
ui_print("Removing sounds...");

delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");

ui_print("Removing apps and releated stuff...");

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

delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");

delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");

delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");

delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");

delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");

delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");

delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");

delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");

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

delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");

delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");

delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");

delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");

delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");

delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");

delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");

delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");

delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");

delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");

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

delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");


delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");


run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");


ui_print("Done, enjoy!");
DON'T **** WITH THE GUY WHO
HAVE THE WIFI SSID NAMED BATMAN.
The Following 34 Users Say Thank You to schoolsux For This Useful Post: [ Click to Expand ]
 
Salival
Old
#4  
Senior Member
Thanks Meter 5
Posts: 184
Join Date: Jul 2010
Very nice! Although I want VikingWay on S4.
 
schoolsux
Old
(Last edited by schoolsux; 2nd June 2013 at 11:52 PM.)
#5  
schoolsux's Avatar
Senior Member - OP
Thanks Meter 1156
Posts: 469
Join Date: May 2010
Location: Gotham City

 
DONATE TO ME
Quote:
Originally Posted by Salival View Post
Very nice! Although I want VikingWay on S4.
Well, I have an unoffical 680mb VikingWay rom build on my PC hehe

Tho I really don't have the time to maintain a rom and update it often... so I wont release it public.

WanamLite + running my script gives pretty much the same result, only it sucks to download ridiculously huge roms..
Samsung really fu*%&ed the firmware size this time around.
DON'T **** WITH THE GUY WHO
HAVE THE WIFI SSID NAMED BATMAN.
The Following 2 Users Say Thank You to schoolsux For This Useful Post: [ Click to Expand ]
 
glennd
Old
#6  
glennd's Avatar
Senior Member
Thanks Meter 26
Posts: 225
Join Date: Aug 2010
Removing the Samsung music.apk causes a fc with the music player.

Sent from my GT-I9505 using xda premium
 
Salival
Old
#7  
Senior Member
Thanks Meter 5
Posts: 184
Join Date: Jul 2010
Quote:
Originally Posted by schoolsux View Post
Well, I have an unoffical 680mb VikingWay rom build on my PC hehe

Tho I really don't have the time to maintain a rom and update it often... so I wont release it public.

WanamLite + running my script gives pretty much the same result, only it sucks to download ridiculously huge roms..
Samsung really fu*%&ed the firmware size this time around.
Yep. Stock is over 1.5GB. lol. Wow 680mb? I knew it. . I hope in coming weeks, months, you will have time and relase it. Loved it on S3. crazy slim, and stable as rock.
 
GiRaFa-SAMA
Old
#8  
GiRaFa-SAMA's Avatar
Member
Thanks Meter 26
Posts: 90
Join Date: Jan 2013
Location: Belo Horizonte
Talking HAHAAHAHAHA, Awesome!

hahahahahahaha, wonderful, I suppose it should work on any ROM based on TouchWiz correct? I will test in my gnote.
Phone:Galaxy S4 GT-i9505 16GB
ROM: NB9 OMEGA(Knox 0x1(Samsung )
Mods: Walkman, Acid Sound MOD, Viper4Android, KitKat DominationNB8-NB9 .(tks davey) and 3Minit Framework
Kernel: Stock
Recovery: Last TWRP
SD Card: SanDisk Class 10 64GB(Fat 32 )
 
boterkaaseneieren
Old
#9  
Account currently disabled
Thanks Meter 998
Posts: 2,222
Join Date: May 2013
Quote:
Originally Posted by Salival View Post
Very nice! Although I want VikingWay on S4.
Open the script with text editor and delete the line off any app you want to keep.
 
gav-collins1983
Old
#10  
gav-collins1983's Avatar
Senior Member
Thanks Meter 555
Posts: 1,494
Join Date: Dec 2010
Location: dudley
Nice work budd thanks
Galaxy S4GT-I9505
ROM FoxHound Gear Engine 1.8
KERNEL testing
STATE Rooted / UnLocked
FIRMWARE XXUAME2
RECOVERY CWM PhilzEdition
TWEAKS PimpMyRom(ALPHA)
MODS(testing - multiwindow, 3MinitFramework 2.2, bravia2engine, Sony Xloud & ClearAudio+)
ANTUTU-=28218
QUADRANT-=16432

Note2 <S3 <Evo3D <S2 <dhd <Omnia HD <Omnia 2 < Omnia 1
(not including iphones)

Tags
i9505, remove bloatware, schoolsux, script, trulyclean
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes