Why a Text Editor on a Television?
It sounds counterintuitive — who edits text on a TV? The answer: anyone who runs sideloaded apps, emulators, or media servers on their Android TV. These apps rely on configuration files that sometimes need manual tweaks, and without a text editor on the TV itself, you'd need to:
- Pull the file to a PC (via ADB or USB)
- Edit on the PC
- Push back to the TV
- Test if the change worked
- Repeat if not
With AnExplorer's text editor, the cycle becomes: open file → edit → save → test. All on the TV. Cuts a 10-minute round-trip down to 30 seconds.
Key Use Cases
RetroArch configuration
RetroArch (the popular retro gaming emulator) uses dozens of config files:
- retroarch.cfg — master settings (video driver, audio device, controller mapping)
- retroarch-core-options.cfg — per-core settings (SNES filters, GBA color correction)
- remappings/ — controller button remapping per game
Common edits:
- Change
video_driverfrom "glcore" to "gl" if games crash - Adjust
audio_latencyto fix sound crackling - Fix controller mapping when a new gamepad isn't auto-detected
- Set
savefile_directoryto a USB drive path
With AnExplorer: navigate to /storage/emulated/0/RetroArch/ → open retroarch.cfg → find the line → edit → save → restart RetroArch.
Kodi advancedsettings.xml
Kodi power users customize behavior through XML config files:
- advancedsettings.xml — buffer size, cache mode, network timeouts
- sources.xml — media source paths
- guisettings.xml — UI preferences
Example: increasing Kodi's video buffer for 4K NAS playback:
<advancedsettings>
<cache>
<buffermode>1</buffermode>
<memorysize>209715200</memorysize>
<readfactor>20</readfactor>
</cache>
</advancedsettings>
Create or edit this file directly on the TV without needing ADB access.
IPTV playlist editing (M3U files)
M3U playlists for IPTV apps sometimes need corrections:
- Fix URLs that have changed
- Remove dead channels
- Reorder channel groups
- Add new streams
Open the .m3u file in AnExplorer's editor → make changes → save → reload in your IPTV app.
Subtitle timing fixes (SRT files)
Sometimes subtitles are slightly out of sync. Quick fixes:
- Adjust timestamps in .srt files (shift all times by a few seconds)
- Fix encoding issues (remove garbled characters)
- Merge subtitle parts
Hosts file for ad-blocking
Advanced users edit the hosts file to block ads system-wide on rooted TVs:
- Add ad-server domains pointing to
127.0.0.1 - Block telemetry domains
- Requires root access (available on some Fire TV devices)
App configuration files
Many sideloaded apps use config files:
- SmartTubeNext preferences
- Custom launcher configurations
- Automation app scripts (Tasker exports)
The Keyboard Question
Let's be honest: editing text with a TV remote and on-screen keyboard is painful. It works for small changes (fixing a single value in a config file), but anything longer requires a physical keyboard.
Recommended input methods
| Method | Speed | Best for |
|---|---|---|
| USB keyboard (wired) | ★★★★★ | Extended editing, regular use |
| Bluetooth keyboard | ★★★★☆ | Wireless convenience, occasional use |
| Mini wireless keyboard (Rii, iPazzPort) | ★★★★☆ | Compact, designed for TV |
| TV remote + on-screen keyboard | ★☆☆☆☆ | Single character changes only |
| Phone keyboard app (remote input) | ★★★☆☆ | When no physical keyboard available |
Recommendation: A mini wireless keyboard with touchpad (Rii i8, iPazzPort) costs $15-25 and transforms the TV editing experience. These are designed for Android TV use — compact, wireless, with a built-in touchpad for cursor positioning.
Keyboard shortcuts in the editor
When a physical keyboard is connected:
| Shortcut | Action |
|---|---|
| Ctrl+S | Save file |
| Ctrl+Z | Undo |
| Ctrl+A | Select all |
| Ctrl+C / Ctrl+V | Copy / Paste |
| Arrow keys | Navigate text |
| Home/End | Jump to line start/end |
| Ctrl+Home/End | Jump to file start/end |
Supported File Types
AnExplorer's text editor opens any plain-text file regardless of extension:
| Category | Extensions |
|---|---|
| General text | .txt, .md, .rtf (plain), .log |
| Configuration | .cfg, .conf, .ini, .properties |
| Data formats | .xml, .json, .yaml, .yml, .csv |
| Scripts | .sh, .bat, .cmd, .py |
| Media playlists | .m3u, .m3u8, .pls |
| Subtitles | .srt, .sub, .ass, .ssa |
| Web | .html, .css, .js |
| System | hosts, .env, .htaccess |
The editor handles files up to several megabytes comfortably. For very large log files (100+ MB), scrolling may be slow on budget TV hardware.
Practical Workflow Examples
Fix a broken RetroArch config
Scenario: RetroArch crashes after changing a setting you can't undo from its menu.
- Open AnExplorer on TV
- Navigate to
/storage/emulated/0/RetroArch/retroarch.cfg - Open in text editor
- Find the broken setting (e.g.,
video_driver = "vulkan"on a device that doesn't support Vulkan) - Change back to
video_driver = "gl" - Save → reopen RetroArch → it works again
Without the text editor, you'd need to connect via ADB from a PC or factory-reset RetroArch losing all settings.
Create a Kodi advancedsettings.xml
Scenario: 4K videos from NAS buffer/stutter in Kodi.
- AnExplorer → navigate to
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/ - If advancedsettings.xml doesn't exist, create a new file (long-press → New → File)
- Open in editor → type the XML content for increased buffer
- Save → restart Kodi → buffering is resolved
Edit IPTV channel list
Scenario: Some channels in your M3U playlist have changed URLs.
- AnExplorer → navigate to your .m3u file
- Open in editor → find the channel entry
- Update the stream URL
- Save → reload playlist in your IPTV app
Limitations on TV
The text editor is functional but not a full IDE:
- No syntax highlighting (plain text view)
- No line numbers display
- No find-and-replace (manual scrolling to find content)
- No split-view or multi-file editing
- Large files (50+ MB) may load slowly
For quick config edits, these limitations don't matter. For serious editing work, a PC is still the right tool. The TV text editor is for convenience edits that would otherwise require a complicated ADB workflow.
Compatible TV Devices
Works on all Android TV platforms:
- Nvidia Shield TV — best performance for large files, USB keyboard support
- Amazon Fire TV Cube — Bluetooth keyboard pairing works well
- Google TV Streamer — USB-C hub for keyboard + mouse
- Fire TV Stick 4K — Bluetooth keyboard only (no USB port)
- Sony Bravia / TCL / Hisense — USB ports for wired keyboards
- Xiaomi Mi Box — USB and Bluetooth keyboard support
Related Guides
- Text Editor Feature — full text editor capabilities
- File Manager for Android TV — complete TV file management
- APK Installer for Android TV — sideloading apps
- Archive Manager for Android TV — extract config archives
