Go Back   xda-developers > Sony Ericsson XPERIA X1 > XPERIA X1 ROM Development


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th December 2008, 12:46 AM
Angelusz's Avatar
Angelusz Angelusz is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,181
Default [Tutorial] How to back up your ROM - A comprehensive guide.

--- Foreword ---

This guide is designed for those who find it hard to (or are too lazy to) search the forum for information on how to dump a ROM. This is specifically for the X1.
Some common sense and knowledge of computers and pocket pc's is required. I followed below steps myself to dump a ROM and dumping it worked flawlessly.
Update: The ROM I dumped has been tested and reported working perfectly!
EDIT: For those looking only for a stock ROm to dump with: Rapidshare

--- Special thanks to ---

Fards - Much of the below tutorial.
hungarian - The registry fix in step 2.
m@rco - UK generic ROM link.
Itje - Kovskykitchen.
And the guys who made XDA Utils!


--- Guide ---

1) Download and preparation of files

A good preparation makes it much easier, download the following files:

XDA Tools/Utils
X1 (Kovsky) Kitchen
Stock UK ROM
Sdkcerts.cab
Fdcsoft Taskmanager

- Extract Kovskykitchen to C:\KovskyKitchen and in Vista make sure that buildos+package_tools is able to run as administrator.
- Extract the XDA tools to an easy to access folder, for instance c:\Xdatools


2) Preparing your phone:

Before your X1 will allow the dumping to be done, the following Sdkcerts.cab file must be installed.

- Copy Sdkcerts.cab to your phone or storage card and install it to the device.

Also, your phone must accept changes that pdocread makes. You can do this with the regedit function of the FdcSoft Taskmanager.

- Set the following registry keys to "1":
* HKLM\Security\Policies\Policies "00001001"
* HKLM\Security\Policies\Policies "0000101a"

- Connect your phone to your pc with activesync.


3) pdocread

- Open up a command line and navigate to the folder where you extracted the XDAtools.
- Enter the following command: "pdocread.exe -l"

You'll get something like this:

| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 69.38M (0x4560000) Part02
| 134.38M (0x8660000) Part03

The bits in brackets are the important ones as you need to use what it says on YOUR device in the next step.



4) Extraction

Run the following commands one at a time. Replace the codes (.e.g 0x31f000) with the codes you get in step 3.
Extracting these files can take some time, do not disconnect your device until the command line sais it's done.


pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x380000 Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x4560000 Part02.raw
pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x8660000 Part03.raw

The files will end up in the XDAtools folder.


5) Kovksy kitchen

- Open your Kovskykitchen folder.
- Copy your 4 raw files to the "baserom" folder.
- From the stock UK ROM extract the RUU_signed.nbh to Baserom folder as well.

There are decent walkthroughs for cooking roms, this kitchen is built on the Kaiser Kitchen.
If you want more info, search for "kaiser kitchen" on XDA.


- Start kovskykitchen.cmd
- Select (e) extract a rom, then (b) and let it work through.

When it's finshed it'll go back to the main menu.

- Now select (c) cook a rom, then (b)

It'll start up the buildOS + Package tools program.

- Select the buildos tab.
- Select "load rom" and navigate to your kovskykitchen folder.
- Press ok.

After a couple of seconds the green "go" arrow will light up press it.
It'll do lots and may come back with an imgfs error, but this doesn't seem to matter.


- When it's done close the window.

Back in the CMD window it'll be waiting for a keypress.
When pressed a lot of files will be processed.
Finally it'll popup with some info for the HTC rom tool.


- Click BUILD!
- Select Kovsky from the dropdown box.
- Press the 3 little dots ... next to the box that says OS.
- Select the OS-NEW.nb in the main kovsky kitchen folder.

Press BUILD! at the bottom, and give the file a sensible name, RUU_signed.nbh if you want to flash it from windows, Kovsimg.nbh if you want to flash it from microSD card.

- Close the htc_rom_tool when it's done.

It'll popup a hexeditor to change the Pagepool.
An error might occur that it can't find the nbh file.


- Close the hexeditor.

The command line will clean up the temporary files and allows you to flash your ROM.
If you just want to back up the rom of your device then close this window.

Enjoy!
Attached Files
File Type: cab sdkcerts.cab (4.6 KB, 3062 views)
__________________
"There is no good, there is no bad - only perspective, and opinion."
"Omnia mutantur, nihil interit..."

Sony Ericsson Xperia X1i
SPL: OliNex HardSPL
OS: Windows Mobile 6.5 WWE
ROM: EnergyROM Xperia (23016)
Radio: 1.16.25.48

Last edited by Angelusz; 8th November 2009 at 12:13 PM..
Reply With Quote
Sponsored Links

  #2  
Old 24th December 2008, 02:47 AM
jhoward1082 jhoward1082 is offline
Junior Member
 
Join Date: Nov 2008
Location: Boston
Posts: 29
Default

Thanks for taking the time to piece this together. It's much appreciated. I'm going to try to dump my rom later. Would love to learn how to cook eventually
__________________
Sony Ericcson Xperia X1a
SPL: HardSPL v1.0
OS: Windows Mobile 6.1
Rom: itje Touch-IT X1 M-HD 1.1
Date Rom: 11/21/2008
Reply With Quote

  #3  
Old 24th December 2008, 02:51 AM
guap's Avatar
guap guap is offline
Senior Member
 
Join Date: Sep 2007
Location: Milano
Posts: 930
Default

great! please mod make it sticky
__________________
Device: HTC Kovsky aka "Sony Ericsson Xperia X1i"

Rom Version: Touch-IT 10.2
Rom Date: 11/2009
Radio Version: 1.11.25.71
Protocol Version:
Ext ROM Version: -
Reply With Quote

  #4  
Old 24th December 2008, 05:18 PM
jo3n jo3n is offline
Member
 
Join Date: Jan 2008
Posts: 51
Default

Nice thread, i was just searching about dumping my original rom. Thnx m8
Reply With Quote

  #5  
Old 25th December 2008, 11:57 PM
liamhere's Avatar
liamhere liamhere is offline
Moderator
 
Join Date: May 2007
Location: Birmingham U.K
Posts: 2,913
Post i have sticky this thread

i hope this helps
__________________
Iphone 3GS 16gb Black jailbroken & Unlocked (RedSn0w)



my moto " in with anger...out with love" AB-FAB BBCtv
Reply With Quote

  #6  
Old 26th December 2008, 02:41 AM
Angelusz's Avatar
Angelusz Angelusz is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,181
Default

Quote:
Originally Posted by liamhere View Post
i hope this helps
Thanks! I just hope this answers this question - being asked so much!
__________________
"There is no good, there is no bad - only perspective, and opinion."
"Omnia mutantur, nihil interit..."

Sony Ericsson Xperia X1i
SPL: OliNex HardSPL
OS: Windows Mobile 6.5 WWE
ROM: EnergyROM Xperia (23016)
Radio: 1.16.25.48
Reply With Quote

  #7  
Old 27th December 2008, 10:41 AM
jo3n jo3n is offline
Member
 
Join Date: Jan 2008
Posts: 51
Default

Thnx Angelusz, i just tried my own rom and it works ^^!
Great guide, so if anybody wants a Dutch T-mobile rom. I can suply it
Reply With Quote

  #8  
Old 27th December 2008, 12:02 PM
aarskabouter aarskabouter is offline
Junior Member
 
Join Date: Nov 2008
Posts: 12
Default

great tut man just did it worked fine;d
Reply With Quote

  #9  
Old 27th December 2008, 02:34 PM
wursta wursta is offline
Junior Member
 
Join Date: Jul 2007
Posts: 12
Default Anybody dumped Stock Austrian T-Mobile Rom??

Has anybody dumped an Austrian T-Mobile Stock Rom??
Does anybody know where i can get this?

If i dump my Rom by myself will there also be the actual installed Applications (e.g. Inesoft, Google Maps, Tf3D for Xperia,...) in the dumped Rom-File?

Thanks!
Reply With Quote

  #10  
Old 27th December 2008, 02:44 PM
norti's Avatar
norti norti is offline
Senior Member
 
Join Date: Feb 2008
Location: Budapest
Posts: 420
Default

Thank you, great guide!
__________________
nX1i v1.04 [SuperLiteSpeed][UC][Multilanguage] (28.03.2009) - see topic waiting for a PROPER R3A from SE to continue ROM cooking...
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +1. The time now is 12:01 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.