yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] errikosd:
Please give more information. Which variant? Which ROM? What do you mean by "usage"? Can you capture a log?
[G2 Android Development] dorimanx:
hmm, nothing changed for video driver or lcd driver. and not color control.

maybe your lcd is not feeling so well... overheated or hardware problem.
[G2 Android Development] immi803:
I was using Miracast

Let me mention here, phone was much heated as streaming video and using Miracast to cast it to TV simultaneously

Let me confirm after some flickering of display, i immediately went back to 6.4 and it was stopped miraculously, [MENTION=2376110]dorimanx[/MENTION] has already confirmed as no changes degrading this, now I'm back at 6.6 and it's working fine now and mobile is cooled as well

May be this description helps dorimanx in any manner

Thanks
[G2 Android Development] evolucion8:
I noticed something odd, I downloaded the 6.5, rebooted in recovery, wiped the cache/dalvik cache, installed 6.5, wiped the same thing again, rebooted and during the booting process were it was optimizing the apps, the phone shut down and started in a boot loop and was very very hot, I turned off the phone. Waited 5 minutes to cool down, then turned it on and started to work fine. I don't know if it had something to do with the High Temperature/Thermal daemon tweak that I did but AFAIK it wouldn't had effect with this kernel as it has its own thermal management but just for sure, I just put those options the way it was before and everything is working good. I can't really thank you enough.
[G2 Android Development] pmgnet:
It looks like the screen turns on instantly with 6.6, both with the power button and double tap. Pretty amazing. I really like how fast all the apps open after booting. It's like a new phone.
[G2 Android Development] Rachid.Ala:
[MENTION=3571659]evolucion8[/MENTION]

wiping cache and dalvik cache is useless while updating kernel

The phone shuts down to avoid frying the cpu when the temperature goes too high

Sent from my LG-D801
[G2 Android Development] Nussi29:
Now trim data and cache with f2fs work

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] duki994:
F2FS is fully stable in mainline Linux kernel. Now it shouldn't corrupt data.

All the dentry/inode (look at it simply as file/folder name saving) bugs were fixed. They were ones that corrupted indexes to files and/or provided wrong info, so file/folder wouldn't open. Note that there was possibility that corruption could happen on every mount (even /system).

I think dori merged all updates/fixes up to 4.2.y tree. So now F2FS should be stable, fast and probably a bit better than latest implementation of EXT4.
[G2 Android Development] dorimanx:
actually only merged up to 3.10.y

for now cant go higher, as many changes needed for FS. for 3.10.y i have already merged the FS in main parts.

But from inspection of the code, what changes up to 3.19.y is code location change, and using functions from FS and include that reduce driver size, and many macros.

also few fixes, but they for that branch, as they made many changes in FS code :)

so i can say that we have the most updated F2FS driver for our kernel.
[G2 Android Development] d_Schizzo:
Bug in suspend_min_freq

Hi [MENTION=2376110]dorimanx[/MENTION],

you changed the script for suspend_min_freq here.

But i noticed, that cpu_min_freq will not be set after wakeup from suspend. It will stick at suspend_min_freq.

I saw it because i have suspend_min_freq at 422mhz and normal cpu_min_freq is at 300mhz.

As your script for suspend_max_freq here is not changed and seems to be working (Sorry, but never tested suspend_max_freq) iam thinking that your script for suspend_min_freq is not correct. I hope you understand what i mean.

Can you please check it, you will know it best.;)

Regards,

Schizzo
[G2 Android Development] hitardo:
My bad: you are absolutely right.

I mistakenly referred XPosed v45, but I am running v75 (the most recent version).

I am also running the latest application version: 3.0, alpha 4.

I selected "stweaks_boot_control=no" to not reset all my settings in the app after a reboot. Namely: CPU Max freq w/ Screen Off to 1,0GHz, Charge at 1,2mAh, I/O to CFQ, and others.

Apparently I was wrong to do it.

I flashed your newest version (v6.6) and it default it, so it is "fixed".

I did not found "/data/.dori" folder.

"/data" folder is empty.

I used ES File Explorer.

So, I was not able to delete it.

Did your newest versions (v6.6) which I flashed yesterday solved it?

[EDIT] Thanks to [MENTION=4774062]marek_poland[/MENTION] for the help [/EDIT]

All this aside:

Do you think this could be a conflict between your kernel and Performance Profile XPosed module?

Because I noticed that sometimes kernel rules over Performance Profile.

Again, thank you for your attention and help.
[G2 Android Development] dorimanx:
i see the BUG. fixing. thanks.
[G2 Android Development] Eminemiero:
Im having some weird issue, while listening music (Using spotify) if i lock the phone it makes some strange sounds randomly (like distorsion). This doesnt happen when the screen is ON.

Im using performance profile, but it happened on default as well. Maybe the freq is so low when the screen off that cant manage spotify?
[G2 Android Development] errikosd:
I also experience this issue, I suppose it is caused by low CPU frequency when screen off, but also from high CPU load when screen is on (eg. listening to Spotify while on Facebook Messenger and Instagram, etc).
[G2 Android Development] Trixanity:
I can confirm that. Started happening on 6.6 for me. Don't understand why though since it seems 6.6 was a bug fix build compared to 6.5 when it comes to cpu frequencies. But yeah, the distorted noises and squeals that occurs are most definitely related to too low clock speed when playing and/or not enough resources to play audio properly.
[G2 Android Development] stroge:
I can report the same, but it happened only once during a 40 minute listening to poweramp today.
[G2 Android Development] samuele94:
I will only give my feedback, the kernel 6.6 works well. The zram in my opinion makes the phone much less fluid, I disabled it so I want to see what changes as battery and use, I will keep you informed. No bugs for now on dorimanx 6.6,thanks Dorimanx!!
[G2 Android Development] n@vier:
Me too with v6.6 using spotify when screen off g2 makes some sound distortions randomly.
[G2 Android Development] 0xetrov1:
Me too, not only with Spotify (screen OFF) but also with Stock Music player too.
[G2 Android Development] DerSpatz:
For me, the sound issues were governor-related. With Intellimm, I had those issues, now that I have switched back to Ondemand, I haven't.
[G2 Android Development] jeebspawnshop:
I believe many people make the mistake of changing the CPU governor to something shiny and new like intellimm, HYPER, etc. I confess that even I made that error at first, believing that the new stuff was likely better than old, hairy and saggy "ondemand".

But I soon came to discover that this was not the case. For 90% of users, Dori's ondemand is THE BEST governor for his kernel and his tweaks, the reason being that he has tuned, tweaked and altered the ondemand governor to be the very best it can possibly be.

In fact, he's altered it so much, it may as well be called "ondorimanx".
[G2 Android Development] Eminemiero:
Ok. I've always used ondemand, so the problem doesnt depend on which governor you are
[G2 Android Development] dbarmak:
Zram size wont change on 6.6. Whatever size i choose it always stays at 512Mb. Anyone else seeing this?
[G2 Android Development] hitardo:
I have the maximum suspend frequency at 960MHz (stock is 1960MHz) with ondemand governor and MSM-default Hot Plug and I have no problems.

Music from the stock music player runs smooth.

I do not like Spotify, so I cannot provide feedback on that.
[G2 Android Development] n@vier:
I always use from the first release of the kernel performance profile default settings, I think is the best configuration for my use and probably for many of us being the configuration of dorimanx.

Anyway I think the same, we probably have a problem when the screen is off but only [MENTION=2376110]dorimanx[/MENTION] can say if this is the real problem or relative to other...
[G2 Android Development] evolucion8:
I noticed that I can't disable Zram at all. After selecting it to disable and reboot, it won't stick, it would remain on. I have CloudyG2 3.3 with latest Dorimanx 6.6 kernel.
[G2 Android Development] dorimanx:
Did you READ the instruction in zram subject?

Its not some switch on off instant.

To switch already filled zram from size to size, you need to wait.

Change, and look at synapse zram status.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Some players notify system that they need more ram to drain then ever needed.

So when you turn off screen they want even more, and you already have used all your ram and kernel fighting to free ram.

So there is a spike in cpu as kernel prioritize kernel tasks higher than some bad written app.

And its stop transmitting data to sound driver for few ms.

And you hear that "blip squirt " reduce junk apps in ram, that should help.

Sent from my LG-D802
[G2 Android Development] fuxmen:
:eek::eek::eek:
[G2 Android Development] dorimanx:
Your profile is not saved. And you loose all setting on boot.

This indicate that you have broken journal data.

Each boot its restore broken files to ok state.

Temp solution

Delete /data/.dori folder, wait for 30sec, reboot.

Set what you want, wait 30sec reboot.

See if ok.

Good solution is to backup data in recovery, and format data partition.

Then restore data.

Sent from my LG-D802
[G2 Android Development] dorimanx:
News Update!

Kernel 6.7

29/10/15

*Merged critical fix for kernel workqueue driver.

*Updated GCC 5.2 ToolChain with latest libs and patches.

*Updated cpufreq Limit control driver. now suspend min freq works.

and much more fixed.

*Updated state notifier driver, fixed sound BZBZBBZZZ when music play and screen goes off

now it's possible to hear some "BZ" as max freq switch from high to low. players need to catch up.

possible to hear on high CPU usage and screen goes off.

*Merged fixes for NET driver.

*Merged updates to ARM MMAP from 3.10.y aurora.

*Fixed few bugs in boot scripts and cortex function.

More fixes :) so update and have fun.

New GCC 5.2 optimized kernel in new level! feels fluid in high pressure on RAM and CPU.

that what i check to say that kernel is faster :)

not idle to max bursts when swiping home screen.

BAZZZ sound bug is reduces to little tiny BZT. when max freq is cut to half by suspend notify

music player get blown up, and scream BZT :) just ignore it. will be noticed only on high cpu usage and screen

goes off and 10sec pass with screen off. on relaxed cpu, sound will be clean.

Enjoy new "bullsh@t" as one LG G2 dev say :)
[G2 Android Development] dorimanx:
any problem?

enjoy reading this three drivers.

https://raw.githubusercontent.com/d...b455e0ba1838b489a/arch/arm/mach-msm/cpufreq.c

https://raw.githubusercontent.com/d...68d808fe6ae/arch/arm/mach-msm/cpufreq_limit.c

https://raw.githubusercontent.com/d...80/drivers/input/touchscreen/state_notifier.c

now all good.
[G2 Android Development] immi803:
Awesome

Confirming awesome update 6.7 @ dorimanx

Great work man:D
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

In test new release I'll update soon after many intensive test (battery drain music smoothness etc).

I notice a better switch Wi-Fi/4G-3G I don't know if is a placebo effect or you have updated/optimized something...anyway YOU are a beast! YOUR kernel is a beast and we can only be gratified ;)

Thanks Master!

PS - to all: don't forget to support dorimanx's project :thumbup:
[G2 Android Development] destroyer31:
twrp

I cant acces to recovery with 6.6 I cant try 6.7 what is the problem?:confused:
[G2 Android Development] dorimanx:
recovery = recovery (own system + own kernel)

my kernel = ROM KERNEL.

how it's connected?

try again.
[G2 Android Development] n@vier:
Use dorimanx ota app ;)
[G2 Android Development] destroyer31:
cloudy 3.3 and twrp 2.7.0xx dori LP kernel 6.6, I tried adb restart recovery but it didnt work and other voldown power... combination
[G2 Android Development] n@vier:
As I said use dorimanx ota app:

http://xdaforums.com/showthread.php?p=55121313

To enter in recovery a better way is to use quick boot or other similar app.

Anyway it is not kernel related.

PS: me too cloudyg2 3.3 and twrp 2.8.7.1
[G2 Android Development] harkis123:
Thanks for you hard work!!! INSANE
[G2 Android Development] fuxmen:
No problem here, but searching to explain something wrong in kernel instead of fixing it .... If stock dont have that kind of problems then it's not LG or G2 foult..
[G2 Android Development] duki994:
State notifier uses lcd panel state?

Is it only for synaptics touch chip?

I think that my 5430 phone uses Cypress touch chip, so I guess different structs will be used.

I want to port it to my Exynos5430 project so I ask to know how much needs to be changed
[G2 Android Development] dorimanx:
Stock dont have my drivers. So no problem and nothing else too.

Use stock please.

Fixed by the way, and my explanation is correct. Key to great performance = reducing apps in ram. Stock or not. Same result.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Yes notifier hook is in mdss. But its very easy to find other driver that wakeup and suspended by default, and inject the notifier update call.

Then push awesome wake/suspend every where you like. And do magic.

Sent from my LG-D802
[G2 Android Development] destroyer31:
didnt work I flashed autorec but secure error I'II lose all my data :rolleyes:
[G2 Android Development] _Legend0:
I also have problem with booting into recovery. Current setup is : Dori kernel v6.6, CloudyG2 3.3, blastagator TWRP v2.8.7.1.

After rebooting into recovery i'm stuck at TWRP logo, nothing happens. Didn't have any problems with ealier versions of your kernel, dori.

With OTA or manual reboot, same thing. Only hard reboot helps but no succes with booting into recovery.
[G2 Android Development] evolucion8:
Thanks for your time! I did something, I opened Dorimanx app, disabled Zram, then pressed Home, then opened the recent app list of the GUI, closed all, reopened Dorimanx app, disabled Zram again and then it sticked to disabled even after reboot hehe. :). Thanks for your great effort.
[G2 Android Development] Rachid.Ala:
To those who have problems to access recovery, just use synapse to reboot to recovery

There is no need to install another app just for that

Sent from my LG-D801
[G2 Android Development] n@vier:
Why did you flash autorec on cloudyg2 3.3? Autorec must be used only on stock!

Anyway this is not the thread for this problems use Cloudyg2 3.3 Q/A :thumbup:
[G2 Android Development] Diechel:
+1 for TWRP freezed at loading screen (teamwin).

Converted my /data partition to F2FS on clean install.

To get it fixed i want to try flashing recovery through fastboot, but maybe thats not the problem.
[G2 Android Development] dorimanx:
And rom boot? With my kernel?

Can you check what type is data now.

Ext4 or f2fs.

Possible bug with recovery.

As its has its own kernel, and all you do in recovery, has nothing to do with my kernel.

my kernel boot after passing the time to enter recovery.

Report to blastogator, the exact things you did.

Sent from my LG-D802
[G2 Android Development] Diechel:
Iam using V6.6 because i cannot flash V6.7

Yes rom is booting fine

/data is F2FS, verified with app

I know it's not your kernel but maybe someone had a solution.

Thanks for your response.
[G2 Android Development] duki994:
Way too easy. I litteraly found it in first attempt when I was adding and adapting powersuspend :D

But state notifier seems a lot faster and more controlable than powersuspend, hence the idea to port/adapt it.

6.7 is better responding in high pressure RAM situations. And I haven't encountered bzzzzt sound when playing music while suspending. Not even in 6.6
[G2 Android Development] merlin21:
[MENTION=1559352]Diechel[/MENTION]

I just flashed 6.7 thorough your ota app and with only cache partition f2fs it works without problems. Maybe something with data partition f2fs? Someone else use it?
[G2 Android Development] runekock:
Try deleting /sdcard/TWRP
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

The sound distortion I think it's related to Viper4android playback gain control when it is actived randomly distortion "bzbzbz" we can hear....this is what I noticed maybe it's only my case...

First impressions of v6.7 works great more smoothness in general ;)

For battery drain I'll wait some days to be more accurate.

Thanks as always for your support and awesome work :thumbup:
[G2 Android Development] Romagnolo1973:
Exactly, with 3 pay music app I use without V4A distortions are less than the various free app I have test with Viper On, just now I try those apps without Viper active et volià no distortions at all. So the problem is related to Viper and not a kernel issue. As Dori said glitch are normal in those case because bad writen app + cpu scaling + ram purge = distortions

But it happens only when you play with your smartphone, in normal state with screen off listen music everithing is ok.
[G2 Android Development] Ginel:
how i can calibrate my battery? i need to be 100% with charger in to wipe stats? really idk
[G2 Android Development] d_Schizzo:
I use 2 cores min online and i dont have any distortion. Tested with 1 cores online

and distortion begins. But its not a new problem. It began with lollipop and was already dicussed in this thread few month ago.
[G2 Android Development] jeebspawnshop:
I'm on my phone so I forgot to quote the appropriate posts, but I have f2fs on /cache and /data, and I've not experienced any issues so far. And you can even trim the f2fs partitions now - that Dori-magic!

Edit: Just realized it was TWRP related issues. I've booted in to TWRP with no problems either.
[G2 Android Development] the baptizer:
I encounter the same problem! :(
[G2 Android Development] 4r44444:
Flashed 6.6 and now I can't access TWRP anymore, It's stuck at teamwin logo, only flashed the kernel no other changes in smartphone how this is connected? Anybody can help me?
[G2 Android Development] salmankhere:
Flash it via ota. As 6.7 is rolling out
[G2 Android Development] Lizzacore:
Get some music stopps over Bluetooth with 6.6 and 6.7 :/

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] 4r44444:
? How if recovery is not accessable? OTA cant access too lol
[G2 Android Development] salmankhere:
Then flash your recovery.img again via flashfy or through the way you had done before... Its uo to you..
[G2 Android Development] smartpr1v4t3:
I only wanna report i also cant access recovery since 6.6 didnt changed anything else.

Flashing img file with flashify didnt fix.

Edit: Saw Dori already posted in blastagators twrp thread. Hopefully this will fix the problem.

Thx Dori

I am using f2fs on data since your first supported kernel version.
[G2 Android Development] n@vier:
I'm using ext4 and with v6.7 but also v6.6 I access to recovery without problems.
[G2 Android Development] the baptizer:
can you help me in q&a thread how you managed to convert data to f2fs? Only cache conversion to f2fs is possible if i try it.
[G2 Android Development] Computoncio:
You can flash v6.7 this way.

Do it only if you are using v6.6 and can't enter recovery because you are using data partition in f2fs.

dd if="path to boot.img" of=/dev/block/platform/msm_sdcc.1/by-name/boot

Reboot after the above command completes.

Example: dd if=/sdcard/extracted/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot

Edit: You have to extract boot.img from kernel zip.

Phone: LG G2 D805

Kernel: Dorimanx kernel v6.7 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] nidzaaaa:
Great work, great performance.. thx dev..

Simle flash trought recovery..
[G2 Android Development] Gabrech:
Just because I was curious, I made a test with Antutu: 37000 with Cloudy 3.3, Xposed, Greenified and of course "Default" with Dorimanx 6.7 ;) I think this is pretty great (given the fact that G2 is 30000 on Antutu)
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

V6.7 first partial test of battery drain it's simply awesome (see screenshots) ;)

Settings: performance profile backlight 90lvl, greenify xposed module, always on Wi-Fi/4g and everything in push (low-middle usage).
[G2 Android Development] kairi_zeroblade:
37k?? is this a joke?? thats my score on stock kernel..lol..

seems "Life is NOT Good" ^_^
[G2 Android Development] n@vier:
[MENTION=1371975]kairi[/MENTION]_zeroblade

In this thread we don't worry of antutu...anyway show screenshot ;)

Ps: [MENTION=2376110]dorimanx[/MENTION] sorry for the OT
[G2 Android Development] kairi_zeroblade:
http://i60.tinypic.com/1jvrs2.png

Sorry for OT
[G2 Android Development] smartpr1v4t3:
Dont write "Sorry", only stop writing about OT.... (this goes to everyone)

Its still a Dev thread and nobody is helped when you spam this thread and in every post you read "Sorry for OT"
[G2 Android Development] dorimanx:
I dont give a shi@t.
[G2 Android Development] renzo090513:
There is no need to figth guys.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] dorimanx:
I have found that setting uksm to 1000ms

Reduce power usage in suspend.

I get -9ma in hour :)

Battery is 3000ma how much device can sleep. Answer huge amount of time.

Sent from my LG-D802
[G2 Android Development] n@vier:
Answer: 333.33h i.e.13.88 days! :)

We must set ukms scan delay to 1000ms (default 500ms) from app?

Thanks Master ;)
[G2 Android Development] dorimanx:
Yep. I will set it as default in next build.

Sent from my LG-D802
[G2 Android Development] AlexVipXDA:
[MENTION=2376110]dorimanx[/MENTION] With the latest version, the sound disturbed when listening to music with the screen off to me is more common! Also it happened that even completely interrupted the music, use poweramp with drivers Viper

6.7 on cloudy

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] n@vier:
Try to use 2 cores min online as [MENTION=4782115]d_Schizzo[/MENTION] suggested.
[G2 Android Development] Shaolin007:
Guys can anyone tell me how this happened?....on dorimanx kernel 6.7

Weird.

Before never faced such problems from dorimanx kernel.
[G2 Android Development] KpKi:
It maybe the cron for battery calibration. The drop is due to error in battery reading(so when calibrated it dropped instantly) .
[G2 Android Development] gurulbn:
My device just got stuck (was not responding while sleeping and charging on my desk) and I restarted it by long-pressing the power button.

D802 + SRKG2-3-00 + v6.7

Log in attachment .

Thanks
[G2 Android Development] gwadaboy:
Just wanna thank Dorimanx who gave my phone a new life with this zzram feature.
[G2 Android Development] Nussi29:
How use this liney? Sorry but script dinied in terminal emulator

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] _Legend0:
Maybe type "su" and then run this command? Btw blastagator uploaded beta build for d800/d802 with latest f2fs driver. It's working flawlessly. Flash it flashify if you don't have access to recovery.
[G2 Android Development] Nussi29:
Thx the new beta works

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] dorimanx:
Blastogator is the Man with hammer! Well done.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Process GAC_Executor not something that comes with rom.

Crashed zram driver.

next time please use my log generator using dorimanx app, last tab. Kernel log.

Sent from my LG-D802
[G2 Android Development] gurulbn:
OK, sure.
[G2 Android Development] bluerain28:
Hello. Any chance for F320K variant? Thanks. If you need a beta tester, I'm willing to be one. :)
[G2 Android Development] djtiesto22:
Freeze must to manual reboot d802/dori 6.7/cloudy3.3