maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Location to download 36-5 Binary? (https://talk.maemo.org/showthread.php?t=24102)

Harrowed 2008-10-06 12:06

Location to download 36-5 Binary?
 
Trying to find RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM.bin to download.. Sadly the Nokia N810 tablets-dev website still has OS 2008 version 4.2008.23-14 and doesn't list the new one. :(

Where can we download it? I'm a fiddler and reflash my system quite often to restore everything when I want to remove packages etc I no longer require as it's never 100% certainty that everything is removed by removing it from the Application Control Panel applet :(

Anyone else had any luck? Proxy monitoring the Nokia Internet Tablet Software Update Wizard links it to a HTTPS site on Nokia but not sure where else?

Thanking you,
Harrowed :)

GeneralAntilles 2008-10-06 12:14

Re: Location to download 36-5 Binary?
 
You don't, a FIASCO image hasn't been released.

Supposedly Nokia's plan was to release a FIASCO image for (if not all of) most of the SSU releases, and that only fell through for 30-2 because it was kinda pushed through only half of the process. That doesn't seem to be the case for 36-5, though, and there's no FIASCO image for it yet, either.

Who knows.

Harrowed 2008-10-06 12:57

Re: Location to download 36-5 Binary?
 
Weird.. As the Windows based Nokia Internet Tablet Updater uses the image..

It downloads from :: https://aec.online.nokia.com:443/nit...ED_MR0_ARM.bin

But due to UserAgent settings etc it's forbidden unless coming from a previous location that contains XML.. Unsure exactly why/how but oh well :(

GeneralAntilles 2008-10-06 13:03

Re: Location to download 36-5 Binary?
 
Quote:

Originally Posted by Harrowed (Post 230971)
It downloads from :: https://aec.online.nokia.com:443/nit...ED_MR0_ARM.bin

But due to UserAgent settings etc it's forbidden unless coming from a previous location that contains XML.. Unsure exactly why/how but oh well :(

Hmm, that is interesting. Probably worth filing a bug about over here: http://bugs.maemo.org/

Benson 2008-10-06 14:28

Re: Location to download 36-5 Binary?
 
That's quite strange... (I suspect from your description it's based on referrer, not user agent, but still... what's up with that?!)

qwerty12 2008-10-08 14:48

Re: Location to download 36-5 Binary?
 
If you really want to understand more about how it works, I'd disassemble serverlib.dll which is in the C:\Program Files\Nokia\Nokia Internet Tablet Software Update Wizard\ folder. I'm currently playing with a copy I disassembled.

* Note, this does not mean I have figured how this works. I did see referrer a few times. If someone does figure out how to download the file, I'd recommend not to post the information publicly as Nokia have a password on their SSU repo and ask you for your NIT's MAC before downloading for a reason ;)

Harrowed 2008-10-11 10:53

Re: Location to download 36-5 Binary?
 
Initial request.
Code:

POST https://aec.online.nokia.com:443/nitsu/ HTTP/1.1
Accept: */*
User-Agent: WinFlasher/1.3
Host: aec.online.nokia.com
Content-Length: 145
Connection: Keep-Alive
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded

device_software_version=RX-44_DIABLO_4.2008.36-5_PR_MR0&device_hardware_version=RX-44&device_hardware_revision=0805&timestamp=2008-10-11+07:57:05

Response
Code:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/4.3.10-18
Content-Length: 103
Last-Modified: Sat, 11 Oct 2008 08:03:53 GMT
Content-Type: text/plain
Date: Sat, 11 Oct 2008 07:57:38 GMT
Connection: keep-alive

OK 4930f76e8e7bb39e0d3b4fd47e4423f18d9713ff5c6ac8dc8a7196338f1971fff0ba5d6c4f096764ad529545c8270117d9b1

Next request.
Code:

POST https://aec.online.nokia.com:443/nitsu/4930f76e8e7bb39e0d3b4fd47e4423f18d9713ff5c6ac8dc8a7196338f1971fff0ba5d6c4f096764ad529545c8270117d9b1/updates.xml HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
User-Agent: WinFlasher/1.3
Host: aec.online.nokia.com
Content-Length: 145
Connection: Keep-Alive
Cache-Control: no-cache

device_software_version=RX-44_DIABLO_4.2008.36-5_PR_MR0&device_hardware_version=RX-44&device_hardware_revision=0805&timestamp=2008-10-11+07:57:05

Reply
Code:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/4.3.10-18
Content-Length: 369
Last-Modified: Sat, 11 Oct 2008 08:03:54 GMT
Content-Type: text/xml
Date: Sat, 11 Oct 2008 07:57:38 GMT
Connection: keep-alive

<?xml version="1.0" encoding="ISO-8859-1"?>

<files>
        <fiasco
                version="RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM"
                name="RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM.bin"
                desc=""
                file="https://aec.online.nokia.com/nitsu/files/fiasco/30/RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM.bin"
                size="129799311"
                md5="77a51bf9609138d3759ed668dbb48a66"
        />
</files>

It then sends a direct request for the file but for some reason Webscarab wont grasp the details.. I beleive it's just a direct request for the file at above location as a straight GET with apropriate referer.
Added the GET request - As far as I can tell, there is no password requested. It could be the Certificate needs be authenticated. If anyone else could work on a response that is successful I'd be much apreciated.
Code:

GET https://aec.online.nokia.com:443/nitsu/files/fiasco/30/RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM.bin HTTP/1.1
Referer: https://aec.online.nokia.com/nitsu/4930f76e8e7bb39e0d3b4fd47e4423f18d9713ff5c6ac8dc8a7196338f1971fff0ba5d6c4f096764ad529545c8270117d9b1/updates.xml
User-Agent: WinFlasher/1.3
Host: aec.online.nokia.com
Connection: Keep-Alive
Cache-Control: no-cache

With a reply of
Code:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/4.3.10-18
Content-Disposition: attachment; filename="RX-44_DIABLO_4.2008.36-5_PR_COMBINED_MR0_ARM.bin";
Content-Transfer-Encoding: binary
Content-Length: 129799311
Last-Modified: Mon, 29 Sep 2008 10:54:55 GMT
Content-Type: application/octet-stream
Date: Mon, 13 Oct 2008 08:27:58 GMT
Connection: keep-alive

Binary of the file is here...

Then there is a POST saying it was sucessful.
Code:

POST https://aec.online.nokia.com:443/nitsu/end HTTP/1.1
Referer: https://aec.online.nokia.com/nitsu/4930f76e8e7bb39e0d3b4fd47e4423f18d9713ff5c6ac8dc8a7196338f1971fff0ba5d6c4f096764ad529545c8270117d9b1/updates.xml
User-Agent: WinFlasher/1.3
Host: aec.online.nokia.com
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache

with a response of
Code:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/4.3.10-18
Content-Length: 2
Last-Modified: Sat, 11 Oct 2008 09:24:04 GMT
Content-Type: text/plain
Date: Sat, 11 Oct 2008 09:17:49 GMT
Connection: keep-alive

OK

I am trying to emulate in Perl but I don't know it all too well.. I hack up other people's code/learn from it and have a hard time writing from scratch. :) Hope this helps someone else.

Harrowed 2008-10-11 18:23

Re: Location to download 36-5 Binary?
 
Wrote a quick n nasty PERL script to try and download the file emulating the data sent by the Windows Nokia Update client. http://paladinsgold.servegame.com/Mean_Nokia.txt

There's got to be a way to download the file... qwerty12.. Any luck? *sigh*

tso 2008-10-11 19:16

Re: Location to download 36-5 Binary?
 
this is just silly, old school nokia butting in it seems, imo...

Harrowed 2008-10-13 10:02

Re: Location to download 36-5 Binary?
 
Was able to finally get the file.. Webscarab & increasing the base memory for a Java VM application to 999M.. *wipes brow* Now if only Deblet used apt cache's! :D


All times are GMT. The time now is 14:33.

vBulletin® Version 3.8.8