Notification texts go here Contact Us Download Now!
Posts

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

Goxome
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

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 ad


REQUIREMENTS:

You need to know how to decompile, compile and sign an apk.

Notepad++

A Deoxeded Rom.

Settings.apk



[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

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.