UOT Kitchen Which files? - Verizon HTC Droid Incredible 4G LTE

Hello all
I have a rooted dinc4glte and I want to do 3 thigns
a) change the battery to one that has digits so I can drop a widget from my home screen
b) change my boot animation
and 3 change the default check marks to something with a bigger check. I have trouble seeing them.
so once I figure out whch files to upload to uot I can take the zip file from uot and find and mod the check boxes myself but which files odo i upload.
or soemoen can tell me which files i need.
also will i need to deodex the whole rom? i didn't need to on my stratosphere.
I had a Samsung with gb before and it was clear which 3 files but with sense htc its less clear

dcooterfrog said:
Hello all
I have a rooted dinc4glte and I want to do 3 thigns
a) change the battery to one that has digits so I can drop a widget from my home screen
b) change my boot animation
and 3 change the default check marks to something with a bigger check. I have trouble seeing them.
so once I figure out whch files to upload to uot I can take the zip file from uot and find and mod the check boxes myself but which files odo i upload.
or soemoen can tell me which files i need.
also will i need to deodex the whole rom? i didn't need to on my stratosphere.
I had a Samsung with gb before and it was clear which 3 files but with sense htc its less clear
Click to expand...
Click to collapse
On the bottom of the file upload page, under NOTE 1, UOT says which files to upload for ICS Sense. You'll upload the Systemui.apk, the framework-res.apk. and the com.htc.resources.apk. Also, UOT says that it has support for odex roms, but traditionally you would use a de-odexed rom. There is a rooted de-oedexed .605 stock rom in the android development section.

Related

[Q] Battery Percents

I'm trying to get the stock battery percent icons into adrynalyne's basic debloat
I've swapped icons before, but I can't seem to get any battery icon showing with this rom.
1. I went into framework-res.apk ->res-> drawable ->
I changed stat_sys_battery.xml with that xml file from other roms that had 100 icons (das bamf 1.2 and also tried from the Perfect Storm rom)
2. I added to the drawable-hdpi folder the 100 battery stat icons from the Perfect Storm rom (I liked chingy's icons)
I have no battery icons at all in the notification bar now, just a space where an icon should be. What am I doing wrong? Any help in the right direction would be appreciated thanks
EDIT: This has been fixed, see my post below http://forum.xda-developers.com/showthread.php?p=12792718#post12792718
+1 on this.
I have themed many ROM's and edited countless XML files and could not get this to work. I went as far as decompiling the framework and typing the extra lines of code in the battery.xml but still could not get it to work.
if you are rooted ( i am assuming so)
pull the framework-res.apk
go to this site------- http://uot.dakra.lt/kitchen/
create whatever battery icon you want in the kitchen
upload your apk file
wait for the kitchen to cook your file (takes about 10 mins)
download and flash in CWR
racinwarrior said:
if you are rooted ( i am assuming so)
pull the framework-res.apk
go to this site------- http://uot.dakra.lt/kitchen/
create whatever battery icon you want in the kitchen
upload your apk file
wait for the kitchen to cook your file (takes about 10 mins)
download and flash in CWR
Click to expand...
Click to collapse
I have a replacement Thunderbolt in the mail for tomorrow, I'll try it tomorrow and post if it worked with this rom thanks
smoothjeff said:
I have a replacement Thunderbolt in the mail for tomorrow, I'll try it tomorrow and post if it worked with this rom thanks
Click to expand...
Click to collapse
PM me, I have the smooth sense icons images that i'm trying to port over to any ROM but can't seem to get it right
Since I got my tbolt back, I've decided to stick with the stock rooted odexed software.
I tried the same process as in my original post.. I'm trying to change the battery icons (not changing the charging icons though) and no matter what I do theres just a blank space where the battery icon should be. I tried using a different set of png's and same problem. Does anyone have any idea what I'm doing wrong?
racinwarrior said:
if you are rooted ( i am assuming so)
pull the framework-res.apk
go to this site------- http://uot.dakra.lt/kitchen/
create whatever battery icon you want in the kitchen
upload your apk file
wait for the kitchen to cook your file (takes about 10 mins)
download and flash in CWR
Click to expand...
Click to collapse
I tried with only a battery mod (stock odexed) and the phone force closed like crazy, when I changed the xml and png's myself I had no issues other than the battery icon not showing
any luck i already have the icons i want to use just need to know how to change form increments of 1 to increments of 10
I believe signal23's framework has the smooth battery icons. Also are you decompiling/compiling the framework correctly when you are getting no battery showing? For increments of 10 you just need to edit the stat_sys_battery.xml so it only reports in increments of 10.
mob87 said:
I believe signal23's framework has the smooth battery icons. Also are you decompiling/compiling the framework correctly when you are getting no battery showing? For increments of 10 you just need to edit the stat_sys_battery.xml so it only reports in increments of 10.
Click to expand...
Click to collapse
i havent been decompiling/compiling, i just opened the apk with winzip and dragged and dropped the files overwriting the old ones. i use a stat_sys_battery.xml to report increments of 1 since im using 100 icons, put in the 100 icons in the drawable-hdpi folder, put it through an update zip, and the phone worked the same, just no battery icon at all showed up
smoothjeff said:
i havent been decompiling/compiling, i just opened the apk with winzip and dragged and dropped the files overwriting the old ones. i use a stat_sys_battery.xml to report increments of 1 since im using 100 icons, put in the 100 icons in the drawable-hdpi folder, put it through an update zip, and the phone worked the same, just no battery icon at all showed up
Click to expand...
Click to collapse
Frameworks can be very sensitive. Double check that you are replacing with icons of the same size. Also, double check all file names (I once had one file with capital extension mess it all) and double check the xml. Whenever I had a disappearing battery indicator it was due to something small like that. One way to debug this is to start with the original and only replace a few of the icons (make sure it's around your charge level). Keep adding modifications until you find the offending file.
FIXED
I found a fix. When you change from the stock number of icons to 100 icons, the stat_sys_battery.xml is assigned a new resource_id in the file resources.arsc see: http://www.droidforums.net/forum/droid-hacks/12834-compiling-xmls-system-level-mods-2.html
The first time I tried UOT kitchen I got all kinds of force closes, so this time I unchecked the Patch9 autofix (not sure if that made any difference) and I used the stock icons instead of custom ones. This finally worked.
After I got this to work, I ported the battery icon's from chingy51o's Perfect Storm rom (the colors are closer to stock than UOT Kitchen's icons)
Attached is an update.zip to put chingy's battery icons into a stock rooted Thunderbolt, thanks to chingy51o and UOT Kitchen. Please make a full backup of your system before applying this, I am not responsible if this bricks your device
I installed this and am loving it but upon boot I'm getting an amazing amount of Force Closes.
Including, but not limited to:
Gmail
Google Search
HTC DM
Internet
Also tried applying a wallpaper and got "Warning: Phone Storage is Full"
I just tried doing it myself using http://uot.dakra.lt/ and after booting I kept getting the same force closes and errors :/
Any help?
No one?
Sent from my ADR6400L using XDA App

[Requests/Collection/Tool] Sense 3.0 Lock Rings [Lock Ring Kit] - Update 10/18/11

My laptop was stolen recently so I won't be able to help anyone out until I can get a new one. Thanks for stopping by though.
This is no longer a tutorial, just a simple user friendly Lock Ring Kit.
Please download the updated kit at the bottom of this post.
I will also take requests here for anyone who doesn't want to mess with it.
Since people are still rocking 2.3.3 ROMs, please specify if your ROM is 2.3.3 or 2.3.4 when making a request. There are subtle differences.
Also you have a few rosies to choose from, let me know which one you want. If you don't request something specific, I'll just make the default rosie. Rosie choices attached at the bottom of this post. If you would like a rosie I don't have here, let me know and I'll see what I can do to add it to the kit. Also, I've played around a little with themes enough to feel comfortable to help out wherever I can. So if you have a request that is not related to my kit, I still may be able to help you out.
All 2.3.3 requests I've done are posted on Post# 3 and Post# 4
2.3.4 version requests are posted on Post# 125 and Post# 126
Thumbnail gallery of all the Lock Rings I've made HERE
Links to my Lock Ring folders on Box.net
2.3.3 Lock Rings
2.3.4 Lock Rings
2.3.4 Lock Rings - Transparent Rosie
2.3.4 Lock Rings - Red Outline Rosie​
First of all, this is intented for Deodexed ROMs on the EVO 3D. Other qHD devices may work as well but I cannot guarantee. For devices such as the EVO 4G (WVGA), use one of the tutorials below . While these mods have been working flawless on several ROMs, there is the occasional error. Just to be safe MAKE A NANDROID to go back to if something goes wrong. If you don't read up and just flash something, lock ring mods or any other, and something should screw up, you can't be mad at anyone but yourself if you've got nothing to go back to.
With this method, your ring will only show up on the default skin or the HTC supplied skins, Burgundy and BlueSky. Every custom skin has its own lock ring which overwrites the default. If you have a custom skin installed and would like a custom lock ring, go to my second post for a mini tutorial on editing custom skins.
---------------------------------------------------------------------------------------------------​
I originally learned how to make these from this thread: [Tutorial] Sense 3.0 Custom Lock Ring Kit so big thanks to jmaher1023 for that.
Another thread to check out is [TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G) by gamendorf. *Thanks gamendorf for the help with the batch file.
Also, you should stop by this thread [DEV-TOOLS] [MODE10] Mode10Tools now released ! and give thanks to Flemmard and Diamondback2010, the devs of the m10 tools that make all this possible.
---------------------------------------------------------------------------------------------------​
As Posted by Diamondback2010 in the m10 tools thread:
System-Requirements
You need a working .NET 4 Framework installation to run the M10Editor.
m10decoder and m10encoder should run in console-version without anything special.
Click to expand...
Click to collapse
---------------------------------------------------------------------------------------------------​
Instructions
1. Unzip the attached Lock_Ring_Kit_2.3.3.zip or Lock_Ring_Kit_2.3.4.zip to your C drive (C:\Lock_Ring_Kit_2.3.3) or (C:\Lock_Ring_Kit_2.3.4)
2. Pick your image and resize it to 271x270. For the image to show up correctly you have to rotate it 180 degrees and mirror it. Your image must be saved as a .png
3. Save your edited image as LockRing.png and move it to the root of your Lock Ring Kit
4. Run the batch file for the Rosie you want (look in "Rosie Screenshots" folder to decide)
5. A flashble zip file will be created at the root of your Lock Ring Kit. Rename it, sign it if you want, move it to your SD Card and flash in recovery
E3D_Lock_Ring_Kit_2.3.3.zip
Dropbox Mirror
E3D_Lock_Ring_Kit_2.3.4.zip
Dropbox Mirror
Recent Changes:
Added in Red Outline to the rosie choices
*Not that anyone actually reads the entire first post, but just for your information, making Lock Rings for GSM and Sense 3.5 is not possible yet. As of right now m10 tools is unable to decompile these m10 files. Until we get a m10 tools update for these we have no way to edit.
The above comment was really nothing more than a speculation. I went ahead and asked the devs of the m10 tools if they could confirm what I thought and this was his answer...
Diamondback2010 said:
Well yea, I have to leave you here without hope
This fusion apk uses the new type 14 images. There is no way atm to decode them
You just have to wait as well as the sense 3.5 crowd
Click to expand...
Click to collapse
Big Thanks to Donators:
-NascarKid
-nuggyunlimited
-Foxworth
This is a quick tutorial for anyone who wants to edit just the lock ring of a custom skin. Honestly it's more to get you playing with M10Editor.exe.
Again, pick your image, resize it to 271x270, rotate 180 degrees, and mirror.
Inside the M10_Tools folder there is M10Editor.exe.
1. Open M10Editor.exe.
2. Click the Load File button and choose the skin.apk you want to edit.
3. Go to the m10 files tab and highlight the only m10 file shown (usually shared.m10)
4. Check the Decode Images check box.
6. Click the Decompile/Show button.
7. Once clicked, you'll be moved to the Editor tab.
8. Expand by clicking the arrow next to shared.m10.
9. Continue to expand until you expand Textures.
10. Scroll through Textures until you see the default (or sometimes modified) lock ring image.
11. Right click the image and choose Show in Explorer.
12. The image will already be highlighted when the explorer opens, copy the name of the highlighted file.
13. Change the name of your image to the one you just copied and drag or copy your image inside to replace it.
14. Close the explorer and go back to the Start tab in M10Editor.exe.
15. Click the Save File button. If you want to change the name of the apk when prompted, go ahead.
16. Sign the apk and install through a file explorer.
Sometimes you have to reboot for the lock ring to show.
Personally when I edit a skin, I also edit my ROMs fusion.apk and Idlescreen_Base.apk in order to remove traces of the default ring. Some ROM creators mod these apks for their ROM. If you know for sure that your ROM does not have a modded fusion.apk and Idlescreen_Base.apk you can simply use my lock ring kit to make your lock ring. If your ROM does have a modded fusion.apk and Idlescreen_Base.apk you should pull those files from the ROM and use M10Editor.exe to edit those files directly. The only m10 files you need to edit are the Default shared.m10 in fusion.apk and Lock_ring_motion.m10 in Idlescreen_Base.apk.
Requests
For 2.3.3 ROMs. If your on 2.3.4 and see something you like, post or PM me to get it converted. Or read the tutorial and attempt it yourself.
For 2.3.3 ROMs. If your on 2.3.4 and see something you like, post or PM me to get it converted. Or read the tutorial and attempt it yourself.
same here...
aannd another
And Ill join if thats ok with you guys!
And one more since Im on a role!
Does decompiling m10 files multiple times decrease the quality of the images in them?
triscuit1983 said:
Here's a quick tutorial of how to make lock rings for those who want to learn.
First of all, this is intented for Deodexed ROMs only. Also, with this method, your ring will only show up on the default skin. If you have a custom skin installed and would like a custom lock ring, go to my second post for a mini tutorial on editing custom skins.
I originally learned how to make these from this thread: [Tutorial] Sense 3.0 Custom Lock Ring Kit so big thanks to jmaher1023 for that.
If you want to, watch the video tutorial to get an idea of what to do.
DO NOT download the Lock Ring Kit attached in that thread, because the files included are not for qHD.
I've included a modified Lock Ring Kit for E3D here: E3D_Lock_Ring_Kit.zip
The E3D Lock Ring Kit and tutorial are about the same as jmaher1023's tutorial, but I changed the process and folder organization a little to hopefully simplify things.
Also, you should stop by this thread [DEV-TOOLS] [MODE10] Mode10Tools now released ! and give thanks to Flemmard and Diamondback2010, the devs of the m10 tools that make all this possible.
If you don't already have one, download an archiver like 7zip or WinRAR. I use 7zip.
To keep things simple, unzip the attached E3D_Lock_Ring_Kit.zip to your C drive (C:\Lock_Ring_Kit)
Inside the Lock_Ring_Kit you will see 3 folders (Copy Contents to Working, M10_Tools, Working), a zip file (Base_Lock_Ring.zip), and a doc file (Names & Commands.doc).
Now pick your image and resize it to 271x270. For the image to show up correctly you have to rotate it 180 degrees and mirror it. Save the edited image to a place of your choosing.
Now your ready to start creating the lock ring.
This is my method, step by step:
1. Open your Lock_Ring_Kit folder and (obviously) copy the contents of the Copy Contents to Working folder to the Working folder.
2. Open your Working folder and copy your edited image to the following folders - BlueSky1,Burgundy1,Default1, and Lock_ring_motion1.
3. Open the Names & Commands.doc and rename your copied images to the PNG Names. After renaming the images, move them into the inner folder and replace the existing image (eg. move the BlueSky png into BlueSky1\shared).
4. Open command prompt and change directory to C:\Lock_Ring_Kit\M10_Tools.
5. Go back to the Names & Commands.doc and copy and paste each of the m10 Commands into comand prompt and hit enter. This will compile new m10 files with your image inside.
6. Now you have to copy the newly compiled m10 files to their correct location within the Base_Lock_Ring.zip. The newly compiled m10 files are
in folders BlueSky(shared.m10), Burgundy(shared.m10), Default(shared.m10), and Lock_ring_motion(Lock_ring_motion.m10).
7. Copy the Base_Lock_Ring.zip to the Desktop or anywhere else you'd like.
7. Use 7zip (or WinRAR) to open Base_Lock_Ring.zip (eg. Right click>7-Zip>Open Archive)
8. Navigate to \system\app\fusion.apk\assests\BlueSky\drawable and drag your newly compiled shared.m10 file inside to replace the existing shared.m10. Do the same for Burgundy and Default. Use the back or folder up button to update the apk. A prompt will come up asking if you want to continue.
9. For Idlescreen_Base.apk, navigate to \assests\scenes\base and drag your newly compiled Lock_ring_motion.m10 inside to replace the existing Lock_ring_motion.m10. Back out to update the apk, and close the archiver.
That should be about it. You can rename the Base_Lock_Ring.zip to whatever you like. I'd say go ahead and sign the zip, but thats up to you. Put the zip on your SD Card, go into recovery and flash.
Click to expand...
Click to collapse
When doing step 3, if using Vista or Windows 7, make sure to omit the .png extension when renaming your edited image from the word document. You will end up with a .png.png and nothing will have changed.
Rydah805 said:
Does decompiling m10 files multiple times decrease the quality of the images in them?
Click to expand...
Click to collapse
Not that I've seen so far. But with the files I've provided in the E3D Lock Ring Kit, your only compiling. I've included the decompiled files for you to add your image and compile. Unless your talking about m10 files in general and not specifically the files I've included?
ducky1131 said:
When doing step 3, if using Vista or Windows 7, make sure to omit the .png extension when renaming your edited image from the word document. You will end up with a .png.png and nothing will have changed.
Click to expand...
Click to collapse
In that case, you can simply delete the .png part in your Names & Commands.doc. I show all file extensions on my computer and I copy and overwrite the whole name, extension and all. If you want to show file extensions to be able to see .png on your image name, go to Folder Options in your explorer, go to the View tab, scroll down and uncheck "Hide extensions for known file types".
Here is a black Chevy logo I made for a friend using your lock ring kit, thought I'd share
Black Chevy Logo Lock Ring
Is there a way to edit the rest of the lock screen? Like the bar at the bottom where the lock ring sits on? I see what looks like the png for it in the images in the default, bluesky, and burgandy folders. I tried editing them and compiled them back to shared.m10 and ten flashing the zip but it didn't work. I was able to edit the background of the clock on the home screen this way and it worked but again I was unable to get the same result for the stuff at the bottom (the bar and soft buttons). Is there another place where these are edited or am I doing something wrong?
mikeaveli007 said:
Is there a way to edit the rest of the lock screen? Like the bar at the bottom where the lock ring sits on? I see what looks like the png for it in the images in the default, bluesky, and burgandy folders. I tried editing them and compiled them back to shared.m10 and ten flashing the zip but it didn't work. I was able to edit the background of the clock on the home screen this way and it worked but again I was unable to get the same result for the stuff at the bottom (the bar and soft buttons). Is there another place where these are edited or am I doing something wrong?
Click to expand...
Click to collapse
I'm thinking that is probably within Rosie.apk but I don't really know. This m10 file stuff is new to me and I'm slowly learning. m10 files are reminiscent of cab files on windows mobile to me. I'm hope someone who has been doing full themes can comment on this.
triscuit1983 said:
I'm thinking that is probably within Rosie.apk but I don't really know. This m10 file stuff is new to me and I'm slowly learning. m10 files are reminiscent of cab files on windows mobile to me. I'm hope someone who has been doing full themes can comment on this.
Click to expand...
Click to collapse
Ahhh thanks, i'm poking around in there and that looks more like what I was looking for. Hmm so I wonder what all those png files in the m10 files in fusion are for.... Thanks for pointing me in the right direction though hopefully thats all I need.
Can one of you guys make an Indianapolis Colts lockring? Everything I make comes out looking like ass.
ducky1131 said:
Can one of you guys make an Indianapolis Colts lockring? Everything I make comes out looking like ass.
Click to expand...
Click to collapse
Will this work?
Colts_Lock_Ring-signed.zip
thanks.....
Thanks a bunch for the tutorial! I made one for the guys...its a singe upper female anatomy part so I wont post it here...but it is pretty fully to drag it out into the screen If anyone is interested pm with your email. Not sure if im permited to host it here somehow so I wont. Working on other ones so I will update when I make some cool ones.
triscuit1983 said:
Not that I've seen so far. But with the files I've provided in the E3D Lock Ring Kit, your only compiling. I've included the decompiled files for you to add your image and compile. Unless your talking about m10 files in general and not specifically the files I've included?
Click to expand...
Click to collapse
Sorry, I'm speaking in general...?

[Q] How to create theme for custom rom ?

After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
nikctsh said:
After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
Click to expand...
Click to collapse
Here's what I know so far. I'm still trying to learn as much as I can:
1) If you are making a theme by trying to replace pngs in an existing framework-res.apk file, you can do this: open the apk file within your zip program, and edit the apk there (so you'll have two zip windows open. Once the apk is updated, close the most recent zip window. The first zip window should recognize that you've updated the apk file, and ask you to update the first zip window.
I've been playing around with this: http://forum.xda-developers.com/showthread.php?t=1432152
What it allows you to do is modify the files in Windows Explorer (or whatever file explorer you're using), and then let the script do the rest of the work for you. The actions it can do are: decompile apk, recompile apk, sign apk, created update.zip.
The xml files need to be edited if you want to achieve certain effects. For example, in the Gingerbread theme there are some edits that have to be made to a few xml files in order to achieve white text on black backgrounds on the popup menus. The nice thing about the framework flasher link from above is that it 'compiles' the files (meaning it will check if the .9.pngs are correct, and if your xml files point to correct assets), so you can go about doing xml edits and stuff without fear of bootlooping.
2) Yes, this should work.
3) If the updater script is a generic script (that is, it moves everything from the /system folder to /system, and /data to /data), then you can create directories in the update.zip that refer to whatever apk you want to replace, with the same structure as in Android. The cool thing about Metamorph, from what I gather, is that you can create folder structures with just the assets you want to replace, rather than the entire apk. This means that if you want to replace just a few images in Phone.apk, for example, you create a directory in the Metamorph script under /system/app/Phone/res/drawable-hdpi and add the images you want to replace in there. I think that's the way I want to create my themes from now on, I just need to figure out how to do it correctly
I tried the framework flasher , after located the framework-res.apk and run RunMe , it shows echo is off , the log process shows 'java' is not recognized as an internal or external command,
operable program or batch file.
Do you have Java installed?
Mioze7Ae said:
Do you have Java installed?
Click to expand...
Click to collapse
No , I have no Java installed . Tried to install before but couldn't get the right version .
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
3rdstring said:
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
Click to expand...
Click to collapse
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
nikctsh said:
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
Click to expand...
Click to collapse
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
3rdstring said:
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
Click to expand...
Click to collapse
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
molohov said:
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
Click to expand...
Click to collapse
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
3rdstring said:
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
Click to expand...
Click to collapse
The reason I ask is b/c I tried pushing a modified Phone.apk to CM6, but it didn't pick up any of the changes I added (images only). It made me think that the assets were already prebuilt in the odex file, so changing the apk wouldn't do anything unless the odex file was changed too.
I also tried applying a metamorph script on top of the odex ROM, but it caused a lot of fcs. I think it's b/c of the ODEXing too.
EDIT: My bad. Phone.apk is the calling screen, Contacts.apk is the dialer + contacts. DOH!!!
My edits are pushed correctly

add 1% battery mod to odexed stock rom?

Can anyone tell me if its possible to add the 1% battery mod to a stock odex ics rom? I have a moto razr maxx. Is there a way i can mod this myself? I tried uot kitchen but it only shows increments of 10% on my phone.
Thanks!
Yes, it can be done. My phone's ROM is the stock odexed ROM and I have 1% battery increments. You need to edit framework-res.apk, you can use apktool or APK Multi Tool or whatever to unpack the APK, and rebuild it afterwards. To get 1% battery, you need to edit/replace some XMLs.
I'll try find a link to show how the XMLs should be and some commonly used icons.
EDIT: Here: http://forum.xda-developers.com/showthread.php?t=724778
Find a style you like, download it and copy the two folders from inside into the "res" folder in your unpacked APK, overwriting any existing files (you may need to rename the drawable-hdpi-v4 folder depending on your phones resolution)
But UOT should work. Make sure in the "battery" section you changed at the top from "Custom battery" to "SCB with %" and then selected the style you want.
SifJar said:
Yes, it can be done. My phone's ROM is the stock odexed ROM and I have 1% battery increments. You need to edit framework-res.apk, you can use apktool or APK Multi Tool or whatever to unpack the APK, and rebuild it afterwards. To get 1% battery, you need to edit/replace some XMLs.
I'll try find a link to show how the XMLs should be and some commonly used icons.
EDIT: Here: http://forum.xda-developers.com/showthread.php?t=724778
Find a style you like, download it and copy the two folders from inside into the "res" folder in your unpacked APK, overwriting any existing files (you may need to rename the drawable-hdpi-v4 folder depending on your phones resolution)
But UOT should work. Make sure in the "battery" section you changed at the top from "Custom battery" to "SCB with %" and then selected the style you want.
Click to expand...
Click to collapse
what phone do you have? i already tried the uot and it will not work. from what im understanding you would need to edit the systemUI.odex file to allow for battery % but i have no clue how to do it.
fix-this! said:
what phone do you have? i already tried the uot and it will not work. from what im understanding you would need to edit the systemUI.odex file to allow for battery % but i have no clue how to do it.
Click to expand...
Click to collapse
I have an HTC Explorer. But I believe the battery icon is stored in framework-res.apk, and not SystemUI.apk, so SystemUI.odex shouldn't be a problem (SystemUI.odex is the odex file of SystemUI.apk - you can't edit odexed apps, you would have to deodex SystemUI.apk first; this means combining the SystemUI.odex and SystemUI.apk files into one, deodexed SystemUI.apk, which can then be edited).
Although UOT may require you to upload a deodexed SystemUI.apk along with framework-res.apk, because some theme mods required SystemUI.apk. So you might need to get a deodexed SystemUI.apk. There's a guide to deodexing here: http://forum.xda-developers.com/showthread.php?t=1208320
It is a slightly complicated process, but it's not impossible to figure out I don't know for sure if this is what you need to do to make it work though. Make sure you have a nandroid backup before you flash the theme
i guess ill wait for a dev to deodex the stock rom then. the uot kitchen states it can work on odex roms but in my case it does not.
fix-this! said:
Can anyone tell me if its possible to add the 1% battery mod to a stock odex ics rom? I have a moto razr maxx. Is there a way i can mod this myself? I tried uot kitchen but it only shows increments of 10% on my phone.
Thanks!
Click to expand...
Click to collapse
Anything's possible... See HERE, HERE, and a mini re-odex tutorial HERE.
And, I believe there were some major framework/system changes in the transition from GB to ICS - so, the battery files may have moved to SystemUI from framework-res..
alteredlikeness said:
Anything's possible... See HERE, HERE, and a mini re-odex tutorial HERE.
And, I believe there were some major framework/system changes in the transition from GB to ICS - so, the battery files may have moved to SystemUI from framework-res..
Click to expand...
Click to collapse
thanks for that but it's a bit too over my head to attempt myself. if i uploaded my systemUI & systemUI.odex do you think you could help me out?
fix-this! said:
thanks for that but it's a bit too over my head to attempt myself. if i uploaded my systemUI & systemUI.odex do you think you could help me out?
Click to expand...
Click to collapse
You'd also need to upload all the .jar and .odex files from /system/framework I think to make it possible to deodex systemUI.apk.
EDIT: If you do that, I should probably be able to deodex it for you. (Assuming that process hasn't changed for ICS, which I don't think it has). Once you have this file deodexed, you should be able to use UOT, it supports ICS battery mods.
EDIT: If you need an easy way to copy those files off the phone, you can try this: http://androidcommander.com/
fix-this! said:
thanks for that but it's a bit too over my head to attempt myself. if i uploaded my systemUI & systemUI.odex do you think you could help me out?
Click to expand...
Click to collapse
Sorry, but I'm not too familiar with ICS yet... eagerly waiting Q3 for my phone.
Plus, I ported the battery from a deodexed set so I don't know all of the smali/xml edits involved if I were to do it from scratch...
You could still upload a whole system dump or cwm backup for me to look at ...if you wanted to. It'll let me get familiar with Moto's ICS..
SifJar said:
You'd also need to upload all the .jar and .odex files from /system/framework I think to make it possible to deodex systemUI.apk.
EDIT: If you do that, I should probably be able to deodex it for you. (Assuming that process hasn't changed for ICS, which I don't think it has). Once you have this file deodexed, you should be able to use UOT, it supports ICS battery mods.
EDIT: If you need an easy way to copy those files off the phone, you can try this: http://androidcommander.com/
Click to expand...
Click to collapse
im uploading now if someone can do this for me, i cannot figure it out. the razr devs do not seem interested in doing this on a ics leak.
http://www.mediafire.com/?m1i08symjcalvy4
uploaded system/framework & app
fix-this! said:
http://www.mediafire.com/?m1i08symjcalvy4
uploaded system/framework & app
Click to expand...
Click to collapse
Downloading now, provided it works I should have it up in 15 - 20 mins
EDIT: Appears it's a bit different, trying another approach now which will take a bit longer, but seems to be working for now at least (doing it this way means deodexing all the files).
EDIT: I'll try and get SystemUI.apk uploaded tonight, the rest will have to wait to tomorrow if you want them.
EDIT: There is a possibility I will need "init.rc" from the root of your device (i.e. not inside any folders like "system" or "data") to properly deodex all the files. A few seem to be giving errors and stuff.
Here's the (hopefully) deodexed SystemUI.apk [well, it IS deodexed, the "hopefully" refers to hopefully it's done right]. Try this with UOT (along with framework-res.apk, which isn't odexed in the first place), and as I said before, be sure to make a nandroid backup before hand.
You may also need to delete the SystemUI.odex file from your phone after applying the theme, I am not completely sure. If after applying the theme it has not worked, try doing so - worst case scenario you should be able to restore your nandroid backup if deleting the .odex file breaks something.
SifJar said:
Downloading now, provided it works I should have it up in 15 - 20 mins
EDIT: Appears it's a bit different, trying another approach now which will take a bit longer, but seems to be working for now at least (doing it this way means deodexing all the files).
EDIT: I'll try and get SystemUI.apk uploaded tonight, the rest will have to wait to tomorrow if you want them.
EDIT: There is a possibility I will need "init.rc" from the root of your device (i.e. not inside any folders like "system" or "data") to properly deodex all the files. A few seem to be giving errors and stuff.
Click to expand...
Click to collapse
heres the file you need to deodex.
fix-this! said:
heres the file you need to deodex.
Click to expand...
Click to collapse
Thanks. I can try deodex all the jars and apks with that tomorrow if you want. For now, SystemUI.apk seems to have deodexed fine without it, so you can grab it above and try UOT with it (that's the only file UOT needs other than framework-res.apk which isn't odexed anyway). Let me know if it works
SifJar said:
Thanks. I can try deodex all the jars and apks with that tomorrow if you want. For now, SystemUI.apk seems to have deodexed fine without it, so you can grab it above and try UOT with it (that's the only file UOT needs other than framework-res.apk which isn't odexed anyway). Let me know if it works
Click to expand...
Click to collapse
ill try it but if you think you could deodex everything that would be great.
used uot with the modded systemUI and it didn't work, still only getting 10% increments. i think the entire system/app & framework needs to be deodexed.
fix-this! said:
used uot with the modded systemUI and it didn't work, still only getting 10% increments. i think the entire system/app & framework needs to be deodexed.
Click to expand...
Click to collapse
Just found this HERE - looks like a good 1% battery tutorial...
But, from the look of your system, you have battery files (images/xmls) in BOTH the SystemUI.apk and framework-res.apk - how's that?
I don't think I'll be able to upload the deodexed files. It'd be a large file, and I don't really want to waste the bandwidth I'm afraid.
It's not a hard process for you to do though. There are two main options. Either buy Titanium Backup Pro for your phone, and then load it up and press menu, then "more" and then "Undo sys Dalvik integration..." which will deodex everything in /system/app (but not /system/framework), or else download this: http://forum.xda-developers.com/attachment.php?attachmentid=972719&d=1333088601 (I'd strongly recommend this second method)
Extract the ZIP, and place everything from /system/app in "_app" and everything from /system/framework in "_framework". Run AutoDEOToolMain.bat. Select option 2, then paste in this as the custom BootClassPath:
Code:
core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:framework-ext.jar:android.policy.jar:services.jar:apache-xml.jar:filterfw.jar:com.motorola.android.frameworks.jar:com.motorola.android.widget.jar:com.motorola.frameworks.core.addon.jar
Let it run, and all the deodexed files will be in the deodexed folders. Any files that weren't deodexed will be in the original folders.
This is really quite an easy process, so I'm sure you could achieve it yourself.
EDIT: There still seem to be a couple of errors with the above BootClassPath, the following two JARs seem to be missing: /system/framework/kafdex.jar and /system/framework/com.motorola.orange.simauth.jar (I removed them from the BootClassPath because the JARs were missing, if you can find these two JARs add :kafdex.jar:com.motorola.orange.simauth.jar to the end of the above BootClassPath and put the two JARs in "_framework". Then I think you will be able to deodex every JAR and APK. Without them, most still seem to work though. (A number of the APKs in /system/app do not deodex properly. A little googling has shown me that motorola often neglect to include com.motorola.orange.simauth.jar on their phones [probably to try and stop deodexing] and this is the main problem)
EDIT: Try using this tool to mod your battery: http://forum.xda-developers.com/showthread.php?t=1434061
Use the deodexed SystemUI.apk along with the standard framework-res.apk, and download one of the 1% battery mods from that thread. I really don't think the rest of the system apps being odexed should cause an issue.

[Q] What is apkreplacer?

Hello. I'm using a Galaxy Y and no one there from the boards seems to know exactly how this stuff works so I thought I'd ask here. So I've picked a few icons from the Galaxy Ace which I think would look briliant and I thought I'd try replacing only the png files instead of downloading the apk file, replacing the icons with 7zip and such, signing (if needed?) and then sending back.
I'm asking how this works because I've stumbled upon a flashable zip which seems to only replace png's inside the apk files instead of replacing the whole apk file.
Here is an example of what I'm talking about:
http://www.mediafire.com/?xycxo8vvvwqr29t
^ I saw some apkreplacer file in there.
Now I removed all the icons there and only left the ones I want to use and I also edited the Icon.sh file and left out only the lines for the icons that I want to be replaced. Saved, signed, flashed, no changes. (Tried both CWM and stock Recovery)
Any tips on how to do this? All I want is the Touchwiz blue icon changed, the Phone icon and the SMS/MMS.

Categories

Resources