Hi mate, would it be too much of a hassle to fix the following issue?
This module systemizes GPS Joystick successfully however it seems to generate incorrect permissions for GPS Joystick so it crashes on launch.
As I'm on a stock Google pixel 4 XL running android 11 the system images are formatted with EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS. The EXT4 shared blocks feature is RO (read-only) so there is no way I can make the edits as outlined in the instructions attached and linked below.
Would it be possible for systemizer to incorporate these fixes so I wouldn't have to edit permission files?
Instructions also listed here under "Setup" - "root method":
http://gpsjoystick.theappninjas.com/faq/
What you want is far beyond the scope of systemizer, it will do step 1, and thats it....
The rest is achievable by creating a magisk module, most of it fairly easy, until you get to Step 4, because the device name is dynamic, so one size wont fit all.
Ive decided to give you a huge headstart (hopefully) because i cant (or dont have the time to) test it, and have created a quick magisk module for you attached to this post. As its a fairly easy (theoretically) one. Most of the work is done, according to the method youve posted and linked to - worth pointing out theres no promise it will work when completed, and i offer exactly zero support.
to complete:
1) unzip the attached magisk module somewhere
2) put the fake GPS joystick apk in the /system/priv-app folder in the magisk module
3)find the
system/etc/permissions/privapp-permissions-xxx.xml" (where xxx represents your device name) on your phone and copy to the /system/etc/permissions folder in the magisk module
4) Edit it as described in Step 5 in the post you have posted and linked to
5) zip the magisk module back up and transfer to phone and install via magisk manager, and test
Note: the file permissions for the apk and xml permissions files are taken care of via the
set_perm_recursive $MODPATH/system 0 0 0644 line in custimize.sh in the root of the magisk module
You can familiarize yourself with the MMT-EX extended magisk modules format here if yuo like:
Magisk Module Template Extended. Contribute to Zackptg5/MMT-Extended development by creating an account on GitHub.
github.com
Its not terribly hard to make a module, especially one thats relatively simple, hopefully you can figure out from what i did how easy it can be...
All i did was:
- Downloaded the MMT- Extended Master zip from here: https://github.com/Zackptg5/MMT-Extended
- Extracted it
- Edited the modules.prop file to name the module and set a few other basics shown in Magisk Manager
- Created the folders /etc/permissions under the modules /system directory
- Created the first permissions xml file under /system/etc/permissions (because thats where you want it to end up - make sense?)
- Created the folder /priv-app under the modules /system directory (placeholder for you to put apk into, again this where you want the apk to end up)
- Edited the customize.sh file in the module root folder to add $MODPATH/system 0 0 0644 line
- Zipped module
Note: obviously if the module works, there no need to use the systemizer module for the application as its placement will be handled within the module itself