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
628 stars 73 forks source link

Choose init.d location #153

Open pchris7489 opened 1 year ago

pchris7489 commented 1 year ago

Hello,

On Android 6 for example, the init.d location is :

/system/etc/init.d/

On Android 12 with magisk, the init.d location is :

/data/adb/service.d/

Finally, Smart Pack will save scripts to :

/data/emulated/0/SP/

It would be useful to give a simple option to tell Smart Pack where to save scripts, in order to "centralize" all of them

This will help for a more efficient maintenance of scripts

sunilpaulmathew commented 1 year ago

@pchris7489 SmartPack Script Manager is not depending on init.d. I purposefully made it separate to have full control to app. On boot scripts will be executed by app itself, as long as root access is available and the on-boot feature works.

pchris7489 commented 1 year ago

Okay I concluded that having a more centralized approach (or at least adding the simple option for the user) would make using the app more pleasing because technically the problem is that the scripts are not centralized, some apps will read and write to init.d/service.d, and Smart Pack will read and write only from /data/0/SP folder, in other words as a kernel manager Smart Pack will miss some important configurations conflicting and running concurrently with it. After you decide