This directory contains a deployment script to help set up FreeKiosk as a Device Owner on Android tablets.
- adb (Android Debug Bridge) - Download from Android Platform Tools or install using
brew install android-platform-tools- A factory-reset Android tablet with:
- USB Debugging enabled
- No Google accounts or other accounts added
- No lock screen password set
Place your FreeKiosk APK file in this scripts/ directory. The APK should be named in the format:
freekiosk-v*.apk
For example: freekiosk-v1.0.0.apk
Before running the script for the first time, make it executable:
chmod +x deploy_mac.zsh-
Enable Developer Options on your Android tablet:
- Go to Settings > About tablet
- Tap "Build number" 7 times
-
Enable USB Debugging:
- Go to Settings > Developer Options
- Enable "USB debugging"
-
Connect the tablet to your Mac via USB cable
./deploy_mac.zshThe script will guide you through the following steps:
- Check for adb installation
- Locate the FreeKiosk APK
- Verify device connection
- Install the APK
- Set FreeKiosk as Device Owner
- Optionally reboot the device
- Make sure USB debugging is enabled
- Check the USB cable connection
- Look for a popup on the tablet asking to authorize USB debugging
- Check your tablet screen for a USB debugging authorization popup
- Tap "Allow" and try again
Common causes:
- Accounts exist: Remove all Google accounts and other accounts from the tablet
- Lock screen: Remove any PIN, pattern, or password lock
- Previous owner: Factory reset the device to remove any existing device owner
- Install Android Platform Tools
- Add the platform-tools directory to your PATH
- Or use the full path to adb
Once the script completes successfully:
- FreeKiosk will be set as the Device Owner
- The app will have special permissions to manage the device
- You can configure kiosk settings within the FreeKiosk app
- The tablet will be locked down according to your kiosk configuration
For issues or questions, refer to: