Hello fellow in general, today I launched a project to improve the performance of our terminal.
I will share some things for xperia U, contributions will only be according to my knowledge and experience in testing these same
cpu file name: hw_config.sh
File: /system/etc/hw_config.sh permission: rw-r--r--
file was built with more stable improvements from source terminal successfully experiencing Estom testing improves the performance of the drive frequency
:good: The post will be updating it
Will try
Sent from my ST25i using XDA Premium 4 mobile app
great ... device's performance is markedly increased.
device: Xperia U
rom: ICS .100
thanks @kaiiori
No one tested it? Im on gingerbread it will work?
kaiiori said:
Hello fellow in general, today I launched a project to improve the performance of our terminal.
I will share some things for xperia U, contributions will only be according to my knowledge and experience in testing these same
cpu file name: hw_config.sh
File: /system/etc/hw_config.sh permission: rw-r--r--
file was built with more stable improvements from source terminal successfully experiencing Estom testing improves the performance of the drive frequency
:good: The post will be updating it
Click to expand...
Click to collapse
This is for Stock/based ROM or Custom (CM, AOKP, PAC, PA etc.) ROMs or both?
Thanks @kaiiori
Sorry but i guess i was expecting too much anyway.. i feel some improvement
Hi..and thanks for your work !
I'm testing it on a GB rom...I'll update post with my impressions
Thanks :good:
so guys does it work?
★ [MOD] ◢ PurePerformances™X ◣ | Golden Edition | Scary performances on Android
PurePerformances™X ◣ | Golden
Edition | Scary performances on Android
Try this awesome mod n fell d change. .
◢ Features ◣
- Android performances improved at 360°
- Radically improved management ram on
android (Lags...adios!)
- Script lightweight and revised to be adapted
to this engine
- Improves a lot the graphics: of course Pure
Graphic™HD, Pure Dithering Plus™ and... AOSPA
3.60 system tweaks
- Scan multimedia time drastically reduced
- Network Improvements, 3G experience even in
2G modality
- All SQlite database optimized
- Enable hardware features turned off by
default for a better experience on entry level
devices
- Greatly increases the score AnTuTu: Try it to
believe it!!
- Reduces the startup time of Android
- A version for stock rom and one for CM, to
squeeze any roms!
- Allows you to play ported games without lags
- Cleans the system every 24 hours, thecache
every week and the Dalvik every month (cronos
easter egg)
- Automatically Zipalign on each boot (sensitive
to the user)
Battery
- Drastically decreased the drainage of battery
- Check the activities that consume too much
battery stop them with PureWakelocks™
- When the phone is charging reduces system
services for faster charging
- The battery is calibrated on every boot
- Disable animation of the system when the
battery is nearly exhausted
- Improvements in build.prop as regards the
part of consumption
Graphics, Screen, Images
- Enables a non-aggressive dithering to save
CPU
- When you lock the device, the engine makes
sure that the GPU is turned off
- Enables deep sleepalso in the bugged rom
- Parts of bravia engine
- Of course parts of CrossBreeder (credits to
dev)
- Of course parts of Adrenaline Engine (credits
to dev)
- Of course PureGraphics HD, even though I
already told you
- Of course V6 supercharger
- Generates video entropy (like seeder)
CPU, Governors, I/O Schedulers
- Slightly improves the scaling of the frequencies
(for better results you need a good kernel)
- Lightens the load on the CPU switching the
workload to GPU rendering
- Enable the swap partition in Android
(experimental)
I've said too much, man. Install this engine and
discover its power!
◢ Compatibility ◣
This engine works on any devices with any rom,
but there is a version for CM's rom and one for
stock based firmwares. So, CMx.x, Lewa Os,
MIUI, etc.
Install the stock version only on your stock
firmware of your phone....
if your device don't have gingerbread or ICS
officially, install the CM version (This also
applies to the AOSP)
For more details n download link go to link below..
http://forum.xda-developers.com/showthread.php?t=2360670
tested in the Galaxy Grand Quattro?
Yes, Tested.
zanini007 said:
tested in the Galaxy Grand Quattro?
Click to expand...
Click to collapse
A owner named Radhe Shyam Dewangan on fb development page says that He has flashed this update in his quattro. I'll post here reviews once he lets me know about it.
Hoping it works. I'll try myself soon as well. :victory:
Cheers ! ! !
Reviews are very positive it seems. He haven't checked the antutu scores. I'll be trying soon with current antutu score and after update antutu score.
Till then Happy flashing...
Testing... The phone is already faster...
Thank you!
I have installed this mod a week ago.. and phone feels more responsive, but I do not know if crossbreeder MOD http://forum.xda-developers.com/showthread.php?p=37062006 and Updated Adreno2xx/3xx GPU libraries helped, but hey!, everything counts (and helps).:good:
I tested it and I'm not sure if it's something I'll keep installed. Before installing, I downloaded Antutu and my benchmark was 11484, after installing this mod, I re-tested and got 11272 (isn't it supposed to be faster?). Also, I noticed that my phone was hotter than usual. Don't rely on placebo effect, use a benchmark instead.
MeGaViC said:
I have installed this mod a week ago.. and phone feels more responsive, but I do not know if crossbreeder MOD http://forum.xda-developers.com/showthread.php?p=37062006 and Updated Adreno2xx/3xx GPU libraries helped, but hey!, everything counts (and helps).:good:
Click to expand...
Click to collapse
How to update Adreno2xx/3xx GPU libraries?
pedromsouza said:
How to update Adreno2xx/3xx GPU libraries?
Click to expand...
Click to collapse
You need to download a file called Adreno_200-AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.02.21.099.zip and flash it via CWM...
I must say you need to backup your system partition If somenting goes wrong...
Do not remember the specific topic form which I downloaded this file (I owned a LG E612.. search for it on that forum)
MeGaViC said:
You need to download a file called Adreno200-AU_LINUX_ANDROID_JB_VANILLA_04.02.02.060.053.zip and flash it via CWM...
I must say you need to backup your system partition If somenting goes wrong...
Do not remember the specific topic form which I downloaded this file (I owned a LG E612.. search for it on that forum)
Click to expand...
Click to collapse
UPDATE: I tryed to upload the file but for xda upload size restrictions could not..., on qualcomms site says is for JB 4.2 but I works fine on 4.1.
i have use this mod since my ACE era.
well,this mod is ok..not really 360 but u can feel the diffrence,
better something than nothing(stock)...
and i really suggest you dont ever use supremacy,in my opinion.
this one is better.
sounds familier……have i seen this before?……not for sure……
☆☆[ZIP] [GUIDE] NOTE 4 - KERNEL Profiles and Tweaks [Simple, Easy] [5 Jan] ☆
NOTE 4 Snapdragon Kernel-Tweaks
*Post 4 Updated with profiles zip , but don't forget to read
Hello fellow Note 4 users and all other who have a device with a Snapdragon 805 SoC , Ever since I made the Nameless Optimizer for our Nameless ROM , there was a lot of requests for making it available for all ROMs , I wish to express here that such a thing is impossible without modding the whole ROM , but I'll guide you to use some important tweaks that would make a DIFFERENCE
CONTENTS
1. Introduction and Credits
2. The Guide
3. The tweaks
4. Profiles zip (NEW)
5. RAM Manager (*NEW)
6. Troubleshooting and FAQ
Optimizing the CPU
I am sure you have always wondered whether it is possible to have a better battery life without sacrificing performance ,
I won't say its magically possible to get 10 hrs sot with ultra-heavy usage...
But if you follow this guide carefully/use these profiles it would much better than what u have ever had on your Note 4
Contributors
@Senthil360
Google+ : Find Me Here
My sincere thanks to
@Crimsonthunder for adding things in kernel and helping me,
@Pafcholini for that incredible touchboost option , and lot of other helps
@friedrich420 for AEL kernel
@psyntific and @F4uzan for testing the values
and my whole Nameless Team
Note to users : Be helpful to each other , use this thread as an opportunity to enhance your knowledge in kernel tweaks, I sincerely expect this thread to be filled with any/all sorts of tweaking doubts , so before posting something, kindly hit the search button
Ok lets cut to the chase
So I want to mention here three things which affects the battery and performance
1. Screen Brightness (affects only battery) - Well it depends on our personal usage , and we can't do much regarding that
2.Apps , services , background tasks- These topics have been discussed a million times here on XDA , disabling services , amplify , greenify and infinite other things...
My personal settings are
Greenify - Yes - (most of the data dependent user apps ,excluding system apps)
Xposed -No
Sync - Occasionally
Location - Disabled(default)
P.S - I use a greenify widget at homescreen to hibernate time to time
** I will provide the custom lmk values below
3.CPU frequencies and Voltages
Ok this is the most important thing that we are going to discuss here,
This is for INTERACTIVE and Interactive based governors.
Most of us use Interactive and interactive based governors because its the most reliable and its good balance between battery and performance , but actually it could be improved way more than how it behaves at default state...
The Problem
The most annoying feature of this governor are
1. It spends unnecessary time at higher frequencies draining too much battery
2. At times it stays at lower freqencies when we need that sudden burst , instead we only see stutters and delayed app opening/loading
These silly behaviour is what we are going to change (Note : Tested with following kernels , NL (not official), Emotion and AEL)
A Comparison
Take a look below in these screenshots, the first one is without tweaks ,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is below is tweaked interactive
** Tweaked interactive has more battery life and performance than default **.
So now after those screenshots you might be wondering , yeah I see a bunch of frequencies being used , What's the deal?
Here's the answer, what we are going to do , we are going to instruct the CPU to use frequencies according to the situation ,cleverly to improve battery life without sacrificing performance.
** Here CPU = Governor + Hotplug
For example consider the activity of *Loading and reading a webpage*
Default interactive behaviour :
Opening browser : 2649 Mhz
Loading : 2649 Mhz
And while u look at screen , without touching - it scales to 1574 Mhz every 2 secs for no reason
Scrolling webpage - It will start with minimum of 1574 Mhz at 2 cores and reach 2649 Mhz
Damn thats too much...
**Tweaked Interactive Behaviour :
Opening browser : 1190 to 1497 mhz
loading 729 mhz to 1728 mhz on each core (depending on load of webpage)
looking at screen : 300mhz to 499 mhz
scrolling webpage : 729 to 1190 mhz across each core ( it will increase depending on ur scrolling speed )
That was just an example for Browser , but it is optimized for every activity, right from listening music in idle to Playing a hd game )
The Solution
"Really? But How?" you might ask , lol
** A) Well first of all, you might not have heard a dumber thing than this, Samsung had put tons of Exynos value on the snapdragon variants which we are going to deal with (Note : stock exynos values may have beem removed in custom kernels)
** B) Next , here is the golden formula
Power consumption = (Voltage^2) × (Frequency× no of cores)
**(Actually the real formula also needs to be multiplied with the Capacitance of SoC but since it is a constant it is insignificant in this formula)
Alright what that means , To put it simply More cores with LESSER frequency is MORE EFFICIENT than lesser cores with HIGHER frequency
Yeah that's right,and huge thanks to @psyntific for helping with me during all tests irrespective of Night or Day
See these calculated values,
For 2649 ghz at 2 cores
(1080^2) × (2649 × 2) = 6,179,587,200 (i)
Similarly for 1497 at 4 cores
(890^2) × (1497 × 4) = 4,743,094,800 (ii)
Dividing (ii) by (i) , we are saving 25 % at higher frequency, but as i said above this saving is much more in other cases , i.e Browsing , scrolling , app opening
C) Tweaking more cores to start scaling up from lesser frequency
This is one other important tweak , the holtplugs are tweaked in such a way that they will give priority to using more cores rather than frequency while task is increasing and shutting down much better while task decreases , infact its a combination of governor and hotplug tweaks
D) And tons of more governor and system tweaks like Boost duration, frequency sampling/polling rate (Every milliseconds makes a difference) , pardon me its impossible to mention everything here , I'll add it in the tweaks section
Oh have to mention this,
However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance.*-*Chainfire
Phew and now that you are ENLIGHTENED , let's proceed to the easier tweaking part
The Tweaks
Required app : Kernel Adiutor (special build for Note 4 by @Pafcholini)
Find it here :
https://mega.nz/#!JgMjBLab!m1Hgm0S0Xs-YqN5PM5wkmREndb_QsLsNLH66yzo3bj0
☆ 1. Interactive based -performance and battery
Hotplug tweak
* Disable all other hotplugs
*Enable MSM Mpdecision Hotplug (at bottom)
* Minimum CPU online = 2
* Maximum CPU online = 4
* Max Cores Screen-off = 1
* Idle Frequency = 960 Mhz
* Start delay = 5000 ms or lesser
* Delay = 75
Interactive tweak
Follow the same order while tweaking and do exactly as described , otherwise it won't work
* Set governor to Interactive
* Disable scheduled workqueues
*Disable cpu-boost unless absolutely necessary
Open governor tunables and change the following
*(Note for Emotion users) If bk_locked is 1 change it to 0 before tweaking and then for making the new values stick change it back to 1
* boostpulse_duration = 80000
* go_hispeed_load = 95
* hispeed_freq = 499200
* input_boost_freq = 960000
* min_sample_time = 100000
** target_loads = 98 422400:15 729600:30 1190400:35 1344000:40 1497600:55 1574400:60 1651200:65 1728000:75 1958400:85 2035200:90 2265600:95 2496000:98
(just copy paste lol)
* Now above_hispeed_delay = 20000 1497600:40000 1728000:30000 1958400:30000 2035200:15000 2265600:20000
== If above_hi_speed_delay does not stick copy and paste these values in /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay , save the file and change its permission to 444 to prevent overriding
CPU Voltage tweak
* Decrease global offset by 40 mV (Minus 40 mV)
==========================
Other recommendations
* Intellithermal ON (for gamers)
* I/O scheduler cfq
* KSM OFF (u really don't need this )
* Software CRC control OFF
That's it for now so simple right , more guides technical info will be added later
Even though my intention was to teach you and help people to make thier own tweaks, its proving to be difficult for few or some don't have much time
So now I share my profiles as a falshable zip , you can use it , as it is or as a base to make your own settings , somehow I hope this will be helpful to all the users. Good luck
1. Marshmallow
2. Lollipop
MM kernel based
PROFILES-V4 StableRelease date : 12 / Jun / 2016
These profiles were tested on
* Nameless Kernel 1.2 MM edition
Download here
Spoiler
https://www.androidfilehost.com/?fid=24580943222146101
LP kernel based
PROFILES-V3
Release date : 06 /Feb/2016
These profiles were tested on
* AEL 8.4
*Emotion RC23 & 24
*Nameless V7
Download here and flash from recovery
https://www.androidfilehost.com/?fid=24399994186369309
PROFILES-V2 StableRelease date : 18 /Jan /2016
These profiles were tested on
* AEL 8.2
*Emotion RC23 and 24 betas
*Nameless V7.0
Download here and flash from recovery
https://www.androidfilehost.com/?fid=24369303960687778
PROFILES-V1 StableRelease date : 05 / Jan / 2016
These profiles were tested on
* AEL 8.1
*Emotion RC23
*Nameless V6.0
Download here and flash from recovery
https://mega.nz/#!V9M0kDCI!yc8T4T7-S5BoDwTaboYtODkWn4sdRrLxHUIRLTD5eBQ
The profiles here have few additional codes for settings that are not available in UI of Kernel adiutor , so for full functionality apply after each boot manually. For those who are wondering if these profiles are just the result of changing few settings like governor , hotplug . Its not that and in reality its much more complex, It involves things such as ,
*Going through committ changes of each kernel to make best use of the available features.
*Calculating tunables for governors ,I/O schedulers ,Hotplugs based on the complex algorithms ,formulas that govern them
*Applying these knowledge for our device considering the real-time usage and the interaction between Cpu,hotplugs,schedulers,VM,LMK ,/proc/sys values /sys/module and a lot of other things.
What you see in app is just what the app allows you to see
*Setting up tasker for set on boot :- http://forum.xda-developers.com/showpost.php?p=64875576&postcount=261
RAM Management
So without further delay let me start with the LMK (Low Memory Killer) parameters
1.Foreground Applications - These are the the current applications that you are using in front of your eyes , For example the browser while you are browsing
2. Visible applications - Let's say after downloading something using browser , it loads another page in the meantime you open the file with a file manager, Now here the Browser is Visible Application and File manager is Foreground application
3. Secondary Server - The components of UI and launcher fall in this category
4. Hidden Applications - This one is little anamolous , the apps which are not running currently visibly like the browser or file manager i mentioned above , but these are the apps that run in background and live on RAM (some are essential, some are useless (bloat) )
5. Content Provider - We can call these linked apps , for example when pressing a number in whatsapp , the dialer comes up here the dialer app is content provider for whatsapp
6. Empty Applications These are needless apps just running and living on RAM which can be killed
Ok Now let's see what happens with the values we set..
To put it simply , suppose say we set the values as 88 , 110 , 132 , 164 , 176 , 220 respectively for the slots 1 to 6 .. (Note 4 5.1.1. Default values ) ,
Lets take the 132 , 3rd slot for example , I said the 3rd slot i.e 'Secondary Server' holds things such as UI launcher related stuff ,
That's Ok but what the hell does 132 represents ? It is nothing but a parameter which tells the system to always keep the 3rd slot a minimum free available memory of 132 MB , so when you try to add more launchers or UI stuff see lags because the system is killing/struggling to keep 132 mb free but you are not allowing it to settle by overloading stuff , you may ask then why can't we simply reduce that value so that it can survive ,
That's right way to think but the problem are
1. To keep android stable the lmk values should be in order i.e 1<2<3<4 <5<6
2. When you reduce these values RAM is piled up with loads of apps which will have negative impact on battery and performance ..
So which way to go , what's the ideal solution , before we discuss that let mention a few more things ...
* The RAM management is completely different in Touchwiz (poor) and Aosp/cm (good) - Samsung has tons of bloat apps , services processes which are like a parasite on the RAM
*Note When i said System keeps a minimum of 132 mb for secondary server it doesn't mean 132 mb out of whole RAM
** Total Availble RAM is NOT the same as Total physical RAM
** There are things such as overcommitt ratio , memory , low watermark to consider which is too much tedious to discuss here right now
** Lastly locking app in memory or assgning oom (out of memory) score to apps are not possible since kitkat due to changes in Android Run Time (ART)
With these points in mind lets proceed to find out the working method to improve our Note 4's RAM management
If you have read all the points , I guess by now you might have an idea of what does what..
Generally,
The first three control multitasking
The last three, can be increased to free up RAM
** NAMELESS Users need NOT use any values , I have intergrated special formula and mechanism inside ROM for scheduler and RAM management
LMK values
Default 5.1.1 - 88 , 110 , 132 , 164 , 176 , 220
Multitasking - 48, 56 , 64 , 110 , 132 , 166
Balanced - 56 , 64 ,82 , 194 , 250 , 305
Gaming/ Aggressive - 32 , 64 , 128 , 250 , 470 , 512
Thank you , thats it for now
* Setting up tasker to apply profiles on boot : http://forum.xda-developers.com/showpost.php?p=64875576&postcount=261
* Cannot add or delete Profiles? Follow this : http://forum.xda-developers.com/showthread.php?p=64954992
* App Crashes or lag builds up , check this : http://forum.xda-developers.com/showpost.php?p=64991257&postcount=350
* Further reading (deeper stuff) : http://forum.xda-developers.com/showpost.php?p=64622626&postcount=35
I've failed at the first hurdle. I don't get the MSM mpdescision hotplug option.
Update. Doh. On nameless kernel. Sorry.
Sent from my SM-N920C using Tapatalk
ninjabadger said:
I've failed at the first hurdle. I don't get the MSM mpdescision hotplug option.
Update. Doh. On nameless kernel. Sorry.
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
Oops , NL kernel with msm_mpdecision is coming soon ?? , right now this guide is applicable with Emotion and AEL kernel ?
Nice thread and well organised
Semma Post bro :good:
May I know which ROM , kernel , bootloader , modem combo is best for battery backup (N910G) ?
I wanna try ur kernel adiutor settings in it.. :victory:
I'm not able to find emotion and AEL kernel for our N910G 5.1.1 .. where can I get it bro?
https://www.mediafire.com/folder/rvxdm018fdm1o/EMOTION_KERNELS_NOTE4#dsxr7ruz9p0ub
kalaishere said:
Semma Post bro :good:
May I know which ROM , kernel , bootloader , modem combo is best for battery backup (N910G) ?
I wanna try ur kernel adiutor settings in it.. :victory:
I'm not able to find emotion and AEL kernel for our N910G 5.1.1 .. where can I get it bro?
https://www.mediafire.com/folder/rvxdm018fdm1o/EMOTION_KERNELS_NOTE4#dsxr7ruz9p0ub
Click to expand...
Click to collapse
Thanks bro.
Correct link than,
The 5.1.1 910F kernel will also work on 910G , ?? ,
The link you provided in the 3rd post for Kernel Adiutor for Note 4 doesn't work
http://"https://mega.nz/#!JgMjBLab!m...sNLH66yzo3bj0"
Wise.Guy said:
The link you provided in the 3rd post for Kernel Adiutor for Note 4 doesn't work
http://"https://mega.nz/#!JgMjBLab!m...sNLH66yzo3bj0"
Click to expand...
Click to collapse
Thanks for the tip bro ,updated . Check now
Senthil360 said:
Thanks for the tip bro ,updated . Check now
Click to expand...
Click to collapse
It's ok now. Thank you
@Senthil360 can you provide kernel backup settings and share it with us? it will be easier to restore your backup so we can test.
if you have time, please provide backup settings for the 2 kernels below (either from synapse or kernel auditor)
-emotion r23 rc1
-ael v8.1 multivariant
thank you! i love to try your kernel settings ?
Dealte.
Whenever I downloaded the emotion kernel it changes from a .zip to a .jar
Anyone else get that?
Sent from my SM-N920C using Tapatalk
ninjabadger said:
Whenever I downloaded the emotion kernel it changes from a .zip to a .jar
Anyone else get that?
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
yeah. you have to use firefox or use pc to download.
b.eslabon said:
@Senthil360 can you provide kernel backup settings and share it with us? it will be easier to restore your backup so we can test.
if you have time, please provide backup settings for the 2 kernels below (either from synapse or kernel auditor)
-emotion r23 rc1
-ael v8.1 multivariant
thank you! i love to try your kernel settings ?
Click to expand...
Click to collapse
No no bro , see that's the whole point , I want the users to be individualistic and i want you to help do these things on your own , Its very simple to follow and its been tested and approved , I hope that every bit of time you take to do this will certainly be useful and I cannot provide ready-made things outside Nameless now bro.
Senthil360 said:
No no bro , see that's the whole point , I want the users to be individualistic and i want you to help do these things on your own , Its very simple to follow and its been tested and approved , I hope that every bit of time you take to do this will certainly be useful and I cannot provide ready-made things outside Nameless now bro.
Click to expand...
Click to collapse
no problem bro ? i got your point. im just suggesting for easier ways tho
when you say interactive governor, it includes all the governor which are based on interactive such as interactive pro, intelliactive, etc