yashsingh1/xdaforums huggingface dataset:
[HTC One SV] mauam:
OMFG, we can change the colors (& more) now!!!? FKNG AMAZING:laugh: You're the man:cool:
[HTC One SV] :
Yes sir lol. There is one for Holofied Dark as well and I do believe for Holofied Light if I recall correctly. Will be starting on Holofied Light Minimal today when I get off of work. Then Play, then I will finish the other multi Highlight versions (those take the longest to port because they are packed with images and the ui for those are massive). But I wanted to get the Black version out to see how people liked it lol.
[HTC One SV] 17mm:
so many good themes!

I was looking at themes and wow so many cool ones but not many choices for 480x800, anyone know how to easily port them? or can tell me the easiest way?

http://xdaforums.com/showthread.php?t=2373952

I like cyborg and light+glass ui setup very nice themes:good:
[HTC One SV] :
It's really easy to port them. It is just very time consuming which is why I have slowed down on porting myself.

I will tell you how to get a %100 port everytime (assuming the theme isn't jacked up on the previous resolution that you are porting from).

Go to where the images are. Open up gimp if using linux or Photoshop if windows (there is also paint.net which is free).

For each image, ONE BY ONE, open it up. Look at it's width and height.

Take the width of that photo and divide it by the width of the original resolution in which the theme came from.

Here is an example. 720/96=7.5

Now take the width of your resolution and divide it by 7.5.

Here is an example. 480/7.5=64

Now, the original width was 96, but after doing the above you will now change it to 64.

Do the same process with the height and using the height resolution of both devices.

Once you finish that tedious task, open up the ui.xml file. You will go through and find all values and conduct the same method that you just did with those images.

In the ui.xml file, x equals width and y equals height. There will be some values listed in the ui which won't actually specify if they are x or y, so you must be able to determine which one they are. Normally though, they are height (y), but just make sure first.

The only values you will NOT touch in the ui.xml file are any "placement=#" lines. Leave those alone.

Once you think you have finished the task, zip them all up, and follow the instruction on how to use them found in the OP.

Also, insure you change the font size to the theme as well. It will be found at the top of the ui.xml file. 480x800 works best with font size 20.

In addition, some of those themes may not be up to par with the latest TWRP version. So if you currently are using the latest TWRP version then you will need to unpack the recovery, find the stock twrp ui.xml file and diff it against the custom theme to see what you can add to it which should help to get it up to par. It's basically a cosmetic thing but will also offer more features if any are available.

Hope you are successful bro.
[HTC One SV] lordvincent 90:
One note - you can use Gimp on windows too :D:p
[HTC One SV] :
I didn't even know that lol. I'm waiting for Photoshop to be adopted but it will probably never happen.
[HTC One SV] omg please help:
Please help me

I guess I need a boot image and or recovery img, i am providing the exact info from my phone thank you very much I dont have a phone for now :fingers-crossed:

bootloader) version: 0.5

bootloader) version-bootloader: 2.21.0000

bootloader) version-baseband: 1.12.50.0516

bootloader) version-cpld: None

bootloader) version-microp: None

bootloader) version-main:

bootloader) version-misc: PVT SHIP S-ON

bootloader) serialno: HT3BCS700322

bootloader) imei: 990001457307866

bootloader) meid: 99000145730786

bootloader) product: k2_cl

bootloader) platform: HBOOT-8930

bootloader) modelid: PL8011000

bootloader) cidnum: SPCS_003

bootloader) battery-status: good

bootloader) battery-voltage: 4288mV

bootloader) partition-layout: Generic

bootloader) security: on

bootloader) build-mode: SHIP

bootloader) boot-mode: FASTBOOT

bootloader) commitno-bootloader: dirty-4dc34ae5

bootloader) hbootpreupdate: 11

bootloader) gencheckpt: 0
[HTC One SV] :
You need at minimum, twrp. These themes are for twrp. The instructions in the OP will instruct you on how to use these themes :).
[HTC One SV] :
Hey guys, I should hopefully be back up to speed on porting twrp themes. I compiled GraphicsMagick from source to work on my phone. Was able to write a script using busybox and GM to properly port the images to any resolution %100 just by letting the script know what resolution to port it too.

All I need to do now is write a script to handle the ui.xml file properly.

Once my project is complete I will literally be able to port TWRP themes in just minutes rather than hours or even days if taking my sweet time.

Thank you all for your patience as these themes have not be forgotten ;).
[HTC One SV] :
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER

If any of you decide to use this I ask only two things from you :). Star the repo, and click thanks on here for me sharing it to make your life easier.

I will be starting on my script for the ui.xml very shortly to make this complete.
[HTC One SV] :
An update on my script which will port the ui.xml file from one resolution to another:

It's coming along rather well. Inside the ui.xml file are variable names which if porting manually can be determined if it's based on width or height. However, this can't be done in the script. What I am going to do is have the script find these values then echo that line on to the screen and let the user decide if it should be based on width or height. Once the user makes the decision the script will make it's modification immediately for you.

As for the rest of the values such as h=, w=, width=, height=, y=, x=, and so on, the script will automatically find them and port them for you.

The script will check each value it finds and determine if it is a blank or a zero and if it is, then it will dump that value to /dev/null so the script may continue searching for actual values which need to be focused on.

I am using sed in order to modify these values so to do this successfully, I have to read the original ui.xml file line by line and for each line echo that in to a temporary text file. Then sed will modify that line accordingly within that temporary text file. Once the modification is made, then I will transport that line from that temporary text file to a secondary temp file where it will be stored.

All other lines within the originial ui.xml which does not require to be ported will also be transported over to that secondary temp file.

When the script is finished you will basically have two ui.xml files. One will be the original, and the other will be a copy of that original, only it will be ported to your specified resolution.

Much more work to be done to my script but it's coming along REALLY WELL :D.
[HTC One SV] :
Here is a picture to show what my script is doing while porting the ui.xml file. I'm currently debugging the script but lets just say it's working like a charm ;)
[HTC One SV] :
My script for porting the ui.xml file is working guys. It currently only has one issue which I have to fix. It will ignore the keyboard template inside the ui.xml while porting. Other than that, I can port a twrp theme in a matter of minutes and the results look amazing in my recovery. Once I fix the keyboardtemplate issue and then optimize my script some more I will release it to the public.

A warning when using this script:

If you have NO EXPERIENCE in porting TWRP themes then the script may be confusing to you.

I will recommend that you port a few TWRP themes manually so you have a better understanding on how the process works.

If you lack experience porting these themes and later use my script, please refrain from asking me troubleshoot questions.

However, if you notice something of relevant importance regarding the script which would help to improve it then my ears are definitely open.

I will release it on my github and post the link here in due time.
[HTC One SV] :
A solution may have been found :)
[HTC One SV] spanish33:
how about for the keyboard template, you store the template for all the different types of resolutions in the script. Then base on what resolution the theme is being ported to you replace the keyboard template with it?

this way there is nothing to convert for keyboard just a replacement.
[HTC One SV] :
The problem with that is I would have to manually port the keyboard template for every device resolution there is. Even worse is that the keyboard template would have to be ported every time since the keyboard template will be based on the keyboard image which may or may not always be the same. That would take way too long and I sure am not going to do that by myself haha. For example, I could port the Holofied theme and use it's keyboard images then grab the stock keyboardtemplate from my twrp recovery and apply it but it still would not be accurate because the custom keyboard images that are being used for the Holofied themes do not align with my stock keyboard images. The values would end up being slightly different. No worries though, a buddy of mine on here has a friend who helped come up with a solution for me. I ran some tests this morning and it is promising. A little bit of modifying it though will be required but that will take no time. Will run it separate and when I have it just right I will merge it over in to my script and all will be well again.
[HTC One SV] :
Ok guys, I have yet to be able to successfully port the long= and key= values found inside the ui.xml file within the keyboardtemplate. Porting it manually is very easy and it takes no time to do it. So, until I figure out a method to handle them automatically all users will be required to do it manually. In addition, make sure you set the font size accordingly for your device. The script WILL leave that part alone since some prefer to use different font sizes based on their eye sight. That in itself will take less than a minute to do.

The script WILL port the rest of the ui.xml. When it is done running the script you will find another file called, PORT_UI.xml within the directory of that theme. Delete the original ui or back it up if you choose and rename the port file accordingly.

Use my other script to port the images.

Then zip up as standard and name the zip, ui.zip.

Porting a TWRP theme with these scripts will save you HOURS!!!! I AM NOT JOKING!

https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER
[HTC One SV] :
OP attachments has been updated with Holofied Dark for 2.7.1.x.

[MENTION=5132229]xpirt[/MENTION], you have been waiting for this a while now.
[HTC One SV] :
OP attachments has been updated with Holofied Black for 2.7.1.x.
[HTC One SV] spanish33:
Great work with your script, just ported XDA origins from 1080p to 540p in less than 20minutes !!! Great work .

I noticed the script doesn't take capital H. It takes w, W, h but not H.

You will save me plenty hours when I start to port themes again:laugh::good:

How can I use the script on microsoft windows instead of my phone?
[HTC One SV] :
Thanks for letting me know about the capital H. I will review that and fix it. As for windows, the only way I know is to make use of cygwin. I specifically use linux however, GraphicsMagick is required for the TWRPIMAGE script and I am not sure if that is available for windows but if compiled from source it might be? Otherwise, try with cygwin. You could also have your system run both windows and linux to save you the headaches. I made this possible for devices because my phone pretty much is my computer hahaha.
[HTC One SV] :
OP attachments has been updated with Holofied Play for 2.7.1.x.
[HTC One SV] :
OP attachments has been updated with Holofied Light for 2.7.1.x.
[HTC One SV] :
[MENTION=4659370]spanish33[/MENTION], that problem you brought to my attention has been fixed. Was a minor typo I made. Already pushed it to my github.

https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/7d66225cc900cd6acf6dceb3707ffb9f4544fd14
[HTC One SV] :
Hey guys, keep a look out for the next TWRP update from TeamWin. They finally added the patch to their source for taking screenshots within the recovery. It's officially supported as of 19 days ago today.
[HTC One SV] Autocriminal:
Very good work, Thanks! :good:
[HTC One SV] russellvone:
lol

smh...

nice work
[HTC One SV] :
Hey guys, some of you may be experiencing problems trying to change the color themes in Black, Dark, and Light. A new method using a script within the ui.xml is being applied and is currently being worked on to resolve this issue so this feature will hopefully work on all devices which use these themes.

I already have a fix but I am going to hold off until [MENTION=2719389]z31s1g[/MENTION] makes another release of his themes.
[HTC One SV] :
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/3ef72ac1a43671f64cd69062fa0518ad21e49a98

Overhaul Update:

- Merged TWRPIMAGE and TWRPUI into one script called, TWRPPORTER

- Still kept old method but moved over to OLD folder.

- Updated root of README.md to reflect changes and instructions.

- Script will check system for gm and busybox. The script will inform you if neither are installed and then abort the script.

- Updated script to read and accept directory/filenames with spaces. The old method did not do this.

- Script will port the TWRP Images, or the TWRP ui, or BOTH based on the user's selection while running TWRPPORTER.
[HTC One SV] lordvincent 90:
Thirteen THOUSAND views... J/s
[HTC One SV] :
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/5df4977a68c0ad5de80ddcf8f3f1d37ced3efc30

NEW UPDATE:

- Bumped to version 3.0.

- GM binary has been embedded in to the TWRPPORTER script.

- TWRPORTER can install GM from extracting the embedded data itself as requested by the user.

- TWRPORTER can uninstall GM as requested by the user.

- If busybox is found not installed the script WILL abort after a quick warning to the user.

- Have added more checks to the script to keep it running smooth. Most is merely cosmetic work.

- At the end of the script is the GM binary data which has been embedded. DO NOT MESS WITH IT!

- GM will work for pre-jb devices and up. It is in compliance with Android L (current release). Initially compiled for ARM.
[HTC One SV] :
GM is causing problems when compiling it as true static. So, unfortunately, I must revert back to it being partially static. This means your device must be ARM. It most likely will not be in compliance with Android L :(. Feel free to confirm this. Will push the update to my repo shortly.
[HTC One SV] :
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/64982aadddde8de97a5d1c51181906683abf0c59

Fix:

- Bumped version to 3.1

- Revert back to partial static GM binary compiled for ARM.

- Note: True Static binary caused problems with source so had to revert.

- Binary is still embedded inside the script. If GM is installed from version 3.0 please uninstall and reinstall gm.
[HTC One SV] :
Hey guys, got good news for you all :)

Holofied Black, Dark, Light, Play, and XDA have all been updated to TWRP 2.8.0.x.

See the attachments in the OP for download.

Enjoy!
[HTC One SV] mauam:
You're amazing:cool:
[HTC One SV] Balikesirli:
Nice thank you! :)

But where I can find twrp 2.8.0.0? On official website is only 2.6.3.0. Anyone have a link?

Gesendet von meinem HTC One mit Tapatalk
[HTC One SV] SoulReaver19:
You're the man bro!!
[HTC One SV] :
What device do you have?
[HTC One SV] Balikesirli:
Ah sorry.. I mean Desire HD.. İ forgot that this is one sv thread.. I am lucky that I don't flash wrong recovery and soft brick my device :D

But I want to say that your (old) recovery theme works fine on Desire HD (2.7.x.x) :) before I can test 2.8.x.x theme, I have to find new recovery image

Gesendet von meinem HTC One mit Tapatalk
[HTC One SV] :
[MENTION=2836769]jrior001[/MENTION] would need to build TWRP for the ACE device.

Else, I can grab his repo and build it if need be, but I would see what he can do first with updating it to 2.8.0.0 and then possibly hitting up Dees_Troy for official support since it seems the last official support made for the ACE was back in 2013.

Here is his thread.

http://xdaforums.com/showthread.php?t=2780164
[HTC One SV] SethPDA:
Awesome!

By the way, can some1 please port this great looking theme to 480x800 resolution please?

http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
[HTC One SV] :
TWRP Theme Porter

***Removed by me***
[HTC One SV] Rj.sandhu:
Amazing......

Can you please port the X-Trem theme....I will be really thankfull to you....
[HTC One SV] :
Ok, update...

The Pit_Boy_V3 theme is pretty much complete. However, this theme is not based around TWRP 2.6.3.1 or .2. That means, there is a spot for "format data" which isn't available so the icon does not appear even though it is dealt with in the xml file. I will have to engrave the icon into the background image to resolve this. Also, it does not have a spot for partitioning the sdcard, so this icon is an extra in this theme for the named TWRP Version's. I have to figure out what to do with it. That means, either remove this option completely, or find it a home. Also, when you go to choose your options of rebooting there is a choice for "download" which doesn't apply to the named TWRP Versions mentioned above. Will have to engrave the icon to that as well. In the same page menu, there is an extra icon for the bootloader which I will have to find a home for it. Other than those mentioned issues, the port is complete.

This particular theme appears to be built around a much newer version of TWRP so I have to adapt it to a lower version. This was unexpected lol.

Edit: To many of you reading this you will probably not understand what I am saying. Those who do (or do not), just know that using this theme once I have it uploaded after completion will not render any one from using it.

Some icons in this theme will be disabled (or enabled) automatically depending upon which version of TWRP you are using.

This is normal.
[HTC One SV] :
This theme is sick though, and as of right now, by far my favorite one lol. You guys will really like this one.
[HTC One SV] :
[MENTION=4538767]lordvincent 90[/MENTION] just tested the Pip_Boy_V3 Theme. I believe it is safe to assume he rather enjoyed it. I look forward to releasing this port to you all.
[HTC One SV] :
Pip_Boy_V3 port is complete and uploaded. Check OP for download. Let me know what you guys think of this port! Enjoy :)
[HTC One SV] xpirt:
I see you're good with porting these themes.. what about an MIUI-styled theme (white, grey rounded)? I know people who want it for this resolution ;)

xpirt
[HTC One SV] :
Got a link to something like the theme you are talking about? If so, send it to me :)
[HTC One SV] xpirt:
I really don't have a theme but a concept image: http://i.imgur.com/836MU.png if can this help.

xpirt
[HTC One SV] :
Hmm, I could do it. But I don't make themes personally, I only modify them. If [MENTION=4538767]lordvincent 90[/MENTION] could complete the necessary images for such a concept then I could start working on the xml to get the codes to line up with the theme and have it working without a problem.

Meanwhile, I found this version. I can port it if you want this lol.
[HTC One SV] :
OP updated with future Themes to be ported over to 480x800. Many thanks to [MENTION=2719389]z31s1g[/MENTION] for granting me permissions as well as his hard work rebuilding such themes. Be sure to check out his work guys and give him a thanks. Also, for [MENTION=5262581]NorthLight[/MENTION] and [MENTION=4958579]Primokorn[/MENTION] for their awesome work as well. Dont forget to stop by their thread and give them thanks as well. If not for all their work, I wouldn't have anything to port lol.
[HTC One SV] NorthLight:
Wow, Great job mate, I know how it's a long work.

Happy to see this theme in 480x800.

Thanks !:good:
[HTC One SV] :
Yea, that theme was actually a challenge lol. But it was fun and I enjoyed porting it. If I had more free time I could port these themes faster, but I have to make due with what I got. :)
[HTC One SV] :
I have begun porting Holofied Play

Stay tuned!

Be sure to check out Pip_Boy_V3 now available for download in the OP.
[HTC One SV] xpirt:
This is nice too, if you can port it will be nice!

xpirt
[HTC One SV] :
[MENTION=5132229]xpirt[/MENTION], I have it on my todo list. Will let you know when it is completed.
[HTC One SV] :
Holofied Play theme very close to being finished. I'm getting faster at this lol (when I have free time of course).
[HTC One SV] :
Holofied Play theme port is complete. However, when doing a backup of your device it only gives the option for system and data. Other partitions are not listed. I will not be releasing this theme until I figure out the problem. Sorry guys.

Edit: I found the problem. Original Theme is calling the wrong information from the Recovery Kernel. Quick fix. Will hopefully have this done and uploaded tonight. If not, then tomorrow.

Edit: [MENTION=4538767]lordvincent 90[/MENTION] is currently testing the theme. Two heads are better than one ;)
[HTC One SV] z31s1g:
What? Where? Impossible! :angel:
[HTC One SV] :
No, it was actually correct. In the backup page of the theme it gives a list for storage and partitions. For storage it calls for tw_storage_path and for partitions it calls for tw_backup_list. Because they look so familiar in the xml file I got the two mixed up. I then took a notice of the width and height after diffing the file that I failed to correct them. The problem is fixed now though haha. I did notice that it doesn't give the option to reload a theme in the advance page. Went to go add it, but all the spaces are taken up for other things like HTC Dumlock for example. So, I will probably have to place this over in the restart page. I want to add it because it is annoying having to reboot the recovery when checking for changes lol. Will look weird though because in the advance page when used for our twrp version a lot of those options do not appear, but I can't remove them because another person using twrp may offer those features so I have no intentions of deleting them for that reason. I also noticed that when you go to flash or mount that you can't select a storage. Only way to do that is by going in to the backup page and selecting either internal or external sdcard then going back and proceeding forward. Not a big deal but will be convenient if that option is also available in such other pages so I may be adding those in as well. I plan to make some modifications needless to say haha. I'm currently using TWRP 2.6.3.1 so I'm sure you can see what I am talking about. ;)

Oh, and in the about theme section, I took the initiative of adding my name at the bottom in black text due to the porting and the changes needed to be made.

This theme is pretty sick. If you don't mind, I would like to change the lock screen to the actual Google play image with the triangle and colors, and blah blah blah haha.
[HTC One SV] :
[MENTION=2719389]z31s1g[/MENTION]

I really like how the xml file is really organized along with the side notes. If more people could apply that same concept it would make things easier on the eyes lol.
[HTC One SV] z31s1g:
Whatever it takes... ;)

As for the reload theme button, I also had it placed on the reboot page. But I removed it, because using it gave me problems. Afterwards, when calling an overlay (like the lockscreen or the storage selection dialog or the overflow menu button) the recovery crashed and rebooted. So I started using the reboot recovery option instead. Meanwhile the problem seems to be gone in newer twrp versions, so I added it back for the 2.7 update (along with some major changes for the standard themes).

Anyways, keep up the good work!
[HTC One SV] :
Yea, would be nice if we could get a TWRP upgrade. Seems we are behind on the times lol, but hey, whatever works.