CPU speed is not automatically set on boot (AOKP) ?? - Galaxy Tab 2 Q&A, Help & Troubleshooting

Hey guys,
I'm using AOKP build 5, but the CPU settings (under: Settings > ROM Control > Performance > Performance > CPU Settings)
is not automatically set on boot if I set to 300-1008 Mhz, and I already tick to SetOnBoot option (but after reboot it goes back to 300-1200 Mhz)
Do anyone know how to fix this bug/issue ?
thanks

anyone ?

Rotundjere said:
anyone ?
Click to expand...
Click to collapse
Even on Milestone 1 with the latest kernel, it can't remember the value I set.

Same Problem.
Have the same problem.... Someone please help.

tamirisadp said:
Have the same problem.... Someone please help.
Click to expand...
Click to collapse
Same here. Even with "set on boot" selected, it reverts to default on boot. Any assistance is greatly appreciated!

bjcworth said:
Same here. Even with "set on boot" selected, it reverts to default on boot. Any assistance is greatly appreciated!
Click to expand...
Click to collapse
i'm not using a AOKP, but i have a same problem with overclock a cpu, it become a default frequent after boot.
i'm use kk kernel

Related

[STOPPED] [GT-S7500] Galaxy ACE Plus - Custom Kernel (Stable) + OC Kernel

Disclaimer:
I don't take any responsibility if your phone explodes, your girl/boyfriend breaks up with you or any other stuff.
Do not flash on anything else than an GT-S7500! No L model or W model, else you get a shiny brick.
Don't forget your warranty will get void if you flash this trough odin. (Unless someone figures out a way to reset the custom binary counter)
So flash AT YOUR OWN RISK.
Click to expand...
Click to collapse
Based on official Samsung Sources. Governors copied from freexperia github. Other changes by me.
Features:
- unsecured
- smartassV2
- SavagedZen (beware: in sleep mode cpu speed is capped at 480Mhz)
- noop sheduler by default
- minimium frequency set at 122Mhz
- enabled 19Mhz and 61Mhz frequencies (use setcpu or similar)
Click to expand...
Click to collapse
Tested with S7500XXLC2/S7500OXXLC1/S7500XXLC2. Flash with odin.
OC Build:
- Overclock frequencies seem to have the same performance but OC is indeed working, thanks to mb-14!
(Confirmed after many tests quadrant/setcpu/neocore cpu frequency is the same from minimal overclock to 1200Mhz)
- My phone as crashed 3 since I've overclocked it, so beware!
- Unless there is a better way of ocing, my newer builds will have oc disabled.
OC build v2 (31 May, 22h):
- Removed all overclock frequencies but 1200Mhz.
Bugs affecting all builds (even official ones):
- "Fuel gauge" might be bugged (maybe due to old/bugged samsung sources?) update:might be an rom bug instead.
- 3 pole headphones have noise in one channel and then the noise disappears (jack sensing bug?)
Sources Help & feedback are appreciated.
EDIT:
New kernel posted minimal changes again (samsung config updated from a new version LE1)
If you don't want an yellow triangle at boot flash my custom rom and then flash the kernel using the terminal.
1-Extract the tar.md5 file
2-Copy the boot.img to the sdcard
3-Use the terminal (or adb) as root to cd to the sdcard folder
4-Then type this "dd if=boot.img of=/dev/block/mmcblk0p8"
If you want to flash a custom recovery it works too, type "dd if=recovery.img of=/dev/block/mmcblk0p12"
Then you can flash whatever rom you want as long you don't use odin to flash an custom kernel or recovery you can keep your warranty intact (if you never flashed any custom kernel/recovery that is).
Keep in mind that this doesn't clear the counter only makes the triangle go away.
Click to expand...
Click to collapse
Custom recovery based on cm9 (5.5.0.4) posted (appears to work fine but more testing is required). Bootloop fixed. If you get stuck in recovery (unknown boot mode) go to "advanced" and choose "reboot recovery" when it is finished rebooting into cwm again choose "reboot system now".
DEVELOPMENT IS STOPPED. I no longer have the ace plus.
successfully flashed on my S7500DDLD1...only thing i noticed is after the flashing is complete phone doesnt boot normally but stays in download mode so i manually rebooted and i have ur kernel on my phone...take ur time and improvise it (startup scripts ,CM/MIUI support) , ALL THE BEST...
Wot's the benefit to flash custom kernel??.... Anyway gud step move ahead in making custom rom also for ace plus
Sent from my GT-S7500 using Tapatalk 2
deadwood01 said:
successfully flashed on my S7500DDLD1...only thing i noticed is after the flashing is complete phone doesnt boot normally but stays in download mode so i manually rebooted and i have ur kernel on my phone...take ur time and improvise it (startup scripts ,CM/MIUI support) , ALL THE BEST...
Click to expand...
Click to collapse
Odd mine rebooted and worked fine on first attempt. I've only messed with one script so far. I'm still thinking what I should add to the kernel.
I'm trying to build aosp but so far no luck.
balliboxer said:
Wot's the benefit to flash custom kernel??.... Anyway gud step move ahead in making custom rom also for ace plus
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
So far it's to have new governors and a new sheduler.
BUG :
1 . When on savagedzen gov unlocking the phone from sleep is delayed/laggy also if u r listening to music and the lock the screen then the music starts lagging tried increasing the min freq still the same , may be something like a deep sleep or sod bug..
deadwood01 said:
BUG :
1 . When on savagedzen gov unlocking the phone from sleep is delayed/laggy also if u r listening to music and the lock the screen then the music starts lagging tried increasing the min freq still the same , may be something like a deep sleep or sod bug..
Click to expand...
Click to collapse
I'm trying to reproduce the bug, but since my phone is still charging I can't seem to get the music lagging. What music app and music format are you using?
blackburner said:
I'm trying to reproduce the bug, but since my phone is still charging I can't seem to get the music lagging. What music app and music format are you using?
Click to expand...
Click to collapse
Stock music player , mp3 format...
Even while charging the bug exists...
deadwood01 said:
Stock music player , mp3 format...
Even while charging the bug exists...
Click to expand...
Click to collapse
Strange I can't seem to make it lag on savagedzen. The UI feels slower but music isn't lagging. Do you have any sound effect enabled?
Edit: I've got lag when using the EQ and waking the phone.
Edit 2: I've uploaded a hopefully fixed version, let's also hope that the changes that I made won't screw up the battery life.
flashed test kernel 3
the same bug exists wen used with EQ but the intensity of the bug is only 20% compared to the previous one also increasing the min freq to 480 completely nullifies the bug...also with EQ off the bug doesnt exist
will see how the battery life is... btw have u played with the drivers/bus to change the battery life...?
I can't get any lag at all now (after v3). Can you give my all your parameters? EQ settings, mp3 bitrate, where is your music stored and if using an sd card what type of sd card are you using.
I've set the minimum at 19Mhz and on air plane mode and by morning I still had the same battery than yesterday (89%).
The only thing that I changed was the cpu frequency table to include 800 Mhz at the same voltage than 600 Mhz and so far it seems ok, but might not be true to all phones.
blackburner said:
If anyone wants the sources just ask! (Maybe setting up a github account is a good idea?) Help is appreciated.
Click to expand...
Click to collapse
Setting up a github repo is indeed a good idea.Maybe then i can help
mb-14 said:
Setting up a github repo is indeed a good idea.Maybe then i can help
Click to expand...
Click to collapse
I've posted a link to the sources on github. I'm still learning how to use git. But I'm still uploading the sources.
Edit: Uploaded!
Can anybody help me with the cpu frequencies? I've cracked part of it but I don't know what to change since if OC to 1200Mhz I only get 600 Mhz performance
I've attached the table I'm using (xls since ods xda upload gave me the finger lol)
blackburner said:
Can anybody help me with the cpu frequencies? I've cracked part of it but I don't know what to change since if OC to 1200Mhz I only get 600 Mhz performance
I've attached the table I'm using (xls since ods xda upload gave me the finger lol)
Click to expand...
Click to collapse
Check my fork of your kernel on my github.I have got OC working.
P.S: Could you update your repo to the latest kernel source from samsung?My net speed is very sucky
mb-14 said:
Check my fork of your kernel on my github.I have got OC working.
P.S: Could you update your repo to the latest kernel source from samsung?My net speed is very sucky
Click to expand...
Click to collapse
I don't see any new kernel versions on the Samsung open source release center.. I'm still going to test oc did you change anything else than the CPU frequency table?
Edit: Overlclock is working! Thanks to mb-14!
Anyway it looks like the cpu when on OC is always working at the same frequency, since by overclocking it to 1017 I get an 150 ms reduction on setcpu native bench. And it remains the same for all the other frequencies.
For what I've understanded of PLL and CPU clocks looks like the cpu is running at 1200 MHz. (In the frequency table you can claim any frequency but it doesn't mean the cpu is running at that speed)
Edit: With OC my phone crashes after a while (ram dump mode)
Edit 2: Neocore doesn't seem to care too about the cpu frequency I set above the stock 1008Mhz. From 1017Mhz to 1200Mhz the score is always the same (85,6Fps)
Hello,
i have flash your kernel and its running very good!
Galaxy S7500
2.3.6 (S7500XXLA3)
Antutu 3596
Quadrant 2458
Neocore 85,4fps (1018mhz-1200mhz)
with OC 1,2GHZ and Performace mode
thanks!
I wait for the next version
heXXer321 said:
Hello,
i have flash your kernel and its running very good!
Galaxy S7500
2.3.6 (S7500XXLA3)
Antutu 3596
Quadrant 2458
Neocore 85,4fps (1018mhz-1200mhz)
with OC 1,2GHZ and Performace mode
thanks!
I wait for the next version
Click to expand...
Click to collapse
So you found no difference between overclocked frequencies too?
Unfortunately, no difference....
im upgrading the kernel...
my wish:
can you try to integrate the BLN mod?
I found a manual but I have to search again...
thanks
Edit: with new test_stable kernel (1008mhz) 84,3fps neocore
before with 1018mhz it was at 85,4fps
heXXer321 said:
Unfortunately, no difference....
im upgrading the kernel...
my wish:
can you try to integrate the BLN mod?
I found a manual but I have to search again...
thanks
Edit: with new test_stable kernel (1008mhz) 84,3fps neocore
before with 1018mhz it was at 85,4fps
Click to expand...
Click to collapse
the bln mod sounds useful I will check it out!
Edit: flash the new oc version
Yesss!It is very useful!!
neocore says 85,5fps
Edit: The statistic from nofrills cpu control shows that cpu step 61mhz not is in use.my min frequenz is 19mhz.
sorry for my bad english im german ;-)
who finds fault, may keep them ;-)

[Q] SkyRocket undervolting, System Tuner and SetCPU question

Hi, dear friends!
Now I try to tuning y Skyrocket, and I fount that my preferred SetCPU can't set a voltage, and I need to use SystemTuner
Please help me to understand:
1. With s System Tuner, all changes with a voltage will apply just after changes?
2. What can I made my change permanent? With SetCPU I can mark "set on boot" option but in System Tuner it''s more complicate. I look into "boot settings" section but I found no VOLTAGE there. Maybe should I use the "re-apply CPU settings" for voltage too?
3. What is a preferred method of settings start-up loading - init.d?
4. Can I set a startup automatic loading of my voltage settings, for example with a init.d method, and, after it, prevent SystemTuner from startup loading and continue using of the SetCPU for advanced profiles?
Oh yes. It's under SKY ICS 4.2f rom with a Cymbaline 1.3 kernel ;-)
Thank You so much!
Best regards,
Alex.

A problem of the MetalliKernel

I have installed successfully CM9 RC2 and the MetalliKernel, everything great but I had a problem when I set the CPU Minimum and Maximum to 150/1380 Mhz.
It always reboot after I set it and CPU returns to 300/1000 Mhz
Anyone have idea ?
giadinhmolit said:
I have installed successfully CM9 RC2 and the MetalliKernel, everything great but I had a problem when I set the CPU Minimum and Maximum to 150/1380 Mhz.
It always reboot after I set it and CPU returns to 300/1000 Mhz
Anyone have idea ?
Click to expand...
Click to collapse
You must tell it to re-apply on boot. You should find this option in settings) performance) CPU. Make sure set on boot is checked.
Oh yeah. Mis-read that one.
giadinhmolit said:
I have installed successfully CM9 RC2 and the MetalliKernel, everything great but I had a problem when I set the CPU Minimum and Maximum to 150/1380 Mhz.
It always reboot after I set it and CPU returns to 300/1000 Mhz
Anyone have idea ?
Click to expand...
Click to collapse
It seems that your tab cannot overclock too high or underclock too low. Please try to low the max to 1200 and min to 300 and try again.
scottx . said:
You must tell it to re-apply on boot. You should find this option in settings) performance) CPU. Make sure set on boot is checked.
Oh yeah. Mis-read that one.
Click to expand...
Click to collapse
I did, but it causes a loop : reboot > automatic set > reboot > automatic set > reboot.....
It seems that your tab cannot overclock too high or underclock too low. Please try to low the max to 1200 and min to 300 and try again.
Click to expand...
Click to collapse
That happens even with 1200 so sad
Had same problem Updating to RC2 fixed it for me.
MultipleMonomials said:
Had same problem Updating to RC2 fixed it for me.
Click to expand...
Click to collapse
So now, do u have it fixed ? I'm currently on RC2
Yeah, it was working on RC2. You might try reflashing ROM and kernel.

[Q] CPU's rude frequencies

Hello xda!
Theres something strange going on with my Sensation..
I can not set up my own frq's.
Everytime I set some it goes higher. For example..
I am @ 1080-475 I switch the window to set some profiles and back to the main. bah.. Current max: 1134.. 1450.. 1552.. 1134.
Bar I set before should lock it @ 1080 and it does but just in practice.
I was trying to set some other governors with no succes. It goes higher everytime.
Root acces was given, ROMs tested.
I got phone from my brother. Is it even possible to change some hardware settings or wtf is it that block my ideas????
Lynxen said:
Hello xda!
Theres something strange going on with my Sensation..
I can not set up my own frq's.
Everytime I set some it goes higher. For example..
I am @ 1080-475 I switch the window to set some profiles and back to the main. bah.. Current max: 1134.. 1450.. 1552.. 1134.
Bar I set before should lock it @ 1080 and it does but just in practice.
I was trying to set some other governors with no succes. It goes higher everytime.
Root acces was given, ROMs tested.
I got phone from my brother. Is it even possible to change some hardware settings or wtf is it that block my ideas????
Click to expand...
Click to collapse
what rom do you have?
insert this line in init.qcom.post_boot.sh file
echo the value > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
in the <the value> put your desired freq
do the same for cpu1
then reboot
note: put the lines where it starts with :
case "$target" in
"msm8960")
rzr86 said:
what rom do you have?
insert this line in init.qcom.post_boot.sh file
echo the value > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
in the <the value> put your desired freq
do the same for cpu1
then reboot
note: put the lines where it starts with :
case "$target" in
"msm8960")
Click to expand...
Click to collapse
I am using SlimKat and Viper. Same bug excist @ both of the roms. Kernels provided with shantur, sebastian and libelty are bugged.
I've changed those values with no results. Once I was trying to set maxcpu_info my root explorer stucked @ saving process. Sth was remaking values @ 1540000 mhz just after rootacces was given to explorer. Some deep **** is going down there.
That's why Sensations are overheating, it's same bug threw all stock kernels/rom @ this forum.
Max values can not be set! They re permanent for some reason - failed coding I suppose.
Libelty Kernel fix Vipers issues. There's no kernel working with KK.
Lynxen said:
I am using SlimKat and Viper. Same bug excist @ both of the roms. Kernels provided with shantur, sebastian and libelty are bugged.
I've changed those values with no results. Once I was trying to set maxcpu_info my root explorer stucked @ saving process. Sth was remaking values @ 1540000 mhz just after rootacces was given to explorer. Some deep **** is going down there.
That's why Sensations are overheating, it's same bug threw all stock kernels/rom @ this forum.
Max values can not be set! They re permanent for some reason - failed coding I suppose.
Libelty Kernel fix Vipers issues. There's no kernel working with KK.
Click to expand...
Click to collapse
liberty's and sebastianFM's kernel aren't bugged
i have changed cpu frequencies successfully
in vipers rom disable pnpmanger from venom tweaks
then put your desired cpu freq
about slimkat rom i can't tell you somethig because i have never used that rom
also in stock kernels you can't changed nothing
they do not support overclock or underclock
rzr86 said:
liberty's and sebastianFM's kernel aren't bugged
i have changed cpu frequencies successfully
in vipers rom disable pnpmanger from venom tweaks
then put your desired cpu freq
about slimkat rom i can't tell you somethig because i have never used that rom
also in stock kernels you can't changed nothing
they do not support overclock or underclock
Click to expand...
Click to collapse
It's possible to scale CPU frequency in slimkat ROM too.

Deleted

Old thread.
You're the best, mate
minimale_ldz said:
You're the best, mate
Click to expand...
Click to collapse
Much appreciated and hope you all find it usefull to use. Just saw soniCron released a new script called "hawktail" based on a total different technique using an extreme low timer_rate. Shall try to translate that also next week and if it works ill add this in the thread.
Make a donation link. We love you.
Hi guys! And thanks for your work, @Sickaxis79!
A noob question here. Could these scripts be applied to another governor? Precisely, impulse which is supposed to be similar to interactive?
Sent from my XT1562 using Tapatalk
stazz83 said:
Hi guys! And thanks for your work, @Sickaxis79!
A noob question here. Could these scripts be applied to another governor? Precisely, impulse which is supposed to be similar to interactive?
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
Im afraid that ain't possible. Impulse governor use some different tunables, but you can for example use one interactive script for the big or small cpu and use impulse governor for the other cpu.
Applied the two profiles with latest squids kernel and cm13. Working Great so Far. I guess i have to manually disable touchboost everytime?
Leni_YO said:
Applied the two profiles with latest squids kernel and cm13. Working Great so Far. I guess i have to manually disable touchboost everytime?
Click to expand...
Click to collapse
Yes, its best to disable touchboost. Touchboost is a kernel/rom extra feature. Im also using latest squid kernel with stock rom and dont have this feature and forgot to disable it by default. I will check if i can update the script so its also disables touchboost. Im used to create and edit init.d scripts, but json files k.a. uses are a total different language, but ill try.
Master Mike, how are these scripsts working with optimized init.qcom.post_boot.sh you posted once. Should it be restored to default/stock one or can it all work together? Thanks
minimale_ldz said:
Master Mike, how are these scripsts working with optimized init.qcom.post_boot.sh you posted once. Should it be restored to default/stock one or can it all work together? Thanks
Click to expand...
Click to collapse
No problem. Post_boot script contains the stock settings and applies them first when the phone startup.
Sickaxis79 said:
No problem. Post_boot script contains the stock settings and applies them first when the phone startup.
Click to expand...
Click to collapse
Is KA changing them after boot anyway if it's got some scripts applied?
minimale_ldz said:
Is KA changing them after boot anyway if it's got some scripts applied?
Click to expand...
Click to collapse
Reboot reverts all stock settings unless you enable the checkbox "on boot". It will always first launch your normal stock settings and after the phone finished starting up it will launch the k.a. scripts.In the settings menu you can set the timer how many seconds after boot the scripts will launch.
You can always launch them manually when you dont want to apply them on boot. Just tap on the 2 scripts you imported and it will ask to launch them and finished.
Edit: K.a. overwrites the normal stock settings after youre phone booted temporarily.
Sickaxis79 said:
Reboot reverts all stock settings unless you enable the checkbox "on boot". It will always first launch your normal stock settings and after the phone finished starting up it will launch the k.a. scripts.In the settings menu you can set the timer how many seconds after boot the scripts will launch.
You can always launch them manually when you dont want to apply them on boot. Just tap on the 2 scripts you imported and it will ask to launch them and finished.
Edit: K.a. overwrites the normal stock settings after youre phone booted temporarily.
Click to expand...
Click to collapse
Got it, thanks
Can't import ghostpepper profiles, k.a. says the file is malformed. Great work btw, keep it up.
too bad i have the free version ...
thanks for your work, the script works very well in resurrection rom and optimus kernel, can someone upload the stopperfd script? the KA doesnt work for me creating the script
I've reached over 7hrs SOT on the first run after applying the profiles with 75% Charge left. Good job!
zenez said:
thanks for your work, the script works very well in resurrection rom and optimus kernel, can someone upload the stopperfd script? the KA doesnt work for me creating the script
Click to expand...
Click to collapse
You can also do this using a terminal emulator
Type: "su" (root permission) and "stop perfd".
Sickaxis79 said:
No problem. Post_boot script contains the stock settings and applies them first when the phone startup.
Click to expand...
Click to collapse
Thanks for answering for me.
ViperX85 said:
Can't import ghostpepper profiles, k.a. says the file is malformed. Great work btw, keep it up.
Click to expand...
Click to collapse
BUMP

Categories

Resources