Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,558 Members 44,143 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
nubecoder
Old
(Last edited by nubecoder; 23rd March 2011 at 01:17 AM.)
#1  
nubecoder's Avatar
Recognized Developer - OP
Thanks Meter 559
Posts: 568
Join Date: Dec 2010

 
DONATE TO ME
Default [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:
Select 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 (EC05 only)
YouTube.apk
:[Q & A]:
Quote:
What happens when the system_apps.cfg file is missing or in the wrong location?
Clockwork Mod recovery will give a status 7 error.
Quote:
What happens if I change "no" to something besides "yes or "no" in the config file?
The script checks for "yes", so if the value is anything else, the item will be skipped (just stick with "yes" and "no").
Quote:
What happens if I did not use unix line endings?
Clockwork Mod recovery will give an error. Probably status 7, but possibly status 6.
Quote:
Why does it take so long to boot after running this?
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:
Select Code
Update for EC05. (03-22-2011)

Initial release. (03-08-2011)
=]
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." --Albert Einstein
Check GitHub and Google Code for my sources.
The Following 7 Users Say Thank You to nubecoder For This Useful Post: [ Click to Expand ]
 
formula84
Old
#2  
Senior Member
Thanks Meter 389
Posts: 2,173
Join Date: Aug 2007
Location: Philadelphia - HTC One (m7)
great idea, thank you.

Sent from my SPH-D700 using Tapatalk
 
SenseiSimple
Old
#3  
SenseiSimple's Avatar
Senior Member
Thanks Meter 546
Posts: 340
Join Date: Jun 2008
Location: Austin, TX

 
DONATE TO ME
neat! thanks
 
jbadboy2007
Old
#4  
jbadboy2007's Avatar
Senior Member
Thanks Meter 244
Posts: 1,878
Join Date: Sep 2010
Location: Lansing MI
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.
 
nubecoder
Old
#5  
nubecoder's Avatar
Recognized Developer - OP
Thanks Meter 559
Posts: 568
Join Date: Dec 2010

 
DONATE TO ME
Updated for EC05, check OP.

=]
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." --Albert Einstein
Check GitHub and Google Code for my sources.
The Following User Says Thank You to nubecoder For This Useful Post: [ Click to Expand ]
 
iSaint
Old
#6  
iSaint's Avatar
Senior Member
Thanks Meter 1304
Posts: 3,595
Join Date: Jan 2011
Location: Phoenix, Maryland
Quote:
Originally Posted by nubecoder View Post
Updated for EC05, check OP.

=]
Awesome bro Thank you

⇝⇞Vacant⇞⇜
 
hardrock121
Old
#7  
Senior Member
Thanks Meter 14
Posts: 425
Join Date: Nov 2010
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?
 
BiggDavin
Old
#8  
BiggDavin's Avatar
Junior Member
Thanks Meter 4
Posts: 25
Join Date: Mar 2010
Location: Dallas, TX
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?
m8att - GPe/ElementalX (Stock)
jflteatt - SlimKat/Ktoonsez (Weeklies)
flo - SlimKat/ElementalX (Weeklies)
d2att - SlimKat/Ktoonsez (Stable)
i9100 - CM 10.1.3 (Stable)
wingray - CM 11 (Nightlies)
d710 - CM 10.2 (Retired)
epicmtd - CM 10.2 (Retired)
heroc - CM 7.2 (Retired)
 
rcastel2
Old
#9  
Senior Member
Thanks Meter 13
Posts: 200
Join Date: Oct 2008
Location: Los Angeles, CA
Default 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?
 
jbadboy2007
Old
#10  
jbadboy2007's Avatar
Senior Member
Thanks Meter 244
Posts: 1,878
Join Date: Sep 2010
Location: Lansing MI
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more