SmartPack / SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel
https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro
GNU General Public License v3.0
629 stars 73 forks source link

Low Memory Killer tab should be hidden if the device doesnt support it #150

Closed xDoge26 closed 1 year ago

xDoge26 commented 1 year ago

As the title . LKM in android is obsolete , now most phone have LMKD but LKM section is still appear

sunilpaulmathew commented 1 year ago

@ThieuMinh26 Sorry for the long delayed response. & can you suggest me a way to find whether LMKD is supported or not so that I can disable that section in app. Thanks in advance

xDoge26 commented 1 year ago

I mean hide lmk tab not lmkd , you can check it :

:/ # ls -a /sys/module/ | grep low
1|:/ #

And i dont think its possible to change lmkd config just by using echo ...

sunilpaulmathew commented 1 year ago

I mean hide lmk tab not lmkd , you can check it :

:/ # ls -a /sys/module/ | grep low
1|:/ #

And i dont think its possible to change lmkd config just by using echo ...

Hi again, Thanks, & yes, I al so mean hiding LMK, not LMKD.

sunilpaulmathew commented 1 year ago

@ThieuMinh26 I also found another way

generic_x86_arm:/ # getprop init.svc.lmkd running

But not sure it's fully reliable.