[MOD][ICS - LP*/CM9] Translucent status bar

Search This thread

el_liberator

Senior Member
Apr 13, 2011
1,131
1,159
Collias
Hi

Here's how to make a translucent status bar For DEODEX ICS ROM (LP*/CM9)
successfully tested on
- WanamLite 9.0 (http://forum.xda-developers.com/showthread.php?t=1436817)
- REMIX ICS 9.4 (http://forum.xda-developers.com/showthread.php?t=1436854)
- CM9 (http://forum.xda-developers.com/showthread.php?t=1410400)
- My ROM ;)

Patches for some ROM

for Criskelo V5 (Link ) (Thanks jeanluc1701) 100% Translucent : http://forum.xda-developers.com/attachment.php?attachmentid=953090&d=1332084829

for Turkbey LPQ (Link) (Thanks shadowofdarkness) : 100% Translucent : http://www.mediafire.com/?bbq2h9ofdc9d4hn

for WanamLite 9.1 (Link) : 100% Translucent : http://www.mediafire.com/?kr80pkdxk7kbis1

for WanaLite 9.4 (Link) : - 100% Translucent : http://www.mediafire.com/?9maj0fu2zmsw318

for WanamLite 9.6 (Link) : 100% Translucent : http://www.mediafire.com/?16yv3a8mmkcqkbk

for WanamLite 9.8 (Link) : 100% Translucent : http://www.mediafire.com/?rmv21bkgj5pqge7

for WananLite 9.9 (Link) : 100% Translucent : http://dl.dropbox.com/u/26340739/SystemUI_Wanamlite99_translucent_100.zip

for WananLite 10 (Link) : 100% Translucent :http://www.mediafire.com/?bbgmc3quckm4m5u


for LPQ Stock DEODEX (Link) : 50% Translucent : http://www.mediafire.com/?f1hc4ky6kn711if

for LPQ Stock DEODEX (Link) : 100% Translucent : http://www.mediafire.com/?hvd317q867aoi8t

for Pure ICS 7.1 (Link) : 100% Translucent with round battery icons (Mardanpet's Status bar) : http://www.mediafire.com/?ovv5fr3crxezmj6
mardanpet.png



Patch Installation
-1- put zip file on your sd card
-2- reboot in recovery
-3- make a backup
-4- wipe cache
-5- wipe dalvik cache
-6- flash zip file
-7- reboot


To do yourself

**** Make a backup first ****

Use ADB for pull and push SystemUI.apk

I use Linux , not Windows


For Windows , try Wanam's ApkManager : http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
(Thanks Wanam)

For Linux
first download apktool , aapt and sign tool :
apktool + aapt for Linux : http://www.mediafire.com/?wg7cgaoerq4ab3n
sign tools for Linux : http://dl.dropbox.com/u/26340739/sign_tools_for_Linux.zip

alternative apktool : http://www.mediafire.com/?gs45ase17lb21ag

create a directory for example : works
create a directory for signtools : signtools
create a directory for apk signed : signed

mkdir ~/works
mkdir ~/works/signtools
mkdir ~/works/signed

put apktool.jar , aapt in this ~/works
put sign tools in ~/works/signtools

change permission for aapt :
cd ~/works
chmod 755 aapt
export PATH=$PATH:.

-1- get SystemUI.apk, framework-res.apk , twframework-res.apk from your phone :
adb pull /system/app/SystemUI.apk ~/works/SystemUI.apk
adb pull /system/framework/framework-res.apk ~/works/framework-res.apk
adb pull /system/framework/twframework-res.apk ~/works/twframework-res.apk

-2- cd ~/works
-3- java -jar apktool.jar if framework-res.apk
-4- java -jar apktool.jar if twframework-res.apk
-5- Decompile your SystemUI.apk : java -jar apktool.jar d -f SystemUI.apk
-6- Navigate to your decompiled folder and go to ~/works/SystemUI/smali/com/android/systemui/statusbar/StatusBar.smali
-7-Search this line :

Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V

-8- Above this line, change :
Code:
const/16 v16, [B]0x4[/B]

TO

Code:
const/16 v16, [B]-0x3[/B]

-9- Save the file
-10- Navigate to your decompiled folder and go to ~/works/SystemUI/res/values/drawables.xml
-11- Search this line :
Code:
<item type="drawable" name="status_bar_background">[B]#ff000000[/B]</item>

Change the value of status_bar_background
example for completely translucent or 50% translucent

Completely translucent
Code:
<item type="drawable" name="status_bar_background">[B]#00FFFFFF[/B]</item>

50% translucent
Code:
<item type="drawable" name="status_bar_background">[B]#7f000000[/B]</item>

-12- Save the file
-13- Recompile SystemUI.apk : java -jar apktool.jar b -f SystemUI signtools/SystemUI.apk
-14- cd ~/work/signtools
-15- sign the new apk : java -Xmx64m -jar signapk.jar -w testkey.x509.pem testkey.pk8 SystemUI.apk ../signed/SystemUI.apk
-16- push the new SystemUI.apk to your phone
Code:
adb push ~/works/signed/SystemUI.apk /system/app/SystemUI.apk
adb reboot

-17- Enjoy ;)

screenshot with completely translucent status bar

Screenshot_2012-03-19-12-01-50.png



Readme
Raigel said : "Seems like this mod works with GO Launcher EX only if you select "High quality drawing" from settings."

KyleForge said : "I've finally managed to get it to work. Seems it was a problem with signing the SystemUI. What I did was do the modification, build the apk with apktools then copy all the files except the AndroidManifest.xml to the original SystemUI.apk, pushed it, rebooted and viola!"
 
Last edited:

el_liberator

Senior Member
Apr 13, 2011
1,131
1,159
Collias

XxKillerKev7xX

Senior Member
Oct 18, 2011
210
20
Ok getting a different error now. It says input file SystemUI.apk was not found or was not readable whyyyyy??
 
Last edited:

Br1ce

Senior Member
Jan 2, 2012
334
83
Thionville
Did you push it with ADB or did u just make a copy with root explorer ? Check permissions, they have to be rw-r--r--
 

jsbutran

Senior Member
Jan 3, 2006
988
75
Excellent. Tried but did not work for me. Can you share your ROM with completely translucent status bar and new icons by providing a link to the same. Thanks in advance.
 

imy300

Senior Member
Sep 25, 2007
86
6
i'd like to know what rom your using as well and what the weather app is to show small weather
 

rogmar

Senior Member
May 17, 2008
313
12
London
I don't understand why the kind ROM makers don't just do the translucent status bar within the ROM anyway,it looks way better than a black bar.
 
  • Like
Reactions: uppon2

XxKillerKev7xX

Senior Member
Oct 18, 2011
210
20
I don't get how to install the framework-res what do I do, do I put it in my androidSDK platform tools folder and run the command apktool if framework-res.apk?? please help

---------- Post added at 04:05 PM ---------- Previous post was at 03:53 PM ----------

Also where can I find the extracted SystemUI.apk I am using Windows
 

Top Liked Posts