Monday, 21 October 2013

on Leave a Comment

MAKING THE STATUSBAR TRANSPARENT

Requirements : 
Apk-Multitool
SystemUI.apk(of your phone)
Winrar
Notepad++

Where to find SystemUI.apk ? Here is your answer : 
The SystemUI.apk is a system application that is available inside the System folder.To say the exact location :
*Install Root Explorer.
*Locate System/app/SystemUI.apk
*Copy it to your SD-card and transfer it to your computer via Usb cable.

Instructions to Edit : 
Open Apk-MultiTool folder.
Double click on Setup.exe.
A command prompt will be executed.Enter Option "2" and press Enter.Follow the On-Screen Instructions and Install all the available frameworks(though they are not needed now).
Go back by entering the option "6" and by pressing Enter.
Enter option "3" and set up all the available directories one by one.

Note : These steps are needed only when you have downloaded the Apk-Multitool from its website.
If you have downloaded from Andro-Build,then the setup has been already configured for you !

Place your SystemUI.apk in the "place-apk-here-for-modding" folder.
Open Script.exe.You will be getting a coded Android Diagram.Press Enter.


  • In the command prompt,Enter option "9" and press Enter.This will decompile your apk.(During this whole process,the command prompt should not be closed.)
  • Your decompiled Apk sources will be in "projects" folder.Open the projects folder.You will find the SystemUI folder.Open it.You will find the below folders and files for sure

  1. Res
  2. Smali
  3. AndroidManifest
  4. apktool.yml

  • Now locate "Res/layout/status_bar".
  • Open "status_bar" with Notepad++.
  • Press "Ctrl+F" and search for "android:background".
  • In the first line,it will be found.Now change the hexadecimal colour code to "#00000000".
  • That is,change to this : 


<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"

  • Press "Ctrl+F" and search for "android:background".Ignore the first search result as you hae already edited the first line.The second result will be found at the end.
  • Change to this : 


<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff6bb0ff" android:gravity="left|center" android:id="@id/date" android:background="#00000000" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

Note : The codings may differ for different mobiles.I have used GALAXY Y for this tutorial/guide.
But they are mostly same.



  • Now save and go back to the Apk-MultiTool folder.
  • In the command prompt,press "11" to recompile the system apk.It will ask "y/n".Enter "y" and press Enter. 
  • It will Extract and again it will compile to reduce the amount of errors.The below instructions can be skipped,but to ensure that the SystemUI should work,they are recommanded.Actually this feature is already ben done when you have given "y" option in command prompt.
  • Now open the SystemUI.apk and the unsignedSystemUI.apk in winrar.
  • Now locate "Res/layout/status_bar" in both the windows.
  • Now drag and drop the status_bar from unsignedSystemUI.apk window to SystemUI.apk window.
  • When it asks to replace,give "yes".
  • Now the SystemUI in the projects folder is the themed one!Enjoy!
  • You can manually replace it with root permissions or you can flash it by making it a flashable zip.By this way,you can also do futher editings.


Note : Always have a Nandroid Backup if something goes wrong.I am not responsible for any damage caused.

If you have liked this this post,please be kind enough to give feedbacks and also you are welcomed to ask if you have got any doubts. Please do comment.

CREDITS: HERE

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Contributors

Powered by Blogger.