Mmm, those scripts are not going to work.
Getting ADB going is more than just starting the adbd daemon.
Usually setprop sys.usb.config adb is used, but I believe Onyx screwed around with all that.
If you're using Magisk it does the file shadowing/substitution in init. So any changes are not immediately propagated.
In worst case, you can flash the stock boot image back and there won't be any Magisk. Then you can delete/modify your Magisk module.
Keep it simple, no shell scripts in your Magisk module.
Try something simple like putting system/hello in your module and see if it's visible.
|