View Single Post
Old 11-09-2022, 07:17 PM   #30
CrazyCoder
Zealot
CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.CrazyCoder ought to be getting tired of karma fortunes by now.
 
Posts: 110
Karma: 1161662
Join Date: Apr 2011
Location: San Diego, CA, USA
Device: Kindle Oasis (10th gen), Kobo Libra 2, Onyx Leaf2 Black
Quote:
Originally Posted by Renate View Post
Ho, ho. That doesn't count!
You have to put the file in a real Magisk module in /data/adb/modules...
And then you have to see it in /system
You need to make a module, see: https://topjohnwu.github.io/Magisk/guides.html

While you're at it, pull your /system/framework/framework.jar, post it and tell me what your fingerprint is. (Not yours!)
Code:
$getprop|grep finger
Code:
Onyx/Leaf2/Leaf2:11/2022-10-29_19-11_3.3.1_8c9d49397/1583:user/dev-keys
framework.jar

I created a module with module.prop file and hello file in system directory, the module is listed under Magisk modules and is enabled, but /system/hello file doesn't appear after reboot for some reason, logs show this:

Code:
W : Unable to add /system/hello, skipped
UPDATE: found here:

Quote:
You can not add additional files or directories to /system using this method -- it's only possible to add additional files and directories to the existing sub directories in /system.
So, I created /data/adb/modules/MyModule/system/bin/hello instead and it works:

Code:
Leaf2:/ $ cat /system/bin/hello
hello

Last edited by CrazyCoder; 11-09-2022 at 07:36 PM.
CrazyCoder is offline   Reply With Quote