Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,781 Members 48,416 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
mattiadj
Old
(Last edited by mattiadj; 10th March 2014 at 05:39 PM.)
#1  
mattiadj's Avatar
Senior Member - OP
Thanks Meter 1,694
Posts: 3,718
Join Date: May 2010
Location: Francavilla al mare

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

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!
The Following 53 Users Say Thank You to mattiadj For This Useful Post: [ Click to Expand ]
 
mattiadj
Old
(Last edited by mattiadj; 10th March 2014 at 05:34 PM.)
#2  
mattiadj's Avatar
Senior Member - OP
Thanks Meter 1,694
Posts: 3,718
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
V2: made an xposed module! all info here
------------------
V1: first relase
The Following User Says Thank You to mattiadj For This Useful Post: [ Click to Expand ]
 
mattiadj
Old
(Last edited by mattiadj; 10th March 2014 at 05:34 PM.)
#3  
mattiadj's Avatar
Senior Member - OP
Thanks Meter 1,694
Posts: 3,718
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
Just in case
 
putti71
Old
#4  
putti71's Avatar
Senior Member
Thanks Meter 231
Posts: 1,331
Join Date: Nov 2009
Why do you put this mod into s4 section when it's supposed to be for the s3?



Sent from melmac
Putti71
OMEGA (S4) (daily device)
Asylum (Note 1) (backup device)
Viper (HTC DHD)
Dakele 2
 
qtwrk
Old
#5  
qtwrk's Avatar
Senior Member
Thanks Meter 810
Posts: 2,496
Join Date: Sep 2011
Location: Barcelona
Quote:
Originally Posted by putti71 View Post
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
if my words are useful or helpful to you , i will appreciate it you click thanks button
GT-i9023 Nexus S
GT-i9250 Galaxy Nexus
GT-i9300 Galaxy S III
GT-s5830 Galaxy Ace
GT-i9300 Galaxy S III
GT-i9506 Galaxy S IV 4G+
GT-i9505 Galaxy S IV (current)
 
mattiadj
Old
#6  
mattiadj's Avatar
Senior Member - OP
Thanks Meter 1,694
Posts: 3,718
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
Quote:
Originally Posted by putti71 View Post
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: [ Click to Expand ]
 
sergio114
Old
#7  
sergio114's Avatar
Member
Thanks Meter 28
Posts: 75
Join Date: 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.
 
mattiadj
Old
#8  
mattiadj's Avatar
Senior Member - OP
Thanks Meter 1,694
Posts: 3,718
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
Quote:
Originally Posted by sergio114 View Post
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!
 
sergio114
Old
#9  
sergio114's Avatar
Member
Thanks Meter 28
Posts: 75
Join Date: Jul 2013
I have been play Real racing for 15 minutes and not Underclocking Gpu.how is possible?Haha I'm Crazy

Thanks Man
 
mattiadj
Old
#10  
mattiadj's Avatar
Senior Member - OP
Thanks Meter 1,694
Posts: 3,718
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
Quote:
Originally Posted by sergio114 View Post
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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes