[Q] Change images in a Cm10 Theme? - Samsung Galaxy Nexus

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.

Related

[Q] red sliding tabs, loading bars, and volume bar....

Bear with me guys....I know this is a question and would be better suited in Q&A but Idt anyone in there would no the answer.....I want a red themes phone.....I was able to do the keyboard with HTC IME and I used uot kitchen for the status bar and icons. But I want more than just this....I want to make my sliding tabs on my lockscreen red with red icons. I also want red loading bars and status bars.....pretty much anything that was white I want to make red.....is there any way I can do this?
Sent from my ADR6300 using XDA App
You need to edit images if your using cm7 or a Gingerbread Tom its in framework-res in the framework folder and in SystemUI on the app folder as for sense you will need to edit files in the HTC resources apk its in the framework folder if its a sense 2.0 Tom then inside of the I believe customize folder find an apk to edit(that is if your wanting to be able to resourt to stock theme) and edit that or just edit the HTC resource file like mentioned for sense sorry if there are any mistakes in this I'm on my phone and can't check for proper names of the locations.
Sent from my ADR6300 using XDA App
Ok thanks for the info....what programs are out there that are good for editing these apks? I'm sorry I'm new to editing apks and this is my learning experience!
Sent from my ADR6300 using XDA App
Well to edit the images in the apk just change the .apk to .zip and look through it for the files you want to edit they will be images as for the txt you will need to edit the services.jar there is a guide on here somewhere that tells you how to do it just Google changing txt color in android notification bar.
Sent from my ADR6300 using XDA App
I'm not worried about text color I already did the notification bar I'm more concerned with the lock tabs and loading bars....the small green accents here and there
Sent from my ADR6300 using XDA App
Those are in framework-res if your on an aosp rom so just open it up and play around.
Sent from my ADR6300 using XDA App
Also what program should I use to edit xml documents?
Sent from my ADR6300 using XDA App
That's something I'm not exactly sure of you will need to decompile the apk first if I remember correctly then u edit never took the time to research how to decompile bit after its decompiled you should be able to use several programs just Google for one
Sent from my ADR6300 using XDA App
Well I changed apk to zip and then extracted....there weren't a lot of images but there were a lot of xml documents that had titles that looked like they were for what I needed to edit so now I just need to figure out how to edit them....I know a lot of html and basic javascript so from my understanding it should be easy but my version of visual studio won't let me edit xml.....I need another program....recommendations?
Sent from my ADR6300 using XDA App
Go into it and look for the hdpi folders there should be about 600 images if your in framework-res
Sent from my ADR6300 using XDA App
Found it....looks like quite a job! Any idea where I could find replacement icons without having to re edit all of these?
Sent from my ADR6300 using XDA App
Just edit the hue in Photoshop or paint.net its real easy I use paint.net plus its free and lightweight only 3 megs and does a great job
Sent from my ADR6300 using XDA App
So I'm using paint.net to work my way through the hdpi images....when I'm done do I just rezip the framework file with the stuff set to store and then change extension to .apk and then rezip the Rom and flash it? Idk how to apply my changes
Sent from my ADR6300 using XDA App
Yup
Sent from my ADR6300 using XDA App
sick i just finished editing com.htc.resources.apk and framework-res.apk.....i changed anything that was green to red and im letting my phone build a bit of a charge before i flash it....wish me luck
elixir911911 said:
sick i just finished editing com.htc.resources.apk and framework-res.apk.....i changed anything that was green to red and im letting my phone build a bit of a charge before i flash it....wish me luck
Click to expand...
Click to collapse
Flash it? Did you make an updater for it or did you replace the files in a ROM that you're going to flash? I personally just push the .apk via ADB shell.
How did it go
Sent from my ADR6300 using XDA App
I did the xml editing for all the status bars, vol bars etc on my old Eris to change them to blue. Wasn't too bad, just extracted the XML where the current colors were all listed then edited the raw xml with a hex editor and put the new colors in (backwards) then applied, was pretty cool....
edited alll the files that I wanted and re packed them into my rom (skyraider) then just flashed the rom as if it were a nightly update (no wipe data/factory reset).....It worked great! I mucked a few things up here and there but overall it looks very slick....I've officially made my first theme for skyraider 4.0! Wasn't too hard at all....But now that I've done all this work there's a few images I can't seem to find that I want to change the color of....Mainly the highlights press color on the select a connection type dropdown and more importantly the volume popup bar when you increase the phone volume. Also I'm interested in trying to edit some apps like the market and the messages list......and my keyboard so I can get rid of the green in the candidates bar but unfortunately I think these apps are "signed" or something.....Does anyone have information on editing apks like that? when I try to edit them it seems to work correctly until I try to install it on my phone....Input on how to change these apps and the volume bar and everything else stated would be greatly appreciated.....And many thanks to odst for being as helpful as he has been with all of this. This has been a great learning experience
x2kjosh said:
I did the xml editing for all the status bars, vol bars etc on my old Eris to change them to blue. Wasn't too bad, just extracted the XML where the current colors were all listed then edited the raw xml with a hex editor and put the new colors in (backwards) then applied, was pretty cool....
Click to expand...
Click to collapse
Sorry I didn''t realize you had posted the answer to my question about vol. bars.....Where do I find this xml and more importantly how the hell do I open and edit it? I can't figure out how to open these xml's for the life of me

CM7 transparent pull down?

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...

Question about!!!

Hi yall doing ....i need some help on how to make an apk backround transparent ...i have bee searching all over google all over xda and havent found on how to make an apk background transparent...i have follow somesteps i found but they dont work my background stays black.....i have been using all kin of programs but still doesnt work i have change the layer but no luck still stays black...i need ur help on this by giving me somesteps on how to make my apk backround transparent plz...i will preceatedthank you..
Sent from my SGH-T959V using xda premium
What .apk? What you may need to do is change the color code in an xml file, or it could be as easy as chaging the image in gimp, first unzipping the .apk with 7zip.
malcolmXman said:
What .apk? What you may need to do is change the color code in an xml file, or it could be as easy as chaging the image in gimp, first unzipping the .apk with 7zip.
Click to expand...
Click to collapse
Xda app and much more ...and qbout xml what fo i have to edit and what should i put on?
Sent from my SGH-T959V using xda premium
Go to the Epic Themes section. Those guys are GREAT, especially Dreamsforgotten and they love to help!

Lock screen font color !

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.

[Request] Change Gummynex softkey background color

I'm currently on Gummy 1.2.2 for the toro and I've been going crazy trying to modify the background color of the softkeys. Not the glow effect, not the keys themeselves, but the actual bar they rest on. I'd like to make it white but if someone could just help me figure out how to change it to begin with it'd be greatly appreciated. I've decompiled the systemui apk and tried editing several xml's but got nowhere with it. It's driving me crazy trying to figure it out. Any help would be awesome. I've searched through the forums and had no luck thus far.
1.2.2
where can i get the 1.2.2?can't find it
utcu said:
I'm currently on Gummy 1.2.2 for the toro and I've been going crazy trying to modify the background color of the softkeys. Not the glow effect, not the keys themeselves, but the actual bar they rest on. I'd like to make it white but if someone could just help me figure out how to change it to begin with it'd be greatly appreciated. I've decompiled the systemui apk and tried editing several xml's but got nowhere with it. It's driving me crazy trying to figure it out. Any help would be awesome. I've searched through the forums and had no luck thus far.
Click to expand...
Click to collapse
Its all in layout folder the 3 nav xmls are what your going to want to edit and it'd be the first line of each XML when you open it and if you wanna change the nav bg with images I can post the XML so you can see yourself to see what you would need to change
Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
ilysm said:
where can i get the 1.2.2?can't find it
Click to expand...
Click to collapse
http://goo.im/devs/TeamGummy/Roms/Toro
ZOMBI3 said:
Its all in layout folder the 3 nav xmls are what your going to want to edit and it'd be the first line of each XML when you open it and if you wanna change the nav bg with images I can post the XML so you can see yourself to see what you would need to change
Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
Click to expand...
Click to collapse
How exactly would I go about this? I tried editing the hex values on all three of them but that was a no go. I didn't know I could replace them with images. Thanks again.
utcu said:
http://goo.im/devs/TeamGummy/Roms/Toro
Click to expand...
Click to collapse
thanks so much
utcu said:
How exactly would I go about this? I tried editing the hex values on all three of them but that was a no go. I didn't know I could replace them with images. Thanks again.
Click to expand...
Click to collapse
What are you using to decompile ? and there you go, compare my xmls with yours to do the edits i threw in the tracking xml also and thats how you go about having a custom pulldown bg,
1 pulldown back should be about 480x733 gives you a perfect image in portrait and landscape, and you take your image and name it pulldown_bg.png and save in gimp for example
2 navbar backgrounds = navbar01 =400x50, navbar02=50x400 save as png format
3. all three of those images put them in the drawable-xhdpi in sytemui
4. easy to do you should be able to do it on your own let me know if you have any troubles
Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
ZOMBI3 said:
What are you using to decompile ?
Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
Click to expand...
Click to collapse
I'm using an apk manager developed for Mac. I've used it to decompile, theme, and build multiple apk's from my rom. It works pretty awesome. Lol. I use that to decompile and then I use xml edit to change the xmls. I don't have a PC to run the regular apk tool on so I'm unsure if that's where my issue is.
utcu said:
I'm using an apk manager developed for Mac. I've used it to decompile, theme, and build multiple apk's from my rom. It works pretty awesome. Lol. I use that to decompile and then I use xml edit to change the xmls. I don't have a PC to run the regular apk tool on so I'm unsure if that's where my issue is.
Click to expand...
Click to collapse
just posted it on what to do depends on what you do this is what im doing right now
ZOMBI3 said:
What are you using to decompile ? and there you go, compare my xmls with yours to do the edits i threw in the tracking xml also and thats how you go about having a custom pulldown bg,
1 pulldown back should be about 480x733 gives you a perfect image in portrait and landscape, and you take your image and name it pulldown_bg.png and save in gimp for example
2 navbar backgrounds = navbar01 =400x50, navbar02=50x400 save as png format
3. all three of those images put them in the drawable-xhdpi in sytemui
4. easy to do you should be able to do it on your own let me know if you have any troubles
Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
Click to expand...
Click to collapse
Seems simple enough. I just edited a ton of apps throughout my rom and blacked everything out. Very minimal color with an emphasis on black and white and I think the white nav and Status bars will help keep the contrast along the theme flowing. I can't wait to get home and try it out. Thanks again for the help.
Edit... well it was a no go for me. Cannot figure this out. Here's the xml's that I'm starting with.
utcu said:
Seems simple enough. I just edited a ton of apps throughout my rom and blacked everything out. Very minimal color with an emphasis on black and white and I think the white nav and Status bars will help keep the contrast along the theme flowing. I can't wait to get home and try it out. Thanks again for the help.
Edit... well it was a no go for me. Cannot figure this out. Here's the xml's that I'm starting with.
Click to expand...
Click to collapse
Is it recompiling correctly? And if you sign it don't just rename FROM UNSIGNEDSYSTEMUI TO SYSTEMUI and what apktooljars are you using also?
Sent from my MB860 using Xparent ICS Blue Tapatalk 2
Thanks again Zombi3. I wouldn't have figured this out alone.
utcu said:
View attachment 1082634
Thanks again Zombi3. I wouldn't have figured this out alone.
Click to expand...
Click to collapse
Np any time it looks good btw ! C:
Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
Do you need to be on a custom ROM to be able to do this? Or will stock root work? Also did you replace your navbar background with an image or just changed the color? I am trying to do this but systemui crashes. Any help would be appreciated.

Categories

Resources