[CAB] Windows Phone 8 update packages

snickler

Retired Forum Moderator / Inactive Recognized Deve
Aug 17, 2010
1,320
1,130
0
Dub V
www.sinclairinat0r.com
interesting! with this and Fiddler, we should be able to quite easily "trick" the phone in to installing "Missing" updates. I did that on my phone. I was able to install 200 additional "updates" onto my T-Mobile branded HTC 8x. This method should also work to get Wi-Fi calling on the 8x as well as non-t-mobile branded devices. Does anyone know what the name of the cab file is for the movial IMS update??
I tried this already lol. The phone does some magic and completely ignores any request/response modification. There's something internal that it checks against.

I tried this on my L920 using data from @Heathcliff74 . It just basically told me that it was up to date.
 

compu829

Senior Member
Nov 5, 2006
349
301
0
I tried this already lol. The phone does some magic and completely ignores any request/response modification. There's something internal that it checks against.

I tried this on my L920 using data from @Heathcliff74 . It just basically told me that it was up to date.
That's what mine did, too, but the number of updates installed in the "Hardware Test" app went up. I really should have taken "before" and"After" detailed screenshots to see what was updated. What you need to do is figure out what the "root" package is and make that install. The root package will pull down all the leaf updates related to the root package.

This is what I did in Fiddler:
1. Edit the OnbeforeRequest section and add the following:
Code:
oSession.utilDecodeRequest();
		oSession.utilReplaceInRequest("><FilterCategoryIds xmlns:q1=\"http://www.microsoft.com/SoftwareDistribution/Server/ClientWebService\" soapenc:arrayType=\"q1:CategoryIdentifier[1]\"><CategoryIdentifier><Id>2ab85861-6aec-4223-888d-c1fb7e16f8c6</Id></CategoryIdentifier></FilterCategoryIds","");
(I am expecting your category identifier to be different, so mod as needed). You will see WAY more updates get pushed to the phone from the server. The phone will attempt to download and install all updates based on how their updateID is configured.
2. To install some "experimental" updates, put the following code in Fiddler's "OnBeforeResponse" section.
Code:
oSession.utilDecodeResponse();
		oSession.utilReplaceInResponse("<AutoSelect>0","<AutoSelect>1");
		oSession.utilReplaceInResponse("><Action>Evaluate","><Action>Install");
		oSession.utilReplaceInResponse("><Action>PreDeploymentCheck","><Action>Install");
		oSession.utilReplaceInResponse("><Action>Block","><Action>Install");
		oSession.utilReplaceInResponse("<AutoDownload>0","<AutoDownload>1");
What I observed was that after these mods, the phone would take a long time to complete the update check. You can see downloads getting sent to the phone via the traffic in Fiddler, and at the end of the process the phone says "Your Phone is up to date". I didn't think it did anything until I launched the "Hardware Tests" app and went to the "phone Updates" section. It still showed the old date of 5/1/2013 (the last time I reset the phone), but the number of packages listed next to that date jumped from "75" to "276"!
What is tough is that there are no "friendly names" that go along with these updates.

---------- Post added at 03:48 PM ---------- Previous post was at 03:34 PM ----------

@snickler You can also have fun by modifyihg the <xml></xml> section of the updates to get things not intended for the device to install. Maybe this would work for things like missing language packs, etc?
 
Last edited:

compu829

Senior Member
Nov 5, 2006
349
301
0
Hmmm, let me see what I can conjure up. Mine is similar to this, but it never actually did anything for me :/
Since my HTC 8x phone finally received GDR2 yesterday (Thanks T-Mobile). I *think* I understand how the transaction works.

1. Phone calls out to get list of updates.
2. Phone receives list of updates. The GDR2 "main" updates appear to be 9109105 (T-Mobile HTC 8x GDR2) and 9109435 (Qualcomm/HTC FW bundle for T-Mobile)
3. the embedded xml payload makes the Windows Update client on the phone request "extended info" for the assigned updates. This info includes download links for the spkg cab files.
4. Once this info is parsed, the sync is complete and the phone displays an update prompt to the user.
5. when the user presses "update", the phone goes out and grabs the cab files associated with the update.

The following is the "xml" embedded code for 9109105 (step 2):
Code:
<UpdateIdentity UpdateID="14d24200-4f61-4540-ac84-bbe497a6cd70" RevisionNumber="200" /><Properties UpdateType="Software" ExplicitlyDeployable="true" AutoSelectOnWebSites="true" /><Relationships><Prerequisites><UpdateIdentity UpdateID="d0d79eb1-40cd-4bb2-bf90-da7fa925c8f9" /><UpdateIdentity UpdateID="e4b1f9ff-cdd0-42ae-bb12-ffc810bc4e76" /><UpdateIdentity UpdateID="177708f3-5a66-439a-86bf-08fba02b6ac7" /><UpdateIdentity UpdateID="fba533c3-db4f-4f0b-87f7-c581685898e7" /><AtLeastOne IsCategory="true"><UpdateIdentity UpdateID="28bc880e-0592-4cbf-8f95-c79b17911d5f" /></AtLeastOne><AtLeastOne IsCategory="true"><UpdateIdentity UpdateID="2ab85861-6aec-4223-888d-c1fb7e16f8c6" /></AtLeastOne></Prerequisites><BundledUpdates><UpdateIdentity UpdateID="42b5d92b-8167-4ba8-a6e3-50a70da97a44" RevisionNumber="200" /></BundledUpdates></Relationships>
and for 9109435 (step 2):
Code:
<UpdateIdentity UpdateID="15deae6b-e4e1-403f-b0c9-6b277ab08435" RevisionNumber="200" /><Properties UpdateType="Software" ExplicitlyDeployable="true" AutoSelectOnWebSites="true" /><Relationships><Prerequisites><UpdateIdentity UpdateID="d69ece98-0bdb-4860-9903-718ec9ee5c6a" /><UpdateIdentity UpdateID="e4b1f9ff-cdd0-42ae-bb12-ffc810bc4e76" /><UpdateIdentity UpdateID="fba533c3-db4f-4f0b-87f7-c581685898e7" /><AtLeastOne IsCategory="true"><UpdateIdentity UpdateID="28bc880e-0592-4cbf-8f95-c79b17911d5f" /></AtLeastOne><AtLeastOne IsCategory="true"><UpdateIdentity UpdateID="2ab85861-6aec-4223-888d-c1fb7e16f8c6" /></AtLeastOne></Prerequisites><BundledUpdates><UpdateIdentity UpdateID="7e8378d0-ee1f-446b-a5ac-9ecebff268d1" RevisionNumber="200" /></BundledUpdates></Relationships>
Some interesting notes:
During the "normal" routine, Windows Updates was going out and fetching various cab files with payloads. One of the updates that did this was 9109433. it's XML code contained the following:

Code:
<Ref CabDigest="b49iLhmRLx GP4AWipa2Oqa1HyQ="><AdditionalDigest Algorithm="SHA256">PcshSv1zX7SbfJQ/zrV5wv3OdNNfDYd4B9kyWqf8eg0=</AdditionalDigest></Ref>
this CabDigest (since update was set to true) immediately went out and fetched the cab file. What was interesting is that the client sent the CabDigest to the server and it returned with a download link. This same info is in the extendinfo that returns with the GDR2 updates, except it is a spkg.cab file that is requested based on the "fileDigest".

I am attaching my fiddler capture of the phone first becoming aware of GDR2 and what files it needs to get. I stopped capturing after as it was just all the cab files referenced at the begging of this post.

If someone can come through with a fiddler log of a T-Mobile branded Nokia with WiFi calling receiving GDR2/Amber, I might be able to figure out a way to get the package installed. (no promises)

Hope that helps! :)
 
Last edited:

AlvinPhilemon

Senior Member
Oct 6, 2011
330
193
0
WP8 CAB Update Packages (8.0.9903 - 8.0.10211)

Hi all,

Here is a list of WP8 CAB Updates from 8.0.9903 to Portico. Taken from a RM-821 Singapore Lumia 920.

Enjoy...
 
  • Like
Reactions: ceesheim

aSpirit81

Senior Member
Jul 14, 2011
772
45
0
Belgrade
thx for answer.Do oyu know how to flash stock rom on 8x?if you know , dont write link like unbrand htc od android ruu from htc 8x.i dont have cable and for ruu,sohw me error 338.
 

aSpirit81

Senior Member
Jul 14, 2011
772
45
0
Belgrade
i dont know how to help you for that.i downloaded official stock rom for my htc cid 032,htc europe v 1.00,have tool for flashing,rom update,i run rom update,process start and stuck on 1%,gave me error 338,says error pk verify.i search hole internet to download stock firmware gd3 for htc 8x europe,but nothing found.Sorry for my english.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone