Compile .hwt for EMUI 9 from folder/.zip? - Honor 10 Questions & Answers

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?

Related

[Q] How to change icons?

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

two [Q] on MIUI theming

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.

[Q] [MIUI] How to change MIUI theme dock to a custom dock?

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.

[HELP][DEVs] Adding flashable zip contents to the aosp build

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

Salvage Themer themes

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!

Categories

Resources