Results 1 to 12 of 12
-
12-14-2011, 01:52 AM #1Junior Member
- Join Date
- Oct 2011
- Posts
- 6
- Thanks
- 0 Times
- Thanked
- 8 Times
WVGA/HDPI -> qHD Lockscreen Conversion (Alternate request thread- automated)
*UPDATE*:
I have now turned this into a web based program hosted on my personal website. Things to know before trying it out:
-It will convert both old style themes (those with lockscreen directories instead of files) and new style themes (most themes).
-It will supply you with a download link to your converted theme and also a link to every theme that has been converted thus far. Check to see if your theme is already there before uploading it.
-Mousing over an existing theme name will provide you with a preview of the theme (if one was supplied in the source mtz ~/preview/ directory).
-Uploads and downloads from my server may be a bit slow, but considering how small most of these files are, this shouldn't be a major issue.
-The upload file size is limited to 8 MB. If you have a theme bigger than that, remove all non-lockscreen files from it and repack it before uploading it.
-The file name can not have any spaces or special characters. If it does, just rename it so that it doesn't before uploading it.
-The conversion is still not (any will never be) foolproof. There will be some cases where you'll have to go into the manifest.xml file and manually update the values that were overlooked. As it is though, it seems to fully convert ~90% of themes with no further work needed.
-If my website is not responding, send me a pm or post here.
-If you have any questions/issues, post here.
-Enjoy
Link: http://betelicious.dyndns.org/cgi-bin/converter
Hey guys, I realize that there is already a thread for this, but I wanted to open a new one and accept requests for WVGA/HDPI -> qHD conversions (more the merrier right?)
I wrote a little Perl script to take care of most of the tedious stuff (resizing all of the images and calculating and replacing all of the x, y, w, h values within manifest.xml). This actually takes care of everything in some cases. For example I converted the Sense Ring lockscreen theme with this script and it was good to go in about 10 seconds of work.
But I want to make it clear that I will not be spending copious amounts of time fixing things that the script doesn't already fix. If it's something little, I'll try to fix it. Or if it's something big and I'm bored, I'll also try to fix it, but I'm making no guarantees!
I'm looking into a way to automate the process by possibly hosting this script somewhere and allowing anyone to upload an mtz file and get the updated mtz back. If this is ever happens, it will not be foolproof, but it will be an enormous first step in any WVGA/HDPI -> qHD conversion. So bring on your requests! I'll update this post with the results of the unfinished WVGA/HDPI -> qHD conversions blind's thread soon (if the conversions work :P)
*UPDATE*
Script is now attached. In my thread on XDA forums, most people were having issues running the script due to its dependencies. It requires the
Image::Info
Image::Magick
Perl modules which can both be installed via cpan. I did this using Cygwin on Windows 7. Other have tried using ActivePerl and StrawberryPerl with cpan, but none of them seem to be able to get it working correctly using this method. I am looking into a way of packing all dependencies into a standalone program which would make this more usable to less experienced users, but until that happens, this is what is available. Blind, feel free to make any modifications to the script if you're trying to host it somewhere (for starters, it will need do some on the fly decompressing and recompressing of mtz files, which I may work on adding in a later version).
Anyway, good luck and enjoy. PM me or post here with any specific questions about the script.Last edited by betelicious; 03-05-2012 at 02:26 PM. Reason: Added new version.
-
-
12-18-2011, 10:19 AM #2Junior Member
- Join Date
- Dec 2011
- Posts
- 1
- Thanks
- 1 Time
- Thanked
- 0 Times
-
12-20-2011, 07:38 PM #3Super User
- Join Date
- Apr 2011
- Location
- Hamden, CT
- Posts
- 557
Donate - Thanks
- 28 Times
- Thanked
- 117 Times
Can I have this script? Also, I can probably host it and make up a site to go around it (or just host it).
Oh, and I'll have the SGS2 lockscreen done in a minute, I've been slacking. It's been mostly done, just need to move the messaging slider to meet the side of the screen.hTC Inspire 4G
MIUI v4

Feel like donating? Not at all necessary. But if you still would like to Click Here
How to logcat:
Probably the easiest way to provide a logcat is with aLogcat.
Open aLogcat after whatever incident you would like to report,
Hit Menu > Save
Files save to /sdcard/alogcat/
-
12-24-2011, 03:59 PM #4Junior Member
- Join Date
- Oct 2011
- Posts
- 6
- Thanks
- 0 Times
- Thanked
- 8 Times
Added script to the OP. Check out the included README.
For proof that it does in fact work, here's your converted theme
http://www.megaupload.com/?d=6AKETRIJLast edited by betelicious; 12-24-2011 at 04:11 PM.
-
The Following User Says Thank You to betelicious For This Useful Post:
Hotweels258 (12-30-2011)
-
12-24-2011, 09:53 PM #5Super User
- Join Date
- Apr 2011
- Location
- Hamden, CT
- Posts
- 557
Donate - Thanks
- 28 Times
- Thanked
- 117 Times
Stickied, this script is amazing. It just converted the Blue FiveTarget without me touching it afterwards. Had some difficulty getting Image::Magick installed lol (never used perl before) till I realized perlmagick was in the repos. Added #!/usr/bin/perl to the top of the script and stuck it /usr/bin/ and now i can just 'qhdconvert lockname/advance/' and it does it.
I wish I could give you more than one thanks.hTC Inspire 4G
MIUI v4

Feel like donating? Not at all necessary. But if you still would like to Click Here
How to logcat:
Probably the easiest way to provide a logcat is with aLogcat.
Open aLogcat after whatever incident you would like to report,
Hit Menu > Save
Files save to /sdcard/alogcat/
-
01-04-2012, 05:33 PM #6Junior Member
- Join Date
- Oct 2011
- Posts
- 2
- Thanks
- 1 Time
- Thanked
- 0 Times
http://miuislovenia.com/?p=3020
This LS please
-
02-25-2012, 09:31 PM #7Junior Member
- Join Date
- Oct 2011
- Posts
- 6
- Thanks
- 0 Times
- Thanked
- 8 Times
I updated the OP with a new version which allows automates things a bit more. Now all you have to do is feed it an mtz file and it will do the rest. Requires zip and unzip utilities installable through Cygwin installer. Enjoy
-
The Following User Says Thank You to betelicious For This Useful Post:
blind (02-26-2012)
-
02-26-2012, 12:34 AM #8Super User
- Join Date
- Apr 2011
- Location
- Hamden, CT
- Posts
- 557
Donate - Thanks
- 28 Times
- Thanked
- 117 Times
-
03-05-2012, 02:24 PM #9Junior Member
- Join Date
- Oct 2011
- Posts
- 6
- Thanks
- 0 Times
- Thanked
- 8 Times
Re: WVGA/HDPI -> qHD Lockscreen Conversion (Alternate request thread- automated)
Hey guys, I have now turned this into a web based program hosted on my personal website. Things to know before trying it out:
-It will convert both old style themes (those with lockscreen directories instead of files) and new style themes (most themes).
-It will supply you with a download link to your converted theme and also a link to every theme that has been converted thus far. Check to see if your theme is already there before uploading it.
-Hovering your mouse over an existing file will show you a theme preview (if one was supplied in the source mtz).
-Uploads and downloads from my server may be a bit slow, but considering how small most of these files are, this shouldn't be a major issue.
-The upload file size is limited to 8 MB. If you have a theme bigger than that, remove all non-lockscreen files from it and repack it before uploading it.
-The file name can not have any spaces or special characters. If it does, just rename it so that it doesn't before uploading it.
-The conversion is still not (any will never be) foolproof. There will be some cases where you'll have to go into the manifest.xml file and manually update the values that were overlooked. As it is though, it seems to fully convert ~90% of themes with no further work needed.
-If my website is not responding, send me a pm or post here.
-If you have any questions/issues, post here.
-Enjoy
Link: http://betelicious.dyndns.org/cgi-bin/converter
-
The Following User Says Thank You to betelicious For This Useful Post:
neowiz73 (03-07-2012)
-
03-07-2012, 08:45 PM #10
Re: WVGA/HDPI -> qHD Lockscreen Conversion (Alternate request thread- automated)
For those that want to do this under native Linux, I successfully converted using Ubuntu 11.10.
Download the ImageMagick source from here and follow the instructions on the website.
Then you have to download the PerlMagick source and compile as above. Follow the instructions on the website for compiling PerlMagick.
Then use cpan to install Image::Magick and Image::info
after that this script ran perfectly for me. I made some edits for my Galaxy Nexus, thanks to Blind for the info.
-
Advertisement
-
03-07-2012, 09:53 PM #11Junior Member
- Join Date
- Oct 2011
- Posts
- 6
- Thanks
- 0 Times
- Thanked
- 8 Times
Re: WVGA/HDPI -> qHD Lockscreen Conversion (Alternate request thread- automated)
Thanks for the info! Good for those who wish to use the stand alone program. But for those who don't care, just use the website. It works in native Linux too
-
The Following User Says Thank You to betelicious For This Useful Post:
neowiz73 (03-07-2012)
-
03-07-2012, 11:14 PM #12
Re: WVGA/HDPI -> qHD Lockscreen Conversion (Alternate request thread- automated)
thanks for the script Betelicious, it works awesome
Reply With Quote
Bookmarks