Wrong display size after flashing - LineageOS Questions & Answers

I have a Redmi Note 6 pro and downloaded the rom from download.lineageos.org/twolip (build date) 2020-10-19.
The rom has 1080x2380 and PPI of 440. It should be 1080x2280 and PPI of 403.
If anyone sees this can you please help?
Even though this should be the correct rom it turns out the phone has the wrong screen size. The phone thinks it has a 6.3 inch screen with 1080x2340, ppi of 440 and aspect ratio of 13:6.
In reality it should be 1080x2280, 19:9 6.2 inch screen with 403 ppi.
At first I thought it is an easy fix using wm size, wm density and wm overscan to rearrange things but it isn't.
If I try to change things using wm to fix it the screen moves down. So the bottom 30px or so are beneath the useable screen and there is a missing bit at the top. I don't mind the missing bit at the top. I hate the notch anyway but my problem is the touch is off.
When touching the bottom part of the screen where the keyboard is, touches are registered around 3-5mm lower than where I actually press. I am making so many mistakes while typing now.
As stated earlier I downloaded what should be the correct rom from the site so I don't know. At this point I have set everything back up from backups which took a lot of time because I didn't realise this was the issue until it was too late. I just thought I was being especially bad at typing.
I don't want to reflash if possible. I am rooted so I can edit any file I need. Is there a way to fix this please?
Thanks.

Related

LCD Panels - Some Answers

Ok I have seen a lot of confusion over the months regarding the LCD Panel fitted to the Kaiser, I will attempt to answer most of these issues here.
Hardware: The kaiser series is fitted with a 2.8 inch 240x320 TFT LCD panel, which means that it 240 pixels wide by 320 pixels deep, the optimum density of this LCD panel is 143 Pixels per Inch.
Resolution: This refers to the screen resolution that the Operating System will use to display on the LCD panel, the 3 most common being 240x320, 320x428 and 320x480, the reason this is possible is that the OS is capable of fooling the display into using the fixed 240x320 panel to display more pixels, ( it does not really have more pixels, it just looks like it).
DPI: DPI or Dots Per Inch, also known as Density, and correctly known as PPI or Pixels Per Inch, this refers to the number of pixels the screen displays in a One Inch Square on the screen. As I noted above, the actual PPI of the LCD panel is 143 PPI, this is fixed by the hardware, and cannot really be changed, however since the LCD is software driven, it can be persuaded to look as if it is displaying more or less pixels in that same area.
Panel Type: This refers to the actual LCD panel fitted to your device, there are 3 types fitted to the Kaiser series, one manufactured by Sony, the other two by Topoly. While the 3 different types of panel are functionally identical, they differ at the electronic level. On Windows Mobile this difference can be detected by the OS, however on Android this is not possible, so the panel type must be set in the parameters passed to the kernel at boot time, either in default.txt when booting from SD, or hardcoded in the NBH when booting from Nand. Also there is no easy way of telling which panel type is fitted to any given Kaiser, since the panel type was chosen by HTC depending on price and availability and stock at the time of manufacture, so any model of Kaiser can have any of these types fitted.
The main problems encountered with the display are usually solved by changing the Panel Type, either by editing default.txt, or reflashing the correct NBH, ( note that you can also edit the kernel parameters of an NBH using a Hex Editor, however this would be a relatively advanced method, since an error could cause major issues).
Changing screen resolution and density: As noted above there are 3 main resolutions used, 240x320, 320x428 and 320x480. These easy to change either by editing default.txt, or flashing an NBH, depending on how you run Android, resolution is usually a personal choice. Density is not as easy to change, although Rogue Tools by Myn, (available in Market, and discussed here: http://forum.xda-developers.com/showthread.php?t=667581), is excellent for this purpose, there are various common PPI settings, and again mostly personal choice, a little experimentation with resolution and density will allow you to find what you prefer.
Hope this helps clear things up a little
Thanks for this, it helps alot!
vertical lines issue
just to add to the above: the vertical lines issue some have is related to choosing the wrong panel type. Chosing the correct one will solve the problem.
Wrong panel make errors display, ok! But Can it lead to additional consumption of the battery?
Dark-Side said:
Wrong panel make errors display, ok! But Can it lead to additional consumption of the battery?
Click to expand...
Click to collapse
I suspect it may, since display errors such as vertical streaks, pixel errors, colour issues etc are actually caused by a mismatch between the OS drivers and the actual physical electronics, and it's possible that the panel may demand more power than it would normally, I'd have to bench test this to be sure, but it's probably easier just to use the correct panel type setting.
The correct panel type should lead to a 'normal' demand on the battery.
zenity said:
I suspect it may, since display errors such as vertical streaks, pixel errors, colour issues etc are actually caused by a mismatch between the OS drivers and the actual physical electronics, and it's possible that the panel may demand more power than it would normally, I'd have to bench test this to be sure, but it's probably easier just to use the correct panel type setting.
The correct panel type should lead to a 'normal' demand on the battery.
Click to expand...
Click to collapse
I use panel 2... I go to use panel 3 to test this. panel 1 make for me pixel errors. I'll report here.
Thank you
EDIT: no difference between panel 2 or 3 on my kais130
Thanks! That helps a lot.
I havd a thought, which is to change a physical LCD panel for my kaiser, HVGA or VGA... Is that possible? I would look into some electronic files later...
i guess that our chip has max resolution only 320x240 so no higher resolution
but as I look in the pdadb.net there are some devices with higher resolution and same chipset as ours so perhaps it is possible
It is unlikely to be possible to use another panel, since there are a lot of differences with the interface, it's not just the chipset, but how it's wired, plus higher resolution panels may need extra address lines which are not present in our kaisers.
For those of you experimenting with LCD Density settings. You may wish to try the following density settings.
100
121
144
169
196
Remember, pixels are square, so the density settings should reflect this, also the extreme ends of this table are just that, extreme
zenity said:
For those of you experimenting with LCD Density settings. You may wish to try the following density settings.
100
121
144
169
196
Remember, pixels are square, so the density settings should reflect this, also the extreme ends of this table are just that, extreme
Click to expand...
Click to collapse
density 106 works very well with 240x320 if the build is designed for 320x480. I'm using that on the CyanogenMod port. Haven't tried it with other builds though. I did try 107 once with another build but that did not turn out very well.
106? that should really look a little blurry, but I think it depends on the resolution that the build was designed for, however I think I'd find it a little small personally, have you tried 100? it should look clearer than 106, although I have noticed that some people just prefer a certain density regardless of the actual mathematically 'correct' one.
zenity said:
...
Panel Type:....
.... On Windows Mobile this difference can be detected by the OS, however on Android this is not possible, ...
Click to expand...
Click to collapse
So how do I detect which panel in winmo?
I don't like the idea of just stabbing blindly in the dark and hoping I get it right.
Basically? Stab in the dark, there is no way in wm or android to know which type is fitted, type 2 seems most common, and is usually a 'safe' default, if the graphics/colours are wrong, you probably have type 1, if you have issues waking from sleep then you probably have type 3. So try panel 2 first.
Sent from my HTC Dream using Tapatalk
I'm running Android on my HTC Tilt and am using panel 2. I tried panel 1 and the colors were off so Panel 2 seems good.
But the problem I am having is that when I open up the dialer, it doesn't fit correctly on the screen, the bar which shows which numbers you have entered covers up the numbers 1,2,3 and the sides are cropped.
Everything else seems to be fine why is the dialer messed up?
Should I try changing density its at default right now.
I personally like to use 110, but every time I open detail application on Market, it gave me force close. Facebook for Android does that too (I mean FC) whenever I open detail message or upload picture from gallery.. I've tried 106, 104 and 100 and still having the same problem.. it's not happening when I use 120 for density, everything seems work properly normal.. is that common or I have to do something to fix that problem?
Thats not normal behaviour for market, although it has been known to be a little flakey on some builds, however this is unlikely to be related to lcd density, since density only affects the visual appearance of the screen, not the OS itself.
Which Panel?2 or 3?
Am using HTC Tytn II and recently i tried almost all Android builds(donut,eclair,froyo) on my device.panel 1 shows some pixel errors and panel 2 and 3 makes no big difference for me, both settings showing a white flash screen on wake up!
and panel 3 i feel little smudge,not sure.panel 2 wake up with white flash screen and follows by grains(just like noisy TV screen).All these for two seconds.after that TYTN II behave normally.Any body can help me please?
stajan said:
Am using HTC Tytn II and recently i tried almost all Android builds(donut,eclair,froyo) on my device.panel 1 shows some pixel errors and panel 2 and 3 makes no big difference for me, both settings showing a white flash screen on wake up!
and panel 3 i feel little smudge,not sure.panel 2 wake up with white flash screen and follows by grains(just like noisy TV screen).All these for two seconds.after that TYTN II behave normally.Any body can help me please?
Click to expand...
Click to collapse
As previously stated, panel 2 is the most common of all.
As for the white flash and grainy display, this is due to the fact that we have to "fake v-sync" in order to display anything on our screens. Remember, Android was not designed for our Kaisers, but developers got it to run, piece by little piece, really well on our devices. There will always be drawbacks to this as the hardware doesn't really meet the requirements of what Android was developed for.
If you want to see whats going on when you have a white screen or snow, slide the keyboard open and press "Fn-left softkey". this brings up a screen that shows you what Android is doing.
To return to the main screen, press "Fn-right softkey".
Hope this helps...

screen calibration

I have found a little problem.
The touch screen work good with a keyboard, but it has a little error with precision while drawing with a program like magicmarker or any others applications. On the left size of the screen the point i touch is not centered like on the right size.
Example :
- on right size the points i draw are perfectly in the middle of my finger
- on left size the points i draw are about 2-3 millimeters and the right of the middle of my finger
How can i fix it ?
hi there,
The desire has a capacative display, which works by measuring the capacitance change when you touch the screen, by way of the magnetic field of your body, this way the screen does not need calibrating because of the way it works.
Hope this helps.
im sure someone will correct me if im wrong
I tend to agree with the original post. I wondered earlier here if there is a way to align the screen (such as with WinMo). Especially when browsing I easily click the wrong links, I have carefully checked where my finger tip touches the area, but the wrong link etc is actioned. There is a way to somehow correct it for typing, but think thast all.... ??

[Q] Wallpapers on cyanogen 6.1 or evo period.

Ok I have been looking everywhere and can't seem to find a app that will set the wallpaper as is without cropping or cutting the edges off. I know the best resolution is 960x800 but it still cuts off parts of the picture. I've tried wallpaper set and save and a host of other apps from market and various android freeware sites. None of them seem to set them right, any help would be highly appreciated. I have an HTC evo running cyanogen 6.1 stable and everything is so far so good and I want to thank this website because without it I was lost. This is my number 1 forum so I know ill get the answer, its out their please help me find it. Thanks in advance!!
flikie wallpapers hd is about the best ive seen at this. it still crops but i keeps most of the image quality
Only thing I can think of is to take the photo you want, make the actual photo whatever the screen resolution is (480x800 from what I've read) with black bars on the side to make the entire picture file 960x800. Then use launcher pro to freeze the background so it doesnt move when you swipe. Your picture should be centered.
When you select the image for a wallpaper, you see that little box in the center? Drag outwards on one of its edges.
dkelle4 said:
Only thing I can think of is to take the photo you want, make the actual photo whatever the screen resolution is (480x800 from what I've read) with black bars on the side to make the entire picture file 960x800. Then use launcher pro to freeze the background so it doesnt move when you swipe. Your picture should be centered.
Click to expand...
Click to collapse
Thank you all for the speedy replies, I see what your saying. I have my desktop set to have only one screen already, but I went and got launcherpro cause of its features. But yea I downloaded a few pictures before that were 480x800 and it had the black bars on the sides but when I set it, it cuts off the head and feet, 960x800 however does not, it only cuts just a little off the sides. I'm guessing now that the picture is to wide and I wanted to know if I could make a picture keep its height and change its width. I don't know maybe keep the height from the 960x800 setup and the width from the 480x800 setup if that's possible.
My friends, friend has his set up so that when he sets a wallpaper it gives him the option to set as is, to crop, and i think the other one was to cut it. I don't know if its a application or if its the firmware (like cyanogen i mean) he uses, I would ask but he lives very far a few cities over. I have been combing the internet for this app or whatever, and I'm fairly new to android phones, but I got a pretty good history with computers so that definitely helps. But this one seems to be a common problem with a somewhat easy fix. Any ideas?
Are you sure you didn't mix up the 2 sizes lol. 960x800, and not 800x960. Not trying to be a jerk or anything, but I've done that before using Photoshop.

Screen shift app and navbar ?!

Hi ! I attempted to use screen shift on ZF2 4GB on CM 13 to diminish screen resolution to HD, cuz i think it will help my phone battery to last the whole day. After setting 720x1280 and 320 dpi everything is ok, but then i noticed phisical navbar won't react. Someone help here.

Different screen zoom/text size per screen?

Curious if there's a way to have different screen zoom and text sizes per screen. On the front.. obviously like it a little bigger. Opened, I like the screen zoom to small with a slightly smaller text size. Also the screen zoom changes some apps to tablet mode, not ideal for the small screen. Any ideas?
Wondering about this as well. I've yet to find anyway of doing this. At the moment, 'Medium' Zoom looks better for the outside screen but too big for the Inner. I've just set it to 'Small' as the best you can get for now. Any change in developer setting (to make even smaller) makes the outside screen practically unusable due to its tiny size.
yeah from what i understand, the text size setting is completely global which is unfortunate.
with their expensive team of "experts", you would wonder why this was such an oversight.
Iv noticed on small screen you can pinch to zoom which iv used a lot
Someone suggested on Reddit that you can use Tasker to create two different profile for open and closed state with separate dp… The downside is, it will have maybe half a sec delay when you open or close due to switching res...

Categories

Resources