# Mixette setup: instructions for AI agents

You are helping a parent put **Mixette**, a kids' audio player app (songs, podcasts, audiobooks, stories; no video), on an **Android** device they already own. This file is the complete procedure. The page for parents, https://getmixette.com/diy/setup/, says the same in plain language.

## Addresses

- Setup page for parents: https://getmixette.com/diy/setup/
- QR code: https://getmixette.com/assets/mixette-setup-qr.png (it carries the signing certificate's checksum, so it stays valid across releases). Never build your own QR code.
- App download (newest release): https://my.getmixette.com/get/mixette.apk
- Computer setup kit: https://my.getmixette.com/get/mixette-setup-kit.zip

## Rules for you

- The parent does the physical steps. Guide one step at a time and wait for them to confirm.
- **Ask for explicit confirmation before anything that erases data** (factory reset, removing accounts). Say plainly what will be lost.
- Never ask for, type or store the parent's passwords, screen lock, or Mixette grown-ups PIN.
- Never bypass Google Factory Reset Protection, company or school management, or Android security. Never jailbreak, root or flash a device.
- Mixette never uses the microphone or camera. Do not enable either for it.
- If a step fails twice, stop and report the exact message, the device model and the Android version.

## 1. Ask these questions (skip the ones that don't apply)

1. **Device:** Android phone, Android tablet, small music player (Android but no Play Store), Amazon Fire tablet, or iPhone/iPad.
2. **Brand** (phones and tablets): Samsung, Google Pixel, Motorola, Xiaomi/Redmi/POCO, OnePlus, Oppo/Realme, Vivo, Nokia, Sony, Lenovo, LG, Huawei, Honor, other.
3. **Play Store** (only Huawei, Honor and "other"): yes, no, or unsure.
4. **Android version** (not for iPhone or Fire): the first number in Settings, About phone (or About device, or About tablet), sometimes Software information, then Android version; or search Settings for "Android version". "6 or older" counts as 6. The parent may answer **"I don't know"** (`android=unknown`); that still has a route (rows 4 and 5 below).

With adb access, `adb shell getprop ro.product.model` and `adb shell getprop ro.build.version.release` answer 2 and 4.

## 2. Decide the route (first match wins)

| # | Condition | Level | Route | Section |
|---|---|---|---|---|
| 1 | iPhone or iPad | Coming soon | none | [#iphone](https://getmixette.com/diy/setup/#iphone) |
| 2 | Amazon Fire tablet | Coming soon | none | [#not-yet](https://getmixette.com/diy/setup/#not-yet) |
| 3 | Android 6 or older | Too old | none | [#not-yet](https://getmixette.com/diy/setup/#not-yet) |
| 4 | Small music player, or Huawei/Honor/other without Play Store (or unsure); any version, including "I don't know" | Hard | Computer setup (if the version is unknown: it must be 7 or newer, and the setup prints it when it starts) | [#computer](https://getmixette.com/diy/setup/#computer) |
| 5 | Android 7 or 8, **or "I don't know"** | Medium | Make it a Mixette (QR) with the Android 7-8 Wi-Fi/QR reader step; for "I don't know", also tell the parent: "If your phone has Android 6 or older, it can't become a Mixette." | [#qr](https://getmixette.com/diy/setup/#qr) |
| 6 | Xiaomi, Oppo/Realme or Vivo | Medium | Make it a Mixette (QR) plus battery step | [#qr](https://getmixette.com/diy/setup/#qr) |
| 7 | Everything else | Easy | Make it a Mixette (QR) | [#qr](https://getmixette.com/diy/setup/#qr) |

Row 5 with Xiaomi, Oppo/Realme or Vivo keeps the battery step too.

Also not possible: devices still managed by a work or school ([#not-yet](https://getmixette.com/diy/setup/#not-yet)), and a lost Google password after a reset done with the phone's buttons ([#help](https://getmixette.com/diy/setup/#help)). Always reset from Settings: then Android does not ask for it.

Mixette is always set up as the device's owner, so the device is given to the kid for Mixette only. There is no "kid mode" on a phone the family keeps using: never offer one, and if a parent wants to keep using the phone, tell them Mixette needs a device of its own.

These rules are code in https://getmixette.com/diy/setup/decide.js. If this file and the code ever disagree, the code wins.

The page sends anonymous counts (no cookies, no IDs) of which route a parent got. You don't need to send anything yourself.

## 3. Make it a Mixette (QR route)

The parent does the physical steps; guide one step at a time and wait for them to confirm each one. Use this route only for Android 7 or newer with Google Play.

**Stop and ask before the factory reset.** Confirm in plain words that everything on the phone will be erased, that photos are saved, and that the reset is done from Settings (a reset with the phone's buttons triggers Google's anti-theft check, which asks for the last Google account's password).

1. Factory reset from Settings. Samsung: Settings, General management, Reset, Factory data reset. Pixel, Motorola, OnePlus: Settings, System, Reset options, Erase all data. Xiaomi: Settings, About phone, Factory reset. Oppo: Settings, Additional settings, Back up and reset. Vivo: Settings, System management, Backup and reset. Otherwise search Settings for "reset".
2. On the first Welcome screen, tap one empty spot 6 times quickly. A QR scanner opens ("QR code mode"). Android 7 and 8 ask for Wi-Fi first and install a QR reader.
3. Scan the QR code from a second screen. Android shows "managed by your organisation": that is expected; tap OK.
4. Xiaomi, Oppo, Realme, Vivo only: after Mixette opens, in Grown-ups, Settings, Open the device settings, set Mixette's battery use to unrestricted and allow autostart.
5. Mixette opens its own setup. Let the parent choose the grown-ups PIN themselves; never ask for it.

Check it worked: Home or Back stays in Mixette. With adb: `adb shell dumpsys device_policy | grep -A3 "Device Owner"` shows `com.getmixette.player/org.pixelparenting.kidsplayer.offlinetest.MixetteAdmin`.

"Can't set up device" usually means the phone is still registered to a company or school. Report the model and Android version to support@getmixette.com; do not retry more than once.

## 4. Set it up with a computer (no Play Store)

If you can run commands on the parent's computer, you can do this route for them. Explain each command before running it. Preconditions: Android 7 or newer, adb from Android platform-tools, exactly one device connected and authorised. **Stop and ask before** removing accounts or resetting the device.

```
adb devices                                   # exactly one "device"
adb shell getprop ro.build.version.release    # Android version, must be 7+
adb shell dumpsys account                     # must show "Accounts: 0"
adb install -r mixette.apk
adb shell dpm set-device-owner com.getmixette.player/org.pixelparenting.kidsplayer.offlinetest.MixetteAdmin
adb shell pm grant com.getmixette.player android.permission.WRITE_SECURE_SETTINGS
adb shell monkey -p com.getmixette.player -c android.intent.category.LAUNCHER 1
```

The kit's `prepare-player.sh mixette.apk` runs the same steps and says READY at the end. If set-device-owner fails, an account or another owner is on the device: report the exact message to the parent.

## Reference

- Package: `com.getmixette.player`
- Device admin: `com.getmixette.player/org.pixelparenting.kidsplayer.offlinetest.MixetteAdmin`
- Home activity: `com.getmixette.player/org.pixelparenting.kidsplayer.offlinetest.KidActivity`
- Accessibility guard: `com.getmixette.player/org.pixelparenting.kidsplayer.offlinetest.PixKeys`
- Support: support@getmixette.com
