Active Topics

 


Reply
Thread Tools
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#331
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:

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
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#332
Thanks, i will add this to the next release of N9QT
 

The Following 3 Users Say Thank You to Schturman For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#333
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...
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Posts: 64 | Thanked: 42 times | Joined on Jun 2009
#334
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).
 

The Following User Says Thank You to zszabo For This Useful Post:
Posts: 29 | Thanked: 4 times | Joined on Oct 2011 @ Szczecin, Poland
#335
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

Last edited by kfahoo; 2012-09-14 at 08:43.
 

The Following User Says Thank You to kfahoo For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#336
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?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#337
Win7Mac,

My advice to you would be to use N9QTweak instead...It has the same patch that colin.stephane posts on here...
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#338
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++
 
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#339
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?:
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.

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!
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#340
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 :

- 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++

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:
Reply


 
Forum Jump


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