Insert or calibrate RPi Display with android at BPi-M5

I tried use a 10.1 1024x600 display bought on aliexpress with android but it sucks, the screen have some overscan the resolution is messed, so i could change: density, resolution and overscan. Changing this I can use it. The problem is that has some uncalibrated touch response for the reason that i touch a place and the actual touch is another place, so it sucks. So I am interested to make or change some drives in order to calibrate, I am new with android so i don’t know how or where to change the calibration factors I read a lot and I still don’t know how to do it. My guess that I should change some boot.ini or something like that in order to get work, so how?