Hide battery and/or clock icon w/o Deodexed rom - Droid Incredible Themes and Apps

Pretty much what the title says, is there a method for hiding the battery and/or clock icons in the status bar WITHOUT a deodexed rom? I just have stock rooted 2.2, have no desire to install a custom rom at the moment, but if it's convenient, would like to hide the clock and/or battery icon to prevent having 2 up all the time.
Thanks,
-Drag

Not sure if odexed/deodexed matters for sure or not, but there are edits that need to be made to the classes.dex file inside of services.jar which is inside of /system/framework. You'd need to decompile classes.dex, make edits to the appropriate smali files to hide those, and recompile. That requires some set up, Java, and smali/baksmali. Put the new classes.dex into services.jar then adb push that back to /system/framework.
I've done it before with SR 4.0 to hide the alarm clock icon and clock.
Here is where it gives you the items to look for in the correct smali files that needed editing to hide the items.

RMarkwald said:
Not sure if odexed/deodexed matters for sure or not, but there are edits that need to be made to the classes.dex file inside of services.jar which is inside of /system/framework. You'd need to decompile classes.dex, make edits to the appropriate smali files to hide those, and recompile. That requires some set up, Java, and smali/baksmali. Put the new classes.dex into services.jar then adb push that back to /system/framework.
I've done it before with SR 4.0 to hide the alarm clock icon and clock.
Here is where it gives you the items to look for in the correct smali files that needed editing to hide the items.
Click to expand...
Click to collapse
Thanks a bunch sir!

Zeam launcher has a fullscreen mode that hides the notification bar. Can be set on or toggled with an action.

Maybe request a mod to change the color (black out) those items if you want to keep the task bar or as stated above loose the entire task bar with a launcher, I believe most of them have that option
All info I found states that you have to be running a deodexed Rom
Good luck, if you do it please share in how it was accomplished for stock sense 2.2

Related

Made notification bar transparent, ran into issues on bootup...

I figured out how to make my notification bar transparent, as well as the drag-down bar and status header bar. did it by pulling framework-res.apk, opened with 7-zip, edited the files from within 7-zip (didnt extract them at all), saved the changes, closed up and pushed the framework back to the phone. upon bootup however, once i unlocked the phone i got blasted with a stampede of FCs, all standard google apps and services that run on startup. even after pushing the stock, unchanged framework back, FCs continue. anyone know whats happening?
I think you need to edit the services.Jar file as well
mb02 said:
I figured out how to make my notification bar transparent, as well as the drag-down bar and status header bar. did it by pulling framework-res.apk, opened with 7-zip, edited the files from within 7-zip (didnt extract them at all), saved the changes, closed up and pushed the framework back to the phone. upon bootup however, once i unlocked the phone i got blasted with a stampede of FCs, all standard google apps and services that run on startup. even after pushing the stock, unchanged framework back, FCs continue. anyone know whats happening?
Click to expand...
Click to collapse
try a fix permissions maybe?
what rom?
im on the stock 8/1 2.2 leak. i figured out a temporary fix, i just modified the files in the smooth sense icons update zip since im using that on my phone, and did the update in recovery that way. it worked, but the only mod that worked was to the notification bar itself, not the drop-down bar or the header, so a services.jar edit is necessary to. which sucks because i dont know how to edit jar files or even navigate them to find what i need to edit lol. im gonna try to combine the smooth icons framework with the services.jar from the 50% shade backgroung update.zip and see how that runs. ill at least have a transparent status background/notification bar. i'll just have to learn java language and figure out the .jar setups on these phones myself and try editing then. i'll get back to you guys in a month
Have you checked out http://forum.xda-developers.com/showthread.php?t=744256 , which includes which lines to modify in the services.jar as well as the file to make transparent for the drop down?
Need to merge these two into one...
Heck - I'm very tempt to give it a try - i want mostly transparent top bar with 'frosted' icons - basically so if using default launcher pro, the top and bottom of the home screen match.
Plus, with that setup, it will open up a lot of the screen real estate.
bisbers said:
Have you checked out http://forum.xda-developers.com/showthread.php?t=744256 , which includes which lines to modify in the services.jar as well as the file to make transparent for the drop down?
Need to merge these two into one...
Heck - I'm very tempt to give it a try - i want mostly transparent top bar with 'frosted' icons - basically so if using default launcher pro, the top and bottom of the home screen match.
Plus, with that setup, it will open up a lot of the screen real estate.
Click to expand...
Click to collapse
yea i have the combined smooth sense icons and 50% shaded status background. i modded it to have a transparent top status bar, but the actual pull down bar itself (the one that materializes when you drag down your status bar) is services.jar related, im guessing, because i edited that in the framework and it didnt affect it. same with the status header, where it says Verizon Wireless.
after modding the status bar though, i was reminded that the individual icons had there own blackish square backgrounds that need to be eliminated, so im gonna be working on those hopefully today (gonna take FOREVER). when all is finished i'll post up screenshots and find out what everyone thinks, then possibly post up a zip of my own (with permission from jercick who did the smooth icons and whoever did the 50% shade) containing these mods.

how to ?

if i wanted to port this over to the current rom im using green volume sliders and actual buttons and d/l bars what files would i need to mess with??
Uploaded with ImageShack.us
I'm no themer, but I believe most (if not all) the files you would need would be in the /res/drawable folder within the framework-res.apk.
I have only done minor tweeks like this, but should be a good starting point.
Any seasoned vets wish to chime in?
Actually I think the slider color is an XML edit. Decompile the framework apk and look in the layout folder
any idea what its called i found the actual buttons in the HDPI folder
not sure what you are asking but if you are asking for all the pieces, here ya go:
BACKROUND
popup_menu, they are png's in framework and com.htc
SLIDER BUTTONS
in framework as png's (you found those already)
PROGRESS BARS
xml edit in framework, i believe it is progress_horizontal.xml
the edits there are for color as well as you are going to have to edit it so that the line is a lot thinner.
BOTTOM BUTTONS
also in framework and com.htc as general buttons.
bammmmmmmmm

[Q] How to change wifi/data signal and battery icon colors?

Is there a way to change the colors of the wifi/data, phone signal and battery icons in the status bar? I'm currently using weapon 2.4, so I'm rooted and was wondering if it might be a simple file edit to do so. If there is an app that lets you do that, I haven't found it yet but I would love to know how they work so I can potentially assign each icon a different custom color. Thanks in advance for any help.
--UPDATE--
ok so from what i've read so far it looks like i'm going to be editing some lines in the classes.dex which i extracted from the services.jar file in the framework folder. when I open up the classes.dex with baksmali i cannot find the \com\android\server\status\StatusBarIcon.smali file .. not just in that folder but anywhere within the expanded classes.dex archive. Is StatusBarIcon.smali where I'll be able to change the color of the icons in the notification bar or am I completely off track here?
You want to change the color of the icons? They are png files in the SystemUI.apk, so either pull them out and edit them in some photo software, find icons you like and add them, use a theme, or use UOT Kitchen.
do you have the "Theme Chooser" app on your phone?
If so, you might want to check out some themes and install one of those
or use Metamorph or a zip application to make your own
and remember, always backup your rom
Just use NinjaMorph, and edit SystemUI.apk... If you're looking to make them green, check my thread in the Themes section.
Sent from my LG-P999 using xda premium

[Q] customizing ICS navbar button order?

Hey there. Been looking around a bit for how to change the order of the navbar buttons on ICS, and also add/remove them. I got used to this functionality on my Galaxy Nexus on AOKP b29. I have the navbar set to
<back> <home> <menu (persistant)> <search>
according to the AOKP chatroom, they have it figured out for tablets, but it's not implemented into the rom yet. So Im wondering... if its figured out, how is it done?
Can anyone hit me up with some info or where to look? It'd be greatly appreciated.
I'm sure the information is either in an XML layout file or a java activity file within the ROM's system or framework-res apks, though I wouldn't be able to tell for sure, I'm guessing the systemUI.apk since that is where the images that overlay the nav bar are located..
luna_c666 said:
I'm sure the information is either in an XML layout file or a java activity file within the ROM's system or framework-res apks, though I wouldn't be able to tell for sure, I'm guessing the systemUI.apk since that is where the images that overlay the nav bar are located..
Click to expand...
Click to collapse
You're right, in systemui.apk there's a status_bar.xml file with all the layout of the status bar, including the buttons.
I might implement this feature in my rom.

Transparent status bar

Is there a mod or a way to turn the sense 6 status bar fully transparent like AOSP KitKat, unlike its current half transparency. Please do not suggest exposed, I'd rather edit system files.
Sent from my HTC One M8
Status bar (and others....)
If you decompile SystemUI.apk (found in /system/priv-app), look for status_background.9.png in res/xxhdpi and edit the image to make fully transparent. The xxhdpi folder also has the images for all the status bar and quick toggle icons if you should choose to change those as well...
As a note - I did this on my work computer (without actually decompiling the apk) by extracting SystemUI.apk to my dropbox and then simply renaming it to SystemUI.zip and decompressing it with 7-zip. After I made the changes I wanted (signal icons, wifi, nav bar bg, and some others), I re-zipped the contents of SystemUI (not the folder itself as it will make a redundant directory in the zip file and break your SystemUI), I renamed back to SystemUI.apk and placed the new SystemUI.apk in the appropriate directory, making sure permissions are set correct. Then reboot....
This worked for me... it's a bit tedious, but I get bored at work sometimes... lolz.

Categories

Resources