Hi,
This is my first time creating a batch file for this. I have only renamed the apks but you can easily edit the file to remove them as well.
Requirements
1) Android-sdk installed
2) Root access to phone
Instructions:
Please move it to where your ADB-sdk\platform-tools\ folder is located
Double click the file
It will automatically rename the following apks to
Books.bak
Facebook.bak
FacebookEngine.bak
Facebook_Client.bak
HtcMusic.bak
HtcMusicEnhancer.bak
HtcMusicWidget.bak
MyVerizon.bak
NewBayService.bak
PlusOne.bak
Slingbox.bak
TuneIn.bak
VCAST_TONES.bak
VCast.bak
VZWInstaller.bak
VZW_Lets_Golf_3.bak
VZW_Real_Racing_2.bak
VZW_Slacker_Radio.bak
VZW_VMM_HUX.bak
VZW_VOD.bak
Videos.bak
VzNav.bak
Watch.bak
WifiRouter.bak
amazonmp3.bak
com.mobitv.client.nfl2010.bak
Related
I have a shutdown sequence and some sounds I would like to turn in to a flashable .zip file. I checked out the CW forums, but that was more painful than informative. I have taken a look at some of the zip files I have found so far, but am not 100% sure about what I'm doing. Can anyone point me to a how-to or even in the general direction of some information to get me started?
Thanks guys!
Edit: Those interested can find all the information needed in the3dman's post and here:
http://www.londatiga.net/it/how-to-create-android-update-zip-package/
http://www.londatiga.net/general/how-to-sign-apk-zip-files/
I'd copy this guy
http://forum.xda-developers.com/showthread.php?t=795459
Thanks for the link. I had actually started there, and it's a great template if I just want to throw in my own files, but I was really looking for a how to so that I had more options for customizing, rather than being stuck with only the shutdown / startup sequence.
Sent from my SGH-T959 using XDA App
First you have to have your folder structure like this in the zip:
Main .zip
{
META-INF { com -> google -> android -> update-script } ( <- these are folders inside the META-INF except update-script this is a script file)
app (if the file you want to flash is an app it goes in this folder)
framework (if the file you want to flash is a framework file it goes in this folder)
system (if the file you want to flash is a system file (start up animations) it goes in this folder also make sure you put the correct subfolder inside this folder ie: if your file goes in system -> media make sure you put the file you wish to flash in a correctly named subfolder other wise it will flash into just the system folder and not into the correct folder within the system folder on your phone.)
}
After your folder structure is set up you must tell clockwork which folder or folders in the zip to flash. To do this open the update-script from the zip with a text editor and modify or add these lines with the correct folders.
copy_dir PACKAGE:framework SYSTEM:framework (use this for the framework folder)
copy_dir PACKAGE:app SYSTEM:app (use this for the app folder)
copy_dir PACKAGE:system SYSTEM:system (use this for the system folder)
Then sign your zip and flash.
Below is a picture of an example folder structure so show what I mean. Also I attached a zip with an example update-script in it.
the3dman said:
First you have to have your folder structure like this in the zip:
Main .zip
{
META-INF { com -> google -> android -> update-script } ( <- these are folders inside the META-INF except update-script this is a script file)
app (if the file you want to flash is an app it goes in this folder)
framework (if the file you want to flash is a framework file it goes in this folder)
system (if the file you want to flash is a system file (start up animations) it goes in this folder also make sure you put the correct subfolder inside this folder ie: if your file goes in system -> media make sure you put the file you wish to flash in a correctly named subfolder other wise it will flash into just the system folder and not into the correct folder within the system folder on your phone.)
}
After your folder structure is set up you must tell clockwork which folder or folders in the zip to flash. To do this open the update-script from the zip with a text editor and modify or add these lines with the correct folders.
copy_dir PACKAGE:framework SYSTEM:framework (use this for the framework folder)
copy_dir PACKAGE:app SYSTEM:app (use this for the app folder)
copy_dir PACKAGE:system SYSTEM:system (use this for the system folder)
Then sign your zip and flash.
Below is a picture of an example folder structure so show what I mean. Also I attached a zip with an example update-script in it.
Click to expand...
Click to collapse
Thank you very much! This was PERFECT for getting me started! This lead me to the following sites for more information on how-to's and even all the available syntax. For anyone looking to get into this (it's not difficult), check out these pages:
http://www.londatiga.net/general/how-to-sign-apk-zip-files/
http://www.londatiga.net/it/how-to-create-android-update-zip-package/
friends
someone could help me or raise the issue with the original purpose of the windows, and not use that brings the theme
and try changing the original XML (xmlsForStandardWindowAnimation.zip), but the keyboard disappeared and I can not connect via USB, restarted
Greetings from Chile
excuse my English. jajjajjaajaaja sucks google translate
thanks
Hi.
Could you elaborate chronologically what happened/what did you do?
Hi
1 GDDUltimateForLGVoidEcho.zip extract files
2 Remove the framework-res.apk files
3 delete the files in the folder res / anim
4 Copy the contents of "xmlsForStandardWindowAnimation.zip" folder anim
5 sign "framework" res.apk "
6 compressed "GDDUltimateForLGVoidEcho.zip"with the new content "framework" res.apk "
7 signs "GDDUltimateForLGVoidEcho.zip"
install the theme with recovery, starts, but see some sort of errors that were closed following
google.process.gapps
com.android.email
com.mobileleader.sync
com.android.deskclock
the keyboard does not start (to write anything, numbers, names, etc)
I can not connect to usb
thank you very much for reading this and help
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
giveme13s said:
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
Click to expand...
Click to collapse
That is what he did wrong? no idea what the problem xD
Muchas gracias amigo!!
Can anyone guide me how to enable CRT animation for stock android 2.3.3 on galaxy ace?
codestudent said:
Can anyone guide me how to enable CRT animation for stock android 2.3.3 on galaxy ace?
Click to expand...
Click to collapse
I think you should have posted this in themes and apps section but nevertheless this is your answer-
You will need-
a)APK Manager from here http://forum.xda-developers.com/showthread.php?t=695701
b) .zip manager (I suggest 7-zip or winrar for windows and archive manager for linux)
c) text editor ( Notepad++ in windows or gedit/write in linux )
d) framework-res.apk from /system/framework that you want to modify and build.prop from /system.
e)Root explorer/Fileexpert or adb to pull framework-res.apk and build.prop
First thing using root explorer or adb pull the above files to your computer.Then do the following..
1) Once you extract APKManager you should have a folder called "APKManager," somewhere.
2) Within that folder there's another folder called "place-apk-here-for-modding". Place you desired framework-res.apk into that folder.
3) Navigate back to the root of "APKManager", and double-click "Script.bat"in windows or "Script.sh" in linux
4) Press option 9 to decompile the apk. (It may take some time)
5) Once finished, navigate to "APKManager\projects\framework-res.apk\res\values".
6) Inside look for a file called "bool.xml". Open it using your notepad++ or gedit
and find and change the
"<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
7) Remember to save! Not "save as," but save.
8) Doubl-click "Script.bat" or "Script.sh"again, and choose option 11 to sign the apk
9) Say "y" to first option.
10) When that is done, a new folder called "keep" will be created. Open that folder, and delete resource.arsc.
11) Say "y" to the last option.
12) It will ask you to press any key, do that, and it will finish.
13) Navigate to the "place-apk-here-for-modding" folder, and you'll see a new file called, "unsignedframework-res.apk" open it with a .zip manager, and take the resource.arsc file from it, and transfer it to your original framework-res.apk (Which should be in the same folder)
14) Now push the modified original framework-res.apk(with new resource.arsc) onto your phone /system/framework using adb or copy by root explorer/fileexpert, and set permissions using root explorer to -rw -r -r or use chmod 644 framework-res.apk using adb. There wil be force-closes using root explorer when copying..just ignore that and set permissions and reboot.
15) Now pull build.prop from /system to your computer
16) Open build.prop and modify the line.
'debug.sf.hw=1' is the line in the file. Replace it by '#debug.sf.hw=1'. Indirectly you are just changing the line into a comment by adding a #
17) Now take this file and replace your original build.prop. You can do this by using adb or root explorer and set permssions similarly as in above.
18)Reboot and go to settings>>display>>animations and choose all animations. Enjoy your crt screenoff animation.
Added the guide in themes section http://forum.xda-developers.com/showthread.php?p=15976400
did as told but no luck. I'm using S5830XEKPH 2.3.4 firmware (Booted)
I have just noted that root explorer is not replacing framework file with the new one.
HI
I was running CF-Root-sgs2_XX_OXIKG3-v4.1
then through cwmv4.0.0.2
I have generated a zip file by doing
"Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
If you’re not using a CyanogenMod ROM, then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder libandroid_runtime that you extracted in step 1
Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder generated"
this is for making arabic framework.jar
the files I have pulled were from a super core_1 Kernel with Darkyrom2
then i have changed to CF-Root-sgs2_XX_OXIKG3-v4.1 kernel with cognition_S2-131
I went to cwmv4.0.0.2 and installed the zip file
boot loop happened
how can I fix it
thanks
"1-Download the patch below and extract it to a folder on your computer.
2-Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
3-If you’re not using a CyanogenMod ROM, then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder libandroid_runtime that you extracted in step 1
4-Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder generated
5-Version 0.800 provides a recovery flashable file in folder generated. Place that on your sdcard, reboot into recovery and flash it. If the flashing through recovery didn’t work for some reason, you’ll need to do the following manually:
-Put file generated/framework.jar in your phone at /system/framework/
-Put file generated/libandroid_runtime.so in your phone at /system/lib/ (if this file exists, it shouldn’t if you’re arabizing CM6).
-Put file REQUIRED-IMPORTANT/libicuuc-arabic.so in your phone at /system/lib/ This is extremely important, failing to place this file will result in a boot loop of your device"
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Instructions:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder or other folders
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- Done
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)