- Create a new device by visiting the Console Devices Page and enter the desired device ID for your product.
- Refer to Devices Support Page for instructions to create a new device.
- Note down the device id, secret and account id displayed after creating a new device. You will need this information later.
- Extract the CA_INI_ANDROID tar file to your local machine. The tar file contains the Cirrent APK, personalize_android script and a Cirrent directory.
- Connect to Android using adb by executing the following command. You will need to enable USB debugging on your Android device.
adb connect IP_ADDRESS_OF_ANDROID_ON_SAME_SUBNET
- Run the personalize_android.sh script on your local machine while connected to android over adb and enter the Device credentials created in Step 1.
- Make sure the credentials created in Step 1 matches the contents of file /sdcard/Cirrent/keys/credential.key file on the Android device.
- If you have trouble running the personalize_android.sh on windows:
- Push the Cirrent directory to Android using "adb push Cirrent /sdcard".
- Change the device credentials in the file "/sdcard/Cirrent/keys/credentials.key" using "vi" or any other text editor via adb shell
adb install PATH_TO_CIRRENT_APK
adb shell am startservice -n com.cirrent.backgroundservice/.CirrentBackgroundService
- The cirrent service will be started in the background. You can log into the Console and check the INI data on the device explorer page by entering the device id created in step 1 and click the Explore button.
- If you don't see the updates on the device explorer page,
- Make sure that the Cirrent service is running by typing in "ps -A | grep cirrent" in adb shell, if not then run the command in step 9 again.
- Disable SELINUX on the Android box
- If you still have trouble getting things up and running contact firstname.lastname@example.org with the adb logcat output of your Android device and the Android version of your device.