yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] mostafaz:
Hey

After merging tons of commits ,memory management improved and got good results by that.

In a lite usage all opened apps were open in recent list and still alive.

Relaxed to high pressure now doing well and keep/free ram as you selected there.

Faster memory access by improved zsmalloc & zram keeping the data as well as new tunable process reclaim driver wants it.

Services tab removed but I'll upload scripts to use in tasker app if you want run them at specific/proper time.

We have zen-interactive tuning ( for get more performance) in opt & overclock versions. Powerful at cost of battery.let's try it ?

I hope i can upload them all today.
[G3 Android Development] ImJamIN:
Hi mostafaz,

Is it normal that when I set performance profile (i was souigton) the phone has rebooted?
[G3 Android Development] mostafaz:
No. The GOVs not mentioned as unstable.u can attach last kmsg or kernel debug after boot up.

Thanks
[G3 Android Development] mostafaz:
Tasker Scripts

Hey

These are scripts that can run like services with tasker app.

eg: run fstrim in cycle time like every day at 10 PM

or clean ram cache every 3 hrs

* put contents in internal storage and restore profile from tasker or make your own task in it with scripts and make sure checked run as root in shell mode ( more info in cron-scripts directory )

suggested time for each script has writen in each file.

you can run it in every rom & kernel & device if they are supported ( some devices don't like fstrim and makes trouble ) , CM doesn't have process reclaim driver thus it won't work there. LGE stock kernel have process reclaim driver and Gabriel V 2.2 has it with user interface and efficiency monitor in /sys/module/process_reclaim/parameters/reclaim_avg_efficiency.

if you run these in another kernel than Gabriel you can't see the logs because of the directory structure defined in scripts. change them or abandon them :)

some scripts like drop-cache and mem-process-reclaim may make some problem for some users like close opened app while you using it ( i don't think it's happen ) . in this case if you don't need it just don't enable or use it ;)

zip package available in download folder at 1st page.

enjoy
[G3 Android Development] danial.aw:
Hey,

How come you are moving them out of the dorimanx app? It's definitely more convenient just being there and not having to install tasker specifically for it.

Just wondering why the change?
[G3 Android Development] BuLLeT_93:
Thanks boy, but i've ever deleted this line, also changing the value of minfree doesn't solve the problem :/ .

Seems a problem related to optimization of some rom, Fulmics is very big and full of apps but give me massive free ram, using N&N Ultraslim that is heavy debloated give me poor free ram.
[G3 Android Development] niko626:
Try it next week (so you won't have to reflash again), the dev said he'll be putting an update to the ROM next week which will include Gabriel Kernel as an option for default kernel as well as improving G5 Camera and more.

So far so good, I'll give you reports once I reflashed the new ROM next week, I'm currently using G Plus Rom.
[G3 Android Development] Emu:
And just out of nowhere, mostafaz saved the G3 community. I never believed that a stock kernel could have all these governors, hotplugs, i/o schedulers and so on. I already gave up. But no more.

I have one question/request. Do you think there is any chance to make fast charging possible? I don't mean like slow Xceed or CTT charging. I mean like Nebula kernel charging speeds where you can go from 10-80% in 30 minutes through the USB charger!

I know there are A LOT of naysayers in this forum who say it is too risky to draw more energy but again using Nebula and kernels who borrowed Eliminator's fast charge feature, it has never caused damage to my phone. So... yeah just a question/request if that is something you have looked into. Thank you :D

Edit: Today I touched my phone and it was cold. I was scared. It never felt cold before. It never ever felt cooler than body temperature ever before since I bought it. Another win!
[G3 Android Development] KittySparkles:
I really hope you'll add vs985 ;-;
[G3 Android Development] jfodra:
Had 2 reboots when changing from Charging to MTP when usb cable is connected pc. Aside from that, very smooth experience. Thanks!
[G3 Android Development] mostafaz:
let's see what will come/happening ;)

hmm thanks to friend who helped/tested vs985 builds, he uses 47a rom and after flash kernel the systemless root has been broken, at this time you can have your vs985 version but seems you lost root.

i'm trying to figure it out and appreciate any help :)

thanks for report, already fixed for 1.3 :good:
[G3 Android Development] mostafaz:
does anybody have google play service battery drain ? if so try this script.

if it helps then we can implement and have it in kernel boot

link
[G3 Android Development] souler456:
You can just recommend it on your opening page, and not merge it inside the kernel. Making it optional is a good thing. :good:

:D :) ;) :good:
[G3 Android Development] Palux:
1.3 is out, it's ok? thanks :)
[G3 Android Development] mostafaz:
:good: thank you

uploading with turtle net ;)
[G3 Android Development] Palux:
Ahahaah, thank you! :highfive:
[G3 Android Development] dcop7:
Hi mostafaz,

I have a little suggestion. Remove the oversharpening. At least for me, I prefer without it.
[G3 Android Development] mostafaz:
hi

i never had sharpening issue, so i cant figure it out if there is issue with any device,

by the way live user sharpening implemented and can access by

"/sys/devices/virtual/graphics/fb0/sharpening"

i wonder if can you tell me it's working or not(please)?! if not am going for old lp_sharpening fix

thanks for help :good: ;)
[G3 Android Development] dcop7:
It appears that is working :) Thanks.
[G3 Android Development] mostafaz:
:good: thanks

by the time we found a better and easier way to have control over this sysfs node.

is there any value that i want tell a script to detect sharpening and change this sysfs value ?

i mean is there any parameters instead of screen view that shows user have sharpening ?
[G3 Android Development] BuLLeT_93:
Sharpening can be enabled/disabled in the new Synapse mod release :D
[G3 Android Development] dcop7:
The value is only 1 (on) or 0 (off). I changed it to 0 and immediately turned off oversharpening.
[G3 Android Development] mostafaz:
i meant :

for example there is a sysfs that shows a value like "x" that means no sharpening ,if that value becomes "y" it means user have sharpening issue. if it's possible we can have control over it during the boot up, and if no we will continue our life ;)
[G3 Android Development] dcop7:
Sorry, I don't know if that exists :S
[G3 Android Development] :
[MENTION=5175597]mostafaz[/MENTION] I cant flash v1.3 U7 OPT D855 on my phone
[G3 Android Development] mostafaz:
hey

just conflicts . cortex-brain was stucked and didn't set sleep parameters.

i thaught it for more calculation time to deep sleep threshold.

now it's fixed in cortex
[G3 Android Development] mostafaz:
New Release

V 2.2 is available at download folder

i hope you enjoy it also with massive update in memory management :)

Merry Christmas
[G3 Android Development] Brady Lin:
[MENTION=5175597]mostafaz[/MENTION] thanks for your update.

But I have a question. Is Gabriel not support systemless root? After flash it and I need to update su then Pokemon go can't playðŸ˜¥
[G3 Android Development] sheikhramnuj:
Thanks bro. Merry Christmas to you also. ?
[G3 Android Development] GUZGUN:
Gabriel profile is the same in normal kernel and opt kernel version?

LG G3 d855 32gb

Zoe Rom v3

Gabriel v2.1
[G3 Android Development] mostafaz:
Maybe something in stock ramdisk.i don't know.I'm not with that root method.sorry
[G3 Android Development] mostafaz:
Yes.difference in kernel's built-in tuning
[G3 Android Development] ImJamIN:
Hi mostafaz,

I see that you have change dfsync, but I cannot where I can enable or disable the new one (from htc)

Thanks.

I'm on 2.2 opt
[G3 Android Development] mostafaz:
Hi

No user control for asynchronous sync [emoji4]
[G3 Android Development] idinaxui:
Beginning from v2.0 and up, mtp mode does not work. Phone is only charging, no file transfer available. MTP worked fine in v1.9. Does anyone know how to fix it? Running Fulmics 6.7 . Model LS990

Thanks
[G3 Android Development] Hamada DZ:
hi

I had same problem with windows 10 . I did the following to solve that and it worked.

(1) Go to C:\Windows\INF

(2) Type "wpdmtp.inf" in search bar provided to the right of the address bar in Windows 10.

(3) Once you found it, just right click on it and select install. It will take a very few seconds.

(4) Connect your device to the pc.

Done.

the problem is not from the kernel but from the windows.
[G3 Android Development] Hamada DZ:
hi mostafaz

a had the same problem with this version also, no internet data in d850

and this is a log with data enabled
[G3 Android Development] idinaxui:
Hi, I do not have windows 10, I have Win 8.1 and never had problems with other roms or kernels. 1.9 version kernel works fine. Windows do not detect the connection of the phone. I do not have "device not installed" or unknown devices in device manager. Just no reaction or any "plum" sound in PC while connecting. I have tried on multiple PC-s with no luck and same result.
[G3 Android Development] rocky78:
same happened to me

on d855
[G3 Android Development] GUZGUN:
Never had this problem on d855. Probably it's your Rom problem.

LG G3 d855 32gb

Zoe Rom v3

Gabriel v2.1
[G3 Android Development] rocky78:
oh i see.. if it didnt happened to you.....

with fulmics6.7 and other kernel this doesn't happen.

so sorry. its not a rom problem.

(with xceed i get random reboot.

with gabriel at list once a day im loosing my data

my apologies to you [MENTION=5175597]mostafaz[/MENTION] for talking about

other devs/rom in your thread.)
[G3 Android Development] Suigintou:
No need beeing sarcastic. I have Fulmics 6.7 and latest version of Gabriel on D855. I don't have this kind of problem. And your comment is useless if you don't produce a log to help detect the origin of your problem.

Did you make a clean install when changing Exceed for Gabriel?
[G3 Android Development] rocky78:
i usually don't, but just to say its your rom...

not that im saying its defiantly the kernel.

i have a clean flash beckup always and im using when ever i want to change a kernel and that's the way i always go.

and for some reason im losing my data. but not with solid kernel.

my version is 16gb whats yours?
[G3 Android Development] Suigintou:
32Go, but I doubt there is a difference on the data side between those
[G3 Android Development] rocky78:
dont know.

its just happened again.dont know what can be done because i like this kernel.

tried to configure my apn again. tried all sorts

of things.

all the same, after awhile im losing my data.
[G3 Android Development] Suigintou:
Submit a log
[G3 Android Development] rocky78:
ok.

will try it again.

the problem is that its happening randomly

i hope when i will take a log it will catch it.

p.s.

what log should i take?

all of them in dorimanx app?
[G3 Android Development] Suigintou:
There is a description for each one. It should be the active debug one, since it's not a crash or a freeze.
[G3 Android Development] rocky78:
thx.

i will give it a try
[G3 Android Development] beastobadness:
Have been off the grid for a while with the festive season due...Was going to post about testing [MENTION=5065973]Suigintou[/MENTION] profile and now everything has changed with 2.2 ? damn it moves fast haha!

Ah well 2.2 downloaded and new suigintou profile active...And a lot has changed?
[G3 Android Development] Suigintou:
About my profile it's quite the same as I posted the last time. So you can still report :D

BTW about my profile, if you want to try it the exact way I made it, select 0% for both swapiness and 512Mo of Swap space. But know I have 3Go RAM. And tell me If you think it's better with more swapiness.
[G3 Android Development] beastobadness:
Ah lol. What items do you base your profile changes on?

I ask just because in 2.2 there are a lot of other values changed with respect to memory.

After my initial report there was only issues to do with wake up time. For example if I had been using my browser, usually opera, and the mobile had a screen timeout and locked, on unlocking there was a delay on waking up. But with the changes that Mostafaz made in memory management, it maybe fixed. Other than that... Everything has been running sweet as after its break in time.

Saying that with me going to 2.2 I will have to give it a few more cycles to break it in again?

Added...No F/C's this time.

I might give your swapiness settings a go but will the fact I have only 2GB variant will this affect it much?
[G3 Android Development] Suigintou:
The wake time should have been solved by Mostafaz (wasn't my fault :D) I don't have this problem anymore.

For swapiness, just give it a try, if you have F/C or poor multitasking put it back. I'll compare but what differences do you see collated to previous version in memory?

Mostafaz chose to use swapiness to avoid memory problems for ppl using 2Go models. But aside from that it should be minor or no differences
[G3 Android Development] Suigintou:
My phone just black outed during a call. Turned off instantly.

I had to reboot once more to open dorimanx, so I don't know if you can see anything
[G3 Android Development] danial.aw:
I am using this on f2fs and man is it smooth!

I have read the f2fs you don't need to trim... Does anyone know if it the database optimization is a tweak I should run or no need :/?

Memory optimization in the new version is insane and on relaxed I have easily like 500mb left over on my 3gb.

Amazing kernel!
[G3 Android Development] rocky78:
there's my log. it happened again.

hot reboot fixed it. [MENTION=5175597]mostafaz[/MENTION] mybe you can take a look

and tell me what's wrong?
[G3 Android Development] ImJamIN:
Hi mostafaz,

My personal experience is that with 2.2 I have problem with connections (wifi and cellular) that I have resolve with a script in init.d (on 2.1 i haven't any problems).

And the last is that it seems to me a little less performance than 2.1 .

I have test 2.1 and 2.2 normal and opt but I prefer the normal version. I don't know what it is but normal version seems more optimize that opt ?
[G3 Android Development] HDTime:
I've got a huge drain with 2.2

Process SED is taking 50% CPU all the time. SED is a command, not a process? I cant kill it, anyone know what causing this?
[G3 Android Development] dcop7:
SED? It is probably a app. Can you give more info?
[G3 Android Development] marcdw:
You're supposed to determine what's causing it since it's happening on your phone.

If it's sed, the stream editor, it might indicate a script running wild in the background maybe?

Hmm, maybe running "top" in a terminal might show if it's really that editor. If so you can kill it from the terminal if need be. Then try to find the script or whatever might be the source.

Did the SED drain happen after applying a certain tweak or profile? You can generate various logs from STweaks app.

LG G3 D851, AOSPA-M ROM, Tapatalk 4.9.5
[G3 Android Development] danial.aw:
Hey,

Was wondering which governor is more performance oriented:

Interactive

Intelliactive

Or interactive LG?
[G3 Android Development] HDTime:
Thanks for both your replies! Ive got nothing else running i think. Did actually

EDIT: early post fail.

I wanted tot say i also got the problem back after reboot on 2.1. When I want to open Dorimanx Stweaks it says no kernel support.

I reinstalled busybox now it seems all good! Keep you posted.
[G3 Android Development] rocky78:
update:

[MENTION=5175597]mostafaz[/MENTION] and you guys,

from time to time it seems that i'm losing my data (i cant access my chrome and apps related to network access, and that's why i atteched the log).

now, something wired is going on,

once i'm pluging my phone to the charger every thing goes back to normal (access to network, chorme etc') and after a while that i'm unpluged from the charger it happens again.

any one knows or have an idea what the f.... is going on?
[G3 Android Development] danial.aw:
your battery is dying i presume
[G3 Android Development] rocky78:
you think?

my battery looks fine. i usaully get 4.5 of sot (in my day to day use).

i dont get reboots or any of those things.

mybe something else? mybe a setting in dorimanx?
[G3 Android Development] danial.aw:
Try changing the TCP congestion... I switched mine too Westwood and it was giving me better speed but was causing other issues... Try between cubic and Westwood see what works for you best
[G3 Android Development] rocky78:
the setting was on cubic.

will try to change to westwood.

say, in master core, theres modem state subtab...

mine is on modem sleep. it's supposed to be on modem sleep?

what's yours?
[G3 Android Development] danial.aw:
Yes it's default sleep sorrowful never had any issues
[G3 Android Development] rocky78:
ok just checking.

will give it a go on the tcp, but that's very strange. never happened to me before.

will update.

i noticed that's happening right after the phone is in ideal mode and strange that when plugging the

phone to the charger it comes back right away.

update:

changing tcp didn't work.

crap.

anyone else got any idea?
[G3 Android Development] HDTime:
Yes this was the issue. BusyBox app kept installing 1.25 after reboot
[G3 Android Development] GUZGUN:
The only problem I have is that sometimes when I opened Chrome it stuck and I can't press anything in the screen. I have to push the back button twice and then I have to delete Chrome from recent opening apps. Then I can open Chrome again.

Sent from Tapatalk

Lg g3 32gb

Zoe Rom v3.0

Gabriel kernel 2.2
[G3 Android Development] mostafaz:
it may be entropy. set it to low and test again (low is lg default)

hey

changing tcp can helps but seems doesn't help you, i dunno whats happening at this time after 2.1 all configs reset to lg choice.

app reset or etc do you use /data partition with f2fs ?
[G3 Android Development] mostafaz:
[MENTION=5065973]Suigintou[/MENTION]

you logs was too big, couldn't open, let's get another one.

i've found data partition with f2fs can cause reboot and lost apps data with updated 2.2 codes, backed to 3.4 stable branch. if you have data with f2fs it can be that while sync fs otherwise waiting for other log.

do you use those tasker's scripts ?
[G3 Android Development] Suigintou:
Hey,

Since few days I'm having same problem. Some apps can't access Internet while others can :/

I have always been using the cubic tcp congestion (default one)

Yes I use Tasker's scripts. I have my cache using f2fs.

I'll get a log next time, but I was playing a game for few hours, and it closed (without force close toast) itself lot of time. This many songs for memory but nothing worked.
[G3 Android Development] mostafaz:
For debugging purpose don't use drop/clean cache & mem-reclaim & fstrim

Both in stweak & tasker.

Let's see what happens then going for data/modem codes that may caused issue.

Thanks
[G3 Android Development] danial.aw:
I am using f2fs on all 3 partitions... The issue you described of bootloop and losing data happened to me once right when I was setting up the ROM but hasn't happened since then (5 days without issues).

I don't have any of the tasker scripts set up ... And don't have the data drops that people have been reporting... As a base line comparison

The data loss might have been due to fstrim cuz I had ran it that day manually... And from what I Google online... F2fs doesn't support the command... But I could be wrong
[G3 Android Development] mostafaz:
Thanks

Some devices/kernels don't like drop cache & fstrim.

Me & you don't using those scripts.

All the time i had issue the secripts were active. Perhaps we need to forget about them.
[G3 Android Development] rocky78:
no i don't. mine is ext4

how can you explain the strange thing with the charger?
[G3 Android Development] mostafaz:
hey

your log has some error/fail that not belongs to kernel, it's rom.

it can be because of tweak app, but rom and permissions are suspect.

for control app disable apply on boot and reboot to load system defaults after boot up, don't use it until found it's not the reason.

for permission what is your root method? do you use any init.d/script/app script to fix/boost or etc ?

the failed parameters can cause anything like network drop. (actually seems it's logcat related and rom services drop "charger,net,etc").
[G3 Android Development] mostafaz:
very good investigation :good:
[G3 Android Development] mostafaz:
weired, it can be memory but who knows a buggy app :p

my current chrome is 47, but using firefox.

with cm browser 5.20.70 sometimes pages doesn't load when back to them and have to push reload manually, with firefox those issues doesn't appear.i'll try chrome.

there is a reason which companies doesn't add extra features or doesn't have latest commits/patch, they may produce such problem and incompatibility with apps .

sorry, i just wants to be free and not in control of phone company who chosen what feature and state is good for me ;)

my first compiled kernel (LP) has 32 commits and 2.2 has over 5k, it's not means that it is better but it's not stock anymore. i can sleep better during the night with this one ;)
[G3 Android Development] rocky78:
hey mostafaz thx for investigation my log.

i'm using fulmics 6.7 system root

not systemless

.

as for control app (i'm guessing you meant from dorimanx->master core>"don't load all settings on boot"), i did as you instructed me.

i'm not using any app/script/init.d but i'm using

xposed/amplify/greenify

(only what's on the guide of the dev's) but not something to to fix boot or etc.

p.s.

i can try to remove those if you tell me that they can cause that service drops (or to try first to disable on dorimanx and then the rest?)

p.s.2

i noticed for example that's effecting my chrome, gmail, xda app, but not whatsapp/kik/you tube

if that help's....
[G3 Android Development] Suigintou:
Should I try to flash modem over?
[G3 Android Development] mostafaz:
yes, first try disable stweak (BTW i have enabled and no issue, but maybe have conflict with something in your system).

actually i don't use greenify, it can block wakelocks from services and etc ? so it's kinda disabling them.try to be sure what service you disabling . if i were in your shoes first monitor wakelocks by betterbatterystats (in alarm tab) or something like that to determine wakelocks then reduce them. i think it will get trouble if i do same greenify my rom/kernel wakelocks as other device's rom/kernel. they are different.

if there is anything related to greenified item it will fail, you may don't have problem with other kernel but this one is different.

good luck and tell me about the results :)

here is an article about wakelocks.
[G3 Android Development] rocky78:
i disabled stweak.

in greenify i don't block any system, only apps, but i got a hunch that's my prboblem. i will test it.

i uninstalled greenify.

from what i know, greenify doesn't disable wake-locks but it putting them (the apps you greenify) to sleep earlier and prevent's them working in the beckground.

amplify disable wake-locks.

anyway, in amplify i don't disable services.

thx for the guide, that is what im using and also this one

will keep you update, and thx again for taking the time to help :o