How to recompile file into flashable zip? - AT&T Samsung Galaxy Note II

I noticed gapps is rather large (for my taste); being around 190mb, it's twice the size of my rom. So I had an idea, since I only use about 3 or 4 of the Google apps (play store, Gmail, aosp messaging, and probably one more), why don't I just decompress it, remove the bloat, then recompress it into a zip file. Problem is, I get an error when I flash it. I know there's probably something obvious I'm missing, but I wasn't able to find anything on xda to remedy this problem.
So for those of you who don't want to read that or missed the question, can I streamline gapps? (decompress, debloat, recompress)

After rezipping did you sign it, I do believe you need to do that. Zipsigner in the playstore should work.

jethro650 said:
After rezipping did you sign it, I do believe you need to do that. Zipsigner in the playstore should work.
Click to expand...
Click to collapse
Awesome, thanks!
+1

You should be able to use the "open archive" functionality in your zip tool (like 7-zip). Install 7-zip. once installed, right click on the gapps zip file you are wanting to reduce in size... Select 7-Zip >>> Open archive. Then select folder which has the file you want to remove (Gapps are in /system/app folder). Then select the Google apps you want to remove (highlight, then select red X for delete). If will ask for confirmation, respond "yes". After you have deleted what you don't want, hit "File >>> Exit". This will retain all the original zip file signature properties. Do NOT extract files... use the Open Archive functionality.
I do this all the time on ROMs when I want to trim programs I don't plan on using before I flash zip. Takes up less space.

DoctorQMM said:
You should be able to use the "open archive" functionality in your zip tool (like 7-zip). Install 7-zip. once installed, right click on the gapps zip file you are wanting to reduce in size... Select 7-Zip >>> Open archive. Then select folder which has the file you want to remove (Gapps are in /system/app folder). Then select the Google apps you want to remove (highlight, then select red X for delete). If will ask for confirmation, respond "yes". After you have deleted what you don't want, hit "File >>> Exit". This will retain all the original zip file signature properties. Do NOT extract files... use the Open Archive functionality.
I do this all the time on ROMs when I want to trim programs I don't plan on using before I flash zip. Takes up less space.
Click to expand...
Click to collapse
Great! Turns out signing wasn't it but I'll take that approach and posts my results

Bingo! Got it down to 51mb lol

One more question, is there a way to do this on your phone? It'd make this process even easier. I'm using ROM toolbox right now and as far as I know, you can only browse, not delete or modify the contents.

Gfrt94yn said:
One more question, is there a way to do this on your phone? It'd make this process even easier. I'm using ROM toolbox right now and as far as I know, you can only browse, not delete or modify the contents.
Click to expand...
Click to collapse
I use SpeedSoftware on my phone to extract apks (like inverted apps) from other device installable ROM zips. But you have to "extract" the files... then you can "re-zip" the file after you remove/add files; however, I cannot say for certain if the signature integrity remains (i.e., by re-zipping, not sure if you'll retain the valid signatures). The Open Archive functionality does not require "extraction" and "rezipping"... that's why I like it. Hopefully someone else will chime in regarding android programs which have the Windows like "open archive" functions.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is one that alliws the "open" function. https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver

jethro650 said:
Here is one that alliws the "open" function. https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver
Click to expand...
Click to collapse
Exactly what I was looking for! Says it's not compatible with my device but I can pull a few strings
Thanks again for all your help guys! I hope to start cooking up roms before too long, just gotta learn the very basics first

Related

[TUT] Editing Resources .dll etc

How to edit resources:
I have attached the software needed File Editor Suite, also you can get a 30 day free trial of PE Explorer Here
It's all very simple to do just follow the guide any questions feel free to ask.
Also take a look @ Making custom icons to replace the standard icons
Step 1:
Unsign the .dll .dla with File Editor Suites UnSigner.exe, just drag the .dll over the Unsign.exe as show in the picture you wont see much maybe just a CMD "black box" quickly pop up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 2: Open with ResHacker\PE In PE you have to click the circled item and you will see the resources.
Step 3: Find the resource you want to edit, remebering that the file you will be replacing needs to be same size and bit
Step 4: Save your resource and in File Editor Suite you have siggner.exe click it locate the .dll and press start the process, the .txt file out put will say "Warning: This file is signed, but not timestamped.
Succeeded"
That's it your done
Now use the appropriate software whether it be File Changer or just using Resco File Explorer/Total Commander to replace, if you have a file that can not be overwriten go into the phone find the file change the extension to .bak example: bronzeres.bak
Nice job bud! I like the look of the PE Explorer R5
lets keep the [TUT] going!
PS. for all, make sure to keep the same pixel size on the icons for better quality when displaying on device, for panels not as much, since the .cpr adjusts the size of the panels on the homescreen.
roloracer said:
Nice job bud! I like the look of the PE Explorer R5
lets keep the [TUT] going!
PS. for all, make sure to keep the same pixel size on the icons for better quality when displaying on device, for panels not as much, since the .cpr adjusts the size of the panels on the homescreen.
Click to expand...
Click to collapse
Thanks bruv
isn't this all covered in jdshifflets [TUT] ?
Kemekill Products said:
yeah but he deleted it when stylez pissed him off. then he got banned...
And to fianlize what happened he broke the rules with reagrds to direcspect to members no more needed to be said... If anyone has a problem PM me directly
Click to expand...
Click to collapse
And then jdshifflets went on and created a new Sock Puppet account using his own address so we'd easily find out he's actually Kemekill.
And if that wasn't enough he didn't do a good enough job covering his IP address.
So until further notice Kemekill will Join jdshifflets in his/their split personality, until this is discussed and investigated.
To add to the Tute.
Sometimes when a file has only one Icon file (like for instance some .cpl files)
You can actually get away by using a bigger .icon file to replace it.
But best practice is to always use the same size and resolution to replace these.
Another Good Resource editor is CFF explorer http://www.ntcore.com/products.php
Or the Classic ResourceHacker.
Also until now i got away without unsigning files just fine, but i always sign them with new cert.
Yes I also wrote a Tute like this , but that has nothing to do with me stepping in here.
I'm just following up and the policy for creating Sock Puppet Accounts after a Ban.
Kemekill won't be back ever, and we (The Moderation Team) are not sure yet how this affects jdshifflets ban.
I've gotten this to work pretty good except for one slight hiccup... the "signer" gives me an error that the signature has expired... any thoughts on how to correct this?
New signer with certs, i'll change the full download when got time.
Edit: Updated File Editor Suite
stylez said:
New signer with certs, i'll change the full download when got time.
Click to expand...
Click to collapse
Sweet... thanks alot!!
I see a new Avatar there, cool.
Also when using PExplorer or CFF explorer sometimes you will need to rebuild the header for the file not to break.
At least i know that was the only way of removing \Noui from the first Marketplace exe (and also replacing it with my icon.
So with DLL files i don't expect this to be needed, but if you edit an .exe file and quickly see the .exe icon being replace by a blank icon you know you need to redo it with recompile header.
Thank you wanted to go back to my ninja but he disappeared..
Yeah i had this happening when tried to change everything in start menu to gray Good to know about header
Anyone having challenegs in copying tapres.dll? I can copy bronzeres.dll and open it using PE or Resource Hacker but can't seem to copy the tapres.dll (wchich containts the start menu icon) to my PC for modifying..=(
tapres.dll is a ROM file so you will have to use ROM Extractor and this is not easy as made for PPC, but can be done
In Top Box type\Windows\tapres.dll
In box bellow type tapres.dll
Click Extract.
This will extract it to root of phone memory.
hi folks,
i tried to unsign and open MMAppLauncherCore.dll (after copying to my workstation) which maximus.mobile has made but after the unsign step res.hacker opens a empty file, i do not know why.
can anybody try to open the file too to find out the mistake?
thx

[THEME] CM9 Blue Notification Drawer Widgets

Nothing huge here, but I themed the Notification Drawer Widgets in CM9 to match the blue ICS uses and thought I'd share it with folks since I didn't see it anywhere.
This is a zipthemer file, so you'll need to download it from the Market (it's free) and use it to create the update.zip to flash in CWM. If you want to use this but aren't familiar with zipthemer let me know, I can help you out.
I couldn't get a screenshot but here are some of the icons.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Got a screenshot....
*How to use Zipthemer*
download zipthemer here
*How to use Zipthemer*
note: you may need a ROM of you have flashed (CM9) in order to configure your edify script (this is the script that tells CWM what to do when you run your update.zip file)
1. Install zipthemer!
2. Open up the menu (on ICS it's the 3 vertical dots) and click on update edify (you will only have to do this once)
3. Updating Edify screen (complete either Option 1 or Option 2)
- option 1: browse to the ROM you have on your phone and click it -- done
- option 2: click on download, then exit out of the screen, click options (3 dots), settings, update script format, select your phone. If your phone isn't present, see option 1.
4. Download the zipthemer file (.zip), and using a file explorer, move it to the "zipthemer" folder on your sd card.
5. open zipthemer again, click the "+theme" button, select the theme you want to apply (you can select more than one, or even only certain parts of one)
6. click "*output" button and pick the name you want for your update file (or accept the default). Leave the "-update.zip" at the end of the file name and "/sdcard/" at the beginning so it will be in your sdcard root directory and easier to find when you go to flash it.
7. click "build it!", it will ask you if you want to create a backup file, I usually do just in case so I don't have to re-flash the entire ROM to undo my changes if I want to.
8. Exit zipthemer, reboot to recovery, flash your new zip file, reboot system, enjoy!
more notes:
a. as always, it's a pretty good idea to run a nandroid anytime you play with your system (this is a do as I say, not as I do kinda statement)
b. A lot of these type of themes where some system files are modified or system apps are modified, it's good to do a wipe dalvik/cache
c. if you update your ROM to a new nightly/RC/stable, re-build the zipthemer file. It's likely that this isn't necessary, but unless you know just what the CM team changed it's probably a good idea.
wait can I just flash the zip or do I have to do the zipthemer thing( which i have no idea how to use)?? And also is this zip only for the galaxy nexus or for any CM9 phone .( I'm on Samsung epic 4g)?
samsungepicgeek said:
wait can I just flash the zip or do I have to do the zipthemer thing( which i have no idea how to use)?? And also is this zip only for the galaxy nexus or for any CM9 phone .( I'm on Samsung epic 4g)?
Click to expand...
Click to collapse
You have to do the zipthemer thing, but that's the beauty of it! Because you are using zipthemer, it doesn't matter which CM nightly/RC/stable you're on, zipthemer pulls from the files on your phone and makes an update file for you! And it's really easy to use.
Unfortunately, it doesn't necessarily transfer across devices. And in the case of the Epic 4g, it doesn't. The image files are different sizes. I have downloaded the CM9 files for the Epic 4G/4G Touch and built a zipthemer file for it though (with the exception of the wimax icons, if you use wimax let me know. I don't know if the epic 4G is even wimax capable). I'll post it in the Epic 4G forums.
Also going to post a quick zipthemer tutorial after this post. (added them to the OP)
Epic 4G Thread
Epic 4G Touch Thread

Samsung Apps Test

Hi people there is a method to have the samsung apps test. I don't know which is the method exactly, but I only know that we must modify the kona.exe files from original samsung apps and then create a new signature with a program. Do you know what we must modify on the exe file to have the samsung apps test?
I don't know how to do it, but by using 7-zip I managed to de-compress kona.exe as it is a simple zip archive, in it there are four files (named: 0,1,2,3), by opening the biggest (named '1') with an hex editor (or notepad too) and by scolling the content you can read some piece of c++ source code of the samsungapps application (probably the headers..) and some other strings.
guari said:
I don't know how to do it, but by using 7-zip I managed to de-compress kona.exe as it is a simple zip archive, in it there are four files (named: 0,1,2,3), by opening the biggest (named '1') with an hex editor (or notepad too) and by scolling the content you can read some piece of c++ source code of the samsungapps application (probably the headers..) and some other strings.
Click to expand...
Click to collapse
i don't understand ! you open kona.exe with 7z & it's work?!
as i know , we mast use some program like Hex or exe hacker to modify exe files .
ـــــــــــــــــــــ
idea:
how can we change samsungapps server ?
we can change it to another server (or local host) then we can make a new appstor for ourselves!
any idea?
I transform the samsung apps.oap file in zip file and then extract it. Then I have all files, manifest.xml, kona.exe, application.xml, ....
Sylar900 said:
I transform the samsung apps.oap file in zip file and then extract it. Then I have all files, manifest.xml, kona.exe, application.xml, ....
Click to expand...
Click to collapse
aha... !
what's diffident between the extracted samsung apps.oap and the another one which already extract ? (you can see this here: ShpApp\Osp\Applications)
VIVASAMSUNG. said:
i don't understand ! you open kona.exe with 7z & it's work?!
as i know , we mast use some program like Hex or exe hacker to modify exe files .
Click to expand...
Click to collapse
it seems that only kona.exe has a file header recognized as a compressed directory:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
anyway, by opening both the 'four parts extracted' or directly the exe as a text file gives the same result.
The samsung apps installation folder is: \Osp\Application\8d7uw8z551\
The server configuration can be found in: \Osp\Applications\8d7uw8z551\Data\KonaConfig.ini (maybe are stored also into other files in other dir..)
Maybe other usefull path are:
\SystemFS\User\OspSys\registry\systeminfo.ini (here seems that can be found the system information returned by the bada API - notice the SamsungApps AppID..);
\SystemFS\User\OspSys\registry\OspSyncProfile.ini;
\SystemFS\User\OspSys\registry\service.ini;
\AppEx\Sys\SamsungApps\SamsungApps.oap (probably is the one used when an hard reset is performed)
obviously for authentication there is always SamsungAccount.oap and, also, actually, as I know, there is no way to generate a valid signature for customized app (the way you probably intend does not 'generate' any signature but uses the default one provided for SDK app development... that is the only one)
There is a method to generate valid signature, I installed some apps with this method...
http://forum.xda-developers.com/showthread.php?t=1472238
Maybe someone find Warp Code...
With this Tool you can play also with *.exe files...
XadaXppXignature.exe
Best Regards
adfree said:
http://forum.xda-developers.com/showthread.php?t=1472238
Maybe someone find Warp Code...
With this Tool you can play also with *.exe files...
XadaXppXignature.exe
Best Regards
Click to expand...
Click to collapse
I know that XadaXppXignature is only for create a new signature from *.exe files.. How to modify *.exe files with XadaXppXignature? Thank you
You know what Hash/"CRC" is...
Use Google...
If you modify Binary.. *.exe
Hash changes... so also Signature is invalid...
You need to create new one... This is why you can use this Tool, also
XadaXppXignature.exe
Instead only stupid Spoofing... without using own brain...
To modify Binary... *.exe ... use Google too...
One hint is HEX Editor...
Best Regards
Thank you adfree. But I need original files of Samsung Apps test or I can work on original files of normal samsung apps?
Sylar900 said:
There is a method to generate valid signature, I installed some apps with this method...
Click to expand...
Click to collapse
this is exactly what I intended in my last sentence, why do you think XadaXppsXignature work only for the last app?
it doesn't generate any valid signature for custom apps, it uses the one provided to developer to test their app with bada sdk and only the last installed work... if it did so, all bada security policy would be fully broken with one click...
adfree said:
You know what Hash/"CRC" is...
Use Google...
If you modify Binary.. *.exe
Hash changes... so also Signature is invalid...
You need to create new one... This is why you can use this Tool, also
XadaXppXignature.exe
Instead only stupid Spoofing... without using own brain...
To modify Binary... *.exe ... use Google too...
One hint is HEX Editor...
Best Regards
Click to expand...
Click to collapse
Please tell me only what I must modify on the kona.exe file to transform on samsung apps test..Then I will search the Andromeda code on files..

[HOW TO] Theme ALL keyboards w/o FCs!! [A guide for beginners]

I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Thank you so much dude. This really helps me out!
Easy for us good tut for new themers. Its really not a hard process guys. You just need an idea of what you want and take time on it. If you get exhausted take a break and come back to it some other time.
The end result will be your own creation. That's what makes android so awesome. Open source!

[MOD] DIY-Bloat-Kill [4.2.2 AOSP] Modify for your apps then flash to remove bloat

DIY BLOATKILL
Note: This is my first entry into the Android development forum. I am not a developer. Proceed at your own risk. I'm not responsible for any fubar situations.
I'll post this in the d2vzw, d2tmo & d2spr if it works well here.
WHAT CZ_BLOAT-KILL.zip DOES:
This thread is designed to help you create your own recovery-flashable bloatkill zip. You can either use mine, or modify mine to create your own. When you flash this, it automatically removes all the aps (apk’s) that you don’t want on your phone. This means you don’t have to go through and uninstall each app one-by-one. This zip will remove it ALL, in just two seconds.
HOW TO USE IT:
1) Flash CZ_BLOATKILL.zip in recovery after you have installed your ROM and installed all your apps.
2) Wipe cache & dalvik and fix permissions.
3) Reboot and test your phone.
WORKS ON:
Should work on all AOSP 4.2.2 Galaxy S3 phones. Tested successfully on 4.2.2 d2att with TWRP 2.5 so far. While the script includes a few TouchWiz items that are not found on AOSP, it is NOT designed for TouchWiz. This is only for AOSP 4.2.2 ROM's.
SPECIAL THANKS GOES TO:
---Broadways – Everything you see here is possible because of his original work on Bloatkill.zip. Please go give him some thanks!
http://forum.xda-developers.com/showthread.php?t=2058944
---CyanogenMod – I used their updater script from 4.2.2 gapps to modify bloatkill.zip to work on our Galaxy S3 phones.
HOW TO MODIFY MY CZ_BLOATKILL.zip AND MAKE IT YOUR OWN:
Note--I’ve only tested this on Win7x64 and d2att and 4.2.2 AOSP. Your mileage may vary.
Note--You must follow the directions EXACTLY as I have them listed, or the zip will not flash properly.
1) Download the attached cz_bloatkill.zip.
2) Download & install 7zip on your Windows 7 computer.
http://filehippo.com/search?q=7zip
3) Download & install Notepad++ on your Windows 7 computer:
http://filehippo.com/download_notepad/
4) Right-click CZ_BLOATKILL.zip and select 7zip/Open Archive.
5) Go to the following directory: CZ_BLOAT-KILL.zip\META-INF\com\google\android\
6) Left click to drag & drop “updater-script” onto your Windows desktop.
7) Right-click “updater-script” on your Windows desktop and select “Edit with Notepad++”.
8) Copy several of the “delete” lines.
9) Change each of the .apk filenames to match whichever apk/app names you want removed from the phone.
10) In the screenshot below, you’ll see that I copied the “Apollo.apk” line several times. When you edit my file, you'll do the same thing.
11) Then I edited one of the lines and changed the wording to “TEST”. Just change each of the copied lines to include whichever app name you want.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
12) Then save your changes and close Notepad++.
13) Now just drag & drop this modified “updater-script” back into the open-archive window. It will replace the existing file.
14) Close out of the archive window.
15) Copy the zip to your phone and flash to remove the apps you selected.
Here are the apps I’ve chosen to remove from my phone. NOTE: If you flash mine, you will lose your Internet browser, text messaging, launcher, keyboard and a lot of other things that I use 3rd party apps for. So flash at your own risk!!!
delete("/system/app/ClockWidget.apk");
delete("/system/app/ClockWidget.odex");
delete("/system/app/DualClock.apk");
delete("/system/app/DualClock.odex");
delete("/system/app/Email.apk");
delete("/system/app/Email.odex");
delete("/system/app/EmailWidget.apk");
delete("/system/app/EmailWidget.odex");
delete("/system/app/Gmail.apk");
delete("/system/app/GoogleQuickSearchBox.apk");
delete("/system/app/Maps.apk");
delete("/system/app/Phonesky.apk");
delete("/system/app/Quickoffice.apk");
delete("/system/app/SamsungApps.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.odex");
delete("/system/app/SamsungWidget_StockClock.apk");
delete("/system/app/SamsungWidget_StockClock.odex");
delete("/system/app/SamsungWidget_WeatherClock.apk");
delete("/system/app/SamsungWidget_WeatherClock.odex");
delete("/system/app/signin.apk");
delete("/system/app/signin.odex");
delete("/system/app/SnsAccount.apk");
delete("/system/app/SnsAccount.odex");
delete("/system/app/Street.apk");
delete("/system/app/Swype.apk");
delete("/system/app/talkback.apk");
delete("/system/app/UnifiedInbox.apk");
delete("/system/app/UnifiedInbox.odex");
delete("/system/app/VoiceSearch.apk");
delete("/system/app/GenieWidget.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/KeyChain.apk");
delete("/system/app/GooglePartnerSetup.apk");
delete("/system/app/DashClock.apk");
delete("/system/app/LockClock.apk");
delete("/system/app/HoloLauncher.apk");
delete("/system/app/VideoEditor.apk");
delete("/system/app/VisualizationWallpapers.apk");
delete("/system/app/TvOut.apk");
delete("/system/app/Stk.apk");
delete("/system/app/PhaseBeam.apk");
delete("/system/app/LiveWallpapers.apk");
delete("/system/app/HoloSpiralWallpaper.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/Galaxy4.apk");
delete("/system/app/MediaUploader.apk");
delete("/system/app/OneTimeInitializer.apk");
delete("/system/app/FaceLock.apk");
delete("/system/app/Talk.apk");
delete("/system/app/CMWallpapers.apk");
delete("/system/app/Exchange2.apk");
delete("/system/app/Email2.apk");
delete("/system/app/Browser.apk");
delete("/system/app/EmailWidget.apk");
delete("/system/app/Mms.apk");
delete("/system/app/Tag.apk");
delete("/system/app/LiquidPapers.apk");
delete("/system/app/LatinIME.apk");
delete("/system/app/Apollo.apk");
ps. I know some of the apps listed above are TouchWiz only and not found on AOSP. I was just too lazy to figure out which are which, and remove them.
first. boom.
Hi, I have a failed signature, Why?
Thanks
CZ Eddie said:
While the script includes a few TouchWiz items that are not found on AOSP, it is NOT designed for TouchWiz.
Click to expand...
Click to collapse
Could you make a TouchWiz version for the rest of us?
Anonymously_Unknown said:
Could you make a TouchWiz version for the rest of us?
Click to expand...
Click to collapse
I second that request
Sent from my SGH-I747 using xda app-developers app
Anonymously_Unknown said:
Could you make a TouchWiz version for the rest of us?
Click to expand...
Click to collapse
If you get me a list of the apk's for TouchWiz that are considered bloatware then I will.
But since I created this utility I've learned that some bloatware has dependencies. If you can find those also then I'll create a new script.
Or just edit the script yourself. Find a list of all bloatware somewhere on the forum.
I have an S4 now so i can't help ya there.

Categories

Resources