Reply
Thread Tools
Posts: 874 | Thanked: 316 times | Joined on Jun 2007 @ London UK
#321
Originally Posted by luca View Post
Well, there will be a sample one once you follow item "1) unzip this file in /home/user"
Oh, do this only on the new n800, and edit /home/user/mac to have the mac of the old one.Edit: and use lower-case for hexadecimal numbers, don't know if it matters but lower-case definitely works.
Absolutely right, thank you for your patience.

"2) edit the Exec= line in the file /usr/share/dbus-1/services/com.nokia.navicore.services to be Exec=/home/user/navistart"

No problem with editing the file, just a big problem saving it. Pemission denied. I can't see an easy way in emelFM2 to change pemission to 'user'. I have tried to use Xterminal, become root, and then change pemission for the file.

The chown command is long and produces errors so I have cd'd step by step and am stuck at "can't cd to /dbus-1".

This is all quite difficult for me. In the end it might be quicker and easier for me to swap over the screen. I just don't have the Linux skills.

Thank you for your help here, what you have done is very clever and I am sorry to be letting the side down.
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#322
Originally Posted by Rebski View Post
Absolutely right, thank you for your patience.

"2) edit the Exec= line in the file /usr/share/dbus-1/services/com.nokia.navicore.services to be Exec=/home/user/navistart"

No problem with editing the file, just a big problem saving it. Pemission denied. I can't see an easy way in emelFM2 to change pemission to 'user'. I have tried to use Xterminal, become root, and then change pemission for the file.
Ah, I'm sorry, I do my editing as root using joe (a console application) as the editor.
Anyway that's just to fix the menu item, you can test that everything is working by manually executing /home/user/navistart in a console (x-terminal).
Once you confirmed that it works, open a console, become root, and type the following commands exactly as you see them here
Code:
cd /usr/share/dbus-1/services
mv com.nokia.navicore.service com.nokia.navicore.service.bak
cat > com.nokia.navicore.service <<EOF
[D-BUS Service]
Name=com.nokia.navicore
Exec=/home/user/navistart
EOF
cd will put you in the correct directory, mv will rename the file to have a backup and finally the cat will create a new file with everything you write until the EOF (note that the prompt will change to >).

Last edited by luca; 2010-05-03 at 18:07. Reason: Uups, the new filename should be without the .bak
 

The Following User Says Thank You to luca For This Useful Post:
Posts: 874 | Thanked: 316 times | Joined on Jun 2007 @ London UK
#323
Thank you for all of that. I have spent too much time in the past on MS-DOS but am completely lost when it comes to Linux. I use EasyRoot to become root.

Thanks to your help I now have the instructions in your README.txt fully implemented.

The problem is that Navicore will not run on the new N800, it shows ‘Maps Loading’ and then drops out.

I have reinstalled Navicore on the new N800 just so as to be certain that it does work albeit unactivated. Then repeated your README.txt instructions.

So I have two N800’s each with identical contents of the activated /home/user/.navicore/ldb

I have two SD cards each with identical contents of the activated /media/mmc1/maps/navicore/ldb

The old activated N800 runs Navicore irrespective of which SD card is in the slot but the new N800 doesn’t get past ‘Maps Loading’ with either SD card in the slot.

I have double checked and checked again that the files mac and /usr/share/dbus-1/services/com.nokia.navicore.service are correctly configured, no typos etc. I have tried mac with upper and lower case letters. I have both the WLAN MAC and the Bluetooth.

All of the zipped contents of navicore.zip are in the /home/user directory. A note here, I do not have a Zip app on the N800 so I unzipped the file on my Win7 compute and then copied all of the contents into the /home/user directory.

Although I had a few flustered moments initially, I am confident now that I have followed the instructions correctly and accurately.

It seems that the new N800 is not finding all that it is looking for. Would you have any thoughts I wonder?
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#324
Well, I downloaded the file to check that it wasn't corrupted while uploading, and the two so files as well as the navistart script (the important bits) are the same I'm using on my tablet.
I suspected that the so files are missing the execute permission, but I tried here and navicore still works even without the x permission on those file, so it must be something else.
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#325
Originally Posted by Rebski View Post
I have two SD cards each with identical contents of the activated /media/mmc1/maps/navicore/ldb
Oops, my bad, there's a typo in the README file, that has to be /media/mmc1/map/navicore/ldb (i.e map, not maps).

Sorry if that's the cause of the problem.

Edit: even without the ldb directory it should start albeit with no routing capabilities.
Are you using map version 2.2.8.604? (look in the application manager or in the about menu)
I'm not sure my hack works with previous versions.

Last edited by luca; 2010-05-04 at 19:43.
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#326
Originally Posted by Rebski View Post
The problem is that Navicore will not run on the new N800, it shows ‘Maps Loading’ and then drops out.
Try opening a console (utilities->x-terminal) and type

/home/user/navistart

Edit: if it says "Permission denied" try the command

chmod +x /home/user/navistart

and try again

Last edited by luca; 2010-05-04 at 19:47.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#327
This aforesaid fix only works for prior owners, not for all, right? Just curious... reason I ask though, my N810 had to be sent in for repairs and I never got more than a day's chance to even try it. Now... well, we know I'll never get that chance to really try it.
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#328
Originally Posted by gerbick View Post
This aforesaid fix only works for prior owners, not for all, right?
Right. Or if someone wants to share his mac address and contents of the ldb directory.....
 
Posts: 874 | Thanked: 316 times | Joined on Jun 2007 @ London UK
#329
Oops, my bad, there's a typo in the README file, that has to be /media/mmc1/map/navicore/ldb (i.e map, not maps).

Sorry if that's the cause of the problem.
No, that was ok. On the typo error situation you might like to know of another one:-
2) edit the Exec= line in the file
/usr/share/dbus-1/services/com.nokia.navicore.services
should be /usr/share/dbus-1/services/com.nokia.navicore.service
i.e. no ‘s’ at the end of ‘com.nokia.navicore.service’

Try opening a console (utilities->x-terminal) and type

/home/user/navistart
Is there a certain glitchieness in XTeminal do you think? It behaves erratically on both tablets.

Anyway, after much retyping and retrying, finally navistart took the command and launched Navicore, fully activated and functional. It now launches from the Applications Menu by tapping on Map.

It looks like all it needed was a kick-start - which you achieved by the command line in terminal.

Thank you for your help and patience and, of course, enhancing my criminally neglected Linux knowledge.

@gerbrick
This aforesaid fix only works for prior owners, not for all, right?
Do you have a N800 that you want to use?
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#330
Originally Posted by Rebski View Post
It looks like all it needed was a kick-start - which you achieved by the command line in terminal.
That's really, really, strange, however all's well that ends well
 
Reply

Tags
customers?, middlefinger

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:42.