[TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G) - EVO 4G Themes and Apps

After going through many of the different lock ring tutorials, I have noticed that they all have something in common: They are too user intensive and prone to user-error. Sure, once you have it down, it's easy. But it can be daunting to start out.
All I have done here is make it EXTREMELY user friendly.
No more copying and pasting into ZIPs and APKs!!
No more fishing around the Templates tree in M10 Tools!!!
Simply run the BATCH file, get a cup of coffee, and then flash!
Here are the detailed instructions... (also in the Read-Me)
0. Make sure you have installed Microsoft .net 4 framework on your machine.
http://www.microsoft.com/net
1. Unpack User_Friendly_Lock_Screen_Kit_v1.04.zip (Where you put the file does not matter anymore!!!! For example purposes, I will use C:\Lock_Ring_Kit)
2. Copy your image into C:\Lock_Ring_Kit and name it LockRing.png
Image requirements:
a. Must be a PNG file
b. Image must be 271 x 270 pixels (If it is not the right size, it will come out looking funny (270x271 WILL NOT WORK)
c. The image must be rotated 180 degrees and reflected horizontally.
3. Double-click "LockRingCreator.bat" and let it do its thing.
4. Flashable.zip was just created for you. Rename it whatever you wish.
5. Copy it to the root of your SD card, boot into recovery, and flash
The BATCH file cleans up after itself. You don't have to go through and delete any of the old files. If you want to make another one, just change out the PNG and run it again. My desktop is pretty old, and the BATCH takes about 2 minutes to run.
I have only tested this on Synergy, but I assume that it will work on similar ROMs. I also believe that it will work on the Thunderbolt (can someone confirm that?)
All files are included in the ZIP.
User_Friendly_Lock_Ring_Kit_v1.05.zip
Error Reporting
This is a work in progress. If you have an issue, please post it on the thread. Also, please copy and paste the output from the command prompt so we can get to the bottom of it. (Right click on command prompt, Select All, the then press ENTER. It is now ready to paste.)
Acknowledgments:
jmaher1023 - I used his process as a template. All that my BATCH file does is automate his process
Flemmard and DiamondBack2010- I have no idea what M10 Tools does or how much trouble they had to go through to make it, but I do know that it is the heart and soul of this whole operation.
Confirmed ROMS
Gingeritis3d
Synergy RLS 1
InCompatible ROMS
Kinged Shooter RLS 2.3

I'll try this out, thanks alot dude.

One thing you didn't mention is that the images still need to be 271 X 270 or they won't look right. Other than that this works on Gingeritis3d. (And if I want to say I was the one to create the lock ring I might edit the script) lol. Very good work though man. Very useful tool. Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher

somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens

TDubKong said:
One thing you didn't mention is that the images still need to be 270 X 270 or they won't look right.
Click to expand...
Click to collapse
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
TDubKong said:
Other than that this works on Gingeritis3d.
Click to expand...
Click to collapse
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
TDubKong said:
(And if I want to say I was the one to create the lock ring I might edit the script) lol.
Click to expand...
Click to collapse
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
TDubKong said:
Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
Click to expand...
Click to collapse
No Idea

IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.

did you
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps

gamendorf said:
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
No Idea
Click to expand...
Click to collapse
Thanks brudda. I was only kidding about renaming the script. I knew where to find it. I can run a couple other ROMS if you want. I got nothing better to do tonight. Let me know which ones you want to add to your list and i'll do a couple.

just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).

Forgot to mention I am running Gingeritis 3D Beta VIII. And I do have .net 4 installed. Maybe thats why i didn't have any issues. Also I didn't even read the read me file. oops.

life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
You're right. Oops. Zip file has been updated

life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.

gamendorf said:
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
Click to expand...
Click to collapse
windows 7 i looked it up and it does have the Microsoft .net 4 framework intalled ,im thinking i just didnt name something right ill try what TDubKong suggested VVV and ill get back
TDubKong said:
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
Click to expand...
Click to collapse

TDubKong said:
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
Click to expand...
Click to collapse
dropbox has been the easiest, havent hit a limit yet, except storage space..... which i upgraded to eliminate that problem, all the others i have tried i cant upload anything because they limit file sizes that you can upload, where as dropbox just syncs with your desktop, takes awhile but works.

just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
edit:
wait i just checked windows update and it has 2 updates for net framework 4 lol

nice i was using the copy paste way. i use one like this for the 3d(that was made by triscuit1983.

still didnt work for me, oh well back to m10 editor... thanx anyways

did you put it on your c drive i had that problem on the one for the 3d

I will try again tomorrow, work in the morning
Sent from my PC36100 using xda premium

life_420 said:
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
Click to expand...
Click to collapse
dased14 said:
did you put it on your c drive i had that problem on the one for the 3d
Click to expand...
Click to collapse
Make sure that you unzip the files to C:\Lock_Ring_Kit. When I install them somewhere else ("C:\Lock_Ring_Kit______"), I get the same error you do. However, the BATCH file did what it was supposed to do. Since C:\Lock_Ring_Kit did not exist, it created it, and there is a "Working" folder as well as a "Flashable.zip" there. But, since the original files were not in the right place, it is useless.
When the command prompt just flashes, what that means is that M10Tools are not having a chance to run. The only explanation I have for that as of right now is that the files are not in the right location. Also make sure that you named the image LockRing.png.
I'll see about making the batch file spit out an error code, but it might be a few days before I can get around to it. I'll keep yall posted.

Related

Updated...Easy Font Installer V1.3 w/ 35 fonts.(Download Now)

I am releasing this batch script with 35 fonts that I have. Font Selector V1.3 is my most recent work now with font preview. I feel this is pretty good now and will focus on a interactive GUI.
I am also working on some projects that will not only help with installing fonts, but with everything you need to do from your computer with your phone.
It has been reported that some do not work and some are duplicates. I should have fixed any that were not working, but have not removed duplicates yet.
Thanks to DexSade for installing all of these on his phone and taking screen shots.
This is for Windows only.
This should run from anywhere as long as you make a PATH to the Android SDK tools folder
Here are directions to do this for Windows
Windows XP / Vista
Right click on the My Computer icon and select the properties tab.
Select the Advanced tab and click the Environment Variables button.
In the new dialog box double-click on Path (located under System Variables) and type in the full path location to the tools directory.
This is simple to use....
1. Download the zipped folder and unzip the contents anywhere you want
2. Connect your phone through usb
3. Double Click on Font Selector
4. When you choose a font a preview box will pop up. To continue close the box
5. Answer Y or N and it will push the fonts and reboot the phone
I have not tried all of them so please let me know if they do not work or are too big.
Please let me know if this is a good idea or not, as I can easily add more.
Change Log:
V1.4--Added Ubuntu Beta and changed parts of the script so it should work with all versions of Windows
V1.3--Changed script to open up font preview before installing. Included checks to ensure that you are installing correct font
V1.2--Added Juice to #36 and fixed font locations(they should all work)
V1.1---Removed font number 10 and replaced with MyriadPro-LightSemiCnIt
Added several other fonts
DOWNLOAD V1.4:Font_Selector V1.4
DOWNLOAD V1.3:Font Selector V1.3
DOWNLOAD V1.2:Font Selector V1.2
Ill give it a shot...
im attempting to give a shot now. when i open the batch file, the first line says adb is not a recognized command. am i missing something? and also, is it possible for you to put screen shots of the fonts up? would be easier than picking them at random to find one.
kashb91 said:
im attempting to give a shot now. when i open the batch file, the first line says adb is not a recognized command. am i missing something? and also, is it possible for you to put screen shots of the fonts up? would be easier than picking them at random to find one.
Click to expand...
Click to collapse
You're going to have to extract the zip to your Android tools folder (where ADB is located)
ooohhhh, ok. OP said it was cool to unzip anywhere otherwise i wouldve done that. thanks.
since it seems youve gotten it to work, any suggestions on a good font to pick?
Very nice and simple batch file!
Easy to add additional fonts. ****ty thing is alot of the .ttf(s) that I like aren't compatible with android for some reason. I push it and I just get a boot loop.
I've got at last count about 1400 fonts so I'll go through them and see if there are any more that are compatible that look nice and send them to you.
kashb91 said:
ooohhhh, ok. OP said it was cool to unzip anywhere otherwise i wouldve done that. thanks.
since it seems youve gotten it to work, any suggestions on a good font to pick?
Click to expand...
Click to collapse
Just open the Font folder, and double click on the .ttf and a preview window will open up.
Caviar dreams looks really bad Hah, someone may like it, I hate it.
Re: Easy Font Installer (Download Now)
There's 2 files that could be copied to system32 folder and you can use and anywhere. that's how mine is setup. I'm not at my computer to see which ones, but if you unzipped to android sdk tools it should work. this is work in progress.
Just placed unzipped folder into tools directory. Very simple set up trying font two at the moment.
Re: Easy Font Installer (Download Now)
Very nice and simple batch file!
Easy to add additional fonts. ****ty thing is alot of the .ttf(s) that I like aren't compatible with android for some reason. I push it and I just get a boot loop.
I've got at last count about 1400 fonts so I'll go through them and see if there are any more that are compatible that look nice and send them to you.
Click to expand...
Click to collapse
you can use a font editor. there are some online ones, but I have not tried them yet. I will look into some later. I just wanted to get this out there so people could help with it as this is pretty simple to use.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
If I toss in my own fonts into the setup like you have, will it read and load into the installer automatically? Or is it just this set list of fonts? (Sorry if I missed this answer, trying to skim over what I thought I already read)
If you put the directory of your tools into your PATH on your comp, you can unzip this anywhere and run it. Unless he messes with path in the .bat
any screens shots of the fonts
Re: Easy Font Installer (Download Now)
Right now you would have to change the font names and either add a couple lines of script or deal out the fonts from one with what you have. if you look at the script, you should be able to make your changes
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
What's the ADB command to capture shots? I'll take shots as I go along.
Re: Easy Font Installer (Download Now)
If you put the directory of your tools into your PATH on your comp, you can unzip this anywhere and run it. Unless he messes with path in the .bat
Click to expand...
Click to collapse
I didn't mess with the path. that's how mine is setup
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Re: Easy Font Installer (Download Now)
What's the ADB command to capture shots? I'll take shots as I go along.
Click to expand...
Click to collapse
its not an and command..just ddms command from the tools folder, or you can double click it.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Number 11 is my favorite so far...
The only thing that sucks is the phone won't display the new font until it reboots.
Alright, taking screen shots now. It'll take me a little while with reboots.

Theming files?

Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn

Ultimate One Click Theme Injector (Teaser 1/15) Screenies... Need some feed back!

New Ultimate Version
I'm looking for some feed back and interest in a gui version of this app, below are some screnshots. Currently I have written interfaces for Optipng, Apktool, ADK, Z7a and a buncha other theming tools. Think of this new version as a way to manage your themes and roms in a workspace like setting, where files will show up in a explorer like ui.
Please ask questions and make suggestions Please!
READ THIS FIRST:
UPDATE 9 PATCH TWEAKS:
This new version will port your favorite hdpi theme to an mdpi rom... yes 9 patch resizing. I want to be the first to say this is not 100% and it probably never will be, and over the next couple of days we can discuss this.
What it will do is resize every 9 patch in a rom and move it over to the mdpi theme. Yes this is the same method I used for all my hdpi ports.
What it might not get is the 9 patching data correctly, which means that it might get stretched incorrectly, most times you won't noticed but others it will be obvious. This will happen anywhere from 1% to 30% of the 9 patch pngs in a port, but all you will need to do is redraw them using the 9 patch draw tool in the adb folder.
Please respect other peoples work. If you port a theme using this and repost it don't just link back to the op... mention the author and give them props.
Also want to say I spent a looooong time trying to figure this out, and I tried many different ways, and I'm open to others suggestion on making this better
Oh and don't forget to to install Image Magick, its included and the HDPI to MDPI will not work without this.
This tool will take your favorite theme and inject it into your favorite rom... provided they are compatible with each other (might work if they aren't but thats for later). I did this cause alot of themers and people who like themes are always waiting for the nightly theme to get applied, well this will do it for you.
You can think of this as almost a theme installer.
INSTRUCTIONS by Norm12:
1. Download and extract.
1.5 Install image magick from the image magick folder... just run the installer and its ready to go. This is important the hdpi to mdpi will not work without it.
2. Copy both the theme and rom into the 1 click folder---the extracted one.
3. Open the 1-click folder and you should see your theme, rom, lib folder, and the injector script.
4. Doubleclick on the injector script----if you did everything correct it will open a cmd prompt
5. Enter the names of the rom and theme when asked...I did use the exact names and added ".zip" to the end.
5.5 Answer y if this is an hdpi to mdpi port otherwise n.
6. Hit enter and wait. When it is really done it will auto-close the cmd prompt. This may take 15 minutes.
7. Your newly themed rom will be in the same folder as the unthemed rom and theme zips. If it worked it should be slightly larger than the original rom. Enjoy
!!!IMPORTANT... BECAUSE 7ZIP SHOWS OUTPUT IGNORE THE "EVERYTHING IS OK" LET THE SCRIPT FINISH WHEN ITS DONE IT WILL CLOSE ITSELF IF YOU DOUBLE CLICKED IT OR IT WILL RETURN TO COMMAND PROMPT!!!
Ignore any errors your seeing while it runs, this is normal like before let it run completely through till it closes out.
Run time could be up too 20 minutes (60 with HDPI to MDPI) on a big theme/rom, but faster that waiting!
You must now install Image Magick if you would like to use the hdpi to mdpi resizing!
ISSUES:
There also seems to be an issue with the gallery3d.apk and the differences in the mdpi and hdpi version. For now remove this from the theme your porting otherwise it won't come out right.
Update 4:
HDPI to MDPI porting!!!!!
Update 3:
Removed verbose but added optopng verbose just let it run. It works but you have to let it finish, the cmd window will close it self.
Update 2:
Added verbose output so that you guys will know to close it out before its done...even tho 7zip says everything is ok... just let it do its thing.
Update 1:
Had the optimization stuff commented out... sorry its back on.
Script will clean up now after it finishes.
JAVA CLASSPATH:
Its needed for the signer to work properly goto a command prompt and type in java -version. if you get and error back java is not in your classpath and needs to be.
just right click on my computer, then goto properties, then click on the advanced tab, at the bottom click on the "Environment Variable" button.
Now click on the new button... the one on the bottom for system variable and put in this
variable name: JAVA_HOME
variable value: C:\<path-to-where-java-is>
Now click ok and select the path system variable and then click edit. IMPORTANT only append to the end of the value this... ;%JAVA_HOME%\bin
then click ok and ok out of all those windows and open a new command prompt and type java -version you should get no error if you do your path to java was wrong follow the steps above again and make sure the path is correct.
WHAT THIS WON'T DO:
It won't port over xml or smali edits.
It wont port over what it can't find... so if your theme has a facebook widget or something but the rom does not then it will ignore that.
It will not port over fonts or anything other than the framework-res.apk and all the themes apks in the system/app folder. If this is popular Maybe other stuff can get included.
WHAT THIS WILL DO:
Shrink a 9 patch from HDPI size to MDPI size.
Push over all the themes pngs from the apk with it to the roms matching apk.
Optimize every png in the theme you are porting over.
Zip align all the apks in your newly themed rom.
Sign the newly themed rom.
Give me feed back.
I might make this easier and make the injector steal the apks for injection right from your phone and then inject and make a flashable to put right back on... tell me what you think.
New HDPI to MDPI version (v2) with 9 patch porting download here
Screenies from Ultimate One Click Theme Injector
This is great, going to give it a try! Want to use steel my elegance on AOSP mod!
pwachleman said:
This is great, going to give it a try! Want to use steel my elegance on AOSP mod!
Click to expand...
Click to collapse
Nice this is what I made it for... so sorry but I just noticed that I forgot to attach the program. Its up now.
What does yours do that this one doesn't do? I'm just curious because this one will re-size the png's.
ehac1680 said:
What does yours do that this one doesn't do?
Click to expand...
Click to collapse
well it optos and zip aligns annnd it signs all in one step. while I have looked at that one a while back it has been buggy (it might not now haven't really checked).
So while this isn't necessarily a porter per say. its one step and alot easier to use than that, and it does the extras like zip aligning all the apks, optos and signing. Your finished product is ready to be flashed.
Its your choice!
Edit:
While I do have a technique for doing hdpi to mdpi even the 9ptach, its buggy and reallies on assumptions.
I know for a fact that his does not work (or barely works just read the thread) for hdpi to mdpi and is over all very tricky to use. While mine does not include the hdpi to mdpi I might include that later to my one click suite of tools. But I can tell you 9 ptach porting is likely impossible at best mine will port a 9patch but in about 5-15% of the time is gets bad patch data because of the method I use to port it.... witch I can tell you is the only way you can do it.
Mine will also work across roms and if you guys want I'll put the theme porting code in even the 9patch resizing... so you guys can se my super secret method of porting 9patch pngs.
ehac1680 said:
What does yours do that this one doesn't do? I'm just curious because this one will re-size the png's.
Click to expand...
Click to collapse
So wait is that what you used to do Black and Gold?
ASimmons said:
So wait is that what you used to do Black and Gold?
Click to expand...
Click to collapse
No, I didn't find this until after I ported Black and Gold. Would of been very helpful if I had used it. This doesn't re-size the .9's but it does port them over. I have been using it to put theimpailers changes into the nightly though.
Well try it out and tell me if you think his is easier to use... i made it specially for making nightlies easier to theme.
Does his zip align and optimize... does it produce a final flashable product? All mine needs are the 2 zips (theme and rom names) and the rest is done.
Sent from my PC36100 using XDA App
ASimmons said:
Well try it out and tell me if you think his is easier to use... i made it specially for making nightlies easier to theme.
Does his zip align and optimize... does it produce a final flashable product? All mine needs are the 2 zips (theme and rom names) and the rest is done.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I'm definitely going to try it. It sounds like it will make updates to the nightlies easier, if there ever is a successful one again
Sent from my HERO200 using XDA App
well tried to put Steel My Elegance with darchdroid 2.8.. it did everything with no errors.. but when after I flashed the zip. it just stayed at the htc boot screen...
spiritcrusher33 said:
well tried to put Steel My Elegance with darchdroid 2.8.. it did everything with no errors.. but when after I flashed the zip. it just stayed at the htc boot screen...
Click to expand...
Click to collapse
hold on let me try and see what happened give me a few minutes.
Edit:
So it never got to bootanimation?
Were you going to this rom from another?
How long did you wait for it at the splash screen.
The reason I ask is that this will only push over pngs and shouldn't in anyway affect the rom, save for the new pngs. The only thing I can think of is that you might want to wipe dalvik and data before if your coming from another rom.
I let it sit for bout 10 mins.. etc. then just nand back.
im currently running dd 2.8.
so after it compiled the new theme zip.. i just copied it to my sd card and flashed it..
unless im missing something etc.
So basicly u take the theme.zip and the rom.zip.. tell your script the locations. etc. and then it does its thing..
then take the theme.zip ( before renaming it ) and flash that. correct?
Im gonna try another theme and see what happens...
spiritcrusher33 said:
I let it sit for bout 10 mins.. etc. then just nand back.
im currently running dd 2.8.
so after it compiled the new theme zip.. i just copied it to my sd card and flashed it..
unless im missing something etc.
So basicly u take the theme.zip and the rom.zip.. tell your script the locations. etc. and then it does its thing..
then take the theme.zip ( before renaming it ) and flash that. correct?
Click to expand...
Click to collapse
Ok not sure if you got it backwards but just in case. The script will take the theme and the rom and push the theme into the rom. the final output will be the rom with this appended to the front of the name... themed-darchdroid-v28.zip and that you can flash to your system. You don't need to rename or anything just put themed-darchdroid-v28.zip on your sdcard and flash it to your system.
I can check when I get home and see what happens when I flash it since I don't have my hero on me.
here is whats in the folder once its complete..
im at work so.. dont have too much time to mess with it..lol
spiritcrusher33 said:
here is whats in the folder once its complete..
im at work so.. dont have too much time to mess with it..lol
Click to expand...
Click to collapse
oh it seems to be failing then, since the theme.zip and rom.zip are temporary and used by the script to make changes on.
Try this, copy darchdroid-v28.zip into the folder and sme6_signed.zip into the folder then run the script and give those names when asked for them.
The final output should be "themed-darchdroid-v28.zip" I just ran it and the resulting rom looks fine... I can test it of course but will try when I get home.
ok will try that. thanks man.. brb..
All I get are the theme.zip and rom.zip, never outputs the final product. Not sure what I am doing wrong.
jtpterp said:
All I get are the theme.zip and rom.zip, never outputs the final product. Not sure what I am doing wrong.
Click to expand...
Click to collapse
hmm not sure why... been using this script for months now. Try this
1. copy your rom into the folder.
2. copy your theme into the folder.
3. tell the script the names (i.e. my-theme.zip, cm6.zip)
4. let script run.
Final output should be themed-<nameofrom>.zip this is your flashable.
How long after the "everything is ok" message appears does it take to complete?
Maybe i'm just not be patient enough
tried your method.. and like the above.
theme.zip and rom.zip, never outputs the final product
im stumped....lol maybe I will try on my pc at home.

Porting ICS Transition Animation

I found this when I was surfing the net:
http://www.techofweb.com/technology/port-ics-android.html
When I saw the "Porting" in the title I thought it needs a dev, but it was easier than I thought, except some steps which I don't get.
In step 23 it says:
"Go to apk-manager folder. Go to Projects/framework-res.apk/res/anim/"
and in step 24 it says:
"Open xml file integers with any Editor."
The problem is there isn't such xml file as "integers" in that folder. So we should add those lines, mentioned in step 26, in which xml?
Any idea?
sohrab1985 said:
I found this when I was surfing the net:
http://www.techofweb.com/technology/port-ics-android.html
When I saw the "Porting" in the title I thought it needs a dev, but it was easier than I thought, except some steps which I don't get.
In step 23 it says:
"Go to apk-manager folder. Go to Projects/framework-res.apk/res/anim/"
and in step 24 it says:
"Open xml file integers with any Editor."
The problem is there isn't such xml file as "integers" in that folder. So we should add those lines, mentioned in step 26, in which xml?
Any idea?
Click to expand...
Click to collapse
Take a look at this post here http://forum.xda-developers.com/showpost.php?p=19262568&postcount=13 your looking into the wrong directory
acubens said:
Take a look at this post here http://forum.xda-developers.com/showpost.php?p=19262568&postcount=13 your looking into the wrong directory
Click to expand...
Click to collapse
Thanks, mate.
I think it was a mistake of whoever who wrote that.
Anyway, thank you.
sohrab1985 said:
Thanks, mate.
I think it was a mistake of whoever who wrote that.
Anyway, thank you.
Click to expand...
Click to collapse
NP, btw it will not work on Gingerbread JQ3,4 and 5 as i have tried that already as soon as you unlock your screen the system hangs, but if you try it yourself my advice is to make a backup, so you can replace the framework in recovery and continue using you system instead of reflashing it.
GL
acubens said:
NP, btw it will not work on Gingerbread JQ3,4 and 5 as i have tried that already as soon as you unlock your screen the system hangs, but if you try it yourself my advice is to make a backup, so you can replace the framework in recovery and continue using you system instead of reflashing it.
GL
Click to expand...
Click to collapse
I tried it on MIUI 1.11.12 and it works fine. The thing is first time I tried it, the same thing happend, I mean right away after unlocking the screen it hung up and I couldn't do any thing. But when I tried for the second time it worked just fine. Maybe you should try it one more time. I hope it works this time.
sohrab1985 said:
I tried it on MIUI 1.11.12 and it works fine. The thing is first time I tried it, the same thing happend, I mean right away after unlocking the screen it hung up and I couldn't do any thing. But when I tried for the second time it worked just fine. Maybe you should try it one more time. I hope it works this time.
Click to expand...
Click to collapse
Nice to hear it works, i will try again maybe i made an error.
Cheers
I have gotten the ICS transitions to build from source into my BOCA rom.
(2.3.7)
I do it basically the same way, just at a source code level.
and I don't have an "integers.XML" in source code it is in "config.XML"
I will post a "cyanogen" how to tomorrow
Thanks
-diz
dizgustipated said:
I have gotten the ICS transitions to build from source into my BOCA rom.
(2.3.7)
I do it basically the same way, just at a source code level.
and I don't have an "integers.XML" in source code it is in "config.XML"
I will post a "cyanogen" how to tomorrow
Thanks
-diz
Click to expand...
Click to collapse
Nice to bad i dont use your firmware, how is it on cyanogen any lag?
acubens said:
Nice to bad i dont use your firmware, how is it on cyanogen any lag?
Click to expand...
Click to collapse
After a few adjustments and some minor wierdness;
It is pretty smooth.
I like it.
dizgustipated said:
After a few adjustments and some minor wierdness;
It is pretty smooth.
I like it.
Click to expand...
Click to collapse
Cool, i tried it on several firmwares jq2,3 and 4 but it does not work, hangs just after unlocking the screen. As previous said that i maybe made an error but i tried again and checked it 10 times but no luck and i am pretty sure i did it correctly.
Who knows i will try your firmware and enjoy the new transitions
Cheers mate, and thank you for your input.
acubens said:
... i tried it on several firmwares jq2,3 and 4 but it does not work, hangs just after unlocking the screen. As previous said that i maybe made an error but i tried again and checked it 10 times but no luck and i am pretty sure i did it correctly.
Click to expand...
Click to collapse
I use "Apk Manager" for editing apk files so I decompiled the "framework", copied files from "anims" folder and "other" folder, which I'd downloaded before, to "anim" folder of the "framework", then I typed 11 in "Apk Manager" for compiling the "framework", after that it asked two question and as always I typed "y" (yes), then in the "keep" folder I deleted "resources.arsc" and all the .xml file in "anim" folder which I'd replaced, and finally when "Apk Manger" finished it's work I pushed the framework.
Is this the same way you use to edit the "framework"?
I just want to make sure it's the roms' problem (which you mentioned before) not the way we use to edit the file.
sohrab1985 said:
I use "Apk Manager" for editing apk files so I decompiled the "framework", copied files from "anims" folder and "other" folder, which I'd downloaded before, to "anim" folder of the "framework", then I typed 11 in "Apk Manager" for compiling the "framework", after that it asked two question and as always I typed "y" (yes), then in the "keep" folder I deleted "resources.arsc" and all the .xml file in "anim" folder which I'd replaced, and finally when "Apk Manger" finished it's work I pushed the framework.
Is this the same way you use to edit the "framework"?
I just want to make sure it's the roms' problem (which you mentioned before) not the way we use to edit the file.
Click to expand...
Click to collapse
Yes i use also apk manager, and the same procedure as you did but no go. If you read the thread from the post i have giving you, there are several users that have the same issue on jq3 ect.
Cheers
acubens said:
Yes i use also apk manager, and the same procedure as you did but no go. If you read the thread from the post i have giving you, there are several users that have the same issue on jq3 ect.
Cheers
Click to expand...
Click to collapse
So, like you said before it's not compatible with those roms.
Let's hope the ICS developers get the rom ready asap, so we all can have it on our tabs.
UOT Kitchen , they have add ICS windows animations, tried it and it works fine with 2.3.5
af974 said:
UOT Kitchen , they have add ICS windows animations, tried it and it works fine with 2.3.5
Click to expand...
Click to collapse
Thanks for the tip, i tried the kitchen and can confirm that it works on jq3 too and that it is very smooth with the new transitions.
Cheers
acubens said:
Thanks for the tip, i tried the kitchen and can confirm that it works on jq3 too and that it is very smooth with the new transitions.
Cheers
Click to expand...
Click to collapse
Glad to hear it.
It will be nice if we can combine this with ICS Alpha Rom..
sopormenmalaya said:
It will be nice if we can combine this with ICS Alpha Rom..
Click to expand...
Click to collapse
Dosen't it have those animation?
That's funny because I just flashed back from ICS alpha and I didn't notice if it has those animation.

How to make a theme?

I'm pretty handy with Photoshop (I do graphic design) and I was wondering how I would go about making a theme. I am on Melvins stock ROM and I don't use a launcher. It was so simple on the iPhone, so is there a method similar to that of the iPhone?
Hey I'm in the same boat as you being design graduate myself. Its pretty easy actually you just need to get to know all the apk files and what goes where. The framework-res.apk, systemUI.apk house the majority of the files overall that you will most likely wanna mod. Then you have app specifics. Anyway here is a little vid to get you started very basic like. Its the dev M&S from the Tmob thread. His themes are super slick
http://www.youtube.com/watch?v=RSB8iQvpU9k
That is exactly what I needed. Thank you so much. It's actually fairly easy, and I'm glad I don't have to use winSCP anymore.
Quick question though, what do I download to get the script and all that? And the SDK part?
I downloaded the APK manager and I have no idea how to get the framework into the script. Any ideas?
well you should watch the video! if you don't wanna watch than.
Copy framwork-res.apk from system>framework folder.
Past it in the apk folder where it says "Put here for Modding" and than you can open up the command prompt and go from there!
Hope this helps!\
Make sure to do nandroid because messing with framwork will give you softbrick and you will be F*****!
MAGiK9 said:
I downloaded the APK manager and I have no idea how to get the framework into the script. Any ideas?
Click to expand...
Click to collapse
appdroid said:
well you should watch the video! if you don't wanna watch than.
Copy framwork-res.apk from system>framework folder.
Past it in the apk folder where it says "Put here for Modding" and than you can open up the command prompt and go from there!
Hope this helps!\
Make sure to do nandroid because messing with framwork will give you softbrick and you will be F*****!
Click to expand...
Click to collapse
lol I was like the vid shows it too! And also you will need to do a search on how to mod .9 png files. They have code in them so if you mod them in photoshop ( I did this at first) they end up all warped and busted. At first I recommend the "extract" for starters in APK manager. Gives you access to all the png files and such. Once you get more familiar then choose "decompile" so you can edit the xml files (change text color etc). Hope that helps
I will be closely following this thread as I am learning to theme as well, let's help each other!
Does anyone know how to do the videos first part in "apk multi tool"?
Actually nvm I figured it out
I did watch the video. There are some steps he skips, however. Like selecting the framework, he never tells you how to get it in the folder. I figured it out, eventually.. but I still don't know how to get it onto my phone using the SDK that he uses. That is my question.
Ive been at this for about an hour lol. I figured out how to push the file but I couldnt do it from /tools/ so I tried pushing the apk from /platform-tools/ and it worked the only problem is that I edited the battery colors just to test and see if it would work. They were supposed to be red but their still the same color.
Btw to the above post, go to cmd and type "cd c:/" and then wherever your sdk is located. Unless thats not what your talking about then idk =/
Update: It worked...but...bootloops so I had to push the original frameworkres and it booted up and when I re-pushed the one I edited it still gives me a bootloop
I've started building themes. Everything has worked fine so far. I themed my gmail apk blue. And have been working on framework-res.apk and SystemUI.apk and twframework-res.apk. Far from done but I've made changes to all three and pushed them to my phone no problem. Im using pirateghosts stock Rom space_pirate i believe is the Rom name
Sent from my SAMSUNG-SGH-I727 using xda premium
I'm using alien 5.5 and I'm still getting bootloops trying to push my modded framework-res apk.
The cake is a lie.

Categories

Resources