yashsingh1/xdaforums huggingface dataset:
[HTC Desire X] Modding.MyMind:
Were there changes made to yalls partitions and such when upgraded? I'm more in less just curious :D

The themes that I will be providing in the future which work mainly off of TWRP 2.7 should also work on 2.6 and 2.5, however, there will be missing features that will only be applicable for 2.7 and so therefore any previous versions won't exactly be able to use nor have the full experience. The current themes I am porting will work for you guys though without any issues and the updates I will be providing shall be kept separate within the OP and attachments. Whoever is yalls current/active recovery developer - contact him or her and have that person reach out to teamwin. Hopefully this can be resolved :-/. If I had this device I would assist but unfortunately, I do not.
[HTC Desire X] Modding.MyMind:
Future ports are on hold right now. Currently putting themes on to my github so I can keep track of changes. The main hold up was due to me tracking down apps to use on my device so I may be able to work on these when not by my pc - which I finally found two of them. This will also allow me to make branches so I can leave the master project alone and if working properly then merge the branches later on. This will be extremey useful so I don't have to keep making backups upon backups on my pc which can be tedious and hard to keep track of.

Also, this will allow me to commit any changes so I may provide it here to the public to review for ease and comfort that those who do use the themes can know that such changes have been made, and as well, know that solutions to problems are being implemented.

With that said, I will be adding the current themes I have shared on this thread to my github and once everything is good, I will continue my work on porting these themes. I just need time to set up my "work station". Thanks and enjoy.

My github
[HTC Desire X] Modding.MyMind:
I fixed the minor error where the dividers for 'restart' and 'wipe cache & dalvik' were in the wrong places. They have been relocated. Op has been updated with the Holo Dark Theme. See attachments to download the latest version.

To see the changes made to the theme which resolved the issue then click here to review the commit on my Github.

Many thanks to [MENTION=5132229]xpirt[/MENTION] for letting me know about it.
[HTC Desire X] Modding.MyMind:
This has been put on hold. Click here to see why.
[HTC Desire X] Captain_Throwback:
I was just stopping by to say I'm going to try this theme out on my Supersonic, and wanted to know if it was possible for you to port just the curtain.jpg from the Black Holo theme. But if this is on hold, I guess I'll have to wait :(.

Thanks for porting this, though. I can now use this theme on 3 out of 4 of my devices :)
[HTC Desire X] Modding.MyMind:
Sorry, been busy with working on some binaries, building a vrTheme, and also starting on a launcher APK theme.

I haven't abandoned this project, just got to fit it in to my free time lol.

Also, these themes will work just as long as your device resolution is 480x800. As for the curtain image. That is found within the actual TWRP recovery itself. Has nothing to do with the ui. In order to change the curtain you will need to unpack the ramdisk within your TWRP recovery and then replace the curtain. Afterwards, repack the TWRP recovery and flash to your recovery partition.
[HTC Desire X] Modding.MyMind:
If anyone notices anything off with these themes please speak up about it so I can fix it really quick. I only have two eyes with a busy schedule ;).
[HTC Desire X] Captain_Throwback:
This I know.

I was just hoping you could port one for this resolution. I'll replace it in my Omni/TWRP repo so I have it going forward ;). If not, that's fine, but I figured I'd ask. If you need a copy of the jpg I can upload it for you.
[HTC Desire X] :
Wouldn't be that difficult. Just a matter of taking the custom curtain image and resizing it to your screens resolution. Could use GIMP, paint.net, Photoshop, or even do it straight from your phone :).
[HTC Desire X] :
My apologies, you mean to your specific device entirely lol. Had to go back to your last comment and review. Hmm, well, porting it to your resolution isn't a problem, but I have no means of testing it out. To port the theme is really simple. I will repost again with some simple instructions :). Be right back.
[HTC Desire X] :
[MENTION=1162986]Captain_Throwback[/MENTION]

If you wish to port the themes to your resolution I would suggest going to the original author and taking his themes because they are larger in size based on resolution. This way you can insure nothing is blurred or pixelated after the port.

There is PhotoShop but its pricey unless you know how to bypass it. But if you want something similar to Photoshop for windows that is free then download and install paint.net. Works really good.

As for resizing. You take the width of the port theme and the width of the base theme and divide them. The following below will be an example:

The theme you are looking at is 720(Width)x1280(Height).

So your port will be 720

Your device is 520 (example).

720 divided by 520 equals 1.38461538462

So, you will use 1.38 when dividing ALL VALUES to include the width and height of all image's.

There is one thing within the ui.xml you must leave alone and that is anything which looks like the following:

placement=5

placement=4

placement=3

And so forth.

If 'placement' is not defining any x, y, width, or height values, then leave it alone.

Now, when porting a theme from one resolution to another it goes like this:

Dividing by 1 will return %100 accurate results (obviously because this would mean both devices are of the same resolution)

Dividing by 1.5 will return %50 accurate results (this means you will be required to make some extra adjustments after the initial port to make it %100 complete)

Dividing by 2 will return %100 accurate results (this means if you calculated everything properly then when you are done your port should be %100 complete)

Any value greater than 2 is obviously over %100 so this actually causes a negative effect. My device is 480, so if I port a theme from 1080w I must use 2.25 which causes negative results due to that being greater than the value 2.

Since the example above is inbetween the value 1 and 1.5 you are roughly looking at about 30-40 percent accurate results with your initial port. That means you will be required to make A LOT of adjustments afterwards to make the theme you are porting from 720 to be %100 complete.

Hope this was helpful :)
[HTC Desire X] Captain_Throwback:
I'm not sure you understand what I mean.

I know it's a relatively simple request, but my skill level with photo editors isn't high and you clearly know what you're doing. I just need a resized curtain to 480x800. The curtain (which I know is separate from ui.xml) is the one thing you didn't resize. I can pack it into my recovery image no problem. I literally just need the image.
[HTC Desire X] :
Ok, I understand you now. Send me the image and let me know your device resolution. I will send it back to you.
[HTC Desire X] Captain_Throwback:
My device is the same resolution as in this thread, 480x800. Like I said, I'm using the theme from this thread on my Supersonic. Do you have a preferred resolution to resize from? I have 720x1280 or 1080x1920.
[HTC Desire X] :
720x1280 would be best.
[HTC Desire X] Captain_Throwback:
As requested. Thanks!

View attachment 2682374

(Hopefully Tapatalk didn't resize it, though if it did, I guess it would've solved this problem for me, lol)
[HTC Desire X] :
Can't download, send me to a screen on XDA stating that the image link specified is invalid.
[HTC Desire X] Captain_Throwback:
Here's a Dropbox link: https://www.dropbox.com/s/53yt8gyklkr0rfy/curtain.jpg

Also, here's a screenshot of your theme on my Supersonic (480x800) device:

Hmm, none of my links want to work today :(.
[HTC Desire X] :
[MENTION=1162986]Captain_Throwback[/MENTION]

Here you go :)
[HTC Desire X] Captain_Throwback:
Awesome. Thanks! I'll have to come back and post proper screenshots when I'm on my computer.
[HTC Desire X] :
I plan to get around to adding the function for screenshots within the ui. This will allow people to take pictures while in their recovery, but it will only work for those who's recovery supports it. This will be down the road at some point though. Too busy to do it now lol.
[HTC Desire X] Captain_Throwback:
The screenshot feature hasn't been merged into TWRP yet. I build with the patches from Gerrit for it though, and added the necessary entries to the ui.xml. That's how I have it working. Here are those screenshots I promised! Once again, great work on porting this for WVGA! :D
[HTC Desire X] :
Thanks, aiming for RT down the road lol. So I got to keep at it hahahaha. And yea, the patches from Gerrit is what I was referring to in my last post. Glad you like the port. My favorite feature is the Aroma FM that I added thanks to z31s1g and his guidance for pointing me in the right direction.
[HTC Desire X] :
Hey guys, I have ported the Holofied Black Theme from scratch. Completely updated to fit with 2.7.0.x.

If using 2.6 or below you can still use the theme but some features may be lacking for you.

I will be updating the other themes to be up to par with 2.7.

And no, I have no intentions of supporting 2.6 or below, so I apologize if that is an inconvenience to you.

If using 2.7 then you will really enjoy it's rich look and features.
[HTC Desire X] frantisek.nesveda:
Hi, do you plan to eventually support the theme settings found in the original theme? They would make this port even more awesome :)
[HTC Desire X] :
Most likely not. Those particular themes slow down the recovery because of how many images and lines of codes there are. I ported one to take a glance at it and decided against it.

Also, z31s1g had decided later on that those themes were to be designed for just porting by choosing specific available resources using the available highlights found available in each of them. He too also agreed that the theme shouldn't be used as a whole because of it's massive size.

However, if you choose to port it yourself and need assistance I can help with any questions you may have down the road.
[HTC Desire X] Captain_Throwback:
Any plan to update this for TWRP 2.7.1.0?

The main Holofied themes have been updated. I'm rebuilding all my recoveries based on the latest version, and this is my last one :).
[HTC Desire X] :
Hopefully soon. I notice the version bump the other day. TeamWin finally added support for screenshots. They also added a function for repairing your /system. Other than that, just odds and ends.

I just got in contact with Dees_Troy yesterday for getting official support for my device. Already reported back to him so support should be up and available for us soon.
[HTC Desire X] :
[MENTION=1162986]Captain_Throwback[/MENTION]

I'll go ahead and get started on it today.

Will contact you when it's done.
[HTC Desire X] :
Hey, so, before I had decided against it. But I changed my mind lol. I do that sometimes.

Anyways, Holofied Black Multi Highlight is uploaded and available for downloaded in the OP attachments. It is built for use with TWRP 2.7.1.0.

There is a lot of options and features in it so I only played with it for a short time but I didn't notice anything being off. "As far as I can tell", it's a %100 port.

Feedback is always encouraged.
[HTC Desire X] Captain_Throwback:
Great job on this port! Question, though - I just noticed I don't have a battery meter showing in recovery. Was that removed intentionally?
[HTC Desire X] :
If you are referring to the battery percentage at the top of the recovery theme, then it was not removed. It's there. I just confirmed it.
[HTC Desire X] :
Holofied XDA for 2.7.1.0 is now available. See attachments in the OP for download.
[HTC Desire X] Captain_Throwback:
Curious. I wonder why it's not showing for me? Let me disable the theme and confirm it's showing up at all. If so, then I'll post a screenshot of it not appearing. But if you have it on yours, I assume there's nothing you can do.
[HTC Desire X] :
Yea, I confirmed it showing on Holofied XDA as well. Strange, if it isn't showing for you.
[HTC Desire X] :
Hey man, you may want to check your TWRP source. Make sure it isn't corrupted. The ui uses a variable to call on the battery percentage.

For example,

EXAMPLE=/sdcard/testme

$EXAMPLE

Only thing I can think of is that your TWRP build had some errors or warning that went unnoticed.

Try rebuilding your TWRP and see if that fixes your issue.
[HTC Desire X] Captain_Throwback:
Sure, I'll give it a shot. But my source is all fresh, so while it's possible my source is the issue, it should be like that on all my devices, no? This is the only one (out of 3) using the Holofied theme and built from the same source where the battery meter is missing.
[HTC Desire X] :
True, but I have had to rebuild my TWRP before because the computer would decide to lag on me which would cause errors or warnings to pop up on my screen. When I see those, I usually just abort immediately and start fresh lol.

I don't use CM11 anymore. It started giving me problems on building TWRP the other day so now my builds are strictly off of OmniRom 4.4.
[HTC Desire X] Captain_Throwback:
Yeah I stopped using CM source to build my recoveries a while ago. I've migrated all my device files to Omni source as well.
[HTC Desire X] :
Let me know if rebuilding it fixes this dilemma. If not, I will definitely review the ui.
[HTC Desire X] Captain_Throwback:
Battery shows up fine in the stock theme. I reloaded the theme, and now battery appears. Weird, but I'm glad it's not the theme (or the recovery).

Now I just have to go through the ui.xml and uncomment the lines for screenshot to work. Thanks again for your work on this post!
[HTC Desire X] :
No problem man, glad to hear it :D
[HTC Desire X] :
Anyone have this device they want to give away for free :). Would really like to update TWRP for this device since it seems no one has taken the initiative. I've already been reviewing the source and I can see what needs to be done. So, if anyone is giving such a device away for free then send me a PM :). If not, then it was worth a shot to ask lol.
[HTC Desire X] dansou901:
There would be some changes to be made in device tree to have all partitions at the right place too. Can you do a build without the phone and let us test?
[HTC Desire X] albru123:
AFAIK TWRP 2.7.1 is not stable and fully working. But it's not needed for now.

Odesláno z mého HTC Desire X pomocí Tapatalk
[HTC Desire X] :
I will think about it, but I prefer to do my own testings before release, then let others determine if there are still any loose bugs.

Have no clue what "AFAIK" is...

Anyways, are you speaking in regards to the source itself and/or are you referring to an actual build that was done already (I haven't seen it).

If the source, and if unstable, then its probably the device tree and not the source. I built 2.7.1.0 for my device and it doesn't give me any problems.
[HTC Desire X] xpirt:
AFAIK = As far as I know ;)

xpirt
[HTC Desire X] :
Ah, haha, thanks man for clearing that up.
[HTC Desire X] :
[MENTION=5293217]albru123[/MENTION], the only thing that 2.7.1.0 is using right now which is "experimental" is f2fs. Which that can't be done anyways, unless a dev adds support for it with not only the TWRP build but with the devices kernel also (if not already done). I personally do not use that feature.
[HTC Desire X] :
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 been forgotten ;).
[HTC Desire X] :
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 Desire X] :
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 Desire X] :
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 Desire X] :
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 Desire X] :
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 Desire X] :
OP attachments updated with Holofied Dark for 2.7.1.x.
[HTC Desire X] :
OP attachments updated with Holofied Black for 2.7.1.x.
[HTC Desire X] :
OP attachments has been updated with Holofied Play for 2.7.1.x.
[HTC Desire X] :
OP attachments has been updated with Holofied Light for 2.7.1.x.
[HTC Desire X] Captain_Throwback:
So this script should be usable to port the Holofied theme to qHD resolution (540x960), like for the Shooter?

And how what I know the value for the items that have to be input manually?

I assume a 1080p resolution theme would be the best to port from, since qHD is exactly half the resolution?
[HTC Desire X] :
Yes for the first question, and it doesn't have to be exactly half of the resolution because the way the script calculates, the end results will still be the same. For the second question, I assume you are referring to the keyboardtemplate? Open the ported ui.xml file and search for keyword, "keyboardtemplate". You will see keysize for height and width. Further down will be key## and long## values. Some will be such as long01=68:c:48. The only value which needs to be changed are the first values. So in my example, you would only focus on 68.

Now, to determine how to change those values:

Look at the original ui.xml file and take notice of the keysize width and height. Start looking at the values for your long## and key## values. You will notice the keysize width is repeatedly used for some of these values and for the height this is the same as well but Wil usually be about one number higher.

Going back to the ported ui.xml you will now cross reference these values and change them accordingly based on your new keysize height and width.

In rare cases you could just use your stock twrp ui.xml and copy paste the keyboardtemplate but that will not always work since the keyboard images may not always align to the original stock keyboard images so porting these values is always the preferred method. These values are merely for when you go to press on the keyboard, you will see them become highlighted per touch by the finger. The values simply lines them up with the keyboard image accordingly.

You may need to experiment to get a better feel of what I am saying. For 2.7 and up the keyboardtemplate is very simple, but for 2.6 and below it is a little more involved than what I am explaining.
[HTC Desire X] :
Oh, and in row 4 of each keyboard layout will be a large value that doesn't resemble your keysize height or width. That is for the keyboard spacebar. It is usually half of the devices width resolution. So, for example, my width resolution is 480, therefore I would set my spacebar value to 240. Though be careful, because some resolutions may slightly vary.

This is why I am having difficulties on making my script port the keyboardtemplate automatically and so now am just leaving it up to the user to do it manually. Once you get the gist of how it works it will literally take about a minute or two to knock it out real quick.
[HTC Desire X] :
[MENTION=1162986]Captain_Throwback[/MENTION], the app didn't post that last one properly but I fixed it so make sure you go back and look at it again.
[HTC Desire X] Captain_Throwback:
Okay, so I downloaded the files from Github, installed GraphicsMagick, and saved my Holofied theme to be ported to a folder. I had to change the top of the script from /system/bin/sh to /bin/sh since I'm running this on Ubuntu, not Android. And I get to the first line "Enter your resolution, ex. 480x800:" and I enter 540x960. And my output disappears and I get the same question again, over and over. Did I do something wrong?
[HTC Desire X] :
For Ubuntu, change it to #!/bin/bash