[FIX/TEMPORARY] Hot device fix while using hotspot on custom ROM (probably RUI too) - Realme 5 Pro Guides, News, & Discussion

So I've seen quite a few Rui based custom ROM users and even Rui users complained that while using hotspot the device gets extremely hot. This may help users keep CPU temperatures lower so the heat won't damage your device.
People who have heating problems on custom ROMs with hotspot turned on, I can recommend setting the max little and big core freqs to 900mhz while lowering the minimum to 300mhz while keeping to stock schedutil governor in a kernel manager like smartpack kernel manager. Unlike powersave governor the system will stay fluid enough for usage but cpu core temps won't go over 80 Celsius so it's bearable for long term hotspot usage and unlikely to damage your device.
This is a temporary fix while Rui vendor sources get updated/fixed or custom developers find a solution to this issue.

Related

100Mhz Problems

I notice some epics have issues with the 100mhz step in kernels. Some freezes and lockups as well as battery drain. I know we can disable 100mhz with setcpu and voltage control. And that usually fixes the epics with the problem. However i'm curious to know how many people are suffering from this and what else u did to fix it.
Sent from my SPH-D700 using Tapatalk
DaKillaWilla said:
I notice some epics have issues with the 100mhz step in kernels. Some freezes and lockups as well as battery drain. I know we can disable 100mhz with setcpu and voltage control. And that usually fixes the epics with the problem. However i'm curious to know how many people are suffering from this and what else u did to fix it.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Interesting, I have mine set to bottom out at 100Mhz stepping too, and I've been experiencing lock-ups, force-closes and video out-of-synche issues. I'll see if they go away when setting it to 200Mhz bottom speed. 200Mhz should be sufficient to save CPU heat and battery.
Lag should be normal, but lockups shouldn't. Thanks for the heads up.
As of why this happens, there are four possibilities.
1. The kernel has a problem stepping into that particular mode on that particular CPU.
2. There is some issue with hardware buffer overruns in 100Mhz. This is a known nasty problem with under-clocking. Best case the system looses data from the buffer, worst case, the buffer overwrites it's data elsewhere.
3. The CPU, chipset, board configuration or combination thereof is unstable at 100Mhz for any number of reasons (these range from RAM timing issues, to bouncing and glitching issues, to the ever annoying EMI resonance.)
4. Two or more of the above.
Possibility 1 is fixable with an upgrade to a newer kernel that has that particular ARM CPU's clock-scaling mechanism fixed. You can check for it on the Linux kernel change-logs and known bugs lists.
Possibility 2 is fixable with an anticipatory user-space governor that will increase clock speed when activity levels exceed a threshold on the CPU's external bus, a microcode patch or a written kernel patch could also work. (I have a slight clue of a few things that might work, but no clue how to implement them.)
Possibility 3 can only be fixed by means of sanity checks that would drain battery life and defeat the purpose of underclocking to 100Mhz to begin with.
The only exception to the unfixable nature of of Possibility 3 would be if the device is ECC capable, but ECC is deactivated because Samsung and/or Sprint in their allknowing wisdom saw it as the unnecessary bottleneck it was and wanted to squeeze out one or two more points on a benchmark.
They already deactivated CPU clock scaling on the device for the same inspired reasoning, so I wouldn't put it past them to deactivate ECC as well.
Anyways, if anyone wants to run a log check of these freezes, it would be nice. I don't have the time right now to search through long excessive logs, as I have several projects ahead. After my current project I will probably fix it.
p.s.
Sorry for rambling, It's a bad tendency of mine. I normally can control it but I'm a little overtired and have a bad migraine, so please bare with me. Thanks.
On Froyo custom ROMs I would get Sleep of Death at 100 Mhz occasionally. Would remove 100Mhz step with SetCPU but does not happen on Gingerbread ROMs.
Sent from my SPH-D700 using XDA App
Ruedii said:
Interesting, I have mine set to bottom out at 100Mhz stepping too, and I've been experiencing lock-ups, force-closes and video out-of-synche issues. I'll see if they go away when setting it to 200Mhz bottom speed. 200Mhz should be sufficient to save CPU heat and battery.
Lag should be normal, but lockups shouldn't. Thanks for the heads up.
As of why this happens, there are four possibilities.
1. The kernel has a problem stepping into that particular mode on that particular CPU.
2. There is some issue with hardware buffer overruns in 100Mhz. This is a known nasty problem with under-clocking. Best case the system looses data from the buffer, worst case, the buffer overwrites it's data elsewhere.
3. The CPU, chipset, board configuration or combination thereof is unstable at 100Mhz for any number of reasons (these range from RAM timing issues, to bouncing and glitching issues, to the ever annoying EMI resonance.)
4. Two or more of the above.
Possibility 1 is fixable with an upgrade to a newer kernel that has that particular ARM CPU's clock-scaling mechanism fixed. You can check for it on the Linux kernel change-logs and known bugs lists.
Possibility 2 is fixable with an anticipatory user-space governor that will increase clock speed when activity levels exceed a threshold on the CPU's external bus, a microcode patch or a written kernel patch could also work. (I have a slight clue of a few things that might work, but no clue how to implement them.)
Possibility 3 can only be fixed by means of sanity checks that would drain battery life and defeat the purpose of underclocking to 100Mhz to begin with.
The only exception to the unfixable nature of of Possibility 3 would be if the device is ECC capable, but ECC is deactivated because Samsung and/or Sprint in their allknowing wisdom saw it as the unnecessary bottleneck it was and wanted to squeeze out one or two more points on a benchmark.
They already deactivated CPU clock scaling on the device for the same inspired reasoning, so I wouldn't put it past them to deactivate ECC as well.
Anyways, if anyone wants to run a log check of these freezes, it would be nice. I don't have the time right now to search through long excessive logs, as I have several projects ahead. After my current project I will probably fix it.
p.s.
Sorry for rambling, It's a bad tendency of mine. I normally can control it but I'm a little overtired and have a bad migraine, so please bare with me. Thanks.
Click to expand...
Click to collapse
Wow, now that's an explanation! Some phones can hang at 100 some have to be 200 just like not all phones overclock the same but Ruedii's explanation really gets down to the reasons why. Nice
Sent from my Nexus S 4G using Tapatalk
Damnnn Reudii where u been hiding at.... lol
I do believe the people who own epics that can't go to 100mhz are suffering serious data corruption. I think most people don't know it, and there popping up with bugs in a rom thinking it was something else that was causing it. I also believe that they also have a serious battery drain. This the reason some people get 20hrs or less battery life and some people claim 40hrs or more. I don't understand why they even put a 100mhz step in the kernel when the 200mhz uses the same voltage. So whether it be 100mhz or 200mhz it wouldn't make a difference on battery being used. I'm sticking with 200mhz.
Sent from my SPH-D700 using Tapatalk
I have no problems running at 100mhz
I am stable at these frequencies with these voltages - I really don't go wild with undervolting - this setting has worked on 4 of my epics, as they were all set up the same (I also have 145'ish 3rd part apps both paid and free).
1400mhz - stock voltage only - otherwise unstable less than 50% of the time - has the worst battery drain if I play a game and gets warm also
1300mhz - minus 25mv
1200mhz - minus 25mv
1120mhz - minus 25mv
1000mhz - minus 25mv
800mhz - minus 25mv
600mhz - minus 50mv
400mhz - minus 50mv
200mhz - minus 50mv
100mhz - minus 50mv
Not a single glitch, but you can see, I do things very mildly. All for epics run with what is in my signuture.

overclocking - my questions for understanding

So I thought about overclocking. I never overclocked any CPU by now. No PC cpus, no mobile cpus
I just always read: Do not overclock! More heat production, more energy costing and of course: probably decrease device life-time and may damage the phone.
On the opposite there is: more cpu-power. WFS seems to be able to get OC'd to 800 MHz (which is 200 above standard and only 200 below Desire)
So, what can you tell me about the above conclusions?
Next question: Do I need overclocking, or is it just to win a p.... length comparing ?
I'm on stock European rom 2.3.5. I know I need custom kernel. which one I could use, how to flash? Which apps do I need furthermore?
theq86 said:
So I thought about overclocking. I never overclocked any CPU by now. No PC cpus, no mobile cpus
I just always read: Do not overclock! More heat production, more energy costing and of course: probably decrease device life-time and may damage the phone.
On the opposite there is: more cpu-power. WFS seems to be able to get OC'd to 800 MHz (which is 200 above standard and only 200 below Desire)
So, what can you tell me about the above conclusions?
Next question: Do I need overclocking, or is it just to win a p.... length comparing ?
I'm on stock European rom 2.3.5. I know I need custom kernel. which one I could use, how to flash? Which apps do I need furthermore?
Click to expand...
Click to collapse
No it's not just for a pissing contest.
Jikantaru's new kernel will allow you to set your clock to vary between 120 Mhz and 806 Mhz although 787 Mhz tends to work for those unlucky enough to have phones that freeze up at 806 Mhz.
The CPU doesn't run balls out all the time. It speedsteps as needed to save battery power.
You flash the kernel that you download to your SD card through CWM Recovery's Install zip from SD card feature.
Reboot and you now have Ext4 support for Link2SD, etc, and overclocking capabilities as well as a host of other kernel tweaks to handle memory management, etc.
As far as programs to set the clock with? SetCPU, Rom Toolbox, Nofrills CPU, Antutu CPU, etc.
I would choose "Smartass" as your governor and 120 and 806 as your min and max CPU settings and choose to set it at boot.
That's just my preference.
I personally bought Rom Toolbox Pro and manage the CPU settings through it.
It's got a host of other cool features all in one place and jrummy updates it very often with new fixes, features, etc.
thanks for that.
so what about damaging the cpu or the device? is there nothing to worry about?
and what is a govener? do I need it in addition to setcpu ?
theq86 said:
thanks for that.
so what about damaging the cpu or the device? is there nothing to worry about?
and what is a govener? do I need it in addition to setcpu ?
Click to expand...
Click to collapse
The governor is the method by which the phone plans it's stepping up and down of frequencies. Smartass is a tried and true good combination of power savings and stepping to the plate with high clock frequencies when needed.
No you won't need anything extra. It's one of the settings in any of those programs.
Sorry for asking again:
It won't damage my device or burn the cpu as overclocking a normal PC CPU would do?
edit: using nofrills now. Seems to work.
theq86 said:
Sorry for asking again:
It won't damage my device or burn the cpu as overclocking a normal PC CPU would do?
edit: using nofrills now. Seems to work.
Click to expand...
Click to collapse
Overclocking comes with no promises man. Mine's been overclocked since August so that's all I have to go on.
There is always a danger or risk when overclocking. The manufacturers determine the safe frequencies, temperatures, voltage, etc. based on scientific experiments in different environments. However, with that said, obviously, they are not infallable either. The best way to determine your risk is to think about what conditions you'll be using it in the most and what kind of stress it'll put on your phone's internals. Do some research and see what other people have problems with and under what kind of stress was the phone. Use common sense. Things like raising voltage and frequencies raise the temperature of the phone's internals, also. So, in turn, do you also have a case on the device that retains heat? Do you live in an humid/dry or warm/cold area? Do you do a lot of multitasking? Are you constantly on it? Hope this helps.
Sent from my myTouch_4G_Slide using XDA App

Will there eventually be kernels available?

I have the tab pro 8.4, are kernels currently in development? What are you guys using to overclock?
Not now.
Crpalmer is working on a kernel and if he releases that then I think we could expect one for custom roms.
And this tablet doesn't need overclock. Nor will it handle it. The only thing that would be helpful is voltage control. it gets hot enough as it is.
If you really want a performance boost root it and change the cpu governer to performance. It locks the cpu at 2. 3 ghz. (the tablet will get insanely hot though)
Hamza Murad said:
Not now.
Crpalmer is working on a kernel and if he releases that then I think we could expect one for custom roms.
And this tablet doesn't need overclock. Nor will it handle it. The only thing that would be helpful is voltage control. it gets hot enough as it is.
If you really want a performance boost root it and change the cpu governer to performance. It locks the cpu at 2. 3 ghz. (the tablet will get insanely hot though)
Click to expand...
Click to collapse
I am not working on a custom kernel. I am working on a new kernel to be the CM kernel but it will still be stock voltages and speeds...

[REQUEST][KERNEL] 225%-245% performance increase

a point
Why on earth the phone
redmi note 7 pro which have snapdragon 675 and antutu of 210,000 can play pubg on 61.2 fps after screen overclocking and no heat after 1 hour of playing pubg
But the
Samsung S9+ with snapdragon 845 and antutu of 345,000 and a GPU that has more than 4 times the performance of the snapdragon 675 in antutu and after only half an hour it can't sustain 40 fps and a heat degree that can cook eggs on the frame of the device
Not even taking about battery life
The request
To make it short
Iam not a developer (too bad)
So I wish if some awesome developer can port one of these kernels
[Crimson Kernel] or [Hydra+ Kernel]
The reason
Again to make it short
225%-245% performance increase
Noticeable in gaming fps
More importantly
Way less heat while gaming
And better battery life
How on earth
Simple
Just see for your self the videos down below
Since the s9+ have Havoc OS
We need the Kernel
Please watch those 4 minutes videos
I'm sure it deserve your time
The videos
Links
https://github.com/uditkarode/crimson
From redmi note 7 pro
https://tweakguy.com/download-crimson-kernel-66-hz-for-android-phones/
The reason a developer should care
This device the samsung galaxy s9/s9+ had its last major update a month ago
So no major updates are coming to this device again
Only 2-3 security update left
So your work is what will write a new life for this device
So please help
at least comment or something so developers can hear us
I can confirm that this device has some problems with heat. But it's not what you think. Mostly it's related to the kernel thermal framework, which is responsible to avoid big increasements in temperature. You can think of it like a process that monitors heat and power. When a certain threshold of temperature is reached, thermal fw will throttle down the CPU/GPU freq until the heat is significantly lowered (that's not entirely exact, but it can be explained that way). I think that Samsung somehow messed up this in some way - because this problem happens on many S9 devices, even on stock.
This process is also responsible for decreasing performance in apps and games, because to archive lower temperatures, it throttles down power. That's most likely why you get lower FPS after some time.
The device's hardware itself doesn't require a power boost, because it has more than enough power to beat most games in high FPS. If you now would increase the kernel's power and freqs, you would only get higher heating.
We need whether a better thermal throttling mechanism, which can only be done via kernel. ALternately you can modify and tweak the settings to stay in lower freqs in order to avoid the overheating. For example a kernel module. Or, for easy use, FDE.AI and set it to powersave (NOT anything else! Because it includes a boost mode fdor CPU/GPU that actually increases the frequencies, which will result in more heat). But even in powersafe mode, it won't decrease your gaming performance! I've tested this a long time. However, if you know what you're doing, just tweak settings by yourself. Or look for another solution, like LKT maybe.
Another idea: Here's a custom kernel. It's up to date for now. The developer has stopped the support a few days back. But it includes the current security patches, so you can use it without worries. It includes a solution for the overheating issue. I didn't test it yet, but I will. Here is the link: https://forum.xda-developers.com/ga...t/kernel-rz-kernel-samsung-galaxy-s9-t4081191
dtrail1 said:
I can confirm that this device has some problems with heat. But it's not what you think. Mostly it's related to the kernel thermal framework, which is responsible to avoid big increasements in temperature. You can think of it like a process that monitors heat and power. When a certain threshold of temperature is reached, thermal fw will throttle down the CPU/GPU freq until the heat is significantly lowered (that's not entirely exact, but it can be explained that way). I think that Samsung somehow messed up this in some way - because this problem happens on many S9 devices, even on stock.
This process is also responsible for decreasing performance in apps and games, because to archive lower temperatures, it throttles down power. That's most likely why you get lower FPS after some time.
The device's hardware itself doesn't require a power boost, because it has more than enough power to beat most games in high FPS. If you now would increase the kernel's power and freqs, you would only get higher heating.
We need whether a better thermal throttling mechanism, which can only be done via kernel. ALternately you can modify and tweak the settings to stay in lower freqs in order to avoid the overheating. For example a kernel module. Or, for easy use, FDE.AI and set it to powersave (NOT anything else! Because it includes a boost mode fdor CPU/GPU that actually increases the frequencies, which will result in more heat). But even in powersafe mode, it won't decrease your gaming performance! I've tested this a long time. However, if you know what you're doing, just tweak settings by yourself. Or look for another solution, like LKT maybe.
Another idea: Here's a custom kernel. It's up to date for now. The developer has stopped the support a few days back. But it includes the current security patches, so you can use it without worries. It includes a solution for the overheating issue. I didn't test it yet, but I will. Here is the link: https://forum.xda-developers.com/ga...t/kernel-rz-kernel-samsung-galaxy-s9-t4081191
Click to expand...
Click to collapse
First thanks for replying
And
Not talking as a developer but
Samsung firmware and maybe kernel focuses on security and nox integration and alot of unused features for many people
And to your knowledge how the redmi note 7 pro can jump from 26 fps to 62 fps and less heat by only changing the Kernel to Crimson Kernel
That moment when I discovered that g965u1 has no bootloader unlock
???????????????????
TIP
I managed to solve the problem, I just did the following: I took root, installed a thermal, disabled battery saving for pubg, and run the game using the pubg gfx app. it was smooth I played + 1 hour without dropping frames.
Bruh
Oh thanks
The s9+ never needed half it's performance to play pubg on 60 fps
And still overheat too much
Look here
@mhmedahmed1996 Maybe instead of complaining here like a kid, you should learn how to code and make one yourself. The developers here work for free and are not vending machines where you ask for something and you get it immediately.
I know and I'm sorry
When I posted this thread I thought I will try my best as someone who can't code
Maybe test and send logs but now I discovered that my g965u1 has no bootloader unlock
You can't imagine how I feel now
erickgta222 said:
I managed to solve the problem, I just did the following: I took root, installed a thermal, disabled battery saving for pubg, and run the game using the pubg gfx app. it was smooth I played + 1 hour without dropping frames.
Click to expand...
Click to collapse
What exactly do you mean by "installed a thermal"? At least for the S9 starlte I couldn't find any custom kernel with a custom thermal fw and I don't have the time to develop one by myself. So if you know something I missed, I'd appreciate to get it
Gesendet von meinem SM-G960F mit Tapatalk
I installed a thermal module through the maginsk manager.
erickgta222 said:
I installed a thermal module through the maginsk manager.
Click to expand...
Click to collapse
And what module exactly?
I've been searching that for a long time, but I can assure you that I never found one. I'm curious what module you're talking about.
Edit: well, whether you've installed something that is doing something entirely different - like disabling thermal throttling. Those do exist.
or it's for another device - there is a thermal mod for Xiaomi phones. But it actually tweak TFW for less throttling to increase performance.
Or there is a module that can only be found by getting a certain link, which is hidden to the public - but why would that be?
Or it's just nonsense.
I'd appreciate it if you could post a link to that module.
Otherwise I'll end up developing one for myself (maybe, if I have enough time! Because first I'd have to get more knowledge about how to develop kernel modules for magisk, that are compatible with my device. I developed custom kernel for OMAP4 devices a few years ago. But that's a little different I suppose... And it wasn't magisk.)
Gesendet von meinem unknown mit Tapatalk
You'll have to hack it together but here's the source code.
GitHub - MiCode/Xiaomi_Kernel_OpenSource at violet-q-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com

Mi10T running below Full throttle CPU Frequency, help!

I've downloaded the KOSP ROM 2.7(unofficial version) switching from Evolution X's latest version just for the sake of seeing it's Performance since I've heard it's very optimized for gaming Smartphones, so far ever since I've downloaded that ROM, my Performance and Prime cores have been showing a really strange behavior.
They never go above 1478 MHZ for the performance and 1862 MHZ for the prime core when 865 has the potential to ramp up to 2.4 and 2.8 MHZ, and the strange thing is that it doesn't respond to dynamic Frequency Change if I want to change it in FKM.
Then, sometimes they would strangely ramp up to 2246MHZ and 2457 for the prime core, just to go back down to 1478MHZ and 1862 and unlike before, switching no governor does change that, almost as if there's some sort of magnet attracting it.
I've already tried switching multiple ROMs and Kernels even the ones that would grant be full frequency throttle that I've already installed before, but so far no matter the ROM and Kernel, result is the same.
Please guys, help, I'm seeing extremely bad browsing and gaming performance like this!
Edit: yes, it's running in performance mode and Governor.
Edit 2: as I'm talking to you, the performance cores randomly switched to 1.7 GHZ and not only I can't set them to 2.4, I can't even set them below 1.7, it's like my phone deciding for it's own, WTF going on!

Categories

Resources