maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Backup phone with broken display (https://talk.maemo.org/showthread.php?t=52877)

Letharion 2010-05-17 10:23

Backup phone with broken display
 
So I broke my display. Car door vs N900, 1 - 0. Connecting it to Nokia Suite gives me "Device conneted in non-compatible mode".

Is there a way for me to backup contacts and similar information before getting the phone to service?

cpitchford 2010-05-17 11:38

Re: Backup phone with broken display
 
hows your sense of touch?

CTRL + SHIFT + X will launch an x terminal

If you can access the mass storage (perhaps turning the phone off and connecting to a PC it should start in mass storage mode without booting) you could upload a shell script and run it thusly:

sh MyDocs/script.sh

Putting commands to do stuff in the script, you could backup /home/user to the mass storage: For example, put the following text into a file called "script.sh" on your phone's mass storage:

Code:

flash() {
  pattern="PatternCommunicationIM"
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_activate "string:$pattern"
  sleep "$1"
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_deactivate "string:$pattern"
}

flash 2
echo MyDocs > /tmp/exclude
tar c -X /tmp/exclude -f MyDocs/backup.tar . 2>&1 | tee MyDocs/backup.txt

while true ; do
  flash 100
done



When the script starts it should flash the notification led, when it finishes it should flash it again continuously.. then you can power off and copy the backup.tar file off the mass storage.. hopefully :)

KapCaveman 2010-05-17 12:08

Re: Backup phone with broken display
 
See what happens if you connect it to TV, at the very least it should make cpitchfords suggestion easier.

cpitchford 2010-05-17 12:28

Re: Backup phone with broken display
 
ha! yeah.. good point :) I keep forgetting about TV Out, seems so alien on a phone!

felbutss 2010-05-17 12:35

Re: Backup phone with broken display
 
dam. in before me. ye TVout should do it

msa 2010-05-17 12:45

Re: Backup phone with broken display
 
but how's the tv out gonna help when the touchscreen is broken? it cant recognize touches, or can it? xD

baron von bubba 2010-05-17 12:48

Re: Backup phone with broken display
 
Quote:

Originally Posted by Letharion (Post 662119)
So I broke my display. Car door vs N900, 1 - 0. Connecting it to Nokia Suite gives me "Device conneted in non-compatible mode".

Is there a way for me to backup contacts and similar information before getting the phone to service?

broke the screen on mine recently too, i was lucky as when i connected to a pc i could get to the "backups" folder on the phone.

i used this on the new handset and my contacts were all good.

cpitchford 2010-05-17 12:49

Re: Backup phone with broken display
 
Quote:

Originally Posted by msa (Post 662301)
but how's the tv out gonna help when the touchscreen is broken? it cant recognize touches, or can it? xD

hence why I suggested using a backup script like the one I posted.. using x terminal doesn't require the touch screen.

Letharion 2010-05-17 18:13

Re: Backup phone with broken display
 
Wonderful, thanks so much!
I hadn't though about TV either, which works great, I'm currently backing things up.

Somewhat to my surprise however, the touchscreen works flawlessly. It's more resiliant than the LCD apparently :)

A question, just what will that script backup? It seems to me that it Will backup ~, except MyDocs, which is pretty much everything in the ~, making it somewhat meaningless?

cpitchford 2010-05-17 18:24

Re: Backup phone with broken display
 
You don't need to backup ~/MyDocs.. you can do that using a PC.. turn phone off, plug in and you'll be able to access the mass storage..

the backup script backs up /home/user but NOT /home/user/MyDocs.. which is where all the settings and config are kept..

But if you have TV out, I'd use the built in backup app, since that will let you restore to a repaired/new N900

Maybe do both, just to be on the safe side

Letharion 2010-05-17 18:56

Re: Backup phone with broken display
 
Of course, there was a lot of hidden folders in ~

I've made a backup with the backup app, and I've made on myself and transferred to the laptop.

I appreciate the help, now I can get the phone fixed :)


All times are GMT. The time now is 00:47.

vBulletin® Version 3.8.8