Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,743,150 Members 44,380 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] [AOSP] Status Bar For AOSP - Toggles JB Layout Volume Sliders & Colour Changer

Tip us?
 
marcussmith2626
Old
(Last edited by marcussmith2626; 20th January 2014 at 11:28 AM.)
#1  
marcussmith2626's Avatar
Recognized Contributor - OP
Thanks Meter 2344
Posts: 4,374
Join Date: Jul 2012
Location: London
Default [MOD] [AOSP] Status Bar For AOSP - Toggles JB Layout Volume Sliders & Colour Changer

JB 4.2.2 Style Status Bar With Volume Quick Panel And Colour Changer Mod For AOSP




This Mod Is For AOSP Only
If You Require The Stock Version Go Here
If you Require The CM7 Version Go Here



Take Note Of The Following
Anyone is free to use and develop this with the following conditions
you do not mirror the download link or add any ads to my download link on blog sites
post the link to this thread if you blog this
credit me and the original dev of the layout SpaceCaker and dev of the colour changer and smali files for sliders b16h22







How To Use
Pull the left side down of the status bar for notifications
Pull the right side down of the status bar for sliders
Use the evo app by b16h22 to change the status bar colour and transparency



Install Instructions
If installing the AOSP rom for first time fully boot the rom first before apply mod or status bar will vanish
Go into CWM
Make A Nandroid Backup In Case Your Status Bar Goes Walkies For Some Strange Reason
Mount System
Install Zip From SD
Select Zip
Restart
Now look at how to mod framework if you get black on black text with some statusbar events



Changelog
V1
Initial release
Added/edited smali/xml files to SystemUI.apk
Added/edited battery icons/xml in framework-res.apk
Added Toggles
Resized for ldpi
Added sliders and icons



Bugs
Settings button doesn't work
If you increase phone volume slider the notification slider increases too but can be decreased separately



Downloads
For Galaxy Y GT-S5360 AOSP Status Bar




How To Mod Your Framework If You Get Black On Black Text With Some Events

1. Decompile framwork-res.apk with apktool
2. Goto res/vaules
3. Open styles.xml with notepad++
4. Search for @style/TextAppearance.StatusBar
5. Just below it change the value of <item name="textColor"> to #ffffffff
6. Search for @style/TextAppearance.StatusBar.EventContent
7 Just below it change the value of <item name="textColor"> to #ffffffff
8. Recompile and put in a flashable zip and flash with system mounted



Do Not Post Things Like
Will this work on xyz rom - This is for AOSP only!
Will this work on stock rom - NO!! See link at the top of the thread for stock version
Will this work on CM7 rom - NO!!!!

To make it clear - this is for AOSP only!


Credits
SpaceCaker
b16h22

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following 9 Users Say Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
DvikzzDroid
Old
#2  
DvikzzDroid's Avatar
Senior Member
Thanks Meter 70
Posts: 213
Join Date: May 2013
Location: Surabaya,INDONESIA

 
DONATE TO ME
how about CM ? it work for CM based ?
Press THANKS if you learn something


My Thread :
[ROM][CM7.2] AeronMOD
Wifi Tether Fix For CM7 & 9
Work in Progress :
CM9 AeronMOD

 
marcussmith2626
Old
(Last edited by marcussmith2626; 14th January 2014 at 04:12 AM.)
#3  
marcussmith2626's Avatar
Recognized Contributor - OP
Thanks Meter 2344
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by DvikzzDroid View Post
how about CM ? it work for CM based ?
was the op not clear enough? AOSP ONLY!!!

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
DC07
Old
#4  
DC07's Avatar
Senior Member
Thanks Meter 834
Posts: 380
Join Date: Aug 2013
Location: NullPointerException
Good Job Marcuss!
The AOSP GB Statusbar was booring until now

The Following User Says Thank You to DC07 For This Useful Post: [ Click to Expand ]
 
aniket.lamba
Old
#5  
aniket.lamba's Avatar
Senior Member
Thanks Meter 1264
Posts: 2,232
Join Date: Jul 2012
Location: New Delhi

 
DONATE TO ME
Uhmm can you make one for CM7? Pleeeaaase!!
Press Thanks If helped!
 
marcussmith2626
Old
#6  
marcussmith2626's Avatar
Recognized Contributor - OP
Thanks Meter 2344
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by aniket.lamba View Post
Uhmm can you make one for CM7? Pleeeaaase!!
no plans right now - its hard with different frameworks and layouts as you get many force closes before you get right and I dont know if the smali files work with cm7

all Iv done is used spacecakers smali files for the layout which you can find on his guide to 4.2.2 status bar for gingerbread

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
Luwiji
Old
#7  
Junior Member
Thanks Meter 1
Posts: 29
Join Date: Dec 2013
Thanks man! I've been waiting for this for a long time. is it possible to change icons of the statusbar? Thanks again.



Thumbs up.
 
marcussmith2626
Old
(Last edited by marcussmith2626; 14th January 2014 at 03:10 PM.)
#8  
marcussmith2626's Avatar
Recognized Contributor - OP
Thanks Meter 2344
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by Luwiji View Post
Thanks man! I've been waiting for this for a long time. is it possible to change icons of the statusbar? Thanks again.



Thumbs up.

No - I didnt find time to find a way to put lidroid or a cm7 style power widget in it
im sure there is a way but I dont have time to sit down for hours working it out so the toggles you see in the screenshots are the only toggles available

there are apps on the playstore that can give you extra toggles if required


edit - if you mean change the png icons of the status bar then yes - they are all in res/drawable-mdpi

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
KnightlyNinja
Old
#9  
KnightlyNinja's Avatar
Senior Member
Thanks Meter 415
Posts: 651
Join Date: Sep 2012
Location: Biratnagar
Quote:
Originally Posted by marcussmith2626 View Post
No - I didnt find time to find a way to put lidroid or a cm7 style power widget in it
im sure there is a way but I dont have time to sit down for hours working it out so the toggles you see in the screenshots are the only toggles available

there are apps on the playstore that can give you extra toggles if required


edit - if you mean change the png icons of the status bar then yes - they are all in res/drawable-mdpi
this might help u. it has been given by san122 when i asked him for help but i didn't tried it as it appeared a lil complicated to me. So u can try method below
Quote:
Originally Posted by san122
For lidroid toggles follow this guide
forum.xda-developers.com/
showthread.php?t=2387626
And for editing
statusbarservice.smali
Decompile miniroms systemui.apk
And then open
ststusbarservice.smali with notepad+
+ and find powerwidget
Once you find it copy the whole field
And paste in aosp statsbarservice
Then again search for powerwidget
And copy that whole line to a
particular method as in miniroms
Also there is one .line 1900 copy
them too in addicon method.
Hope you understant and dont
forget to replace id starting with
0x7f that you copied from miniroms
Hope this will work...


KnightlyNinja = samir basnet



 
marcussmith2626
Old
#10  
marcussmith2626's Avatar
Recognized Contributor - OP
Thanks Meter 2344
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by KnightlyNinja View Post
this might help u. it has been given by san122 when i asked him for help but i didn't tried it as it appeared a lil complicated to me. So u can try method below
could work - I was thiinking along the lines of porting the cm7 power widget into it but at the moment I dont have time to sit and work through it all

im doing a cm7 status bar and i'll post that when finished although it only has one panel but after that I wont be doing else for a while

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!

Tags
aosp, aosp toggles, quick panel, status bar, toggles
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes