ok, so I've made some modifications to the default theme but I cannot seem to get a .zip that will flash. I've just transferred them straight to my hero using android commander, which works.
But anyway, it doesn't really matter if no one wants to use it, right? so here are some screenshots, if someone could help me out that would be much appreciated.
easiets way is to look inside a rom.zip
Take out the files META-INF and System
go through the meta-inf folder until you get to update-script and open it in notepad.
Delete everything except the first show progress line and the on saying copy package:SYSTEM or something very similar.
Go back to the system folder and open that,depending what files you are trying to flash you need to keep and empty those files....
if your changing rosie.apk its in system/app so empty system>app and put rosie.apk inside it.
Framework-res.apk is inside system>framework so put it there
When you have finished putting your files in go back to where META-INF and system are,Add them to an archive (.zip) and then resign! if you are unsure of the siging process please search google on how to resign update.zip
Which file and apk do I need to edit in order to change the icon that shows in the launcher. I know to change the messaging icon is in the mms.apk but I can find the apk to edit to change the phone icon. I edited the phone.apk but the icon hasn't changed.
DialerTabActivity.apk, I think.
Sent from my Captivate.
Thanks it worked
rg400smarttowel said:
Thanks it worked
Click to expand...
Click to collapse
Hi, I have a newbie question. I want to change the stock messaging icon in my phone. I already found the apk and the .png file. I read that I could change the icon by:
1. copying apk file to desktop
2. renaming the apk file to zip
3. changing the stock icon with the icon of my choice
4. renaming the zip file back to apk file
Then what? should I just copy the new apk file back to the directory where I found it? Please help. Thanks.
emtan said:
Hi, I have a newbie question. I want to change the stock messaging icon in my phone. I already found the apk and the .png file. I read that I could change the icon by:
1. copying apk file to desktop
2. renaming the apk file to zip
3. changing the stock icon with the icon of my choice
4. renaming the zip file back to apk file
Then what? should I just copy the new apk file back to the directory where I found it? Please help. Thanks.
Click to expand...
Click to collapse
Double click the new zip file to view the contents. Do not extract it. Just replace the file in the zip interface. Then change the extension back to apk, copy it back to your phone, reboot, and profit.
Aphex13 said:
Double click the new zip file to view the contents. Do not extract it. Just replace the file in the zip interface. Then change the extension back to apk, copy it back to your phone, reboot, and profit.
Click to expand...
Click to collapse
Awesome. I finally got it to work. Thank you so much!
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!
hey guys so i found this miui lockscreen that i really like but would like to add some color to the icons so far here is wat i have done downloaded the mtz file
made a new folder inside the folder in my .mtz file i made a copy of my .mtz file and chage the extension to .zip---i extrated the zip file and inside of it theres a previiew folder, a wallpaper folder, description.xml file and a LOCKSCREEN FILE.
ok i made a copy of the LOCKSCREEN FILE and once again add .zip extension to extrated, once extrated theres a advance folder and theme_value.xml
i went inside the advance folder and added color to some icons and all
now im trying to rezip my folder to a .mtz file to be able to install it on my phone any help
Usually, in Lockscreen files, there is "Themes_values" and an "Advanced" folder.
Select the two, right click, then "Add archive...," OK.
Name it "lockscreen" then select ZIP and then "Store" under Archive method.
Then double click the zip and it should open in winrar (depending on which unzipping tool you use), then I double click the "..." folder where you see the lockscreen.zip. rename it, by taking off the extension. Then it should be just a file.
Then select the file, along with the other folders that are in the mtz.
I believe they are Preview, Wallpaper and "description" xml.
Archive those the same way and follow the steps again, except rename it to .mtz.
That's my method.
God! said:
Usually, in Lockscreen files, there is "Themes_values" and an "Advanced" folder.
Select the two, right click, then "Add archive...," OK.
Name it "lockscreen" then select ZIP and then "Store" under Archive method.
Then double click the zip and it should open in winrar (depending on which unzipping tool you use), then I double click the "..." folder where you see the lockscreen.zip. rename it, by taking off the extension. Then it should be just a file.
Then select the file, along with the other folders that are in the mtz.
I believe they are Preview, Wallpaper and "description" xml.
Archive those the same way and follow the steps again, except rename it to .mtz.
That's my method.
Click to expand...
Click to collapse
thanks gonna give it a try and ill post some feedback and see if it works
UPDATE: i got the "themes_value.xml" file and the "advance" folder highlight both of them and right click add to archive change the name to lockscreen selected .zip as the extension and choose "store" as method....now i have my lockscreen.zip folder
i right click "lockscreen.zip" and took of the .zip extension and it became "lockscreen" but when i put my mouse over it on file type is says "winrar zip archive"
I like this MiLocker Lockscreen , but its in chinese.
What i did is here
1) I copied .mtz file from sd card to computer , renamed it to .zip and extract all
2) chaged lockscreen to lockscreen.zip and extract all
3) change all .png files of chinese date to english date (created all dates, times, days on png and replaced, with same name and sizes)
4) rezipped lockscreen.zip and delete .zip
5) rezip it (main file ) and change .zip to .mtz
6) place it to miui on sd card
and now when i open milocker app, it says there is some error on sd card and its modifying and take me to homescreen !
How do i make it work
Please help me !
Try not to rename or change the extension files (mtz, zip) : try to make it with 7zip, easier to work on drag and drop with the png and the manifest.xml u have to edit.
tlkh and picard666 helped me on the same case, here. Give a look to both manfests of each mtz, before and after the translation, it should help. I'll give a look to yours.
EDIT : can you add the original mtz pls ?
21vm said:
Try not to rename or change the extension files (mtz, zip) : try to make it with 7zip, easier to work on drag and drop with the png and the manifest.xml u have to edit.
tlkh and picard666 helped me on the same case, here. Give a look to both manfests of each mtz, before and after the translation, it should help. I'll give a look to yours.
EDIT : can you add the original mtz pls ?
Click to expand...
Click to collapse
Thank you.
I have never done this before
I will give a try .
Here is original mtz file.
Thanks again
I tried to unzip via 7zip but it gave me error and didnt move more than 3% , now what?
hi, from what i know you right click the file and click "Extract All..."
I also tried editing this lockscreen but to no avail.