Collection of Magisk Modules - Magisk

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.

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.

JudgeDread11 said:
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.
Click to expand...
Click to collapse
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:

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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

steveo17 said:
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:
Click to expand...
Click to collapse
What does it say when you open it?

RatchetPanda said:
What does it say when you open it?
Click to expand...
Click to collapse
Sent from my Nexus 6P using Tapatalk

Try these or whichever one you used

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

RatchetPanda said:
Try these or whichever one you used
Click to expand...
Click to collapse
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

kryptikal said:
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
Click to expand...
Click to collapse
Open up the /Magisk folder and delete the module folder that you don't want.

steveo17 said:
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
Click to expand...
Click to collapse
Play music after you've changed settings and then tap driver status and screenshot it. I'm pretty sure Android N needs permissive.

RatchetPanda said:
Open up the /Magisk folder and delete the module folder that you don't want.
Click to expand...
Click to collapse
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.

JudgeDread11 said:
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.
Click to expand...
Click to collapse
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.

RatchetPanda said:
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.
Click to expand...
Click to collapse
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

RatchetPanda said:
Play music after you've changed settings and then tap driver status and screenshot it. I'm pretty sure Android N needs permissive.
Click to expand...
Click to collapse
No difference. Music is playing, with permissive via Magisk Manager
Sent from my Nexus 6P using Tapatalk

steveo17 said:
No difference. Music is playing, with permissive via Magisk Manager
Click to expand...
Click to collapse
had this problem too
installing v4a apk v2.4.0.1 fixed this
Sent from my SHIELD Tablet K1 using XDA Labs

mati_boy said:
had this problem too
installing v4a apk v2.4.0.1 fixed this
Sent from my SHIELD Tablet K1 using XDA Labs
Click to expand...
Click to collapse
From the magisk thread?
Sent from my Nexus 6P using Tapatalk

steveo17 said:
From the magisk thread?
Click to expand...
Click to collapse
no, from the material design v4a thread
http://forum.xda-developers.com/android/software/app-material-viper4android-2-3-4-0u-t3190352/page45
Sent from my SHIELD Tablet K1 using XDA Labs

mati_boy said:
no, from the material design v4a thread
http://forum.xda-developers.com/android/software/app-material-viper4android-2-3-4-0u-t3190352/page45
Sent from my SHIELD Tablet K1 using XDA Labs
Click to expand...
Click to collapse
yep that did the trick!
thanks!

mati_boy said:
had this problem too
installing v4a apk v2.4.0.1 fixed this
Click to expand...
Click to collapse
I'll switch to that apk in the script :good:

Related

Xposed installed and active, but not working.

I recently updated my OP2 to OOS 3.0.2, and I installed xposed on it like i normally would. Everything installed without problems, but none of my modules are working. Can someone help me?
I have checked that I have the correct xposed for marshmallow. I have checked that I have the newest apk, any other suggestions?
By any chance, do you have Xposed Status disabled?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Nexus 6P using Tapatalk
If it still doesn't work, you can try to uninstall Xposed Installer > reboot your phone > install Xposed Installer and than do a soft reboot (by function on Xposed Installer app ).
This work for me. I think the problems happen because I flash xposed *.zip file after install Xposed Installer
Goodluck.
Curiousn00b said:
By any chance, do you have Xposed Status disabled?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
What apk is that? When I said latest I ment 3.0 Alpha 4. The apk you use doesnt look one bit like that.
Mark2014 said:
If it still doesn't work, you can try to uninstall Xposed Installer > reboot your phone > install Xposed Installer and than do a soft reboot (by function on Xposed Installer app ).
This work for me. I think the problems happen because I flash xposed *.zip file after install Xposed Installer
Goodluck.
Click to expand...
Click to collapse
Did not change anything, sadly
lauge2000 said:
What apk is that? When I said latest I ment 3.0 Alpha 4. The apk you use doesnt look one bit like that.
Click to expand...
Click to collapse
Material Design Xposed Installer.
Did not change anything, sadly
Click to expand...
Click to collapse
Could you either upload screenshots from your Xposed Installer framework section or upload your Xposed log file? It would be easier to help you without only guessing around based on few information.
You could also try to uninstall your framework by flashing the uninstaller.zip within recovery and flash the systemless Xposed afterwards.
Portgas D. Ace said:
Material Design Xposed Installer.
Could you either upload screenshots from your Xposed Installer framework section or upload your Xposed log file? It would be easier to help you without only guessing around based on few information.
You could also try to uninstall your framework by flashing the uninstaller.zip within recovery and flash the systemless Xposed afterwards.
Click to expand...
Click to collapse
Here is a picture of my Xposed installer section.
https://i.imgur.com/tcqZNH3.png
Here is my Xposed log file: https://www.dropbox.com/s/zibe3nywkxzyqzc/xposed_error_20160615_100528.log?dl=0
lauge2000 said:
Here is a picture of my Xposed installer section.
https://i.imgur.com/tcqZNH3.png
Here is my Xposed log file: https://www.dropbox.com/s/zibe3nywkxzyqzc/xposed_error_20160615_100528.log?dl=0
Click to expand...
Click to collapse
Any specific reason why you are using v83 instead of the latest version?
Also disable all of your modules
Enable one of them; imho, start with snapprefs because it looks, from your log that it is working.
Reboot, open snapchat if it works disable snapprefs and enable another module reboot and check if that module's functions work.
Continue doing this until done.
One of your modules is bad, I am 75% sure it is custom alert slider from nqk. The last comments in its thread seem to point to it not working in Android6.0.1.
http://forum.xda-developers.com/oneplus-2/themes-apps/app-alert-slider-oneplus-2-t3248005/page13
Portgas D. Ace said:
Any specific reason why you are using v83 instead of the latest version?
Click to expand...
Click to collapse
Tried v85 and it didnt work, just thought I would try v83 instead
Nergal di Cuthah said:
Also disable all of your modules
Enable one of them; imho, start with snapprefs because it looks, from your log that it is working.
Reboot, open snapchat if it works disable snapprefs and enable another module reboot and check if that module's functions work.
Continue doing this until done.
One of your modules is bad, I am 75% sure it is custom alert slider from nqk. The last comments in its thread seem to point to it not working in Android6.0.1.
http://forum.xda-developers.com/oneplus-2/themes-apps/app-alert-slider-oneplus-2-t3248005/page13
Click to expand...
Click to collapse
Will try this, thanks!
EDIT: I have now tried this, and it didn't work. Anything else I can try?
Can no one help with this??
lauge2000 said:
Can no one help with this??
Click to expand...
Click to collapse
Having the same problem, tried everything with no luck...
Hi.
We had the same issues on the Elephone P9000, also on the UMI Super.
I've made a MOD (grorkmod http://forum.xda-developers.com/showthread.php?p=67247504 ) that will create a patched sepolicy (thanks again to @Chainfire for his sukernel and supolicy) which will be copied into root on every boot.
On boot the stocksepolicy will stay initially, but in the later bootprocess it will be overwritten with a patched one.
The problem in detail:
We have only stockbased ROMs with an enforcing kernel. If we set selinuxmode to permissive with an initd script lots of apps won't work. EBay, google messenger, runtastics and more will just crash. Xposed modules will work but not the apps.
With the grorkmod you have both and that on an enforcing ROM.
It should work on other devices also, but it has to be tested.
Maybe it could solve your problems, too?
For other devices than the elephone p9000 it is strongly recommend to use the latest v0.94.
Greetings
Vsrookie
Sent from my P9000 using XDA-Developers mobile app
vsrookie said:
Hi.
We had the same issues on the Elephone P9000, also on the UMI Super.
...[/URL]
Click to expand...
Click to collapse
I have set SElinux to permissive with terminal, but modules still don`t work.
gaich said:
I have set SElinux to permissive with terminal, but modules still don`t work.
Click to expand...
Click to collapse
You have to boot in permissive mode. Create a script in init.d with setenforce 0.
greetings
vsrookie
ps: On our chinese phones that was a problem, thats why i created grorkmod.
Sent from my P9000 using XDA-Developers mobile app
vsrookie said:
You have to boot in permissive mode. Create a script in init.d with setenforce 0.
greetings
vsrookie
ps: On our chinese phones that was a problem, thats why i created grorkmod.
Sent from my P9000 using XDA-Developers mobile app
Click to expand...
Click to collapse
Great!!!! This did the trick! I flashed your mod and my modules began to work!:laugh:
Hi.
Nice to hear. May i ask you what phone you have?
greetings
vsrookie
Sent from my P9000 using XDA-Developers mobile app
vsrookie said:
Hi.
Nice to hear. May i ask you what phone you have?
greetings
vsrookie
Sent from my P9000 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes, it`s in my signature - Ulefone Vienna with Marshmallow test build.
i have the same problem and ended up just uninstall xposed and installer.

[APP] Install ViPER4Android on MM 6.0

First, all the credit goes to Dhananjay for he's tutorial and zhuhang for create this great app.
Disclaimer
Installing mods on your Android device may leave it non-functional or even soft-brick it. DroidOrigin will not be responsible if anything such happens. Recovering is easy however, and we will definitely help you.
Before You Begin
- To install V4A, you must have a rooted phone. If you haven’t rooted yet, you can check for your device in our Rooting section.
- Make sure no other audio mods are installed, like AudioFX. If there is, you will need to remove it completely. If you have problems doing so, use Titanium Backup for.
- Also, you must have BusyBox installed on your ROM. You can download it by clicking the link below. (You can try other busybox installer apps, but if you face issues while installing V4A drivers, you must install this one.)
https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=fr
In case the driver installation fails – It seems like some manufacturer specific devices require SELinux status to be set as Permissive. You can use SELinuxModeChanger app to do the required. Thanks to our reader — Avip, for notifying this.
Steps to Install ViPER4Android on Marshmallow:
1. Go to the V4A website and download ViPER4Android FX, or direct link : http://www.mediafire.com/?ar5men9o5ar7inb
2. Move the downloaded ViPER4Android_FX_v2401_A4.x-A6.x.apk to the phone’s storage.
3. Make sure, you have enabled Unknown sources in Settings > Security.
4. Now, using a file manager (e.g Solid Explorer), install the apk manually, as you normally would do.
5. Once it has been installed, go to app drawer and run ViPER4Android FX.
6. When you will run the app for the first time, it will prompt you to install V4A drivers on your device, so tap on Yes. As soon as you tap, you will have to grant root permissions, so choose GRANT.
7. V4A app will automatically detect the system and install appropriate drivers for the mod to work properly, and upon completion, the following message will be displayed: ‘Driver installed, please reboot your device’. And now as advised, reboot your phone/tablet (I hope you know how to do that!).
8. When the device has rebooted, again launch ViPER4Android FX app.
9. Tap on the 3-dot menu button on the top-right of the app, and select Driver Status. It should display Status: Normal.
If the driver installation fails, read the last point of the ‘Prerequisites’.
10. Start using ViPER4Android now! Tweak the settings to best match your phone and output device. Are you using specific profiles for your phone? Post them below and share it with other users.
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
Here my setup for Shuttle+ and Headset Shure SE215 :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
Status is Normal but two are not enabled. Is this correct? Not noticing an impact to audio throught my Sennheisers.
I think you have to disable audio fx or music fx.
rYz11 said:
Status is Normal but two are not enabled. Is this correct? Not noticing an impact to audio throught my Sennheisers.
Click to expand...
Click to collapse
Enable : no, is not good should be yes and processing : no is ok for me.
You should have Music FX or Audio FX remove like say Vicky90.
You can use Titanium Backup to completely remove it.
You absolutely must remove Audio tweaking stuff what is in your Rom.
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
Vink67 said:
Enable : no, is not good should be yes and processing : no is ok for me.
You should have Music FX or Audio FX remove like say Vicky90.
You can use Titanium Backup to completely remove it.
You absolutely must remove Audio tweaking stuff what is in your Rom.
Click to expand...
Click to collapse
I can't find any Music FX or Audio FX in app drawer, using Titanium or manually looking through data and priv-app folders. Weird. I'm running Overdrive 's MM ROM v. 9 and Beastmode 56.8 kernel. No other audio mods installed or enabled. I'll keep digging...
@rYz11 then make sure busybox installed and change selinux mode to permissive if not set.
vicky90 said:
@rYz11 then make sure busybox installed and change selinux mode to permissive if not set.
Click to expand...
Click to collapse
Thanks. Yes, stericson busybox is installed and updated and I'm running a permissive kernel (Beastmode 56.8). I'm noticing slight gain so I'll keep playing with it and ignore the not enabled messages.
rYz11 said:
Thanks. Yes, stericson busybox is installed and updated and I'm running a permissive kernel (Beastmode 56.8). I'm noticing slight gain so I'll keep playing with it and ignore the not enabled messages.
Click to expand...
Click to collapse
Well, major "d'oh!" moment - was checking driver status with no music playing. Thanks to @stueycaster for common sense suggestion.
rYz11 said:
Thanks. Yes, stericson busybox is installed and updated and I'm running a permissive kernel (Beastmode 56.8). I'm noticing slight gain so I'll keep playing with it and ignore the not enabled messages.
Click to expand...
Click to collapse
Well, what version of busybox do you install ? The one I give the link ? Because other don't work for me.
And Enable should be yes because if not ViPER4Android shouldn't work.
Maybe if you are any audio tweaking stuff in your phone/Rom it's kernel fault who use audio mod. And are you using Xposed ? Because that could be bad too.
But I don't know the ROM and kernel you are using so it's difficult to help.
I have for long time stay away of ViPER4Android because I was thinking it was another illusion of sound quality, but good install and well configure, WOW !
Sorry bro, can't help much.
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
Vink67 said:
Well, what version of busybox do you install ? The one I give the link ? Because other don't work for me.
And Enable should be yes because if not ViPER4Android shouldn't work.
Maybe if you are any audio tweaking stuff in your phone/Rom it's kernel fault who use audio mod. And are you using Xposed ? Because that could be bad too.
But I don't know the ROM and kernel you are using so it's difficult to help.
I have for long time stay away of ViPER4Android because I was thinking it was another illusion of sound quality, but good install and well configure, WOW !
Sorry bro, can't help much.
Click to expand...
Click to collapse
Np, all is good now as long as I remember to check driver status when music is playing.
I already had busybox installed, I made sure it was updated. FYI - I'm running Overdrive's MM Rom (T-Mobile Note 4) with Beastmode 56.8.
@Vink67 I have tried this (Open Source Version) and it does everything for you (even if SELinux is enforcing) and is easier in my opinion
dd98 said:
@Vink67 I have tried this (Open Source Version) and it does everything for you (even if SELinux is enforcing) and is easier in my opinion
Click to expand...
Click to collapse
Thx bro, but don't have problem [emoji4]
rYz11 said:
Np, all is good now as long as I remember to check driver status when music is playing.
Click to expand...
Click to collapse
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
dd98 said:
@Vink67 I have tried this (Open Source Version) and it does everything for you (even if SELinux is enforcing) and is easier in my opinion
Click to expand...
Click to collapse
Thx bro but I don't have problem [emoji4]
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
rYz11 said:
Np, all is good now as long as I remember to check driver status when music is playing.
Click to expand...
Click to collapse
Nice ! Happy it will work.
Sent from my MotoG3 using Optimus-r12 on Ubertc RR Rom.
dd98 said:
@Vink67 I have tried this (Open Source Version) and it does everything for you (even if SELinux is enforcing) and is easier in my opinion
Click to expand...
Click to collapse
That was the only way I could get it working for me. With the app of the OP, everything goes OK, and driver status enabled, etc., but it hasn't any effect in sound.
I have stock rom+kernel, but with exposed and gravity box.
A much easier way to install Viper is in this thread:
http://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075
Just download Viper stock 5.4 zip, flash in recovery and voila! No need to mess with the selinux changer app or do anything else.
Hedied4me said:
A much easier way to install Viper is in this thread:
http://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075
Just download Viper stock 5.4 zip, flash in recovery and voila! No need to mess with the selinux changer app or do anything else.
Click to expand...
Click to collapse
It's not the same version but it work yes.
Sent with my MotoG3 from another galaxy !
Vink67 said:
It's not the same version but it work yes.
Sent with my MotoG3 from another galaxy !
Click to expand...
Click to collapse
Its 2.4.0.1 which is the most up to date version of v4a. I was only suggesting it because you don't have to use selinux mode changer app, which is dangerous for security reasons. Not to mention the zip takes care of everything for you.
Sent from my MotoG3 using XDA Labs

[Module] F-Droid Privileged Extension

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I decided to continue @PunchyStick's Magisk module and keep it updated as F-Droid releases updates. You can generally expect updates the day after if not the day of F-Droid updating the extension.
What to know:
-Please make sure you're running at least F-Droid 0.103
-Disable auto app updates from within F-Droid. F-Droid Privileged Extension will automatically update and succeed, and I don't know how this will affect SafetyNet and/or the Magisk Module. (This is because the extension doesn't update like a normal app by placing updates in the data partition, it overwrites the apk in system directly).
Changelog:
v1
- Private release
- Privileged Extension 0.1
- Based directly on PunchyStick's extension
v2
- Private release
- Privileged Extension 0.2
v3
- Private release
- Privileged Extension 0.2.2
v4
- First public release
- Privileged Extension 0.2.3
v5
-If you installed the zip on the XDA thread, please remove that module before installing this version.
-Privileged Extension 0.2.4
v6
-Privileged Extension 0.2.5
-Please update F-Droid to version 0.103 if you have not already.
v7
-Updated to template 4
v8
-Update to template 1400
-Please update to Magisk 14.0 if you have not already
v9
-Privileged Extension 0.2.6
v10
-Privileged Extension 0.2.7
-Template 1410
-Only install this if you are on Magisk 14.1, a zip for Magisk 14.0 can be found attached.
I removed the module zip from this thread as it is obsolete and my module is in the Magisk Module Repo now (and thus can be installed via Magisk). Also, as per the changelog, if you installed the zip on this thread please uninstall that module before upgrading to v5.
Reserved
Mine 2.0
Please correct me if I'm wrong, but this module is not using the latest module template. Yes, it has the "template" tag in module.prop, but everything else seems old, very old. As an example: There's still tags for cache modules (removed in Magisk v9) in config.sh and the update-binary file used seems to be of a similar age...
An update on my last post.
It's this commit that by mistake (obviously) reverted all the changes from module template v3 (and then some).
Didgeridoohan said:
Please correct me if I'm wrong, but this module is not using the latest module template. Yes, it has the "template" tag in module.prop, but everything else seems old, very old. As an example: There's still tags for cache modules (removed in Magisk v9) in config.sh and the update-binary file used seems to be of a similar age...
Click to expand...
Click to collapse
I will look into that, but I synced this straight from the Magisk Template repo then rebuilt from there so the legacy code should be gone. I use multiple devices so I might have accidentally fudged something up. Also, do note that this repo is the one I will be updating now that it has been accepted into the Magisk module's repo, and on that one I think I fixed my little screwup.
Sent from my Nexus 6P using XDA Labs
ryaniskira said:
I will look into that, but I synced this straight from the Magisk Template repo then rebuilt from there so the legacy code should be gone. I use multiple devices so I might have accidentally fudged something up. Also, do note that this repo is the one I will be updating now that it has been accepted into the Magisk module's repo, and on that one I think I fixed my little screwup.
Sent from my Nexus 6P using XDA Labs
Click to expand...
Click to collapse
Nice. That's the repo I was looking at, yes, and after a (very) quick look it does look like it's been fixed.
Lol i like that mine thing! Thanks for the work. I'll check it out later as I've been overwhelmingly busy as of late
Miras77 said:
Zuk z2
Click to expand...
Click to collapse
??
Uhmm.. excuse me if this sounds like a dumb question, but what is F-Droid? And what does it do?
---------- Post added at 08:42 AM ---------- Previous post was at 08:32 AM ----------
CryonicCore said:
Uhmm.. excuse me if this sounds like a dumb question, but what is F-Droid? And what does it do?
Click to expand...
Click to collapse
Nevermind. I was smart and looked it up. Looks interesting though.
CryonicCore said:
Uhmm.. excuse me if this sounds like a dumb question, but what is F-Droid? And what does it do?
---------- Post added at 08:42 AM ---------- Previous post was at 08:32 AM ----------
Nevermind. I was smart and looked it up. Looks interesting though.
Click to expand...
Click to collapse
Alternate app store for stuff, you add repositories to it to have more apps listed, also it can update your currently installed apps from there too if you decide to manually update apps
Does this make the privileged extension work on newer Android versions? Like Nougat?
viggy96 said:
Does this make the privileged extension work on newer Android versions? Like Nougat?
Click to expand...
Click to collapse
Yes. It actually works just fine on all of my devices, all of which are running Nougat.
Bootloop on Sony Xperia X Compat Nougat 7.0
Fresh, fully working Magisk v. 12.0 with Magisk Manager 4.3.3, F-Droid v.103, after installinf F-Droid Privileged Extension Magisk Module, ended in bootloop. Disabling module through recovery causes device to boot, but SystemUI.apk crashes, removing module through recovery (empty remove file in module directory) causes the same.. Uninstalling Magisk using Magisk Uninstall doesn't help either, had to flash my system new....
ondrejvaroscak said:
Fresh, fully working Magisk v. 12.0 with Magisk Manager 4.3.3, F-Droid v.103, after installinf F-Droid Privileged Extension Magisk Module, ended in bootloop. Disabling module through recovery causes device to boot, but SystemUI.apk crashes, removing module through recovery (empty remove file in module directory) causes the same.. Uninstalling Magisk using Magisk Uninstall doesn't help either, had to flash my system new....
Click to expand...
Click to collapse
Odd, I will have to look into that. All the module does is place the privileged extension in the privileged app directory, so if you do not mind, can you make a backup of system and then use Terminal Emulator App Systemizer and place an app in /system/priv-app? Also, is it possible you managed to collect the logs from Magisk?
ryaniskira said:
Odd, I will have to look into that. All the module does is place the privileged extension in the privileged app directory, so if you do not mind, can you make a backup of system and then use Terminal Emulator App Systemizer and place an app in /system/priv-app? Also, is it possible you managed to collect the logs from Magisk?
Click to expand...
Click to collapse
Hm, may there be a glitch that I am using Magisk to have my system partition intact, so writing anything to /system/priv-app is actually not what I wanted? Also, puting a backup of system partition did not help, SystemUI crashed still. Only wiping /data helped...
I am afraid that collecting logs may not be possible, since I can't get into system after crash anymore... unless I can somehow acccess the Magisk logs from recovery...
ondrejvaroscak said:
Hm, may there be a glitch that I am using Magisk to have my system partition intact, so writing anything to /system/priv-app is actually not what I wanted? Also, puting a backup of system partition did not help, SystemUI crashed still. Only wiping /data helped...
I am afraid that collecting logs may not be possible, since I can't get into system after crash anymore... unless I can somehow acccess the Magisk logs from recovery...
Click to expand...
Click to collapse
It does not actually place the app in /system/priv-app, it just uses Magisk to spoof it there like any other magisk module does. So it is as if the app is actually there, but your system partition remains untouched.
ryaniskira said:
It does not actually place the app in /system/priv-app, it just uses Magisk to spoof it there like any other magisk module does. So it is as if the app is actually there, but your system partition remains untouched.
Click to expand...
Click to collapse
I thought so, becuase otherwise it would not make any sense
ondrejvaroscak said:
I thought so, becuase otherwise it would not make any sense
Click to expand...
Click to collapse
The reason I asked you to use that module to place an app in /system/priv-app is that some devices [when running stock] do not like things being placed in that directory, and with Magisk it is just as if that app is actually in that directory even though it really isn't so the device will react just how it would if you actually placed it on the system partition for real. Some devices can just have really odd glitches too, for example I have an LG-K330 from a friend, and some Magisk modules that work just fine on my other devices cause it to lose its IMEI (it is not actually gone, but the OS does not see that there is one and it will refuse to connect to a mobile network), and it causes really odd battery issues too.

[DEPRECATED] Greenify4Magisk [v4.5.1]

Greenify4Magisk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Module Explanation:
A very simple module just to make Greenify work as a rom-integrated (privileged) app systemlessly (also known as Boost Mode), so you'll achieve the best hibernating performance it could give, and faster than using the root option only. Best part is that it doesn't need Xposed, so you'll stay with your beloved green SafetyNet check, since Xposed breaks it. It'll simply inject a folder with the apk into the path: /system/priv-app. If it shows Privileged at the app settings, then you're good. Read this for extra explanation.
* Note: You won't get any xposed-side features, since magisk is NOT xposed!
Requirements:
- Android 5.0 - 8.1.0
- Magisk v15.3+
Installation:
- This module already has the latest apk inside, just download one of zips from the mirror and install through the Magisk Manager app or TWRP. As simple as that. Or you can download and install directly through Magisk Manager "download" section.
---
Downloads:
The module is now available at the Magisk Manager "download" section (beta and stable apks), so you can download and install directly through there, or you can grab a copy on the mirror below.
---
Or
AFH Mirror
---
How to remove:
- Since v3.9.7-U you can simply flash the same zip again to remove the module, or you can remove through the Magisk Manager "modules" section as well.
---
Follow:
-
---
About the apk:
- Apk downloaded directly from APKMirror, original and not tampered in any way, check below:
Code:
MD5 for 4.5.1:
1af65a03bf425039cc1308e957b4d223
---
Credits:
- Greenify Developer/Creator - Oasis Feng (XDA Thread and Play Store Page).
- Magisk Developer - Topjohnwu (Official Thread).
- Unity Template Developers - Zackptg5 and Ahrion (Official Thread).
- Thread Logo By @MickyFoley.
- Useful Repositories:
Module Repository
Unity Repository
I'm on stock one plus 3t and its still asking to install xposed
omair2005 said:
I'm on stock one plus 3t and its still asking to install xposed
Click to expand...
Click to collapse
That shouldn't happen, you already had the app before installing the module?
It should show like that on the attached screenshot (with or without root access):
That's what I have but When I try to turn on xposed settings like notifications while hibernated, it tells me to download xposed
omair2005 said:
That's what I have but When I try to turn on xposed settings like notifications while hibernated, it tells me to download xposed
Click to expand...
Click to collapse
Sorry, I don't want to be rude, but have you even read the entire OP? It says at the beggining that it's a module to get the greenify working as a previleged app which you was able to get by enabling the app at xposed (the root + boost mode) and rom-integrated, that's it and it's a greenify feature. It's not saying that you'll get any other xposed-side feature nor paid features... Please, read it properly. Thanks for the feedback btw.
Works fine for me at the moment, thanks! Will this module have to be updated every time a new version of Greenify is released?
thanks that's working
de.er said:
Works fine for me at the moment, thanks! Will this module have to be updated every time a new version of Greenify is released?
Click to expand...
Click to collapse
I get notificated every time a new release is out on apkmirror, so, yes I'll update it everytime a release is out. I requested topjohnwu on the repo central already to get the module into the magisk manager download section, so everytime an update is out you'll receive through the app, until there, I'll send it over here
oh lawd yaasss, lol.. I was sick and tired of copying and pasting greenify as a system app after a new flash ; My life will be easier.
Thanks! Can I still use my features that I got from donation package?
Hubi97 said:
Thanks! Can I still use my features that I got from donation package?
Click to expand...
Click to collapse
The main greenify app itself is totally free, you'll still get the extra paid features if you've bought the donation app package on the play store.
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify.pro
Splendid, that's great! Thanks!
abacate123 said:
Greenify4Magisk
Introduction:
Do you remember the boost mode that you could enable by activating the greenify on xposed? If yes, and if you used to like that mode, and would like to achieve that without xposed and without trigger the safetynet, then this simple module is for you.
Quick Explanation:
A very simple module just to make Greenify work as a rom-integrated (privileged) app, to achieve the best hibernating performance it could give, without xposed and trigger the safetynet detection. It'll just add a folder with the apk into /system/priv-app.
Requirements:
- Android 4.4+ (This is Greenify's requirement)
- Magisk (MagiskSU/Magisk Manager MUST HAVE)
Download:
https://www.androidfilehost.com/?fid=889764386195898969
Changelog:
- Updated Greenify to 3.4.2
- Added Greenify 3.4.1
- Initial release with Greenify 3.4
You can always check the module source:
https://github.com/abacate123/Greenify4Magisk
About the apk:
* Apk downloaded directly from APKMirror, original and not tampered in any way, check below:
Credits:
- Greenify Developer - Oasis Feng (https://forum.xda-developers.com/showthread.php?t=2155737 and https://play.google.com/store/apps/details?id=com.oasisfeng.greenify).
- Magisk Developer - Topjohnwu (https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445).
- Third party source code used: https://github.com/topjohnwu/magisk-module-template
Click to expand...
Click to collapse
What is this? I don't understand. How to use?
LawUysal said:
What is this? I don't understand. How to use?
Click to expand...
Click to collapse
Just flash it if you have magisk. It will install Greenify and makes it possible to use the features for which you normally need xposed which isn't available for Nougat yet
LawUysal said:
What is this? I don't understand. How to use?
Click to expand...
Click to collapse
Thanks for asking, it's not bad to ask things you don't know, but please don't quote the whole OP, thanks again
Lemme make a quick explanation (as the topic seems to not be clear enough for some), this module will put the greenify apk inside the /system/priv-app folder, and enable the greenify privileged feature called boost mode, and you can get this by simply adding the apk inside that folder manually as well, I've created this simple module to install it systemlessly and quickly.
I hope you got it now, and I appreciate your feedback. You can support Oasis Feng amazing work (greenify's developer) as well, by buying his donation package on play store, if you wish.
Cheers.
Magisk isn't working. "Install Error"
LawUysal said:
Magisk isn't working. "Install Error"
Click to expand...
Click to collapse
You must be doing something wrong fellow. Try again, see if your magisk version is the latest (v12), or uninstall any previous greenify app installed, if you have any. I just reinstalled here the zip and it installed with no issues so far as it should be.
See the attached pic.
Let me clear to everyone that you will not be able to use xposed features !! This is a module just to make greenify as privileged app without wasting time and breaking safetynet. Thanks to the developer !!
tested on OOS 4.1.3 on Oneplus 3t works beautifully thank you!
I thought, a logo / sample for an icon would be nice . Thanks for the time, buddy.
Vectors in attachment.

[Non-Root Xposed] LSPatch : An open-source alternative for non-root LSPosed

Hi all!
Many in this community seem to be unaware of LSPatch (https://github.com/LSPosed/LSPatch), which is an alternative for non-root LSPosed.
I just tested it out, and seems to work perfectly with the apps I tested with my Xposed module AllTrans. Ofcourse being non-root, it does not work with system-wide modules.
There are other such apps such as SandVXPosed, VirtualXposed, TaiChi. Like Taichi, LSPatch does not create a full virtual "parallel-space" launcher, but modifies the apk and injects LSPosed into it.
LSPatch is also open-source and non-restricted, so its safe and anyone can use it.
Dislaimer - I am in no way associated with LSPatch. All credits go to the developers at https://github.com/LSPosed/LSPatch
Tested on Android 11 Samsung, with the latest Canary build of LSPatch.
You say no system wide usage, I'm assuming this would mean something like mockmocklocations wouldn't work?
Can you tell me how to install this module?
Usage​
Through jar
Download lspatch.jar
Run java -jar lspatch.jar
Through manager
Download and install manager.apk on an Android device
Follow the instructions of the manager app
Click to expand...
Click to collapse
I am stuck at the "Through jar" part. What do I need to to with the downloaded lspatch.jar?
Tried this on my Samsung S22 Ultra with AllTrans and it actually seemed to work! Only app I had to try was Telegram X so it had some glitches but the fact the module worked is amazing! I've been playing with iOS recently and found out you can inject frameworks on there so I was recently wondering if it was possible on android and then I found this! Thank you! Any ideas what other modules might work?
Galaxy-Geek#1 said:
Tried this on my Samsung S22 Ultra with AllTrans and it actually seemed to work! Only app I had to try was Telegram X so it had some glitches but the fact the module worked is amazing! I've been playing with iOS recently and found out you can inject frameworks on there so I was recently wondering if it was possible on android and then I found this! Thank you! Any ideas what other modules might work?
Click to expand...
Click to collapse
telegram has now builtin translation? right? atleast in my desktop app (official) and nekogramx (unofficial mod)
Rararikuri said:
Can you tell me how to install this module?
Click to expand...
Click to collapse
Just download and install the precompiled Manager.apk from https://github.com/LSPosed/LSPatch/releases/
If you don't already know to build things with jar files, it's not worth trying to do it yourself.
Link575 said:
You say no system wide usage, I'm assuming this would mean something like mockmocklocations wouldn't work?
Click to expand...
Click to collapse
I have a similar questions. I've found two modules that I've tried to install Undo and ****Location, and while they do show up in the LSpatch modules page, I don't see any way to actually use them, nor do I see any way to further activate or configure them...
Is it just that these are system-wide apps, so LSpatch (with Shizuku) can't run them?
If that's the case, can anyone suggest some useful modules that DO work with LSpatch?
User.Hemlock said:
I have a similar questions. I've found two modules that I've tried to install Undo and ****Location, and while they do show up in the LSpatch modules page, I don't see any way to actually use them, nor do I see any way to further activate or configure them...
Is it just that these are system-wide apps, so LSpatch (with Shizuku) can't run them?
If that's the case, can anyone suggest some useful modules that DO work with LSpatch?
Click to expand...
Click to collapse
I never looked into it much further but I do think that the way LSpatch seems to work is you choose the module and then you get a list of your apps from which you can choose. Picking those apps will then patch those apps with that module....I think, I could be totally wrong. Either way, mockmocklocations did not work when patching pokemon go with it.
I'm having trouble getting the apps/modules to work.
I've got shizuku working perfectly for other apps, now I have lspatch but hidemyapp list, GPS setter, and android faker all say that xposed module isn't enabled, any advice?
But I got undo working and I have secure flag disable too but Idk what app to test it on
spart0n said:
I'm having trouble getting the apps/modules to work.
I've got shizuku working perfectly for other apps, now I have lspatch but hidemyapp list, GPS setter, and android faker all say that xposed module isn't enabled, any advice?
But I got undo working and I have secure flag disable too but Idk what app to test it on
Click to expand...
Click to collapse
I want to try out secure flag disable, can you check if it works with WhatsApp? The one time pics in WhatsApp
aadeshiscool said:
I want to try out secure flag disable, can you check if it works with WhatsApp? The one time pics in WhatsApp
Click to expand...
Click to collapse
Well I don't use whatsapp but I did just take a screebshot in Netflix of an episode of blacklist....
spart0n said:
Well I don't use whatsapp but I did just take a screebshot in Netflix of an episode of blacklist....
Click to expand...
Click to collapse
Awesome
spart0n said:
Well I don't use whatsapp but I did just take a screebshot in Netflix of an episode of blacklist....
Click to expand...
Click to collapse
Can give the link to the apk that you have used, disable secure flag. Also which one ui version are you running
aadeshiscool said:
Can give the link to the apk that you have used, disable secure flag. Also which one ui version are you running
Click to expand...
Click to collapse
lsposed module list
I'm on stock oneui 5.1 on January update s23 ultra
spart0n said:
lsposed module list
I'm on stock oneui 5.1 on January update s23 ultra
Click to expand...
Click to collapse
Weird I'm also using the same exact phone but Netflix fails to open and crashes when I patch it. Did you do anything different? Can you please tell your steps? I'm using this apk, is this what you're using also?
com.varuns2002.disable_flag_secure
aadeshiscool said:
Weird I'm also using the same exact phone but Netflix fails to open and crashes when I patch it. Did you do anything different? Can you please tell your steps? I'm using this apk, is this what you're using also?
com.varuns2002.disable_flag_secure
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
spart0n said:
View attachment 5841739
Click to expand...
Click to collapse
What about your Netflix version? Maybe can you upload the patched apk here, I'll try it out. Btw do you have telegram for easier communication?
aadeshiscool said:
What about your Netflix version? Maybe can you upload the patched apk here, I'll try it out. Btw do you have telegram for easier communication?
Click to expand...
Click to collapse
I didn't patch Netflix. Its just the stock app from play store
spart0n said:
I didn't patch Netflix. Its just the stock app from play store
Click to expand...
Click to collapse
You have to patch the applications and tick the modules in the modules scope right?
aadeshiscool said:
You have to patch the applications and tick the modules in the modules scope right?
Click to expand...
Click to collapse
The only apps I patched was the xposed apps I installed

Categories

Resources