UOT Kitchen works on the Amaze - for some things. - HTC Amaze 4G

Observations:
I was skeptical at first because there are no QHD resolutions listed in UOT kitchen, but figured if I supplied the files, then it would maintain the resolutions in the files.
Must have all three files to upload for it to compile correctly...
1. SystemUI.apk
2. Framework-res.apk
3. com.htc.resources.apk
I've changed the battery indicatior, added statusbar icons successfully, and change the background to more transparent on the Notifications/Quick Setting pull-down. I've also successfully changed the lockscreen icons.
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?

Nope. Those are the files needed, one bit of advice though--triple check the operational file it uses.
I.E. For boot animation, use the CM file directory, not the suggested data/local. It may be something in the framework.res file that needs to be changed. UOT works for EVERYTHING, provided you make sure the operational file is correct upon submission.

jeepers007 said:
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Click to expand...
Click to collapse
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.

Ace42 said:
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Click to expand...
Click to collapse
Found it! Giving that a try.
Thanks!

Trust me, it works. I cannot remember off the top of my head (bit drunk) but UOT works on just about everything. You need to double check where each enabled visual/operational is WITHIN your choice of rom. Then, you can triple check UOT's placement of the modified file.

I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)

Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
Let me look into it when I get home...I might be able (time willing) download your current rom and cook it--or at least find where to zap the clock so you can do it to your liking.

My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.

Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
The clock is in the service.jar.. The kitchen won't work for that mod.

okay, I think I'm starting to get more comfortable with this kitchen.
I've got transparent status bar, and modified status bar icons.
Now, I'm looking for some help with another graphic. I unlock my phone for use with a pin. I see lockscreen in UOT only seems to modify the icons and gesture styles.
Where can I look to change the color of the numeric pin keys?

Spovik said:
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Click to expand...
Click to collapse
It is imperative that you open your rom .zip and extract:
com.htc.resources.apk
framework-res.apk
SystemUI.apk
All are found within your particular rom package. Upload via UOT's upload page. That is how their kitchen knows what to change and give you an individualized .zip to flash. If you want an in-depth explanation, PM me and I would be happy to go through the whole process step-by-step. Once you get the gist, it is easy as pie.
As for the clock, yea...it is under services.jar and UOT does not change that. There can be another way to delete it, if I have time today I will try to make a flashable .zip for just the clock delete--unless someone beats me to it.

Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.

Spovik said:
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Click to expand...
Click to collapse
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium

TheSneakerWhore said:
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.

Spovik said:
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Click to expand...
Click to collapse
As long as you pull the services.jar file out of the Rom you want to flash to, you are fine.
Sent from my HTC Amaze 4G using xda premium

Related

How to Theme?

So I have been reading a few theming guides but haven't been able to really understand them. It looks like with KB1, there is nothing but .xml files in the drawable folder. Am I only needing to edit these .xml's? Or is there somewhere I am not finding the .png's?
If anyone knows how to create custom themes please let me know, or direct me to a guide that will give me more information specifically for the Vibrant.
Strericsons guide is good, but it is old and outdated.
http://forum.xda-developers.com/showthread.php?t=667951 this guide is good too but I there aren't any theme files to start off with.
Any help will be appreciated, thanks!
I also plan on sharing the themes I create. They will be good
jzero88 said:
So I have been reading a few theming guides but haven't been able to really understand them. It looks like with KB1, there is nothing but .xml files in the drawable folder. Am I only needing to edit these .xml's? Or is there somewhere I am not finding the .png's?
If anyone knows how to create custom themes please let me know, or direct me to a guide that will give me more information specifically for the Vibrant.
Strericsons guide is good, but it is old and outdated.
http://forum.xda-developers.com/showthread.php?t=667951 this guide is good too but I there aren't any theme files to start off with.
Any help will be appreciated, thanks!
I also plan on sharing the themes I create. They will be good
Click to expand...
Click to collapse
The great majority of the .pngs are in the drawable-hdpi or drawable-hdpi-v4 folders.
As for theming in general, take a look at this: http://forum.xda-developers.com/showthread.php?t=916814
Also, I wouldn't call Stericsons guide, or anyone else's for that matter, outdated. There haven't exactly been major changes in the structure of APKs, so any guide that was applicable before should still be applicable.
Ok great thanks for the info. I didn't mean necessarily outdated, but the methods might have a few changes pertaining to them. I will take a look at that link you provided!
uhh.. I'm certain if I understand you correctly. You unzip one of KB1 Roms. Under \system\framework\, some basic files you need to focus is framework-res.apk, twframwork-res.apk, and services.jar. You have to extract these apks to see the corresponding pngs.
Here's an excellent REF from Master himeself:
http://forum.xda-developers.com/showthread.php?t=940692&highlight=apk+manager
xxxman999 said:
uhh.. I'm certain if I understand you correctly. You unzip one of KB1 Roms. Under \system\framework\, some basic files you need to focus is framework-res.apk, twframwork-res.apk, and services.jar. You have to extract these apks to see the corresponding pngs.
Here's an excellent REF from Master himeself:
http://forum.xda-developers.com/showthread.php?t=940692&highlight=apk+manager
Click to expand...
Click to collapse
Awsome! Thanks for this info, I remember seeing this but don't remember where, it was late at night. This is exactly what I needed!
Thanks
jzero88 said:
Awsome! Thanks for this info, I remember seeing this but don't remember where, it was late at night. This is exactly what I needed!
Thanks
Click to expand...
Click to collapse
I just want to mention that, while I don't want to knock his guide, if you have any real interest in theming, it's best to learn how to properly decompile and compile apks, not simply unzip them. His method is fine for changing out a few pngs, though.
MWBehr said:
I just want to mention that, while I don't want to knock his guide, if you have any real interest in theming, it's best to learn how to properly decompile and compile apks, not simply unzip them. His method is fine for changing out a few pngs, though.
Click to expand...
Click to collapse
Yeah definitely. I am just looking on getting my feet wet for now, edit a few simple things to get an idea of how its done. If I want to fully edit a ROM I'm definitely going to get under the hood and take a look
So being able to change colors of some status bar .png's has been successful. What I did was basically simple. I took an already modified battery stat update theme since I wanted to keep the settings from it (KA7-KB1-circ-ab-col-pm.zip) and modified the .png's from that. Added them back to the zip, and flashed. Did not need to resign at all. Took two minutes
Was able to edit the status bar color, but couldn't find the .png's for the pull down background color.
jzero88 said:
So being able to change colors of some status bar .png's has been successful. What I did was basically simple. I took an already modified battery stat update theme since I wanted to keep the settings from it (KA7-KB1-circ-ab-col-pm.zip) and modified the .png's from that. Added them back to the zip, and flashed. Did not need to resign at all. Took two minutes
Was able to edit the status bar color, but couldn't find the .png's for the pull down background color.
Click to expand...
Click to collapse
You'll never resign a framework no matter what you do. The background is actually in twframework-res.apk

Custom Framework Help...

Ok, so I've been trying to apply custom framework from a fellow xda member without success. I've flashed these metamorph files dozen of times and only half the icons show up, but the signal bars NEVER change, NEVER! It's so frustrating!! I just tried using the UOT Kitchen to see if that worked and it didn't. For gingerbread ROMs you have to upload systemUI.apk, com.htc.recourses and framework-res.apk which seems to take care of all the icon locations. After flashing the zip on first boot it shows the new signal bars for a few seconds, then switches back to the ugly stock 4 bars.
Does anyone have any idea what the problem may be? I figured uploading all three files I listed above would take care of the stupid signal bars, but once again I was wrong. Any help/advice/ideas is greatly appreciated.
Mods I apologize if this is in the incorrect section.
WormDoes said:
Ok, so I've been trying to apply custom framework from a fellow xda member without success. I've flashed these metamorph files dozen of times and only half the icons show up, but the signal bars NEVER change, NEVER! It's so frustrating!! I just tried using the UOT Kitchen to see if that worked and it didn't. For gingerbread ROMs you have to upload systemUI.apk, com.htc.recourses and framework-res.apk which seems to take care of all the icon locations. After flashing the zip on first boot it shows the new signal bars for a few seconds, then switches back to the ugly stock 4 bars.
Does anyone have any idea what the problem may be? I figured uploading all three files I listed above would take care of the stupid signal bars, but once again I was wrong. Any help/advice/ideas is greatly appreciated.
Mods I apologize if this is in the incorrect section.
Click to expand...
Click to collapse
Driving me nuts too. Gladly buy someone a 12 pack (donate) if you can get me Gtalk, Gmail, Messages and Mail Color Icons like HERE
I posted my problem in the UOT thread in android development section. Hopefully someone can figure this out. I just don't understand why if you have to upload all 3 files where the HTC stock icons are why they don't change. It's mind boggling
Could not agree more.
Friendly bump
Is UOT setup for the Thunderbolt? Meaning will it replace the right signal bars, etc? Doesnt sound like it. Just use 7zip and replace the images yourself.
mbh87 said:
Is UOT setup for the Thunderbolt? Meaning will it replace the right signal bars, etc? Doesnt sound like it. Just use 7zip and replace the images yourself.
Click to expand...
Click to collapse
It's set up for gingerbread sense, so I think that it should work. AFA replacing icons manually, I don't know how to do that, you should know considering I tried it with your framework and had no luck I just don't understand why the new icons show up for a few seconds then they switch to the stock icons.
Yeah but they probably don't have it set up for Tbolts gingerbread. The signal bars are more than likely named different than the other phones.
That's understandable, but why would the new signal icon show up for a few seconds then disappear?
Also, since you're very familiar with this, could you post in here or pm me the name of all the signal/wifi/3G/battery icons and where they're located that need to be changed in order to get custom icons working properly? Or if there's a list you know about could you please link me to it?
WormDoes said:
Also, since you're very familiar with this, could you post in here or pm me the name of all the signal/wifi/3G/battery icons and where they're located that need to be changed in order to get custom icons working properly? Or if there's a list you know about could you please link me to it?
Click to expand...
Click to collapse
Battery is in framework-res.apk/drawable-hdpi (Example - stat_sys_battery_0). Signal/wifi/3G is in SystemUI.apk/drawable-hdpi (example - 3G ICONS -stat_sys_data_connected_3g and cdma_sys_data_connected_3g WIFI -stat_sys_wifi_signal_0). BUT, if you use any of the BAMF toolkit edits they will override the SystemUI.apk. You would have to modify the eSystemUI.apk and dSystemUI.apk. They are located in system/etc/scripts. Hope this helps ya out a little bit.
lilcdroid said:
Battery is in framework-res.apk/drawable-hdpi (Example - stat_sys_battery_0). Signal/wifi/3G is in SystemUI.apk/drawable-hdpi (example - 3G ICONS -stat_sys_data_connected_3g and cdma_sys_data_connected_3g WIFI -stat_sys_wifi_signal_0). BUT, if you use any of the BAMF toolkit edits they will override the SystemUI.apk. You would have to modify the eSystemUI.apk and dSystemUI.apk. They are located in system/etc/scripts. Hope this helps ya out a little bit.
Click to expand...
Click to collapse
Wow, this seems crazy hard. I'm going to give it a shot, though. Thank you for telling me where they are located
WormDoes said:
Wow, this seems crazy hard. I'm going to give it a shot, though. Thank you for telling me where they are located
Click to expand...
Click to collapse
I personally replace the battery images only. I was in total shock when I first started but now I can do it within minutes.. The one thing I don't know how to do is edit the xml files which you have to do in order for the icons to display properly. So in other words the stock battery only has 5 or 6 images but if you use a rom or theme that has a % (which I hate) it would have 101 images I believe.. so what I do is pull the xml/image files from a stock theme and place them in the rom I want. I'm not sure how to replace signal bars but pm me if you need help with battery.
It sounds way harder than it is
Sent from my ADR6400L using XDA App

How do you people do it?

Sooooo basically I've never actually gotten all technical with the the theming on android. Nothing legit like you guys. But isn't it just a series of file replacements? Im an artist and have spent all my life drawing n such, and if someone would show me what to replace and how to safely do it I would give then whatever they need to release a flashable theme if anyone likes It. Im a very picky person. I like change on my phone baaddddd. If shown how; expect to see new themes like every other week if possible (depending on how difficult it is). Along with wallpapers that I usually spend hours trying to find.
Any takers?
Use search. I found some great links in this forum alone on theme creation.
Sent from my DROID X2 using xda premium
I'm new to theming, but for my theme, UOT Kitchen helped me out! The only downside is that you can't do status bar, boot animation, or lock screen. There's a thread for UOT Kitchen some where around this forum. But your right, just file replacements. Look under the systemUI.apk and framework-res drawable-hdpi files with 7zip (or something similar). You can edit the images without unzipping the file!
I started with a UOT Kitchen file and added/changed stuff in the file. If you can't find an image or need help with changing something, try asking the ROM creator, the would probably know where the stuff is in the ROM.
If you fail, try and try again! I epically failed my first time and SBF a couple times because I was an idiot. Then I asked some questions and got started the right way. But make sure you do a back up before you flash a new file. I learned the hard way. A file can look fine to the phone at first, then it deletes everything it should, and then starts to copy files over like normal until a part of the file is bad. Then you have to SBF or restore.
Backing up is easy, just go into recovery and go to advanced, then back up, and choose to put the back up file under internal or external SD card. I do external, just my preference.
Sent from my DROID X2 using XDA App
A lot of it is file replacement. However to change some of the colors such as text and the color of the volume indicator (those are the only ones that I can think of right now) will involve replacing the color hex values in XML files. In order to get the xml files in a readable/editable format you'll need to use apkmanager or apktool. Those are used to decompile the apk packages. You can then edit what you need to (including images) then re-compile the package. Search around in this themes forum for Navenedrobs post about android tools. He includes a download for apkmanager, apktool and some other necessary tools. I use apkmanager myself.
I also use 7zip for some small edits as mentioned in the last post but I prefer to decompile then edit. Apkmanager makes it easy to then optimize the images prior to recompile.
Oh another that required xml edits for colors is AOSP calendar. Not too many images in there but lots of colors are defined.
Here's a link to naven's android tools post.
http://forum.xda-developers.com/showthread.php?t=1261198
Theming is time consuming... its not quite as easy as simple image replacement especially on stretchable images also known as 9 pngs ... also if u want to start creating your own images that too could get tricky as u will need to use a program like gimp or another photo editing program.. gimp is the best in my opinion... sometimes it is necessary to add layers when creating your own images.... Hedwig... do use draw 9 patch for your. 9 pngs.... if not how do u edit those... I use apk manager to decompile and recompile each apk.. just curious if u know of a better tool for editing the. 9 pngs .. neways the way I started theming is with 7 zip... I went in and changed the images regular pngs and then tested it out uot kitchen is a good start but u r limited as far as how much u can theme
Sent from my DROID X2 using XDA App
Kevin3328 said:
Hedwig... do use draw 9 patch for your. 9 pngs.... if not how do u edit those... I use apk manager to decompile and recompile each apk.. just curious if u know of a better tool for editing the. 9 pngs ..
Click to expand...
Click to collapse
If you decompile the apk the 9.png images gain the one pixel border where the patch is drawn. I'm just careful not to edit any of the black pixels around the edges. When you re-compile the border is lost (values of those are stored). So, no, I don't use draw 9 patch at all. If you're making new images that you plan to compile into the apk the you can just draw the patches in gimp, photoshop, or whatever you use. Just remember to add a one pixel border all around to the size of your new image.
So, XGrinder911. Any of this discussion helping out or are we all just blah, blah, blah?
Well I was considering Adobe Illustrator? Might that program work to create images? And so I get this apk manager, it decompiles and whatnot then I edit the files. Recompiles and voila theme? I get using apk manager on like the calendar cause its an actuall app but what about things like the status bar n notification pull down? they are in serious need of a make over.
And I tried using the kitchen. Didn't work out for me. Got my loving boot loops. Even when replacing the framework res apk.
Ooohhhh! Is It that? That's the apk?
PS- Hedwig your my new best friend.
IDMA.DROID.X2 said:
I'm new to theming, but for my theme, UOT Kitchen helped me out! The only downside is that you can't do status bar, boot animation, or lock screen. There's a thread for UOT Kitchen some where around this forum. But your right, just file replacements. Look under the systemUI.apk and framework-res drawable-hdpi files with 7zip (or something similar). You can edit the images without unzipping the file!
I started with a UOT Kitchen file and added/changed stuff in the file. If you can't find an image or need help with changing something, try asking the ROM creator, the would probably know where the stuff is in the ROM.
If you fail, try and try again! I epically failed my first time and SBF a couple times because I was an idiot. Then I asked some questions and got started the right way. But make sure you do a back up before you flash a new file. I learned the hard way. A file can look fine to the phone at first, then it deletes everything it should, and then starts to copy files over like normal until a part of the file is bad. Then you have to SBF or restore.
Backing up is easy, just go into recovery and go to advanced, then back up, and choose to put the back up file under internal or external SD card. I do external, just my preference.
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Just want to say you DO NOT go to advanced for backup(nandroid)
You go to backup/restore
just clarifying
Good luck OP....hope to see some awesome theme soon....don't give up PLEASE! !!
ashclepdia said:
Just want to say you DO NOT go to advanced for backup(nandroid)
You go to backup/restore
just clarifying
Good luck OP....hope to see some awesome theme soon....don't give up PLEASE! !!
Click to expand...
Click to collapse
Oh yeah! Your right! Sorry about that!
Sent from my DROID X2 using XDA App
Wasn't trying to "get on your case"
just wanted to clarify
Haha didn't even notice it. I make a backup everydayyyy (flashaholic).
Question: is there anything I can do about those lil lines that separate lists like in messaging and settings? I hate them and we all know on this phone's screen they basically become invisible while scrolling anyway. Get them out of here.
DX2 Eclipse 1.3
I used UOT Kitchen to color. Not sure what file you would change to take them away. Ain't no shame in being a flashaholic! I bootlooped my phone on purpose when I for bored
Ash, no worries. Glad you clarified. Don't know what I was thinking with the advanced haha
Sent from my DROID X2 using XDA App
To "take them away" can't u just make em the same color as the menu
XGrinder911 said:
Haha didn't even notice it. I make a backup everydayyyy (flashaholic).
Question: is there anything I can do about those lil lines that separate lists like in messaging and settings? I hate them and we all know on this phone's screen they basically become invisible while scrolling anyway. Get them out of here.
DX2 Eclipse 1.3
Click to expand...
Click to collapse
The file is in framework-res.apk
framework-res.apk\res\drawable-hdpi\dark_header.9.png
Do what ashclepdia said and change the color in the bottom of that image to match the top. You'll see what I mean when you look at the image.
(Or light_header.9.png if you're working with a light framework.)
hedwig34 said:
The file is in framework-res.apk
framework-res.apk\res\drawable-hdpi\dark_header.9.png
Do what ashclepdia said and change the color in the bottom of that image to match the top. You'll see what I mean when you look at the image.
(Or light_header.9.png if you're working with a light framework.)
Click to expand...
Click to collapse
What is this exactly? All I see is a long rectangle with a hint of blue at the bottom.
DX2 Eclipse 1.3
XGrinder911 said:
What is this exactly? All I see is a long rectangle with a hint of blue at the bottom.
DX2 Eclipse 1.3
Click to expand...
Click to collapse
That image is streatched across the width of the screen. Creating the menu item that has the blue line at the bottom.
Think of it as that image repeating over and over again side by side.
Sent from my DROID X2 using XDA App
hedwig34 said:
That image is streatched across the width of the screen. Creating the menu item that has the blue line at the bottom.
Think of it as that image repeating over and over again side by side.
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Wait so where exactly is this rectangle?
DX2 Eclipse 1.3
Its a vertical rectangle repeated over and over again to make a skinny little horizontal line?? Wow, that's deep.
DX2 Eclipse 1.3
I have a question too. How do you devs mod the build.prop? Is that mostly the difference between ROMs?
(Thought it would be better here instead if a new thread. Don't mean to thread jack)
Sent from my DROID X2 using XDA App
IDMA.DROID.X2 said:
I have a question too. How do you devs mod the build.prop? Is that mostly the difference between ROMs?
(Thought it would be better here instead if a new thread. Don't mean to thread jack)
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
No the differences between roms isn't mostly the build.prop
the build.prop can easily(usually) be modified using root explorer or similar.(I am having trouble editing the additions that kejar has made to build.prop tho. Never had this problem before. But its just the extra entries at bottom I can't change.
The biggest differences in roms come from the UI and system frameworks and scripts inside init.d
There are a few performance tweaks and edits u can make inside build.prop but ur.choices are kinda limited in what can be.done. even the line in eclipse build.prop that mentions raising the touch points recognized by the screen to 5 requires changes elsewhere in the "framework" to allow it to actually recognize that amount.

UOT Kitchen Help

Can anyone who is good with UOT Kitchen put together a walk-through? I was told it basically walks you through it, and to an extent it does, but it didnt work for me with my SystemUI and Framework-res from the UnNamed 1.3.1 ROM.
Sorry if this is a VERY Noob question but I'm having trouble with it.
I love the idea of being able to mod my own stuff without having to ask for everything. This is sort of asking to teach the horse to find water rather than giving it the water.
BTW this is the UOT kitchen I am referring to in case anyone is unfamiliar and wants to give it a go
http://uot.dakra.lt/kitchen/
What steps did you take?
I tend to upload the files first then proceed to adding the mods.
Did you pull the files off your phone or the zip file?
sent from the Dark Obelisk.
It was off my phone with ES File Explorer. I chose the mods i wanted to make then uploaded the files as the last step, sort of just going through the tabs in order left to right. Then I submitted it and waited, when it came up in the pick up section it said there was an error with it.
If someone can make a youtube video or something of them doing a successful mod? I think that can help, maybe also point out common mistakes or misconceptions people run into?
It seems like a very straight forward process but there seem to be several areas which can trip people up because its sort of a do-all tool for many devices and roms which don't necessarily interchange.
Edit:
I think I found my mistake, I've been playing with it and it seems I misplaced one file, I put twframework-res into the framework-res spot, i found framework-res and put that in the correct spot and the twframework-res into its spot.
Do I need to use all three files or will just framework-res do? I read in another post that you just need framework-res.apk for things like battery mods and other status bar items.
Edit2:
So I sort of got it to work, I did a custom battery and scroll bar but the overscroll glow didnt show up, not sure why.
There are a few screen shots of it and I'll up up the file if anyone likes it and wants to flash it, like I mentioned earlier I'm using UnNamed 1.3.1 so I'm assuming it should work with UnNamed ROMs. There is also a png of the battery, its the Jazzk one.
Normally just framework-res.apk and SystemUI.apk are used for dropdown menu, animations, icons etc.
I'm guessing twframework-res.apk falls into the same thing, involving itself in everything like com.htc.resources.apk does for HTC Sense devices.
The kitchen said to include twframework-res.apk if you are using touchwiz, which from what I understand is what UnNamed uses.... but dont quote me on that haha
Unless your on an AOSP like CM7 then yes your using using touchwiz.
sent from the Dark Obelisk.
AntwanL said:
The kitchen said to include twframework-res.apk if you are using touchwiz, which from what I understand is what UnNamed uses.... but dont quote me on that haha
Click to expand...
Click to collapse
if unnamed uses touchwiz 4.5, which i think it may, the reg tw-framework-res.apk won't work. You have to be sure its the stock tw launcher if your going to use the tw-framework file for UOTKitchen.
Enzopreme said:
if unnamed uses touchwiz 4.5, which i think it may, the reg tw-framework-res.apk won't work. You have to be sure its the stock tw launcher if your going to use the tw-framework file for UOTKitchen.
Click to expand...
Click to collapse
it doesn't
From what I've learned playing around with decompiling the different system framework apks the touchwiz-res.apk is used when editing SystemUI.apk and Settings.apk which includes icons from the status bar and the system menus. The framework-res.apk contains the battery icon and things such as that.

Theme Creation

I have tried UOT Kitchen before, always was unlucky at having flashing errors.
My question is this... If I take a flashable theme, with permission from the creator, I should be able to use the scripts that they include for flashing? I am savvy with un-APKing zipping, signing and what not, is that all I would have to do to recreate a theme using my own images?
Thanks to everyone here!
Yes, the script you see other themes using can be changed out with your own, as well as the content. You can also just use the UOT Kitchen script. Credit given where credit is due, of course, but the script itself (IMHO) is not something you really need permission for.
Another tip, this from firsthand experience, when you're zipping everything up getting ready to flash, make sure you're zipping the contents of the theme folder (/META-INF/ & /system/) vs zipping the theme folder.
It sounds really stupid, but it took me forever to figure out why everything I did in UOT Kitchen perfectly but everything I did, using the same damn script, just froze. But ya gotta learn somewhere, right?
Remember when using the kitchen make sure u click amend scripting in the area where u load the apks... x2 uses 2. Something recovery.. if u don't click that there will be errors everytime
Sent from my Galaxy Nexus using xda premium
Thank you, I think I've tried UOT 5 times but never had success.
Kevin, I tried the amend scripting, it solo didn't work.
I would much rather use my own images then those offered in uot kitchen.
I'm going to try to put a theme together this weekend, I haven't modded anything since BF2 wake island air show
Dee Ex Two - See Em Seven
Ok, how much do you know about themeing? Because if you are wanting to edit just the images(.pngs) you will need some info first...
You can "simply" take the framework-res.apk and systemUI.apk and go to the HDPI folder(or wherever the images are) and "drag n drop" to your desktop and edit those... OR you can take a .png that you wanna use(say one from another theme) and just drag n drop in the HDPI folder. And then, simply make a flashable .zip and your good to go.
.9s !!!
These are a PAIN if you dont know what you are doing.
If you are going to try and get into themeing, download APKManager and decompile the framework-res.apk ... go to a .9 image(i think its .png.9 or something of the like). When you load the image(say in GIMP) you will see black squares on the OUTSIDE of the image(like near the edges of the ACTUAL picture edge)... DONT TOUCH THOSE!!!! leave them there and make edits how you choose to the rest of the image. Once you are finished, just recompile(DONT SIGN AND YES! THESE ARE SYSTEM APPS!). Put in a flashable .zip and your set.
NOW Please note:
When you are doing the drag and drop method, make sure you are REPLACING an image and not ADDING more images.. catch the drift?
this is quick how to, hope it helps and good luck. let me know if you need anything else.
All the themes rock! I have poor eye sight (far sight) so my main concern always is status bar and the battery icon. I love being able to see the percentage, but some themes use smaller battery percentage text.
.9 seem like the stretchable area I'm beautiful widget... I understand that
Thanks Peperm1nt
Dee Ex Two - See Em Seven
I was thinking of trying out theming. That is until I looked at the crap load of images just thrown into one directory. lol. It may not be as hard as it looks but I havent looked any further than that yet. I still want to try something out though. Is there an easy way of figuring out what image does what on the phone? Like if I want to change some things, I have to know the name of the image. Well, to me, it looks like they aren't named plain and simple. Plus when they are just thrown into one directory its kinda hard to distinguish what is what. It was so much easier theming for webOS. lol
Js if u really look at the framework u will see all the images in the drawable hdpi folder are really a lot of the presses..tabs. status bar icons... over scroll glow theming takes a lot of time to build straight from scratch... any .9 PNG can be edited when it is decompiled in apk manager or apk multi tool just don't edit the black patch as peppermint said or u will not compile...
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
Js if u really look at the framework u will see all the images in the drawable hdpi folder are really a lot of the presses..tabs. status bar icons... over scroll glow theming takes a lot of time to build straight from scratch... any .9 PNG can be edited when it is decompiled in apk manager or apk multi tool just don't edit the black patch as peppermint said or u will not compile...
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yeah, one of these days ill download the tools and play with it. I've always enjoyed theming.
Sent from my MB870 using Tapatalk
I'm just trying to figure out the script to flash, is it the one in the google folder?
Dee Ex Two - See Em Seven
@js I know what you are saying about the desire to do it but the system isn't really what I would say themer friendly! Admittedly I am not the sharpest tool in the shade when it comes to some things (like the Android OS), so I would imagine that plays a big role in my intimidation of the whole thing.
What got me was the De-Compiling and Recompiling of everything just to change something. Not to mention the signatures and etc... perhaps one day someone will write a piece of software (be it windows based or Android in a shell on a PC) that will make it all pretty simple on that part. Till then I will prob. just enjoy and appreciate the work of others.
GL, Slim!
SlimMan said:
@js I know what you are saying about the desire to do it but the system isn't really what I would say themer friendly! Admittedly I am not the sharpest tool in the shade when it comes to some things (like the Android OS), so I would imagine that plays a big role in my intimidation of the whole thing.
What got me was the De-Compiling and Recompiling of everything just to change something. Not to mention the signatures and etc... perhaps one day someone will write a piece of software (be it windows based or Android in a shell on a PC) that will make it all pretty simple on that part. Till then I will prob. just enjoy and appreciate the work of others.
GL, Slim!
Click to expand...
Click to collapse
Yeah, I agree about the decompiling and recompiling thing. When I had a webOS phone I created my own theme just by simply replacing the images and restarting the phone. With android, it seems you have to take the whole framework out, theme it and recompile the package file and flash it to the phone. Just seems a bit overwhelming.
Sent from my MB870 using Tapatalk
It's not that bad if you are just changing the images... Just timely. I suggest gimp to do the work. Another tip, some of the images are indexed. In gimp change from indexed to rgb...back to indexed, then rgb. Reason being that you are now able to add any color and doing it twice clears the pixelation...
What gets hard is smali editing and .xml editing. Let me know if you need help there.
Tapin' the Talk on the xSquared
Send a PM to "KTT16" on the Motorola Photon Forums, he is a great themer, let him know what you need help with, tell him you are running stock on the X2, he'll ask you for whatever files he needs, and he will help out.
By the way, if you are at all interested in a signature image, I can create one for you, just PM me, and I'll get on it.
Peperm1nt said:
It's not that bad if you are just changing the images... Just timely. I suggest gimp to do the work. Another tip, some of the images are indexed. In gimp change from indexed to rgb...back to indexed, then rgb. Reason being that you are now able to add any color and doing it twice clears the pixelation...
What gets hard is smali editing and .xml editing. Let me know if you need help there.
Tapin' the Talk on the xSquared
Click to expand...
Click to collapse
I can batch process in PS.....and what is this bout clearing the pixelation...lol
Thanks I'll check it out
Dee Ex Two - See Em Seven
When you find a indexed image going to rgb pixelates the image...going back to indexed and then to rgb fixes this.
Tapin' the Talk on the xSquared
Peperm1nt said:
When you find a indexed image going to rgb pixelates the image...going back to indexed and then to rgb fixes this.
Tapin' the Talk on the xSquared
Click to expand...
Click to collapse
I was p playing with you, all my online gaming and forum names have always had pixel, pixelated, pixelation, pixelized or any variety of pixel
Edit: swyponese
Dee Ex Two - See Em Seven
I am trying this out for the 1st time. My main goal is to create a transparent status bar for CM7. Will this make that "patch" I need for this?
Kevin3328 said:
Js if u really look at the framework u will see all the images in the drawable hdpi folder are really a lot of the presses..tabs. status bar icons... over scroll glow theming takes a lot of time to build straight from scratch... any .9 PNG can be edited when it is decompiled in apk manager or apk multi tool just don't edit the black patch as peppermint said or u will not compile...
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
i seem to be a complete idiot lol
im sitting here trying to use apk manager and have no clue how to go about it
i cant get it to friggin pull files, i have no clue what im doing tho lol
i been trying to find info on how to use it with the x2 but cant find jack that is actually useful.
time to go eat, clear my head, and get back to researching, im probably just missing something extremely easy i knoow, but hey, i havent had a working computer in years so yea, im kinda learning on the fly here, lol
Lol @ash
In apkm select the apk you want, then decompile... Make edits, recompile.
Tapin' the Talk on the xSquared

Categories

Resources