Troubleshooting - jaylikesbunda/Ghost_ESP GitHub Wiki
Troubleshooting
A guide to common issues and their solutions for GhostESP firmware.
Table of Contents
- Flashing Problems
- Board-Specific Issues
- WiFi & Connection Issues
- Display & UI Problems
- Evil Portal Issues
- Getting Help
Flashing Problems
Connection Issues
- 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:
Bootloader Mode
- 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
Common Flash Errors
- 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
Board-Specific Issues
AWOK Dual Mini
- 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
CYD Boards
- All Models Now Supported:
- Single USB-C
- Dual USB ports
- MicroUSB variants
- Flash Requirements:
- Use bootloader mode sequence
- Select correct board in flasher
- Clear cache if connection fails
WiFi and Connection Issues
Web UI Connection
-
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.
Display and UI Problems
Touch Navigation
- Design Layout:
- Upper screen half: Move UP
- Lower screen half: Move DOWN
- Middle: SELECT
- Main menu: Direct touch selection
Screen Issues
- 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
Evil Portal
Evil Portal Setup Steps
- 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
Connecting to the Evil 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 password for the Evil Portal AP is the same as the SSID.
- 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’s Wi-Fi off and on again to clear cached networks.
Tip: Windows and other devices sometimes cache network access points, so refreshing your Wi-Fi can help display the correct AP.
Common Portal Issues
- 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
Getting Help
Before Asking
- Check latest firmware version
- Review troubleshooting steps
- Gather information:
- Board type and ports
- Firmware version
- Error messages
- Steps to reproduce
Support Resources
- Use support form template
- Check apps_data/ghostesp for logs
- Review serial terminal output
- Command help:
help