# How to Systemize Magisk Modules - A JTech Project

**URL:** https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530
**Category:** General
**Tags:** Magisk, Root
**Created:** [June 30, 2025, 4:06pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530 "2025-06-30T16:06:11Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 26, 2025, 6:33pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/1 "2025-06-26T18:33:57Z")

</div>

Let’s try to figure this one out…

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 26, 2025, 6:35pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/2 "2025-06-26T18:35:41Z")

</div>

because i want to integrate it into ROMs - and it should be easy to add urls, in other words, the hosts file should work for everything, even wild-card ones…

---

<div class="post-metadata">

### Author: ![KosherFlipper](https://jtechforums.org/user_avatar/jtechforums.org/kosherflipper/32/2549_2.png) [@KosherFlipper](https://jtechforums.org/u/KosherFlipper)
#### Post date: [June 26, 2025, 9:06pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/3 "2025-06-26T21:06:52Z")

</div>

Btw you may not need a new script. Many phones already have an oem-iptables-init.sh which runs on boot to set up some iptables rules. Just add yours in

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 26, 2025, 9:10pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/4 "2025-06-26T21:10:40Z")

</div>

That could work, but you’d still need to start AdGuardHome, no?

---

<div class="post-metadata">

### Author: ![KosherFlipper](https://jtechforums.org/user_avatar/jtechforums.org/kosherflipper/32/2549_2.png) [@KosherFlipper](https://jtechforums.org/u/KosherFlipper)
#### Post date: [June 26, 2025, 9:34pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/5 "2025-06-26T21:34:06Z")

</div>

Yeah I was just replying to that one point. Starting it would need additions to init.rc or a custom rc

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 5:22am UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/6 "2025-06-30T05:22:30Z")

</div>

Just floating an idea. I’m wondering if there’s an easier way to do this.

Is there is any harm in keeping a rooted boot image in a kosher ROM, as long as APK installation is disallowed? Modules still work after the magisk APK is uninstalled, last time I checked.

@TripleU @william

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 30, 2025, 1:29pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/7 "2025-06-30T13:29:53Z")

</div>

That’s a kinda plan.

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 1:31pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/8 "2025-06-30T13:31:15Z")

</div>

Woohoo!

Are you able to use your magisk mod? Does it have magisk module support, just no manager?

Think of the possibilities with a remotely update-able GitHub list.

Does this solve your login issue?

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 30, 2025, 1:33pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/9 "2025-06-30T13:33:07Z")

</div>

I’ll put the binaries and boot scripts in the ROM… Let’s see.

---

<div class="post-metadata">

### Author: ![anonymousfliphones](https://jtechforums.org/user_avatar/jtechforums.org/anonymousfliphones/32/2591_2.png) [@anonymousfliphones](https://jtechforums.org/u/anonymousfliphones)
#### Post date: [June 30, 2025, 1:34pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/10 "2025-06-30T13:34:21Z")

</div>

> [@ars18](#):
>
> Are you able to use your magisk mod? Does it have magisk module support, just no manager?
> 
> Think of the possibilities with a remotely update-able GitHub list.

how do i add this into my rom?

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 1:36pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/11 "2025-06-30T13:36:28Z")

</div>

Wait for @TripleU

**Yeshivish way:**

Don’t add it to the ROM, flash the modified module in magisk after installation, reboot, verify it’s working, then delete magisk manager.

I’d wait for a better solution.

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 30, 2025, 1:49pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/12 "2025-06-30T13:49:17Z")

</div>

> [@ars18](#):
>
> then delete magisk manager.

Won’t run, and gets deleted after factory reset

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 1:52pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/13 "2025-06-30T13:52:51Z")

</div>

I’ll have to try again, I though I remembered modules still working as long as they are flashed before.

I know 100 percent that apps granted root access from before still work after uninstalling.

Will try.

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 30, 2025, 1:55pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/14 "2025-06-30T13:55:23Z")

</div>

I need to rename all script paths to look for something in /bin instead of /data/adb

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 1:58pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/15 "2025-06-30T13:58:20Z")

</div>

![Screenshot_20250630-095713_com.mixplorer](https://jtechforums.org/uploads/default/original/2X/d/d5928b470ae1e31e95cf962b8e236682cf312864.png)

\_

 ![Screenshot_20250630-095732_com.mixplorer](https://jtechforums.org/uploads/default/original/2X/6/69b2613b1c5fb6e415247aa95f45638e93743d4a.jpeg)

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 2:16pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/16 "2025-06-30T14:16:53Z")

</div>

Confirmed working.

Magisk manager uninstalled, adguardhome still operating.

Tested on OnePlus 8 - JaguarOS

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 30, 2025, 2:45pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/17 "2025-06-30T14:45:23Z")

</div>

Interesting… Anyways, I don’t need to uninstall magisk. I have a custom version that blocks modules etc.  
what I do need is that it should survive a factory reset - which means that all functions have to be moved to /system

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 3:01pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/18 "2025-06-30T15:01:32Z")

</div>

/system/bin?

Where are you going to keep the module?

---

<div class="post-metadata">

### Author: ![TripleU](https://jtechforums.org/user_avatar/jtechforums.org/tripleu/32/488_2.png) [@TripleU](https://jtechforums.org/u/TripleU)
#### Post date: [June 30, 2025, 3:17pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/19 "2025-06-30T15:17:06Z")

</div>

Module? scripts in /etc RCs in /init and binaries in /bin

but the problem will be if the adguard binary looks for the scripts and databases in /data…

---

<div class="post-metadata">

### Author: ![ars18](https://jtechforums.org/user_avatar/jtechforums.org/ars18/32/11805_2.png) [@ars18](https://jtechforums.org/u/ars18)
#### Post date: [June 30, 2025, 3:21pm UTC](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530/20 "2025-06-30T15:21:08Z")

</div>

That’s why I posted those screenshots

[Next page](https://jtechforums.org/t/how-to-systemize-magisk-modules-a-jtech-project/3530.md?page=2)
