Piso WiFi vendo software · Orange Pi · Wi-Fi router

Run your own piso-WiFi vendo. Simple, reliable, yours.

CoinFi turns a small Orange Pi board, or a Ruijie Wi-Fi router, into a coin-operated WiFi hotspot. Customers drop a coin and get online. You watch the sales, set the rates and manage every customer from your phone.

Free for the first 100 accounts: a Standard license (1 sub vendo) and 1 phone license for 1095 days. 97 left · Create your account
  • 14-day free trial, every feature
  • Orange Pi One, PC, PC Plus and Lite
  • New: Ruijie RG-EW1200G PRO and Newifi D2 Wi-Fi routers
  • Signed updates over the internet
Admin panel
The CoinFi admin panel: sales today, active clients, coins and the week chart
The customer screen on a phone: running time, Pause and Add time
14 daysfree trial with every feature
6 boards4 Orange Pi models and 2 Wi-Fi routers
Flash and goan SD card image or a router firmware
Safe updatessigned, checked, rolled back if they fail
New · Router edition

No Orange Pi? Use a Wi-Fi router.

CoinFi also comes as a complete firmware for Wi-Fi routers — the Ruijie RG-EW1200G PRO v1.1 and the Newifi D2. Flash it once and the router itself becomes your vendo: its Wi-Fi is the hotspot, its sockets connect your access points, and the same admin panel runs inside it.

  • Dual-band Wi-Fi hotspot built in (2.4 and 5 GHz, open or with a password)
  • 3 LAN sockets work as a switch for access points
  • Coins through sub vendos, over Wi-Fi or a cable
  • No SD card and no extra board to buy
CoinFi WiFi 2.4 GHz + 5 GHz Ruijie RG-EW1200G PRO WANLAN 1LAN 2LAN 3 ISP router Access point Access point Computer a switch for your access points
The internet comes in on the yellow WAN socket. The blue LAN sockets and the Wi-Fi are one hotspot network.
New · Phone & tablet rental Preview

Rent out phones and tablets, coin by coin.

Turn a phone or tablet you own into a coin kiosk. It locks to the apps you choose — Facebook, YouTube, games — and only works while there is paid time. The renter drops a coin in the vendo's box, the time counts down, and the apps unlock. When time runs out, the phone locks again.

  • Fully locked down — no Settings, no other apps, no way out but your kiosk PIN
  • Coins come through the vendo's sub vendo box, like any CoinFi client
  • An ad reel plays while idle — your apps and games (and your own video if you like)
  • A phone license bound to your account, after a 14-day free trial

In testing now: the lock-down works today; coins, the app grid and the ad reel are rolling out. Roblox is never one of the apps.

CoinFi Kiosk Now playing · ads Insert coin ₱ Sub vendo
The renter sees only your apps and the coin button. Everything else is locked away.
Phone rental setup

Set up a rental phone or tablet

A one-time setup that turns an ordinary Android phone into the locked CoinFi Kiosk; after that, renters just drop coins.

Easiest: set it up by QR codeNo computer needed. Factory-reset the phone, tap its welcome screen 6 times and scan one QR code. The page also lists the phones that can do it, and how to put the phone license on it.
QR set-up and supported phones

Or with a computer and a USB cable (adb), for a phone without the QR set-up:

1

Get the CoinFi Kiosk app

Download the app

CoinFi-Kiosk-0.9.5.apk · 8 MB

2

Get the adb tool

Android Platform Tools

Google's free tool — no Android Studio needed. Unzip it; adb.exe is inside.

Put the downloaded app file into the same folder as adb.exe (the unzipped platform-tools folder), so the install command finds it without typing a path.

What you need

A phone or tabletAndroid 7 or newer, that you own. Everything on it will be erased.
A computerWindows, Mac or Linux, with a USB cable to the phone.
The adb toolGoogle's free "Android Platform Tools" (download above). Unzip it; adb.exe is inside.
The CoinFi Kiosk appThe .apk from the download above, saved into that same folder.
  1. Factory reset
    1

    Factory-reset the phone

    Start fresh so there is no Google account on it — that is what lets the phone be fully locked. In Settings, reset the phone, and when it restarts skip adding any account.

  2. USB debugging
    2

    Turn on USB debugging, connect it

    In Settings → About phone, tap Build number seven times to unlock Developer options. Open Developer options, turn on USB debugging, plug the phone into your computer, and tap Allow on the phone.

  3. Command Prompt C:\> adb install CoinFi-Kiosk.apk Success
    3

    Install the kiosk app

    Open a command window in your Platform Tools folder (where adb.exe and the app file are), then run:

    adb install CoinFi-Kiosk-0.1.0.apk

    In PowerShell, write .\adb (so .\adb install …); in Command Prompt plain adb works.

  4. Command Prompt C:\> adb shell dpm set-device-owner ✓ now a kiosk
    4

    Make it the kiosk

    One command locks the phone into the kiosk. It only works on a phone with no account (step 1):

    adb shell dpm set-device-owner ph.coinfi.kiosk/.KioskAdminReceiver

    If it says "not allowed … accounts on the device", remove every account or factory-reset again, then retry.

  5. Join & pick apps
    5

    Pair it with your vendo

    Reboot — the phone comes up as the kiosk. Long-press the title and enter the kiosk PIN (0000 at first; change it). Connect the phone to your vendo's Wi-Fi, make a pairing key on the vendo (Admin → Phone Rental → Pair, where you also pick the coin box), and type it in the kiosk under Vendo. Then tick the apps renters may open.

  6. Ready to rent
    6

    It's ready to rent

    Hand it to a renter. They tap Insert coin, drop coins in the box, and the apps unlock for the time they paid. To change apps or step out of kiosk mode, you enter the kiosk PIN.

Running the kiosk

After it's installed: coins, apps and the way in

How a renter uses it

The phone shows your apps and an Insert coin button, with the ad reel playing while idle. The renter taps Insert coin and drops coins in the vendo's box; the time counts down on screen and the apps open. When the time runs out, the phone locks back to the coin screen. It is a normal CoinFi client, so these are the same coins and time you see in your admin panel.

How do I add or remove an app?

Long-press the CoinFi Kiosk title and enter the kiosk PIN to open the kiosk admin. To add an app, install it on the phone — from your computer with adb install theapp.apk, or from the Play Store if you sign in briefly — then pick it in the kiosk's allowed list. To remove one, take it off the allowed list (and uninstall it if you like). Reopen CoinFi Kiosk to lock again. Your own ad video is chosen there too (Ad video).

How do I leave kiosk mode or change phone settings?

Long-press the title, enter the kiosk PIN, and pick Open Android settings. The phone stays yours — only your PIN opens this, so a renter cannot. On a test phone, Release kiosk fully unlocks it and hands it back to normal Android.

How are kiosk updates installed?

The kiosk checks coinfiph.com for a newer signed app and installs it by itself; you keep auto-update on, or update by hand. It uses the same hosted-update setup as the vendos. Rolling out with the license step.

What if it loses the vendo's Wi-Fi?

If the phone is not on your vendo's Wi-Fi it cannot sell time, so it simply stays on the coin screen. Reconnect it to the vendo Wi-Fi and it carries on — time is saved every few seconds, like any CoinFi client.

The kiosk starts with a 14-day free trial. After that it needs a phone license, bound to your account, like any CoinFi board. The app updates itself over the internet — signed and checked — with auto-update optional.

Every feature explained

What each part does, in plain words

These are real screens of the CoinFi admin panel and customer page.

Rates and coins

You decide what a coin buys. The default is ₱1 = 10 minutes, ₱5 = 1 hour, ₱10 = 3 hours and ₱30 = 1 day, and every line can be changed. A rate can sell time, a data pack or both, and can have its own expiry.

  • Best-combination adding. When a customer drops several coins, CoinFi adds them up and gives the best rate for the total. A ₱5 and a ₱1 coin are worth the same as a ₱6 purchase.
  • Every coin works. The coin acceptor sends a number of pulses per coin; you tell CoinFi how many pesos a pulse is worth.
  • The coinslot knows when it is really there. Customers only see a coinslot that is connected. The first coin through the acceptor (or the Detect button) tells the board an acceptor is attached.
Rates
The Rates page of the CoinFi admin panel

A customer page with your brand

When a customer joins your WiFi, a page opens with your ads, the rates and a big Insert coin button. After paying they see their running time, their speed, and buttons to pause or add time. The Portal designer lets you change all of it by dragging.

  • Drag and drop design. Move, hide, add and remove blocks; change colors, corners, fonts (8 built in, or upload yours), the background picture and the look of the buttons. A phone preview shows exactly what customers will see. There is always a Reset to the original design.
  • Ads. Upload pictures and they play as a slideshow at the top of the page.
  • Sounds. A beep for every peso that is counted, a countdown while the coin window is open, and a chime when the customer goes online. Use your own MP3 if you like.
  • Chat. Customers can message you without paying; you answer from a floating messenger in the admin panel.
  • Show the speed. Customers can see their plan speed and their live speed.
The customer page before paying: ad, Insert coin, Voucher and the rates
Portal designer
The Portal designer with a live phone preview

Control every device

Every phone or laptop that uses your WiFi is a tile in Clients. Open one to see its time, data, speed and when it ends.

  • Give or take time in days, hours and minutes. Pause or continue a device. Give data. Set an end date.
  • Custom speed for one device, or free access / subscription (a whitelist entry with an end date, for regulars and staff).
  • MAC Control. Whitelist and blacklist devices by MAC address, give each a name (the tag), and a speed for the whitelist.
  • Site Control. Block websites by address.
  • One identity per phone. A customer keeps their time when they move between your access points or SSIDs. They can set a PIN to move their time to another WiFi.
  • No WiFi sharing. If a customer shares their phone's hotspot with friends, CoinFi notices the extra traffic and pauses that device's time. It never blocks and resumes by itself later.
Clients
Client tiles with time, speed and status

Fair speed for every customer

One heavy downloader should not slow everybody else. CoinFi gives each device its own speed lane, based on the rate it paid for.

  • Speed per rate. Each rate can have its own speed, so a bigger purchase can get a faster lane.
  • Global limits and fair sharing. Set the total download and upload for the whole vendo, and let CoinFi share it fairly among the people online.
  • Speed boost. Multiply everybody's speed during chosen hours (see Schedules).
  • Board-aware. The program reads the board's memory and Ethernet speed and tunes its limits, and shows how many customers the board can serve.
Settings · Network
Network and bandwidth settings

Sub vendos: more coinslots

A sub vendo is a second coinslot: a NodeMCU or Wemos D1 mini (ESP8266) with its own coin acceptor, a relay and an LED. It can sit in another shop or another corner of the same area and reports every coin to your main board.

  • Easy pairing. Make a pairing key in the admin panel, type it on the box's setup page, and it appears in your list.
  • Safe by design. Every message is signed, so copied or replayed messages are ignored. A coin is counted once. The box keeps coins it has not reported yet in its flash memory, and switches its coinslot off if the main board does not answer.
  • Wired option. The same firmware also drives a W5500 Ethernet module, so a sub vendo can use a LAN cable instead of WiFi.
  • Updates over WiFi. The firmware is carried in every CoinFi update.
  • Pick a VLAN. Assign a sub vendo to one access point VLAN so customers there use that coinslot.
  • Credits. Each license comes with some sub vendos bound to it (Standard: 1 sub vendo, Pro: 3 sub vendos). For more, buy sub vendo licenses and add them from the admin panel, signing in with your account.
Sub Vendos
The Sub Vendos page

Your network, your way

CoinFi works with a normal home router and also with managed switches and many access points.

  • One cable with VLANs. The ISP router and the hotspot share one cable to a managed switch. The hotspot VLAN is any ID you like (22 by default). Plain access points with no VLAN setting connect to the switch ports.
  • Or a USB Ethernet adapter. No VLAN needed: the adapter goes to your switch or access points.
  • More VLANs. Add up to 8 more access point networks, each with its own address range and DHCP. A coinslot can be assigned to a VLAN, so a VLAN only sees its own coinslot.
  • Your ISP connection. DHCP, a fixed address, or a PPPoE login from your ISP (with the VLAN tag some ISPs need).
Settings · Network
Network settings

The router edition, in detail

The Ruijie RG-EW1200G PRO, hardware version 1.1 (look on the label under the router) runs CoinFi as its whole firmware. Everything a customer and an owner see is the same as on the Orange Pi.

  • The router's Wi-Fi is the hotspot. Both bands carry your network, under one name or with a name of its own for 5 GHz, open or with a password. Set the names, password, channels, width and power in Settings, Network.
  • Three sockets, one switch. Plug access points, a PC or a wired customer into LAN 1 to 3. The admin panel shows which sockets have a cable and how fast they run.
  • Internet on the yellow socket. The WAN socket goes to your ISP router, with DHCP or a fixed address.
  • Coins through sub vendos. The router has no pins for a coin acceptor: each coinslot is a sub vendo box, over Wi-Fi or a LAN cable.
  • Made for small flash. The router keeps its records in a few megabytes and writes them sparingly so the flash lasts. Coins and vouchers are saved at once; the running time is saved every few minutes, so after a power cut nobody loses time they paid for.
  • Updates come as a whole firmware. Signed and checked like every CoinFi update; your settings and your customers' time are kept.
  • Not on the router yet: PPPoE (login and server), more VLANs, and the light relay. These stay Orange Pi features for now.
The customer screen, the same on the router as on the Orange Pi

PPPoE server: internet for other routers

Do you also sell monthly internet to neighbors or small shops? CoinFi can act as the PPPoE server: you make an account for each client, and their router logs in with it.

  • An account per client with a user name, a password, an optional download and upload speed, and a last day.
  • See who is online with address, connection time and data, and disconnect a router with one tap.
  • Instant control. Switching an account off, deleting it, passing its last day or changing its password disconnects the router at once.
  • Kept apart. The routers reach the internet through your board and nothing else: not your hotspot, not your admin panel, not each other.
PPPoE
The PPPoE page with accounts and online routers

Schedules, promos and the light relay

Set it once and let it run. Schedules repeat on the days and hours you choose.

  • Promo hours. Give extra time (like ×2) for coins inserted in a window, for example on slow afternoons.
  • Speed boost. Faster internet for everybody at chosen hours.
  • Closed hours. The vendo closes: running time pauses and resumes when you open.
  • Housekeeping. Automatic reboot, backup, clean-up of old devices and update checks.
  • Light relay. A relay on a free pin switches a lamp or a sign on a schedule, and can also come on when someone uses the coinslot.
Schedules
The Schedules page

A customer's time is never lost

  • Saved every 10 seconds. After a power cut, every customer continues with the time they had.
  • Pause and resume. Customers can pause. Auto-pause stops their time when they leave your WiFi, and auto-resume continues it when they come back.
  • Coins are counted once. A sub vendo that restarts at the wrong moment never loses a coin and never counts one twice.
  • Checks itself. The system checker tests the DHCP, firewall and internet and fixes what it can. Error codes explain problems in plain words, and a debug bundle can be sent for help.
The customer page with the running time, Pause and Add time

And more

Vouchers

Make codes of 6 letters and numbers (with an optional prefix and suffix, like TS) for a rate or for any days, hours and minutes. Customers type them in any case. Wrong guesses are slowed down.

Remote access

Join your board to a ZeroTier network and open the admin panel from anywhere. The page shows the address to use and checks the connection in plain words.

Online updates

New versions are signed and checked before they are installed. If a new version keeps failing, the board goes back to the old one by itself. You can also install an update file.

Backups

A weekly automatic backup, a download button, and a restore from the panel (it checks the file first and keeps your old data).

Sales and activity

Sales today and this week, coins by value, every coin and every action in the activity list.

Customer chat

A chat button on the customer page and a messenger in your panel with an unread badge and a sound.

Tools

Speed test, relay and LED tests, system checker, reboot and shut down buttons, and the error log.

Secure by default

The first sign-in forces a new admin password, wrong passwords are slowed down, and every sub vendo message is signed.

Licenses you control

Your license is in your account on this website. Move it to another board when you upgrade, add sub vendo licenses, and see everything you own in one place.

How it works

From a bare board to your first customer

  1. 1

    Flash the SD card

    Download the image below and write it to a 16 GB or larger microSD card with balenaEtcher. Put the card in the Orange Pi.

  2. 2

    Connect the cables

    The cable from your router goes to the Orange Pi. Wire the coin acceptor through an optocoupler and the relay to the header pins (the admin panel shows them).

  3. 3

    Open the admin page

    Sign in with Admin / Admin12345 and choose your own password. Set your rates, your network and your portal design.

  4. 4

    Start selling

    Join the WiFi on a phone: the CoinFi page opens. Drop a coin, and you are online. Your 14-day trial has every feature.

What you need

An Orange PiOne, PC, PC Plus or Lite, with a good 5 V power supply.
Or a Wi-Fi routerA Ruijie RG-EW1200G PRO v1.1 or a Newifi D2, instead of the Orange Pi and the SD card. Coins come through sub vendos. See the router edition.
A microSD card16 GB or larger, A1 class.
A coin acceptorProgrammable multi-coin type. Use an optocoupler between its 12 V signal and the board.
Access pointsPlain access points on a managed switch (VLAN), or behind a USB Ethernet adapter.
For sub vendos (optional)A NodeMCU or Wemos D1 mini, a coin acceptor, a relay and an LED for each box.
A phone or computerTo open the admin panel.
Pricing

One license per board or rental phone.

Every board and rental phone starts with a 14-day free trial. Then activate its license from your account. Prices are in Philippine pesos.

Free for the first 100 accounts: a Standard license (1 sub vendo) and 1 phone license, each for 1095 days from the day you activate it. A free license stays in your account and on the board or phone you first use it on. 97 left · Create your account

Standard

₱500 one-time

One CoinFi board. Comes with 1 sub vendo; add more with sub vendo licenses.

  • 1 sub vendo included, already bound to the license
  • Online updates
  • Remote access (ZeroTier)
  • PPPoE server for other routers
  • More than one access point VLAN
  • Light relay
  • Vouchers
  • Priority support
  • Move it to a new board up to 3 times a year
  • Lifetime license, no renewal
Buy Standard
Most chosen

Pro

₱800 one-time

One CoinFi board with every feature. Comes with 3 sub vendos; add more with sub vendo licenses.

  • 3 sub vendos included, already bound to the license
  • Online updates
  • Remote access (ZeroTier)
  • PPPoE server for other routers
  • More than one access point VLAN
  • Light relay
  • Vouchers
  • Priority support
  • Move it to a new board up to 3 times a year
  • Lifetime license, no renewal
Buy Pro
Add-on

Sub vendo license

₱150 each

Adds 1 more sub vendo to your board license. Type its code on your board with the e-mail and password of your account.

  • Adds 1 sub vendo to your board license
  • On your board, type its code with your e-mail and password: that binds it to your account
  • Buy as many as you need
Buy Sub vendo license

You pay with GCash. After payment is confirmed, the license code appears in your account. Type board license codes in the board's License page, or activate phone licenses in the kiosk admin panel with the e-mail and password of your account. Vendo builder or reseller? Ask about builder prices at [email protected].

Download

Get CoinFi

The SD card image runs on the Orange Pi One, PC, PC Plus and Lite. It starts as an Orange Pi One; pick your board in the admin panel if it is another one. Wi-Fi routers, a full PC (x86-64) and the sub vendo coin boxes have their own downloads below.

Version
Download the image

1tgILxPz5MQSt6eKg7ZVkUh8OSbgx6xYC

Sub vendo firmware for the coin boxes (0.21.33)

The image is free to try for 14 days. After the trial the coinslot and vouchers stop selling new time until you activate a license; customers can finish the time they already paid for.

  1. Write it to the card. Use balenaEtcher. It reads the .img.xz file directly. Use a 16 GB or larger microSD card.
  2. Power the Orange Pi. Plug the cable from your router into its Ethernet port, then power it on. The first start takes 3 to 5 minutes.
  3. Find the admin page. Look for a device named tscoinsoft-xxxx in your router's client list and open http://its-address/admin. No router? Plug a computer straight into the board and open http://169.254.10.10/admin.
  4. Sign in. User Admin, password Admin12345. You must choose a new password.
  5. Activate your license in Device, License when your trial ends, with the code and the e-mail and password of your account.
Router edition

Firmware for Wi-Fi routers

Ruijie RG-EW1200G PRO v1.1

Download

1FK7DlxoRva0RPw2oQtrs8Lbr20qy5K-W

Newifi D2 (Newifi3)

Download

179BdvAuS_XTX55lVr_TOKsw-lEDeyx_b

Netis NX31 (AX3000, WiFi 6)

Download

1stHLINYLSoisEqreksDBeK_nmgR6JY41

Supported routers: the Ruijie RG-EW1200G PRO v1.1 (check the label under the router) and the Newifi D2 / Newifi3, both MediaTek MT7621, and the Netis NX31 (MediaTek MT7981, WiFi 6). The same 14-day trial and the same licenses as the Orange Pi.

  1. Put OpenWrt on the router first. A router that still runs its maker's software needs OpenWrt once. Each router takes its own OpenWrt files: the files and the steps for your router are below.
  2. Flash CoinFi. In the router's OpenWrt page open System, Backup / Flash Firmware, choose the CoinFi file for your model, untick Keep settings and press Continue. It takes about 4 minutes; do not unplug it.
  3. Plug in the internet. The cable from your ISP router goes to the WAN socket.
  4. Join the CoinFi WiFi (or plug a computer into a LAN socket) and open http://10.0.0.1/admin. Sign in with Admin / Admin12345 and choose a new password.

Step 1 in full: from the maker's firmware to OpenWrt 25.12.6

Pick your router. The links go to OpenWrt's own server (downloads.openwrt.org), to the OpenWrt release CoinFi's router firmware is built on. Check the SHA-256 before you write a file. A router that already runs OpenWrt skips this and goes to step 2. Do it on your bench, not at a customer's place: a mistake here can leave the router dead.

Ruijie RG-EW1200G PRO v1.1

OpenWrt for the Ruijie

Download (8 MB)

openwrt-25.12.6-ramips-mt7621-ruijie_rg-ew1200g-pro-v1.1-squashfs-sysupgrade.bin

SHA-25648a44137239736ce83af91ddab6a6beb9d6816d2ed403b3dc5b5c3a9e911c049
  1. Get a root shell on the Ruijie's own firmware, as OpenWrt's Ruijie page explains. Only an older Ruijie firmware lets you in; a newer one refuses, so you may have to put an older Ruijie firmware on first.
  2. Copy the file to the router. Plug your computer into a LAN socket. On the computer, in the folder that holds the file, run python -m http.server. On the router: cd /tmp, then wget http://<your computer's address>:8000/openwrt-25.12.6-ramips-mt7621-ruijie_rg-ew1200g-pro-v1.1-squashfs-sysupgrade.bin
  3. Write it: mtd -r write openwrt-25.12.6-ramips-mt7621-ruijie_rg-ew1200g-pro-v1.1-squashfs-sysupgrade.bin firmware (this is the file OpenWrt's steps call factory.bin). The router writes OpenWrt and restarts by itself; do not unplug it.
  4. OpenWrt is on. Set your computer's network to automatic (DHCP) and open http://192.168.1.1 (user root, no password). Now flash CoinFi: step 2 above.
Newifi D2 (Newifi3)

OpenWrt for the Newifi D2

Download (7 MB)

openwrt-25.12.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin

SHA-2568ae6168a5840cf3c41023324b53de5a0f725ffd027cb00390211fe8c956ac70a
  1. Open the Breed boot loader. Plug your computer into a LAN socket and set its network to automatic (DHCP). Unplug the router's power, hold Reset, plug the power in and keep holding Reset for about 5 seconds, then open http://192.168.1.1.
  2. No Breed page? The router is still locked on Newifi's own firmware. It needs Breed put on first, or a SPI flash programmer; OpenWrt's Newifi D2 page links guides.
  3. Flash OpenWrt in Breed. On its firmware page pick target 固件, firmware type 常规固件 and layout 公版 (0x50000), choose the file above and upload it. Do not unplug it while it writes.
  4. OpenWrt is on at http://192.168.1.1 (user root, no password). Now flash CoinFi: step 2 above. Breed comes back instead? See If a router gets stuck.
Netis NX31 (AX3000, WiFi 6)

OpenWrt boot loader, part 1 (FIP)

Download (790 KB)

openwrt-25.12.6-mediatek-filogic-netis_nx31-bl31-uboot.fip

SHA-256a1f66f2d463399a1209998fe93d00b9879d1ee279ac9f6d5d96c7ff40784d687

OpenWrt boot loader, part 2 (BL2)

Download (225 KB)

openwrt-25.12.6-mediatek-filogic-netis_nx31-preloader.bin

SHA-256c17d7f80151958614b5a7b72c1a382c9128617ad8dc2702bb6a04ef890780626

Recovery image, served by TFTP

Download (9 MB)

openwrt-25.12.6-mediatek-filogic-netis_nx31-initramfs-recovery.itb

Rename it to openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb after the download: the boot loader asks the TFTP server for that name.

SHA-2566094de85d4c829f2f83842ec26041c440ad4dc2e228523d06dc784a4717d8b5b

OpenWrt for the NX31

Download (10 MB)

openwrt-25.12.6-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb

SHA-25683ed0b0a4076df9d4925dcee33bbf44dcd87f21a2a0d9e081c67b5d896fc4354
  1. Sign in by SSH. Plug your computer into a LAN socket and ssh admin@<router address> with the router's web password.
  2. Back up every flash part: for i in 0 1 2 3 4 5; do cat /dev/mtd$i | gzip -1 -c > /tmp/mtd$i.gz; done, then copy /tmp/mtd*.gz to your computer (WinSCP) and keep them. They are the only way back to the netis firmware.
  3. Write OpenWrt's boot loader. Copy the FIP and BL2 files to /tmp on the router, then run mtd write /tmp/openwrt-25.12.6-mediatek-filogic-netis_nx31-bl31-uboot.fip FIP and then mtd write /tmp/openwrt-25.12.6-mediatek-filogic-netis_nx31-preloader.bin BL2. If the BL2 write is refused, carry on: it can be written later from OpenWrt.
  4. Start OpenWrt from your computer. Give the computer the fixed address 192.168.1.254. Put the recovery image, renamed openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb, in the folder of a TFTP server (Tftpd64 on Windows) and start it. Then on the router: mtd erase ubi and reboot. The router loads OpenWrt over TFTP into its memory.
  5. Write OpenWrt to the flash. Copy the NX31 OpenWrt file to /tmp on 192.168.1.1, then ssh [email protected] and sysupgrade -n /tmp/openwrt-25.12.6-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb. The CoinFi file for the NX31 works here too, and then step 2 is done.
  6. OpenWrt is on. Set the computer back to automatic (DHCP) and open http://192.168.1.1. Now flash CoinFi: step 2 above. Stuck? Power it off, hold Reset while powering on for about 10 seconds: the boot loader loads the recovery image from the TFTP server again. The way back to the netis firmware is on OpenWrt's NX31 page.
PC edition New

CoinFi on a PC (x86-64)

Download the PC installer

CoinFi PC installer (.img.xz)

Turns a whole PC into the vendo. CoinFi becomes the computer's operating system — it replaces Windows — and uses the PC's power for many more customers, with PPPoE for many VLANs (OLT). It has no coin pins: coins come through sub vendos. The same 14-day trial and the same licenses as the Orange Pi.

  1. Write it to a USB stick with balenaEtcher (8 GB or larger). The USB is only for installing; you remove it afterwards.
  2. Boot the PC from the USB (open the boot menu with F12, F11, F10 or Esc right after power-on; turn Secure Boot off in the BIOS/UEFI). The installer lists the PC's drives and asks which one gets CoinFi (the biggest is picked after 60 seconds). The drive it installs on is ERASED: back up anything on that PC first. One image boots on both UEFI and older BIOS PCs.
  3. Take the USB out when the screen says DONE; the PC restarts by itself and now runs CoinFi on its own. Plug your ISP's internet into its Ethernet port.
  4. Open http://10.0.0.1/admin, sign in with Admin / Admin12345, and choose a new password. Pair a sub vendo for coins.

Another way: flash the PC's SSD on another computer

For a PC that will not boot from USB, an installer that does not see the disk, or when you prepare vendos at your desk. It is the same image: written straight onto the SSD, CoinFi sets itself up on the first start, with no installer and no USB stick.

  1. Take the SSD (or hard disk) out of the vendo PC, with the power cable unplugged. Any drive of 8 GB or more works.
  2. Put it in a USB enclosure or adapter that fits it: a 2.5-inch SATA SSD or hard disk goes in a USB-to-SATA adapter or 2.5-inch enclosure; an M.2 NVMe SSD needs an M.2 NVMe enclosure, an M.2 SATA SSD an M.2 SATA one (they are not the same; some enclosures take both); an mSATA SSD needs an mSATA adapter.
  3. Plug it into another computer and open balenaEtcher: Flash from file, choose the coinfi-server-….img.xz, Select target, choose that SSD and press Flash. Check the drive's name and size: the drive you pick is ERASED. If Etcher warns that it is a large drive, that is the SSD; make sure it is not this computer's own disk. Etcher checks the copy at the end.
  4. If Windows then says "You need to format the disk", press Cancel. Windows cannot read CoinFi's disk; that is normal. Eject the drive safely.
  5. Put the SSD back in the vendo PC, in the same slot. In its BIOS/UEFI make that SSD the first boot drive and turn Secure Boot off.
  6. Turn the PC on. CoinFi sees that it was written straight onto the disk, grows itself to fill the whole SSD and starts. Plug in the internet and open http://10.0.0.1/admin as above.
Sub vendo

Firmware for sub vendo coin boxes

Version 0.21.33
Download the firmware (394 KB)

CoinFi-subvendo-0.21.33.bin

SHA-256c9214076f049be8d4aaeaf587dad9a8e101c061ee779c70343b2c2b9bff35f86

For a coin box built on a NodeMCU or Wemos D1 mini (ESP8266). You flash it once with a USB cable; after that the box updates itself with every vendo update, over Wi-Fi or the LAN cable. The vendo's admin page has the same file (Sub Vendos, Download firmware).

  1. Plug the NodeMCU into a computer with a USB data cable (some cables only charge). If no new COM port shows up, install the USB driver of its chip: CH340 or CP2102 (printed on the small chip near the USB socket).
  2. Flash it in Chrome or Edge with Espressif's web flasher, espressif.github.io/esptool-js: Connect, pick the port, flash address 0x0, choose the downloaded .bin, then Program. Or on the command line: esptool --chip esp8266 --port COM3 write_flash 0x0 CoinFi-subvendo-0.21.33.bin (use your COM port).
  3. Pair it. Power the box: it opens a Wi-Fi called TS-SubVendo-…. Join it with your phone, pick your vendo's Wi-Fi and type the pairing key from the vendo's admin page (Sub Vendos, Pair new sub vendo). On a LAN cable, plug it in and press Accept under New box on the LAN cable.
  4. Done. Later firmware arrives by itself (Sub Vendos, Update boxes automatically).
Windows app

CoinFi Flasher (Windows)

Download the flasher (92 MB)

CoinFiFlasher.exe · Windows 10/11

A one-click app that flashes a sub vendo coin box over USB, and puts CoinFi on a Wi-Fi router over its network — no command line. For a router, pick it and press Install CoinFi; for a box, plug it in, pick the board (ESP32 + LAN8720 or NodeMCU / ESP8266), and press Flash. It carries the current box firmware inside and shows a wiring diagram for each board.

  1. Download and open it. It is not code-signed yet, so Windows may show a blue SmartScreen box — click More info, then Run anyway.
  2. Plug the box into a USB port with a USB data cable (some cables only charge). The app finds the board by itself and names the adapter chip (CH340, CP2102, …).
  3. Pick the board and press Flash. On an ESP32 + LAN8720, hold the board's BOOT button when it asks — the app keeps trying and catches it. Tick Full erase only to reset a stuck box (it forgets its pairing and coins).
  4. Pair it like any box: press Accept under New box on the LAN cable, or type the pairing key on its setup Wi-Fi.
Router setup help

If a router gets stuck

The few things owners run into when flashing CoinFi onto a Ruijie or Newifi D2, and how to clear them.

I flashed it, but the router keeps showing its recovery screen (it won't start CoinFi)

The firmware is on the router; the bootloader just isn't starting it. On a Newifi D2 (Breed bootloader), open Breed's 环境变量设置 (Environment settings), set 控制 → 启用 (Enable) and 位置 → Breed 内部, press 设置 (Set), then unplug the power for about 10 seconds and plug it back in without holding reset. On a router already running OpenWrt, enter failsafe (tap the reset button about once a second right after powering on) and flash CoinFi again from there.

The recovery page says "request page does not exist"

You opened an address the recovery console does not have. Go to its home page — for the Newifi D2's Breed that is http://192.168.1.1/ — and use the menu links there. The firmware page is /upgrade.html.

Which flash settings do I pick for the Newifi D2 in Breed?

On Breed's firmware page choose firmware type 常规固件, flash layout 公版 (0x50000), and target 固件. The Newifi D2 keeps its firmware at 0x50000, so the other layouts write it to the wrong place and it will not boot.

After flashing I cannot open the admin page

CoinFi runs at http://10.0.0.1/admin — not the router's old address. Set your computer's network back to automatic (DHCP) so it joins CoinFi's network, wait a minute or two, then open that address and sign in with Admin / Admin12345.

How do I get back into the recovery console later?

Once CoinFi boots on its own, tap the reset button about once a second right after powering on. That interrupts the boot and drops you into the recovery console (Breed on the Newifi D2, or OpenWrt failsafe) so you can re-flash.

My Ruijie came from another system or firmware — how do I put CoinFi on it?

If the router already runs OpenWrt (any build), you do not need the maker's firmware back. Plug a computer into a LAN socket, ssh root@<router address>, and flash CoinFi straight over it: sysupgrade -n coinfi-ruijie_rg-ew1200g-pro-v1.1-<version>-sysupgrade.bin — the -n drops the old system's settings.

To start clean from the original Ruijie firmware first: from a root shell, write the stock firmware to the firmware partition — mtd -r write <ruijie-stock>.bin firmware — then reboot and hold the Reset button for about 10 seconds, until the status light blinks, to factory-reset. Get the stock firmware from Ruijie's own download page for the RG-EW1200G PRO v1.1, then follow Put OpenWrt on the router first above.

Careful: a newer stock Ruijie firmware refuses OpenWrt (it checks the image), so you may need an older stock version; the RG-EW routers have no dependable built-in recovery / TFTP, so back up the flash first (dd the mtd parts) and keep it on your PC. For a true brick, a 3.3 V USB-serial console (57600 baud) on your bench is the only sure way back — not at a customer's place. Full details on the OpenWrt Ruijie page.

Still stuck after all of this?

The router's bootloader may be too old for the current firmware. Update its bootloader to the latest build, or connect a 3.3 V USB‑TTL serial adapter to the router's console header (115200 baud) to watch it boot, then write to [email protected] with what you see.

Questions

Frequently asked questions

Which boards does it run on?

The Orange Pi One, PC, PC Plus and Lite (all Allwinner H3 boards), and two Wi-Fi routers: the Ruijie RG-EW1200G PRO (hardware version 1.1) and the Newifi D2 / Newifi3. One SD card image serves all four Orange Pi boards: it starts as an Orange Pi One, and Admin, Device, Board type switches it to the model you have. Each router gets its own firmware.

Can CoinFi run on a Wi-Fi router instead of an Orange Pi?

Yes, on the Ruijie RG-EW1200G PRO, hardware version 1.1. CoinFi becomes the router's whole firmware: the router's own Wi-Fi is the hotspot, its three LAN sockets connect access points, and the internet comes in on the WAN socket. Coins come through sub vendos, because the router has no pins for a coin acceptor. PPPoE, more VLANs and the light relay stay Orange Pi features for now. A router needs a license like a board.

Can I rent out phones or tablets with CoinFi?

Yes — this is the new phone rental kiosk (in testing now). A phone or tablet you own is locked to the apps you choose and only works while there is paid time; the renter drops coins in the vendo's box to unlock it. You set it up once from your computer — see how to set up a rental phone. It starts with a 14-day trial and then needs a phone license, and Roblox is never one of the apps.

What happens after the 14-day trial?

Every feature works during the trial. After it ends, the coinslot and vouchers stop selling new time until you activate a license. Customers can finish the time they already paid for.

How do I activate a license?

Create an account on this website with your e-mail, buy a license and pay with GCash. The license code shows in your account. Type it in your CoinFi admin page under Device, License, with the e-mail and password of your account (and the code of your authenticator app if you turned on two-step login). That proves the license is yours, so a code that was lost or stolen is of no use to anyone else. The code is bound to that one board.

I forgot my password. What now?

On this website press Forgot password? on the sign-in page: we e-mail a link to choose a new one. For the admin password of your vendo, press Forgot password? on the vendo's own sign-in page: we e-mail the owner of its license a link, the owner types the number the vendo screen shows and presses Yes, and the vendo then lets you choose a new password.

Can I use one license on two boards?

No. A license works on one board at a time. The website checks it, and a code that is in use cannot be activated on another board. If you get a new board, release the license from the old one in your account (or on the board) and activate it on the new one. The number of moves per year depends on the license type.

How do I add more sub vendos?

Each license comes with some sub vendos already bound to it. For more, buy sub vendo licenses. In your admin page open Sub Vendos, press Add a sub vendo license and type its code. CoinFi asks for the e-mail and password of your account on this website, which proves the license is yours and binds it to your account and your board's license.

Does the board need internet all the time?

Your vendo needs an internet connection to sell internet, of course. For the license, the board contacts this website every few days. If it cannot, the license keeps working for a grace period of up to 14 days.

What if the power goes out?

Customer time is saved every 10 seconds and the coinslot counts every coin once, so after the power returns each customer continues with the time they had.

How are updates installed?

From the admin panel: check for updates and install. New versions are signed and verified, a copy of the old program is kept, and if the new one keeps failing, the board goes back to the old one by itself. You can also install an update file.

How do I pay for a license?

With GCash. You get the exact amount and the GCash number on your order page, send the money, and type the reference number from your receipt. Your license is delivered as soon as the payment is confirmed.

Ready to start your vendo?

Download the image, flash the card and have your first customer online today.