[Sony Xperia P, U, Sola, Go] pollob666:
Some guys have problem using a JB or KitKat because though their Boot-loader is Unlocked, they can not Use the ROM after flashing. Because the Touchscreen will not respond after the new ROM Boots up. So, they are stuck with the ICS Stock that Sony gave. There is a Thread

Touch does not work

I was one of these guys.

Well Guess what I got a solution. :D:D:D:D

So, I am going to write the procedure directly. But first, go and thank these two people...

1. erw1n for this post http://xdaforums.com/showpost.php?p=46276864&postcount=81

2. bangladeshi for this thread. [TUT] Fix broken touchscreen problem of xperia mini pro (SK17i,SK17a)

I Got the Idea from them.

Special Note: I'm not responsible if you brick or damage your phone.

The procedure goes as follows. I'm giving the detailed Instructions later.

Download the desired ROM

Extract Touch Screen Firmware and related files from Stock Official Sony FTF or any other source

Open ROM with 7-Zip or any other Zip Software and replace the Firmware Files with Stock ones.

Modify the hw_config.sh file in the ROM if necessary.

Close the ZIP

Flash the ZIP with CWM :D:D

Now Goes the Details-

Step One: I Did it with only [ROM] [UB] [Kitkat] [4.4.2] CyanogenMod 11.0 NIGHTLIES. So it's not tested on any other ROM. Theoretically It should work on any ROM. So, Cheers :D:D Download your ROM.

Step Two: If you dont want to do all these, then just download the zip file in the attachment and unzip it. for the official Sony firmware files :D:D:D

Else,

You will need FlashTool and Stock Official Sony ICS FTF and Notepad++ or any similar code/text editor and 7-zip for this. You will also need ext2explore (If you know what you are doing then you can also download the CWM flashable one ROM.)

First Open the FTF in 7-zip. Extract the System.sin file and put it in a folder lets say, "ICS_Stock". Now open FlashTool. Go to Sin editor.Browse for the sin file and click on Extract Data. Now after it finish, you will see four extra files in the ICS_Stock folder. with different extensions. one will be ext4. (something like "system_S1-SW-LIVE-3065-PID1-0002-S1-PARTITION.ext4")

Close FlashTool, Open ext2explore (as administrator). Go to file, Open Image, and select the ext4 you just extracted.

browse through the files,

Go to system/etc/firmware, right click on ttsp_fw.hex, save it.

Go to system/bin, right click on cyttsp_fwloader, save it.

Go to system/usr, right click on the folder idc, save it.

Close the ext2explore

Step Three: Now open the downloaded ROM with 7-Zip. Now Pay very careful attention

Go to system/etc/firmware, and delete ttsp_fw.hex if exists.

Go to system/bin, and delete cyttsp_fwloader if exists.

Go to system/usr, and delete folder named idc if exists.

Go to system/etc, and extract file named hw_config.sh after extract and save it in the same folder as other files, delete the file from the zip.

Now again

Go to system/etc/firmware, and drag and drop the ttsp_fw.hex file you just saved. (There will be a warning "Are you sure, you want to copy files into archive.... bla.. bla.. bla..." just say Yes)

Go to system/bin, and drag and drop the cyttsp_fwloader file you just saved.

Go to system/usr, and drag and drop the idc file you just saved.

Now comes the vital Part,

Open the hw_config.sh file with Notepad++ you will find some lines like this one,

# Touch FW loader
cyttsp_fwloader -dev /sys/bus/spi/devices/spi9.0 -fw /etc/firmware/ttsp_fw.hex

# Audio jack configuration

if it is just like my example then, change the lines to

# Touch FW loader
cyttsp_fwloader -dev /sys/bus/spi/devices/spi9.0 -fw /etc/firmware/ttsp_fw.hex -force

# Audio jack configuration

(Just add a -force)

If its not like the example and you don't have a clue what to do, Ask in this thread, If I'm there, I'll reply what to change.

it could be something like below, (taken from the Chienise Guy ROM 6.2.A.1.100 Xiangxin X3

# Touch FW loader
dev=/sys/bus/spi/devices/spi9.0
fw=ttsp_fw.hex
app_id=`cat $dev/appid`
case `cat /data/ttsp_fw_update` in
"in_progress") flags=-force ;;
*) flags="" ;;
esac
case "$app_id" in
"0x3030") flags=-force ;;
*) echo $app_id > /data/ttsp_appid ;;
esac

echo "in_progress" > /data/ttsp_fw_update
cyttsp_fwloader -dev $dev -fw /system/etc/firmware/$fw $flags
echo "done" > /data/ttsp_fw_update

# Audio jack configuration

Here you may or may not change. but if you really want to change, change it to,

# Touch FW loader
cyttsp_fwloader -dev /sys/bus/spi/devices/spi9.0 -fw /etc/firmware/ttsp_fw.hex -force

# Audio jack configuration

Then save and close the hw_confif.sh file.

Now again go to your ROM opened with 7-zip, and Go to system/etc, and drag and drop the hw_confif.sh file you just saved.

Close the ROM Zip.

Step Four: your Fixed ROM is ready. Take all the Backups you need and don't need ;). Go to CWM, and also take all the NANDROID backup. :D

Now keep your fingers crossed and flash the Modified ROM as the instructions say in the Main Thread from where you downloaded the ROM.

If this solution works, Thank the ROM Builder first and then me. ;)

Please Note: Do not distribute the Modified ROM without the permission of the Original Developer.

and Don't Blame Me or the Developer if the solution don't work for you. It worked for me. :p

If it worked for you, then Please tell us, for which ROM the solution worked. We can make a list of Compatible ROMs for this Modifications.

Up to now, this trick is confirmed to work on Two ROMS.

[ROM] [UB] [Kitkat] [4.4.2] CyanogenMod 11.0 NIGHTLIES

JB Thunder Strike