![]() |
[MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
[ WARNINGS ]
This isn't a difficult mod, but do need basic linux/programming knowledge. So if you don't know what the following steps mean, please don't attempt it or ask around for help. I don't provide modified files because I think distributing them are illegal. The mod is pretty safe. If you break your device (unlikely) or break Drive app (more likely), it's your own responsibility. In the worst case, you can go to terminal and become root, use "apt-get install --reinstall nokia-drive-qml " to restore Drive app. [ What is this? ] - So far, there are three hidden features revealed and three community fixes/add-on
- UPDATE 08/07: Maps traffic patch has been integrated into colin.stephane's unstable patch. - UPDATE 07/17: There is now all-in-one patches prepared by colin.stephane. There are two versions, stable and unstable. Stable currently doesn't contain community fixes. Unstable contains community fixes, sometimes still under development. They can be downloaded from here. - Tried on PR1.3. Thanks to Arie, he confirmed that this works on PR1.2 as well. [ Traffic ] Thanks to jd4200 and colin.stephane for the initiative of using patch to apply the mods. The easiest and recommended way is to apply the all-in-one patch by colin.stephane: http://talk.maemo.org/showpost.php?p...&postcount=130 jd4200's patch can be found here. It is traffic + auto day/night without the community fixes. [ Automatic Day/Night ] I. Used the all-in-one patch above (Recommend) [ Community Fixes/Add-on ]
[ Possible features for community to implement ]
Q. How do I apply a patch?[ Credits ] Thanks to whoever worked on the Drive app, without him/her leaving well-organized traces in the codes we would never know! Thanks to everyone contributing to this thread! [ Traffic Screenshot ] Drive https://dl.dropbox.com/u/54692247/20...8_23-29-04.png Maps https://dl.dropbox.com/u/54692247/20...9_01-50-50.png |
Re: [MOD] Traffic working in Drive!!!
Great find! I'm excited about it and wonder if there could be more stuff hidden?
|
Re: [MOD] Traffic working in Drive!!!
nice finding, probably preparing an update to our device like symbian and Lumia drive app
http://www.youtube.com/watch?v=VbINz5ZhcNU |
Re: [MOD] Traffic working in Drive!!!
Quote:
Edit: modified files here... http://talk.maemo.org/showpost.php?p...2&postcount=18 I know that sony123 is against this, but some people aren't comfortable making changes like this :) |
Re: [MOD] Traffic working in Drive!!!
Quote:
|
Re: [MOD] Traffic working in Drive!!!
Add steps to first post. Please give it a try and enjoy!
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
sony123,
Please do a backup of your modified files and attach it to the 1st post. Then I can do a diff file to patch easily ... A++ |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Checked 15 times now, it doesn't work on PR1.2 at all.
If someone sends me their files, from PR1.3 I can mod them and post them... Someone else will have to test them, but I can modify them as was written here. |
Re: [PR1.3 MOD] How to enable Traffic in Drive
models/AppSettingsModel.qml: 3 lines, line 23/165/180
You uncomment true and you comment false ? This is not clear. |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
That's what I said, read again xD
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
A++ |
Re: [PR1.3 MOD] How to enable Traffic in Drive
ALRIGHT brilliant!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!
This is definitely the BEST surprise I have had since owning the Nokia N9. Thank you so much! |
Re: [PR1.3 MOD] How to enable Traffic in Drive
modified the files (pr1.3) - a few differences from OP.
Seems traffic is working, but navigation stopped working (stuck after choosing destination) EDIT: my mistake, works absolutely great on pr1.3 |
Re: [PR1.3 MOD] How to enable Traffic in Drive
on pr1.3 as root in terminal
apt-get update apt-get install --reinstall nokia-drive-qml will restore app, in case you f... up ;) |
Re: [PR1.3 MOD] How to enable Traffic in Drive
If you have never coded anything in your life, it can be tricky to know how to uncomment lines.
A comment line begins by // But you can comment several line of codes using /* then */ or something like that. Example : models/AppSettingsModel.qml: 3 lines, line 23/165/180 Line 23 : traffic: true Line 166 : trafficOn = get('traffic'); Line 180 : trafficOn = get('allowConnections') && get('mapSensor') && get('traffic') && device.online; Example 2 : views/settings/settingsPage.qml: line 72, un-comment the whole ButtomItem {}. /** TODO: uncomment when management makes up their minds ButtonItem { id: traffic itemId: "traffic" title: qsTrId("qtn_drive_traffic_settings_item") subtitle: trafficSettingsSubtitle(); iconUrl: "../../resources/traffic/list_item/traffic_on.png" } */ HAS TO BECOME : ButtonItem { id: traffic itemId: "traffic" title: qsTrId("qtn_drive_traffic_settings_item") subtitle: trafficSettingsSubtitle(); iconUrl: "../../resources/traffic/list_item/traffic_on.png" } |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Retested again... Works on PR1.2
I'll upload this for anyone that's using PR1.2 and PR1.3 :) drop this in MyDocs devel-su rootme cp -R drive-qml /usr/lib/ https://www.dropbox.com/s/27zgzbxyqqyktpf/drive-qml.zip File edited to include automatic night/day setting :) |
Re: [PR1.3 MOD] How to enable Traffic in Drive
I continue thinking a unified diff patch file was the best to keep modifications safe with easy possibility to reverse ...
A++ |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
Use my file to modify it, and to revert back to stock in terminal: apt-get --reinstall install nokia-drive-qml |
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). |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Could you write the complete code for the replacement of files from MyDocs?
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
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.......... |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
|
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
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
Quote:
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. |
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 want to restore the original files then, as root, run: Code:
rm -rf /usr/lib/drive-qml |
Re: [PR1.3 MOD] How to enable Traffic in Drive
It can't find package patch when trying to apt-get install patch........
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
Edit: Do I need to add any special repo to my sources list? |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
Either download and install http://harmattan-dev.nokia.com/pool/...+0m6_armel.deb Or, add the following to: /etc/apt/sources.list.d/sdk.list Code:
deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Your patch works great!
Couldn't install the deb, so I added the SDK repository via MeeCatalog (easier to add and remove in there). |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Great work to sony123 for the discovery and Arie for the assistance to others.
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
It's funny how we've all got used to this intentional crippling by nokia management. Just imagine what these guys will be able to deliver now they're free of it.
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
|
Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
Made the changes to my files with the patch... No errors...
Unfortunately, it appears that Nokia Maps doesn't have Live Traffic for Kuala Lumpur, Malaysia yet. Possibly I'm doing something wrong since all the traffic options appear but the traffic itself just doesn't load!!! EDIT: Confirmed. No traffic info for Malaysia at this point. Traffic for Netherlands and USA load perfectly. |
Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
Quote:
(I like to know if it's worth the trouble..) |
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
Any ideas? |
Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
nice finding OP, wil try this out!
|
Re: [PR1.3 MOD] How to enable Traffic in Drive
Quote:
Then, as root, re-running "sh traffic.sh" |
All times are GMT. The time now is 01:08. |
vBulletin® Version 3.8.8