yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
The fsync fail to sync. Now i know what to check :)

Thanks.

Edit, i have really tried to reproduce but i cant...

From your logs i see what can cause the bug!

And about touchscreen warnings, we can see them with stock kernel too. So its not something wrong with code for touch.

Sent from my LG-D802
[G2 Android Development] Tinchoska:
So ghosts don't exist!!!!!!
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Also saw this in my older post (edited my old post so it contains)

mdss_mdp_pp_argc_kcal: >>>>> mdss_mdp_pp_argc_kcal line is after dsi_panel* lines

<6>mdss_fb_blank_sub: UNBLANK
<6>mdss_mdp_overlay_start: starting fb0 overlay
<6>mdss_mdp_cmd_start
<6>mdss_dsi_panel_power_on: on
<6>mdss_dsi_unblank+:
<6>mdss_dsi_panel_on: ctrl=dfe8b810 ndx=0 maker=0
<6>lm3630_backlight_on with level 85
<6>update_preset_lcdc_lut: update_preset_lcdc_lut red=[255], green=[255], blue=[
255]
<6>mdss_mdp_pp_argc_kcal: >>>>> mdss_mdp_pp_argc_kcal

but here, when one of SODs happened

[kpdbl LED] button-backlight2: 0
update_preset_lcdc_lut: update_preset_lcdc_lut red=[255], green=[255], blue=
255]

/* mdss panel power on and on lines missing? sod happened */

mdss_mdp_pp_argc_kcal: >>>>> mdss_mdp_pp_argc_kcal
PM: Syncing filesystems ...
init: sys_prop: permission denied uid:1013 name:camera.4k2k.enable
init: sys_prop: permission denied uid:1013 name:camera.4k2k.enable
msm_sensor_power_up:1041 sensor_name imx132
MSM-CPP cpp_init_hardware:769 stream_cnt:0
msm_sensor_match_id: read id: 132 expected id 132:
msm_sensor_power_up sensor_name imx132 exit
msm_sensor_config:1777 sensor state 1

MDSS causing troubles?

It's OK. I can reproduce bug whenever I want. Just ask for what you need. It's a bit more complicated than guide I wrote.

EDIT2:

Function lm3630_backlight_on doesn't get called when SOD. So no backlight.

lm3630_backlight_on is called a lot later after mdss code does it's work.

Filesystem sync is not only SOD problem. It delays screen on by really little time (around 0.1-0.2sec). When it bugs a lot, screen goes for 5sec. So it's a small bug.

<6>mdss_dsi_panel_on: ctrl=dfe8b810 ndx=0 maker=0
/* delay after dsi panel on and backlight function is enormous sometimes (up to 30sec, maybe even 50sec)
<6>lm3630_backlight_on with level 50
[G2 Android Development] dorimanx:
Well you helped a lot!

I have found BUG in do fsync function.

and some in lg touch screen driver.

Beta 8.7.5 for D802 uploaded to store!

Try to test it.

You will not see any more errors about lg touch on wakeup :)
[G2 Android Development] duki994:
What was it if I my Curiosity may know? :)

Glad to help

EDIT: Nevermind. I'll see it on git
[G2 Android Development] dorimanx:
can you SOD now?
[G2 Android Development] duki994:
Nope. All works good.

I tried heavy undervolt + my SOD method(s) but 8.7.5 resisted :D

It's all good. Looks like SOD bug has been destroyed :)

Great work :)
[G2 Android Development] dorimanx:
BUG! Find enlightenment! In your way to hell :)

Thanks for help, finally i have seen one log that show what it can be.

Sent from my LG-D802
[G2 Android Development] duki994:
if (touch_gesture_enable != LPWG_DOUBLE_TAP) {+if (touch_device_func->data(ts->client, &ts->ts_data) < 0)+TOUCH_ERR_MSG("touch_gesture_wakeup_func get data fail\n"); }

This was responsible for touch errors in dmesg log? One IF for touch gesture (talking in programming lang) above helped? Nice :)

I saw the synaptics touch firmware version fix. Why would LG overlook this bug?

Anyway. No more SOD officialy :)
[G2 Android Development] g.paganini:
Svaka čast duki, Srbija je ponosna :D

Nice work duki, Serbia is proud. Once again thanks Dorimanx for this kernel masterpiece! I guess with SOD behind us, life will be boring again :D
[G2 Android Development] dorimanx:
this warning code should be for knock code, in case something goes wrong then it's should say that we have problem.

when we use dual tap, this:

touch_device_func->data(ts->client, &ts->ts_data)

is always < 0 ( -1~100)

when knock code selected in lock screen it's positive value.

this is cosmetic bug.

but in touch screen driver, other more critical now fixed.
[G2 Android Development] dorimanx:
hmm... seems like something drained all video ram in zone0 in your ROM.

some stuck app... strange, never seen this.

but log show us clearly, that there is no more ram for surfaceflinder to use.

and that is game over. no graphical changes can be made,

screen freeze.
[G2 Android Development] philliedbz:
Can we have a d803 beta kernel please xD
[G2 Android Development] dorimanx:
News Update!

11/11/14

Kernel 8.8

*Disabled dual kernel boot for now as we have locked boot loader.

*Released 16mb locked RAM to low mem pool.

*Merged updates to OCMEM, BINDER, MMC, ARM, CORE, SCHED, TIME, NET

*Merged lots of updates to FileSystem:

Including FAT,F2FS,EXT4+JBD2, EXFAT, DEBUGFS, + core FS code updates.

*Merged BFQ 7r6 update.

*Fixed GPU OC code. now works very good.

*Merged Alucard HotPlug + Govs fixes/optimizations by DEV.

*Merged OOM code fixed, now mem management is very good.

*Enabled MMC deferred resume to speedup the wakeup.

*Reduced Power Drain by WIFI in suspend.

*Merged updates to kernel modem driver.

*Updated LINARO to 2014.10 build with soft FPU.

*Restored some changes to BT driver, now it's more STOCK. (works good)

*Removed some changes to FS to make the code more stable.

*Found and fixed broken code in sync driver that was stuck

and created SOD from kernel 4.0 till 8.7. now it's GONE!.

*Merged fixes to ARM,LPM,QSECCOM,CGROUPS,USB code.

*Merged new updates to sound driver and sound policy.

*Merged quickwakeup driver that help to resume system fast, and suspend fast.

*Fixed bugs in touch screen driver for all models.

*Fixed CRON service stop.

*Removed FSTRIM CRON, we can only use it with screen on. it's has to sync all data with active system.

*Restored new ROM INIT binary's for all models.

Profiles will be reset.

This kernel bring massive amount of changes to all specs!

325 commits added to GIT from 8.7

Fixed SOD bug! now should be stable! but i will need to get your reports on that :)

Thanks to all BETA TESTERS, for help and debug! i cant do it all alone :)

You are great people! that really helped me.

Have fun!
[G2 Android Development] ramabg:
How much undervolt have you done ? I have stable undervolt at -50mv for all frequency and -62,5 mv for 1000 mhz ++. I will be glad if you share it or everyone. Thank you.
[G2 Android Development] merikgvr4:
I pray every night that Dori's next phone will be the One+. That phone needs his magic touch. ?
[G2 Android Development] Nigglenuts:
[MENTION=2376110]dorimanx[/MENTION] my profile didn't reset.. You said they were supposed to, correct?

Sent From The Trail Of Untold Truths
[G2 Android Development] d_Schizzo:
You tested latest beta, right?:)

Reset magic was active in latest beta and not in 8.8. So, if you installed the beta and 8.8 on top your profile wont reset again. Only, if you upgrade from 8.7 to 8.8.

All Good!;)
[G2 Android Development] Nigglenuts:
Aw! Thank you sir, for your answer. Much appreciated. ?™

Sent From The Trail Of Untold Truths
[G2 Android Development] Diechel:
Test cron job button still shows info of the trim cron. Not a big problem but I mentioned it.
[G2 Android Development] samuele94:
Why?

Dorimanx 8.8. stock 20g supersu 2.16
[G2 Android Development] bloof:
battery report 8.7.4

Confirmation great battery idle life (still on 8.7.4)

Normal: 0.4-0.5%/hr. Wifi/data ON.

Just disabling cool tool and autosync: 0.0%/hr for 6.5 hours

I use greenify, autostarts and task killer every 30 min.

Thanks Dorimanx! Now on 8.8.

Repeat: please don't test battery from 100%, it is not accurate battery drain test.
[G2 Android Development] g.paganini:
After flashing 8.8 my lock unlock swipe sounds are dead, though UI sounds work properly... I'm on Optimus 1.4.1, anybody else whit this issue?
[G2 Android Development] dorimanx:
hmm... if beta 8.7.4 was OK... then not much changed.

only bug FIX in touch screen and sync.

sound was not changed. see settings sound/ lockscreen sounds...

it's not by kernel...
[G2 Android Development] dorimanx:
WHY???

No idea.
[G2 Android Development] dorimanx:
true :) i will clean.

thanks.
[G2 Android Development] g.paganini:
You were right, it was unticked in setting even though I never went in there. I was on Beta 8.7.5 when the sound worked, after flashing 8.8 it went off. Lol. Sorry for bothering.....
[G2 Android Development] dorimanx:
:)

I am not going any where for now. my phone is good, and i am happy.

BUT, one guy conntacted me and offered to buy and send me Samsung Note 4 if i will be able to build kernel for it with all cool stuff + STweaks.

Well i am not sure if it's for real (i had many proposals before, no one really did that!)

But if it's for real, then i will do Note 4 kernel :) + LG G2. as i will use Note as tablet hahaha :)
[G2 Android Development] berryman13:
Wow, lucky you man. Congrats, you deserve it for all the time spent aalone.

d800 with 8.8
[G2 Android Development] natalya:
Dorimanx you once reverted a lot of commits especially for wifi to locate the sod... You restored them now or they still out? :)
[G2 Android Development] patrickph:
If u start. Note4 I will try get one...
[G2 Android Development] SPBoss:
I always follow the phone you buy Dorimanx and I'm glad I do. You increase the lifespan of these devices and stop me from getting bored quickly. Your kernel is making apps load faster than a stock G3 on ART mode! Great work thanks so much
[G2 Android Development] Formhault:
Is the Note 4 really worth it now with Samsung putting obstacles in devs' paths all the time...?

I thought that was why the Note 3 lacked developers - Samsung's fault lol.
[G2 Android Development] Djsam92:
Everytime i open synapse it shows me this but i can't find what is the problem :/
[G2 Android Development] duki994:
Don't worry.

Synapse is only a monitoring tool with dorimanx's kernel. It can not change any setting.

EDIT: Go to Synapse --> Settings and disable apply on boot

STweaks are controls, Synapse monitors only
[G2 Android Development] iko11:
We have a real BUG killer here! Running since this morning, it's sleeping like a baby in my pocket. No sound issues for me, Alucard Governer and Hotplug best couples after me and my girlfriend :P Thanks for this huge update and all those sleeples nights [MENTION=2376110]dorimanx[/MENTION] :)

Sent from LG-D802 CloudyG3 2.1+Dorimanx 8.8
[G2 Android Development] bloof:
There is an easy way to fix this, i kept on getting that crap as well:

Go into synapse, go to Misc tab, pick any LED and select any option for it (eg: ful chargel, then apply with the tick mark at the top. Then just change it back to "none" and apply again.

That Synapse message should not come back.
[G2 Android Development] Tinchoska:
Or, go to settings and untick the set on boot option
[G2 Android Development] bloof:
I have sometimes had the problem where this message appears _every time_ you go into synapse, not just once. My way works for this situation, which is what I understood the other guy was suffering from.
[G2 Android Development] V1TRU:
There is something i can do to resolve laggy lockscreen animation after screen wakeup?

On stock kernel animation is ok with same governor (ondemand)

Should i set performance gov?
[G2 Android Development] br0adband:
I know this will sound stupid so forgive me, but wasn't there some boot animation that was installed with a prior version of this kernel? I remember trying 8.7 a few days ago (on CloudyG3 v2.0) and I swear there was a new boot animation mentioned - it replaced the stock LG one with a simple "android" animation that I really liked; it starts drawing the letters pixel by pixel from left to right, only lasts like 2 seconds then it's done.

I ended up doing a clean install of CloudyG3 v2.1 earlier and then realized the stock LG boot animation (and sound) was back, so I flashed 8.7 once more but it didn't seem to make a difference, and neither does 8.8 for that matter.

Anyone know what the hell I'm talking about, and if it's not part of the kernel installer does anyone know where I might find that boot animation itself (if my description was clear enough, hopefully)?

Thanks for any input... feel like I'm missing something and I can't figure out why. :D
[G2 Android Development] PopaStefanx:
Remove all boot animations, in the media folder and You Will get it
[G2 Android Development] Closed Force:
Wow guys, is this the way to show appreciation for all the hard work and progress? Is this what dev is going to get as feedback with every future breakthrough? Completely spammed dev thread with no-dev issues?
[G2 Android Development] merikgvr4:
Our G2 is a great surprise much thanks to your kernel and Optimus G3 rom. Didn't even think of picking up an LG phone but Costco had a great deal. 1c for G2 w/ 2 yr contract on att.

Hopefully someone starts a thread over the One+ forums to pitch in to raise funds to get you a One+ for kernel development. Aux is making kernels using Alucard gov and hp and hopefully has contacted you for some help. Alucard is starting to be noticed in the One+ forums.

Have a great day Dori. Enjoy the time off as 8.8 is looking like a winner.
[G2 Android Development] d_Schizzo:
Hi [MENTION=2376110]dorimanx[/MENTION],

flashed v8.8 this morning. And I think the new version has made my battery broken....:p

7h on battery, 20min web browsing, 15min Call and still 100%. Thats just unbelievable.:good:

Will Report back about stability tomorrow, but seems pretty good for now.

Keep up the great work!:)

PS: Good to know, that you will stay with device for a while now. I followed you from s2 to g2 and i will also follow you to the next device.

"Hopefully it will be a Sony :Hint: :Hint: ;);)"
[G2 Android Development] citytrader:
Issue with mic on SEA variant

Dorimanx, in all of your kernels I have big issues with the bluetooth mic and normal mic, people hear me garbled or metallic and with low volume, changing the kernel to stock solves the problem,

is there any way to solve this on SEA variant?
[G2 Android Development] dorimanx:
what is SEA?

i have no idea what broken, i see only my device. :(

Sorry.

show me the SOURCE code for your stock kernel. i will !try! to find something in a dark with chains on hands and legs.
[G2 Android Development] dorimanx:
I think i have found ONE more SOD bug in low power code.

it's probably directly responsible for many sods we had....

as i have found that core0 was set to full suspend, when screen is off.

then i have found "HACK" by LG in kernel, to ignore it, and set it to IDLE. not suspend.

BUT! :) i have merged 3.5 CAF code and wiped this hack! :)

Soooo... it's was not so good for us :) as core0 suspended to deepsleep and sometimes cant wakeup, and we have SOD. system stuck in suspended, mode.

Now i have fixed it.

So what is the right thing to do? release 8.9 :)

or release BETA to test it first. no problem here, but i was stuck in suspend today 2 times before this changes...

EDIT:

Beta 8.8.1 D802 ONLINE in BETA STORE.

let me know if any problems, i am using it too.

*CPU speedup code added.

*LPM BUG fixed.

*Cron cleaned.
[G2 Android Development] Nussi29:
I vote for beta...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] smartpr1v4t3:
Flashed 8.8 today.

I had since 8.7 Problems with my bluetooth. Was often stottering. With 8.8 its fine.

Thanks Dorimanx
[G2 Android Development] dorimanx:
BETA online.
[G2 Android Development] goran_oh:
Release beta .
[G2 Android Development] Praxbe:
I've a strange bug... When screen is off i don't receive any notifications but when I do knock on and reactivate screen on I receive all the notifications in one shot... Don't have the problem with older kernel version... It's sound like Wi-Fi is sleeping when screen is off... Anyone had the problem?

Envoyé de mon LG-D802 en utilisant Tapatalk
[G2 Android Development] duki994:
LG devs can't really live without "hacking" their way through :D Their most "hacky" project was 4X HD kernel and hardware. I had some issues fixing power button IRQ for my dads phone.

I wouldn't be surprised if you find more "hacks".

Gonna flash new beta
[G2 Android Development] SkippyDogg:
System mounts issue

I am having trouble mounting /system to r/w with your latest kernel for the 801. I am using a fresh install of stock debloated rom[dr87] and installed your kernel and then SuperSUv1.94 right after. Root seems to be working according to root checking apps but when I try to mount r/w to /system it will not make the changes. Willing to provide any log information as I really want to install Xposed. :D

Edit: Okay nevermind, it was a problem with twrp installing root instead of flashing the zip. Dirty flashing the rom and then flashing the su zip and then your kernel cleared up the issue.
[G2 Android Development] Aljosko:
Guys thanks for help, i've manage to find working stock d802 baseband. I'm from Slovenia and i'm on stock d80220b-eur-xx rom. With this stock baseband rotation and brigtness auto control

works. But it bothers me when i flip my phone horizontally the system somehow gets confused, studers is laggy for a few sec,than it settles down and when i flip my phone vertically the same thing happens. Maybe i should do a clean install of my first rom backup and flash this kernel once again. With some tweaks works like a charm... Beside fliping problem.

Poslano z mojega LG-D802 z uporabo Tapatalk
[G2 Android Development] II_DiE_4:
I dont think governors must support the hotplugs to work. They are both connected but doing different work.

Maybe im wrong.
[G2 Android Development] citytrader:
My suggestion is clean install again wiping out data and the problem should be solved
[G2 Android Development] Aljosko:
I guess that's the only way, i agree. Can i perform a titanium backup (apps only and copying backup on my pc... Do a clean instal and transfer backup apps to my phone), flashing mods and other stuff is not that big of a deal ... ?

Poslano z mojega LG-D802 z uporabo Tapatalk
[G2 Android Development] citytrader:
I try to avoid as much as possible any mod because I use my phone for working, I do Powerpoint presentations with my phone to customers, I use Skype most of the time to call my customers too, manage excel spreasheets on the go, etc (only when I really need I take my laptop, most of the times not) so I need the phone working without issues, the only mod I have with Xposed framework is G2 Tweakbox that does not give any problem at the moment...
[G2 Android Development] Tinchoska:
[MENTION=2376110]dorimanx[/MENTION] I've tried all those option to make knock on work with knock code and nothing works.... any other idea?

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Floodland:
I beg to differ :p

From S2 times, nightmare honored its name. I never had good results with that governor (I did not tried it lately though).

I am having the best battery time and really smooth performance with your kernel using intelliactive gov, MSM HotPlug and BFQ scheduler for both awake and sleep. I still have to find a drawback, everything run smooth, no lags (using Cloudyflex 2.2).

Congratulations Dori, your kernel is really ruling G2 field, as you did with good old S2.

Thank you very much, best regards!
[G2 Android Development] citytrader:
It happened to me till I discovered that two knocks does not work but with three it works.. try with 3 knocks!

UPDATE: I think there is a bug in the way knock code works, most of the times knock does not work with knock code.
[G2 Android Development] jeyd02:
I just hope this kernel gets carried out to our G3 :p
[G2 Android Development] dorimanx:
No you not. All my cpu govs dont have there own hotplug code. So there will be central hotplug driver for all. And they will not fight over cpu control.

Gov is doing freq control.

Hotplug doing cpu cores on off and boost freqs up and reduce helping cpu gov to react.

Its not so simple as i wrote...

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

Sent from my LG-D802
[G2 Android Development] dorimanx:
Gov was rewritten 90% so its not the one you remember.

Thanks for support!

Sent from my LG-D802
[G2 Android Development] dorimanx:
When knock code is set. Dual tap is off. Kernel and rom expect knock code!!! Not dual tap to wakeup and unlock.

Also if your rom dont have knock code in lockscreen settings. Then you cant use it. And must install kernel labeled no knock code.

Sent from my LG-D802
[G2 Android Development] Franky_V:
Woops, accidental post
[G2 Android Development] arenaboy007:
Dorimanix the app drawer button is not responsive. I need to tap it twice before i can get to the app drawer. What can i do to make it responsive?
[G2 Android Development] ang1dust:
Anyone get this to work with Verizon vs980 xdabbeb. 1.1.1?? This worked with v1.0 but not the new one
[G2 Android Development] Lawlrus:
The best thing to do would be to extract bootimg from the ROM and send it Dori and ask him to look at it if he gets some time, to see what changes were made that are conflicting.

Sent from my Vs980 running Cloudyflex 2.2
[G2 Android Development] jeyd02:
As far as I know the new rom is not supported by this kernel.
[G2 Android Development] dorimanx:
And how is that my problem? :)

Works fine here. Check rom thread.

I cant fix launcher app. Sorry.

Sent from my LG-D802
[G2 Android Development] d_Schizzo:
Great! Yes, i will let you know. I see beta is just online. But cant flash it now. Need to go to my muay-thai training now. ;)

Will report back tommorow about new beta
[G2 Android Development] Dick Gordon:
Reboot

Hello.

Reboot while watching YouTube and charging.

Info:

D802 32Gb

CloudyG3 1.3

Dorimanx 8.8

SuperSU 2.16

Debug file.
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Power efficient queues are not really power efficient. They cause more heat to my cpu than helping reduce it, and power save. Yes, less cores are used, but they are throttled to high frequencies when load is up.

With power eff. workqueues OFF, more cores are turned on at high load, but CPU temp is lower by ~5C (which is a LOT).

[MENTION=3008895]**** Gordon[/MENTION]

Qualcomm Venus Video Subsystem Peripheral Image Loader failure.

Codec failure. Did you try to load MPEG4 2160/4K video?
[G2 Android Development] masteril:
8.8 very stable and speedy but heats my phone the problem is alucard hotplug.

8.5 dont have this problem.

But still very nice progress on the kernel dori
[G2 Android Development] citytrader:
SEA is the Singapur variant, the kernel I'm using is this: CloudyKernel-1.3-g2_d802, maybe you can access the source code of that kernel

http://www7.zippyshare.com/v/87751125/file.html
[G2 Android Development] Tinchoska:
Recharge battery to 100 and flash new beta!!!!!
[G2 Android Development] Dick Gordon:
Hi duki994

No, video/mp4, codecs avc1.4d401f 1280 x 720 @ 25
[G2 Android Development] duki994:
wlan cfg80211 scan null pointer dereference. That's why your phone rebooted. Does it work now? May be one time bug, or bug in scan/wifi code file
[G2 Android Development] dorimanx:
old bug, it's OK, the null is controlled, it's just warning.

we dont have country code location in driver as was in old device, and old drivers.

this is stock code part.
[G2 Android Development] vPro97:
Has anybody else experienced the phone going into such a deep sleep that the music stops playing, or is it just me? :)
[G2 Android Development] =dgim=:
I had similar problem on D8.7 and Deezer app. Music didn't stop but I had some irritated breaks in sound (Suspend mode).
[G2 Android Development] berryman13:
hoping for d800 beta gonna flash or build it now
[G2 Android Development] philliedbz:
Can we the d803 have some beta love lol
[G2 Android Development] x3m.zone:
First SOD ever on Dorimanx kernel.

Got a notification from Facebook (sound & led), and when want to unlock the phone, nothing.

https://www.dropbox.com/s/x3yjcj3fnl755s8/dorimanx_debug.zip?dl=0
[G2 Android Development] Tinchoska:
Kernel version? ROM? Settings? Info my friend, we need info
[G2 Android Development] x3m.zone:
My friend, the message is intended for dev, in order to help in identifying bugs.

If you know where to look, you'll find all this information.