Failed to activate Uperf. MTK Helio G90T (MT6785)
Last versions was perfectly fine. Please support Helio G90T MT6785. I think it only supports G90T with MT6768
19:44:16 I Uperf v3(22.05.04)[172d1b06], by Matt Yang ([email protected]) 19:44:16 I Config 'Helio G90T(mt6768)[22.05.04]' by 'yc@coolapk' 19:44:16 I Current home is 'com.google.android.apps.nexuslauncher' 19:44:16 E Tried CpufreqWriterEpic: Failed to open epic minfreq knob for cluster0 19:44:16 E Cpufreq target 1500000 actual 2000000 19:44:16 E Tried CpufreqWriterPpm: Failed to write freq 19:44:16 E Cpufreq target 1500000 actual 2000000 19:44:16 E Tried CpufreqWriterCap: Failed to write freq 19:44:16 E Exception thrown: No CpufreqWriter supported for this platform 19:44:16 I Failed to start uperf(pid=7010)
请尝试重启机器?1200设备无法复现此问题
Already tried. Sometimes works but sometimes not. It works perfectly when it runs but after a reboot, it suddenly won't activate.
Already tried. Sometimes works but sometimes not. It works perfectly when it runs but after a reboot, it suddenly won't activate.
Try to use 22.04.30-Fix1?
Already tried. Sometimes works but sometimes not. It works perfectly when it runs but after a reboot, it suddenly won't activate.
Try to use 22.04.30-Fix1?
Yep, used it. But 22.05.04 update was the most stable so far in my chipset. The only thing is the deactivation of module everytime i reboot. Any possible fixes? Not complaining tho. I just love uperf so much.
Already tried. Sometimes works but sometimes not. It works perfectly when it runs but after a reboot, it suddenly won't activate.
Try to use 22.04.30-Fix1?
Yep, used it. But 22.05.04 update was the most stable so far in my chipset. The only thing is the deactivation of module everytime i reboot. Any possible fixes? Not complaining tho. I just love uperf so much.
Try install 22.05.04 and when it reports error, do ls -la /proc/ppm/policy and upload the result
Will do. I'll send the result here. Let me reflash the module again and i'll try to reoccur the issue.
It happened again. Here's the log.
~ $ su ls -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #
~ $ su s -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #119
It seems some program or system locked hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq. Please unlock it first
~ $ su s -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #119
It seems some program or system locked hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq. Please unlock it first
Any chances on how to unlock it? I didn't do anything on my system. I'm just using uperf eversince and all of the update never had issues on mine except on the latest 22.05.04 update.
~ $ su s -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #119
It seems some program or system locked hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq. Please unlock it first
Any chances on how to unlock it? I didn't do anything on my system. I'm just using uperf eversince and all of the update never had issues on mine except on the latest 22.05.04 update
chmod 666 /proc/ppm/policy/* ,and run service.sh in /data/adb/modules/uperf
~ $ su s -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #119
It seems some program or system locked hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq. Please unlock it first
Any chances on how to unlock it? I didn't do anything on my system. I'm just using uperf eversince and all of the update never had issues on mine except on the latest 22.05.04 update
chmod 666 /proc/ppm/policy/*,and run service.sh in /data/adb/modules/uperf
I guess this commands fixed my issue. Let me observe a little bit more if it doesn't activate every boot.
https://github.com/yc9559/uperf/blob/75c8079d2d0fe6789d8b4562848446bb640a3218/magisk/script/powercfg_once.sh#L146-L147 Delete these rows, and try again
~ $ su s -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #119
It seems some program or system locked hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq. Please unlock it first
Any chances on how to unlock it? I didn't do anything on my system. I'm just using uperf eversince and all of the update never had issues on mine except on the latest 22.05.04 update
chmod 666 /proc/ppm/policy/*,and run service.sh in /data/adb/modules/uperfI guess this commands fixed my issue. Let me observe a little bit more if it doesn't activate every boot.
https://github.com/yc9559/uperf/blob/75c8079d2d0fe6789d8b4562848446bb640a3218/magisk/script/powercfg_once.sh#L146-L147
Delete these rows, and try again
~ $ su s -la /proc/ppm/policy < total 0 dr-xr-xr-x 2 root root 0 2022-05-07 21:56 . dr-xr-xr-x 5 root root 0 2022-05-07 21:56 .. -rw-r--r-- 1 root root 0 2022-05-07 21:56 forcelimit_cpu_core -rw-rw-r-- 1 system system 0 2022-05-07 21:56 hard_userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_freq_limit_by_others -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_max_cpu_freq -r--r--r-- 1 root root 0 2022-05-07 21:56 hard_userlimit_min_cpu_freq -rw-rw-r-- 1 root root 0 2022-05-07 21:56 lcmoff_min_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ptpod_test -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freq_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_cluster_freqidx_limit -rw-r--r-- 1 root root 0 2022-05-07 21:56 sysboost_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_cur_power -rw-r--r-- 1 root root 0 2022-05-07 21:56 thermal_limit -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 userlimit_freq_limit_by_others -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_max_cpu_freq -rw-rw---- 1 system system 0 2022-05-07 21:56 userlimit_min_cpu_freq -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_core_num -rw-r--r-- 1 root root 0 2022-05-07 21:56 ut_fix_freq_idx :/data/data/com.termux/files/home #119
It seems some program or system locked hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq. Please unlock it first
Any chances on how to unlock it? I didn't do anything on my system. I'm just using uperf eversince and all of the update never had issues on mine except on the latest 22.05.04 update
chmod 666 /proc/ppm/policy/*,and run service.sh in /data/adb/modules/uperfI guess this commands fixed my issue. Let me observe a little bit more if it doesn't activate every boot.
Already deleted the lines. Let me check if it still occurs after a few reboots. Will give feedback to you later.
Sadly. It still occurs. Any other troubleshoots or fixes? Also a question, does clean flashing the system will fix this issue?
Sadly. It still occurs. Any other troubleshoots or fixes? Also a question, does clean flashing the system will fix this issue?
chmod 666 /proc/ppm/policy/* Add this to https://github.com/yc9559/uperf/blob/75c8079d2d0fe6789d8b4562848446bb640a3218/magisk/script/powercfg_once.sh#L146-L147
You should delete these two first
It's still the same after a few reboots.
Update: retried the fixes you've mentioned. And after a few reboot, the config does stick and is working. Let me check a little bit more.
I have one last question. Does reflashing the whole system can fix the locked state of hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq? So i can clean my system to make uperf work without any troubleshootings.
I have one last question. Does reflashing the whole system can fix the locked state of hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq? So i can clean my system to make uperf work without any troubleshootings.
Maybe delete all modules and other userspace schedulers (like CuToolbox, Femind, Scene 5's builtin scheduler) will be better?
I have one last question. Does reflashing the whole system can fix the locked state of hard_userlimit_max_cpu_freq and hard_userlimit_min_cpu_freq? So i can clean my system to make uperf work without any troubleshootings.
Maybe delete all modules and other userspace schedulers (like CuToolbox, Femind, Scene 5's builtin scheduler) will be better?
Let me reinstall scene. I guess that app was the culprit. But when i turn on the turned off PPM, it reverts back after a reboot. I don't know what's happening.
I guess this is the culprit. But whenever i turn on again the parameters, it reverted back to off.
https://drive.google.com/file/d/1cQRWMeu8W2jUlBHKWXZlZpAwEm3uYzyF/view?usp=drivesdk
I guess this is the culprit. But whenever i turn on again the parameters, it reverted back to off.
https://drive.google.com/file/d/1cQRWMeu8W2jUlBHKWXZlZpAwEm3uYzyF/view?usp=drivesdk
Because these settings are not permanent. I think the Scene works correctly
I guess this is the culprit. But whenever i turn on again the parameters, it reverted back to off. https://drive.google.com/file/d/1cQRWMeu8W2jUlBHKWXZlZpAwEm3uYzyF/view?usp=drivesdk
Because these settings are not permanent. I think the Scene works correctly
I see. Is there anything that i can do to unlock this properly? The later fixes never worked for me. Weirdest part is, everytime i went into reboot, sometimes it works, sometimes not. It looks like those PPMs that you've mentioned were interferring on uperf and i don't know how did i locked it.
powercfg_once.txt 用这个替换powercfg_once.sh看看?文件名别错了
powercfg_once.txt 用这个替换powercfg_once.sh看看?
Still doesn't work. My friend gave a feedback to me. The latest update also doesn't work with him. But all versions of uperf doesn't have this problem. Only this update is. He also has MTK G90T (MT6785) chipset.
powercfg_once.txt 用这个替换powercfg_once.sh看看?
Still doesn't work. My friend gave a feedback to me. The latest update also doesn't work with him. But all versions of uperf doesn't have this problem. Only this update is. He also has MTK G90T (MT6785) chipset.
Maybe it's a strange problem caused by uperf.
powercfg_once.txt 用这个替换powercfg_once.sh看看?
Still doesn't work. My friend gave a feedback to me. The latest update also doesn't work with him. But all versions of uperf doesn't have this problem. Only this update is. He also has MTK G90T (MT6785) chipset.
Maybe it's a strange problem caused by uperf.
Many of us use uperf since last year. It don't have any issues like this since day 1. Maybe there's something that needs to be fixed. Btw, i'll wait for the next update. Hope that this can be fixed by the next update. Thank you.
powercfg_once.txt 用这个替换powercfg_once.sh看看?
Still doesn't work. My friend gave a feedback to me. The latest update also doesn't work with him. But all versions of uperf doesn't have this problem. Only this update is. He also has MTK G90T (MT6785) chipset.
Maybe it's a strange problem caused by uperf.
Many of us use uperf since last year. It don't have any issues like this since day 1. Maybe there's something that needs to be fixed. Btw, i'll wait for the next update. Hope that this can be fixed by the next update. Thank you.
Sorry, but I'm not the maintainer. The maintainer is only one, @yc9559 herself.
powercfg_once.txt 用这个替换powercfg_once.sh看看?
Still doesn't work. My friend gave a feedback to me. The latest update also doesn't work with him. But all versions of uperf doesn't have this problem. Only this update is. He also has MTK G90T (MT6785) chipset.
Maybe it's a strange problem caused by uperf.
Many of us use uperf since last year. It don't have any issues like this since day 1. Maybe there's something that needs to be fixed. Btw, i'll wait for the next update. Hope that this can be fixed by the next update. Thank you.
Try 22.05.09?
powercfg_once.txt 用这个替换powercfg_once.sh看看?
Still doesn't work. My friend gave a feedback to me. The latest update also doesn't work with him. But all versions of uperf doesn't have this problem. Only this update is. He also has MTK G90T (MT6785) chipset.
Maybe it's a strange problem caused by uperf.
Many of us use uperf since last year. It don't have any issues like this since day 1. Maybe there's something that needs to be fixed. Btw, i'll wait for the next update. Hope that this can be fixed by the next update. Thank you.
Try 22.05.09?
Yep. And it after 2 consecutive reboots, it is working well. However, i noticed that my CPU governor for big clusters went from schedutil to powersave. Why is that?