[Q] Lock CPU Freq - Galaxy S II Q&A, Help & Troubleshooting

Hi, i have simple questions:
1 - How to change permanent cpu freq, if somebody reflash firmware, or kernel me need freq what i set.
2 - Can i change button combination to enter in download mode.
3 - Can i deny reflash my device?

1). I can't think of any sane reason for doing this, but just set the governor to have min and max frequency the same, also see 3).
2). No
3). No

TheSooth said:
Hi, i have simple questions:
1 - How to change permanent cpu freq, if somebody reflash firmware, or kernel me need freq what i set.
2 - Can i change button combination to enter in download mode.
3 - Can i deny reflash my device?
Click to expand...
Click to collapse
You can use Extweaks for siyah kernel, and xxtweaker for fluxi. When you set the cpu click the "set on boot" button. There's no way to permanently set the cpu after every flash though
Sent from my GT-I9100 using xda premium

But if somebody flash sammy, then the kernel will be overwritten by stock.

Related

[kernel][10/17] "dopio" OC cm-2.6.29.6

Based off of htc-kernel-espresso repository from CyanogenMod github and a modified version of toastcfh's overclock patch.
espresso source based is for
espresso devices only
legend source based is for
espresso, legend, or aria devices
No support will be given, use at your own risk, DON'T FLASH unless you know what you are doing .
Version 3.5:
updated source to include interactive governor
added darchstar's patch to fix idle status being set NULL
added a 787 for those that can't do 806
incorporated changes into legend code base
http://www.mediafire.com/?9ziqlmh6vy26x
V4.0: (Requires setting scaling_max_freq in order to boot)
all frequencies included in one kernel.
added 480 back.
864 max
available frequencies: 245760, 400000, 480000, 600000, 768000, 787200, 806400, 825600, 844800, 864000
NOTE:
Since all frequencies are now playing nicely together, I am only going to be releasing one kernel version per source base.
It is up to you to set your maximum speed in your init.d files or you might not boot (since the maximum is 864).
For Those of you who have used my G1 kernels, this will not be an issue since you should know how to do it. For the others, good luck .
Essentially, you need to put something like...
Code:
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
somewhere in your init.d files. Personally I like to use 00banner since it's first to execute on cyanogenmod.
Don't forget that if you swap out an init.d file you need to make the new one executable. For example...
Code:
chmod 0750 /system/etc/init.d/00banner
http://www.mediafire.com/?7jyeovzuo8lx9
archive:
http://www.mediafire.com/?v6cdcjyf04ebd
These are koush's anykernel.zip's that change your boot and system images. To return to your original state just do a nandroid advanced restore of the boot and system partitions (of course you have to of backed them up first).
github (master branch is legend base, oc-espresso-2.6.29 branch is espresso base. Default is set to espresso)
sweet, he's doing an overclock kernel?? thats awesome!
posted a v2 to fix a problem with minimum frequency.
This version is set to 691/691 when screen is on and 245/245 when screen is off.
edit: this broke it.
dumfuq said:
posted a v2 to fix a problem with minimum frequency.
This version is set to 691/691 when screen is on and 245/245 when screen is off.
edit: this broke it.
Click to expand...
Click to collapse
Lol I was gonna post to not try and set it to a performance profile as it breaks the overclock.
Great work though I'm finally so glad to see this. I flashed it and boot was quite a bit faster as well. A 91mhz gain seemed to make quite a difference. If this arm cpu will hit 800 then this phones gonna fly.
Ok noticing some lag here and there. I just did a quadrant bench and only scored 333. I have not did a reboot since I flashed it. Will try and report back.
Sent from my T-Mobile myTouch 3G Slide using XDA App
v3. fixed for the night.
screen on 480/691
screen off 245/480
sultan.of.swing said:
Lol I was gonna post to not try and set it to a performance profile as it breaks the overclock.
Great work though I'm finally so glad to see this. I flashed it and boot was quite a bit faster as well. A 91mhz gain seemed to make quite a difference. If this arm cpu will hit 800 then this phones gonna fly.
Ok noticing some lag here and there. I just did a quadrant bench and only scored 333. I have not did a reboot since I flashed it. Will try and report back.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
was the lag on v1? if so the minimum frequency was dropping to 19mhz, that's why i had to do the next one.
never tried quadrant before...i kinda like
on test 1, i exerienced a TON of lag... i set min / max at 691 and got lag like a mofo >.> hopefully t3 doesnt lag so bad this time
quick question... if i do this kernel, and i dont like it, can i go back to the old one just by flashing the old one or would that break something??
you could easily make a backup boot image zip
thomas.nelson4 said:
quick question... if i do this kernel, and i dont like it, can i go back to the old one just by flashing the old one or would that break something??
Click to expand...
Click to collapse
This kernel is just for testing purposes. You don't want it for daily use. If you are not comfortable flashing random broken things, don't even bother with it. Currently it takes a big performance hit for 3d graphics and has no wifi.
dumfuq said:
This is a test, this is ONLY a TEST.
Based off of htc-kernel-espresso repository from CyanogenMod github
Wifi is broken.
Performance is LOCKED at 691 mhz.
This is an update.zip that replaces your boot.img. To return to the stock boot.img just do a nandroid advanced restore of the boot partition (of course you have to of backed it up first).
No support will be given, use at your own risk, DON'T FLASH unless you know what you are doing .
oc691-kernel-test-v1-signed.zip
oc691-kernel-test-v3-signed.zip
Click to expand...
Click to collapse
hey do you have the patch for this?
wesgarner said:
hey do you have the patch for this?
Click to expand...
Click to collapse
here is the diff
slide_oc.diff
fyi I ended up hardcoding the 691 instead of using the old technique because the divisor was giving me issues with anything over 652 and I was just trying to do a proof of concept anyway.
Any reason it might go to black on boot-up...for minutes? Confict with new radio maybe?
My slide's looking very brickalicious at the moment so I'm gonna volume down and power into recovery; Just not booting. Was running Slidemeroot5r1.
Dumfuq, I love you.
Oakley44 said:
Any reason it might go to black on boot-up...for minutes? Confict with new radio maybe?
My slide's looking very brickalicious at the moment so I'm gonna volume down and power into recovery; Just not booting. Was running Slidemeroot5r1.
Click to expand...
Click to collapse
guess what, ive got a GREAT answer for ya... that boot image is ONLY FOR froyo roms at this point. sorry bud :/
Oakley44 said:
Any reason it might go to black on boot-up...for minutes? Confict with new radio maybe?
My slide's looking very brickalicious at the moment so I'm gonna volume down and power into recovery; Just not booting. Was running Slidemeroot5r1.
Click to expand...
Click to collapse
Is SlideMeRoot5r1 a CyanogenMod-6.0.0? I think not.
dumfuq said:
Is SlideMeRoot5r1 a CyanogenMod-6.0.0? I think not.
Click to expand...
Click to collapse
Ahh, what douchey lord of noobs I am.
Ok well, needless to say I did a full restore and rebooted. Still goes to black. Any change you have a zip for the stock kernel?
breaks WIFI on SuperFly 1.2 ... me only???
dumb... i can't read
UM BUT maybe pushing some wlan.ko file....?
Oakley44 said:
Ahh, what douchey lord of noobs I am.
Ok well, needless to say I did a full restore and rebooted. Still goes to black. Any change you have a zip for the stock kernel?
Click to expand...
Click to collapse
just flash Slidemeroot5r1 rom without wipe and reboot
Sxyman815 said:
just flash Slidemeroot5r1 rom without wipe and reboot
Click to expand...
Click to collapse
Already wiped system/cache to go back to last restore. In the middle of restore as I type this... . Next time I'll read the thread title a bit better..........ok, yeah it worked .

[Q] help with GXkernel1.0

iv installed but now i cant overclock past 1152mhz ..do i need to factory reset the device ?
When iv installed and run Voltage control lite it comes up with Kernel might be damaged ? ?
Damin777 said:
iv installed but now i cant overclock past 1152mhz ..do i need to factory reset the device ?
When iv installed and run Voltage control lite it comes up with Kernel might be damaged ? ?
Click to expand...
Click to collapse
no, you dont need to factory reset (u will loose all your installed apps)
when u slide to 1152, all u need to do just reboot (set it to apply in boot first - i'm using system tuner)
ivantastic said:
no, you dont need to factory reset (u will loose all your installed apps)
when u slide to 1152, all u need to do just reboot (set it to apply in boot first - i'm using system tuner)
Click to expand...
Click to collapse
then 1ce i do that will there be open room on the slider to take it to 1260mhz+ ?
i will try this if this is how it works but iv backed up my good rom and now im trying COFFEEBUN 2.3V1.0
WITH THE PERF Kernel
i can only take it to 1228mhz 1267mhz locks up
GXkernel can only overclock to 1152
Most streaks can't reach anything over this anyway
Although this could change in the next release
which CPU control apps u're using ?
xinyang said:
which CPU control apps u're using ?
Click to expand...
Click to collapse
Im using voltage control extreme
The cpu table ends at 1152 in GXkernel1.0, representing early work with the table
It ends at 1286.8 in latest GXkernel1.0.3.1, with more voltage tweaks.

[ONLINE][KERNEL] KeiCS v2 - 2.6.32.59 [CM/AOKP][HW DEC.]

KeiCS is a custom kernel built for AOSP, specifically for CM9 and AOKP.
A list of features in this kernel is available in the second post
You can download version 2 here.
Instructions of installation are on the third post.
By flashing you accept that I cannot be held responsible for anything that happens before/while/after flashing your phone, and if your CPU cooks like a waffle, your screen melts, your alarm doesn't ring and you get sacked, then I can't be held responsible
Keiran
Features of KeiCS Kernel
From v2 and onwards (v1 included, v1 was for internal testing):
Added several CPU frequency scaling governors:
Already in kernel:
performance
interactive
powersave
userspace
ondemand
conservative​Added into kernel:
interactiveX
smartass
smartassV2
SavagedZen
Scary
minmax
smoothass
brazillianwax
lagfree​Added and updated zRam (configurable in your ROMs settings.
Updated headers for working hw decoding on AOSP ROMs using qcom omx.
Added 2 way call recording (FreeXperia).
Interactive governor is default.
Enabled data encryption support in kernel.
Updated kernel to 2.6.32.59 over our older 2.6.32.9 sony sources.
Cap CPU frequencies on boot - no 1.6GHz spikes at all (DooMLoRD)
Fixed "reboot recovery", which fixes ROM Manager support and the reboot option in the power menu​
Installation Instructions
First of all, you need fastboot set up, this is something that there are plenty of tutorials set up for and so I am not going to go through the process of setting up fastboot.
Step 1:
Hold the search button on your phone while connecting it to the computer. If all goes well, you are in fastboot mode and the LED on the top of your phone (power switch) should be blue.​
Step 2:
Unless you have fastboot set up in your PATH variable, you will have to place the file into the same folder as your fastboot folder. Open a terminal/command prompt and cd into the folder the kernel is located.​
Step 3:
Now, in the terminal/cmd type, replace boot with the name of the file:
Code:
fastboot flash boot <boot>.img
fastboot reboot
If that does not flash the kernel and take you to the Sony splash screen try:
Code:
fastboot -i 0x0fce flash boot <boot>.img
fastboot -i 0x0fce reboot
Getting into the recovery:
Method 1:
When booting up the phone, a blue LED will turn on on the top of the phone, when this happens press the back button, you only need to press it once. You will end up in recovery.​
Method 2:
In a terminal emulator do:
Code:
su
reboot recovery
and your phone will automatically boot into recovery.​
Wow
Sent from my R800i using Tapatalk 2
Is this kernel for all ics roms then?
Sent from my R800i using xda premium
hitman980206 said:
Is this kernel for all ics roms then?
Sent from my R800i using xda premium
Click to expand...
Click to collapse
Apart from the Sony ones, as stated this one is for AOSP roms, or ones which are using quallcom omx hw decoder. CM/AOKP and PlAyOSP can use this kernel (although I probably won't update PlAyOSP, too much work).
Kernel work now has become my priority, I can build over an existing build in 20s for a kernel, for a ROM it can take up to two hours, and testing a ROM takes the socks when it takes 2 hours for each testing cycle
Sent from my Xperia Play using Tapatalk 2
Awesome!
Updated OP, download comes tomorrow
Sent from my Xperia Play using Tapatalk 2
The HW decoder codec means we'll be able to play 720 mkv files?
Zerobarat1 said:
The HW decoder codec means we'll be able to play 720 mkv files?
Click to expand...
Click to collapse
I am not quite sure if the decoder plays nice with 720p playback... but 720p recording does not work.
Uploaded v2, download in first post
KeiranFTW said:
I am not quite sure if the decoder plays nice with 720p playback... but 720p recording does not work.
Click to expand...
Click to collapse
Does video recording work at all?
xRegrets said:
Does video recording work at all?
Click to expand...
Click to collapse
No, because its not optional in the camera app not to record at 720p
KeiranFTW said:
No, because its not optional in the camera app not to record at 720p
Click to expand...
Click to collapse
how do i get to the rom settings to enable zRam?
Jedipottsy said:
how do i get to the rom settings to enable zRam?
Click to expand...
Click to collapse
What ROM are you on?
Cm9 fxp121
Sent from my Xperia Play using xda premium
Okay, so on CM9, you'll go into your settings menu, then click on Performance. It's in Memory management. Click on zRam, then you'll be able to pick what level you want, either 10, 18, or 26%. I'm guessing that's the compression amount, but I'm not sure.
lightningdude said:
Okay, so on CM9, you'll go into your settings menu, then click on Performance. It's in Memory management. Click on zRam, then you'll be able to pick what level you want, either 10, 18, or 26%. I'm guessing that's the compression amount, but I'm not sure.
Click to expand...
Click to collapse
You are correct
@Keiran ... nice work , as always
Is there a way to enable zram in the AOKP ROM?
Sent from my R800x using xda premium
Is there any chance of installing Napstar's Touch recovery on this? http://forum.xda-developers.com/showthread.php?t=1485829

[Q] Slim ICS - Default voltages

So I was playing with voltages, and by accident checked "set at boot",the pone froze, and had to restart it, but it freezes again at pin entry, before I can set them back to default.
How can I solve this? I would post on slim ics thread , but I dont have enough posts.
Ok,managed to fix by installing another kernel (I was using Siyah), but the problem persist once I go back to Siyah.
Where does it saves the undervolt configuration?
mierdaseca said:
Ok,managed to fix by installing another kernel (I was using Siyah), but the problem persist once I go back to Siyah.
Where does it saves the undervolt configuration?
Click to expand...
Click to collapse
If you used extweaks, go into Recovery Mode, there is an specially area for siyah kernel configuration. There you can erase the exTweaks configuration.
oz_90 said:
If you used extweaks, go into Recovery Mode, there is an specially area for siyah kernel configuration. There you can erase the exTweaks configuration.
Click to expand...
Click to collapse
Thanks,tried that,but didnt work.I changed the voltages from "ASS" (the Slim ICS configuration menu) ,not from Extweaks.
Using any kernel that supports voltage controls freezes
mierdaseca said:
Thanks,tried that,but didnt work.I changed the voltages from "ASS" (the Slim ICS configuration menu) ,not from Extweaks.
Using any kernel that supports voltage controls freezes
Click to expand...
Click to collapse
Try to enter recovery, wipe data, chache and dalvik. Then install another ROM. If you can't, maybe reinstalling the same rom can solve it.
Edit: the wipe data will erase all your apps and other stuff, but not photos or music.
Managed to fix it.
With a kernel that doesnt let you change voltages, I set the fovernor to performance.Then flashed Siyah again, and didnt freeze, so I could untick the "set at boot" voltages and fixed it.
mierdaseca said:
Managed to fix it.
With a kernel that doesnt let you change voltages, I set the fovernor to performance.Then flashed Siyah again, and didnt freeze, so I could untick the "set at boot" voltages and fixed it.
Click to expand...
Click to collapse
Thats good. Maybe right now you don't want to mess with voltages anymore jaja, but if you want it later you should visit this thread http://forum.xda-developers.com/showthread.php?t=1610044.
Remember to use the applications that are specially made for every kernel, and have an "emergency exit" if you mess up with something again.
Cheers.

[Q] My sgs3 Restarts continually after boot complete

Hey guys i think i ****ed up my cpu but i hope it isnt like that i installed agni pure stock kernel and kernel tuner app from play store. and i just miss clicked +12 volt for every mhz steps instead of -12 at cpu voltage. And now my phone complates the booting and i enter the sim code and drawing to model for unlock and ops it freeze and restarts after a while. i am using and ver. 4.3.3 and usin xxbugnl1 the lastest release for sgs3. Is there any way to recover my phone guys i really need your help
EDIT: i just used the zip file for reset voltages in here
and removed kernel tuner before it gains root rights it seems everythink ok now
Flash full stock firmware then factory reset, if still the same then yes you have fried the hardware.
boomboomer said:
Flash full stock firmware then factory reset, if still the same then yes you have fried the hardware.
Click to expand...
Click to collapse
Thanks bro i think it was too close to burn out my CPU but i was just lucky i guess I used the link that i mentioned on my edit. It really helped me. Thanks anyway

Categories

Resources