CTT Mod for VR/Cardboard (Lollipop Roms) - G4 Android Development

So I've been watching movies on my VR headset (Bobovr Z4, highly recommended if you want to try out VR) and have noticed that the G4 overheats like crazy. The ambient temperatures where I live fluctuate between 50 deg F and 90 deg F depending on the time of day and the month. Even at cooler night temperatures, my G4 would heat up to the point of shutting itself off after around 20-25 minutes of watching a movie with no orientation sensors being used (static side by side video) and brightness at around 65%. This got incredibly annoying so I wanted to see what I could do about it.
I've tested out @Robshr's CTT mods and all 4 versions had issues that I didn't know how to fix, from the phone not charging at max Quick Charge speeds to overheating quickly. I've been running a modified version of the default CTT from the 13B rom from Verizon and it was fine for normal & gaming use but VR caused massive overheating so I modified it even further.
What I've found from testing is that the thermal mod values will take over any type of other settings you try to set with apps like Kernel Auditor or EX Kernel Manager (If you're using SetCpu, I'd highly recommend you switch to something else because it is outdated and doesn't know how to manage the big little core setup on the G4 and most newer phones) once your phone hits the temperatures set in the thermal-engine-8992.conf file. This means that you basically can't limit the max clock speeds of your phone once it reaches the temperatures set in the conf file. For example, the lines from the default conf file state for the little cores:
"thresholds 50000 53000 60000
thresholds_clr 48000 51000 58000
actions cluster0 cluster0 cluster0
action_info CLUSTER0_MAX 1248000 960000"
When my phone reached 60 degrees C, I couldn't limit the clock speed of the little cores using EX Kernel Manager below 960 MHz. I could set it below 960 MHz in the manager but it would show that the clock speeds still reached 960 MHz. What I did was decrease the max speeds the cores could hit at certain temperatures and raised the temperature limits by a little bit. What this does is throttle harder at higher temperatures instead of lower at lower temperatures and allows the phone to stay at lower clock speeds if set by a kernel managing app. I've found that 600 MHz is more than enough to stream 3D movies from my PC to my phone without issues using ES File Explorer. EX Kernel Manager allows me to limit the clock speeds to 600 MHz by switching to the power saving mode. Turning it off allows my phone to hit normal clock speeds again, which can be set using EX Kernel Manager at their max values allowed by the chip (higher than what LG limits them to I believe). From my tests so far, using the 600 MHz limit for VR 3D movies allows my phone to operate for around 40-50 minutes before displaying a overheating message which is a significant improvement from before. I don't use Marshmallow because it doesn't have root on Verizon so I can't help you if you have a Marshmallow rom.
Installation:
Extract the rar and move the thermal-engine-8992.conf to the /etc/ folder and replace the one that's in there (make a backup of that file first). Set permissions to RW R R and reboot. Highly recommend using EX Kernel Manager in conjunction and limiting the clock speed for movies. For games, you probably need higher clock speeds.

v2: Updated to not decrease brightness so much at higher temps.

Related

underclock/undervolt vs default clock/kernel undervolt

im using cm6 with the v4.0-cc snap kernel and i was playing around with the overclock widget. heres what i got:
~800mhz:
33mflops avg in linpack
30fps in neocore
50fps avg in fps2d
default clock:
38mflops avg linpack
30.5 in neocore
51fps avg in fps2d
38 mflops is nice but 33mflops is still alot better than 6.9mflops that we used to get. my question is this... if i set the cpu max load to 800mhz and it takes a teeny bit longer to run the linpack benchmark, does that take a teeny bit more battery than the default clock speed? i assume it does... however another question is when i set it to 800mhz, does the voltage go lower than default? if yes then which is better at preserving battery life?
1. ~800mhz + voltage lower than default + JIT compiling teeny bit slower than default
2. default clock speed + default voltage + fast JIT
bump... anybody?

Button press input lag for a few hours a day

Does anyone else get input lag (that lasts for a few minutes to hours) each day?
Every day (most of the time at around the same time) I'll get horrible input lag that will last from a few minutes to hours that will make the button presses on the remote take 3+ seconds just to register and execute on the Fire TV.
I sideloaded an app to check the CPU usage and it doesn't seem like there is any major CPU usage when I'm experiencing input lag.
This is a very annoying problem with my Fire TV and I'm not sure if other people experience the same problem.
If you have root access,you can use Trickster Mod after installing busybox to increase GPU performance by setting the Govern to performance.
This will partially overclock it to always run 400Mhz instead of going down to lower values which causes inconvenient lags.
I managed to get extremely fast performance after enough consecutive hours of on-time.
You could also get Kernel Tuner to make sure all four CPU cores are enabled and at the proper .384-1.7 settings.
My CPU0 was strangely disabled with the maximum clock on zero but I enabled the core by sliding it to 1.7 where it should actually be.
There is some hidden buttons on the main screen for turning CPU1,2,and 3 on/off you can find with the arrow keys.
You can also set your color bit depth to 32bit or 16bit while 24bit is the default for some reason.
Mine runs perfectly fine on 32bit and it appears to look much sharper.
Why is the default set to 24bit when 32bit works fine and looks better?
retroben said:
If you have root access,you can use Trickster Mod after installing busybox to increase GPU performance by setting the Govern to performance.
This will partially overclock it to always run 400Mhz instead of going down to lower values which causes inconvenient lags.
I managed to get extremely fast performance after enough consecutive hours of on-time.
You could also get Kernel Tuner to make sure all four CPU cores are enabled and at the proper .384-1.7 settings.
My CPU0 was strangely disabled with the maximum clock on zero but I enabled the core by sliding it to 1.7 where it should actually be.
There is some hidden buttons on the main screen for turning CPU1,2,and 3 on/off you can find with the arrow keys.
You can also set your color bit depth to 32bit or 16bit while 24bit is the default for some reason.
Mine runs perfectly fine on 32bit and it appears to look much sharper.
Why is the default set to 24bit when 32bit works fine and looks better?
Click to expand...
Click to collapse
Won't this cause the FTV to overheat? I'm thinking about doing this myself, but wouldn't want to cause any premature damage for a slight increase in performance.
The GPU is not far from max when set to normal mode.
It would usually stick around 320Mhz while occasionally going up to 400Mhz.
The heat has not been much different with performance mode keeping the GPU at 400Mhz.
Don't mess with the Quad-Core CPU modification,because that is the main thing that might overheat you.
I keep mine completely on default apart from enabling that one strangely disabled CPU core.
Out of 212F possible degrees,Trickster Mod's Temperature Info reads out 120F right now after quite a few hours of usage while the "battery" says 86F.
retroben said:
The GPU is not far from max when set to normal mode.
It would usually stick around 320Mhz while occasionally going up to 400Mhz.
The heat has not been much different with performance mode keeping the GPU at 400Mhz.
Don't mess with the Quad-Core CPU modification,because that is the main thing that might overheat you.
I keep mine completely on default apart from enabling that one strangely disabled CPU core.
Out of 212F possible degrees,Trickster Mod's Temperature Info reads out 120F right now after quite a few hours of usage while the "battery" says 86F.
Click to expand...
Click to collapse
Ok thanks I'll give it a try.
I also recently acquired two nice apps that use root to customize settings for a major performance boost in general and with "touch" related performance as well.
I have noticed a smoother touch scroll in browsers,faster menus,and app loading speeds.
The two apps are called Performance Booster and Digitizer Booster.
Performance:
https://play.google.com/store/apps/details?id=com.gejos.android.performancebooster
Digitizer Booster (responsive touch):
https://play.google.com/store/apps/details?id=com.gejos.android.digitizerbooster
There is also some donate and pro versions of Performance Booster that allow double boost and triple boost.
retroben said:
If you have root access,you can use Trickster Mod after installing busybox to increase GPU performance by setting the Govern to performance.
This will partially overclock it to always run 400Mhz instead of going down to lower values which causes inconvenient lags.
I managed to get extremely fast performance after enough consecutive hours of on-time.
You could also get Kernel Tuner to make sure all four CPU cores are enabled and at the proper .384-1.7 settings.
My CPU0 was strangely disabled with the maximum clock on zero but I enabled the core by sliding it to 1.7 where it should actually be.
There is some hidden buttons on the main screen for turning CPU1,2,and 3 on/off you can find with the arrow keys.
You can also set your color bit depth to 32bit or 16bit while 24bit is the default for some reason.
Mine runs perfectly fine on 32bit and it appears to look much sharper.
Why is the default set to 24bit when 32bit works fine and looks better?
Click to expand...
Click to collapse
Hey Retroben,
Can you do a posting with all your tips in the forum? your tips have greatly helped me out. Im sure many will greatly appreciate the performance boosts you helped us get.
I got to gather my findings before I can,but I'll see what I can do.
The major speed increase with GPU Govern set to "performance" while 400Mhz is my biggest accomplishment of findings.
I will need to devise a series of steps for each of my findings,so it might take a long while.
The 32bit Color Depth does seem a lot more vibrant and crisper than 24bit.
If anyone is curious, I found out that having a controller plugged in can cause the random input lag.
Someone had mentioned that on another website so I unplugged my xbox controller from the Fire TV and I haven't had any input lag since then.
retroben said:
Performance:
https://play.google.com/store/apps/details?id=com.gejos.android.performancebooster
Digitizer Booster (responsive touch):
https://play.google.com/store/apps/details?id=com.gejos.android.digitizerbooster
There is also some donate and pro versions of Performance Booster that allow double boost and triple boost.
Click to expand...
Click to collapse
I'm curious about what these apps actually do. The dev won't say; it looks like a lot of it build.prop style tweaks but I'm not sure if it's directly editing the file or adding a loadable script someplace.
On the 24 vs 32 bit color: it's not clear to me that for a TV screen, there's an advantage to 32 bit color. There will be a performance improvement in graphics, as the GPU is calculating many fewer bits per pixel.
The 8 bit and 24 bit images in the Wikipedia article are pretty interesting to look at on a display. I'm surpised by how similar they are on my computer display at its normal 32 bit resolution:
8 bit
{
"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"
}
versus 24 bit
An excellent interactive comparison of bit depths is at
http://www.cambridgeincolour.com/tutorials/bit-depth.htm
IF I can extract the tv from the teenager anytime soon, like tomorrow, I'll look at that cambridge image on the set as well. On the computer, at 16 or 32 bit, the difference in appearance of the last two images in it is very subtle.
retroben said:
I got to gather my findings before I can,but I'll see what I can do.
The major speed increase with GPU Govern set to "performance" while 400Mhz is my biggest accomplishment of findings.
I will need to devise a series of steps for each of my findings,so it might take a long while.
The 32bit Color Depth does seem a lot more vibrant and crisper than 24bit.
Click to expand...
Click to collapse
I have all for cores running on Performance max thanks to Kernel Tuner and the GPU on Performance at 400 with Tweak mod and i switched to 32 bit and im running a bit slower now with FF Type Zero in PPSSPP compared to before. I think im going to switch back to 24 bit and hopefully get a bit more speed back.
THAT IS WHAT I SAID NOT TO DO!
The CPU cores all set to that height will majorly overheat your device,and might kill it.
The most you should do is use Kernel Tuner to set the minimal speeds up to something around 50% full.
I reccommend either leaving it at the default or setting it around the 500 range.
Leave the CPU Govern alone,but GPU on performance mode with Trickster Mod is fine.
The Kernel Tuner's 32bit option does not negatively effect the performance enough (if at all),so you can keep it on with no problems.
The framerate of PPSSPP is dependant on what settings are used.
I have almost everything enabled and I get fluid 60fps with DBZ Budokai Shin.
I also get a nearly stutterless fps with SRB2PSP which normally runs abysmal on the actual system.
My PPSSPP settings...
Graphics:Non buffered,frame limit unchecked with 50% alternative speed,all of performance enabled, and the two speedup hacks enabled.
System:Multithreading and I/O disabled with native 330Mhz PSP clock speed on 2000/3000 mode.
A majority of games will have visual issues (Simpsons Game 3D graphics broken [I blame Qualcomm]) while the two I have tested (DBZ Shin and the SRB2PSP homebrew/port) work nearly flawlessly at full rates.
The 50% alternative rate is really helpful for better performance,since the game still goes up to full speed.
retroben said:
THAT IS WHAT I SAID NOT TO DO!
The CPU cores all set to that height will majorly overheat your device,and might kill it.
The most you should do is use Kernel Tuner to set the minimal speeds up to something around 50% full.
I reccommend either leaving it at the default or setting it around the 500 range.
Leave the CPU Govern alone,but GPU on performance mode with Trickster Mod is fine.
The Kernel Tuner's 32bit option does not negatively effect the performance enough (if at all),so you can keep it on with no problems.
The framerate of PPSSPP is dependant on what settings are used.
I have almost everything enabled and I get fluid 60fps with DBZ Budokai Shin.
I also get a nearly stutterless fps with SRB2PSP which normally runs abysmal on the actual system.
My PPSSPP settings...
Graphics:Non buffered,frame limit unchecked with 50% alternative speed,all of performance enabled, and the two speedup hacks enabled.
System:Multithreading and I/O disabled with native 330Mhz PSP clock speed on 2000/3000 mode.
A majority of games will have visual issues (Simpsons Game 3D graphics broken [I blame Qualcomm]) while the two I have tested (DBZ Shin and the SRB2PSP homebrew/port) work nearly flawlessly at full rates.
The 50% alternative rate is really helpful for better performance,since the game still goes up to full speed.
Click to expand...
Click to collapse
Yeah i just did performance govern for a temp performance test, i get the same speeds on ondemand just fine. but i'll try turning off multithreading and I/O and test it again with the other tweaks you said for PPSSPP.
For what its worth, I noticed the lag immediately following updating to the latest fw. On the original fw the ftv felt so fast and snappy and now is feelz slow and laggy.
It must be related to new bloatware like the kiddy mode and music management.
If you press alt+tab on a keyboard to view recent apps,the media options like apps games videos and photos will be listed,which means they run every time you pass the related options.
Root users need not worry,because rbox will have the homescreen options mod for removing the options soon.
I want to wittle it down to search,home,and settings so I can access things much faster.

Games like Asphalt 8 on low res?!

I noticed that some games like Asphalt 8 do not use native resolution, but are in low res although video setting are set to highest.
I'm on a stock lollipop, not yet rooted and Knox 0.
Is it a common issue? How to enable native resolution?
Same here on Tab S 10.5
Enviado do meu Moto G2 via Tapatalk
same here since lollipop update, any solution? cheers.
galaxy tab s 10.5, sm-t805
I have also experienced this behavior in Asphalt 8 since I have updated to Lollipop in the beginning of December 2015. I am on IronROM 2.5 which is TW-based Lollipop 5.0.2 ROM.
Interestingly, in some rare cases I was able to play the game in high quality. I have noticed that at least in one case the battery was full when I started playing game. But most of the time the game has been in terrible quality and sometimes even in this low quality it is lagging. Having the battery full is not a guarantee that it can be played in high quality.
I have found out that when I use Link2SD, and I enable to use Android standard "fuse" filesystem for internal storage, instead of Samsung's standard "sdcardfs" filesystem, the lags are getting worse. So by restoring the Samsung's sdcardfs filesystem the lags are not so bad.
But I was unable to force the game to go into the high-quality mode. I have even used integrated tool Hulk-Kernel STweaks to set CPU governor to "pegasusq" or "ondemand", and also set min and max CPU frequency to 1900 MHz and GPU min and max frequency to 733 MHz, but it had no impact on gaming performance in terms of graphic quality. Before starting the game I have also used task manager to free up memory (so I had some 1,8 GB of 2,71 GB used which means still some 900 MB free).
I guess it has something to do with Lollipop but I am unable to find out what is the problem.
Seems the last game update (2.3.0i) did the trick. Asphalt running on high res again. Brgds.
low res
ersterfm said:
Seems the last game update (2.3.0i) did the trick. Asphalt running on high res again. Brgds.
Click to expand...
Click to collapse
Not on mine... Here still in low resolution... Anyone have a trick?

D855 thermal shutdown with 4K recording

Hi guys,
I'm having the issue of not being able to record more than 4min of 4K video with the LG G3. It's what the phone was designed to do.
Config :
-Resurrection Remix 5.7 ROM (Android 6.0.1)
-Gamma kernel
-Battery profile set to "Efficiency"
-Snap Camera HDR (to be able to record 4K)
-Auto-brightness disabled / brightness set to 50%
-Screen resolution set to 1280x720 with 267 DPI
-Verbatim Pro + sdCard (minimum 80MB/s write speed)
-Brand new battery
Recording in 1080p with default clocks and voltages for Gamma Kernel results in max 71 degrees Celsius temp. Recorded for 30min. Temps and phone stable.
Recording in 4K with default clocks and voltages for Gamma Kernel results in 91 degrees Celsius temp, when phone shutsdown (91 being the Qualcom SoC thermal threshold).
Recording in 4K with 1.7GHz clocks and 850mA voltages for Gamma Kernel results in 91 degrees Celsius temp, when phone shutsdown (91 being the Qualcom SoC thermal threshold).
I'm thinking of :
-Using thermal paste (Gelid GC Extreme; ceramic paste; 3rd best in the world) but I don't really wanna do this step.
-Putting thermal throttleing back so it downclocks when it reaches 60 degrees
-Downclocking the hell out of the CPU and GPU but that kind of defeats the purpose of 4K video recording.
What do you guys think?
Thermal mod for me. Have done it myself and never had a problem ever since. This plus a custom kernel that supports undervolting.
kostelo said:
Thermal mod for me. Have done it myself and never had a problem ever since. This plus a custom kernel that supports undervolting.
Click to expand...
Click to collapse
So, thermal paste or heatsink?
When you say you never had a problem since, do you mean with 4K recording or gaming / browsing etc.?
Everything else besides 4K recording works fine. No heat issues. 4K is the only thing that kills the phone.
I disabled "Core control" in Kernel Auditor and enabled "SoC throttling". 4K recording lasted for 6 minutes but still reached 91 degrees and phone shutdown.
I'm going to try and go for the GPU underclock. My phone resolution is set to 1280x720 so not much effort is being done by the GPU.

The CPU cores underclock themselves After i play for a Little bit.

After playing games likes Catalyst black, Apex Legends, Wild Rift etc, the CPU cores Just misteriously go down.
By misteriously, i mean that even with graphics scaled down and not necessarily at the maximum, the CPU Just progressively scales down to the lowest frequency It can scale at, sometimes the big and prime cores scale as low as 1075 MHZ and 710 MHZ.
I tried everything, by magisk i tried disabling the thermal engine using the thermal.apk, i tried changing TCP congestor, i tried changing thermal profile, i tried changing multiple ROMs and CPU governors, problems Is still there.
Help me with this plz, if saving from heating Means scaling from 144 to 40FPS, i'm definitely not with Xiaomi on this One.
Oh by the way, i don't know if It has something to do, but through the Konabess APP, i've set the GPU to 905 MHZ, Set the DDR Memory channels to 11 and cache to turbo L0.
No for me, Genshin Impact, Apex, Lol, etc its stable in EEA 12.5.
Maybe hot in Apex and Genshin in 30 min...
It's a security thing to prevent overheating,but only on stock rom,just flash another rom then.
Its happened due to security reason to protect from CPU overheating. I'm also facing this issue while playing Apex Legends. Basically I've got Apex Legends redeem codes and try to play apex and after couple of minutes my cpu overheating.
Really Nice Content also check Rodeo

Categories

Resources