Flashlight/Torch module - Magisk

Is there somewhere a module for "longpress volume up to activate flashlight/torch"?
I remember a xposed module which was very handy. One did not need to unlock the phone.

Xposed modules & Magisk modules are completely different.. I unknown if is possible doing this editing some system file.

Use Torchie app.

Related

API to check if other module enabled

Has Xposed API to check if other module is enabled?
E.g. to disable hook, which is provided by other module (same functionality).
No, there isn't. The Xposed framework actually doesn't even know the package name of the modules it loads.
How about adding a setting to your module? That would work even if the other module hooks that method conditionally.
Ok. Thx for answer.

Home button wake up disabler Magisk Module request

Hello!
Is exist Magisk module that can disable Samsung device waking up on home button press?
Early i use Xposed module for disabling home wake up. But now i prefere do not use Xposed modules because when it enabled, Magisk cant pass SafetyNet test.
My question is: how to pass SafetyNet test and disable home button wake up at the same time?
There are no modules that will do this for you, out of the box, no. Xposed and Magisk does not work the same way (not even close)...
As a general rule: if it can't be done without Xposed, it can't be done with Magisk.
What you'd probably have to do is to manually edit system files to change the button behaviour (which should be possible) and then either just push those edited files to your system or systemlessly mount them with a Magisk Module.
Editing the files is best asked about in your device's forum and you'll find instructions on how to make a Magisk Module in the module template.

Xposed for Huawei P10??

Hey!
I have a biiiiiiiiiiiiig issue over here.
I struggled to install Xposed (for Nougat) normally and even if it's installed "normally" I need to have the module (Xposed SDK 24) in magisk enabled or it will give me : "xposed is installed but not active".
Xposed Testbuild module is disabled.
I can't get Snaptools to work (Module Inactive : Activate module and reboot), and as I saw on the list of modules that are compatible with Xposed, Snapprefs isn't compatible either.
Do you have an idea of why it give us those "warnings"?
Did you resolve this issue by any chance?

Magisk Hide - Hiding Specific Binar(ies) from specific application(s)

Hi,
We can hide root from specific applications by selecting them in magisk manager, however, it does not work well on my banking application.
After reverse engineering my banking application, i found that it was checking another binary in /system/xbin/. Is it possible to hide that binary file as well?
Can I write a module to achieve it? Or I need to modify the magisk hide source and recompile it?
Thanks.
What binary is it detecting? You can make a Magisk module to mount whatever binary it is to /system/xbin and then it should be hidden by MagiskHide.
Didgeridoohan said:
What binary is it detecting? You can make a Magisk module to mount whatever binary it is to /system/xbin and then it should be hidden by MagiskHide.
Click to expand...
Click to collapse
/system/xbin/which
Weird, huh?
Well, obviously /system/xbin/which is linked to busybox, so I think hiding the whole busybox should be better.
Do you mean by making a magisk module with that file, magisk hide will automatically hide the module (and hence the files inside the module)? I wonder doing this with busybox is a bit weird...
hopkinskong said:
/system/xbin/which
Weird, huh?
Well, obviously /system/xbin/which is linked to busybox, so I think hiding the whole busybox should be better.
Do you mean by making a magisk module with that file, magisk hide will automatically hide the module (and hence the files inside the module)? I wonder doing this with busybox is a bit weird...
Click to expand...
Click to collapse
In that case it should be easy... Uninstall whatever busybox you currently have and install the one from the Magisk Manager Downloads.

Module cancelation

Hello,
I sometimes make mistake when install module manually. So its great if magisk manager can add support for magisk module cancelation because no "cancel" button when install module.
Cc @topjohnwu
That's an idea...
Meanwhile (because something like that won't be implemented in a while, if it's deemed like a good idea), you can just delete the module folder under /sbin/.core/img and also the magisk_merge.img under /data/adb. After that it's like nothing happened...
If it's a module update, reflashing the previous version might be a good idea (depending on the module), instead of deleting the module folder.

Categories

Resources