Hello guys,
I would like to change some icons in mtz miui theme file. I extracted the mtz theme file with 7zip, then i extracted the icons file which all the png icons revealed. I would like to do some editing on photoshop and some replacement of the icons. After im done, how do i make it as 1 icon file as it is before?
Any help would be highly appreciated.
Thanks
Related
i'm currently working on a theme. but i have 2 questions:
*can miui theme non system apps as well?
i tried to but i cannot see what i am doing wrong here.
my example: i have palmary weather widget,
1) looked up its package name (com.palmary.forecaweather)
2) extracted the image i wanted to edit out of the .apk
3) changed it in photoshop
4) have set an directory; res>drawable-hdpi>imagename.png
5) zipped it and renamed it com.palmary.forecaweather
6) and rezipped that folder with a current theme to a mtz file.
*how do i edit png files that are indexed when opened in photoshop?
some images for instance in framework-res, have indexed 8-bit color set to it.
and i cannot edit those images in photoshop without losing transparency.
I have a png of a dock and I want it in my MIUI theme but how do I replace the dock thats already in the .mtz?
You would have to use apk manager and swap out the img
Change the mtz to zip and extract. Take the com.android.launcher file and add a zip extension, then extract. In the res/drawable-hdpi folder remove the hotseat_background.png that's there with yours. Be sure it's named and sized correctly. Zip that folder back up and remove the zip extension. Delete the com.android.launcher file in the theme folder and replace it with the edited version. Zip the theme folder and then change zip to mtz again.
You can also avoid zipping and unzipping by using 7zip. Just open the archive and swap files.
Is there any method to replace only the clock in the theme from other theme?
Yes, you can edit the Flips and the numbers only. All you have to do is decompile the apk with M10 tools and find and copy all the images from the clock flips and the numbers, copy them to a folder, close project, open the new skin you want to edit, decompile with M10 again and replace all the images you want, compile it again and then with APK Tools you have to sign the apk.
done! thanks to luis4ever!!!!
I am trying to animate the data icons and cannot find the xmls that reference them. I know they are normally located in the drawable folder in SystemUI, but they aren't there in Sense 3.6 (Ineff Dues). I've also looked in the framework-res.apk drawable folder and com.htc.resources. Does anyone know where they are?
systemui.apk if you are trying to animate you have to add all the pngs and then add the xml for each one. I downloaded a flashable zip that contained all the files i needed to animate the data arrow icons and then added them to the decompiled systemui.apk
conadg said:
systemui.apk if you are trying to animate you have to add all the pngs and then add the xml for each one. I downloaded a flashable zip that contained all the files i needed to animate the data arrow icons and then added them to the decompiled systemui.apk
Click to expand...
Click to collapse
Thanks...I had incorrectly assumed that the xmls should have already existed (and simply needed editing). But in fact, they need to be created and added. I have it working correctly now. Thanks.
sweet, glad you got it straightened out. :good:
Hi
Very please help
The rom 4.1.2 I could using winrar for simple to change png to another png
Now I'm on 4.4.2 (DittoNote 5.2).
I want to change the png (tw_quick_panel_quick_setting_button_bg_normal.9 ???)
I think it is png a background toogles
I change my png i using winrar but nothing changes.
It is still the old png and no new png.
For what is this happening?
png's ending with 9 are not ordinary png's, they are 9-patch png's and in order to edit them you must DECOMPILE the APK, edit and then RECOMPILE. Anyway, simple adding with winRAR is nota good idea if you don't do ZIPALIGN because it slows down the reading of images....
Ah, and why post a question in app section, isn't Q&A more logical choice?
So I should do this in the Q & A - my mistake.
Ok thanks for the information.
delanik - this is just an example:
I'm trying to change the png in Note 5.2 Ditto 4.4.2
Is the file is tw_quick_panel_quick_setting_button_bg_normal.9 is background switches?
I exchange tw_quick_panel_quick_setting_button_bg_normal.9 another png
with another theme rom Note 2 but nothing has changed.
As I said - pngs with 9 at the end CAN'T be edited without recompiling. Use APKTOOL to decompile APK, then edit, then RECOMPILE. Then from recmpiled APK, copy PNGs (or whole res\drawable folder) to original APK.
If it doesn't change (and it should even when you don't do recompile - it should show BAD image) then you are not editing correct image.
Thank you very much dalanik
I SystemUi decompile framework-res.apk and now the rom DN4 v2.
It will be very difficult for me because there is a lot of files QMG
There is no custom QMG files (icons, button ....) in other roms or themes
to replace them in my rom DN4 v2