Jump to content

Easy to create your lite rom like me...


Guest twu2

Recommended Posts

2010/09/24:

new version:

1. fix the registry process in v4. (sorry, the code not always work... and there's a test code there... only process one .rgu file in v4)

i8000lite_v4.1_JH2.zip

2010/09/17:

If you want to change the kernel for the rom, you can following the procedure here (Using I8000NXXJH2 and 23133 CHT XIP/SYS):

1. dump I8000NXXJH2 rom using wes58's romtool.

2. create SYS_23133 folder, and extract 23133 kernel, move files from 23133_COMMON, 23133_COMMON_0404, 23133_WVGA_COMMON, 23133_WVGA_0404 (i8000 is a WVGA device, and CHT is 0404) to SYS_23133 (there might have sub folder under above folder, make sure the SYS_23133 structure like SYS folder), like :

post-609730-1284696181_thumb.jpg

3. create XIPtools\XIP_23133 folder, move files from 23133_XIP like this:

post-609730-1284696361_thumb.jpg

4. delete OEM\OEM_Lang_0409 folder, and copy OEM\OEM_Lang_0404 from I8000HZHJC2), like:

post-609730-1284696428_thumb.jpg

5. delete SYS_23133\SIM_TKit (this exist in OEM\OEMDrivers folder)

6. in wes58's romtool, choose SYS to use SYS_23133, then choose Port XIP/Delete Modules and Adjust Size of XIP, like this:

post-609730-1284696528_thumb.jpg

7. Click Run, then you should get a rom with new language and new kernel.

Sometimes, there might have duplicate files in OEM\OEMApps and OEM\OEM_Lang_xxxx (Samsung put the file to different folder for different language), you need to delete one of them, to avoid the error in BuildOS.

If you need the lite version for this rom, you need some extra steps between step 5 and step 6, like this:

5.1 extract i8000lite_v2_JH2_CHT.zip, there's i8000lite.php and LITE folder like this:

post-609730-1284696745_thumb.jpg

post-609730-1284696755_thumb.jpg

5.2 move LITE\zzzzzMyMods to OEM folder (you may need to change the setting in .rgu for different language), like this:

post-609730-1284696764_thumb.jpg

5.3 edit LITE\lang.txt, change to 0409 and 0404 (the mix language you choose).

5.4 execute the commnad:

php -Cq i8000lite.php kernel=23133

then go back to step 6 to build the rom, you should get the lite rom.

====================================

2010/09/16 update:

new version.

1. support different kernel, you can assign kernel=xxxxx when execute the script, it will process SYS_xxxxx

2. you can add more language in LITE\lang.txt if you mix different language rom files.

3. fixed some issue when processing chinese registry file.

4. loading deleted files from LITE\OEM\*.txt also, so you can just leave LITE\deleted_files.txt for such files not exists in any OEM packages only.

====================================

# new version here: http://www.modaco.com/index.php?sho...t&p=1243716

It's very easy, just following this documentation step by step:

0. get php win32 binary from here: http://windows.php.net/download/ and install it to c:\php\

1. get sorg's dskdump.exe from here: http://www.modaco.com/content/i8000-verizo...60/dskdump-2-0/

2. flash the official rom and choose the language you need, then use dskdump.exe to dump the rom to rom_dump.bin

3. get wes58's romtool from here: http://www.modaco.com/content/i8000-omnia-...ld-application/

4. copy _Template folder to I8000NXXJD1, and follow wes58's documentation, copy and change the file we need for LZX compression.

5. put rom_dump.bin to I8000NXXJD1 folder, like this:

post-609730-1271145386_thumb.png

6. execute romtool.exe, choose 'Dump PDA (.nb0, .nb, .bin file)', and click the 'Select File' button to choose the rom_dump.bin, then check the option like this:

post-609730-1271145392_thumb.png

then click 'Run' button, wait for a few minutes, you will get a result like this:

post-609730-1271145402_thumb.png

7. then choose 'Setting', click 'Start ExtReloc' button like:

post-609730-1271145409_thumb.png

8. change to 'Optoins' tab in ExtReloc, then change the option and like this:

post-609730-1271145415_thumb.png

then click 'Save Options', then exit ExtReloc program.

9. extract files (include folder) from i8000lite.zip, you should get the environment like:

post-609730-1271145424_thumb.png

post-609730-1271145432_thumb.png

post-609730-1271145439_thumb.png

10. open a command prompt, change to the I8000NXXJD1 folder, make sure the php command work fine for 'c:\php\php.exe -v', then execute 'c:\php\php.exe -Cq i8000lite.php' like this:

post-609730-1271145448_thumb.png

the result will like this:

post-609730-1271145455_thumb.png

the script will move files we don't want to deleted folder like:

post-609730-1271145464_thumb.png

11. you can do some fine tune here, to delete some other files, change some registry, add some program.... (change the setting in zzzzMyMods folder, it's for English, some might change in different langaue)

12. return to romtool.exe, choose 'Build PDA (.nb0 file) tab, and Click the '...' button after 'Work Folder' to choose the our work folder (I8000NXXJD1, yes you need to choose it again, even it's already this folder), change the PDA version to what you like, and click the option like this (also change the pagepool size to what you want):

post-609730-1271145471_thumb.png

13. click 'Run', it will pop-up BuildOS like this:

post-609730-1271145477_thumb.png

14. click the green execute button, and wait for a few minutes, it should like this:

post-609730-1271145486_thumb.png

15. before you close BuildOS, here is the final stage if you still need to modify some files or some setting, just do it in 'temp\dump' folder....

16. close BuildOS program, it will pop-up ExtReloc like this:

post-609730-1271145493_thumb.png

17. then just wait... maybe 5-10 minutes depend on you computer speed... you should get the result like this:

post-609730-1271145500_thumb.png

18. then check the 'Finished ROM' folder, you should get the lite ROM here:

post-609730-1271145508_thumb.png

19. flash it and test it...

for cabs... there's no easy way or script to do it, you need to use 'WinCE Cab Manager' to create it or modify the one I created.

here is the file include the script, setting, and zzzzzMyMods OEM.

i8000lite_eng.zip

PS. please delete the following line in deleted_files.txt, if you remove this, and forget to put a new file (4 row menu) for this, you can't see the start menu after flash the rom:

StartMenu_GridScene_480x800.cpr

StartMenu_GridScene_800x480.cpr

Edited by twu2
Link to comment
Share on other sites

Guest sinancetinkaya

A great job from twu2 again as always

I'm using my own script like stuff. But, yours is a lot better and easier

Edited by sinancetinkaya
Link to comment
Share on other sites

Guest NewForce

twu2,

You're the man!

With your very detailing rom cooking tutotial, think lots of ppl with different need can cook their rom.

I personally thank you very much. ;)

Link to comment
Share on other sites

even someone don't like lite rom... I still suggest he to build his rom use wes58's romtool again.

Just choose LZX compression, in a full rom, it still can get 20%-30% space for device.

Link to comment
Share on other sites

Guest Gary Crutcher

Nice description twu2!

Thanks for doing this for the community.

I'm sure it will help a lot of people to understand what cooks go through when they cook roms.

post-557795-1271155175_thumb.jpg

Link to comment
Share on other sites

Guest pcfrnd
even someone don't like lite rom... I still suggest he to build his rom use wes58's romtool again.

Just choose LZX compression, in a full rom, it still can get 20%-30% space for device.

twue,

could you pls attach the explanation pics in a zip file? as i can not see them well. also rename each pic by the step number which is relating to it. ;)

thanks in advance

Link to comment
Share on other sites

here is the new version for my i8000lite.php script. it can move the deleted files to OEM folder as a OEM package now, so you can choose any package you need to build the rom.

i8000lite_v2_eng.zip

I change the folder structure in this file, the OEM\zzzzzMyMods will be deleted when you dump the rom_dump.bin file, so I move it to under LITE folder, and you need to copy it to OEM folder, so the setting and files will apply to your rom.

same procedure as before, the only different is:

post-609730-1271215678_thumb.png

yes, you can select any package in BuildOS now.

The template (under LITE\OEM\ folder) is based on JD1 version, it should work for other version too.

This script will try to move some .mui also, so it might have some extra .mui files in the OEM\zzzOEM_xxxxxx folder, you can clean it as your need.

Link to comment
Share on other sites

Guest kaizer hanz
here is the new version for my i8000lite.php script. it can move the deleted files to OEM folder as a OEM package now, so you can choose any package you need to build the rom.

i8000lite_v2_eng.zip

I change the folder structure in this file, the OEM\zzzzzMyMods will be deleted when you dump the rom_dump.bin file, so I move it to under LITE folder, and you need to copy it to OEM folder, so the setting and files will apply to your rom.

same procedure as before, the only different is:

post-609730-1271215678_thumb.png

yes, you can select any package in BuildOS now.

The template (under LITE\OEM\ folder) is based on JD1 version, it should work for other version too.

This script will try to move some .mui also, so it might have some extra .mui files in the OEM\zzzOEM_xxxxxx folder, you can clean it as your need.

thx again... ;)

Link to comment
Share on other sites

Guest kydkylin

Thx a lot for the updating!!!

Will try it soon!!! ;)

Edit:Finished making a rom with everything I want!!!Works like a charm!!!Thx twu2 again!!!

Report1:The shortcuts of some OEM programs which I chose to be reserved in the rom(e.g FMradio) dosen't appear in start menu.Just can find them in windows folder.

Anyway,I can live with it.Just enter the windows folder , make and send their shotcuts to start menu.

Edited by kydkylin
Link to comment
Share on other sites

Report1:The shortcuts of some OEM programs which I chose to be reserved in the rom(e.g FMradio) dosen't appear in start menu.Just can find them in windows folder.

I saw someone complain this for other rom... does it also miss in a official rom? (I forget it... and in my lite rom, it's removed...)

I check the .provxml file, it include in mxipcold_zzzOEM_001.provxml (also a lots of shortcut setting in this file):

	<characteristic type="%CE11%\FM Radio.lnk" translation="install">

	  <characteristic type="Shortcut" >

		<parm name="Source" value="\Windows\fmradio.lnk" translation="install"/>

		<parm name="RemoveAttributes" value="H" />

	  </characteristic>

	</characteristic>

you can try to add this to the provxml in zzzzzMyMods also.

Link to comment
Share on other sites

Guest InvalidCast

i don't have the time to test it before a few weeks, but it's exactly what i was waiting for to give a try to rom creation: an easy, well explain and flexible way to create roms

a very big thanks!

Link to comment
Share on other sites

Guest kydkylin
I saw someone complain this for other rom... does it also miss in a official rom? (I forget it... and in my lite rom, it's removed...)

I check the .provxml file, it include in mxipcold_zzzOEM_001.provxml (also a lots of shortcut setting in this file):

	<characteristic type="%CE11%\FM Radio.lnk" translation="install">

	  <characteristic type="Shortcut" >

		<parm name="Source" value="\Windows\fmradio.lnk" translation="install"/>

		<parm name="RemoveAttributes" value="H" />

	  </characteristic>

	</characteristic>

you can try to add this to the provxml in zzzzzMyMods also.

Thx for your fast reply!!!

I'll try it in the next rom.

Anyway,it's not even a problem at all.Creating the shotcuts and sending them to start menu is so easy with Resco Explorer!

Millions of thx to you!!! ;)

Edited by kydkylin
Link to comment
Share on other sites

Guest thegunners
Well,I haven't tried this.Only thought it's just a modified version for Italian WM, making the Italian storage card's name 'scheda memoria' be available.

yup, not work for my storage also...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.