ImageUpdate workings, with videos!

by no2chem 16. June 2009 17:39

After a lot of work and collaboration with Da_G, I was able to get some custom imageupdate packages working with the CDMA Touch Diamond (results should port easily to other CDMA devices). The first video (sorry its flipped, I can’t figure out how to rotate it, and I took it on the touch pro) below shows installing a ImageUpdate package (simple.cab.pkg). In this case, we simply copy the package file via activesync to the device and run it. ImageUpdate first runs ImageValidator, which among other things, checks if the update was already installed to the device, and if the certificate matches one of the certificates located in defaultcerts.dat. Once verified, ImageValidator sets the flag to boot into the uldr partition, and runs uldr from there. Uldr is basically a special, minimal build of CE 5.0, you can see that the “dirty” display driver is being used with the occasional lines present on the screen. Uldr handles updating the imgfs partition, moving and relocating modules, etc. Finally, the device boots back to WM, where we are presented with a screen indicating the update was successful.

ImageUpdate for CDMA Touch Diamond Part 1




Part 2 shows the device being hard reset. After a hard reset, we try to install the package again, but the update fails because it has already been applied.

ImageUpdate for CDMA Touch Diamond Part 2

Before we get too excited, its important to note that there are some quirks that will hold us back a little bit.. First, kitchens cannot be used to generate uldr compatible images (this is why I am running a near-stockish ROM). The reason is that nearly all kitchens today delete the package manifest (.sof)  and relocation sections, which are required by the update mechanism. Second, imgfstools in “bigstorage” mode will reduce the size of imgfs so that updates are not possible. Running imgfstools in conservative mode helps, but we’ll probably have to fine tune the memory allocation so that we have a good compromise of “updateable space” and user storage. Finally, .cab.pkg files aren’t the easiest thing to generate, but Da_G tells me a bit of people at xda-devs are already on the job. Da_G has a working ImageUpdate ROM for the GSM Raphael… I plan to follow suit with a CDMA version.

Once ImageUpdate is ready, ROM kitchens (at least by the masses) will be a thing of the past – most users will download a minimal “reference” ROM, and update their ROM to their liking using the imageupdate mechanism.  Maybe Microsoft will even begin distributing updates via WindowsUpdate as well!

Tags:

Comments


United States 1999TL 
June 11. 2009 18:03 | Reply
1999TL
Looks promising!


June 11. 2009 21:12 | Reply
Kane3162g
wow... I just LOL'd and hard... MSFT actually using the WinUpdate feature in WM... nah pipe dream...


but good work No2Chem... now I however cannot wait till you get the SPL rewritten from scratch (I believe that was one of your to-do's)


United States James 
June 11. 2009 23:16 | Reply
James
So this is why theres 2 xips? I remember when I wrote my xip extractor someone asked why there were two but I didn't know why, neither did other people on ppcgeeks.


October 22. 2009 02:53 | Reply
ed hardy clothes
i like


September 12. 2011 20:41 | Reply
columbia jackets
http://www.columbiaoutlet.net/
Here are some tips to identify a jacket's quality from its appearance.


People's Republic of China Michael Kors Outlet 
November 16. 2011 23:05 | Reply
Michael Kors Outlet
If you love handbags, you certainly know the name Michael Kors and mulberry bags. michael Kors handbags outlet and mulberry outlet can be found worldwide in shops, magazines, on TV, and on the arms of celebrities and fashionistas alike. They are considered some of the most polished, sleek, sophisticated, and luxurious bags. Michael Kors Outlet is a good place to look for Michael Kors Handbags because it has a good assortment of Michael Kors bags and other Michael Kors Shoes, mulberry bags, Micheal Kors Sunglasses Etc.. Just go to Our Michael Kors and mulberry factory shop and you will find many discount michael kors handbags or mulberry bags on sale!

Add comment


(Will show your Gravatar icon)
Type If you can out:

  Country flag

biuquote
  • Comment
  • Preview
Loading



Disclaimer
Windows Mobile is a registered trademark of Microsoft Corporation in the United States and other countries.

Wei Enterprises is not affiliated in any way with Microsoft, HTC, Sprint, or any other wireless carrier/phone manufacturer otherwise mentioned on this site.

Copyright 2012 2009 Wei Enterprises