[Tutorial] How to find touchpad driver of a spreadtrum / unisoc android device
[Tutorial] How to find touchpad driver of a spreadtrum / unisoc android device
Follow the steps below to find the touch input driver of a unisoc (SPD) android device
search for : D0 0D FE
sudo apt-get update
sudo apt-get install device-tree-compiler
dtc -I dtb -O dts -o recovery.dts teclast.dtbo
find what: focaltech
Quote:In this video tutorial, i'm going to be showing how you can find the touchpad driver on a spreadtrum android phone. Now the essence of this guide might come in handy if you're trying to look for the driver or if you're trying to fix no touch when you boot into twrp recovery
So for the sake of this guide, i'm going to be use the stock recovery for the teclast p80x model, so before we begin i'll need to unpack the recovery file.
To do this, i'm going to use android image kitchen. So to unpack, i'll simply drag and drop.
Now the file we need is under splitimg folder and it'll be named dtbo, so it'll either be named dtbo or dt or dtb whichever one you find, like in your stock firmware you might find dtb or dtbo but whichever one you find, just know that's the file you're looking for
So let me quickly drag this file here, now i no longer need this and i no longer need this
So the next thing we need to do is that we'll need to remove a certain header, so i'm going to use hxd tool.
Now i'll drag and drop, so the begin header for a dtb file should start from this hex, D0 0D FE
So i need to remove everything from here, i'll simply highlight everything and delete, so save.
As usual it'll create a backup for me, but this is the file i just saved now. So i'm going to rename it to teclast.dtbo
Yes
Now we'll need to boot into a linux PC, i'm using ubuntu for this
So in linux, you'll need to install DTC (device tree compiler)
To install this you can simply use these commands but to install you'll need to run sudo apt-get update to update the apt-get repo and sudo apt-get install device-tree-compiler to install the software we're going to use, it's a command line tool
Now we'll launch terminal, you can easily launch terminal by right clicking anywhere and launch terminal
So i need to find the location of the files, the dtbo file i just saved
okay it's on my desktop and i named it teclast.dtbo
so this is the file i need
so what i need to do is properties, i need to change directory
so first thing we'll do is cd paste desktop
so now i'm on this folder, now we'll issue the command dtc -I dtb -O
what this means is dtc which is the tool, input will be a dtb file, output will be a dts file, then output the name of the file we want and then the name of the image which is teclast.dtbo so teclast.dtbo then press enter
You'll get a lot of warnings and all what not but at the end you'll get a dts file, so this is the file we actually need
So let me quickly switch back to windows, i'm running vmware on my system so i'll quickly switch back to windows and this is the dts file on my desktop
So now i'm going to right click and edit with notepad++ , now using notepad++ to find a specific driver we'll just need to scroll down but what i'll normally do is Search, find, focaltech, find next
So this focaltech is a driver in itself and it seems very common with spreadtrum devices so i'm going to use the focaltech, just beside the focaltech you'll find a second driver
So in this case we can see a second driver name, this is the name of the driver for teclast p80x, but in your case you might find the driver above focaltech it's not compulsory that it'll be below focaltech but it might be just above focaltech
So that's it, this is the name of the driver i'm looking for
So this is how you find the name of your touchpad driver on a spreadtrum android phone
Okay, Thanks guys for watching and ensure to subscribe to get more videos
(27-07-2020, 06:27 AM)theHOD hello Hovatek, thank you guys so much for the toturials . please i have an issue identifying my device touch driver since i cant find the "focaltest"
am using the itel A56 attach to this reply is my recovery.dts file thank you
(31-08-2020, 05:41 AM)AtifKhan Bhatti I have SPD 7731C MM 6.0
I have ported Using SPD Porter tool now
Touch not working
I have tried to find Touch driver using apk in general tab it's Showing Focaltech_ts
Now how to find focaltech_ts.ko
To touch working
Using Hovatek Touch Fix Guide
(22-10-2020, 06:42 AM)falka Hello hovatek, I have a question about how to install the screen drivers, since the file of the drivers of my screen is not in hexadecimal, like the one of you who places as a guide, how would I do to convert my file to hexadecimal.
(22-01-2021, 01:47 AM)darkrai_24 Hello, in the step 5 when i search D0 0D FE with hex editor he not found nothing, and if i go to next steps when i on the stepp to convert on linux the .dbo file to .dts i get a error that shows: error blob has incorrect magic number and i try the updated method but the app only show focaltesh_ts how i can do for fix the problem of touch on twrp
(22-01-2021, 01:00 PM)X3non(22-01-2021, 01:47 AM)darkrai_24 Hello, in the step 5 when i search D0 0D FE with hex editor he not found nothing, and if i go to next steps when i on the stepp to convert on linux the .dbo file to .dts i get a error that shows: error blob has incorrect magic number and i try the updated method but the app only show focaltesh_ts how i can do for fix the problem of touch on twrp
see the updated method in the first post