Android Installation
SAFER Beta Installation Guide
Thanks for helping test the SAFER beta. This guide will walk you through installing the Android phone app and the WearOS watch app.
Before You Start
What You’ll Need
For the Android Phone App
- An Android phone
- The
SAFER_Android.apkfile
For the WearOS Watch App
- An Android phone paired with a WearOS watch
- A Windows, Mac, or Linux computer
- The
SAFER_WearOS.apkfile - Both devices connected to the same home Wi-Fi or mobile hotspot
Important: WearOS installation will not work on the UC Davis Wi-Fi network because device-to-device communication is restricted.
iPhone users: The watch app currently only works with Android phones paired to WearOS watches.
Install the Android Phone App
Step 1 — Download the APK
Download the file:
SAFER_Android.apk
Optional:
apk_sha256.txtcontains a SHA256 checksum if you would like to verify file integrity.
Step 2 — Allow App Installation
Open the downloaded APK file on your Android phone.
Android may display a message saying “Permission Required.”
Tap Settings.
Enable:
- Allow from this source
After enabling this, the SAFER installer should appear.
Step 3 — Install the App
Tap Install
Wait for installation to complete
When you see the Open button:
- Do NOT tap Open
- Tap Close instead
Step 4 — Re-disable Unknown App Installs
For security, we recommend turning this setting back off:
Return to:
- Settings → Allow from this source
Toggle it OFF
This helps prevent accidental installation of untrusted apps later.
Step 5 — Launch the App
- Open the SAFER app from your app list
- Accept all requested permissions when prompted
The Android app is now installed. You can now [begin using](TODO insert link) or continue to the WearOS installation below.
Install the WearOS Watch App
Installing apps on WearOS requires a few additional setup steps.
Step 1 — Install ADB on Your Computer
ADB (Android Debug Bridge) is required to install the watch app.
Setup guides:
Android Developer Guide: ADB Setup Guide
Simpler walkthrough (recommended for most users): XDA ADB Installation Guide
Once installed, continue below.
Step 2 — Enable Developer Mode on the Watch
On the watch:
Open:
- Settings → About → Software Information
Repeatedly tap:
- Software Version or Build Number
Continue tapping until you see:
- “You are now a developer”
Step 3 — Enable Wireless Debugging
On the watch:
Open:
- Settings → Developer Options
Turn on:
- Wireless Debugging
Step 4 — Download the Watch APK
On your computer:
Download:
SAFER_WearOS.apk
Save it somewhere easy to find, such as:
- Downloads
- Desktop
Step 5 — Pair the Watch with Your Computer
On the watch:
In Wireless Debugging
Tap:
- Pair New Device
The watch will display:
- An IP address
- A port number
- A pairing code
On your computer, open Terminal or Command Prompt and run:
adb pair <IP address:port>
Example:
adb pair 192.168.1.10:12345
You will be prompted for the pairing code shown on the watch.
Enter the code and press Enter.
Step 6 — Connect to the Watch
After pairing:
Stay on the watch’s Wireless Debugging screen
Note the:
- IP address
- new connection port
On your computer run:
adb connect <IP address:port>
Example:
adb connect 192.168.1.10:54321
If successful:
The watch should vibrate
Your computer should display:
connected to <IP address:port>
Step 7 — Install the Watch App
Run the following command on your computer:
adb install /path/to/SAFER_WearOS.apk
Example:
adb install Downloads/SAFER_WearOS.apk
Wait for installation to finish.
After Installation
Open the SAFER watch app once
Initial data synchronization may take up to 40 minutes, as it only syncs once the phone has made a prediction, while the watch app is running
After synchronization completes, the watch app will display:
- Current CBT value
- CBT history
Troubleshooting Tips
Watch Cannot Connect
Make sure:
- The phone, watch, and computer are on the same network
- You are not using UC Davis Wi-Fi
- Wireless Debugging is still enabled
adb Command Not Found
- ADB may not be installed correctly
- Restart your terminal after installation
- Revisit the ADB setup guide above
Installation Fails
- Retry the
adb connectcommand - Restart the watch and try again
- Confirm the APK file fully downloaded
Thank You
We appreciate your help testing the SAFER beta and sharing feedback with the research team.