How to get GOVERNOR CONTROL settings to stick with stock kernel?
I have set specific parameters (sampling_rate, up_treshold, hotplug_freq, etc) for each CPU core. But, it last only for couple minutes or until i lock my device. I don't know why but it's reverting back to default settings after i unlock it.
I know i can flash custom kernel, but i want to make it work with stock.
Any help 'bout this?
ROM used: Resurrection Remix 5.8.3
Not possible. You MUST have a custom kernel to change any aspects. Although you might think you are making changes until it reboots, it is a placebo. Stock kernels are set for life and cannot be changed.
Beamed in by telepathy.
Related
I'm running AOKP on my Galaxy Nexus and I think I must have gotten a little over-zealous with undervolting because I would boot all the way up and as soon as widgets started loading, the phone would freeze and crash.
I tried a handful of things to fix this and ended up just reflashing the AOKP ROM over the top of everything. Cool. Got everything back to normal, EXCEPT:
I now have the stock AOKP kernel (whatever that is) and no longer have the option to adjust voltage settings. When trying to flash a new kernel (I've tried franco, leankernel, and matr1x), I get the boot loop again.
I've tried uninstalling SetCPU, using the SetCPU safe mode toggle, as well as flashing the leankernel tweaks, but still no dice.
Any ideas on how to flash a new kernel? I don't mind trying different things and have a good NANDroid backup to revert back to if necessary.
Ok I tried some new roms and started noticing a pattern in that BLN was behaving erratic.
By erratic I mean this.
If I set the LED's to stay on, they will turn on but then raondomly go off for a second or so and then come back on again, there was no pattern except it took longer to happen after a phone reboot and when the usb plugged in from pc.
If I set them to blink and I set the off period for longer than 4 seconds, then after they go off for the first or send time then after just 1 second they come back on again but only if I set the off to more than 4 seconds, weird.
In these cases was testing on freshly installed roms with wiped user data.
One of the roms was based on stock which made this even stranger as BLN works 100% perfect on stock rom with cf-root, the rom was based on cf-root b84 so I chanced it to downgrade it to cf-root b82 and bam BLN fixed.
So the issue is down to a fubar kernel.
Now CM's stock rom doesnt support BLN, so on the CM roms I was using the blackhawk rom which has the exact same symptons as cf-root b84, seems only cf-root b82 works properly.
Here is the changelog for cf-root b83 and b84.
CF-Root-S5830-v3.7-b84.zip (12.55 MB)
BUGFIX: Invisible boot animation.
Install CF-Root-S5830-v3.7-b84.zip via "CWM recovery" first and then install b84-fixed.zip via "CWM Manager - Flash kernel"!
CF-Root-S5830-v3.7-b83.zip (12.38 MB)
- Untested since on CyanogenMod 7.2 firmware for now
- Using b82 recovery image
- CPU and system bus overclock enabled
- GPU driver backported from 2.6.35-11 kernel source
- interactive, interactiveX, smart*ss, and smart*ssV2 governor
- Samsung on the fly governor setting disabled
- WiFi driver taken from DXKPD
Click to expand...
Click to collapse
I dont have b83 but am about to flash mythICS which is based on b83, my gut guess is the bug was introduced in b83 as b84 only has a tiny changelog.
What I am asking is if someone can either do me a kernel for CM based on the above information (so dont include new GP driver, dont disable on the fly governor, dnt add new wifi driver) and see if the result is a fixed kernel, or if anyone has instructions on how to build my own kernel based on CM's sources.
I dont really need a new kernel for stock based roms as I can just downgrade to b82 cf-root to fix them.
Also is this better in dev section or here?
confirmed b83 is indeed borked and b82 also fixed on mythICS.
So I need a b82 for CM
Been having a few issues with my battery life. Didn't originally plan on unlocking bootloader, rooting or any of that jazz, but really want to get this done now so that i can simply underclocck. i know that i'll have to wipe everything and start over, but i;'ve also had a few little bugs recently, i'm thinking it's probably because when i did the ics update, it didn't wipe everything like i was told i'd have to.....o soemthing maybe went wrong soemwhere. so i'm thinking that it'll go something like this?
1-backup contacts/text/pictures/video's with pcc.
2-go through the unlock bootloader process (which means going back to gingerbread?)
3-go back to official ics
4-flash custom kernel with auto rooting
5-restore contacts/text/picture/video's with pcc.
does this sound about right? and can anyone recommend the best custom kernel that will allow me to underclock to sensible values to improve battery performance.
i basically want stock ics firmware that i can use root just to underclock.
Gloris said:
Been having a few issues with my battery life. Didn't originally plan on unlocking bootloader, rooting or any of that jazz, but really want to get this done now so that i can simply underclocck. me to underclock to sensible values to improve
i basically want stock ics firmware that i can use root just to underclock.
Click to expand...
Click to collapse
I m more or less in the same position as yours. I have tried various kernels now and can say that XSX is the only kernel that works without lag for me. It has option to use various governors and can under clock to 192 and it is the lowest you can go on this one, unfortunately. Hope it helps. Thanks.
-K
Sent from my LT26i using xda app-developers app
ok, thanks.
just been though the whole process, phone is now rooted with stock uk ics, and i'm just using stock kernel and setcpu to underclock...at the moment i've got it set to min 192, max 1242 on powersave/deadline....will see how i get on with it tomorrow
First of all I'd like to thank everyone on the Rezound forums, since I've learned tons just from reading through all the technical posts. I just have a few questions about installing a custom kernel on a stock ICS ROM (not the global leak), s-on, rooted, amon-ra recovery phone. (I plan on the BAMF vigor kernel from the forum)
1. Can I create a backup of just the stock kernel, instead of having to do my full nandroid restore if I don't like the kernel? If not, does anyone have a link to download the stock ICS (non-global) kernel?
2. Could I still receive the global OTA update when it comes out, or would I have to go back to the stock kernel in addition to re-flashing the stock recovery and re-locking the phone? I'd like to avoid manually flashing the RUU in case of any gremlins.
3. Do the custom kernels improve any sense UI lag, (such as the laggy notification bar pulldown, or the stuttering homescreen swiping after exiting an app or scrolling in a widget) or do they just improve app loading / boot time / game performance?
Thanks
Aeroman787 said:
First of all I'd like to thank everyone on the Rezound forums, since I've learned tons just from reading through all the technical posts. I just have a few questions about installing a custom kernel on a stock ICS ROM (not the global leak), s-on, rooted, amon-ra recovery phone. (I plan on the BAMF vigor kernel from the forum)
1. Can I create a backup of just the stock kernel, instead of having to do my full nandroid restore if I don't like the kernel? If not, does anyone have a link to download the stock ICS (non-global) kernel?
2. Could I still receive the global OTA update when it comes out, or would I have to go back to the stock kernel in addition to re-flashing the stock recovery and re-locking the phone? I'd like to avoid manually flashing the RUU in case of any gremlins.
3. Do the custom kernels improve any sense UI lag, (such as the laggy notification bar pulldown, or the stuttering homescreen swiping after exiting an app or scrolling in a widget) or do they just improve app loading / boot time / game performance?
Thanks
Click to expand...
Click to collapse
1. Nandroid can't restore the kernel when you're s-on. Regardless the kernel installers also update/add files into /system, you would need to reverse that also, it's easier just to take a nandroid.
2. No way to tell at this time til the update comes out, not sure why the kernel would matter, it would get overwritten anyway.
3. Custom kernels give you more control of how the CPU operates (governors let you control how the CPU ramps under load, you can overclock with some kernels, etc etc) which in turn impacts everything on the phone. Fixing Sense lag would depend if it's the current CPU settings causing it or something else.
As title suggests, there is a wierd (and Very annoying, since it forces me to use a while loop in a script to stick back to interactive) function in my kernel, which forces the CPU governor into ondemand every time screen-on/off occurs
Phone: Acer Liquid Glow E330
Kernel: all, this thing applies to stock, vache's, and lupohirp's kernel
PrintK says something about a str_governor variable (set to ondemand) which by circumstances gotta be the default governor
Any clues? Ideas?
Sent from my scytheaxe
SuicideFlasher said:
As title suggests, there is a wierd (and Very annoying, since it forces me to use a while loop in a script to stick back to interactive) function in my kernel, which forces the CPU governor into ondemand every time screen-on/off occurs
Phone: Acer Liquid Glow E330
Kernel: all, this thing applies to stock, vache's, and lupohirp's kernel
PrintK says something about a str_governor variable (set to ondemand) which by circumstances gotta be the default governor
Any clues? Ideas?
Sent from my scytheaxe
Click to expand...
Click to collapse
I never encounter such issue before, maybe you can change the kernal.
angelamar90 said:
I never encounter such issue before, maybe you can change the kernal.
Click to expand...
Click to collapse
Already tried vache's kernel and lupo's kernel, also tried to mod the stock boot.img to no avail. The issue is not in the ramdisk
Sent from my scytheaxe