-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rock 5B Android_rk12.1 display rotation not working #37
Comments
yeah, i just wanna say this issue too .. i can't find out where to set the hdmi rotattion on the GUI . |
same problem |
How to fix it ,anyone have solution? |
no solution,wait for new android image |
any ideas when new android image is arriving? "unsupported sd card" and settings not saving on restart. |
There have been recent commits and there seems to be some movement. |
The source code needs to be modified. SF_PRIMARY_DISPLAY_ORIENTATION in BoardConfig.mk defines the main display direction. |
Thank you for the information. I would like to try it. This is my first time using REPO, but I'm still trying.
|
use this: |
Thank you very much for the information. I was able to make the screen vertical by modifying the following and building.
However, I am having trouble because the touch panel direction remains at 0 degrees. |
What type of touch device? USB interface? |
Thank you for your early reply!! It is connected to an external monitor via HDMI and USB (for touch panels). I also thought that the idc file was suspicious, but Do we actually add the idc file? The sample file is something like the following... Please help me a little more. |
idc file alone will not adjust rotation correctly. unless it's more authoratitive since 5 months ago. i was only able to get partial success with the idc file screen_rotation value. looks like this thread has progressed since 5 months ago. idc file does work for simply recognising the correct resolutions on third party screens. that was very successful, e.g. i have a 8" elecrow screen, i was able to extract the vendor and model, then add a corresponding .idc file. by doing this my touch screen was accurate |
Thank you for your comment! If you don't mind, could I have a look at that idc file? please. m(__)m |
u need platform-tools for .adb which can be run in both linux and windows, after that connect over usb and enable usb debugging. from there you need to ./adb root ./adb remount then do ./adb dumpsys input find ur display vendor and product ids, then create a file on your local machine Vendor_YOURVENDORID_Product_YOURPRODUCTID.idc with the contents device.internal=1 then you can ./adb push Vendor_YOURVENDORID_Product_YOURPRODUCTID.idc /system/usr/idc/ then you can do ./adb shell and cd /system/usr/idc and finally ls to view ur file is in the correct folder. reboot and u've got a screen with the correct config. file contents would be something like this if not identical to `device.internal = 1 touch.deviceType = touchScreen |
Thank you very much for your prompt reply! Let's prepare the environment and try it out! By the way, isn't this something that can be done for general purposes such as HD or 4K? |
Using that branch and manifest, I get the following errors during sync:
|
@cjcdev |
Modifying commit_release_rkr12_no_remote.xml didn't fix it.
Why does Android12_RK3588_Radxa_rkr12.xml reference "_rk8"?
|
@cjcdev |
@yjxyx |
Thank you for the information yesterday. I prepared the environment today and tried it out. Using the confirmed vendor ID and product ID, I created a file like the one below and built the OS. dumpsys input :
device/rockchip/rk3588/RadxaRock5B/Vendor_1fd2_Product_6103.idc:
device/rockchip/rk3588/RadxaRock5B/RadxaRock5B.mk:
However, unfortunately, the touch detection remained at 0 degrees despite the screen orientation being 90 degrees. Am I doing something wrong? |
@cjcdev It does look like there are some project definition errors in this manifest file, we will fix them later |
@yjxyx I was able to move past the sync issues by changing the revision name that is found in gitlab now:
|
@kdservice Were you able to get your touch idc to work? |
On latest release display rotation (port, reversed-port, reversed-land) not working.
I try fallows, but noone works:
settings put system user_rotation [1,2,3]
settings put system accelerometer_rotation 0
setprop persist.prop.screenorientation [portrait,seascape,upsideDown]
setprop persist.sys.hwrotation [90,180,270]
The text was updated successfully, but these errors were encountered: