yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] ghostrida:
yeah. i did this today on the Incredible. Heres how you do it.

[size=+1][highlight]Credit goes to xeudoxus & fxn[/highlight][/size]

1. Connect phone using USB and check that you can see your device using: adb devices

2. in your SDK/tools directory from command line do:

adb pull /system/framework/services.jar services.jar

3. Make a backup of the services.jar file that just popped in the tools folder just in case!

4. Download smali and baksmali from http://code.google.com/p/smali/ and place them in the tools folder. Rename the files to baksmali.jar and smali.jar to save on typing later

5. Open the services.jar file with something such as winrar or 7zip or whatever you prefer

6. Copy out the classes.dex file to your SKD/tools folder

7. run following from command line:

java -jar baksmali.jar -o classout/ classes.dex

8. Now browse to your new folders classout/com/android/server/status

9. Open the file StatusBarService.smali in something like notepad or context or any text editor

10. Locate a line that says:

.line 1773
const/4 v5, 0x2

11. Change this to say:

.line 1773
const/4 v5, -0x3

12. Save the file

13. Now back to the command line and from your SDK/tools folder run:

java -Xmx512M -jar smali.jar classout/ -o new-classes.dex

14. If the above finishes without errors you should have a file called new-classes.dex in your SDK/tools folder now that is the same size as your classes.dex file.

15. Rename the old classes.dex file to classes-old.dex and rename the new-classes.dex file to classes.dex

16. Open the services.jar file with your archiving tool again from step 5 and replace the existing classes.dex file with our new classes.dex we just created.

17. From command line run:

adb remount

18. also from command line:

adb push services.jar /system/framework/

19. Finally run:

adb shell reboot

Related Threads:

http://xdaforums.com/showthread.php?t=549309

http://xdaforums.com/showthread.php?t=744256
[EVO 4G Themes and Apps] bludragon742:
Awesome, thanks! I think I'll give this a go later. Is there any way to make the status and rosie bars translucent too?
[EVO 4G Themes and Apps] bludragon742:
Just tried this twice and it did nothing for me.
[EVO 4G Themes and Apps] SteelH:
Thanks for the great help, however those lines don't match up on the EVO Froyo services.jar. In fact, there is no ".line 1773" or "const/4 v5, 0x2"

Is there anything else I could look for to help me home in on what controls the notification bar? I'm going ot check out your related threads. Again, I do appreciate the help, this is the first solid answer I've gotten to my original question.

Update: I found it! I was looking for line 1773 of code instead of the text .line 1773. Now to try it out!
[EVO 4G Themes and Apps] bludragon742:
I had those lines but changing them did not do anything. For me it was in ".method onBarViewAttached()V".
[EVO 4G Themes and Apps] bomix:
Does this work on Odex Roms? I"m running rooted OTA 2.2 Odex Rom

I'm 95% sure the answer is no, but I just want to get a confirm. :D
[EVO 4G Themes and Apps] bludragon742:
I think you need a de-odexed ROM for this to work.
[EVO 4G Themes and Apps] tommy96814:
yeah my file already on -03x on the evo so no changes needed.
[EVO 4G Themes and Apps] notmike:
Any way someone could turn this into a signed flashable zip?
[EVO 4G Themes and Apps] bludragon742:
I think we need something that actually works before we can package it up. Did you have any luck with this Steel?
[EVO 4G Themes and Apps] Skullmonkey:
ok... im running into problems...

first off: my "StatusBarManager.smali" file is in /classout/andriod/app/ folder and the file stated in the guide does not exist.

second: in the smali file, nothing matches up. no numbers, lines, anything.

here is my smali file: jcink.pastebin.com/ijPptK0J (copy/pate since i cant post outside links >_>)

Fresh Evo 3.2
[EVO 4G Themes and Apps] 1wingangel:
Has anyone any advice on this yet?
[EVO 4G Themes and Apps] ShadowDrake:
Yeah, did you not read the last few posts? This works. Just follow ghostrida's instructions. I also dropped in gregalous' transparent png because I don't have photoshop around to make a 180x180 plain transparent png. His is pretty close, it's got a carbon fiber ghosting kind of image to it. Looks plenty good.

Edit: I'm running steel's stock deodexed ROM. I can get my services.jar for you guys if you want to package it up, as well as the framework-res.apk. I'm using smoothsense for the icons so that -may- have to be installed also unless someone is going to use it. I plan on using a plain 65% opacity image just like the OP did.
[EVO 4G Themes and Apps] ShadowDrake:
Just an update, here's the current state of things... and a few files if anyone wants to make the changes themselves.

If you're coming from a stock deodexed rom, just do the following after copying services.jar and framework-res.apk to your adb\tools folder and performing a nand backup...

adb remount
adb push services.jar /system/framework/
adb push framework-res.apk /system/framework/
adb shell reboot recovery

Wipe dalvik cache, and reboot normally. You'll have smooth sense icons because that's what I'm using. If you don't like it, modify your own framework-res.apk. I have included the 75% transparent plain black image I used. I wanted it a littke darker :) The services.jar file should be universal to stock rooted roms.

Edit: Attachment is gonna have to wait till tethering isn't being so terribly slow. It's gonna take ~2 hours for a 4 mb file. I love how fast this is, ughhhh
[EVO 4G Themes and Apps] martijua:
Thanks to the info on this thread I was able to mod my framework-res.apk and services.jar and now have a transparent notification tray background

How do I make the bar that has the clock, 3g/4g, battery, etc....how do I make that transparent ?

Do I just need to edit a png from the framework-res.apk ? If so...which one ?
[EVO 4G Themes and Apps] martijua:
Figured it out and edited the "statusbar_background.png" file to be transparent....but now I need to edit all the icons that show up in the status bar to be transparent.

Guess some day when I have more time I'll edit those, but not tonight.

Thanks again!
[EVO 4G Themes and Apps] SteelH:
Yes, you can see my results in the OP.

I'm not familiar with Fresh EVO, is it themed and all? If so, he may have modified services.jar.

Also, I have modified the services.jar in the newest leaked OTA (provided by Flipzmode and used im my latest ROM) and it works fine as well.
[EVO 4G Themes and Apps] Max_Pain:
I'm on OMJ v3.1 ODEXED and my services.jar file is 1KB and only contains only one file, no classes.dex...

can this be done at all on a odexed rom?

i've do so many changes and installed so many apps and games I really dont want to change roms any more!

thanks.
[EVO 4G Themes and Apps] SteelH:
If you can get to classes.dex it can.
[EVO 4G Themes and Apps] daktah:
when i decompile the dex file from the dc 3.5 services.jar it gives me StatusBarService$1 through StatusBarService$9 but no StatusBarService$4 which is exactly where .line 1773 would probably be since StatusBarService$3 ends with .line 1622 and StatusBarService$5 starts with .line 1995

any ideas on wtf?
[EVO 4G Themes and Apps] SteelH:
Send me your services.jar and ill look at it
[EVO 4G Themes and Apps] daktah:
here you go
[EVO 4G Themes and Apps] SteelH:
StatusBarService.smali is exactly where it should be in your services.jar, not sure why you couldn't find it.

I went ahead and edited it for you anyhow.
[EVO 4G Themes and Apps] 1wingangel:
I have my own custom theme with smooth sense added on, will this fork with my theme?

sent from my iPhohnyne 4...........destroyer.
[EVO 4G Themes and Apps] daktah:
thanks. this is what i got when i decompiled the original one i sent you though

edit- pushed it and rebooted and no dice. the tray background is still solid white
[EVO 4G Themes and Apps] SteelH:
Yes, I have smooth sense as well (well most of it)

LOL!! I see the smali file right there in your screen shot picture! You are blind!

Did you make your PNG translucent? I'd say NO because it's still white.
[EVO 4G Themes and Apps] EVOme:
flashable??
[EVO 4G Themes and Apps] 1wingangel:
any way we could get those now, i really just need the transparent bg.

thanx
[EVO 4G Themes and Apps] Max_Pain:
my services.jar was 1KB and no classes.dex inside....i just installed a mod that came with a hefty services.jar file WITH classes.dex inside. i edited the file like instructed here and the notification tray is still solid black...so i'm assuming it wont work with odexed roms :-(
[EVO 4G Themes and Apps] SteelH:
As previously stated in the OP, you need to edit the appropriate PNG as well as make the services.jar mod.

No.
[EVO 4G Themes and Apps] Max_Pain:
what makes you think mine isnt? the mod i downloaded comes with the status_bar_background.png file, i think is called, already translucent with an android on the bottom right corner.

the translucent png + the modified services.jar = solid black background in OMJ v3.1 Odexed...
[EVO 4G Themes and Apps] ydnandy:
Is this suppose to be a translucent background when i add it to my framework-res.apk? I went through adding this to my framework, modified services.jar, wiped dalvik cache.... looks like i did everything correctly because the notification bar/tray background has changed, but its grey and not translucent.

Can someone post a png that is a translucent black? I like both the 65% or 75%, so both are good with me.

thanks!

EDIT: Also, did anyone else have to re-add their google account after making this change?

EDIT AGAIN: I re-did the framework.apk change and used the png file from the first page... the one that is in the "Transparent Notification Drop Down.zip" attachment.... now its translucent, but doesn't look as good as some of the screen shots i'm seeing. Basically, it looks like there are a bunch of tiny squares that make up the background and i can see white lines that make larger squares. Which png file is everyone using to get these nice looking results?
[EVO 4G Themes and Apps] marc.ientilucci:
i like the notification tray from the first post but the bottom bar i wanted to add my own.

how to i get this and the tray from the first post together?
[EVO 4G Themes and Apps] SteelH:
That zip isn't a translucent png, that's why.

Check OP. I posted my PNG.

Look HERE
[EVO 4G Themes and Apps] ydnandy:
Thanks for posting... when i put that into my framework file and push back to the phone, something still isn't right. Now its not translucent at all, it just shows two toned grey vertical lines. I did make the services.jar changes earlier today.

should i be pushing these files with my phone on, or in recovery? I have been doing it with the phone on... wondering if maybe some pieces aren't being written to the phone properly.

thoughts?

EDIT: ok, i got it.... i'm an idiot. I was right clicking the thumbnail of your attachment and saving that instead of saving the actual attachment... When i saved and pushed out the actual png file, it worked as expected.

thanks again
[EVO 4G Themes and Apps] SteelH:
Yeah, I don't know why the thumbnail looks likes that, the actual PNG isn't Zebra striped like the thumbnail is. LOL.
[EVO 4G Themes and Apps] marc.ientilucci:
FINALLY! (thnx metamorph)

finally got it...
[EVO 4G Themes and Apps] martijua:
Here are some more instructions on how to do that:

http://xdaforums.com/showthread.php?t=786313

EDIT:

DOH! To late. Glad you got it working.
[EVO 4G Themes and Apps] That0neUser:
Using an HTC Evo, I'm on OMJ's deodexed 3.5 ROM. Followed these steps:

-Pulled framework-res.apk, replaced the status_bar_background.png with a transparent image.

-Pulled the services.jar and edited the classes.dex .line 1733 info.

-Rebooted to Recovery, wiped Dalvik-Cache and pushed both of the edited files...framework-res.apk and services.jar

No change whatsoever to the drop down notification tray. It's still stock white. Any ideas on what's up?

I've attached the framework-res.apk and services.jar files that I've edited. If someone who knows more can take a look and see if I'm completely missing something or what, that'd be great.

Thanks!

**EDIT**

Ok, so adb push wasn't actually pushing the files. You need to mount /system prior to trying to push these files.
[EVO 4G Themes and Apps] sbdadmak:
That piece of info was key...finally got it working. Thanks.
[EVO 4G Themes and Apps] dkdude36:
i am running ava froyo v8 (evo of course) and there simply is no line 1773 in the entire file. i know i am doing it right because i have done it before. please help. i have searched for everything about this. there simply is no .line 1773 or the other stuff i checked plz help.
[EVO 4G Themes and Apps] SteelH:
Send me your services.jar
[EVO 4G Themes and Apps] Rydah:
Steel,

can you modify the services.jar for this rom?

thanks!

(i know it is an odex'd rom, but i am certain that it will work with some files that i have.)
[EVO 4G Themes and Apps] SteelH:
NO, this doesn't work on an ODEX'd ROM. The services.jar has an .odex file in ODEX'd ROMs, which means no classes.dex inside of services.jar to modify.
[EVO 4G Themes and Apps] Rydah:
There's got to be a way.....

What has changed since 2.1 that messed this up? I remember when I was on 2.1 odex, flashing a theme that had a transparent png, it was all good.

Sent From My HTC Evo 4G Using Tapa Talk Pro!
[EVO 4G Themes and Apps] SteelH:
Actually quite a bit has changed from 2.1 to 2.2. In 2.1, you could simply swap out a PNG with transluceny set and you would be done. However, this no longer works in 2.2. You can swap out a PNG for one that is translucent, but the 2.2 framework will not read/recognize the transparency of the PNG without editing the services.jar as well.
[EVO 4G Themes and Apps] GadgetFreak:
Help!

Okay, I am totally clueless about how to edit the services.jar. Could one of you that has pulled this off take a look at mine and modify it to work? Thanks!
[EVO 4G Themes and Apps] SteelH:
Here you go.
[EVO 4G Themes and Apps] fmedina2:
I flashed the .zip and the translucent notification tray background works fine but it got rid of my notification bar mod. I tried to re-install it using metamorph but nothing happened. Can this not be used in conjunction with a notification bar mod?
[EVO 4G Themes and Apps] mtown901:
How did you get this to work with metamorph?
[EVO 4G Themes and Apps] fmedina2:
Just flash this zip. Credit to SteelH.
[EVO 4G Themes and Apps] THunDA:
Thanks sooooo much for the guide!! My first time editing any system files like services.jar but it went great.. only problem I encountered was I didnt have java 64bit installed (using win7 64bit) but that was more my fault from lack of knowledge..
[EVO 4G Themes and Apps] THunDA:
Im trying to follow this but for some reason I cant push or pull files in adb while in recovery unless I use clockwork (and I achieved this by selecting mount in clockwork), although it does show my device in adb with both recoveries.

I tend to prefer amon (using 1.8.0 atm) and with all the nanding im doing trying to learn how to edit these files its a pain in the arse to have to flash back and forth between recoveries..

I can mount and unmount perfectly fine while my phone is booted up but recovery its a no go.. unless using clockwork.

Could it be drivers in windows? using win 7 64bit. maybe its not seeing my phone properly when its plugged in while in recovery.. but when using clockwork and selecting mount from the menu its doing it on that end?!?

Sorry to bump an old thread but I found it from searching and figured its better then starting a new one.. :\

Thanks in advance.
[EVO 4G Themes and Apps] SteelH:
Did you mount the /system partition in your adb shell ?

adb shell
mount /dev/block/mtdblock4 /system

Then do your push/pulls.
[EVO 4G Themes and Apps] THunDA:
Thanks bud that worked! Im not too good with all the adb stuff but im learning.. couldnt understand why it worked with the phone booted but not in recovery. Now I go to get to work..lol have to save the playing for tonight.
[EVO 4G Themes and Apps] THunDA:
So mounting definitely solved my pushing and pulling issue..lol

I followed the services and framework mod to the T. But it boots up to android and quickly reboots to the htc screen..

I did notice something strange.. The status_bar_background's that are posted in this thread are 180x180 and the one from my framework is 480x746, would that be my problem??

I tried to resize it but im not the most savy person is PS.. maybe I was missing something else that needs to be done. (like be the same size as the original one)

Im going to attach my original png, not sure why it shows up white in the post but my tray backround is actually solid black?!? (rom info is in sig)

edit.. added zipped png.
[EVO 4G Themes and Apps] Digitalkarma:
Wouldnt it be nice if there was a Metamorpph file for this?

I downloaded the old smali files from the Google site, but I cant open them with Winrar after renaming it with .jar extension. However, I can open The latest smali files with the .jar already attached but I cant find the classes.dex file in the .jar that is mentioned in Ghostrida's instructions. But the instructions specifically said get smali files then rename them .jar and look for classes.dex. So there is no way for me to continue with Ghostridas method. Is there any other method I can try? A metamorph would be very convenient as I have already applied mods to my rom and undoing them would be a pain in the butt.
[EVO 4G Themes and Apps] SteelH:
Read the instructions again, you are misreading. Classes.dex is NOT inside any .jar file.

5. Open the services.jar file with something such as winrar or 7zip or whatever you prefer
6. Copy out the classes.dex file to your SKD/tools folder
[EVO 4G Themes and Apps] Digitalkarma:
whoops I see it now. Classes.dex is in services.jar not the smali files from the site. Ok I try again
[EVO 4G Themes and Apps] Digitalkarma:
alright, got it to work! big thanks to ghostrida and steelH for this thread.

i was wondering how you would go about making the notification menus within the transparent drop down notification menu from white to transparent or a different color as well. do you need to find and change another .line variable in the smali file? or just simply replace the .png
[Nexus One General] zer0day:
Don't know when this was enabled, but it looks like you can report the battery use of apps directly to developers. I check my battery use screen quite regularly and haven't noticed this before. It's sent through the same screen for reporting crashes and freezes.
[Nexus One General] Goonish:
Hehe. 7 months on, and we're still seeing new things on our phones. :)

Probably worth hitting report for sus apps, I wonder how much information is sent via this..
[Nexus One General] GldRush98:
I don't think it reports it to the developer... I think it reports it as misbehaving to the Market. Not sure though.
[HD2 Accessories] xlush69:
Do you guys know how to use the HD2 as a Dash Cam? I know there are some car docks for the Touch Pro and the Nexus One and you can end up using the phones camera as a Dash Cam (like a police one) and you can record some cool stuff you see while driving.
[HD2 Accessories] troed:
Try BRODIT-car holder for HD2. It´s the most flexible solution and You can move it in any position for recording. I have it in my car, on my motorcycle and in my microlight airplane for recording vids ....................
[HD2 Accessories] tomthemd:
:D

Why are you guys so rich !? lol

Seems like a nice solution. I was wondering about that as well.

Especially since I live in a city in which many drivers bump your car and just leave. Having a camera in the car while you are gone is priceless.

Will make the handling of such ... bums ... that just leave after they hit your car easier!
[HD2 Accessories] malex1:
Slight problem with your idea tomthemd, probably the first crash you hear after leaving your car, will be the sound of a car window, when your phone was stolen, and no picture of thief as no phone.
[HD2 Accessories] xlush69:
Yeah, lol leaving the phone on the dash as an evidence gathering device - not gonna last long. lol I was hoping to use it whenever I see something cool while driving (accidents, show that I was late cause there was traffic, accidents..) I have a police scanner so having this would be awesome to show friends.
[HD2 Accessories] bryan226:
Wich of them are you using on your motorcycle? And how did you mount it?
[HD2 Accessories] bryan226:
nobody knows? still waiting for an answer :confused:
[HD2 Accessories] cabrone:
i ordered an hd2 handlebar mount for my motorcycle, clamped it to the mirror. Only problem was it wasnt made for tmobile usa hd2. So it didnt fit well in the cradle. I too am REALLY curious as to how I can mount this to my motorcycle. More so for gps and music control..
[HD2 Accessories] ilordvader:
Try this Holster :)

Can be used in car too

just need to make another hole for Cam :p

VIDEO
[HD2 Accessories] extrapurifier:
Because he is Zahnarzt lol Zahnärzte get more money from their customers as they need. so teh y get rich while you get poor!
[HD2 Accessories] extrapurifier:
http://tinyurl.com/28ju3pv
[XPERIA X10 Themes and Apps] SXUsr:
There are 48 images in total, all resized to 960x854 to fit the Xperia X10. :D

Download via Mediafire
[XPERIA X10 Themes and Apps] urs74:
Where did this get buried at I just noticed this from your sig awesome stuff thanks for posting it.
[XPERIA X10 Themes and Apps] TrietHocNhanSinh:
Thanks, more wallpapers now. Are they HD wallpapers?
[XPERIA X10 Themes and Apps] SXUsr:
Some are and some aren't.
[XPERIA X10 Themes and Apps] PitBuLL N°1:
Nice pictures I love them thanks. ;)
[XPERIA X10 Themes and Apps] TrietHocNhanSinh:
Thank you!!
[XPERIA X10 Themes and Apps] mylovelyhorse:
Absolutely lovely - thanks very much for posting!!
[XPERIA X10 Themes and Apps] lightyear420:
Really cool pics!! Thanks :D
[XPERIA X10 Themes and Apps] SXUsr:
Dropbox link added. :)
[XPERIA X10 General] Hunch:
Hi,

I've set my facebook application to update every 30 mins, I wish it had less period than that. Anyways, when I have a new notification, poke or message, the phone makes a notification ring and a GRAY facebook sign appears on the top bar and the phone LED doesn't blink.

What does that mean? why the facebook sign is gray and shaded and not blue? anyone else having this problem? I'm using 026 firmware with no root.
[Hero CDMA Q&A, Help & Troubleshooting] c00ller:
[solved] com.android.settings force close when opening Settings > Wireless & networks

As stated in the title...

I'm using nfinitefx45's newest de-odex, JIT disabled. I suspect this may have to do with me deleting things from /system/app such as Nascar, twitter, etc. but maybe I deleted something I wasn't supposed to in the process..

Anyway I got a logcat of what happens when I click on "Wireless & networks", I hope someone is able to tell what's going on!

edit: solved by dalvik wipe...
[Vibrant General] s15274n:
I did not see this posted. I do not seem to have an issue.. But for the masses:

http://forum.androidspin.com/showthread.php?p=15337#post15337

Please report back. All credit to Eugene373 (a huge contributor to android). If it helps, be sure and support him.

well, it looks like someone did post this in the development section, I just missed it.
[Vibrant General] smashpunks:
Reports of it not working. Luckily I don't have a issue either...
[Vibrant General] ttabbal:
Works ok here. At least it's not any worse than it was before the change. After getting the first lock, it does seem to respond better though. Need to run it for a while too see how it does long term.
[Vibrant General] zoid_99:
How many birds lock in using the GPS Status app?
[Vibrant General] ttabbal:
I've gotten 4. I still think the firmware is sending crap data on that issue though. I constantly see it reporting 20ft accuracy with one satellite locked. Not possible to get a position more accurate than hemisphere with only one sat. :)

What I care about is how quickly it locks, how accurately, and if it can stay locked. So far, eugene's fix has improved all of those.