only half of the touch screen working - Xiaomi Mi A2 Lite Questions & Answers

Hi
I had a cracked screen before and I bought the component to fix it myself, (replacing the screen using service just cost too much in UK, I can almost buy another brand new phone) however the lower half of the screen does not work.
Is there any app that use to make my screen smaller so that I can actually use the usable section of the screen only please?

Search for Reachability and look at related apps. Those are designed to avoid the need to reach the top of your screen. Possibly they can work the opposite way too?

There's a shell command that can be used to "ignore" a part of the screen; "wm overscan". You can execute it with root privilege or from adb :
Code:
wm overscan [left],[top],[right],[bottom]
For example of you want to ignore 200 pixels from the bottom and 100 pixels from the top:
Code:
wm overscan 0,100,0,200
To cancel the effect :
Code:
wm overscan reset
By curiosity, having also faced trouble with touch screen after changing it, did you buy a screen already fixed in the frame or did you do it yourself ?

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...

[DEV]Make a Form Slide

Hello,
I'm trying to make a little app made of several screens (say from 1 to 5).
When the application is launched, it will display screen 1, and users will be able to go to screen 2 by clicking on 'Next', then 3, and so on. They will also be able to go back.
To improve user-friendliness, I want to make those different screens slide. I saw some software doing it smoothly, so it should be possible.
So I tried to do the same, using a panel wider than the screen and changing his 'Left' attribute. But the result was very bad (it's CPU-killing and it's not smooth at all). I've enclosed the project if someone wants to have a look.
My question is: How I can get these screens slide smoothly?
P.S.: I saw two SDKs making nearly what I want (XFControl and SliderList), but it seems that one screen have to be parent of the other, and that's not what I want

Disable part of screen

Hi there,
my problem is that top part of screen (about 1,5 cm) is disable for touch.
I found out that i can change resolution of screen with terminal emulator and display-size command, but when i do that it cuts off a bottom part of screen.
(i would love to paste a photo how it looks like, but i'm a new member and i can't...)
Is there any way to do similar thing, but with cutting top part of screen ?

Reduce the navigation bar height [no root] Android all version

Hi, I've been annoyed by how tall the navigation bar is on our screen. Fortunately it turns out the old adb trick still works in Pie. The navigation gestures are still working fine with this change.
First make sure you have the "adb" command line tool. Then type one of the following command:
A very thin bar with almost nothing displayed on it (just the top black lines of the navigation bar), a bit aggressive but my favorite: adb shell wm overscan 0,0,0,-90
If you want to keep the button visible, this looks fine: adb shell wm overscan 0,0,0,-50
To get back to the normal settings: adb shell wm overscan 0,0,0,0
Unfortunately, changing the second parameter to a negative value does push the status bar upward, but it won't reduce its thickness (due to the screen notch).
See the attached screenshot to check the difference between 0 and -90.
Do you know of a way to swap the back and recent buttons in 10? Seems like the old way is broken.
No, I prefer to use Android 10's gestures instead. Which removes the navigation bar, similarly to what I was doing above.

Wrong display size after flashing

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.

Categories

Resources