yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] ghost141:
Demn, i just also wanna post bout the reboot after i call my boss. -_-
[G2 Android Development] ghost141:
my phone boot failed because i flash the wrong model, any way to recover it without formatinng KDZ?'

I tried to get to Recovery TWRP, but it does not wanna.
[G2 Android Development] BaschtlWaschtl:
Boot to recovery and flash the right version for your device..
[G2 Android Development] merlin21:
[MENTION=5006541]ghost141[/MENTION] answer in QA thread...
[G2 Android Development] gwadaboy:
First thanks dorimanx for this great kernel.

I feel like that 4.9 was much smoother.

In 5.1 I'm experiencing a lot of redraw.

I don't know if it's because oom was set to aggressive (on and off screen) in previous version or if it's something else.

I will set it back from default to aggressive again and let all know

Cloufyg2 3.3 debloated (I plan to come back to stock)

Root xposed greenify

Dorimanx 5.1 (oc @2.7 performance mode, queue disabled)
[G2 Android Development] dorimanx:
Redraw is from low ram.

Use default oom setting. That should be ok.

If redraw too much, you have tons of apps in ram that just kill your launcher from ram to use it.

Its or this, or reboot from low ram.

I dont have such problem, as my system is controlled, and useless apps not allowed to start when they like.

And i have 390 apps...

Any big game will push launcher from ram.

That is expected. If there are many other apps in ram.

Sent from my LG-D802
[G2 Android Development] k_ahm.143:
Korean Variant

Boss where is our F320x / Korean variant kernel?? are we in darkness?
[G2 Android Development] alesul:
We want f320 kernel for lollipop! It is posible???????
[G2 Android Development] Diechel:
Maybe if you pay dorimanx a month salary, to make it from scratch for you?
[G2 Android Development] txv0:
4.9 has been best for me too. I thought maybe i was only one who felt 4.9 smoother than 5.x
[G2 Android Development] OT-Xtreme:
dori d802 5.1 here i had sudden reboot-like from deep sleep - double tap to wake a couple times then black screen and boot

took logs an hour later

https://drive.google.com/file/d/0B5sWW7uEFPD7MlFlYzBVNjBUUjg/view?usp=docslist_api
[G2 Android Development] Shaolin007:
[MENTION=2376110]dorimanx[/MENTION]....

Tried 5.0 and 5.1 it lags too much after sometime....the previous version 4.6, 4.7.2 and 4.9 were rock solid.....5.0 and 5.1 has fc and too many freeezes in apps.
[G2 Android Development] kRel:
Synapse is not installed

Hi guys . . .

In My G2 long since, the latest kernel versions - including 5 and 5.1 - do not install Synapse.

I also tried to remove the Synapse folder from /res, the folder is re-created by installation of the new kernel, but Synapse don't install. How can I fix it?
[G2 Android Development] krija:
[MENTION=986505]kRel[/MENTION] Take a look to /data/app folder. I think Synapse.apk will be there, but it doesn't appear in your launcher. Unzip Synapse.apk from downloaded kernel zip and install it as normal app.
[G2 Android Development] dorimanx:
Too much apps in ram. Kernel is fighting them.

Reduce apps in ram. Now you have stock oom settings.

This help for 6000 users to have stable kernel.

Still few report reboots. But its normal.

There always will be people with bugged system.

No matter what i will do.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Log with up time 1 day+ please next time take log after boot.

There is nothing for me there. No last dmesg log.

I dont know what was the bug.

Sent from my LG-D802
[G2 Android Development] rebar71:
anyone else having issues with the touch screen while in a call? i mean, while the phone is against your face, things getting pressed, dropping calls, putting them on hold, adjusting volume. real annoying.
[G2 Android Development] OT-Xtreme:
The thing is that it wasnt full normal reboot with lg logo, looks more like system crash kind of reboot.. then i took the logs.

you have any guess what it can be? doesn't look to be kernel related at all..

maybe il flash a fresh kdz long time i didn't clean. just wonder
[G2 Android Development] dorimanx:
no. Dorimanx app cant read active voltage for every cpu chip model. there are 6 of them.

you and me, may have different PVS BIN. and different cpufreq voltage table.

use apps that read online values.
[G2 Android Development] dorimanx:
temp you can reduce in dorimanx app.

drain, maybe will be less in time, i didnt even touched WIFI driver yet... it's scares me.... 10000 code lines...
[G2 Android Development] dorimanx:
making preparations... will take time...

there is big difference from D802 to F320 sources... not sure why. but some things are OLDER in F320 source...

i have no idea what will happen if i will use D802 base for F320.
[G2 Android Development] smartpr1v4t3:
Here make a break and grab a beer ;) 1SS162704D244353Y.
[G2 Android Development] dorimanx:
what MV Values??? faux app has no controls over sound if not selected in dorimanx app.

it's all just not true... can be ignored.

this app change nothing else.
[G2 Android Development] dorimanx:
i build for D802. i test D802. i have no idea what i can do for you.
[G2 Android Development] smartpr1v4t3:
Sorry i wrote it bad, i mean the mV about Undervolting.

When Faux App is starting with phone the Voltages gets wrong also when you disabled "Set on Boot".

As you described in Github +25 mV random on the freqs
[G2 Android Development] Tinchoska:
I know its the modem cayse ita a modify one, thr curious thing is that after flashing kernel it goes crazy.... Thats the weird thing .... Ill keep doing some tests....
[G2 Android Development] dorimanx:
i cant control other dev apps. then it's do changes even if you dont want.

try other app.
[G2 Android Development] Yoyo117:
Hey dori, when there's no 5.1 for G2 on the horizon, would you recommend / support switching to a ported 5.1 G3/G4 ROM?

Just asking, because the mem leak is really bugging me...

Or do you think some awesome ROM dev will fix this in a stock based G2 ROM?
[G2 Android Development] cineq:
Jest one cent about VPN - no deep sleep issue occured only when VPN tunel was broken somehow. I couldn't replicate this issue last days so lets assume no VPN wakelock problem exists. ?
[G2 Android Development] r4Rok:
[MENTION=2376110]dorimanx[/MENTION], i had custom installed BusyBox 1.23.1 on v30b to /system/xbin. After flashing Dorimanx 1.4, it was updated to version 1.24.1. Thanks for having it.

Also, on 1.4 setting FC on tab view, but working with list view mode.
[G2 Android Development] r4Rok:
Have you come across any 5.1 G3/G4 ported ROM as on today? So, how can [MENTION=2376110]dorimanx[/MENTION] or any other person predict what a ROM's feature will be? And, how is it possible for any human being to tell us, someone else mind? Do you really think, it's possible for [MENTION=2376110]dorimanx[/MENTION] or anyone to tell what the other dev's will cook in their port? ATM, there is a Xposed module to fix memory leak in G2 stock LP., that works well, you can try it. Even [MENTION=2376110]dorimanx[/MENTION] using it to fix mem leak. Sorry, no offense. Just trying to get on your query. :confused:
[G2 Android Development] dorimanx:
Kernel install my busybox to xbin and clean any other on boot.

Its has all features included, and needed for kernel operations.

No need to install any other.

Sent from my LG-D802
[G2 Android Development] r4Rok:
Noted with thanks. Corrected my post, as it was all messed up.
[G2 Android Development] Ganjax:
Today i experienced some heavy lags. Logs are clean, i have installed xposed and fix lp memory leak from dorimanx site.
[G2 Android Development] Norside:
Yeah, I kinda miss kitkat..it just...worked! Fast and reliable, unlike lollipop becomes after a few days. My phone lags and freezes a whole bunch of times a day and I can really feel the memory leak when facebook messenger suddenly shuts down for no good reason. Same with snapchat, Chrome etc. It just becomes a whore and hassle at the end.

I hoped I didn't have to say this but the lollipop update has been dissapointing and a chore to use on daily basis. Your kernel made it more useable (from almost useless to kinda acceptable) but still the memory leak and freezes are driving me crazy!

Lets hope Google gets all possible resources on this problem one time for all, and LG updates the phones ASAP after that.

Meanwhile I might switch back to thrusty kitkat..
[G2 Android Development] Yoyo117:
Not yet, but I'm actively looking. Just like i'm looking for stock lollipop ROMs.

Feature prediction? I'm not asking for that.

No problem [emoji6]

It's just that dorimanx sounded quite displeased about the high cpu/memory usage of 5.0 and that might be solved with 5.1 which we may not get for G2. So if there's no good G2 based 5.0 ROM cooked by some dev, it may be a good idea to consider a ported ROM. With this in mind let's rephrase my question another way:

[MENTION=2376110]dorimanx[/MENTION]: Would it be easy enough to support such a ROM with your current kernel, or would the development process be as hard or probably even harder than for example the lollipop kernel?

I'm mainly asking, because, if dorimanx isn't inclined to support such combinations in the near future, I can stop looking for ported ROMs and also stop following their development, and instead focus on stock G2 ROMs, of which a good one would probably solve all the various ROM-side issues.

Also, I'm never asking for a final truth. A simple "don't know yet; let's wait what ROM devs will bring" is a completely valid answer.
[G2 Android Development] Rachid.Ala:
It's not a reboot, it's a redraw

The kernel kill the launcher when there are too much apps in ram to prevent a reboot

Edit : [MENTION=2376110]dorimanx[/MENTION] playing the cat and the mouse with apps doesn't have an impact on battery life?

Maybe it's the only solution possible because lp 5.0.2 I'm just wondering

Anyway your kernel rocks, many thanks for your hard work. I can't imagine owning a device without dorimanx kernel since i9100 days lol

Sent from my LG-D801
[G2 Android Development] Lizzacore:
Everything is fine on my device, no reboots since version 4.9 .

I only miss alucard on cpu0 ,now i use interactive and everything is fine !

I only noticed some laggs when my phone reconnect on the net and the phone breaks up the connection from alone, that mean whatsapp and other services dont get any data. Its a bug ?

Kernel: 5.1

Device : LG-D802
[G2 Android Development] kRel:
Thanks for your kind reply. I did as you said.

synapse.apk in /data/app folder I leave it in /data/app folder?

---

Do you know the reason for this behavior?

Hi . . .
[G2 Android Development] dimakolenko:
I have the same issue!

having issues with the touch screen while in a call, while the phone is against your face, things getting pressed, dropping calls, putting them on hold, adjusting volume and etc
[G2 Android Development] cybernetus:
The new version of this kernel is amazing.On the version 5.0 i have some problems with the signal and on this version my problems are gone.

Amazing :)
[G2 Android Development] khedr30000:
DELETED
[G2 Android Development] krezee:
Step 1:make backup and copy out of phone

Step 2: install this kernel from recovery or use the app for dorimanx that does it for you

To install dori lp kernel on cloudy 3.3 rom
[G2 Android Development] dorimanx:
News Update!

Kernel 5.2

29/08/15

*Merged updates to KGSL (gpu driver) from 3.10.y

*Merged updates to MMC code from 3.10.y

Need to check if WIFI works for ALL. all good here. mmc provide support for wifi chip.

*Increased min mem setting and min mmap setting to reduce kernel null pointer bugs from low ram.

*Integrated new feature called kernel samepage merging (KSM), to kernel, dorimanx app, and synapse.

it's allow to allocate shared RAM for apps that use same RAM blocks, and free more RAM for other things.

it's scan RAM every 250ms using CPU to release RAM and allow apps to share same RAM.

see how it's works in synapse.

If you wish to reserve battery you can set it to higher scan interval. (500) but 250 is already good.

*Merged update to LMK driver. now it's more accurate about what should be free from RAM.

If WIFI not start, or connect! and was OK before 5.2, let me know. if all OK. no need to post.

have fun :)
[G2 Android Development] sheikhramnuj:
Just now i install 5.2 and wifi connects immediately after boot. All good for now. :D
[G2 Android Development] oudbrood:
No problems with Wifi after flashing and first boot.

D802 30B stock rom.

Verstuurd vanaf mijn LG-D802 met Tapatalk
[G2 Android Development] khedr30000:
my phone kepps rebooting after installing this kernal i think i pressed on LOAD ALL BUTTON
[G2 Android Development] TMG1961:
I downloaded the 5.2 kernel with the app and md5sum was ok..flashed the kernel and now i get error message in DorimanX OTA

MD5 says Error and the messaages says error while getting local md5 hash, try updating busybox with app called busybox on rails.

I rebooted the phone but error still remains. Rebooted into recovery..flashed 5.1 kernel and all ok

Then used app to download and install 5.2 kernel and same error.
[G2 Android Development] Lizzacore:
Everything is fine on my phone, wifi and mobile data Works as it should.

question to KSM , do ksm drain the CPU power and the battery ?

Do ksm scale the cpu higher as it should?

Thanks at all.

Cheers,
[G2 Android Development] khedr30000:
my phone is rebooting even from 5.1

it start then after one minute reboot

Cloudy ROM 3.3

D802
[G2 Android Development] duki994:
Yes it does. It's form of memory management said in simple language. Code is executing every 250ms, but it will save a lot more RAM than hurt battery :)

CPU will scale accordingly to KSM code execution, but it's small CPU/batt hit.
[G2 Android Development] tsjanda:
I as well get md5 error said to update busybox. I was able to flash 5.2 and md5 is good but once you reboot after flash you get the error.
[G2 Android Development] Lizzacore:
Get the md5 error too.

Device : LG-D802

Rom: Stock 30b 16 GB

Kernel : DorimanX
[G2 Android Development] Diechel:
Md5 errors sounds like something has changed in the latest version according to busybox. Will check github if I can find something.
[G2 Android Development] khedr30000:
how to know if the Dori kernal is working or not after i flashed it ??

my D802 was rebooting every minute

so i did flash my D802 LP patch

and revert to my restore Cloudy image

then installed the 5.2 DORI KERNAL 29-8

now no rebooting again

i just want to be sure that i am on the new Kernal OR what ?

i think i am on the new kernal ... the phone back becomes cold for the first time

but i need to be sure
[G2 Android Development] OT-Xtreme:
All is working correctly here D802 amazing 1.2gb free and very smooth

cheers
[G2 Android Development] n@vier:
Flashed v5.2 with dorimanx ota app pro, everything percfect no errors.

(Recovery twrp 2.8.6.1 and rom cloudg2 3.3).

Impressive free ram 1.2gb at start thanks master! ;)
[G2 Android Development] khedr30000:
when i flash this kernal is that means it is working .. or i have to do anything else? .. sorry i am new here

§¶• LG G2 D802_ LG CloudyG2 3.3 _ Dorimanx Kernel v5.2 §¶•
[G2 Android Development] n@vier:
Update: after flashed v5.2 correctly with dorimanx ota app pro when check new release the app shows md5 error.
[G2 Android Development] dorimanx:
hmm.

it's the min mmap that i changed.

your app use lowest possible ram block, and if i restrict to use it, then md5 fail.

to fix till next boot use any terminal or adb

echo 32768 > /proc/sys/vm/mmap_min_addr

now it's set to 40960 (40mb)

it's was set to help to reduce null pointer bugs, it's mean that something used kernel mapped ram, and kernel crash.

seems that some apps codded to use RAM from min possible point. that is wrong.
[G2 Android Development] dorimanx:
if you installed via recovery, and booted fine. then all good.

kernel is installed.
[G2 Android Development] Diechel:
So, how to fix it?

The app works, only md5 shell command fails.

Iam going to Install 5.2 now.
[G2 Android Development] cr08:
Wifi has always worked on my stock (debloated/rooted) D801. I have had a few small nags though. 1) On a regular basis after doing something like watching Youtube or something with a distinct amount of data transfer it would constantly pop up a toast notification telling me there's no connectivity and disconnect and then promptly reconnect. 2) Using the Wifi calling when going between Wifi and cellular data the whole system would lag real hard for 5-10 seconds.

Haven't done any thorough testing yet but will report back if I notice anything but #2 still seems to be there. Don't know about #1 yet.
[G2 Android Development] Manbot27:
On 5.2 my Internet is working fine but when I boot up the playstore app it doesn't work for some reason. I double checked by going between 5.1 and 5.2 and the issue is still there. Don't know what's going on the Internet works fine in Chrome and everything else but I get a retry button on opening the playstore.
[G2 Android Development] Rachid.Ala:
It seems like a Google play services issue

Not kernel related in my opinion

Check if all gapps are not working

Sent from my LG-D801
[G2 Android Development] renzo090513:
Try deleting data of the apk.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Rachid.Ala:
Today for the first time I had a black screen for like 5 seconds while installing an app from the play store

5.1 d801 stock 30b

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

I'm updating now to 5.2

Cheers

Sent from my LG-D801
[G2 Android Development] Hiyaslalabs:
Great update on 5.2! 1 gb free of ram when i open the running services on setting. But checking on my task manager on system tuner pro it says 0.5gb free. Im running spotify FB messenger IG lightflow. Which is true?
[G2 Android Development] 5nickers:
Don't use any tuner app, they are all bull****.... Seriously!
[G2 Android Development] gozzaa:
report for 5.2

no issues at all

abit more free ram in idle

one thing that i noticed: cpu temp went up to 80°C while watching a video in browser (gpu oc at 533mhz) and downloading

btw [MENTION=2991120]5nickers[/MENTION] greetings from eschweiler ;)
[G2 Android Development] sirdragon:
Reboot while opening a game, maybe a ram issue?
[G2 Android Development] dorimanx:
stress the CPU, get heat. but 80c is not possible. limit is set to 76. and trust me, it's never go higher.

how did you seen 80c?
[G2 Android Development] dorimanx:
adsp_err_fatal_intr_handler

your MODEM crashed. and took the kernel with it.

why... i have no idea,

adsp = modem driver.
[G2 Android Development] Lizzacore:
Fixed the md5 problem :)
[G2 Android Development] gozzaa:
/sys/class/thermal/thermal_zone5/temp

Should be global cpu temp
[G2 Android Development] duki994:
Possible. Sometimes thermal driver seems to be not fast enough to tune down cores.

I've seen 82°C, but only for a fraction of second. After that cores are aggressively tuned down. Those are probably core limit temps (80°C) (tz0), not global limit(76°C) (tz5).

EDIT:

Our thermal code has too many vars (hysteresis, limits between zones, limits between limits), checks and things. Maybe we could use simple msm_thermal and adapt it like in franco's kernel?

It works, as stated, simple. If temp is higher than thershold then tune down. That's the only check.

It has no more than ~200-300 lines of code with spaces. It's waaay faster, almost immediate thermal mitigation (no thermal runaway) and temps were never above those set in terminal/tuning app(s). And it's code can be easily modified with as much additional steps as wanted :)
[G2 Android Development] :
With 5.2 sd maid will not work. Says it cannot use its busybox. Back to 5.1 and its working again. Strange.
[G2 Android Development] siggey:
Confirmed

_____________________________________Read more write less and be smart
[G2 Android Development] lynxrz:
No log sorry sir but heat up 80 C is true when hours of using

My guess: gpu heat is rising and no thermal control for gpu, when heat rises cpu try to cool down but gpu rises global heat.

Except this GPU performance is really really good thank you sir :)
[G2 Android Development] Diechel:
Have seen 83 degrees also here using cooltool zone 5
[G2 Android Development] OT-Xtreme:
also here iv see 82/83 across lp
[G2 Android Development] dorimanx:
News Update.

Kernel 5.2.1

30/08/15

*Set mmap value back to 32MB to fix few apps that use lowest ram block allowed.

*Set RAM release pressure higher to force kernel to reduce ram cache by auto. and free RAM for apps.

*Changed bootscript to be more smart about running functions in case user messedup the busybox.

*Set KSM values after boot again in case ROM or some crap app, changed the tuning for it.

All changes in ramdisk only.

Kernel version will show 5.2!

To update from OTA App from 5.2 to 5.2.1 you will need to change mmap value. only one time.

use any terminal or adb

su

echo "32768" > /proc/sys/vm/mmap_min_addr

or download CORRECT version for your model from mirror, and install via recovery.

have fun.
[G2 Android Development] TMG1961:
Just flashed 5.2.1 and OTA app doesnt have a problem anymore
[G2 Android Development] renzo090513:
SD Maid working again with 5.2.1. Thanks for the update

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] :
[MENTION=2376110]dorimanx[/MENTION] when you say user messed up busybox what do you mean? For my part all I have done is flash rom then your kernel. Do I somehow have messed up busybox, if so can I fix it?
[G2 Android Development] Androloid:
Reboot while watching youtube

5.2.1
[G2 Android Development] Diechel:
No log catched

last_kmsg-Info:

there was no /proc/last_kmsg to read from
[G2 Android Development] dorimanx:
All good for you.

Some people install other busybox or install broken one with missing commands that i need. And my boot scripts crash on boot, and party start.

Unknown bugs and damage.

So i need to consider that option and try to always use my busybox when running commands.

Sent from my LG-D802
[G2 Android Development] Diechel:
Will delete the message in the OTA app to update busybox with busybox on rails :P
[G2 Android Development] krija:
Hi

A) You can delete it, because if you installed it manually, it should be now in a folder named like com.af.synapse-x

B) No :(
[G2 Android Development] Eminemiero:
Reboot while on snapchat
[G2 Android Development] n@vier:
Flashed v5.2.1 with ota app pro and before I fixed the md5 error rebooted the g2 and I wrote in the terminal exactly:

su

echo 32768 > /proc/sys/vm/mmap_min_addr

Now ota app works without this error.

I think the problem was the cloudyg2 that use his own busybox pre-installed.

Anyway v5.2.1 it's very fast in general more than 5.2 (first impression...after 10 hours of use).

Thanks for your great work master! ;)
[G2 Android Development] Hydro333D:
D 801 LP 3.3 Cloudy Fa rom

Hey there Dorimanx ,Thanks for your excellent work .The latest version of your kernel works fine,and battery lasts longer on mailn settings .(d 801 and cloudy fa 3.3.lp.)About fast charge i dont see any difference yet ,but its ok .Maybe i didnt try your advance settings as i sould.Also can i install afterwards the xposed framework or i have to do all the proccedure u mension on your thread.Is it it safe to flash it now, after the kernel installation? Sorry if that has already discussed before..Thanks in advance!:good: