PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Phone 7 > Windows Phone 7 Development

Notices



Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-25-2010, 01:29 PM
orangekid's Avatar
Awesomenss :)
Offline
Pocket PC: Google Hammerhead
Carrier: T-Mobile
 
Join Date: Apr 2009
Posts: 6,973
Reputation: 7530
orangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the community
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to orangekid Send a message via MSN to orangekid Send a message via Yahoo to orangekid
Regarding porting Windows Phone 7

This post from Da_G over at XDA summarizes what has to be done basically to port the Mondrian ROM that was leaked. So we don't have constant threads opening up about the porting project. Post #2 has the links you need in order to keep up with the scene. Please do not start threads and post stuff like "when am I going to see a winpho7 ROM on my Pro2" when all you have to do is read just a little bit to see what the status is.

Again second post has all your links.


Quote:
Originally Posted by Da_G
The Mondrian NBH posted in this thread is a format that HTC uses, that you can consider a "container" like a cup or a box. We know this format fully and can dump and create it at will (NBHImageTool)

The qualcomm snapdragon can be thought of a miniature dual-core computer. It is different from a normal computer that has dual cores in an important way: Each core is assigned it's own block of memory, and runs its own operating system. There is a shared block of memory allowing the 2 operating systems to communicate with each other.

Inside that .nbh container, are some more containers. One is "radio.nb" - inside here is the various software that drives the "second processor". Another is "spl.nb" - this contains the tri-color bootloader that most of you are familiar with as HardSPL. This bootloader has changed considerably for WP7 and it's layout will need to be determined. Another is "unknown-0x0804.nb", as you might guess we don't know what that is yet Finally, there's "os.nb" - the last container. This one has the OS we want to work with (WP7), and really it's not os.nb as that is the format used on WM6, so far all the WP7 ROMs ive seen use the "flash.store.bin" container format. My NBHImageTool currently names the output file incorrectly as os.nb. I will update a future version to check the actual content of the file and name it properly (flash.store.bin)

In order for us to port the OS from one device to another, one basic thing we need to be able to do is "dump" the "flash.store.bin" container format to its components (I did this manually with a hex editor, and posted on post 2 of this thread), and re-build the flash.store.bin from those components (after we've edited them to do the actual "porting")

We don't yet know the flash.store.bin container format, which is the current hurdle i'm working on. Once we are able to easily dump/rebuild that, there are a number of other challenges to meet, such as how we relocate modules to function on another device. Modules are built with a pre-determined memory layout, and each device has a different memory layout. On WM6.x ROMs we have the tool "g'reloc" or "wmreloc" or "platformrebuilder" to handle this for us. With WP7 ROMs the memory layout is entirely different, so a new tool needs to be developed.

We currently don't yet know how the memory layout looks, i've just been going by CE6 documentation on MSDN. If we're lucky not much has changed in that regard, and we'll be able to create a relocation tool based on that documentation.

Anything that has changed since then will need to be reverse engineered. If that is necessary it probably won't be likely until we can get hands on a device running WP7, inject some native code, and figure out the memory layout and other such goodies.

So, assuming we have those things hammered out (we don't yet), we need to make our current device bootloaders able to load the WP7 OS. This would be accomplished using some ARM assembly trickery. This is where JTAG comes in because there's a high probability of bricking and we will be able to obtain debug output from the process to determine where any failures are occuring (and there will be failures!) - another hurdle with this is that it's looking like there is only one JTAG unit capable of supporting the snapdragon at this moment, and it costs upwards of 4x the original donation drive guesstimate, which is far too expensive for this project. I'm currently researching alternatives. It's looking like I will end up having to go with one of the less expensive "home brew" JTAG models and writing my own Snapdragon support into OpenOCD (the open source debugger platform that the "home brew" JTAGgers use) - that is far from a trivial task and i'm not looking forward to it at all :P

Once that's hammered out, we'll be at a place where the OS itself is loading up. However it is quite likely at that point, some of the drivers will fail to work (hopefully not basic ones such as the kernel, display, etc.) - here we'll have to perform some more trickery to get the drivers functioning properly. One potential problem is that since we will be using our original device's radio.nb, more than likely the protocol the drivers use to communicate with it will be different. This will need to be changed.

Now, all of the above stuff needs to be packaged into a deployment system that's user friendly, and relatively fail-safe (we don't want bricks!)

At that point, it's "done" - not complicated at all, right?
original post here
This post has been thanked 3 times.
  #2 (permalink)  
Old 05-25-2010, 01:33 PM
orangekid's Avatar
Awesomenss :)
Offline
Pocket PC: Google Hammerhead
Carrier: T-Mobile
Threadstarter
 
Join Date: Apr 2009
Posts: 6,973
Reputation: 7530
orangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the community
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to orangekid Send a message via MSN to orangekid Send a message via Yahoo to orangekid
Re: Regarding porting Windows Phone 7

DavidinCT's thread on the Mondrian build here (this thread also has the following links}

Rom PortingDevelopment discussion here

Da_G's thread on his porting progress with the dev tools here

Da_G's twitter feed with up-to-the-minute updates here
This post has been thanked 3 times.
  #3 (permalink)  
Old 06-16-2010, 09:32 AM
orangekid's Avatar
Awesomenss :)
Offline
Pocket PC: Google Hammerhead
Carrier: T-Mobile
Threadstarter
 
Join Date: Apr 2009
Posts: 6,973
Reputation: 7530
orangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the community
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to orangekid Send a message via MSN to orangekid Send a message via Yahoo to orangekid
Re: Regarding porting Windows Phone 7

bump, finally got the HD2, let's see what he does with it :S
  #4 (permalink)  
Old 06-16-2010, 06:41 PM
Mr.KLeen's Avatar
VIP
Offline
Pocket PC: HD2/Focus/soon EVO3D
Carrier: Sprint
Location: Arizona
 
Join Date: Mar 2009
Posts: 3,103
Reputation: 3350
Mr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIPMr.KLeen is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Regarding porting Windows Phone 7

interesting thanks
  #5 (permalink)  
Old 06-16-2010, 06:44 PM
darren.wlsn1's Avatar
acs tester
Offline
Pocket PC: diamond/tp1/tp2/MoFo/touch 4g
Carrier: ppcgeeks/sprint
Location: pa
 
Join Date: May 2008
Posts: 24,870
Reputation: 51190
darren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation level
Mentioned: 14 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to darren.wlsn1 Send a message via MSN to darren.wlsn1 Send a message via Yahoo to darren.wlsn1 Send a message via Skype™ to darren.wlsn1
Re: Regarding porting Windows Phone 7

wp7 gang likes, thanx op.
  #6 (permalink)  
Old 06-17-2010, 07:36 PM
Kliptik's Avatar
Two-Time Mafiosi
Offline
Pocket PC: HTC Thunderbolt
Carrier: Verizon
Location: Austin, TX
 
Join Date: Feb 2009
Posts: 1,041
Reputation: 4790
Kliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Kliptik
Re: Regarding porting Windows Phone 7

WP7 FTW!!! Thanks and thanked!
__________________
  #7 (permalink)  
Old 08-06-2010, 04:45 PM
orangekid's Avatar
Awesomenss :)
Offline
Pocket PC: Google Hammerhead
Carrier: T-Mobile
Threadstarter
 
Join Date: Apr 2009
Posts: 6,973
Reputation: 7530
orangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the community
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to orangekid Send a message via MSN to orangekid Send a message via Yahoo to orangekid
Re: Regarding porting Windows Phone 7

pics of the soldered JTAG to the HD2

http://forum.xda-developers.com/show...&postcount=134
  #8 (permalink)  
Old 09-15-2010, 10:17 AM
orangekid's Avatar
Awesomenss :)
Offline
Pocket PC: Google Hammerhead
Carrier: T-Mobile
Threadstarter
 
Join Date: Apr 2009
Posts: 6,973
Reputation: 7530
orangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the communityorangekid is a trusted member of the community
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to orangekid Send a message via MSN to orangekid Send a message via Yahoo to orangekid
Re: Regarding porting Windows Phone 7

I'll move this to the development forum for now, since it's really the only active "development" going on right now for winpho7.
  #9 (permalink)  
Old 09-23-2010, 11:55 PM
darren.wlsn1's Avatar
acs tester
Offline
Pocket PC: diamond/tp1/tp2/MoFo/touch 4g
Carrier: ppcgeeks/sprint
Location: pa
 
Join Date: May 2008
Posts: 24,870
Reputation: 51190
darren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation leveldarren.wlsn1 can't get a higher reputation level
Mentioned: 14 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to darren.wlsn1 Send a message via MSN to darren.wlsn1 Send a message via Yahoo to darren.wlsn1 Send a message via Skype™ to darren.wlsn1
Re: Regarding porting Windows Phone 7

Quote:
Originally Posted by orangekid View Post
I'll move this to the development forum for now, since it's really the only active "development" going on right now for winpho7.
thanx sir, xda guys are crazy at this stuff. cant wait to see the development.
Closed Thread

  PPCGeeks > Windows Phone 7 > Windows Phone 7 Development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:41 AM.


Powered by vBulletin® ©2000 - 2019, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com