FerroSTB

# FerroSTB & FerroSTB Toolbox *Tired of unskippable startup ads, locked home screens, and blocked app installs on your Jio Set-Top Box? FerroSTB is a free, lightweight Windows and Linux app that unlocks your Jio STB in under 3 minutes—no coding, no Docker, and no complicated setup required. Run one program on your PC, restart your box, and get a clean, fast Android TV home screen where you can sideload any APK and delete unwanted bloatware.* **Zero-Dependency Native Rust TR-069 Provisioner, Ad-Blocker & Post-Unlock Management Suite for Jio Set-Top Boxes**

Version v0.7.0 Built With Rust Platform Windows and Linux Target Jio STB Latest Release License


Overview

FerroSTB is a standalone, ground-up Rust provisioning engine (ferrostb / ferrostb.exe) paired with an interactive post-unlock management utility (ferrostb-toolbox / ferrostb-toolbox.exe). It eliminates legacy multi-container stacks (Docker, MongoDB, Node.js, Python proxies, and external DNS daemons) by compiling the entire network spoofing, TR-069 CWMP TLS server, and ADB provisioning pipeline into native Windows and Linux executables with all runtime payloads embedded directly in memory.

[!NOTE] Supported Hardware & Firmware:

[!TIP] Recovery & Troubleshooting:

[!IMPORTANT] On-Device APK Installer Restriction: Jio firmware disables the stock Android package installer UI on the Set-Top Box, preventing direct APK installation from on-device file managers. Use ferrostb-toolbox (Option 2) on Windows or Linux to drag-and-drop and install .apk files over wireless ADB.


Release Bundles

Pre-compiled binaries are published automatically to the Releases page on every update:

Windows Bundle Linux Bundle

Bundle Archive Target OS Included Executables
FerroSTB-Windows-Bundle.zip Windows 10 / 11 (x86_64-pc-windows-msvc) ferrostb.exe, ferrostb-toolbox.exe
FerroSTB-Linux-Bundle.zip / .tar.gz Linux (x86_64-unknown-linux-gnu) ferrostb, ferrostb-toolbox

Core Provisioning Capabilities (ferrostb)


Post-Unlock Management Utility (ferrostb-toolbox)

FerroSTB Toolbox is an interactive CLI utility with embedded platform-specific ADB binaries (adb.exe on Windows, official Google adb on Linux) for ongoing device customization:

Option Module Function
1 Wireless ADB Connect Auto-detects active LAN ADB sessions or connects to <STB_IP>:5555
2 APK Sideloader Installs single .apk files or batch-installs an entire directory of .apk files
3 Safe-Mode App Uninstaller Lists user/ADB apps (-3) or removable partner apps while protecting core Android OS, SSO, and Bluetooth remote packages
4 System Package Restore Scans unbound (--user 0) and disabled firmware packages and restores them via cmd package install-existing
5 Dynamic Launcher Switcher Discovers all installed CATEGORY_HOME launchers (or installs a new launcher .apk) and locks it as default Home
6 tvOS Launcher Supercharger Re-installs bundled tvOS-Launcher.apk and restores all privileged permissions, listeners, and admin rights
7 Home Button Lock Disables and unbinds all stock Jio and Iwedia home resolvers
8 Boot Ad & Promo Remover Removes startup video ads, ad injectors, and idle promo screensavers
9 Auto-Redownload Blocker Neutralizes silent background app installers and locks out unwanted partner apps (such as ETV or custom keywords)
10 Performance & RAM Booster Configures 0.5x or 0.0x animation scales, trims package caches, and clears background memory
11 Private DNS Switcher Sets Android 9+ DNS-over-TLS (dns.adguard-dns.com, one.one.one.one, dns.google, or Off)
12 APK Extractor / Backup Pulls installed user .apk packages from the STB into apk_backups/ on your host machine
13 Remote Helper & Screenshot Launches hidden Android Settings / Developer Options on TV, sends keyboard text input, or captures a PNG screenshot
14 Power & Reboot Menu Triggers normal reboot, restarts wireless ADB (tcpip 5555), or boots into Recovery / Bootloader

System Architecture

Component Port / Protocol Implementation Details
Asset Embedder (src/assets.rs) Compile-Time Embeds platform ADB binaries, tls/acs_chain.pem, tvOS-Launcher.apk, and shevery-release.apk
Host Network & Firewall (src/main.rs) OS Native Evicts conflicting port :53 daemons (SharedAccess/hns on Windows; systemd-resolved on Linux) and configures temporary firewall rules
Selective DNS Spoofer (src/dns.rs) UDP :53 Redirects acs.oss.jio.com, NTP, and connectivity checks to the host LAN IP while returning NXDOMAIN to unrelated traffic
NTP Time Daemon (src/ntp.rs) UDP :123 Syncs the STB cold-boot clock (1970) to current UTC so TLS certificate chains and debug validity checks succeed
Captive Portal Spoofer (src/captive.rs) TCP :80 Returns HTTP/1.1 204 No Content while upstream WAN/fiber is disconnected so Android TV keeps Wi-Fi active
Stateless CWMP Server (src/cwmp.rs) TCP :443, :7443, :8443, :9443 OpenSSL (@SECLEVEL=0 + RILROOTCA) server with /common/v1/network/check spoofing, shallow tree discovery, and atomic 1-parameter RPCs
Parallel ADB Provisioner (src/adb.rs) TCP :5555 Polls port 5555 concurrently with CWMP, deploys APKs, locks default Home, and purges bloatware

Prerequisites

  1. A Windows 10/11 or Linux (x86_64) PC connected to the same router as your Jio STB.
  2. Release Bundle from the Releases page (FerroSTB-Windows-Bundle.zip or FerroSTB-Linux-Bundle.zip / .tar.gz).
  3. Any empty USB flash drive (used briefly in Step 3 to open the hidden stock Android Settings menu on the STB).

Step-by-Step Setup Guide

Step 1: Network Pairing

  1. Connect both your Windows/Linux PC and your Jio STB to the same primary home router.
  2. Do not use Guest Wi-Fi, as client isolation blocks LAN communication between devices.

Step 2: Find Your Host PC LAN IPv4 Address


Step 3: Configure STB Static DNS via USB Storage Breakout

  1. Insert any empty USB flash drive into the Jio STB USB port.
  2. On the STB, open My Music $\rightarrow$ Settings $\rightarrow$ Eject USB.
  3. Select Internal Storage $\rightarrow$ Apps $\rightarrow$ Settings (gear icon) $\rightarrow$ Open.
  4. Go to Network & Internet $\rightarrow$ select your connected Wi-Fi network $\rightarrow$ open IP Settings (or Advanced IP Settings).
  5. Note the STB’s current IP Address (e.g., 192.168.31.181) and Gateway (e.g., 192.168.31.1) before changing modes.
  6. Switch IP Settings from DHCP to Static:
    • IP Address: Enter the STB’s existing LAN IP (overwrite any gray placeholder such as 192.168.1.128).
    • Gateway: Enter your router’s gateway IP (e.g., 192.168.31.1).
    • Network prefix length: 24
    • DNS 1: Enter your Host PC IPv4 Address from Step 2 (e.g., 192.168.31.52).
    • DNS 2: Enter the same Host PC IPv4 Address so DNS queries cannot leak upstream.
  7. Save the configuration and verify the STB reconnects to Wi-Fi.

[!WARNING] If Android clears the IP or Gateway fields and displays placeholder text (192.168.1.128) after switching to Static, enter your real subnet IP and Gateway manually so the STB stays on your router’s subnet.


Step 4: Isolate WAN / Fiber Connection

  1. Unplug the incoming fiber-optic or WAN Ethernet cable from the back of your router.
  2. Keep the router powered ON so local Wi-Fi traffic between your PC and the STB continues uninterrupted without reaching external ACS servers.

Step 5: Launch ferrostb & Cold-Reboot the STB

Once the console displays:

[READY] ALL SERVERS LISTENING!
>>> Unplug the Jio STB power cord, wait 5s, and plug in.

Perform a cold power cycle on the Jio STB:

  1. Unplug the power barrel connector from the back of the STB.
  2. Wait 5 full seconds and plug it back in.
  3. ferrostb will intercept DNS, sync NTP time, pass the Captive Portal check, execute the TR-069 CWMP sequence, and connect to ADB on port 5555.

Step 6: Approve USB Debugging on TV

When the “Allow USB Debugging?” prompt appears on your TV screen:

  1. Check Always allow from this computer.
  2. Select OK / Allow using your remote.

ferrostb will complete the installation of tvOS Launcher and Shevery, disable stock Jio launchers and boot ads, block silent app re-downloads, and launch tvOS Launcher.


Step 7: Restore Internet & Customize with ferrostb-toolbox

  1. Reconnect the fiber-optic / WAN cable to your router.
  2. On the Jio STB, change Wi-Fi IP Settings back from Static to DHCP.
  3. Run ferrostb-toolbox.exe (Windows) or ./ferrostb-toolbox (Linux) whenever you want to sideload .apk files, switch launchers, remove or restore packages, or tune system settings.

Building from Source

To compile both binaries locally using Cargo:

cargo build --release

Output binaries are generated at target/release/ferrostb (.exe) and target/release/ferrostb-toolbox (.exe).


Disclaimer

This software is provided for educational and personal device administration purposes on hardware you own or have explicit authorization to manage. See the LICENSE file for full license terms.