Reply
Thread Tools
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#1
Guys, wonder if anyone can help me...?

While connected via SSH and in the middle of editing a system file, I got distracted. Some 10 minutes later, my distraction has become a real problem - so much so, I needed to make a call!, I forgot I was SSh'd in and editing and unplugged the USB to use the phone.....and of course now all I have, is a solid white screen!, oh b*ll*cks!............

My question is, what are the chances of recovering the handset and keeping my data?, can I repair the file I was working on from within Recovery Tool....and info appreciated, before I do a full reset (not desirable in this case, as I actually have data I would like to keep!)
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following User Says Thank You to Markkyboy For This Useful Post:
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#2
That's why I use Wi-Fi connection

Obviously you can mount your FS from recovery and repair your file using VI-editor.
 

The Following 3 Users Say Thank You to Ancelad For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#3
Originally Posted by Ancelad View Post
That's why I use Wi-Fi connection

Obviously you can mount your FS from recovery and repair your file using VI-editor.
Thank you Ancelad - I have just managed to recover my data from 'home', so that's good.

I don't have wifi, so I cannot ssh that way. My connection is a VPN via BT (Openzone), so I have no choice but to ssh via USB.

Okay, I don't know how to mount the file structure from recovery but I do know how to edit....which is exactly what I need to do!......

How do I mount the FS?

Edit: I'm in Recovery now, chosen option 4 (shell)
I have made a rootfs directory..........the few webpages I've found are either out of date or the commands to mount the fs don't work!...typical.
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..

Last edited by Markkyboy; 2016-05-21 at 20:52.
 

The Following User Says Thank You to Markkyboy For This Useful Post:
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#4
Go into recovery and choose Shell, mount your FS
Code:
mount /dev/mmcblk0p28 /mnt
and edit your file
Code:
vi /mnt/path_to_file
 

The Following 7 Users Say Thank You to Ancelad For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#5
Originally Posted by Ancelad View Post
Go into recovery and choose Shell, mount your FS
Code:
mount /dev/mmcblk0p28 /mnt
and edit your file
Code:
vi /mnt/path_to_file
Ahh, very cool, thank you!, you sir, are a STAR!!

My device is 'rockin n rollin' once more!

Thanks for your help,

Regards,
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..

Last edited by Markkyboy; 2016-05-21 at 21:39.
 

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


 
Forum Jump


All times are GMT. The time now is 06:19.