![]() |
[SOLVED] Full Back-Up with NO Touchscreen or Internet
So my n900's touchscreen has completely stopped working after a few weeks of working on and off, but before I send it away for repairs, I'd like to completely back it up since it will undoubtedly be wiped at Nokia/Optus.
However, as well as not having a working touchscreen, it also doesn't automatically connect to the internet when it's booted up, so all the SSH related solutions I've found are somewhat unhelpful in this situation... If I can connect to a saved WiFi connection via terminal or keyboard shortcuts, I'm guessing I should be able to use SSH... Does anyone know how I'd be able to back up everything? (Contacts, SMS, Applications and their settings, files, etc) I'd also like to be able to export my contacts into something like an Excel spreadsheet so I can access certain numbers I pretty much just want to be able to go back to the exact same phone when it comes back from repairs... Thanks in advance! |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
To install without touchscreen, you may press CTRL-SHIFT-X at desktop. The Xterminal will be popped up, then type the following (hopefully you have rootsh installed) Code:
root Actually I could tell you how to get SSH and VNC to control your N900 remotely in PC. Tell me if you'd prefer it. I'll show you. |
Re: Full Back-Up with NO Touchscreen or Internet
Yes please, I'm sure that'd make this a whole lot easier!
Will those terminal commands work without an internet connection? Or do you know how I can establish an internet connection without the touchscreen? Thanks for the quick reply! |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
Code:
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"IAP_ID" uint32:0 Code:
gconftool -R /system/osso/connectivity/IAP | grep name If you need further help in getting SSH or VNC, let me know. Hope this helps. Reference: http://wiki.maemo.org/Phone_control#...ved_connection |
Re: Full Back-Up with NO Touchscreen or Internet
I've got SSH running, but I don't have VNC installed yet, if I could just get some help with that please?
I'm bout to head off to work, but I'll be trying all this as soon as I get home tonight, thanks again for your help! |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
Code:
root You may download the vncviewer from the TightVNC official site here. Run vncviewer with the IP of your N900. Hope this helps. |
Re: Full Back-Up with NO Touchscreen or Internet
As 9000 said, a good method of backup/restore is my Backupmenu application - And just about the only method of actually -restoring- a complete backup.
It also doesn't require touchscreen access, which is obviously a plus. |
Re: Full Back-Up with NO Touchscreen or Internet
9000, I'm having issues connecting to the saved WiFi connection, I'm possibly getting the Saved network name incorrect, but I'm 90% sure I'm not.
That second command you gave is problematic because is rushes up the screen, so I'm only getting info on the last saved network, which isn't what I'm after. Is there a way to slow this down? Alternatively, is there a Terminal command to connect to a Wifi network directly? ie, entering the SSID? |
Re: Full Back-Up with NO Touchscreen or Internet
Way to slow it down? Yea, pipe it through less - "*command* | less" - but the pipe character(|) probably needs the touchscreen to be used :\
|
Re: Full Back-Up with NO Touchscreen or Internet
It looks like it does, its one of those characters that comes up when the BlueArrow/Ctrl shortcut is used... >.<
How about connecting to a hidden (non-broadcasted), unsecured WiFi network, ie, only needing to enter a SSID? |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
|
Re: Full Back-Up with NO Touchscreen or Internet
Hmmm...Looks pretty hard. Why not just simply run Nokias own backup app and install ssh server on n900 and then copy everything to desktop pc (If usb-mass-storage mode is impossible without touch screen).
Or even better buy microsdhc card and put it inside of n900 and run nokias own backup app and make backup to card and additionally copy whole filesystem also to card. Nokias own backup app saves PIM info from phone. You can also use fast application manager to save you application list so that you can restore it. |
Re: Full Back-Up with NO Touchscreen or Internet
Looks like remapping involves a lot of code, but aside from that, wouldn't I need to type the | in order to remap it? or am I understanding the code incorrectly?
Having just looked at that again, that looks fairly out of my depth, I've failed programming courses a few times... What if I program a script to connect to a Wifi network, and install the VNC and get it up and running, place it on to a microsd card, and run that from xterm? EDIT: I realise I've contradicted myself with my lack of programming knowledge, what I mean is, what if someone else programs a script :D |
Re: Full Back-Up with NO Touchscreen or Internet
use gconftool --all-dirs /system/osso/connectivity/IAP to list the dirs and then go through them one by one with gconftool -R /system/osso/connectivity/IAP/GUID?
|
Re: Full Back-Up with NO Touchscreen or Internet
Instead of doing:
Code:
gconftool -R /system/osso/connectivity/IAP Code:
gconftool --all-dirs /system/osso/connectivity/IAP Code:
gconftool -R /system/osso/connectivity/IAP/abcd1234-4321-abcd-5678-defa01234321ba EDIT: vitaminj beat me to it! |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
|
Re: Full Back-Up with NO Touchscreen or Internet
Ncc - Just make a textfile, name it x.sh
In it, place the commands you want to run, in order. Copy it to the n900, then type: "sh /path/to/x.sh". It should run. You can try it with the above network command. Alternately, grab backupmenu and it's dependancies(you need the armel .deb files), and install (as root) with "dpkg -i /path/too/pkg.deb" |
Re: Full Back-Up with NO Touchscreen or Internet
I'm guessing I'm getting the file path wrong. I've placed the x.sh file into the root of the microsd, and tried
"sh /media/mmc1/x.sh" which came back with "sh: can't open /media/mmc1/x.sh" |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
But it doesn't actually involve much typing. Actually, I just checked, you don't need to type that character, it is called "bar" in that file. And it is possible to modify the keymap without using the touchscreen. I did run into a minor snag in that vi/vim require you to press Escape to leave "insert" mode, but I worked around that by copy and pasting the letter I needed using "visual mode" (press "v" to enter visual mode, use arrow keys to select text, press "y" to yank/copy selection into buffer and "p" to put/paste buffer contents after the cursor, you can also use "d" followed by left/right to delete the character left/right of the cursor the "d" can be prefixed by a number to delete multiple characters.) For my test I replaced "Eurosign" (you only need to change the first one on the line, the second is for function+shift) with "bar" in "english_base" to achieve the desired result, but if you are not using the English layout you need to change it in the section for the layout you are using. |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
|
Re: Full Back-Up with NO Touchscreen or Internet
Ok, turns out I wasn't saving the notepad file properly... easy mistake at 2am!
New problem is that it turns out I WAS correct about the saved WiFi name, the original command I was given on the first page didn't work for some reason, it would just pause for a moment, and then show a blank prompt ready for input... The command I'm attempting is: Code:
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"Home WiFi" uint32:0 |
Re: Full Back-Up with NO Touchscreen or Internet
I'm pretty sure the string, where you currently have "Home WiFi" should be the GUID of the connection, e.g. something like:
Code:
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"abcd1234-4321-abcd-5678-defa01234321ba" uint32:0 |
Re: Full Back-Up with NO Touchscreen or Internet
Is there a way to print the output from a command to a text file? I've now had to go back to the
Code:
gconftool --all-dirs /system/osso/connectivity/IAP I tried the 'less' command via an sh script, Code:
gconftool --all-dirs /system/osso/connectivity/IAP | less Code:
/media/mmc1/x1.sh: line 1: less: not found |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
Code:
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"Home" uint32:0 However, if you're still getting stuck with scrolling of the results of gconf, I guess you can try the following: Code:
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"[ANY]" uint32:0 Hope this helps. |
Re: Full Back-Up with NO Touchscreen or Internet
Unfortunately I can't click the Thanks more than once, but if I could, I would!
I'm now connected to my WiFi, but can't access backupmenu or x11vnc, as I'm getting Code:
E: Couldn't find package x11vnc Code:
apt-get install x11vnc |
Re: Full Back-Up with NO Touchscreen or Internet
I'm able to SSH into the phone, is there a way I can place all the files necessary to install x11vnc onto the phone, and install it locally?
|
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
Code:
cat /etc/apt/sources.list.d/hildon-application-manager.list Code:
root |
Re: Full Back-Up with NO Touchscreen or Internet
I've got VNC up and running, but can't connect, I keep getting a connection timed out error of 10060
I did run the command you suggested back on page one, but it still doesnt seem to work... |
Re: Full Back-Up with NO Touchscreen or Internet
Since you got SSH works the ip must be right.
What did you type into the dialog box of TightVNC? |
Re: Full Back-Up with NO Touchscreen or Internet
Yes, definitely have the correct ip address
when I enter that command after setting up x11vnc, it outputs a lot of text before ending up with text promoting another command to attempt, but theres no input, I'm just typing into blank space |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
At this stage you should run the vncviewer.exe (TightVNC) in your PC and enter the IP address of your N900 to start the VNC session. I was asking whether you've entered correctly in this dialog box of vncviewer.exe |
Re: Full Back-Up with NO Touchscreen or Internet
Yep, sorry, managed to get it all working, I believe I was adding a space where I shouldn't have somewhere in the code.
Thanks again for all your help with VNC! At this point I'm now trying to back everything up, I'll try and get backupmenu from the application manager if I can, as for myDocs, I should be fine just copying that to a local drive through SSH, right? |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
Your MyDocs would be just fine copying to local drive via SCP yes. However, don't you have the USB cable that can connect your MyDocs as a remote storage in your PC? It's faster copying this way. One more thing you'd like to backup is a list of packages you've installed. You could get that list by running: Code:
maemo-list-user-packages Code:
dpkg --get-selections | grep '\binstall\b' | awk '{print $1}' > package.list |
Re: Full Back-Up with NO Touchscreen or Internet
Will do. Had a blonde moment in forgetting I could now activate mass storage mode...
thanks again for all the help! EDIT: Those two commands that you just suggested, I should be able to use print those commands to text files using Code:
*command* > output.txt |
Re: Full Back-Up with NO Touchscreen or Internet
Right.
You may edit your topic and put a [SOLVED] prefix in the subject now. :D Good luck ;) |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
To redirect output to a text file, use "> filename.txt" rather than "| command". I didn't mention that earlier when you had your initial problems because you can't type ">" without a working touchscreen either. You could then type "more filename.txt" to see the contents of the output. The reason "less" didn't work is because it isn't installed on the N900 by default. "| more" would have worked. |
Re: [SOLVED] Full Back-Up with NO Touchscreen or Internet
Just wanted to say Thank You again to everyone who helped out with this, the phone is currently on its way to a repair centre, and I should have it back in about 2 weeks, fingers crossed it comes back working!
Thanks again! |
Re: [SOLVED] Full Back-Up with NO Touchscreen or Internet
Just got the phone back, turns out this was all much ado about nothing!
They didn't even wipe the memory, just replaced the entire Touch screen! Thanks again everyone! |
Re: Full Back-Up with NO Touchscreen or Internet
Quote:
|
All times are GMT. The time now is 01:19. |
vBulletin® Version 3.8.8