2014-08-06, 20:23
Hi, I got curious about this and tried looking into it. Here are a few things I found out.
The script.bin file is in the NAND storage. You have to mount the file system and extract script.bin, then make a copy. (/mnt/tmp is just an example. You can mount it anywhere you want)
You then need to convert the bin file to a fex so you can edit it.
You need these tools
download and extract the zip file to your desktop. Traverse to that folder.
Use bin2fex to convert the script.bin to fex.
Then you can edit the touch panel settings you mentioned, ctp_revert_y_flag.
Convert the fex file back to bin using fex2bin, then put it back with adb push.
You have to save it as both script.bin and script0.bin (this is a backup file)
unmount mnt/tmp
I apologize, though. This is all just research, I have not tried this. Hope it helps.
The script.bin file is in the NAND storage. You have to mount the file system and extract script.bin, then make a copy. (/mnt/tmp is just an example. You can mount it anywhere you want)
Code:
adb shell mkdir /mnt/tmp
adb shell mount -t vfat /dev/block/nanda /mnt/tmp
adb pull /mnt/tmp/script.bin
You then need to convert the bin file to a fex so you can edit it.
You need these tools
download and extract the zip file to your desktop. Traverse to that folder.
Code:
sudo apt-get install libusb-1.0-0-dev
make
Use bin2fex to convert the script.bin to fex.
Then you can edit the touch panel settings you mentioned, ctp_revert_y_flag.
Convert the fex file back to bin using fex2bin, then put it back with adb push.
You have to save it as both script.bin and script0.bin (this is a backup file)
unmount mnt/tmp
I apologize, though. This is all just research, I have not tried this. Hope it helps.