Unofficial Android 4.4 Lands on Three Mediatek Devices

For the last few years, devices with MTK systems-on-chip haven’t received much … more

MultiImagePicker Library for Multiple Image Selection

App developmentcan be done in more than a handful of ways. You can write every single … more

Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Windows Phone 7 - ROM Deployment and how it will affect us

OP Da_G

21st March 2010, 10:37 AM   |  #1  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,534
 
3,300 posts
Join Date:Joined: Aug 2007
Donate to Me
More
Windows Phone 7 has standardized the bootloader requirements for OEMs. No longer will an OEM be allowed to implement it's own design for ROM deployment (such as HTC with the .nbh/RUU system, .dz/LGMDP with LG, etc.)

The image format will be B000FF/.bin, which receives only minor changes from CE5, and so our current tools should work fine with this. The major change is in the way the bootloader handles image deployment. For Samsung and a handful of other manufacturers, this 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)

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 (IMGFS, >=4.5MB) - At least 1MB free space for updates
  • OS (IMGFS, >=181MB) - At least 20% free space for updates
  • User Store (TexFAT)

Only the User Store (Which uses new Transaction-Safe ExFAT filesystem) will be user-writeable, all other areas will only be writable during an update operation. The Partition Table, DBSP, DPP, USP, and User Store are all not updateable during an update operation, only during a full-flash scenario. B00FF images are signed and checksummed, and passed through to the bootloader via ethernet over usb. The connection will most likely be encrypted, using the same flashing utility as Zune HD. (This is currently used to deploy images to the DevKits)

.ffu (Full Flash Update) file format (XML) will be used to pass information to the Zune software on which partitions are to be updated, etc. FFUs are signed just as .cabs are signed and only an .ffu which passes validation against the certificates on-device will be allowed to update a device.

Updates can also be done on a per-package basis, using the ImageUpdate process, which I have described in length @ the XDA WinMo Software Development forum. This process is largely unchanged from WinMo 6.x with the addition of a policy xml file containing security policy settings related to the .cab.pkg being deployed.

As such, I would recommend anyone interested in cracking the bootloader and creating a "HardSPL" take a good hard look at the Zune HD.

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)

MSFT is pushing it's Phone Update service much harder this time - it is intended to be used as the primary method for distributing phone updates. These can be deployed both over-the-air and through a USB connection with the Zune software.
Last edited by Noonski; 15th May 2010 at 04:19 AM.
The Following 3 Users Say Thank You to Da_G For This Useful Post: [ View ]
20th April 2010, 11:41 PM   |  #2  
af974's Avatar
Retired Recognized Developer / Retired Forum Moderator
Thanks Meter: 1,887
 
4,940 posts
Join Date:Joined: Jan 2008
More
subscribe to this......need to learn before my next device.
21st April 2010, 04:36 AM   |  #3  
Senior Member
Flag Orlando
Thanks Meter: 26
 
997 posts
Join Date:Joined: Apr 2006
More
Thanks. I didn't see these threads before. Any chance you could share or point to the docs this info came from? It seems tweakers.net acquired it and I wouldn't mind looking through.
23rd April 2010, 04:18 PM   |  #4  
mord4z's Avatar
Senior Member
Flag Umuarama
Thanks Meter: 2
 
177 posts
Join Date:Joined: Aug 2009
More
saved for future use! Da_G is the master of the roms!
24th April 2010, 04:56 AM   |  #5  
Senior Member
Thanks Meter: 11
 
1,134 posts
Join Date:Joined: Dec 2004
As Usual Da_G you are cool..
24th April 2010, 06:22 AM   |  #6  
Tribulattifather's Avatar
Retired Forum Moderator / Recognized Developer
╠▒╣New╬York╠▒╣
Thanks Meter: 1,834
 
2,933 posts
Join Date:Joined: Apr 2009
Donate to Me
Will you make this thread a Sticky for us? Thanks again G.
25th April 2010, 03:18 AM   |  #7  
Junior Member
Thanks Meter: 0
 
27 posts
Join Date:Joined: Mar 2009
Quote:
Originally Posted by da_g

bump for visibility

bump! Bump! Bump!
25th April 2010, 04:37 AM   |  #8  
jagan2's Avatar
Recognized Developer
Thanks Meter: 175
 
1,300 posts
Join Date:Joined: Jul 2009
Donate to Me
More
Da_G you always rock, now we got a huge info.
28th April 2010, 04:10 PM   |  #9  
Senior Member
Flag Nice
Thanks Meter: 0
 
232 posts
Join Date:Joined: Jun 2006
More
thanks for your infos
28th April 2010, 07:05 PM   |  #10  
jdep1's Avatar
Senior Member
Flag El Paso
Thanks Meter: 15
 
223 posts
Join Date:Joined: Sep 2009
More
that is some good news eventually have custom ROMs on wp7

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes