AppManager icon indicating copy to clipboard operation
AppManager copied to clipboard

Terminal not working in wireless debugging mode

Open AlexeiCrystal opened this issue 4 months ago • 8 comments

Please check before submitting an issue

  • [x] I know what my device, OS and App Manager versions are
  • [x] I know how to take logs
  • [x] I know how to reproduce the issue which may not be specific to my device

Describe the bug

The terminal stopped working after the 4.0.5 update. Nothing is written in response to commands and the commands themselves are not executed

To Reproduce

No response

Expected behavior

No response

Screenshots

Image

Logs

No response

Device info

  • Device: Redmi Note 9 Pro
  • OS Version: Android 12 (MIUI 14)
  • App Manager Version: 4.0.5
  • Mode: ADB

Additional context

No response

AlexeiCrystal avatar Aug 06 '25 18:08 AlexeiCrystal

Does your device support sh -i command? We spawn a new shell using this command from v4.0.5.

MuntashirAkon avatar Aug 06 '25 21:08 MuntashirAkon

On my device, sh -i is supported. I have tried in termux in normal mode and aShell You in ADB mode

AlexeiCrystal avatar Aug 07 '25 05:08 AlexeiCrystal

On my device, sh -i is supported. I have tried in termux in normal mode and aShell You in ADB mode

In that case, please take logs using AM Debug in no-root mode.

MuntashirAkon avatar Aug 07 '25 06:08 MuntashirAkon

In no-root mode it works

Image

AlexeiCrystal avatar Aug 07 '25 06:08 AlexeiCrystal

Try with ADB, then.

MuntashirAkon avatar Aug 07 '25 06:08 MuntashirAkon

Not working in ADB mode

AlexeiCrystal avatar Aug 07 '25 07:08 AlexeiCrystal

This problem exists in ADB mode via wireless debugging, at the same time if you run via sh /storage/emulated/0/Android/data/io.github.muntashirakon.AppManager/cache/run_server.sh 60001 throb-start-ship then the terminal works

AlexeiCrystal avatar Aug 18 '25 18:08 AlexeiCrystal

am.log

AlexeiCrystal avatar Sep 06 '25 12:09 AlexeiCrystal