yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] cybernetus:
:( the modem I send to you isn't work?
[G2 Android Development] dorimanx:
no. ROM devs, do not wish to help.

i will not use there ROMS, so we have support for STOCK. as in title.
[G2 Android Development] dorimanx:
i am resting. after hard week working at customer site on big project.

i will continue development at Monday, when i am back to my office, and my quite work space...

for now, i am watching movies i have not seen, and catching up with series i like.

for now 2.4 can be declared stable. i know some have problems, but there always will be problems...

same as with stock, LP is so heavy on RAM, I even had to reduce open apps and widgets i have...

that is not progress... need to do something about it...
[G2 Android Development] dorimanx:
delete /data/.dori folder.

reboot.

see if help.

make sure ROOT is OK... try to reinstall ROM only system...

dont add any mods. try to install only kernel and see if OK.

then add what you need,

when ROM boot, and you see lockscreen, WAIT do not open dorimanx app. wait for 40sec.

Let me know.

EDIT. as post below. see SELINUX setting. should be permissive!
[G2 Android Development] krija:
Check SELinux setting.
[G2 Android Development] dorimanx:
i dont know what are your skills. but i dont think you should try to build your own kernel, if you cant find link in page.

maybe i am wrong....

any way good luck, source is open and free.
[G2 Android Development] muppetmaster916:
Is there any chance that you might be willing to help out a dev that has the g3 to add some of your amazing work into their kernel? [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] TMG1961:
[MENTION=2376110]dorimanx[/MENTION] .. have a great time resting/relaxing.
[G2 Android Development] saspo59:
Dori small OT maybi we work at the same company and i dont know[emoji12]
[G2 Android Development] fire3d:
Tried that already ... but i found the problem, i deinstalled Busy Box Pro and the App is workin again ......

I ever had Busy Box Pro installed, that was not a problem before.....
[G2 Android Development] LeoPosas:
Waiting so bad for D800 support, just waiting this kernel to move it to stock LP. :)

[MENTION=2376110]dorimanx[/MENTION] , you have my donation man, just do your magic :D
[G2 Android Development] dorimanx:
If he is a dev, he can help him self. Source is open.

Sent from my LG-D802
[G2 Android Development] dannycellestio:
Off Topic: watch Interstellar. it's the best movie ever.

On Topic: I've seen this suggestion before around the thread, now I'm suggesting the same thing. It is even possible to add more frequency steps, like 1.8, 2, 2.6, 2.7 etc ?
[G2 Android Development] dorimanx:
seen the interstellar. nice.

about freqs, we have many already. when we get more freqs, we need to see that cpu drivers dont get lost in steps calc.

and things can go wrong, as some CPU chips dont work on some freqs. i dont think LG devs, just where lazy to add them.

there is a reason.

so my answer is nope... i need stable kernel as much as possible, and this change can create big mess.
[G2 Android Development] AlexVipXDA:
Any news about some other rom support?
[G2 Android Development] drew150931:
[MENTION=2376110]dorimanx[/MENTION]. In kernel version 2.4 i encountered reboot while watching fairy tail online streaming using opera mini browser. Here's the logs. Hope it will help.

Dorimanz debug = https://mega.co.nz/#!6RkFFbyQ!oeXytJL42mH0-8Sel5DwrSAMnBqmGTXg60mcd9rl96c

Dorimanx log cat= https://docs.google.com/file/d/0BwMHLwFekUzKYzJHQmY1dkJhLWs/edit?usp=docslist_api

Thanks.
[G2 Android Development] dorimanx:
Hmm. i was bored! so i have merged updates to fix RAM drain and added new cron job to restart google stuck service

and more tuning!

also updated govs from alucard.

so any one ready for new build? :)
[G2 Android Development] Lizzacore:
Ready ! :)
[G2 Android Development] infected85:
Ready :)
[G2 Android Development] minotavros:
Can't wait
[G2 Android Development] dorimanx:
News Update!

Kernel 2.5

30/05/15

*Merged updates to fix memory leak in BAM DMUX (core driver for android needs)

*Merged updates to lowmemorykiller driver, should work little faster when low ram condition is triggered.

*Merged sound driver updates to fix ram allocations.

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

*Merged updates to devfreq code to allocate RAM in better way and code speed optimization.

*Added control in dorimanx app to mark highmem as source of free RAM in case of need, see Memory tab!

it's OFF by default. need to test for long time. this can improve performance, but also can add strange bugs.

*Added new cron task to restart google services every 3 hours, this will make sure to release all leaked RAM

and stop non stop CPU power drain, i have found that this service can stuck after long use without REBOOT.

service is ON by default.

*Tuned profiles for min backlight, temp hysteresis, mic gain, and fixed some cron scripts.

Profiles will be reset on first boot.

Have fun and report.

To beta testers: please ENABLE High Mem Dirtyable in memory tab, report if any problems:

problems: (strange logs about crash in ram allocation, home app crash and restart, apps closed from ram and etc)

if nothing strange, this will be ON by default in next release.

I use it now, so far all good.
[G2 Android Development] dorimanx:
thanks for support :)

Update to 2.5 should be better.
[G2 Android Development] Nigglenuts:
I'm not trying to rush you in any way, Dori, but will there be a d800 build soon? I've been anticipating this for a while :D
[G2 Android Development] oudbrood:
Thanks Dori

I'll give it another try.

Hoping the reboots are gone with 30b eur somboons rom.
[G2 Android Development] mirktamas:
Hi! I'm using dorinmax kernel, just updated to 2.5, but does not seem to solve my problem, (battery profile) CPU is still 76C, even if I don't use it. Any suugestion? How can I give you some log file so as to determine my problem easier?
[G2 Android Development] dorimanx:
something is running non stop. and forcing CPU to work at high load, temp is just product of this problem.

make log via dorimanx app and upload here.
[G2 Android Development] mirktamas:
Do you mean app-bug report? Where does it exactly save the log file? I don't (always) have this problem, if default profile is enabled.
[G2 Android Development] donalberto17:
Just seeing how you are fixing the big RAM bug of Lollipop, you are the best, I just hope to one day be capable of flashing this kernel on my vs980 because I hate that RAM problem.
[G2 Android Development] :
2.5 up and running. High mem dirty table enabled. Had zero issues with 2.4. Everything fantastic, hope you will stay with LG in the future. Brilliant device this is.
[G2 Android Development] Lycidias:
All good til now With high mem dirtyable enabled ??

Spoiler content hidden.
[G2 Android Development] iall5tar:
Hiho!

Same here and everything is Smooth like a fresh smoothie xD

Keep your hard work Dori really appreciate it!
[G2 Android Development] straylight23:
Just flashed 2.5 and enabled himem dirtyable. Feels really good so far. Thanks for your endless efforts!!

Please have beer or two tonight...

1HT07577G61035154
[G2 Android Development] TMG1961:
Here also no problems with 2.5. Great job, thanks for sharing this with us.
[G2 Android Development] infected85:
Flahed 8-10 hours ago with high mem release and so far so good, same as 2.4
[G2 Android Development] lgnd:
Somboons 30b v2 full version tom yum kung xposed.

System settings force closing after flashing dorimanx kernel (tried 2.4 2.5)

Solution:

1., Flash stock bumped kernel

2., Change system settings to list view

3., Flash dorimanx kernel

4., system settings working woohoo
[G2 Android Development] Wimmme:
Somboons v2 is NOT a stock ROM, it is based on stock, that's not the same.

Thank you Dori, it think you fixed our phones. 2.5 runs very well with the hih mem dirtyable enabled. Feels snappier, AOSP-like snappier. Great work !
[G2 Android Development] Ginel:
all using default profile?? on 2.5?
[G2 Android Development] dorimanx:
thanks for support :)

glad that new tweak behave ok.

need to monitor more time.
[G2 Android Development] dorimanx:
great thanks for report :)

feels good for me too.
[G2 Android Development] dorimanx:
yes that is good solution!

i think its connected to selinux set permissive... strange thing...

I will add this to install instruction...
[G2 Android Development] Kemby13:
Got a reboot as soon as i changed gov to Darkness, same as 2.4 and before...

Ondemand working fine, now i'm trying Nightmare...
[G2 Android Development] Wimmme:
edit: it does reboot on darkness :(
[G2 Android Development] 60nine:
no problem with settings app after the update from 2.4 to 2.5... (i always use the list view)

my specs:

somboons 2-00 v30b Pad-Thai rom

your kernel v2.5

xposed + g3tweaksbox lollipop full theme for settings app

selinux - permissive
[G2 Android Development] AlexVipXDA:
Have same thing with quetzal rom, if i flash dorimanx stop to work smartnotice and stock browser. Very strange
[G2 Android Development] Wimmme:
Must correct myself. When stressed or hotter it does reboot on darkness.

Log here: https://www.dropbox.com/s/iqu3zt74fwygsxw/dorimanx_debug.zip?dl=0
[G2 Android Development] capoooro:
After a day, 4x yankactive, touchboost disabled, high mem dirtyable on, everything run smooth and cold. Good job
[G2 Android Development] Lizzacore:
Which HP?
[G2 Android Development] capoooro:
Msm
[G2 Android Development] desiresiscool:
Where can I download backup stock kernel for SRKG2 ROM
[G2 Android Development] goran_oh:
Wrong thread,look in [MENTION=461516]som[/MENTION]bons thred.

Sent from my LG-D802
[G2 Android Development] h@lek:
Actually dorimanx has uploaded stock kernel on his site. Go to OP download link. Go to end of site.
[G2 Android Development] iko11:
FEEDBACK: I haven't encountered any issues after flashing 2.5 New changes working good, I have enabled High MEM Release too. Alucard updates seem working OK, no reboot, 4xAlucard, Alucard HP, Touch Boost: Disabled everything is fine, smooth and battery friendly. I think this is a stable one. Thank you [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] _FroX_:
All OK. High MEM seems ok (no problems/reboots/stuck). All on default + high mem enabled (without xposed module).

Battery... well, for me not all i would like, maybe LG update our G2 to Android M... maybe...

In general, your kernel is a master piece, as always.
[G2 Android Development] Lizzacore:
With extrem Battery , yalliactiv and high mem after deleting xposed and reinstall the 30b firmware everything is fine now !

Thanks for you great work.
[G2 Android Development] duki994:
No problems with high mem dirtyable :)

All stable here.

Small suggestion:

Intelliactive (and maybe other interactive based govs) have their timer rate called timer_rate while ondemand based govs like alucard and intellimm have timer rate called sampling_rate in sysfs.

Dorimanx app changes/echoes value only to sampling_rate sysfs variable, so intelliactive(and mabe other interactive based govs - haven't tested them) doesn't change it's sampling rate (stays on 20000) when changed through Dorimanx app.

Should be easy code change.
[G2 Android Development] edgd1er:
Kernel 2.5 / rom 30e / Default profile + hp alucard + 4x alucard. / highmem enabled / xposed= no reboot (soft or hard). I had soft reboots with darkness + msm. I ll try to get some logs... Forgot about them :(
[G2 Android Development] Ginel:
my setings is not sticking, i untick swipe2sleep and fast charge but after a while they r coming back always flashed 7 times 2.5. what can be the problem ???
[G2 Android Development] AlexVipXDA:
I have 3 reboot today, first and second its not important i think but with third i think something not work well

https://www.dropbox.com/s/gdik38lai3tqnrf/dorimanx_debug.zip?dl=0
[G2 Android Development] xxoscarxx28:
Well... I'm having an experimental kernel module in which it can modify settings of all governors once it gets invoked/called. And as I have said... It is experimental... And I also haven't compiled it yet :P

Slow net and slow laptop (almost no storage left)

Im just extracting the codes I need from the source

And when I say on invoke/initialization... It means it supports configuration of different governors without the settings getting lost when the core "it governs" gets turned off

Configuration is through echoing(sysfs)... As usual

Edit: "Theoretically" works with KitKat and Lollipop Doris

Edit: I need someone to compile this once I am pretty confident that this will work :P ( [MENTION=2376110]dorimanx[/MENTION] ? It needs to be compiled with the kernel source )
[G2 Android Development] duki994:
Cool :)

But some govs have different tunables. Some have "proprietary" (i can't think of better name) tunables. You would have to add function that can find and change all "proprietary", and easiest way is to call grep . * bash script in current cpugov sysfs folder.

It's unnecessary to write module in C (although VERY good for programming excercise) to change all gov tunables. Script(s) from userspace can do it since current used govs have exposed tunables in sysfs.

Also, how do you take initial tunable vars from govs? Export them to header? When gov starts it loads initial tunables, so module needs to start each time you change gov (essentialy each time when you start new gov).

But if all govs have same name for common tunables, then it's a lot easier to write module :)

EDIT:

I saw your explanation in post edit :)
[G2 Android Development] Lizzacore:
Reboot after lookscreen

Log :

https://docs.google.com/file/d/0B6SRUgJRLeB6azBQVHg1VzZfSlU/edit?usp=docslist_api
[G2 Android Development] dorimanx:
i see your reports too much... maybe time to use my profile, and stop making any changes?

or maybe my kernel just dont work on your device, it's possible.

i dont know how to help you, i have 0 problems for days... 2.5 running perfect.
[G2 Android Development] samuele94:
No problems with alucard gov and ondemand,for now i use alucard!Only darkness reboot over 1.7ghz but i use alucard. If you want log of reboot with darkness i can reproduce it. Simply you need to put darkness and (any hotplug) and stress the cpu, instant reboot. Under the 1.7 ghz no reboot
[G2 Android Development] oTeMpLo:
How did you manage to fix Data / Wifi issue ? Phone stll becomes unresponsive when progress loosing wif or data or new conenctions becomes ready ... it locks up totally... (for a period of time 3-5 sec or more)... ????

and Yes 2.5 is fair more stable/fast/less laggy -- as previous 10 versions...

and last 2 (3?) versions are now battery friendly .. which was not the case even on KK verions before... .. I think it was mpdesition service "FIX"... which fixed huge battery drain which i was complaining for months now... :/

Keep up good work.. Thanks, Dori
[G2 Android Development] Diechel:
Not clearing log file?

'Ram released'
[G2 Android Development] dorimanx:
yes. small typo in log script... i will fix..

action is working ok.

FIXED:

https://github.com/dorimanx/lp_ramdisk_dorimanx/commit/4db6e7aeedf59a1ed4896e06056d222447c1ce7b
[G2 Android Development] Lizzacore:
I will try

Edit:

On KK with the same device and your kernel everything was fine. Something changed ?

I'm sad about it, I love your kernel, also I love your fantastic work :(

I will miss it if nothing heped.

I changed to your porofil extrem battery and changed nothing , I rebooted and now we'll see .. I don't hope so :(

Maybe it's because my processor PVS Bin is only 2 or something like that ?
[G2 Android Development] HighlanderZA:
Mine is also PVS bin 2 - runs all Dori's kernels with no issues whatsoever.

Only tweaks are lowering charge rate and sometimes limiting cpu max frequency if I remember. All else is left default. :D

No reboots, hangs or lags at all. :good:
[G2 Android Development] Lizzacore:
Until Now with no changes Everything is fine, no Rebootes. We'll see it.
[G2 Android Development] remorema:
Well. Tested 2.5 with high mem dirty table off for a couple off days with zero issues. Absolutely flawless. Will try to turn it on and go with it for a couple of days and see if it works ok ;)

Off-topic: [MENTION=2376110]dorimanx[/MENTION] have you seen the serie "last man on earth"? I rofled like crazy on that one.
[G2 Android Development] AlexVipXDA:
[MENTION=1647250]dormanx[/MENTION]

I have 3 reboot today, first and second its not important i think but with third i think something not work well

https://www.dropbox.com/s/gdik38lai3tqnrf/dorimanx_debug.zip?dl=0
[G2 Android Development] Lizzacore:
I'm done, reboot :(

Log:

https://docs.google.com/file/d/0B6SRUgJRLeB6MjkxNVdpdFEtekk/edit?usp=docslist_api

Edit : [MENTION=2376110]dorimanx[/MENTION] ,do you have a stock UV? Maybe it's this I don't know because my device don't let undervolt :S
[G2 Android Development] 60nine:
afaik, dorimanx stated several times that he will not take UV related reboots serious...
[G2 Android Development] Lizzacore:
I don't read it sorry, I will try it with +5 anyway.

---------- Post added at 05:42 PM ---------- Previous post was at 05:21 PM ----------

Didn't helped :(

I go back to the stock kernel ,no choice [emoji24]
[G2 Android Development] 60nine:
i don't see a point of undervolting...
[G2 Android Development] gozzaa:
what settings are you running?

have you tried default profile? like 4x ondemand + msm hotplug?

everytime you are posting i see some setup thats not default, maybe you should start with default settings before you tweak the hell out of this kernel :)
[G2 Android Development] dorimanx:
no UV. all voltage is stock. and voltage jumps are in +-25 not 5 or 10 or other...
[G2 Android Development] minotavros:
Shut down. Gov:Alucard, hp:alucard

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

---------- Post added at 08:53 PM ---------- Previous post was at 08:44 PM ----------

Edit:This is with 2.5 No problem so far using for two days ondemand gov and hi mem release on
[G2 Android Development] Lizzacore:
My device only don't wake up after 4 or 5 lock screens, if you know what I mean.

Everything is fine with every profil but after a deep sleep under 5 minutes it will don't wake up and restart :/
[G2 Android Development] Ginel:
why my settings not stick???!!? i untick sleep2wake and fast charge but always come back after 2-3-4 restarts and sometimes after some hours? why is happening this?

---------- Post added at 07:16 PM ---------- Previous post was at 07:07 PM ----------

when i put on charge all seting goes to stock....any solution??
[G2 Android Development] dorimanx:
No. Never happen with my device.

Settings cant change. Its can only be errors in data partition.

Kernel try to read profile, its damaged, so its restore default and read it.

My advice, backup what you can, and format data.

No other magic fixes...

Sent from my LG-D802
[G2 Android Development] Ginel:
how to format? wipe it ? wipe data?
[G2 Android Development] Lizzacore:
He mean wipe data
[G2 Android Development] Ginel:
ok but what in recovery u dont need to wipe sd card or sistem is something there if u wipe u wipe all from your sd card, i made this mistake once o older phone and i cant remember what to not wipe :))
[G2 Android Development] iko11:
Incase anything take BACKUP

Wipe Cache, Dalvik, Data System

Don't Touch on INTERNAL SD
[G2 Android Development] HighlanderZA:
Hi there - do a check on your partitions before you start doing anything else.

In the Dorimanx app - go to the last tab - Kernel stuff - push the 'kernel-bug' button - take note of where the debug file is - then use a text file viewer or download the debug zip to your PC and read it there. Look for the text in the SS below - it will tell you if any of your partitions are faulty/have errors.

Then in recovery TWRP - hit the WIPE button and then USE the Format Data button only.

You will loose all your pics etc so make sure you backup everything you want to keep to your PC first!!!
[G2 Android Development] djoni_gitara:
reduce overheating, reduce power consumption for same frequency, which mean more battery.

For me personaly, UV is the only settings I need from custom kernel. If kernel is good like dorimanx one is :)

2.5 is amazing, with underclock to 1.7Ghz and high mem realease, it is smooth like never before, without single issue.

Thank you dorimanx! keep up a great work
[G2 Android Development] Ginel:
its show me clean clean clean :D
[G2 Android Development] mirktamas:
Hi!

I still have overheating problems even if I'm on default. Usually only when screen is alive. Can anyone tell me why? I would be grateful. Can't use my phone now for a long time...

I hope I uploaded the good logs!

https://drive.google.com/folderview...MzbmNXSFFkaFJ0SElVTjJWQnowaTNnTkk&usp=sharing

Thank you!
[G2 Android Development] 60nine:
let me be clearer this time - i don't see a point of UV with THIS kernel...

to gain all of this that you've said it's enough just to set the settings right (a good freq here, nice governor there,...)

if you get my point...
[G2 Android Development] dorimanx:
if you do any UV, remember, kernel power regulator accept only +-25mv less or more is not registered.

and it's uses the lower value.

if default is 775, and you add +10 it's still 775!

if you set -10 it's still 775

set +-25,50.75.100 and so on... but you probably will be stuck very fast :)

CPU need power, wrong set, crash cpu and kernel reboot or just stuck without any life sign.

any way UV is not supported by me, if you must, do changes in your own risk.
[G2 Android Development] Lizzacore:
I only do it to test if this is the problem of my device.

I changed the HP suspend to always activ because of this you can get SOD's, this was I got every time when the device get into the deep sleep :(
[G2 Android Development] xxoscarxx28:
"Propriority" that's a cool naming xD

Ok... Now... I need you to do these things to know what I am saying...

Have the cores be governed by different governors...

Set Hotplug to constantly use 2 cores

Then edit cpugovs in cpugov folder

Set Hotplug back to 1 minimum core

Now go back to cpugov folder... The gov of second core is now gone

Set Hotplug to 2 minimum again

Go back again to cpugov folder... The configurations you made on that gov is now gone

I want you to verify that for me ;)

Moving on... The thing that your suggesting will just waste cpu time as you need to constantly check if that gov is now active or not!

That's why I use Kernel Module ;)

It only needs to know the parameters of each cpugovs (I will hardcode that to the module and update it if the gov does) and edit their entry and exit functions so that they will notify the module that they started and also when exiting

In short... It is Event-Driven, wasting no cpu time on repetitive checking

Slr :P
[G2 Android Development] duki994:
Ahhh...

I understand :)

Using notifiers for params.

My script model would work on user input from some app (like Dorimanx app). When you change govs only then script would be executed to change gov/hotplug or any other changeable tunable :)

No kernel polling of any kind.