Skip to content
casualduckoPublic

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Latest commit

 

History

568 Commits

Folders and files

Repository files navigation

eReaderDS for the RG DS Plus

Hey guys, I'm casualducko. I've been coding since the late 90's and I absolutely love it. I like to think that I know my stuff, but I don't know everything. With that being said, I have gladly been using Claude Code to help me bring this idea to its full potential.

eReaderDS is a two-page ebook reader for the Anbernic RG DS Plus. Hold the device sideways like an open book: each screen shows one page. It reads EPUB and text books, and comics and manga (.cbz) too.

eReaderDS on the RG DS Plus: My Books, turning pages, a bookmark, brightness and text size by touch, Settings and the Themes page, looking up and highlighting a word, the bookmarks and highlights list, and syncing with KOReader

For the RG DS Plus on its stock firmware, ROCKNIX, BananaOS or GammaOS (not the original RG DS, and not other custom firmware such as KNULLI). For GammaOS (Android), see GammaOS. It also runs on the Microsoft Surface Duo: see Surface Duo. Found a problem? Please report it.

Install

Get it from the latest release: eReaderDS-vX.Y.Z.zip for the stock firmware, ROCKNIX and BananaOS (unzip it on your computer), or eReaderDS-vX.Y.Z-android.apk for GammaOS. Then follow the steps for your firmware.

Stock firmware

  1. Put the SD card in your computer. From the unzipped Ports folder, copy eReaderDS.sh and the eReaderDS folder into the Ports folder on the card, and Imgs/eReaderDS.png (the menu icon) into Ports/Imgs.
  2. Put .epub or .txt books (and .cbz comics) in the card's Ebook folder. Folders inside it are fine: you can copy a whole Calibre library, or keep your own folders.
  3. On the device, open Ports → eReaderDS.

ROCKNIX

On ROCKNIX, copy the files over Wi-Fi, not with the SD card in your computer. The card has two parts: a small ROCKNIX one (the system) that Mac and Windows can open, and a larger Linux one with roms (games, ports and books) that they can't. If your computer says the card is unreadable and offers to initialize or format it, choose Ignore: formatting would erase it.

  1. Put the card in the device, start ROCKNIX and turn on Wi-Fi. Its address is in Start → Network settings (for example 192.168.1.50).
  2. On your computer, open the device's shared folders:
    • Mac: Finder → Go → Connect to Server… (⌘K), type smb://192.168.1.50 (the device's address), and connect as a guest.
    • Windows: in File Explorer's address bar, type \\192.168.1.50.
  3. Open the games-roms share (that's roms). From the unzipped Ports folder, copy eReaderDS.sh and the eReaderDS folder into its ports folder. (Imgs isn't needed; eReaderDS adds its own menu icon.)
  4. Put books in the share's ebook folder (fonts in ebook/Fonts). It's created the first time eReaderDS runs, if it isn't there yet.
  5. On the device, press Start → Game settings → Update gamelists, then open Ports → eReaderDS.

While it runs, the bottom screen is turned on; closing the lid is handled by ROCKNIX.

BananaOS

BananaOS keeps games on an exFAT partition, so (unlike ROCKNIX) the card can also go in your computer, but copying over Wi-Fi is easier:

  1. Start BananaOS, join Wi-Fi (Start → Network) and turn on File sharing there. Its address is in the Wi-Fi setting's description.
  2. On your computer, connect to the share: Mac: Finder → Go → Connect to Server… (⌘K), smb://192.168.1.50 (the device's address); Windows: \\192.168.1.50 in File Explorer. Open banana. (BananaOS 0.4.2 and later asks for a login: name banana, password linux, which Settings → Network changes, or turns back to Guest.)
  3. From the unzipped Ports folder, copy eReaderDS.sh and the eReaderDS folder into roms/ports. (Imgs isn't needed.)
  4. Put books in roms/ebook (fonts in roms/ebook/Fonts).
  5. On the device, open Ports → eReaderDS on the menu's shelf; it appears by itself a moment after the copy, with no list to update.

Both screens show a page each. BananaOS has no window system, so the zip's runtime/libs.banana holds a build of SDL that puts the pages straight onto the two panels (60 frames a second, page turns included); it's only used on BananaOS before 0.4.2, which has the same thing built in (source and build script: runtime/banana-sdl). Settings and progress are in roms/ebook/.ereaderds, and the log is roms/ports/eReaderDS/log.txt. Update over Wi-Fi works as on ROCKNIX.

From the App Store (BananaOS 0.4.2 and later): the Apps tab of the Store lists eReaderDS and follows its releases. Press Install, and it appears on the Apps shelf (not Ports) with its own icon. Your books and settings are in roms/ebook either way, so moving between the two kinds of install keeps them; use one or the other, or there will be two eReaderDS entries. The Store's copy and its log are in store/apps/ereaderds/eReaderDS on the card.

From a clone of this repo, ./install.sh --ssh <address> installs it over SSH (put your key in banana/ssh/authorized_keys on the card and switch on SSH: Settings → Network on 0.4.2 and later, Settings → System before).

GammaOS (Android)

GammaOS turns the RG DS Plus into an Android handheld. eReaderDS runs there as an Android app, on both screens through GammaOS's DualStack (the same way DraStic does). Each release has it as eReaderDS-vX.Y.Z-android.apk.

The SD card can't be used from a computer the way it can with the stock firmware or ROCKNIX: under GammaOS it holds Android's own storage, which Windows and macOS can't open. Download the .apk on your computer, then get it onto the handheld one of these ways (GammaOS's menu has no web browser):

  • USB cable: connect the handheld to a computer, then on the handheld choose Quick Menu → USB Settings → MTP (Media Transfer Protocol) (it says "MTP Active"; B stops it). On Windows the handheld shows up in File Explorer as GammaOS Core. A Mac can't open it by itself (nothing appears on the desktop): use the free OpenMTP. You see the handheld's own folders (Download, Ebook, ...), not the SD card as a drive. Copy the .apk into Download.
  • ADB, if you already use it: adb install eReaderDS-vX.Y.Z-android.apk.

Installing:

  1. On the main screen, go to Game → Applications → Files.
  2. Tap the Mouse icon on the bottom screen.
  3. With the D-pad or analog stick, move the pointer over Downloads in the menu on the left and press A.
  4. Move over the eReaderDS .apk file and press Y, then click Open with, then click Package Installer. If Android says installing from here isn't allowed, choose Settings, switch on Allow from this source and go back.
  5. Move over Install and press A.
  6. Move over Open and press A.
  7. When you're back at the main menu, press A on the eReaderDS icon.
  8. Once it opens, press A to close it: that finishes the installation.
  9. Open eReaderDS again, and you're good to go: it's on both screens from now on.

Books go in the Ebook folder of the handheld's storage (/sdcard/Ebook, made on the first run; folders inside it are fine). Three ways to get them there:

  • From your phone or computer, over Wi-Fi (easiest): in eReaderDS, open Get Books → Send from Your Phone or Computer, go to the address it shows in a browser on the same Wi-Fi, and pick the books to send.
  • USB cable: turn on MTP as above (Quick Menu → USB Settings → MTP) and copy the books into the Ebook folder (OpenMTP on a Mac).
  • Get Books in eReaderDS downloads them straight from Standard Ebooks, Project Gutenberg and other catalogs.

On GammaOS:

  • Start opens Settings and the Anbernic button quits, as on the other systems. (GammaOS normally uses the Anbernic button for its Control Center; on first run eReaderDS adds a GammaOS per-app button profile that gives it back inside eReaderDS only.) The curved-arrow button belongs to GammaOS.
  • It's a little slower than on Linux: Android needs much of the handheld's 1 GB of memory. If page turns start to stutter after a long session, restart the handheld: GammaOS runs short of memory over time.

Microsoft Surface Duo (Android)

eReaderDS also runs on the Surface Duo (the first one; the Duo 2 is set up the same way but hasn't been tried on a real phone). It is the same eReaderDS-vX.Y.Z-android.apk. The app is spread across both screens like an open book: one page on each screen, with the same pages, menus, taps and swipes as on the RG DS Plus (there are no buttons, so everything is by touch). Both screens take touch while reading: tap the half of a page nearest the spine to go forward and the outer half to go back, swipe to turn pages, slide up or down for brightness, and hold a word to look it up. Menus and lists answer on the right screen (a tap on the dimmed book page closes Settings). The volume buttons turn pages too (down is forward, up is back). To read in bed without a finger turning the page, press volume down and then volume up within a second: touch switches off (a small minus sign shows in the lower right corner, and the volume buttons keep turning pages) and the same press switches it back on. Touch always starts on when the app opens. Each page is drawn at the screen's own pixels, so the text is sharp, and nothing is drawn under the hinge.

  1. On the Duo, open the latest release in a browser and download the .apk (or, from a computer, adb install eReaderDS-vX.Y.Z-android.apk). Open it and choose Install; if Android says installing from the browser isn't allowed, switch on Allow from this source and go back.
  2. Open eReaderDS. The first time, Android's Allow access to manage all files page opens by itself: switch it on. Android then closes eReaderDS (that's normal): open it again. (The files are the Ebook folder, where your books, settings and reading places live.)
  3. Span it across both screens, as with any Duo app (touch the bar at the bottom of the app and drag it across to the hinge). On one screen only, it asks you to open the Duo, because it's a two-page reader.

Books go in the Ebook folder of the phone's storage (/sdcard/Ebook), or use Get Books: it downloads from Standard Ebooks, Project Gutenberg and your own catalogs, or receives books sent from a phone or computer over Wi-Fi.

Updates install from inside the app, as on GammaOS (Android may ask you to confirm; the first time, it may also need Settings > Apps > eReaderDS > Install unknown apps switched on, and if you close the prompt, the update screen's Ask again button brings it back). Google Play Protect may also block the update as a "Harmful app" because it doesn't come from the Play Store: choose Install anyway (the small text above Got it), or turn off "Scan apps with Play Protect" in the Play Store's settings for the update). There is no Quit button: tap with three fingers (it goes to the background, as with Home), or leave it as you leave any Android app. If the system's back gesture closes it when you swipe near an edge, your place is kept; switching Android to 3-button navigation avoids the gesture.

Updating

When it's online, eReaderDS checks for a newer version each time it starts and says so with both versions ("Update: v1.18.0 → v1.19.0"). Tap that note to update, or use Settings → Help & About (or Start in the library with no book open). The update screen lists what's new in plain words; Update now downloads it. Your books, settings and progress are kept. After an update, a note offers to show What's New (also in Settings → Help & About).

  • Stock firmware, ROCKNIX and BananaOS: it saves only the files that changed and restarts by itself.
  • GammaOS: it installs the new .apk through Android's own installer, with no questions. eReaderDS closes when it's done; open it again.

To stop the automatic check and its notes, set Update notices to Off (same page); Check for Updates still works. To pass on just one version, choose Skip this version on the update screen; you'll still hear about the next.

To update by hand on the stock firmware, ROCKNIX or BananaOS, copy the same two items from a newer zip over the old ones (on ROCKNIX, over Wi-Fi into games-roms/ports, as above; on BananaOS, into the share's roms/ports). Your settings, reading positions, bookmarks and fonts are kept. (Copy the two items, not the whole Ports folder: on a Mac, replacing Ports deletes your other ports.) On GammaOS, install the newer .apk the same way as the first time (steps 1-5); everything is kept.

Controls

Hold the device turned counter-clockwise, buttons under your right hand. Directions are as you hold it. (To hold it the other way round, see below.) The line along the foot of the touchscreen says what the buttons do there; tap one ("A select", "B back") to do the same.

Button While reading In lists and menus
D-pad or stick Turn pages (right/down forward; in a manga, left forward) Up/down move; left/right change a value, page through a list, or change the library's sort order
A Show the notes on these pages (in the magnifier: the other page) Select
B Settings Back
Y Look up (or highlight) a word; in a comic, the magnifier In My Books: options (book details, mark finished, hide finished books, collections, delete); in Bookmarks and Highlights: delete; on Themes: options (copy, hide, or change one of yours)
Select Bookmark the page (again to remove) Close; in the library: Get Books
Start, X, ↩, or pressing the stick in Settings Open or close Settings (the stick selects)
Menu (Anbernic button) Quit Quit

The L/R and L2/R2 shoulder buttons aren't used. Help (Settings → Help & About) is a one-page summary of the buttons and touchscreen.

Touch (bottom screen only):

  • Swipe left/right, or tap the right/left half, to turn pages. (To make a tap open Settings instead: Settings → Reading & Device → Tap.) In a manga it's the other way round: swipe right, or tap the left half, to go on.
  • Slide up/down to change brightness; keep going below 1% for Extra dim. (On a list longer than the screen, such as My Books, Get Books, Table of Contents, Fonts or Themes, sliding up/down scrolls it instead; on Themes that never changes your theme.)
  • Swipe up from the very bottom edge to open Settings (as X does), or tap once with two fingers anywhere on the page (on Android, where the swipe up from the bottom is how you close an app). Tap with three fingers to send it to the background, as Home does.
  • Pinch with two fingers to make the text bigger or smaller (not in a comic).
  • Tap the top-right corner to bookmark the page.
  • Tap the top edge (left of that corner) to show or hide all the status bars.
  • Press and hold a word to look it up; keep holding and drag over words to highlight them (below). In a comic, hold a page for the magnifier there, then drag the box (below).
  • While highlighting (Start Highlight, or Y then Select), tap a word to extend the highlight to it.
  • In the library and Get Books, tap an entry to see it on the other screen, and tap it again to open (or download) it. The same goes for Table of Contents (the other screen shows where that chapter is in the book), Bookmarks and Highlights (the whole passage) and Find in Book (the whole paragraph around the match).
  • Swipe (or tap) to turn the pages of What's New.
  • Tap a note number, or the Notes button, to show footnotes.

Holding it the other way round

Settings → Reading & Device → Hold it with buttons → On the left turns everything 180°, for holding the device clockwise with the buttons under your left hand. Pages keep their reading order, so the first page is on the touchscreen; menus and lists stay on the touchscreen too. The face buttons work as a second D-pad (held this way: Y on top, A at the bottom, X on the right, B on the left):

Y A X B Select
Reading page back page forward page forward page back bookmark
Menus and lists up down OK back delete, options, keyboard space

While reading, D-pad up opens the word cursor (look up, and Select at the first and last word to highlight); Start or the curved arrow opens Settings. The bookmark corner is the touchscreen's top left. Hints and Help show the buttons for this grip.

Settings

Press B (or Start, X, ↩) while reading. Settings has big rows on two pages: swipe left or right on the touchscreen, or keep pressing down past the last row. Tap ‹ or › to change a value, or use the D-pad.

  1. What you open Settings for while reading. At the top, My Books (your library, with how many books it has; Settings opens on the row below it). This book: Table of Contents, Bookmarks and Highlights, Find in Book, Jump to %, and Sync with KOReader when sync is on. Reading: Brightness, Text size, Theme (tap it or press A: a page of all the themes, each with a swatch and your book shown in the one highlighted, and your own; below), Fonts (its own page, below). (Update to v… is first in This book when one is waiting.) In a comic, This book also has Reading direction (left to right, or right to left for manga), and what's only for text (Find in Book, Text size, Fonts, Page layout) is left out.
  2. What's set once. Page layout: Line spacing, Margins, Top/bottom margins, Justify text, Hyphenation. More settings: Night Mode (below), Status Bar › (what the top and bottom lines show, and the clock style), Reading & Device › (page-turn animation, what a tap does, highlight color, highlights on dark themes (Bright or Muted), dimming pictures on dark themes, dictionary, which hand holds the buttons, screens off after a while, closing the lid, time zone), Back Up & Restore › (below), KOReader Sync › (below). Then Help & About › (Help, What's New, Check for Updates, Update notices, Report a Problem, About & Credits) and Quit.

Features

  • Reading: EPUB and plain text with italics, headings, images and covers (line art such as chapter numbers and ornaments is drawn in the page's own ink, so it sits on any theme instead of in a white box); justified text with optional hyphenation (English); 18 built-in fonts plus your own; 25 themes (Sepia by default, plus E-ink, Paper, Mint, Sky, Midnight, Gruvbox, Nord, Red Night and more), listed under All, Light, Dark and Custom and picked on a page that shows your book in the one highlighted (hide the ones you never use), which the whole app follows, and themes of your own; pictures dimmed a little on dark themes (you can turn that off); Night Mode, another theme that switches on by itself in the evening; page-flip or fade animation. Letters that some older books draw as tiny pictures (for characters their fonts lacked) stay in the line and take the theme's ink, and characters a font doesn't have (Russian, Greek, special spaces and symbols) are drawn from Gentium Book Plus instead of showing as boxes.
  • Comics and manga (.cbz): a page on each screen like an open book, spreads across both, right to left for manga, and a magnifier for small print (below).
  • Footnotes on the facing page: press A and the note appears on the other page while the text stays put.
  • Dictionary on the facing page: press Y and move a cursor over the words; English is built in, and you can add your own (below).
  • Highlights: hold and drag over a passage, or use the word cursor; mark passages and find them again in the list of bookmarks and highlights (below); they're also saved as a file for each book, to read on a computer.
  • Get books over Wi-Fi: Project Gutenberg and Standard Ebooks built in, plus Calibre or any OPDS catalog (below); send your own books from a phone or computer's web browser (below); or let Calibre send them as to any e-reader (below).
  • My Books (the library): every book in the Ebook folder and the folders inside it (a copied Calibre library works as it is), listed by the title and author inside each book (not the file name); covers and progress, sorted by recent, title, author (by last name), series (each series in order, "Book 2", from the series Calibre and other EPUBs record) or progress (grouped under Reading, Not Started and Finished); each shows "Reading · 16%" or "Finished ✓". A book is marked finished when you reach its last page (or by hand: Y in My Books, which can also hide finished books, or delete a book).
  • Book Details: Y → Book Details on a book in My Books shows what it says about itself (its description, publisher, publication date, language, subjects, ISBN; a comic's page count), its file's size and folder, and its collections: handy before opening something from a big library.
  • Collections: your own groups of books ("To read", "Favourites"...). In My Books, Y → Add to Collection… on a book puts it in one (or a new one) or takes it out; a book can be in several. Tap the line under My Books' title (or Y → Jump to Collection…) to show just one, or All Books; with one showing, Y also renames or deletes it (its books stay).
  • KOReader Sync: carry your place between eReaderDS and KOReader or CrossPoint (a phone, Kobo, Kindle, Xteink X4 or X3...): one smart Sync button, or Send my place and Get my place; opening a book asks before another device's place is replaced, or set Automatic sync to On or Off (below).
  • Finding your place: bookmarks and highlights, Table of Contents, Jump to %, Find in Book (type a word or phrase on the touchscreen keyboard; every match is listed, and the words are marked on the page you open). Your place in every book is saved.
  • Status bar: book and chapter titles, pages left, time left in the chapter (learned from your reading speed), percent read, a progress bar, battery and a clock. Choose what shows in Settings → Status Bar. The clock follows the device's time; if it's off, pick your zone in Settings → Reading & Device → Time zone.
  • Battery-friendly: the screen only redraws when something changes, closing the lid puts the device to sleep, and left alone for 10 minutes the screens dim, then turn off (any button or touch brings them back; change the time or turn it off in Settings → Reading & Device → Screens off after).
Library Contents
Library Contents
Settings Themes
Settings Themes, previewing Nord, with one of your own tagged Custom

Screenshots use public-domain books from Project Gutenberg.

On-screen keyboard

Searching (Find in Book, Get Books), naming a theme and signing in to KOReader Sync use a keyboard on the touchscreen. Tap the keys, or move with the D-pad and press A; B deletes (and closes the keyboard when the field is empty), Y types a space, and Start or X confirms. The top screen lists the buttons for the field you're in.

  • Shift (the arrow) capitalizes the next letter only; press it twice for caps lock (a bar under the arrow), and again to turn it off. #@ switches to numbers and symbols.
  • Moving in the text: tap where you want the cursor, or press up from the top row of keys to reach the text, then left/right; down goes back to the keys. Typing, deleting and spaces happen at the cursor.
  • × at the end of the text clears it (tap it, or A while the D-pad is on the text).
  • Cancel is across the bottom; if you've typed something new, it asks before throwing it away.
  • Passwords show as dots; the eye at the end of the field shows what you've typed (tap it, or A while the D-pad is on the text).
  • Web addresses (your own sync server) get a row of https://, http://, www., .com, : and / keys.

Themes

Settings → Theme shows every theme with a swatch. Tap one, or move to it, and it's your theme at once (your book shows it on the top screen); B or A goes back. Along the title, All · Light · Dark · Custom narrow the list: press left/right, or tap one (that alone doesn't change your theme).

Custom holds themes you make:

  • New Theme asks Light or Dark to start from.
  • Copy any theme (say, Sepia that's almost right): Y → Make a Copy, or tap Copy on the highlighted row. A copy of a built-in theme is named like "My Sepia", a copy of one of yours "… Copy". It opens in the editor.
  • Change one of yours: Y → Change It, or tap Change. Yours are also listed under All, and Light or Dark by their page, tagged Custom.
  • Hide built-in themes you never use: tap Hide (or Y → Hide It). The foot of the list says how many are hidden ("4 / 22 · 3 hidden"; tap it), and the last row of All, Light and Dark opens them: Restore brings one back, Restore All (Light, Dark) by the title brings back them all. Hiding the theme in use moves to the next one.
  • In the editor, the top screen shows your book in the colors as you go:
    • Name: tap it (or A) to type one (24 letters at most); the × clears it, and Cancel asks before throwing away what you typed.
    • Page color / Text color: which one the rest changes (Y switches).
    • A row of colors to start from, picked for reading: soft page colors (Paper, Cream, Sepia, Sage, Mist Blue…) and inks to match for a light page; deep ones (Charcoal, Espresso, Navy Night…) and soft whites, amber or night red for a dark one.
    • Brightness, Warmth (cooler to warmer) and Tint (greener to pinker), like adjusting a photo: drag them, or press left/right (hold to keep going). Warmth and Tint are neutral in the middle.
    • Save, Reset Colors (back to the light or dark start, keeping the name) and Delete Theme are buttons under the sample; Reset and Delete ask first. Deleting the theme in use goes back to Sepia (and deleting your night theme turns Night Mode off).
  • A (or Save) saves the theme and uses it. B goes back; if you've changed anything it asks first, and B again keeps editing.
  • Sync (the button beside New Theme): compares your themes with a list on a small server and asks what to do with each difference: add it here, upload it, delete it (here or on the server) or leave it. The confirm card (only when something is deleted or replaced) lists exactly what will change. On the first device choose Start syncing; the sync page then has Show my sync code, 8 letters and numbers. On each other device choose Join with a code and type it. The code is the whole account: anyone with it can read and change your list (names and colours only). It uses the shared server that comes with the app; to use your own, see tools/themesync-worker and press Y → Use Another Server.

The Themes pages themselves are a neutral grey, like a photo editor's, so a tinted theme doesn't color the swatches; naming a theme uses the same grey keyboard. Hidden built-in themes are left out of Night Mode's list. Your themes are kept in Ebook/.ereaderds/themes.txt (on ROCKNIX and BananaOS ebook/.ereaderds; on GammaOS Ebook/.ereaderds in the device's storage), and work as the night theme too.

Back Up and Restore

Settings → Back Up & Restore keeps what you've built up safe, and moves it to another handheld or system:

  • Back up → My Settings & Reading: your settings, your place in every book, bookmarks, highlights, themes and logins (sync, Calibre, catalogs). Small.
  • Back up → Everything, with Books: all that, plus your books, fonts and dictionaries (it shows the size, and asks first). If the SD card hasn't room for it, it says so before starting, and offers to delete your oldest Everything backups when that would make room (never without asking).
  • Backups are zips in Ebook/Backups (on ROCKNIX and BananaOS roms/ebook/Backups; on GammaOS Ebook/Backups in the device's storage), named by date: eReaderDS-backup-2026-10-01-1215.zip, or …-settings.zip for settings only. They include your logins, so keep them to yourself.
  • Restore from a Backup lists the backups it finds there (or loose in the books folder), up to 8: yours first (those made on this system, newest first, then those from another), then the copies it makes by itself before a restore or a reset (the newest 3 are kept, and the newest is always listed). Each shows its date and kind, such as 1 Oct 12:21 · Settings or Before reset · 1 Oct 12:27, with Stock, ROCKNIX or GammaOS added for one made on another system (its times are by that system's clock), and nothing read yet for one with no place in any book.
  • Restoring: your settings, places, bookmarks, highlights, themes and logins become the backup's (logins it doesn't have are kept), its books are added (ones already here aren't copied again), and eReaderDS closes: open it again and you're where the backup left you. Your settings as they were are saved first (eReaderDS-before-restore-….zip), in case it was the wrong one. It says each step as it goes (backing up your settings first, restoring, saving to the SD card).
  • Another handheld or system: copy the zip into its Ebook/Backups and restore. Books are found by their place in the books folder, so a backup from the stock firmware restores on ROCKNIX or GammaOS. Each handheld and system keeps its own sync and Calibre identity (right after a reset, when it has none yet, it takes the backup's only if the backup was made on this system), so two never share one. A book whose name the card can't hold (such as : from ROCKNIX onto the stock firmware's card) is skipped, and the message says how many were.
  • If a restore can't finish, your settings are left as they were. Closing eReaderDS while it restores waits for it to finish, and nothing is sent to the sync server until it's open again.
  • Reset eReaderDS (Start fresh) asks, then clears your settings, places, bookmarks, highlights, themes and logins, like a new install, but not your books, fonts or dictionaries. A backup is made first (eReaderDS-before-reset-….zip), so Restore can undo it. Then eReaderDS closes: open it again. Brightness starts at 50% on the stock firmware and 60% on ROCKNIX (on GammaOS it follows the system's).

Comics and Manga

Put .cbz comics in the Ebook folder like any book (or send them from a phone or computer); they're listed in My Books with their covers, in a Manga section after your books: by series and volume (by recency or progress when My Books is sorted that way). A comic's title and volume come from its ComicInfo.xml, or else from its file name: "One-Punch Man v01 (2014) (Digital).cbz" is listed as One-Punch Man, Vol. 1.

  • A page on each screen, like an open book: the cover on its own, then pages in pairs. A two-page spread (a picture wider than it's tall) is split across both screens, its halves meeting where the screens do.
  • Manga reads right to left: the first page of a pair is on the right, and you turn with left (or a swipe to the right, or a tap on the left half). Which way a comic reads is worked out from, in order: its ComicInfo.xml (Manga, or its language: Japanese right to left, Korean or Chinese left to right); signs of a manhwa or webtoon in its names or genre (left to right); a manga publisher's name in its file names (Kodansha, VIZ Media, Yen Press, Seven Seas and others); Japanese writing in its names; a folder called Manga it's kept in. Otherwise it's left to right. The first time a comic opens, a note says which way it's reading; if that's wrong, change it in Settings → Reading direction while reading (kept for that comic).
  • The magnifier, for small print in speech bubbles: press Y, or hold a page. The page is on the touchscreen with a box on it, and what's in the box is enlarged on the other screen. Drag the box, or move it with the D-pad; A switches to the other page; B closes it.
  • The next volume: at the end, turning the page again opens the next comic in the same folder ("Vol 2" after "Vol 1").
  • Where you are: tap the top edge of the touchscreen for the pages on screen ("Pages 44–45 of 192 · 23%", and the chapter when it has them).
  • Your place, bookmarks (listed by page, with the page itself shown), Jump to %, and the Table of Contents (when the pages are in a folder for each chapter) work as in a book. Pictures are dimmed on dark themes, like a book's.
  • Page turns don't wait: the next pair of pages is made ready while you read. Jumping somewhere, or going back, can take half a second with big scans.
  • A comic that came as a folder of pictures (a chapter downloaded page by page): zip the folder and rename the .zip to .cbz. Name it like "One-Punch Man - Chapter 1.cbz"; pages are put in order by their names (page 2 before page 10).
  • .cbz files with JPEG or PNG pages work; WebP pages and .cbr (RAR) files can't be shown yet (convert or repack them as .cbz with JPEG pages). KOReader Sync is for EPUB books only.

Night Mode

Settings → Night Mode picks a second theme (a dark one such as Midnight, Dark Sepia, Gruvbox or Red Night, or one of your own) and the hours to use it, 9 PM to 7 AM to start. It switches on the hour by the device's clock, and the whole app changes with it. While picking, the touchscreen previews each theme. At night, the Theme row changes the night theme (it says "(night)"), so your daytime theme is left alone.

Sending books from a phone or computer

In the library press Select (or tap Get Books) and choose Send from Your Phone or Computer. The screens show an address (such as 192.168.1.50:2045) and a QR code. On a phone or computer on the same Wi-Fi, scan the code or type the address into a web browser, then tap Choose files (or drop files on the page). Books (.epub, .cbz, .txt) go into the books folder and fonts (.ttf, .otf) into the fonts folder; each is listed on the device as it arrives. Press B or tap Done when they're sent: the new books are in My Books. The page only works while this screen is open. This is the easy way to add books on ROCKNIX and GammaOS.

Connecting to Calibre

eReaderDS works as a wireless device for Calibre, like other e-readers: Calibre sends books to it, shows which ones are on it, and can delete them.

  1. In Calibre on your computer (on the same Wi-Fi), click Connect/share → Start wireless device connection (no password needed; keep port 9090).
  2. In eReaderDS, open Get Books → Connect to Calibre. It finds Calibre by itself and says Connected to Calibre on .
  3. In Calibre, select books and click Send to device. They arrive in the Calibre folder inside the books folder (named "Title - Author") and show up in My Books when you press Done. Calibre marks them as on the device, and deleting them from the device in Calibre (its Device view) deletes them here too. The screen lists each book as it arrives or is deleted.

Saved computers: some networks (offices, mostly) keep Calibre from being found by itself. Tap Computers & Password (or press Y) → Add a Calibre computer, type its address and port (such as 192.168.1.20:9090; Calibre shows it when you start the wireless device connection), and give it a name, such as Home or Work. Saved computers are listed on the touchscreen (✓ on the one connected); each can be changed or removed. When connecting, eReaderDS first looks for Calibre, then tries each saved computer (the last one used first), so it finds the right one wherever you are.

If you set a password in Calibre, enter it with Computers & Password → Calibre's password. To browse your Calibre library from the handheld instead, add it as a catalog (below).

Getting books over Wi-Fi

Turn on Wi-Fi in the device's settings, then in the library press Select (or tap Get Books on the touchscreen) and choose a catalog. Browse with the D-pad or by tapping, and press A on a book to download it to the Ebook folder. Books you already have are marked ✓. Without Wi-Fi the button is greyed out. Search (at the top of a catalog, when it supports searching, as Gutenberg and Calibre do) opens an on-screen keyboard on the touchscreen: tap the keys, or use the D-pad and A.

Project Gutenberg (70,000+ free books) and Standard Ebooks (classics, carefully proofread and beautifully typeset: the whole collection, by newest, subject, collection or author, and search) work with no setup. To add your own catalog, such as a Calibre content server or Calibre-Web, edit Ebook/.ereaderds/opds.txt (on the SD card; on ROCKNIX and BananaOS ebook/.ereaderds; on GammaOS in the handheld's storage, over USB). It's created the first time eReaderDS runs:

name = Calibre
url = http://192.168.1.20:8080/opds
user = me
password = secret

Leave out user and password if the server doesn't need them, and add a block for each extra catalog. Add verify = no for a server with a self-signed certificate. To hide a built-in catalog, add gutenberg = off or standardebooks = off.

Highlights

By touch: hold a word on the touchscreen (its definition opens on the other page) and tap Start Highlight, then tap or drag to the last word and tap Save Highlight. Or keep holding after the definition opens and drag over the words, then Save Highlight. When the word is near the foot of the page, the buttons move to the top. Cancel stops choosing (or closes the definition). Hold a highlighted word for its buttons: Note (type a note on it; empty removes it), Colour (its own colour), Remove, Cancel. (A word picked with the Y cursor gets the same buttons on the touchscreen; move the cursor to the last word, then Save.)

With the buttons: press Y for the word cursor, move to the first word, press Select, move to the last word (the highlight grows as you go, across both pages), and press Select again. B cancels. On a highlighted word, Select offers a note, its colour, or removing it. Highlights show as one block of color behind the words (a passage over several lines joins up) in every theme, stay put when you change the font or text size, and are listed with your bookmarks in Settings → Bookmarks and Highlights (A goes there; Y deletes one after you confirm; left/right, or a tap on the label at the top, shows All, just Highlights, just the highlights with Notes, or just Bookmarks).

Highlight color: Yellow (the default), Green, Blue, Pink or Subtle, in Settings → Reading & Device (each highlight can have its own instead: Colour on it); it's shaded to suit each theme, light or dark. On a dark theme highlights are muted, so the light text on them stays easy to read; Highlights on dark themes → Bright makes them highlighter bright there too, with the highlighted words in dark ink.

Your highlights and bookmarks are also saved as a file for each book, to read or copy on a computer (like a Kindle's "My Clippings"): Ebook/Highlights/Title - Author.md, in reading order under each chapter, with your notes under their highlights (the list shows them too). It's written again whenever they change, so add your own notes elsewhere.

KOReader Sync

If you also read in KOReader or CrossPoint (on a phone, Kobo, Kindle, PocketBook, or an Xteink X4 or X3), eReaderDS can share your place in a book with it through a KOReader sync server, so each picks up where the other left off.

  1. Settings → KOReader Sync → Server (tap it or press A for its page): the same server as your other device. CrossPoint (sync.crosspointreader.com, CrossPoint's default and ours), KOReader (sync.koreader.rocks, KOReader's default), or your own: Add your own server asks for its address (such as http://192.168.1.20:7200; Kavita, Komga, Calibre-Web, BookLore and others can be sync servers) and a name. A on it later uses it, edits its address, renames or deletes it.
  2. Account: the same user name and password as on the other device (a new name makes a new account). The eye at the end of the password field shows what you've typed (tap it, or press up from the top row of keys and A).
  3. Read. What happens on its own is up to Automatic sync:
    • Ask when opening (the default): when you open a book, eReaderDS checks the server. If another device has been reading it since, it asks Continue from your Kobo? (Jump or Stay), with where that is and when it was saved: "3 pages ahead, in Chapter 10 · Saved on Kobo 3 minutes ago" (in the chapter you're reading it counts pages; elsewhere it gives the chapter and percentage beside yours). If the server is behind you, your place is sent when it only has this device's own earlier place (or nothing yet), since nothing else is replaced; if another device's place there is newer, it asks Send your place to the sync server? first, saying which device is there and when (not for a book opened at its very start that the server knows nothing about yet). Another device's place is never replaced without asking.
    • On: as above, but your place is also sent on its own: when the book opens, every few minutes while reading, and when you leave the book, close the lid or the screens go off.
    • Off: nothing happens unless you use the buttons below.

Sync with KOReader (on the first page of Settings) works out which way to go, like CrossPoint's smart sync: if you've read on here since the last sync, it sends your place; if only the other device has read on, it goes there; if both have, it asks. It never sends an older place over a newer one without asking. If there's nothing to do, it says Your place is saved on the sync server and when it was sent.

To choose the direction yourself, like KOReader's Push and Pull, use Settings → KOReader Sync:

  • Send my place: this device's place goes to the server, over whatever is there (for example after rereading a chapter you don't want sent, the other way round).
  • Get my place from the server: goes to where your other device got to, even if you've read past it here; going back more than a few pages asks first ("Go back to where you were on Kobo?").

Places are matched to the paragraph (you may land a page or so from where the other device was, since screens differ). EPUB books only. A place you've already dealt with (jumped to, or chose Stay) isn't offered again, even after restarting; a newer one from the other device is. If a server is down, eReaderDS simply tries again later.

How it works

The sync server keeps one small record per book for your account: where you are (a position KOReader understands, like "chapter 12, paragraph 37", plus a percentage), which device saved it, and when. It never gets the book itself, or anything else about it unless you turn on Send book details.

Match books by: File name or File contents

The server never sees your files, so each device works out a short ID for a book, and the devices find each other's place through that ID. KOReader's protocol has two ways of making it:

  • File contents (KOReader's default): the ID comes from small samples of the file itself. Renaming or moving the file doesn't matter, but both copies must be exactly the same file (a copy downloaded from somewhere else, or one Calibre has rewritten while sending it to a device, gets a different ID).
  • File name (CrossPoint's default): the ID comes from the file's name, such as Dune - Frank Herbert.epub. Copies match as long as the names are exactly the same, even if the files differ a little.

Most readers use only one of them, so two devices set differently never see each other's place. eReaderDS uses both: it looks the book up under each ID and sends your place under each, so it keeps in step with a KOReader device and a CrossPoint device (an Xteink X4) whichever way each one is set. The setting only decides which ID it checks first. A place from another device that eReaderDS hasn't dealt with yet wins over one it has, whichever ID it came under; not by the time on it, since devices' clocks disagree.

Send book details

Off by default. When on, each update also carries the book's file name, title and author, as KOReader (2026.05 and later) can. KOReader's own server ignores them; other servers can use them to show which book a record is. Syncing works the same either way: it only changes what the server can see.

With an Xteink X4 or X3 (CrossPoint)

Server: CrossPoint and the same account on both. Give the book the same file name on both devices (copying the same .epub to both does that); Match books by can stay at File name, which picking the server sets. Watch for names that are nearly the same: Ken Follett - The Pillars of the Earth.epub and The Pillars of the Earth - Ken Follett.epub are different books to the server.

Dictionaries

While reading, press Y: a cursor appears on a word. Left/right move it word by word, across both pages; up/down move it line by line on the same page, going round from its last line to its first. The definition shows on the facing page (A for more of a long entry, B to close).

Looking up a word, with a highlight above it

English (WordNet) is built in. To add others, copy StarDict dictionaries (the files KOReader uses: .ifo, .idx, .dict or .dict.dz, and .syn if there is one) into Ebook/Dictionaries. By default every dictionary with the word is shown, yours first; pick a single one in Settings → Reading & Device → Dictionary.

Fonts

Settings → Fonts opens a two-page view: the fonts on the touchscreen, each named in its own typeface, and a sample page in the highlighted one on the other screen. The list is alphabetical; left/right (or tapping All · Serif · Sans at the top) narrow it. Up/down pick a font, A uses it.

Built in: Crimson Pro (default), Gentium Book Plus, Literata, Charis SIL, Source Serif 4, Crimson Text, EB Garamond, Lora, Merriweather, PT Serif, Spectral, Vollkorn, Bitter, Atkinson Hyperlegible Next, Inter, Lexend, Andika and OpenDyslexic.

Get More Fonts: the Get More Fonts button beside the title of the font page (or Y) downloads more over Wi-Fi: Alegreya, Cardo, Gelasio, IBM Plex Serif, Libre Baskerville, Libron, Newsreader, Noticia Text, Zilla Slab, Alegreya Sans, Fira Sans, IBM Plex Sans, Lato and Source Sans 3 (free, SIL Open Font License, from Google Fonts; about 200 KB–1.4 MB each). Each is shown in its own typeface; A downloads it into the fonts folder, then A reads in it and Y deletes it. The list lives in this repository's fontpack folder (built by tools/build-font-pack.py).

Your own: copy .ttf or .otf files into Ebook/Fonts, then choose them in Settings → Fonts. Regular, italic and bold files of a family are grouped automatically. Use static fonts: a variable font ([wght] in the name) only shows one weight.

Troubleshooting

Problem Try this
Not in the Ports menu eReaderDS.sh and the eReaderDS folder must be directly inside Ports (ROCKNIX and BananaOS: roms/ports; ROCKNIX also needs Start → Game settings → Update gamelists).
ROCKNIX: can't find roms on the SD card It's on the card's Linux part, which Mac and Windows can't open. Copy over Wi-Fi instead (ROCKNIX); never let the computer format the card.
Black screen, or it closes at once Send Ports/eReaderDS/log.txt with a report (GammaOS has no log file: just describe it).
GammaOS: only on one screen Close eReaderDS and open it again. If it stays on one screen, please report it.
GammaOS: page turns stutter after a while Restart the handheld: GammaOS runs short of memory over a long session.
"No books found" Put .epub, .cbz or .txt files in the Ebook folder at the top of the card (or in folders inside it).
A book won't open or looks wrong Unusual EPUBs may not display well; DRM-protected books, PDF and MOBI aren't supported.
Get Books is greyed out Turn on Wi-Fi in the device's settings and wait for it to connect.
Pages upside down Turn the device the other way, with the buttons on your right.
Screen stays dim after quitting Brightness is restored when the app quits; after a crash, set it in the system menu. (On GammaOS the system's brightness is back as soon as eReaderDS closes.)
KOReader Sync says your place is saved, but the other device is ahead Both must use the same server and account (Settings → KOReader Sync), and the book must be the same file, or have exactly the same file name, on both ("Author - Title" and "Title - Author" don't match). Keep only one edition of a book under a name.
The clock is wrong Set Settings → Reading & Device → Time zone (Device clock uses the system's own setting).
An update fails Check Wi-Fi and choose Try again. Nothing is changed until an update is complete; you can also update by hand.

Reporting problems

If eReaderDS runs into a problem it says so, keeps your place in the book, and quits when you press a button. The next time you open it, a note offers to report it: tap it for a QR code that opens a bug report on your phone with the version and what went wrong filled in (no book titles). Nothing is sent from the device; you read the report and send it yourself. Settings → Help & About → Report a Problem shows the same code any time.

Or tell whoever sent you eReaderDS, or open a bug report. Include the version (top of Settings), what happened (a photo of the screens helps), and Ports/eReaderDS/log.txt, copied right after the problem (on ROCKNIX and BananaOS roms/ports/eReaderDS/log.txt; GammaOS has no log file).

Known limitations

  • Touch works only on the bottom screen.
  • On GammaOS, one screen on the very first launch (eReaderDS adds itself to DualStack then; open it again).
  • When a chapter runs over several files in the EPUB, its pages in files not opened yet are estimated (usually within a few pages) until you reach them.
  • No tables, fixed-layout EPUBs, PDF, MOBI or DRM-protected books.
  • Comics: .cbz with JPEG or PNG pages; not .cbr (RAR) or WebP pages yet.
  • Hyphenation and the built-in dictionary are English only.
  • Chinese, Japanese and a few other scripts show as boxes: no built-in font has them.
  • On GammaOS, eReaderDS closes to install an update (open it again), and the curved-arrow button belongs to GammaOS.

For developers

See docs/DEVELOPING.md.

An iOS port (made for the iPhone Duo, running on any iPhone or iPad) lives in ios/. It has been tried in the simulator only so far. The Surface Duo build shares its two-page layout (app/android.lua, "phone_layout"); testing it on a computer is in docs/DEVELOPING.md.

License

eReaderDS is open source under the MIT License. The fonts, dictionary, hyphenation patterns, QR code library and engine it includes keep their own licenses (below, and in the download's LICENSES folder).

Credits

eReaderDS is created by casualducko (also in Settings → Help & About → About & Credits).

  • Fonts, all under the SIL Open Font License 1.1 (license files in app/fonts/ and the download's LICENSES folder): Gentium Book Plus, Charis SIL and Andika (SIL International), Literata (TypeTogether), Source Serif 4 (Adobe), Crimson Pro (Jacques Le Bailly), Crimson Text (Sebastian Kosch), EB Garamond (Georg Duffner, Octavio Pardo), Lora (Cyreal), Merriweather (Sorkin Type), PT Serif (ParaType), Spectral (Production Type), Vollkorn (Friedrich Althausen), Bitter (Huerta Tipográfica), Atkinson Hyperlegible Next (Braille Institute), Inter (Rasmus Andersson), Lexend (Lexend Project) and OpenDyslexic (Abbie Gonzalez). Crimson Pro, Bitter, Atkinson Hyperlegible Next, EB Garamond, Lora, Merriweather and Vollkorn are static instances generated from their variable fonts (tools/build-fonts.py for Crimson Pro and the last four).
  • Hyphenation: US English patterns from TeX's hyph-utf8, © Gerard D.C. Kuiken (notice in app/hyph/en-us.txt).
  • Dictionary: WordNet 3.1, © 2011 Princeton University, under the WordNet license (app/dict/WordNet-LICENSE.txt); converted by tools/build-wordnet.py.
  • QR codes: qrencode.lua by Patrick Gundlach and contributors (BSD license, in app/qrencode.lua).
  • Engine: LÖVE 11.5 (zlib license), from the PortMaster aarch64 runtime. See runtime/NOTICES.md.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages