Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP marcussmith2626

13th January 2014, 07:57 PM   |  #1  
marcussmith2626's Avatar
OP Recognized Contributor
Flag London
Thanks Meter: 2,637
 
4,910 posts
Join Date:Joined: Jul 2012
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
Last edited by marcussmith2626; 20th January 2014 at 12:28 PM.
The Following 9 Users Say Thank You to marcussmith2626 For This Useful Post: [ View ]
13th January 2014, 11:36 PM   |  #2  
DvikzzDroid's Avatar
Senior Member
Flag Surabaya,INDONESIA
Thanks Meter: 72
 
214 posts
Join Date:Joined: May 2013
Donate to Me
More
how about CM ? it work for CM based ?
14th January 2014, 01:35 AM   |  #3  
marcussmith2626's Avatar
OP Recognized Contributor
Flag London
Thanks Meter: 2,637
 
4,910 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by DvikzzDroid

how about CM ? it work for CM based ?

was the op not clear enough? AOSP ONLY!!!
Last edited by marcussmith2626; 14th January 2014 at 05:12 AM.
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ View ]
14th January 2014, 03:00 AM   |  #4  
DC07's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 1,088
 
512 posts
Join Date:Joined: Aug 2013
More
Good Job Marcuss!
The AOSP GB Statusbar was booring until now
The Following User Says Thank You to DC07 For This Useful Post: [ View ]
14th January 2014, 06:17 AM   |  #5  
aniket.lamba's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 1,348
 
2,296 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Uhmm can you make one for CM7? Pleeeaaase!!
14th January 2014, 06:23 AM   |  #6  
marcussmith2626's Avatar
OP Recognized Contributor
Flag London
Thanks Meter: 2,637
 
4,910 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by aniket.lamba

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
14th January 2014, 01:54 PM   |  #7  
Junior Member
Thanks Meter: 1
 
29 posts
Join Date:Joined: 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.
14th January 2014, 02:29 PM   |  #8  
marcussmith2626's Avatar
OP Recognized Contributor
Flag London
Thanks Meter: 2,637
 
4,910 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by Luwiji

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
Last edited by marcussmith2626; 14th January 2014 at 04:10 PM.
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ View ]
15th January 2014, 02:13 PM   |  #9  
KnightlyNinja's Avatar
Senior Member
Flag Biratnagar
Thanks Meter: 417
 
656 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by marcussmith2626

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...

15th January 2014, 02:54 PM   |  #10  
marcussmith2626's Avatar
OP Recognized Contributor
Flag London
Thanks Meter: 2,637
 
4,910 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by KnightlyNinja

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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes