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.
Related
Hey
How can I change the icons of Android, Apps etc?
Maybe i have to edit the .kdz-file / system.img-file?
Which programs do i need?
Thank u!
You have to edit the /res folder in the apk file.
Joost
extract the framework-res.apk file from your rom via root explorer then use this to extract the contains from the framework file and you can also use that tool to repack the framework file
APK Manager
http://forum.xda-developers.com/showthread.php?t=695701
Adb pull the app then with 7zip extract. Look in res/drawable-mdpi and you will see all images in the apk. Look for icon and replace.
Repack all files in a zip then rename zip to apk. Adb push the apk.
MARK
all you people require is:
1.Photoshop(Ps)
2.a flashable zip
3.root explorer on your phone
4.7-zip
1.whichever app icon you want to mod say the "video player",just copy it's apk from /system/app/<apk_name>.apk
and paste it to sdcard.
2.now transfer this apk to your pc and extract it using 7-zip
3.now look for the app icon the file name maybe in drawable-hdpi and drawable-sw320dp-hdpi under res.."video",or"homescreen_icon" or anything...
4.when you find it just right click on it and click properties under the details tab check it's dimension something like"84X84","42X42","50X48"
5.alright then you know the app icon dimension now
6.just browse through the net for the picture you want to replace and download it or if you have it then open it in Ps.Under the images tab check for image size and enter the dimensions as per the app icon size which you found out in the 4th step.
7.now save the image as <app_icon_name>.png on the desktop(make sure the name is proper)
8.open the apk with 7-zip
9.Now drag and drop this image from the desktop to the folder drawable-hdpi and drawable-sw320-hdpi
and click yes when the prompt appears and close 7-zip
10.open any flashable zip and don't touch anything except the system folder
11.open the system folder and keep only the app folder delete other folders in this app folder copy your "video.apk" and delete other apks if present.
12.now close the flashable zip and send it to your phone ext
_sdcard and flash it by mounting system...and you are done!!
13,hit thanks if you got it !!
I want to add flashable zip contents to my aosp build. It contains some folders (check below image) with framework and build.prop addons. I don't know where to place these files. Although I've placed priv-app folder contents to packages/apps/here with each .mk file in it. Can any Developer help!
http://i63.tinypic.com/b6syyr.png
You place the folders normally like you place it in an existing rom using root explorer.
Basics:
What your updater script does is move the complete system folder to system partition
There is nothing such in the script which copies files individually from a given folder to destination
So if you want to copy something inside priv-app , place desired apk's in priv-app
If you want to do some symlinking or change permission , head to updater-script and edit it using Notepad++ only..
Good Luck Dev ,
Cheers
I managed to salvage themes that were already downloaded - but wouldn't apply:
Connect phone to computer
Have a look in folder MyColorScreen\Themer\tmp-dl
There may be a load of zipped themes with 24 digit alphanumeric names.
Copy these to computer.
Unzip each to their own folder.
Within these folders will be a folder called data.themer
Rename this to '24 character name of folder'.zip
Copy this zip file to Phone [MyColorScreen\Themer\Exported\zip\]
You should now b able to apply theme from 'Exported'
I would then customize theme to suit, and re-export with more sensible-sounding name, rather than 24 alphanumeric.
If anyone knows where there is an archive of zip files - let us know!
Is there a way for us to create a .hwt after editing the files inside? I've tried using WinRAR to compress a theme folder into a .zip, and changing the extension to .hwt, but the Huawei Themes app does not detect the file. Is there any other way to edit Huwei themes, including individual apps?