bmax121 / APatch

The patching of Android kernel and Android system
GNU General Public License v3.0
4.75k stars 355 forks source link

Commands of Magisk module with terminal commands fail to run on terminal emulation #141

Closed tinbilly closed 8 months ago

tinbilly commented 10 months ago

Please check before submitting an issue

Describe the bug

Magisk module with terminal commands fail to run terminal command

To Reproduce

  1. Flash modules terminal_systemizer and/or Cache Cleaner
  2. Open Termux - a terminal emulation
  3. Enter commands as instructed
    • for terminal_systermizer: systemize OR systemize -h
    • for Cache Cleaner: su -c cleaner

Expected behavior

Commands run

Screenshots

No response

Logs

No response

Device info

Additional context

No response

Yervant7 commented 10 months ago

Disable exclude from termux in APatch

tinbilly commented 10 months ago

I tried. But it did not work. I got this error message "/system/bin/sh: cleaner: inaccessible or not found" when running su -c cleaner on Termux.

omer-1080314 commented 10 months ago

Same for me

Screenshot_2024-01-30-16-11-05-05_84d3000e3f4017145260f7618db1d683

Screenshot_2024-01-30-16-23-59-05_16a6b69c56a7525086be0cba9e63672f

bmax121 commented 8 months ago

Try the latest version, and if it still doesn't work, reopen the issue.