Google Play thinks my phone is a tablet [root] - General Questions and Answers

Hello, I use custom port rom on my phone. Google Play Store detects my phone as a tablet and apps behave this way. For example, Spotify does not allow me to use the canvas feature for this reason. Can I manipulate this situation from system files such as Build.prop?

It doesn't matter whether Android device's type is phone or tablet: If SU-binary ( ~ 120 KB ) is present in Android OS, Android is rooted.

jwoegerbauer said:
It doesn't matter whether Android device's type is phone or tablet: If SU-binary ( ~ 120 KB ) is present in Android OS, Android is rooted.
Click to expand...
Click to collapse
I guess I couldn't explain my problem. Since it appears as a tablet, the applications also change their interface and features according to the tablet. You can see this clearly from the screenshots on the store page and on the player of Spotify.
Google should understand that this is a phone. Can I do this by changing things?

h0nor said:
I guess I couldn't explain my problem. Since it appears as a tablet, the applications also change their interface and features according to the tablet. You can see this clearly from the screenshots on the store page and on the player of Spotify.
Google should understand that this is a phone. Can I do this by changing things?
Click to expand...
Click to collapse
Google doesn't care whether the Android device's type is a tablet or a phone.
The main difference between tablet and phone is that with a tablet its default display mode is landscape mode, that with a phone its default display mode is portrait mode. Hence it's on you to switch among these modes if necessary.
More info here:
How to Switch to Portrait or Landscape Mode on Android: 5 Steps
This wikiHow teaches you how to unlock your Android's screen orientation so that you can switch from Portrait (vertical) mode to Landscape (horizontal) mode simply by rotating your Android. On most versions of Android, it is not possible...
www.wikihow.com

jwoegerbauer said:
Google doesn't care whether the Android device's type is a tablet or a phone.
The main difference between tablet and phone is that with a tablet its default display mode is landscape mode, that with a phone its default display mode is portrait mode. Hence it's on you to switch among these modes if necessary.
More info here:
How to Switch to Portrait or Landscape Mode on Android: 5 Steps
This wikiHow teaches you how to unlock your Android's screen orientation so that you can switch from Portrait (vertical) mode to Landscape (horizontal) mode simply by rotating your Android. On most versions of Android, it is not possible...
www.wikihow.com
Click to expand...
Click to collapse
Got it, it's selected by resolution?
In this screen setting it was not supposed to be like this.
1080x2160px
6.01 "
400dp
Auto rotate: Off, vertical
So what should I do? Is this something I can fix?
Thank you for the answer.

h0nor said:
Got it, it's selected by resolution?
In this screen setting it was not supposed to be like this.
1080x2160px
6.01 "
400dp
Auto rotate: Off, vertical
So what should I do? Is this something I can fix?
Thank you for the answer.
Click to expand...
Click to collapse
If phone is rooted then you can set the appropriate keys in Android's system file named build.prop:
Examples:
Code:
# 0 = Landscape, 90 = Portrait, 180 = Reverse Landscape, 270 = Reverse Portrait
ro.sf.hwrotation=180
# DPI values may be any of 120,160, 320, 480 & 640
ro.sf.lcd_density=160

Related

rotation faker => is it possible

since some apps on the chacha have wrong rotation for some reason (e.g. peak.ar unfortunately switches the rotation modes) i wonder if it is possible to create a program that just fakes the rotation portrait/landscape for some programs.
the is.
https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
luke.arran said:
the is.
https://play.google.com/store/apps/details?id=com.devasque.rotationlocker
Click to expand...
Click to collapse
What exactly does this do? This didn't have to seem any effect on anything.
All my programs that had wrong orientation did the same like usual.
Flexmaen said:
What exactly does this do? This didn't have to seem any effect on anything.
All my programs that had wrong orientation did the same like usual.
Click to expand...
Click to collapse
Run it and select the type of orientation you want your programs to run in. Landscape is for the ChaCha display.
Alex C. said:
Run it and select the type of orientation you want your programs to run in. Landscape is for the ChaCha display.
Click to expand...
Click to collapse
Nope, doesn't work. Landscape detection of programs is wrong as usual.
For example: Peak.ar is wrong and pictures taken with Pro Paint Camera are also rotated 90° wrong.
Whatever this program does it must be for something else.
Worked for me on previous versions of CM9, where the dialer would show up in portrait mode, so it might be something else that's hindering peak.ar. You could email the rotation locker dev asking him about this.
Ok this makes most programs opening in Landscape mode - however they still will "think" that they are in the wrong mode.
What really helps here is only something that fakes the values of the rotation sensor the other way round.

[Q] True Full screen? (fake hardware buttons)

Hi, I haven't been able to find much information about it so... I am trying to run a game - FF IV - in full screen on my Nexus 5. Usually it runs with the soft keys on the edge, but I can get rid of them by forcing immersive mode, however the game remains the same width but is pillarboxed. I have seen videos and images of this game running on other android devices and can confirm it can run in true 16:9 so I am trying to work out a way to do that.
Is there some way to trick the app into thinking the phone has hardware keys? Or to change the default resolution of the app?
Any help would be appreciated if you know anything about thus, or even something similar to this.
Thanks!
DRL
Edit: I am using the Xposed module app settings to force immersive mode for this app(I have also tried universal immersive mode) and have experimented with the DPI settings as well, but with no success. Will keep thread updated as I try new things.
Edit 2: Well, just checked out build.prop, nothing that seemed promising other than the DPI is 480... will keep searching.
My app GMD AHSK (root) will turn on hardware buttons setting. Other than some advanced setting it is free to use:
https://play.google.com/store/apps/details?id=com.gmd.hidesoftkeys
I don't know if it will help with FF form factor.
Thanks for the reply! The app is able to hide the soft keys but the game still refuses to remove the black bars... I am wondering if it is some profile based on phone model? Well at least we know it's not a hard key issue.
qemu.hw.mainkeys in build.prop determines whether the device has hardware keys or not, 0 means it doesn't and 1 means it does.
You can add qemu.hw.mainkeys=1 to the end of build.prop to disable soft keys however you'll have to reboot and its not practical to do just for one app lol.
Thought I'd test it anyway to see if it worked... 3 reboots later and I'm still getting the black bars! I'm starting to suspect the images may have been stretched slightly... I might test on bluestacks or AVD tomorrow. *sigh* This is bugging me more then it should
Changed pmy DPI to 160 as per this post: http://forum.xda-developers.com/showpost.php?p=48859146&postcount=84
However, while everything on my phone is now tiny FF IV still has black bars.
On a hunch I disabled immersive mode on the game, as in tablet mode the soft keys are down the bottom of the screen in landscape mode.
What happened was that the game resized to have larger black bars(maintaining its original form factor) due to the loss of vertical resolution due to the soft keys.
So it appears the game's resolution is set, perhaps it's only the iPhone 5 version that's 16:9? I'm going to switch back the DPI now, before the tiny text destroys my eyes. If anyone else has any ideas, let me know.
I just stop using navbar and use Pie instead

Vertical AutoRotate 180°

I have autorotate setting enabled.
When i have SmartPhone in vertical position if i rotate 180° the display it stays upside down and does not fit.
Why?
Dematen said:
I have autorotate setting enabled.
When i have SmartPhone in vertical position if i rotate 180° the display it stays upside down and does not fit.
Why?
Click to expand...
Click to collapse
No phones work 'upside down'
I saw myself now on other smartphones.
I was used to an old cheap Chinese smartphone that did it.
Is not there a trick to do it?
Dematen said:
I saw myself now on other smartphones.
I was used to an old cheap Chinese smartphone that did it.
Is not there a trick to do it?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=org.crape.rotationcontrol
Use this app.
You can use GravityBox to unlock rotations in every direction, including vertical.
You would obviously need a rooted device with Xposed running to do that.
I discovered a quite awesome bug that allows me to use my XZP upside down. You don't need to root or anything like that.
Steps :
1. Download the Twitch TV app from the PlayStore.
2. Open it. (You might need to create an account)
3. Rotate Device.
4. Press the home button.
5. ....
6. Profit!
When you are done, just rotate the phone to normal.
PS. I typed this comment why my phone upside down.
Lazaros_K said:
I discovered a quite awesome bug
Click to expand...
Click to collapse
:laugh: awesome

Problems with Google Go search forcing portrait mode

Can anyone please tell me if this is a problem with Google Go Search or a problem with the device? I have a Walmart ONN 10.1 Gen 2 100011886 running Android 10. The Google Go version is 3.23.360231743. Using the device in Landscape mode Google Go Search forces to a portrait mode, then back to landscape when a site is clicked on. Turning off auto-rotate has no effect on this. It drives me crazy to have to constantly rotate the device over and over and round and round. I can't find any setting as often referred to when using Google.
Did you ever find an answer? I have that tablet as well and my problem is just the opposite. Google go is always in landscape mode and I use my tablet primarily in portrait mode and when I try to do a search, it's stuck in landscape mode and I can't get it to rotate to portrait at all.

Question Desktop mode - Ideas to try to get it working

As we all know, there is nothing in the stock ROMs for any of these Nubia RedMagic phones that makes desktop mode fully supported like many other manufacturers.
I'm sure most of us also realize too well that this is a niche handset and future support for getting a full featured desktop mode implemented by Nubia/ZTE is unlikely.
Before I give up on my original plan for this device, which was simply to use it as a portable/dockable gaming and emulation device, I figured I'd hop on here to see if anyone has any ideas.
Current status with NX709J_UNCommon_v3.12 - Official link
No official support for desktop mode
Kernel version shows 5.10.66-android12-9-00005-gf6e6376090be-ab8060604
Developer options has a few relevant desktop mode options that can be enabled:
Force activities to be resizeable
Enable freeform windows
Force desktop mode
Enable non-resizeable in multi window
With "Force desktop mode" enabled I get the following behavior:
Seems to be locked to a default of 1920x1080 resolution
No way to set anything through keyboard/mouse/other settings once in Desktop mode
No taskbar, just the usual 3 navigation buttons at the bottom of the screen
Apps that support window mode seem to properly resize and I can get some of them to go fullscreen but the window control buttons in the top right behave strangely
There is a persistant window full of your installed app shortcuts that stays up whether you try to close it out or not. Without "force activities to be resizeable" enabled, you can't resize it. With that enabled; If you do resize it, it's still locked to a vertical display aspect ratio.
Unplugging the phone from desktop mode leaves the home screen stuck in a static state. Widgets won't update, shortcuts won't open the app they are for, but oddly the manual fan controls for the integrated fan in the redmagic 7 pro will turn on if you have that widget on your home screen. I also routinely experienced the icon spacing and font size for everything getting all messed up. My only solution was to reboot the phone after disconnecting it from a dock/display when in forced desktop mode.
I attempted to use the following apps to see if they could make things any better:
Taskbar - Doesn't show up on external display. No improvements even with full access given to app via adb
Secondscreen - Doesn't allow me to change the resolution for the external display even with full access
Lawnchair 2 - Doesn't show up on external display or help in any way
Seems like someone had some luck with the RedMagic 5G/5S here: https://forum.xda-developers.com/t/cant-find-android-10-desktop-mode.4102431/#post-82678051
but that was 2 years ago and a different phone.. although I'm positive there are some vague similarities with the ROMs and how they are put together since they are talking about a stock Nubia/ZTE ROM.
If anyone has any ideas to contribute, whether for the RedMagic 6, 6S, 7, or 7 Pro please let us know what you've tried or had success with below

Categories

Resources