Can you put an LCD on a spare port of the PIC?

You could check that the commands are executed in the order you send and see up to where the program goes or fails.

How do you connect PIC to Mobile?

Ioannis