[Q] Changing Signal Bars Color - EVO 4G Q&A, Help & Troubleshooting

Can some leed me to the way of changing the Signal bars to baby blue i have not seen no one change the colors of the bars before
Sent from my PC36100 using XDA App

In a nutshell: If you are running an aosp rom, pull the framework-res.apk from /system/framework. If using sense I think you have to pull com.htc.resources.apk from the same place instead.
Then make three copies of the file you are using. Make one for backup then unzip the second one. You can then look through the unzipped apk under /res/drawable-hdpi for the images you want to change. Use your favorite editor to change the color of the images.
When you've made all the changes you want, use 7-zip to open (not unzip) the third copy of the apk that you haven't touched yet. Drag and drop the edited images into the same folder in the opened apk, overwriting the old ones.
Now you should be able to push this apk back to your phone.
Sent from your mom's phone.

Thanks man This is pretty hard do you mind doing this for me if you can thanks
Sent from my PC36100 using XDA App

Thanks I've been trying to figure that out for done time now.
nukedukem said:
In a nutshell: If you are running an aosp rom, pull the framework-res.apk from /system/framework. If using sense I think you have to pull com.htc.resources.apk from the same place instead.
Then make three copies of the file you are using. Make one for backup then unzip the second one. You can then look through the unzipped apk under /res/drawable-hdpi for the images you want to change. Use your favorite editor to change the color of the images.
When you've made all the changes you want, use 7-zip to open (not unzip) the third copy of the apk that you haven't touched yet. Drag and drop the edited images into the same folder in the opened apk, overwriting the old ones.
Now you should be able to push this apk back to your phone.
Sent from your mom's phone.
Click to expand...
Click to collapse
Swyped from Eva running Myn's RLS4!

Related

Custom Battery in notification bar?

i've been searching for like hours and haven't found a thread on this. is there any way to just flash a custom battery for the notification bar? i'd like the green circle battery that can be found in the Baked Snack ROM (as well as a few others). i tried ripping it out of this ROM but failed, even though i was following the structure of some battery update zip file i found laying around here. thanks
What rom are you running? DC? I will be porting it to CYANMOD when it becomes an RC. If you want to try it yourself, use adb and do these:
pull the framework-res.apk from /system/framework/
open the apk using 7zip
copy the "res" folder somewhere so you can work on it
Under drawable, or drawable hdpi something you will see "stat_sys battery" with all of your battery icons.
Copy the new icons to that folder replacing the old ones, drag the res folder back into the apk using 7zip
and copy the apk back to /system/framework/framework-res.apk
Done and Done....
thegame3202 said:
What rom are you running? DC? I will be porting it to CYANMOD when it becomes an RC. If you want to try it yourself, use adb and do these:
pull the framework-res.apk from /system/framework/
open the apk using 7zip
copy the "res" folder somewhere so you can work on it
Under drawable, or drawable hdpi something you will see "stat_sys battery" with all of your battery icons.
Copy the new icons to that folder replacing the old ones, drag the res folder back into the apk using 7zip
and copy the apk back to /system/framework/framework-res.apk
Done and Done....
Click to expand...
Click to collapse
thanks!
do i have to use adb though? i can't seem to get it to run, but maybe that's because i'm running a cmd window already, not sure because i can't stop it.
edit: nvm, i was getting ahead of myself there for a sec haha. thanks again!!!
edit2: and yes, Damage Control. the other ROMs i've tried were great but data numbers didn't work, google goggles didn't work, visual voicemail didn't work...and i even tried all the little tricks for visual voicemail/data numbers and still couldn't get it to work. DC is the best fully functional ROM imo next to the stock ROM.
Haha, yeah use adb. Might be able to do it without... but i don't know how. Maybe use a file manager to copy the file to your sd card, then transfer to your comp, do the above, then do the opposite to get it back...
thegame3202 said:
Haha, yeah use adb. Might be able to do it without... but i don't know how. Maybe use a file manager to copy the file to your sd card, then transfer to your comp, do the above, then do the opposite to get it back...
Click to expand...
Click to collapse
yup, that's what i'm gonna try. if not then i'll figure it out. i really just wasn't sure which files needed to be replaced. i knew a few, but not all.
ps - i'll keep an eye out for your version of the CM RC.
thegame3202 said:
What rom are you running? DC? I will be porting it to CYANMOD when it becomes an RC. If you want to try it yourself, use adb and do these:
pull the framework-res.apk from /system/framework/
open the apk using 7zip
copy the "res" folder somewhere so you can work on it
Under drawable, or drawable hdpi something you will see "stat_sys battery" with all of your battery icons.
Copy the new icons to that folder replacing the old ones, drag the res folder back into the apk using 7zip
and copy the apk back to /system/framework/framework-res.apk
Done and Done....
Click to expand...
Click to collapse
Tried this last night with the GPS icon and it still showned on reboot.
alright so i just now got this working lol
i prob used a more complicated way of changing it but that's because adb would just crash for whatever reason.
for anyone else who wants to do what i did, these were my steps
using a computer:
1. extract the ROM zip file you're trying to modify the battery for
2. navigate to system/framework
3. open framework-res.apk with 7zip
4. double click res
5. double click drawable-hdpi
6. copy your new modified battery icons into this drawable-hdpi folder to replace
7. re-zip the ROM
8. re-sign the ROM
9. re-flash
i'm sure you can do this without having to re-flash your ROM, but this is what i did, it worked, and that's all that matters
big thanks again to thegame!
pull the framework-res.apk from /system/framework/
open the apk using 7zip
copy the "res" folder somewhere so you can work on it
Under drawable, or drawable hdpi something you will see "stat_sys battery" with all of your battery icons.
Copy the new icons to that folder replacing the old ones, drag the res folder back into the apk using 7zip
and copy the apk back to /system/framework/framework-res.apk

Framework-res.apk editing???

How can I edit the nightly framework.apk correctly? I tried unzipping it by renaming it from .apk to .zip. I inserted the .png's to the appropriate place (they were battery images from the status bar) zipped it back up and renamed it from .zip to .apk. I flashed the rom and the default battery images were still there. Any answers? Thanks.
Sent from my T-Mobile myTouch 3G Slide using Tapatalk
When I did it I didn't rename i just right clicked and opened with winrar or winzip. Dragged whatever in and it worked.
My experience with this is using Matteslide. The rom only comes with free version of launcherpro. I just stole the themes from there and dragged it into the plus version.
Though i would think that you would have to resign an apk after editing it. idk.
OK, I got it working, all I did was decompile the apk, edited the .pngs and recompiled it. Your not suppose to sign it. Thanks, Ill be trying to port some themes now.

Need help making a theme

So I'm a bit of a noob. I'm attempting to create a theme and I cannot figure out where to edit the noti bar as well as the lockscreen image. For the lockscreen, I just want to keep the same tw lockscreen, but I want to change the padlock/background. Any help would be amazing as I am truely stumped.
If this needs to be in general, please move me
The file(s) that you are looking for are located in the framework-res.apk package located in a ROM/Theme. Inside of the .apk is a folder called res, and inside it is a folder called drawable-hdpi. This folder contains the majority of images used to make a theme look a certain way. In order to change the status bar, you need to edit the file statusbar_background.png. The lock screen one is in this folder too.
Nice. Thank you sir
Sent from my SPH-D700 using XDA App
I figured since the question has been answered I could just hijack this thread instead of making a new one. I am pretty new on modifying Android ROMs and would like to know where I should start first if I wanted to create my own theme? I would like to do some simple modifications first like icons and colors. Where can I find the necessary materials to get started? Like a fresh Touchwiz 2.5 template from the epic? Or do I just extract them from the stock ROM, if so, how? Thanks.
The files are accessible from the ROM if you open the zip and go to /system/framework then extract framework-res.apk
From there, you can open the apk with a tool like WinRAR and navigate to /res/drawable-hdpi as thomasskull666 mentioned. You can extract the png files from there and then just drag them back in once modified. Then just drag the framework-res.apk back into the ROM zip and flash it and bask in the glory of your handiwork.
Best advice is organize your workspace. You will have so many folders in folders your head is going to spin! What I do is copy the framework-res.apk, twframework-res.apk into a folder on your PC called STOCK DI18 Theme. *Make sure you pull these files from a deodexed rom or you'll have issues! Drawable-hdpi folder inside of both framework-res.apk files is where the brunt of you mods will be. If you are feeling daring, after changing the images in there you can begin to pull the drawable-hdpi from apps as well as long as you drag out the drawable folder, make your edits, then drag the edited folder right back in the zip, you'll be fine. Don't touch .9.png files if you don't know how to program them, I'm guessing you don't. Don't worry, edit everything else first to get that "feel" for what you are getting into. From there then research the .9.png files.
I highly recommend using 7zip for all of this, it is less of a headache. This is the basics of what you'll be doing to everything. Lets say you were going to do all this right off of your desktop. Make a folder on your desktop called STOCK DI18 Theme. Copy your framework-res.apk and twframework-res.apk into that folder from your deodexed rom. ANY TIME YOU NEED TO TAKE THESE FILES TO EDIT FOR YOUR THEME, COPY THEM FROM THIS FOLDER, NEVER SAVE THE CHANGES BACK INTO THIS FOLDER. This is important because you want easy access to all your stock files. Copy your system/framework and system/apps in here.
Now if you want to work on the framework-res.apk first. copy it to the desktop. Right click and choose 7zip-open archive. You can see the file structure of the apk. Click twice on res and you will see all the folders including drawable, drawable-hdpi, etc. Drag and drop drawable-hdpi to your desktop. Edit anything you want in there except a .9.png. Save the files into that same folder. Then drag and drop the folder right back into the archive where you got it in the first place. Then say your all done. Drag framework-res.apk back into the zip your going to flash on your phone in the same method.
Another quick tip, if you don't have an update zip and you have no idea what you are doing, download any working theme from here. Grab one of mine, and copy your framework-res.apk, twframework-res.apk, apps, etc over what in there. Make sure not to leave nothing it will show up in your theme! Any thing you need clearing up on, PM me, this should be plenty to get you started. To theme an app, right click say alarmclock.apk choose 7zip-open archive and do your magic again. As long as you only change the pictures in there you won't alter the signature on them so don't be afraid to mess with it.
Lastly, the Epic's framework is LOADED with files that it doesn't even use so be careful you not spending too much time editing a file you never seen on your phone before!
dreamsforgotten said:
Lastly, the Epic's framework is LOADED with files that it doesn't even use so be careful you not spending too much time editing a file you never seen on your phone before!
Click to expand...
Click to collapse
Excellent tip, this is especially helpful if you are trying to port a theme as not all of the .png's will match up. Make sure you know what you NEED to be replacing as opposed to what is optional. Also I don't know if it was mentioned before but there are some files (especially in twframework-res) that have a .9 before the .png. These are not your run-of-the-mill png files, and they need to be specially edited to preserve their formatting. I recommend avoiding these if at all possible, but there is a way to edit them if you are feeling really adventurous. Here is the link to that post:
http://forum.xda-developers.com/showthread.php?p=5206698
My suggestions for success: If you really want to make sure you are editing only the files that you need to edit in framework-res.apk, download a few custom themes or ROMs and extract the framework-res.apk from them. Then use a program such as UltraCompare to compare the files and folders inside each to find common files. This will help you pinpoint exactly what needs to be edited and what needs to be left alone. Lastly, like dreamsforgotten stated, be sure to have a good work directory from which to edit these .apks, as you will be working with folder after folder after folder. Organization is key, and patience is required

Customizing graphics (maybe noobish question)

Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
tajimura said:
Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
Click to expand...
Click to collapse
Good question! I'm also interested in this.
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
ckpv5 said:
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
Click to expand...
Click to collapse
Got it. One more question - which tool do you use for signing?
Sent from nowhere
tajimura said:
Got it. One more question - which tool do you use for signing?
Sent from nowhere
Click to expand...
Click to collapse
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
ckpv5 said:
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
Click to expand...
Click to collapse
Thanks for the answers, now going to try that all
Sent from nowhere
Search for "apk tool" here on xda and you'll have what you need for theming and signing and more.
via xda app
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
rootSU said:
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Umm, I thought that I have to sign it with "platform" key...
BTW, which PNG is responsible for statusbar background? The closest one I found is "statusbar_bg_tile", 1x1 black image. I want to use gradient background, and have created one full background image and one 9-patch, but dunno what to do - simply replace statusbar_bg_tile with statusbar_bg/statusbar_bg.9 or also modify some xml? In statusbar.xml I can't find any reference to statusbar_bg_tile PNG.
Sent from nowhere

Question for [TN&TR] "Black"FI27 ICS. Modded&Tweaked OUT! Update! 10/16/12

Question for [TN&TR] "Black"FI27 ICS. Modded&Tweaked OUT! Update! 10/16/12
What file or files needs to be moded to change the carrier banner name on the pull down as well as the border of the pull down that says "Black". Finally the boot animation as well. I only ask cause I every rom is a bit different. The theads I found about this did not work for this rom. Any help is apprieciated from anyone who has expierience with this rom or the talented Devs that moded this build. Thanks, great rom
Sent from my Black SPH-D710
elniper said:
What file or files needs to be moded to change the carrier banner name on the pull down as well as the border of the pull down that says "Black". Finally the boot animation as well. I only ask cause I every rom is a bit different. The theads I found about this did not work for this rom. Any help is apprieciated from anyone who has expierience with this rom or the talented Devs that moded this build. Thanks, great rom
Sent from my Black SPH-D710
Click to expand...
Click to collapse
I can help you out halfway. To change the boot animation, download one that you would like, browse to system/media from root explorer or another file explorer and replace the old one with the one you downloaded and reboot
Sent from my Epic 4G Touch using XDA Premium
http://forum.xda-developers.com/showthread.php?t=1844529
Explained here, but it may not work right with files that have already been modified. They might not decompile correctly, I'd check with Tim before changing anything though, he'll let you know if it's workable.
http://forum.xda-developers.com/showthread.php?t=1656612
And this should take care of the boot animations
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
http://forum.xda-developers.com/showthread.php?t=1656612
And this should take care of the boot animations
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks. I will check this out and let you know.
Sent from my Black SPH-D710
elniper said:
Thanks. I will check this out and let you know.
Sent from my Black SPH-D710
Click to expand...
Click to collapse
I have already made a mod for the carrier labels in the fi27 update. The new carrier label says team rejectz. If you would like to make your own carrier label(s) for fh23 for your own personal use, here's how...
What you will need:
-Pc/laptop updated with the latest java /sdk/jdk. (google it)
-Team Rejectz quick fix. (xda-dev section)
-Root file explorer such as : root explorer or ES file explorer OR adb shell on your pc to pull/push files from your pc to your phone.
-Notepad++ (google it)
-7 zip (google it)
- rooted e4gt and a NANDROID BACKUP!
1. Pull the framework res from your phone. Make a copy and save it. (system/framework)
2. Use the quick fix to decompile the framework res apk. The quick fix will make a framework res folder.
3. Go to res/values/strings.xml and open it with NotePad ++
4. At the top of NotePad ++ you will see an icon that looks like a pair of binoculars. That's the search icon.
Search for "Sprint". You should get 3 instances.
5 edit "Sprint" to say Black or Team Rejectz, your name or whatever you like. Just make sure its not too big or it won't work.
6. Recompile. After quick fix is done recompiling, there will be 2 new folders in the framework res folder; build, and dist. Go into the dist folder and you will see your new framework res apk.
7. Open the archive (don't extract, just open archive) of both the original copy of the framework res and the new one you edited from the dist folder. Drag and drop the META inf folder from the original to the modded apk. Now double click on the res folder in both archives. Drag and drop the drawable hdpi folder from the original to the modded archive.
Close out the archives and push your new framework res to system/app on your phone with either adb or your rooted file explorer. If you use the file explorer to push the framework res make sure you set the permissions the same as the rest of the system apks first. Push, reboot, enjoy.
Thanks
timmetal6669 said:
I have already made a mod for the carrier labels in the fi27 update. The new carrier label says team rejectz. If you would like to make your own carrier label(s) for fh23 for your own personal use, here's how...
What you will need:
-Pc/laptop updated with the latest java /sdk/jdk. (google it)
-Team Rejectz quick fix. (xda-dev section)
-Root file explorer such as : root explorer or ES file explorer OR adb shell on your pc to pull/push files from your pc to your phone.
-Notepad++ (google it)
-7 zip (google it)
- rooted e4gt and a NANDROID BACKUP!
1. Pull the framework res from your phone. Make a copy and save it. (system/framework)
2. Use the quick fix to decompile the framework res apk. The quick fix will make a framework res folder.
3. Go to res/values/strings.xml and open it with NotePad ++
4. At the top of NotePad ++ you will see an icon that looks like a pair of binoculars. That's the search icon.
Search for "Sprint". You should get 3 instances.
5 edit "Sprint" to say Black or Team Rejectz, your name or whatever you like. Just make sure its not too big or it won't work.
6. Recompile. After quick fix is done recompiling, there will be 2 new folders in the framework res folder; build, and dist. Go into the dist folder and you will see your new framework res apk.
7. Open the archive (don't extract, just open archive) of both the original copy of the framework res and the new one you edited from the dist folder. Drag and drop the META inf folder from the original to the modded apk. Now double click on the res folder in both archives. Drag and drop the drawable hdpi folder from the original to the modded archive.
Close out the archives and push your new framework res to system/app on your phone with either adb or your rooted file explorer. If you use the file explorer to push the framework res make sure you set the permissions the same as the rest of the system apks first. Push, reboot, enjoy.
Click to expand...
Click to collapse
Thanks, will try. And the boot animations, you agree with Stryke_the_Orc and others or you have a better method for Black Rom v1.3.
elniper said:
Thanks, will try. And the boot animations, you agree with Stryke_the_Orc and others or you have a better method for Black Rom v1.3.
Click to expand...
Click to collapse
Well I'd guess he'd say to use the method in the thread I directed you to, its his thread lol :beer:
Sent from my SPH-D710 using xda premium
Need Help
timmetal6669 said:
I have already made a mod for the carrier labels in the fi27 update. The new carrier label says team rejectz. If you would like to make your own carrier label(s) for fh23 for your own personal use, here's how...
What you will need:
-Pc/laptop updated with the latest java /sdk/jdk. (google it)
-Team Rejectz quick fix. (xda-dev section)
-Root file explorer such as : root explorer or ES file explorer OR adb shell on your pc to pull/push files from your pc to your phone.
-Notepad++ (google it)
-7 zip (google it)
- rooted e4gt and a NANDROID BACKUP!
1. Pull the framework res from your phone. Make a copy and save it. (system/framework)
2. Use the quick fix to decompile the framework res apk. The quick fix will make a framework res folder.
3. Go to res/values/strings.xml and open it with NotePad ++
4. At the top of NotePad ++ you will see an icon that looks like a pair of binoculars. That's the search icon.
Search for "Sprint". You should get 3 instances.
5 edit "Sprint" to say Black or Team Rejectz, your name or whatever you like. Just make sure its not too big or it won't work.
6. Recompile. After quick fix is done recompiling, there will be 2 new folders in the framework res folder; build, and dist. Go into the dist folder and you will see your new framework res apk.
7. Open the archive (don't extract, just open archive) of both the original copy of the framework res and the new one you edited from the dist folder. Drag and drop the META inf folder from the original to the modded apk. Now double click on the res folder in both archives. Drag and drop the drawable hdpi folder from the original to the modded archive.
Close out the archives and push your new framework res to system/app on your phone with either adb or your rooted file explorer. If you use the file explorer to push the framework res make sure you set the permissions the same as the rest of the system apks first. Push, reboot, enjoy.
Click to expand...
Click to collapse
Yea. Tried this today. I ran into a couple problems. The last step you say to push the framework-res file to "system/app" is that correct cause there is no room in there. I only have like a couple megs in there. I would have thought that it replaces the original file in "system/framework". I copied it there and over wrote the original and set permissions . The phone restarted by it self when I did that and got stuck on the boot animation. I force restarted the phone again and it still gets stuck on the boot animation. I restored my nandroid. I followed your instructions to a T. With the exception of where the framework-res file should go:crying: My carrier label has the same amount of characters as "Team Rejectz".
elniper said:
Yea. Tried this today. I ran into a couple problems. The last step you say to push the framework-res file to "system/app" is that correct cause there is no room in there. I only have like a couple megs in there. I would have thought that it replaces the original file in "system/framework". I copied it there and over wrote the original and set permissions . The phone restarted by it self when I did that and got stuck on the boot animation. I force restarted the phone again and it still gets stuck on the boot animation. I restored my nandroid. I followed your instructions to a T. With the exception of where the framework-res file should go:crying: My carrier label has the same amount of characters as "Team Rejectz".
Click to expand...
Click to collapse
Ok, first yes that should go to framework, system/app must have been a typo. Second, the getting stuck on boot could be a number of things, you'll have to get a logcat to find the specific cause. When this happened to me it was an improper edit that caused the xml to fail although it recompiled fine. Hope that helps.
Sent from my SPH-D710 using xda premium
Ok, so I can start attempting to make my own carrier label, and I want my clock on status bar in the center
Sent from my SPH-D710 using xda premium

Categories

Resources