[MOD][KERNEL] Custom Voltage - Nexus S Android Development

I put together a simple custom voltage interface which can be used to change both the ARM (CPU) and the internal voltage. It is the perfect companion for LiveOC, but does not depend on it.
In /sys/class/misc/customvoltage the ARM and internal voltages for the different frequency states are set by passing a string of voltage values in mV to armvolt or intvolt (for example 'echo "1250 1200 1000 950 950" > armvolt').
This should work no matter the number of frequency states implemented in the kernel. This replaces the custom UV interface most kernels have implemented and both tweaks do not work together. So if you decide to include this tweak, you will have to remove the other and this will break the voltage control with SetCPU and Proton. and it is compatible to SetCPU and similar tools.
Changes to the source: http://www.pastie.org/2806507
BUGFIX:
Made Custom Voltage compatible with the typical CPUfreq UV interface (UV_mV_table) found in many kernels thus making it compatible with SetCPU and similar tools.
Bugfix: http://www.pastie.org/2806920
BUGFIX #2:
Added the entries 'max_arm_volt' and 'max_int_volt' to the sysfs interface which can be used to change the maximum values allowed for the ARM and internal voltages.
Bugfix: http://www.pastie.org/2812494
No further patches will be published here. I have set up a git repo for all my tweaks. Each mod has its own branch to keep the tweaks cleanly separated and one can simply pull the latest patches from the corresponding branch.
https://github.com/Ezekeel/GLaDOS-nexus-s/tree/customvoltage

omg... you with another great mod... we CANNOT CATCH UP AT ALL.. you know

Made Custom Voltage compatible with the typical CPUfreq UV interface (UV_mV_table) found in many kernels thus making it compatible with SetCPU and similar tools.
Bugfix: http://www.pastie.org/2806920

True professionalism

Thank you Ezekeel, you never stop surprising me. I'll test this in a bit.

Ezekeel said:
I put together a simple custom voltage interface which can be used to change both the ARM (CPU) and the internal voltage. It is the perfect companion for LiveOC, but does not depend on it.
In /sys/class/misc/customvoltage the ARM and internal voltages for the different frequency states are set by passing a string of voltage values in mV to armvolt or intvolt (for example 'echo "1250 1200 1000 950 950" > armvolt').
This should work no matter the number of frequency states implemented in the kernel. This replaces the custom UV interface most kernels have implemented and both tweaks do not work together. So if you decide to include this tweak, you will have to remove the other and this will break the voltage control with SetCPU and Proton. and it is compatible to SetCPU and similar tools.
Changes to the source: http://www.pastie.org/2806507
BUGFIX:
Made Custom Voltage compatible with the typical CPUfreq UV interface (UV_mV_table) found in many kernels thus making it compatible with SetCPU and similar tools.
Bugfix: http://www.pastie.org/2806920
Click to expand...
Click to collapse
wow...
just amazing!
Thanks Ezekeel~! your name will forever be engraved on the hall of NS!

Ezekeel i know that you are a God in mods
But, can you explain to me how i will put this mod?
I don't understand what i have to do, i have to change some code lines? replace? or other thing?
if you made a superfast "how to" i will be vert grateful

Yusei said:
Ezekeel i know that you are a God in mods
But, can you explain to me how i will put this mod?
I don't understand what i have to do, i have to change some code lines? replace? or other thing?
if you made a superfast "how to" i will be vert grateful
Click to expand...
Click to collapse
This is kernel code.

franciscofranco said:
This is kernel code.
Click to expand...
Click to collapse
and how i change it?

With all these mods why don't you publish your own kernel Ezekeel?

Yusei said:
and how i change it?
Click to expand...
Click to collapse
a little get starter for u..
Code:
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source

wait a minute
this is a mod that the kernel builders will put in their own kernel right?
i'm so stupid
sorry guys

I guess I will have to update Spark to include all these new additions from Ezekeel. Give me a few weeks and I will try and have a bit of a toolkit ready!
Sent from my Nexus S
Edit: also, great work Ezekeel! Just a question though, what was the reason for wanting to put together your own? Is it simpler, more stable, or something else? Sorry, I haven't compared anything either, I can't easily do so on my phone.

Jonathon Grigg said:
I guess I will have to update Spark to include all these new additions from Ezekeel. Give me a few weeks and I will try and have a bit of a toolkit ready!
Sent from my Nexus S
Edit: also, great work Ezekeel! Just a question though, what was the reason for wanting to put together your own? Is it simpler, more stable, or something else? Sorry, I haven't compared anything either, I can't easily do so on my phone.
Click to expand...
Click to collapse
hey good going..
i was going to check out app dev over the weekend to get all of ezekeels mods into one app...
mind if i try?
Sent from Divinus Nexus S...

Jonathon Grigg said:
I guess I will have to update Spark to include all these new additions from Ezekeel. Give me a few weeks and I will try and have a bit of a toolkit ready!
Sent from my Nexus S
Edit: also, great work Ezekeel! Just a question though, what was the reason for wanting to put together your own? Is it simpler, more stable, or something else? Sorry, I haven't compared anything either, I can't easily do so on my phone.
Click to expand...
Click to collapse
it could be a great idea, I think.
Me, I use script, but I see a lot of people how wants to use Ezekeel Mods without knowing a thing about scripts,
or even don't know how to use terminal emulator.
thanks for this great idea.
No more question to the kernels devs about how to activate this or this...
I think many of them will be gratefull for that.

Jonathon Grigg said:
I guess I will have to update Spark to include all these new additions from Ezekeel. Give me a few weeks and I will try and have a bit of a toolkit ready!
Sent from my Nexus S
Edit: also, great work Ezekeel! Just a question though, what was the reason for wanting to put together your own? Is it simpler, more stable, or something else? Sorry, I haven't compared anything either, I can't easily do so on my phone.
Click to expand...
Click to collapse
this mod will not only enable you to modify armvolt but also intvolt.

psygbert said:
this mod will not only enable you to modify armvolt but also intvolt.
Click to expand...
Click to collapse
can any1 explain the differences??? and what is exacly each one?

yaronyud said:
can any1 explain the differences??? and what is exacly each one?
Click to expand...
Click to collapse
The ARM voltage is for the CPU, the internal voltage for the bus (and also GPU I believe). If you increase the bus/GPU speeds with LiveOC you might have to increase the internal voltages additionally to the ARM voltages to get it stable.
Made a small improvement.
Added the entries 'max_arm_volt' and 'max_int_volt' to the sysfs interface which can be used to change the maximum values allowed for the ARM and internal voltages.
Bugfix: http://www.pastie.org/2812494

Jonathon Grigg said:
I guess I will have to update Spark to include all these new additions from Ezekeel. Give me a few weeks and I will try and have a bit of a toolkit ready!
Sent from my Nexus S
Edit: also, great work Ezekeel! Just a question though, what was the reason for wanting to put together your own? Is it simpler, more stable, or something else? Sorry, I haven't compared anything either, I can't easily do so on my phone.
Click to expand...
Click to collapse
Where can I find this app of yours? Does it have a thread?

more stable Live OC?
Ezekeel said:
The ARM voltage is for the CPU, the internal voltage for the bus (and also GPU I believe). If you increase the bus/GPU speeds with LiveOC you might have to increase the internal voltages additionally to the ARM voltages to get it stable.
Click to expand...
Click to collapse
Ah!
more stable Live OC?
excessive +percentage got the phone to lose IMEI
I had my device repaired in samsung A/S center. (reentering IMEI)
and I backuped "/efs/" folder to SD, PC just in case
---------- Post added at 11:02 AM ---------- Previous post was at 10:58 AM ----------
ellesshoo said:
Where can I find this app of yours? Does it have a thread?
Click to expand...
Click to collapse
[App] Spark Mod Manager - Beta 1 [5/9/2011]

Related

[REQUEST] Kernel

Hey all,
i am searching for something special, which none of the well known kernel designers could offer. I myself cant create kernels
Here is what i am looking for:
Device: Nexus FroYo with root
Kernel features:
OC: 1.13 GHZ
UV: 800mV
Audiohack
Ramboost
Is there anyone that could create a working Kernel with the given features?
Thx a lot
Tigger
The closest one you'll find with everything you need is: http://forum.xda-developers.com/showthread.php?t=653598
It doesn't have OC but it's not necessary anyways. It has everything else you want.
mrandroid said:
The closest one you'll find with everything you need is: http://forum.xda-developers.com/showthread.php?t=653598
It doesn't have OC but it's not necessary anyways. It has everything else you want.
Click to expand...
Click to collapse
i know, but its exactly what i need. OC AND UV...thats why my request. but thanks for ur help,
im using intersectravens atm bfs .34 now...but it doesnt have OC
Froyo = pimpin'
With Froyo, you dont need OC... I thought I NEEDED it... but with SetCPU on active you'll see that the phone really only needs to run around the 245Mhz mark on the home screen and it'll rarely use all 998Mhz that it has...
RinTinTigger said:
i know, but its exactly what i need. OC AND UV...thats why my request. but thanks for ur help,
im using intersectravens atm bfs .34 now...but it doesnt have OC
Click to expand...
Click to collapse
I'd say it's a want, no so much a need, but I digress.
Wait for Ivan to update his kernel. He's been MIA though. Maybe he's dealing with real life. Look for his kernels a couple pages back and PM him. Or maybe send an email.
RinTinTigger said:
Hey all,
i am searching for something special, which none of the well known kernel designers could offer. I myself cant create kernels
Here is what i am looking for:
Device: Nexus FroYo with root
Kernel features:
OC: 1.13 GHZ
UV: 800mV
Audiohack
Ramboost
Is there anyone that could create a working Kernel with the given features?
Thx a lot
Tigger
Click to expand...
Click to collapse
I agree with not really needing OC on froyo but I guess its nice to have the option so here yah go
http://www.mediafire.com/?tzxwm0mjweo
Flash through the recovery menu or push to the phone just like you do with Raven's kernels but make sure you do a nandroid backup just in case something happens.
You didn't specify if you wanted BFS or CFS so I used CFS in this because personally I think CFS runs better overall on froyo.
(Although BFS really makes the launcher super silky smooth, it really chugs when I try to load Flash content in the browser but maybe this is happening to me only, I don't know )
wildmonks said:
I agree with not really needing OC on froyo but I guess its nice to have the option so here yah go
http://www.mediafire.com/?tzxwm0mjweo
Flash through the recovery menu or push to the phone just like you do with Raven's kernels but make sure you do a nandroid backup just in case something happens.
You didn't specify if you wanted BFS or CFS so I used CFS in this because personally I think CFS runs better overall on froyo.
(Although BFS really makes the launcher super silky smooth, it really chugs when I try to load Flash content in the browser but maybe this is happening to me only, I don't know )
Click to expand...
Click to collapse
But this oine is 950mV ...i wanted 800mV for better Battery!
RinTinTigger said:
But this oine is 950mV ...i wanted 800mV for better Battery!
Click to expand...
Click to collapse
beggers cant be choosers
xXJay_RXx said:
beggers cant be choosers
Click to expand...
Click to collapse
But its why i opened the Thread. Im not to dumb to find the pershoot with 950mV...but i am requesting something different.
And it might be that requesters wont get what they ask for but for me, its totally worth a try!!!
RinTinTigger said:
But this oine is 950mV ...i wanted 800mV for better Battery!
Click to expand...
Click to collapse
Oops.. sorry about that... I uploaded the wrong one... here yah go:
http://www.mediafire.com/?xni3mduojj3
wildmonks said:
Oops.. sorry about that... I uploaded the wrong one... here yah go:
http://www.mediafire.com/?xni3mduojj3
Click to expand...
Click to collapse
Testing it...who made it?
Does it have audi and ram boost?
RinTinTigger said:
Testing it...who made it?
Does it have audi and ram boost?
Click to expand...
Click to collapse
No, BMW but they're both German so you're okay...
djmcnz said:
No, BMW but they're both German so you're okay...
Click to expand...
Click to collapse
I thought the same thing too when I read "audi"
RinTinTigger said:
Testing it...who made it?
Does it have audi and ram boost?
Click to expand...
Click to collapse
I compiled it using the code that Raven publicly provides on his Github (latest as of 5/27/2010) and i added the overclocking code that you requested.
http://github.com/intersectRaven/ir-kernel-2.6.34/commits/master/
So it has everything that Raven's kernel has like the audio boost, 21MB ram, optimization flags, etc.
I decided to give this a try. Running great so far. Not sure if it's just a placebo effect, but it definitely feels snappier with that added .1 ghz.
halorin said:
I decided to give this a try. Running great so far. Not sure if it's just a placebo effect, but it definitely feels snappier with that added .1 ghz.
Click to expand...
Click to collapse
Nice, glad to hear it working out well so far for someone. Yah, after testing this out for a day I notice the same thing, a little more responsive, linpack has increased from 36ish to around 40 and flash heavy sites load quicker.
I'll probably use this kernel in my phone now for everyday use but use SetCPU to keep it at 998MHz until I need that little extra boost.
(Reason being because in order to run at 1113MHz the AVS has to boost the voltage up even higher then usual to keep it stable.)
Hm. Didn't know that, the voltage. Thanks.
RinTinTigger said:
But this oine is 950mV ...i wanted 800mV for better Battery!
Click to expand...
Click to collapse
Ummm... didn't we test this out in some huge blind test of kernels and conclude that 950 gets better battery life than 800?
pjcforpres said:
Ummm... didn't we test this out in some huge blind test of kernels and conclude that 950 gets better battery life than 800?
Click to expand...
Click to collapse
I guess there are those few who see better battery life when using 800 .
Personally I use 950 because 800 makes my radio erratically switch between 2G and 3G in my workplace which in turn causes a big drain on my battery. This doesn't occur when I'm home though, probably because I'm so close to a cell tower.
wildmonks said:
I thought the same thing too when I read "audi"
I compiled it using the code that Raven publicly provides on his Github (latest as of 5/27/2010) and i added the overclocking code that you requested.
http://github.com/intersectRaven/ir-kernel-2.6.34/commits/master/
So it has everything that Raven's kernel has like the audio boost, 21MB ram, optimization flags, etc.
Click to expand...
Click to collapse
THANKS a LOT! Its working really good.
And to thos with the 950>800 opinion, i thought this at well, but, i testet so much kernels now, with my usage parameters and it worked better with an 800mV
Wildmonky, any chance you could also make an BFS Version?
I think you should give both kernels then to raven to add em to his repo! They are GREAT!
I was so much looking for this kernel!!!
THX a lot!
Tigger
RinTinTigger said:
THANKS a LOT! Its working really good.
And to thos with the 950>800 opinion, i thought this at well, but, i testet so much kernels now, with my usage parameters and it worked better with an 800mV
Wildmonky, any chance you could also make an BFS Version?
I think you should give both kernels then to raven to add em to his repo! They are GREAT!
I was so much looking for this kernel!!!
THX a lot!
Tigger
Click to expand...
Click to collapse
No problem Tigger
Here yah go. Still no changes from Raven for kernel version 34 so its still dated 05/27/2010 to match.
2.6.34_AVS-800mV_BFS_1113Mhz_052710:
http://www.mediafire.com/?j2kmytmhqjm
Raven really hates overclocking so this will never be in his repo. But what I might end up doing is compile and upload to mediafire when a new update is out, if there is enough interest in this.

[KERNEL] 2.6.38.8-incredikernel-12/08/2011

12/08/2011
Added an ICS branch.
08/15/2011
Support for voice call recording.
Adjusted voltage range to 700min 1375max. Good luck have fun.
07/06/2011
Fast charge USB
Patch to increase performance of a function often used in the kernel (memcpy)
http://www.incredikernel.com
If you would like incredikernel to keep improving, please turn off adblock for the domain. It is greatly appreciated.
06/27/2011
Fix for devices that use newer touch controllers
Read this: http://forum.xda-developers.com/showpost.php?p=15132827&postcount=3626
Get it at http://www.incredikernel.com
06/19/2011
2.6.38.8
Everything from the 4/19 release
A bunch of changes to fix smartass (I think finally)
Simple sysfs interface to enable/disable audio boost
http://www.incredikernel.com
12/23/2010 - Sense
incrediblec-MR3-2.6.32-g9a2fc16 base
Patched up to 2.6.32.27
OC up to 1.1136ghz
Screen on minimum 245mhz
Screen off 128/384
HAVS/UV
Improved smartass scaling (likes lower frequencies more) - default
BFQ I/O scheduler
Tiny RCU
CFS scheduler tweaks
GPU+
SD card speed fix
TUN + CIFS modules
ext4
Updated yaffs2/atmel touch/wifi
3/5 Multitouch support - NOTE: Some devices only support 2 touches
http://www.incredikernel.com
Use the +25v zip if you have stability issues
I recommend you don't change governors and don't set any profiles. Let smartass do its thing as it takes care of sleep.
If multitouch is not working, you may be able to get it to work by following this:
http://forum.xda-developers.com/showpost.php?p=10231055&postcount=1104
InrediControl:
https://play.google.com/store/apps/details?id=com.incredicontrol
IncrediControl AdFree key:
https://play.google.com/store/apps/details?id=com.incredicontrolAF
Fastcharge widget:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
Because of many requests to add this:
chad0989 said:
Since I haven't seen a kernel from the latest HTC source I decided to cook one up. Scored 1529 on quadrant vs a best of 1306 with the stock HTC source. No overclocking or undervolting. May toy with that later.
incrediblec-MR3-2.6.32-g9a2fc16 base
BFS318 task scheduler
BFQ I/O schedular
GPU+
SD card speed fix
All cpu governors enabled
Screen off set minimum 245 max 384
http://www.multiupload.com/4X1BETLBZ0
Enjoy
Click to expand...
Click to collapse
looks nice, would you mind if i included this in my rom?
Can you mod a kernel for cm6
Its already made just add more features? ????
Sent from my ADR6300 using XDA App
I would imagine there's a few guys working on this? Good work getting it out first.
Gonna give it a go!
Question, is the original kernel BFS or did you add that in? Just curious as I really like the UI smoothness of the stock .17 and I have absolutely 0 knowledge of linux besides what i've picked up from reading xda.
Thanks so much for cookin this up, smells good!
scottylove said:
Question, is the original kernel BFS or did you add that in? Just curious as I really like the UI smoothness of the stock .17 and I have absolutely 0 knowledge of linux besides what i've picked up from reading xda.
Thanks so much for cookin this up, smells good!
Click to expand...
Click to collapse
lol htc wouldnt cook in the bfs scheduler
chad,
would you actually mnd whipping up a cfs version? i find that cfs is much more stable than bfs
sweet dling now ...ty
edit- holy benchmarks!
Sent from my ADR6300 using XDA App
Thanks Chad! Just flashed it.
I just flashed it. What is GPU+ anyway?
DopeShiziot said:
looks nice, would you mind if i included this in my rom?
Click to expand...
Click to collapse
Go for it.
DopeShiziot said:
chad,
would you actually mnd whipping up a cfs version? i find that cfs is much more stable than bfs
Click to expand...
Click to collapse
Did you have issues with this kernel? BFS really should be better suited for phones where a smooth UI is important.
Here's a little reading material:
http://www.google.com/url?sa=t&sour...qsCyDw&usg=AFQjCNG7ORB_chlUiype8OJZES-5bHzSjA
alexdeluxe said:
I just flashed it. What is GPU+ anyway?
Click to expand...
Click to collapse
Its a patch for sense kernels that increases 2d and 3d performance.
http://forum.xda-developers.com/showthread.php?t=825304
chad0989 said:
Go for it.
Did you have issues with this kernel? BFS really should be better suited for phones where a smooth UI is important.
Here's a little reading material:
http://www.google.com/url?sa=t&sour...qsCyDw&usg=AFQjCNG7ORB_chlUiype8OJZES-5bHzSjA
Click to expand...
Click to collapse
thanks!
and no, i havent had issues, but in the past ive found cfs to be much more stable and reliable.
Make this for aosp please. Ziggy stopped doing them, King's had some issues, and Koush's test doesn't have all the governors enabled.
Source needed
Please post or link your source changes. It is required under the GPL. Thanks for your cooperation.
overground said:
Please post or link your source changes. It is required under the GPL. Thanks for your cooperation.
Click to expand...
Click to collapse
is that by chance why the kings kernels were removed? j/w
DopeShiziot said:
is that by chance why the kings kernels were removed? j/w
Click to expand...
Click to collapse
You guessed it.
overground said:
Please post or link your source changes. It is required under the GPL. Thanks for your cooperation.
Click to expand...
Click to collapse
There you go.
i wonder why when i ask any if its possible for cm6
i always get ignored????
anybody have good resullts? battery life? about to flash, just curious?
thanks
DS36 said:
i wonder why when i ask any if its possible for cm6
i always get ignored????
Click to expand...
Click to collapse
What did you need done?

[Kernel][ICS][Alpha]Driving Always For User Quality (5/27/2012)

Here we go - What I believe is the first custom kernel built from source for GT-N7000 ICS.
READ THIS POST INCLUDING KNOWN ISSUES BEFORE POSTING!
Driving Always For User Quality - DAFUQ!!!!
This is built by applying some small fixes to the GT-I9100 update4 source base so that the stylus and charger drivers build properly.
Source code is at: https://github.com/Entropy512/kernel_galaxys2_ics/commits/entropy_kernel_main
Initramfs git is at: https://github.com/Entropy512/initramfs_galaxynote_ics/commits/master
It has been tested so far with Criskelo's XXLPY-based release, but should work with most other Touchwiz-based N7000 ICS releases. AOSP firmwares are not supported by this kernel. They may boot and sort-of run, but no bug reports will be accepted if you're running an AOSP-based firmware. No bootloader flashing is required.
Features:
See my I777 ICS kernel thread for now - it's built off of the same source base (but N7000 users should post here)
The one specific feature I should advertise here - This is built from I9100 Update4 sources. This appears to be the only source base so far for Samsung Exynos4 kernels that doesn't carry a high risk of permanent damage to your eMMC chip. (e.g. it should be safe from all of the nightmares people have encountered with ICS leaks here, however I cannot make any guarantees.)
Known issues:
Some of you are used to kernels that autoroot a ROM for you - this one will not and never will especially now that two different Superuser packages exist. Flash SuperSU or Superuser in CWM, pick your poison.
Camera preview is black
Hardware accelerated video display is not working
Because of these known issues, the primary use for this kernel is to reset the flash counter with TriangleAway (which DOES work on this kernel)
Change Log
5/27/2012:
Pulled in some changes from the N7000 source release. Wifi and speakerphone are now working with XXLPY, however - hwaccel video is still broken.
Fixing hwaccel video requires major work or just trashing everything and starting from the N7000 source release and readding features there.
5/2/2012:
Charging now works normally. It turns out some devices have an SMB136 charger, others have an SMB328 - Now both are enabled.
4/26/2012:
Call audio fixed (Note only)
Bumped first GPU step default up to 100 MHz from 66 (Note only)
Increased conservative governor freq step from 5% to 10%
4/24/2012:
Initial release
FAQ
Q: What's up with the name?
A: Since I run CM9, this can no longer be considered my "daily driver" - so the Daily Driver name no longer really applies. I haven't picked a good name yet, expect this to change with my mood. Names may get more sensible as the mental damage caused by watching the ZOMBIE ASS trailer heals.
Something goes here...
Having issues uploading the ZIP file with EGL libs... please bear with me. XDA seems to have some silly upload timeout that makes me unable to post anything larger than 8-9 megabytes.
Find them at https://github.com/koush/proprietar.../ics/galaxys2-common/proprietary/graphics/lib for now - these go in /system/lib
Edit: Hopefully the "upload from dropbox" hack worked... not sure.
Awesome great work..
Wooohoooo!!time for note to enter the next dimension!!thank yo sooo much bro!!!
Sent from my GT-N7000 using xda premium
.zip fails to flash. installation aborted
I'll post more details and documentation later this week. I'm kinda tired now.
mikeyinid said:
.zip fails to flash. installation aborted
Click to expand...
Click to collapse
What did you flash it from? I had no problems flashing it.
The upload process from dropbox may have failed - can you manually unzip it? (Edit: Just checked, seems to be fine.)
Entropy512 said:
What did you flash it from? I had no problems flashing it.
The upload process from dropbox may have failed - can you manually unzip it? (Edit: Just checked, seems to be fine.)
Click to expand...
Click to collapse
re downloaded and it flashed fine. is this a stock kernel built from source? i mean did you uv it or add oc?
mikeyinid said:
re downloaded and it flashed fine. is this a stock kernel built from source? i mean did you uv it or add oc?
Click to expand...
Click to collapse
Hey Mikey, are you using this on stunner or did you flash off of that today? Just curious before I try it on it myself.
Sent from one of my Galaxies
skyhigh2004 said:
Hey Mikey, are you using this on stunner or did you flash off of that today? Just curious before I try it on it myself.
Sent from one of my Galaxies
Click to expand...
Click to collapse
im on lp6. it takes like 2-3 seconds for my screen to turn on when pressing the power button and noticeable lag when opening app drawer in nova. definitley didnt do those things before
lag is the wrong word. there is a stutter during transitions.
mikeyinid said:
re downloaded and it flashed fine. is this a stock kernel built from source? i mean did you uv it or add oc?
Click to expand...
Click to collapse
See the I777 thread and the git commits for what's in there.
It is in general battery-optimized - Mali 3-step defaults are battery-oriented, default governor is a tuned conservative, reduce the polling interval of it for better results.
As this is built off of I9100 sources, there might be some Note-specific things missing. I never did Gingerbread kernel development on the Note. One thing is - this should not burn out your eMMC like many of the leaks can.
Entropy512 said:
See the I777 thread and the git commits for what's in there.
It is in general battery-optimized - Mali 3-step defaults are battery-oriented, default governor is a tuned conservative, reduce the polling interval of it for better results.
As this is built off of I9100 sources, there might be some Note-specific things missing. I never did Gingerbread kernel development on the Note. One thing is - this should not burn out your eMMC like many of the leaks can.
Click to expand...
Click to collapse
its usable for sure, was definitely not saying it wasnt. cant wait to see where this goes from here. i know an ics kernel from source is probably the only thing stopping official cm build.
---------- Post added at 08:38 PM ---------- Previous post was at 08:35 PM ----------
disregard the stutter post lol. went intio setcpu and changed to ondemand and this thing is butter smooth. and undervolts
mikeyinid said:
its usable for sure, was definitely not saying it wasnt. cant wait to see where this goes from here. i know an ics kernel from source is probably the only thing stopping official cm build.
Click to expand...
Click to collapse
I'm working with codeworkx and xplodwild on getting that going. I need to clean up extract-files.sh and the vendor/prop repo, among a few other things. I won't have time to work it the next few days though.
If you want to improve performance, try bumping up the GPU frequency for the lowest step and reduce its staycount to 0. For battery-saving purposes, the first GPU step is a bit on the low side. I might bump it up a little, there's a BIG jump between 66 and 100 MHz.
Instead of being 166/266 MHz, it's 66/166/266 MHz. Should improve screen-on battery life.
Entropy512 said:
I'm working with codeworkx and xplodwild on getting that going. I need to clean up extract-files.sh and the vendor/prop repo, among a few other things. I won't have time to work it the next few days though.
If you want to improve performance, try bumping up the GPU frequency for the lowest step and reduce its staycount to 0. For battery-saving purposes, the first GPU step is a bit on the low side. I might bump it up a little, there's a BIG jump between 66 and 100 MHz.
Instead of being 166/266 MHz, it's 66/166/266 MHz. Should improve screen-on battery life.
Click to expand...
Click to collapse
ok, so for ~5 seconds after you unlock the phone there is a noticeable stutter during transitions, even using ondemand.
scrolling is very smooth tho, even in plume...
Try increasing the frequency for the lowest GPU step, or reduce its staycount to 0.
Another option, try conservative but change freq_step to 15. I'm probably going to change that as the default.
Where can I find a nightly build to get initial extract-files ?
Entropy512 said:
Try increasing the frequency for the lowest GPU step, or reduce its staycount to 0.
Another option, try conservative but change freq_step to 15. I'm probably going to change that as the default.
Click to expand...
Click to collapse
seems the same using conservative with freq_step at 15. the first time you open the app drawer it stutters but the 2nd and 3rd times it get smoother til it doesnt stutter any more. turn the screen off and back on and its the same again.
---------- Post added at 09:25 PM ---------- Previous post was at 08:59 PM ----------
flashed to stunner and the stutter is even more noticable.

[Q] Incredible S ROMs and battery life

First time posting here. And first time user of custom ROMs.
I recently unlocked my Incredible S and flashed VivoKat 4.4 by szezso on it. It is a nice build and most things work in beta quite well; however, I don't have permissions to post on that board to report bugs and ask other build related questions, like how is battery life compared to other ROMs.
I noticed I barely get 1 battery charge per day, whereas I used to get 2 days with my old gingerbread.
So I was wondering if I should go with an older ROM, feature complete, that might have better battery life. If so, which build do you recommend?
Thanks
PS: to the guys on the VivoKat thread (since I can't post there), here are some of the bigger bugs I found:
- microphone doesn't work on speaker mode
- physical buttons don't work if you disable touch-vibration on them
- main screen icons/shortcuts disappear from time to time if the apps crash
Question:
- to install today's update of VivoKat do I need to wipe everything (all data) and flash the new version, or can I update without wiping everything clean?
- I have the full "ROM manager" app, but it doesn't find updates for this build. Will that be available at some point?
(I really like the look of 4.4 on this custom ROM so it's be nice to help out with finding bugs - good work szezso)
goodrix said:
First time posting here. And first time user of custom ROMs.
I recently unlocked my Incredible S and flashed VivoKat 4.4 by szezso on it. It is a nice build and most things work in beta quite well; however, I don't have permissions to post on that board to report bugs and ask other build related questions, like how is battery life compared to other ROMs.
I noticed I barely get 1 battery charge per day, whereas I used to get 2 days with my old gingerbread.
So I was wondering if I should go with an older ROM, feature complete, that might have better battery life. If so, which build do you recommend?
Thanks
PS: to the guys on the VivoKat thread (since I can't post there), here are some of the bigger bugs I found:
- microphone doesn't work on speaker mode
- physical buttons don't work if you disable touch-vibration on them
- main screen icons/shortcuts disappear from time to time if the apps crash
Question:
- to install today's update of VivoKat do I need to wipe everything (all data) and flash the new version, or can I update without wiping everything clean?
- I have the full "ROM manager" app, but it doesn't find updates for this build. Will that be available at some point?
(I really like the look of 4.4 on this custom ROM so it's be nice to help out with finding bugs - good work szezso)
Click to expand...
Click to collapse
That's the actual battery life. With each new android version, you have a lot more processes running in the background. A lot more Google processes too
It should be ok to just flash the update, but if you run into bugs, don't report them as developers don't have a way of telling whether its from issues caused from dirty flash or from the actual ROM itself.
No it will never be available in the ROM manager app. ROM Manager does not search XDA for ROMs and VivoKat is ported by Szeszo personally.
Thanks.
That answers my questions.
And battery life improved after turning off "Location"
You can also log-out from different accounts such as fb, and so one. some of apps are eating battery. For example some email clients...
moreover, you can turn off wifi
you use Vivokat as your daily driver, that one seems still in beta stage
according to my search, i have see many kernel of the ROM is overclock feature.
but the overclock is power consumption.
for now i have using the cyanvivo,
i de-overclock his GPU and it seems become normal.
otakux said:
according to my search, i have see many kernel of the ROM is overclock feature.
but the overclock is power consumption.
for now i have using the cyanvivo,
i de-overclock his GPU and it seems become normal.
Click to expand...
Click to collapse
Overclocking uses more battery because of both freq and voltage
Simple equation is this
Power used= freq * voltage^2
So if you lower the voltage to the same as the prev max freq, then you will be using more power still. Just fyi cause I don't think it's ever been brought up around here
Sent from my HTC One using XDA Premium 4 mobile app
poondog said:
Overclocking uses more battery because of both freq and voltage
Simple equation is this
Power used= freq * voltage^2
So if you lower the voltage to the same as the prev max freq, then you will be using more power still. Just fyi cause I don't think it's ever been brought up around here
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
according to my test, i just lower the frequency to the normal.
and it actually consume less power.
so de-overlock is work for me.
otakux said:
according to my test, i just lower the frequency to the normal.
and it actually consume less power.
so de-overlock is work for me.
Click to expand...
Click to collapse
Voltage changes should make a lot of difference too. But not as evident on the vivo as on big quad core snapdragons
The Gpu oc is not really overclock, it's forcing to 245mhz to up performance
Sent from my HTC One using XDA Premium 4 mobile app
i did not explain my kernel.
the kernel that i using is default overclocking.
my work just tweak it to the normal.
before tuning, in idle situation, one day could consume a battery.
after tuning, a battery could use more than one day.
i just want it back to normal.
i do not know that it is really OC, but according to my test.
the frequency is actually higher that it default.
up to 353Mhz, default is 245M.
so i could sure it is overclocking.
this data is collected in it's kernel, the real runtime data.
otakux said:
i did not explain my kernel.
the kernel that i using is default overclocking.
my work just tweak it to the normal.
before tuning, in idle situation, one day could consume a battery.
after tuning, a battery could use more than one day.
i just want it back to normal.
Click to expand...
Click to collapse
Ahh, so you've got the stock acpuclock freq table I get it
You have git public so we can understand?
Sent from my HTC One using XDA Premium 4 mobile app
poondog said:
Ahh, so you've got the stock acpuclock freq table I get it
You have git public so we can understand?
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
my work just tweak back the GPU, not CPU.
i am still think that i need to tweak the CPU back to normal or not.
because i did not ask the author that i could post or not.
now the code just store in my computer.
---------- Post added at 12:22 PM ---------- Previous post was at 12:17 PM ----------
this is the original kernel that i used.
tesco kernel
https://github.com/szezso/T.E.S.C.O-kernel_vivo
otakux said:
my work just tweak back the GPU, not CPU.
i am still think that i need to tweak the CPU back to normal or not.
because i did not ask the author that i could post or not.
now the code just store in my computer.
---------- Post added at 12:22 PM ---------- Previous post was at 12:17 PM ----------
this is the original kernel that i used.
tesco kernel
https://github.com/szezso/T.E.S.C.O-kernel_vivo
Click to expand...
Click to collapse
kernel code is GPL, if you got it from a publicly available source then no permissions really needed
If you come up with anything that you think may be beneficial.. maybe me or @szezso can work on integrating it or you can post it somewhere
poondog said:
kernel code is GPL, if you got it from a publicly available source then no permissions really needed
If you come up with anything that you think may be beneficial.. maybe me or @szezso can work on integrating it or you can post it somewhere
Click to expand...
Click to collapse
OK, i will.
the most benefit thing to me for now is to create other branch that did not overclock the GPU.
it will help solve the battery consume problem.
And split the kernel version, i need to manually search commit to find the cm 10.2's kernel.
otakux said:
OK, i will.
the most benefit thing to me for now is to create other branch that did not overclock the GPU.
it will help solve the battery consume problem.
And split the kernel version, i need to manually search commit to find the cm 10.2's kernel.
Click to expand...
Click to collapse
Coolies
The CM 10, 10.1, 10.2, 11 kernels are built from the same source
poondog said:
Coolies
The CM 10, 10.1, 10.2, 11 kernels are built from the same source
Click to expand...
Click to collapse
yes, but now the newest master is a beta version branch.
building that kernel will causing error.
you maybe need to post which the commit url that the cm version is using
by the way, i also patch another new feature in my kernel.
otakux said:
yes, but now the newest master is a beta version branch.
building that kernel will causing error.
you maybe need to post which the commit url that the cm version is using
by the way, i also patch another new feature in my kernel.
Click to expand...
Click to collapse
Maybe the git is not up to date, have not tried compiling his CM kernel, or any vivo kernel for that matter for MONTHS
What is the error? And what is this feature
poondog said:
Maybe the git is not up to date, have not tried compiling his CM kernel, or any vivo kernel for that matter for MONTHS
What is the error? And what is this feature
Click to expand...
Click to collapse
i have compile the newer code.
the error is after boot, nothing show on the screen.
feature is about disk IO, know as BFQ.
it could use just by apply patch, no need to change code by manually
otakux said:
i have compile the newer code.
the error is after boot, nothing show on the screen.
feature is about disk IO, know as BFQ.
it could use just by apply patch, no need to change code by manually
Click to expand...
Click to collapse
Oh nice. I do have the best results on my One with fiops, deadline, row though
poondog said:
Oh nice. I do have the best results on my One with fiops, deadline, row though
Click to expand...
Click to collapse
yep, but according to my linux desktop test, bfq is more better than cfq.

[Kernel] Deported / Stockish: Issues, Reports, & Configuration

This is the support thread for the T-Mobile / U.S. Cellular variant of the StarKissed Note 4 kernel.
This kernel currently supports all North American carriers through the use of specialized release packages that will detect your device version and make appropriate adjustments.
Kernel Development Thread:
http://forum.xda-developers.com/showthread.php?t=2915824
Direct installation available via Flashify (for root users) - Android Apps on Google Play
Heimdall with the S5 patch is needed to flash from a computer. Odin cannot flash this kernel.
Additional information for T-Mobile / U.S. Cellular variant:
Potentially Unavailable:
Potentially Unsafe:
Incomplete / Inactive:
Courtesy of the Sprint thread:
egodriver07 said:
OK, I've tried everything, time to ask for help. I've used quite a few kernel tuning apps, including your own, and no matter what i try, my settings won't restore on boot for one, and two, no matter what I set my min/max CPU to it will randomly jump back up to 1728 Min and 2803 Max and change my governor to interatcive. I'll notice my battery draining quicker, that's when I catch it and adjust it down. What am I doing wrong?
Sent from my SM-N910P using Tapatalk
Click to expand...
Click to collapse
Misterjunky said:
Hi twistedumbrella
I have a question.
Is there any benefit whatsoever in flashing any custom
kernels if the user never plans to modify or change any
of the default settings in the custom kernel?
If it's beneficial to flash a custom kernel without changing
any of the kernel's default settings what are the benefits?
Thanks!
Click to expand...
Click to collapse
The advantage to a custom kernel is the updated code. Even if defaults are left as is, they are not necessarily stock features. Stock kernels are only released with firmware updates, so a lot of the Linux updates can take a long time to arrive. Sometimes the carrier or manufacturer may not even perform Linux or upstream updates, only what it took to match any system changes.
Custom kernels often include additional battery saving or performance updates from the community. These updates may never be officially submitted. These updates may also be too specialized for the "general" kernel most manufacturers maintain, so they are intentionally bypassed.
Configuration is personal preference based on intended use. There is no benefit to using defaults other than lack of desire to customize. The defaults are generally what will be just enough of a starting point for everyone to easily tweak it to their desires, not necessarily what is best.
I configure my defaults based on averages. Some use what they consider the best overall setup for typical usage. Some aim for a specific usage scenario. I have to reconfigure the settings when I install because the defaults don't fit how I use the device (testing games for class projects).
It really is about finding what works for you even by trial and error.
On boot.tmo.11-08-2014_22.12.img
Can't change clock freq values at all. max and min stays at 1.498 GHz at all times.
Same issue is there a way to fix or should I just revert to an older kernel
seriousneo said:
On boot.tmo.11-08-2014_22.12.img
Can't change clock freq values at all. max and min stays at 1.498 GHz at all times.
Click to expand...
Click to collapse
nique0201 said:
Same issue is there a way to fix or should I just revert to an older kernel
Click to expand...
Click to collapse
It's being fixed. It was an issue with the defaults for umbrella_core. Temporary solution is to change governors.
Its stuck for me with every governor...... Just reverted... Anyway this kernel doesn't have BFQ... What's the next best scheduler for HD video recording.. Or are any if the included schedulers based off bfq? I just want to assign it as my SD cards scheduler because that's where I record everything .
nique0201 said:
Its stuck for me with every governor...... Just reverted... Anyway this kernel doesn't have BFQ... What's the next best scheduler for HD video recording.. Or are any if the included schedulers based off bfq? I just want to assign it as my SD cards scheduler because that's where I record everything .
Click to expand...
Click to collapse
CFQ is the closest. I forget if that was already built in. If not, row.
I will second Confirm the stuck govs and clock issue I get 1.4 low and 2.6 high and nothing changes no matter what app I use, also had 2 uncommanded reboot with screen off. Rolled back to previous one.
Compusmurf said:
I will second Confirm the stuck govs and clock issue I get 1.4 low and 2.6 high and nothing changes no matter what app I use, also had 2 uncommanded reboot with screen off. Rolled back to previous one.
Click to expand...
Click to collapse
Confirmations aren't needed when issues are already being addressed. If you are worried nothing is being done, here is a summary of my morning:
32bc62f89416ca66c6ad5c7d1c369540da47edfa
hardlimit: Clearer comparison to base definitions
9bdd4cf3fc402ab31867b262369cfeb581a3110f
Build: Cleanup .orig files when initiating builds
614697abf3ac21bfe1682ec5e0c67f545af1ea35
Linux 3.10.1
7411a44bf9e63e1a678461f9489a7b82b12c831b
Linux 3.10.2
5a0a353611bf3c225c0b8dbc31d1753f49d2b03a
Linux 3.10.3
daa76fd53838d19e54870e0490f044ee1d2b77f2
Linux 3.10.4
604d95229a2fe25533228e003d9221aadb5bf18f
Linux 3.10.5
668f731fd1dad78a2fbd7f3965bee42624782acb
cpufreq: Fixes for Linux 3.10.5, hardlimit
I'm testing the fixes now. There will be a slight delay because Sunday is a recurring project deadline for my degree, but something will be available later on
Lol, not worried at all. Your time and your life come first. Glad with your school project. College can be rough
Compusmurf said:
Lol, not worried at all. Your time and your life come first. Glad with your school project. College can be rough
Click to expand...
Click to collapse
It's just a lot of busy work. Since it's online, we have to record presentations, record an explanation of all our changes, demonstrate the code in action, talk about plans, etc.
After all that I have to question why I had to submit an outline, repo, and binary. It's not like they're going to read the book when they can watch the movie instead.
Pushing an update now that appears to have resolved the issue. It was not the governors at all. Like any other frequency or screen issue thus far, it was hardlimit
I understand completely. I have an IT degree and been working in IT professionally since 1987. It has served me well so far.
After a lot of digging for where something is setting 1497600 (1.49) because the one place I had has long since been removed, I came across:
Code:
#define MIN_TOUCH_LOW_LIMIT 1497600
in cpufreq.h which is part of the stock kernel code. This is used to make sure that when the screen is being used, the CPU ramps up enough to make sure touch is smooth. That is NOT something I added into the kernel. Hardlimit added the capability to adjust these values, but they are still being set by waking the phone.
Anyway, the point is that I am doing what I can to resolve them getting "stuck" on this value, but the purpose of this post is to say that it may still be a "favored" value, but that is just how Samsung intended it.
custom kernel
WHY does this kernel go makes my cpu only go from 1497 MHz to 2457 MHz???
Even if I change the frequency of the cpu to max 2.8 GHz and min 268 MHz, it stays from 1497 and 2457MHz.
y11ohan said:
WHY does this kernel go makes my cpu only go from 1497 MHz to 2457 MHz???
Even if I change the frequency of the cpu to max 2.8 GHz and min 268 MHz, it stays from 1497 and 2457MHz.
Click to expand...
Click to collapse
It hates you. It obviously isn't any of the huge discussion in the main development thread or this one if you still had to ask, so that's the only other answer I can come up with.
-_-
twistedumbrella said:
It hates you. It obviously isn't any of the huge discussion in the main development thread or this one if you still had to ask, so that's the only other answer I can come up with.
Click to expand...
Click to collapse
Omg just LOL so sorry :/
y11ohan said:
Omg just LOL so sorry :/
Click to expand...
Click to collapse
It hates me as well.Lmao
Sent from my SM-N910T using XDA Free mobile app
---------- Post added at 06:53 PM ---------- Previous post was at 06:05 PM ----------
Can anyone confirm if the stock builds are working better than the deported builds. Thanks In advance!!!
Sent from my SM-N910T using XDA Free mobile app
xda23 said:
It hates me as well.Lmao
Sent from my SM-N910T using XDA Free mobile app
---------- Post added at 06:53 PM ---------- Previous post was at 06:05 PM ----------
Can anyone confirm if the stock builds are working better than the deported builds. Thanks In advance!!!
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Ouch. That is like "can anyone verify this developer is worthless?"
Anyway, there is an untested update being pushed. The untested part should fix the frequency issue. It's untested because the change is swapping two lines. High was getting written to low and low to high. The result was everything reading invalid and defaulting to mid.

Categories

Resources