Magisk Module to change Mouse Pointer? - Magisk

I found this app that creates a Magisk module with your device's framework-res.apk with a replaced mouse pointer
Releases · thesandipv/pointer_replacer
Xposed or Magisk Module to replace touch pointer. - thesandipv/pointer_replacer
github.com
But it causes a bootloop on Android 11 and also can't work with a frameworks-res.apk you provide yourself from a different device.
The app also has a forced Google login on startup.
Since the app is open-source, can anyone perhaps remove the dependency to Google Play Services and the forced Google login on the startup screen so it can also work on AndroidTV and de-Googled phones?
Anyway to provide your own frameworks-res.apk from a different device to create a Magisk module instead?
The app creates a Magisk Module with a full changed frameworks-res.apk which might interfere with other overlay files.
Anyway to use runtime resource overlay instead so only the pointer_arrow.png is changed so there are minimal problems with other overlay files?
Are there any other Magisk module that could perhaps overlay the frameworks/base/core/res/res/*drawable/pointer_arrow.png instead?

dewettie said:
I found this app that creates a Magisk module with your device's framework-res.apk with a replaced mouse pointer
Releases · thesandipv/pointer_replacer
Xposed or Magisk Module to replace touch pointer. - thesandipv/pointer_replacer
github.com
But it causes a bootloop on Android 11 and also can't work with a frameworks-res.apk you provide yourself from a different device.
The app also has a forced Google login on startup.
Since the app is open-source, can anyone perhaps remove the dependency to Google Play Services and the forced Google login on the startup screen so it can also work on AndroidTV and de-Googled phones?
Anyway to provide your own frameworks-res.apk from a different device to create a Magisk module instead?
The app creates a Magisk Module with a full changed frameworks-res.apk which might interfere with other overlay files.
Anyway to use runtime resource overlay instead so only the pointer_arrow.png is changed so there are minimal problems with other overlay files?
Are there any other Magisk module that could perhaps overlay the frameworks/base/core/res/res/*drawable/pointer_arrow.png instead?
Click to expand...
Click to collapse
Have you thought to ask the developer these questions
Thats what i would do....rather than ask random people on a forum
Especially asking them to hack a developers work....
In general what youre asking is such a niche request for a niche function that almost no one uses....
Ive literally never enabled that ever in a decade of Android , let alone thought "id like to custom it"
Ask the dev...

Related

how to make exposed changes permanent???

please any one know .how to make xposed changes permanent??
that is it remains there ..... even we uninstall xposed...
AS far as my understanding goes, xposed redirects specific function calls at runtime to other functions with the intend to run different code than the app would normally do. That said, redirecting those calls can not work without xposed framework or without the xposed modules as no changes are made to the apps directly.
Correct me if I'm wrong.
You are absolutely no wrong, however if we decompile the apk that is being modded via some specific module and we change the code of the redirected functions to the one included within module and recompile the apk, we should get an apk working exactly the same as if it was hooked via xposed+module.
Please note that a lot of modules has been originally created basing on reverse idea: first someone made a mod by changing the java/smali code of some apks, then someone wrote a module making same changes but via xposed, on-the-fly.
In my opinion such an automated tool to recompile the apks and change their code basing on the code included in a xposed module IS possible.
No one made it yet, tho...
Definitely not possible. You cannot simply redirect code from one app to another. With xposed, you are always running within app that's being modded.
esgie said:
You are absolutely no wrong, however if we decompile the apk that is being modded via some specific module and we change the code of the redirected functions to the one included within module and recompile the apk, we should get an apk working exactly the same as if it was hooked via xposed+module.
Please note that a lot of modules has been originally created basing on reverse idea: first someone made a mod by changing the java/smali code of some apks, then someone wrote a module making same changes but via xposed, on-the-fly.
In my opinion such an automated tool to recompile the apks and change their code basing on the code included in a xposed module IS possible.
No one made it yet, tho...
Click to expand...
Click to collapse
Im with this guy, and if you read on xposed... yes its code being "injected" into the stock apk ...
What xposed does is creates side files (ran by zygote)
They get copied to /system/bin as app_process(xposed)
Or app_process(origional)
These files act as Init.d scripting... to inject this code...
I assume they make both these copies for reverting back to stock (disable the module)
It IS possible to make these changes permanent and re-compile the apk...
However ... de-coding the module ... to find out what is getting injected where... THATS where im at so far ...
Arter 97 has proven this possible with adaway as a standalone apk in conjuction with his youtube apk... im assuming hes using code to call upon the adaway apk files , and still using it like xposed... but merely without xposed..
If anyone with more experience could point us on how to track down how to find exactly WHAT code is being injected and where... it would be EXTREMELY helpful to many people not wanting to run 3rd party applications to get their desired functions...
Anyone feel free to chime in

>>> DELETED <<<

>>> DELETED <<<
Also would like to know since xposed takes forever to reach the latest version of android.
Because Xposed is an API-based framework, allowing you to surgically go into Android to hook and modify the behavior of the specific methods you want.
Magisk is a mask, allowing you to make changes to your runtime system, but not at surgical, method-specific level. It can change props, make system-level replacement, etc., but if you want to change something, you need to replace the entire package that the something comes with.
Magisk is just a way to change system files without actually writing to the system partition while xposed is framework in the art runtime letting you hook into applications natively without have to completely replace the package just to use mods. They aren't the same thing at all as magisk thosent let you do anything you couldn't already do by writing to system. Things like changing volume steps are impossible with magisk but a few calls with xposed. Redirecting state based app requests is also impossible without xposed
Thread closed at the OP's request and unhelpful comments removed. Please folks, if being unhelpful and joking around at the OP's expense is your only intention for posting here, just stop and don't bother posting at all. No one's got time for your spam.

Exhausted Search

Hi
I'm probably blind, but I've spent the last couple of days searching for a Magisk module similar to App Locale on Xposed (primarily to replace Google Maps language) and have found nothing.
Does anyone know of a similar module?
Or am I asking for something this system wasn't designed to accomplish?
Thanks in advance.
I took a look at what App locale does, and yes... It's not what Magisk is designed for.
Magisk replaces files on your system systemlessly and runs scripts at boot (file injector).
Xposed can change the behavior of a running app (code injector).
You can accomplish something similar with Magisk, but you'd have to manually edit the apk of the app you want to change and then inject it with Magisk. A bit cumbersome...
Good to know.
Thank you.

Create module that executes code if another app is started or run forever in background?

Hello!
I'm currently playing around with Java and Xposed development and I have created a simple Android app that creates a .txt file in a folder.
What I would like to do is create a Xposed module that can automatically detect when I create said .txt file, I have 2 ideas on how I could achieve that but I'm not sure what might be the best:
Idea #1:
Create some sort of background service that will always be runnning and check if there are any or new files in said folder or maybe use the FileObserver method.
Idea #2:
Hook into the app and run a function inside my Xposed module that checks with regular interval if there are any files in the folder.
I have never really done any Java or Xposed development before so all this is quite new, but I would love to know what would be the best aproach or if anyone has some better suggestions!
Thank you all!
I don't see a xposed requirement here. File change observation is easily done by automation apps like Tasker(event->file->file modified), doesn't need xposed for it. Xposed framework better used for modifications to system or apps.
As per second requirement of performing user actions on a app, you can use Xposed edge(xposed plugin) inject gestures / AutoInput(tasker plugin)

How to share config/preferences between XPosed module and another app?

Hi, since XSharedPreferences is no longer a viable way to share data between XPosed module and another application, how would one accomplish such task? I need to have several string/int values saved in a configuration file that my XPosed module must read in its handleLoadPackage() method. RemotePreferences package is also not working above Android 11 as far as I know. How can it be done?
Use XSharedPreferences via edxposed / lsposed. It works. For any other API/xposed there is MultiprocessPreferences. I've wrote a wrapper to use both simultaniously

Categories

Resources