Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[10.03][XPOSED FIX] Samsung DVFS Disabler! - Take the full power of gs4

OP mattiadj

8th March 2014, 09:48 PM   |  #1  
mattiadj's Avatar
OP Senior Member
Flag Francavilla al mare
Thanks Meter: 1,707
 
3,756 posts
Join Date:Joined: May 2010
Donate to Me
More
STOP! THIS MOD IS ONLY FOR SAMSUNG ROM! NOT WORKING ON ASOP, CM OR OTHER SINCE THESE ROM NOT NEEDED IT!

Hello folks,
finally after 1 month of research, tests and sleepless nights i have made a fix for the cpu cap problem caused by crappy samsung's DVFS system.
For people who don't know what is DVFS please refer wikipedia.
In short terms: samsung added this system to boost benchamark like antutu and he tells us that in KK the system was trashed so benchmark result are not falsified. THIS IS NOT REAL AT ALL!!!

I have discovered after a lot of time that samsung has added DVFS system in other way, more in kernel but disabling it in kernel is not enought! Rom controls the DVFS system!

THE PROBLEM
After heavy playing games for 5/10 minutes the performance became very very low! Game starts to lag a lot and in few minutes became not really playable! The phone is quite hot in the upper part but not really really hot! Exiting game can fix the problem but not always. Only a complete reboot can fix completely the problem!
So i have decide to investigate and i have installed app like KtMonitor (included in kt kernel) or perfmon (http://forum.xda-developers.com/show....php?t=1933284) and i have noticed a very strange thing!!!
  • When game starts for the first time the cpu speed is max at 1890mhz
  • After a while the cpu goes to 1458mhz and stays at this freq for a while
  • After some minutes it scales down to 1242, then to 1134, then to 1026 then to 918 mhz!!!
  • *When 1134 mhz is reached gpu goes down to 304 mhz and when cpu is at 1026 freq the gpu is at 128/200

In this way the game is not playable anymore!
The only way to see again values upper 1242/1458 is to reboot or wait a long time.

THE SOLUTION
The solution is to disable DVFS system from changing cpu and gpu freq table!

After that DVFS is completely disabled! Kernel can handle totally the power of cpu so the up/down scaling! Cpu and Gpu freq are not blocked anymore! The cpu and gpu are used based on tasks and not limited by crap samsung behaviour! Scores in benchmark now are real! In a nutshell phone will fly

WHAT YOU NEED
THE GUIDE
First of all make a nandroid backup!! I'm not responsable for any problem! You make this procedure at your risk!!!
  1. Install Xposed Installer (http://dl.xposed.info/latest.apk)
  2. Install Xposed Framework through Xposed Installer App
  3. Download Samsung DVFS Disabler
  4. Enable it on the Xposed Installer modules
  5. Reboot your device

IMPORTANT NOTES:
  • Phone will be very hot and drain battery during heavy session such as games but this isn't a problem. With @ktoonsez kernel i have set 90C for start throttle and 80C for end i can use the phone without burn my hands or burn it self but make attention!
  • This fix not delete thermal throttle! So the cpu and gpu can throttle without any problem and you can be use it on heavy tasks without fear!
  • Anyway I'm not responsable for any problem! You make this procedure at your risk!!!

IF YOU HAVE ISSUES
First of all follow the app thread here and then report in the app thread or here:
  • Rom (version also)
  • Kernel (version also)
  • Kernel settings (if available)
  • Bootlaoder version
  • Particular apps installed
  • Particular mod flashed

CREDITS
I have to say thank you to two wonderful devs here:
@ktoonsez since with his kernel i can find this bizzarre behaviour
@wanam and his ability with xposed framework! I have made a fix but it was too drastic LoL. With his xposed module the problem is fixed without touching any system files!!! Wonderful! Thank you very much my friend!
The last but not the least the app catLog! Only with this app i was able to find the real problem! The crappy samsung DVFS system!!!!

If you like my job, buy me a beer

Now....feedback, feedback and feedback!
Last edited by mattiadj; 10th March 2014 at 06:39 PM.
The Following 56 Users Say Thank You to mattiadj For This Useful Post: [ View ]
8th March 2014, 09:49 PM   |  #2  
mattiadj's Avatar
OP Senior Member
Flag Francavilla al mare
Thanks Meter: 1,707
 
3,756 posts
Join Date:Joined: May 2010
Donate to Me
More
V2: made an xposed module! all info here
------------------
V1: first relase
Last edited by mattiadj; 10th March 2014 at 06:34 PM.
The Following User Says Thank You to mattiadj For This Useful Post: [ View ]
8th March 2014, 09:49 PM   |  #3  
mattiadj's Avatar
OP Senior Member
Flag Francavilla al mare
Thanks Meter: 1,707
 
3,756 posts
Join Date:Joined: May 2010
Donate to Me
More
Just in case
Last edited by mattiadj; 10th March 2014 at 06:34 PM.
8th March 2014, 10:31 PM   |  #4  
putti71's Avatar
Senior Member
Thanks Meter: 266
 
1,472 posts
Join Date:Joined: Nov 2009
More
Why do you put this mod into s4 section when it's supposed to be for the s3?



Sent from melmac
8th March 2014, 10:32 PM   |  #5  
qtwrk's Avatar
Senior Member
Flag Barcelona
Thanks Meter: 815
 
2,507 posts
Join Date:Joined: Sep 2011
More
Quote:
Originally Posted by putti71

Why do you put this mod into s4 section when it's supposed to be for the s3?



Sent from melmac

typo maybe ? i just flashed it and see how it goes
8th March 2014, 10:40 PM   |  #6  
mattiadj's Avatar
OP Senior Member
Flag Francavilla al mare
Thanks Meter: 1,707
 
3,756 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by putti71

Why do you put this mod into s4 section when it's supposed to be for the s3?



Sent from melmac

Of course a typo! Sorry!

From universe with my gs4 snapdragon powered!
The Following 2 Users Say Thank You to mattiadj For This Useful Post: [ View ]
9th March 2014, 12:38 AM   |  #7  
sergio114's Avatar
Member
Thanks Meter: 28
 
75 posts
Join Date:Joined: Jul 2013
Hi

And Other Option Works really Good,I 'Ve used a wanam Xposed,and Disabled DFVS.And I've see the Gpu and Cpu Not Underclocking frecuency never


And Your Mod works Fine Always.Very Thanks For your great support.
9th March 2014, 12:40 AM   |  #8  
mattiadj's Avatar
OP Senior Member
Flag Francavilla al mare
Thanks Meter: 1,707
 
3,756 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by sergio114

Hi

And Other Option Works really Good,I 'Ve used a wanam Xposed,and Disabled DFVS.And I've see the Gpu and Cpu Not Underclocking frecuency never


And Your Mod works Fine Always.Very Thanks For your great support.

On kk the option in wanamlite is broken. I have talked win wanam and its useless for now.

My mod fix completely the problem

From universe with my gs4 snapdragon powered!
9th March 2014, 12:49 AM   |  #9  
sergio114's Avatar
Member
Thanks Meter: 28
 
75 posts
Join Date:Joined: Jul 2013
I have been play Real racing for 15 minutes and not Underclocking Gpu.how is possible?Haha I'm Crazy

Thanks Man
9th March 2014, 01:00 AM   |  #10  
mattiadj's Avatar
OP Senior Member
Flag Francavilla al mare
Thanks Meter: 1,707
 
3,756 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by sergio114

I have been play Real racing for 15 minutes and not Underclocking Gpu.how is possible?Haha I'm Crazy

Thanks Man

It's another phone you know??

From universe with my gs4 snapdragon powered!

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

Advanced Search
Display Modes