yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
i have found the bug, it's something i have tried to do, any way it's only check for amount of power supplied, if below 500ma standard USB power.

then led will not turn on..

i have tried to fix disconnects from not powered USB HUB.. but it's didnt work,

so i have restored the check...

if you have D802 here is the "FIXED" kernel...

http://www.dorimanx.com/temp/

also gave it to Pendroz so new 7.1 ROM will have it inside already.

It's very small and harmless bug, i will not build 8 kernels to remove it.

next release will be OK for all.
[G2 Android Development] dorimanx:
it's possible, but not simple. you have plenty xposed modules for that.

i like to leave the LG drivers as stock as possible to prevent strange bugs..

i mess will all the rest :)
[G2 Android Development] GibonXL:
I have to disagree, I had the same issue with 4.3.1 on Cloudystock. Whick is kind of stock :) I have reported this in Your thread.

Well, maybe I need to move to Pendroz, haven't tried this one yet.
[G2 Android Development] dorimanx:
All cloudy roms not like my kernel.

Always root bug..

No one know why.

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

thanks for the update. Very smooth!

But since i have updated to 4.6 i have some strange batterydrain from Internet\Browser. See attached Screenshots.

Never had this before.

EDIT: Just looked at cpuspy and also see something strange. For me there are only 3 Cpu freqs and deepsleep used. Using hyper btw.
[G2 Android Development] ziociccio:
A little problem...when i close camera...it takes some seconds to close. It don't appear if i use kernel included into rom. I use cloudypro2.

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] 1ceb0x:
lol buddy. that's normal on every android phone, kernel, rom. if you browse, it is normal to have battery usage. what do you expect browsing to run on? coal?

do you use chrome browser?

zentangled from my G2©
[G2 Android Development] d_Schizzo:
No, using stockbrowser. If you had loocked on the screenshots there are com.android.browser:sandboxed-process.

And i never saw this before. Also the drain is very high on webbrowsing on my side.
[G2 Android Development] dorimanx:
Hyper gov is aggressive and as you see using high freq most of the time.

Use ondemand, its much better.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Use stock temp control, or have delay closing camera.

Kernel from cloudypro2 has intelli termal selected? I dont think so.

If you tried to search for solution, you didnt have to post.

Sent from my LG-D802
[G2 Android Development] Velogr1992:
Hey! Thanks for the 4.6 update!!

so many features/options that will keep us busy for a long time! :victory:
[G2 Android Development] ziociccio:
Thanks...it works

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] roydest:
-Definitely the fastest and smoothest Kernel so far (4.6.1/D802)...

(removeing debug Code and tuning brings significant performance improvement! Great work !!!)

-Knock Code is working (also Knock On/Off)

-charging LED (red) is working

-confirm short delay closing Camera (Xdabbeb's Camera/Video v3.1.0) only on Intelli Temp Control

(e.g. Google Cam does not have this problem)

-no root bug (Philz latest)

-Stweaks not switched to "default" this time (last time Stweaks was set back, right?)

Many thanks for this excellent Kernel +dorimanx !!!

I appreciate very much that you invest time and patience to steadily improve our beloved G2 :good::good:
[G2 Android Development] demoncamber:
Checking in... 4.6 working flawless on debloated stock ROM d801! Cold booted also fine.

Seems to play nice with trickstermod beta.

Sent from my LG-D801
[G2 Android Development] ANTLAY:
Is this still not working on xdabbeb vs980 rom?
[G2 Android Development] iall5tar:
Read previous pages... ;)
[G2 Android Development] Lycidias:
Just found a little fix for the Sound hissing bug:

you need to set a profile in FauxSound app and the hissing is gone

D802
[G2 Android Development] Mystique:
[MENTION=2376110]dorimanx[/MENTION]

Can I make a request for the tcp congestion algorithm highspeed please..

I would greatly appreciate the addition of this.

Thank you in advance.
[G2 Android Development] duki994:
Clean USB port. Might be dirty or rusty.

That can fool phone's charging driver and charging chip.

Cleaning port solves problem in 90% of occurences :)

If that doesn't help reinstall ROM.

If wakelock still persists, there might be damage to USB port.
[G2 Android Development] albsat:
I am having pretty good battery life on latest version on my 802 stock rom. The only changes are alucard governor / alucard hotplug and hotplug suspend.
[G2 Android Development] salamkonaziz:
hi guys,

I'm using fantastic cloudy G3 ROM(v2.1) on my LG G2 D801 (T-mobile). the cloudy kernel which comes with the ROM (As I searched it's the stock one) was ok except in playing Clash of Clans which during the game the phones got hot. so I decided to flash dorimanx kernel (v 9.4).

after flashing every thing was ok and there was no sign of over heating, but recentlly I've noticed that after flashing Dorimanx kernel when somebody calls me, he hears his voice!!!! I should mention that when i'm taking there is no issue for me but as I told the the guy on the other phone hear his vioce! I thought it is a modem issue so I flashed different modems but it did not helped. I flashed stock kernel and also Viper kernel and in both case the problem was gone!

by the way, I tested different versions of Dorimanx kernel and all of them had the same problem.

does anybody know why there is such problem?? and what should i do?

I'm ready interested in Dorimanx Kernel !! plz help...
[G2 Android Development] masteril:
Try to go to calls settings-->enable voice enhancement
[G2 Android Development] salamkonaziz:
unfortunately, It did not help...
[G2 Android Development] Nigglenuts:
turn down handset mic gain on call in STweaks from 10 to like 3. That should solve it
[G2 Android Development] salamkonaziz:
Thank you very much,fortunately I could solve the issue!!!:):good:

but it was solved when I changed the mic gain to a negative value (-2) not the 3. :)
[G2 Android Development] Nigglenuts:
Glad you resolved it :good:
[G2 Android Development] runekock:
Could you provide a link to a description? When I search, I find RFC3649, HSTCP. However, that RFC talks about speeds of 10 GBit/s, which is hardly relevant. Maybe you can explain what you hope to gain from the algorithm?

Really, for mobile data, the available bandwidth changes all the time, and no congestion algorithm can handle that. It seems hopeless to use TCP at all, though I must admit that it does actually work much of the time.
[G2 Android Development] dorimanx:
FIXED :) see GIT
[G2 Android Development] dorimanx:
DONE!

https://github.com/dorimanx/Doriman...mmit/e4ee9b675b76aa0d17f5245835fedf922abbba50
[G2 Android Development] dorimanx:
News update!

09/1/14

Kernel 9.6

*Upgraded LINARO kernel builder to 2014.12 + latest GLIBS,C++,LD,Gold addons. and more.

*Merged fix for CPU code that fix possible kernel panic.

*Merged fix for RAM code.

*Fixed stuck PA HeadPhone gain in OFF mode (-6) now speaker and headphones sound is LOUD as should be.

also this fix hissing sounds, should be clean now.

*Added HighSpeed congestion TCP protocol. by request, see GOOGLE.

*Allowed to use low max freq on suspend, min 1Ghz.

*Tuned all profiles with hotplug suspend ON. to reduce power use, see GIT for more changes.

Profile will be RESET on first boot. so change what you like after boot. (take 1min delay before changes!)

Kernel is STABLE! and SOUND GREAT. so please report how it's for you.

my headphones do great in ear massage now with bass :)

dont start music on MAX volume :) i will not fix your ears!

profiles will be RESET to my set. change if you like.

Have fun and happy winter to all! it's even cold here too :)

***Small bug after release!

in my performance profile, i have typo in cpu2 for alucard cpu gov, so it's will set HYPER.

set what you like most if you select performance profile in Stweaks.

fixed here:

https://github.com/dorimanx/LG-G2-D802-Ramdisk/commit/35ef029ef5515dde4e0639afb2b3be950cc0a4c0
[G2 Android Development] tsjanda:
I upgraded to 9.6 and rebooted. Then booted to recovery to do a back up and i get an error at start of backup

E: unable to load package.

But the backup continues and completes. I am running stock 4.4.2, rooted, and autorec'd with twrp 2.8.3.1 with dori kernel 9.6.

Just curious about it did not happen on same setup with the 9.5 dori kernel
[G2 Android Development] whatnow275:
I wiped dalvik and cache and flashed 9.5 (now updated to 9.6) and now my phone feels a lot more choppy (less smooth).

This was on default settings and with all governors changed to alucard and all changed to nightmare.

Any obvious reason for this? Running latest Optimus G3
[G2 Android Development] blastagator:
Brilliant :) Thank you!
[G2 Android Development] gozzaa:
i cant agree, everything smooth here :)

try to let it settle, if you wiped all chaches they probably need to rebuild
[G2 Android Development] dorimanx:
Recovery, has its own kernel.

You can flash any rom kernel. And there will be 0 effect on recovery.

So please learn how things actually work before posting bug report.

Its not kernel related.

Sent from my LG-D802
[G2 Android Development] dorimanx:
You made mess in profile.

reset profile to default. Wait till stweaks will reload with new settings.

Set what you wish.

All done.

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

can you please revert this commit:

https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/983af521c1a7d009ca90609bb00cb0ccfc5bfb81

With this change, PA Gain Control in Faux-Sound isnt working anymore.

Regards,

Schizzo
[G2 Android Development] tsjanda:
I was not being rude, I just was curious as, it was not an issue on 9.5 but is an isssue on 9.6.

I even flashed the 9.5 and once again ran backup and did not experience the error. However once flashing the 9.6 via ota app the error was present.

I made no other changes between flashings.
[G2 Android Development] g.paganini:
Flashes 9.6, no issues at all... Nice work as always dorimanx..
[G2 Android Development] dddsj:
Dorimax 9.6 with a minor problem here. Auto brightness stop working. Is this kernel related? Sorry if this has been solved. I searched but did not find any info. Oh I am on Cloudy 1.3 btw. Thanks!
[G2 Android Development] Diechel:
Working here
[G2 Android Development] dorimanx:
Pa gain is on off. Its not working by steps.

So its always on now.

Driver was changed. And if i will revert this, all other will have low volume.

I dont know why your device still allow real change in analog for up/down volume for pa, when for 95% of devices its on/off high/low. From long time now.

I guess you will have to stay with On mode, that equal to pa gain 0.

Its was -6 before.

But i can make some beta build for you to see how can we fix it for all.

What device model you have? I guess d802 :)

Sent from my LG-D802
[G2 Android Development] d_Schizzo:
Well, then i have to live with it...

I cant imagine why it isnt working for the 95% users. For me its working pretty well. I set digital gain to -2 and PA gain to +3 and had really good & loud sound. But now its way to loud and IMO, loud sound isnt equal to good sound...

Anyway, thank you very much for your hard work!

Except PA Gain i have no issues found on 9.6.:good::)
[G2 Android Development] dorimanx:
So its now digital 0 and pa 0 and its too loud?

Any way see my edit in post above yours.

Sent from my LG-D802
[G2 Android Development] d_Schizzo:
A Beta would be great of course.:)

Yes, i have an d802. Actually i have set digital to -2 (as it was) and pa to 0 (but it doesnt matter, as moving the slider has no effect). And yes, its way to loud. i have set loudness to 70% and its blowing my ears away.

For info: I have no other sound mods installed except viper but made no changes for volume gain.

[MENTION=3009130]Mystique[/MENTION]

You flashed viper4android?

But no, install the app and drivers. Reboot. Enjoy...
[G2 Android Development] klemenSLO:
9.6

I Flashed 9.6 through OTA app. Phone did not boot. It was stuck on lg logo. I shut it down and restarted. Then I rebooted and runtime engine switched from ART to DALRVIk! (i saw msg 'upgrading apps 1 .... xxx) and checked runtime in developer options after boot completed. I'm using CloudyG3 2.1 onD802

I don't know what went wrong. While flashing kernel i saw non errors. Anyway... i'm testing 9.6 on dalrvik know....
[G2 Android Development] bloof:
I had a stuck boot (on bootanimation, not LG logo), rebooted and got stuck on LG logo, shutdown to reboot to recovery and failed since I forgot I am on KK bootloader, but then it booted fine and still on ART.

Rebooted since then and still on ART and everything is working fine.
[G2 Android Development] masteril:
9.6 dead trigger 2 laggy as hell/:
[G2 Android Development] merlin21:
v9.6 flashed and everything works [emoji106]
[G2 Android Development] Kemby13:
Check your settings is Stweaks, as stated in the changelog all settings are reset after flashing new version..
[G2 Android Development] Zoell79:
Been upgrading to 9.6 since yesterday and found 0 issue so far...still smooth and snappy as always...

:beer::thumbup: [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] Mystique:
[MENTION=4782115]d_Schizzo[/MENTION]

Question regarding viper..

I have not reflashed it since the first flash..

Should viper be reflashed for each new kernel? I think not.

Thank you in advance.
[G2 Android Development] dorimanx:
not. i use it too, and never made any change after first driver install via APP.

BUT i must start the viper app and push home on each boot, it's has no effect till i do that.

it's just not starting on boot. not kernel related.
[G2 Android Development] d_Schizzo:
Go in viper to settings-show notification, then it will start at boot everytime
[G2 Android Development] dorimanx:
BETA 9.6.1 for D802 is in BETA storage.

seems that PA gain is ON by default, and should now allow control for device/ROM/MOD that can do that.

i have no effect on PA slider in faux app. but sound is boosted as should.

tell me what you have. best SHOW me.

dont open faux app after boot, dont start sound!

via ADB/terminal

cd /sys/kernel/sound_control_3

grep . *

post the answer.

now play something, and enter faux app, and move the PA slider.

post the changes via kernel sysfs (grep . *) same folder.

i need to see the changes.

thanks.
[G2 Android Development] dorimanx:
done it, it's not starting, when i enter the app, its then show the icon.
[G2 Android Development] d_Schizzo:
Ok, will test it and post the infos here when i am at home later this evening/night.

Did you moved viper into /sytem/priv-app?

If not, try it. Works for me
[G2 Android Development] gozzaa:
are you using LBE Security Master by any chance? i had a simliar issue with some other apps and the cause was LBE
[G2 Android Development] dorimanx:
nope, but i think moving the app to system is the solution :)

done that 5min ago, i will check next boot.
[G2 Android Development] d_Schizzo:
Just tried it on terminal but it say grep.* :not found

What must i do now?

Sorry, but i not using terminal/adb often
[G2 Android Development] Closed Force:
you are missing blank space grep .
[G2 Android Development] d_Schizzo:
Thanks, got it already by myself:)
[G2 Android Development] Tinchoska:
9.6 is so fu﷼&ing awesome, battery is, until now, great!!!!!
[G2 Android Development] gasReal:
default or with some mode?
[G2 Android Development] Tinchoska:
Alucard hotplug Ondemand plus on four and 1.7 on four, screen off max freq at 1.0 gpu uc to 320 logcat off suspend core, and that's it I think.... From 100 to 90 takes 1.25 hrs
[G2 Android Development] natalya:
If you try stock kernel you will see temperature difference. With same usage this kernel makes the phone extra hot. Just be careful because its not normal that phone gets so hot compared to stock kernel. Might be a leak somewhere.

Sent from my LG-D802
[G2 Android Development] Tinchoska:
In my case with stock it used to get hotter than with dorimanx's.... Maybe is the way I set it on stweaks... But remember more power needs more hot it gets
[G2 Android Development] gozzaa:
anyone else having problems with youtube app?

videos just hang for 5-10 seconds sometimes. no idea if its kernel related but it happens for 2 or 3 days now.
[G2 Android Development] Ganjax:
No problem here :)

Dorimanx v9.6
[G2 Android Development] reddsmokee:
should i use KK bootloader with 9.6? because when i get with JB it's shows fastboot and not booting. i have 2.3.8.0 version of twrp bumped. i need latest twrp for the dori's kernel 9.6?
[G2 Android Development] Tinchoska:
If you want keep jb bootloader and it should boot anyway. It's not necessary to have latest twrp
[G2 Android Development] reddsmokee:
but doesn't boot. where did i do wrong? i've installed previous versions without issue but not now. if i use the KK bootloader, will it be fine or happen again fastboot mode.
[G2 Android Development] siggey:
Wrong variant kernel download?

_____________________________________Read more write less and be smart
[G2 Android Development] reddsmokee:
yes absolutely my foolish. thank you very much. i've checked now and i've downloaded the wrong version. mine is d802 but that i install d800. sorry for this stupid mistake.
[G2 Android Development] dorimanx:
Use Dorimanx OTA app next time for kernel update. less posts like that.
[G2 Android Development] dorimanx:
@ d_Schizzo

thanks for perfect debug.

i see that your device need the high numbers as 38~47 in PA to really do any effect.

for me it's jump to 3 3 now with BETA and for you to 41 when sound is playing.

I have no idea why. but it's good for all now.

next release will have the patch added. for others it's should just be ENABLED as driver expect.

only on/off

and ON by default.
[G2 Android Development] shaxs:
A couple quick questions.

1) The says DorimanX OTA app says "ONLY FOR STOCK BASED ROMS". So if I install Cloudy G3 rom, I need to manually download and flash the kernel?

2) The first page says "Download STOCK Kernel for your device! so you will always have it on sdcard in case of any disaster!!!". Where do I get a zip of the stock kernel?
[G2 Android Development] SREEPRAJAY:
1) cloudy g3 ROM is a g3 stock based ROM.so you should use the excellent app by [MENTION=1559352]Diechel[/MENTION] which prevents the flashing or downloading of wrong version

2) go to [MENTION=2376110]dorimanx[/MENTION] server to find the stock kernel at the bottom of the page normally...if you want it

Next time please take some time to read...search...it will help you too
[G2 Android Development] shaxs:
Thank you for the reply. I did search and read and I just wanted to make sure. I did find the link in one of the threads to http://www.dorimanx.com/LG/ and at the bottom it says "LG G2 Default KitKat Kernels List!" but all the file names reference the D802 and I have a D800. That is where I got confused. So those stock files will still work for the D800?
[G2 Android Development] iko11:
Wrong post.
[G2 Android Development] :
I got a reboot.. :'(
[G2 Android Development] dorimanx:
I have only d802 default kernel. For your model search rom thread for your model kernel as stand alone zip.

And NO you cant use d802 on any other model.

Sent from my LG-D802
[G2 Android Development] dorimanx:
What model. I see the gpu driver stuck on freq update. I didnt see such error before.

What you changed for video config?

Sent from my LG-D802
[G2 Android Development] CrazyGamerGR:
at last build 1.6 i had a problem with stweaks and synapse doesnt load,i tried reinstal the rom and 1.5 and workd and after updated the kernel back to 1.6 i got the same problem again with stweaks and synapse doesnt work:/

anyway amazing kernel awesome job:D

sorry for my bad english^^
[G2 Android Development] AlMustansir:
Hey guys,

im using Cloudys G3 Rom and tried Dorimanx Kernel.

On Alucard/Darkness on all cores it doesnt feel very snappy compared to the stock kernel from cloudy. Is there any advice somebody can give me how to achieve the same snappyness and get improved battery life ? What settings are recommended ? Im not into that 10 h SoT hype, i want my phone to work as smooth as possible and maybe get a small amount of battery life from this kernel if that is possible :)

Cheers and thanks in advance !
[G2 Android Development] idoluvizsick:
fauxsound headset analog controls stopped working after new update.. any fix?
[G2 Android Development] d_Schizzo:
If you are on d802 use latest beta from here

Worked for me. May i ask on which ROM you are.

I think the key to fix PA Gain for all users is simewhere in audio_policy.conf

Regards,

Schizzo
[G2 Android Development] Kemby13:
I'm using Darkness gov and MSM hotplug and my phone is very snappy and fast... Try setting the Cpu governor sample rate on 30000 or less. Also, disable Power-efficient workqueues.. On Gpu tab set Simple laziness value on 3.

Set i/o scheduler on ROW and read-ahead to 1024kb... Also, use trim once every day, after all that you should have a fast and snappy phone. If not, wipe everything and clean install your rom...

Sent from my LG-D802
[G2 Android Development] AlMustansir:
Tried as you said and it looks good :) I will have a look over the next days i guess thank you :)
[G2 Android Development] dorimanx:
i think it's in faux app.

what version of app you have?
[G2 Android Development] d_Schizzo:
1.5.6 but latest 10 versions i think has only ui changes. And pa gain was always working for me... so i dont think its relatet to fauxapp. IMO its Romrelatet.
[G2 Android Development] Mister_Mini:
Pretty awesome battery life.

Using 9.6 with all stock settings, just they way dori recommends it:)

Been of wifi(5Ghz) all day though.

Data toggle whas still on, im in a 4G area.
[G2 Android Development] dorimanx:
i have same app, and still it's set for me in range -6 +6 and driver set 6 for 0 in app

and each lvl in app adding + 3 in driver.

and for you it's 32 as 0 and 41 as +3 in app. it's like driver is in different gain range for your device or headphones!
[G2 Android Development] g.paganini:
I'm on lightning stock based ROM, currently on 44%, 4h23m screen on.. All govs on darkness, alucard hotplug, the rest is default. Excellent work Dorimanx with 9.6 [emoji6]
[G2 Android Development] d_Schizzo:
I tested it again with stock headphones and it is still working. And devicerelatet would mean that i have different hardware, or not?!

I hope, that at least someone with pardus or cloudyRom can say if it is working for him.

Because i am 100% sure that it is something in rom
[G2 Android Development] krija:
DEVICE: D802

ROM: 20H

KERNEL: 9.6.1 BETA

FAUXSOUND: 1.5.6

Doesn´t work
[G2 Android Development] dorimanx:
Same for me.

Its not changing anything.

But now sound Volume is not reduced as was before 9.6

Sent from my LG-D802
[G2 Android Development] tsjanda:
I set my setting as you described above and they rock. Very fast and snappy on my VS980. Thanks
[G2 Android Development] infirno77:
Awesome job on 9.6 Big D! Rockin it, best performance yet! ??
[G2 Android Development] m1trand1r:
I don't know my friend but does THIS app work on your device?

It almost fried my Speaker and later my headset:D(it's working miracles here:D )....or did anyone tryed to use sound amp within trickster mod kernel enchantments app?

Sent from my LG-D855
[G2 Android Development] dorimanx:
device not supported.

best not to try something for G3 only.

we have faux sound app, it's give great gain boost if needed more.
[G2 Android Development] smartpr1v4t3:
Only wanna report, i use Trickster Mod and setting up the sound settings are working without any problem.

I use it in combination with Viper4Android

CloudyG3 and Dorimanx 9.6.1

Edit:

I have an request but nothing important.

As i know its possible with the original Stock Kernel to edit the vibrations strenght with Trickster Mod.

Is it possible to also add this feature in the Dorimanx Kernel?

Thanks Dori for this great Kernel. :)