Compile .hwt for EMUI 9 from folder/.zip? - Huawei Mate 20 Pro 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?

You'd have to find out if the original .hwt file is pure ASCII or if it's compiled as a .hwt file.
Sent from my AL10

ubermorgan said:
You'd have to find out if the original .hwt file is pure ASCII or if it's compiled as a .hwt file.
Sent from my AL10
Click to expand...
Click to collapse
Well the .hwt files were downloaded from Huawei Themes Manager, they seem to be able to be opened and extracted. How do you find out whether its pure ASCII or compiled? And what do I do then?

My friend I could be wrong about that completley as there are a number of formats. ASCII, ansii utf8 etc..... Also....the file itself could be generated by Huaweis own programmers with their own software.
Sorry if you feel I've wasted your time. That wasn't my intention
Sent from my AL10

i did the same thing as you, but no where to find out the answer, have you? please s share if you already solved the problem.

Related

can't apply new theme on the latest firmware

Hi Guys,
there's a custom rom over here (CM 6.1.3 V4 out [Tweaked+Theme+Extras]). From this, i want to add the anims and drawable-hdpi images to the latest official Eclair (2.1) ROM. but no matter how i try, it bricks the phone.
does anyone have any idea?
i replace the files with winrar (don't extract it, just simply overwrite the files within winrar) then using x10 mod tool to move the modified framework-res.apk to the system/framework/ folder.
so any ideas would be lovley. and also, is there a way to check if it works on android sdk? i don't wanna keep restoring the phone all the time
thanks a lot!
not a single answer?
The images are not named the same across all roms so you'll have to look at each image and rename it to the corresponding one in the other drawable-hdpi folder. I don't know an easy way to do this, but I'd love to find one!
and also, is there a way to check if it works on android sdk?
Click to expand...
Click to collapse
+1 on this too. I know you can set up a virtual x10-like device but I don't know if it can preview a theme or how...
AyDee said:
The images are not named the same across all roms so you'll have to look at each image and rename it to the corresponding one in the other drawable-hdpi folder. I don't know an easy way to do this, but I'd love to find one!
+1 on this too. I know you can set up a virtual x10-like device but I don't know if it can preview a theme or how...
Click to expand...
Click to collapse
well, i only overwrote those images that were existing in the framework-res.apk... but there were additional images, that were not existing in the custom rom's framework-res.apk...

[GUIDE]How to get your own beats GUI

Getting the Beatz theme without apktool
This is a Guide to this thread : http://forum.xda-developers.com/showthread.php?t=1543351
Please read it incase you have'nt.
GUIDE
Software's required
Just 7 zip
Steps:
Create a working Directory
For a working directory just create an empty folder.
You will be using this folder to modify the apk and replace them.
Take the rom's zip file
Open it with 7 zip
PART 1(Theming the music PLAYER)
Open the app folder inside the system folder.
Locate the music.apk file
Drag and drop it to the working directory.
Now open the music.apk file with 7zip.
Find the folder drawable-mdpi.
now locate the following 4 files inside the drawable-mdpi folder.
1) stat_notify_musicplayer.png(The HeadSet Icon on the status bar)
2)albumart_mp_unknown.png(The album art)
3)albumart_mp_unknown_list.png
4)music_app.png(The app icon)
Replace these files with the files attached
If you find the drawable-land-mdpi folder, rename the attached albumart_mp_unknown_land.png file to albumart_mp_unknown.png and then replace the renamed file with the existing one inside the Music.apk's drawable-land-mdpi.
Now delete the original music.apk from the ROM and replace it with the one we modified from the working directory.
Note: This way can be used to Theme any Apk file without using apktool.
Just make sure your replacing file is of the same resolution.
You can change resolution with the Microsoft Office Picture Manager
PART 2(Replacing the BOOT animation)
Locate the media folder in the system directory
Now locate the bootanimation.zip file
Delete that and replace with the one attached.
PART 3(Changing the DEFAULT Wallpaper)
Locate the framework folder in the system directory
Now locate the framework-res.apk file inside the framework folder .
Move the framework-res.apk file to a working directory
Now open the framework-res.apk file with 7 zip.
Locate the drawable-nodpi folder.
You should be able to locate the default_wallpaper.jpg file inside it.
Replace that with the one attached.
Now replace the modified framework-res.apk file in the ROM.
PART 4(Adding the BEATS Audio)
NOTE: Can also be achieved by flashing the zip file.
Replace all the files present in the beats_aceport.zip in the ROM.
Do this by properly replacing the corresponding files in the folders with the same folders in the ROM.
For example, if you find bin folder inside the system folder, replace the files inside the bin folder of beats_aceport.zip with the ROM's.
Credits and Thanks to Smooth Sense with beats developers
Here's the Link to their complete htc beats port
http://forum.xda-developers.com/showthread.php?t=1535536
Special Thanks to Spacecaker Now Known as CoolCatGetHome
Find it helpful, gimme a thank
Any Queries please ask by posting.
Thanks
I might be a pain in the familiar place but doesn't this give an error on installation? Something like:
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Click to expand...
Click to collapse
Xr01d_GT said:
I might be a pain in the familiar place but doesn't this give an error on installation? Something like:
Click to expand...
Click to collapse
That's only when you decode and build without signing.[Pretending that you are talking about this]
This is pure replacing the existing files.
This is a Guide to this Thread, if you have not seen it.
http://forum.xda-developers.com/showthread.php?t=1543351
csifreeman said:
That's only when you decode and build without signing.[Pretending that you are talking about this]
This is pure replacing the existing files.
This is a Guide to this Thread, if you have not seen it.
http://forum.xda-developers.com/showthread.php?t=1543351
Click to expand...
Click to collapse
This I saw, Excellent compilations of all ROM's.
Never mind, as I said, I was just being pain the you-know-it
Sent from my i9070 using xda premium
CoolCatGetHome said:
those pics ?
where they from
Sent from my i9070 using xda premium
Click to expand...
Click to collapse
Sorry for missing the Credits for the pics..nearly forgot what i was sharing.
I don't wanna say i got those by googleing
Anyways special credit added to you with your old name too
Strong support the sharing of spirit
csifreeman said:
Sorry for missing the Credits for the pics..nearly forgot what i was sharing.
I don't wanna say i got those by googleing
Anyways special credit added to you with your old name too
Click to expand...
Click to collapse
lol realy everyone wantsy old.name back xd
Sent from my i9070 using xda premium
coolcatgethome said:
lol realy everyone wantsy old.name back xd
sent from my i9070 using xda premium
Click to expand...
Click to collapse
yesss please spacecaker is sooo much cooler!!
Excuse me for being so dummy but what is beats?
Sent from my Ace using miui
Beats audio is an premium headphone/speaker compony created by Dr.Dre and used by alot of Dj's and ow there are roms themed to look like beats audio
(O and some phones also come out with enhanced beats like some HTC's and also some laptops(Ultra books) like hp's)
The cost about 250-800$
Some pics
undead2 said:
Excuse me for being so dummy but what is beats?
Sent from my Ace using miui
Click to expand...
Click to collapse
Beats or Monster Beats are high end audio equipment manufacturers who started from their legenday Monster cable.
Beats audio is a set of audio libraries owned by beats known to enhance the Audio quality.
It has been recenty added to Hp-laptop(http://www.hp.com/united-states/campaigns/beats/index.html?jumpid=re_r602_q312_beats_us_redirect) and Htc-Phones(http://www.htc.com/in/smartphones/htc-sensation-xl/#overview)

[Q] What is VRTHEME??

I saw lots of theme which has this in their title. but I can't find any guide or tutorial about this. So, what is this? how could I use it? has it any benefit over usual "decompile/theme/recompile/replace"ing an apk?Is there any script to implement it like apktool?
Its the universal theme flasher created by Villain ROM.
As for all your other questions I'm not sure.
Sent from my GT-I9100 using XDA
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
sam5154 said:
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
Click to expand...
Click to collapse
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Ba7rani123 said:
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Click to expand...
Click to collapse
classes.dex is for the smali that has been edited if there was any.
I assume that if the xmls were edited and they point to new PNG images/objects then the resources has been changed. I would say that in this case you would need to have an updated resources file for these adjustments? This could be pulled from your newly compiled .apk that you want to base your flashable theme off?
I am unsure if resources needs to be updated though for certain? I have flashed in the past new xmls and they worked fine, however these were not referencing any new sources or images...so my thoughts are that these mods I made didn't require this additional file?? I could be wrong. I really should read the thread about it here on XDA. I did a long time ago, but have come a long way since then.
I diverse. Try using it without new resources file and see what happens?
You may also like to looking into Morphing as well (very similar concept).
James
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
xdarkmario said:
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
Click to expand...
Click to collapse
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
sam5154 said:
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
yep, both my phones i tried them on are deodexed.

[Q] [THEME] meta-inf

Hi xda,
I have problem. I am just trying to create a new theme and I do not know if i just edit only (in META-INF) File "updater-script". My folder META-INF containing: folder "com" and "CERT.RSA" "CERT.SF" and "MANIFEST.MF". In addition, the folder "com" contains the folder "google". In the "google" folder is folder "android". "android" contains "update-binary" and "updater-script". So I do not know if i need to edit only the file "updater-script" and there enter various commands. Please advise me... I just want to add and remove applications.
Thanks for advices
No one knows?
Just edit the script. Though if you are asking this question you might want to do more research. You might find more issues along the way.
Sent from my Galaxy Nexus using xda premium
lithid-cm said:
Just edit the script. Though if you are asking this question you might want to do more research. You might find more issues along the way.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks... I will try it and i will reply you if it works or does not.

Anyone had luck changing system emojis?

I've tried using emoji switcher, flashing with magisk and replacing NotoColorEmoji.ttf myself in solid explorer, with no luck. they show as the Google ones I want in my browser but not in Gboard and other apps. The LG ones are so ugly, please help me.
Vardogor said:
I've tried using emoji switcher, flashing with magisk and replacing NotoColorEmoji.ttf myself in solid explorer, with no luck. they show as the Google ones I want in my browser but not in Gboard and other apps. The LG ones are so ugly, please help me.
Click to expand...
Click to collapse
The font file might be somewhere else perhaps?? Here someone wanted the opposite. LG's was on system_ext ...
Merge super_*.img_* files
Hello everybody! Anybody knows how to merge these multiple {Mod edit} into one super.img file? I wanna obtain the LG Velvet's color emoji ttf file, and they're extracted from G90010s_0_user-signed-ARB0_COM1_EU_OP_1229.dz firmware file. Thanks in...
forum.xda-developers.com
CXZa said:
The font file might be somewhere else perhaps?? Here someone wanted the opposite. LG's was on system_ext ...
Merge super_*.img_* files
Hello everybody! Anybody knows how to merge these multiple {Mod edit} into one super.img file? I wanna obtain the LG Velvet's color emoji ttf file, and they're extracted from G90010s_0_user-signed-ARB0_COM1_EU_OP_1229.dz firmware file. Thanks in...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you, that was it! Could've sworn I checked there already haha, hopefully the thread helps someone else too anyways. Interestingly I only had to delete rather than replace LGNotoColorEmoji.ttf and the "standard" one took over.

Categories

Resources