ElCondor · Apr 28, 2010 at 09:03 am

Windows Phone 7 Facts: How About ROM Cooking?

This is part 2 of the Windows Phone 7 Facts series. In the following weeks, we will be covering the more technical side of the currently unreleased Windows Phone 7 OS by Microsoft. In the previous article, we were talking about the new installation package called .xap to replace the .cab files.

All information is based on some interesting, XDA-Developers.com exclusive information from XDA member and moderator Da_G. There will be some more changes to the way we were working with Windows Mobile.
One thing that interests most Windows Mobile ‘power’ users, is the ROM.

So will we be still working with the knowm .NBH files when the first HTC WP7 devices come out? The answer is No. Every OEM uses his own design for ROM deployment. HTC uses .nbh files and the RUU system. LG uses .dz/LGMDP files system. No longer this custom design is allowed. There will be standardized  requirements for OEMs for Windows Phone 7 Devices.

So you might be shocked thinking that we would have to develop new kitchens, new tools, etc. Fortunately, the tools we are currently working with will work flawlessly with the new ROM format, B000FF or .bin. The image format will only get some minor changes when compared to CE5 images.

The way the boot loader handles image deployment will change significantly though:

Originally posted by Da_G

For Samsung and a handful of other manufacturers, this (read: ‘image deployment’) won’t change too much, as they already utilize the B000FF system for deployment. The filesystem inside will be IMGFS – no longer will BinFS be used for NK/XIP section (now IMGFS will all partitions on device, NK and OS just being split by package rather than a seperate FS)

Don’t worry if you don’t get this, to summarize: The image deployment of WP7 will be different from older versions of Windows Mobile.

The physical flash layout will look as follows:

  • Reserved Regions, updateable only through a special oem-written driver to allow access to this area (size varies)
  • Partition Table (1KB)
  • BLDR (1MB)
  • DBSP (Device Boot State Partition, 256KB)
  • DPP (Device Provisioning Partition, 256KB)
  • USP (Update State Partition, 2MB)
  • ULDR1 (>=6MB)
  • ULDR2 (>=6MB)
  • NK (read ‘Native Kernel’) (IMGFS, >=4.5MB) – At least 1MB free space for updates
  • OS (IMGFS, >=181MB) – At least 20% free space for updates
  • User Store (TexFAT)

The User Storage are all the files you can explore using a file explorer (For example /Windows, /Program Files, etc.). Thus these files are user-writeable. All other parts are ‘invisible’, and are only writeable during an update operation. The images will be transfered to the bootloader via ethernet over USB. The connection will most likely be encrypted, and probably with the same kind of encryption as the Zune HD. Fortunately the Zune HD has been hacked recently, so let’s hope they’ll be able to hack WP7 too.

There are still some more similarities to CE5 / Windows Mobile 6.x. The BLDR, Base Boot Loader, will not change; OEMs can still choose their own buttons to trigger various actions. The ULDR will still be available for a recovery flash when for instance a power failure shows up:

Similar to CE5/WinMo 6.x, There is a BLDR (Base Boot Loader) which makes the initial determination to boot up to the ULDR or to the WP7 OS. The OEM implements alternate boot parameters to trigger this and/or a button press combination. If ULDR is triggered, it checks the battery and power source to ensure that there is enough life remaining to successfully complete the flash, then awaits the flash download. There are redundant ULDR partitions (ULDR1/ULDR2) to facilitate failsafe recovery in the event of a failed ULDR flash (ULDR provides a basic level of functionality to enable a recovery flash even in the event of power failure during a flash)

As you can see, Microsoft will be very active in trying to get its Phone Update Service the primary method for distributing phone updates. These updates can be deployed over-the-air and through a USB connection using Zune Software.

Concluding, ROM cooking won’t be the problem, only getting the ROMs on your Windows Phone 7 phone will be a real challenge. View the original thread if you have questions or if you want some more information.


_________
Want something on the XDA Portal? Send us a tip!
Mario Tomás Serrafero · Feb 28, 2015 at 03:45 pm · no comments

MWC 2015: What Are Your Predictions?

This wonderful Geek-Christmas time of the year is back once more, promising a lot of exciting reveals from big manufacturers such as HTC and Samsung, but also some pretty gems teased by other smaller OEMs. What kind of exciting products will we see? While we've got a lot of leaked information from the highly expected S6 and M9, there is still a lot to learn about both - and about everything else that will be shown. What kind of trends will...

XDA NEWS
Chris Gilliam · Feb 28, 2015 at 03:13 pm · 1 comment

Best Apps To View RAW Images On Android

Last week, I wrote about the best apps to unleash the raw photographic power of your Lollipop smartphone. All four of those cameras generate lossless DNG images with pounds of potential for apps like Photoshop to unlock, but what if you’re looking to edit or view those pics on the go? QuickPic, Google Photos, and the other mainstays treat raw images like they don't exist. This rundown seeks to fill the void and give you full control over your precious pictures....

XDA NEWS
Emil Kako · Feb 28, 2015 at 10:15 am · 1 comment

Which App Is Most Desperately in Need of an Update?

While the majority of the top apps have already incorporated Google's newest design language, there are still very many apps that are in need of some Material Design love. Which apps do you think are most desperately in need of an update?

DISCUSS
Share This