[HTC Wildfire S] AmAnzx:
TRANSPARENT STATUS BAR FOR CM7

Firstly, It is expected that those following this guide should have prior knowledge of What to do if system process crashes or the phone hangs after replacing system files. If you are an advanced user you can also first modify the systemui.apk first. Replace it in the cm7_update.zip file. Sign the new zip file so generated and install it. Then no need to go through many of the following steps. Also your device should be rooted.

:fingers-crossed::fingers-crossed::fingers-crossed:

My device: HTC Wildfire S A510e (Rooted & cwm installed) with cm7.2 nightly.

You would THINK that just updating the PNG files would be enough. It’s not. I tried it a MANY times while trying all those other bad ideas. you also need to edit the file, classes.dex, which is in the root of SystemUI.apk. You can recompile them using smali/baksmali. then we save the file classes.dex, update the SystemUI.apk, then put it on our android device. That’s all.

It’s still a hell of a lot simpler than all other methods stated on internet. Actual instructions below-:p

• Use any root file explorer to Copy /system/app/SystemUI.apk to your sdcard and then to your computer, where you can edit it (i used ES explorer root mode).

• Install Winrar or 7-zip if you do not already have it. 7-Zip can browse into .apk files and let you update them easily.

• Open SystemUI.apk in 7-Zip, do not extract it, just open it.

• Browse to the folder res/drawable-mdpi/, or res/drawable-hdpi/ then find all the png files that start with “status_bar” & "statusbar_background.9". Drag them into a folder.

• Open the PNG files in Gimp, Photoshop or any editor which is capable of png transparency. and make them transparent. If you want semi-transparency, do that instead.

• Select all of your modified PNG files and drag them back into same spot you got them from in the SystemUI.apk file and overwrite them.

• Press Backspace a couple times in 7-Zip to go back up to the root folder in the .apk, you should see classes.dex sitting there. Drag that classes.dex out to the folder.

• Download smali and baksmali (Link at bottom of post), put them in the same directory you put classes.dex.

• Open a CMD prompt and change to that classes.dex directory. And make sure you have latest Java JDK installed on your computer.

• Type the following (replace 1.3.3 with whatever version you have):

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

NOTE- If above command shows error then type following first and try above command again. Replace 1.7.0 with your version (check program files/java/)

set path=%path%;C:\Program Files\Java\jdk1.7.0\bin

• Back in the folder, go into the new classout directory that was created.

• Find the file named StatusBarService.smali, open it in a text editor.use notepad or notepad++

• Search for .line 1526, the line just under it should read: const/4 v5, -0x3. If it does not, but instead reads const/4 v5, 0×1 or const/4 v5, 0×2, change it. In some cases line number 1526 may be different like .line 1519 etc.

• Search for

invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V; a line above you should see const/4 v5, 0×2. Change it to const/4 v5, -0×3.

• Save the file and exit.

• Go back to your CMD prompt and enter this command (this recompiles the .dex file with your changes), (replace 1.3.3 with whatever version you have):

java -jar smali-1.3.3.jar classout -o classes.dex

• Add classes.dex back to where you got it from in SystemUI.apk.

• Take your updated SystemUI.apk file and place it on your SD card. If you took it out, put the SD card back in your Android device.

• Use ES explorer to copy the new systemUI.apk file an paste it in /system/app/ say yes to overwrite it and we are done.(check root option and mount system writable option in ES's settings).

• The above command probably just crashed Launcher. Press Force Close . Now, Just Reboot your device. (In some devices we may have to fix permissions to do that go to root explorer and fix permission for systemui.apk to rw-r--r-- and reboot device).:confused::confused::confused:

NOTE- this does not make every status bar transparent, you have to use a theme which has transparent status bar and your launcher should support it.

Transparency in different Launchers:

Go Launcher EX: Enable the Transparent status bar option in Prefrences>Advanced

ADWLauncher: works after unchecking "System Preferences" > "Wallpaper hack"

LauncherPro: works with live wallpapers. If you want regular picture use MultiPicture Live Wallpaper app.

Stock launcher: works, no issues.

:cowboy::cowboy::cowboy:

This is by far the simplest method to get a transparent notification bar.

Many parts of this Post have been taken from the source:http://xdaforums.com/showthread.php?t=1261061

:victory::victory::victory:

visit here for all download links:hackingcrux.blogspot.in

IF YOU FIND THIS HELPFUL, DONT FORGET TO HIT THANKS BUTTON...

I have attached SystemUI.apk with 50% tranparency for testing...