yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
nothing in the LOG.

try to disable UKSM. it's disabled by default. as it's can crash ZRAM. but there was no log about that.

possible ROM/APPS bugs.
[G2 Android Development] dorimanx:
Crash in GLthread it's ROM graphic driver. there was hard RAM shortage before that.

kernel was working on RAM release. but ROM thread crashed as video ram was drained.

maybe game bug. or our device with it's low RAM, is not good for your game... get new device with 4GB as your next phone :)

or play using your PC..
[G2 Android Development] dorimanx:
Nothing interesting in LOG.

APP bug. ROM reboot... not kernel.
[G2 Android Development] dorimanx:
hmm. strange bug in sched core for load balance cpus... something new...

thanks for report... will monitor.
[G2 Android Development] dorimanx:
News Update!

Kernel 9.8

07/04/16

*Merged fix for pipe buffer

*Merged changes to ARM memory TLB.

*Merged updates for sound driver stream code.

*Merged support for ALAC/APE/VORBIS sound codex's for sound driver + FLAC switch fix.

*Merged fix for WIFI roaming standby drain. and fixed frame buffer overflow.

Wifi will use less power and connect faster. maybe drain less memory.

*Updated busybox from source.

have fun testing.

Report with LOG if any problem found.

I think kernel is quite stable. and maybe i will take few weeks holiday from development.

I will keep merging any updates that will become available.

But release will take time.

Enjoy.
[G2 Android Development] boyheadkick:
have fun with your holiday, you deserve it! /OT
[G2 Android Development] xubeiga:
Dori, really appreciate all the work you do with your Kernel. It's just amazing...made my phone a new one!

G.E 1.5 + Dori Kernel = perfection!

i'll buy you a beer soon! :D
[G2 Android Development] dorimanx:
set max 1600ma... probably i need to see if 2000 is even exist in code...
[G2 Android Development] bolt890:
Just reporting back few hours into Kernel 2.0. Using Alucard GOV+HOTPLUG, no reboots so far. Working great thanks!
[G2 Android Development] lordc:
Deleted
[G2 Android Development] Nussi29:
The same here

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION], take a break, take a beer :)

Thank you for all your hard work.

3PX89031M5673615G
[G2 Android Development] dorimanx:
Thanks for support my friend and great beta tester.... BUT i have one more for you :)

2.1 will be up soon! fixed force fast charge, cleaned camera log mess (same in stock kernel, so it's LG mess)

and more optimizations in CPU govs...

lets me just test for few minutes...

EDIT!

<3>smb349_set_thermal_chg_current_set: thermal-engine set chg current to 2000

<6>smb349_set_thermal_chg_current_set: thermal-engine: FFC active! battery is below 95 percent

<6>smb349_set_thermal_chg_current_set: thermal-engine: requested_thermal mitigation 2000, new_thermal mitigation=2000, battery temp=350, battery capacity=84

<6>smb349_set_thermal_chg_current_set: thermal-engine: usb_power_curr_now=1000, charge current=263

<3>LGE charging scenario : state 0 -> 0(0-0), temp=34, volt=4051, BTM=0, charger=1, cur_set=2000/1600, chg_cur = 123

GOOD.
[G2 Android Development] Wimmme:
Feedback for the lag-issues i had (d802 - Somboons 30b - xposed)

Seems to be completely gone since v1.8 (guess, versions came so quickly my phone didn't have the time te begin to lag, OTA app is a Bliss with your release speed) :cowboy:

I am on 2.0 default profile now, no tuning or tweaking; Xposed LP memory fix disabled, Amplify enabled. No lag for now :good:

Not to pay you for what you have done, but to keep you motivated to keep up your wonderfull job : have a drink 56401691BB398392U

Almost went out to buy a Nexus 6, but your kernel keeps my G2 flying, tnx !
[G2 Android Development] dorimanx:
Thanks for support :) doing my best.

Need to make all work, then push forward with all models!

o! fixed misc chargers locked to 1000ma even with fastcharge ON! now 1500! max possible...

<6>msm-dwc3 msm_dwc3: chg_type = USB_PROPRIETARY_CHARGER

<6>dwc3 f9200000.dwc3: Avail curr from USB = 1500

<6>dwc3 f9200000.dwc3: Power plugged, FFC is set to = 2

<6>smb349_is_charger_present: DC is present. DC_IN volt:4890640

<6>smb349_thermal_mitigation_update: thermal-engine: restarting battemp_work

<6>msm_otg_notify_power_supply: power_supply_get_by_name(usb)

<6>[Touch] USB IN!!!!!!!!!!!!!!!!

<6>smb349_is_charger_present: DC is present. DC_IN volt:4890640

https://github.com/dorimanx/DORIMAN...mmit/daa9de4e91d519accc1755fefbc6b5829d25c44a

https://github.com/dorimanx/DORIMAN...mmit/73af3d8f68694bf66e0cf279b7f4db5396a3ac5a

Power to the people!
[G2 Android Development] dorimanx:
News Update!

Kernel 2.1

19/05/15

*Merged more Selinux and NET updates from aurora 3.7.y kernel.

*Merged Alucards CPU Govs cleanup commit from DEV.

*Removed tons of logs from camera when it's active. no one care..

*Fixed and tuned FORCE FAST CHARGE driver.

now will be possible to use 2000ma max charge if charger can supply!

and you select FAST CHARGE and not MTP in USB connection selector.

if you need MTP with charge, then it's will charge ~1600max.

*Removed few RAM tweaks, that seems to brake RAM cache release.

Will work good without it. it's not enabled by LG...

*Removed 300ma forcefast charge limit, we can limit only 500! no less.

have fun testing... i will reduce kernel release phase if will be stable as should..

LP source sent me a big challenge to master it... but we are in right path to awesomeness...
[G2 Android Development] duki994:
Guys...

I've found something...

Another two reboots on 2.0, but no useful kernel logs (read: log says no kernel error)

But in logcat I see SIGSEGV faults and crashes for compiler driver and main functions in libc.

Looks like it's connected to Xposed and happens when (probably) xposed module tries to hook it's own method when changing SELinux context.

Or to dex2oat and ART libs (libart.so is replaced when installing Xposed).
[G2 Android Development] Abrilabr:
Sorry, what do u mean? Realeasing the rest of variants?
[G2 Android Development] jamesd1085:
Short version...if latest proves stable he will BEGIN work on other variants...not a fast easy process...sit back and wait it will come
[G2 Android Development] dorimanx:
Some modules that can be used with exposed, dont work with lp rom.

So try to find what can send this errors.

I have exposed from day one... and same modules.

And for now my device is stable.

Use 2.1 i have removed ram cache tweak that i have added in 1.6 and problems started...

Cpu bugs not connected... there was real problem from start...

Sent from my LG-D802
[G2 Android Development] 60nine:
there are other variants of lg g2 device apart from d802 (international)... d800/d801/d805 etc... google is your friend
[G2 Android Development] hill67:
Great kernel!

Still fast charging isn't working and I don't know why. Any ideas? LP version is V30a.

Thanks :)
[G2 Android Development] Diechel:
While browsing.

Reboot to LG logo
[G2 Android Development] dorimanx:
Nothing.

Any exposed modules that can do problems?

And why yankactive on core 0?

Sent from my LG-D802
[G2 Android Development] Diechel:
Just for fun.

Maybe g3 tweakbox
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Crash with 2.1. Log attached

Useful part from log:

[sched_delayed] sched: RT throttling activated for rt_rq c342edd8 (cpu 0)
potential CPU hogs:
kworker/0:1H (48)
Watchdog bark! Now = 930.686314 (IRQ 35)
Watchdog last pet at 910.054319
cpu alive mask from last pet 0
Causing a watchdog bite! IRQ = 35.

Sched started RT throttling? Looks like it actived watchdog driver.

My 0.02€ are that some userspace app/service has hogged system so kernel throttled app thread into real time not to freeze system due to poorly written app/service or due to some other issues that could potentially make system unstable.

P.S

Disabled all Xposed modules.

Still getting SIGSEV segmentation fault errors from libc (less than earlier, but not anymore bad SIGSEV in (main)). Looks like ART lib in Xposed package has some incompatibilities with LG, or LG made some changes that ROM depends on but these are not terminal(I guess.. since ROM doesn't reboot on other SIGSEV than ones in libc (main)). G3 Tweaksbox is prime suspect on ROM level.

Will try to reinstall Xposed.

Alucard HP + 4x alucard gov
[G2 Android Development] oTeMpLo:
Sorry for report ..but .2.1 is unusable laggy....
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Take your time...in the meantime we enjoy your stunning kernel [emoji3]

Thanks for all Master! [emoji6]

PS: new drivers audio of v9.8 work great!
[G2 Android Development] Sucky1983:
I have had a reboot while switching from WiFi to mobile and starting an app. Hope the log helps. https://drive.google.com/file/d/0B_2Ovxr_tYdZTmEteHNPaDcyalE/view?usp=docslist_api

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

GCC SRA optimization may be answer to those very rare weird memory corrupt dmesg logs when bugs happen. It occured to me on G900H, and this

commit fixed it. Maybe it'll help stabilize assembler code made by GCC. All GCC > 4.9 can make this problem while compiling with -O2 or higher flag.

This simple patch fixes it:

https://patches.linaro.org/patch/52990/
[G2 Android Development] Cienight:
Wow thanks for your contribution buddy
[G2 Android Development] khanjui:
My G2 is unfortunately died. I will buy G4. @dorimanx thank you so much for your efforts to keep our device up-to-dated. Hope to see you in G4 development or another place, someday... Take care guys.
[G2 Android Development] CampfireVibés:
You should get a v10 :)
[G2 Android Development] khanjui:
V10 and G5 is trash IMO. Bad design, i didn't like it. Also V10 is around 2000 Turkish Lira, i think G5 will be around 2000 TL too. G4 is 1200 TL right now. Actually i want to buy Nexus 5x, but it's not selling here yet.

http://xdaforums.com//www.pinterest.com/pin/create/extension/
[G2 Android Development] cybernetus:
The G4 in Brazil have the bootloader blocked, I will try to, when I have money, to buy the International version.

Enviado de meu LG-D805 usando Tapatalk
[G2 Android Development] khanjui:
I hope you can buy the international one. Only international model is selling in Turkey. So i won't have problem with bootloader.
[G2 Android Development] rabies876:
Hello to all the happy people.

In have Wi-Fi issues it's very slow if none at all from the new update
[G2 Android Development] errikosd:
Damn, why do I keep doing this to myself? I try every single ROM around and I always keep coming back to stock, thanks to you [MENTION=2376110]dorimanx[/MENTION].

Version 9.8 is working great for me so far. Only thing I change is set touch boost freq. to 1,7GHz.

Something that I have observed and may help people is that removing LG apps and replacing them with their Google counterparts may help keep freezes and bugs to a minimum. Generally speaking, LG apps seem buggy, not to mention that they are never updated.
[G2 Android Development] dorimanx:
Slow how? Update was for power save, not speed change.

I dont see any change in speed.

Maybe bad reception? Then speed is reduced.
[G2 Android Development] dorimanx:
I am thinking to move to nexus.

But my device is working just fine.

Nexus is open for development, many devs use it, so finally i will not be alone, i do need help to make cool things :) my friends always helped me, but sadly we all have different devices. And share only common code.

As long as lg remain locked... its useless to me.

So v10 and lg5 are no go.

But dont rush to get nexus yet if you happy with lg2. As i am still happy with my :)
[G2 Android Development] dorimanx:
Seems great.

I will merge, if its missing.

Need to check my source.

Its looks familiar...

Thanks for help my friend.

Edit.

Oh i have it already... oh well :)
[G2 Android Development] duki994:
I'd like Nexus too. Nexus 5x :)

On Exynos not many devs. But we have great AndreiLux. And I miss double tap :)

Trying to implement it now. But need to make touch chip always on.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

I think thant our g2 works great yet thanks to your kernel but I agree with you for development nexus are the best even if they lose some premium features...

Unfortunately LG is moving like Samsung to block custom development and this is a big problem for us...

Anyway to return on topic I can say after 2 days of test v9.8 works great, thanks Master! ?
[G2 Android Development] the baptizer:
[MENTION=2376110]dorimanx[/MENTION]

I think you should get s7 edge; BIG battery, powerful cpu, gpu and plenty of RAM + beautifull amoled screen. The section of the s7 edge is getting bigger and bigger by day.

LG g5 is trash indeed.. shame of LG

And i find nexus boring... but everybody its own preference

Would be nice if you come over and make Exynos kernel again :good:

thanks for lg g2 kernel.. mine died also
[G2 Android Development] kocaman1321:
If you have a working G2, you don't need S7 edge.S series are trash.
[G2 Android Development] Jonatino:
Can somebody please build this for D803?
[G2 Android Development] Alleks1802:
I had a reboot while phone was idle.

Im on google edition 1.5

https://www.dropbox.com/s/bdb4we13jlymxsj/dorimanx_debug-V9.8.zip?dl=0

Hope you'll find something useful :)

Appreciate your work as always
[G2 Android Development] marosteeha:
Is anyone else getting delayed notifications? Like whatsapp and Facebook messenger? While my phone is with the screen off I don't get notifications and when I turn it on I get them all at once, it started happening when I moved to 9.8 do I need a log for this?
[G2 Android Development] dorimanx:
Nope, nothing in kernel log, rom or app bugs.
[G2 Android Development] dorimanx:
Say no to Samsung mobile, save dev community.
[G2 Android Development] dorimanx:
Solve with rom change for notification time change.

My kerrnel force deepsleep. Kill wakelocks. But you can give rom instructions to use net wakelocks more often. And kernel will obey.

Search xda how to. Not belong to kernel.
[G2 Android Development] bk2601:
Can i Use this kernel ?

D802

Ressurection ROM 6.0.1

TWRP 3.

Just for case...

Rebot into recovery and just flash it? And if anything happed can i just restore my nandroid back up? Will I able to get into recovery if that flash will failed?
[G2 Android Development] zizuka:
Did you even look in OP?

With big font: Dorimanx LG G2 Kernel for STOCK 5.0.2 Branches!

To clarify, any 6.0 ROM for G2 is not stock. Any AOSP/CM is not stock. So to answer your question... no.

And use Q&A thread for questions.
[G2 Android Development] khanjui:
I was happy with my G2 too, till her death. :good: What a wonderful price/performance phone... Used Nexus 4 before the G2. There was many great developers and community for it. Only thing was bad camera performance for me. But sure, Nexus phones got above average cameras and drivers in these days. Like i said, i want to buy 5x but it's not selling here yet. Also sadly there is no official announcement for it. So i don't know how much i need to wait. That's why i will buy G4.

http://xdaforums.com//www.pinterest.com/pin/create/extension/
[G2 Android Development] wszwsz:
Sorry for OT but If we talking about getting new devices i think Dorimanx could taste something chinese this time and im talking about Huawei Mate 8 :)

I personally wait some more time for a price to drop but i think Mate8 is a good replacement for our G2 (and there are kernel sources available).

Dev support isn't at its best there at the moment but i think it lacks mostly a good new kernel :)

PS. I remember that Dori doesn't like big devices but that one has a really nice screen-to-body ratio. Huawei P9 is worth considering also. It could be a nice challenge and adventure :)

Just my 2 cents :)

It's my 1st post in this thread so thanks Dori for all your hard work! I'm with you since S2 !
[G2 Android Development] gamertwo1:
Do you think replying in dev thread of your personal opinion is right ?

Better make your own thread in off-topic or any where else.
[G2 Android Development] rajkatiyar07:
Nexus 6 got poor camera , even poorer one. 5X is winner with a slight margin. 6P is out of my league cant afford that. Me too buying a G4 may be in next week or may be in this week because i gotta give my G2 to my sis. 2 Years relationship about 10000 camera shots and never got disappointed with any thing . Gonna miss the community :)
[G2 Android Development] rabinorojo:
Is there a kernel version for F-320 K/L/S ?
[G2 Android Development] PolishVodka:
[MENTION=2376110]dorimanx[/MENTION]

I was wonder why i cannot execute any scripts from internal storage (error can't open <something>.sh) and founded a reason. Real path to emulated sdcard isn't properly linked to /sdcard dir.

From

https://github.com/dorimanx/lp_ramdisk_dorimanx/blob/master/ramdisk/init.qcom.rc

# Support legacy paths

symlink /storage/emulated/legacy /sdcard

But should be:

symlink /storage/emulated/0 /sdcard

Ekhmm, looks like this is the same direction to internal storage, but why executing scripts, when /sdcard is a link to .../legacy not working?
[G2 Android Development] dorimanx:
supersu.

search tread. before posting thanks. all set as should. dont blame me for supersu bugs.

And you cant execute scripts from sdcard. as all files dont have EXECUTE permissions.

copy your script to /data/ or /system and run it.

give it 755 perm before running.

example:

root@g2:/sdcard/data/com.keramidas.TitaniumBackup # ls -la

ls -la

total 16

drwxrwx--- 3 root sdcard_r 4096 Nov 10 17:28 .

drwxrwx--- 7 root sdcard_r 4096 Nov 10 17:29 ..

-rw-rw---- 1 root sdcard_r 711 Apr 10 08:45 licensing-cache.xml

drwxrwx--- 2 root sdcard_r 4096 Nov 10 17:28 settings

root@g2:/sdcard/data/com.keramidas.TitaniumBackup #

P.S

root@g2:/ # ls -la /storage/emulated/0

ls -la /storage/emulated/0

ls: /storage/emulated/0: No such file or directory

1|root@g2:/ #
[G2 Android Development] PolishVodka:
I mean, this may be a SuperSU bug, because before everything's was working fine. I made a simple script on /sdcard directory to screen recorder, something like:

#!/sbin/sh

screenrecord --size 1080x1920 --bit-rate 10000000 --time-limit 30 /sdcard/new.mp4

I'm using RootBrowser and just tap on this script and choose "run script as root" and when /storage/emulated/legacy is linked to /sdcard than I got error - cannot open script, no file or directory, something like that...

When is linked from /storage/emulated/0 than script is executed. This is why I posted.

Same when I use Terminal Emulator with root permission:

su

cd /sdcard

no source file or directory

but without "su" I can do this.
[G2 Android Development] arhu:
What about Xiaomi? (mi5 or mi4c or even redmi note 3?)
[G2 Android Development] SREEPRAJAY:
Guys

I think it is important to remember that this is a development thread.

A little off topic adds spice but I think not letting this go far will keep the intent and the effort of the developer with due respect

So get on track now

Thanks and enjoy

sent using ANDROID and a wonderful device
[G2 Android Development] dorimanx:
Sadly you have ignored the supersu change that i was referring too.

Its the mount space something. Disable it.

Reboot, be happy.
[G2 Android Development] Litendria:
Bug

Hello, i got reboot when i'm using whatsapp.
[G2 Android Development] tripii:
Sudden reboot when opening site.
[G2 Android Development] OT-Xtreme:
reboot.. here the logs

https://drive.google.com/file/d/0BxKaoFvOB5O-eEp2MjBZMmVxT00/view?usp=docslist_api
[G2 Android Development] Francesco0301:
Settings is crashing. I've forgotten to change the list view of settings. Now How Can I solve?
[G2 Android Development] dorimanx:
Nothing in the log.

Try to use zen and not fiops, enable process reclaim. If you do so many changes from my defaults, you need to expect possible problems.
[G2 Android Development] dorimanx:
You didnt care to read the instructions right?

Use stock. read instructions. Or stay with stock.
[G2 Android Development] khanjui:
9.8 working without any problems so far. Btw i think i fixed my G2 somehow. I will give it to my mom and use my Nexus 5x myself. (Yes, somebody was selling it.) And i bought it instead of G4.
[G2 Android Development] dorimanx:
Build 9.8 is running great here.

166 hours. No single issue.

I had to clear google drains of ram by killing google service that start agin but no longer drain 200mb ram.

And no problem at all. Ram is critical part of stability. If you monitor your ram and remove draining apps. All will be great.
[G2 Android Development] n@vier:
Do you suggest to activate restart Google service on Cron tab to avoid RAM drain?

EDIT:

Freeze and reboot attached the log I hope it can be useful ;)
[G2 Android Development] stanbel:
reboot while do nothing

View attachment dorimanx_debug-V9.8.zip
[G2 Android Development] 60nine:
several days of no problems, then freeze while scrolling in facebook...

log

https://www.dropbox.com/s/m8jp7caxqbk0yu7/dorimanx_debug-V9.8.zip?dl=0
[G2 Android Development] n@vier:
Me too. After 1 week without problems today I had the same problem while I was browsing...
[G2 Android Development] Sucky1983:
Another crazy freeze while screen off. The kmsg looks like a memory dump of some sort. https://drive.google.com/file/d/0B_2Ovxr_tYdZcDB5bEdfMThTTlk/view?usp=drivesdk

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] masteril:
When hdr on or auto and hdr activated sometimes the phone crashes
[G2 Android Development] smartpr1v4t3:
crash never happens without log ;)
[G2 Android Development] khanjui:
Black screen while looking recent apps. I had to force reboot.
[G2 Android Development] zdrawko12:
Can anyone confirm data transfer slow down? All rom and kernel was newly flashed and problem remains. (350 files in 270MB was transfered in 15minutes on Dorimanx stock settings)
[G2 Android Development] dorimanx:
Nothing in log, kernel was online when hard rebooted.
[G2 Android Development] dorimanx:
Memory crash, reason unknown.
[G2 Android Development] dorimanx:
Nothing in the log.

Why so many changes in profile?

Why cfq? Never used it or tested...
[G2 Android Development] dorimanx:
Restart by power key. Or you did that, or rom by unknown reason. Nothing else wrong in log.
[G2 Android Development] dorimanx:
Crash in nulled address. Trace dont tell me where.

My device still running 216 hours and feels like after reboot.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

As I said it happened after 1 week without problem. Since 3 days again no problems but now I'm using google service restart on cron tab I don't know if it could solve my problem anyway I'll report if there is something new ;)

Thanks as always for all Master!
[G2 Android Development] 60nine:
because experimenting...

btw why don't you remove the settings from the app that you consider unstable? (just a suggestion)
[G2 Android Development] keaheng:
because people would be crying to ask them back haha
[G2 Android Development] Sucky1983:
I have another reboot. This time while starting the camera. https://drive.google.com/file/d/0B_2Ovxr_tYdZRW51T0xSRnB1azQ/view?usp=drivesdk

Maybe it's time for a clean install with the kdz

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] rabies876:
Hello to all the happy people.

I am asking too much if you could add a cpu voltage UI to your kernel tweaks. Thanks you for time
[G2 Android Development] merlin21:
... because experimenting.

For some people with other usage of phone some other settings available are great. For me the ability of many options is the spirit of dorimanx kernel [emoji106]
[G2 Android Development] raptorddd:
am one of the lucky ones not having a problem. :D knock on wood. i always doa clean installation.of rom and when i update dorimanx i delete folder device/data.dori. and i go over all settings just to see if there are new changes..

i think dorimanx says no to voltage tweaks..
[G2 Android Development] Francesco0301:
Why if i exit from app for kernel settings(dorimanx) it dont save the settings?
[G2 Android Development] destroyer31:
Because you use 30f based rom

Exp NDM 5.3 UX 5.0 rom I have same problem I said this before still unsolved