Skip to content

Autostart init.d using magisk

ICHx edited this page Apr 15, 2021 · 1 revision

On my phone, the autostart option in app is not working. Therefore I was looking for an alternative.

According to https://github.com/topjohnwu/Magisk/blob/master/docs/guides.md, magisk does not use /etc/init.d Instead, users can put their executable scripts under /data/adb/post-fs-data.d or /data/adb/service.d

To start chroot on boot, create script under one of the mentioned folder, navigate to the location of linux-deploy root in /data/data/.../files

`./cli.sh start -m '

Then it should work.

http://your_computer:3142/XXXX where XXXX is one of armdebian, armubuntu, or armkali

Clone this wiki locally