FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

[Tutorial]Howto Add Cpu Control & Stats in Settings.apk !

18,323 posts
Thanks Meter: 15,139
 
Post Reply Subscribe to Thread Email Thread
Hello People !!
As you know i have Cpu control and stats under developer options
as in my modified settings.apk and i wanna share to ya`ll howto add




REQUIREMENTS:
You need to know how to decompile, compile and sign an apk.
Notepad++
A Deoxeded Rom.
Settings.apk
The attachment from below
[Black and White CpuSettings + Stats]
+++++++++++++++++++++++++

1. Download the atachemtent witht the cpu apps
2. Decompile settings.apk
3. Go to res/values/strings.xml
add the following lines:


Code:
<string name="cpu_control">CPU Control</string>
<string name="cpu_control_summary">Manage CPU frequencies and governor</string>
<string name="cpu_stats">CPU Stats</string>
<string name="cpu_stats_summary">Monitor CPU usage</string>
<string name="cpu_setting_header">System</string>
Save it and close it



5. Now navigate to res/xml/development_prefs
add the following lines:



Code:
<PreferenceCategory android:title="@string/cpu_setting_header" android:key="cpu_setting_header">
<PreferenceScreen android:title="@string/cpu_control" android:key="cpu_control" android:summary="@string/cpu_control_summary">
<intent android:targetPackage="it.sineo.android.noFrillsCPUClassic" android:action="android.intent.action.MAIN" android:targetClass="it.sineo.android.noFrillsCPUClassic.activity.MainActivity" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/cpu_stats" android:key="cpu_stats" android:summary="@string/cpu_stats_summary">
<intent android:targetPackage="com.bvalosek.cpuspy" android:action="android.intent.action.MAIN" android:targetClass="com.bvalosek.cpuspy.ui.HomeActivity" />
</PreferenceScreen>
</PreferenceCategory>


6. Save and close it
7. Recompile the settings
8. Make a flashable zip with the 2 apps
Cpusettings.apk and cpustats.apk and
your modified settings.apk
9. Flash and enjoy


..Credits..

@DaRk-L0rD For Little Help
@ZN6: For the CPU apps
Attached Files
File Type: zip Black & White CpuSettings and Stats.zip - [Click for QR Code] (382.4 KB, 2060 views)
Last edited by Pandemic; 16th May 2014 at 02:56 PM.
The Following 62 Users Say Thank You to Pandemic For This Useful Post: [ View ]
 
 
1st February 2014, 02:27 PM |#2  
Pandemic's Avatar
OP Senior Member
Flag MePpEl
Thanks Meter: 15,139
 
Donate to Me
More
Enjoy this tut !!
The Following 7 Users Say Thank You to Pandemic For This Useful Post: [ View ]
1st February 2014, 02:53 PM |#3  
Rajeev's Avatar
Senior Member
Flag Chennai , I N D I A
Thanks Meter: 14,797
 
Donate to Me
More
Very very nyc and useful guide bro... Not as much of hard.. Its looking very easy for me.. Surely will try
The Following User Says Thank You to Rajeev For This Useful Post: [ View ]
1st February 2014, 02:56 PM |#4  
Pandemic's Avatar
OP Senior Member
Flag MePpEl
Thanks Meter: 15,139
 
Donate to Me
More
Quote:
Originally Posted by Rajeev

Very very nyc and useful guide bro... Not as much of hard.. Its looking very easy for me.. Surely will try

thanks bro @Rajeev
its kinda easy todo
The Following User Says Thank You to Pandemic For This Useful Post: [ View ]
1st February 2014, 03:24 PM |#5  
dipesh1502's Avatar
Recognized Themer
Flag MUMbai
Thanks Meter: 3,807
 
Donate to Me
More
Very nyc tut
The Following User Says Thank You to dipesh1502 For This Useful Post: [ View ]
1st February 2014, 03:26 PM |#6  
AndroidNoob69's Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 1,081
 
Donate to Me
More
Good work bro
The Following User Says Thank You to AndroidNoob69 For This Useful Post: [ View ]
1st February 2014, 04:16 PM |#7  
DaRk-L0rD's Avatar
Recognized Contributor / Themer
Flag Xanthi
Thanks Meter: 5,362
 
Donate to Me
More
The Following User Says Thank You to DaRk-L0rD For This Useful Post: [ View ]
1st February 2014, 04:45 PM |#8  
Pandemic's Avatar
OP Senior Member
Flag MePpEl
Thanks Meter: 15,139
 
Donate to Me
More
Quote:
Originally Posted by dipesh1502

Very nyc tut

Quote:
Originally Posted by AndroidNoob69

Good work bro

Quote:
Originally Posted by DaRk-L0rD

Thanks brothers and teammates @dipesh1502, @AndroidNoob69 and @DaRk-L0rD

Sent From Cybertron With My Powerfull Xperia P
The Following User Says Thank You to Pandemic For This Useful Post: [ View ]
2nd February 2014, 04:56 PM |#9  
Pandemic's Avatar
OP Senior Member
Flag MePpEl
Thanks Meter: 15,139
 
Donate to Me
More
13 downloads
5 thanks
Thanks lazy ones !
The Following 3 Users Say Thank You to Pandemic For This Useful Post: [ View ]
15th February 2014, 09:22 AM |#10  
jancsessz's Avatar
Senior Member
Thanks Meter: 838
 
Donate to Me
More
I added my xperia sp official 4.3 settings and not avalibe this development.
Please help.
15th February 2014, 12:51 PM |#11  
Pandemic's Avatar
OP Senior Member
Flag MePpEl
Thanks Meter: 15,139
 
Donate to Me
More
Quote:
Originally Posted by jancsessz

I added my xperia sp official 4.3 settings and not avalibe this development.
Please help.

I dont know what you mean be clear please !

Btw
Wow someone founed this thread.. Great !!

Sent From Cybertron With My Powerfull Xperia P

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

Advanced Search
Display Modes