yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

A little request. Could you add button to kill/restart SystemUI in Dorimanx app?

SystemUI is leaking big amounts of data to RAM over time. It's not leaking just to SystemUI process, but to other processes using those resources (image buffers and such).

Leaks are similar to those in vanilla Lollipop. Probably some forgotten release image buffer function(s).

Happens on LG G3 too, but less frequent due to better RAM settings and framework that was made for LG G3..

Our SystemUI was built for G3, but LG just changed max RAM static string to 2GB.

It would be good to just "one-click" kill and reset SystemUI. It does same job clearing RAM as restarting ROM, but it's much faster.

Thanks in advance :)
[G2 Android Development] Nightshadow931:
And cron task to run it every day at 5am or something like that? :)
[G2 Android Development] dorimanx:
I can do that easy.

But there is a side effect.

Once systemui killed by force, custom wallpaper is changed to default, i see this with next launcher.

Dont know if its the same with stock launcher, i have freezed it :) or with any other popular as nova and others.

So this was the only thing that stop me from doing that till now.
[G2 Android Development] Nightshadow931:
Nope, I don't have such problem with nova..

Although I've been killing only SystemUI process, nothing else..
[G2 Android Development] bestgames:
Dorimanx... Could you please add CPU Voltage Control into Dorimanx app? I see it on "Feature Request" (Jul 22nd, 2015) but never be true :silly:
[G2 Android Development] Ganjax:
The answer is "no" :)

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] dorimanx:
read post above. clear statement.
[G2 Android Development] dorimanx:
Cron for systemui reset, is ready :)

https://github.com/dorimanx/lp_ramdisk_dorimanx/commit/427e15806dbafafb37c57635a904d595fbd4d6e8
[G2 Android Development] Peppe91:
I have the same issue in my phone and my brother phone witch are same model d802, same stock rom v30d and clean install like 2/3 month ago.

Let's go to the point:

With latest kernel (9.1) when I hit kernel log in dorimanx app, it's doesn't generate any log.

I tried to change file manager, to reboot phone, wiped cache and dalvik and..... To delete Dori folder.. BUT here's come the issue.. I have no /data/.dori folder.. Anyone has a solution? Maybe data corruption with the single reboot that I had? I have no explanation.. Advice are appreciated.. Can't generate log so don't ask for it..
[G2 Android Development] BaschtlWaschtl:
When restarting systemui the quick settings are gone.. Can someone confirm?
[G2 Android Development] Diechel:
Confirm, using google edition ROM
[G2 Android Development] smartpr1v4t3:
Not with cloudy 3.3 for me.
[G2 Android Development] DnyLL:
My antutu skor

Hi guys

I am from turkey

I use of Cloudy 3.3 rom with doriman last kernel

I like this because good performance and zero lag

Certainly try use it..

Regards all
[G2 Android Development] dorimanx:
did you used the pkill command? of killed with some app?
[G2 Android Development] jeebspawnshop:
I have Tasker set to kill both SystemUI processes every morning at 06:00 (ever since Duki suggest it last week), and I get the wallpaper reset, but NOT the Quick Settings issue previously reported; I use the following commands;

am force-stop com.android.systemui

am force-stop com.lge.provider.systemui

Hope that helps.
[G2 Android Development] BaschtlWaschtl:
I used the pkill command from your script.

I'm on PowerRom..
[G2 Android Development] smartpr1v4t3:
I used the taskmanager in 3C Toolbox and killed the app. Everything fine (quick Settings and Wallpaper)
[G2 Android Development] blastagator:
I built a static version of cbump, for this project:

http://xdaforums.com/lg-g2/developm...boot-image-t3325186/post65570427#post65570427

Feel free to yank it out of my zip and use it, if you have some use for it. It is kinda big though, I didn't really care about trying to fix dependencies, building it fully static made the binary ~350kb.
[G2 Android Development] dorimanx:
3c set to soft kill apps by default, so they can be restarted if they have triggers. So its ok in that way, if you set to force kill apps, you get the side effects.
[G2 Android Development] dorimanx:
Nevermind, there is no am stop command.
[G2 Android Development] bestgames:
OK! I get it after visited Q&A Thread.

Just one more asking.

How do you think about "Per app control". It's auto change setting (cpu, gpu......) when our phone running an apps :silly:

I saw it on "Faux123 Kernel Enhancement Pro" :cool:
[G2 Android Development] Nightshadow931:
No need, you can use some app for that.
[G2 Android Development] Eminemiero:
Im having issues to generate the log when something happens, after i generate the file in dorimanx app the .zip file isn't displayed anywhere so i cant attach it.
[G2 Android Development] Peppe91:
+1

Also i tried google edition rom and after full wipe didn't resolve the issue. Can't generate either there.

Now i'm trying to flah kdz in cse mode and i'll let you know.
[G2 Android Development] Peppe91:
[MENTION=2376110]dorimanx[/MENTION], I've changed Rom, wiped everything and no chance to generate log. So I've cse flashed v30b Rom with lg flash tool and can't get logs.. I don't know what to do..

Maybe some bug in app or something related to kernel it's possible?

I can only confirm that after full wipe the issue remains.. Thanks for attention master.

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] djtiesto22:
Can you download some files from chrome to sdcard, or some errors other then log not creating? I have simular problem and and find solution but you mast to have this simular issues. Which version of super su are you using?
[G2 Android Development] Peppe91:
I'm running supersu v2.65. I can't generate logs, all other things are ok and phone after full wipe it's running great and smooth.
[G2 Android Development] djtiesto22:
Hmm so no storage issues? Try to go in es file explorer and go in /device/storage do you see some "?" at the folder name
[G2 Android Development] Peppe91:
Negative sir, everything works like a charm except logs.. Also reverted to 2.46 supersu and issue it's still here. I have no idea. With dorimanx kernel this is the first issue that a have.. Really strange.
[G2 Android Development] djtiesto22:
Okey I hope that you find a solution mate, I've tried but it seems that my problem is not same as yours!
[G2 Android Development] merlin21:
I just tried to create a log without the need of.

I'm on 30h somboons, d802, supersu 2.65 and because of restoring an old backup dorimanx kernel 8.2.

When i hit create log it displays written but there isn't anything in root of memory. Because I'm on kernel 8.2 i think it isn't kernels fault that we can't take a log. Some suggestions what's the cause?
[G2 Android Development] Dick Gordon:
Hello friends.

Tell me, please, what happens when I press the "tweaks -> reset buttery counter"?

The fact that the battery was replaced and is now at the maximum charge, I always 99%. What can help me?

Thank you.
[G2 Android Development] Peppe91:
Finally found a solution, the issue is the supersu app.

Just removed old version and after flashing the 2.46v clear cache and dalvik. Without clearing cache and dalvik the issue was still there so i think it's necessary.

Logs are back.

You can find supersu 2.46 here:

http://xdaforums.com/showpost.php?p=64965314&postcount=6796
[G2 Android Development] dorimanx:
You see, no need to spam my thread when you have other problems.

Please dont do that. Thanks.

This is local device problem, no need to make it global in dev thread.

At least use qa for next irrelevant problem.
[G2 Android Development] dxkernel:
Reset battery counter command delets /data/system/batterystats.bin ( the file located there used by system to collect info about your battery ) and every time you rest it system generates another file after a couples of charge cycle .

No need to rest this every time because dorimanx kenel has a cron script to calibrate battery every week
[G2 Android Development] Izy:
Getting reboots randomly and cant seem to figure it out. Keeps generating useless log file. Was on 5.5 for some reason updated to 9.1 and it became more frequent.

is there anyway to monitor this via adb?
[G2 Android Development] ig_df:
Same thing with random UI stucks that can't be fixed without hard-key rebooting.

I think that wil try previuos version first 9.0, that is under "stable". Btw dori said that 9.1 is MEGA beta, so no problems with that.
[G2 Android Development] eggeioss:
I have installed from scratch 9.1(default profile) on Google Edition 1.5 since it came out and I have to say that it is perfect. Long battery life, very fluid and no reboots at all!

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dorimanx:
Small request to help you all with your healthy device :)

ChainFire rolled out the 2.65 stable supersu. it's in play store.

after update, open the app, install new SU! if requested.

then in setting install supersu as SYSTEM APP. it's will reboot your device.

and live happy ever after with my kernel.

Else suffer hard from all problems of the world in your device :)

stay tuned to GITHUB there is new massive update in progress!
[G2 Android Development] dorimanx:
News Update!

Kernel 9.2

02/03/16

NEW BETA!

*Merged updates to USB,HID,SPI,JBD2,EXT4,AIO and to other FS code.

*Merged updates to sound drivers.

*Merged updates to TTY,CYPTO,SSR,KLIST,CPU HotPlug code.

*Merged all updates to CIFS driver and some other missing code updates for FS from 3.10.y

*Merged update to MMC,DM-CRYPT.

*Merged 2 new HOTPLUGS! AutoSMP and Thunder HotPlug added to CONTROL APP.

AutoSMP is more aggressive toward performance, thunder hotplug is more balanced but also strong!

*Merged updates to NET,KGSL,RPM,RMP-SMD

*Merged updates to Alucard Hotplug from DEV.

*Merged big update to SCSI driver that load our storage and control USB stick mounts. full sync with 3.10.y

*Merged updates to Module,FUTEX,DMA,MM,TRACE,driver-core, and full sync to ASYNC driver.

*Merged full update to F2FS for 3.10.y FS from source! many fixes and optimizations. original code from 4.5.rc1

*Merged fix to Binder driver from 4.5.rc1.

*Added new control to turn logcat OFF and save power! logcat is OFF by default now.

*Merged CONTROL APP XML corrections by @hermitblue thanks for your work!

*Added new CRON task to reset SYSTEMUI service and reload it every night. to release stuck RAM.

*Few bugs corrected in cortex,swaptweaks and CRON service scripts.

Kernel is pushed forward again way far from 9.1. stable for me no matter what.

Much fixed, and optimized. new stuff added for testing.

Have fun, and support my project if you like my work :)

Enjoy.
[G2 Android Development] harkis123:
delete
[G2 Android Development] saspo59:
Dori ota gives http connection error

---------- Post added at 03:46 PM ---------- Previous post was at 03:40 PM ----------

I think mirror 1 is down?

---------- Post added at 03:50 PM ---------- Previous post was at 03:46 PM ----------

My mistake it have over booking[emoji1]
[G2 Android Development] CampfireVibés:
Wow ! 9.2 is your smoothest and best release yet. I'm completely amazed at how fast it is, no stutter or lag. Not even microlag.

I don't know what you did but this is amazing.

Thank you dori
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

ThunderPlug working good. Seems to mostly keep 2 cores on idle, but CPU temp is very cool in idle and UI smoother. Although it may be due to me using 10ms sampling for Ondemand with touchboost disabled. But CPU temp lower on idle with these settings.

Good work on 9.2 :)
[G2 Android Development] raptorddd:
i beleive is the log is off. you get more battery and performance. i once asked him if he could do that.. he said he didnt know.... and i found a post some guy share it, and told dorimanx. so he implemnted on this wonderful kernel. i also would have to say best kernel.. :good::good::good::good:
[G2 Android Development] ironmaiden97:
Hi, I updated your kernel from 9.1 version to 9.2 with dorimanx OTA and I found it very fast but it also quickly drained my bettery from 33% to 15% in 10 minutes and CPU temperature became very high (87 °C) so phone restarted and I had to install another rom.

I was on default profile, but I think it was caused by dirty flash
[G2 Android Development] hamed...:
I can confirm that. I think it because of disable logcat check. I disable logcat(in 9.1 version) from dorimanx idea from some post later. And after that i see batterry drain and after that i check cpu load and i see that 4 cpu's locked at max clock. (that i forces to flashed rom again). Now i am in 9.2 and it happend to me again without disbale logcat

Sorry for my bad english:p
[G2 Android Development] lynxrz:
9.2 so fast and smooth but I can confirm battery drained so fast

Mostly screen "number 1" battery drainer, this time not.
[G2 Android Development] raptorddd:
no such thing here in fact i was getting 3% drain in a 8 hour stand by.with log disable i get better battery and pereformance.
[G2 Android Development] Lycidias:
Got a hot reboot while using tapatalk

https://www.sendspace.com/file/5dqcbl

1.9@msm/ondemand

Spoiler content hidden.
[G2 Android Development] oudbrood:
Reboot while using whatsapp

HP Alu/ 4x darkness

Kernel 1.9

https://www.dropbox.com/s/i7qq8leimlfxc3k/dorimanx_debug.zip?dl=0
[G2 Android Development] Salvi1982:
Please add F320 support!

I need a F320 Kernel for LP 5.X kernel..

Thx!
[G2 Android Development] Abrilabr:
NO ETA!

Dev will add support for all variants in near future. Just wait

Im waiting too for my d800
[G2 Android Development] Diechel:
The only thing you need is changing your attitude and reading posts.

Have a nice day. Some day it will come.

When i don't know.
[G2 Android Development] samuele94:
Tell me if you need some test with other gov or hotplug! Thanks for your work
[G2 Android Development] oudbrood:
Damn I have another reboot while playing Heroes Charge.

HP MM/ 4x Ondemand

Kernel 1.9

https://www.dropbox.com/s/dvbowue7s3ypd2n/dorimanx_debug1.zip?dl=0
[G2 Android Development] love4k21:
Using this since 1.1. Now on 1.9

So far no problems :)
[G2 Android Development] infected85:
From 1.5 to 1.7 and now 1.9 all settings default and no reboots or freezes. All rock solid.
[G2 Android Development] Closed Force:
Been using all 1.1-1.8 ondemand,msm. Had 0 reebots
[G2 Android Development] :
Here's what I had to do on my VS980 LP base to get /data and /cache mounting after borrowing your methoed. It seems that the commands you were using in KK have flags that the mount manager considers to be bad, and panics. Changing them fixes that. Though, the way I'm doing it here I believe breaks encryption. I can't speak for system, but it's probably the same issue... Hopefully it helps out.

Initial Commit & Fixes
[G2 Android Development] dorimanx:
News Update.

Kernel 2.0

18/05/15

*Fixed Nightmare, Alucard, Darkness CPU GOVS. now stable! :)

Need to test by many... for me so far no problem.

From DEV with love :) (from Italy)

if you had any custom profile for GOVS tuning!, please clear and use defaults.

For alucard it's should be:

#define FREQ_RESPONSIVENESS 1958400

#define CPUS_DOWN_RATE 2

#define CPUS_UP_RATE 1

#define DEC_CPU_LOAD 70

#define DEC_CPU_LOAD_AT_MIN_FREQ 60

#define INC_CPU_LOAD 70

#define INC_CPU_LOAD_AT_MIN_FREQ 60

/* Pump Inc/Dec for all cores */

#define PUMP_INC_STEP_AT_MIN_FREQ 2

#define PUMP_INC_STEP 2

#define PUMP_DEC_STEP 1
[G2 Android Development] ebautista:
Sir there's version 2 already?
[G2 Android Development] dorimanx:
thanks for tip... this brake encryption... but at least allow f2fs..

any way. i think if we set the fstab.g2 for f2fs like that:

Original:

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,noauto_da_alloc wait,check

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,errors=continue wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt

FOR F2FS:

/dev/block/platform/msm_sdcc.1/by-name/system /system f2fs ro wait,check

/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs nosuid,nodev wait,check

it's will boot.

but again, we loose encryption for f2fs storage...
[G2 Android Development] wikowikowiko:
I personally doesn't understand anything being discussed here. But, i do appreciate all the hardwork put for this kernel.

It always great to know someone that cares for others and elaborate to make this device a better one.

Keep the good work guys!
[G2 Android Development] r4Rok:
It's not bad, if you are not getting something understood atm. You can flash the kernel, leave the stock settings and run, it would be fine, believe me. Later, when, you gets clear the tech, you can start tweaking it for your desired settings.
[G2 Android Development] TMG1961:
You are not the only one..only thing i understand is kernel and flash :D
[G2 Android Development] iko11:
I see you have already released v2 but I got a reboot 5 minutes ago on v1.9 maybe there is something you can see [MENTION=2376110]dorimanx[/MENTION]

http://dl.dropboxusercontent.com/1/view/cd4dmluknvsxo05/last_kmsg-2015-05-18.19.12.46.txt
[G2 Android Development] dorimanx:
Yep error on cpu up.

I think its should be ok now...

What govs you have used?

Sent from my LG-D802
[G2 Android Development] Diechel:
So far so good v2

Alucard + Alucard hotplug
[G2 Android Development] mezz0_xx:
I can confirm the high temperature.

The pohne is chilling like a boss but 75°C.

Anyway you do a good job dori.

Best regards from Germany.
[G2 Android Development] iall5tar:
Dunno guys what are you doing with your phone but I have to say that I was playing a heavy game like MC5 and my cpu temperature doesn't reach 70°, it's always between 60° to 68°.

When it's idle less than 50° and battery less than 30°.

Im using performance profile and trying the new Hotplug AutoSMP

Intellim does a good job.

Nothing else to report.

But I'm really happy with this new "beta" 9.2.

Cheers!
[G2 Android Development] berezker:
The smoothness of 9.2 is just unbelievable

In 9.0 with performance, using snapchat usually lags but in 9.2 it's smooth as Fu**
[G2 Android Development] kocaman1321:
I updated 9.2 but i have the same battery drain problem.All cores online all the time for no reason.And cpu temp was like 80°C.I´m back to 9.1 and everything is stable.Sorry for english.
[G2 Android Development] falconhawk81:
9.2 and cool like an iceberg. Smootthhhh
[G2 Android Development] Scootsch:
For me same problem with cpu heat in 9.1 and 9.2 ( 75°c)

8.9 runs without any problem. ( 50°c)
[G2 Android Development] Nightshadow931:
All fine here.

What happens when you open task manage(i use 3c) and take a look at cpu load percent?
[G2 Android Development] hamed...:
Here is some screen shot. I remember that happened to me after disable logcat function in 9.1. After boot all cores locked at max and cpu can't go to deep sleep for about 15 minutes but after that phone back normal.:fingers-crossed:
[G2 Android Development] boyheadkick:
description for autosmp hotplug

Autosmp: A highly-efficient hotplug driver by [MENTION=4203114]mrg666[/MENTION], works in-sync with the CPU governor to enable off-line cpu cores when the the CPU frequency reaches a high threshold and still more compute power is needed. Therefore, touch boost bloat is removed.

AutoSMP (taken from [MENTION=5811506]gsstudios[/MENTION] thread)

Quote:

max_cpus, min_cpus, scroff_single_core, delay: Look at description above

enabled: Enable/Disable AutoSMP. Y ( for enabled). N (for disabled)

cpufreq_down: Percentage values for downrate limit (range from 0 - 100)

cpufreq_up: Percentage values for uprate limits (range from 0 - 100)

cycle_down: Cycles to wait after the last hotplug event to unplug another core (values 0 1 2 3 4)

cycle_up: Cycles to wait after the last hotplug event to plug another core (values 0 1 2 3 4)

EDIT: sorry for the fart, the Github link was an error report, removed
[G2 Android Development] Erquinox24:
Wtf what have you done with the latest 9.2! It feels like a new android version was installed..never experienced smoothness like this before...this version is the bomb! The best since dorimanx started this kernel for lollipop...very good job!
[G2 Android Development] dorimanx:
No log, no problem.

Same answer for other posts, with structure:

I have a boomb! Boom, i went back, now happy.

Hmm, ok then, stay there.
[G2 Android Development] kocaman1321:
Hi i can´t find my debug file my sdcard is empty.Never report log before.
[G2 Android Development] Nightshadow931:
SuperSU has to be installed as system app.
[G2 Android Development] dorimanx:
About logcat possible stuck in high cpu load.

If you changed the logd name as was posted by me before 9.2

Revert the name change.

Make sure you have /system/bin/logd named as logd. Not something else.

Change, wait for 2min, so syatem will sync your changes in partition.

Reboot, should be ok. Dont change the logd name again, 9.2 will all needed for you. Its will stop it, and not rename.
[G2 Android Development] masteril:
9.2 is great but in the first time my alarm is stuck my phone (yellow led blink)this morning and dont wake me up /:
[G2 Android Development] saspo59:
Hi dori me too cant produce logs , i didnt make no changes with Adb. So i dont know what is wrong .
[G2 Android Development] Peppe91:
See my previous post some day ago.. I've updated supersu from playstore and had same problem.
[G2 Android Development] dorimanx:
Supersu. Not kernel problem.
[G2 Android Development] dorimanx:
Never seen yellow light blink.

I am sure its was cool.

Without logs, its just you and your device in dark void of Jedi.
[G2 Android Development] wrekawek:
I had same problem, also solved by 9.1, then I've installed 9.2 again and this time no battery drain.
[G2 Android Development] saspo59:
You abselutly wright but u have to hold your recomendation to moove to su 2.65 becouse it stop my log thanks to [MENTION=481594]peppe[/MENTION] i moov back to su 2.46 and wipe casch and delvik and all good again.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

v9.2 works great with AutoSMP hotplug till now everything fast and smooth!

I'm also testing v4a v4.7.1 DD+ Sony Beats Edition with new add drivers ALSA and this is a great update in terms of sound and work great with your kernel ;)

Thanks Master!
[G2 Android Development] boyheadkick:
initial impressions for autosmp is it's very smooth, been using msm for a while now, autosmp is seriously responsive under intense multitasking...keeping an eye out for battery life since this hotplug is geared toward performance..
[G2 Android Development] Nightshadow931:
It's just a few posts back. SuperSU 2.65 needs to be installed as system app, then logs will work.
[G2 Android Development] hamed...:
[MENTION=2376110]dorimanx[/MENTION]

Hi master. Here is a log (useless?!!)
[G2 Android Development] masteril:
When the alarm ⏰ goes on it blinks yellow red but its maybe stuck on wake up or something so that what i ? this morning lol

Another maybe important thing..the phone was connected to the charger when this happend.

Log

https://www.dropbox.com/s/f4ucrq3i7pqul15/dorimanx_useless_debug.zip?dl=0
[G2 Android Development] kocaman1321:
I do it and high temp. is gone no problem for now but still can't find debug file :(
[G2 Android Development] Nightshadow931:
Actually, you're right.

I have SuperSU installed as system app too, but log file can't be generated. [MENTION=2376110]dorimanx[/MENTION], any way to fix this instead of going back to the older version?
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Log generating in app doesn't work anymore on 9.2. App says log is generated, but no zip on sdcard.

So I took last_kmsg here.

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

Phone froze while I was using USB tethering on one PC. I had to reboot by pressing key.
[G2 Android Development] merlin21:
[MENTION=3441913]duki994[/MENTION]

With 9.2 default settings log is turned off for me. Perhaps that's the cause of no output...?