Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,054 Members 46,842 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][2.3+]Add real-time CPU info to Statusbar

Tip us?
 
mariozawa
Old
#1  
mariozawa's Avatar
Recognized Themer - OP
Thanks Meter 781
Posts: 376
Join Date: Jul 2012
Location: Malolos, Bulacan

 
DONATE TO ME
Default [GUIDE][2.3+]Add real-time CPU info to Statusbar

I'm not responsible to any damage to your phone.
I'm the only responsible for making it cooler by 1%.

What is this?
Just a CPU stat.

Features
Show/Hide
Show/Hide Governor

How to use
Download the attached files.

Install CPUSpied.apk
(Normal install, Special Install,Push whatever you like)

Decompile your SystemUI.apk
Extract the smali files.
Paste it to your smali directory.
SystemUI.apk/smali/HERE

Go to res/layout/status_bar.xml
add this to anywhere you like.
In my condition I want to add it to left side so I will put it before
<com.android.systemui.statusbar.IconMerger

Here is the code.

PHP Code:
<potato.mariozawa.statusbar.CPUSpy android:textColor="#ffffff" android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" /> 



If you have errors in recompiling try to use other APK multi-tool specially to our friends using mobile APK tool.

Screenies



Credits
PotatoInc
Our friends from Lenox Evolution

If you want to use this to your awesome ROM/Theme beware this will add coolness :P
Just put us in the credits side


Attached Thumbnails
Click image for larger version

Name:	cuu.jpg
Views:	5221
Size:	58.8 KB
ID:	2732156  
Attached Files
File Type: apk CPUSpied.apk - [Click for QR Code] (694.7 KB, 488 views)
File Type: zip smali.zip - [Click for QR Code] (3.3 KB, 295 views)
The Following 25 Users Say Thank You to mariozawa For This Useful Post: [ Click to Expand ]
 
PineappleOwl
Old
#2  
PineappleOwl's Avatar
Recognized Themer
Thanks Meter 809
Posts: 454
Join Date: Mar 2013
Location: La Union

 
DONATE TO ME
First LOL. Hahaha this is another top grossing mod. And ill be waiting for the Portal to add this. Hihih. Ill be handsome now. hahahah
PINEAPPLEOWL
The Following 3 Users Say Thank You to PineappleOwl For This Useful Post: [ Click to Expand ]
 
Powerhouse
Old
#3  
Powerhouse's Avatar
Senior Member
Thanks Meter 1,977
Posts: 795
Join Date: Mar 2013
Great work,potato CEO
 
mohawk97
Old
#4  
Member
Thanks Meter 50
Posts: 60
Join Date: Mar 2014
Location: Perak
Talking Nice Sir

Nice Work Sir
 
RikudouSennin
Old
#5  
Junior Member
Thanks Meter 2
Posts: 19
Join Date: Sep 2013
Location: Olongapo City
Quote:
Originally Posted by PineappleOwl View Post
First LOL. Hahaha this is another top grossing mod. And ill be waiting for the Portal to add this. Hihih. Ill be handsome now. hahahah

You'll be more handsome. HAHAHAHAHA
 
GSculerlor
Old
#6  
GSculerlor's Avatar
Senior Member
Thanks Meter 84
Posts: 428
Join Date: Oct 2013
Location: Malang
Sir @mariozawa, can you give me your statusbar icon (Wifi, Signal, Battery, etc) ?
What You SEE Is What You GET
Quote:
Getting Close With My Work :

 
mariozawa
Old
#7  
mariozawa's Avatar
Recognized Themer - OP
Thanks Meter 781
Posts: 376
Join Date: Jul 2012
Location: Malolos, Bulacan

 
DONATE TO ME
Quote:
Originally Posted by PineappleOwl View Post
First LOL. Hahaha this is another top grossing mod. And ill be waiting for the Portal to add this. Hihih. Ill be handsome now. hahahah
hahaha

Quote:
Originally Posted by GSculerlor View Post
Sir @mariozawa, can you give me your statusbar icon (Wifi, Signal, Battery, etc) ?
Its from Lenox Evolution ROM
 
Ardroid-xda
Old
#8  
Ardroid-xda's Avatar
Senior Member
Thanks Meter 269
Posts: 365
Join Date: Nov 2012
Location: Central Banten
Potato get insane here :3
maybe potato mod and engine will include on my stock later haha
Thanks JC
Supported - ROM
 
Galaxy Y GT-S5360 ROM
 

Current Phones : Galaxy SII GT-I9100 | Galaxy Y GT-S5360
ROM : Spirit ROM √ | CuStock Hyperion
 
tuan.cse06
Old
#9  
tuan.cse06's Avatar
Member
Thanks Meter 7
Posts: 41
Join Date: Jul 2013
Location: Ho Chi Minh
Nice tut.
Click image for larger version

Name:	uploadfromtaptalk1399604077236.jpg
Views:	415
Size:	12.5 KB
ID:	2733507
Click image for larger version

Name:	uploadfromtaptalk1399604095642.jpg
Views:	358
Size:	12.8 KB
ID:	2733508

Sent from my GT-S5360 using Tapatalk 2
 
TheNightBaron
Old
#10  
Junior Member
Thanks Meter 6
Posts: 21
Join Date: May 2014
Location: Binan
Thumbs up Awesome :D

Thank you very much for this

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes