photo-frame-dashboard README

项目的 README,来自 github.com/wesbos/photo-frame-dashboard。合并为一个 markdown 文件:README.md。

Taking over Android photo frames

Turn a cheap Android photo frame into a family dashboard: unlock it, root it, replace the vendor app, and run your own web page full screen.

TLDR: buy a $50 frame, point an agent at this repo and let 'er rip!

The family dashboard running on the BIUFRAME 10.1

▶️ Watch the video: https://youtu.be/ZLycoUMltNI

Working frames

10.1" frame from the video (now often ships the PF1007L) Runxion 10.1" Frameo 15.6" Frameo Pastigio FRAME156 15.6" Frameo Dragon Touch Modern10 Charm Skylight Calendar 15" Humblestead 10.1" (Amazon Spain, PF1007L) Anna Bella 10.1" (Amazon Canada, PF1007L)

Frames confirmed to work (Amazon affiliate links). See the device index for every frame, which board it has, and where to start.

Community builds

More than 70 people have shared their hacked frames in Community builds: LCARS interfaces, retro weather channels, chess puzzles, Linux on a frame, family dashboards and more.

Star Trek LCARS interface Retro weather-channel display Chess puzzles and analytics Omarchy Linux on an A33 frame Family dashboard FamilyOS

Notes and scripts from getting full control of locked-down Android photo frames: getting ADB, backing up the firmware, getting root, removing the vendor app, and running our own launcher, browser and kiosk app. These are records of the units their owners tested, not universal flashing guides.

Which frame do you have?

Frames sold under the same name, even the same Amazon listing, can have different boards. Check Settings → About before you follow any guide:

The dashboard

dashboard/ is the family dashboard we run on the BIUFRAME (it uses mock data): a Vite web app deployed to Cloudflare Workers. dashboard/kiosk/ is a small full-screen WebView Android app, built without Gradle, that shows it. Hold two fingers still for 1.5 s to open a menu for the launcher, Android settings, and reloading. On frames without system navigation, optional floating Back and Dashboard buttons help; see the kiosk guide.

For agents: start here

You are probably helping someone with a similar device plugged into a Mac over USB. Read this section, then follow the links for the phase you are in. Do not run anything from a device section unless the identity checks match exactly.

Rules we learned the hard way

  1. Ask the owner before every write. Reads are fine. Writing flash, a partition, /system, or sending a RAM payload to the SoC needs explicit approval for that specific action.
  2. No writes before a verified backup: exact byte count, SHA-256, gzip readback, a check for 0xCC filler, and independent re-reads of a few partitions that match.
  3. Don't trust OKAY. Fastboot reported a successful boot write on the Skylight that never took effect. Verify writes by reading them back and checking the result on the device.
  4. Stop at the first mismatch in a hash, model string, offset or size. Report it rather than working around it.
  5. One change at a time, undo recorded first. Keep .bak copies next to edited files.
  6. Pin downloads by SHA-256 from official sources (vendor archives, F-Droid, LineageOS, GitHub releases).
  7. Keep dumps private. They contain Wi-Fi passwords, tokens, serials, MAC addresses and copyrighted firmware. Use the ignored backups/ and diagnostics/ folders. Leave unique identifiers out of anything you commit.
  8. Write notes as you go. Keep a per-device file in docs/, like the ones in the device index, with observations kept separate from guesses.
  9. Prove the way back before you close the way in. Before you disable the app or route your access came through, or end an access session, check by hand on the panel that your kiosk can reach Android Settings → Apps. An input tap or screencap over ADB does not prove it. A PF1007L was locked out this way; see the lockout notes. Some builds hide disabled apps in Settings, so keep a second way in, such as persistent ADB.

Check for updates, and send back what you find

Many people are working on these frames at the same time. New hardware variants, fixes and routes arrive as issues and pull requests, often before they are merged. Your local copy may be out of date.

Check before you start, and again before each write and at the start of each new session:

git fetch origin && git log --oneline HEAD..origin/main   # new commits on main
gh issue list --repo wesbos/photo-frame-dashboard --state all --limit 30
gh pr list --repo wesbos/photo-frame-dashboard --state all --limit 30
gh pr view <number> --repo wesbos/photo-frame-dashboard   # read anything about your device
gh pr diff <number> --repo wesbos/photo-frame-dashboard

Without gh, use https://github.com/wesbos/photo-frame-dashboard/issues and https://github.com/wesbos/photo-frame-dashboard/pulls. Read open PRs about your device, not only merged docs. If newer information contradicts these docs, tell the owner and follow the newer information only after its checks pass on your unit. Unmerged PRs are less reviewed, so treat their scripts with extra care.

Send a pull request when you learn something new about a device that is already documented or about a new one. Examples: a new board or firmware string, a different boot image hash, a cable or port that does or does not work, a step that failed, a better route, or a correction. Failed attempts are useful too.

  1. Check open issues and PRs first. If one already covers your finding, comment there instead.
  2. Create a branch, and add your observations to the device doc in docs/. For a new device, create docs/<device>.md. Keep observations separate from guesses, and say which host OS and which unit you used.
  3. Remove private data: serials, MAC addresses, Wi-Fi details, eMMC CIDs, tokens, whole-disk hashes, dumps and vendor APKs. Firmware strings and boot image hashes are fine.
  4. Show the owner the diff, because the PR is published under their GitHub account. Then open it with gh pr create --repo wesbos/photo-frame-dashboard.

For a PF1007L, include the report template.

Keep a private record of each frame

Keep what you changed on the owner's frame, where the backups are and how to undo it in the ignored frames/ folder, and read it at the start of the next session. Re-check the frame before trusting it, and remember that a past approval is not permission for a new write. See frame-records.md.

Phase map

Phase What to read
1. Identify the hardware USB IDs (Rockchip is VID 2207), adb shell getprop, chip query in loader mode. See the hardware tables in biuframe.md and hardware-research.md.
2. Get ADB Try in this order: (1) over USB (adb devices; accept any "Allow USB debugging" prompt on the screen), (2) over the network (adb connect <ip>:5555), (3) only then a vendor-app trick or a boot patch. The PF1007L boot patch is written from an SD card, see pf1007l-start-here.md. Ideally no one needs (3). For a vendor-app trick, decompile the vendor app (jadx) and look for hidden tap counters and code dialogs: app-analysis.md. Gestures that did not work are in research-log.md.
3. Loader mode Skylight: hold Volume − while connecting power. BIUFRAME: reset button at power-on (unconfirmed). Building rkdeveloptool on Apple silicon: research-log.md.
4. Back up If loader reads past 32 MiB return 0xCC filler, they are not a backup: loader-research.md. Patched helper and full capture: scripts/patch-usb-reader.py, scripts/load-usb-reader.py, scripts/probe-reader.py, scripts/backup-flash.py, scripts/inspect-backup.py. With root, back up over ADB instead: scripts/biuframe-setup.sh backup.
5. Root First check for a shipped su (adb shell su -c id). On Android 10+ user builds, try the debug-ramdisk route: debug-ramdisk-research.md, scripts/build-debug-boot.py. Fastboot write failures: ram-boot-research.md.
6. Make it useful Launcher: android-launcher.md. Old Android (6.x) with a browser, WebView swap, CA roots, swap, nav bar and disabling vendor apps: biuframe-setup-guide.md. Kiosk app and launcher database edits: biuframe.md. A working example of a kiosk app and dashboard is in dashboard/. Build with dashboard/kiosk/build.sh (macOS/Linux) or dashboard/kiosk/build.ps1 (Windows), change DEFAULT_URL in MainActivity.java to your own URL, and target the device's WebView version (see dashboard/vite.config.js).
7. Networking USB reverse tethering with gnirehtet: usb-internet-sharing.md. An app that requires Wi-Fi specifically: onboarding-network-gate.md. Dead onboard Wi-Fi and a USB dongle: usb-wifi-dongle.md.
8. Vendor updates Connecting the stock app to the internet can auto-install APK updates: app-updates.md. Assess updater behavior before going online; some components are boot dependencies. Consult the matching device guide and follow the write/backup rules before changing anything.
9. Security hand-off Record containment checks, remaining risks and rollback: frame security. See the BIUFRAME limits for that firmware.

Other docs

Privacy

backups/, diagnostics/, log/, loader query output and machine-local settings are excluded by .gitignore. They hold full flash dumps, decompiled vendor code, signing keys, and the unit's identifiers. Do not commit them, and do not publish dumps or vendor APKs.

photo-frame-dashboard (wesbos/photo-frame-dashboard)

正在搜索数据库…

这是什么?一套针对特定设备的笔记和脚本,用于完全掌控被锁定的 Android 相框(Skylight Calendar、BIUFRAME、PF1007L):获取 ADB 访问、导出固件、获取 root、移除厂商应用,并运行你自己的启动器、浏览器或 kiosk 应用。
这是现成的工具,还是一套破解指南?它是一个文档仓库:每个设备一份 Markdown 指南,配套用于备份、修补 boot 镜像和获取 root 的 Python 及 shell 脚本,另有一个小的示例仪表盘应用,通过自定义 Android kiosk WebView 展示。
怎么开始折腾我的相框?在相框的“设置 → 关于”中查看以识别其 SoC 和固件,然后打开对应的指南(pf1007l-start-here.md、biuframe-setup-guide.md,Skylight 用 next-session.md),先尝试 USB 连接的 ADB,再尝试网络连接。
除相框外还需要什么硬件?一根真正能传数据的 USB 线(仅 USB-C 接口的机型附赠的线往往只能供电,所以需要一根 USB-A 转 USB-C 的数据线),以及标准的 adb/fastboot 工具;某些机型还需要 rkdeveloptool 或用于 boot 补丁的 SD 卡。
这些指南对同名的相框都通用吗?不通用,同一商品页售卖的相框可能搭载不同的主板和固件,所以每份指南只针对一台特定设备;你必须先核实 SoC 和固件字符串再执行任何步骤,而且 fastboot 报告 OKAY 并不保证写入真正生效。
这个仓库面向谁?面向能实际接触到这类被锁定 Android 相框的爱好者和黑客,他们想用自己的启动器、浏览器或 kiosk 仪表盘替换原装厂商应用。
这个仓库产生的备份和转储文件提交到 git 安全吗?不安全,完整的闪存转储和诊断信息包含 Wi-Fi 密码、令牌、序列号、MAC 地址和受版权保护的固件,因此它们已被 gitignore,绝不能提交或发布。
dashboard/ 文件夹是做什么的?它是一个模拟家庭仪表盘,以 Vite Web 应用构建并部署到 Cloudflare Workers,通过一个不用 Gradle 构建的自定义 Android kiosk WebView 应用(dashboard/kiosk/)全屏显示;双指按住 1.5 秒即可退出并返回启动器。
AI 编程智能体能安全地运行这些脚本吗?README 有专门针对智能体的规则章节:每次写入前先征得机主同意,写入任何内容前先用 SHA-256 和回读校验备份,一次只做一处更改并保留 .bak 副本。
每种相框型号都有一键脚本吗?没有。只有 BIUFRAME 有单一安装脚本(scripts/biuframe-setup.sh);Skylight Calendar 尚无一键脚本,PF1007L 会先运行只读测试,再在两条不同的 root 路线之间做选择。
作者
wesbos
大小
10 MB
星标
1.8K
更新
提交Nov 16
时长
1个月
提交 · 90 天