Jump to content


Photo

Easy to create your lite rom like me...

* * * * * 3 votes

  • Please log in to reply
342 replies to this topic

#1
twu2

twu2

    Diehard

  • Members
  • PipPipPipPip
  • 353 posts
  • Devices:Samsung i8000
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)

Attached File  i8000lite_v4.1_JH2.zip   58.8KB   1190 downloads

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 :
Attached File  i8000_change_kernel_p1.jpg   151.82KB   1233 downloads
3. create XIPtools\XIP_23133 folder, move files from 23133_XIP like this:
Attached File  i8000_change_kernel_p2.jpg   92.85KB   651 downloads
4. delete OEM\OEM_Lang_0409 folder, and copy OEM\OEM_Lang_0404 from I8000HZHJC2), like:
Attached File  i8000_change_kernel_p3.jpg   113.11KB   536 downloads
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:
Attached File  i8000_change_kernel_p4.jpg   126.6KB   830 downloads
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:
Attached File  i8000_change_kernel_p5.jpg   132.77KB   469 downloads
Attached File  i8000_change_kernel_p6.jpg   97.22KB   342 downloads
5.2 move LITE\zzzzzMyMods to OEM folder (you may need to change the setting in .rgu for different language), like this:
Attached File  i8000_change_kernel_p7.jpg   130.84KB   420 downloads
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.co...o...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.co...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.co...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:
Attached File  step0.png   85.64KB   3337 downloads
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:
Attached File  step1.png   34.2KB   2122 downloads
then click 'Run' button, wait for a few minutes, you will get a result like this:
Attached File  step1_1.png   47.04KB   1694 downloads
7. then choose 'Setting', click 'Start ExtReloc' button like:
Attached File  step2.png   42.81KB   2084 downloads
8. change to 'Optoins' tab in ExtReloc, then change the option and like this:
Attached File  step2_1.png   68.04KB   2280 downloads
then click 'Save Options', then exit ExtReloc program.
9. extract files (include folder) from i8000lite.zip, you should get the environment like:
Attached File  step3.png   138.6KB   2469 downloads
Attached File  step3_1.png   131.37KB   1595 downloads
Attached File  step3_2.png   137.52KB   1463 downloads
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:
Attached File  step4.png   60.29KB   1404 downloads
the result will like this:
Attached File  step4_1.png   82.65KB   1105 downloads
the script will move files we don't want to deleted folder like:
Attached File  step4_2.png   124.09KB   1460 downloads
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):
Attached File  step5.png   44.05KB   1370 downloads
13. click 'Run', it will pop-up BuildOS like this:
Attached File  step5_1.png   32.95KB   421 downloads
14. click the green execute button, and wait for a few minutes, it should like this:
Attached File  step5_2.png   31.14KB   322 downloads
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:
Attached File  step5_3.png   96.13KB   965 downloads
17. then just wait... maybe 5-10 minutes depend on you computer speed... you should get the result like this:
Attached File  step5_4.png   39.4KB   747 downloads
18. then check the 'Finished ROM' folder, you should get the lite ROM here:
Attached File  step6.png   116.85KB   672 downloads
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.
Attached File  i8000lite_eng.zip   27.46KB   1239 downloads

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, 24 September 2010 - 02:22 AM.

  • 0

#2
duongthang

duongthang

    Newbie

  • Members
  • Pip
  • 46 posts
thank you ;) for share

Edited by duongthang, 19 April 2010 - 02:32 PM.

  • 0

#3
kaizer hanz

kaizer hanz

    Regular

  • Members
  • PipPip
  • 112 posts
  • Location:Anyer Bandung and Jakarta
  • Devices:Samsung Omnia II (GT-I8000)
  • Twitter:@kaizer_hanz
Great...!!! this is what i'm waiting for... thx twu2

once again thank you so much... ;) ;) ;)

  • 0

SAMSUNG OMNIA 2 ROM : |WWE|¸¸.·´¯`·.¸¸.- Energy -.¸¸.·´¯ | ROM
HTC HD2 TMOUS ROM : |WWE|¸¸.·´¯`·.¸¸.- Energy -.¸¸.·´¯ | ROM
HTC HD2 TMOUS Android ROM : [BUILD][20.09.2010][DesireHD - Beta 2][Kernel: darkstone]
Posted Image


#4
pcfrnd

pcfrnd

    Newbie

  • Members
  • Pip
  • 42 posts
great work, thanks twu2 ;) ;) :P

no boubt it is really helpfull and supportive when, u r willing to prepare ur own. ;)

  • 0

#5
sinancetinkaya

sinancetinkaya

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Location:izmir, Turkey
  • Devices:i8000
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, 13 April 2010 - 10:04 AM.

  • 0

#6
NewForce

NewForce

    Diehard

  • Members
  • PipPipPipPip
  • 379 posts
  • Gender:Male
  • Location:Singapore
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. ;)

  • 0
sent from my Samsung Galaxy TAB

#7
kydkylin

kydkylin

    Diehard

  • Members
  • PipPipPipPip
  • 443 posts
  • Devices:i8000
Thx twu2!!!!

  • 0










#8
twu2

twu2

    Diehard

  • Members
  • PipPipPipPip
  • 353 posts
  • Devices:Samsung i8000
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.

  • 0

#9
Ceco

Ceco

    Regular

  • Members
  • PipPip
  • 129 posts
  • Devices:i8000
Thank you for sharing twu2 ;)

  • 0

#10
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III
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.

Attached File  thumbsup.jpg   14.27KB   29 downloads

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#11
pcfrnd

pcfrnd

    Newbie

  • Members
  • Pip
  • 42 posts

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

  • 0

#12
twu2

twu2

    Diehard

  • Members
  • PipPipPipPip
  • 353 posts
  • Devices:Samsung i8000
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.

Attached File  i8000lite_v2_eng.zip   46.36KB   718 downloads

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:
Attached File  buildos_oem.png   65.44KB   1111 downloads
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.

  • 0

#13
kaizer hanz

kaizer hanz

    Regular

  • Members
  • PipPip
  • 112 posts
  • Location:Anyer Bandung and Jakarta
  • Devices:Samsung Omnia II (GT-I8000)
  • Twitter:@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.

Attached File  i8000lite_v2_eng.zip   46.36KB   718 downloads

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:
Attached File  buildos_oem.png   65.44KB   1111 downloads
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... ;)

  • 0

SAMSUNG OMNIA 2 ROM : |WWE|¸¸.·´¯`·.¸¸.- Energy -.¸¸.·´¯ | ROM
HTC HD2 TMOUS ROM : |WWE|¸¸.·´¯`·.¸¸.- Energy -.¸¸.·´¯ | ROM
HTC HD2 TMOUS Android ROM : [BUILD][20.09.2010][DesireHD - Beta 2][Kernel: darkstone]
Posted Image


#14
twu2

twu2

    Diehard

  • Members
  • PipPipPipPip
  • 353 posts
  • Devices:Samsung i8000

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

you can see the picture here:
http://www.mobile01....p;last=18781002
or
http://www.kingmobi....p...tra=&page=1

  • 0

#15
kydkylin

kydkylin

    Diehard

  • Members
  • PipPipPipPip
  • 443 posts
  • Devices:i8000
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, 14 April 2010 - 05:40 AM.

  • 0










#16
twu2

twu2

    Diehard

  • Members
  • PipPipPipPip
  • 353 posts
  • Devices:Samsung i8000

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.

  • 0

#17
InvalidCast

InvalidCast

    Regular

  • Members
  • PipPip
  • 128 posts
  • Gender:Male
  • Devices:I900
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!

  • 0

#18
kydkylin

kydkylin

    Diehard

  • Members
  • PipPipPipPip
  • 443 posts
  • Devices:i8000

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, 14 April 2010 - 06:11 AM.

  • 0










#19
thegunners

thegunners

    Enthusiast

  • Members
  • PipPipPip
  • 159 posts
  • Location:Indonesia
  • Devices:OMNIA II
can we dump the rom to Internal Storage (my storage), instead of SD Card ? ;)

  • 0

#20
twu2

twu2

    Diehard

  • Members
  • PipPipPipPip
  • 353 posts
  • Devices:Samsung i8000
yes, there's a mod version of dskdump.exe can do this.
http://www.modaco.co...0/#entry1118106

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users