Android Orientation
#1
Photo 
I recently purchased a Rockpro64. Installed this Android Image. Android 7.1.2 Stock Image [microSD Boot] [20180515] found in the Wiki.
However, it is always on LandScape Mode. I have tried changing the HDMI Orientations, tried several Orientation apps. Always treating it as a landscape device. Could anyone shed light on this, please?

[Image: IMG_0260.jpg]

[Image: IMG_0259.jpg]
#2
it looks to me that both shots are portrait with just different resolutions. that is because you have the menu along the bottom of the monitor and not the side. it appears the monitor is sitting on its side and used as a text reader of sorts however the system has no way to determine this without input from a sensor which does not exist with your setup. what do you want to use this monitor for with your setup of it on its side?
#3
(08-15-2018, 08:26 AM)dkryder Wrote: it looks to me that both shots are portrait with just different resolutions. that is because you have the menu along the bottom of the monitor and not the side. it appears the monitor is sitting on its side and used as a text reader of sorts however the system has no way to determine this without input from a sensor which does not exist with your setup. what do you want to use this monitor for with your setup of it on its side?

Thank you for your response. I am supposed to convert a monitor into a Kiosk. Expected aspect ratio is 9:16. I understand your explanation but, i have no idea of how the internals work. So, how can I trick the system to go 9:16? Any help is appreciated.
#4
Have you already tried a 'set orientation' app ?
[edit] just realized that this post is about the RockPro64 so I'm moving the thread to Android section in the RockPro64 forum
You can find me on IRC, Discord and Twitter


#5
(08-15-2018, 04:22 PM)Luke Wrote: Have you already tried a 'set orientation' app ?
[edit] just realized that this post is about the RockPro64 so I'm moving the thread to Android section in the RockPro64 forum

Yes I have. I have tried that one, then few others and even tried setting the Settings->Display->HDMi rotation as well.
#6
if you have not already i would suggest you try "ultimate rotation". it is the only rotation app i have experience with but it has a "force" option that works well. i'm not sure that it will create the ratio you want since it is non-standard. if you have tried it and it does not work or if you do try it and it does not help then i'm not sure what a next move can be. a search brings up a unity routine called AspectRatioEnforcer,
http://wiki.unity3d.com/index.php?title=...ioEnforcer

here are returns from a search on the routine,
https://goo.gl/L5zRaj

of course this means you need to know how to work with unity but if faced with the issue myself and knowing some unity i would learn what i needed to implement it. this of course assumes the routine will do what you want and that you otherwise know how to create an android app because if the routine covers the bases you need it will be running the kiosk as an app to handle the screens display.
#7
(08-15-2018, 08:09 PM)dkryder Wrote: if you have not already i would suggest you try "ultimate rotation". it is the only rotation app i have experience with but it has a "force" option that works well. i'm not sure that it will create the ratio you want since it is non-standard. if you have tried it and it does not work or if you do try it and it does not help then i'm not sure what a next move can be. a search brings up a unity routine called AspectRatioEnforcer,
http://wiki.unity3d.com/index.php?title=...ioEnforcer

here are returns from a search on the routine,
https://goo.gl/L5zRaj

of course this means you need to know how to work with unity but if faced with the issue myself and knowing some unity i would learn what i needed to implement it. this of course assumes the routine will do what you want and that you otherwise know how to create an android app because if the routine covers the bases you need it will be running the kiosk as an app to handle the screens display.

Thank you dkryder.

I tried that app. But, was not working either. 
No idea how to progress with this now. I am buying a normal android tv box tomorrow and see if I can work with that. If it doesn't work, then I'll know that something was actually wrong with what I am doing and not with the Android Version Rockpro64 is using. I really appreciate your time you have spent writing replies. Thank you.
#8
(08-16-2018, 01:13 AM)bpalan Wrote:
(08-15-2018, 08:09 PM)dkryder Wrote: if you have not already i would suggest you try "ultimate rotation". it is the only rotation app i have experience with but it has a "force" option that works well. i'm not sure that it will create the ratio you want since it is non-standard. if you have tried it and it does not work or if you do try it and it does not help then i'm not sure what a next move can be. a search brings up a unity routine called AspectRatioEnforcer,
http://wiki.unity3d.com/index.php?title=...ioEnforcer

here are returns from a search on the routine,
https://goo.gl/L5zRaj

of course this means you need to know how to work with unity but if faced with the issue myself and knowing some unity i would learn what i needed to implement it. this of course assumes the routine will do what you want and that you otherwise know how to create an android app because if the routine covers the bases you need it will be running the kiosk as an app to handle the screens display.

Thank you dkryder.

I tried that app. But, was not working either. 
No idea how to progress with this now. I am buying a normal android tv box tomorrow and see if I can work with that. If it doesn't work, then I'll know that something was actually wrong with what I am doing and not with the Android Version Rockpro64 is using. I really appreciate your time you have spent writing replies. Thank you.

Well two things. Firstly, I know to little about android to really be of help, but I am positive that this can be done - via an app or manually editing xml. Have you tried the latter ?
Secondly, if it indeed cannot be done, then you could / could get someone to build android from source (the SDK if on wiki) a version that is in the orientation you require.
You can find me on IRC, Discord and Twitter


#9
(08-16-2018, 04:26 AM)Luke Wrote:
(08-16-2018, 01:13 AM)bpalan Wrote:
(08-15-2018, 08:09 PM)dkryder Wrote: if you have not already i would suggest you try "ultimate rotation". it is the only rotation app i have experience with but it has a "force" option that works well. i'm not sure that it will create the ratio you want since it is non-standard. if you have tried it and it does not work or if you do try it and it does not help then i'm not sure what a next move can be. a search brings up a unity routine called AspectRatioEnforcer,
http://wiki.unity3d.com/index.php?title=...ioEnforcer

here are returns from a search on the routine,
https://goo.gl/L5zRaj

of course this means you need to know how to work with unity but if faced with the issue myself and knowing some unity i would learn what i needed to implement it. this of course assumes the routine will do what you want and that you otherwise know how to create an android app because if the routine covers the bases you need it will be running the kiosk as an app to handle the screens display.

Thank you dkryder.

I tried that app. But, was not working either. 
No idea how to progress with this now. I am buying a normal android tv box tomorrow and see if I can work with that. If it doesn't work, then I'll know that something was actually wrong with what I am doing and not with the Android Version Rockpro64 is using. I really appreciate your time you have spent writing replies. Thank you.

Well two things. Firstly, I know to little about android to really be of help, but I am positive that this can be done - via an app or manually editing xml. Have you tried the latter ?
Secondly, if it indeed cannot be done, then you could / could get someone to build android from source (the SDK if on wiki) a version that is in the orientation you require.
XML editing means, by enforcing an activity to Portrait? Yes. The applications I am building for the Kiosk are all Portrait only. However, they made no difference here. Sure, I'll try looking through the Android Code to see if I could tinker around this issue. But, I have no experience building Android. I think its time then. Thank you Luke.
#10
Update: I started on this project again today. I tried changing the build.prop file to see adding rotation there makes any difference. Since I could not find a rooted android image for Rock Pro 64, I think I'll have build an image from the source code (For now, No idea how). However, It seems it is going to take 8 days to download that 50GB of SDK provided.
To add to the pain, adb usb and connect tcp stopped working as well. Roadblock after roadblock. Will write an update if there is any progress.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slash TV Android for RockPro64 Wizzard 3 1,340 08-18-2021, 12:36 AM
Last Post: scanfff
  Install Playstore on Android 8.1.0 Domo 14 13,338 04-16-2021, 02:13 AM
Last Post: Wizzard
  Install Playstore on Android 7.1.2 Domo 6 7,171 04-16-2021, 02:10 AM
Last Post: Wizzard
  Kodi crashing in Android 9 Wizzard 2 1,115 04-16-2021, 02:03 AM
Last Post: Wizzard
  Install Playstore on Android 9 image ddimension 18 12,131 02-13-2021, 12:52 AM
Last Post: chisteven
  RockPro64 line out/headphones in Android 9 Wizzard 0 1,319 11-20-2020, 04:15 AM
Last Post: Wizzard
  Android 9 drivers Firesped 1 1,948 11-19-2020, 12:39 PM
Last Post: Wizzard
  I2C on Android? ameridroid 0 1,395 03-02-2020, 03:41 PM
Last Post: ameridroid
  How to create the img file to use with etcher once you build the android SDK? dazza5000 8 4,941 01-22-2020, 10:26 AM
Last Post: webgourou
  Android 9 SDK CRC errors ddimension 2 2,377 01-21-2020, 07:32 AM
Last Post: ChristianS

Forum Jump:


Users browsing this thread: 1 Guest(s)