[SOURCE][STATUSBAR]Statusbar Greper 2[UPDATE-13JAN2013]

Status
Not open for further replies.
Search This thread

dcsms

Senior Member
Feb 19, 2012
445
751
Padang
Killed I have one Qs. I want to try to implement this on my sgy duos. But my doubt that I have 2 signal bars in my systemui layout. If I replace mine with ur grepers and install ur app. Will I get 2 signal bars or not.. Plz do reply...

Sent from my GT-S6102 using Xparent SkyBlue Tapatalk 2

This version only mod the layout...carrier image n statusbar background...else is rom default
Sent from my GT-S5360 using Tapatalk 2
 
  • Like
Reactions: samsoul16

samsoul16

Senior Member
Apr 17, 2012
1,395
511
28
Thane
This version only mod the layout...carrier image n statusbar background...else is rom default
Sent from my GT-S5360 using Tapatalk 2

Kk I Will try to test and report..
As u say I shud have both signal bars after applying the mod. I hope for the best. Ty...


And 1 qs can we have a music player with widget and statusbar controls too....

Sent from my GT-S6102 using Xparent SkyBlue Tapatalk 2
 
Last edited:

raika20

Senior Member
Jun 11, 2012
277
440
Who needs miui if u allready have a great developer like this. Keep it comin bruh :D

Sent from my GT-I9100 using Tapatalk 2
 
  • Like
Reactions: dcsms

kathoks

Member
Jun 27, 2012
20
3
gaporn
WHAT IS THIS??
this mod could change your statusbar look with ease...
-enable to change the position of clock-notification icon-battery n data icon-also carrier image
-enable change ur statusbar background (its need a compiled 9.png in other word u have to create 9.png with draw9patch and compile it using apktool or eclipse or u can just find some apk that consist of 9.png and simply extract it pick the 9.png n use it. but this is not a must. use ordinary png file also welcome.. it'll strech in lanscape mode).
-enable to change carrier image

HOW TO APPLY THIS MOD??
just simply decompile my SystemUI.apk
go to smali folder and copy the "in" folder into ur smali

then go to your /res/layout/ open statusbar.xml.and modify some line. so its look like below

Code:

here is the quick explanation about the code :
this mod is bind my customlayout >> in.jmkl.dcsms.statusbargreper.DcsmsLayout
the 1st child of this layout is the linearlayout that contain of carrier image
the 2nd child of this layout is notificationicon
the 3rd child of this layout is contain signal icon n battery icon(since i use USSR that contain EDT tweak...so i put it there)
only 3 child allow on this customlayout...

those layout is the default one.. and here is the magic happen ..install StatusBar Greper.apk press menu or u can press the action button.
and play around with it....once u press it, it will affect the statusbar immediatly..easy as f***

please report bugs or something.
enjoy

Some Screeniez :
attachment.php
attachment.php
attachment.php
attachment.php


NB... u need quickpic to run this apps
download here


PLEASE DONT MIRROR THE LINK OFF THE APPS...IF U WANNA SHARE. PLEASE REFER TO THE ATTACHMENT. I NEED THOSE DOWNLOAD COUNT FOR UPDATE REASON, THANKS
thanks to :
Code:
ALLAH SWT
google
Jhake Wharton for ActionBarSherlock Library
ilmnss family
and u

sir therse no code in the box..can u fix it sir?TIA
 

samsoul16

Senior Member
Apr 17, 2012
1,395
511
28
Thane
Killed I made it work on y duos but the clock is not there. Can u tell y?? Here is ss. Will share systemui. in few min.. uploadfromtaptalk1351358812228.jpg

Sent from my GT-S6102 using xda premium
 

samsoul16

Senior Member
Apr 17, 2012
1,395
511
28
Thane
what code you use sir?:crying:

Download killed's systemui on first post.decompile urs and his systemui separately.
Then copy "in" folder from his systemui to urs as his instructions. Then go in his systemui/res/layout and open status-bar.xml and keep it in 1 side. (say right)

Then go to Ur systemui/res/layout and open Ur statusbar.xml
And keep in other side(say left)

Minimize all other folders and open the 2 statusbar.xmls. In his statusbar xml see a tag starting from <RELATIVE LINEAR LAYOUT> to </RELATIVE LINEAR LAYOUT>. That's the code for greper. Inside that code u Will see different elements like clock,icons,notificationsicons & statusicons, carrier image & battery. Now open ur statusbar.xml and copy the codes of various elements like clock icons status icon,etc. And paste it his statusbar xml replacing the corresponding codes their... Delete the codes of elements u don't have. "Note" --»» "Don't delete anything else...!!!"( having in.....dcsms in it)
Then copy whole code from <RELATIVE LINEAR LAYOUT> to </RELATIVE LINEAR LAYOUT> from his statusbar xml to Ur statusbar xml and paste above the code having id ticker.. Replacing Ur og code.. Then in Ur res/values open ids.xml and make new id with dcsmscarrier. For that refer his ids.xml . Then save and recompile..

Sent from my GT-S6102 using xda premium
 
  • Like
Reactions: kathoks and dcsms

kathoks

Member
Jun 27, 2012
20
3
gaporn
Download killed's systemui on first post.decompile urs and his systemui separately.
Then copy "in" folder from his systemui to urs as his instructions. Then go in his systemui/res/layout and open status-bar.xml and keep it in 1 side. (say right)

Then go to Ur systemui/res/layout and open Ur statusbar.xml
And keep in other side(say left)

Minimize all other folders and open the 2 statusbar.xmls. In his statusbar xml see a tag starting from <RELATIVE LINEAR LAYOUT> to </RELATIVE LINEAR LAYOUT>. That's the code for greper. Inside that code u Will see different elements like clock,icons,notificationsicons & statusicons, carrier image & battery. Now open ur statusbar.xml and copy the codes of various elements like clock icons status icon,etc. And paste it his statusbar xml replacing the corresponding codes their... Delete the codes of elements u don't have. "Note" --»» "Don't delete anything else...!!!"( having in.....dcsms in it)
Then copy whole code from <RELATIVE LINEAR LAYOUT> to </RELATIVE LINEAR LAYOUT> from his statusbar xml to Ur statusbar xml and paste above the code having id ticker.. Replacing Ur og code.. Then in Ur res/values open ids.xml and make new id with dcsmscarrier. For that refer his ids.xml . Then save and recompile..

Sent from my GT-S6102 using xda premium



thank you very much sir!!its working now!!
 
  • Like
Reactions: samsoul16

samsoul16

Senior Member
Apr 17, 2012
1,395
511
28
Thane
thank you very much sir!!its working now!!

No need to say just press it.. Coz it saves time and posts. And thank god u understood my instructions coz I wrote it in my class lec somehow.


And killed can u plz link to my post for detailed explanation as others wud need it and Ur code is not visible..

Sent from my GT-S6102 using xda premium
 

kathoks

Member
Jun 27, 2012
20
3
gaporn
No need to say just press it.. Coz it saves time and posts. And thank god u understood my instructions coz I wrote it in my class lec somehow.


And killed can u plz link to my post for detailed explanation as others wud need it and Ur code is not visible..

Sent from my GT-S6102 using xda premium


one more question sir..what code could i edit to adjust the position of the icon of clock,bat,and signal?
 
  • Like
Reactions: ewat

samsoul16

Senior Member
Apr 17, 2012
1,395
511
28
Thane
I Got the problem. if i use transparent image in statusbar greper background clock is seen but if my icons are more they overlap on clock here is my statusbar.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:eek:rientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.5dip" android:textStyle="bold" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<in.jmkl.dcsms.statusbargreper.DcsmsLayout android:eek:rientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
<in.jmkl.dcsms.statusbargreper.CarrierImage android:id="@id/dcsmscarrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" />
</LinearLayout>
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:eek:rientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<LinearLayout android:eek:rientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="right" android:eek:rientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true" />
</LinearLayout>
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.DcsmsLayout>
</RelativeLayout>

<LinearLayout android:eek:rientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.systemui.statusbar.BatteryBar android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:eek:rientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.StatusBarView>



can u tell me something to do so that icons doesnt overlap on it .. plz..

and can u share ur latest greper app coz i want to port the data traffic element in my statusbar and from old 1 we cant do that.
and can i try to port to ur brightness bar or weatherbar too. plz reply



and 1 more thing i was able to successfully recompile my statusbar with adding ur notification bar mod[dcsms dummy] but my systemui give fc.. :crying::confused::(
plz help i have uploaded that decompiled systemui too in which all ids are properly replaced and it compiles properly
 

Attachments

  • killedhelp.rar
    3 MB · Views: 20

dcsms

Senior Member
Feb 19, 2012
445
751
Padang
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.5dip" android:textStyle="bold" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />

those line represent clock.. everything was fine.. did u use edt tweak??have u check its configuration for the clock..
for statusbargreper u can get it from wintermod / simply young..
im planning to make some tuts how to applied it...but dunno when...
 

samsoul16

Senior Member
Apr 17, 2012
1,395
511
28
Thane
those line represent clock.. everything was fine.. did u use edt tweak??have u check its configuration for the clock..
for statusbargreper u can get it from wintermod / simply young..
im planning to make some tuts how to applied it...but dunno when...

Dude I Will have to download the whole Rom dude and I am a y duos user. Can u share it for me.. Plz..


And what abt my other qs abt Ur statusbar mod which recompiles properly but gives fc..

Sent from my GT-S6102 using Xparent SkyBlue Tapatalk 2
 

dcsms

Senior Member
Feb 19, 2012
445
751
Padang
Dude I Will have to download the whole Rom dude and I am a y duos user. Can u share it for me.. Plz..


And what abt my other qs abt Ur statusbar mod which recompiles properly but gives fc..

Sent from my GT-S6102 using Xparent SkyBlue Tapatalk 2

the apps which is installed in my phone are unstables version...(im on my may figure it out what happen..)
if i gave it to you.... u will face lot of fc sh*t or something like that... so please be patience...hope i fix it soon..

about other question.... please ask some question in proper thread... so there is no confusion about answering question...
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 68
    WHAT IS THIS??
    this mod could change your statusbar look with ease...
    -enable to change the position of clock-notification icon-battery n data icon-also carrier image
    -enable change ur statusbar background (its need a compiled 9.png in other word u have to create 9.png with draw9patch and compile it using apktool or eclipse or u can just find some apk that consist of 9.png and simply extract it pick the 9.png n use it. but this is not a must. use ordinary png file also welcome.. it'll strech in lanscape mode).
    -enable to change carrier image


    UPDATE 2

    rewriting code from scratch and push into github,,,
    https://github.com/jmkl/StatusBarGreper2


    UPDATE 1.8.1

    download here : statusbargreper 1.8.1
    ChangeLog :
    -fix some feature not show in ICS
    UPDATE 1.8
    ChangeLog :
    -customizable icon data - datainout - battery (without reboot.. easy as fcuk)
    - 3 mode of battery (Text mode - Battery Line mode - Icon Mode)
    - Adding Traffic State (like miui v4)
    -Overlaping signal data & data inout icon (like miui v4 i guess)
    -center and right side clock with ability to show and hide days and am/pm (Customizable font and text color)

    HOW TO APPLY THIS VERSION
    NOTE : Ur ROM must be signed by dsixda or else signer.. because we need to add another permission into SystemUI (i dunno why i do this
    because i write this code as 3rd party apps using android SDK)

    1. decompile ur SystemUI.apk
    2. decompile my dcsmsSystemUI.apk
    3. go to dcsmsSystemUI/smali/ copy those in folder into ur SystemUI/smali
    4. open ur SystemUI/res/layout/status_bar.xml

    modify the code just like the code below
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
            <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
                    <in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" />
                </LinearLayout>
                <com.android.systemui.statusbar.IconMerger android:gravity="right|center" android:id="@id/notificationIcons" android:layout_width="50.0dip" android:layout_height="fill_parent" />
                <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
                    <in.jmkl.dcsms.statusbargreper.DataTrafik android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                    <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                    <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
                        <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
                    </LinearLayout>
                </LinearLayout>
            </in.jmkl.dcsms.statusbargreper.DcsmsLayout>
            <in.jmkl.dcsms.statusbargreper.Jam android:textSize="18.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
        </RelativeLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="#ffdddddd" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#0033b5e5" android:gravity="left|center" android:id="@id/date" android:background="@drawable/dcsms_tits_bg" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
        <in.jmkl.dcsms.statusbargreper.BatteryBar android:layout_width="fill_parent" android:layout_height="wrap_content" />
    </com.android.systemui.statusbar.StatusBarView>

    5. open ur SystemUI/AndroidManifest.xml and add this line below

    <uses-permission android:name="android.permission.MANAGE_USB" />

    Code:
        <uses-permission android:name="android.permission.WRITE_SETTINGS" />
        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

    6. build ur SystemUI
    7. drag n drop the folder assets in dcsmsSystemUI into ur SystemUI
    8. sign ur SystemUI
    9. install/push statusbargreper 1.8
    10. push ur SysteUI n Enjoy



    OLD
    HOW TO APPLY THIS MOD??
    just simply decompile my SystemUI.apk
    go to smali folder and copy the "in" folder into ur smali

    then go to your /res/layout/ open statusbar.xml.and modify some line. so its look like below


    here is the quick explanation about the code :
    this mod is bind my customlayout >> in.jmkl.dcsms.statusbargreper.DcsmsLayout
    the 1st child of this layout is the linearlayout that contain of carrier image
    the 2nd child of this layout is notificationicon
    the 3rd child of this layout is contain signal icon n battery icon(since i use USSR that contain EDT tweak...so i put it there)
    only 3 child allow on this customlayout...

    those layout is the default one.. and here is the magic happen ..install StatusBar Greper.apk press menu or u can press the action button.
    and play around with it....once u press it, it will affect the statusbar immediatly..easy as f***

    please report bugs or something.
    enjoy

    Some Screeniez :
    attachment.php
    attachment.php
    attachment.php
    attachment.php
    NB... u need quickpic to run this apps
    download here


    AND THEN...
    IF U LIKE MY JOB...U KNOW WHAT TO DO



    thanks to :
    Code:
    ALLAH SWT
    all fellow donators
    androidminang.com
    ilmnss family
    and u
    5
    i want ur help ...........
    i want to decompile ur app statusbar greper but it gives me alot of errors...........

    can u tell me the right way to decompile ur app.............

    please sir help me..........
    i want to integrate some lidroid settings to ur app...........

    i want to add it to my rom ..........

    thanks in advance..............

    btw awesome work...............

    Here is the source code...
    https://github.com/jmkl/StatusBarGreper2

    add whatever u want
    4
    thanks all.... anybody try this hahahaha??
    2
    Frankly, i dont have those systemui anymore..
    Has been stolen by chuck norris; i guess

    Sent from my GT-S5360 using Tapatalk 2

    Ok. Anyways will be w8ing for ur New systemui mod. Do have anything New in it. Coz u always have good skills playing with it. And I love to learn from ur statusbar. Anyways if u have any good lidroid toggles plz share... And 1 more thing. Loved everymod that u have build till now. Thanks for them..

    ~~~~~~~~~~~~~~~~~~~~~
    ***IF ¥ØU W@NT $ÖM€.... ÇØM€ G€T $ÕM€...!!!!!!!
    2
    what code you use sir?:crying:

    Download killed's systemui on first post.decompile urs and his systemui separately.
    Then copy "in" folder from his systemui to urs as his instructions. Then go in his systemui/res/layout and open status-bar.xml and keep it in 1 side. (say right)

    Then go to Ur systemui/res/layout and open Ur statusbar.xml
    And keep in other side(say left)

    Minimize all other folders and open the 2 statusbar.xmls. In his statusbar xml see a tag starting from <RELATIVE LINEAR LAYOUT> to </RELATIVE LINEAR LAYOUT>. That's the code for greper. Inside that code u Will see different elements like clock,icons,notificationsicons & statusicons, carrier image & battery. Now open ur statusbar.xml and copy the codes of various elements like clock icons status icon,etc. And paste it his statusbar xml replacing the corresponding codes their... Delete the codes of elements u don't have. "Note" --»» "Don't delete anything else...!!!"( having in.....dcsms in it)
    Then copy whole code from <RELATIVE LINEAR LAYOUT> to </RELATIVE LINEAR LAYOUT> from his statusbar xml to Ur statusbar xml and paste above the code having id ticker.. Replacing Ur og code.. Then in Ur res/values open ids.xml and make new id with dcsmscarrier. For that refer his ids.xml . Then save and recompile..

    Sent from my GT-S6102 using xda premium