yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] OT-Xtreme:
iv noticed that AutoSMP generating more heat in idle (+10~ Celsius) compare to msm
[G2 Android Development] babe0607:
Hi...

From yesterday till now with 9.2 and AutoSMP and everything else default settings phone(d802) rock but no roll ?

Send by my LG G2
[G2 Android Development] dongerado:
Try disable "mount namespace separation" in super su.
[G2 Android Development] raptorddd:
log is disabled so go into dorimanx app and enable log .. when you got the log turn off for speed and battery.. this is only when you need to get a catlog for a app bug..
[G2 Android Development] djtiesto22:
This work for me, now finally log is on sdcard, no need to turn on logcat in dori app. Just disable mount namespace separation and reboot phone !
[G2 Android Development] Computoncio:
I notice that with latest supersu /storage/emulated/legacy is not mounted, maybe you force mount in init scripts.

This workaround work, i tried to manual mount ot and dorimanx app worked generating logs.

The issue is when dorimanx writes the logs it can find sdcard dir because it isn't mounted.

Phone: LG G2 D805

Kernel: Dorimanx kernel v7.9 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] dorimanx:
There is no need to enable the logcat for kernel log, there is no connection, absolutely NONE.

I will check why kernel log script is not working, possible mistake in script after adding new hotplugs.

Leave the logcat alone. And OFF. If you really think that all the problems are from it being off, set it ON and be happy again.

No problem here with root, 2.65 and no heat or stuck cores, or wakelocks.
[G2 Android Development] the baptizer:
With 9.2 everything was exceptional smooth. So i decided to do a real-time and reliable benchmark. This kernel is a BEAST
[G2 Android Development] Computoncio:
This fix mounting legacy folder. Good find [emoji106]

Phone: LG G2 D805

Kernel: Dorimanx kernel v9.2 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] duki994:
Guys, I thought about dmesg log (Kernel-Bug button). The one that [MENTION=2376110]dorimanx[/MENTION] needs :)

Not logcat. Enable/disable works good :)

And small announcement from me.

I sold my G2 now. Had a pretty good price for used G2 and accepted offer. It's been a pleasure to help out here in ROM/kernel development and learn much from dorimanx's repo(s) :)
[G2 Android Development] kocaman1321:
High temp. problem finally generate log thanks [MENTION=2779932]dongerado[/MENTION]

http://www.mediafire.com/download/k144kuyxv1umu85/dorimanx_useless_debug.zip
[G2 Android Development] KpKi:
does increasing the thermal hysteresis (delta temp) increase the thermal engine responsive ? also does keeping two engine online (ROM+Kernel's) makes any conflict ? or should I use Kernel engine alone

Also worth mentioning that heavy sound mods are causing serious incompatibility issues (Tested), I used ViperAtmos+beats ... I had heat genertated..lags..soundbuzz ...etc ...then reflashed the rom and kernel ..everything works as should again
[G2 Android Development] Romagnolo1973:
Every mod Atmos Dolby, Sony, Beats was not working in G2 stock, I have tried several time. I don't know why, probably sound libs from LG are not compatible with other mod.

When i saw the zip with all mods available and running on our G2 (even if they are made for Nexus) it was a surprise for me, but using it I found varius problems, and Dori too.

Only the basic Viper4Adroid zip with no mods is working well.
[G2 Android Development] keaheng:
What is your new phone bro?
[G2 Android Development] ntu38:
logs

[MENTION=2376110]dorimanx[/MENTION]

some log.
[G2 Android Development] d_Schizzo:
Look at my sig. I have several soundmods installed and all working well together.

As with every mod, you need to know what you are doing. And some mods need some "After-Flash-Fixing".

[MENTION=2376110]dorimanx[/MENTION] you did a great job with 9.2! Device is super fast and responsive. Battery is also alot better. :cool::good:

IMO 9.2 can be called stable, didnt faced any issues.

Regards,

Schizzo
[G2 Android Development] e20140:
Tried V9.2 on Stock LP ROM D80030g and everything went fine with better battery life with default setting.

Problem is when I restore back to stock kernel, data created from this kernel cannot be read. Photo, video, and Ti-backup files are unreadable from going back to stock kernel. Tried clearing all caches including Dalvik and full wipe. Nothing works except flash back to V9.2 kernel. It's repeatable as I tried a few times already.

Is this intentional? If it is, please add warning on 1st post.
[G2 Android Development] boyheadkick:
1st step, write questions in QnA thread and not in dev thread

2nd step, better to reflash rom for clean system, best to clean flash for clean phone :good: that way there are no leftovers from previous rom or kernel :good::good:

3rd step, read 1st step ;)

Report: 24hours in and i have to say, this build is the snappiest build for 5.x by far!!

i did have a freeze yesterday though, phone was resting on the table, picked it up, toggled wifi, opened boom beach and boom b*tch!!!, FREEZE!!....hard restart, open kernel app, take bug report, app says log is useless..other than that, this device flies!!! absolutely masterful job by dorimanx!! :good:
[G2 Android Development] e20140:
This is not a matter of Q but a matter of warning. Read my post again! Do U have a D800 running on version g stock?
[G2 Android Development] boyheadkick:
woah calm down with the !!! haha

yeah i read your post again, and i think it might have something to do with some of the file system changes that was introduced a couple of builds back
[G2 Android Development] dorimanx:
Selinux. Read what you need to do before going back to stock.

In short, enable selinux in dorimanx app.

Reboot, wait for full boot to rom. (Its will do 2 boots by auto)

Only then go to recovery, and install stock kernel with stock modules.

Should be ok.

And by default you dont have access to sdcard from titanium back till you change permission to sdcard in rom security xml. Google that. No connection to my kernel.
[G2 Android Development] krausw:
Some remarks about Heat...

Hi Dori,

I just tried your 9.2 Kernel a second time. The first time I had the mentioned heat problem and reverted back to 9.1. The second time this problem also was there, but now I had an eye on the processes.

1. When installing Kernel 9.2 the system is starting some logcat processes in background. In the meanwhile the Dori-App restores the default settings and removes the logcat binary. The logcat-processes in Memory just want to respawn other logcat instances, but no binary is there. So they try and try and all coresgo mad.... and produce heat.

2. When logct is disabled and you reboot, the logcat processes cannot be started at all. So the heat is better but not good, because someone wants to start logcat. Thats a Process called "LG MLT". This doesn'tgo mad like before, but it just keeps the phone running like a hamster.

So just enable logcat and everything is ok.

[MENTION=2376110]dorimanx[/MENTION]: Perhaps you could replace the logcat binary with script just sending log-messages to /dev/null to please all the apps that want to log sth.
[G2 Android Development] krija:
[MENTION=889190]krausw[/MENTION]

http://xdaforums.com/showthread.php?t=2477721

:)
[G2 Android Development] dorimanx:
First, the binary is there. And its start normally on boot.

Then when you see lockscreen, my scripts kick in, and STOP logd service, that stop All logcat process in memory.

None of them exist after logd stop.

Now you told me that spy service mlt is the one that go crazy without logd.

Good, i will disable it too.

Lg mlt is spying on you, and report back to government.

If you looking at child abuse porn and other highly illegal things as how to make bombs and blow as many people... if you didn't know that, now you do.

To put such spy app it legal. You can turn it off in secret menu, or just freeze it with some app when you have root.

Or i will add control switch to disable mlt before disabling logcat.

and not disable logd if mlt is working.
[G2 Android Development] Cienight:
Hallo [MENTION=2376110]dorimanx[/MENTION], after enabling the restart systemui option in cron tasks I lose the quick settings. I'm using pure stock without exposed or any other modes.
[G2 Android Development] e20140:
As soon as you mention Selinux, I know what to do. Not trying to be pushy, but it would be nice to mention that upfront. Especially helpful for casual ROM hoppers who tends to forget things here and there.

I have no problem with Titanium and never have access problem but nice to know if I ever run into it.

Keep up the good work and thanks. :good:
[G2 Android Development] krausw:
Hi Dori,

thanks a lot, I froze the LG MLT and toggled logcat to off. All load problems are now gone....
[G2 Android Development] saspo59:
Me to loosing quick setting for the secund morning is there something to do about it?
[G2 Android Development] dorimanx:
Sadly no. Disable systemui reset cron.

In next build i will add warning, and set that task OFF by default...

Thanks for report, i dont use quick settings so its didnt bothered me when tested.
[G2 Android Development] dorimanx:
Fair enough. I will add process of go back to selinux enabled kernel in OP page later.
[G2 Android Development] android extreme:
Dorimanx i've a freeze when decompressing data for a moba game and i've to restart the phone with a long press on power button
[G2 Android Development] dorimanx:
Ram corrupt. No visual reason in log.

Possible bug in rom/app.
[G2 Android Development] lynxrz:
Deleting MLT service really helps the heating problem (with logcat off) in addition you gain more RAM.

Before it was 750 ~ 780 Mb now 880 ~970 Mb

Thanks dorimanx for pointing this, it REALLY helps!

Now no problem at all works like charm.
[G2 Android Development] idkwhoiam322:
Guys, i was running dorimanx kernel 9.1 on google edition 1.5 rom and it worked just fine. Then i clean installed dorimanx 9.2 and my phone isn't booting. It turns on and shows lg logo, then a white light at the top which fades into darkness, thats all... I tried to enter recovery but it in the factory reset menu it just shows the text and no option for exit or yes. That part is just plain white. Anything i can do to resolve my problem? Thank you so much in advance
[G2 Android Development] muslimbaha:
Does fastboot or download mode works? just search for srk tool in xda and use it. It will help, there are instruction how to solve problems such yours.
[G2 Android Development] idkwhoiam322:
I can just enter into the IMEI screen by holding all 3 buttons
[G2 Android Development] muslimbaha:
What do you see if you connect your phone when its off holding volume up button then connect to pc? Does your. PC recognize your phone?
[G2 Android Development] idkwhoiam322:
After trying thrice it entered into download mode... What should i try now?

PC did NOT recognize though
[G2 Android Development] muslimbaha:
Download "Srk tool" from xda then use it, there is instruction how to restore recovery via download or fastboot mode.
[G2 Android Development] idkwhoiam322:
It just says "Waiting for Device"... Am i doing anything wrong?
[G2 Android Development] smartpr1v4t3:
Get out of dev thread guys.

Respect the dev!
[G2 Android Development] jeebspawnshop:
It's happened before...

I remember that I had a BSOD on my phone a few weeks ago after doing the same thing I did today;

1 - Double-tap to wake, unlock using pattern

2 - Swipe down notifications to view secure ones, then double-tap to sleep

3 - Immediately dp2w again cuz I missed one notification... black screen but blue LED went on briefly

4 - More double-taps, power button pushes, etc

5 - Nothing happens

I attached the log, which I tried to understand, but nothing seems out of the ordinary except some strange dt2w call which failed.

I'm running the latest Somboons ROM with all that useless LG bloat removed.

So I say again, if it's just me and/or my hardware, let me know and I'll stop reporting bugs that seem unique to my dumb phone :silly:
[G2 Android Development] berezker:
I've noticed that in 9.2, all cores are active most of the time hence the abnormal drainage of battery

Could that be because of disabling logcat?
[G2 Android Development] dorimanx:
Nothing in the log, no idea what was the problem.

The fail abot gesture is seen when not using knock code. Lg put stupid warning that gesture failed.

Need to correct this with check to show that only when knock code is enabled. Anyway its useless warning.
[G2 Android Development] dorimanx:
Nothing in the log, no idea what was the problem.

The fail abot gesture is seen when not using knock code. Lg put stupid warning that gesture failed.

Need to correct this with check to show that only when knock code is enabled. Anyway its useless warning.

Try to disable uksm... just in case.
[G2 Android Development] dorimanx:
Read the thread 2 to 3 pages before posting, all is there. Or just enable logcat. Lg mlt must be freezed to disable logcat.
[G2 Android Development] jeebspawnshop:
Thanks for the explanation, I always appreciate it.

UKSM disabled now... just in case.
[G2 Android Development] duki994:
I saw some posts on LKML (mainline kernel devs for those who don't know) that KSM/UKSM and zRAM or zswap are somewhat racy. And that deadlocks or even silent race conditions without log can happen if both enabled :)
[G2 Android Development] droiduser#3:
Man im updating kernels every week keep up the good work dori! :)
[G2 Android Development] dorimanx:
hmm...

I update every day :p

any way working on few updates for cpu govs and hotplugs, + mtl off.

I will also link /sdcard/ to /storage/emulated/legacy if not linked on boot.

Then release new build.

Again i ask all my users to install supersu as SYSTEM APP! it's MUST with latest supersu build.

Open supersu app, in settings, install as system, then after boot, go there again and make sure the option is GREY OUT!

then all will be good again with kernel and other apps.
[G2 Android Development] samuele94:
Google 1.5 and Dorimanx 9.2 (supersu 2.65) no heat problems,all works fine! For who have problems with MLT I attach a screenshot with the folder to be deleted if present before using dorimanx 9.2

The new hotplug AutoSMP is great, aggressive but only when required.
[G2 Android Development] saspo59:
Hi dori and what about logs last time i updated to su2.65 i lost my log even that it was as system app.
[G2 Android Development] dorimanx:
No problem here, folder /sdcard exist.

Check this next time.

Also mark the trust system root on boot option in supersu.

Last update was not so stable for us.

Its actually created mess with boot scripts that failed in the middle of load.

But its seems to be ok, if installed aa system app and trust root on boot is enabled. I have always set that from first time i have seen that option.
[G2 Android Development] dorimanx:
In next build i have added switch to disable mlt on boot before stopping logd.

And its set to disable by default.

If there is no mlt in system (deleted) then script will set it as disabled, even if asked to enable, next time you open the app, option stay off.

There is no need to delete it.

Just freeze it, simple and effective.
[G2 Android Development] samuele94:
[MENTION=2376110]dorimanx[/MENTION] I'm seeing this autoSMP has some uncertainties and lag when opening the app but after open the lag disappears, I reduced the sample rate of the governor and of hotplug, changed many governors,increase touch boost but the situation does not change. What do you suggest me to do? (I really like hotplug and I would not change it)

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dorimanx:
What about heat and free ram when you load the app?

Maybe cpu is hot, and operate on all cores but low freq. This can create lag loading heavy app.

Same if kernel has less than 300mb free, and you load app that need 200mb ram, kernel must free ram before finish load, so its lag doing so, as all power goes to free ram and load new app.
[G2 Android Development] samuele94:
35°C - 40°C (cpu) before launching an app, 45°C-50°C (cpu) when I launch the app, 40°C (cpu) after starting the app. When app works i don't have lags or problems, I have also used heavy games and it has no uncertainty or lag. 800 MB of free ram The feeling in the opening app is like when the g2 had 100MB of free RAM but in this case I have 700 or more

I also saw that if you hold the touchboost active with AutoSMP the g2 has serious deep sleep problems but after disabling the touchboost it sleeps like a baby, I can not understand the connection between these two things but I made many tests and it seems that immediately after turning off touchboost everything back to normal otherwise it remains locked to 300MHz without cause.

Edit: Also the scroll inside the app has some minor lag (maybe because i don't use the touch boost that creates me problems of deep sleep )

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dorimanx:
hotplug vs touchboost = nothing in common.

maybe your screen has spot that is always pressed! and touch is registered.

touch boost disconnected once screen is OFF, and 10sec passed. so it's offline when device is in standby.

and has no effect on battery.

i cant fix something that i dont see. nothing here found.

autosmp has no touch register functions, msm hotplug has! once touch is registered, cores enabled.

when you disable touch boost freq driver, you are creating LAG for your device. it's like remove 30% power from your device and ask WHY it's LAG now?

if touch boost OFF, dont use autosmp hotplug. use msm only.
[G2 Android Development] samuele94:
In fact I have always used msm without Touch boost and has no lags , so now I try again to keep the touch Boost to 1.4Ghz.

Forgive me for the false alarm, surely there was a synchronization problem, or network problem that created the Wakelock
[G2 Android Development] n@vier:
[MENTION=6103587]samuele94[/MENTION]

Try these settings for me work well...

TAB HOTPLUG:

-AutoSMP with sample rate 10.

-min cores online 2

TAB MASTER CORE:

-CPU governor rate 20000

TAB GPU CORE:

-GPU simple laziness 4

All the rest default settings of performance profile with downclock CPU to 2.26ghz.
[G2 Android Development] saspo59:
Hi dori sorry to insist on reporting on this subject but the problem stil exist i did all u sujested i even instal su 2.68 betta with new su 2.65 and up icant pruduce log file , the moment i revert to su2.46 all ok.

some thing is hidding there between kernel and su.
[G2 Android Development] Computoncio:
Disable "mount namespace separation" in superSU.

That fix mounting sdcard.

Phone: LG G2 D805

Kernel: Dorimanx kernel v7.9 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] saspo59:
Thanks my friend now it works[emoji1]
[G2 Android Development] djtiesto22:
Hi [MENTION=2376110]dorimanx[/MENTION] two days ago I flash clean google edition 1.5 rom. Using 9.2 kernel default settings whit minor changes to sound and cron tab. Using xposed v80, v4a etc. Today phone auto reboot when playing some game, I will post log maybe something usefull. Thanks

https://www.dropbox.com/s/x71a4k7dyhk2i1m/dorimanx_debug-V9.2.zip?dl=0
[G2 Android Development] samuele94:
[MENTION=2376110]dorimanx[/MENTION] intellidemand has same bug described here (https://github.com/dorimanx/DORIMAN...mmit/ff8e85d31000f571eba8bb939958d757367588d2 ) , I have tried now and 4 core stay a 2.2 GHz without any effort, then return to 300 and then immediately they begin to rise for no reason (for now i use yankactive and works fine!)

Edit: I read that has already been solved! ( https://github.com/dorimanx/DORIMAN...mmit/989be49d5fece26006a378b2961c346602b3671f)
[G2 Android Development] dorimanx:
i am working... keep calm :)
[G2 Android Development] dorimanx:
News Update!

Kernel 9.3

07/03/16

*Merged updates to Alucard HotPlug from DEV.

*Merged Alucards Touch Boost update from DEV.

*Merged update to all ondemand based CPU GOVS to optimize load calculation

and produce more performance. also many bugs fixed after long hours of testing.

now we get more calm CPU freq when there is no actual high load.

affected govs = HYPER, Alucard, Conservative, Darkness, IntelliDemand, Intellimm, Nightmare, Ondemand, Pegasusq.

*Merged updates to DM-CRYPT driver.

*Added Touch Core boost code to AUTOSMP hotplug and to Thunder HotPlug now when you touch the screen,

Driver will boost cores as set in Control APP. same as MSM HOTPLUG do. + many fixes!

*Updated BUSYBOX from source.

*Added check if /sdcard was not linked and SuperSu failed for some ROMS. with stock all OK!!!

And LINK it! as should.

*Added control to disable LG MLT app and then disable LOGCAT. no more cpu load from that APP.

Read the description about what is it doing in your device. if app is removed. then it's just OFF

By default i have disabled LG MLT + LOGCAT in control app.

*Profiles will be RESET on first boot.

*Many correction in dorimanx app xml by @zdrawko12 very good job.

Have fun! :) this build should save much more power using any of my profiles. than before.

As hotplug and cpu gov will be much more calm and dont waste power when there is no need.

It's should also reduce heat when not playing heavy games that suck all power all the time.. :)

Enjoy.

Let me know "LATER" how it's operate. not based on one hour test.
[G2 Android Development] Xjitu802:
thanks dori..9.3 its perfectooo:good::good:
[G2 Android Development] the baptizer:
Big performance drop because of cores which dont go far beyond 1.2 Ghz (see image)

Tested it 2 times with same result (rebooted couple of times also with no improvement)

I uploaded also same benchmark with 9.2 for comparison (which was perfect)
[G2 Android Development] dorimanx:
And that show you performance? Leave.

I dont care. You have no idea about kernel operations. Sorry.

Even in the pick i see that score is still higher than should be, with much less power spend on app that not pushing cpu to max.

Or your cpu just was hot, and locked on low freq when you tested.

Again, as you dont know about thermal management.

Next time use QA for posts like that.

Here is my tests. 9.2 was not passing 21500+

Performance profile.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

From screenshots by [MENTION=4455323]the baptizer[/MENTION] the temperatures are the same (red line)....we need to investigate because PCMark is a good test...

Anyway v9.3 in terms of smoothness seems better than 9.2...I notice a big difference with touchboost available for AutoSMP. Thanks Master!
[G2 Android Development] Cienight:
It's been said million times that benchmarks don't represent realistically daily use and these numbers are pointless. Keep up the good work dori, 9.3 runs smooth like butter!
[G2 Android Development] dorimanx:
This app pcmark doesn't push cpu to max, all the test cpu load was from 20% to 50% its reached 100% when needed.

now cpu govs obey cpu load, and not push cpu to max freq if there is 20% load, that is stupid waste of power.

As you can see in pick, core was maxed when needed. All the rest of the time operated in low freq range as there was no actual load. This app does not measure performance to max, its measure cpu heat vs battery drain doing simple tasks! Read/write open browser, watch movie, and edit picks, its simple load operations. Cpu should not be stressed for nothing, its doing same tasks with same quality with lower cost.

That is what i gave you. when people will switch the look outside of the box, its will be clear. And happiness will strike you all. Peace.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Thanks for explanations.

Benchmark are only numbers I know very well that are not rilevant because not measure the most important thing that is smoothness ;)

Thanks for all Master!