Our Network: Zune HDiPhoneWindows MobileCentroTreo HTCAndroidInstinctPalm Pre
Everything Windows Mobile
Everything Windows Mobile Windows Mobile cases, accessories Windows Mobile software Windows Mobile Social Windows Mobile forums Windows Mobile reviews Windows Mobile news Android forums


Go Back   Windows Mobile Forums > Windows Mobile Software > Moto Q Hacks



Android Forums


This is a discussion on Guide: Dumping a q9c rom within the Moto Q Hacks category of our Windows Mobile Forums; Nobody else seems to know how to do it, so I'm going to write a guide. I would've killed for ...
Reply
 
LinkBack Thread Tools Display Modes
Old 10-22-2008, 12:37 PM   #1 (permalink)
 
Join Date: Sep 2008
Posts: 71
Thanks: 3
Thanked 16 Times in 8 Posts
Default Guide: Dumping a q9c rom

Nobody else seems to know how to do it, so I'm going to write a guide. I would've killed for this info a couple weeks back. So. Here goes.


As you may have noticed, there are certain files in your q9c that you simply cannot get your hands on. Most of these files reside in \windows\. And though you can see them, you can't copy them off.

The basic process for retrieving these files is to dump the ROM and then extract usable information from the ROM dump.

You'll need a few tool kits. The first one is XDA ITSUTILS, available here:

http://www.xs4all.nl/~itsme/projects/xda/tools.html

This contains a whole bunch of fun little goodies, but the app we'll be using today is pdocread.

So. Extract itsutils to its own directory. Open a command prompt and change to this directory. I used c:\itsutils\

go ahead and type pdocread and hit enter.

Let me preface this by saying that ITSUTILS works by copying a DLL file to your device to do the heavy lifting. You'll need to allow this when the device asks you.

Pdocread will tell you that it is attempting to update the DLL file on your device. If it succeeds, you'll get a screen full of usage information. If it fails, you'll get an error asking you if your device is locked.

I wasn't able to use the tool until I made the following regedit:

HKLM\Security\Policies\Policies
valuename '00001001' was set to dword:2, change it to dword:1


Have podocread running? Good. Lets proceed.

You'll need to get a listing of the available disk devices.
The command for this is simple:

pdocread -l

Take a screenshot, or copy and paste this information into a text document or something. I printed mine out. It'll help save screen real estate, and it'll help keep your sanity.

My information looks a lot like this:

C:\Users\Jay\Desktop\itsutilsbin-20080313>pdocread -l
63.94M (0x3ff0000) TrueFFS
| 4.12M (0x41fc00) Part00
| 2.56M (0x290000) Part01
| 57.25M (0x3940000) Part02
52.72M (0x34b8000) TrueFFS
| 4.12M (0x41fc00) Part00
| 2.56M (0x290000) Part01
| 57.25M (0x3940000) Part02
1.90G (0x79b00000) DSK1:
| 1.90G (0x79ae1200) Part00

lets start analyzing this. we can see three physical devices. TrueFFS, TrueFFS and DSK1.
You might not have DSK1. DSK1 is my minisd card. that device is irrelevant, we're going to ignore it.

So. Now we get to throw some commands together and work out a ROM dump.

My command looks like this:

pdocread -v -w -d TrueFFS -p Part02 0 0x3940000 Part02.raw

Scary, I know. Chill out though. I'll explain:

The first part, pdocread, is obviously the app we're running.
Then we have the options (-v, -w,)
Then -d, (disk) followed by the disk name TrueFFS
then -p (partition?) followed by the Partition name Part02
then the starting location, 0
then the size of the partition 0x3940000
then the output file that this will create Part02.raw

You'll need to change some of the values, like size and partition name,probably.

Cross your fingers and hit <return>
if everything is correct, you'll see lots of information on the screen.

It's going to churn for a while. Something like 15 minutes, for the file I'm dumping.

When it's done, you'll have a shiny new ROM dump.

Congratulations.

Now you'll probably want to extract something useful from it. Download imgfs tools (imgfs_tools_182.rar)
http://forum.xda-developers.com/showthread.php?t=249836

Extract the files into your working directory. (c:\itsutils\) in my case

Now I'm going to extract my files. This is the fun part.

My commands look like this:

prepare_imgfs.exe Part02.raw -nosplit
-then-
viewimgfs.exe imgfs_raw_data.bin

The second command will run for quite a while. It will create a directory called "dump", containing everything that it could extract.

You can run these commands against every dump you make, just be sure to change the filenames in the appropriate spots first.

Now, in my case, I'm going to navigate to the motgpsapi.dll directory and copy out motgpsapi.dll and send it on to someone who knows what he's doing .

Good luck, Have fun, and if you need any help I'll see if I can answer your questions.

Just Throwing this out there - if someone has a sprint q9c and would like to help out the verizon GPS effort, feel free to dump your rom and send me motgpsapi.dll
5k1ttl3 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
The Following 7 Users Say Thank You to 5k1ttl3 For This Useful Post:
bberryhill0 (02-15-2009), doctorq2u (02-14-2009), earthsound (02-13-2009), sastone75 (02-19-2009), SDNick484 (02-16-2009), Tyler Lillie (02-13-2009), wingsnut25 (02-19-2009)
Old 10-22-2008, 12:51 PM   #2 (permalink)
 
Boycan's Avatar
 
Join Date: Jul 2008
Location: Dallas Tx.
Posts: 589
Thanks: 43
Thanked 43 Times in 36 Posts
Default

I sure hope someone helps you with this, it is way over my head but of few of you guys that understand all this mess and maybe you can get our vzw gps unlocked :-) PS. You sound like a good candidate to write for Chris also :-)
Boycan is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-22-2008, 12:54 PM   #3 (permalink)
 
Join Date: Sep 2008
Posts: 71
Thanks: 3
Thanked 16 Times in 8 Posts
Default

Originally Posted by Boycan View Post
I sure hope someone helps you with this, it is way over my head but of few of you guys that understand all this mess and maybe you can get our vzw gps unlocked :-) PS. You sound like a good candidate to write for Chris also :-)
Well, I got the verizon DLL out this morning and I was STOKED. Its going to help a lot I'm sure. I'll keep you guys posted, although I'm the only one who posts to the GPS hack thread anymore and I hate double posting. Thought I'd share the process with everyone. There were many late nights reading until I went crosseyed. But this process works. so.

I'm pretty new here - Write for Chris?
5k1ttl3 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-22-2008, 12:56 PM   #4 (permalink)
 
rudeboy's Avatar
 
Join Date: Jan 2007
Location: ~alienated, population 1~
Phone: BlackBerry Storm 9530 Carrier: Verizon
Posts: 28,192
Thanks: 287
Thanked 2,136 Times in 1,697 Posts
Default

like this: http://www.everythingq.com/forum/mot...tml#post195883
__________________
much later.. maybe.
~rb.


rudeboy is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-22-2008, 12:59 PM   #5 (permalink)
 
Boycan's Avatar
 
Join Date: Jul 2008
Location: Dallas Tx.
Posts: 589
Thanks: 43
Thanked 43 Times in 36 Posts
Default

edit sorry bout the caps it was an accident<p>Even tho I DON'T POST IN THAT GPS FORUM I DO WATCH IT REAL CLOSE JUST NOT SAVY ENOUGH TO PARTICIPATE :-) and ya Chris has a post requesting volunteers to write articles for EQ he said it may come with some perks too :-)
Originally Posted by 5k1ttl3 View Post
Well, I got the verizon DLL out this morning and I was STOKED. Its going to help a lot I'm sure. I'll keep you guys posted, although I'm the only one who posts to the GPS hack thread anymore and I hate double posting. <a href="images/smilies/laugh2.gif" border="0" alt="" title="laugh" smilieid="38" class="inlineimg" /> Thought I'd share the process with everyone. There were many late nights reading until I went crosseyed. But this process works. so. </p>
<p>&nbsp;</p>
<p>I'm pretty new here - Write for Chris?
</p>
Boycan is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-22-2008, 01:06 PM   #6 (permalink)
 
Join Date: Jul 2008
Phone: Palm Pre Carrier: Sprint
Posts: 1,861
Thanks: 42
Thanked 78 Times in 68 Posts
Default

I'll do this later.
I'll pass it on to the Alltel guy if he's still here.
I did't want to pass on a windows and registry dump.

Very nice write up.
fr4nk1yn is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-22-2008, 01:18 PM   #7 (permalink)
 
Join Date: Sep 2008
Posts: 71
Thanks: 3
Thanked 16 Times in 8 Posts
Default

Originally Posted by fr4nk1yn View Post
I'll do this later.
I'll pass it on to the Alltel guy if he's still here.
I did't want to pass on a windows and registry dump.

Very nice write up.
Thanks . Being a lazy sysadmin with too much free time does have its perks.

I'll attach Verizon's motgpsapi.dll to the GPS hack thread too, just so it doesn't get lost.
5k1ttl3 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-24-2008, 05:46 PM   #8 (permalink)
 
Vazguard's Avatar
 
Join Date: Jan 2008
Location: Maine, Rochester NY
Phone: Moto Q9c WM 6.1 Carrier: Sprint
Posts: 2,778
Thanks: 27
Thanked 210 Times in 189 Posts
Default

Very nice guide! This might help with finding a way to alter the bottom taskbar we've been aiming at in the Smart Tool Kit Skin.
__________________



If someone helps you, please make sure to thank them by hitting the button on his/her post!

Ubiquity - Ebay Phones - EQ Author - my Drop
Vazguard is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 02-13-2009, 08:21 PM   #9 (permalink)
 
Join Date: Feb 2007
Location: Texas
Posts: 453
Thanks: 66
Thanked 36 Times in 23 Posts
System Tools or Repair

[quote=5k1ttl3;253263]Nobody else seems to know how to do it, so I'm going to write a guide. I would've killed for this info a couple weeks back. So. Here goes.

___________________


How did your project go what did you all do with motgpsapi.dll
doctorq2u is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 02-15-2009, 02:24 PM   #10 (permalink)
 
Vazguard's Avatar
 
Join Date: Jan 2008
Location: Maine, Rochester NY
Phone: Moto Q9c WM 6.1 Carrier: Sprint
Posts: 2,778
Thanks: 27
Thanked 210 Times in 189 Posts
Default

I used these instructions to make a dump of my Sprint phone for him, so they work.
But he hasn't been online in a few months so I doubt he'll be able to answer your questions.
__________________



If someone helps you, please make sure to thank them by hitting the button on his/her post!

Ubiquity - Ebay Phones - EQ Author - my Drop
Vazguard is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Reply



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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 07:04 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Integrated by BBpixel ©2004-2009, jvbPlugin ME