yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 ROM Development] Angelusz:
The general UK ROM is probably WWE (World wide english). I'm not exactly sure what the difference would be, I think it depends on installed programs, and some location settings (for instance for GPS). Not a problem though, you can flash any ROM you see here without problems on an X1a. To be sure, do dump your own ROM as described in this thread. You would also make some other people happy, as they're looking for a dumped X1a ROM.
[XPERIA X1 ROM Development] kbadone:
Im working on it, but If flashed my rom to custom can go back to generic rom?

Also, Im stuck on the 2nd step

2) Regedit:

Before your X1 will allow the dumping to be done, the following registry keys must be altered:

HKLM\Security\Policies\Policies "00001001"

HKLM\Security\Policies\Policies "0000101a"

- Set both to integer "1".

how do I access these files?
[XPERIA X1 ROM Development] ragnascroutch:
Other-than-UK ROM Backup

Hi, having my brand new xperia and as always when i buy something, it is in order to void my warranty with fun... :p

But i don't want to begin by screwing it up by doing anything wrong.

So backup is my friend...

I made a dump of my ROM which is from an XPERIA X1i bought from Bouygues Telecom in France.But it seems not to be branded in any manner.

When i go in device information here's what i get (Translated to english for all my international friends):

Software ID: 1213-6441

Software Version: R1AA017

Customization ID: 1215-3307

Customization Version: R8A

Customization Variant: GENERIC_FR

Also Here's what i have in Version Tab:

ROM Version: 1.02.933.3

Rom Date: 08/29/08

Radio Version: 1.06.25.29

Protocol Version: 52.43.25.24U

I made two different backup:

1/ I followed the backup procedure using UK ROM and dumped files ( part01.raw part02.raw part03.raw and part04.raw ) from my french Xperia X1i.

2/ I also followed the procedure by taking some initiatives with generic french image posted by arash in another thread to obtain a ruu_signed.nbh to use with raw dumps in kovskykitchen.

From what i've understood, these generic images, while having the correct Software Version (at least it is same as mine on my new xperia x1i), are pre-release one for which the radio part won't work on production phone.

So i thought i have to strip this radio part and make an ruu_signed without it.

So what i've done so far is:

- Get APP_SW_X1i_GENERIC_FR_1213-6441_CDF1215-3307_KOV_R1AA017.image and rename it to .nbh

- Go in NBHUTIL and open it in "NBH Extract" tab and extract all

- Still in NBHUtil go in build nbh, i selected kovsky in model and select all previously extracted .nb files excepted radio file in relevant fields.

- I then proceed to change Version and languages fields according to mine.

- At last, leaving "sign with default certificate" ticked, i click on build NBH.

i then select BaseROM folder from kovskykitchen as destination folder for built nbh with the name "ruu_signed.nbh" and save.

- Then i follow procedure normally.

So, after this quite long preamble, here are my questions ( excuse me if they could seem nobbish, although i'm not new to hardware and software hacking, i'm quite new to htc phones and winmo stuff... :o):

- For the image generated in 1/ will it be usable and what will be the resulting languages apps etc ? is it that kovskykitchen's cooking tools take OS.nb from raw dumps and take all other stuff (eg. radio etc) from ruu_signed ?

- For the image generated following 2/ are my above assumptions about arash posted images correct ? Will the resulting nbh ROM generated be flashable flawlessly ? did i missed something ? be it obvious or not....

Thanks a lot in advance for taking the time to read. Good bye.
[XPERIA X1 ROM Development] ragnascroutch:
You can use CeRegEditor, it's a freeware by msdsoft, a polish software company.

You can use it without installing it on your device, to edit registry remotely from your PC.

Get it at : http://ceregeditor.mdsoft.pl/ceregedit_setup.exe

I used it in order to be able to make dumps from my Xperia.

Connect your phone by USB and wait for Activesync Sychronization.

You can then connect to your phone in CeRegEditor and edit registry.

Hope this helps.
[XPERIA X1 ROM Development] ragnascroutch:
Ok, forget post # 32.

As i couldn't wait for answers, i thought ( petentiously ?) that there were a high probability for me to be on the right path,so i just flashed my Xperia with rom backup i just made before, using recooked-without-radio ruu_signed.nbh from generic fr image posted by arash at:

http://xdaforums.com/showthread.php?t=437785

All went successfully with X1 custom ruu tool by OliNex (Thank You Mate !).

(to be found here: http://xdaforums.com/showthread.php?t=431218)

So, again, forget my questions. Sorry.

:)
[XPERIA X1 ROM Development] kiwiandy:
Actually I would like an answer to your line:

"- For the image generated in 1/ will it be usable and what will be the resulting languages apps etc ? is it that kovskykitchen's cooking tools take OS.nb from raw dumps and take all other stuff (eg. radio etc) from ruu_signed ?"

I would like to know where OS.nb comes from as I keep getting an error in this Kovskykitchen step,

"- 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.

I get the following error essage:

System.IO.FileNotFoundException: Could not find file 'C:\xdatools\KovskyKitchen\ROM\OS.NB'.

File name: 'C:\xdatools\KovskyKitchen\ROM\OS.NB'
[XPERIA X1 ROM Development] kiwiandy:
ignore that last post...

I have figured it out now,

It seems the nbh file that i used is incomplete or faulty and doesnt contain an os.nb

I found another nbh file and it worked so I will redownload the nbh file again

http://rapidshare.com/files/163578806/ruu_signed.zip (UK ROM)
[XPERIA X1 ROM Development] fotoingo:
UK-Stock-Rom or German-Stock-Rom ?

I own a german X1i and I want to backup my non-branded german rom..

Do I have to use the UKstock rom (in Step 5) or do I have to download a "german stock rom" ?

-------------

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

.

-------------

Thx in advance and more thx for this nice guide !!
[XPERIA X1 ROM Development] extrakick:
cheers

Thank alot Angelusz, it worked great and was very easy to understand, much appreciated
[XPERIA X1 ROM Development] Angelusz:
You're welcome. :)

Nope, the UK ROM is just fine, as language files are not used.
[XPERIA X1 ROM Development] sandrinopi:
Hello all, just dumping my generic ROM.

Here's the result of my "pdocread.exe -l" :

| 3.12M (0x31f000) Part00

| 4.38M (0x460000) Part01

| 169.25M (0xa940000) Part02

| 283.13M (0x11b20000) Part03

How comes that Part02 and Part 03 are so big, more than 2x compared to the example reported in the tutorial ?

Making a hard reset of the phone BEFORE making a backup, would make the ROM smaller and, consequently, the backup process faster ?

Many thanks
[XPERIA X1 ROM Development] gtrab:
No, theoretically speaking :p
[XPERIA X1 ROM Development] Angelusz:
That is very odd indeed. I don't know why it's so big, it's not supposed to be.

And no, hard-resetting does not alter the ROM itself, as you dump the ROM as it's saved in the ROM (Read Only Memory); installs and such are done in winmo, which is installed and extracted from the ROM.
[XPERIA X1 ROM Development] f3n9:
having problems

sorry, this is the first time im backing up..

i followed all the steps until htc rom tool pops up.. however, i could not find the os-new.nb file in the main kovskykitchen folder..

need some help here.. thx!

[edit]

sorry my stupidity.. think i found the solution.. sorry for the trouble :)
[XPERIA X1 ROM Development] damskie:
The question now is how to restore the backed up rom?
[XPERIA X1 ROM Development] Angelusz:
You created an .nbh file during the backup process. Rename it to KOVSimg.nbh and toss it onto your SD card. Then turn off the phone. Hold the lower volume button and then press and hold the power button as well. It will start your phone in tricolor screen. follow on screen instructions.
[XPERIA X1 ROM Development] damskie:
Im having an error dumpding the 4th Part file it says....

ERROR: ITReadDisk : read 00000000 bytes - The storage control block address is i

nvalid.
[XPERIA X1 ROM Development] jianwei87:
will there backup my program together?
[XPERIA X1 ROM Development] Angelusz:
This question has been asked numerous times in this very thread now. Look for it yourself as I refuse to answer it.

I haven't seen that error before. Make sure that the pdocread tools were successfully installed and the registry settings applied. If it still doesn't work, hard-reset your device, something *might* be interfering. It's hard to tell what the problem is just by that error code. If these options don't resolve your problem, you'll have to ask the developers of XDA tools.
[XPERIA X1 ROM Development] fards:
re-read the instructions, carefully you've missed something I think.

oh angelusz, the registry is entirely unneeded if you use the sdkcert cab which was listed in the wiki for the tools which i wanted people to read..
[XPERIA X1 ROM Development] jodafo:
mh when i execute "pdocread -l" nothing happens :(

it doesnt reply anything, and seems to get stuck somehow. (it doesnt really crash, but it doesnt continue to the next cmd line either)

does anyhone have a hint what i should do?
[XPERIA X1 ROM Development] jianwei87:
Will the phone be come brick after i backup wrongly?
[XPERIA X1 ROM Development] jianwei87:
I cannot change the value to 1. It show up Access is denied.

After i finish backup my ROM do i need to restore to default value?
[XPERIA X1 ROM Development] Angelusz:
Correct, but it doesn't hurt to check if the settings are ok, nor does it hurt to change the values anyway.

Check if your phone is connected properly.

check if you downloaded the proper tools

check, check, check and doublecheck everything.

No, never.

You're doing something wrong if you can't change the value, it should be accessible with a proper reg editor.

No, you don't need to set it back, as it's not a commonly used value.
[XPERIA X1 ROM Development] jianwei87:
Any other regedit without CeRegEditor? Because i cannot modify the value at Vista.
[XPERIA X1 ROM Development] kiwiandy:
If you just follow closely the steps listed here you shouldnt be in danger of bricking your phone from just doing a backup!.. if you get it wrong when you try and reflash the rom, then the chances go up of having a brick on your hands.

Saying that there is allways risk involved in doing this, and if you dont want to take the risk, then dont play!
[XPERIA X1 ROM Development] Rudios:
I have extracted the 4 Part0x.raw files from my Dutch Xperia.

How important is it to have a Generic dutch ROM available on the basrom directory before creating a new .nbh file?

I have a file that should be a Generic NL, but if I open the file with the NBHUtil.exe it says WWE on the language box.
[XPERIA X1 ROM Development] kulla:
there is one option in it that calls "Unlock registry" and after that you can modify values in it
[XPERIA X1 ROM Development] brut3forc3:
I am in urgent need of help !

my xperia was ok when I got it and I flashed it with hard-spl to the generic english ROM but then I discovered a fault.

I used this method to flash it

http://xdaforums.com/showthread.php?t=446070

So I need to flash back to o2 uk ROM but how do I remove the Hard-spl thing on the phone.
[XPERIA X1 ROM Development] gtrab:
READ THE STICKY "HARD SPL" THREAD, you answer is on the first post
[XPERIA X1 ROM Development] brut3forc3:
thanks for your instant reply
[XPERIA X1 ROM Development] jianwei87:
Bro i couldn't found the "Unlock Registry" can you paste the link?
[XPERIA X1 ROM Development] xUniversal:
Thank you

This guide is very exact and understandable. I guess noone can be clueless to do that wrong.

The only thing is to test it :)

Anyways, thanks very much.
[XPERIA X1 ROM Development] jianwei87:
May i know what it doing on this part?
[XPERIA X1 ROM Development] qpwoeipt:
On CERegeditor go to menu Tools > Unlock Registry

Then on screen of X1 you should confirm the access to this program so you can edit the registry, and then now you can proceed.

;)
[XPERIA X1 ROM Development] jianwei87:
Everytime the programm will stop and error on ImgfsToDump.exe

So i cannot backup my ROM.
[XPERIA X1 ROM Development] lakeg:
Many thanks for this.
[XPERIA X1 ROM Development] fards:
Start all over again.

Make sure you read every and do every piece of the tutorial.

If you are getting an error it is because you are doing something wrong.

If you want help then please give more details.

Angelusz can you update the first post with the SDKcerts.cab link or put in very big letters that people need to find it and install it please. It'll save some aggro and lots of wasted posts.

http://xdaforums.com/attachment.php?attachmentid=37923&d=1177600122
[XPERIA X1 ROM Development] Angelusz:
The registry keys should suffice instead of sdkcerts.cab. As a cab file is easier, I will use it instead then.
[XPERIA X1 ROM Development] jianwei87:
after i soft rest will the regedit rest? I had backup my rom but the file of size only 45MB. It is correct?
[XPERIA X1 ROM Development] fards:
registry changes usually need a soft reset to make them stick.

A Hard reset will change everything back to default.

45mb for a .nbh file doesn't sound correct.
[XPERIA X1 ROM Development] drjeram:
thanks Angelusz for the guide.

I've tried about 20 times now over and over again from scratch.. but can't seem to get past this point:

") pdocread

- Open up a command line and navigate to the folder where you extracted the XDAtools.

- Enter the following command: "pdocread.exe -l"

"

i've installed the sdkcerts cab, and done everything from step 1, but when i launch cmd and try and run the command "pdocread.exe -l" either from cmd or just from "run", i just get error messages. I can't find a pdocread.exe in the c:\xdatools folder myself.

I know there must be something simple going wrong here, but i can't work out what! i've redownloaded all the files, re-extracted, re-installed sdkcerts and everything... but still can't get it to work!

any ideas what i'm doing wrong anyone?
[XPERIA X1 ROM Development] Angelusz:
Might be a virus scanner deleting the file?
[XPERIA X1 ROM Development] duckylam:
Having the same problem, so you're not alone. Also have problem with update service, but not sure if that's connected.

Must be some little intermediate step that we're missing.
[XPERIA X1 ROM Development] KeiAiAm:
Hi all, I've got a problem at the 3rd step:

just changed the directory and executed it, but then it fails:

C:\XDATools>pdocread.exe -l
Copying C:\XDATools\itsutils.dll to WCE:\windows\itsutils.dll
Could not update itsutils.dll to the current version, mabye it is inuse?
try restarting your device, or restart activesync
or mabye your device is application-locked.

Already restarted the device and the computer, but it didn't help.

Best Regards

KeiAiAm
[XPERIA X1 ROM Development] jcolo:
The WINCE registry keys don't appear to be getting updated using the sdkcerts.cab, hence the error with pdocread

drjeram, ducklam and KeiAiAm: Read back a couple of posts and modify the two WINCE registry keys directly using CERegEditor on your PC - then soft reset and you should be good.
[XPERIA X1 ROM Development] Angelusz:
I'm going to create a custom CAB to fix the above issues tomorrow, will upload it when it's done. The CAB will prepare the phone to back up ROMs.
[XPERIA X1 ROM Development] Angelusz:
Decided not to use a CAB and supply the link to FdcSoft taskmgr instead. The registry keys have been added back into the first post - Should all work fine now again.
[XPERIA X1 ROM Development] Ethermind:
i think screenshots in first post will be very useful...
[XPERIA X1 ROM Development] Angelusz:
Oh, they might. But as I stated in said post, the guide assumes people have some experience with computers. If you can't follow those instructions, you just shouldn't be doing to your phone what you plan to.
[XPERIA X1 ROM Development] Ethermind:
:D

I think raphael's kitchen is for the same category of people, but: :rolleyes:

http://xdaforums.com/showthread.php?t=411915

It is rather easy to make mistake or accidental miss one step :cool:

Text mode was popular in MS-DOS age : ) ) )

PS By the way hint me please topic about customizing ROM, HTC ROM Image Editor is very fresh and buggy for XPERIA...
[XPERIA X1 ROM Development] duckylam:
*shrug* breaking computers and phones is part of learning, as is putting them back together again when you do.

Anyway, figured out that I should have Activesync on instead of Disk Drive and the regedit bit, that was the little part I was missing when I didn't get response from pdocread.
[XPERIA X1 ROM Development] Angelusz:
Yeah, but bricking your phone is a bit more harsh than messing up, for instance your windows installation on your pc.

Aye, the registry keys have been re-added yesterday. Also added the instruction to connect through activesync just now, for clarification.
[XPERIA X1 ROM Development] sebbs:
Can anyone check this batch program weather it is correct or not?
[XPERIA X1 ROM Development] gtrab:
Thanks sebbs !!

I tested your script and modified some user info echos and made 2 or 3 small synthaxis corrections

Here's the AUTO BAT file

Somebody could test too ??

:)

EDIT: Still needs debugging

@sebbs could you please check it out ???

.

.
[XPERIA X1 ROM Development] sebbs:
Thanks a lot.

I'm going to translate it into chinese and post it to another forum.

I've already translated this topic, posted to the Sony Ericsson Forum belongs to IT168

Hope it can help them cooking the rom.

It's very slow dumping the ROM.How long does everyone take dumping the ROM?
[XPERIA X1 ROM Development] Angelusz:
Dumping takes time, it's accessing memory that is normally not accessible, meaning you don't get any driver support.
[XPERIA X1 ROM Development] tsponge:
I dont think this has been asked, but Do I have to download the generic Uk rom to get the RUU_signed.nbh file?

I have downloaded the new uk r2a rom, Can I not get it from here?

Please help someone
[XPERIA X1 ROM Development] Angelusz:
That one should work just fine as well. Haven't tried though, so tell me what it ends up like. ;)
[XPERIA X1 ROM Development] tsponge:
O ok. Where do I find the file RUU_signed.nbh? the only one in the X1i_generic_UK_r2a.rar is X1i_generic_UK_r2a.nbh:(
[XPERIA X1 ROM Development] tsponge:
please help someone!!

I want to do a backup but cant download the generic uk rom!

where else can I get the RUU_signed.nbh?
[XPERIA X1 ROM Development] Angelusz:
Search in the stickies.
[XPERIA X1 ROM Development] tsponge:
What is a sticky and what am I searching for?

Sorry I am a noob at this stuff
[XPERIA X1 ROM Development] sebbs:
Generic UK ROM R2A Tested...OK

Generic UK ROM R1A Tested...OK

T-mobile UK ROM R1A Tested...OK

I think all the ROMs are okay.
[XPERIA X1 ROM Development] Angelusz:
I'm sorry, but if you don't even know what a sticky is, and lack the intelligence to find such information by yourself.. I'd almost state that you're not fit to use online forums.
[XPERIA X1 ROM Development] Reversedhex:
Hahaha, thanks for this great quide:)
[XPERIA X1 ROM Development] c_legaspi:
in your list for preparing to back up a rom, why is a stock uk rom or any other rom is needed?

i have an x1a, and i was thinking of backing up my rom and so can i use any rom or some thing close?

what is the purpose of needing the rom to back up my own rom?
[XPERIA X1 ROM Development] Angelusz:
The files are used as a base to start up the kitchen.
[XPERIA X1 ROM Development] c_legaspi:
thanks.

i tried your instructions and it seems everything is good.
[XPERIA X1 ROM Development] tsponge:
its called being lazy not stupid...
[XPERIA X1 ROM Development] drjeram:
works much better now with the reg edited manually :-)

Thanks!
[XPERIA X1 ROM Development] fpotre:
i got this error and i dont know what to do

i have asus p552
[XPERIA X1 ROM Development] arkkr:
Huge Thanks

Thanks a LOTT for the Guide... Had no probs backing up my X1 ROM...

Now to HardSPL and Flash a Custom ROM :D

All you Guys at XDA are awesome... Keep up the excellent work... Will Donate once i get enuf money...
[XPERIA X1 ROM Development] Angelusz:
Looks like you skipped one of the first steps in the guide, Pdocread must install something on your phone to make it work. The registry keys must also be set, as well as sdkcerts.cab installed. Check if you have all that first.

Also check the syntax of the command, I didn't take the time to check it, but can be an issue as well. (although unlikely, seeing the error)

good luck!
[XPERIA X1 ROM Development] vinokirk:
I get to this part:

" - Select the buildos tab.

- Select "load rom" and navigate to your kovskykitchen folder.

- Press ok. "

But i get the msg 'Unable to locate oem or sys folder', before I can even press 'Go'

http://xdaforums.com/showthread.php?t=462926&highlight=error&page=11
[XPERIA X1 ROM Development] Angelusz:
Looks like you've got some bad files.

Download everything again and retry!
[XPERIA X1 ROM Development] vinokirk:
I had to put folders called 'OEM' and 'SYS' in my KovskyKitchen folder.

I wonder why they werent already in there?

Maybe this can be put in the first post as a tip or something?

Now I have another prob, when I press 'go' i get the error

If I press ok the close it and follow the rest of the instructions i get this error:

I have downloaded everything again and started from the beginning but I got the same errors. Anyone had this problem? I'm using Vista.
[XPERIA X1 ROM Development] Angelusz:
Try windows XP then.
[XPERIA X1 ROM Development] vinokirk:
Is there anyone else using the instructions provided who has Windows Vista?
[XPERIA X1 ROM Development] ratchetnclank:
I get this error on windows XP :\
[XPERIA X1 ROM Development] Angelusz:
I don't know what's causing the above problem and thus cannot help you. I suggest you start looking for help at the creators of the kitchen.

You can always use another kitchen if you like.
[XPERIA X1 ROM Development] vinokirk:
Ok I'll have a look, I didnt realise there were other kitchens. I am totally new to this chefing business as you can tell. I dont really want to back up my ROM I just thought this would be a good place to start as there are a good set of instructions.

What I am really aiming to do is to cook my own ROM for personal use.

Ill just keep on reading :)
[XPERIA X1 ROM Development] humble:
Thanks

I'm new to the Sony Ericsson Xperia X1 thread. this is my first stop so just showing some respect. @Angelusz great walkthrough clear and easy to follow
[XPERIA X1 ROM Development] acidfreako:
Hi , I have backup my ROM and reflash it after hours of work.

I find that all of the previous program installed were gone even my outlook contacts(good thing i have it synched to PC), programs, sms .

after flashing the ROM , I just have the UK stock ROM thats all.

What could have gone wrong?:confused:
[XPERIA X1 ROM Development] Angelusz:
Welcome, and you're welcome. ;)

Nothing went wrong. The ROM is not your current installation. The ROM is what installs windows onto your device. (Hence "read only memory".)

So, after a reinstall, everything is "reset".
[XPERIA X1 ROM Development] acidfreako:
Hi , I wanna keep certain programs into a ROM like youtube/total commander, core player and built it as a backup and restore it when I need to.

Is this what backing up a ROM does?

if not wats the difference between backing up a ROM and flashing a different new ROM ?

I am new to windows mobile so please have patience with me :(
[XPERIA X1 ROM Development] Fulgore69:
If you want to make a backup there are specific software for that like sprite backup, and other they can backup all your contacts,sms, setup and software installed, you can make a full backup o partial backup, but none of this software include the rom in the backup archive, as say in the last answer the rom can not be include inside the backup file.....