DEV Community

Taabouri Rania
Taabouri Rania

Posted on

7inch raspberry pi touch screen with aosp 13 size problem

I’m working on a project using a Raspberry Pi 4 with a custom Android 13 ROM and the official 7" Raspberry Pi touchscreen.
The touchscreen display is zoomed in, causing part of the display to be cut off and not fit the screen properly. The resolution settings do not seem to address this issue.
here is my config.txt file:

`kernel=Image.gz
arm_64bit=1
dtparam=audio=on

dtoverlay=vc4-fkms-v3d-pi4-overlay,cma-256

dtoverlay=rpi-ft5406-overlay
dtoverlay=rpi-backlight-overlay

initramfs ramdisk.img followkernel
enable_uart=1
disable_overscan=1

display_rotate=0

ignore_lcd=0
display_default_lcd=1

framebuffer_width=800
framebuffer_height=480
gpu_mem=256

hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0
dtparam=spi=on
`

NB: both vc4-kms-v3d-pi4-overlay (white screen) and vc4-kms-dsi-7inch-overlay ( correct dtbo file generation problem or blocked in splash screen step) did not work for me that's why i am working with vc4-fkms-v3d-pi4-overlay,cma-256 overlay .

NB:the home screen you are seeing is a qt quick interface

also tried with wm size command but it did not solve the problem
Image description

Top comments (0)