Skip to main content

A sideload-only Android app forwards SMS and WhatsApp previews to a Grok Bot webhook

GitHubGitHubkfirs2026-12-02

Life assistantSource read in fullRead first
GitHubGitHubkfirs2026-12-02

Open original

Overview

An Android user who wants Grok Bot to see incoming SMS or WhatsApp notification previews can sideload this app and point it at a webhook-triggered routine, without giving the app power to send or reply.

Workflow

  1. What it is: A sideload-only Android app that forwards incoming SMS, or a WhatsApp / WhatsApp Business notification preview, as JSON to a Grok Bot routine webhook. The home-screen name is notificationsToGrokbot in both Hebrew and English. The interface follows the phone language, with a switch for system / English / Hebrew, and a right-to-left layout in Hebrew. The fetched README is in Hebrew; it points to README.md for the English guide, but that English file was not included as a fetched file block. The app does not send messages, reply, or delete. It is not on Google Play: the README says Play's SMS and call-log policy does not allow an app that reads SMS this way unless it is the default messaging or assistant app, which this is not.
  2. Grok Bot parts used: One routine whose trigger is a webhook. The owner creates that routine in Grok Bot, copies the webhook URL and the secret the routine shows, and pastes both into the app's connection screen. The URL must be https. There is no x.ai/bot/... template link, and no Grok Bot skill, Page, or connector file in the repo. Not part of Grok Bot: the Android app itself, the SMS and notification-access permissions, WhatsApp / WhatsApp Business, contacts, battery and OEM background settings, and building or signing the APK.
  3. You need: A Grok Bot routine with a webhook trigger, an Android phone that can sideload an APK, and the permissions listed in the README. The build table gives minSdk 28. The install steps are written for Android 8 and up on stock (Pixel / AOSP) menu names; other makers use different names. A release keystore is not in the repo. Not stated in the source: which Grok Bot plan is required.
  4. Install: Create the Grok Bot webhook routine first, then sideload the APK and paste the URL and secret. The README's order, kept as sub-steps:
    • Step 1 (Grok Bot routine): In Grok Bot, create a routine whose trigger is a webhook.
    • Step 2: Copy the webhook URL and the secret the routine shows. The URL must be https.
    • Step 3: Do not save those values in git, and do not paste them into an issue.
    • Step 4: Install notificationsToGrokbot and open the connection screen (labelled חיבור in the Hebrew README).
    • Step 5: Paste the URL and the Bearer secret and save. The secret is stored in EncryptedSharedPreferences and is not written to logcat.
    • Step 6: The test-send control (שליחת בדיקה) sends a sample event with no filters. Turn the monitoring switch on when real messages should be forwarded.
    • Step 1 (APK): On the phone, open the repo's GitHub Releases page and download notificationsToGrokbot-v1.1.1.apk.
    • Step 2: Allow installation from the app that opens the file. From Android 8 this is per source app, not one phone-wide switch (Settings > Apps, then the browser or file manager > Install unknown apps).
    • Step 3: Google Play Protect may warn that an unsafe app was blocked, or that an app scan is recommended. The README says to open more details and install anyway, or scan and then install, and prefers leaving Play Protect scanning on.
    • Step 4: On first launch, approve the SMS permission; grant notification access so WhatsApp previews can be read; on Android 13 and up, also allow restricted settings before notification access will stick; set battery use for the app to unrestricted.
    • Step 5: Uninstall v1.0.0 before installing a later version. v1.0.0 is signed with a different key, so Android will not update it in place. v1.1.1 is signed with the same key as v1.1.0 and can be installed over it. The APK attached to the GitHub release is signed with a one-off key that is not in the repo. ./gradlew assembleDebug produces a debug-signed APK; there is no keystore in the repo.

    The README adds maker-specific battery and install notes for Samsung (One UI 6+), Xiaomi / Redmi / POCO, OnePlus / OPPO / realme, and Huawei / Honor, and points to https://dontkillmyapp.com. Stock Google Pixel needs no extra steps beyond the list above.

  5. After install: Incoming SMS or a WhatsApp notification preview is POSTed as JSON to the pasted webhook, if it passes the filters that have been turned on.
    • The request uses Content-Type: application/json and Authorization: Bearer plus the pasted secret. There is no hard-coded webhook URL; the field starts empty.
    • SMS payload, copied as shown (Meaning: the placeholders are the number, a display name or blank, the body, and an ISO-8601 timestamp):

{"source":"sms","from":"<מספר>","contact":"<שם או ריק>","text":"<גוף>","at":"<חותמת זמן ISO-8601>"}

  • WhatsApp and WhatsApp Business payload, copied as shown (Meaning: the placeholders are the notification title and the notification text):

{"source":"whatsapp","from":"<כותרת ההתראה>","contact":"<כותרת ההתראה>","text":"<טקסט ההתראה>"}

  • Quotes, backslashes and newlines in the text are encoded so the JSON stays valid. All filters start off; until they are turned on, messages on an enabled channel are forwarded. Channels (SMS, WhatsApp including Business, or both) both start on. Other optional filters cover allow/block contacts, phone contact groups (not WhatsApp groups), unknown numbers, links, business senders, keywords, WhatsApp personal vs group when the notification marks it, and quiet hours on the phone's local clock.
  • WhatsApp coverage is the notification preview only. A muted chat, or a chat with no notification, does not appear. The app does not use an unofficial WhatsApp API, does not read the WhatsApp database, and does not use an accessibility service. RCS messages often do not arrive as SMS, and then they are not seen. Identical notification updates from the same chat inside a short window are sent once.
  • The README says there is no analytics, advertising or third-party tracking. Previews go only to the webhook URL the user enters. App data is not included in cloud backup. A silent, persistent notification stays up while monitoring is on.
  1. Did the author run it: The repository has no run records from the author. The README includes a flow illustration at docs/demo.gif. GitHub Actions runs unit tests and builds a debug APK on every push and pull request; that is not a record of the Grok Bot routine receiving a live SMS or WhatsApp preview.

Key points and results

  • Maturity: At fetch time on 2026-12-02 the repo was created at 2026-12-01T20:40:03Z, last pushed at 2026-12-01T21:20:31Z, with 4 commits, 0 stars, 0 forks, 0 open issues or PRs, and an MIT license. Copyright in the README is 2026 Kfir Sasson. The app is documented as sideload-only and is not on Google Play.
  • Permissions and boundaries: The app can read a newly arrived SMS and the notification preview of WhatsApp or WhatsApp Business, and it POSTs that preview to the webhook URL the owner pasted. It does not send, reply to, or delete messages. Contacts permission is optional, for a display name and for some filters. The Bearer secret is stored in EncryptedSharedPreferences and must not be committed or pasted into an issue. Old SMS threads are not read.
  • Known limits: WhatsApp coverage is the notification preview only; muted or notification-less chats are missed; RCS often does not show up as SMS; identical short-window updates are sent once. v1.0.0 cannot be upgraded in place because of a different signing key. The fetched file blocks include the Hebrew README, not the English README.md. The source does not say which Grok Bot plan is required, and it has no author run record of a live routine.
  • Worth borrowing: Keep the webhook URL and Bearer secret out of git and issues, and store the secret in EncryptedSharedPreferences rather than logs. See the routine-setup and privacy sections of the README.
  • Worth borrowing: Leave every filter off until it is turned on, so a half-configured allow-list cannot silently drop all messages. See the filters section of the README.
  • Worth borrowing: Tell the owner to uninstall a differently signed APK (v1.0.0) before installing a later build, instead of expecting an in-place update. See the APK install section of the README.

Source

Platform
GitHub
Author
kfirs
Published
Categories
Life assistant

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.