Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps

    Reply
    Page 34 of 43 | Prev | 24   32     33   34   35     36   | Next | Last
    thedead1440 | # 331 | 2012-09-07, 16:03 | Report

    Originally Posted by Schturman View Post
    colin.stephane, do you added only to full or also to unstable?

    Schturman,

    If you are asking about the latest patch from tenchman; its added to unstable as per colin.stephane's edits:

    Originally Posted by
    Edit #11 : Added latest patch from tenchman on post #327 to transform the 2 state button "TTD, Distance" into a 3 state button "TTD, Distance and ETA" in the Unstable patch

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to thedead1440 For This Useful Post:
    Schturman

     
    Schturman | # 332 | 2012-09-07, 16:09 | Report

    Thanks, i will add this to the next release of N9QT

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Schturman For This Useful Post:
    sony123, tenchman, thedead1440

     
    Win7Mac | # 333 | 2012-09-13, 23:34 | Report

    Following the instructions from post #1+#130, I did in this order
    - installed 'wget' in 'settings' -> 'security' -> 'developer mode' -> 'utilities'
    - installed 'patch' utility
    - Saved the unstable patch.diff with Win-editor in ANSI code.
    - Used this console command line to install the Unstable patch:
    Code:
    clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' (devel-su) ..." ; else rm /root/*.diff 2>/dev/null ; wget http://bigbob.fun.free.fr/N9/Patch-t...-UNSTABLE.diff -O /root/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff && apt-get install -y --reinstall nokia-drive-qml maps && sync && patch -p0 -i /root/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff && sync ; fi
    and got this Error:
    Code:
    miss https://downloads.maemo.nokia.com ./ maps 4.2.55+0m8
    Resolving host timed out: downloads.maemo.nokia.com
    miss https://downloads.maemo.nokia.com ./ nokia-drive-qml 2.0.8+0m8
    Resolving host timed out: downloads.maemo.nokia.com
    Error trying to catch from https://qa9recEP:Pat2UGuP@downloads....+0m8_armel.deb Resolving host timed out: downloads.maemo.nokia.com
    Error trying to catch from  https://qa9recEP:Pat2UGuP@downloads....+0m8_armel.deb Resolving host timed out: downloads.maemo.nokia.com
    E: Some archives could not be downloaded, probly wanna try »apt-get update« or »--fix-missing«?
    Words in red letters are my translations, originally it's in german.
    As these version actually are installed, I didn't really care and
    - went to the folder where the downloaded patch resided (name of the folder is "Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE") and typed:
    Code:
    cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff
    and I get:
    Code:
    BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff
    
    cp: can't stat 'Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff/drive-qml': Not a directory
    cp: can't stat '/usr/lib/drive-qml-original': No such file or directory
    cp: can't stat 'patch': No such file or directory
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE #
    What do I have to check, what went wrong here?
    I'm kinda lost...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    zszabo | # 334 | 2012-09-14, 02:31 | Report

    You left out a semicolon, newline, or && between the cp command and the patch command. If you put a ; before "patch -p0 ..." that will fix it (assuming nothing else was overwritten).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to zszabo For This Useful Post:
    Win7Mac

     
    kfahoo | # 335 | 2012-09-14, 08:40 | Report

    Code:
    Resolving host timed out: downloads.maemo.nokia.com
    check whether your dns works with nslookup or/and internet connection

    and like above

    Code:
    cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original ; patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by kfahoo; 2012-09-14 at 08:43.
    The Following User Says Thank You to kfahoo For This Useful Post:
    Win7Mac

     
    Win7Mac | # 336 | 2012-09-14, 10:29 | Report

    Thank you guys.

    Originally Posted by kfahoo View Post
    check whether your dns works with nslookup or/and internet connection
    internet + mail works fine, but when it comes to "downloads.maemo.nokia.com" I have problems. Already posted here andhere, but no solution so far.

    And indeed I missed newline before "patch -p0 -i..."

    Here's what came out after correcting that:
    Code:
    ~ # cd /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3\+ETA-UNSTABLE/
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml
    
    Hunk #1 FAILED at 78.
    
    Hunk #2 FAILED at 314.
    
    2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml
    
    Hunk #1 FAILED at 453.
    
    1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml
    
    Hunk #1 FAILED at 207.
    
    Hunk #2 FAILED at 235.
    
    2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js
    
    Hunk #1 FAILED at 310.
    
    1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/qmldir
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/styles.js
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/InfoDistance.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/TrafficEventHeader.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/Dashboard.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/assistancePage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/trafficDetailsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/guidancePage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/settings/assistanceModeSettingsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/settings/settingsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/guidanceMenuPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/AppSettingsModel.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/TrafficModel.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/RoutingModel.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/MapSettingsModel.qml
    
    patch unexpectedly ends in middle of line
    
    Hunk #5 FAILED at 158.
    
    1 out of 5 hunks FAILED -- saving rejects to file /usr/lib/drive-qml/models/MapSettingsModel.qml.rej
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE #
    Damn!
    What can I do?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thedead1440 | # 337 | 2012-09-14, 15:06 | Report

    Win7Mac,

    My advice to you would be to use N9QTweak instead...It has the same patch that colin.stephane posts on here...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    colin.stephane | # 338 | 2012-09-14, 20:37 | Report

    Originally Posted by Win7Mac View Post
    Thank you guys.


    internet + mail works fine, but when it comes to "downloads.maemo.nokia.com" I have problems. Already posted here andhere, but no solution so far.

    And indeed I missed newline before "patch -p0 -i..."

    Here's what came out after correcting that:
    Code:
    ~ # cd /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3\+ETA-UNSTABLE/
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml
    
    Hunk #1 FAILED at 78.
    
    Hunk #2 FAILED at 314.
    
    2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml
    
    Hunk #1 FAILED at 453.
    
    1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml
    
    Hunk #1 FAILED at 207.
    
    Hunk #2 FAILED at 235.
    
    2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js
    
    Hunk #1 FAILED at 310.
    
    1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js.rej
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/qmldir
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/styles.js
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/InfoDistance.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/TrafficEventHeader.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/components/Dashboard.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/assistancePage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/trafficDetailsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/guidancePage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/settings/assistanceModeSettingsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/settings/settingsPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/views/guidanceMenuPage.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/AppSettingsModel.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/TrafficModel.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/RoutingModel.qml
    
    (Stripping trailing CRs from patch.)
    
    patching file /usr/lib/drive-qml/models/MapSettingsModel.qml
    
    patch unexpectedly ends in middle of line
    
    Hunk #5 FAILED at 158.
    
    1 out of 5 hunks FAILED -- saving rejects to file /usr/lib/drive-qml/models/MapSettingsModel.qml.rej
    
    /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE #
    Damn!
    What can I do?
    Damn why trying to apply manually step by step things where I have made an automatic installation at post #130 ??? !!! ...

    If you can't resolve 'downloads.maemo.nokia.com' FIRST FIX your dns resolution ...

    Since I do not think you have manually edited name resolution on your device, then you are using a bad connection.

    PLEASE FIX FIRST DNS RESOLUTION, then the automatic solution work fine ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Win7Mac | # 339 | 2012-09-14, 21:18 | Report

    Damn, just got your patch through at a friend using his WLAN! Everything loaded from ext. servers without issues.

    So no need for this code anymore, I assume?:
    Originally Posted by
    If you use the all-in-one patch, first download it and save it in a folder of your choice. Launch terminal, login as root , go to the folder where the downloaded patch resides, type:
    Code:

    cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original
    patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3.diff
    Will try tomorrow, if every thing works fine with drive.

    Originally Posted by
    If you can't resolve 'downloads.maemo.nokia.com' FIRST FIX your dns resolution ...
    Must be my router at home. If I use other WLANs, sometimes it works, sometimes it doesn't. Really don't understand this crap, but will observe further.
    Thanks a lot!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    colin.stephane | # 340 | 2012-09-15, 06:32 | Report

    Originally Posted by Win7Mac View Post
    Damn, just got your patch through at a friend using his WLAN! Everything loaded from ext. servers without issues.

    So no need for this code anymore, I assume?:

    Will try tomorrow, if every thing works fine with drive.


    Must be my router at home. If I use other WLANs, sometimes it works, sometimes it doesn't. Really don't understand this crap, but will observe further.
    Thanks a lot!
    Hi,

    Glad to see you find a reliable WLAN access properly configured to let your device connect correctly to Internet and install the patch ...

    Obviously, you don't need to use these "cp -r blah ... blah ... etc ..." anymore.

    I have put many time to check an re-check my full patch to maximize end user installation to the simple way, taking care of users remarks post after post ...

    Anyhow, since it look like it's not obvious for everyone, I have edited another time my procedure and added :

    Originally Posted by
    - Mandatory, your device need to be connected to Internet !!!.
    Since you have the prerequisite, now you can play with commands to install and revert modifications as long as you have a CORRECT connection to Internet.

    Good playing with your Drive application !!!

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by colin.stephane; 2012-09-15 at 07:07.
    The Following 2 Users Say Thank You to colin.stephane For This Useful Post:
    thedead1440, Win7Mac

     
    Page 34 of 43 | Prev | 24   32     33   34   35     36   | Next | Last
vBulletin® Version 3.8.8
Normal Logout