Text Editor for Android TV — Edit Config Files on Your TV

Text Editor for Android TV — Edit Config Files on Your TV

Last Updated :

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:

  1. Pull the file to a PC (via ADB or USB)
  2. Edit on the PC
  3. Push back to the TV
  4. Test if the change worked
  5. 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_driver from "glcore" to "gl" if games crash
  • Adjust audio_latency to fix sound crackling
  • Fix controller mapping when a new gamepad isn't auto-detected
  • Set savefile_directory to 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.

MethodSpeedBest 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:

ShortcutAction
Ctrl+SSave file
Ctrl+ZUndo
Ctrl+ASelect all
Ctrl+C / Ctrl+VCopy / Paste
Arrow keysNavigate text
Home/EndJump to line start/end
Ctrl+Home/EndJump to file start/end

Supported File Types

AnExplorer's text editor opens any plain-text file regardless of extension:

CategoryExtensions
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
Systemhosts, .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.

  1. Open AnExplorer on TV
  2. Navigate to /storage/emulated/0/RetroArch/retroarch.cfg
  3. Open in text editor
  4. Find the broken setting (e.g., video_driver = "vulkan" on a device that doesn't support Vulkan)
  5. Change back to video_driver = "gl"
  6. 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.

  1. AnExplorer → navigate to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/
  2. If advancedsettings.xml doesn't exist, create a new file (long-press → New → File)
  3. Open in editor → type the XML content for increased buffer
  4. Save → restart Kodi → buffering is resolved

Edit IPTV channel list

Scenario: Some channels in your M3U playlist have changed URLs.

  1. AnExplorer → navigate to your .m3u file
  2. Open in editor → find the channel entry
  3. Update the stream URL
  4. 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

Frequently Asked Questions

Copyright © DWorkS 2011 – 2026 All Rights Reserved.