Deactivate one core to save power - Galaxy S II Q&A, Help & Troubleshooting

Hi.
I have a problem. I run out of batt. before the workday is over.
Im runnung push mail so. I change it to evert 15m. And it help alot.
Now im need a little more to get thrugh the workday.
So is there is way to deactivate one core?
Sent from my GT-I9100 using XDA App

Yes there is!
First, flash a kernel that supports the feature: Siyah kernel or Lulz kernel. (Don't ask me how to root if you haven't done it yet!)
http://forum.xda-developers.com/showthread.php?t=1263838
Next, download Tegrak 2nd core app from market. Switch to 'Single Core Mode' to use only 1 core all the time. (Dynamic Hotplug mode is the default).
Note that, even if cpu load is very high (like when playing hd games), only one core can be used which might cause freezing.
So whenever you want to save power, use Single Core Mode, in other situations, use dynamic hot plug mode.
https://market.android.com/details?id=com.tegrak.secondcore

If you don't have already, you will need root.
2nd Core free on the Market
A kernel that supports it: [KERNEL] (XWKJ3) Lulz Kernel Build 15/Tegrak Build 29
Hope that helped
Edit: Beaten to it in the post above by a nanosecond,......again!

I think it's unnecessary since mobile CPUs manages usage pretty well, mine stays at 200MHz most of the time, i can't see how disable the second core will help but pump more load to the first one, increasing it's clock and battery consumption. I can be wrong though, if i am please show me some statistics to confirm.

I sort of agree. But.......... From my very limited understanding of (particularly custom) kernels is that the 2nd core only comes online and scales up/down at certain load thresholds. So in theory, if the phone is just idling away at 200mHz (or even 100mHz), the 2nd core won't ramp up until , say, 90%. So based on this, light use of the phone won't make much use of the 2nd core anyway.
In conclusion; As you will need root anyway, advise use a custom ROM and kernel with tweaked governor to improve vastly improve both performance and battery life. You can also UC (underclock) the CPU from 1200 -> 1000 or 800 mHz too.
2 Recommendations are:
1) ROM : [ROM][XWKJ3][2.3.5] CheckROM RevoHD™ V3.1.1 |Stabilized|Optimized|Customized!
2) Kernel : [KERNEL] SiyahKernel v2.2i - "One kernel to rule them all" (SAMMY&AOSP ROMs) with smartassV2 governor (100 ->xxx mMz)
But the decesion to root is yours, and there many more excellent choices of ROM and kernels. Just search XDA Forums and you'll find plenty more battery saving tips such as the last FAQ in [KERNEL] SiyahKernel v2.2i - "One kernel to rule them all" (SAMMY&AOSP ROMs)

Root my phone at this moment is not an option. Company polecy and garatie related.
Now i turn on the 2 power saving modes.
At this state it may hold triurh the day. But now 2 irretating recycle icons showed up..
Sent from my GT-I9100 using XDA App

SnurrDass said:
Root my phone at this moment is not an option. Company polecy and garatie related.
Now i turn on the 2 power saving modes.
At this state it may hold triurh the day. But now 2 irretating recycle icons showed up..
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Oh well, was going to advise you to use the hyperdroid rom - so many people can hit 5 hours + screen on time

Related

[Q] setcpu for galaxy s2, help

Im trying to underclock the s2 when the phone's screen is off, but when i set it under profiles and put it into effect it will sometimes/most of the time, shut off when trying to awake! I've tried it at various Mhz. I had it at the lowest at first and it didnt' wake up ...so i thought not enough juice to remember all my stuff and it pooped... well i also tried it @ 800 Mhz and also had it set to powersave... im also running widget locker and about 3 widgets(twitter, beautiful widget, and notes), Does anyone know what is going on? Does anyone have any different settings that i should use instead...just trying to preserve battery life when in sleep mode.
Haven't used powersave mode at all yet, It's possible that profile has bugs on this phone.
I have my screen off profile set to 800 mhz and conservative and have had 0 issues so far.
as far as I'm aware powersave doesn't let it out of the minimum frequency (could be wrong). Use the conservative governor instead.
Don't use power save. I have done a lot of testing with this.
Here is the lowest that you can go.
Range: 200-500mhz
Mode: ondemand or conservative
If you go less than 500mhz or put it on powersaver, then it won't wake up from locking the phone.
Thanks
Thanks alot guys, have yall noticed increase battery life using the underclock?
and does widget lock take up alot of battery power? while in "sleep"?
geauxlsu83 said:
Thanks alot guys, have yall noticed increase battery life using the underclock?
and does widget lock take up alot of battery power? while in "sleep"?
Click to expand...
Click to collapse
I noticed that setting it to 200-500mhz increased my battery life by about 15-20%, but I did notice a significant performance drop. 200-800mhz is much less noticeable performance wise, but I didn't check to see what kind of battery life I got on that setting.
As for widgets...I'm not sure on that one either.
geauxlsu83 said:
Im trying to underclock the s2 when the phone's screen is off, but when i set it under profiles and put it into effect it will sometimes/most of the time, shut off when trying to awake! I've tried it at various Mhz. I had it at the lowest at first and it didnt' wake up ...so i thought not enough juice to remember all my stuff and it pooped... well i also tried it @ 800 Mhz and also had it set to powersave... im also running widget locker and about 3 widgets(twitter, beautiful widget, and notes), Does anyone know what is going on? Does anyone have any different settings that i should use instead...just trying to preserve battery life when in sleep mode.
Click to expand...
Click to collapse
Stock kernel or codeworkx's CWM kernel?
If either of those, your screen-off profile MUST include 800 MHz or you'll encounter a sleep of death. It's a common issue with Samsungs, and it is why SetCPU has such a bad reputation on Samsung CPUs, even though the SetCPU author has created kernel patches for nearly every Samsung Android device.
If my kernel or Cyanogenmod 7, screen-off profiles that do not include 800 MHz are OK, HOWEVER:
You must not set a screen-off profile of powersave. The governor mechanics of powersave are not compatible with the "sleep of death" fix. Conservative with min=max=200 SHOULD be OK.
The reason for this is that the CPU enters and exits suspend at 800 MHz (hardware limitation). If the regulator voltages aren't set high enough to support 800 MHz - the CPU crashes.
thanks
yeah im actually flashing your kernel as we speak i looked under a battery thread and they said your kernel is good for battery conservation thanks for your help
actually i flashed it from heimdall and it says it is kernel version is 2.6.35.7 is this yours?
All kernels except my Experimental series say 2.6.35.7 - you need to use CPUSpy to identify the [email protected] that built it.
Anything that comes from me will say [email protected] or, in rare cases, [email protected] until I build a completely new system with a different hostname.
Entropy512 said:
All kernels except my Experimental series say 2.6.35.7 - you need to use CPUSpy to identify the [email protected] that built it.
Anything that comes from me will say [email protected] or, in rare cases, [email protected] until I build a completely new system with a different hostname.
Click to expand...
Click to collapse
Your kernel is nice but can't oc. If I try to go to 1.4 soft reboot city.
Sent from my super modded phone.
Then your phone can't OC.
Not everyone's phone can run at 1.4 or 1.6. There's a reason it's only sold rated at 1.2... As frequency gets higher, the range of "stable" voltages (too low and you crash, too high and you overheat then crash) narrows, to the point where at a certain frequency that varies from device to device, there are no "stable" voltages.
Sent from my GT-P7510 using Tapatalk
Entropy512 said:
Then your phone can't OC.
Not everyone's phone can run at 1.4 or 1.6. There's a reason it's only sold rated at 1.2... As frequency gets higher, the range of "stable" voltages (too low and you crash, too high and you overheat then crash) narrows, to the point where at a certain frequency that varies from device to device, there are no "stable" voltages.
Sent from my GT-P7510 using Tapatalk
Click to expand...
Click to collapse
Well said.
Entropy512 said:
You must not set a screen-off profile of powersave. The governor mechanics of powersave are not compatible with the "sleep of death" fix. Conservative with min=max=200 SHOULD be OK.
Click to expand...
Click to collapse
I wonder is there any tasks or situations that might require freq above 200 while screen off? For example, while playing music or using apps like CardioTrainer (which captures gps, draws track on the map as you exercise).
Also, mine is set to 200..500 conservative for screen-off and CPUSpy shows it spends most time at 200 anyway (deep sleep taken out of consideration).
-- vlad
vladm7 said:
I wonder is there any tasks or situations that might require freq above 200 while screen off? For example, while playing music or using apps like CardioTrainer (which captures gps, draws track on the map as you exercise).
Also, mine is set to 200..500 conservative for screen-off and CPUSpy shows it spends most time at 200 anyway (deep sleep taken out of consideration).
-- vlad
Click to expand...
Click to collapse
This is why I also have my screen-off limited to 500. Once in a while, the phone needs to do a little extra work, and it's better to ramp to 500, get stuff done, then go back to deepsleep. As I said min=max=200 SHOULD be OK, but personally, I wouldn't recommend it.
I would love if SetCPU allowed for different governor tuning depending on profile. e.g. make up/down threshold more battery-biased with screen-off than screen-on. (Slower polling rate, higher up/down thresholds.)
SetCPU root access problem
Hi -
GSII AT&T Stock ROM
Rooted
Superuser v3.0.6
SetCPU 2.2.4 purchased form Market (support the devs!)
Screenshot attached
Cannot obtain root access
I have installed / uninstalled SetCPU a few times
Superuser logs show several apps already allowed but no success or even attempt from SetCPU
I've rebooted. I'm out of ideas
Anyone have any ideas on how to fix?
Thanks in advance
IshouldntbeHere said:
Your kernel is nice but can't oc. If I try to go to 1.4 soft reboot city.
Sent from my super modded phone.
Click to expand...
Click to collapse
Pretty sure it's your phone cause mine OC's to 1.6 with no problem.
BigBopper said:
Hi -
GSII AT&T Stock ROM
Rooted
Superuser v3.0.6
SetCPU 2.2.4 purchased form Market (support the devs!)
Screenshot attached
Cannot obtain root access
I have installed / uninstalled SetCPU a few times
Superuser logs show several apps already allowed but no success or even attempt from SetCPU
I've rebooted. I'm out of ideas
Anyone have any ideas on how to fix?
Thanks in advance
Click to expand...
Click to collapse
Have you tried updating the su binary in Superuser? (Even if you have the app updated, the app itself needs to update the binary.)
Beyond that I have no ideas.
Entropy512 said:
Stock kernel or codeworkx's CWM kernel?
If either of those, your screen-off profile MUST include 800 MHz or you'll encounter a sleep of death. It's a common issue with Samsungs, and it is why SetCPU has such a bad reputation on Samsung CPUs, even though the SetCPU author has created kernel patches for nearly every Samsung Android device.
If my kernel or Cyanogenmod 7, screen-off profiles that do not include 800 MHz are OK, HOWEVER:
You must not set a screen-off profile of powersave. The governor mechanics of powersave are not compatible with the "sleep of death" fix. Conservative with min=max=200 SHOULD be OK.
The reason for this is that the CPU enters and exits suspend at 800 MHz (hardware limitation). If the regulator voltages aren't set high enough to support 800 MHz - the CPU crashes.
Click to expand...
Click to collapse
Ahh, that was my problem. I was using powersave. Do you (or anyone else) see there being a benefit to having a screen off profile?
In theory, a screen-off profile shouldn't help - in reality, it's a line of defense for cases where something goes nuts in the background.

[Kernel]Unsecured, OverClocked, SmartAssV2, and Voltage Control[New Links 01.27.12]

Okay, I looked at what ziggy and cron247 did over on XDA and tried to make it better.
This kernel is unsecured, meaning adb connects with root.
It OverClock's up to 1.836MHz.
It has the SmartAss V2 governor.
It uses my ramdisk, not the one you have. I cannot forsee this being an issue. If it becomes one, let me know.
Updates:
Version 1.1.3 changes the version of lagfree, the old one was having issues. Also removes forcing the second CPU to be online which was causing choppiness.
Version 1.1.2 adds increased read ahead, writeback tweaks, decreased dirty ratio settings, simple I/O scheduler, and the lagfree governor.
Version 1.0.5 adds mpdecision fix by Mr X, thank you whoever you are, if you removed mpdecision, put it back. Also added voltage control for you UV lovers.
The only control program I have tested to work is AnTuTu CPU Master (Free), I have had issues with SetCPU and a few others. This one does speed, governor, and voltage all very well.
Get it here: AnTuTu CPU Master (Free)
The following problems seem to be fixed at this point: governor and speed settings not sticking, smartass staying at top speed, random reboots or bootloops overnight.
READ THE INSTRUCTIONS, THIS IS A SINGLE FILE
To install this kernel:
Copy the file to the root of your SDcard.
Reboot into recovery (CWR or AmonRa).
Flash the file from the SDcard.
At the end of the flash the phone will reboot to fastboot.
Once fastboot loads, tap PWR to get to HBOOT.
HBOOT will find the update and ask you to install.
Tap Vol Up to begin the install.
When it finishes it will say tap PWR to reboot. Do it.
After the phone boots remove the PH98IMG.zip file from your SDcard.
Use AnTuTu CPU Master (Free) to set min/max/gov/voltage.
Enjoy!
Thanks to ziggy and con247 for getting us started and having stuff out there for me to get ideas from.
Download:
Link: dsb9938 Kernel 1.1.3
MD5: a2558e70f9af572f43e258c9aedb4b40
Source on GitHub.
My favorite Rezound kernel so far. Haven't had one crash, even at max OC. Thanks so much guys at BAMF!
This kernel has been good to me too.
I just wish I could get a handle on thie weird issue. Any of these other than stock kernels seem to have the minimum cpu speed jump up to the max cpu speed, then back down constantly, and I cant figure out the deal.
I can check on mine periodically and my min says 192, than a couple seconds later it says its the same as my max. Ugh.
dccoh said:
This kernel has been good to me too.
I just wish I could get a handle on thie weird issue. Any of these other than stock kernels seem to have the minimum cpu speed jump up to the max cpu speed, then back down constantly, and I cant figure out the deal.
I can check on mine periodically and my min says 192, than a couple seconds later it says its the same as my max. Ugh.
Click to expand...
Click to collapse
I noticed that as well
I also had a problem yesterday morning where my phone locked up when my alarm clock went off - forcing me to pull the battery to turn the sound off - not sure if that's kernel or ROM related (running CleanROM 1.5)
Argent36 said:
I noticed that as well
I also had a problem yesterday morning where my phone locked up when my alarm clock went off - forcing me to pull the battery to turn the sound off - not sure if that's kernel or ROM related (running CleanROM 1.5)
Click to expand...
Click to collapse
It's kernel related; I'm running rezrom and had the same exact issue with my alarm running this kernel.
Do you think ziggys is more stable?.. or do I just need to find the right overclock/underclock settings?
I seem to recall seeing them have that problem on ziggy's - but I never had that problem on earlier versions of dsb's - so maybe it's just something that is fixable for the next release
*wanders off to test it again*
This is no doubt me doing things wrong that led to this, but I downloaded the kernel through the phone browser, then flashed it from the download directory on the internal SD. When I flashed Incredikernel from there it copied the PH98 to the sdcard, but no dice on this kernel until I copied it to the sdcard then flashed it.
I probably should have copied it to the sd card myself first anyway, but I figured I would let you know!
Well this morning - my alarm clock went off - I was able to snooze it - and then a few minutes later the phone went in to boot loops - had been running stable all weekend - once I pulled the battery the phone booted back up just fine.
we'll see if it repeats this behavior tomorrow morning or not...
Call recording support in the kernel?
timp123 said:
Call recording support in the kernel?
Click to expand...
Click to collapse
Nope, only Ziggy's kernel currently supports this.
I only set one alarm at a time usually, but I have one set to go off every morning at 7:30 & it has worked perfectly everyday for a few weeks now.
~John
Curious to see what settings people are using (min/max) as well as voltage control to get best battery life. Downloaded the CPU Master Free and wanted to set it up. Thanks
sandman_nyc_316 said:
Curious to see what settings people are using (min/max) as well as voltage control to get best battery life. Downloaded the CPU Master Free and wanted to set it up. Thanks
Click to expand...
Click to collapse
My default setting is 384 - 1512. I have a charging profile that OC's slightly to 1620. I also have profiles for a hot battery (which I have never had) and power under 20% which UC to 1296 and 1060 respectively. I use sio for scheduler (although that tends not to stick). My minimum UC is 384, nothing lower (I've read of bootloop issues with lower frequencies on the Incredible).
I undervolt everything from 384 to 1404 by -50; and 1512 by 25. Everything else is default.
I have never had a crash or reboot with this kernel on stock ROM.
hgoldner said:
My default setting is 384 - 1512. I have a charging profile that OC's slightly to 1620. I also have profiles for a hot battery (which I have never had) and power under 20% which UC to 1296 and 1060 respectively. I use sio for scheduler (although that tends not to stick). My minimum UC is 384, nothing lower (I've read of bootloop issues with lower frequencies on the Incredible).
I undervolt everything from 384 to 1404 by -50; and 1512 by 25. Everything else is default.
I have never had a crash or reboot with this kernel on stock ROM.
Click to expand...
Click to collapse
Thanks! How's your battery life been with those settings?
sandman_nyc_316 said:
Thanks! How's your battery life been with those settings?
Click to expand...
Click to collapse
Decent. I can get 10 solid hours or more of moderate use when I cannot be near a charger. I can stretch it further by turning off LTE and background data. Heavy data use tends to be the biggest killer. I keep my display at 30%, too, and use smartass v.2 as default.
hgoldner said:
Decent. I can get 10 solid hours or more of moderate use when I cannot be near a charger. I can stretch it further by turning off LTE and background data. Heavy data use tends to be the biggest killer. I keep my display at 30%, too, and use smartass v.2 as default.
Click to expand...
Click to collapse
Appreciate it. Gonna see what happens. Will update with my results. Thanks again!
I wonder what is causing all these boot loops for us all. Do you guys think it's the voltage? Perhaps the software?
zetsumeikuro said:
I wonder what is causing all these boot loops for us all. Do you guys think it's the voltage? Perhaps the software?
Click to expand...
Click to collapse
Good question. I haven't had a single bootloop since flashing this kernel after coming from Ziggy's. Been running this 192min/183max and UV'd -75 across the board and running great.
Hopefully I don't jinx myself.
Guys with bootloops/lockups...are you running any profiles?
Make sure you do a dalvik cache wipe....
Ziggy's would always lock up on me (multiple times per day) so I gave up on it. The only problem I have with this on (and this was a problem with Ziggy's too) is the min jumping to max.
My frequencies bounce on this kernel. It spends about equal time between the highest setting, and lowest setting. It works great other than that. My question is this bad for my CPU? I get great battery life, and performance, just scared the bouncing could be bad for the processor. Any help would be great.....
Sent from my ADR6425LVW using Tapatalk

[Q] Which CPU tweaking app do you use and why?

The title pretty much explains it all. I apologize if this thread is a repeat.
I'm currently using CPU Master Pro
Sent from my ADR6425LVW using Tapatalk 2
Not quite a repeat, but we do have a few threads on CPU governing. Not many people do it though.
If I MUST use an app, I use the smallest one that works. Otherwise, everything gets done with a script.
DbZ Gokuu said:
The title pretty much explains it all. I apologize if this thread is a repeat.
I'm currently using CPU Master Pro
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
I've been using no-frills CPU Control, but honestly, there really isn't much of a point adjusting the settings on stock rezound unless you want to save power by using conservative governor and/or a lower max speed setting. It does have a nice feature to show poll the CPU frequency, though: in settings, check "Refresh current frequency" then hit the bar graph on the actionbar at top.
Stock rezound already uses ondemand governor, which is essentially the best you will get out of a stock kernel, and the frequency range is set to 384-1.5ghz by default. IO scheduler is deadline, which does not need messing with either.
Note: Do not set minimum frequency to 192mhz; it uses the same power as 384mhz at any given point in time. Also heard it can cause sleep issues.
I'm using android tuner pretty simple and let me do other stuff. Luczative gov with -50 voltage (testing so far good I'm gonna drop another -25 later)
Bump
I'm bumping the thread because it predates kernel source release and the proliferation of kernels for the Rezound.
I'd love suggestions for a kernel/CPU control app that does the following (I've tried SetCPU, Antutu, Incredicontrol, Kernel Tuner, Android Tuner, etc. and they all seem to do some but not all of the preceding):
1. Let me choose governor and IO scheduler.
2. Let me set range for CPU speed
3. Let me set profiles for (1) low battery and (2) overheat
4. Let me see and manipulate CPU voltages where the kernel permits it; and
5. Let me turn on USB fast charge where the kernel permits it (without requiring a separate app/widget), and of course
6. Won't generate more problems than it solves.
Maybe one of these already does it, but Kernel Tuner and Android Tuner completely overwhelm me with information, choices and settings that are meaningless to me. (And, no, admittedly I do not choose to spend a lot of time educating myself on the subject....I'm a professional, not a computer professional, and I really can't afford to concede the billable time. I have always taken the position these machines were tools that we use, not tools that abuse us.)
Thanks in advance for informed and thoughtful opinions.
hgoldner said:
I'm bumping the thread because it predates kernel source release and the proliferation of kernels for the Rezound.
I'd love suggestions for a kernel/CPU control app that does the following (I've tried SetCPU, Antutu, Incredicontrol, Kernel Tuner, Android Tuner, etc. and they all seem to do some but not all of the preceding):
1. Let me choose governor and IO scheduler.
2. Let me set range for CPU speed
3. Let me set profiles for (1) low battery and (2) overheat
4. Let me see and manipulate CPU voltages where the kernel permits it; and
5. Let me turn on USB fast charge where the kernel permits it (without requiring a separate app/widget), and of course
6. Won't generate more problems than it solves.
Maybe one of these already does it, but Kernel Tuner and Android Tuner completely overwhelm me with information, choices and settings that are meaningless to me. (And, no, admittedly I do not choose to spend a lot of time educating myself on the subject....I'm a professional, not a computer professional, and I really can't afford to concede the billable time. I have always taken the position these machines were tools that we use, not tools that abuse us.)
Thanks in advance for informed and thoughtful opinions.
Click to expand...
Click to collapse
Antutu cpu master does all that for me, idk about the fast charge though
Sent from my ADR6425LVW using xda app-developers app
Squirrel1620 said:
Antutu cpu master does all that for me, idk about the fast charge though
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
I think CPU master is a good recommendation, chad's Incredicontrol would also be nice and it does have the fast charge function.
Antutu CPU Master, which I have been running, does not have the ability to turn on fast charge. Incredcontrol does not permit profiles.
My name's Harold and I'm a flashaholic....
Well it's like you said, you're probably not going to get all of your wish list. Android tuner is a new app that kinda does everything, but it also costs 10 bucks.
Neo uses kernel tuner, if that helps. Just ignore the technical stuff.
Sent from my Rezound using Tapatalk 2

Dual core

Hi guys,I have a question.how can I set my phone to dual core,so I can save my battery life? I'm on omega Aokp v4.2 and Syiah kernel.
I've tried to set it on Stweaks but when I get back in there it stays quad core by default..what I am doing wrong since I'm a noob?
Sent from something better than my pc
You missed section named "Galaxy S III Q&A", right? You must have.
Do you press Apply after you make a change in STweaks ?
BTW, it won't affect your battery life THAT much. Pegasusq knows how to manage the cores pretty good.
Actually Siyah Kernel doesn't work well with Stweaks at this moment. It's written on Siyah's website that most feature on Stweaks doesn't work.
So which would be the kernel that work with Stweaks? And yes, I've hit the button that says apply
Sent from something better than my pc
bcuraman said:
So which would be the kernel that work with Stweaks? And yes, I've hit the button that says apply
Sent from something better than my pc
Click to expand...
Click to collapse
I don't think any kernel works because Stweaks is Siyah's software. Since the new 4.1.2 lots of apps (kitchen) in many ROM doesn't work.
can you provide any link or article clearly confirming that dual core saves battery? i've read somewhere that it has a negative effect because the phone takes longer time to get to deep sleep
im not 100 % sure though, just learning
Hey just my two cents but on stock ROMs with stock kernel using the power save toggle really saves in the battery department.
Also I don't know what everyone is doing with their phones but my battery is great compared to previous phones, iPhone, one x, g2x etc....
sent from a galaxy far away
I don't have that for sure,that dual core saves battery,but in the stock rom,when you activate the power saving mode,it disables some cores or some features of it..so that's from where i get my thoughts... Besides that,I'm using a Aokp rom and despite the fact that it's blazing fast,it's an awesome experience.but the (dis)advantage of taking the most out of the phone,doesn't give us enough profit of the battery.. What would you suggest so I could keep the Aokp and have the most of the battery?
Sent from something better than my pc

[Kernel][Apr 26] Perseus

This is a direct port of my kernel on the international I9300 Galaxy S3 and sidekick to the international N7100/5 Note 2 kernels.
Recap of features:
CPU overclocking up to 1.8GHz and undervolting from 600mV to 1400mV.
GPU overclocking and undervolting.
GPU scaling reworked.
Screen sharpness and colour modifications.
Extended Pegasusq and improved Performance governors.
Removed Touch Booster and replaced with custom Flexrate mechanic.
Improved scheduler power management for improved idle residencies on auxiliary CPUs.
USB charging rate limit increased to 900mA.
Application for control of various settings.
This is supposed to be merely a proxy thread. Please refer to the N7100/5 thread for full changelogs, explanations, bug-reports and other issues. Kernel for specific device versions will be posted here.
This kernel is for the North American Verizon variant SCH-I605. Versions for other variants are found in their respective forums.
You obviously need to be unlocked with the "Suck it Verizon" bootloader/IROM unlock method before flashing this. I will not be responsible if you break your device by screwing up anything related to that.
flashing now!
Freaking awesome. Thank you for posting this.
Any known bugs/issues we should be aware of?
DaRkL3AD3R said:
Freaking awesome. Thank you for posting this.
Any known bugs/issues we should be aware of?
Click to expand...
Click to collapse
You let me know if there's something wrong. Now before things go down the same way as the other US variants, I implore everybody please read in the international N2 thread linked above for information about the kernel and the newest additions or if there's something wrong, it will always be more up to date than the proxy threads.
This kernel is absolutely insane! Wow!!
STWEAKS PROFILES! and proper bootloop fix.
Alright! now that Perseus Kernel .28 is out we have a new added feature that lets us implement override profiles!
What does this mean?
Well now this UNCHECK SET ON BOOT zip will actually just update your current default.profile and uncheck the set on boot options.
Which makes it the best fix for a bootloop, because you can then go back in to your old settings that failed and modify them.
I also am going to be generating 5 profiles. (will edit this post)
Each more aggressive overclocking and undervolting.
For people who are unsure of how to do do this properly with Stweaks,
You can just flash any of my profiles.
I recommend you download them all start at 5 and flash, if you bootloop or crash move up a profile until your stable!
Profile 5G is the one I run everyday (and is the lowest values for voltages)
It also is 200-1800 mhz overclocked and gpu 160-640 mhz
My custom governor tweaks (I believe the cpu is too aggressive and also the cores dont respond as much as id like to see them responding, 1 core on idle, 4 cores when needed.)
Profile 5 is the one I run everyday (and is the lowest values for voltages)
It also is 200-1800 mhz overclocked and gpu 160-640 mhz
STOCK governor settings
Profile 4 is slightly less aggressive on the voltages
200-1800 mhz 160-640
Profile 3 is slightly less aggressive on the voltage curve
200-1800mhz 160-533
Profile 2 is slightly less aggressive on the voltage curve
200-1600mhz 160-533
Profile 1 is slightly less aggressive on the voltage curve
200-1600mhz 160-533
Profile 0 is the DEFAULT profile the kernel came with. (it just deletes your profile and rebuilds it so its safe for all versions inlcuding S3-i9000)
EDIT: I have also included a zip with just the governor tweaks, these will not alter your voltages on cpu/gpu and will not change your max cpu
custom governor tweaks detailed below:
here is my logic
defaults parameter mine
30000 sampling rate 20000
82 up threshold 90
5 down diff 10
40% thres for response 81
1200 freq for fast down 1600
95 up thres fast down 98
37 up step 18
6 splice amount 4
13 down diff 8
With the default settings when the load is measured if the cpu load is over 82% off current freq step it will scale up.
New logic added in perseus .27 now gives us 3 up steps instead of just a fixed one.
so your cpu will step up more aggressively based on how much above the threshold it is, not just if its over, this is
great.
Right now, if we are coming in with a
load of 83%-88% we increase freq by 300mHz
if we are 89-94% we increase freq by 400 mHz and
if we are 94-100% then we increase freq by 700 mHz.
This is too fast for me.
For a few reasons the main one being that the amount we jump has gone up because our max cpu is 1800 instead of 1600 (at 1600 the jump ups are 200,300,600mhz)
The logic I use on my N2 is as follows:
Load of 90-94 = 100 mhz jump
load of 95-98 = 200 mhz jump
load of 99-100 = 400 mhz jump
The responsiveness of the phone is not compromised at all, the cpu just steps up less and only when it has really high loads(keep in mind the load is calculated every 20000 microseconds or 50 times in one second.)
It still gets to 1800 and does many operations there, but it comes out of 1800 fast and when it jumps down it jumps down further.
The fastdown has been upped from 1200 to 1600 , meaning it now requires 98% or higher load to jump up when above 1600 mhz not 1200 mhz, I found that the CPU was always in 1800 or like way lower,
never in the 1700 - 1200 range as it used to need 95% load to be in that range.
The cores hotplug has been slightly changed to turn off cores quicker when not in use and takes more samples to turn them on so they only turn on if load exists for longer duration of time.
PLEASE NOTE
Flashing any of these zips OTHER THEN THE UNCHECK SET ON BOOT will REMOVE your STWEAKS settings and replace them with the profile. PLEASE back up your profile if you want to save it.
Where is it?
/data/.perseus/default.profile << back this guy up. rename to default.profile2 works. or copy to sdcard.
Due to the way that these changes are applied (at initial boot) it will take longer then usual before beginning to display the boot animation for the first boot after changing profile.
This also means that you cannot flash 2 of these files in one boot, for example profile 3 and the governor tweaks.
You would need to flash the governor tweaks or the profile first and then reboot, and then flash the other.
Yay
Sent from my unlocked beans rom Galaxy Note 2
Is there a stock kernel?
This is great...wow!!!! so this is fine to flash in twrp...it says cmw...thank you!!
rayhodge02 said:
This is great...wow!!!! so this is fine to flash in twrp...it says cmw...thank you!!
Click to expand...
Click to collapse
Flashed fine for me in twrp
Sent from my unlocked beans rom Galaxy Note 2
So many questions...umm so we can flash governor and a profile at the same time.? What is the tweaks file for?
nnnnr14 said:
Flashed fine for me in twrp
Sent from my unlocked beans rom Galaxy Note 2
Click to expand...
Click to collapse
thanx
Or would you flash the governor and the uncheck boot file then go back and flash a profile? What is the original setrtjng without a profile ?.....okay I think i got it. I just need to flash the kernel (the zip file) and start with profile 5. (Can I flash at the same time)
Then if there's problems I can flash the uncheck at boot file so it'll revert and I can make the changes? That about right.
Dear OP,
Thank you very much for bringing this to us. Is this kernel also compatible with CM10?
kwkw480 said:
Dear OP,
Thank you very much for bringing this to us. Is this kernel also compatible with CM10?
Click to expand...
Click to collapse
no I believe its for touchwiz only.
blackbass595 said:
Or would you flash the governor and the uncheck boot file then go back and flash a profile? What is the original setrtjng without a profile ?.....okay I think i got it. I just need to flash the kernel (the zip file) and start with profile 5. (Can I flash at the same time)
Then if there's problems I can flash the uncheck at boot file so it'll revert and I can make the changes? That about right.
Click to expand...
Click to collapse
You got it bro.
First kernel. Then 5. Have th others in hand. If 5 won't work for you you will be boot looped. The uncheck set on boot will save your ads then reboot. Then flash 4 etc until you are stable. Only one profile per boot flashing more just overrides your last change. The profile is applied at kernel boot
Sent from my SGH-I317 using xda app-developers app
gundal said:
You got it bro.
First kernel. Then 5. Have th others in hand. If 5 won't work for you you will be boot looped. The uncheck set on boot will save your ads then reboot. Then flash 4 etc until you are stable. Only one profile per boot flashing more just overrides your last change. The profile is applied at kernel boot
Sent from my SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
Cool but can I do kernel and profile "x" at the same time?
And I hate to be "captain questions" here but what is the tweaks zip? Is that like an app it installs or a script or what?
I just flashed the kernel only, rebooted, opened up STweaks from app drawer, set min to 300mhz, set max OC to 1800mhz, set gpu to 640mhz, and left the other settings stock for the time being. I gained 2500 points running antutu benchmark. 17200 stock, 19600 with flux kernel. Seems rock solid so far...need a couple days to see how battery life is with that much OC, but its SMOOTH!
blackbass595 said:
Cool but can I do kernel and profile "x" at the same time?
Click to expand...
Click to collapse
Yup jut do kernel first. Then 5g which will do gov tweaks and cpu gpu oc uv to the most aggressive voltage curve. If it Boot loops just flash 4 and continue
Also the set on boot uncheck is only needed if you want to retain your profile that caused a boot loop so you can adjust it
Sent from my SGH-I317 using xda app-developers app
droidstyle said:
I just flashed the kernel only, rebooted, opened up STweaks from app drawer, set OC to 1800mhz, set gpu to 640mhz, and left the other settings stock for the time being. I gained 2500 points running antutu benchmark. 17200 stock, 19600 with flux kernel.
Click to expand...
Click to collapse
What's flux? Or did you mean lux?
Sent from my unlocked, and overclocked Galaxy Note 2 running bean's rom

Categories

Resources