yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
News Update! NEW BETA

new kernel update 4.7.1 for all models.

This is 4.7 with more RAM code fixes and updates.

*Merged more memory optimizations and code fixes.

*Improved memory release after boot, to give all possible free RAM to user.

*Ram is auto growing when not used, releasing leaks and possible LOW RAM bugs.

Have fun testing.

Report if any problems with LOG. so i can trace the source and fix it too.
[G2 Android Development] Diechel:
Reboot on 4.7, I know it's old but maybe you can do something with it

[] (rb_insert_color) from [] (0xdef21e38) Code: eaffffd4 e5902000 e3520000 0a000057 (e5923000)
[G2 Android Development] purpleraintoxicity:
My phone just kept gettong stuck when connected to charger.

Only going back to 4.7 helped.

I havent been able to get logs
[G2 Android Development] g.paganini:
Lol, reboot on 4.7 while downloading 4.7.1 whit dorimanxota.

https://drive.google.com/file/d/0B_LbsT0gdUatN2k0NjNRY1haUkE/view?usp=docslist_api
[G2 Android Development] RegMaster:
Motorola G2 and others phones with 1GB of RAM and LP are very fast and don't have critic lag.

G2 ROM is more heavy and fill more RAM? or, what's happen here? RAM memory is for use it, free RAM (RAM without use) make's phones laggy.
[G2 Android Development] iall5tar:
Blame LG for his Crappy rom bugged realeased!
[G2 Android Development] Underworled:
Is google problem at all.
[G2 Android Development] OT-Xtreme:
In general its google but oems needs to try there best to fix or find workaround, at least we have amazing devs

edit: installed 4.7.1, no reports or logs for now but feels abit smoother and standby draining abit faster for some reason
[G2 Android Development] errikosd:
Encountered freeze while browsing Gallery through Camera (XCamLG). Had to force shutdown.

In the end of log there are several failures. Hope it's useful. Version 4.7.1.
[G2 Android Development] masteril:
4.7.1 freezes when i open gallery/quickpic d802
[G2 Android Development] crazymika:
4.7.1 Same problem here, use gallery app and the phone freeze without reboot, no problem when using 4.7
[G2 Android Development] dimakolenko:
4.7.1 freezes when i open quickpic ls980 too
[G2 Android Development] OT-Xtreme:
also my gallery stalled with black screen with 4.7.1 then it got sorted after couple of reopening
[G2 Android Development] Rondador:
No freezes here but many apps close some seconds after opening them, i see many mesages like following in dmesg:

lowmemorykiller: Killing 'g.fdroid.fdroid' (19493), adj 1000,

<6> to free 221564kB on behalf of 'kswapd0' (102) because

<6> cache 229280kB is below limit 245760kB for oom_score_adj 1000

<6> Free memory is 40152kB above reserved.

<6> Free CMA is 0kB

<6> Total reserve is 69756kB

<6> Total free pages is 72600kB

<6> Total file cache is 240040kB

<6> Slab Reclaimable is 10380kB

<6> Slab UnReclaimable is 31204kB

<6> Total Slab is 41584kB

<6> GFP mask is 0xd0

<3>max17048_work : Reported Capacity : 88 / voltage : 4075

<6>healthd: battery l=88 v=4075 t=34.9 h=2 st=3 c=26 chg=
[G2 Android Development] dorimanx:
i see this.

here too. i will search what do that. and fix.

Thanks for reports.
[G2 Android Development] pdimi70:
Same here, 4.7.1 kernel, cloudy 3.3
[G2 Android Development] voxluna:
So I've got Dorimanx and its OTA app, but I also discovered I have the STtweaks app, just no drawer icon for it. I read the page 1 notice about "no more STtweaks", so is this part of Dorimanx 's install, or something I can get rid of?
[G2 Android Development] Nigglenuts:
Dorimanx STweaks is installed when you install the kernel. Same with color control. That's how you tune the kernel to your preferred settings. Next time use the Q&A thread
[G2 Android Development] Epsil:
Hi Dori,

Same here with stock gallery (30b) ok when i open gallery but freeze when i see a picture.

Thanks for your hard work.

https://drive.google.com/file/d/0BwL7y9ixl-ZdaTBzWHVWSkV4UE0/view?usp=docslist_api
[G2 Android Development] ddreamer:
I also have Problems with 4.7.1

Some apps will close after seconds. 4.7 runs clear

Downgrade for this time.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] mav744:
Also problems with Quickpic and Gallery, Problem with language packs for SwiftKey. On 4.7 no problems

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Diechel:
Reboot using waze navigation

Trace is in the log

4.7.1
[G2 Android Development] 60nine:
kernel 4.7.1

for me quickpic opens - but displays black images...

stock gallery works... no freezes on both

edit:

everything ok with 4.7
[G2 Android Development] OT-Xtreme:
UPDATE - still gallery is freezing or give black screen and cant load any images
[G2 Android Development] smartpr1v4t3:
4.7.1 works fine and i have no bugs.

Everything works fine since 4.6
[G2 Android Development] lgnd:
Cloudy 3.3 kernel 4.7.1 stock settings. Gallery froze had to restart with power button.
[G2 Android Development] Kemby13:
The same thing here, i open quickpic and everything works - it displays pictures just fine.

But when i try to copy or move a picture - everything slows donw. The phone becomes

unresponsive and finally i need to force a reboot. I'll try the same scenario with 4.7
[G2 Android Development] Mystique:
SOD..

Talking on the phone, hung up.

Couldn't get the screen to go back on..

debug says 4.7 but it's 4.7.1

Linux localhost 3.4.108-Kernel-Dorimanx-V4.7-LG-D801-PWR-CORE+ #2 SMP PREEMPT Tue Aug 11 03:09:03 IDT 2015 armv7l GNU/Linux

Thank you as always for all that you do.

You are awesome.. your kernel rocks..
[G2 Android Development] ivaneris:
I got nearly the same....when i check on x-plore file manager the internal storage "disappear" that's why gallery doesn't works...the same thing with app that need sdcard data..it'll said i have no data..reboot and then it's ok again..but when i accessing sdcard again i.e open gallery/games with sdcard data same thing eventually happen again

https://mega.nz/#!pZRmDAAL!KDWHgBBKqHaRctMI7-O8_46eYB1Qlb9-5R4_Dd0IkzQ

Here's my kernel debug i hope it'll help...

For now back to 4.7 again

-------

No prob after back to 4.7
[G2 Android Development] dorimanx:
Thanks to all testers.

Please revert back to 4.7 if you wish to test beta, or to stable build.

I need time to fix the galery and storage access bug.

I am working on it.

EDIT!

BUG DESTROYED!

found that we lost 6mb video ram for 2d video!

this why picks stuck and kernel died.

Now all OK! see GIT.

i will release 4.7.2 later. doing more tests!

Sent from my LG-D802
[G2 Android Development] nidzaaaa:
I had restart when taking pic with whatsapp.. Just forgot to take a log. 4.7 plus somboons stock 30b..

All cores intellidemand
[G2 Android Development] Lizzacore:
Everything is fine here on 4.7.1 with 4xInteractive no reboot or something.
[G2 Android Development] voxluna:
Well, I knew about Color Control, but there's an icon for that. I wasn't sure if STtweaks was something I had tried before and it was hiding out, or got corrupted, or whatever.

I had read it, and (literally) all of the post about governors, hotplugs, and CPU/GPU. There's a lot to absorb, so forgive the oversight. I asked because sometimes I get what amounts to a near-lockup, even on non-Battery profiles. Since it's not pegging CPU load, I wondered if STtweaks had wrestled control of kernel settings -- like 'Device Control [root]' seems able to.
[G2 Android Development] dorimanx:
News Update! NEW BETA

Kernel 4.7.2 BETA!

12/08/15

*Restored lost RAM for video driver. now all gallery and other apps will be OK.

*Merged lots of other RAM code updates, i am getting close to 3.10.y RAM code!

Have fun testing, and report if anything else bugged.

BETA is for people that like to test, not for all.
[G2 Android Development] g.paganini:
I have md5 hash error in dorimanx Ota app... Freshly installed stock LP... Any quick fix?
[G2 Android Development] Diechel:
If its not showing md5 error then try redownload. Here it works

Verstuurd vanaf mijn LG-D802 met Tapatalk
[G2 Android Development] g.paganini:
I just manually flashed 4.7.2, after reboot it fixed itself.....
[G2 Android Development] voxluna:
I had no problems with it here either, coming from the .SK mirror. But try changing the server it downloads from, that could rectify it. I wouldn't manually flash a kernel whose MD5 doesn't pass, unless you like living on the edge. ;)
[G2 Android Development] pdimi70:
No touch screen (I had to turn off screen to recover) 4.7.2 kernel , Cloudy 3.3
[G2 Android Development] errikosd:
This is a weird issue I also had with stock LG kernel. In addition, some other apps requiring root would not work with stock LG kernel (fail to execute the su binary). Don't know the reason.
[G2 Android Development] capoooro:
Same here but I have no log. Same configuration. Going back to 4.7
[G2 Android Development] marek_poland:
On my D802 with v4.7.2 no problem past 8 hours. Everything seems working:). ROM: CloudyG2 3.3
[G2 Android Development] Led Zeppelin:
install busybox :good:
[G2 Android Development] EvilKing009:
Working all great here with 4.7.2, no problems. :)
[G2 Android Development] g.paganini:
BTW 4.7.2 works great... I can confirm that a lot more memory stays free with multiple apps open... And it's very smooth on default settings.
[G2 Android Development] Nigglenuts:
+1. A lot more free ram, and no hiccups whatsoever since I installed 4.7.2.
[G2 Android Development] ivaneris:
+1 no prob so far..
[G2 Android Development] straylight23:
Can also confirm super smooth and stable Operation with 4.7.2 on d802 with stock LG v30b and xposed/xprivacy! Phone is now running this Version for 12 hours and everything's fine.

Thanks a Million, Dori!
[G2 Android Development] dorimanx:
No kernel crash in log.

No problem here from release.

Sent from my LG-D802
[G2 Android Development] detzero:
Hi Dori,

just had the first reboot using your kernels. since forever :)

I was trying to make a call

hope the log can help. Cloudy 3.3 + Dori 4.6

https://mega.nz/#!xwZRyDDa!hJx6wsKhhFXtEI6Qbm3HZayw3wHxVrsrFnfG1fv-F3c
[G2 Android Development] renzo090513:
Update to 4.7.2

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] kevindontcare:
Running perfect on ls980 with 4.7.2! The best by far, battery life is amazing & charges from 0 to 100% in about an hour! Really lovin it so far, keep up the great work Dori ��
[G2 Android Development] OT-Xtreme:
Wow how is that possible maybe to 70% in an hour but 100% sounds bizarre, what kind of charger and cable you were using
[G2 Android Development] kevindontcare:
What type of wall plug do you use? I have a 10w 2A charger o:
[G2 Android Development] Ginel:
how much ur bater temp is 42-43? it okai to charge that fast?
[G2 Android Development] OT-Xtreme:
Its EUR standard plug with original charger and cable (5V 1.8Amp).

can you please give a link here or in private message to the exact product you bought, ebay or something else

tnx man
[G2 Android Development] Ginel:
and how much your phone heats??? its okai to charge that fast and phone to heat?
[G2 Android Development] kevindontcare:
I'm pretty sure any will work, just make sure its a quality product & not some knockoff, here's an example of one, but I live in the US, so try to find a similar one for EUR, just make sure its 5v, 10w, & 2a o:

http://www.amazon.com/Charger-Motorola-Smartphones-External-Batteries/dp/B00OHDVXAM
[G2 Android Development] OT-Xtreme:
Tnx for link, so with your setup and setting the charge for 2000ma in dori app you get 2000 or more? im checking with Ampere app and getting 1850ma charge.

by the way [MENTION=2376110]dorimanx[/MENTION] iv got a reboot while opening the amazon link with next browser - d802 4.7.2

here is the log

https://drive.google.com/file/d/0B5sWW7uEFPD7NlZPX1BvelY1TDA/view?usp=docslist_api

Edit: for some reason the dorimanx app creating an empty log zip file it never happened to me. so iv created using synapse here:

https://drive.google.com/file/d/0B5sWW7uEFPD7YXpRYl9EcHgya0U/view?usp=docslist_api
[G2 Android Development] kevindontcare:
Yeah, but I try keep it at 1600 or 1800 so it won't fry the battery, but it still charges it in about an hour & 10 minutes :)
[G2 Android Development] marek_poland:
[MENTION=2376110]dorimanx[/MENTION]

Today I check the ADB connection and there's problem. PC don't see the connection. Another Cloudy rom's user test the stock kernel and it works.

What kind of log do you need?

I admit that I have every necessary drivers(I've attached my tab and working with adb without any problem)
[G2 Android Development] Eminemiero:
Im on 4.7 and i feel like when im charging the device the max CPU MHz is topped. It lags like hell
[G2 Android Development] x3m.zone:
4.7.2 is like 3.9.2 was some time ago: fast and stable. All working fine here. Very snappy and 0 lag with CloudyG2 ROM.

Nice job. Thank you sir.
[G2 Android Development] tsjanda:
Running vs980, dori kernel 4.7.2 and all is awesome after 24 hours. No issues fast, stable and smooth...
[G2 Android Development] detzero:
I will do that, but since 4.6 was the last stable version I thought that would be usefull report this problem. :good:
[G2 Android Development] g.paganini:
I just realized that since I flashed stock LP and 4.7.2, I forgot to install the memory leak xposed module.... Interesting how much free memory I still have since the latest kernel... You kick some serious a** :D
[G2 Android Development] Shaolin007:
Installed Dorimanx kernel 4.7.2.

Its amazing the ram is more free...without using any apps gets me to 800mb ram approx.....super snappier....Rocking Kernel....

Thanks... [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] g.paganini:
Damn it... Random reboot while in standby 2xin row... Stock LP, 4.7.2 default settings

https://drive.google.com/file/d/0B_LbsT0gdUatdC1NMW85b0lLbk0/view?usp=docslist_api

Edit :

I noticed slight chopynes while scrolling Facebook app and Web browser after I installed the memory leak module. Actually, I had a reboot while it was installed... I just removed it and everything is smooth again. It could be placebo or some bad logic from my side but this is my personal experience.
[G2 Android Development] Sfuma:
Omg me too! I ve installed xposed memory leak and after my phone was whit lags. Now i try to remove that module and see if works (sry for bad english)
[G2 Android Development] 60nine:
i have it installed as well... for a few weeks now...

but everything worked well with 4.7.2 until last night when the device freezed and rebooted while surfing the web in CM browser...

after that, i had a few calls and texts in the meantime - no problem yet...
[G2 Android Development] OT-Xtreme:
I had similar thing too but with next browser, iv posted a log a page back waiting for doris fix
[G2 Android Development] donalberto17:
Memory leak fix is useless on stock Lollipop.
[G2 Android Development] renzo090513:
Is useless with Dorimanx kernel. It is usefull with out it.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] donalberto17:
Its useless in both cases, LG doesn't use the Colorfade class on Lollipop so we don't have that memory leak.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Flashed v4.7.2 very smooth...no freezes or reboot untill now.

As always great work master!

PS: cloudyg2 3.3 performance profile ;)
[G2 Android Development] lynxrz:
Freze and reboot

With 4 x Pegasusq

D802

Kernel v 4.7.2
[G2 Android Development] errikosd:
Kernel panic while installing (download phase) an app from Play Store (Google Sheets).

Version 4.7.2, performance profile, stock LG 30b.
[G2 Android Development] gozzaa:
i just got my first reboot with 4.7.2 from low memory.

beside this no problems :)
[G2 Android Development] Rachid.Ala:
It's connected to lollipop ram leak I think oomkiller did all what it can

Btw is it normal that stweaks app is using 21% of cpu?
[G2 Android Development] dorimanx:
No. Its should not use any cpu at all.

Its just load and change config. Then nothing... its has no other functions.

Sent from my LG-D802
[G2 Android Development] dorimanx:
To all with ram leak bugs.

change oom to aggressive, and enable cache clean every hour. In cron tab.

And kernel will deal with your apps that kill your device.

Simple.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Mmc crashed without ram, when rom or apps drained all that you have.

And kernel did all that its allowed to do.

Read my post above.

Sent from my LG-D802
[G2 Android Development] Mystique:
[MENTION=2376110]dorimanx[/MENTION]

Seems you're site does not have the 4.7.2 vs980 kernel but the other mirror does..

Fwiw.

Any chance of nightmare or any of the other governors coming back?

Thanks in advance for your time..
[G2 Android Development] Nigglenuts:
Nightmare and all of alucards governor's are still present.. Just not able to activate them on core0
[G2 Android Development] dosek15:
when i connect my phone (ls980) to my pc i cant select MTP
[G2 Android Development] :
"Dont ask to add other, they not stable on Core0"
[G2 Android Development] Mvalev95:
When change charge rate.It always charge at max possible the charger can.I tried to

Change to all mA but no difference.I am sure it's on manual mode.
[G2 Android Development] OT-Xtreme:
I also have this behavior with dori kernels. one temporary solution that working for me is to set fast charge off then set fast charge manual then plug the charger
[G2 Android Development] renzo090513:
It ain't be that way

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Agimax:
Works fine on stock ZVG
[G2 Android Development] Nigglenuts:
I was clearing it up for the guy I quoted.. I wasn't asking..
[G2 Android Development] g.paganini:
Reboot while charging ..... Stock 5.0.2 , Dorimanx 4.7.2 .. default settings

https://drive.google.com/open?id=0B_LbsT0gdUatNHFhMVhjRWc4YTg
[G2 Android Development] dannycellestio:
2 minutes shy of 9h SOT, KK battery is back baby ! 4.7.2, CG2 3.3
[G2 Android Development] gozzaa:
Just got another reboot while in whatsapp

Not sure what was the cause

Log attached
[G2 Android Development] Ginel:
well us ur setting from kernel please, all of it if u can :D
[G2 Android Development] Kemby13:
Would be nice if you could share your settings in q&a...
[G2 Android Development] I Am A Swiftie:
+1

Sent from my LG-D802
[G2 Android Development] dorimanx:
sorry. but please use other kernel.

i have 95 hours kernel operation. and no single problem.

you report every kernel, every day or 2. man, my kernel not working for you. just use other.

sorry.
[G2 Android Development] dorimanx:
you too. please read post above. dont take it personal. kernel is stable 100% for me.

then i cant do anything for few that it's not stable.
[G2 Android Development] g.paganini:
Actually, I didn't complain... This kernel works 95 % stable for me too. Actuality what I reported the other day that it works better without the memory leak module. Yes, I did report a reboot, but I was not complaining or spitting on your work. And no, I don't wanna use any other kernel, but I am not going to report any more reboot logs... Peace and keep up the good work.
[G2 Android Development] gozzaa:
Same. Kernel has been very stable for me. Not going to use any other kernel ;)
[G2 Android Development] :
Dori what Rom do you use? Link, maybe tutorial?
[G2 Android Development] Rachid.Ala:
He's using latest stock rom

You could have used the Q&A thread
[G2 Android Development] jeebspawnshop:
Kernel has been 100% a table for me, too - I'm using basically stock settings, and I've been using lots of messaging apps, Play store updates, lots of browsing with Chrome (buggy garbage now...) and MOST IMPORTANTLY I've been playing A LOT of Fallout Shelter.

This game makes the phone run very hot and it gobbles up resources like a hungry pig.

And through all of this madness, the kernel is stable as a rock... I actually expected to get some crashes or reboots cuz I'm abusing it. But nothing so far. 4.7.2 is stable as concrete block.

I post this for 2 reasons;

1 - Positive reports are useful too

2 - To show that some users that their reboots / issues might be caused by incorrect settings, ROM issues, etc

That Dori-magic!
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

4.7.2 is stable on my device :)

I noticed that when in low memory conditions phone gets much hotter on 4.7.2 than on older versions of kernel in same situation. Maybe related to new mm algorithms?

I'm using two more mods to have better smoothness (and a bit insignificant battery improvement, but nothing serious, smoothness is best part).

These are "mods":

1.

echo "N" > /sys/module/mmc_core/parameters/use_spi_crc

(or echo "0")

Explanation taken from mmc core code (/drivers/mmc/core/core.c)

/*
* Enabling software CRCs on the data blocks can be a significant (30%)
* performance cost, and for other reasons may not always be desired.
* So we allow it it to be disabled.
*/
bool use_spi_crc = 1;
module_param(use_spi_crc, bool, 0644);

And MMC is set to power save in dorimanx app (although I don't see any speed slowdowns/speedups from changing this or battery improvements).

Also I've seen less data corruption and less data trimmed after trim function and this is better for wear level :)

Maybe add this to dorimanx app?

2.

echo "0" > /sys/module/lge_touch_core/parameters/debug_mask

Seems to make those unlikely() GCC macros in "if" checks in lge_touch drivers and much more happy when this is set to zero.

Touch is a bit more accurate, and seems more responsive in high workloads.

And some other debug_mask or debug parameters set to 0 (msm_pm, mpm_of, ....) But these two made a big difference in smoothness.
[G2 Android Development] merlin21:
Now that i shortly back to kk kernel i noticed what was just a guess all the time - in kk the slide on navbar to power off screen was more sensible ( better in my opinion) than on lp. Anyone noticed that too? Or is it just a imagination?
[G2 Android Development] OT-Xtreme:
very interesting, i hope dori will test it and decide to upload a Beta build with those tweaks

Ya i noticed it too, in LP its not responsive as KK
[G2 Android Development] nidzaaaa:
First reboot on 4.7.2..

All cores intellidemand, nothing else changed.

Srks stock 30b.. D802

http://qfs.mobi/f2527827
[G2 Android Development] cybernetus:
Thanks for this tips

I will try this :)
[G2 Android Development] EvilKing009:
4.7.2 running so smoothly and responsive , even in 1.2ghz speed ! :D