Ok so I found this launcher I really like based off ics called Holo launcher and since I'm running MIUI I'd like to change the ics colors to MIUI colors.. The only colors I really need to change are in the app drawer
So here are my questions
1. Do I have to decompile to do this?
2. If I do is there a thread that can teach me how to do so?
3. Is there anything I have to worry about? I heard sometimes recompiling doesn't go right but I figure since is cosmetic changes I think it should be fine..
sent from my evol supersonic
Some apk files require you to resign after you decompile and rebuilt it. Some bits of color can be a simple img edit to xml edits.
Sent from my PG86100 using xda premium
Extract the apk with 7zip on your pc and look in the res/drawable-hdpi folder to see if your edits are an actual .png file. If that's the case make your edits in PhotoShop or gimp, save file and then drop the edited png back into the original apk in the same folder it belongs...
If its text color it is most likely an xml and you will need to decompile.
Sent from my PC36100 using xda premium
jessesse said:
Extract the apk with 7zip on your pc and look in the res/drawable-hdpi folder to see if your edits are an actual .png file. If that's the case make your edits in PhotoShop or gimp, save file and then drop the edited png back into the original apk in the same folder it belongs...
If its text color it is most likely an xml and you will need to decompile.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
That works too Apktool works well too.
jessesse said:
Extract the apk with 7zip on your pc and look in the res/drawable-hdpi folder to see if your edits are an actual .png file. If that's the case make your edits in PhotoShop or gimp, save file and then drop the edited png back into the original apk in the same folder it belongs...
If its text color it is most likely an xml and you will need to decompile.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Thats how i theme my roms.
Diablo67 said:
Thats how i theme my roms.
Click to expand...
Click to collapse
Word... Thanks for all the help guys, I'm gonna get down on some trending sometime this week I've just been so busy lately with the whole married life lol
sent from my evol supersonic
What an awful way to theme roms... Horrible people absolutely horrible... You just 7zip in all your images in? That is trash~! Learn how to use apktool seriously people its not hard apktool if and apktool b -f and apktool d are not hard to learn.... 7zipping in things creates unaligned .apk's which are trash and use up a ton of memory ill bet your themed roms are garbage if your 7zipping crap in!
Pneuma1985 said:
What an awful way to theme roms... Horrible people absolutely horrible... You just 7zip in all your images in? That is trash~! Learn how to use apktool seriously people its not hard apktool if and apktool b -f and apktool d are not hard to learn.... 7zipping in things creates unaligned .apk's which are trash and use up a ton of memory ill be your themed roms are garbage!
Click to expand...
Click to collapse
Completely agree. The only good way to do it is to decompile and then recompile. It is not that hard.
Look here for some good info
http://code.google.com/p/android-apktool/
The OP's first question was 1.do I have to decompile to do this?
Just trying to help him out.
I do agree that its not hard to decompile though.. just takes a little bit of reading and some trial and error.
jessesse said:
The OP's first question was 1.do I have to decompile to do this?
Just trying to help him out.
I do agree that its not hard to decompile though.. just takes a little bit of reading and some trial and error.
Click to expand...
Click to collapse
Yeah but at the same time 7zipping images into an apk is not the correct answer... No offense its just when you do that you unalign the .apk which causes the .apk suck up memory and leave a huge memory footprint on the phone which can cause adverse battery problems...
Oh I see, thanks for the heads up. No offense taken.. I was busy working and didn't mean to sound that way.
OP (EVOl4g) check out Tommy Tomatoes Android utility if you happen to have a mac or Linux pc
If you decompile first even pesky .9.pngs are a breeze. Where as if you try to edit one thats not decompiled you will have to repatch it first and without decompiling you may have no idea where to place ur lil black dotz.
Using 7zip is a nice way to cut your teeth on android theming but as others have stated your not going to get the best results nor the ease you get from decompiling.
alright so i extracted apex launcher and i wanna change the app drawer background to white, i've already changed all the images with ICS blue to MIUI orange... Also I need to know where I can change the blue lines to orange, any help is appreciated.. you all have been really suppotive I appreciate it.
Related
I'm new to messing with the code on Android, so I've been trying to find out how to change the pull down to be transparent. I've tried swapping out the png's in SystemUI.apk but that doesn't work. Could anyone shed some light on this for me? Maybe I am doing something wrong, but is there a tutorial on how to decompile and compile system apps and regular apps? I can't seem to find one.
Sent from my PC36100 using Tapatalk
A bunch of the CM themes that are out there have a transparent pull down. You could use apktool to poke around in those.
It's called bg_shade or something. Just add transparency to it in systemui.apk.
No need to decompile. Pull systemui.apk and unzip the file. Then with the systemui.apk that isn't unzipped just "open" the apk with 7zip and drag your new image into the correct folder. Push back to phone.
Sent from my PC36100 using XDA App
I tried changing that already but I decompiled it first so maybe I messed it up. I will try it that way and see how it goes. Thank you.
Sent from my PC36100 using Tapatalk
i think you need to edit some xml code. shouldn't be too hard to find. just download a theme chooser theme that does it, and see what xml's it changes. just poke around in those for a while. it's been done many times, so people kno how. i should probably find out...
Thru it into Q & A, no reply.
Would like to change the color of the clock font on the lock screen from white to black. Will appreciate any input I can get.
Pp.
Sent from my tofu plasma converter.
I'm pretty sure you have to color some png files... Not exactly sure...
Sent from my SPH-D710 using XDA
The numbers are in framework-res.apk inside of the res/drawable-hdpi folders. The images that your looking for are towards the bottom but there really noticeable. U just need something like PhotoShop or Gimp to change the color from white to whatever u want. I'm on my way home from work so if u need more help than that let me know and I'll do my best. I no longer have a pc but I'll do my best to walk u through it.
Sent from my SPH-D710 using Tapatalk 2 Beta-5
Tiffany84 said:
The numbers are in framework-res.apk inside of the res/drawable-hdpi folders. The images that your looking for are towards the bottom but there really noticeable. U just need something like PhotoShop or Gimp to change the color from white to whatever u want. I'm on my way home from work so if u need more help than that let me know and I'll do my best. I no longer have a pc but I'll do my best to walk u through it.
Sent from my SPH-D710 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
Thanks Tiff, I have Photoshop on my PC so I'm going to give it a try on my own, if I get stuck I'll drop you a line. I guess I can use root explorer to access the files. Maybe I can put of Graphic Design skills to work and learn something in the process. Hopefully I can post some progress and help someone else out.
Pp.
Sent from my tofu plasma converter.
I recommend using 7-zip. It's a developer and themers best friend.
Sent from my SPH-D710 using Tapatalk 2 Beta-5
Is that the same as 7 Zipper by yonghoon chin in the play store?
Pp.
** EDit **
Never mind, Googled it, downloading.
Pp.
PanchoPlanet said:
Is that the same as 7 Zipper by yonghoon chin in the play store?
Pp.
Click to expand...
Click to collapse
Never heard of that but 7zip is for your pc. It's like win-rar but way better imo and free.
Sent from my SPH-D710 using Tapatalk 2 Beta-5
Got it, looking at tutorials on how to use. I guess i'll be "unpacking" files, copy file to 7zip, modify, save as a zipfile and then install with CWM?
Pp.
Using ES filexplorer, found framework-res.apk / res / drawable-hdpi - ?
Not sure how font color is discribed in folder.?
PanchoPlanet said:
Using ES filexplorer, found framework-res.apk / res / drawable-hdpi - ?
Not sure how font color is discribed in folder.?
Click to expand...
Click to collapse
It doesn't have the color in the name. They are just images so you'll have to use the image editing software of choice to change the color. If u open the drawable-hdpi folder on your PC you'll be able to see all the images inside. What I do is use 7zip to decompile/extract the apk. Then I make my changes. Then I highlight the full apk that hasn't been extracted, right click it, go up to 7zip on the menu that pops up and when u click on 7zip another folder will pop up. Choose “open archive“, I believe that's what its called. Then a folder will open up and you'll be able to see everything inside of the apk just like if u were looking at it when it was extracted. Double click on the Res folder, then highlight the drawable-hdpi and click delete. Now go get the drawable-hdpi folder that has the changes u made and drag it inside of the window that u just deleted from. Now just click the x to close that window and the apk will still be intact but it will have all the changes u made. Drop it in a flashable zip, boot into recovery, wipe cache/dalvik and flash. If your not sure about the flashable zip let me know and I'll see if I can put it together from my phone for u. Hopefully that made a little bit of sense to u. If not let me know and I'll try and do a better job explaining it.
Sent from my SPH-D710 using Tapatalk 2 Beta-5
So I would start by making a copy of the drawable-hdpi in /res / folder in framework-res apk and opening it up in 7Zip on my PC. Finding the png's pertaining to the clock zzz_unlock_clock_3_.png for example, export into photoshop change color, then replace original png's with new colored ones. Do I make sence.
The good thing about the lockscreen clock images is, you don't have to decompile them to edit them. Also, (if youre feeling savvy) you can decompile framework-res.apk, then go to framework-res.apk/res/layout and edit the color codes in "zzz_keyguard_screen_clock_gb.xml" and "zzz_keyguard_screen_glasslockinfo.xml" to make the lockscreen text match the clock. You can use Google to find color codes.
One eye closed, other yawning, time to hit the sack.
will resume tomorrow.
Pp.
12MaNy said:
The good thing about the lockscreen clock images is, you don't have to decompile them to edit them. Also, (if youre feeling savvy) you can decompile framework-res.apk, then go to framework-res.apk/res/layout and edit the color codes in "zzz_keyguard_screen_clock_gb.xml" and "zzz_keyguard_screen_glasslockinfo.xml" to make the lockscreen text match the clock. You can use Google to find color codes.
Click to expand...
Click to collapse
Thanks for that 12Many, out of thanks, hit you up tomorrow.
Pp over & out.
sent from my giant laptop. Asus G73.
Sweet
Sent from my SPH-D710 using xda premium
The clock in ICS is not images, it is also a hex color in the colors.xml file
lockscreen_clock_foreground changes the clock
Hey PP....is that Blazer ROM you're running?
12MaNy said:
Hey PP....is that Blazer ROM you're running?
Click to expand...
Click to collapse
Calk's E4GT v. 3.0 / Overstew's ICS theme 2.5 w/trasitions el29.
Pp.
Sent from my tofu plasma converter.
PanchoPlanet said:
Calk's E4GT v. 3.0 / Overstew's ICS theme 2.5 w/trasitions el29.
Pp.
Sent from my tofu plasma converter.
Click to expand...
Click to collapse
Ok, cool. You're good to go on modding lockscreen clock images. Didn't know if you were on an ICS ROM, or not.
This is making my brain hurt. 7Zip works great with Adobe CS5,it imports into Adobe Bridge and it displays all the images associated with the files, makes for quick editing in Photoshop. Having trouble finding clock fonts, that display date on lock screen. Clock part was easy, numbers, colens.
Pp.
Sent from my tofu plasma converter.
After alot of work and help from many people I have completed it. This is a MMS apk for Deodexed Gingerbread ROM's such as Calkulins Stock Deodexed or Calks GB ROM.
Download attached apk
Move apk to system/app
Set Permissions to RW/R/R
Reboot.
Note: You may want to back up the original mms.apk. You can always get it from the Stock ROM zip if you need to.
Many many thanks to all that helped me. I learned alot from this little adventure.
Try the png's first. I'm not sty the computer right now so I can't remember the name, but it says simmering about chat bg.9. If nobody has helped you by the time I get home, I can tell you more. Hit up 12many,, he could probably tell you exactly where to look.
Sent from my SPH-D710 using Xparent Cyan Tapatalk 2
think dazed is right, there are often background png's (and sometimes not in the drawable-hdpi folder). most the time "bg" will be in the name so look for that first. otherwise the xml would be in colors.xml or styles.xml in the res/values directory
Sent from my SPH-D710 using xda premium
That is actually a smali edit.
Mms.apk\com\android\mms\ui\ComposeMessageFragment.smali
Line 16051 const v1, 0xd4d2d0
change that to what you want you color to be. that ones hex is 2b2d30. Remember in smali the numbers are not in hex.
rujelus22 said:
That is actually a smali edit.
Mms.apk\com\android\mms\ui\ComposeMessageFragment.smali
Line 16051 const v1, 0xd4d2d0
change that to what you want you color to be. that ones hex is 2b2d30. Remember in smali the numbers are not in hex.
Click to expand...
Click to collapse
Never worked with smali before. So gonna give this a shot. The code you gave me is that the code for white.
OK. So I decompiled and that file isn't there. I have a butt load of compose message files but not one that has fragment in it. Also just to make sure this is 2.3.6! Mms.apk
I attached a pick to kinda make sure we're on the same page.
check these bg images maybe?... msg_bg_dsrk etc
Sent from my SPH-D710 using xda premium
I did. I went through all the pngs in the drawable-hdpi folder. I swapped all those and any others that related to it. Still grey background. I changed out an XML and got the white background I wanted but it broke mms for some reason. Couldn't send or receive.
scarmon25 said:
I did. I went through all the pngs in the drawable-hdpi folder. I swapped all those and any others that related to it. Still grey background. I changed out an XML and got the white background I wanted but it broke mms for some reason. Couldn't send or receive.
Click to expand...
Click to collapse
im off in a few hours and doin some other theme work, i'll take another look when im at my comp
Sent from my SPH-D710 using xda premium
sleshepic said:
im off in a few hours and doin some other theme work, i'll take another look when im at my comp
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks a ton. I'm at a loss at this point. I have went through all the XML I could find and tried everything j know how to do. XML and smali edits aren't a big deal for me to do. Just don't know what to edit. They're so many of those damn files and of course they wouldn't name it like conversation background.XML/small. It has to be some off the wall ****. But as well that's ok . I appreciate all your help. My wife has wanted this mms and others did too a while back. Once its done gonna post it for everyone and finally get my wife happy. lol
Try the twframework-res. You control the mms font color from editing the twcolor02.
Overstew said:
Try the twframework-res. You control the mms font color from editing the twcolor02.
Click to expand...
Click to collapse
Would it be in the draw ables folder?
Also. I was able to get it to turn white by swapping the file Res/values/drawables.XML. but that broke mms. Just for information to help.
scarmon25 said:
Would it be in the draw ables folder?
Also. I was able to get it to turn white by swapping the file Res/values/drawables.XML. but that broke mms. Just for information to help.
Click to expand...
Click to collapse
I believe it was under values/colors.xml. The list of "TWcolor_001, TWcolor_002", etc.
EDIT: Find the grey color you're looking for in an image editor like Gimp or photoshop and search the colors folder for that hex code, I'm sure it'll pop up.
also check the drawable folder for something like "listitem_backgound.xml" or "conversationitem_background" might do it....
Sent from my SPH-D710 using xda premium
would this be for GB or ICS? just curious
Success100 said:
would this be for GB or ICS? just curious
Click to expand...
Click to collapse
Its for GB.
Overstew said:
I believe it was under values/colors.xml. The list of "TWcolor_001, TWcolor_002", etc.
EDIT: Find the grey color you're looking for in an image editor like Gimp or photoshop and search the colors folder for that hex code, I'm sure it'll pop up.
Click to expand...
Click to collapse
i decompiled the TW framework. the color code for the background is ff2b2d30. I searched the colors xml and couldnt find that code. so i looked for anything close to it. still no dice. thinking i may have to go another route on this and do a different style. you wouldnt think changing the background color would be such a ***** to do but then again it is me doing it and my luck never seems to be the greatest. haha
scarmon25 said:
Thanks a ton. I'm at a loss at this point. I have went through all the XML I could find and tried everything j know how to do. XML and smali edits aren't a big deal for me to do. Just don't know what to edit. They're so many of those damn files and of course they wouldn't name it like conversation background.XML/small. It has to be some off the wall ****. But as well that's ok . I appreciate all your help. My wife has wanted this mms and others did too a while back. Once its done gonna post it for everyone and finally get my wife happy. lol
Click to expand...
Click to collapse
It is not in the xml it is in the smali files if you are using apkmanager to decompile it will be in the projects\Mms.apk\smali\com\android\mms\ui\ folder
The color I gave before is the stock color white would be
Line 16051 const v1, 0x1
rujelus22 said:
It is not in the xml it is in the smali files if you are using apkmanager to decompile it will be in the projects\Mms.apk\smali\com\android\mms\ui\ folder
The color I gave before is the stock color white would be
Line 16051 const v1, 0x1
Click to expand...
Click to collapse
that's where i was looking, i decompiled and looked in the smali folder. let me try searching it
there is a compose message smali, just none that have fragement in the name
scarmon25 said:
that's where i was looking, i decompiled and looked in the smali folder. let me try searching it
Click to expand...
Click to collapse
If you send me your file I will edit it for you
Hi,
I was looking thru the framework apk trying to find the notification pull down thing becouse i want to edit it from grey to the standard transparant black. Can this be done via just changing the png file or is there other stuff i need to do ? ive tryed search button but dident find anything so any help apprecited thank you
**Big thanks to daman on thread who has supplied systemui.apk with transparent background
It is probably handled by an XML file or rendered from a small image file
Sent from my Galaxy Nexus using xda premium
bummer if xml as wouldent know where to start png`s ie image file no problem with
I'm gonna mess with it at work tomorrow and see if I can find it
Sent from my Galaxy Nexus using xda premium
I actually just wanted tk write a request for that. The tranparent black from ics looks 100 times better!
I'm really looking forward to your mod/work
Sent from my Galaxy Nexus using xda app-developers app
likewise and appreciate you taking the time out to look at thanks please post back when let us know how you get on.
Mojochief said:
The tranparent black from ics looks 100 times better!
Click to expand...
Click to collapse
agreed
really hate to bump a thread , but im guessing out of all the talented people here someone must know how to get this done or point me in right direction ?
U have to decompile systemui.apk .. its a .9 image therefore to edit it u need to edit in its decompiled state and only edit the color itself.. u cannot touch the black pixel boarder because that black patch is what tells the image how to stretch when phone is in portrait or landscape mode.. the image is called status bar close on.9 or something in the drawable xhdpi folder.. I will look into it but I'm not on jellybean yet
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
U have to decompile systemui.apk .. its a .9 image therefore to edit it u need to edit in its decompiled state and only edit the color itself.. u cannot touch the black pixel boarder because that black patch is what tells the image how to stretch when phone is in portrait or landscape mode.. the image is called status bar close on.9 or something in the drawable xhdpi folder.. I will look into it but I'm not on jellybean yet
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I will look at it if apktool will stop pissing me off
Sent from my Galaxy Nexus using Tapatalk 2
a black version would be epic!!
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
thanks for replys and taking time to look into , very much appreciated
HumanXv2 said:
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
Click to expand...
Click to collapse
on ics the file you guys are trying to edit is called the notification tracking background
HumanXv2 said:
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
Click to expand...
Click to collapse
the fact that you're even looking at it is awesome!! Hopefully you can figure it out and help us noobs!
ive been trying to do it myself with no luck!
ok i found it it`s called the notification_panel_bg.9.png
I seriously hate apktool. I have tried apkmanager and apk multi tool and none of them work. apktool was working great then started acting crazy
HumanXv2 said:
I seriously hate apktool. I have tried apkmanager and apk multi tool and none of them work. apktool was working great then started acting crazy
Click to expand...
Click to collapse
i have a method give me a sec i will post a test system ui
Ok guys push this should work im not using jellybean at the moment please post a pic and to the op put this in the op so people can see
https://rapidshare.com/files/2140464399/SystemUI.apk
can whoever that pushes that make a screen shot of it? thanks!
daman215 said:
Ok guys push this should work im not using jellybean at the moment please post a pic and to the op put this in the op so people can see
Click to expand...
Click to collapse
Can you upload it to some other place? Xda's filehost is broken.
404 - Not Found
Click to expand...
Click to collapse
How do I change images out of themes for cm10? Like lets say I want a black pulldown bar or black settings background how would I do this? I tried opening up the png in photoshop and making it black, saving it as the same exact name and put it back in the .apk but when I try to install it doesn't work. Would appreciate any help, Thanks.
You need to recompile the theme
Sent from my Galaxy Nexus using xda premium
polimeno said:
You need to recompile the theme
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
How would I do that?
You would need to decompile it first, the pulldown background is a .9.png so you would have to make whatever is inside the .9 border, if you screw up the border by the slightest it wont compile correctly. So i would suggest you keep you work area selected within the border. Then once you've made the corrections recompile and sign the apk. Otherwise it wont install.
You'll have to google how to decompile and signing apk's.. its relatively easy.
http://forum.xda-developers.com/showpost.php?p=10965186&postcount=3
good day.
Just extract the theme, edit/replace what you want, then zip it and flash.