RTAndroid Installation Tutorial + Gapps Installtion Tutorial [LINUX ONLY][Android 7.1][RPI 3]

19,383 views
Skip to first unread message

Colton Griswold

unread,
Nov 3, 2016, 12:45:23 PM11/3/16
to Android-rpi, coltonj...@aim.com
If you have any questions or concerns, please leave a reply

Prerequisites
  1. running as root
  2. apt-get install lzip xz-utils android-tools-adb android-tools-fastboot

Getting RTAndroid
  1. cd ~
  2. mkdir rt
  3. cd rt
  4. wget https://git.embedded.rwth-aachen.de/rtandroid/files/rtandroid-7.1-20161031-rpi3.zip -O ./rtandroid-7.1-20161031-rpi3.zip
CONFIG.txt
  1. cd ~/rt
  2. nano boot/config.txt
  3. refer to this page: Config
  4. Helpful commands:
  5. /opt/vc/bin/tvservice -m CEA
  6. /opt/vc/bin/tvservice -m DMT
  7. /opt/vc/bin/tvservice -s
Gapps.sh
  1. ~/rt
  2. nano gapps.sh
  3. change TIMESTAMP to 20151129
  4. change VERSION to 6.0
FINDING SDCARD
  1. fdisk -l
  2. make sure the storage size matches your sdard and it should be like '/dev/sda' or similar
Installing RTAndroid
  1. cd ~/rt
  2. ./install.sh -p /dev/sda
  3. wait for it to finish
  4. Put sdcard into your pi and start it
  5. If all is well you should get a RTAndroid logo
Gapps Installation
  1. Connect to wifi on the pi running RTAndroid
  2. Go to settings->about and keep clicking on build version until developer options enable
  3. go to about->status and jot down the rpi3 ip address
  4. go back to settings->developer options and enable usb debugging
  5. switch back to the host linux machine
  6. adb start-server
  7. cd ~/rt
  8. ./gapps.sh -a arm -i <ip address>
  9. After first reboot wifi on the pi will need to be manually re-enabled, do so
  10. once all is done, you should have Google play!

Igor Kalkov

unread,
Nov 3, 2016, 7:02:18 PM11/3/16
to Android-rpi, coltonj...@aim.com
Great work, Colton! Thanks a lot.

Colton Griswold

unread,
Nov 4, 2016, 10:46:07 AM11/4/16
to Android-rpi
No problem!

xxxxxq...@gmail.com

unread,
Nov 8, 2016, 10:48:38 AM11/8/16
to Android-rpi, coltonj...@aim.com
Does it work with the offical RPI 7" display and touchscreen?

Colton Griswold

unread,
Nov 8, 2016, 10:54:04 AM11/8/16
to Android-rpi
It's untestested as I do not own one myself. If you can find out, that would be great!

xxxxxq...@gmail.com

unread,
Nov 8, 2016, 11:04:19 AM11/8/16
to Android-rpi
I was hoping you'll have an answer before I dig in and re-flash my SD card yet again :)

What graphic stack is it using? ATM I've got Fedora 25 running on it using VC4 KMS + gallium driver and I can get everything working perfectly. With properly working OpenGL I even have plasma5 working on Xorg and Wayland.

I'm not sure if Android is using the same configuration. Are you using MESA for OpenGL/OpenGL ES?

xxxxxq...@gmail.com

unread,
Nov 8, 2016, 11:30:35 AM11/8/16
to Android-rpi


On Tuesday, 8 November 2016 15:54:04 UTC, Colton Griswold wrote:
It's untestested as I do not own one myself. If you can find out, that would be great!

Just tested it. The display does not light up at all. Would you be able to point me out to your kernel .git tree and your kernel .config? I could compare it with mine and hopefully make it work. 

Colton Griswold

unread,
Nov 8, 2016, 11:36:54 AM11/8/16
to Android-rpi
Sorry to say, but I don't actually work on RTAndroid. I simple wrote a tutorial for it. Ask Igor or here https://git.embedded.rwth-aachen.de/rtandroid/downloads/raspberry-pi/

Igor Kalkov

unread,
Nov 8, 2016, 11:59:58 AM11/8/16
to Android-rpi, xxxxxq...@gmail.com

Azeo

unread,
Jan 1, 2017, 1:02:53 AM1/1/17
to Android-rpi

Fantastic, worked for me, a Linux/Android/pi newbie! Thanks for the great tutorial.

Colton Griswold

unread,
Jan 2, 2017, 3:06:50 PM1/2/17
to Android-rpi
No problem, it's great to hear that!

hunter...@gmail.com

unread,
Mar 13, 2017, 3:32:30 PM3/13/17
to Android-rpi
Hello I just put rtandroid on an rpi3 and it seems to work fine on a regular tv thru hdmi but on the official 7 in touchscreen the picture is off to the right by an inch but the touchscreen works like if I touch on where something should be if the picture where were it should be it works so the touch screen is calibrated right but the picture is self is offset I have set the resolution in build.prop and tried to adjust the overscan in the config.txt and it just doesn't really do anything the picture is the right size but it's just shifted to the right any advice would be greatly appreciated

dcee...@gmail.com

unread,
Mar 14, 2017, 10:14:48 AM3/14/17
to Android-rpi, coltonj...@aim.com
Hi,
I flashed the card with the instructions for Rtandroid.
Last line is
ERR: boot directory not found!

Any idea?

Sven

Colton Griswold

unread,
Mar 14, 2017, 10:57:15 PM3/14/17
to Android-rpi, coltonj...@aim.com, dcee...@gmail.com
Not sure, can you provide more detailed information on this error? Steps to reproduce, what you did?

Igor Kalkov

unread,
Mar 15, 2017, 1:10:18 PM3/15/17
to Android-rpi, hunter...@gmail.com
Use the included video script after the installation.

Igor Kalkov

unread,
Mar 15, 2017, 1:10:55 PM3/15/17
to Android-rpi, coltonj...@aim.com, dcee...@gmail.com
Don't use "sudo ./install.sh".

tekno...@gmail.com

unread,
Mar 16, 2017, 5:59:10 AM3/16/17
to Android-rpi, coltonj...@aim.com
If done with kali linux, adb cannot start as root if using root account. So heres a solution: add non root user with sudo group added. See here: https://www.blackmoreops.com/2013/11/27/how-to-add-remove-user-standard-user-non-root-in-kali-linux/

hunter...@gmail.com

unread,
Mar 16, 2017, 7:14:03 PM3/16/17
to Android-rpi
I'm sorry but I'm not quite sure what script your talking about

hunter...@gmail.com

unread,
Mar 16, 2017, 7:17:27 PM3/16/17
to Android-rpi
Never mind I see it in the folder I will try that thank you
Message has been deleted

TheOldMan

unread,
Mar 17, 2017, 7:48:27 AM3/17/17
to Android-rpi, coltonj...@aim.com
Hello I am new to this forum,,but I wanted to let the developer know,,The last 3-4 builds seem to be stable thus far..I am running the latest Version Repository 3/15/2017..although there is still issues with Gallery App not working,and cannot install wall paper..I am just begining to understand the Linux Terminal commands,,I have had little problem loading these Builds to my Raspberry Pi3 via my Linux Laptop Host Machine..I am still learning,and used the install guide available here on Google groups,,I would like to see more guides uploaded to help us understand the code to do our own builds..I would like to load the video/audio codecs I use on my film editing machine,applied to this Android build,,for more video formats..I am using this RTAndroid Build to install My Parish App for my Church,and a bunch of others,and I would like to be able to code my own apks for special groups,and classes..I have a  Raspberry Pi3 clear case I want to be able to get 24 or so to give to Parish Members who don't have nor use smart devices,,nor can't afford them..This would be Perfect!!..Thanks to all the coders contributing to this Project>>God Bless You!!

hunter...@gmail.com

unread,
Mar 18, 2017, 3:01:39 PM3/18/17
to Android-rpi
Worked flawlessly thank you for helping me with that I have one more question is there a way to side load apps without gaps it is just a lot faster for me without it but I have 3 or 4 apps I want on there or if there is a way to uninstall gaps afterwords thank you

jasper...@gmail.com

unread,
Mar 22, 2017, 5:34:17 PM3/22/17
to Android-rpi, coltonj...@aim.com
Hi When i try to install GApps then it loads for a Little bit and then says
ERR: Failed to Unzip Package contents
Please Help

Thanks!!


Igor Kalkov

unread,
Mar 25, 2017, 9:52:37 AM3/25/17
to Android-rpi, coltonj...@aim.com, jasper...@gmail.com
Can you post a full error log?

yaffeme...@gmail.com

unread,
Apr 11, 2017, 9:40:14 AM4/11/17
to Android-rpi, coltonj...@aim.com, jasper...@gmail.com
It is failing for me also with both arm and arm64.

*Unzipping package...
./gapps.sh: line 142: unzip: command not found

Err: unzipping the pagkage failed!

Sam Geyskens

unread,
Apr 11, 2017, 9:56:22 AM4/11/17
to Android-rpi, coltonj...@aim.com, jasper...@gmail.com, yaffeme...@gmail.com
You need to install unzip first:

sudo apt-get install unzip

Op dinsdag 11 april 2017 15:40:14 UTC+2 schreef yaffeme...@gmail.com:

yaffeme...@gmail.com

unread,
Apr 11, 2017, 10:33:41 AM4/11/17
to Android-rpi, coltonj...@aim.com, jasper...@gmail.com, yaffeme...@gmail.com
Worked Perfectly. Thanks!

jm.gumm...@googlemail.com

unread,
Apr 17, 2017, 5:32:30 PM4/17/17
to Android-rpi
Hello i did everything but the pi does only show the rtandroid bootscreen an nothing else happens. Ive been waiting foe hours. what was wrong ? can somebody give me an image ? or support ?

Colton Griswold

unread,
Apr 17, 2017, 7:05:22 PM4/17/17
to Android-rpi, jm.gumm...@googlemail.com
Did you follow the instructions exactly? If so, just wipe the sdcard and try again.

jm.gumm...@googlemail.com

unread,
Apr 18, 2017, 1:53:32 AM4/18/17
to Android-rpi
yes i did but everytime it gets stuck on the boot ive wiped is several times

Aaditya H.G

unread,
Apr 21, 2017, 4:34:25 AM4/21/17
to Android-rpi, coltonj...@aim.com
Hey , I tried this but Pi doesn't boot. The green LED doesn't blink at all. The Lineage OS image boots fine, but no luck with RT Android.

Colton Griswold

unread,
Apr 21, 2017, 7:09:27 AM4/21/17
to Android-rpi, coltonj...@aim.com
Something may have went wrong, try reinstalling.

www.ston...@gmail.com

unread,
Apr 27, 2017, 3:20:22 AM4/27/17
to Android-rpi, coltonj...@aim.com
Hello

./gapps.sh -a arm -i <ip address>


If i run this command i got permission denied. Also directly on my PI if i run it directly in the local Terminal.

Why?

Regards


Am Donnerstag, 3. November 2016 17:45:23 UTC+1 schrieb Colton Griswold:

Colton Griswold

unread,
Apr 27, 2017, 9:06:00 AM4/27/17
to Android-rpi, coltonj...@aim.com, www.ston...@gmail.com
Make sure the script has executable permissions ie sudo chmod +x gapps.sh

www.ston...@gmail.com

unread,
Apr 27, 2017, 10:38:06 AM4/27/17
to Android-rpi, coltonj...@aim.com
YES THANK YOU

sudo chmod +x gapps.sh

Before running the script it is necessary to give the execute permission !!!!!

THX

karl...@gmail.com

unread,
Jul 27, 2017, 1:26:21 PM7/27/17
to Android-rpi, coltonj...@aim.com

I don't understand how this works, I put /dev/sdc and it says no device found... am I not supposed to do gapps after I do android?? These guides are not clear at all..  

Kevin Crow

unread,
Jul 27, 2017, 1:57:50 PM7/27/17
to karl...@gmail.com, Android-rpi, coltonj...@aim.com
Its sda not sdc

Sent from TypeApp

Sam Geyskens

unread,
Jul 27, 2017, 11:56:46 PM7/27/17
to Android-rpi
It depends on your installation. Mostly it will not be SDA. Can you post the output of the fdisk -l command?

vent...@gmail.com

unread,
Aug 2, 2017, 6:54:22 AM8/2/17
to Android-rpi, coltonj...@aim.com
Hi Team,

Please assist me, I have 0 linux knowledge, and i managed to download the RTwindows zip and written it to the SD card, in the Pi3 it boots and is stuck on the loading screen, I read that it might be due too no Root password set, how can I get the device to complete its initial setup\boot

15st...@calthorpepark.org

unread,
Nov 7, 2017, 3:00:22 AM11/7/17
to Android-rpi
Hi does anyone have one thatthey can send me because it seems to have been removed

Sachin Jambhulkar

unread,
Jan 2, 2018, 3:16:17 AM1/2/18
to Android-rpi
Hi All,

I'm going through the instructions based on the tutorial published earlier. The source file from the URL: https://git.embedded.rwth-aachen.de/rtandroid/files/rtandroid-7.1-20161031-rpi3.zip, does not exists. Hence can't proceed with the next set of instructions.

Could someone post rtandroid-7.1-20161031-rpi3.zip ?

Thanks
Sachin

dmz.ja...@gmail.com

unread,
Jan 2, 2018, 7:12:36 PM1/2/18
to Android-rpi
This is deader than the fucking dodo.

Sachin Jambhulkar

unread,
Jan 3, 2018, 10:59:51 AM1/3/18
to dmz.ja...@gmail.com, Android-rpi
let me read this as obituary of dodo :)

--
You received this message because you are subscribed to a topic in the Google Groups "Android-rpi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-rpi/E-6MyQKSf-M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-rpi+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-rpi/684246e3-2faa-41a8-97a1-772e6915898f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

jzel...@gmail.com

unread,
Jan 9, 2018, 1:06:35 AM1/9/18
to Android-rpi
Has anybody tried downloading RTAndroid lately? Can't join the website like it requires for the download and now forced to use their new version which reboots every 8 hours. Wish there was a repository of those ZIPs.

haas...@gmail.com

unread,
Feb 7, 2018, 10:55:21 AM2/7/18
to Android-rpi
Hi,
Does anyone have stored one of the last 7.1.1 images locally which can be shared with me?
I would be very pleased about it!
Cheers,
Matthias

Igor Kalkov

unread,
Aug 3, 2018, 5:16:19 AM8/3/18
to Android-rpi
You can switch to emteria.OS as RTAndorid isn't supported anymore.
Reply all
Reply to author
Forward
0 new messages