Paul's guide to... backing up, rebuilding and restoring your SPV M700 ROM |
![]() ![]() |
Paul's guide to... backing up, rebuilding and restoring your SPV M700 ROM |
|
May 21 2007, 23:00
Post
#1
|
||
![]() The Main Man Group: Admin Team Posts: 19,934 Joined: 6th November 2002 From: Norwich, UK Member No.: 1 Device(s): HTC Advantage |
Backing up, rebuilding and restoring your SPV M700 ROM Reflashing your ROM is dangerous, and you could brick your device if it goes wrong. Only proceed if you are confident with what you are doing - we take no responsibility should anything go wrong! Follow the steps below to backup, rebuild and reflash your ROM. Your device will need to be application unlocked prior to following these steps! Step 1: Install Hard-SPL bootloader Consider Hard-SPL an insurance policy. If all else fails, HardSPL will allow you to flash a working ROM onto your device. Tool required: HardSPL - download link - original source - Download file. - Extract to a temporary directory. - Flash using ROMUpdateUtility.exe Step 2: Dump the OS partition of your device ROM Tools required: itsutils - download link - original source The next step is to get the OS area of the ROM from your device in it's raw format. - Create a new directory (our 'working directory'), e.g. C:\ROM. - Open a command prompt in the your working directory. - Extract the itsutils download to your working directory. - Type 'pdocread -l' at the command prompt. This will produce output similar to below, these are the addresses of the ROM sections. If this fails, ensure your device is application unlocked and that HKLM\Security\Policies\Policies\1001 has a value of 1, NOT 2. CODE 114.88M (0x72e0000) FLASHDR | 3.12M (0x31fc00) Part00 | 2.88M (0x2e0000) Part01 | 50.13M (0x3220000) Part02 | 58.75M (0x3ac0000) Part03 10.00M (0xa00000) EXT_FLA | 10.00M (0xa00000) PART00 - We want to read Part02 on FLASHDR, so type 'pdocread -w -d FLASHDR -p Part02 0 0x3220000 Part02.raw' at the command prompt.. Now wait while a raw dump of the OS area of the ROM is created on your PC! It will take a while and not look like it's doing anything, but if you browse your working directory in Windows Explorer, you'll see a Part02.raw file growing in size Step 3: Extract the RAW (IMGFS) file to a dump directory Tools required: ImgfsTools2rc2b - download link - original source - Extract the ImgfsTools2rc2b download to your working directory. - Now we have the IMGFS file, we're going to extract everything from it, ready for an optimised rebuild by the excellent ImgfsTools2. - Type 'imgfstodump part02.raw' at the command prompt. Step 4: Build a new IMGFS file from the dump directory - We've finished the extraction now, and we're ready to start putting everything back together. - Type 'imgfsfromdump part02.raw imgfs.new.bin' at the command prompt. - When you look at the 2 .bin files in the working directory, you should notice the new one is smaller. Strange eh? They have the same contents! Step 5: Download and split a donor NB file Tools required: A valid HTC Trinity RUU - download link Tools required: WinRAR - download link Tools required: NBHextract - download link - original source - After installing WinRAR, copy the downloaded HTC Trinity RUU to your working directory. - Right click the .ZIP file and select 'Extract Here'. - Right click the produced .EXE file, and select 'Extract Here'. - Extract the NBHextract download to your working directory. - Type 'nbhextract ruu_signed.nbh' at the command prompt to convert the NBH to it's component parts. - Type 'nbsplit -hermes 06_os.nb' at the command prompt to split the OS NB file. - Type 'ren 06_os.nb.payload 06_os.nb.old.payload' at the command prompt to make way for our new NB payload. Step 6: Convert the new IMGFS file to a new NB payload file - Type 'imgfstonb imgfs.new.bin 06_os.nb.old.payload 06_os.nb.payload'. This copies all data except the IMGFS partition from <os.nb.old.payload> to <os.nb.payload>, then adds the IMGFS partition from <imgfs.new.bin>. Step 7: Merge the new NB payload into a new NB file - Type 'nbmerge -hermes 06_os.nb' to create our new NB file. Step 8: Convert the new NB file to a NBH file Tool download required: Custom RUU Updater - download link - original source - Create a new directory inside your working directory called 'flash'. Extract the Custom RUU updater to it. - In the flash directory, you'll see a 'Workshop' subdirectory. Run ROMbaker.exe from in there. - Click the 'Browse' button next to the 'OS' box, and browse to your working directory. Select the 06_OS.nb file. DO NOT SELECT ANY OTHER NB FILES. - Click Generate NBH, enter the filename log.txt, and click 'Save'. - In your working directory, you should now see a 'ruu_signed.nbh' file. Move this to your 'flash' directory. Step 9: Flash the new NBH file - We're ready to go! - Run 'ROMUpdateUtility.exe', follow the prompts (you may also have to confirm a prompt on the device itself), and enjoy your new ROM build! -------------------- Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog! £10 off a £20 spend at eXpansys - click for details |
||
|
|
|||
|
May 21 2007, 23:08
Post
#2
|
||
![]() Moderately moderating in moderation... Group: Moderator Team Posts: 1,336 Joined: 9th May 2005 From: Oadby, Leicester, UK Member No.: 128,356 Device(s): Vario II, 8310, C600, C550 |
Very nice guide Paul
Especially useful if you need to flash back your original ROM for warranty reasons Phil -------------------- |
||
|
|
|||
|
May 22 2007, 07:18
Post
#3
|
||
![]() AKA 'jlowap' MoDaCo Old Skool Group: Moderator Team Posts: 3,531 Joined: 12th February 2003 From: North Devon, UK Member No.: 2,777 Device(s): glofiish X800 + HTC Diamond |
That's a very useful guide!
This will cut down the searching through 100's of pages over at XDA-Developers for any person wanting to get into playing with ROM's -------------------- James Lovell
Microsoft Windows Mobile Specialist 2008 And ive got a certificate to prove it :P Get Your HTC DIAMOND HERE! |
||
|
|
|||
May 22 2007, 11:37
Post
#4
|
|||
|
Hardcore Group: Posters Posts: 1,065 Joined: 27th December 2002 From: Norwich (ish) Member No.: 1,434 |
-------------------- Lifes nothin but bitches and money
O:) :-# :-({|= =D> :D/ #-o =p~ :-s =; :^o [-X [-o< :-$ 8-[ :-& :cheesy: [-( :-k ](*,) :-" :arrow: :arrowd: :arrowl: :arrowu: :D :?: 8) :cry: :shock: :evil: :exclaim: :frown: :idea: :lol: :x :mrgreen: :| :??: :P :oops: :roll: :( :) :o :twisted: ;) |
||
|
|
|||
|
May 22 2007, 12:16
Post
#5
|
||
![]() Moderately moderating in moderation... Group: Moderator Team Posts: 1,336 Joined: 9th May 2005 From: Oadby, Leicester, UK Member No.: 128,356 Device(s): Vario II, 8310, C600, C550 |
A similar process will also work on the Hermes, below is a slightly tweaked method for the hermes
[EDIT: I've moved it HERE to avoid clutter of this thread Many thanks to Paul for the original method Phil This post has been edited by The Doctor: May 22 2007, 22:22 -------------------- |
||
|
|
|||
|
May 29 2007, 13:25
Post
#6
|
||
![]() Newbie Group: Posters Posts: 40 Joined: 23rd October 2006 Member No.: 211,382 Device(s): HTC Monet, iPaq H3830 |
sweet
|
||
|
|
|||
|
May 30 2007, 10:44
Post
#7
|
||
![]() Moderately moderating in moderation... Group: Moderator Team Posts: 1,336 Joined: 9th May 2005 From: Oadby, Leicester, UK Member No.: 128,356 Device(s): Vario II, 8310, C600, C550 |
sweet You will be able to dump your ROM, however you wont be reflash it as there currently isnt a way to flash unsigned code to the Monet via the bootloader Phil -------------------- |
||
|
|
|||
|
Jun 15 2007, 11:16
Post
#8
|
||
|
Regular Group: Posters Posts: 105 Joined: 17th February 2007 Member No.: 230,734 Device(s): SPV M700 |
was gonna try this but can't download "Tools required: A valid HTC Trinity RUU - download link"
anyone got a copy? |
||
|
|
|||
|
Jun 21 2007, 09:07
Post
#9
|
||
|
Regular Group: Posters Posts: 105 Joined: 17th February 2007 Member No.: 230,734 Device(s): SPV M700 |
Ok, got all the software, when running RomUpdateUtility, it wants to downgrade my ROM version - is this normal?
Sorry I am a newbie on this |
||
|
|
|||
|
Jun 22 2007, 10:42
Post
#10
|
||
![]() Moderately moderating in moderation... Group: Moderator Team Posts: 1,336 Joined: 9th May 2005 From: Oadby, Leicester, UK Member No.: 128,356 Device(s): Vario II, 8310, C600, C550 |
Ok, got all the software, when running RomUpdateUtility, it wants to downgrade my ROM version - is this normal? Sorry I am a newbie on this As in the ROM version is lower on theupdate, than on the device? If it is, don't worry about it, you will still have the same ROM version after flashing the ROM you just made Phil -------------------- |
||
|
|
|||
|
Jun 22 2007, 10:44
Post
#11
|
||
![]() The Main Man Group: Admin Team Posts: 19,934 Joined: 6th November 2002 From: Norwich, UK Member No.: 1 Device(s): HTC Advantage |
Yeah, it calls it 'rombaker' version or something IIRC?
P -------------------- Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog! £10 off a £20 spend at eXpansys - click for details |
||
|
|
|||
|
Jun 22 2007, 10:55
Post
#12
|
||
|
Regular Group: Posters Posts: 105 Joined: 17th February 2007 Member No.: 230,734 Device(s): SPV M700 |
|||
|
|
|||
|
Jun 22 2007, 23:33
Post
#13
|
||
![]() Moderately moderating in moderation... Group: Moderator Team Posts: 1,336 Joined: 9th May 2005 From: Oadby, Leicester, UK Member No.: 128,356 Device(s): Vario II, 8310, C600, C550 |
Verify that you want to update the ROM version: From: Image Version: 1.23.61.5 To: Image Version: 1.20 The image version number doesn't really matter. It's fine to flash away Phil -------------------- |
||
|
|
|||
Aug 14 2007, 09:15
Post
#14
|
|||
|
Newbie Group: Posters Posts: 1 Joined: 14th August 2007 Member No.: 288,830 Device(s): SPV M700 |
Paul,
I am in a bit of a pickle. I have a Orange SPV M700 which I flashed with the following ROM - RUU_Trinity_DOPODASIA_WWE_1.23.707.6_6275_1.35.00.11_108_Ship.exe This ROM has virtually rendered my phone useless as I can no longer register on the UK Ornage mbile phone network? I notice from this blog that you are fairly experienced in this area? Do you by any chance have a Orange SPV M700 ROM that I could flash my phone with to get it back to factory standard? I look forward to your reply :-) |
||
|
|
|||
|
Aug 14 2007, 10:39
Post
#15
|
||
![]() The Main Man Group: Admin Team Posts: 19,934 Joined: 6th November 2002 From: Norwich, UK Member No.: 1 Device(s): HTC Advantage |
Sounds like you might have broken the radio stack or something. Have you tried reflashing that same ROM?
The M700 ROM was never made available as a RUU IIRC... P -------------------- Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog! £10 off a £20 spend at eXpansys - click for details |
||
|
|
|||
Aug 16 2007, 23:01
Post
#16
|
|||
![]() Newbie Group: Posters Posts: 9 Joined: 22nd May 2007 From: Lost in the Ether Member No.: 258,972 |
would a similar method using imgfstools, and a key "-nosplit work on elf? as I trying to get mine working again after a failed ROM update (error 720)
I have a RAW image of an elf - thanks to LSVW - Just thought I'd research and try different methods to make it work before I call Orange and say it stopped working (forgetting to mention i broke it, by playing. Luckily I still have my m700 which I have managed to Flashes ROMs to successfully |
||
|
|
|||
Aug 17 2007, 17:10
Post
#17
|
|||
|
Newbie Group: Posters Posts: 4 Joined: 27th October 2004 Member No.: 62,326 |
Hi, I get the attached error (ERROR[294] : INVALID VENDOR ID trying a WM6 Rom
(RUU_Trinity_DOPODASIA_WWE_3.00.707.18_6275_1.46.30.11_108_Ship.exe) Any ideas?
Attached File(s)
|
||
|
|
|||
|
Aug 30 2007, 09:15
Post
#18
|
||
![]() The Main Man Group: Admin Team Posts: 19,934 Joined: 6th November 2002 From: Norwich, UK Member No.: 1 Device(s): HTC Advantage |
That's completely irrelevant to this topic, but flash HardSPL and I think that will solve it.
P -------------------- Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog! £10 off a £20 spend at eXpansys - click for details |
||
|
|
|||
|
Sep 2 2007, 12:13
Post
#19
|
||
|
Newbie Group: Posters Posts: 1 Joined: 2nd September 2007 Member No.: 295,539 Device(s): MDA Touch || MDA Vario |
Hi Paul,
I came from the Dev's to your wonderfull guide because I want to backup my MDA Touch alis HTC Elf/Touch. I change the FLASHDR to TrueFFS an the dumping was good. So, till step 6 went all ok and without failures. Then I type "C:\dump>imgfstonb imgfs.new.bin 05_os.nb.old.payload 05_os.nb.payload" in the command line und hit enter. 05_.... because the Elf has only 5 parts in the RUU_Signed.nbh. This is the ROM:RUU_Elf_DOPODASIA_WWE_1.11.707.1B_4.1.13.42_02.93.90_Ship But when I execute I get following error: QUOTE ImgfsToNb 2.0 RC 2 MSFLSH50 header not found. Exiting. I can't get to the next step to merge the nbh-File. What is the Error, or better what went wrong? Thanks for your help Greetings Denis |
||
|
|
|||