yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] jlee08517:
I wanted to give more details but it was just really hard for me to describe the issue. It just seems like there is more empty space around the edges between where it is actually lit to the end of the panel. Like dark lines. I'll try to nandroid back and observe more throughly.
[G2 Original Android Development] JRJ442:
Yeah give that a try, but I haven't seen a difference. There is a black line around every edge of the display but that's always been there. That's just the way the device is made. I don't think a kernel would cause pixels around the outer edge to not light up anyway
[G2 Original Android Development] Reginald476:
Well, I have to say 0.1.3 on LiquidSmooth Beta 3 makes me remember the difference I felt coming from the GNex to the G2 great work.

I am using OnDemandPlus and bfq, those are my only changes.
[G2 Original Android Development] savoca:
Yeah that's impossible, if that were the case you would see white around the edge of the ui, since the backlight is white.
[G2 Original Android Development] jlee08517:
Thank you. Idk why I felt it that way. Just checked with nandroids. They Seemed to be the same. Sorry for this.
[G2 Original Android Development] crazysoccerman:
Can the rom override the kernel settings when it comes to thermal throttling and restarting due to temperature?

I'm on the stock 12b verizon rom and it keeps throttling the cpu, then throws up a temperature warning, then reboots once it gets into the high 70s, regardless of the intelli-thermal control (on or off).

I would go with a custom rom, but they are all kit kat which doesn't work well with flash player (even the modded one).

I don't consider my phone truely android without a fully functional flash player.

Is there anything in the system folder I can modify to prevent the rom from overriding kernel temperature settings?
[G2 Original Android Development] murdoch1:
Blisteringly fast

OMG... running maadi ROM with this kernel and boy what a difference. Fan dabi dozee...:laugh::laugh:
[G2 Original Android Development] dahi:
Thank you [MENTION=4316709]Savoca[/MENTION], very good kernel.
[G2 Original Android Development] matheus_sc:
I said the same Very good kernel, inteligplug ia something I want for Very long time
[G2 Original Android Development] SnakeHaveYou:
Jeez! My G2 sleeps as a baby with your kernel!
[G2 Original Android Development] volcom000:
Speaker and headphone sound is really toi high on my D802 with the latest 0.1.3 ! Even with all gain set to minimum with FauxSound app :/

But in termes of performance it's all good :)

Thanks !
[G2 Original Android Development] provolinoo:
is the volume too high even if you flash the kernel without using fauxsound app? I mean just flashing the kernel and using it at default settings.
[G2 Original Android Development] Lazy79:
I'm not sure but when I've flashed the latest version and started faux sound, the values were already changed and partly not good. Afterwards I've noticed that the values I've set did not stick permanently. Same behavior I've noticed with peak kernel and faux sound stuff. In contrast, the other implementation in the previous 0.1.2 version had not such an hm automatically changing of the sound values. That's why I've flashed the previous version again because I'm using headphone very much every day and I don't like changed values for microphone etc. That said, I want to add that under consideration that peak also produces the same auto changing of sound values here with cm11 it seems related to the patches for faux sound (or cm11 on the d802). At least here on my device. I dunno if others are experiencing the same behavior. Beside this, the recent version has been really great.
[G2 Original Android Development] bluntman420:
Well obviously I missed it, but thanks for the reply :D
[G2 Original Android Development] provolinoo:
what about using viper4android to manage sound instead of faux? it gives impressive results if properly configured ;)
[G2 Original Android Development] ZeNiXxX:
thanks man. My device sleeps like an baby :D. 1% down in 5 - 6 hours at night. And it's totally smooth.

One question should i remove device control from /system/priv-app ? That solves the knock on problem in your previous version.
[G2 Original Android Development] Lazy79:
Well, indeed. VIPER Sound gives the phone a real good sound if it's well configured (let's forget about the speaker when using cm11.. at least, I'm not able to get proper sound over the mono speaker with cm11 here..). However, there's a small difference between viper sound config / driver and the two sound patches (Franco/Faux). Of course, one is able to raise the volume (output gain) by using viper sound/mod .. but it's still not the same. While I've to say that I'm still going to a lot of concerts every year, I've to add that I (while probably just needing it now; I'm getting damn old lol) simply enjoy loud music (headphones) when doing my sports and stuff every day. But back to topic.. in case the sound settings for / in the faux sound implementation doesn't stick and aren't set to zero (0) - won't they interference with the viper sound settings? They should interfere with every sound output (even input / microphone) if they don't stick zero for every value. As said, I never experienced such a behaviour on my devices with faux sound. It's just my d802 (cm11) when using a kernel with the faux sound patch (e.g. peak). I dunno why.. the franco implementation was fine. I looked up some logs but there's not much. I can't even say why the values don't stick forever or when they're changing themselves without my interaction. While I don't care much because I can use 0.1.2 or setback the settings when I'm going to do my stuff, I simply wonder.. I can't be the only one with such a behavior lol I could use viper (what I do on my Flo) but if the settings don't stick, I guess there's not much sense to configure viper for my personal favourite settings because theres no off-switch for faux sound changes and they aren't always at zero. And excuse my English. Long text, old Guy :)
[G2 Original Android Development] SimsDelt:
I'm confused a little. I'm running Carbon (kit Kat) on my VS980. Can I flash the file in the OP fine or is there something else I have to do? I need it Loki'd I know that much.
[G2 Original Android Development] NOUFELP:
Yes, simply flash the right file. Just ensure you have latest recovery (any one but TWRP has been consistently good for G2). Enjoy :thumbup:
[G2 Original Android Development] SimsDelt:
Haha. I flashed with TWRP 2.6.3.3 when I saw there was Loki files inside the zip. Figured worst case I just get to recovery and reflash a nandroid if something went wrong. Seems solid so far though.
[G2 Original Android Development] volcom000:
Yes... I've used FauxSound app tout try to reduce the volume without success... Still too high !
[G2 Original Android Development] simpsonr:
Hello, I'm attempting to incorporate your kernel source into my personal rom builds (carbon, vs980).

I've modified the kernel line in roomservice.xml file to read like this:

<project name="savoca/android_kernel_lge_msm8974" path="kernel/lge/msm8974" remote="gh" revision="cm-11.0" />

I'm getting errors when I attempt a build... Not sure what needs to be done to make a successful build. Do I need to be specific somehow regarding my device?

This is the error I'm getting:

Device TableGen (gen-pseudo-lowering): libLLVMMipsCodeGen <= external/llvm/lib/Target/Mips/Mips.td

LD drivers/usb/gadget/g_android.o

Device TableGen (gen-asm-writer): libLLVMMipsCodeGen <= external/llvm/lib/Target/Mips/Mips.td

LD drivers/usb/gadget/built-in.o

Device TableGen (gen-dag-isel): libLLVMMipsCodeGen <= external/llvm/lib/Target/Mips/Mips.td

LD drivers/usb/built-in.o

Device TableGen (gen-callingconv): libLLVMMipsCodeGen <= external/llvm/lib/Target/Mips/Mips.td

Device TableGen (gen-subtarget): libLLVMMipsCodeGen <= external/llvm/lib/Target/Mips/Mips.td

Host TableGen: libLLVMMipsCodeGen (gen-intrinsic) <= external/llvm/include/llvm/IR/Intrinsics.td

Device TableGen (gen-disassembler): libLLVMMipsDisassembler <= external/llvm/lib/Target/Mips/Disassembler/../Mips.td

Device TableGen (gen-instr-info): libLLVMMipsDisassembler <= external/llvm/lib/Target/Mips/Disassembler/../Mips.td

make[2]: *** [drivers] Error 2

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/home/gitanO0/carbon/kernel/lge/msm8974'

make: *** [TARGET_KERNEL_BINARIES] Error 2

make: *** Waiting for unfinished jobs....

real	16m17.754s

user	90m15.844s

sys	14m33.546s

gitanO0@stampede ~/carbon $
[G2 Original Android Development] switchgott:
Which are your settings only loose 1% in 6 hours??
[G2 Original Android Development] r03ter:
[MENTION=4316709]Savoca[/MENTION], 2 logcat one for the music and the other one for major bugs like LAG and FC

https://mega.co.nz/#!7BUmjKQa!lSHQrwFpQv0Lf6ZvrKmmHtg1wImpuKdCHEyznmnMtVg

r03ter - LG F320S
[G2 Original Android Development] savoca:
Can you re run that with a -j1 for a cleaner, smaller error output?
[G2 Original Android Development] simpsonr:
sure... hold on.
[G2 Original Android Development] zeddys:
Flashed this kernel on pa ROM by Houston 28 build. There is in call echo for the other person. Reverted back now.
[G2 Original Android Development] MaluNoPeleke:
Could anyone modify the ramdisk to insert the su binary from SlimBean to this kernel so that it is possible to flash it and keep root without flashing SuperSU?

Would be great because I failed while trying to achieve that on my own...
[G2 Original Android Development] chrisexv6:
+1

I have intelli everything but couldn't get such low idle drain overnight
[G2 Original Android Development] simpsonr:
LD drivers/switch/built-in.o
CC drivers/thermal/thermal_sys.o
CC drivers/thermal/intelli/msm_thermal.o
Assembler messages:
Fatal error: can't create drivers/thermal/intelli/.tmp_msm_thermal.o: No such file or directory
/home/gitanO0/carbon/kernel/lge/msm8974/drivers/thermal/intelli/msm_thermal.c:605:1: fatal error: error writing to -: Broken pipe
compilation terminated.
make[4]: *** [drivers/thermal/intelli/msm_thermal.o] Error 1
make[3]: *** [drivers/thermal] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/gitanO0/carbon/kernel/lge/msm8974'
make: *** [TARGET_KERNEL_BINARIES] Error 2
gitanO0@stampede ~/carbon $
[G2 Original Android Development] savoca:
What toolchain are you using?
[G2 Original Android Development] SnakeHaveYou:
The CPU freq bumps to 2496MHz, even if i limit to 2265MHz.. This seems to happen randomly, but i don't know if it's a Kernel or ROM (Omni) issue..

Something overrides the Performance Control settings
[G2 Original Android Development] NateK:
This happens to me too - running on Mahdi
[G2 Original Android Development] chrisexv6:
Running this on Dirty Unicorns latest build....very occasionally getting the screen waking up right after going to sleep. Then the next time it goes to sleep it stays that way.
[G2 Original Android Development] darkobas:
doubt its the kernels fault
[G2 Original Android Development] chrisexv6:
I've only ever seen the issue with one other ROM and the ROM Dev said it was a kernel issue.

I didn't have this issue on 0.1.2 I don't think but I wasn't running it very long before 0.1.3 was released
[G2 Original Android Development] savoca:
You guys want a non-oc build or would you like to test a build for capped 2.26 for me?

Since I can't recreate that on my end.
[G2 Original Android Development] Payton95:
I would give a non-oc build a try. :)
[G2 Original Android Development] SnakeHaveYou:
It's not a bad idea to get a non-OC version, at least until the ROM devs fix the bump "issue". I only realise that i'm on 2.5GHz (and not 2.2GHz anymore) when my G2 becomes hotter in Chrome..
[G2 Original Android Development] nfin1te:
Not having this problem here... latest CM11 nightly.

Limits fine at 2,2
[G2 Original Android Development] savoca:
It allows for undervolting and overclocking.
[G2 Original Android Development] Demonlinx:
How would i go about doing this? And can you point out some literature on guidelines that i should follow when doing this?
[G2 Original Android Development] RubbleTea:
Try using Trickster mod from play store...gives you kernel control

Also don't forgot to set on boot if you want settings to stick...after rebooting obviously
[G2 Original Android Development] savoca:
Here's a guide on undervolting and overclocking.

http://xdaforums.com/showthread.php?t=1558080
[G2 Original Android Development] mistermidas:
What is powersuspend? Never heard of that before
[G2 Original Android Development] Demonlinx:
Thanks.
[G2 Original Android Development] lowpro3210:
definitely not being lazy by ANY means, I already read the guide for overclocking and undervolting, but since we all have the same phone LS980, and we are using the only modded kernel for our phones up to date; wouldn't a set list of settings be the same and work? thanks for the amazing kernel...OR if someone would like to post their settings and I could give a whirl, that would be tremendous.

LS980 StockZV8-Deodex with this badass kernel :)
[G2 Original Android Development] savoca:
https://github.com/faux123/Galaxy_Note_3/commit/6369c6d8759b6018f257c408f21e80bd28821119
[G2 Original Android Development] AKfortyseven:
How does that compare to stock?
[G2 Original Android Development] mistermidas:
That tells me what it is...but i still don't really understand whats it's purpose. Call me slow right now. ..but can u just gimme a quick sentence or 2 about what it actually does and how it helps?
[G2 Original Android Development] lowpro3210:
+1

I too am slooooooow :(
[G2 Original Android Development] Demonlinx:
When i click the link in op it still links to .0.0.1.. its this a typo or bad link?
[G2 Original Android Development] slowfncar:
Damnnnnnnn this **** is fast wtf. I would rather underclock it haha. Thanks for your efforts,my little ass phone now has a faster download speed than my quad core laptop
[G2 Original Android Development] lowpro3210:
Nope, it's right, I downloaded the new version 0.0.2 about an hour and a half ago.

---------- Post added at 01:18 AM ---------- Previous post was at 01:10 AM ----------

LOL; did you do any tweaking yourself as far as UV/OC or just switched to new kernel?

I also froze all the bloatware suggested from http://xdaforums.com/showthread.php?t=2521066 and WOW; it's sooooo FAST. The list of bloatware is A LOT, I froze EVERYTHING on the list and it's incredible!

---------- Post added at 01:28 AM ---------- Previous post was at 01:23 AM ----------

---------- Post added at 01:23 AM ---------- Previous post was at 01:18 AM ----------

I'm sure your phone is hitting Ludicrous speed like this LOL https://www.youtube.com/watch?v=ygE01sOhzz0 is there ANYWAY you can post your information from your LG G2 ;) ITS SOOO FAST, ITS SCARY
[G2 Original Android Development] slowfncar:
Actually i do not know what happened. I flashed kernel,wipe,install trickster mod,reboot. I was getting linpack scores of 1350, turned screen off then back on and now i score 200-400 multi-thread. Not sure what im doing wrong but i also noticed it started lagging after the screen turned off. So i rebooted again and im at 2.3ghz with trickster uninstalled. Not sure why i cant get it to work right. Are you guys using trickster mod also?

*edit stuck with linpack at 400-500mflops? Stumped. Not sure if anyone els is having this issue but if i figure it out ill report back
[G2 Original Android Development] savoca:
Early suspend is a way for the kernel to turn off services causing wakelocks like the sensors/lcd/etc after the device has been put to sleep. Late resume is basically just bringing those services back up.

Early suspend/Late resume have been deprecated, so powersuspend is the replacement.

Also it was required for fsync.
[G2 Original Android Development] Demonlinx:
Should i reset my undervolting and ocverclocking before flashing updated kernel?
[G2 Original Android Development] savoca:
Just make sure nothing is set on boot and you're good.
[G2 Original Android Development] Ascertion:
Anyone know what's different between v1 and v2? Running v1 now and it's pretty good.

Sent from my LG-LS980
[G2 Original Android Development] savoca:
fsync, bfq, fiops, and powersuspend.
[G2 Original Android Development] dr87:
It is always displayed as 2.2ghz in settings. If you set 2.2ghz and turn on logcat or the cpu overlay in dev options you will see the thermal manager sets the cpu up to 2.5ghz when it reaches max load no matter what you lock as max. So its not noticeable by people not looking for it, but indeed it just goes to the max possible on every rom i tried
[G2 Original Android Development] nfin1te:
i use trickstermod to check, not settings.
[G2 Original Android Development] dr87:
This is why, you aren't debugging it you are checking the settings

If you debug the cpu speed with logcat you will see it being ramped to 2.5

Quick example, appears to be sticking 2.2 in tricker

But look at the logcat when we put on some load

E/ThermalEngine( 237): ACTION: CPU - Setting CPU[3] to 2496000
[G2 Original Android Development] nfin1te:
i meant this infoscreen. or isnt it reliable, meaning its still possible that the cpu goes up to 2.5?

View attachment 2549730
[G2 Original Android Development] dr87:
It doesn't seem reliable, here is exactly what I am talking about, hopefully it will help explain what people are talking about

Here

You can see in the debug overlay at the top right the speed is at 2.5 but it is still listed as an unused state. Logcat says the same. So it is hard to catch unless you look for it.

this is setting 2.2 maxed
[G2 Original Android Development] Lawlrus:
Its normally not a kernel issue. Have you gone into recovery and wiped cache and dalvek?

Sent from my Vs980
[G2 Original Android Development] SnakeHaveYou:
With Performamce Control 2.1.9, the CPU wont go beyond 2.2 (in the overlay), even if i close the app, but after some time (hours), the CPU bumps to 2496MHz again
[G2 Original Android Development] dr87:
I've seen this also, only sometimes just screen off and back on seems to bump to 2496, its inconsistent to reproduce but usually it doesn't stick long
[G2 Original Android Development] Lawlrus:
I flashed this kernel a few days ago on cm11, and wasn't too impressed. I got some sod's and started getting a constant phone ui force close.

I just flashed this with the first official carbon ROM that dropped, switched to art, and I gotta say this kernel is fast as hell. Everything is smooth as I've ever seen.

Awesome job. Your aosp kernel is really starting to look pretty damn awesome.

Sent from my Vs980

---------- Post added at 08:29 PM ---------- Previous post was at 08:16 PM ----------

Op you have a suggestion for settings for good battery life? Or just use stock settings?

Sent from my Vs980
[G2 Original Android Development] jasondowning85:
ROM whore...
[G2 Original Android Development] Lawlrus:
I HAVE A PROBLEM OKAY?

Haha its funny because I was on dhos before I saw carbon finally went official today, so I had to flash

But I tell you what, I'll be going right back to it here in about twenty minutes if I don't stop losing 1% battery every five minutes lol

Sent from my Vs980
[G2 Original Android Development] toxa24:
Can you link to that dhos rom, I can't find it. Thanks
[G2 Original Android Development] Lawlrus:
Sent a pm

Sent From My Vs980
[G2 Original Android Development] bjc112:
I'm running on demand plus with nice results.

Thanks for the kernel OP. Looking forward to your continued progress!
[G2 Original Android Development] dave_k605:
This can't be flashed like normal? I'm on cm
[G2 Original Android Development] manhgioiandroid:
will any f320l kernel version will be showed up here?
[G2 Original Android Development] savoca:
Thanks for testing with me [MENTION=5232783]dr87[/MENTION]

ThermalEngine clocking beyond max is gone.

Expect an update in the next day or so.
[G2 Original Android Development] nfin1te:
what i noticed with 0.1.3 and the latest cm11 nightly was, that intelliplug doesnt shut down unused cores properly. so all cores remain at 300mhz. as soon as i enable mpdecision again, theyre offline instantly. (checked with fauxclock). can anbody confirm?
[G2 Original Android Development] savoca:
No issues here, on either setting.
[G2 Original Android Development] darkobas:
Works fine for me too
[G2 Original Android Development] Reginald476:
I know you use the 4.7 toolchain, just wanted to add my input here, I tried to build this into LS 3.0 and was having issues with the 4.8 toolchain.
[G2 Original Android Development] savoca:
Try 4.6 from the ndk.
[G2 Original Android Development] simpsonr:
I don't have an answer for that. How can I tell? Are you asking about a version number? 4.7? 4.6? etc...?
[G2 Original Android Development] savoca:
It would be whatever you set your cross compiler to..

export CROSS_COMPILE=/home/user/toolchains/android-eabi-4.7/bin/arm-eabi-

Or something like that.
[G2 Original Android Development] simpsonr:
Ok. I'm not an AOSP dev... just a runt who builds his own and makes minor tweaks. Will take a look at that tho.
[G2 Original Android Development] DerSpatz:
Bump for a non-OC version of this great kernel!
[G2 Original Android Development] nfin1te:
I think i found what the problem was.

Disabling the dual core eco mode was the solution.

Now cores shut off with intellidemand aswell.
[G2 Original Android Development] bluntman420:
[MENTION=4316709]Savoca[/MENTION], I know you say thermal is being handled correctly and that is pretty much what every dev has said but I don't think thats the case. If i set thresholds to 90c (which is perfectly safe as the SOC will shutdown at 120c) i see throttling WAY before that.

Is there a way to disable cpu,gpu,battery (All Throttling) for testing purposes?
[G2 Original Android Development] savoca:
Fixed the issue with max clock being pushed to 2.5ghz regardless of what was set.

Intellithermal is set on by default to substitute thermal engine. And it does well in my opinion.

Default governer is now interactive.

Everyone has different habits when using their device, hence why I may not experience the same things as you. Give this update a try, thermal control has been largely effected.
[G2 Original Android Development] chrisexv6:
If I'm using trickster for kernel settings do I need to wrote and reload the settings each time I flash the kernel?

I know the app prompts me about the new config.... just wanted to make sure using the same config won't override anything new in the kernel
[G2 Original Android Development] savoca:
Should be fine to keep the config.
[G2 Original Android Development] chrisexv6:
Thanks.

Just an FYI I'm getting a lot of sods on the newest version using same settings as before. Other versions were stable for each day they were out but this one was soding within an hour of install. Dirty unicorns ROM on vs980
[G2 Original Android Development] bjc112:
I flashed the latest on D801 and my temp were staying around 60c.. Couldn't get CPU usage to drop. Reverted back to . 3.. I had to jet to work so I will reflash and try again.

---------- Post added at 09:53 AM ---------- Previous post was at 09:49 AM ----------

Just reflashed and it was still running high cpu usage.. Disabled intelli thermal and it dropped right down...
[G2 Original Android Development] SkdnSn:
Running intelliplug with intellidemand and -50mHz across the board and it's in deep sleep the moment I turn off my screen :thumbup:
[G2 Original Android Development] chrisexv6:
Jealous of you guys with your nice binned CPU. Mine doesn't seem stable even at default voltages
[G2 Original Android Development] SkdnSn:
Mine isn't stable at default voltages haha when they run at 775 or even 750 my phone freezes and reboots pretty often.
[G2 Original Android Development] darkobas:
-50mv, no issues on 1.4 yet.
[G2 Original Android Development] savoca:
Building a set optional kernels.

0.1.4 will remain on the OP

0.1.4b will be added shortly, this has intelli-thermal replaced by franco's thermal control

0.1.4c will follow, this will have stock thermal control, the stock thermal-engine, and overclocking disabled.