Changing android build.props

I would like to use a touch screen I bought off aliexpress, but unfortunately, the input is rotated by 90 degrees. Rotating the image does not solve the issue - input rotates with it.
I have tried changing the build.props rotation to 90, but unfortunately it works just like regular rotation, input rotates as well.

In the android docs, I have found:

Definition: touch.orientationAware = 0 | 1

Specifies whether the touch device should react to display orientation changes.

If the value is 1, touch positions reported by the touch device are rotated whenever the display orientation changes.

If the value is 0, touch positions reported by the touch device are immune to display orientation changes.

The default value is 1 if the device is a touch screen, 0 otherwise.

Since this is not in the build.props file, I have added this entry on my own, but unfortunately, ROCK64 will not boot after this change

Could anyone point me to some guide or something that could help me (open my eyes) on how to achieve this?

I am using the regular ROCK64 distro, since I have to use it from SDCard (still waiting for my emmc) and ayufan's android will not boot from sdcard for me.

Thank you
if touch is controlled by usb then you should have a config file to set the location.
(02-23-2018, 12:53 PM)dkryder Wrote: if touch is controlled by usb then you should have a config file to set the location.

Could you provide a bit more details?
I have simply plugged it and it worked without the need to install anything.
How could this file be named?

When I connect the device, I can see in dmesg, that it is detected and it uses the

hid-multitouch input,hiddev0,hidraw3: USB HID v2.00 Mouse [Touch Device ....] on usb-ff5d0000.usb-1/input0

still I am not sure where I could modify the settings.

I've found

will give it a try, sounds reasonable Smile

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 Android Oreo 8.1 TV-Install adventures (Now Android 9.0) Rocklobster 5 447 08-04-2021, 07:35 PM
Last Post: Rocklobster
  How do I prepare/put Android on an SD card using etcher cdotsubo3000 3 2,559 06-27-2021, 02:43 PM
Last Post: clach04
  Android and SD Card gigagames 2 1,787 06-27-2021, 02:38 PM
Last Post: clach04
  Android Images (ROCK64) pineadmin 73 94,543 05-04-2021, 01:58 AM
Last Post: zet_lab
  Android 9.0 and Pluto on Rock64-1G missdeenola 1 1,704 03-12-2021, 01:38 PM
Last Post: Wizzard
  broken android microsd images jbach50 1 1,396 01-16-2021, 09:57 PM
Last Post: jimsurvak
  Android on Rock64 SD Problem ElBoluTony 3 2,495 10-07-2020, 12:10 PM
Last Post: ElBoluTony
  Error! Android Rockchip tools method BowerR64 0 1,070 09-18-2020, 08:12 PM
Last Post: BowerR64
Lightbulb Any older versions of Android for the Rock64? BowerR64 2 2,013 09-18-2020, 07:58 PM
Last Post: BowerR64
  Can't boot android 9 on rock64 maks2204 5 3,949 09-09-2020, 08:44 AM
Last Post: BowerR64

Forum Jump:

Users browsing this thread: 1 Guest(s)