Android on 7 inch raspberry pi official touchscreen display

8,920 views
Skip to first unread message

Vishruth

unread,
Dec 14, 2016, 8:50:31 AM12/14/16
to Android-rpi
Hey guys , I'm trying to make an android tablet using raspberry pi 3. I have a 7 inch touchscreen display. I have downloaded the image from youtube tutorials for nougat and marshmallow. But it happens to run only on HDMi TV and not on Touchscreen display which uses the DSI port of raspberry pi. 
IT would be helpful of you if someone could send me a link to download the image for android which is compatible with the touch display. Or if I should change some settings in the kernel modules of OS do tell me.
Thank you

Igor Kalkov

unread,
Dec 14, 2016, 11:07:41 AM12/14/16
to Android-rpi
We do have a working version (the attached image is made today). But it requires a lot of changes to system files after the installation.
In a couple of days we will release a script to setup a video resolution after installation.
PHOTO_20161214_134235.jpg

sebast...@gmail.com

unread,
Dec 16, 2016, 1:09:32 PM12/16/16
to Android-rpi
Hi Igor, just in case, arent you working or planning to work on reading wiegand protocol to android thing?

olivierdes...@gmail.com

unread,
Dec 20, 2016, 2:47:19 PM12/20/16
to Android-rpi
Great news! Is it usable everyday or is it too slow and buggy?

Igor Kalkov

unread,
Jan 2, 2017, 3:19:28 AM1/2/17
to Android-rpi, sebast...@gmail.com
No, we are not working on that.

mathew.a...@gmail.com

unread,
Jan 14, 2017, 8:39:38 AM1/14/17
to Android-rpi
Has the scripts been released yet?

Igor Kalkov

unread,
Jan 14, 2017, 9:57:12 AM1/14/17
to Android-rpi, mathew.a...@gmail.com
The beta version of the script was pushed to github a couple of hours ago. It will be automatically included into the tomorrow's build.
The script uses a new initialization method in RTAndroid, so it will probably only work with the latest release. We didn't test it with old releases though.

mathew.a...@gmail.com

unread,
Jan 15, 2017, 2:53:08 PM1/15/17
to Android-rpi, mathew.a...@gmail.com
Great! I've installed it on the RPI3! A bit of flickering at start, But seems to be working just fine after the initial install. Good work!!!
Message has been deleted

Steve Fleck

unread,
Jan 17, 2017, 8:23:35 AM1/17/17
to Android-rpi, mathew.a...@gmail.com
Hi Igor!
Great work. 
I was wondering which script I needed to try loading to the Pi3 B w/official touchscreen?

Thanks!

Igor Kalkov

unread,
Jan 17, 2017, 9:02:04 AM1/17/17
to Android-rpi, mathew.a...@gmail.com
Please download the latest release, install and run:

./video.sh -c raspberry-7inch-touchscreen /dev/DEVICE

xer...@googlemail.com

unread,
Jan 19, 2017, 11:27:26 AM1/19/17
to Android-rpi, mathew.a...@gmail.com
When I try to use this command, he wants to chose one of the two configrations... any idea ? ( its: ./video.sh -c raspberry-7inch-touchscreen -a arm -i myip), thanks

Igor Kalkov

unread,
Jan 19, 2017, 11:34:07 AM1/19/17
to Android-rpi, mathew.a...@gmail.com, xer...@googlemail.com
Please read my post again. There are no "-a -i" options available in the video script.

xer...@googlemail.com

unread,
Jan 19, 2017, 11:57:38 AM1/19/17
to Android-rpi, mathew.a...@gmail.com, xer...@googlemail.com
Ye, i figured it out, sorry for that stupid question, it works now :).

Marcel Beckers

unread,
Jan 28, 2017, 3:32:51 AM1/28/17
to Android-rpi
Where can i download this working image?

Op woensdag 14 december 2016 14:50:31 UTC+1 schreef Vishruth:

adrian...@gmail.com

unread,
Feb 4, 2017, 1:44:16 PM2/4/17
to Android-rpi
Hey, mine doesnt work. Please see the image

Igor Kalkov

unread,
Feb 4, 2017, 3:24:52 PM2/4/17
to Android-rpi, adrian...@gmail.com
What image?

luoyo...@gmail.com

unread,
Feb 5, 2017, 9:34:53 PM2/5/17
to Android-rpi, mathew.a...@gmail.com

Where is the corresponding script & RTAndroid image file?

Igor Kalkov

unread,
Feb 6, 2017, 2:24:29 AM2/6/17
to Android-rpi, mathew.a...@gmail.com, luoyo...@gmail.com
The video script is included into the RTAndroid zip package.

罗勇刚(Yonggang Luo)

unread,
Feb 6, 2017, 2:30:16 AM2/6/17
to Igor Kalkov, Android-rpi, mathew.a...@gmail.com
Do I need  to specify any parameter to the video script?

On Mon, Feb 6, 2017 at 3:24 PM, Igor Kalkov <k4l...@gmail.com> wrote:
The video script is included into the RTAndroid zip package.



--
         此致

罗勇刚
Yours
    sincerely,
Yonggang Luo

lloyd....@gmail.com

unread,
Feb 7, 2017, 9:02:42 AM2/7/17
to Android-rpi
Where am I able to find the image?

Igor Kalkov

unread,
Feb 7, 2017, 12:11:05 PM2/7/17
to Android-rpi, lloyd....@gmail.com

lampen...@gmail.com

unread,
Feb 8, 2017, 3:38:34 AM2/8/17
to Android-rpi, lloyd....@gmail.com
 with the latest image rtandroid-aosp-7.1-20170208 the video.sh script for the raspberry display stops with errors. Nevertheless it works after that, so maybe it is only a small problem. The error(s):

the command:
sudo ./video.sh -c raspberry-7inch-touchscreen /dev/sdb

the log:
Video configuration script for RPi started.
Target device: /dev/sdb
Screen config: raspberry-7inch-touchscreen

 * Checking access permissions...
 * Checking the device in /dev/sdb...
 * Unmounting mounted partitions...
 * Mounting required partitions...
  - boot partition
  - system partition
 * Downloading configuration...
  - name: raspberry-7inch-touchscreen
  - url: https://raw.githubusercontent.com/RTAndroid/android_vendor_brcm_rpi3_scripts/aosp-7.1/video/raspberry-7inch-touchscreen
 * Applying the configuration...
patching file boot/config.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file boot/config.txt.rej
patching file system/build.prop
ERR: Patching failed!

Maybe you can have a short look.

Thanks
Frank

Igor Kalkov

unread,
Feb 8, 2017, 5:11:25 AM2/8/17
to Android-rpi, lampen...@gmail.com
Thanks for reporting, Frank. Should be fixed now.
For testing please re-install (one of your files was changed) and re-run the video script. It will automatically pull the latest version.

lampen...@gmail.com

unread,
Feb 8, 2017, 9:53:07 AM2/8/17
to Android-rpi, lampen...@gmail.com
Thanks for the fast fix Igor, it works.

newk...@gmail.com

unread,
Feb 9, 2017, 1:47:40 AM2/9/17
to Android-rpi

hello anyone can help me what steps to follow fitting rtandroid-aosp-7.1-20170209-rpi3 to 7" lcd touchscreen? thanks

newk...@gmail.com

unread,
Feb 9, 2017, 7:13:05 AM2/9/17
to Android-rpi
hello sirs what file should i path?? or what to input to this one 
jan@jan-virtual-machine ~/Downloads $ ./video.sh -c raspberry-7inch-touchscreen /dev/sdb
Video configuration script for RPi started.
Target device: /dev/sdb
Screen config: raspberry-7inch-touchscreen

 * Checking access permissions...
 * Checking the device in /dev/sdb...
 * Unmounting mounted partitions...
 * Mounting required partitions...
  - boot partition
  - system partition
mount: /dev/sdb2 is not a block device (maybe try `-o loop'?)
 * Downloading configuration...
  - name: raspberry-7inch-touchscreen
 * Applying the configuration...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN a/boot/config.txt b/boot/config.txt
|--- boot/config.txt 2017-01-14 10:43:33.261981080 +0100
|+++ boot/config.txt 2017-01-14 10:46:49.711975447 +0100
--------------------------
File to patch:  



Noong Miyerkules, Disyembre 14, 2016 ng 9:50:31 PM UTC+8, si Vishruth ay sumulat:

Igor Kalkov

unread,
Feb 9, 2017, 8:56:02 AM2/9/17
to Android-rpi, newk...@gmail.com
Your installation seems to be wrong:

mount: /dev/sdb2 is not a block device (maybe try `-o loop'?)

You didn't have this problem in your latest log. Please reinstall and try again, if the installation goes fine. 

ruck...@gmail.com

unread,
Feb 10, 2017, 4:45:03 PM2/10/17
to Android-rpi
The script works fine. Great job!

Do you have any ideas on how to rotate screen by 180º?

Diskio Pi

unread,
Feb 11, 2017, 2:57:13 AM2/11/17
to Android-rpi

Do you have any ideas on how to rotate screen by 180º?

Hi, you want maybe set the config.txt with this parameter:
display_rotate=2 

Thomas Ruckstuhl

unread,
Feb 11, 2017, 4:36:50 AM2/11/17
to Android-rpi

I set the parameter in config.txt but it is still upside down. Except this little issue the screen does work perfectly. I'm wondering why they manufactured the frame for the official screen the wrong way...

cat config.txt:

hdmi_force_hotplug=1
hdmi_drive=2
hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0
kernel=zImage
device_tree=bcm2710-rpi-3-b.dtb
dtparam=audio=on
dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=vc4-kms-v3d,cma-256
dtoverlay=i2c-rtc,ds3231
dtoverlay=rpi-backlight
dtoverlay=rpi-ft5406
initramfs ramdisk.img 0x01f00000
mask_gpu_interrupt0=0x400
avoid_warnings=2
gpu_mem=256
enable_uart=1
display_rotate=2

Do you have any other ideas?

Igor Kalkov

unread,
Feb 11, 2017, 4:51:38 AM2/11/17
to Android-rpi
Can you use an existing application for this? Something from Google Play Store?
Message has been deleted
Message has been deleted

Thomas Ruckstuhl

unread,
Feb 11, 2017, 5:22:29 PM2/11/17
to Android-rpi


Am Samstag, 11. Februar 2017 08:57:13 UTC+1 schrieb Diskio Pi:
Thank you for showing me the right direction. With "lcd_rotate=2" it works perfectly.




Frans Thamura

unread,
Feb 19, 2017, 10:04:34 AM2/19/17
to Android-rpi
can we use the waveshare's LCD that connect to the gpio of raspi3

we have the 2.4, 3.5" piscreen

thx

Igor Kalkov

unread,
Feb 19, 2017, 7:21:40 PM2/19/17
to Android-rpi
Didn't try it myself. My waveschare HDMI LCD 7" works fine.
Message has been deleted

Igor Kalkov

unread,
Mar 7, 2017, 9:23:03 AM3/7/17
to Android-rpi, zumpan...@gmail.com
You need either "curl" binary. Can you install it on Debian? I'm using Ubuntu and it seems to be preinstalled.
Message has been deleted

soap...@gmail.com

unread,
Mar 8, 2017, 4:16:16 AM3/8/17
to Android-rpi
Hello Igor,

I tested today, but I have the issue with download driver like zumpan... .
I used Ubuntu Desktop. Can you scribed me this curl in binary and where in video.sh row I get it.
Thanks
PS: Im totally beginer please be quiet.

Dňa pondelok, 20. februára 2017 1:21:40 UTC+1 Igor Kalkov napísal(-a):

Igor Kalkov

unread,
Mar 8, 2017, 4:28:23 AM3/8/17
to Android-rpi, soap...@gmail.com
You don't need any additional files on Ubuntu. Everything should be included into the zip package.

soap...@gmail.com

unread,
Mar 8, 2017, 5:08:06 AM3/8/17
to Android-rpi, soap...@gmail.com
OK, you have true.
The Issue is not installed Ubuntu, run only from usb.
Than I installed curl - driver was updated.
Like I scribed - Im beginer who learn by walk.

Dňa streda, 8. marca 2017 10:28:23 UTC+1 Igor Kalkov napísal(-a):

areich.fro...@gmail.com

unread,
Mar 9, 2017, 12:43:41 PM3/9/17
to Android-rpi, soap...@gmail.com
I installed Android 7 from here: https://rtandroid.embedded.rwth-aachen.de/downloads/raspberry-pi/, on a 5 inch waveshare: http://www.waveshare.com/wiki/5inch_HDMI_LCD#Screen_orientation_settings

Changed the config file's default dtoverlay to: dtoverlay=vc4-fkms-v3d,cma-256
initramfs ramdisk.img 0x01f00000

instead of: dtoverlay=vc4-kms-v3d,cma-256
initramfs ramdisk.img 0x01f00000

The android operating system fits the screen perfect but there is no touch.  Is there any way to change this?

Thank you,

Andy

Igor Kalkov

unread,
Mar 10, 2017, 9:28:51 AM3/10/17
to Android-rpi, soap...@gmail.com, areich.fro...@gmail.com
How is it connected? My 7" screen is connected via HDMI, but requires an additional USB cable for touch.

nevetzede...@gmail.com

unread,
Apr 22, 2017, 1:51:39 PM4/22/17
to Android-rpi, soap...@gmail.com, areich.fro...@gmail.com
Hello,

Do you mean that using the RPI 3 and the 7" touch screen you can install Android and manage the touch by an additional USB connection?

BR,

Remi

inflation.n...@gmail.com

unread,
Jun 18, 2017, 8:55:24 PM6/18/17
to Android-rpi, mathew.a...@gmail.com


On Tuesday, January 17, 2017 at 6:02:04 AM UTC-8, Igor Kalkov wrote:
Please download the latest release, install and run:

./video.sh -c raspberry-7inch-touchscreen /dev/DEVICE



Igor, thanks for all this great work and looking forward to these features.  I have image installed and it loaded perfect except resolution.   I have official 7 inch touch.   Where do I execute this command?  I only see the top left corner of the screen on my android touchscreen.    Only the left 9 icons.   I do not see a console or anywhere to input this command.  Is there something I can hold at boot to enter a console?
 
./video.sh -c raspberry-7inch-touchscreen /dev/DEVICE

  Please help direct me and possibly others where we need to type this to correct the resolution.    

betocua...@gmail.com

unread,
Jun 21, 2017, 11:07:27 AM6/21/17
to Android-rpi
Hi, is it possible to configure the resolution for official lcd raspberry with rtandroid installed?


El miércoles, 14 de diciembre de 2016, 13:07:41 (UTC-3), Igor Kalkov escribió:
We do have a working version (the attached image is made today). But it requires a lot of changes to system files after the installation.
In a couple of days we will release a script to setup a video resolution after installation.

betocua...@gmail.com

unread,
Jun 21, 2017, 11:09:00 AM6/21/17
to Android-rpi, betocua...@gmail.com
Message has been deleted

andrea pettinazzi

unread,
Oct 17, 2017, 8:40:57 AM10/17/17
to Android-rpi
excuse me, but the script work also with Emteria? because i try to download RTAndroid last version but the site is closed for new download. thanks


Il giorno mercoledì 14 dicembre 2016 14:50:31 UTC+1, Vishruth ha scritto:
Hey ragazzi, sto cercando di fare una compressa androide utilizzando il lampone pi 3. Ho un display touchscreen da 7 pollici. Ho scaricato l'immagine da tutorial youtube per torrone e marshmallow. Ma succede che si esegua solo su HDMi TV e non sul display touchscreen che utilizza la porta DSI di lampone pi. 
IT sarebbe utile se qualcuno mi potesse inviare un link per scaricare l'immagine per Android che è compatibile con il touch screen. O se dovrei cambiare alcune impostazioni nei moduli del kernel di OS mi dica.
Grazie

Igor Kalkov

unread,
Jul 27, 2018, 5:28:48 AM7/27/18
to Android-rpi
You don't need any scripts for emteria. The official touchscreen is working out-of-the-box.

se...@chillhitlabs.com

unread,
Aug 14, 2019, 7:50:39 PM8/14/19
to Android-rpi
Hi, I have a weird issue. The display only outputs console data to the 7 inch touch screen. The GUI for Android only outputs to the HDMI port.
So unless I plug in an HDMI screen I cannot see the GUI.

Vishal Shukla

unread,
Aug 30, 2019, 6:41:01 AM8/30/19
to Android-rpi
HI All,
 i have installaed andriod 9 pie on raspberry i3 and it is runnig very slow i am doing only by taking help from google or youtube is there any way to speed it up. and also if i want to attach a touch screen and if it has any other process to get it working then please let me know.
Thanks in advance.

o900...@gmail.com

unread,
Mar 18, 2020, 1:57:03 PM3/18/20
to Android-rpi
Hey, I was wondering if you have an active link for this download

Marcus C

unread,
Oct 25, 2021, 9:54:51 AM10/25/21
to Android-rpi
Where is the link?

k4l...@gmail.com 在 2017年1月14日 星期六下午10:57:12 [UTC+8] 的信中寫道:
The beta version of the script was pushed to github a couple of hours ago. It will be automatically included into the tomorrow's build.
The script uses a new initialization method in RTAndroid, so it will probably only work with the latest release. We didn't test it with old releases though.
Reply all
Reply to author
Forward
0 new messages