Android on Raspberry pi 3

Pavan Tirumani
1 min readJul 23, 2019

Flashing Android on Raspberry pi 3

  1. https://developer.android.com/things/hardware/raspberrypi

Connecting to device using adb

  1. For this to work, raspberry pi 3 and your system should be on same network.
  2. Get the IP of raspberry pi 3 from it’s monitor.
  3. If adb is not there on your system , install it using sudo apt-get adb
  4. run adb connect <ip address> on your system terminal
  5. run adb devices to make sure the device is listed

Installing and launching application

  1. use adb isntall command from your terminal to install application on to raspberry pi 3
adb install /path/toyour/apkfile/xyz.ppk
  1. If the installation goes through successfully you will get Success printed on the screen
  2. use pm command to get list of installed applications
pm list packages -f | grep xyz

4. use monkey command to launch an application

monkey --pct-syskeys 0 application_package_name 1

Copying files across raspberry pi3 and your system

  1. use adb pull command to copy files from rasbperry pi 3 into your system
adb pull /pathtothefile/onrpi3/test.png /path/onyoursystem/

2. use adb push command to copy files from your system to rasbperry pi 3

adb push /pathtothefile/onyoursystem/waka_waka.mp3 /pathonrpi3/

--

--

No responses yet