Collection of Magisk Modules

Status
Not open for further replies.
Search This thread
L

LarappsOfDongle

Guest
Collection of modules for @topjohnwu's Magisk!

General Information

I wanted to make a single thread where everyone can contribute and add modules to serve as a one stop shop for modules until the Magisk Manager gets an xposed-like module downloader. All files are attached in the order that they are introduced.

My Modules

Busybox Installer - Credits: YasadSharaf for the binaries
The installer detects what architecture (ARM/ARM64, x86/x86_64, MIPS/MIPS64) your device uses and installs the correct busybox binary accordingly.

Better Battery Stats Installer - Credits: @JudgeDread11
The installer systemless-ly installs the Better Battery Stats app.

Screen Density Changer - Credits: @JudgeDread11
The zip changes your screen density systemless-ly, extract the zip to set the value that you would like.

Debloater - Credits: @JudgeDread11
The zip debloats your ROM, he uses for Asus Zenfone 2 could probably be adapted to many more devices.

Mount Magisk
The simple script mounts the magisk.img to /magisk to allow it to be edited in case a module or script is causing a bootloop.

ViPER4Android Installer - Credits: @topjohnwu edit by me
The installer systemless-ly installs the ViPER4Android app as well as the driver. Detects and supports the x86 V4A driver. It uses the material design version 2.3.4.0 because it is of higher quality than 2.4.0.1. Two zips, one for dark theme and other for light theme.

Ad-Block Installer
The installer systemless-ly installs my ad-blocker, which supports updating by running hosts as root in terminal. The updater utilizes a wget port to android. The entire hosts file is 18 MB and has over 600k unique entries. Hosts is located at GitHub.

Liveboot Installer - Credits: @topjohnwu edit by me
The installer systemless-ly installs the LiveBoot app and script. Credits to @topjohnwu for this one I just edited the settings to the way I prefer it. Two zips, one with boot logs and one without both have 60 lines as default.

Credits & Thanks: Mainly @osm0sis for his awesome odds & ends thread that I used as a template and @topjohnwu for Magisk. Also everyone else who has contributed in any way to installer scripts for various mods, I've tried to include your name by the module you contributed to.

Disclaimer: Naturally, you take all the responsibility for what happens to your device when you start messing around with things.

Contributing: Post a reply with your module attached or a link to it with a short description. I'll add it to the OP with credits and a link to your post. Or even post ideas for modules!

Source Code:Working on it.
 

Attachments

  • BusyBox-Magisk-1.25.zip
    5.2 MB · Views: 66,172
  • Mount-Magisk.zip
    2.7 KB · Views: 38,925
  • Ad-Block-Magisk.zip
    553.4 KB · Views: 41,205
  • magisk-liveboot-logs.zip
    88.6 KB · Views: 9,311
  • magisk-liveboot-nolog.zip
    88.6 KB · Views: 7,571
  • V4A-Magisk-Light.zip
    3.3 MB · Views: 8,910
  • V4A-Magisk-Dark.zip
    3.3 MB · Views: 22,260
  • ActionLauncher.zip
    6.8 KB · Views: 9,018
  • NexusLauncher.zip
    3.1 MB · Views: 10,316
  • Debloater.zip
    5.4 KB · Views: 7,698
  • BetterBatteryStats.zip
    77.7 KB · Views: 21,525
  • SetDPI.zip
    5.1 KB · Views: 9,298
Last edited:
  • Love
Reactions: -scryptic-

JudgeDread11

Senior Member
Aug 17, 2014
885
500
Ao Nang, Krabi
These are all very simple modules, but good for noobs like me, who would like some examples.

A better battery stats systemless system app :)

The sample from the magisk thread, changing screen density by script.

And a sample for a de-bloat module that I use on stock Asus Zenfone 2 laser.
 

Attachments

  • BBS.zip
    77.7 KB · Views: 3,060
  • SetDPI240.zip
    5.1 KB · Views: 1,558
  • Debloat.zip
    5.4 KB · Views: 1,579
Last edited:
L

LarappsOfDongle

Guest
These are all very simple modules, but good for noobs like me, who would like some examples.

A better battery stats systemless system app :)

The sample from the magisk thread, changing screen density by script.

And a sample for a de-bloat module that I use on stock Asus Zenfone 2 laser.

All coming soon, on the road and I keep getting failure to upload.
Nice man! Yeah I whipped these up relatively quickly just trying to get some out there, working on an Aroma that lets you choose the density you'd like to change to. :good:
 
  • Like
Reactions: -scryptic-

steveo17

Senior Member
Sep 30, 2010
1,187
282
South Amboy
thanks for this. it seems that for me, V4A installs fine, but when i go to use it, it does not work. I did not install the drivers within the app, pretty sure you're not supposed to right?


also, installed the new adblocker and i can't seem to disable it still:

d36cd549d130d068bdc011d22afdd196.jpg
 
Last edited:
L

LarappsOfDongle

Guest
thanks for this. it seems that for me, V4A installs fine, but when i go to use it, it does not work. I did not install the drivers within the app, pretty sure you're not supposed to right?


also, installed the new adblocker and i can't seem to disable it still:
What does it say when you open it?
 
L

LarappsOfDongle

Guest
Try these or whichever one you used
 

Attachments

  • V4A-Magisk-Dark.zip
    6.1 MB · Views: 3,644
  • V4A-Magisk-Light.zip
    6.1 MB · Views: 1,382

kryptikal

Senior Member
Mar 1, 2015
75
54
Anytown
removing/disabling modules?

Hi,
I was wondering what the process is for removing modules since there isn't a manager like there is for xposed? Please let me know when you have a moment.
Thanks
 
L

LarappsOfDongle

Guest
the drivers seem to be installed now. no prompt at startup to install drivers, but it still does not appear to be working. i've tried toggling effects via bluetooth and wired headphones and neither work.

I'm on a Nexus 6P, encrypted, Android N Official, Magisk v6, selinux enforcing
Play music after you've changed settings and then tap driver status and screenshot it. I'm pretty sure Android N needs permissive.
 
L

LarappsOfDongle

Guest
Or if you afraid things go seriously wrong when you delete something that is essential in your running system add a file called remove to the mod folder. The mod will be removed on the next reboot.
How would u accidently delete something essential if your in the Magisk folder? This works too but the reasoning behind it doesn't make sense, your nowhere near deleting anything 'essential' while in the /magisk folder.
 

JudgeDread11

Senior Member
Aug 17, 2014
885
500
Ao Nang, Krabi
How would u accidently delete something essential if your in the Magisk folder? This works too but the reasoning behind it doesn't make sense, your nowhere near deleting anything 'essential' while in the /magisk folder.

From my understanding you can change anything in the system folder, and i believe there is some essential stuff in there. When you run a mod that changes this stuff the files in the mod folder are the files the system is linked to. So removing these files on the fly would have the same result as removing the files on the fly in an unmodded system.
I might be wrong. But I'm learning :)
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    These are all very simple modules, but good for noobs like me, who would like some examples.

    A better battery stats systemless system app :)

    The sample from the magisk thread, changing screen density by script.

    And a sample for a de-bloat module that I use on stock Asus Zenfone 2 laser.
    6
    Thread closed. Please continue discussion in the new maintained thread: https://forum.xda-developers.com/apps/magisk/collection-magisk-modules-v2-t3575758

    The Flash
    Forum Moderator
    5
    @RatchetPanda

    I've created a simple module called "Enable Tethering" to enabled the net.tethering.noprovisioning property on boot without having to modify the build.prop. This was discussed in the main Magic thread and it was something that I found useful. Please add to to OP if possible.

    Tested using my Motorola XT1575 (MotoX Pure Edition) on Cricket (Android 6.0).
    5
    A small contribution

    A friend asked me for help with creating a Magisk module for this camera mod for the HTC 10: http://forum.xda-developers.com/showpost.php?p=68530471&postcount=1243.
    This module simply replaces the files listed in that thread, enabling 60 seconds exposure and ISO 68. It worked fine, according to him.

    As for the other module, I use a OnePlus One running CyanogenOS (Marshmallow 6.0.1 - not CyanogenMod). Despite confirming that Magisk was binding the hosts file correctly and AdAway having no problems to update it, all apps still displayed ads, and pinging blocked hosts from ADB shell resolved to their real IPs. After some testing, it seems COS simply ignores the hosts files by default, no idea why. A bit of Googling later, I found about the nsswitch.conf file, which can force the system to first check the hosts file when resolving an address (and which wasn't present in this ROM), and it really fixes the problem for me. So all this module does is add this file to /system/etc.

    Thanks to @topjohnwu for this incredible piece of software that is Magisk and also to @RatchetPanda for this thread and the huge hosts source.