[P3400 ROM Development] krazy_about_technology:
The Step By Step Guide

The Step By Step Guide

CAUTION: DO NOT UPDATE ROM OF A PHONE THAT IS SIM LOCKED. THE RESULTS ARE UNKNOWN BUT MOST OF THE TIMES IT PREVENTS YOU FROM USING THE PHONE ANY FURTHUR!!

If you like to backup your existing rom first, follow this guide by Ankit360 to do it : http://xdaforums.com/showpost.php?p=3215838&postcount=20

Step 1: Download the Tools

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

Download the tools zip file from here:

http://www.4shared.com/file/81084740/fa599d63/SPL_Unlocking_Tools.html

Its a self extracting file, just start it and give a path and it will unzip all the files in your chosen folder. Inside the extracted folder you will find these things:

1. SPL Updater : Inside it there are 2 folders, Olipro and Orefkov. These contain the two SPL patchers that we need to use.

2. ROM Update Utility : This contains the ROM update utility we will need to flash a ROM. Unzip it into a folder.

3. USBDriver4ActiveSyncVista : This contains a special driver for Windows Mobile Device Center in Vista that you need to use to successfully update your ROM. Unzip it in a folder too.

4. Download a ROM appropriate for your device: Which one is appropriate, you'll only know after updating your SPL. So do this step after that. But in any case, here is a link to a good ROM, created by me, which is available for both new and old gene:

Sumit's Pro Users ROM (WM 6.1, for new and old gene)

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

Step 2: Preparing your phone

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

1. Copy the file gene_hspl.exe from the SPL Updater\Olipro folder that you got in step 1 to the phone memory.

2. First, on your phone, Go to Start > Settings > Connections > USB to PC. Here, uncheck the checkbox : enable advance nerwork functionality. Click OK. Disconnect and Reconnect the USB cable to your pc.

Step 3: Prepare your Computer (Please pay attention, this is crucial!)

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

XP Users

----------

There is not much you need to do. Just open task manager and kill the Active Sync executable from the processes tab. Its named as wcescomm.exe.

Vista/Windows 7 Users

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

You need to take these steps :

1. Go to desktop, right click Computer, and select Manage. Go to Device Manager. Now under the section Mobile Devices, Double Click : Smartphone USB Sync.

2. On the Drivers tab, click "Update Driver..." button. On next screen click : "Browse my computer for driver software".

3. Click : "Let me pick from a list of device drivers on my computers". Click "Have Disk.." on next screen. Click "Browse..." and go to the folder extracted in step 1. There, go to USBDriverforActiveSyncVista folder. Here select the file "wceusbsh.inf" and click OK.

4. Click Next and finish the wizard.

NOte : YOU NEED TO DO THIS TO SEE THE "USB" BUTTON IN MTTY WINDOW IN LATER STEPS. DONT SKIP IT!

Step 4: Use the Olipro method first.

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

Open File manager on your phone. Go to the location on phone memory where you saved gene_hspl.exe. Tap on it to run it. Your phone will restart after a short pause.

Now there are two chances :

a) If its done alright, you'll see SPL 1.10.Olip on your boot screen and your phone will boot just fine. And it confirms that you have an old gene. You do not need to do Step5. Proceed to Step 6.

b) If it doesn't boots, and only green and red keys blink, Don't worry. Your phone is bricked but you'll get it back using orefkov's method in a minute. Proceed to next step. And this confirms that you have a new gene.

Step 5: Use the Orefkov Unlocker

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

1. Remove the battery, SIM card and SD Card of your phone and press the Power key for 20 seconds to draw out any residual power from the phone.

2. Replace the battery but not the SIM and SD card, and don't start the phone yet. Press and hold the Camera button and then press the Power button or Soft Reset button. Phone will come to boot loader mode (tricolor screen) and SPL 1.10.Olip will be displayed.

3. Connect the USB cable. The text USB will appear on the bottom of the screen.

4. On PC, go to the folder Orefkov in the folder extracted in step 1 and run the Mtty1_42.exe. Press the button "USB" in the window that opened.

5. In the window that opened, type the following command (don't use copy paste please) and press enter:

set 32 1

You'll see a response from phone.

6. Type the following command BUT DON'T PRESS ENTER YET:

ls boot.bin

Note : that is small L and small s in that command, dont mistake it with I.

Now, hold down the Camera button on phone, and press the enter key on computer. After a while, the screen will become White. Continue pressing the Camera button for 10 more seconds.

7. Now release the camera button, close the MTTY program and run ROMUpdateUtility.exe in the same folder, not the one outside it. That one is for RAM flashing that we will use later. Check the boxes in each step and click Next Next and then at last Update. Let it finish the process. Your phone will restart.

8. Now on the splash screen you'll see the info with updated SPL version. The version of SPL will be 1.07.Oref.

Congrats! you have successfully patched your SPL.

Step 6: Flash the ROM

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

Now let the phone boot once and then shutdown it. Insert your SIM card, but not the SD card. Go to the PC and copy the ROM file (it must be names RUU_Signed.nbh. Rename it if it has some other name.) into the ROM Update Utility folder that is outside the Orefkov and SPL Patcher folder.

Now press and hold the camera button and start your phone to go into the Boot loader mode once again.

Now Run the RomUpdateUtility.exe and follow her instructions. Please make sure that you are not running RomUpdateUtility inside the Orefkov folder in SPL Updater folder. You must use the one outside, in the RomUpdateUtility folder. Your phone will automatically go into bootloader mode and a progress bar will be displayed on both phone and PC. Once it completes, your phone will restart again and you'll get the phone with the brand new ROM.

Step 7 : Set your PC and Phone back to normal

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

This step is only needed in case you are using Vista.

The driver we updated in Vista will not work for normal active sync operation. So you'll need to set it back to the original version. There are two ways to do that. Either, uninstall and reinstall the Windows Mobile Device Center Or Follow the same procedure gicen in Step 3 but instead on clicking the "Have Disk button", choose the driver from the list already given.

The driver that you need to install can be identified by have a newer version given in front of its name. Also, the newer driver's name includes "Microsoft Corporation" while the older one has only "Microsoft".

You can Put back your SD card now.

On your phone, again go to the Start > Settings > Connections > USB and check the checkbox there and click OK.

That's it! You are Done. :)