yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] siggey:
To get performance profile you have to do two star gestures on screen off, left side, two minutes wait between the stars.

_____________________________________Read more write less and be smart
[G2 Android Development] pjadec:
I was listening music and update one icon theme then freeze. Had to shut down phone and restart. Everything was default settings.
[G2 Android Development] dorimanx:
Process mm-qcamera-daem (pid: 17994, stack limit = 0xd84242f8)

camera ROM driver daemon crushed. and took with it all ROM services and main thread.

nothing i can do. use stock ROM. with stock CAMERA. never had any problems with this driver.
[G2 Android Development] dorimanx:
not kernel error.

last_kmsg-Info:

there was no /proc/last_kmsg to read from

APPS or ROM

before you send log. to save your time and my. look inside the file.

at the end of the log.

if you see something like this! UGLY

LR: 0xc0206494:

6494 e49df004 e1a01000 e3040870 e16d41f8 e34c0104 e1cd60f8 e58d8010 e58de014

64b4 eb0725be e2506000 0a00001d e5960028 e3500000 0a000015 e3083938 e3075044

64d4 e34c30b0 e3078258 e34c5101 e34c8101 e5937000 e3a04000 e3e00000 ea000003

64f4 e7982100 e596c028 e792e00c e084400e e2802001 e3a01004 e1a00007 eb0709ed

6514 e5951000 e1510000 cafffff4 e1a00004 e1cd40d0 e1cd60d8 e59d8010 e28dd014

6534 e49df004 e1a00006 eafffff8 e16d41f0 e59f4038 e1a05000 e58d6008 e58de00c

6554 e1a00004 eb21a4f5 e1a00005 ebffffcc e1a06000 e1a00004 eb21a51c e1a00006

6574 e1cd40d0 e59d6008 e28dd00c e49df004 c104487c e16d40fc e1a04001 e1a01000

SP: 0xd8425dc8:

5dc8 c1044894 33393734 00313134 00470d00 c104487c c02064b8 c104487c 00000188

5de8 00000000 60000013 ffffffff d8425e34 00000000 c0106558 7c30173b 00000004

5e08 00000008 00000000 00000a5a 00000000 00000289 00000000 00000000 00000000

5e28 db050800 00000280 00000004 d8425e48 c0206514 00000000 60000013 ffffffff

5e48 00000006 00000000 00000000 00000000 c1016f50 00000000 c1009830 00000000

5e68 00470d00 00000000 00000000 00000000 00a56c6f 00000000 00470d00 00000000

5e88 00000000 00000000 d47e26c0 c1009880 c1016f54 c1009880 55f52758 db050800

5ea8 55f52758 3ab0d4e6 00000d6e 000bcc85 00000d6f 0001a379 00000d6e 00000d6e

GOOD! send it over.

if not... and seems like nothing interesting recorded or no last log at all!!!

then no need to waste your time....
[G2 Android Development] pjadec:
Ok, thanks
[G2 Android Development] Diechel:
Got reboot
[G2 Android Development] 60nine:
reboot on screen off

(device was on the table in sleep mode, i picked it up and tried to wake it up - nothing - had to longpress pwr button to reboot)

https://www.dropbox.com/s/256m15vnb6jdund/dorimanx_debug.zip?dl=0

(it may be because of core0 on interactive instead of suggested ondemand - but i had no problems in 2-3 days with interactive on core0)
[G2 Android Development] g.paganini:
It's fascinating to me that I didn't have a single reboot since v5.0, and I was one of those people who posted logs on random reboots on almost every version before 5.0. I switched back and forth between stock ROM and cloudy 3.3, and no reboots whatsoever. So, as far I'm concerned this kernel is stable as rock,and I hypothesize that those reboots come from some app or something or maybe some bugs with previous version of Xposed. Nice work Dorimanx!
[G2 Android Development] sheikhramnuj:
5.5 is so amazing my mobile sleeps very well when not in use 7hrs and still 100% I am using inazuma rom with xposed mods installed. :) Thanks master [MENTION=2376110]dorimanx[/MENTION] :D
[G2 Android Development] Diechel:
Reboot using waze navigation, hopefully you can use something out of the log.

Exception/trace is at the end :)
[G2 Android Development] Shaolin007:
[MENTION=2376110]dorimanx[/MENTION]

Heyy buddy 4.6 looks awesome to me it doesnt heat that much during charging andd gives me best performance no lags no reboots no fc and works like smooth hell...

Look at it settings i insist if ur next kernel is based on the same settings as 4.6 just giving an idea if possible then...?
[G2 Android Development] Kemby13:
+1

I only had 1 reboot (in 5.4) but it was my own fault, i tryed to experiment with

other govs on core 0... Now i only use ondemand and have 0 random reboots.

Although i do wish darkness was stable like in the old days with KK, as it was

by far the best gov for me and my phone... Nevertheless i am happy with the

progress of this wonderfull kernel and i hope it will continue to get even better!
[G2 Android Development] minotavros:
Freeze and reboot. Dorimanx 5.5, cloudy 3.3, D802.

https://www.dropbox.com/s/ksp8r9ievw40jbv/dorimanx_debug.zip?dl=0
[G2 Android Development] Cacceli:
Sorry I dont have log, got stuck and reboot while browsing with uc browser.
[G2 Android Development] merlin21:
Then please don't report it next time. Because it's useless[emoji19]
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Suggestion.

In this commit:

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

except other changes, alucard changed hotplug sampling rate from 30 to 50 for his device (guessing S4 i9506 Snapdragon 800 from CONFIG_MACH_JF).

#ifdef CONFIG_MACH_JF
.hotplug_sampling_rate = 50,
.hotplug_enable = 1,
#else
.hotplug_sampling_rate = 30,
.hotplug_enable = 0,
#endif
.min_cpus_online = 1,

This can be reason for slightly higher idle drain when using alucard HP (even with hotplug suspend, due to constant sampling).

Plus it seems to not affect performance.

Sorry if Tapatalk formatted code wrong.
[G2 Android Development] dorimanx:
thanks for testing, i will set 50 for us too.
[G2 Android Development] AlexVipXDA:
[MENTION=2376110]dorimanx[/MENTION] reboot for me v5.5

https://www.dropbox.com/s/gdik38lai3tqnrf/dorimanx_debug.zip?dl=0

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] Brahialis:
Got stuck and reboot while playing Hearthstone. Kernel version 5.5 (all settings stock), also happened on 5.4 version. Never had it before. Maybe there is something useful in log. Thank you!
[G2 Android Development] nidzaaaa:
First reboot after 3 weeks. 5.5 + cloudy 3.3. Browsing dolphin...

all cores intelliactive, and i did a lot of tuning in the app (was bored..)
[G2 Android Development] dorimanx:
News Update!

Kernel 5.6

16/09/15

*Removed kernel flag optimizations. as i use GCC 5.2 to compile kernel.

it's best to let GCC to set what needed by auto.

Any way i don't see any performance drop, or high battery usage.

kernel is stable and perform as expected.

*Merged fixes for 3.10.y memory code from 3.10.y main line.

*Merged bug fixes for Sound driver. no sound output change.

*Cleaned memory code from patches that belong to 3.4.y memory code.

we have 3.10.y memory code now.

*Updated PROC code to be able to use new memory code structure.

*Updated CpuSet code to use new memory code.

*Set Alucard Hotplug sample rate to 50. to reduce battery drain.

*Set watchdog timers to default to prevent possible bugs from my customer sets.

*Merged full update to IPC code from 3.10.y, it's responsible for memory allocation

and permissions check and filter from ROM to Kernel. and much more.

very big update! 100 commits.

*Merged code updates to Alucard,darkness,nightmare CPU govs from DEV.

*Set hotplug suspend OFF (always ON) after tests it's save more power than

when it's suspend. when we listen to music with screen OFF.

When device is going to sleep more, hotplug not working anyway.

*Profiles will be reset on first boot.

Have fun. this build fixes bugs with memory that i have found by my self from my logs.

and from logs reported!

so keep posting real helpful logs, so i can find and fix the problems.
[G2 Android Development] LitrosNub:
Should I update to the latest kernel? Or should I wait for the next 'stable' (I'm taking this from the changelogs, newest one is 'in testing')

I've seen alot of people having trouble so I'm thinking I should wait.
[G2 Android Development] lynxrz:
Is it placebo or 5.6 runs apps faster ?

Can't make sure...
[G2 Android Development] wisefreakz:
Always update. Each version tends to be stable.
[G2 Android Development] pmgnet:
I'm at 17 days uptime! 5.1 kennel. I need my battery to die or something so I can upgrade and get all this cool new stuff.

Btw, I'm using bluetooth, WiFi hotspot, exchange, browsing, Pandora, google music, endomodo for running, greader, podcasts, etc.
[G2 Android Development] dorimanx:
kernel downloaded 6000~10000 on each update.

I see about 10 reports. Now think again on alot word.

its should be tiny few. :)

And that is expected. This why i can fix things and progress.

Sent from my LG-D802
[G2 Android Development] soroosh78:
Hi

Does this kernel work on CyanogenMod 12.1?

tnx
[G2 Android Development] marek_poland:
Just read the OP title...

Simple answer: no.
[G2 Android Development] 5nickers:
[MENTION=2376110]dorimanx[/MENTION] have a beer or two 321185209S148942K :)
[G2 Android Development] runekock:
If I understand correctly, you have removed these flags:

@@ KERNEL_FLAGS = -marm -mtune=cortex-a15 -mcpu=cortex-a15 -mfpu=neon-vfpv4 \

-frename-registers -ftree-loop-linear -ftree-vectorize \

-fmodulo-sched -ffast-math -funsafe-math-optimizations

I can see why you want to let GCC decide the -f flags. But how can GCC know that we have a Cortex A15 without the -m flags?
[G2 Android Development] dorimanx:
Yes that is correct.

Gcc compiled by me for cortex-a15 neon vfpv4 hard link.

Its know :) dont worry!

And kernel code already set to signal gcc that its for arm v7a a15 :)

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

Recent changes in alucard's govs make them freeze and reboot phone. After each time, no kmsg. I narrowed bug to latest changes in alucard.

Investigate if you have time :)
[G2 Android Development] dorimanx:
Oh.. thanks for report. I will check.

I need to test changes before adding next time.

Strange but what works good for alucard with samsung g4, fail for our lg..

Sent from my LG-D802
[G2 Android Development] 60nine:
just a mental note (or suggestion) to everyone (here or in Q&A section)

- don't report if the kernel works only after a day/two of use... i've had recently bitten my tongue when saying that everything worked after 3 days - and then got a reboot out of nowhere...

- let it sit for a while, after you've done everything possible with your device that counts as your normal daily usage...

i'm sure no dev will gain profit with the posts like "everything works", "nice release", "it's stable for me" - just a day after you flashed new version of the kernel...

report crashes - with log included - that's what's helpful...

cheers...
[G2 Android Development] Nigglenuts:
I wouldn't be so sure if I were you. I've been using nightmare with alucard hp since the release of 5.6 with no issues. So maybe the alucard governor is bugged, but not all of them are.
[G2 Android Development] duki994:
Haven't tried nightmare. Alucard reboots after 5 to 10 sec. Darkness is a bit less unstable (reboots after 20sec).

HP is working good since beginning! :)
[G2 Android Development] Nigglenuts:
Give Nightmare a shot.. Do you still get reboots?
[G2 Android Development] dorimanx:
3 days for LP is great performance.

Sent from my LG-D802
[G2 Android Development] 60nine:
i think it would be more than 3days if i wasn't experimenting with various governors on core0 and OC-ing...

nevertheless - i switched to Cloudy3.3 rom again yesterday (full wipe/format even internal and data) - let's see how will it go with 5.6 kernel...
[G2 Android Development] duki994:
Nightmare works ok. It's not bugged :)

It just more power hungry than interactive (which is suprisingly powersaving and smooth with some changed tuning - perfect balance).

[MENTION=2376110]dorimanx[/MENTION]

I can confirm alucard gov is surely bugged after latest changes. I'm just surprised why would these changes break gov (GCC maybe?)? It's mostly cosmetic change with small optimization.
[G2 Android Development] merlin21:
As some of you know i had problems in last versions with any gov then ondemand. If i switched to another there where minutes till sod that i mostly can't turn on screen again.

It's amazing that now with v5.6 when you report that alucard is bugged i switched again to alucard hotplug and govs with default profile (i read in changelog about alucard optimization) this morning and it works great.

No crashes like in last versions with alucard - isn't that amazing that it works for me?
[G2 Android Development] dorimanx:
well its not just cosmetic.

Its init values in structs, and they can be null by the time that they used.

And that is wrong.

We need to init the struct, then later init the struct value, then check if its null, and break early if its nulled...

As kernel dont like devide by 0...

this exactly what is wrong.

I will sit, and spend some time on rearange the structs and add checks.

Sent from my LG-D802
[G2 Android Development] duki994:
I saw that in old code it's initialized with new values right after being defined/initialized with zeros. It's used after new values initializations. Shouldn't make a problem.

But, with critical part of kernel like gov, it's better to be safe than sorry :)
[G2 Android Development] txv0:
So a reboot after 3 days use should be expected?
[G2 Android Development] Nigglenuts:
[MENTION=3441913]duki994[/MENTION] I set alucard as the gov as soon as you said you had problems. Can't reproduce your reboot bug no matter what. Alucard governor is solid as bamboo for me. No reboots whatseoever.
[G2 Android Development] Sfuma:
For you guys will be strange to read: I am on v5.0 since the release. After many weeks I confirm absolutely no reboot with v5. NO one Fuc**ng reboot! Simply epic release! I know it's recommended to update every time. But I found myself so well with 5v. Always fast, smooth ofc expecially when I clean the ram. Again it was a perfect verson. Yes "was", because I think its time to go whit 5.6 now :)

Now im testing, see next weeks guys whit my report!
[G2 Android Development] dorimanx:
the magic word is: "when I clean the ram" that is the MAIN LP BUG.

5.6 kernel deal with this much better than 5.0

so if you will keep "clean the ram" you should be fine, and happy.

people that think that phone = super PC I7 quad core 4.0Ghz with ThermalTake fan cooler and 16GB RAM.

having reboots every day. others. dont.
[G2 Android Development] iko11:
Just got one freeze and reboot

All govs was set to Ondemand, just increased some settings for better performance, I hope it helps

https://drive.google.com/file/d/0B2J_zJwMDlruVHRUNk1GM3AxR3M/view?usp=docslist_api

LG-D802 cihazımdan Tapatalk kullanılarak gönderildi
[G2 Android Development] Glpcha:
I am using alucard, and didn't have any reboots on 5.6
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION]

Can you edit the DorimanX OTA php script to allow

D805

model to be requested for LP.
[G2 Android Development] g.paganini:
Also switched to alucard 1,2,3.. Hp alucard, no reboots.
[G2 Android Development] poty87:
I try create bug report kernel/app but app not work equally.... I can not use the kernel app in this moment... Help
[G2 Android Development] Norside:
I can't find lg weather service, only lg weather platform. Is that the same apk?
[G2 Android Development] iko11:
Any relation of that question with Kernel Development ? Anyway freeze all apps with the name Weather and Cover or use bender_007's Installer

3)pm disable com.lge.smartcover

4)pm disable com.lge.sizechangable.weather

5)pm disable com.lge.sizechangable.weather.platform

Continue on discussion thread please
[G2 Android Development] mucski:
What's wrong with you guys? I have a constant over 1 gb ram free and I have tapatalk hangouts Skype and tons of other things running.
[G2 Android Development] :
Dori is that the new default setting?

Cpu rate 10000 and Performance?

Some version numbers before 50000 rate and Powersaving... Wrong description maybe?
[G2 Android Development] dorimanx:
LP need more power to be SMOOTH. that is what LG set in stock kernel.

if you need more battery restore to 50000 and use power save setting....
[G2 Android Development] Closed Force:
Lot of default settings change from build to build, but you don't notice it. If you like 50000 set it for yourself, that's why we use custom kernel in the first place.
[G2 Android Development] tpike1296:
Quick question about kernel development

[MENTION=2376110]dorimanx[/MENTION]

I had a quick question. (This is NOT an ETA request). I was just curious how much work is required to port between different variants of G2 when you make your kernels. Is most of the code variant-agnostic, or does the kernel have to be more or less completely reworked to function correctly on different variants?
[G2 Android Development] Sfuma:
Hello,

I've installed dorimax 1.5 on my g2 5.0.2 and all going well, BUT I cant see dorimanx app! I have only "color control" and "Synapse". Its strange? Sorry 4dumb question
[G2 Android Development] wkobaint:
Have you try to reboot your G2?
[G2 Android Development] h@lek:
Try rebooting your phone. It appears with next reboot. Also I think it is written at the OP.
[G2 Android Development] Sfuma:
Yes thanks..now work like a sharm, thanks all and dori ofc!
[G2 Android Development] oTeMpLo:
where can i find stweaks ? Thanks..
[G2 Android Development] dorimanx:
there are differences. not small amount. but no, i will not have to rewrite all....

you will have to wait. as this is not my main job and life. i have not much time to sit and code and find what can be wrong

with model i dont have, and people only love to post ther own problems without even say what model they have

or what they changed from STOCK to now.

so i am not burning to create other models kernel. main users are D802. see stats from my mirrors... for KK kernel.

100 against 6000!
[G2 Android Development] drew150931:
Can someone who know if the stock kernel of v30b can used on v30e or v30a lp rom?
[G2 Android Development] dorimanx:
yes, will work.
[G2 Android Development] drew150931:
Thanks for the reply. Anyway dori whats next for your great kernel?
[G2 Android Development] dorimanx:
no idea. strange question...

what you will eat in 2 days?
[G2 Android Development] duki994:
Small offtopic.

Captain Picard picture made me almost fall of chair :)

LP feel smoother when setting min GPU to 200MHz. Much more than changing CPU settings.
[G2 Android Development] dorimanx:
well, LP strange bug.

chargerlogo: entering state REBOOT

not kernel related.
[G2 Android Development] boyheadkick:
i'm doing a weeklong ram test right now...i've uninstalled greenify, replaced it with servicely, and made a habit of pressing home when exiting an app, and not clearing the recents, plus rebooting in 3 day intervals...so far i haven't had a random reboot, i'm only suffering some bits of stuttering after opening about 5 apps with a bunch more in the background..been doing this test since 5.3 and now running 5.5 (haven't updated to latest)...so in a way, i'm using my phone as a normal average user would..so far, battery life has been exceptional (for lollipop) with about 4.5 SOT average (average on KK was 5.5) with about 18-24hrs battery time...if this isn't a stable kernel, i don't know what is! :good::good::good:
[G2 Android Development] purpleraintoxicity:
I did the same till now. Had only two reboots (maybe 3) since v5 or even earlier.

All I could see (and it's not the kernel imho)

Is that I have always found ROW scheduler better and stabler than ZEN.

Maybe I'm wrong, maybe it's just cause I'm used to row from my older device.

Yet I find it better ☺
[G2 Android Development] :
does this kernel support cyanogen-based roms? :)
[G2 Android Development] boyheadkick:
no
[G2 Android Development] jeebspawnshop:
Yes.

Yes it does.

The first post clearly states this!
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Thanks for your work! ;)

24N11102D2323273K
[G2 Android Development] purpleraintoxicity:
Phone stuck. Ui restarted 3 times then I force rebooted

5.6
[G2 Android Development] :
sorry. im just a noob, i just need to make it sure. sorry for disturbing you. :)
[G2 Android Development] 60nine:
with 300+ posts here on XDA - you can't call yourself a noob because you still didn't learn how to find the basic information that's written in the very thread title...

on top of that - you asked a question in developer's thread while there exists a dedicated Q&A thread...

search - read - learn... cheers
[G2 Android Development] dorimanx:
SysRq : Emergency Remount R/O

EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p21): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p22): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p14): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p31): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p35): re-mounted. Opts: (null)

Emergency Remount complete

seems like errors in data partition.
[G2 Android Development] purpleraintoxicity:
Is it kernels side or is it my fault?

If it's in my end, any suggestion to prevent it?
[G2 Android Development] gozzaa:
got two reboots in the last 3 days

i only have a log from the last one

could someone help me to understand what happen there?

it looks like i have low memory and killing apps doesnt help at all to get more free ram it even gets lower

is it some kind of memory leak?

also what is this stuff at the end of the log?

PC: 0xc024e3e8:

e3e8 e34c0113 e58d1004 e3a01000 e58d1008 e58d000c e59d1008 e7930101 e1a08101

e408 e3500000 0a000075 ebfb0d19 e2807eff e2405004 e287700c ea00001e e3130001

e428 030c6158 034c6113 0a000009 e59d2004 e594100c e59220f8 e1510002 0a00004b

e448 e30c6158 e34c6113 e5962008 e2422001 e5862008 e3c33eff e3a02000 e3c3300f

e468 e5843008 e5842024 eb2071c7 e5951000 e3a03000 e59602e8 e5813000 eb002c8a

e488 e599202c e7923008 e2433001 e7823008 e1570005 0a000044 e5b54004 e2146001

e4a8 1afffffa e3540000 0afffff8 e5943008 e3130002 0affffd8 e594b014 e3a02001

e4c8 e1a01002 e59b3010 e1a00003 e58d3000 ebfffee5 e250a000 030c6158 034c6113

Dorimanx suggested some while ago to make a backup, format everything except internal memory and then restore the backup
[G2 Android Development] purpleraintoxicity:
Well, I did that more than 3 times in the past two weeks. I was reinstalling the whole rom.
[G2 Android Development] OT-Xtreme:
5.6 reboot while on whatsapp

https://drive.google.com/file/d/0B5sWW7uEFPD7bFlwUDFMVHdxeGM/view?usp=docslist_api
[G2 Android Development] runekock:
Data and sdcard is really the same partition, so if your sdcard-files survived, you haven't formatted anything, just wiped it and that isn't enough.
[G2 Android Development] purpleraintoxicity:
Oh didn't realized you wrote to format... Thanks
[G2 Android Development] kevindontcare:
5.6 is by far the most stable one for me & I'm on ls980, I haven't got a reboot since about 4.9, but overall 5.6 feels snappier, more responsive, running a lot cooler & the battery life is REALLYgreat! I've gotten over 20+ hours on a single charge with pretty heavy usage & brightness at 50% most of the time & at 70% when outdoors :) keep up the great work [MENTION=2376110]dorimanx[/MENTION] you're doing a phenomenal job :)
[G2 Android Development] pmgnet:
I'm at 19 days with your kernel!
[G2 Android Development] mtnlion:
First reboot in months. D800 blastagators rom.

https://www.dropbox.com/s/y9lggy8ok8aejzh/dorimanx_debug.zip?dl=0
[G2 Android Development] ghost141:
v5.6 got one hang for no reason. But screw it, overall it's all good with Alucard governor.

And also, why CPU0 does not have alucard governor?
[G2 Android Development] Mystique:
[MENTION=2376110]dorimanx[/MENTION]

According to synapse..

CPU0 keeps changing the governor that I've set for it..

I've never set 'performance' in my life.. that's what it's on currently..

vs980 currently set to Intelliactive in Stweaks.. shows as performance (currently not initially) in synapse..

5.6 using the vzw xdabbeb 3.1.2 rom, if it matters..

It happens at random times; I've not figured it out yet..
[G2 Android Development] lgnd:
First reboot with 5.6 d802 cloudy 3.3