yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
Percpu code merged from 4.2.y so its stable too.

And i never seen this crash, so its issue with device that had the crash.

If everyone report the same then its kernel bug.

User use rom that made for lg g3 kernel.

Every service can overflow kernel stack as lg g3 has 3gb ram. And limits in rom code set to higher that we have

So using rom for lg g3 is a big mistake.

Then blame me for rom crash

My kernel is for stock lg g2.

All the rest can report, but its not my problem.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Your kernel with cloudyg2 3.3 works great... remember this words ;) (I use cloudyg2 3.3 + dorimanx kernel by more than 6 months).

When we post logs most of us I think that don't understand what is the reason of the crush so we attached the log to try to be useful for your development.

Your kernel it a beast and rock stable with Cloudyg2 (not only for me but for most of your users ) only in some extreme conditions it could crash but it's not a real problem ;)

Anyway with your explanations you help us to understand the type of crush (i.e. chargerlogo buffer camera etc.) to avoid to post useless log ;)

Thanks as always for all!
[G2 Android Development] duki994:
V30A is base for CloudyG3 3.3. Plus RAM limit is set to 2GB. In SystemUI, Camera and other apps. It's V30A SystemUI with changed icons. And new launcher with G3 them - resized.

Anyway GCDaemon can crash ROM only if app is using BAD multithread code. I'm just surprised that it crashed kernel. That's not possible from what I saw in it's source code.

I run CloudyG3 3.3 on my daily driver D802. On my friends it's stock ROM. Both work good with your kernel :)

I thought that LG G3 camera could overflow buffers but it doesn't. G2 camera and G3 camera sources are same, it's just different layout and color settings.
[G2 Android Development] dorimanx:
News Update!

Kernel 7.6

07/12/15

*Merged all RCU and SRCU code from 3.10.y kernel.

Huge update 225 commits!

It's change the way kernel operate with every driver.

Code is optimized and many bugs that lead to crashes are fixed.

*Merged code optimization to all RCU functions in every possible driver in kernel.

*Merged few fixes for GCC kernel builder.

*Merged few NET updates to support new RCU code.

I have tested kernel for 2 days. and it's stable for me. no single issue.

Have fun testing. this is BETA mega build.

Report with LOG if any problem found.
[G2 Android Development] jeebspawnshop:
Dori... you're just a coding MONSTER!

I've had zero issues on the last few builds, and 7.5 so far has been extra kind to my battery while offering me the best performance I've seen in a very long time.

I'm installing 7.6 now, and I doubt I'll be posting any issues with this one either...

Thank you for your incredible hard work, as always!
[G2 Android Development] dorimanx:
great :)

But such big update needs long run test. issues can be seen.

I need to know if they from RCU code. or other part of kernel.

Or they from ROM or APPS, then i sleep better. i use the same ROM from day one.

V30b Somboons (SRK-D80230b_20150425_droidth). + viper4android + exposed v78 + g3 tweaks pro + tons of apps.

And all great. and i dont need anything more than that. i use next launcher and different sms and dial apps.

There is nothing "STOCK" left, only the actual dial is stock with g3 tweaks :)

I see that there is D802 30F build from Somboons! maybe i will spare some time to test it and if all good, stay with it.
[G2 Android Development] goran_oh:
Wow works great on my g2 with cloudy 3.3

Send from my LG G4 using Tapatalk
[G2 Android Development] adydac:
I know I should not post this kind of things here in the dev thread...but I could not resist...After updating to v7.6 my phone is so responsive and smooth like never before.

Thank you sir for your awesome work

Regards
[G2 Android Development] sheikhramnuj:
Kernel v7.6 currently rockin in my g2 with cloudy3.3 Will report back if any issues occur. Thanks master! :D
[G2 Android Development] gamertwo1:
v7.4 is super stable and awesome, smooth and lag free. Usage for this build is more than 160 hours and still working super smooth. A huge thanks to you master [MENTION=2376110]dorimanx[/MENTION]

Now switching to v7.6 hope to see more stable than v7.4 :)
[G2 Android Development] Romagnolo1973:
I use your kernel with Somboons 30F and it's working perfectly so you can update your rom safetly. kernal 7.6 is working great at the moment, I'm listening music with sever apps and everything is ok and for me seems as music sound better every new kernel update you create even if probably in this case you don't touch sound drivers directly

Great works as ever, our G2 is flying
[G2 Android Development] saspo59:
The new update v7.6 feel greate all ok and more snapy.

Btw stock 30f of somboon is great i think is more fast and responsive then 30b and clody 3.3 i tested all of them.
[G2 Android Development] AlexOB1:
What's the difference with this 30f version?
[G2 Android Development] BaschtlWaschtl:
Stagefright Patch...
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION]

7.6 survived my car trip to home (1h) using waze and poweramp music over Bluetooth. Temps around 60c.

Great....!
[G2 Android Development] 60nine:
to be exact - stagefright v1 patch...

after 30f was released, stagefright v2 appeared... (there is a zip patch for sf2 too, but so far it's only for cloudy3.3 rom - no one yet confirmed it works on stock 30f too)
[G2 Android Development] dorimanx:
Great.

When i released 7.6 i found kernel for d802 that seems to be abandoned :(

But :) its included few patches that i missed, for video, ondemand, sched core, and gpu.

Why to leave them there to be lost in dark and forgotten.

I merged all with respect :)

So i think i will build 7.6.1 later for all.

Testing for now.

And i have merged ramdisk changes from 30f kernel by lg.

Init binary is updated. And others too.

No issues to boot my 30b.
[G2 Android Development] Peppe91:
So the latest update 30f/30d has other changes than the only Google patch regarding stagefright?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] merikgvr4:
Which rom are you running? Would like to try dorimanxs new stuff. Thanks
[G2 Android Development] BaschtlWaschtl:
My first reboot since Lollipop.. Surfing in Firefox...

Cloudy 3.3 Dori 7.6 D802

Log:

https://app.box.com/s/5vb3wtw0254kjsgcbk19qhsy3liftkai
[G2 Android Development] saspo59:
For me 30f more fast and less lags
[G2 Android Development] madmax59:
charge work on 7.6? don't working for me

LG-D802 cihazımdan Tapatalk kullanılarak gönderildi
[G2 Android Development] dorimanx:
Nothing interesting in log. No errors.
[G2 Android Development] Trixanity:
While not development related, those on cloudy or other supported roms should go get the stagefright fix from here: http://xdaforums.com/showthread.php?t=3193283

Security is important and just found this today (even if it's old news to some). Was looking in to other roms because of the discussion here when I stumbled upon it.

I, of course, am not responsible for issues, bootloops, crashes or loss of data and I did not make this (obviously :P )

Now back to the development talk. I personally haven't had any issues in a while now. Think I logged some 150 hours of uptime on 7.4 and probably something similar on 7.5 (it says 5 hours but I rebooted to flash the stagefright fix in recovery, so it hardly counts). Will flash 7.6.1 when available.
[G2 Android Development] n@vier:
See screenshot ;)
[G2 Android Development] Eminemiero:
I have no words to describe 7.6, all i can say is that is smooth as ****. A master piece.

I have all The apps that a 20 year old guy can have, fb (this one loves eating my RAM), twitter, instagram, snapchat, messenger (this one too), whatsapp, etc.

My free RAM is never under 700mb!!
[G2 Android Development] wikowikowiko:
hello dori, i have another freeze when watching movie on mxplayer.

i have this random freeze since 7.4.

currently I'm on somboons srkg3 with kernel 7.6.
[G2 Android Development] Kirpman:
Would you like to share your settings :)?
[G2 Android Development] daimaah:
It's funny how in the year 2015 people still think that unused RAM is a good thing....
[G2 Android Development] Edvin73:
Unused ram is useless ram but ..... it's also good to have some, when you need it. ;)

Dori. 7.6 is great. :good:
[G2 Android Development] dorimanx:
Last Kernel dmesg Info before BUG/Opps/Panic triggered:

there was no /proc/last_kmsg to read from

nothing for me.
[G2 Android Development] KpKi:
SOMETIMES when you reboot from recovery or reboot in general the phone goes into bootloop ..last time happened was on 7.4/5 did anybody encountered this or im the only one ?
[G2 Android Development] stroge:
Yes, I did, after flashing 7.4 if I remember well. however it was only once with charger on, after that I did not have any issues even with charger on.
[G2 Android Development] Eminemiero:
Somboons 30f ultra debloated ROM + Default profile. Nothing else

---------- Post added at 07:11 AM ---------- Previous post was at 07:05 AM ----------

Maybe is the way i use my phone, but with less than 300mb of ram this phone lags.

At the same time, i was referring to the fact that with this new version i have more free RAM that with previous versions (with exactly same apps). Im sorry if i made your nerd side jump out of the bed :p
[G2 Android Development] hitardo:
Yes, more RAM does not mean better performance directly.

But if you have low RAM available all the time, the CPU will be occupied trying to release some RAM.

This will result in lag, when opening apps, for example.
[G2 Android Development] n@vier:
@ All

Remember that this is not a chat but it's always a dev thread it's better to use Q/A for this thanks ;)

[MENTION=2376110]dorimanx[/MENTION]

V7.6 works great no problems till now (after 2 days of use) simply perfect!

You rock! Thanks ;)
[G2 Android Development] dorimanx:
News Update!

Kernel 7.7

08/12/15

*Merged update to video code, overflow fix and optimizations.

*Merged fixes for smd_pkt driver to prevent crashes.

*Merged fix for sched core global defines.

*Merged fix for GPU for better register touch.

*Merged fix for ondemand cpu gov.

*Created updated kernel toolchain with updated crosstool builder.

*Merged latest init binary and other updates for D802! from stock 30F kernel.

Tested all new changes, all great.

This improves stability and battery usage. maybe small performance boost :)

Have fun and update. report with LOGS if problems found.
[G2 Android Development] stroge:
STAHP! My brain can not follow what my phone is doing!! :D

Thanks for your hard work Dori! ;)
[G2 Android Development] DennisvandePut:
First impression: my phone flies.
[G2 Android Development] qweewq22:
7.7 lagged?
[G2 Android Development] n@vier:
This is a dev thread, as I said before, please don't post useless question here!

[MENTION=2376110]dorimanx[/MENTION]

V7.7 it's great every update seems always better! I'll report my full experience after some days of test to be more accurate ;)

Thanks for your awesome work!
[G2 Android Development] jeebspawnshop:
qweewq22 failed?
[G2 Android Development] KpKi:
7.7 is a fast one indeed smooth as silk !!

Is there any chance we get rid of this sound bug !? Im on performace profile + Hyper gov. which should be enough to handle chrome + spotify..... yet bzz gives me a vist now and then .

Note : Never had a single crash !
[G2 Android Development] jeebspawnshop:
Hmm, so my phone just hung while opening Gmail from a notification, requiring a hard reboot via the power button.

I checked the log, and it looks like a storage problem?? All I can say is that I never had any issues before.

Important info: running 7.7, and JUST installed latest Somboon 30f, so it may be a problem therein.

I'll leave the rest to you, cuz I'm useless in these things :D
[G2 Android Development] dorimanx:
Strange too high rate loaded to cpu hardware driver.

Rate 883200000 for krait0_clk is greater than highest Fmax

For cpu 0. This is something new....

And there was no change to that code.

All the rest nulls came after that crash, as kernel already failed on cpu0. And that is end of the road.

Any voltage mods? Or somerhing added as some tweaks?

Keep me updated, if any more problems...
[G2 Android Development] dorimanx:
Set suspend max freq to max allowed.

That will stop that bug, and use ondemand on core0.
[G2 Android Development] jeebspawnshop:
Yes, I have overclocking to 2.4, but no voltage mods. I changed optimal frequency and optimal max frequency each 1 step up in ondemand tuneables though. And I have triple core boost in hotplug settings.

But these settings are no different than the ones I had been using since 7.1.

Also, I had my phone plugged in to an old, OLD Blackberry charger at the time - maybe that messed things up! I dunno...

Anyway, if it happens again I'll let you know - but after reading your reply, I have a feeling this was a 1-time freak accident, so don't even give it any more thought.

Keep rocking, my man [emoji106]
[G2 Android Development] Peppe91:
Didn't wake up after lying in the desk. I forced reboot.

v30d
[G2 Android Development] dorimanx:
Last Kernel dmesg Info before BUG/Opps/Panic triggered: there was no /proc/last_kmsg to read from

Try to use stock for week. If same bugs, then you will need to wipe all. Install clean rom. Dont do uncommon changes. And all will be ok.

I have group of people that i see reporting bugs of all kind. No matter what i do.

And you need to know, that there are more than 4000 downloads in one or 2 weeks of the same build.

And i dont see 4000 bug reports.
[G2 Android Development] DennisvandePut:
9 hours, drain 10%. 6 hours deep sleep :) impressive. I'm glad I bought a g2 last week. After 5 years S2. Finally Dorimax again ;)
[G2 Android Development] Edvin73:
Not a single issue with 7.7 on d802 v30d. The thing just flies.
[G2 Android Development] Dick Gordon:
Hi, Dori.

Strange reboot on wakeup. Log attached.

D802 32Gb, 5.0.2 V30a, Dori 7.7
[G2 Android Development] lynxrz:
bzzz sound on 7.7(youtube and spotify app) , except that everything great :)

Not hear on 7.6 but I'll test again all day long
[G2 Android Development] hitardo:
[DormanX kernel v7.7, CloudyG2 v3.3, XPosed v78, Bluetooth always On]

Hello,

How is your battery?

Mine, during last night, was horrible.

I always have Bluetooth on, due to my Mi Band that is connected to the Mi Fit and Mi Band Notify v2 applications.

Mi Band is a LE (Low Energy) device, so Bluetooth is not always connected, as opposed to a Bluetooth headset or speaker.

What is "bluesleep"?

Is this normal considering my use?

The Gallery with all the screenshots can be found here:

http://postimg.org/gallery/hgpch08c/
[G2 Android Development] Peppe91:
Maybe it's a random reboot.. I'm one of those who have really few reboot since early releases.. I had like 7 reboot from the start of lollipop kernel!! I already did a full wipe the last week. I'll report again if somethings happens! Thank you! [emoji1]

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] n@vier:
In general you need of three-four cycles of charge/discharge to understand what is the real battery drain in same conditions.

Kernel needs to settle to give best results so you need more time to understand if battery drain is better or not compared to the previous version ;)

Anyway bluetooth always on drains battery....you can also do tests with or without bluetooth to understand better your battery drain.
[G2 Android Development] oTeMpLo:
10-12h max ... Bad.
[G2 Android Development] duki994:
Our phone doesn't go to deep sleep with Bluetooth enabled. Several tweaks made it better, but still...
[G2 Android Development] oTeMpLo:
I. see.. Using android watch... So BT is alwayz on.
[G2 Android Development] merlin21:
No problem with bluetooth and Wi-Fi here on my d802. I get 1% drain per hour with wifi and bluetooth always on (alucard govs and hp with performance profile).

Can't get more satisfaction [emoji56] thx
[G2 Android Development] dorimanx:
Last Kernel dmesg Info before BUG/Opps/Panic triggered:

there was no /proc/last_kmsg to read from

strange reboot = not kernel reboot.
[G2 Android Development] Nigglenuts:
My battery overnight. Not bad at all. Wifi was off too with low HSPA signal so that probably accounts for the 2% drop overnight. The last percent was me taking the screenshot and reading on XDA.
[G2 Android Development] Nigglenuts:
Yee
[G2 Android Development] dorimanx:
I have merged updates to proc code.

Also fix to oom code for apps.

Its should help to protect kernel from apps that can write some crazy bugged data to there pid allocation, and crash kernel or rom.

So next build will include good protection, and fix for kernel leak in net router.

And probably more things that i didnt even merged yet :)

Testing now all changes. Seems good, and harder to crash memory given to apps or services.

see git for changes.
[G2 Android Development] raptorddd:
i feel you. LOL s2 was good but battery design was the worst thing.

---------- Post added at 10:32 AM ---------- Previous post was at 10:30 AM ----------

well for the past 2 days i have wifi and BT on and with 100% charge over night and the next day an 8 hour ssleep i still had 100%
[G2 Android Development] obvious:
Hey Dori :)

Completely hypothetical question: If LG give us MM would you have to start again from scratch or would certain stuff you've done for LP hopefully merge across? I guess I'm asking how much of a hard time you would have
[G2 Android Development] xxoscarxx28:
I can't wait for F320 support forever T^T

Gosh Im too excited XD
[G2 Android Development] denuxer:
[MENTION=2376110]dorimanx[/MENTION] Ihave installed V30A SEA and i download your 1.5 kernel iflashed the kernel with phone charged and its boot loop on LG Logo, so i power off the phone when itry to power on the phone its just LED red Blinking the phone wont start

i try to get download mode, with Vol+ Plug the USB cable the led BLINK again red and no Download mode

how to get fix this, is my phone Brick

thanks in advanced
[G2 Android Development] Diechel:
Stock 30b.

Maybe due to Xposed module G3 tweakbox. Did disable sounds and low battery warning.
[G2 Android Development] sankeerth24:
which model is your phone ? did you install recovery ?
[G2 Android Development] denuxer:
D802 i think is because Drained battery i flash the kernel when charged its about 12% battery and when its bootloop i powor off the phone and never want to power on

when i pluged the charger its blinking RED LIGHT
[G2 Android Development] merlin21:
And without dori kernel the LP rom booted fine?!

PS 12% is less to flash something so important. Did it install correctly in tecovery? And you downloaded the correct version of kernel for d802?

Do you know how to use adb?
[G2 Android Development] denuxer:
I download the correct version its v 1.5 for D802

and i can use Android Debug Bridge

but my phone wont charge and wont turn on its just red blink whent it charged
[G2 Android Development] merlin21:
Try your luck. with this tool here, and if nothing help it will lead you to flash kdz if necessary [emoji55] http://xdaforums.com/showthread.php?t=3079076
[G2 Android Development] lynxrz:
sudden power off

LG G2 lollipop (5.0.2) 30a

with 1.6 kernel causing sudden power off but 1.5 is stable for 30a

in addition can't write system directly (realized when I install busybox). Is it about kernel or someting else?
[G2 Android Development] bender_007:
Even if you flashed the wrong kernel it still has to let you to the recovery so you can flash another one.

But it's ok, you have your backup. Right?

Not to be an ass but flashing something when on 12% is like playing russian roulette.

-Can you enter twrp?
[G2 Android Development] dorimanx:
sudden power off??? ok... never happen before.

system is RO. you need to mount it as RW before writing. it's as should be in android. (same as stock)

and you dont need to install other busybox. maybe it's your sudden power off....

dont mess with system, all already included... no need to post here if you make mess.

no logs, no info... so why you post?
[G2 Android Development] dorimanx:
did you have TWRP and 20H bootloader?

it's seems like you have drained all power, and kernel cant start as bootloader not allow it to boot... (original LP bootloader will not boot kernels or recovery not from LG)

so you stuck.... use KDZ original way to restore your system. and follow the GUIDE about how to install first.

to get to download mode, connect USB! then power + vol UP

device must be OFF when you do it. connect power and immediately hold power + vol up.
[G2 Android Development] Pritt0:
Dorimanx can't say if that I am the only one that faced this issue but keyboard still lagging during charge, and as like that, if you are playing with game during charge after few time sound disappear and no music at all. You need to turn off and turn on display to let sounds came back.

Don't know if that info could be usefull for you, but thanks in advance
[G2 Android Development] dorimanx:
hmm... not useful. sorry.
[G2 Android Development] dorimanx:
News Update.

Kernel 1.7

17/05/15

*Reverted change to Alucard Hotplug that can be unstable. now should be ok again.

*Removed ROM tweaks that maybe where OK with KK, but not good with LP.

*Merged new KERNEL RAM protection code, to block access to critical registers that can be used

to stuck kernel... now it's protected. code from aurora kernel.

*Restored default playback and record timer periods... possible bug with call start.. and freeze.

have fun and report :)
[G2 Android Development] duki994:
Had random reboot on 1.6

Log:

https://app.box.com/s/ewut9a6gg516rf0o6g51

I don't see anything suspicious in log, but there are some mdss errors starting with "spec error in device tree"
[G2 Android Development] samuele94:
Reboot with tapatalk and alucard gov and hotplug 30b +dorimanx 1.7
[G2 Android Development] dorimanx:
try to use msm hotplug and alucard gov.

if reboot again, report it. i am testing too.

need to understand who is bugged... as with ondemand and msm hotplug no reboots.
[G2 Android Development] duki994:
I used ondemand and msm hotplug when reboot happened.

I had one again with alucard/alucard combo.

---------- Post added at 01:12 PM ---------- Previous post was at 01:08 PM ----------

Useful log:

https://app.box.com/s/14s6wlmem66mzqji2tm5wm257yz77nkj

Here's new useful log. It has "Internal error: Ooops........." line :)
[G2 Android Development] d_Schizzo:
Reboot with 1.7

Hi [MENTION=2376110]dorimanx[/MENTION]

havent been very active for a while now. Just want to report a reboot with 1.7 using alucard hotplug/gov. Switched to ondemand and msm hotplug and all ok till now.

Logs are attached

Regards,

Schizzo
[G2 Android Development] lgnd:
Rebooted while using the phone. Maybe useful log.
[G2 Android Development] salmankhere:
Reboot while on idle hope it helps :) https://drive.google.com/file/d/0B9tBGyDPorrMaXFhdXdmb195LXM/view?usp=docslist_api
[G2 Android Development] dorimanx:
Depend on stock source changes.

If its will be huge difference.

Then its will be new big head pain for me.

If considerable possible to merge to existing code, then few days and some tests, :)
[G2 Android Development] dorimanx:
You had some major ram shortage.

Kernel was releasing ram hard.

Then sudden stop of log.

No kernel error recorded.

Seems like rom service ordered reboot to kill the ram sucking service.
[G2 Android Development] dorimanx:
Nothing recorded by kernel.

No last log.

Its will be great if people will look inside the zip.

Open the txt file.

Look for last kernel log before bug.

And if its say no last log.

No need to post it, its useless.

Rom bug, or app bug.
[G2 Android Development] salmankhere:
Thanks dori its good news for us .. I assure you i'll see log first before posting. ;)
[G2 Android Development] Lycidias:
Maybe you could add a check if there is no last kernel log, then no zip or a Dummy file will be created? :)
[G2 Android Development] boyheadkick:
lol, it doesn't take 5 minutes to do what dori said, but hey, end users will be end users :laugh: /OT