austinebrill
Posts: 2
Joined: Tue Nov 07, 2017 10:31 pm

Help getting 3.5" display working on google aosp image

Tue Nov 07, 2017 10:40 pm

The official google android aosp image is working fine. I am connecting via adb but I can't sudo so I don't know how to make the driver script work.

I tried following https://blog.falafel.com/rapi-lcd-display/ and got this

Code: Select all

	rpi3:/LCD-show $ ./LCD35-show 0
	./LCD35-show[14]: sudo: not found
	./LCD35-show[14]: can't create ./boot/mark: Read-only file system
	./LCD35-show[32]: sudo: not found
	./LCD35-show[32]: sudo: not found
	LCD configrue 0
	./LCD35-show[34]: sudo: not found
	./LCD35-show[35]: sudo: not found
	./LCD35-show[36]: sudo: not found
	./LCD35-show[37]: sudo: not found
	./LCD35-show[38]: sudo: not found
	./LCD35-show[45]: sudo: not found
	reboot now
How would I get sudo capabilities? I know you can do `su` to get root but that doesn't help for the running of this script.

Or otherwise how would I get the screen to work? The screen looks exactly like that although I don't know if it's a clone. The driver which is indicated on the packaging I bought it with says ili9486.

I also found this https://github.com/notro/fbtft/blob/master/fb_ili9486.c

But even after reading the wiki https://github.com/notro/fbtft/wiki I had no idea what files I am supposed to copy where to make it work.

Advice please!

User avatar
fruitoftheloom
Posts: 15096
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Help getting 3.5" display working on google aosp image

Sun Nov 12, 2017 2:16 pm

austinebrill wrote:
Tue Nov 07, 2017 10:40 pm
The official google android aosp image is working fine. I am connecting via adb but I can't sudo so I don't know how to make the driver script work.

I tried following https://blog.falafel.com/rapi-lcd-display/ and got this

Code: Select all

	rpi3:/LCD-show $ ./LCD35-show 0
	./LCD35-show[14]: sudo: not found
	./LCD35-show[14]: can't create ./boot/mark: Read-only file system
	./LCD35-show[32]: sudo: not found
	./LCD35-show[32]: sudo: not found
	LCD configrue 0
	./LCD35-show[34]: sudo: not found
	./LCD35-show[35]: sudo: not found
	./LCD35-show[36]: sudo: not found
	./LCD35-show[37]: sudo: not found
	./LCD35-show[38]: sudo: not found
	./LCD35-show[45]: sudo: not found
	reboot now
How would I get sudo capabilities? I know you can do `su` to get root but that doesn't help for the running of this script.

Or otherwise how would I get the screen to work? The screen looks exactly like that although I don't know if it's a clone. The driver which is indicated on the packaging I bought it with says ili9486.

I also found this https://github.com/notro/fbtft/blob/master/fb_ili9486.c

But even after reading the wiki https://github.com/notro/fbtft/wiki I had no idea what files I am supposed to copy where to make it work.

Advice please!

Android is not supported in these forums, see: viewforum.php?f=73
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

Return to “Android”

Who is online

Users browsing this forum: No registered users and 2 guests