austinebrill
Posts: 3
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!

fruitoftheloom
Posts: 19570
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

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
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Buster.
Raspberry Pi Model 2B v1.1

Return to “Android”