Repository navigation
FAQs
Welcome to the centralized aShell You knowledge base. This document covers general architecture, security concepts, and comprehensive troubleshooting matrices for every connection mode and advanced feature module.
What makes aShell You different from standard terminal emulators?
Standard Android terminal emulators run commands within an unprivileged application sandbox (UID u0_a...) without access to system services or package management tools. aShell You implements a direct ADB transport client that speaks directly to the Android adbd daemon over USB, TCP/IP, or the Shizuku Binder interface. This allows elevated system debugging operations (UID 2000 shell or UID 0 root) without requiring an external desktop workstation.
Does aShell You require root access?
No. Root access is completely optional. Most core operations—including package management, system setting modifications, logcat inspection, screen mirroring, and file transfers—execute under standard ADB system permissions (UID 2000) via Shizuku, Wireless Debugging, Local TCP/IP, or physical USB OTG.
Does aShell You collect any telemetry or personal data?
No telemetry or user analytics are collected. All commands, logs, bookmarks, and device connections remain strictly on the host device. Crash reports generated in developer diagnostics are voluntary and contain only technical stack traces.
Why do commands execute without the "adb shell" prefix?
aShell You connects directly into the target device's shell daemon. Commands are dispatched directly to the underlying Toybox or Toybox shell. Therefore, enter standard shell commands directly (e.g. pm list packages or dumpsys battery) rather than prefixing them with adb shell.
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
| "Permission denied" (Exit code 13) in Local ADB | Command requires elevated system or root privileges while running in Basic Shell | Switch the execution tier to Shizuku, TCP/IP, or Root in the Local ADB drawer. |
| "TCP Mode Not Available" dialog appears | Port 5555 closed following device reboot | Tap Use wireless debugging to activate port 5555 on-device in seconds, or run adb tcpip 5555 once from a computer. |
"Connection refused (111)" on 127.0.0.1:5555 |
ADB daemon reverted to USB-only mode after reboot | Follow the TCP/IP Setup Guide to re-enable port 5555. |
| Host charges target, but OTG does not detect device | USB role negotiation failed or adapter placed on wrong device | Ensure the OTG adapter is plugged into the Host phone, not the target. On the host, set the USB system notification to This device controls the connection. |
| "Device unauthorized" error across USB or Wireless | RSA key prompt was ignored, rejected, or timed out | Unplug and reconnect the cable, or toggle Wireless Debugging off and on. In Android Developer Options on the target, tap Revoke USB debugging authorizations and re-authorize. |
| mDNS discovery fails in Wireless Debugging | Access Point (AP) Isolation enabled on Wi-Fi router | Connect both devices to the same frequency band on a router with AP/Client Isolation disabled, or use QR code pairing. |
| Notification pairing prompt does not appear (Android 13+) | System notification permissions disabled for aShell You | Open Android Settings > Apps > aShell You > Notifications, and grant notification access. |
Commands fail with SecurityException on Xiaomi / POCO |
HyperOS / MIUI security debugging toggle inactive | On the target device, open Developer Options and enable both Install via USB and USB debugging (Security settings). |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
| "Waiting for device" hangs in Fastboot mode | Target is not in bootloader mode or USB interface unclaimed | Ensure the target displays the bootloader screen (Power + Volume Down). Re-seat the USB-C cable and accept the USB permission prompt on the host. |
FAILED (remote: 'Partition not found') |
Attempting to flash dynamic logical partitions in ABOOT | Dynamic partitions (system, vendor, product) on Android 10+ must be flashed in Fastbootd mode (fastboot reboot fastboot), not primary bootloader. |
FAILED (remote: 'Flashing is not allowed in Lock State') |
Bootloader is locked by manufacturer security | Enable OEM Unlocking in Developer Options and perform the manufacturer bootloader unlock procedure. |
| Target disconnects during large partition flash | Host USB bus power drop or OS battery saver intervention | Use a high-quality shielded USB 3.0 cable and set aShell You battery optimization to Unrestricted. |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
| Screen mirroring starts with black display or decoder crash | Target device hardware encoder failed to initialize at selected resolution | Open quality settings and reduce resolution to 720p or lower bit rate to 4 Mbps. Ensure the target screen is awake. |
| High latency or video stuttering over Wi-Fi | Packet jitter or local network congestion | Connect via physical USB OTG or reduce video bit rate. Ensure 5 GHz Wi-Fi is used instead of 2.4 GHz. |
| Touch gestures unresponsive on mirrored screen | Target device running Android 10 or lower, or permission missing | Android 11+ is required for virtual input injection. On Xiaomi devices, enable USB debugging (Security settings). |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
| Sideload stalls indefinitely at 47% | Standard recovery behavior during payload verification | In stock Android recovery, 47% indicates that signature verification has completed and payload block writing has begun. Do not disconnect; wait for recovery confirmation. |
Signature verification failed in Recovery |
Flashing an unsigned or mismatched update package | Verify that the ZIP package matches the device model and cryptographic key requirements of the active recovery. |
Sideload reports Closed transport before starting |
Target device timed out in recovery sideload mode | Re-select Apply update from ADB on the target recovery menu to restart the sideload listener. |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
| Logcat output empty or unresponsive | Target log buffer cleared or permission missing | Verify that the connection is active and tap the buffer selector to confirm main and system buffers are selected. |
| Search returns zero results despite visible logs | Invalid regular expression syntax | Verify that regex metacharacters (e.g. [, ], (, )) are properly escaped or toggle standard text search. |
| App stutters under heavy log spam | High volume of log events overwhelming UI thread | Increase the minimum log priority to Warn or Error, or apply specific package / tag filters. |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
Cannot write to /system or /vendor |
Partition mounted as read-only (E-ROFS or ext4 ro) | Remounting system partitions requires root access and a writable system setup (remount). |
File push fails with No space left on device |
Target partition storage exhausted | Verify free space on /sdcard or target mount point before initiating transfer. |
| Destination file overwritten unexpectedly | Duplicate file name without conflict prompt | Use the built-in conflict resolution options (Rename, Skip, or Overwrite) in the transfer dialog. |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
Address already in use error when creating tunnel |
Local port is bound by another service or daemon | Select an alternate unprivileged host port (e.g. 8081 instead of 8080). |
Forward tunnel active but browser shows Connection Refused |
Remote service on target device is not listening on specified port | Verify that the target server application is running and bound to 0.0.0.0 or 127.0.0.1. |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
| Tile tap shows error toast | Shizuku service inactive or root privileges denied | Ensure Shizuku is running in the background or verify superuser authorization. |
| Tile state out of sync with actual system setting | Setting modified externally outside of QS tile toggle | Tap the tile to cycle states, or adjust the initial state in the tile editor. |
| Symptom | Probable Cause | Recommended Resolution |
|---|---|---|
API key invalid or quota exceeded |
Expired or unconfigured provider credentials | Open AI settings and enter a valid API key for Google Gemini or your chosen provider. |
| Assistant generates command but does not execute | Awaiting user approval at safety gate | Review the command syntax displayed in the permission card and tap Allow or Always allow. |
If you run into any issues or want to ask questions, feel free to:
- Join our Telegram Community
- Open an Issue on GitHub
- Local ADB Guide
- TCP/IP Setup Guide
- Wireless Debugging Setup
- OTG ADB Setup Guide
- Fastboot over OTG Guide
- USB Debugging Setup