[Q] Edit dpi x and y axis independent - Android Q&A, Help & Troubleshooting

A couple of days ago I bought a cheap tablet. It actually works quite well for the price I paid for it.
There is only one annoying issue. The screen seems stretched on the x axis (in landscape mode), resulting in circles that look like ovals. So I decided to take a look at some system info apps, and this showed some strange numbers (see the screenshot below).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I already tried editing the dpi in the build.prop file, but this didn't fix the problem. The overall dpi changed, but I was still stuck with the incorrect aspect ratio. So does anyone of you have an idea to fix this? Maybe a way to change the dpi of the x and y axis independent?

I'm having the same issue as you.
Problem is, the standard resolution for Android seems to be 800x480, which has an aspect ratio of 5:3, or 15:9, but many tablets have 16:9 screens.
This makes everything appear stretched about a 6.7% in the direction of the tablet's longer orientation (ie: horizontally in landscape mode, or vertically in portrait).
The solution would be to set the tablet to a 16:9 resolution, or make the DPI 6.7% higher in that direction.
Unfortunately, I haven't found a way to do neither.

How change X-dpi and Y-dpi settings?
On my Android TV dongle are X-dpi 25,4 and Y-dpi 25,4. I want to change X-dpi and Y-dpi to 160, becouse on some apps text are very small, and it's undearable.

Related

[Q] Native Pixel Density

So, I've messed around with pixel density on my HD2 and now my SGS2 as well. One thing has always intrigued me; what is the native pixel density of these screens (given that the HD2 and the SGS2 share size/res).
So I worked it out thus (robbed straight from wikipedia):
1. Calculate diagonal resolution in pixels using the Pythagorean theorem:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Calculate PPI:
where
dp is diagonal resolution in pixels,
wp is width resolution in pixels,
hp is height resolution in pixels and
di is diagonal size in inches
So, the diagonal resolution is: 933 = square root of ((480x480)+(800x800))
The native pixel density should be 218.5 = (933 / 4.27)
Does that make sense to anyone or am I barking completely up the wrong tree? Maths never was my strong point
The above also assumes that the screen is exactly 4.3 inches diagonally.
Edit: This page shows the screen to be 4.27". Info amended above. Calculations checked and wiki info confirmed. Might change my pixel density to 218/219
You are right, that is the native screen dpi.
But, I think, that applications that are running in 800x480 are designed with 240 dpi as standard. Dpi is nothing more that a constant of the device provided to applications for calculations of text font size and layout of controls . That is my guess and I find comfortable a dpi of 200 for this device.
See what happens in windows when you change system font size (dpi)!
Yes, thank you. That was the info I was missing: the exact size of the screen. I will edit my original post.

[APP] 8.1 Screen Changer [Lock screen changer with battery info]

My new App
8.1 Screen changer
Use this application to create changing wallpapers.
In addition, the application allows to display information about the status of your battery.
Lots of great settings are ready for this.
Your background image and your battery indicator is updated every 30 minutes.
All new!
Update GRD3 the application issues spoken notifications.
Your phone says "Battery Low" if your battery is low or "Batterie is charing" and "Battery fully charged".
http://www.windowsphone.com/en-us/store/app/8-1-screen-changer/8edced5a-29d7-4c60-83c7-36a03a4a9ce7
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What's the difference between the trial and paid versions?
As a reminder, XDA forum rules don't allow advertising commercial apps via forum posts...
Hey there, the app used to allow us to use pictures in our native resolution. Now I have to crop the images, I can't use 768x1280 images
Sent from my RM-821_eu_euro2_206 using Tapatalk
It is unfortunately not possible to read out the resolution of the device.
This is why the pictures always on the percentage measure of 1920 X 1080 cut.
As a percentage, that is why in order to save memory on your phone.
In other words, your image is cropped in the resolution of 1280 X 720.
I first thought that let the user set the resolution manually.
But unfortunately most of it would be over foerdert.
Thank you very much!
Too bad, got to find another app for my needs then. My lockscreen images are fit to 768x1280, the way your app works the images get cut off on the top and bottom, cutting off texts and icons. Also, the images start to look pixelated because the 720x1280 images are stretched to 768x1280.
Sent from my RM-821_eu_euro2_206 using Tapatalk

[Q] Help: Font size and UI issues

[Q] Help: Font size and UI issues
Hello everybody,
I own a Desay TS518 (a Chinese brand) phone which runs Android 2.3. I liked its physical keypad, so I bought it. However, the phone was designed especially for the old, so the fonts and UI elements were extremely big. This made me very uncomfortable and caused some applications to misbehave.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have googled and tried two ways to change them to the right size, but (partly) failed.
Here is a datasheet of the phone:
Network mode: TD-SCDMA/GSM
Screen: 2.8 inch, 240x320
Camera: 0.3MP
OS: Android 2.3
CPU: 1.0GHz
RAM: 256MB
Battery: 1300mAh
Picture:
First, I tried the app ‘Spare Parts’.
It can adjust the font size, but the UI were still ugly. For example the BIG title bar……
And when the phone reboots, the fonts will become big again.
Then, I tried to modify the font file with a software called ‘Font Creator Program’, but the results were same. Only fonts became smaller.
I have also tried to increase the LCD density using some apps, but none of them works.
Additionally, I think maybe the manufacturer have modified things in /system/framework/ …… I know how to use tools such as baksmali and apktool, but don’t know what to modify……
Hope you'll help me. Sorry for my poor English…
Thank You.
There is a simple way. you can port a ROM from another device.
alien_hjy said:
There is a simple way. you can port a ROM from another device.
Click to expand...
Click to collapse
It's too difficult for me to do that...

Hiding the 3 dot menu (overflow buttons)

Hello!
I am using SlimSaber - SlimLP which is a 5.1.1 ROM and I'm facing a single issue with it, I'm posting it here since the ROM's thread seems pretty dead, but it's still a great ROM.
I want to remove the 3-dot menu also called overflow buttons because I don't use the navigation bar. As you may know, we have physical buttons in our Galaxy S2s and those are more than enough for me.
Look at how much space it takes, it cuts almost everyone's names on my device when using the stock DPI (lcd density)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The ROM looks like it has a built-in function to disable them but it doesn't work.
I have also tried adding qemu.hw.mainkeys=1 to the build.prop file but it didn't work.
You could say "well just make the LCD density lower by changing the DPI to 200 or something" Yeah but if you do that, games will lag because it thinks you have another screen size, I had that issue and it got solved by going back to the original DPI size. (in addition to all the problems changing DPI could entail).
And also, yeah, it's possible with nowadays' apps to remove them because if you install Samsung's official JB 4.1.2, you can use the actual whatsapp and everything without these 3 dots. Even with CM11 KitKat you can still use your device without those. What does lollipop need in order to get rid of them...
Any other ideas on how to remove that unnecessary button? Thanks in advance.

How to remove horizontal camera hider on LG K51s??

So I recently acquired an LG K51s, because my old Sony broke due to water penetration.
One annoying thing I really dislike about the phone (apart from the rubbish skin LG uses), is the simple fact when I go into horizontal mode the phone cuts off part of the top screen to make it look seamless (because it has a hole-punch camera cutout).
Now I really don't mind the camera, provided I can use the 6.55" 20x9 720p screen. So I'd like to know, if there a way I can permanently disable it? I know Nova launcher and YouTube can somehow bypass it and use the whole screen.
Thanks in advance!
-Z
So this is kinda useless. But I'll keep trying nonetheless!
I suspect the problem is with com.android.systemui. I have managed to extract the APK and will be looking around to see if I can somehow disable a custom setting in System UI Tuner. If that doesn't work I may have to edit it manually and see if I can overwrite it, somehow...
Nova Launcher making use of all the screen space (horizontal)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Settings app giving me the stupid black bar (horizontal)
Same issue in Chrone as in the Settings app (horizontal)
But any app that plays videos (in my case it's YouTube) has the option to remove the black bars (horizontal)
Why is no one giving me ANY useful input?
I can even upload the 90mb systemui apk if, anyone has the knowledge and experience to go through it.
Mods, what the on earth is going on???

Categories

Resources