Kindle Video Playback Hack
Prerequsite
- The Kindle needs to be jailbroken.
- Terimnal access on Kindle (Kterm or SSH)
- Generate a directory to store all temporary files on Kindle, using
/mnt/us/demo/for example in this tutorial.
- Generate a directory to store all temporary files on Kindle, using
Slice Video Frames
i=INPUT.mp4; w=1236; h=1648;
# Adjust resolution accordingly:
# - Kindle Paperwhite (11th gen.): 1236x1648
# - Kindle Paperwhite (12th gen.): 1264×1680
# - Kindle Colorsoft: 1264×1680
mkdir -p ./frames && ffmpeg -i "$i" \
-vf "transpose=1,\
scale=$w:$h:force_original_aspect_ratio=decrease,\
pad=$w:$h:(ow-iw)/2:(oh-ih)/2,\
format=gray" \
-r 5 ./frames/frames_%04d.png
Copy all PNG images (the frames folder) to Kindle, put under /mnt/us/demo/.
Kindle Jailbreak Cheat Sheet
Jailbreak
Tutorial Reference: https://kindlemodding.org/
Scripts Archive: https://scriptlets.notmarek.com/
Plugins/Tools Archive: https://www.mobileread.com/forums/showthread.php?t=225030
Tips
Expedite the process of cleaning filler files on macOS
-
Disable Spotlight on the Kindle
sudo mdutil -i off /Volumes/Kindle -
Expedite the cleaning process (should finish around 2 minutes)
rm -rf /Volumes/Kindle/.active_content_sandbox
Otherwise it may take over an hour to delete the recursive folders (around 5000)
Equivalent/Mapping Paths
Folder /mnt/us/ on Kindle (internally) is the same as /Volumes/Kindle/ (externally) on macOS
Enabling Reverse SSH Tunneling over VLESS + REALITY
Introduction
A brief guide to setting up a stealthy, NAT-transversing SSH tunnel using VLESS + REALITY on Debian. This configuration allows you to securely access a private machine (Client) through a public VPS (Server) while masking traffic as a standard TLS handshake to a legitimate website.
1. Pre-requisites
Have xray-core set up and running with a basic VLESS + REALITY configuration Check the previous article.
This guide focuses on the additional steps to enable SSH tunneling through the established VLESS + REALITY connection.
Bilibili Danmaku Integration for mpv on macOS
Introduction
Bilibili provides Danmaku in an XML format that mpv cannot natively render. Furthermore, Bilibili’s AI subtitles often use non-standard language tags (like ai-zh), which can lead to “null” tracks or rendering errors in older mpv kernels (like the one used in IINA).
Thankfully, yt-dlp allows us to extract and download these Danmaku and AI subtitles; danmaku2ass(deveoped by @m13253) provides a brilliant solution to convert XML files to ASS subtitles.
Deploying VLESS + REALITY: A Stealth Proxy Guide for Debian
Introduction
A brief guide to set up a VLESS with Reality server on a Debian-based system using binary releases.
VLESS is a stateless proxy protocol designed for high performance and low overhead. REALITY is a security layer that eliminates TLS fingerprints by “borrowing” the identity of other websites. Together, they provide superior stealth against Deep Packet Inspection (DPI).
-
Protocol (VLESS): Handles user authentication (UUID) and data routing. It does not encrypt data on its own.