I was using FXP104 before, and I flashed transparent statusbar zip (generated from UOT) in it, I was working fine, but now I updated to FXP109, I made another UOT zip using FXP109 framework-res and SystemUI, but after flashing it, my Ststusbar force closes, any Idea why this happens or any other method of getting transparent statusbar in FXP109?
metalrawk said:
I was using FXP104 before, and I flashed transparent statusbar zip (generated from UOT) in it, I was working fine, but now I updated to FXP109, I made another UOT zip using FXP109 framework-res and SystemUI, but after flashing it, my Ststusbar force closes, any Idea why this happens or any other method of getting transparent statusbar in FXP109?
Click to expand...
Click to collapse
use ics theme for cm7 it has transparent status bar
akshay13071990 said:
use ics theme for cm7 it has transparent status bar
Click to expand...
Click to collapse
all CM7 themes need transparent statusbar patch. else you will get ghost shadow effect in statusbar if your theme have transparent statusbar bg image.
metalrawk said:
I was using FXP104 before, and I flashed transparent statusbar zip (generated from UOT) in it, I was working fine, but now I updated to FXP109, I made another UOT zip using FXP109 framework-res and SystemUI, but after flashing it, my Ststusbar force closes, any Idea why this happens or any other method of getting transparent statusbar in FXP109?
Click to expand...
Click to collapse
Try do it by hand.
- Decompile your SystemUI, go to smali/com/android/systemui/statusbar/StatusBarService.smali
- search line that have
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;->
- above that line, you should see
Code:
const/4 v5, 0x2
- change it to
Code:
const/4 v5, -0x3
- recompile
Thanks feed3, I have now installed ICS, I will try it if i reinstall CM7.
Related
I rebuild status bar power button in samsung rom in my national day holiday, now it has 14 buttons now, include all samsung buttons, wifi, data connection, gps, flashlight, sound, auto rotation, bluetooth, brightness, screen timeout, lock screen, sync, reboot and power down. Actually early time I coded some of those function in LidroidToolbox, but not included them in status bar. I actually rebuilt it with java, not just mod of samli.
This code can adapt to samsung i9000/i9100/i897/t959/m110s etc. I will port this in my new rom. The flashflight will display a white and brightest activity when the camera without flashlight, for example i9000/i897/t959/m110s etc.
Next I will explain how to adapt it to samsung 2.3 rom. There are 3 attachments QuickPanelSettings.apk, LidroidSystemUI.apk and lidroid-res.apk.
1. Download LidroidSystemUI.apk and decompile it whit apktool, then you get LidroidSystemUI dir.
2. Decompile SystemUI.apk, copy LidroidSystemUI/smali/* into SystemUI/smali.
3. Modify SystemUI/AndroidManifeset.xml, add this code before </Application>
Code:
<activity android:name="com.lidroid.systemui.quickpanel.FlashlightActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask" />
if your model has flashlight, you can skip this step.
4. Open SystemUI/smali/com/android/systemui/status/StatusBarService.smali. Find(Ctrl + F) QuickSettingsView, locate fellow codes
Code:
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 379
.local v3, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
modify
Code:
const v7, 0x3030003
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.line 394
.local v3, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v3}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
5. Compile SystemUI with apktool, Sign it if you have modify AndroidManifest.xml. Push it into /system/app/
6. push lidroid-res.apk in /system/framework/, push QuickPanelSettings.apk in /system/app, reboot.
Simplicity, no need to modify layout, id and Strings which is painful. If you know how to do it, you will know how simple it is. Any android/rom developer can download this code and add more buttons.
Enjoy!
thank you very much for this work!
I will study the code and try to develop also new toggles
Little question, the java source (god bless you! I HATE Smali! xD) is about systemUI, what about lildroid-res.apk?
Is it only a "complementar" framework for icons and string for the toggles? Or whatelse?
Just curiosity and little question to better understand the project!
Thx!
89luca89 said:
thank you very much for this work!
I will study the code and try to develop also new toggles
Little question, the java source (god bless you! I HATE Smali! xD) is about systemUI, what about lildroid-res.apk?
Is it only a "complementar" framework for icons and string for the toggles? Or whatelse?
Just curiosity and little question to better understand the project!
Thx!
Click to expand...
Click to collapse
I compiled all required images, strings and layout that toggle buttons into lidroid-res.apk to make the future ROM transplant work easier and finish the new ROM's mod work faster.
Ok understood thx that was only what I need to know
Maybe with a little more work can try to fuse it with framework.apk or twframework.apk but for now just knowing that will make things clearer to me
Screenshots please...
Nice bro....this is what we need.....nice
akbarhash said:
Screenshots please...
Click to expand...
Click to collapse
I have uploaded screenshots as attachment.
This way you can add a shortcut to the application?
I know silly question
thank you very much
sorry for my English
lidroid said:
I have uploaded screenshots as attachment.
Click to expand...
Click to collapse
Thanks.
Tip: Home Button + Power Button = Screenshot.
This is disgustingly good work i'm really impressed...
Hmm the line numbers don't seem to match on my rom stock ki3 does that matter?
ephumuris said:
This is disgustingly good work i'm really impressed...
Hmm the line numbers don't seem to match on my rom stock ki3 does that matter?
Click to expand...
Click to collapse
you should remain original line number.
I will do this tomorrow and post a direct zip file for xxki3 stock...
Nice one.
Is there a way for the users to select the toggle and the order of the toggles?
great work
i misss my miui from x10 status bar
Will this mod also allow for long-clicking a quickpanel item and it takes you to the respective settings page?
Thank you for your guide, great work!
Cannot get it to work on KI3 (v2.3.5).
Statusbar does not even show.
gcrutchr said:
Cannot get it to work on KI3 (v2.3.5).
Statusbar does not even show.
Click to expand...
Click to collapse
my newest ROM was just based of XXKI3, maybe you missed some works.
lidroid said:
my newest ROM was just based of XXKI3, maybe you missed some works.
Click to expand...
Click to collapse
Thanks for the reply.
Could you be a little more specific about what to copy and where to copy the files/folders from your lidroidSystemUI.apk to the stock SystemUI.apk.
I followed the steps multiple times using a stock, deodexed SystemUI.apk and all times no statusbar showed.
Or...could you post your SystemUI.apk so I can a look at how you inserted the folders into it.
Thanks.
do you have a zip file for this.....it would be nice
I am using stock rom 20c i modify the framework.apk and settingui.apk and add transparent status bar etc but my rom doesn't not support transparency.so how to make transparent status bar and other transparent things in stock rom.
Deodex the two files above and search the forum for transparent statusbar patch...
How to make any gingerbread or cm7/cm9 status bar transparent
Check my signature for all my statusbars including pre-made stock cm7/cm9 and Aosp statusbars and guides​
There's three ways to make the statusbar bar Transparent and I'll post them all
One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7
I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users)
Please dont ask for support unless you are using a custom rom on galaxy y
Any other phones please goto your own phone forum for support
You also need a launcher that is capable of transparency
Adw works but you need to disable wallpaper hack in settings
holo launcher works
any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally
Method one for non cm (Stock Deodex Rom)
You need apk tool installed - if you don't know how to use it see my guide here
http://forum.xda-developers.com/showthread.php?t=2206938
Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad
Find the following line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
Notice the part highlighted in red android:background is normally a hexadecimal value or it could be a drawable value
either way change the red part to the following
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
Notice that android:background is now a drawable value
Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)
place this image with the same name as the drawable value in res/drawable-ldpi
(of course other devices might be in mdpi or hdpi)
Recompile and sign apk
Put in a flashable zip and flash with system mounted
You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own
To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)
Method two for cm7
Note you will need apk tool installed and notepad++ installed
Download the patcher tool by Z25 in attachment
Unzip the contents to a folder
Place your SystemUI.apk and framework-res.apk in files_to_patch
Run patcher.bat
Select status bar tweaks and enable only transparent status bar
Edit the smali file as described in the text file that pops up
Select option build and sign
Select option to create zip files
You now have a zip file called patch.zip
unzip this and take out the SystemUI.apk - we will save this for later
Now we have to either make our own transparent theme or you can download a theme from the playstore for theme chooser that already contains status bar transparency
If you are downloading a theme from the playstore skip the part "To create your own theme" and go straight to the part "final steps"
To create your own theme
Goto uot kitchen http://uot.dakra.lt/kitchen
Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)
Rename it to what you want to call theme
Upload it to kitchen (under cm7 theme in file upload)
In status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done
Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy
Then goto summary section
If everything is green create the theme
If not make sure you have clicked generate preview on status bar tweaks
Kitchen will then create theme for you
Download the zip file from kitchen and unzip it
Take out your theme apk
Final Steps
Sign both your theme apk and SystemUI.apk that you saved from earlier with a platform key using zipsigner (playstore)
Put both apks in a flashable zip and flash in cwm with system mounted
(note if you are using a theme from the playstore just do this for SystemUI.apk)
Once the phone has booted goto
ADWLauncher
System Preference
Disable Wallpaper Hack (untick the box)
Your status bar is now transparent
Method three for cm9
Once you have decompiled SystemUI.apk with apktool
Goto smali/com/android/systemui/statusbar/StatusBar.smali
Find the following line
Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Above this line change
Code:
const/16 v16, 0x4
To the following
Code:
const/16 v16, -0x3
Now in notepad++ open the following
res/values/drawables.xml
Find the following line
Code:
<item type="drawable" name="status_bar_background">#ff000000</item>
Change the hex value to the hex value of the colour/transparency you want
For example
Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
70% transparent
Code:
<item type="drawable" name="status_bar_background">#b3000000</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
Recompile
Sign with a platform key using zipsigner (playstore)
Put in a flashable zip and flash in cwm with system mounted
What is the name for the png to put in drawable-ldpi?
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
You can rename it to ur own like
Jst open statusbar.xml in layout folder and on 2nd line u will find an attribute android;background change the file u want to add next to drawable/xx folder and put that file in ur drawable ldpi folder
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Reporting from incomplete blue theme
Status-paused
framework-working
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
Name it the name of the @drawable value
In my example it's nameofpng
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
Great guide :thumbup:
Sent from my GT-S5360 using xda app-developers app
Thank you, but when I go to recompile the file gives me error
remo1995 said:
Thank you, but when I go to recompile the file gives me error
Click to expand...
Click to collapse
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
marcussmith2626 said:
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
Click to expand...
Click to collapse
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
remo1995 said:
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
Click to expand...
Click to collapse
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
marcussmith2626 said:
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
Click to expand...
Click to collapse
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Apk tool guide added see http://forum.xda-developers.com/showthread.php?t=2206938
remo1995 said:
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Click to expand...
Click to collapse
Follow my apk tool guide I just posted - I can assure you if you follow all my guides correctly and Fully you will not get force closes - I have made many status bars using this method
Decompile my SystemUI.apk from my status bar thread so you can compare the line for the statusbar background in status_bar.xml with yours
If you get errors when you decompile the apk it means the apk was wrongly compiled to begin with and apk tool can't decompile it correctly - you will need to correct any errors that are in the original apk before you can recompile
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Some launchers do not support transparency
if it doesn't work and there is no option to disable wallpaper hack or manage internally in the launcher settings or something similar you will need to use a different launcher if you want transparency
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I don't think go launcher supports transparency
launchers that definitely do are
holo launcher
adw launcher (disable wallpaper hack in settings)
Added a zip of the full and semi transparent png images for people to use themselves with the guide
off topic question sir, how did you move the jellybean clock and date above toggle bar?
joelquerty said:
off topic question sir, how did you move the jellybean clock and date above toggle bar?
Click to expand...
Click to collapse
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
marcussmith2626 said:
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
Click to expand...
Click to collapse
can you plzz give me the link of tutorial. i searched in google and xda but i could'nt find it... thank you
Go to this link.. My white MOD or theme...
Next update will have notification toggles...
One more theme released... check in downloads section...
Only for rooted stock .431 and .587 firmwares
I was bored of the battery icons and the clock of the stock ICS... So I modded the clock to a different colour and it also displays seconds like a digital clock... Battery icon is completely white colour and it displays percentage in single steps... I modded this for myself but I thought somebody would like this so sharing it here....
This mod is compatible with Xperia T Small Apps mod by Aeon..
Check out the screenshots if you did not understand clearly what i did..
Download:
1. This is first mod with yellow clock, white battery icons..
https://www.dropbox.com/s/mq4objesop3p3h9/SystemUI.rar
2. This is second mod with blue clock, blue signal bar, white inverted battery icons.. A blue line separator between notifications is also incorporated.. check the screenshots...
https://www.dropbox.com/s/7gf3q5xoboiou23/SystemUI v2 (blue clock and blue signal bar).rar
Instructions:
1. You need to be rooted and have a root explorer...
2. Download the .rar file from the link above..
3. Extract it and move the SystemUI.apk to the system/app folder... Set the permissions to rw-r-r.. Or else you will get FCs.... Incase you are getting FCs, remove the battery and reinsert...
4. Reboot and enjoy.!
It will not cause any bootloops if you have already flashed Aeon Small Apps MOD... It is a must...!!
CREDITS:
ZN6, for his useful tutorial on modding status bar
brut.all, for his apktool
Aeonworld, for his Small Apps MOD
razeil23x, for his apkmanager
brush2, for the white battery icons
XDA, for everything else
Note: Smaller images are of first mod and bigger images are of second mod..
Hello Brothers of xda I need your help please
How put toogles transparent in status bar,,, without apps,modules xposed ...etc...,,,
I need Mofify the xml files of systemui to put transparent okk !!! help please !!!
Mark XP said:
Hello Brothers of xda I need your help please
How put toogles transparent in status bar,,, without apps,modules xposed ...etc...,,,
I need Mofify the xml files of systemui to put transparent okk !!! help please !!!
Click to expand...
Click to collapse
JB, KK or CM11?
For example, to make only transparent statusbar on JB, you need to decompile/edit 3 apk's and 1 jar...
maxx_hr said:
JB, KK or CM11?
For example, to make only transparent statusbar on JB, you need to decompile/edit 3 apk's and 1 jar...
Click to expand...
Click to collapse
Hello guy i need a example for make transparent toogles and notiFICATIOns is for Kitkat but i need a exaple ok
Mark XP said:
Hello guy i need a example for make transparent toogles and notiFICATIOns is for Kitkat but i need a exaple ok
Click to expand...
Click to collapse
Try this:
In LGSystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali, find line:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;-><init>(I)V
and remove line below:
Code:
invoke-virtual {v1, v4}, Landroid / view / View; -> setBackground (Landroid / graphics / drawable / Drawable;) V
To adjust transparency, change in LGSystemUI\res\values\colors.xml red value
Code:
<color name="bg_expanded">#[COLOR="Red"]ef000000[/COLOR]</color>
to:
bf000000-25%,
7F000000 - 50%,
3F000000 - 75%,
00000000 - 100%
For toggles etc use brain and try change it like described here:
http://forum.xda-developers.com/showthread.php?t=2078585
or simply make transparent pictures of that backgrounds in eg. Paint.net...
Another way (suitable for all platforms) is to install Xposed/GravityBox (your device should be rooted). There you have the Transparency Management tab that will give you just that. I suggest installing this module for many other reasons (best tweaking module out there).