touch screen working with XY axis rotated at 90 degrees - Asus ZenPad 10 Questions & Answers

After replacing the original LCD and touch screen the new one works , but the touches are not at the correct places. The touch screen is rotated at 90 degree of the LCD orienatation. So I need app that lock the xyz axis and they will not change with a change in the device orientation.
Please help!

bascho said:
After replacing the original LCD and touch screen the new one works , but the touches are not at the correct places. The touch screen is rotated at 90 degree of the LCD orienatation. So I need app that lock the xyz axis and they will not change with a change in the device orientation.
Please help!
Click to expand...
Click to collapse
Hello, did you find any solution? I've the same problem after replacing. Searcing web i see that there is the possibility to correct inverted axis editing the script.bin file. Today i've rooted the tablet but since now i've no found this file. Any idea? For root I used this procedure :https://forum.xda-developers.com/ze...g-twrp-rooting-asus-zenpad-10-t3612693/page31
The first with the scatter file and works very well .
The parameters to change (0->1 or 1->0) in the script.bin are :
ctp_revert_x_flag = 0
ctp_revert_y_flag = 0
ctp_exchange_x_y_flag = 0
I hope that someone expert could help us to find this file and how to edit.
Thanks to everybady in this forum for the help and the guides.
Ren

I just fixed someone tablet, but the fix is kinda wonky
If you already have root, then use a root explorer app to edit the file /system/build.prop
Look for a line that says
ro.sf.hwrotation=90
THen I've changed the value to 270, save, then reboot
What this does, if I understand correctly is rotate the screen 180 degrees, I have to disable auto rotate, but now the screen touches where it should touch, kinda of an alternative solution

Related

how to calibrate/align touchscreen

could anyone help me how to align the touchscreen manually? i found a thread somewhere where it says that calibrating the touchscreen has 5 coordinates. i dont know which one goes where and the values of each. i tried the suggested values on that thread but it seems to be a bit misaligned when i reach the top part of my touchscreen. what im asking is how the x and y value of each coordinate contribute to the alignment of the touchscreen. help much appreciated.
For screen:
Start;Setting;System;Screen. Then click on (align screen)
For touchscreen:
Some of the older version of FTouchFlo has a calibrate.exe after installation (I think alpha4 has it)
what i was askin was manually, meaning, editing the registry value on calibrationdata. i wanna know how each value affect the alignment of the screen. there are 5 coordinates on that registry key, so i wanna know how each affect the calibration.

Lapdock resolution is off?

Strange situation. I got the lapdock a few days back from the sale and I'm running Darkside w/ Fruitcake 2.3.5 webtop. I plugged it in, everything works (although by god it boots slowly) except the desktop doesn't go to the edge of the screen. There's a black margin around the display that my mouse cannot reach. The displayed screen is smaller than the actual LCD screen.
I had tried fastboot wipe webtop and reinstalled fruitcake with no improvement. I had also tried webtopmod1 and the issue persists.
Any ideas?
maybe lcd density settings can/are messing with it? just throwing that out there.
I had the same issue on my hacked webtop. I resolved it by editing my /etc/X11/xorg.conf file.
Towards the bottom are "Screem sections". These define possible choices for screen layouts. In my file, the second of these Screen sections has an Identifier "Screen HDMI". In this, you can set the mode and virtual screen size. Set these both to 1366x768.
You obviously need root, and a way to edit the file. Once edited, reboot (clsing and opening the dock does not restart X).
Original:
Code:
Section "Screen"
Identifier "Screen HDMI"
Device "Tegra HDMI"
Monitor "HDMI"
Option "ARGBHWCursor" "false"
DefaultDepth 24
SubSection "Display"
Depth 24
# Uncomment to override the preferred resolution chosen by UseEDIDModes
Modes "1280x720"
ViewPort 0 0
# Defaults to the size of the chosen mode
Virtual 1366 1024
EndSubsection
Corrected:
Code:
Section "Screen"
Identifier "Screen HDMI"
Device "Tegra HDMI"
Monitor "HDMI"
Option "ARGBHWCursor" "false"
DefaultDepth 24
SubSection "Display"
Depth 24
# Uncomment to override the preferred resolution chosen by UseEDIDModes
# Modes "1280x720" Orig
Modes "1366x768"
ViewPort 0 0
# Defaults to the size of the chosen mode
# Virtual 1366 1024
Virtual 1366 768
EndSubsection
There might be better ways, but this worked for me.
NOTE: The virtual line need not exist at all per the comments
That was amazing! Thanks. It was way above my head and I'm glad someone can fix it.
Does this change work for the entertainment center also?
My webtop fits the lapdock screen just fine, but when I use the entertainment center, video is squished horizontally leaving 2 black vertical stripes on the sides.
exwannabe said:
I resolved it by editing my /etc/X11/xorg.conf file.
Click to expand...
Click to collapse
Is there a way to edit the xorg.conf file right on the phone? Or do you adb copy it to a pc, edit it, and copy it back?
J252 said:
Is there a way to edit the xorg.conf file right on the phone? Or do you adb copy it to a pc, edit it, and copy it back?
Click to expand...
Click to collapse
I am happy using vi in a terminal, but I assume that there are many text editor apps available.
I would caution you to be carefull though. Make a copy of the file first.
I have never used the entertainment center. so can not help you. If is is still 'droid though (and not a webtop flavor), this will not have an affect.
In my case when this happens, I fix it with a simple StartX command on LXTerminal.
However, ever since I went to Fruitcake 2.3.5 Webtop, the screen res change problem hasn't happened again.
Cheers!
Rayan
Lapdock resolution is off??
Hi Everyone...I hopeI am not bothering anyone, even though I haven been reading lots of post with no luck about this issue... I am experiencing this same issue with the lapdock, it does not run at fullscreen, there are black bars all around.
I am running stock firmware 2.3.6 with webtop version WT-1.2.0-110_OLY-6 // Also the only modification I've done to the phone is that I root it...
One strange thing is that when switching to the entertaiment center it work at fullscreen! but not in webtop...
I already tried modifing the xorg file using Root Browser with same results, I've also use startx command from lxterminal but it keeps not showing at fullscreen.
I am still afraid of using webtop from fruitcakes as I am afraid to ruin the phone (n00b....reallly n00b)....so I would like to know if anyone has any other thoughts before testing with fruitcake?

Touchscreen Problems

Hi,
I have changed the touchscreen on my gt540 but now I have calibration problems.
In the vertical positions are ok, the y-position goes from y=o to 480 but the x-position goes from -50 to 372. For this reason it's impossible to use the keyboard or to open applications.
Can I change some parameters on my phone (e.g. add a offset )?
which file can I modify?
P.S. I'm using The-blakeBlader-ROM-V4.0_B0.5
Android 2.3.7
kernel [email protected] #111

[Q] How to have the same visual position for Portrait and landscape mode

Dear users,
I am writing an app right now, which puts a floating window on top of every thing.
The only problem is, when i rotate the screen to landscape, the position of the window is all messed up.
If the position is here in portrait:
__________
|"-x-----------"|
|"--------------"|
|"--------------"|
|"--------------"|
|"--------------"|
__________
The position will be like this in landscape:
_______________
|"---------x------------"|
|"-----------------------"|
|"-----------------------"|
_______________
And the position needs to be like this:
_______________
|"-x--------------------"|
|"-----------------------"|
|"-----------------------"|
_______________
There is one thing i forgot to mention above:
The position of the window is fully dynamic, that means that the user can reposition the window when he or she wants too.
I really hope someone can help me out with this issue!
Thank you in advance,
Tim
well i would make a separate layout xml in folder layout-land then everything looks like you want it
That's impossible since the position of the window is set programmatically, and there is no way to set it using XML
tim687 said:
That's impossible since the position of the window is set programmatically, and there is no way to set it using XML
Click to expand...
Click to collapse
Then save the view's coordinates as floats relative to the screen width/height instead of dp or pixels and restore that position after the rotation (you only need to multiply it by screen height/width). Like so:
Java:
float posX = getX()/screenWidth;
float posY = getY()/screenHeight;

change the sensitivity of your touch screen

Hello all,
I have seen several reports in internet about screen sensitivity issue regarding s7 & s7e varients. some says that it is too sensitive, while some say its less.
In my case,afterinstalling a .4 mm 9H glass screen protector, my screen sensitivity became awfully down,it wont recognise my targus touch input pen anymore,unless i press the rubber tip really hard, also several misses of finger touch input too.
being so, i was thinking of removing the screen gaurd itself, but from my experience, i know that this can be adjusted by editing system files. again, i forgot ( since i dont play with roms much now a days) it, and last night i stuck upon my collection of android tweaks.. and find something interesting.
so i want to share it with you.
You need root access to do this tweak, as we are going to edit build.prop and touch screen calibration file.
1 ) go to system/build.prop , open it with some text editor, add these lines to it ( i prefer xplore filemanager, becoz it is cool and automatically set previous permissions)
ro.max.fling_velocity=16000
touch.pressure.scale=0.00000001
ro.min.fling_velocity=8500
windowsmgr.max_events_per_sec=290
ro.min_pointer_dur=9
2) save it back and then go to system/usr/idc and find the file named " ft5x06_ts.idc ". its the touch screen calibration file. open it as text ( some filemanagers require to rename it as .txt extension, if its so, rename and open it. then edit this line as
touch.pressure.scale=0.00000001
3) save and rename it back to " ft5x06_ts.idc " and set back permissions.
reboot your phone.. now ur phone have much more sensitive screen.
NB:- the normal touch.pressure.value is 0.015 for s7. ( as found in ft5x06_ts.idc file). we have changed it to a much smaller value of 0.00000001 , to make it more sensitive.
you can decrease that value further to make it more sensitive or you can increase that value to 0.100 or so to decrease sensitivity ( remember to add same value on build.prop and .idc file , to avoid conflicts.)
thanks all.. hope this will sort out your touch screen problem.
I don't have that file. I'm running a stock S7, rooted, original ROM in all ways just like most everyone else. Mine is brands new and I've not made any other mods yet. Can you verify the filename and folder is correct?
Are there any other changes you may have made beforehand, that may have created that file? Did you try any of the touch screen calibration apps that I've seen online by chance?
I can try creating the file, what else is in its contents? Can you attach it here, or copy its contents to the screen here if short enough?
Great information, you're the only one writing about this yet. I appreciate it because I was looking for the same thing and I knew it was possible. I can confirm I've read similar on the Android developers website. There's tons of settings related to the touchscreen listed there, and the sensitivity setting you reference seems to be the most important.
I've seen other people reference adding that setting into build..prop. Have you heard that, or tried that by chance? Any feedback? On my S5, it didn't seem to make any difference regardless of what I set it to in the build.prop settings. Perhaps it's the same on the S7. Surprised I don't have the same file that you reference though...? Mine is Verizon. Yours?
---------- Post added at 09:54 PM ---------- Previous post was at 09:17 PM ----------
showlyshah said:
Hello all,
I have seen several reports in internet about screen sensitivity issue regarding s7 & s7e varients. some says that it is too sensitive, while some say its less.
In my case,afterinstalling a .4 mm 9H glass screen protector, my screen sensitivity became awfully down,it wont recognise my targus touch input pen anymore,unless i press the rubber tip really hard, also several misses of finger touch input too.
being so, i was thinking of removing the screen gaurd itself, but from my experience, i know that this can be adjusted by editing system files. again, i forgot ( since i dont play with roms much now a days) it, and last night i stuck upon my collection of android tweaks.. and find something interesting.
so i want to share it with you.
You need root access to do this tweak, as we are going to edit build.prop and touch screen calibration file.
1 ) go to system/build.prop , open it with some text editor, add these lines to it ( i prefer xplore filemanager, becoz it is cool and automatically set previous permissions)
ro.max.fling_velocity=16000
touch.pressure.scale=0.00000001
ro.min.fling_velocity=8500
windowsmgr.max_events_per_sec=290
ro.min_pointer_dur=9
2) save it back and then go to system/usr/idc and find the file named " ft5x06_ts.idc ". its the touch screen calibration file. open it as text ( some filemanagers require to rename it as .txt extension, if its so, rename and open it. then edit this line as
touch.pressure.scale=0.00000001
3) save and rename it back to " ft5x06_ts.idc " and set back permissions.
reboot your phone.. now ur phone have much more sensitive screen.
NB:- the normal touch.pressure.value is 0.015 for s7. ( as found in ft5x06_ts.idc file). we have changed it to a much smaller value of 0.00000001 , to make it more sensitive.
you can decrease that value further to make it more sensitive or you can increase that value to 0.100 or so to decrease sensitivity ( remember to add same value on build.prop and .idc file , to avoid conflicts.)
thanks all.. hope this will sort out your touch screen problem.
Click to expand...
Click to collapse
UPDATE -After digging around a bit, I found two idc files related to touchscreen settings in that same folder. They are named Synaptics_HID_TouchPad.idc and Synaptics_RMI4_TouchPad_Sensor.idc. Their contents reference "Input Device Configuration File for the Atmel Maxtouch touch screen" and "Atmel Maxtouch touch screen" respectively. All the standard touch screen settings are present, but specific to touch.pressure.scale, both are set to 0.0125. Again, slightly different, but this is a Verizon variant, I'm not sure what year it is. I know each touchscreen requires its own set of configuration settings, and it's not expected they would all calibrate and matchup to the same settings. It also wouldn't be the first time Samsung use different pieces of hardware in the same device, let alone the carriers might provide their own input and/or make those choices autonomously as well. What does yours list as the make and model of the touchscreen device? Do you have just the one file referencing touch screen, or are there multiple files like mine?
I'm not sure what specific touchscreen hardware is installed in my device. I know I could go check, but I'm feeling lazy and think I'll just modify them both and see what happens.
I'll provide updates as I learn more...
ya.. thats it.. every android device shd contain some sensor specific file for every sensor used. or lets say some configuration file.. and touch screen too..
btw.. that touch pressure scale is what u need to change.
why the hell does Samsung doesnt set it in 0.00001 in first place -_-
Has anyone else tried/working this workaround?
Not rooted here but will root if it works ^^
Velogr1992 said:
why the hell does Samsung doesnt set it in 0.00001 in first place -_-
Has anyone else tried/working this workaround?
Not rooted here but will root if it works ^^
Click to expand...
Click to collapse
It wont work ! That guy iz suck !
How much can we maximum decrease touch pressure scale value

Categories

Resources