Hello I need some help zipping up a theme. I used to use 7zip to add or switch up stuff in themes.but for some reason this theme wont let me do this. So my question is after renaming com.android.mms to com.android.mms.zip and extract everything I get a folder and inside it there is Res and the other folders. My question is how do I zip it back after doing all this? Do I click the option "add to compress folder". When I do that option I get a zip but after I extract the contents from com.android.mms, it has another folder named com.android.mms and inside it is the other folders.
Sent from my DROIDX using XDA
This might help.
http://forums.miui.us/showthread.ph...the-easy-way!-9-guide-now-up!!!-Questions-Ask
Related
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
Just wondering if there's something I can do to simply make all my apps and/or widgets black and white?
Or I suppose if someone can lead me to a tutorial on how I can just do it myself? I can just throw them all in Photoshop and greyscale em, if someone could just point me in the right direction
adb pull each app/widget that you would like to theme. Extract the apk using 7zip, winrar, or whatever you use. I prefer 7zip because I think you have to change the file extension with winrar, and there's no point in using extra steps to achieve the same thing. Anyways, after you extract the apk, navigate to the res folder. You'll then see folders that say drawable, drawable-mdpi, or something like that. In those folders are the .png images that you can edit using photoshop. Save them with the same name in the same directory that you got in from. Now, go back to the .apk file you pulled from your phone. Open the archive (DON'T EXTRACT). Navigate to the res/drawable folders within the archive and drag and drop the edited images into the archive. Now (still in the archive) back up to META-INF folder and delete everything in there. Now, close the archive and sign the .apk. Now, you can push it back to your phone.
Or you could get better cut or adw from the market and download icon packs that meet your monochromatic needs. Seems easier than the above.
YoungSinema said:
adb pull each app/widget that you would like to theme. Extract the apk using 7zip, winrar, or whatever you use. I prefer 7zip because I think you have to change the file extension with winrar, and there's no point in using extra steps to achieve the same thing. Anyways, after you extract the apk, navigate to the res folder. You'll then see folders that say drawable, drawable-mdpi, or something like that. In those folders are the .png images that you can edit using photoshop. Save them with the same name in the same directory that you got in from. Now, go back to the .apk file you pulled from your phone. Open the archive (DON'T EXTRACT). Navigate to the res/drawable folders within the archive and drag and drop the edited images into the archive. Now (still in the archive) back up to META-INF folder and delete everything in there. Now, close the archive and sign the .apk. Now, you can push it back to your phone.
Click to expand...
Click to collapse
There is no need to ever rename any archive with winrar just goto "open with" and choose winrar and then check the box to associate winrar with apks you can do this with jars also.
Check black mod them in apps and themes I think you'll be satisfied with that.
YoungSinema said:
adb pull each app/widget that you would like to theme. Extract the apk using 7zip, winrar, or whatever you use. I prefer 7zip because I think you have to change the file extension with winrar, and there's no point in using extra steps to achieve the same thing. Anyways, after you extract the apk, navigate to the res folder. You'll then see folders that say drawable, drawable-mdpi, or something like that. In those folders are the .png images that you can edit using photoshop. Save them with the same name in the same directory that you got in from. Now, go back to the .apk file you pulled from your phone. Open the archive (DON'T EXTRACT). Navigate to the res/drawable folders within the archive and drag and drop the edited images into the archive. Now (still in the archive) back up to META-INF folder and delete everything in there. Now, close the archive and sign the .apk. Now, you can push it back to your phone.
Click to expand...
Click to collapse
You failed to mention that modifying the 9.pngs will have to be 9patched or else they will get distorted. But an easier thing to do is look in the themes section and find a theme or use an alternate Home launcher and use themes for those found in the market.
A lot of what u want to do is XML edits. U can always change icon colors. 7zip is a must use cause winrar is crap and to many steps.
unCoRrUpTeD said:
You failed to mention that modifying the 9.pngs will have to be 9patched or else they will get distorted. But an easier thing to do is look in the themes section and find a theme or use an alternate Home launcher and use themes for those found in the market.
Click to expand...
Click to collapse
Oh yeah. Thanks. I recently read that we can edit 9.pngs using photoshop if a 1px border is added to the image. Is that true? If so, it'll be easier for me that eclipse.
how would i edit the task bar in asopmod rom i searched through google i found nothing can someone plz help
First you need to read up on theming but in short all those png's reside in the system/framework/framework-res.apk. In that apk if you goto res/drawable-hdpi folder you'll see all of the png's that make up the task bar.
You'll need apkManager and a paint program.
Simmons - I was trying to do something similar but was having no luck -
I wanted to pull the 4G icons out of an Evo rom and put them in place of the 3G icons on CM6 - i thought it would be a riot -
I extracted the 4G's and renamed them to their 3G counterparts names and have them saved on my desktop - but I dont know the right way to extract framework-res.apk, then put in my new icons, then, and probably most importantly, zip it back up so it will flash right !
any thoughts?
Simple how to theme.
Vandelay007 said:
Simmons - I was trying to do something similar but was having no luck -
I wanted to pull the 4G icons out of an Evo rom and put them in place of the 3G icons on CM6 - i thought it would be a riot -
I extracted the 4G's and renamed them to their 3G counterparts names and have them saved on my desktop - but I dont know the right way to extract framework-res.apk, then put in my new icons, then, and probably most importantly, zip it back up so it will flash right !
any thoughts?
Click to expand...
Click to collapse
heres the How to
An apk is really just a zip file... apk stands for android package (if i remember correctly). So treat it like a standard zip file.
You'll need apk manager this will allow you to sign zips which makes them flashable. get that here
Now get your favorite Rom and make a folder. In that folder make 2 folders one called packed the other called packed. Take your rom and unzip it in the unpacked folder. and then take the original zip and move it to the packed folder.
Next go into the unpacked folder and nav to system/framework.framework-res.apk take this apk and unzip it in this folder and then make a copy of the apk and move the copy to the packed folder.
Now when you want to make a change to the framework-res.apk use the unpacked as a reference. us the packed as the change dir, you do this by opening but not unzipping the apk you want to change and just dragging the files you are replacing into the apk, this will replace them. You might want to make a a 3rd folder sorta of a master copy if you ever mess up the packed roms.
Now that you have an altered framework-res.apk you can just push it to system/framework folder (i think) and reboot and your changes are in. I never do this since flashable is easier to manage I make a flashable.
A flashable is like a but allot smaller, so d/l one of my themes and take the zip file and place in in a folder next to the packed and unpacked folder call it something like staging. now unzip apk manager into the top dir next to 3 other folders you just made.
Now my theme zip can be renamed to whatever you want your going to use it as a place holder for signing flashable zips. go into the theme zip and delete ever thing in the system folder except the framework folder then go into the frame work folder and delete everything.
Your flashable zip folder should only have a a meta-inf folder and a system folder, the system folder should only have a framework folder. Now drag your altered framework-res.apk into the flashable zip folder you just cleaned out.
Ok now you have to sign it copy that flashable zip to the place-apk-here-for-signing folder, this should have shown up when you unzipped apk manager into the folder the also contains unpacked and packed folders.
Now click on the script.bat and you'll see a bunch of option you can do option 16 to sign your zip. it takes a second or two and the date should get updated on the flashable.zip file in the place-apk-here-for-signing folder.
Now you have your new them ready to install. if your changing something else find the apk and replace framework-res.apk in these instruction and it works the same. note that most app reside in system/app so you next to take that into account.
Edit: Maybe I should have made a new thread.
creating task bar
thanks simmons i will let u know how bad i mess up but yes thanks alot man
Is it possible to get the icons in an icon pack in separate image files?
*bump*
i'm wondering the same thing, how to extract the image files from an ADW icon pack?
Getting image files
vince_junior said:
Is it possible to get the icons in an icon pack in separate image files?
Click to expand...
Click to collapse
You can make a copy of the apk file and change the apk to zip. After changing the file designation use your favorite unzipping program and extract the files. You should find the icons listed in one of the folders as .png files.
awesome, thanks!
there's no apk file if the pack is downloaded from the market, right? so i just have to search for icon packs in the net?
thanks, tabfreak!
Yes, even if you install from market there is an apk file. If you are rooted there are any number of programs to use to copy the file to your sd card or to a network drive. I use SystemPanel App/ Task Manager (a paid app) to backup all my apps. You can also use a free app "App Backup & Restore" to backup unprotected apps to the sd card and then access the backup from the sd card with the tab attached to your pc.
You don't need to be rooted. Use "ES File Explorer". Go to the apps. Long press the icon pack app and select "share". Then you can save the apk anywhere you want.
So to get this straight: I have to create a zip of the apk and then extract the icon files. Could that be done through the phone or is winrar necessary? And as far as zipping the apk, that could be done with any file explorer?
Sent from SM-T800 or SM-G920F Using IronRom or WETA Audiophile Rom
Steps to pull .png files from an icon pack
Zwhlol-Zniper said:
So to get this straight: I have to create a zip of the apk and then extract the icon files. Could that be done through the phone or is winrar necessary? And as far as zipping the apk, that could be done with any file explorer?
Sent from SM-T800 or SM-G920F Using IronRom or WETA Audiophile Rom
Click to expand...
Click to collapse
Rename the extension of the .apk to .zip. Then extract the zip file.
As an example for the Axis font pack:
1) Find the "base.apk" for the font pack by searching with ES Explorer at the device root level (/)
2) Copy the apk file to another folder
3) Rename "base.apk" to "axis.zip"
4) Extract the zip with the tool of your choice
5) Navigate to "<extract folder>/res/drawable-nodpi-v4" and you will see all of the icons in .png format
sparzdos said:
Steps to pull .png files from an icon pack
Rename the extension of the .apk to .zip. Then extract the zip file.
As an example for the Axis font pack:
1) Find the "base.apk" for the font pack by searching with ES Explorer at the device root level (/)
2) Copy the apk file to another folder
3) Rename "base.apk" to "axis.zip"
4) Extract the zip with the tool of your choice
5) Navigate to "<extract folder>/res/drawable-nodpi-v4" and you will see all of the icons in .png format
Click to expand...
Click to collapse
thanks for this procedure Sparzdos, I was looking for this since a while
now I can extract only the icons I want from each pack whitout risks of getting virusses on the phone
Ok, so I'm trying to add icons to this theme, I don't have a computer, let that be known. So my exact process, all done my phone is:
Open androzip
Rename mtz to zip
Extract zip to folder
Rename icons to icons.zip
Extract icons.zip into folder
Replace icons with proper activity names.
Multiple select and zip icons, not the folder but the individual files.
Rename to icons
Move to parent folder
Edit description.xml
Zip files into themename.zip
Rename zip to mtz
Open file explorer and click new mtz
Screen flashes and I get warning message of "theme does not have the required resources" and closes.
Please, tell me where I'm going wrong?
Sent from my SGH-I997 using xda premium
Bump?
Sent from my SGH-I997 using xda premium
You don't HAVE to edit the xml.
To select a theme you have to do it in theme manager not file explorer.
Um, thanks, but I doubt it's my problem, I've tried that.
Sent from my SGH-I997 using xda premium
Upload your mtz and I'll check it out.
I know sometimes when I'm editing mtzs on my phone I'll zip a folder by accident instead of just the files.
If it's saying no resource something, it's not reading the files. Possibly a folder too much....
http://db.tt/P0m95aPP
Thanks again.
Sent from my SGH-I997 using xda premium
Alright....yeah you had the icon folder doubled up. icons.zip/icons.zip/
But i fixed it for you and made the preview folder. All you have to do is take off the .zip extension as you could see it's "hfg.mtz.zip" i just threw the.zip to be able to upload it to xda.
Cheers
thanks guy~