Skip to content

Releases

v2.21.0 - AUTO ROOT after boot

Choose a tag to compare

@SychPL SychPL released this 09 Nov 11:50
  • AUTO ROOT can run ROOT + ADB once after boot (#2). It is off by default and requires an explicit tap to enable. An interrupted or failed automatic attempt blocks future attempts until it is manually re-enabled.
  • The automatic path checks the calibrated firmware before running and confirms that both the root channel and ADB listener work before marking an attempt complete.
  • The ROOT + ADB and ADB WI-FI buttons now share the execution lock with the Bridge and LAN agent.
  • To open a kiosk app after boot, make it the default Home app (Android settings or Bridge set_home). Home may open before the automatic ROOT + ADB attempt finishes.

All three assets are the same debug-signed APK, with the same signing certificate as v2.20.1. The build and 123 unit tests pass. The automatic boot path has not yet been tested on a physical clock.

v2.20.1

Choose a tag to compare

@SychPL SychPL released this 09 Nov 10:35
  • Bridge: root_adb_on no longer answers wrong_firmware on the calibrated build LenovoCD-24502F_ROW_1.2.2.627_220105 - the check now looks at Build.FINGERPRINT, and a wrong_firmware answer names the fingerprint it saw (#3, thanks @DevFlorian).
  • The exit button at the top reads EXIT (it was labelled Wyjdź).
  • INSTALL.md troubleshooting: if root works but ADB stays OFF with setprop: failed to set property 'persist.sys.usb.config', press DEV SETTINGS, enable USB debugging and press STATUS.

All three files are the same debug-signed APK; updating from 2.20.0 with UPDATE APK works as before.

v2.20.0

Choose a tag to compare

@SychPL SychPL released this 23 Sep 10:46

ADB rusza bez menu programisty; fix ETXTBSY przy ponownym ROOT+ADB; plik wydania smartclock2tool-2.20.0.apk

Lenovo Smart Clock 2 Tools v2.19.0

Choose a tag to compare

@SychPL SychPL released this 21 Sep 07:45

A bridge other apps can use

Another app on this clock can now ask the tools for a short list of privileged operations instead of asking for
root: switch ADB over Wi-Fi, grant itself a permission it already declares, become the home app, take the
microphone back from the factory assistant, install its own update. It never receives root, a shell, or any way
to run a command of its own choosing - the list is closed and lives in the tools.

Every caller is identified by its signing certificate and named on screen before anything happens. An app that
comes back with a different certificate starts from zero, consent and all. Each request carries an id, so a
repeat of the same request replays its result instead of running twice, and an operation interrupted by a
reboot is resolved rather than left hanging.

The contract is docs/BRIDGE-API.md.

A way out of the tools

The Smart Clock 2 has no navigation bar, so an app without its own exit traps whoever opens it. The tools now
draw an exit button in the header and honour the back key.

Verified, and not verified

Built and exercised on a Lenovo Smart Clock 2 (LenovoCD-24502F, firmware 1.2.2.627): the trust and consent
screens, the state snapshot, write_settings, grant_permission, root_adb_on, the request registry, and the
recovery of an interrupted operation.

Not yet exercised on hardware: set_home, adb_off, install_apk, mic_release and mic_restore. They are
covered by unit tests and by the same code paths as the operations above, but nobody has run them on a real
clock. Treat them as untested until you do.

Before you enable ADB over Wi-Fi

ADB over Wi-Fi accepts anyone on your network who can reach port 5555. On a home LAN that means every device
in the house, including ones you do not control. Turn it off when you are done.

Lenovo Smart Clock 2 Tools v2.18 (debug APK)

Choose a tag to compare

@SychPL SychPL released this 19 Sep 13:25

Runtime-only root for the Lenovo Smart Clock 2 - one APK, no cable, nothing persisted.

Install (the clock has no ADB yet): use the TalkBack method in INSTALL.md. The URL to put in the Calendar event title is this asset:
https://github.com/SychPL/smartclock2tool/releases/latest/download/smartclock2tool-debug.apk

Then press ROOT + ADB in the app: root channel, SSH on 2223 and ADB over Wi-Fi on 5555.

Notes

  • debug build on purpose: adb shell run-as pl.mateusz.clockadbprobe .../clockroot -c id gives root from the PC
  • everything is runtime-only: a power cycle removes root, the property entry and the listeners
  • ADB over Wi-Fi sets ro.adb.secure=0, so while the toggle is ON any host on your LAN can connect as shell - keep it OFF when not in use
  • supported firmware: LenovoCD-24502F_ROW_1.2.2.627_220105
  • built by GitHub Actions from this repository