[GUIDE] How to add device info in ExpandedView (Real Info from device)

Search This thread

mariozawa

Senior Member
Jul 1, 2012
443
1,015
Malolos, Bulacan
www.facebook.com
CREDITS
THE POTATOINC


WHAT IS THIS?
Its just a simple device info that can be add in expandedview (or in any app)

FEATURES
ROM Name
Phone model
Android version
CPU
Memory
Battery level
Up time


WHAT IS SPECIAL TO THIS MOD?
You will see several mods with this kind of details but in this, the details is actually
the details of your phone (According to my facebook friends) that's why I made this mod


HOW TO ADD/USE
Decompile your SystemUI.apk
Download the attached ZIP file
Extract then paste to your smali folder
Go to SystemUI.apk/res/layout/statusbar_expanded.xml
paste this code anywhere you want to put it


Code:
[FONT=Century Gothic]<com.potato.statusbar.deviceInfo.Information android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#fff" />[/FONT]
Compile your SystemUI.apk again.


SCREENIES
1520638_626359004067134_874463340_n.jpg


SCREENSHOT FROM OTHER DEVICE


Pol Lube - ArcMobile Nitro 500d
1544353_608729835864943_1024328764_n.png


Zion Near Samsung GT-S5360
63497_805836196098167_1803712322_n.jpg





TROUBLESHOOTING
BTW thread is updated.
If still not showing try to put
android:layout_weight="1"



You can use this your mod/rom but please don't change the name
ex. com.YOURAWESOMESUPERLICIOUSDELICOUSNAME.statusbar.myModzz
And a small credits and thanks is okay.
If you want to modify the code please let me know it first



 

Attachments

  • smali.zip
    23.4 KB · Views: 2,057
Last edited:

Droidbuster

Senior Member
Jan 20, 2014
166
332
www.facebook.com
thanks for this

CREDITS
THE POTATOINC


WHAT IS THIS?
Its just a simple device info that can be add in expandedview (or in any app)

FEATURES
ROM Name
Phone model
Android version
CPU
Memory
Battery level
Up time


WHAT IS SPECIAL TO THIS MOD?
You will see several mods with this kind of details but in this, the details is actually
the details of your phone (According to my facebook friends) that's why I made this mod


HOW TO ADD/USE
Decompile your SystemUI.apk
Download the attached ZIP file
Extract then paste to your smali folder
Go to SystemUI.apk/res/layout/statusbar_expanded.xml
paste this code anywhere you want to put it


Code:
[FONT=Century Gothic]<com.potato.statusbar.deviceInfo.Information android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#fff" />[/FONT]
Compile your SystemUI.apk again.


SCREENIES
1520638_626359004067134_874463340_n.jpg


SCREENSHOT FROM OTHER DEVICE


Pol Lube - ArcMobile Nitro 500d
1544353_608729835864943_1024328764_n.png


Zion Near Samsung GT-S5360
63497_805836196098167_1803712322_n.jpg





TROUBLESHOOTING
BTW thread is updated.
If still not showing try to put
android:layout_weight="1"



You can use this your mod/rom but please don't change the name
ex. com.YOURAWESOMESUPERLICIOUSDELICOUSNAME.statusbar.myModzz
And a small credits and thanks is okay.
If you want to modify the code please let me know it first



thanks can you share code to add that thing in settings about;)
 

icedventimocha

Senior Member
very good i made it but i have this result can you help me??







Sir I made it my problem is that I want it to fit on bottom how to do that sir?:laugh:

All you have to do is set android:layout variables. I had the same problem with it being stuck at the top. But adding android:layout_gravity="bottom|center", android:gravity="center" and some padding you get this

yta6amuz.jpg


Sent from my Galaxy Note II
 
  • Like
Reactions: G.M.L

Oohhlala

Senior Member
Jul 12, 2012
543
34
All you have to do is set android:layout variables. I had the same problem with it being stuck at the top. But adding android:layout_gravity="bottom|center", android:gravity="center" and some padding you get this

yta6amuz.jpg


Sent from my Galaxy Note II

sir, extract dowloaded file then i have "com" folder, have to copy to systemui/smali/com ?
and i want add this to statusbar ( not expanded panel ) and i just want it show memory so what i have to do ( delete other smali file ? )
 

Nda'Sib

New member
Feb 28, 2014
2
0
Jambi
Sorry sir

I'm just noob

my question
how to make writing to center ?

soory my english is bad :D

btw nice work :good:
 

wcoast

Senior Member
Jul 20, 2011
2,091
611
Los Angeles
Just a try. Did you look for another status_bar_expanded.xml? I'm on Note Edge and since 5.1.1 I have a second one and have to use it.

Gesendet von meinem SM-N915FY mit Tapatalk

Note 5 have status_bar_expanded, sub_status_bar_expanded, status_bar_expanded_header and msim_status_bar_expanded

---------- Post added at 07:17 AM ---------- Previous post was at 06:53 AM ----------

@and2 I have tried all status_bar_expanded that I can see and even added android:layout_weight="1" but no luck...
 

and2

Senior Member
Sep 25, 2008
1,612
1,200
Halle
Note 5 have status_bar_expanded, sub_status_bar_expanded, status_bar_expanded_header and msim_status_bar_expanded

---------- Post added at 07:17 AM ---------- Previous post was at 06:53 AM ----------

@and2 I have tried all status_bar_expanded that I can see and even added android:layout_weight="1" but no luck...

Even if you try it in layout-sw360dp-xxxhdpi-v13/status_bar_expanded.xml, strange. When ifind some time i have to try it on the Note 5 port of my wife.
 
  • Like
Reactions: wcoast

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    CREDITS
    THE POTATOINC


    WHAT IS THIS?
    Its just a simple device info that can be add in expandedview (or in any app)

    FEATURES
    ROM Name
    Phone model
    Android version
    CPU
    Memory
    Battery level
    Up time


    WHAT IS SPECIAL TO THIS MOD?
    You will see several mods with this kind of details but in this, the details is actually
    the details of your phone (According to my facebook friends) that's why I made this mod


    HOW TO ADD/USE
    Decompile your SystemUI.apk
    Download the attached ZIP file
    Extract then paste to your smali folder
    Go to SystemUI.apk/res/layout/statusbar_expanded.xml
    paste this code anywhere you want to put it


    Code:
    [FONT=Century Gothic]<com.potato.statusbar.deviceInfo.Information android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#fff" />[/FONT]
    Compile your SystemUI.apk again.


    SCREENIES
    1520638_626359004067134_874463340_n.jpg


    SCREENSHOT FROM OTHER DEVICE


    Pol Lube - ArcMobile Nitro 500d
    1544353_608729835864943_1024328764_n.png


    Zion Near Samsung GT-S5360
    63497_805836196098167_1803712322_n.jpg





    TROUBLESHOOTING
    BTW thread is updated.
    If still not showing try to put
    android:layout_weight="1"



    You can use this your mod/rom but please don't change the name
    ex. com.YOURAWESOMESUPERLICIOUSDELICOUSNAME.statusbar.myModzz
    And a small credits and thanks is okay.
    If you want to modify the code please let me know it first



    3
    I'll try again but have followed all steps and tried different smali files....

    Can you kindly post your xml and smali folder

    Straight Outta Wcoast

    here :)
    2
    Just in case someone needs it here are the smali files for lollipop
    2
    Will do, thanks again....

    Straight Outta Wcoast

    steps are all simple as posted on the guide by @and2

    if you like i can post it again but the one present is very simple to follow :)

    22810866002_0abdbea62e_z.jpg


    ---------- Post added at 05:28 PM ---------- Previous post was at 05:26 PM ----------

    1
    Thanksfor this :cool: