Troubleshooting - jaylikesbunda/Ghost_ESP GitHub Wiki
this page is outdated but may help you
A guide to common issues and their solutions for GhostESP firmware.
- Flashing Problems
 - Board-Specific Issues
 - WiFi & Connection Issues
 - Display & UI Problems
 - Evil Portal Issues
 - Dual ESP32 Communication Issues
 - Getting Help
 
- Problem: Can't connect or flash fails
 - 
Solutions:
- USB Preparation:
- Use data-capable USB cable (not charge-only)
 - Try different USB ports
 - Clean USB connections
 
 - Driver Issues:
- Install correct USB drivers
 - Clear browser cache for web flasher
 - Try different browser if issues persist
 
 
 - USB Preparation:
 
- 
Basic Method:
- Hold BOOT button
 - Connect USB
 - Release BOOT after connection
 
 - 
Alternative Method (if basic fails):
- Hold BOOT
 - Press RESET while holding BOOT
 - Release RESET
 - Release BOOT
 
 
- 
Wrong Board Selected
- Verify physical USB port type
 - Match board selection to actual hardware
 - Check if board has multiple ports
 
 - 
Connection Timeout
- Retry bootloader sequence
 - Try different USB cable
 - Verify power LED is on
 
 
- 
Port Configuration:
- White port (WROOM): GUI/display firmware only
 - Orange port (S2): No BLE support
 
 - 
Common Problems:
- Cross-flashing between ports causes issues
 - Communication errors between Flipper and board
 
 - 
Solutions:
- Flash correct firmware to each port
 - Don't mix firmware between ports
 - If port stops responding:
- Enter bootloader mode
 - Reflash correct firmware
 - Verify connections
 
 
 
- 
All Models Now Supported:
- Single USB-C
 - Dual USB ports
 - MicroUSB variants
 - AITRIP CYD (ESP32-2432S028R)
 
 - 
Flash Requirements:
- Use bootloader mode sequence
 - Select correct board in flasher
 - Clear cache if connection fails
 
 
- 
Problem: Can't connect to the GhostNet ap
 - 
Solution:
- 
Try the default password:
GhostNet - 
Try the credentials you use to login to the web interface.
- The GhostEsp used the same credentials for the web UI as it does for the wifi access point
 
 
 - 
 - 
Problem: Can't access web interface
 - 
Solution:
- Connect to ESP's WiFi network
 - Browse to 192.168.4.1
 - Enter WiFi credentials in settings
 
 - 
Problem: I get booted from the GhostNet AP every time I issue a wifi command
 - 
Solution:
- This is a limitation of the ESP32. The chip can only serve an AP or connect/monitor other networks
 - Wait until the command finished and reconnect to the AP, or use a different control interface such as serial, the flipper app, or a touch screen.
 
 
- 
Design Layout:
- Upper screen half: Move UP
 - Lower screen half: Move DOWN
 - Middle: SELECT
 - Main menu: Direct touch selection
 
 
- 
Black Screen:
- Verify correct firmware for display
 - Check power connections
 - Try reflashing firmware
 
 - 
Garbled Display:
- Update to latest firmware
 - Check display cable connection
 - Verify board selection matches hardware
 
 
- Problem: Display turns off too quickly
 - 
Solution:
- Adjust display timeout in settings
 - Use "Never" setting to keep display always on
 - Power saving mode can be disabled if needed
 
 
- Configure portal settings in web UI
 - Verify ESP has IP address before starting
 - Use appropriate URLs:
- Desktop: domain.local/login
 - Mobile: include "https://" in portal URL
 
 - Note: If redirecting to MSN, you're likely connected to actual internet instead of the ESP portal
 
If you're using the Evil Portal feature, note the following:
- 
Connect to the Evil Portal AP: Instead of connecting to "GhostNet," connect to the Evil Portal's Access Point (AP). The portal AP's password is configurable and is not automatically the same as the SSID; by default the portal AP may be open (empty password). Use 
startportal <file> <AP_SSID> [PSK]to set a PSK. - Web UI Replacement: When the Evil Portal is active, the normal web UI is replaced. You won't have access to the web UI until the board is restarted.
 - Refreshing Access Points: If "GhostNet" still appears after activating the Evil Portal, turn your device off and on again.
 
Tip: Windows and other devices sometimes cache network access points, so refreshing your Wi-Fi can help display the correct AP.
- 
Desktop Issues:
- Auto-redirect to MSN: ESP using actual internet DNS instead of portal
 - Failed to fetch: Check portal configuration
 
 - 
Mobile Issues:
- "Header fields too long": Add "https://" to URL
 - CSS display issues: Known limitation on mobile
 
 
- Problem: HTML upload fails
 - 
Solution:
- Ensure HTML is under 2048 bytes
 - Use simple HTML without complex CSS/JS
 - Try the built-in template first
 
 
- Problem: Devices not connecting
 - 
Solutions:
- Check wiring (TX→RX, RX→TX, GND connected)
 - Ensure both devices are powered
 - Reboot both devices simultaneously
 - Wait 30 seconds for discovery
 - Run 
commstatusto check connection 
 
- Problem: Commands not working on remote device
 - 
Solutions:
- Verify connection with 
commstatus - Use exact GhostESP command syntax
 - Check if remote device is responsive
 - Try reconnecting with 
commdisconnectthen reboot 
 - Verify connection with 
 
- Check latest firmware version
 - Review troubleshooting steps
 - Gather information:
- Board type and ports
 - Firmware version
 - Error messages
 - Steps to reproduce
 
 
- Use support form template
 - Check apps_data/ghostesp for logs
 - Review serial terminal output
 - Command help: 
help