yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] switchgott:
[MENTION=535343]all[/MENTION]

Is it possible to change the voltage without vdd table?

If you look inside acpuclock-8974.c:

static struct acpu_level acpu_freq_tbl_2p3g_pvs1[] __initdata = {

{ 1, { 300000, PLL_0, 0, 0 }, L2(0), 775000, 72 },

{ 0, { 345600, HFPLL, 2, 36 }, L2(1), 775000, 83 },

{ 1, { 422400, HFPLL, 2, 44 }, L2(2), 775000, 101 },

{ 0, { 499200, HFPLL, 2, 52 }, L2(2), 775000, 120 },

{ 0, { 576000, HFPLL, 1, 30 }, L2(3), 785000, 139 },

{ 1, { 652800, HFPLL, 1, 34 }, L2(3), 795000, 159 },

{ 1, { 729600, HFPLL, 1, 38 }, L2(4), 805000, 180 },

But how can i find out, if it woks?

I there change to show inside adb the voltage table without the sys interface?

Mut i change so other parameter inside the file to get it working?

Or only lower the lines after L2(0), ??

BIG BIG thanks for help!!!
[G2 Android Development] icem237:
[MENTION=2376110]dorimanx[/MENTION]

I also notice that even with stweaks ,that if you bump up the main speaker output to 10 and I'm not playing any audio there will not be a change. If I apply the volume boost while music plays for instance it will boost up the volume but once it finishes playing and there isn't any audio for a few seconds it will revert back on its own. On my vs980 this had had happened on every version of this kernel I've tried over the months.

Its like there is a safety mechanism reverting the volume back to stock level. This is on the main speaker output.
[G2 Android Development] mazroui:
This is how it's implemented ? for now
[G2 Android Development] pw1nce:
[MENTION=2376110]dorimanx[/MENTION] , hi bro hope you are well , I have a question , can we use your kernel with Optimus g3 1.1 version? So that I may flash if we can , thanks :)
[G2 Android Development] 1ceb0x:
Yes you can.

[MENTION=2376110]dorimanx[/MENTION] - I am interested to disable (or go back to stock values) the gain volumes. I do not have access to stweaks (don't ask) and trickstermod is not working.

There must be a way to revert the gain through an init.d script. Can you provide the paths that are changed for this so I can try to make a script for my use?
[G2 Android Development] linjes:
Reflash kernel for stweaks? :eek: but you've piqued my curiosity what did you do to stweaks hahaha

Sent from my LG-D802
[G2 Android Development] 1ceb0x:
I am using an aosp version of 5.5 made by vanir maintainer Bart. But the output of anything is very loud and I don't have a way to return it to stock values... It doesn't have stweaks support yet. That's why....
[G2 Android Development] Lycidias:
Sometimes With Dorimanx 5.5 and Pardus 7.4 the screen freezes for like a minute on my d802
[G2 Android Development] Jilke:
It happens to me too, but only when playing games :)

Sent from my LG-D802
[G2 Android Development] mazroui:
Me too last night while recording a video... 8 mins in and the screen froze but under it all the cam was recording normally.

Tapped back n home couple of times with no response and suddenly system froze n took me back to locked screen waiting for knock code... Rolled back in video and found out that it recorded up to the point where the knock code locked screen was up... Strange one and this is a first time this ever happened asides from couple hickups here n there not worth reporting...
[G2 Android Development] than8:
if this the d801 20e

[IMG="D801"]https://www.dropbox.com/s/wfjp4q34nud1vuv/Captura.JPG[/IMG]
[G2 Android Development] rogconnect:
4k video? Its has time limit for recording videos.

Sent from my LG G2 LS-980
[G2 Android Development] mazroui:
720p ?
[G2 Android Development] Formhault:
What ROMs are you guys using in conjunction with this kernel? I'm asking you, thinking you probably already know what ROM is safe to use and what ROM is not (in terms of commits related to display or whatnot)...

I just found out today that the warranty I thought I have isn't valid because of one paper being shady. So I must take every precaution there is in order to not get black lines... except for staying stock, since that isn't 100% safe neither :eek:
[G2 Android Development] rogconnect:
Stop worrying about that stupid black line thing which that OP trying to pull. Just enjoy your New phone. Shxt happen happened.

Sent by my LG-G2 LS-980 CloudyG3 1.1 on TMO 4G
[G2 Android Development] AnteusFogg:
Indeed they announced the update with knock code, finally :)
[G2 Android Development] dorimanx:
Stweaks control only what is set, all the rest is not tuned or broken, maybe mod has no effect as its not ment for rom you have...

No problem to use other sound mods, they brake stweaks control, not the other way.

Sent from my LG-D802
[G2 Android Development] Formhault:
Seeing it only happened for people on AOSP ROMs (apparently), I might be lucky : all I want is LG UI with Dori kernel. With that said... what ROM do you recommend?
[G2 Android Development] rogconnect:
Just follow the crowd [emoji3][emoji3][emoji3]

Sent by my LG-G2 LS-980 CloudyG3 1.1 on TMO 4G
[G2 Android Development] dorimanx:
This was hotboot, rom freak out and rebooted, when kernel bugged, its stuck and thats all, or reboot from 0 logo, anim, rom,

All the rest is rom panic.

I cant fix that, can be caused by 1000 things...

Sent from my LG-D802
[G2 Android Development] dorimanx:
Oh, more work to do now....

I will merge it too.

Sent from my LG-D802
[G2 Android Development] AnteusFogg:
I would be ashamed if my post looked like urging you to do it. You do such an amazing job already that I wouldn't dare. As far as I'm concerned, I can totally live with your great kernel as-is until you wish to spend time on it :)
[G2 Android Development] Formhault:
Oh, right. Should've looked at the signature first, lol.

---------- Post added at 02:27 AM ---------- Previous post was at 02:26 AM ----------

:good: :victory:
[G2 Android Development] mazroui:
I don't mind it at all since it hardly happens, just wanted to share my experience. Hell I've been thru a full week without a single reboot and the phone is rock stable. The combination of ur kernel and pends ROM is simply amazing.

Could I request a small feature to be added to the stweaks app if its not a big problem dear dori ? A main switch of gain switches controlling mic gains and speaker? (On) making stweaks the controller and (off) reverting back to default for faux app to control? I've been having trouble working with both >_<
[G2 Android Development] jananan:
yup, if your knock on stops working and you are very sure its not a digitizer / hardware issue - the update touch firmware works.
[G2 Android Development] dorimanx:
i dont care. use stock then.

all the atuntu is CRAP.
[G2 Android Development] FAFE ANDROID:
I'm not saying bad from your work, your are doing your best and we are free to choose.... but is not only in antutu, quadrant to... but my question was if I was doing anything wrong, if I have to change more settings than profile?

Thanks
[G2 Android Development] dorimanx:
News update!

27/04/14

Kernel 4.3.2

ONLY for LS/VS 980 branch.

*Disabled KNOCK CODE mod to allow KNOCK ON to work.

till LG will update ROM code for ls/vs980 ROMS.
[G2 Android Development] dorimanx:
dont change any thing.
[G2 Android Development] dorimanx:
maybe is ROM bug?

as with pardus STOCK base! there is no problem. never lost root.

so i have no idea what can that be and why after installing zip via recovery all OK.!

kernel load all every boot! so if i have bug! then you should loose ROOT every boot!

but you loose root only on install! then it's RECOVERY / ROM bug not kernel.

sorry.
[G2 Android Development] justinglock40:
[MENTION=2376110]dorimanx[/MENTION] VS980 still no go with the Knock On after flashing 4.3.2.
[G2 Android Development] philsfan:
+1

confirm for vs980
[G2 Android Development] takeoff342:
Tried to update the touch Firmware?
[G2 Android Development] mandroid717:
Knock on not working after installing update. Any ideas.
[G2 Android Development] 60nine:
+1 knock on not working (d802, 4.4.2 stock)
[G2 Android Development] jananan:
not trying to incite anything here but...

if benchmark scores are what you are after, you can try going back to JB. Lightweight JB ROMs could easily score 37,000 and above - of course in terms of actual real-world performance, smoothness and resource usage of ROM, KK is better than JB.

---------- Post added at 08:52 AM ---------- Previous post was at 08:49 AM ----------

Service menu (3845#*802#), then Settings, Update Touch Firmware.

Just tap on that a few times, to be sure.

Usually a reboot is not needed, but sometimes it is needed.

---------- Post added at 08:52 AM ---------- Previous post was at 08:52 AM ----------

Service menu (3845#*802#), then Settings, Update Touch Firmware.

Just tap on that a few times, to be sure.

Usually a reboot is not needed, but sometimes it is needed.
[G2 Android Development] 60nine:
nope. still doesn't work (tried to reboot as well but nothing)
[G2 Android Development] mandroid717:
Thanks a million work like a charm
[G2 Android Development] Alleks1802:
Working good on pardus 6... Also knock code.... Gr8 work dori!!
[G2 Android Development] dorimanx:
I will fix it later, for now use 4.2

I am tired, its 4am need to sleep.

Sent from my LG-D802
[G2 Android Development] Swetnes:
Cloudyflex and the other ROMs based on stock use the international version of stock, where as AT&T's v20c/v20k is a completely different beast. In order to make a kernel compatible with AT&T it won't work on anything else and vis versa.
[G2 Android Development] Formhault:
[MENTION=2376110]dorimanx[/MENTION]

Your kernel uses the stock, LG display CAF, right? Not some newer fancy display CAF...?
[G2 Android Development] demoncamber:
Indeed, d801 is now 20E, http://www.mylgphones.com/t-mobile-lg-g2-d801bk-software-update-d80120e.html

Has anyone come across a download to the KDZ yet? Or a flashable zip?
[G2 Android Development] pqee:
Don't forget to add knock code for D803 too since the source s released yesterday. Please of course. ☺
[G2 Android Development] Mattecko99:
Been having this issue where my phone locks up; was playing clash of clans, turned the screen off, then back on a little later and my game froze, couldn't do anything. Took me a few minutes just to get my phone to shut off.
[G2 Android Development] oriveradel:
Can not wait for native knock code implemented on knew kernel/ROMs for G2

;…,
[G2 Android Development] CaptainAnd:
I was just wondering do you have plans to make this kernel compatible with AOSP roms?

I remember that you said you have plans to do that in future?

Thanks for your work.Kolay gelsin.
[G2 Android Development] suhiiii:
nope, too much work :)
[G2 Android Development] Skizzy034:
I think it's a legitimate worry. Those lines look horrible. Extremely distracting.
[G2 Android Development] jeyd02:
Hey dormí, LG has updated source for tmo knock code

http://androidcommunity.com/t-mobile-g2-finally-gets-knock-code-in-kitkat-update-20140701/

https://t-mobile.jive-mobile.com/#jive-document?content=/api/core/v2/documents/7591

Hopefully we'll see it soon
[G2 Android Development] resadent:
Hey [MENTION=2376110]dorimanx[/MENTION], can you compile your next release using -O3 flags? I've read many times it's better, that it is a myth that a smaller kernel is faster.
[G2 Android Development] shaarky:
[MENTION=3941232]jeyd02[/MENTION], just read few pages back...
[G2 Android Development] resadent:
If you are talking to me, I did and found nothing about what I posted :p
[G2 Android Development] Formhault:
There's a Galaxy S4 ROM (SlimKat) built with Sabertooth 4.8.4 and -o3 optimizations and, well... I couldn't tell much of a difference between that and official SlimKat. It felt a bit snappier, but no miracles occured, you know...
[G2 Android Development] resadent:
That might be true, but an improvement is an improvement no matter how you put it. It is just a matter of modifying a number lol.
[G2 Android Development] metalboy94:
There still are huge problems either with intelliactive or MSM hotplug. Apps often freeze and music skips when that happens.
[G2 Android Development] Diechel:
Message original from dori

Use search next time, what I did

[quote name="levizx" post=52465083]Cool, I did compile your source code with -O3 and minor changes, no apparent improvement whatsoever.[/QUOTE]

yep that i know already :) it's waste of time.

some drivers really dont like to be compiled with -O3 as this enable 10 or more other flags! i hope you know that...

kernel is bigger and functions are linear and many values are messed up.

so say NO to -O3 when someone offer to use it :)

-O3

Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -funswitch-loops, -fpredictive-commoning, -fgcse-after-reload, -ftree-loop-vectorize, -ftree-slp-vectorize, -fvect-cost-model, -ftree-partial-pre and -fipa-cp-clone options.

BIG MESS in your code...

http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
[G2 Android Development] Formhault:
^ what [MENTION=1559352]Diechel[/MENTION] said.
[G2 Android Development] demoncamber:
Here's the link to the 20e kdz for Tmobile: http://link.tapatalk.com/api/click?...00.kdz&subId=c157297d1a1ff043255bfb18530caaa2
[G2 Android Development] dorimanx:
Done.

Sent from my LG-D802
[G2 Android Development] :
Great!
[G2 Android Development] jesssiii:
The OP says jellybean bootloader only, but kitkat's been out for stock ROM's for awhile. Thought I better ask, is this OK with 24A on Verizon?
[G2 Android Development] :
Yes
[G2 Android Development] Formhault:
I assume the number in the upper left corner is for CPU temperature. If so, what app is it? :D
[G2 Android Development] bkeaver:
Here is a little something for your wonderful work. I wish it was more! 79V99821EY497422W
[G2 Android Development] soapinmouth:
Does this work with cloudyg3?
[G2 Android Development] bkeaver:
Yes it does
[G2 Android Development] garywojdan81:
Yep
[G2 Android Development] soapinmouth:
Also is there a vs980 version with knock code?
[G2 Android Development] garywojdan81:
LG hasn't released the knock code source for vs980 yet so 5.5 is technically a no-knock kernel, but cloudyg3 supports knock code and that feature does work with 5.5. That's what I'm running now & it's been flawless for me with the exception of no mms with stock messaging and no recognition of my Bluetooth headphones.
[G2 Android Development] Skizzy034:
Damn, my temp hovers around 50 something during use.

---------- Post added at 09:35 PM ---------- Previous post was at 09:35 PM ----------

Is 5.5 the version with the new stuff, such as better cooling, added?
[G2 Android Development] madboymatt:
I'm running cloudy's g3 ROM 1.1 and when I flashed this kernel, the LED stays on and just flashes from blue to green over and over. To top it off, the home screen becomes very unresponsive and I can't move any icons. I'm wondering if anyone has any ideas what is causing that.

D803.

Thanks.
[G2 Android Development] :
[MENTION=4129455]Formhault[/MENTION] its "CPU temp in status bar" an xposed module.
[G2 Android Development] demoncamber:
That's perfectly normal temps.

Sent from my LG-D801
[G2 Android Development] Diechel:
You cannot mod your hardware with a kernel to improve its cooling.

Not all phones are the same and some will have higher Temps than others. Maybe due to thermal compound or design idk.

With normal use I think 45->55 range for most users with default settings. With 20 degrees celcius outside and not in the sun[emoji6]
[G2 Android Development] demoncamber:
You can under clock your frequencies and set intelli temp control to keep it cooler though.

Sent from my LG-D801
[G2 Android Development] Skizzy034:
I'm talking about Celsius, not Fahrenheit. Mine hovers around 50-55 C during use. And if the room I'm in is hot, like it has been these past few days, it hits around 61. If I turn Wi-Fi off and use just cellular data and it's hot out, it's always in the 60's C. I hate having it on cellular data because it feels so warm. Just hoping those are normal temps for that usage.
[G2 Android Development] TheFerhatKing:
My old P880 while normal use or gaming
[G2 Android Development] Formhault:
Same here. 50~55 degrees Celsius during usage, even gaming (Castle Clash). It's pretty cool, especially since the previous phone I had (S4) got very hot...

LOL! No...
[G2 Android Development] demoncamber:
And 3..... 2.... 1.... Take it away dori! [emoji6]

Sent from my LG-D801
[G2 Android Development] dorimanx:
News update!

02/07/14

Kernel 5.6

*Merged CPU code improvements! A lot! see GIT

*Merged misc Android code fixes.

*Updated LINARO Kernel Builder tool chain to 2014.06 GCC 4.9.1 self compiled.

*Many fixes to NET and WIFI.

*Merged new updates to Intelli HotPlug.

*Merged new updates to Alucard HotPlug.

*Merged new updates to Msm Hotplug.

*Merged new updates to MSM cpu limiter code.

*Merged Mutex and Core new updates.

*Merged GPU code updates.

*Merged sound code updates.

*Merged patch 3.4.95+96 from main stream.

*Merged D800 v20u LG source update for Knock Code support and more for ALL!

*Merged D801 v20e LG source update for Knock Code support.

*Merged D803 v20f LG source update for Knock Code support.

*Updated F320* Knock Code support from above updates.

*Fixed many GCC compile errors and bugs that where hidden! now they destroyed!

*Improved kernel GCC flags to boost performance.

*Added Freq Boost on wakeup to speed up things!

*Merged CPU Touch Boost updates!.

*Updated PowerSuspend code!

*Enabled Sched Autogroup code!

*Merged ARM code updates.

*Merged many kernel code updates.

*Merged CPU PWR topology updates.

*Disabled gentle_fair_sleepers for smoother UI.

*Start Kernel boot with MSM HOTPLUG by default.

*Start Kernel with Ondemand CPU gov.

*Start Kernel with Full Thermal protection (ROM control + Intelligent Thermal)

after boot all set as selected in Stweaks.

*Update to Alucard CPU Gov.

*Update BFQ I/O sched to v7r5

*Merged FIX for G3 Port ROM for 0 Storage display!

*Misc bugs fix in Ramdisk files.

This kernel is high powered beast! now we need to test is hard!

and check that touch screen works good for all!

and added knock code support now work on screen OFF! and bring you to HOME screen after unlock!

it's also depend on ROM support! so check before install!.

Have fun and report!
[G2 Android Development] princenoob:
[MENTION=2376110]dorimanx[/MENTION] does the latest kernel automatically detects panel? http://xdaforums.com/lg-g2/development/4-4-kernel-automatically-detect-panel-t2800626
[G2 Android Development] beggar23:
[MENTION=2376110]dorimanx[/MENTION]: thank you for the new update. Just installed, now testing.

One question though: are your intelliplug updates incorporating the new version v3.7 I mentioned some weeks ago?

Cheers.
[G2 Android Development] SPBoss:
Knock code already works on screen off and takes me to home screen with stock KK rom since ages ago with dorimanx kernel. :S

Everything works so smoothly now, great work bro!?????
[G2 Android Development] iall5tar:
Hi [MENTION=2376110]dorimanx[/MENTION] seems that our baby sleep so good!! xD

Big Update! yes!

Thanks!

Thats right but just for a few models like 802 and 2 more... the rest of models had waited for the new update.

Cheers!
[G2 Android Development] nexus_vl:
Lower brightness settings and UV will definitely bring those temps down.
[G2 Android Development] pqee:
Knock code working perfectly (screen off to home screen) on D803 with CloudyG3 1.1.

Actually better than expected. Double tap to wake still works on any other lock screen.
[G2 Android Development] aldaris565:
does it work on Optimus g3 1.1?
[G2 Android Development] carlos67:
I had this issue too and solved it by unfreezing ELTest and LG System Server in titanium backup. I don't know which of the 2 was responsible but it worked for me :good:
[G2 Android Development] dorimanx:
Yes

Sent from my LG-D802
[G2 Android Development] dorimanx:
No

Didnt seen it :(

I will add in patch 5.6.1 later...

Sent from my LG-D802
[G2 Android Development] dorimanx:
Great :)

The knock code works only with stock lockscreen.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Read.

Sent from my LG-D802
[G2 Android Development] d_Schizzo:
[MENTION=2376110]dorimanx[/MENTION]

Thanks for the big update!!! Everything runs very very smooth...!:good:

Knockon works like a charm on d802 with cloudypro Rom.
[G2 Android Development] iko11:
Knock Code fully working (screen off, from the lockscreen) testing for half an hour m, Knock on works like a charm increadably fast, will report again, thanks [MENTION=2376110]dorimanx[/MENTION] !

LG-D802 ile gonderildi S3V3N G3 Rom+Dorimanx Kernel v5.6
[G2 Android Development] carlos67:
OH NO! Iv'e flashed the wrong version in my haste to get this latest version:eek:

How do I flash the right version now because all I can boot to is a black screen that says "fastboot usb started" and below that "udc_start()"

Please help guys. :crying:

I'm familiar with fastboot commands and adb.
[G2 Android Development] iall5tar:
Turn it off and go to CWM then flash your corresponding kernel model.
[G2 Android Development] abdel12345:
This happened to me before when i flashed wrong kernel. Just hold down power button until it reboots and quickly hold volume down and power at same time to get recovery. It might take a couple trys. But then from there you can restore a backup or sideload the correct kernel to flash or something
[G2 Android Development] dorimanx:
Ny ny, this stuff is serious, please all check 3 times what you about to install...

Sent from my LG-D802
[G2 Android Development] jeyd02:
Awesome, everything working great.

Btw if knock code is enabled and it works great, does knock on works. If for example I just want to go to lockscreen from screen off.
[G2 Android Development] iall5tar:
No it doesnt work.

You have to press the power button.
[G2 Android Development] carlos67:
Tried a few times & it won't take me to twrp recovery:( Just keeps taking me back to black screen with small white text (fastboot screen)

I was thinking of extracting the boot.img file fron the correct v5.6 d802 kernel and flashing via fastboot. Will this work?
[G2 Android Development] pqee:
Yeah, I just always though if you had knock code then you lost double tap to wake.
[G2 Android Development] iall5tar:
Long press to power off even when lg logo appears. Then still press the power button.

Then lg logo disappears.

And then try to go to recovery. Dont give up!

Cheers!
[G2 Android Development] adulfo:
You can try download mode and try to flash stock kdz. Holding the volume + while plugging in to usb connector.

Hope it will help.
[G2 Android Development] jeyd02:
I see thanks
[G2 Android Development] fgbustoa:
Hi Dori. Where Stweaks has gone? It is not automatically installed? I installed D802 KK

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] bkeaver:
You don't have to press the power button if you have one off the supported models that's sports the knock code. You can knock from screen off straight to your home screen. No power button required.
[G2 Android Development] szabyka95:
which is the most powersaving governor ? and next after that, which gives a little performance too ?

i use e-robot to set governor to powersave at night, is that the most power saver governor ?
[G2 Android Development] jeyd02:
He was referring to my question earlier. I wanted to know how to get to lockscreen while screen off.
[G2 Android Development] bkeaver:
My bad. Misinterpreted sorry. [emoji4]
[G2 Android Development] Tinchoska:
Get into recovery and flash right kernel and you are done

Enviado desde mi LG-D802 mediante Tapatalk

---------- Post added at 01:46 PM ---------- Previous post was at 01:45 PM ----------

You need to do wipe cache and dalvik

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] carlos67:
Tried this and it ends up taking me to a white screen that says

"Factory hard reset" at the top and then underneath it says "permanently erase user data and reset settings"

"press power key to confirm, and any other key to cancel" :eek:

I am too scared to press the power key because I don't want to hard factory reset.

Please help guys, I'm on my arse right now with this (it's my own fault I know :o)