[SCRIPT] [i9505] cleanscript v1.0 - Galaxy S 4 Themes and Apps

What's this?
So, I finally decided to publish my first own script
It's made for SGS4 and its purpose is to delete some unneeded system apps.
I tested it on my i9505 and it worked fine. No guarantee for other devices (e.g. i9500) though.
It doesnt remove all bloatware, since I'm using OmegaRom, which already comes with less stock apps.
For who?
Puristic people like me, who:
Don't like preinstalled apps but prefer to use their own alternative
Hate autosync but want to check their mails when they want to and not when their phone wants to
What does it do?
Well, basically it just deletes some apps/features you'll probably never use and never used before (in some cases )
More detailed list:
BeamService.apk
Blurb.apk
CHS_J_Device_only.apk
com.sec.android.iap-1.apk
EasyLauncher.apk (Good for grannys or potatos, but not us pr0-h4xor-1337-xda users, right? )
EasySettings.apk (See above)
FaceLock.apk (Insecure and doesn't always work)
GoogleDrive.apk (I prefer Dropbox)
Hearingdro.apk
MusicFX.apk
MusicPlayerWT.apk (Not needed if you use another musicplayer)
SamsungIME.apk (Stock keyboard, also not needed if you use another)
SamsungWallet_Stub.apk
SNS.apk
SpenSdk3.apk
Sec_Email_J.apk (Preferably use the app of your email provider)
SecNoteMyFiles.apk (Use another file explorer, I recommend ES)
SimpleWidget.apk (Same reason as EasyLauncher.apk)
TravelService.apk
TripAdvisor.apk (Who needs this, seriously? )
WebManual.apk (If you need this, you should press ALT+F4 or your homebutton now)
You can find a even more detailed list of bloatware on the S4 here:
http://forum.xda-developers.com/showthread.php?t=2514703
How to use it
Make sure you have a custom recovery already installed!
Put the script on your phone's SD card
(Re-)Boot into recovery
Flash the the .zip scriptfile (if you don't know how, use Google or search the xda-forums)
Wait until it's done (shouldn't take that long )
Reboot!
Want to keep some apps?
Open the .zip scriptfile
Navigate to "\META-INF\com\google\android\"
Open the "updater-script" with a editor of your choice (Notepad++ is the best imho)
Delete the lines you don't like (or add some, if you know how to)
Save the "updater-script" (CTRL + S)
Put it in the same folder you extracted it from and close the window
ATTENTION: The zip file has to be opened the whole time in the background, otherwise it will not work!
You may upload the modified script, but please, don't claim exactly this file as yours!
NOTE: I'm not responsible for anything that could happen by/after using this script! If your alarm doesn't work after flashing this and you get fired or cause the third world war, it'll be your fault, not mine!
Download
http://d-h.st/EPu
Any kind of feedback is greatly appreciated!
Please be fair, this is my first thread on xda

Related

[Q] customising a samsung ROM

i am new to android, but i read that you can open .rfs files with magic iso...and its true...
i have a question for experienced mooders... if i delete some files from .rfs, will the firmware still work?
i want to delete (as a plan...) from system.rfs
1. from apps:
TouchWiz30Launcher.apk & odex (i dont like touchwiz)
Dualclock.apk & odex (i dont need it)
SamsungWidget_FeedAndUpdate.apk & odex (i dont need it)
2. from media:
bootani.qmg & samsungani.qmg (i think ...no ani at boot => faster boot)
shutdown.qmg (a few seconds can save a little battery)
please help me to understand better...thanks
I cant answer your question directly, but perhaps offer an altarnative partial solution. check out titanium backup, requires root but will allow you to remove system apps. I would be wary of removing touchwiz though, just use another launcher, I like zeam, but there are others like adw, and launcherpro and helauncher, lots more in the market most are free.
im more intereested in using the stock one, i want to bring my samsung as close as possible to the stock android, and remove the useless junk that samsung put there,

[EB13/EC05][Stock][Configurable Zip] System Apps Remove N Restore

:[Disclaimer]:
As always, performing a "nandroid backup" from Clockwork Mod is recommended as a precaution.
Use this at your own risk!
:[Requirements]:
An Epic 4G with Clockwork Mod recovery installed (preferably 3.0.0.6).
A text editor to edit the config file.
Note:: The EB13 files are from deodexed EB13, and are intended to be used on an EB13 based Rom.
Note:: The EC05 files are from deodexed EC05, and are intended to be used on an EC05 based Rom.
:[Description]:
This is a configurable zip that has the ability to selectively remove and restore system apps.
This is a follow up to this proof of concept.
:[Features]:
Selectively remove and / or restore any of the 66 system apps listed below.
User configurable by editing a config file that is placed onto the SD card.
[Download EB13 zip package here.]
[Download EC05 zip package here.]
:[Usage]:
This download files are not flash-able zips! (The flash-able zip is inside the downloads)
#1:: Extract the 2 files that are in the zip package onto your computer.
#2:: Copy the "system_apps.zip" onto your SD card.
#3:: Make the desired changes to the "system_apps.cfg" file, changing "no" to "yes" as desired.
For example, to remove qik, change
remove.system.qik=no​to
remove.system.qik=yes​Note:: If you don't make any changes to the "system_apps.cfg" file, the zip will not do anything other than output text!
Note:: Make sure your file is saved with unix line endings (Windows users do not create any new lines and you should be OK).
#4:: Copy the "system_apps.cfg" onto the root of your SD card ("/sdcard/system_apps.cfg").
#5:: Use Clockwork Mod recovery to install the "system_apps.zip".
:[Included apps]:
AppWidgetPicker was taken from Bonsai 3.0.1, but originated here.
LbsTestMode was taken from here, credit goes to BThomas22x it seems.
The rest of the EB13 files came from Dameon87's Stock Deodexed EB13 Rom.
The rest of the EC05 files came from Bonsai4All_EC05_UnTouched.
I have confirmed with k0nane that none of these files should effect the CIQ removal.
(With the possible exception of EC05's SprintID "W_Installer.apk" file, but who in their right mind is going to install that?)
Code:
amazonmp3.apk
AppWidgetPicker.apk
Asphalt5_DEMO_ANMP_Samsung_D700_Sprint_ML.apk
AxT9IME.apk
Brightness.apk
Browser.apk
BuddiesNow.apk
ClockPackage.apk
cm-android.apk
Divx.apk
Dlna.apk
Email.apk
FactoryTest.apk
FBAndroid-1.4.1.apk
FreeHDGameDemos.apk
Gallery3D.apk
GenieWidget.apk
HiddenMenu.apk
HTMLViewer.apk
install_flash_player.apk
KeyBoardSlideUpCounter.apk
LatinIME.apk
LatinImeTutorial.apk
Launcher2.apk
LbsTestMode.apk
lcdtest.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
MediaHubV102_Epic4G.apk
Memo.apk
Mms.apk
MusicPlayer.apk
MyFiles.apk
nascar09-prod-release.apk
Protips.apk
qik.apk
SamsungApps.apk
SamsungWidget_CalendarClock.apk
SamsungWidget_FeedAndUpdate.apk
SamsungWidget_ProgramMonitor.apk
SamsungWidget_StockClock.apk
SamsungWidget_WeatherClock.apk
SelfTestMode.apk
SetupWizard.apk
sfl-prod-release.apk
SN28-1100-sprint-signed.apk
SnsAccount.apk
SnsProvider.apk
SoundPlayer.apk
Sprint_App_Updater.apk
SprintAndroidExtension.apk
SprintTV.apk
SprintTVWidget.apk
SprintZone.apk
Swype.apk
TAT_LiveWallpaper_Dandelion.apk
TAT_LiveWallpaper_Luminescence.apk
TAT_LiveWallpaper_OceanWaves.apk
thinkdroid.apk
TouchWiz30Launcher.apk
TouchWizCalculator.apk
TouchWizCalendar.apk
Vending.apk
VideoPlayer.apk
W_Installer.apk ([COLOR="Blue"]EC05 only[/COLOR])
YouTube.apk
:[Q & A]:
What happens when the system_apps.cfg file is missing or in the wrong location?
Click to expand...
Click to collapse
Clockwork Mod recovery will give a status 7 error.
What happens if I change "no" to something besides "yes or "no" in the config file?
Click to expand...
Click to collapse
The script checks for "yes", so if the value is anything else, the item will be skipped (just stick with "yes" and "no").
What happens if I did not use unix line endings?
Click to expand...
Click to collapse
Clockwork Mod recovery will give an error. Probably status 7, but possibly status 6.
Why does it take so long to boot after running this?
Click to expand...
Click to collapse
Because it clears out the cache and dalvik-cache, causing it to be rebuilt.
:[Testing]:
This has been tested and confirmed working on an Epic 4G running Bonsai 4.0.0.
:[ChangeLog]:
Code:
Update for EC05. (03-22-2011)
Initial release. (03-08-2011)
=]
great idea, thank you.
Sent from my SPH-D700 using Tapatalk
neat! thanks
also what i do is use sdx stock app removal. when there is actually a stock app that i like i backup that app. then when i flash new roms with all bloat removed i can restore the stock apps of my choosing. the biggest one i do this with is the terrible bubble mms app and put back the eclair mms.
Updated for EC05, check OP.
=]
nubecoder said:
Updated for EC05, check OP.
=]
Click to expand...
Click to collapse
Awesome bro Thank you
will it matter to flash the whole file as it is..without checking for any existing apks?? ie if i already have qik foreg.. and i dont change that to no... should it be still ok?
I want to try this, was just going to wait for the next SFR version so I can do it all at one time during my 'scheduled maintenance window'. (Reading that makes me feel that I've spent too many years in IT.) Just 2 questions:
1. There are a bunch of apps that I have removed before, like mms.apk/browser.apk, using sdx stock app removal tool and it causes FCs. Is this different if removed from CWM? If so, do we know which of these sys apps are required?
2. If I am not installing particular .apks, can they be removed from the zip to make it smaller?
App .apk brief description
To the OP,
Can you put a brief description on what each .apk is for the ones that are not known by reading them? For example, I have no idea if I still need to install FactoryTest.apk, cm-android.apk, HiddenMenu.apk, SN28-1100-sprint-signed.apk...? For some, I have no idea what it is and it would help if you can put a brief description on what the apk is?
There is a brief description of all sys apps in a thread called all app safe to remove. Search for it or page back to it in the dev section.
Sent from my SPH-D700 using XDA App
hardrock121 said:
will it matter to flash the whole file as it is..without checking for any existing apks?? ie if i already have qik foreg.. and i dont change that to no... should it be still ok?
Click to expand...
Click to collapse
As the OP states, all values are defaulted to no, so flashing as is will only print text to the screen and waste your time.
BiggDavin said:
Just 2 questions:
1. There are a bunch of apps that I have removed before, like mms.apk/browser.apk, using sdx stock app removal tool and it causes FCs. Is this different if removed from CWM? If so, do we know which of these sys apps are required?
2. If I am not installing particular .apks, can they be removed from the zip to make it smaller?
Click to expand...
Click to collapse
#1 - I did my best to only include things that could be safely removed, but YMMV.
There's a link below to a thread of apps and what they do, if they've been removed safely, etc...
#2 - Yes, removing the apks from the zip is fine if you are only doing removals.
rcastel2 said:
To the OP,
Can you put a brief description on what each .apk is for the ones that are not known by reading them?
Click to expand...
Click to collapse
jbadboy2007 said:
There is a brief description of all sys apps in a thread called all app safe to remove.
Click to expand...
Click to collapse
This is the thread being referred to.
=]
ok i want to add some missing apps, what do i need to type? im confused bc it says remove, and if i leave some as no ie if i have qik and want to keep it will i need to change the script? all i want is TV, genie weather widget, and nav so sorry if im sounding noobish but its just confusing a lil
evilsock said:
ok i want to add some missing apps, what do i need to type? im confused bc it says remove, and if i leave some as no ie if i have qik and want to keep it will i need to change the script? all i want is TV, genie weather widget, and nav so sorry if im sounding noobish but its just confusing a lil
Click to expand...
Click to collapse
Skip past all the remove lines in the cfg file and there are some install lines... change those to yes
Sent from my SPH-D700 using XDA App
Ok i moved the config file from the folder to the SD card and i cannot find the zip file anywhere and i dont see a Status 7 error either, can anyone help?
latindor17 said:
Ok i moved the config file from the folder to the SD card and i cannot find the zip file anywhere and i dont see a Status 7 error either, can anyone help?
Click to expand...
Click to collapse
Ok i think i know what might be wrong, i think i converted the config file to notepad in order to edit the files i wanted but now i dont know how to convert it back. Please help
Edit: i just realize that i couldve done this all on root explorer but now i cant because the config file has converted to notepad and i cant change it back!!!!
latindor17 said:
Ok i think i know what might be wrong, i think i converted the config file to notepad in order to edit the files i wanted but now i dont know how to convert it back. Please help
Edit: i just realize that i couldve done this all on root explorer but now i cant because the config file has converted to notepad and i cant change it back!!!!
Click to expand...
Click to collapse
Does the config file have an extension, like "config.txt" - if so, then you can use root explorer on your phone and rename the file without the extenstion or the appropriate extension - you can't change the file extension to none on the PC because the PC needs the extension.
I am not stating this because I have the same problem as you, but I had another instance that was simuliar needing a certain file structure, so this is what worked for me - and maybe work for you.
Good Luck - hope this helps!

Removing the .APKs

(Always make up back ups before flashing)When flashing a rom some of you may remove some .apk files that you just want gone to free up some space. This is just a tip for some of you like me that remove .apk files like htcfacebook,FB chat, radio widget,scribble,twitter,street viewer,my reader,some of the widgets that etc or w.e files you dont like..I use the app called super manager and have to go through the steps.
So,when you down load your rom make sure you have programs like winrar,winzip or 7zip to be able to open the rom up NO need to extract the rom just use one of the programs like winrar to go to the rom and sub floder system>app and then you can remove the .apk files you do not want or add the .apks files you want before flashing. I found this is a little easier rather then having to D|L super manager then select root enable and file manager then remove then add other .apks then reboot.
*****But please make sure you know which ones to remove if not ask the dev of that rom because some of the .apks are very important to the rom it self.
This is just some info that I thought I would share if some members already knew this or something different please share. Or any other related tips & tricks? that would be great.
Take cautions if you decide to try this is out
Very good method, this is how I alter my ROM before flashing them. But I also delete and add the internal audio files as well like internal ringtones, alarms and tones. Thumbs up !!!
Ok closing this now as it really is pointless.

[ N900W8 with KK ]Google Now Launcher works nicely if your ROOTED

Root privileges give you the power to break you device use at your own risk.
Just wondered if any one else discovered this yet?
I upgraded to KitKat (thanks Polish_Pat) Knox 0x0 rooted and recovery
Was annoyed that we didn't get any of the KitKat goodies so have started to get it sorted they way I would like it. Love android!!
First up (and easy)
KitKat Google Now Launcher and its two dependent files
(Ok Google works for me as well as swiping left for Google Now ).
-------------------
Down load this zip
Once you have it to your phone use a file browser with ROOT privlages ( I use pro version of Root explorer) navigate to where ever you saved the file and un zip it. Root Explorer does this and will ask if you wish to navigate to the unzipped folder, do so now.
1) Install GoogleHome.apk (if you haven't already you will be prompted to allow the install of UNKNOWN sources)
2) Copy PrebuiltGmsCore.apk to SYSTEM/APP/ changed permission to rw-r-r-
3) Copy Velvet.apk to SYSTEM/APP/ changed permission to rw-r-r-
4) Reboot
again root explore will do all of this. With a long press on the file it will give you options to choose from. Select permissions and uncheck or check what ever you wish to set any permission. For this particular task you will want to UNCHECK group write and others write this will set you as rw-r-r
click OK.
Do this for both files listed above and then reboot.
-------------------
In my continued effort to get as close to AOSP KK I have also managed to replace Sammies Clock app with the AOSP Clock which is smoother (in my onpinion only).
If you want it
Down load this zip file
Extract as described earlier and install it as any other app. Then you can disable the stock app by doing a rename these two files (Root users only can achieve this stock will have two clock apps)
ClockPackage_OSup.apk to ClockPackage_OSup.apk.old
ClockPackage_OSup.odex to ClockPackage_OSup.odex
--------------------
Now I want to try getting the KitKat Dialer to work but I suspect that won't be so easy.
http://forum.xda-developers.com/showthread.php?t=2647275
xposed GEL didnt do it for me for some reason, will test your method soon
Just installed the GoogleHome apk on a non rooted 4.4.2 Note 3 running stock firmware and everything works without any other modification. (Including Ok google).

[mod]stock mms tweak

This is a rough post at the moment.
The goal of this is too enable some cool and disable some annoying things on the stock LG G3.
Things needed to do this
-Root
-file manager
-IQ above 70
Version 1.0
-Disables the CMAS except for Amber Alerts because that is actually important.
-Enable delivery and read reports. *need to test *
Upcoming things
-mms compression (I argue the network limit theory)
-other stuff
*Compatability*
I own and used a D850 apk. The app may or may not work for everyone. It does have all the variants it seems though.
*Liability*
I am not responsible for breaking anything do with your phone by any said person who makes any attempt to install/replace the stock app with this app.
*Installation*
-File location is /system/priv-app/LGMessages.apk
First copy the original app and Odex file somewhere safe and delete the stock app called LG messages.apk and the corresponding .Odex file.
Secondly copy the modified app to your internal storage or SD card. The copy it to your priv-app folder.
*SET PERMISSIONS TO 644 OR RW-R-R*
Lastly reboot and enjoy
southern87 said:
This is a rough post at the moment.
The goal of this is too enable some cool and disable some annoying things on the stock LG G3.
Things needed to do this
-Root
-file manager
-IQ above 70
Version 1.0
-Disables the CMAS except for Amber Alerts because that is actually important.
-Enable delivery and read reports. *need to test *
Upcoming things
-mms compression (I argue the network limit theory)
-other stuff
*Compatability*
I own and used a D850 apk. The app may or may not work for everyone. It does have all the variants it seems though.
*Liability*
I am not responsible for breaking anything do with your phone by any said person who makes any attempt to install/replace the stock app with this app.
*Installation*
-File location is /system/priv-app/LGMessages.apk
First copy the original app and Odex file somewhere safe and delete the stock app called LG messages.apk and the corresponding .Odex file.
Secondly copy the modified app to your internal storage or SD card. The copy it to your priv-app folder.
*SET PERMISSIONS TO 644 OR RW-R-R*
Lastly reboot and enjoy
Click to expand...
Click to collapse
Here's an fully customizable MMS.APK you can use that works with the LG G3 I have it installed in System/App with no errors just make sure you enable it as default.
Install:
You need to use an explorer app to rename the LGUSMms.apk and odex files to LGUSMms.apk.bak and the same to the odex one. The delivery reports and read reports work. I hope you like this or whoever tries it. Happy texting!!!
https://www.androidfilehost.com/?fid=23578570567715779

Categories

Resources