FORUMS
Remove All Ads from XDA

DSM Dependency Dumper

111 posts
Thanks Meter: 7
 
By dj13241, Senior Member on 19th June 2009, 05:25 PM
Post Reply Email Thread
UPDATED FILES!!! SEE POST #3

I have built a quick and dirty DSM Dependency Dumper ... It will dump dependencies from a ROM dump, or a single DSM file.

Simple to use:
1) Click 'Load Dump' or 'Load DSM' and select the Folder or File respectivly
2) Click 'Dump Deps' and select output file (output is CSV)
3) Click 'Dump PKGs' and select output file (output is CSV)

As you will find (well its what I found) ... NO ROM has the DSM dependencies correct! I have attached my analysis of Verizon's MR2 update for the HTC Titan. More dependencies are missing then are there!

What does all of this mean? I have no idea!!! Should we (I) work on correcting the dependencies in the DSM files? Want to see something interesting? Open the XLS file in the example.zip, Filter 'Package Name' on 'Entertainment', and you will see three (3) missing deps. Now drop that filter and filter 'Dep Package Name' on 'Entertainment', and you will see three (3) VALID deps ... 'Entertainment_Lang_0409', 'Entertainment_DPI_96', and 'Entertainment_Lang_0409_DPI_96'. Interesting.

Anyone have anything more? Can anyone find a ROM with 100% correct deps?
Attached Files
File Type: zip DSM_Dependency.zip - [Click for QR Code] (51.2 KB, 84 views)
File Type: zip DSM_Example_Files.zip - [Click for QR Code] (24.1 KB, 65 views)
 
 
19th June 2009, 07:26 PM |#2  
Da_G's Avatar
Inactive Senior Recognized Developer / Moderator Emeritus
Flag Riverside, CA
Thanks Meter: 1,560
 
Donate to Me
More
Hi friend;

.dsm can also contain an Interface GUID

Associations (dependencies) can be tied to this interface GUID as well,

This defines a 1-to-many relationship,

I suspect the "missing dependencies" you are talking about are really associations to the interface GUID..

These interface GUID's are used in the case of languages and DPI's, where multiple packages may satisfy a dependency (any langauge package, related to that common package, for example)
19th June 2009, 08:13 PM |#3  
OP Senior Member
Thanks Meter: 7
 
More
Thumbs up
Da_G...

Thank you for your help ... You were dead on! I have updated my utility to export the Interface GUID as well, and found all of my "missing" dependencies!

I don't know if anyone cares, but I have attached the updated utility, as well as my analysis files.
Attached Files
File Type: zip DSM_Dependency.zip - [Click for QR Code] (51.2 KB, 80 views)
File Type: zip mr2_dsm_analysis.zip - [Click for QR Code] (31.4 KB, 56 views)
Post Reply Subscribe to Thread

Tags
cooking, dependency, dsm, kitchen, rom

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes