github marcoand75/cpr-vcodex-steroids 1.6.0.38-dev2-cpr-vcodex-steroids

32 minutes ago

๐Ÿš€ CPR-vCodex Steroids โ€” Release Notes 1.6.0.38-fix

๐Ÿ“ฆ Range: 2957619 โ†’ 2ab0ed65 ยท 21 commits ยท 35 files ยท +1,064 / โˆ’178
๐Ÿ› ๏ธ Verified build: 1.6.0.38.dev2-2ab0ed65-cpr-vcodex-steroids (X4 / X3)


โœจ Highlights

  • ๐Ÿ“Š Reading Stats completed: deferred loading, V2 journal, badges and summary always up to date.
  • ๐Ÿ“– EPUB more stable: images pre-extracted during indexing and streaming HTML scan (no reboot).
  • ๐Ÿ˜ด Sleep/Screensaver: first image is correct even when starting from the reader; grayscale shading preserved.
  • ๐Ÿ  Home/Carousel: correct progress, complete shortcut icons, regenerated frame cache.
  • ๐Ÿ”Œ X3: RTC, IMU and fuel gauge restored thanks to the I2C fix.
  • ๐Ÿค Includes BrunoYDev fixes (#114) for Reading Stats, Carousel, Library icon and Sleep cover.

๐Ÿ“Š Reading Stats

  • โณ Deferred loading: heap guard reduced from 80 KB to 40 KB; the book list now materializes even with a fragmented heap.
  • ๐Ÿ““ V2 journal: 48-byte records with RSJ2 magic and the full 32-byte KOReader bookId; backward compatible with legacy 32-byte V1 records.
  • ๐Ÿงฎ Badges and summary: exact/prefix/path matching, checkDayChange() for day rollover, todayReadingMs and streak updated.
  • ๐Ÿ  Home always fresh: panels refreshed from summary.json after every session, no stale data.
  • ๐ŸŽ  Carousel: correct progress (no more 0%), v8 frame cache regenerated, completed badges fixed.
  • ๐Ÿšช Reader exit: no std::bad_alloc crash (24 KB guard) and no empty popup; fast-restart fallback.
  • โฑ๏ธ Short sessions: minimum threshold reduced from 3 to 1 min; best-effort timestamp for devices without RTC.
  • ๐Ÿ“ˆ Statistics: store materialized in ReadingStats/Extended, 750 ms retry, heatmap/profile/detail with ensureLoaded().

๐Ÿ“– EPUB and reading

  • ๐Ÿ–ผ๏ธ Image pre-extraction during section build (prewarmImagesForSpine, 32 KB guard): no more "Failed to allocate memory" at render time.
  • ๐Ÿงน Streaming HTML scan (1 KB buffer + carry): fixed the reboot during indexing (std::bad_alloc โ†’ abort()); bail-out below 8 KB and [EBP] prewarm ... log.
  • ๐Ÿ› Unchanged <img> tag handling, cache naming img_<spine>_<n>_<ext> and skip of already-cached files.

๐Ÿ˜ด Sleep & Screensaver

  • ๐ŸŒ“ First image from reader: no more negative effect; the BW frame is re-rendered after the grayscale pass and the controller baseline is resynced.
  • ๐ŸŽจ Grayscale shading preserved: the grayscale pass is no longer disabled when the BW store fails.
  • ๐Ÿ–ฅ๏ธ Sleep cover: no ghosting on X4 UltraChip panels (HALF_REFRESH before the grayscale pass).
  • ๐Ÿ”˜ FORCE_REFRESH no longer repaints the screensaver/sleep screen right after the render.

๐Ÿ  Home, themes and shortcuts

  • ๐Ÿงฉ Complete LyraCarouselTheme::iconForName(): added 20+ shortcut icons (Library, ReadingStats, Heatmap, Profile, Achievements, RecentBooks, Bookmarks, Flashcards, Dictionary, FileTransfer, Plugins, Sleepโ€ฆ).
  • ๐ŸŽ  Carousel frame cache: invalidated when the summary is fresh, no stale frames.
  • ๐Ÿ“Š Home stats panels: fresh data after every session.

๐Ÿ”Œ Hardware and SDK

  • ๐Ÿ”‹ X3: RTC (DS3231), IMU (QMI8658) and fuel gauge (BQ27220) restored thanks to the XteinkDetect I2C fix (no more ESP_ERR_INVALID_STATE).
  • ๐Ÿ“ฆ freeink-sdk: pin bccc745 on branch fix/xteink-i2c-probe of the marcoand75/freeink-sdk fork; .gitmodules updated (no Free-Ink access required).
  • โœ… X4: unchanged (no I2C peripherals in its board profile).

๐Ÿ› ๏ธ Documentation and build

  • ๐Ÿ“ README, USER_GUIDE, RELEASE-NOTES and STEROIDS-* aligned: 1.6.0.38 release, reading_stats_summary.json, 48-byte V2 journal, -steroids artifacts, 40 KB gate, 24 languages, Auto Flash/Stats Editor links to this fork, X4 Pro withdrawal.
  • ๐Ÿงช default build (X3+X4) verified; artifact 1.6.0.38.dev2-2ab0ed65-cpr-vcodex-steroids.

โš ๏ธ Notes

  • X4 Pro: no changes, distribution withdrawn.
  • freeink-sdk stays on branch fix/xteink-i2c-probe (not main): the fork's main does not contain e57b1202, the base of the current pin.

Don't miss a new cpr-vcodex-steroids release

NewReleases is sending notifications on new releases.