# Guide: Systemize Magisk Modules - For ROM Developers - CRB Kitchen (Paid)

**URL:** <https://jtechforums.org/t/guide-systemize-magisk-modules-for-rom-developers-crb-kitchen-paid/3660>\
**Category:** Android Guides\
**Tags:** root, magisk, guide\
**Created:** [July 6, 2025, 7:14am UTC](https://jtechforums.org/t/guide-systemize-magisk-modules-for-rom-developers-crb-kitchen-paid/3660 "2025-07-06T07:14:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [March 22, 2026, 9:44pm UTC](https://jtechforums.org/t/guide-systemize-magisk-modules-for-rom-developers-crb-kitchen-paid/3660/3 "2026-03-22T21:44:13Z")

</div>

> [@ars18](#):
>
> ```auto
> # Second-stage: wait for Magisk, disable and hide it
> LOGFILE=/data/local/tmp/first_boot.log
> exec >>"$LOGFILE" 2>&1
> echo "---- Second stage Magisk check at $(date) ----"
> 
> echo "Waiting for Magisk app to become available..."
> while true; do
> if pm list packages | grep -q com.topjohnwu.magisk; then
> echo "Magisk app detected. Disabling and hiding..."
> pm disable com.topjohnwu.magisk
> pm hide com.topjohnwu.magisk
> echo "Magisk disabled and hidden successfully at $(date)" >> "$MAGISK_FLAG"
> break
> fi
> sleep 1
> done
> 
> ```

Was just looking at my guide…

Why in the world would I write the above in a general guide?

---

_[View the full topic](https://jtechforums.org/t/guide-systemize-magisk-modules-for-rom-developers-crb-kitchen-paid/3660)._
