1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
# RECCoon — F-Droid submission and release notes
This file is a handoff/runbook. The git log covers the code changes; this covers
everything around the F-Droid submission that is not in the code.
## Status
- App: **RECCoon**, application id `com.tomcooks.reccoon`, version **1.0.0**
(versionCode 1).
- Source: <https://git.tomcooks.com/reccoon> (cgit; push over SSH as `wuhei`).
- **F-Droid: MERGED.** MR
<https://gitlab.com/fdroid/fdroiddata/-/merge_requests/51981> was merged by
`linsui` on 2026-10-22 08:26 UTC (squashed as `1e16c8b7`); the final pipeline
`2975382157` had all 9 jobs green.
- **Buildserver: built and verified.** `com.tomcooks.reccoon:1` built on
2026-10-23 10:01 UTC from `4b237348…` and passed the reproducibility check
("successfully verified"). Log:
<https://monitor.f-droid.org/builds/log/com.tomcooks.reccoon/1>.
- **PUBLISHED on f-droid.org** on 2026-10-25 (publish run 10:47–12:30 UTC).
Package page: <https://f-droid.org/packages/com.tomcooks.reccoon/>. APK:
<https://f-droid.org/repo/com.tomcooks.reccoon_1.apk>.
- Verified after publication: the F-Droid APK is **byte-identical** to
`releases/RECCoon-1.0.0.apk` (sha256
`abbb505a29114638b7246fe4f9b14483defc221d30b729e4aa712faf78b7e1f2`) and is
signed with `98ae9f44…`, so reproducible builds + the signing-key handoff
worked end to end.
- Release tag: `v1.0.0` → `4b237348a7e7b026e43353d8ea48f8a01ecedae3`.
- Signed APK: `releases/RECCoon-1.0.0.apk`, served at
<https://git.tomcooks.com/reccoon/plain/releases/RECCoon-1.0.0.apk>.
- fdroiddata metadata (reference copy): `f-droid/com.tomcooks.reccoon.yml`.
- `linsui` rebased the MR onto `fdroid:master` on 2026-10-22; head became
`b42081c4` and pipeline `2975322828` ran on it:
- `fdroid build` **passed**, `check apk` **passed** (the R8 APK reproduces
against the `Binaries` URL).
- `fdroid rewritemeta` failed **only** on line-wrapping of the `en-US` reason.
Fixed in `52aaa4a4` (the wrapping `rewritemeta` itself produces).
- `linsui` rebased once more (head `c20f9ee5`); pipeline `2975382157` then ran
all 9 jobs green and the MR was merged right after.
- Tester `junkerderprovinz` re-tested the signed `1.0.0` APK on 2026-10-22:
all four earlier points fixed, transcription works. One minor note left: the
Silero VAD file still comes from the moving GitHub `asr-models` release;
deferred to 1.0.1 (pin with a SHA-256 next to `VAD_BYTES`).
## Signing key — DO NOT LOSE
- Keystore: `/home/wuhei/dev/reccoon-keystore/reccoon-release.jks`, alias `reccoon`.
- Password: in `/home/wuhei/dev/reccoon-keystore/README-BACKUP.txt` and the
git-ignored `/home/wuhei/dev/reccoon/keystore.properties`.
- Certificate SHA-256 (the value in `AllowedAPKSigningKeys`):
`98ae9f44c34702e9e65bdc6b5bd7098936566be18ac19f96a9eab3dd66347f00`.
- Backed up to KeePassDX on the phone (attachment + password in the entry).
- Losing this key means no more updates under the same app id.
## Releasing a new version
1. Bump `versionCode` / `versionName` in `app/build.gradle.kts`.
2. `./tools/build-release.sh` — builds an **unsigned** release, signs it
v2/v3-only with preserved alignment, and writes `releases/RECCoon-<v>.apk`
(also copied to `dist/`).
3. `git add -A && git commit`, then tag `v<version>` and push `main` + the tag:
`git tag -a v1.0.1 -m "RECCoon 1.0.1" && git push origin main v1.0.1`.
4. Update `commit:` in `f-droid/com.tomcooks.reccoon.yml` to the new tag hash and
push it to the fdroiddata MR (edit the file on branch `reccoon`), or run
`./tools/submit-to-fdroid.sh` if starting a fresh MR.
5. Comment on the MR and ask `linsui` to re-trigger the pipeline.
## Signing / build gotchas (why it is set up this way)
These caused real pipeline failures; do not undo them.
- **AGP adds a "Dependency metadata" (PKDS) signing block** that F-Droid's scanner
rejects. Therefore the release is built **unsigned** and signed afterward with
the SDK `apksigner` (`tools/build-release.sh`).
- **`META-INF/version-control-info.textproto`** embeds the git revision and breaks
reproducibility. Disabled with `buildTypes.release.vcsInfo { include = false }`.
- **v1/JAR signing** adds `META-INF/*.SF`/`*.RSA` and changes the bytes. Sign
**v2/v3 only** (`--v1-signing-enabled false`).
- **apksigner re-aligns the ZIP by default**, changing the bytes. Use
`--alignment-preserved`.
- **Push the tag** to the source repo — `checkupdates` fails with "No tags found"
otherwise.
- fdroiddata needs **`subdir: app`** and a **full commit hash** in `commit:`.
- **R8** is enabled with keep rules for the sherpa-onnx JNI classes and custom
views (`app/proguard-rules.pro`).
- The app id was renamed from `com.wuhei.reccoon`; the app prefers the
app-specific external model folder and best-effort migrates the old one.
## Review feedback addressed (MR !51981)
- `POST_NOTIFICATIONS` is now requested on Android 13+ (recording/download
notifications were silent).
- Model download wording changed from "over Wi-Fi" to "over the internet".
- Parakeet model download pinned to a fixed Hugging Face revision.
- `NonFreeNet` anti-feature added, with an `en-US` reason.
Open, offered but not done: metered-connection check, SHA-256 model validation
(currently size-only), and cleaning the stale `cache/reccoon_recording.wav` after a
recording that is killed mid-way.
## Merge-request helper
- `tools/submit-to-fdroid.sh` forks `fdroid/fdroiddata`, adds the metadata on a
branch and opens the MR. It reads a GitLab token from `~/.config/gitlab-token`
(never committed). Revoke the token when done.
- The fork's own CI cannot run jobs (GitLab identity verification); F-Droid's
maintainers trigger the real pipeline. The fork CI is currently disabled to
avoid empty-pipeline notification noise.
## Model / evaluation notes
- The app now ships **only** the NVIDIA Parakeet v3 model (Whisper removed).
- Evaluation harness and results (Whisper vs Parakeet vs Whistle):
`tools/whistle-eval/README.md`.
- Desktop model download/side-loading: `tools/download-parakeet.sh`.
## Also done while waiting (goodwill for the queue)
Smoke-tested and commented on: Box Breathing `!51970`, Sun Piano `!52095`,
Zahlenschatzjagd `!52111`.
## Next up
- When it goes live: check <https://f-droid.org/packages/com.tomcooks.reccoon/>
and confirm the F-Droid APK signature still matches
`98ae9f44c34702e9e65bdc6b5bd7098936566be18ac19f96a9eab3dd66347f00`.
- For 1.0.1: pin the Silero VAD with a SHA-256 next to `VAD_BYTES`
(`ModelRepository.java`) — the last open note from the tester.
- Once no more MR work is needed, revoke the GitLab token in
`~/.config/gitlab-token`.
|