FORUMS

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up … more

Intel & Micron Announce “Revolutionary” Storage Tech

Intel & Micron have announced 3D Xpoint technology—”the … more

Google Now Interfaces With Third-Party Messaging Apps

Google has announced that Ok Google voice commands can now be used to send … more

Make Your Lockscreen More Productive With Widgets

Are you running Android Lollipop? Do you miss the ability to add widgets to your lock … more

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

423 posts
Thanks Meter: 921
 
Post Reply Subscribe to Thread Email Thread
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:	8545
Size:	58.8 KB
ID:	2732156  
Attached Files
File Type: apk CPUSpied.apk - [Click for QR Code] (694.7 KB, 919 views)
File Type: zip smali.zip - [Click for QR Code] (3.3 KB, 633 views)
The Following 26 Users Say Thank You to mariozawa For This Useful Post: [ View ]
 
 
8th May 2014, 01:16 PM |#2  
PineappleOwl's Avatar
Recognized Themer
Flag La Union
Thanks Meter: 909
 
Donate to Me
More
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
The Following 3 Users Say Thank You to PineappleOwl For This Useful Post: [ View ]
8th May 2014, 01:17 PM |#3  
Powerhouse's Avatar
Senior Member
Thanks Meter: 2,005
 
More
Great work,potato CEO
8th May 2014, 01:19 PM |#4  
Member
Flag Perak
Thanks Meter: 53
 
More
Talking Nice Sir
Nice Work Sir
8th May 2014, 01:35 PM |#5  
Junior Member
Flag Olongapo City
Thanks Meter: 2
 
More
Quote:
Originally Posted by PineappleOwl

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
8th May 2014, 02:56 PM |#6  
GSculerlor's Avatar
Senior Member
Flag Malang
Thanks Meter: 86
 
More
Sir @mariozawa, can you give me your statusbar icon (Wifi, Signal, Battery, etc) ?
8th May 2014, 04:05 PM |#7  
mariozawa's Avatar
OP Recognized Themer
Flag Malolos, Bulacan
Thanks Meter: 921
 
Donate to Me
More
Quote:
Originally Posted by PineappleOwl

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

Sir @mariozawa, can you give me your statusbar icon (Wifi, Signal, Battery, etc) ?

Its from Lenox Evolution ROM
8th May 2014, 07:25 PM |#8  
Ardroid-xda's Avatar
Senior Member
Flag Central Banten
Thanks Meter: 307
 
More
Potato get insane here :3
maybe potato mod and engine will include on my stock later haha
Thanks JC
9th May 2014, 03:55 AM |#9  
tuan.cse06's Avatar
Member
Flag Ho Chi Minh
Thanks Meter: 7
 
More
Nice tut.
Click image for larger version

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

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

Sent from my GT-S5360 using Tapatalk 2
10th May 2014, 01:15 AM |#10  
Junior Member
Flag Binan
Thanks Meter: 7
 
More
Thumbs up Awesome :D
Thank you very much for this
13th May 2014, 12:53 AM |#11  
icedventimocha's Avatar
Senior Member
Flag Erie
Thanks Meter: 3,548
 
Donate to Me
More
Neat guide. Just one question before I start, is the CPU frequency just the max clock setting or does it show cpu load?

Sent from my Galaxy Note II

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes