Battery icon request for KH3 - Captivate Themes and Apps

Is it possible to make this battery icon http://forum.xda-developers.com/showthread.php?t=977983 work with KH3?! Thanks..

chasesavestheday said:
Is it possible to make this battery icon http://forum.xda-developers.com/showthread.php?t=977983 work with KH3?! Thanks..
Click to expand...
Click to collapse
You can do a bunch of battery icons in the UOT kitchen
There are a couple for KH3 in this thread
http://forum.xda-developers.com/showthread.php?t=1248826

Yes I just created one at uot. I really liked the one on the OP though. Thanks for your efforts!

I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?

chasesavestheday said:
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
Click to expand...
Click to collapse
There's an easier way, assuming you have the android SDK and ADB.
First, reboot into CWM recovery (it'll save you any troubles of root permissions).
Type this command into adb:
adb pull /system/framework/framework-res.apk
Then go into your SDK folder where adb is stored (usually platform-tools) and make a copy of that apk file to somewhere else. That will be your safe backup.
Then get 7zip and right-click on the apk sitting in the directory with adb, and select "open archive". Navigate to /res/drawable-hdpi and copy all the files you extracted into this directory (overwriting where necessary).
Once you've done that, close the archive. Assuming it's still in the same directory as adb, type:
adb push /system/framework/framework-res.apk framework-res.apk
(Yes, it's typed twice on purpose.)
Then just reboot. If all goes well, your battery should show up. If it messes up, just move your backup to the adb folder, reboot to recovery, and reissue the adb push command above.

chasesavestheday said:
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
Click to expand...
Click to collapse
you dont need to sign system apks

Related

Resigning ROMS?

Ok so im a noob when it comes to coding. I want to replace the wallpaper that comes in some roms and from my understanding when I extract the .zip rom to replace them, I have to resign the .zip for it to work. If this is true, how do I resign them?
punkmanj said:
Ok so im a noob when it comes to coding. I want to replace the wallpaper that comes in some roms and from my understanding when I extract the .zip rom to replace them, I have to resign the .zip for it to work. If this is true, how do I resign them?
Click to expand...
Click to collapse
first make sure you grab all the signing tools (do a search and you'll find Stericson's stuff somewhere)
extract the zip of the update.zip
now in the main folder you should see META-INF
go in there and remove the three files that are not folders
now go up one level back to main folder
depending on how they packaged the update, you should see either a system or app folder
if you see system, then go into it and then into app
if you see app, then go into it
now you should see some .apks
the one you want is Launcher.apk
use 7z and open the archive
now navigate to the res/drawable folder and you should find your wallpapers in there
just use the name of a wallpaper thats in there that you dont like and replace it with the wallpaper you want
now navigate to the main directory of Launcher.apk
delete the META-INF folder
now close 7z
resign Launcher.apk
now navigate to the main folder of the update.zip
zip it all up again and resign the new .zip file
sorry if the instructions arent that clear .. its kinda late and been studying for a midterm for some time now .... PM me up if you need any more help
Stericson said:
Note, this will not work if your SDK or the path that you place this in has any spaces in the dir name!
An Example of this is c:\users\Nikki and Stephen\sdk\tools
Try to put the SDK and the contents of the zip in a dir where the names are all together and not like the one above.
Ok, so I have made a batch file that will automate the entire process of setting up to use the signing tool made by JF. This batch file will set the CLASSPATH, set the PATH, install the registries, let you sign the files manually, and let you push/pull files to the phone.
In order to use this you should have downloaded the sdk already. Simply extract all of the files into the tools dir of your sdk, and run autosign.bat follow the instructions and go through the options one by one, starting with 1 working through 4. You can however, put the contents of this zip anywhere on your computer and it will work. It is just better to put them into the tools dir of your SDK. Especially for the consideration of future versions.
Enjoy,
Stericson
Autosign .zip: http://www.fightforthepits.com/Androidstuff/signing.zip
Click to expand...
Click to collapse
there's stericson's OP in the signing made easy thread
Yeah sorry for posting I soulda did a search first. I found the Signing Made Easy post after posting this... Thanks for the quick reply Now I can start doing themes as well. Thanks again.
punkmanj said:
Yeah sorry for posting I soulda did a search first. I found the Signing Made Easy post after posting this... Thanks for the quick reply Now I can start doing themes as well. Thanks again.
Click to expand...
Click to collapse
np .. dont forget to edit your OP with "SOLVED" so mods can start cleaning up
What am I doing wrong if I get the message "java is not recognized as an internal or external command, operable program or batch file."
uansari1 said:
What am I doing wrong if I get the message "java is not recognized as an internal or external command, operable program or batch file."
Click to expand...
Click to collapse
you're missing java ... http://developers.sun.com/downloads/top.jsp .. i think you only need the jre but i always get the jdk

.png question

Is there a way i can change png files on my phone from my phone? I want to change the calling icon in the framework-res.apk. i found out a way to change it with an app in the market. But i dont know how to put it back in the apk. Help please.
find the picture --> backup it --> put in your picture with the same name and exactly the same bigness (pixels) --> bingo
cheers, stephan1
its not that easy. any other ideas anybody please.
Well if the file is a .9.png then it won't be that easy because these files are compiled to binary. (correct me if I'm wrong devs) You will need to do a little more reading to figure this one out. Also, you can't just "unzip" an apk and mess around with the pics and think that it's going to work when you zip it backup. My understanding is that you have to place the file that you are replacing into the compressed(i.e. zipped) apk.
Once again, Devs, correct me if I am wrong but all my info comes straight from using the search button...Try it out
jballz0682 said:
Well if the file is a .9.png then it won't be that easy because these files are compiled to binary. (correct me if I'm wrong devs) You will need to do a little more reading to figure this one out. Also, you can't just "unzip" an apk and mess around with the pics and think that it's going to work when you zip it backup. My understanding is that you have to place the file that you are replacing into the compressed(i.e. zipped) apk.
Once again, Devs, correct me if I am wrong but all my info comes straight from using the search button...Try it out
Click to expand...
Click to collapse
You're right, and wrong. You can unzip an .apk and mess with the images, then rezip it back up and rename it to (yourapk).apk from (yourapk).zip, you just need to sign it when you're done.
I haven't messed with anything entitled ".9.png", but if it's binary then hex editing it is probably the quickest way to edit it, otherwise there is a program called 'apktool' that can decompile apk's and is pretty effective, I've used it a few times
dmullins80 said:
its not that easy. any other ideas anybody please.
Click to expand...
Click to collapse
Pull framework-res.apk from your phone, to your computer's desktop. Use Winrar, or a similar archive extracting program, to open the file, then click Extract -> (some folder on your desktop that has nothing else in it)
Find the picture you want to change, make sure your new picture is the same dimensions (e.g; 320x480) and is the same type of file (e.g; .png) and replace the stock image with your custom image.
Once that's done, highlight all files and folders in the root of the folder you extracted framework-res.apk to -> (if using Winrar) Right-Click -> Add to archive -> Change archive type to .zip and click OK -> Right click on your newly created framework-res.zip and change the extension to .apk (you might need to open a windows explorer window and select tools->folder options->view tab->uncheck 'hide extensions for known filetypes).
Once that's done, you'll need to sign your new framework-res.apk. You can do that with EasySign. Download EasySign to your desktop, extract the archive and open a Windows Command Prompt (Start->All Programs->Accessories->Command Prompt). You'll need the Java JDK installed.
Drag your newly created framework-res.apk file into your EasySign folder on your desktop and down the following;
Type the following, assuming you have Windows 7 or Vista:
Code:
cd C:\Users\(your username on your PC)\Desktop\EasySign
You should now see the following;
Code:
C:\Users\(your username on your PC)\Desktop\EasySign>
You should now type the following;
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 framework-res.apk framework-res_signed.apk
It'll take a moment, then you'll see;
Code:
C:\Users\(your username on your PC)\Desktop\EasySign>java -jar signapk.jar testkey.x509.pem testkey.pk8 framework-res.apk framework-res_signed.apk
C:\Users\(your username on your PC)\Desktop\EasySign>
...and you should now have framework-res_signed.apk in your EasySign folder on your desktop.
Pull it to your desktop and rename it framework-res.apk and put it back where you got it, most likely using adb (if using adb, put it in C:\(your androidsdk folder)\tools and type the following;
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
Alternatively, you can place it on your sdcard and use a program like Astro to move it to /system/framework and immediately reboot your phone for the changes to take effect.
Enjoy, it took me like 10 minutes to type this
-mak
Thanks for the wirte up, (i've been try to do something simaler to this for a while). I got to the end but then I get this error in the cmd window. Any thoughts?
'java' is not recognized as an internal or external command,
operable program or batch file.
jadesdan said:
Thanks for the wirte up, (i've been try to do something simaler to this for a while). I got to the end but then I get this error in the cmd window. Any thoughts?
'java' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Sorry, I should have mentioned you'll need the Java JDK installed.
.mak is that the same one by Stericson?
here
sorry if that is slightly OT, just rebuilding the PC setup and need the files, so not sure which one I want to use - his worked last time for me well.
thanks~
dianeofarcadia said:
.mak is that the same one by Stericson?
here
sorry if that is slightly OT, just rebuilding the PC setup and need the files, so not sure which one I want to use - his worked last time for me well.
thanks~
Click to expand...
Click to collapse
EasySign? I'm not sure, I've only downloaded it from grdlock's site. The one you linked to actually looks easier to use..
when you re-zip the file after editing do you use normal compression or store?
Magnum72 said:
when you re-zip the file after editing do you use normal compression or store?
Click to expand...
Click to collapse
Normal if you're in Windows, otherwise .gz (most compatible) under linux.
.mak said:
Sorry, I should have mentioned you'll need the Java JDK installed.
Click to expand...
Click to collapse
I've installed it, but I still get the same error. Do I need to set a system path within java?
If I get this working it will solve many of my 'problems' Thank you!
I used ubuntu... what I did was change the default unknown call icon... I opened the Phone.apk in ubuntu and replaced the pic with another icon from another rom of my choice making sure it had the exact same name.. then went back to windows, pushed phone.apk and got it no problem... ubuntu opens the apk's without having to unzip them...
droidfreak said:
I used ubuntu... what I did was change the default unknown call icon... I opened the Phone.apk in ubuntu and replaced the pic with another icon from another rom of my choice making sure it had the exact same name.. then went back to windows, pushed phone.apk and got it no problem... ubuntu opens the apk's without having to unzip them...
Click to expand...
Click to collapse
I did that with the numbers on the dialer and the home launcher icon in the Tainted Vanilla thread. But there are other apk's that are a bit touchy. Once I learn how to sign them, I think it might open up a whole new world of skinning for me.
Yeh it would be good to get that down... it would open a huge door.. make things easier..
Question; in order for the above process to work, must you be rooted? I would love to change icons...unfortunately my naive-impatient self flashed the leak when it was first brought public.
Ngmanis said:
Question; in order for the above process to work, must you be rooted? I would love to change icons...unfortunately my naive-impatient self flashed the leak when it was first brought public.
Click to expand...
Click to collapse
Unfortunately you do need to be rooted for these changes to occur, however you can still do some customization with apps like Bettercut or ones similar.
jadesdan said:
I've installed it, but I still get the same error. Do I need to set a system path within java?
If I get this working it will solve many of my 'problems' Thank you!
Click to expand...
Click to collapse
I didn't, and it works for me. Are you using the proper commands, exactly as shown in my tutorial?
.mak said:
I didn't, and it works for me. Are you using the proper commands, exactly as shown in my tutorial?
Click to expand...
Click to collapse
Yes! Even coy and paste (except for changing the name of the apk I'm trying to sign).
I've downloaded the java link that you provided and installed, redownloaded and installed the JRE, rebooted. THe java site tells me I have the latest and greatest of everything.
I know it's got to be something I'm doing wrong, I get the same error with Autosign and other batch signing tools. I just don't know what my problem is.
jadesdan said:
I've installed it, but I still get the same error. Do I need to set a system path within java?
If I get this working it will solve many of my 'problems' Thank you!
Click to expand...
Click to collapse
jadesdan said:
Yes! Even coy and paste (except for changing the name of the apk I'm trying to sign).
I've downloaded the java link that you provided and installed, redownloaded and installed the JRE, rebooted. THe java site tells me I have the latest and greatest of everything.
I know it's got to be something I'm doing wrong, I get the same error with Autosign and other batch signing tools. I just don't know what my problem is.
Click to expand...
Click to collapse
Did you make sure to cd into the proper folder from command prompt? I've made this mistake a time or two;
Code:
cd C:\Users\(your username on your PC)\Desktop\EasySign>
^^ assuming you have EasySign in a folder called EasySign on your desktop, and that you change (your username on your PC) to your actual username.

Hide Battery Status

is there a way to hide the android battery status or display the % on it? there are plenty of apps that show % but its kinda redundant to have both displaying on the task bar.
i am runing rooted stock rom. any ideas are apreciated, thanks
You can do both with CyanogenMod. Or you can just replace the images in framework-res.apk
Here is a red round battery with percentages:
thanks everyone
thank you, i just deleted the images from framework-res and installed a battery indicator from market. so now i have 1 battery with correct %. too bad i cant move it to the right
dkhait said:
thank you, i just deleted the images from framework-res and installed a battery indicator from market. so now i have 1 battery with correct %. too bad i cant move it to the right
Click to expand...
Click to collapse
How do you do this? Do you copy the original framework-res.apk to PC and then open and remove the battery pictures then move the modified framework-res.apk back to the device and install? I tried this but the apk wont install.
nfcrockett said:
Here is a red round battery with percentages:
Click to expand...
Click to collapse
How do you install this file? I tried installing it from clockwork mod recovery, but it didn't take.
Asterdroid said:
How do you install this file? I tried installing it from clockwork mod recovery, but it didn't take.
Click to expand...
Click to collapse
you cant install that file. you have to pull framework-res.apk from the /system/framework. then open it with 7zip and overwrite the exiting images with those. then push it back into the phone.
adb pull /system/framework/framework-res.apk
then after injecting new images
adb push framework-res.apk /system/framework/
dkhait said:
you cant install that file. you have to pull framework-res.apk from the /system/framework. then open it with 7zip and overwrite the exiting images with those. then push it back into the phone.
adb pull /system/framework/framework-res.apk
then after injecting new images
adb push framework-res.apk /system/framework/
Click to expand...
Click to collapse
Worked like a charm. Thanks!
Any idea where I can get my hands on red-themed 3g/location/clock/wifi/gps/alarm etc. notification icons?
I can't get the file to push. I am connected via USB with USB debugging on in charge only mode. At CMD prompt I can adb shell and su.
adb push framework-res.apk /system/framework/
gives error adb: not found
I have edited the file by removing some png and then saving it back to the sdk root and the sdk/tools folders.
If I get this to push do you have to then install the apk from the device?
wpbear said:
do you have to then install the apk from the device?
Click to expand...
Click to collapse
-Install 7zip (just google it)
-Reboot phone into recovery.
-Connect USB cable
-Go into Partitions menu in recovery
-Mount /System
-Open your command prompt on your PC
-Change the directory to wherever your sdk/tools are located
-type the following command line: adb pull /system/framework/framework-res.apk
Now the file is in your sdk/tools folder
-Right click on framework-res.apk and open with 7zip
-Copy the files from the round battery zip folder to the corresponding folder with the 7zip archive. They will automatically overwrite
-Exit 7zip
-Back in the command prompt type the following command line: adb push framework-res.apk /system/framework/
-On your phone, unmount /system, then back out of the partitions menu and reboot your phone.
Should be all set!
wpbear said:
I can't get the file to push. I am connected via USB with USB debugging on in charge only mode. At CMD prompt I can adb shell and su.
adb push framework-res.apk /system/framework/
gives error adb: not found
If I get this to push do you have to then install the apk from the device?
Click to expand...
Click to collapse
I think you need to mount the system folder in the partitions menu of recovery. My instructions are one post up.
Thanks got it. I switched back to the orignal apk though. I wanted the status hidden, and while deleting the png worked, it still leaves a blank space instead of moving the icons over so it doens't look good. Thanks for the help.
nfcrockett said:
Here is a red round battery with percentages:
Click to expand...
Click to collapse
I really like this icon, but is there any way to use this without the percentages in the middle? It makes it look more cluttered, and it's not very useful as they only change between 100, 80, 60, etc.
So is there any way to either make them more accurate, or remove them completely? I really like this indicator otherwise, more neat-looking than the one that comes with the jonnybueno theme (which rocks otherwise!)
Thanks all.
I made a white round battery meter if you don't care for the red.
Why can't this be packaged up into a zip for us to just go into recovery and clockwork and install zip. Don't really understand why we have to go through all the steps of adb to get this to work. So if possible could someone please put it all together to make it easier to use. Thanks
wpbear said:
How do you do this? Do you copy the original framework-res.apk to PC and then open and remove the battery pictures then move the modified framework-res.apk back to the device and install? I tried this but the apk wont install.
Click to expand...
Click to collapse
you cant install it, you have to overwrite it in recovery mode.
adb pull /system/framework/framework-res.apk
modify
then
adb push framework-res.apk /system/framework/
corywf said:
I made a white round battery meter if you don't care for the red.
Click to expand...
Click to collapse
Is there one for blue please?
What color blue do you want? Just regular blue?
WingHater said:
Why can't this be packaged up into a zip for us to just go into recovery and clockwork and install zip. Don't really understand why we have to go through all the steps of adb to get this to work. So if possible could someone please put it all together to make it easier to use. Thanks
Click to expand...
Click to collapse
It probably could be packaged, but it is a pretty simple change so I doubt anyone would go through the trouble.
Do not fear ADB. Follow the steps. It is as easy as 1. 2. 3... 4567.
nfcrockett said:
Here is a red round battery with percentages:
Click to expand...
Click to collapse
Is there anyway to do this so it is like the old days where a zip could be installed through clockwork recovery? I hate doing anything through ABD half the time my phone is not recognized?

How: can I mod the stock phone.app?

Ok, I must have posted this question somewhere but I would like to know the answer cause no one has answered it. "how do I get the stock phone app to modify?. How would I get it and put it back into my phone? please I would like to know.
38 views and no response?
the .png files for the phone are actually in the contacts.apk.
Are you asking how to modify the apk, or just specifically where are the phone images?
To copy the app from your phone just do: adb pull /system/app/Phone.apk
That will put a copy of the file in your "tools" directory in the android sdk folder
Then when you want to put it back on you should be able to overwrite it with: adb push /system/app/Phone.apk
What exactly are you planning on doing with this file?
Thank you. I want to create my own images to make it look different then the stock colors.
There are 2 apks that contain dialers, one is the Contacts.apk as stated bfore that brings up the phone when the phone icon is pressed the second is in the Phone.apk appears once a call is placed, and the persons picture appears of the person you are calling.
I don't know how to do a adb pull. can you explain?
johnny quest said:
I don't know how to do a adb pull. can you explain?
Click to expand...
Click to collapse
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
synesthete said:
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
Click to expand...
Click to collapse
This is confusing. I didn't think it would be so hard. I do UI's for iphone and ipod touch and this is way different. There are so many different things. Its discouraging in some ways. Sorry. I would love to create an app but of course its different. So, I stick to creating themes.
I would love to take a ROM and mod it myself or even modifying Launcher pro but it has that 9.pngs which makes it hard.
Ok, I have the Eris 2.1 rooted with Tenzo Rcmix2.0 installed. I have the SDK installed but don't know what to do with it. I appreciate you taking the time to help me out. I really want to create and mod lots of apps.
this is what I've done to a phone app I downloaded from the market:
-I created my images through Photoshop and saved them to a folder with its correct name used.
-I opened draw9patch and saved the images with the correct name again to a folder.
-I named the folder drawable-hdpi that belongs in the Res folder
-took the files and folder and created a zip out of it.
-opened the AvaboxV2 and signed it.
-loaded to my phone and changed the name to the correct name and installed it
but it keeps saying application not install, I just don't get it. What step did I messed up on?
Anybody? anybody?...............................
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
icbeer said:
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
Click to expand...
Click to collapse
thank you but I'm trying to understand what you mean by push ADB. is that the one in the sdk folder? if so, I open it and it just flashes for a few seconds then closes.
ADB is a command line program that allows you to debug and move/edit files on your phone. You need to run those commands from a command prompt (should be a link in the Accessories folder on the Start menu if you can't right-click on the sdk folder and open one). Navigate to the tools folder, then run the remount and push commands like icbeer said to get your modified .apk on your phone:
Code:
C:\users\brtnbrdr> cd c:\android-sdk-windows\tools
C:\android-sdk-windows\tools> adb remount
C:\android-sdk-windows\tools> adb push Contacts.apk /system/app

Get ics animations on any rom...!!!!

i am just copying and pasting capez's work all... credits goes to him
here's the guide...
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" and enter. Then enter "1" and enter. Then enter "9" and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".
12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".
13) Now you can create a flashable zip or you can simply push it to your system.
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
Video of this mod working:
http://www.youtube.com/watch?v=vf1U_30Ngfk
digkong said:
13) Now you can create a flashable zip or you can simply push it to your system (but you have to sign the apk).
Click to expand...
Click to collapse
You don't sign system apks.
thanks just corrected it..
digkong said:
i am just copying and pasting capez's work all... credits goes to him
here's the guide...
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" and enter. Then enter "1" and enter. Then enter "9" and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".
12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".
13) Now you can create a flashable zip or you can simply push it to your system.
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
Video of this mod working:
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Nice!!! I will give a try. Thanks!
digkong said:
thanks just corrected it..
Click to expand...
Click to collapse
Np Cool guide.
just testing,i'll let u know about result
edit 2 : sorry for the first edit i was mistaken,it works great
Probably better suired in Android themes and apps
good tutorial! But I suggest you to mention that IT NEEDS to resign the apk after the tutorial is finished....we need to take the META-INF from the res apk decompiled, then open the unsigned apk, delete its META-INF and paste the META-INF from the original framework-res.apk...otherwise it won't work!
Interesting, thanks.
Very nice, thanks for details.
memnoc said:
good tutorial! But I suggest you to mention that IT NEEDS to resign the apk after the tutorial is finished....we need to take the META-INF from the res apk decompiled, then open the unsigned apk, delete its META-INF and paste the META-INF from the original framework-res.apk...otherwise it won't work!
Click to expand...
Click to collapse
i didn't do that and it works for me :S
evanbigfan said:
i didn't do that and it works for me :S
Click to expand...
Click to collapse
Worked for me too without touching the META-INF
Sent from my HTC Desire HD using xda premium
evanbigfan said:
i didn't do that and it works for me :S
Click to expand...
Click to collapse
Yep, I trust you, and I was surprised too when the ROM doesn't boot cause resources apk usually don't need to be signed at all, but once I signed the frame everything work.. strange.. anyway don't care about it, the tutorial is very clear and well organized well done and Thanks
Inviato dal mio HTC Desire HD usando Tapatalk
memnoc said:
Yep, I trust you, and I was surprised too when the ROM doesn't boot cause resources apk usually don't need to be signed at all, but once I signed the frame everything work.. strange.. anyway don't care about it, the tutorial is very clear and well organized well done and Thanks
Inviato dal mio HTC Desire HD usando Tapatalk
Click to expand...
Click to collapse
thanks any way for the info ,it may be usful in other issues
Thanks for the tutorial, these animations are great However,
I flashed it on Runny 4.0, all the animations work, but when I adb pushed it to /system/framework the market force closed, and then when I rebooted all my accounts were gone?
i keep encountering a problem after I press 9.
"an error occured, please check the log"
then I press 21 to see
"java is not recognized as an internal or external command, operable program or batch file."
"could not find _________________" bunch of directories.
help~~
P00t said:
i keep encountering a problem after I press 9.
"an error occured, please check the log"
then I press 21 to see
"java is not recognized as an internal or external command, operable program or batch file."
"could not find _________________" bunch of directories.
help~~
Click to expand...
Click to collapse
http://www.java.com/en/download/help/path.xml
This will help
rayford85 said:
http://www.java.com/en/download/help/path.xml
This will help
Click to expand...
Click to collapse
ahhh that didnt work as well but i found the solution to it~ i had to search deeper into xda forum LOL
i got it working. i had to change the path.
P00t said:
ahhh that didnt work as well but i found the solution to it~ i had to search deeper into xda forum LOL
i got it working. i had to change the path.
Click to expand...
Click to collapse
Lol that's what the link was to show you how to setup your path, glad you got it
rayford85 said:
Lol that's what the link was to show you how to setup your path, glad you got it
Click to expand...
Click to collapse
Oh I thought that link was just to send me to the download link to JAVA.
im sorry. finally made the ICS ANI!

Categories

Resources