ROM Editing...Is this correct?? Please READ!!! - MDA III, XDA III, PDA2k, 9090 Software Upgrading

I am trying to modify a ROM for my BA with the use of imgfs tools I downloaded from buzzdev.. This is what I did... (hope someone here could comment if this is correct) I have not tried flashing any of my modified ROM coz i dont still have my BA with me, mabe this 3rd week of sept I will have it in my hands!!! LOL
Here's how:
1.) I tried helmi v1.3 (I converted nk.nbf to nk.nba with the use of nba converter)
2.) Prepare_imgfs nk.nba
3.) viewimgfs imgfs_raw_data.bin
4.) modified the dump directory (added the wm5torage, pocketrar, taskmanager v1.4.4)
5.) edit the initflasfiles.dat with the use Notepad (deleted the 2byte signature with the use of ULtraEdit)
6.) I also edit the default.hv with the use of rgucomp (I dont know if i made it correctly) to include the registry entries of WM5torage) (Well I succesfully convert it to rgu, edit it with the use of UltraEdit save it as unicode and I managed to convert it to .hv file successfully without any errors)
7.) Buildimgfs
8.) make_imgfs nk.nba
Is this a correct way of modifying the ROM? If not, how? I read alot of posts here (xda and buzzdev) on how to modify a ROM with use of imgfs tools and this is how I understood it... hehehe
Is the rom i made workable? Thanks hope soomeone here could help me!!! by the way here is the attached rgu and hv file i modified!!

I might suggest trying the Bepe ROM Kitchen.. quite a bit easier

Yeah its easier>>!!
I tried the method you said..But for me this is simplier... So based on your own understanding, is that correct? I know you have done modifying a lot of roms already....
Thanks
So anybody here could give some more opinions>>>Pls

Anyone?
Anyone???

It seems OK the way you did.
I did the same way as you when I used XdaII or Himalaya.
I edited BA ROM this way too.
One thing to tell you is that you will not know that it works or not until you flash it in your device.
The file you add may overload the space if you don't delete some files you don't use.
I delete transcriber because I don't use it and will have about 500 KB for adding some files I want.
Flash it and you will know the answer yourself.
8)

Thanks
Thank vivi.. Yeah I did, i deleted some of the files in the rom (which I donot use at all) to have some space for my additional files... btw, I read about boot.hv (like on the other method) do I need it also in this method? Or is it included in the default.hv?

I left boot.hv in dump folder and didn't touch it.
I edited only default.hv and initflashfiles.dat.
But it is a long time not doing.I nearly forget the steps to do.
I think Helmi ROM is OK and I use it as it is.

OOOH
I dont see any boot.hv in the dump directory? Did i mess somthing?
Yup It seems that Helmi ROMs are great..Thanks again

Related

BA Localization (trying import to new ROM)

I just browsing 'round and i tried to make new rom with localised modules and dlls dumped from wizard (QTEK 9100). The problem is that i dont understand what to do with it.
ALL I WANT IS THEORETICAL INSTRUCTIONS HOW TO INTEGRATE THAT FILES
I've just tried to delete all files *0409* from dump of helmi's AKU 3.2 (1.3.2) rom and copy all *0405* files to this rom and make it, but there are several errors and i dont want to waste time.
Can anyone get me theorethical instructions how to make localised image if i have ORIGINAL LOCALIZED WIZARD ROM?
This is the CZECH LANGUAGE ROM original from T-MOBILE v. 2.21...
I just want to get localised modules and libraries from WIZARD to HELMI_C ROM.
Is this possible?
Thanx for the replies
Nobody knows?
Nobody can help? I wanna to make ROM and upload it to FTP, so it will be available for all (probably useful only for czech, but learn possibility for everyone)
It should not that hard if u hv a min AKU2.0 localization (mui etc)..
Quick tutorial (in hurry, hopes someday I'll post a more complete tutorial on this topic)
1. dump the rom.
2. delete all english mui in rom (xxx.0409.mui) (delfile xxx.0409.mui or delete it from dump dir)
3. add ur localitazion (addfile xxx.xxxx.mui or just copy to dump dir)
4. delete initflashfiles.dat in rom (at cmd prompt delfile initflashfiles.dat or delete it from dump dir)
5. add ur localization initflashfiles.dat (at cmd prompt addfile initflashfiles.dat or just copy to dump dir, remember to strip the 2 byte at the header file if u modify this file)
6. delete default.hv in rom (at cmd prompt delfile default.hv or delete it from dump dir)
7. modify default.hv at value (at cmd prompt type hv2txt default.hv to convert to default.txt file):
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\Qwerty]
"Layout"=dword:xxxxx
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layout]
"Active"="00000xxxx"
[HKEY_LOCAL_MACHINE\MUI]
"CurLang"=dword:xxxx
"SysLang"=dword:xxxx
[HKEY_LOCAL_MACHINE\nls]
"SystemLCID"=dword:xxxx
"DefaultLCID"=dword:xxxx
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Transcriber]
"ResFile"="TraRes0409.dll"
"RecFile"="TraRecoEnu.dll"
xxxx= ur localization code 0409 for english, 0407 for german, etc.
8. save modified default.txt as boot.rgu with unicode format (better use notepad) and run make_boot_hv to create boot.hv and rename it (boot.hv) to default.hv then add to rom (addfile default.hv or just copy to dump dir) note, u might need to modify the user.hv also for the name of the notification.
9. built the rom (make_imagefs nk.nba or builtimgfs.exe and make_imagefs nk.nba if u use dump dir then nk2nbf ).
10. Done.
hopes it'll helps, reminds me if I forgoten something...
Thank you Helmi for answer, really great tut.. Have a nice day.
--EDIT: Oh sorry for that below just lack of the internet connection :-\

Extracting CABs from a ROM

Anyone on here know how to Extract a CAB file from a ROM/Extended ROM? ive been trying to find something about this on here and cant seem to find anything that pertains to it. there are several programs that are included in roms and extended roms that i have and i wold like to be able to put them on my 8125 with the ROM i have now. Thanks in Advance!
Corey
If you already have a cabfile that resides in the extended rom the process is quite easy... just use total commander and copy the file from there to a place on your device where you can later use it...
If you don't have a cabfile but just a program, say arcsoft mms composer that's already integrated into the rom, the process gets a little more complicated, but not impossible. You will, however, need to know all the files that the program uses, dll's, imagefiles, exe's and registry posts, copy them from rom to your windows pc and from there use a program like ce cab manager to create a cabfile for it (if you want. you can merely transer all the files and registry posts to your current rom without creating a cab)
_Nomad_ said:
If you already have a cabfile that resides in the extended rom the process is quite easy... just use total commander and copy the file from there to a place on your device where you can later use it...
If you don't have a cabfile but just a program, say arcsoft mms composer that's already integrated into the rom, the process gets a little more complicated, but not impossible. You will, however, need to know all the files that the program uses, dll's, imagefiles, exe's and registry posts, copy them from rom to your windows pc and from there use a program like ce cab manager to create a cabfile for it.
Click to expand...
Click to collapse
cool, thanks for the info, what program do i need to use to unpack the NBF so i can access the files? I tried to use the one in the wiki (typho5) but i cant seem to get it to work.
for dumping rom's read through this thread
You'll probably want to read it all and I'm sure that it wont make that much sense to begin with but it'll come to you
For converting a nbf to nb files use:
Code:
typho5.exe -x nk.nbf
typho5.exe -x nk.nbf does NOT make it a .nba file!
It extracts the contents of the rom (OS, Extended Rom, Radio, Splash Screen, IPL/SPL) into .nb files.
The Extended Rom file can be opened with WinImage.
Molski
Thanks...i just checked out that thread..looks like ive got some studying ahead of me lol thanks for the help.
thanks Molski, you must have posted that just after i read the post above yours lol. thanks for the info i have another question for you here though. http://forum.xda-developers.com/showthread.php?t=291847 As smart as you guys are im sure theres a reason you havent done it though

Building Wizard ROMs with mamaich tools

I had posted this to the mamaich's thread. posting here as well since it is wizard specific:
I've been trying to use the tools for building an HTC wizard ROM. Now, before starting out on any modifications, I simply tried to break apart and rebuild it. So, I extracted a ROM using typhoondecode_v5, then followed this:
1. prepare_imgfs.exe OS.nb -nosplit
2. viewimgfs.exe imgfs_raw_data.bin
3. BuildImgfs.exe
But then my imgfs_raw_data.bin is not rebuilt and stays at its original self. The buildimgfs tool does not give me an error, however the last 3 lines of its output reas something like :
total sectors: 0000
used: <some number>
free: <some number>
I searched the forums but couldn't find an answer. Saw a couple of posts having the same prob but no answer. Since I havent done any modifications to the ROM and have tried with both AKU2.3 and AKU 3.3 (and custom ROMs as well as official Qtek ROMs), the ROM that i am using is also not an issue.
Now, since there are so many custom wizard ROMs out there and ppl swear by mamaich's tools so there must be a solution. Please help me out or let me know if there is no way out and I ve to use some other way to make ROMs, i also found bepe's kitchen post but couldn't find how to use it for wizard..
Thanks in advance.
for the wizard, this line:
1. prepare_imgfs.exe OS.nb -nosplit
should be:
prepare_imgfs.exe 80040000-OS.nb –nosplit
see if that helps...
prepare_imgfs.exe 80040000-OS.nb –nosplit
Click to expand...
Click to collapse
I used that one only, and I have no probs with the "prepare" and "view" commands. I correctly get the bin files as well the modules/files are correctly extracted. I have problem with the "build" and "make" commands.
side question. should have thought of this earlier. how do you know its not updating? its been stated that this file will for some reason not change date/time and size.
hopefully that helps.
see this post:
http://forum.xda-developers.com/showpost.php?p=1110892&postcount=13
see this post:
http://forum.xda-developers.com/show...2&postcount=13
Click to expand...
Click to collapse
oopsie I am sure I read that post some time ago when I was collecting all the info for ROM cooking, but somehow forgot abt it when I started. Thnx for reminding
But There's another problem after this. When I run make_imgfs command it gives me some weird characters, however, a couple of posts above the one that you pointed at, there is a comment that I've to give the name of the old file only instead of new one. Will try that tonight when I go home and report back.
Thnx for the help dude
Anyways, another question:
This one is about the "universal id" part (dont remember the name of the app correctly, smthing like genuuid), for which all packages do we have to use this app? I mean if I wanted to add an executable (say a.exe) to the ROM, is it enough to simply add it to the "dump" directory and follow the build/make path or do I have to use the genuuid app path, or is this app used for some special kinda apps?
Thnx in advance. I'm not a newbie by any means in programming, GSM, and programming for GSM etc (I work in a Nokia GSM BTS project ) but am cooking a ROM for the first time.
yupz, worked...I was able to rebuild the rom. (Though the size/date-time stamp of the final 80040000-OS.nb also remains the same as the older one. I take that to be OK like the same thing happening with img_raw_data.bin. Haven't flashed the ROM onto my phone to see...)
Moreover, about the uuidgen program, I found out that it is bepe's way of doing it. We can do it the mamaich way that is simply add the programs that we want to the /dump folder and rebuilding. Correct me if I'm wrong.
Now that I've tested the waters, I'm on to making a custom ROM myself...
Thnx xda-dev...
shantzg001 said:
yupz, worked...I was able to rebuild the rom. (Though the size/date-time stamp of the final 80040000-OS.nb also remains the same as the older one. I take that to be OK like the same thing happening with img_raw_data.bin. Haven't flashed the ROM onto my phone to see...)
Moreover, about the uuidgen program, I found out that it is bepe's way of doing it. We can do it the mamaich way that is simply add the programs that we want to the /dump folder and rebuilding. Correct me if I'm wrong.
Now that I've tested the waters, I'm on to making a custom ROM myself...
Thnx xda-dev...
Click to expand...
Click to collapse
Hi shantzg001
i too am doing similar steps and all gone well ( i.e breaking/rebuilding).
but im surprized why dump dir size is extremaly different in compare to
imgfs_raw_data.bin . I tried some OS.nb and got the size of dumb approx
456kb or 368 kb or some MBs. Also dump dir contains only some modules and
some files.
Am i doing some mistake or u too r getting similar result
reply ASAP
thanx
nandlal
That seems strange, because in my case the dump folder is even bigger than the bin file (more than double the size)..
Can you list out the exact steps that you are following, and which ROM were you breaking apart?

Creating your own ROMs

I am a software developer by trade and so I hope I will be comfortable with creating my own ROM. However, I have no idea where to begin! Can anyone point me in the right direction?
on the wiki you can all read about it.
xmoo said:
on the wiki you can all read about it.
Click to expand...
Click to collapse
Thanks for the quick replu xmoo. I've had a look there before but it's not answering any questions. I have no idea what dev environment I need nor how to do it. Am I missing something or is it just my Sunday head?
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
schaggo said:
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
Click to expand...
Click to collapse
Thanks for the info.
I have Hard-SPL'ed my X1 and am ready for a new ROM now. I have downloaded a NBH file and used the NBHUtil to unpack it. Is this the point at which I customise the individual parts? If so what do I use to do this with the NB files?
NBHUtil is not a kitchen, its a utility only. And NB files are just the components of the NBH file, like a NB for the radio part, a NB for the OS part, a NB for ... you get the idea. The actual contents (exe, dll, eg.: files that ARE windows mobile) are encoded inside the NB's.
Search for "RaphaelKitchen" version 0.62, download that. Once you got that far, get back in here and I'll give you the config files you'll need for the RaphaelKitchen.
Instructions on how to do what: http://forum.xda-developers.com/showthread.php?t=427507
In that message, leave out the parts about dumping and get directly to the instructions for the kitchen. The actual "cooking" (thats what its called, hence its called a kitchen) comes between instructions "e, b (for dumped ROM),space key" cuz now you just unpacked the ROM and you have tons and tons of DLLs, EXEs, eg.: you unpacked the NBH in NBs and decoded the NBs to its contents.
You cook by removing and adding stuff to the respective folders.
After you did that, continue by following the post: "c, a, press BuildOS Play icon and wait to finish, Close BuildOS, close PagePool Changer and press space" which equals putting the files back together and compiling a new NBH which you can flash...
and i'm sorry but the WIKI acutally REALLY does explain all that:
http://wiki.xda-developers.com/index.php?pagename=Kaiser ROM Kitchen Tutorial
The RaphaelKitchen is a modified version of alex kitchen for the kaiser, it is essentially exactly the same.
Cheers Schaggo!
I was looking at the Xperia Wiki not the main Wiki My bad sorry.
I'll give this a go later and report back
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
schaggo said:
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
Click to expand...
Click to collapse
Hi, could you provide the pre-edited config files for X1? Thanks.
Ok so here's what I have done:
Download and unpacked RaphaelKitchen 0.62 as stated.
Ran it with 'e' then 'a' as the command line parameter to extract the NB files again (just to see).
Found all the NB files in BaseROM folder and a sh*tload of mixed files in the temp folder. At the root I have a couple of BIN files as well as some NB related files. dump_imgfs and dump_xip are the main folders in there with lots of bits beneath then. Is this right?
Then ran the build ROM commands as you stated. Pagepool wasn't open though(?) or couldn't see it anyway. Everything else went to plan and I got a NBH file in the end.
I expected the packages folder to be populated but nothing went in. Has this all gone to plan?
**Edit: Also never saw PagePool **
Here is the extra config you need for X1
Extract and put the files in the root of the RaphaelKitchen.
Run "X1Kitchen.CMD".
This is what I am using for "e"xtract and "c"ook a room and it's working perfectly w/ me. Other options is not tested or use by me.
I even added/modded some more files. Replace all files and run RaphaelKitchen.cmd and continue as instructed in the manual.
Cheers guys. Will try this config tonight and get back to you
In the extract ROM there are two options:
- one needs RUU_signed.nbh only
- the other one needs RUU_signed.nbh + part01.raw and part02.raw
which is the right one to choose? if b): where do i get those files?
/edit: never mind, figured it out myself
Flashing now :-D
For future reference, if some more people ask:
if you just want to unpack an existing ROM image (nbh-file) use option 1. this unpacks the file and fills up the folders with the files to cook with.
if you want to reconstruct a ROM you (or someone else) dumped from his device, chose option 2. this decodes the raw-files (dumps) according to (simply spoken, please forgive my inaccuracy ) the template which is given by the nbh-file. without the nbh-file the kitchen doesnt know how to decode the raw-files, it needs a reference file (the nbh) to do so.
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
figurine said:
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
Click to expand...
Click to collapse
take yer pick, but the first one looks okay!
http://www.google.com/cse?cx=000825...orial&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8
thanks! one more thing... should i backup my original rom? if so, how do i do this?
Hypercore and X1 "kovsky"
i just had to ask, well kovsky kitchen works for the experia right? so hypercore multidevice, shows no experia or kovsky config, #11 post says raphael kitchen xperia.cmd, so you can use that kitchen for x1 as well, so how do you get hypercore/X1? to work

How to cook ROM???

Hi, exist any "how to" cook ROM for our Treo750? I'd like to try make my own ROM.
?
any ideas? somebody?
Customize ??
I only know how to customize rom by use exists rom maybe Ruu_signed.nbh or Cheeimg.nbh .
By reading from wiki XDA http://wiki.xda-developers.com/index.php?pagename=Hermes_ROM_kitchen because of Treo750 base on Hermes.
if you want to know how to do , what to do read it from ROM Donalds topic but you can choose any tool for me prefer and (almost) use Want more Storage? Here you go! it has batch file to do all process and 'der hermes rom koch' is good for edit all hv file (hv file contain all registry setting for me I prefer to do after flash by mortscript so I only use batchfile).
Please notify once we use exists rom it mean (for me) we only use to add file or remove file with normaly we can't remove it from rom by easy way such as delete by file explorer because of system will said you can't not delete system file in rom example for me I never use Powerpoint,OneNote so I decide to customize WWE 19199 by remove 2 file and some file and rebuild back to Cheeimg.nbh and after flash and boot I got 67MB free ram for storage and 29MB for Program.
IF you need to make new one from zero I still not information I try to search from google but just know a little due to Treo has square 240x240 and very few people use that seem to be hard to find an information and sure if I got it I will let you or anyone know.
k101d

Categories

Resources