First signed Android APK and robotCar.base Ardunio firmware is published on the GitHub. All features are working (cough*), but the UI is very rough.
*Obstacle avoidance doesn’t work yet…
I have an affordable priced but good phone: a Xiaomi Redmi 4X. It has a customized Android by Xiaomi – the MIUI, which I love and hate in the same time. I love the simplicity of the launcher and the dense option of the settings and I hate that I need to change a lot of settings to able to receive push notifications for specific apps. Why that has to be so complicated, maybe because of security, I’m not sure…
Anyway, similar complicated setup needed to able to run and debug Android apps directly from Android Studio via USB. It was difficult to find out, but finally I got success, these were the steps how to achieve:
Well, this is the tricky part. For some reason, the device allow to enable this only if has an added MI Account and have internet connection from China. Otherwise, it says ‘The device is temporarily restricted’. I assume Xiaomi wants to know who enable this setting, but they use a server which is behind the Great Firewall of China? Anyway, since I’m in Europe, I can workaround the second requirement via VPN very easily:
Most the steps I learned from the MIUI forum: http://en.miui.com/thread-544718-1-1.html
Check also the phone itself – it may ask permission to use USB debugging in a popup!
If still not work, check and fix the ADB driver like:
Install the Minimal ADB and Fastboot package from XDA developers (https://forum.xda-developers.com/sho….php?t=2317790 –> https://www.androidfilehost.com/?fid=745425885120698566)
Note, the “Stock” Google USB Driver didn’t worked for me for the Redmi4X. Which can be downloaded in the Android SDK manager and set up like this:
For quicker run, you can disable the selector dialog by Run -> Edit Configuration -> General -> Deployment Target Options -> Target: change to USB Device
Good luck! 😉