View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#462
Originally Posted by robthebold View Post
Thanks very much.

Okay, I can telnet in to device. (Took me a little while, since everything I know about usb networking fits in a thimble, and I was using 192.168.2.* as my local LAN, so using offline device finally did the trick. )

Anyway, I can see the root directory with "ls" and I can ping back to the USB host PC, so I guess the phone has booted up. From what you wrote, I gather the screen is dead but the phone lives. Anything else I should test before attempting to get it fixed?

Thanks again,
Rob
Rob, You can export the partitions to your Linux via USB when you can telnet in.

1.) Enter one of the following commands to export the partition:
"echo /dev/mmcblk0p1 > /sys/devices/platform/musb_hdrc/gadget/lun0/file" # This is for MyDocs partition
"echo /dev/mmcblk0p2 > /sys/devices/platform/musb_hdrc/gadget/lun0/file" # This is for root partition
"echo /dev/mmcblk0p3 > /sys/devices/platform/musb_hdrc/gadget/lun0/file" # This is for home partition

2.) exit from the telnet connection

3.) Disconnect the USB for about one second and reconnect it

What wil happen, the partition will be detected by Linux and automatically mounted. (if not, you can look it up from dmesg and mount it manually)

After copying what you need form the partition, you can again set the IP addredd, telnet to the device and export the next partition.

If you have lots of storage space it is of course best to back up all three partitions, when you get the new/repaired device back it will be EXACTLY in the same state that your old device was when you upload back the backups. "sudo tar -cvf <filename> <mountpoint>" is good way to do that.
 

The Following 3 Users Say Thank You to juiceme For This Useful Post: