CM7 transparent pull down? - EVO 4G Q&A, Help & Troubleshooting

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

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

Problems with editing pngs

Hi I am trying to theme the digital clock apk, I am able to use my edited apk when pushed back to my device, the catch is that it only works when editing certain pngs (the number pngs). The second I try to edit any of the Sun-Saturday files the apk stops working when I push it back to my device. I have tried resigning the apk, but this doesn't seem to fix my issue either. Any ideas? I don't understand why certain pngs can be edited but others cannot; Any ideas?
No ideas huh? I guess I'll try a different image editor... Still stumped.
Sent from my SGH-T989 using xda premium
...
Hey, I have the same issue here, I can edit only some pngs, not everything.
did you check the permission?
Do u know how to edit .9 images properly? Check to see if the ones you are having trouble with are .9. To my understanding if you don't edit them correctly you'll have issues after recompiling the apk. Google .9 editing; hope this helped.
Sent from my SGH-T989 using xda app-developers app
That is what I was going to suggest, about the .9.png's. Make sure the 1px border is completely black after editing the image
Sent from my SGH-T989D using Tapatalk 2

HELP! decompiling apk to theme it

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.

please help...going nuts here...how to change battery icons???

ok so i'm going nuts here...i can't figure out how to change the battery icons...i tried using uot kitchen with no help...is there a guide to do this within a custom rom....i'm right now running tuchmi 5.0, and i really want the android battery icon with the % inside it...any help is appreciated...i've never themed before
The icons are in SystemUI.
Sent from my SAMSUNG-SGH-I747 using xda premium
Where is systemui?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
thanks i thought i needed to change them in the framework.apk....so just changing the roms systemui.apk will work?
tonyph33r said:
Where is systemui?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
system/app folder of the rom....
Use apktool to decompile the apk and you'll see the icons there, to break it down even further
If the rom your on doesn't currently have the battery percent then you'll also need to modify stat_sys_battery.xml and stat_sys_battery_charge.xml which is in res/drawable to look for all the additional png's. If your not sure what I'm talking about or how to do it let me know and I'll upload the right xml's for you.
Tiffany84 said:
If the rom your on doesn't currently have the battery percent then you'll also need to modify stat_sys_battery.xml and stat_sys_battery_charge.xml which is in res/drawable to look for all the additional png's. If your not sure what I'm talking about or how to do it let me know and I'll upload the right xml's for you.
Click to expand...
Click to collapse
Thanks might have to take u up on that. I found the pngs in the systemui.apk and changed them around but it didn't take properly. The Battary icons didn't display properly at all. I was hoping I could've used uot kitchen but that never worked. I'm going to mess around again tonight. The rom I'm currently on still has everything factory as far as the status bar goes. Dumb question. I know u can't flash the i9300 Rome to the att version but what about themes?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
lunercrab said:
Thanks might have to take u up on that. I found the pngs in the systemui.apk and changed them around but it didn't take properly. The Battary icons didn't display properly at all. I was hoping I could've used uot kitchen but that never worked. I'm going to mess around again tonight. The rom I'm currently on still has everything factory as far as the status bar goes. Dumb question. I know u can't flash the i9300 Rome to the att version but what about themes?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I wouldn't recommend using them unless there using something like the Villain Theme System which only replaces the images and some xml's instead of replacing the entire apk. I just got home so give me a few and I'll send you the xml's you need to use and you 'll be fine.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Tiffany84 said:
If the rom your on doesn't currently have the battery percent then you'll also need to modify stat_sys_battery.xml and stat_sys_battery_charge.xml which is in res/drawable to look for all the additional png's. If your not sure what I'm talking about or how to do it let me know and I'll upload the right xml's for you.
Click to expand...
Click to collapse
ok need your help....i got the pngs to change but i can't get the animations to work...i tried fixing the xml files but no go...if you can maybe get it to work i'd appreciate....here is the rom i want the battery png and xmls in...
tuchmi 5.0 http://beta.androidfilehost.com/?fid=22527720516747580

[Q] Change images in a Cm10 Theme?

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.

Categories

Resources