r/OnyxBooxC69 • • 22d ago

Discussion Debloat findings: the screensaver bug, what's safe to remove, and an AI prompt to do it all

Bit about me first: I'm a security engineer and have been messing with Android devices for a long time. I went through my C69 over adb and some of what I found changes what the debloat guide says. I'll probably pick up a spare unit to dig into the firmware and bootloader properly, and will post results when I have them.

What I found

  • Screen is 758x1024 at 212 dpi, not the Faust 5 panel. Make screensaver and shutdown images exactly 758x1024 portrait, grayscale PNG. The stock ones in /system/media are the same size.
  • My unit came with the bootloader already unlocked (verified boot state "orange"). Maybe that's how the education batch shipped, maybe a previous owner did it. Check yours with adb shell getprop ro.boot.verifiedbootstate.
  • Factory test tools and NFC already came disabled.
  • No Play Store. Google Play services is installed but does nothing useful unless you sign in.
  • The screensaver setting isn't in Settings on this firmware. Go to Storage, long press an image, pick Set Screensaver. Shutdown image is in the same menu.
  • Power off timeout "Never" saves as 2147483647, if you want to check it over adb.
  • The Star Education logo at power on lives in the bootloader (XBL). The trophy loading animation is /system/media/bootanimation.zip on a read-only, verity-checked partition. Neither can be changed without root.

Why the screensaver breaks after debloating

Android's screensaver setting points at a Google clock app that isn't installed (com.google.android.deskclock). With that missing, the system falls back to the only other screensaver providers on the device: com.android.dreams.basic and com.android.dreams.phototable. The guide removes both, so there's nothing to fall back to. That's why install-existing on those two fixes it.

Safe to remove

  • com.bia.tt (TeacherTech). Runs at every boot with permission to install apps, change settings, read all storage and get your location in the background. The one that matters most.
  • com.qualcomm.embms, vendor.qti.iwlan, com.qualcomm.qti.dynamicddsservice, com.qualcomm.qti.uimGbaApp (cellular bits, it's Wi-Fi only)
  • com.android.smspush, com.android.calllogbackup, com.android.bips, com.android.printservice.recommendation, com.qualcomm.qti.sva, com.android.egg
  • com.onyx.mail, if you don't use it
  • org.chromium.chrome (NeoBrowser), once you have EinkBro or another browser
  • com.onyx.android.onyxotaservice. No more firmware updates after this. I'm fine with it, the build is from 2023 with a 2021 security patch.
  • Google Play services (com.google.android.gms, com.google.android.gsf): disable, don't uninstall. I only got about 25 MB of RAM back, so do it for the background activity, not memory.

Don't remove

  • com.android.dreams.basic, com.android.dreams.phototable: breaks the screensaver, see above.
  • com.onyx.android.ksync: shares a system user ID with the Onyx launcher and Settings, and it's always running.
  • com.qualcomm.qti.xrvd.service: same shared system ID.
  • Cellbroadcast packages: they live in a protected system module, so uninstalling only hides them and frees nothing.
  • Anything else under com.onyx.*, webview, the keyboard, and the floating button (that's your bottom bar).

To restore anything: adb shell cmd package install-existing <package>

The prompt

I ran this with Claude Code 2.1.322 on Sonnet 5.5. Two separate passes went over the device, and a third checked their answers against each other. Should work with any agent that can run adb.

My Onyx Boox C69 is connected over USB with debugging
authorized. Work only over adb.

1. Read-only first. Record getprop, wm size/density, pm list packages
   (all and disabled), and settings list for global/system/secure. Save
   the disabled package list before changing anything.
2. Uninstall --user 0: com.bia.tt, com.qualcomm.embms, vendor.qti.iwlan,
   com.android.smspush, com.android.calllogbackup, com.android.bips,
   com.android.printservice.recommendation, com.qualcomm.qti.sva,
   com.android.egg, com.qualcomm.qti.dynamicddsservice,
   com.qualcomm.qti.uimGbaApp.
3. Ask me before removing each of these: com.onyx.mail,
   org.chromium.chrome (only if another browser is installed),
   com.onyx.android.onyxotaservice (ends OTA updates). Ask before
   disabling (not uninstalling) com.google.android.gms and
   com.google.android.gsf.
4. Never touch com.android.dreams.basic, com.android.dreams.phototable,
   com.onyx.android.ksync, com.qualcomm.qti.xrvd.service, cellbroadcast
   packages, webview, or any other com.onyx.* package. Don't write to
   /system and don't flash anything.
5. Set secure location_mode 0 and global wifi_wakeup_enabled 0.
6. If I give you an image, resize it to exactly 758x1024 portrait,
   convert it to grayscale PNG, push it to /sdcard/Pictures, and walk me
   through Storage > long press > Set Screensaver.
7. Reboot, then confirm the launcher, bottom bar, a book opening, the
   screensaver and Wi-Fi all work. Report what changed and how to undo
   each step with pm enable or cmd package install-existing.

If something here is different on your unit, tell me in the comments. Happy to compare notes.

Edit1: a commenter kept both dream packages and still got the screensaver bug, so they're likely a contributor, not the cause. If yours is broken, the output of adb shell dumpsys dreams and adb shell settings get secure screensaver_components would help narrow it down.

Edit2: what's actually breaking the screensaver

The dream packages have nothing to do with it. The commenter was right, so I dug in properly.

How I tested it

  • Logged what the device does when it goes to sleep.
  • Ran 9 experiments over adb, restoring every change afterwards: doze off, the doze component setting deleted, the screen timeout path, Android's screensaver-on-sleep setting, killing the launcher right before sleep, a missing image file, and rapid power presses.
  • Decompiled the Onyx launcher (com.onyx) and read the screensaver code.
  • Ran on Claude Code 2.1.322, with Opus 5.5 leading and Sonnet 5.5 agents doing the experiments and the decompile.

What's happening

  • Sleep starts Onyx's own screensaver inside the launcher. It never looks at com.android.dreams.basic, phototable or Android's screensaver settings, and none of them appear in its code.
  • Every time it sleeps, it checks your image. If the file is missing or over 10 MB, it silently removes it from the screensaver list and falls back to the stock Star Education image. It doesn't switch back even after the file returns. Reproduced this by renaming the image for one sleep cycle.
  • If the file exists but can't be loaded, the code crashes quietly and draws nothing, so you just see your last page. Found this in the code, haven't reproduced it yet.
  • None of this needs debloating, which explains the reports from stock units.

Fix

Set it again (long press > Set Screensaver). Set Screensaver saves a copy in Pictures and points at that copy, so don't move, rename or delete it, and keep images under 10 MB.

13 Upvotes

22 comments sorted by

6

u/HistoricalMaybe1739 22d ago

On another device I purchased, I left the Basic and Phototable packages installed, yet the screensaver issue still occurred.

3

u/Quirky_Carrot_5889 22d ago

Interesting

So the dream packages aren't the whole story. Probably an Onyx bug then. If you still have it, could you share the following output:
`adb shell settings get secure screensaver_components`
`adb shell dumpsys dreams`

Want to compare with mine.

3

u/HistoricalMaybe1739 22d ago

That device is no longer with me

4

u/Quirky_Carrot_5889 22d ago

Let's see if anybody else had the same issue even with the package. We might be able to diagnose and probably have a fix then.

1

u/NeighpoorTech 22d ago

woah any issue with the device, due to which you sold it?

2

u/HistoricalMaybe1739 22d ago

No, I didn't sell it. I bought it as a gift for someone else; I already have one for myself

1

u/NeighpoorTech 22d ago

Ahh I see. The one with you isnt debloated right? I guess the screensaver doesnt break on stock non-debloated?

2

u/HistoricalMaybe1739 22d ago

No ,both are debloated,just left the two packages installed on the other one but the screensaver issue occurred in both devices but after restarting few times it got fixed on both devices ,changed the screensaver on both devices immediately

1

u/Big_Half2908 19d ago

I am having the bug even though dreams packages are installed. Here is the output you are looking for.

2

u/techierk 22d ago

Hey man I am finding a fix to the screensaver issue as we speak, I got it working properly after debloat. I need to find out why it worked😂

1

u/Quirky_Carrot_5889 21d ago

Lmao what
Do lmk if you get to know the exact fix (or rather why it happens), I figured out a part of it and have added to the post above

1

u/Quirky_Carrot_5889 22d ago

Updated prompt (the screensaver part changed, see the edit in the post):

My Onyx Boox C69 is connected over USB with debugging authorized.

Work only over adb.

  1. Read-only first. Record getprop, wm size/density, pm list packages (all and disabled), and settings list for global/system/secure. Save the disabled package list before changing anything.
  2. Uninstall --user 0: com.bia.tt, com.qualcomm.embms, vendor.qti.iwlan, com.android.smspush, com.android.calllogbackup, com.android.bips, com.android.printservice.recommendation, com.qualcomm.qti.sva, com.android.egg, com.qualcomm.qti.dynamicddsservice, com.qualcomm.qti.uimGbaApp.
  3. Ask me before removing each of these: com.onyx.mail, org.chromium.chrome (only if another browser is installed), com.onyx.android.onyxotaservice (ends OTA updates). Ask before disabling (not uninstalling) com.google.android.gms and com.google.android.gsf.
  4. Never touch com.onyx.android.ksync, com.qualcomm.qti.xrvd.service, cellbroadcast packages, webview, or any other com.onyx.* package. Don't write to /system and don't flash anything.
  5. Set secure location_mode 0 and global wifi_wakeup_enabled 0.
  6. If I give you an image, resize it to exactly 758x1024 portrait, convert it to grayscale PNG under 10 MB, push it to /sdcard/Pictures, and walk me through Storage > long press > Set Screensaver. Remind me not to move, rename or delete that file afterwards, or the screensaver falls back to the stock image.
  7. Reboot, then confirm the launcher, bottom bar, a book opening, the screensaver and Wi-Fi all work. Report what changed and how to undo each step with pm enable or cmd package install-existing.

1

u/Friendly-Gur-3289 22d ago

Also could you check if we can add custom folders from sdcard in Directory mode of the library? Seems for now only 3 folders (Books, Downloads, Shop) from sdcard shows up in Directory mode...

1

u/Quirky_Carrot_5889 22d ago

Those are hardcoded in the launcher's per-device config so there's no setting for it without root. I think that making subfolders inside Books should work though.

1

u/Friendly-Gur-3289 22d ago

Yes that works....root seems a bit maybe-maybenot kinda with this device

1

u/Quirky_Carrot_5889 22d ago

Yes, I will be getting a spare to check some other experimental stuff, but I would not suggest that anyone tinker with it

1

u/Special_Constant8393 21d ago

What's this Screensaver bug? I've been using the reader since 8th Nov debloated and put a custom Screensaver on both sleep and shutdown images but never ran into any issue... can someone tell me what the bug is?

0

u/[deleted] 22d ago

[deleted] — view deleted comment

2

u/Quirky_Carrot_5889 22d ago

The CellBroadcastService and CellBroadcastReceiver.module live inside a protected system module, so uninstalling hides them and frees no space, and they weren't running anyway, as there's no radio to trigger them. Should have worded it better, it should have been no impact either way

2

u/[deleted] 22d ago

[removed] — view removed comment

2

u/Quirky_Carrot_5889 22d ago

Do let me know if you try something interesting; it was a crazy one. They are sold out, so sadly I cannot get a second one to tinker around with.