Add widevine DRM libraries to raspbery Pi Browser (Chromium)
I needed Chrome on my system to allow me to run Amazon Prime (Chromium doesn't seem to be supported anymore)
Create a Linux environment to install RTAndroid onto SD card.
Assumes VirtualBox is already installed.
Insert SD card (NOTE: this card will be formatted; all existing data on it will be lost)
Start command prompt with admin priviledges
Windows 7: search for cmd, CTRL-SHIFT-ENTER to launch
Windows 8: search for cmd, right click cmd and "run as administrator"
From the cmd prompt, identify the SD card USB drive mounted on your Windows system:
Run this command
wmic diskdrive list > drives.txt
Open drives.txt in a text editor
Identify the 'Name' of the SD card drive e.g. \\.\PHYSICALDRIVE2
DANGER: Choosing the wrong drive could result in reformatting you main drive.
Be very sure you have the right drive!
Create a VMDK device file for the SD Card:
cd to working directory where you want the VMDK file to be created.
VBoxManage internalcommands createrawvmdk -filename MySSDDisk.vmdk -rawdisk \\.\PHYSICALDRIVE2
Launch VirtualBox as administrator:
Windows 7: search for VirtualBox, CTRL-SHIFT-ENTER to launch
Windows 8: search for VirtualBox, right click cmd and "run as administrator"
Create a Linux environment in VirtualBox using Vagrant.
Script assumes VirtualBox and Vagrant are installed on Windows
Add the SD Card Disk to VM
VM must be shutdown
VM|Settings...|Storage|Storage Tree|Controller IDE
Select "Add Hard Drive" Icon
Select "Existing Device" and select the MySSDDisk.vmdk file created earlier
Start VM and login
root/vagrant
NOTE: The centos VM created by the vagrant file doesn't seems to allow login via putty.
SSH authentication seems to have been misconfigured. Haven't had time to figure out why.
Create an SD device that can be mounted as a VBox drive.
Download the latest version of the RTAndroid image
NOTE: I had to look at the page source to get the url from the web page!
wget https://git.embedded.rwth-aachen.de/rtandroid/files/rtandroid-aosp-7.1-20161230-rpi3.zip
Add tools:
yum install -y unzip dosfstools android-tools lzip
unzip the file into it's own folder
mkdir ~root/rtandroid
cd ~/root/rtandroid
unzip ../rtandroid-*.zip
check which device the sd card has been mounted on e.g. /dev/sdb:
fdisk -l
run the install script (X = device identifier):
DANGER: Installing on the wrong device can lose your data.
./install.sh -p -f /dev/sdb
Shutdown the VM and eject SD Card
Start Android
If all goes well, transfer the SD Card to the Raspberry Pi 3 and boot up.
First boot can take some time.
Find the devices IP address in Settings| Android Info| Network(??)
Final Android install
Delete the SD Card device from the VM Storage devices and restart the VM.
Connect to Raspberry Pi and install the google apps
adb connect 192.168.2.13
cd ~/root/rtandroid
./gapps.sh -i 192.168.2.13 -a arm
reconnect to WiFi after Rasberry Pi reboots (if using Wifi) and script will resume to completion
Google Play is now available on the apps page.
After installing Amazon Apps, then Amazon Video, I can play Amazon Prime videos (using my own Prime membership), but the video is occasionally loosing sync (particularly when the camera shot changes).
I assume this is an issue with the video decoder? But I don't know enough about RTAndroid and how Amazon plays video to make any definite diagnosis.