[Upgrading, Modifying and Unlocking] jackleung:
Before I write this tutorial, I would like to special thanks the following people:

1. Mamaich from Xda-developers for the build image tools

2. Sorg for starting the P525 hacking project and bring a lots tools to P525

3. Ingvarr for his P525RomTool for decrypting and calculating the ROM checksum

**** Warning, you could ruin yr device by doing the following. No one except yourself have to take the full responsibility if anything goes wrong ********

***** Section 1: obtain the imgfs_raw_data.bin from the rom *****

1. create nb0 file from CAP file by "P525RomTool.exe -d galaxy.cap"

2. create the imgfs_raw_data.bin file by "prepare_imgfs.exe ROMGalaxy.NB0 -nosplit"

3. Then modify the content by method 2a or 2b

***** Section 2a (Modify Rom content by Add/Remove files) ******

This method is very easy and relative low risk

1. Remove files in the Rom by "Delfile.exe <file name in the rom>"

2. Add files to the Rom by "Addfile.exe <file in yr computer>" (If the program crash, the rom is probably full)

***** Section 2b (Modify Rom content by extract and re-package) *****

More complicate and BuildImgfs.exe take a long time to build a package (Highly recommand to create a 256mb Ramdisk http://users.compaqnet.be/cn021945/RAMDisk/ramdiskfree.htm and work yr files over there to speed things up and reduce disk i/o). And BuildImgfs.exe probably have quite serious memory leak and cause the computer run slower everytime you run it. But this method is more flexable and manageable.

1. extract the content by "viewimgfs.exe imgfs_raw_data.bin"

2. add/replace/remove files in the dump directory

3. package the content back to imgfs_raw_data.bin by "BuildImgfs.exe" (take a shower then come back )

****** Section 3 (optional: Modify the registy content of the Rom file) ******

1. Get the default.hv and user.hv from 2b.1

2. do the following in DOS to convert the registry to readable format :

REM ****************************

SET _FLATRELEASEDIR=.

rgucomp -o default.hv -nologo > wwedefault.txt

rgucomp -o user.hv -nologo > wweuser.txt

REM ****************************

3. Add "REGEDIT4" in the beginning of the files, leave a blank line at the end of the file and save the file as UTF-16 or Unicode format.

4. Edit the files for registry setting

5. Do the following to replace the registy file w/ yr modification

REM *** Registry ****

Delfile.exe default.hv

Delfile.exe user.hv

attrib -h -s -r *.hv

SET _FLATRELEASEDIR=.

copy /y wwedefault.txt boot.rgu

RGUCOMP -b

copy /y boot.hv default.hv

Addfile.exe default.hv

copy /y wweuser.txt boot.rgu

RGUCOMP -b

copy /y boot.hv user.hv

Addfile.exe user.hv

REM *** Registry ****

******** Section 4 (Optional: Create Folders or copy files from \Windows to other directory)

1. Get the initflashfiles.dat from 2b.1

2. Study the sytnax (quite easy to understand) and modify it

3. Replace the file by

REM *** Configure the folder ****

Delfile.exe initflashfiles.dat

Addfile.exe initflashfiles.dat

******* Section 5 Convert imgfs_raw_data.bin to ROMGalaxy.NB0***************

1. Do the following to convert the file and update it's checksum

REM *** checksum ****

make_imgfs.exe ROMGalaxy.NB0 -nosplit

P525RomTool.exe -s ROMGalaxy.NB0

2. Copy the ROMGalaxy.NB0 and ASUS.UnlockLangID.exe to a newly FORMATED MiniSD.

3. Run the ASUS.UnlockLangID.exe on the P525, press and hold the "Camera" button and reset. And the update proceduce will begin.

***** Section 6 (Partly Tested) *************************

1. Rom from different language leave you different usable rom space. e.g WWE: ~73mb, HK & TW: ~58mb.

2. Therefore, imgfs_raw_data.bin from different language vary in size and give you different space to put yr files.

3. So, if you want more space to put in yr custom files for WWE rom. Do 2b.1 to extract the content and replace the bin and nb0 file w/ HK or TW's one before you do 2b.3. This gives you ~10mb more to put in yr custom file. (Tested. But must use 3.43 TW/HK for 3.43 WWE version, use w/ previous version, e.g Sorg's beta6, will have problem)

4. To have most usable Rom space w/ HK or TW rom, we could try the opposite of 3. (not tested)

***** Section 7 (NEW) Rom size adjustment *************************

The site is in Chinese and I am too lazy to translate. The tools posted there can adjust Rom size of P525

http://pdaclan.com/thread-3036-1-1.html

************* Download the tools here: http://rapidshare.com/files/23108941/asus.rar.html *********************