maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps (https://talk.maemo.org/showthread.php?t=85353)

aShtk 2012-07-09 10:43

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Inception is not needed.
Thanks a lot, it's really welcome as a change.

Luckily the community works on improving the N9 user experience, because we cannot count on Nokia for that (Hello spelling correction with no accent, Hello facebook contacts linking that can one day, for no reason, break and you have to redo everything manually again, etc etc etc etc etc).

venomcortx1 2012-07-09 11:52

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Could you write the complete code for the replacement of files from MyDocs?

abuli 2012-07-09 12:08

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by Arie (Post 1234336)
It couldn't be easier than this...

Use my file to modify it, and to revert back to stock in terminal:
apt-get --reinstall install nokia-drive-qml

I beg to differ :)
As I am way out of me league (think I was already buying a n9 but still in love)
Can you give a noob guide?
Cant stat drive-qml no such file or..........

venomcortx1 2012-07-09 12:30

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by nieldk (Post 1234408)
Download this file https://www.dropbox.com/s/27zgzbxyqqyktpf/drive-qml.zip

unzip it, and copy the unzipped files to MyDocs/drive-qml folder on phone

in terminal on phone, enter
$ devel-su (default password is rootme)
# cd /home/user/MyDocs
# cp -R drive-qml /usr/lib/

courtesie of Arie

it`s works! thanks!)

abuli 2012-07-09 12:48

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Got it working. Guess I can read after all. Thank you all. To bad it aint any traffic info where I live

Jaffa 2012-07-09 12:50

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by colin.stephane (Post 1234335)
I continue thinking a unified diff patch file was the best to keep modifications safe with easy possibility to reverse ...

Quote:

Originally Posted by Arie (Post 1234336)
It couldn't be easier than this...

Use my file to modify it, and to revert back to stock in terminal:
apt-get --reinstall install nokia-drive-qml

Colin's suggestion is better. A unified diff/patch could be distributed freely, packaged and deployed.

Your method, Arie, has you distributing the complete files. These are copyright Nokia and so you are violating both Nokia's copyright and the terms of the forum.

jd4200 2012-07-09 14:12

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Edit: colin.stephane has posted a patch which takes care of everything, see here

Thanks sony123, a real nice find.
Here's an automated method (completely safe and reversable) to take away the tedious work.

Download this shell script, rename it to maps.sh
Download this patch:
traffic patch, rename it to traffic.patch


Place maps.sh and traffic.patch into the same directory on the N9 and, as root, cd to where you copied them and run
Code:

sh ./maps.sh
If you are told a patch has already been applied and asked about a reversal, just anser "n" (no) to all the questions.

If you want to restore the original files then, as root, run:
Code:

rm -rf /usr/lib/drive-qml
apt-get install --reinstall nokia-drive-qml


Morpog 2012-07-09 14:19

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
It can't find package patch when trying to apt-get install patch........

nieldk 2012-07-09 14:21

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by Morpog (Post 1234489)
It can't find package patch when trying to apt-get install patch........

run apt-get update first

Morpog 2012-07-09 14:23

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by nieldk (Post 1234491)
run apt-get update first

I already did....

Edit:
Do I need to add any special repo to my sources list?


All times are GMT. The time now is 23:05.

vBulletin® Version 3.8.8