How to extract CAB files from a ROM? - XPERIA X1 General

Hey there,
I have a ROM that I flashed onto my phone, and there are some CABs that installed after I started the phone for the first time that I would like to get out of the ROM.
What is the best way to do this, if it is even possible. Sorry if this has been asked before or if it seems like a noob question.

Surely someone can help me? I've searched and can't find anything =(

Well, first you can begin checking in your 'windows' folder and copy those *.cab files from there. I think including the panelmanager.cab even.
The other cab files are probably 'made' by some of the people here.

Is there a way to extract all the CABs from the ROM, when the ROM is still on my PC?

theres a new program by dutty that unpacks any nbh file..so im guessing u can extract d rom and look for the cab u want..
http://forum.xda-developers.com/showthread.php?t=296311

lakeside00 said:
theres a new program by dutty that unpacks any nbh file..so im guessing u can extract d rom and look for the cab u want..
http://forum.xda-developers.com/showthread.php?t=296311
Click to expand...
Click to collapse
Thanks mate. Now I just need to extract the CABs from the NB files
One step closer =D

Related

How to extract files from ATOM ROM?

As we know, to upgrade ATOM ROM we have to lauch an exe file downloaded from seeo2.com. But we cannot extract any file from this exe file except Boot.nb0 and this file is useless. Does anyone know how to extract other files from it. As I know, there are at least following files inside this exe file:
eboot.nb0
dm.nb0
flash.img
agent.mot
mot.mot
CPLD.img
assetinf.img
extended.img
MDOC.img
Its strange that there is no .nbf file at all. Is there any method to dump the ROM from a working ATOM? Can the Grabit utility grap ATOM ROM to SD? Will it be usable ?
I have dumped it already and uploaded here, but i do not remember are the files you search there.
Tamagochi said:
As we know, to upgrade ATOM ROM we have to lauch an exe file downloaded from seeo2.com. But we cannot extract any file from this exe file except Boot.nb0 and this file is useless. Does anyone know how to extract other files from it. As I know, there are at least following files inside this exe file:
eboot.nb0
dm.nb0
flash.img
agent.mot
mot.mot
CPLD.img
assetinf.img
extended.img
MDOC.img
Its strange that there is no .nbf file at all. Is there any method to dump the ROM from a working ATOM? Can the Grabit utility grap ATOM ROM to SD? Will it be usable ?
Click to expand...
Click to collapse
When you double click the exe file, it will extract files to Windows\Temp foler, files are all hidden.
I'm not sure if this is correct, but I was provided with
Xda-Atom-ENG-20060123_Feb2006_.exe
Double click. This will extract to your root drive
c:\
Device Software Update Utility.exe
diskimage_Ver.nb0
Extendedrom.img
nova_pda_033105.mot
vl1d_pda_Ver.mot
Extendedrom.img can be opened with winimage.
diskimage_Ver.nb0 - can't remember how I dealt with it, but in the "usual" ways I guess! Mamaich's romtools I suppose. Thanks Mamaich!
If anyone can, I could still really do with a live rom dump, using this app:
http://www.vijay555.com/vj/!Tools/dump_167.exe
I'm not sure if it works on the Atom, but I'd be grateful if someone could try it and let me know. A couple of nice guys have tried and failed
V
Vijay dear friend..
like i told you before...
the DUMP didn't work..
but you have the lastest rom.
any way, in a week or so, a new rom is about to come out, may the new rom could be dumped...?!?
Nadavi..
Exactly assasins, and I'm really grateful for the info.
I've dumped the rom file above, but a dump from the rom isn't the most useful ways to get files out of it. Some files aren't usable from there, so a live dump is best. But not to worry, I'll live without for now.
Oh, but I could still do with an atom registry dump if someone can send me that... gracias!
V
vijay555 said:
I'm not sure if this is correct, but I was provided with
Xda-Atom-ENG-20060123_Feb2006_.exe
Double click. This will extract to your root drive
c:\
Device Software Update Utility.exe
diskimage_Ver.nb0
Extendedrom.img
nova_pda_033105.mot
vl1d_pda_Ver.mot
Click to expand...
Click to collapse
Anyone know how to edit the mot files?
vijay555 said:
If anyone can, I could still really do with a live rom dump, using this app:
http://www.vijay555.com/vj/!Tools/dump_167.exe
Click to expand...
Click to collapse
dear vijay555
is this suppose to wirk with ETEN M600
it runs ok but I don't no ware it extract files
thanx
I think it extracts them to a folder on your sd card, called Dump.
If you've got an eten dump, I could do with one of those as well.
I didn't write this app - I can't even remember where it came from. If anyone wants to volunteer as the author, I'd like to know more about the app!
V
Will I think it's not working hear
noyhing in my SD or TMP folder
thanks for your help
Regards
Guys, what's the storage card called on the Atom?
Is it still called \storage card\?
V
xda atom
its called memory card.
is there have such tool like HTC mtty for Atom?

how to edit nk.nbf Files ?

i would like to edit nk.nbf files (of course just for personal use).
have searched hours for an editor, but i cant find anything useful.
plz help me !
AFAIR you should only generate nbf file using "kitchen", not edit them.
jakubd said:
AFAIR you should only generate nbf file using "kitchen", not edit them.
Click to expand...
Click to collapse
are you sure ?
i found this app that allows you to edit WM 2003 nbf files (sadly it doesn´t work for 6.1 rom nbf):
http://wiki.xda-developers.com/index.php?pagename=ER2003Edit
is there an other way to edit WM 6.1 images ?
(maybe i can drop them from the device in a format that can be open)
editing nbf files
try this it works a treat and will help you understand thing a little more, Then you could read up on how to port it up a bit higher once you'v learnt how it works hope this helps be carefull when you CreatROM read the text in the dos window the "free sectors" !!!! 0??? To 0001 is good, 0001 been the full to the brim ! ( ffff???? ) is bad ! if bad do NOT flash to your device start buildOS again and unckeck something ealse read the readme or guide file carefully also explode has a kitchen out that's good search for kitchen on this site there's a assortment out there have fun REMEMBER be CAREFULL or you could brick your device however you edit a rom Most time if you screew up you can flash a 2003 shipped rom and alls well agian but if you flash a rom that's fare to big you will over wright your boot sector and that's NOT GOOD
http://forum.xda-developers.com/showthread.php?t=331636
how can i dump a ROM ?
have read xplode´s kitchen how to, but i have still some questions:
witch tool i have to use to dump a rom ?
must the device be in boot loader mode ?
must i perform a hard reset before putting the device in boot loader mode ?
thank you for you help
dump rom
wmvfan said:
how can i dump a ROM ?
have read xplode´s kitchen how to, but i have still some questions:
witch tool i have to use to dump a rom ?
must the device be in boot loader mode ?
must i perform a hard reset before putting the device in boot loader mode ?
thank you for you help
Click to expand...
Click to collapse
I think I read some thing about dumping from the device ! But it's very complicated to do and if you get it wroung then it could damage your device Buzz-dev has a program called grabit see his site it copys the rom from the device to The SD CARD as a *.bin file then you dump that instructions are there, I have attached a zip i found on this site moded a bit for myown use it will dump BA or Hima put it in C:\ and right click it select extract here PS (you need winrar it's free just search xda site for it) My decompilers not complete but should give you some idear or how it works, You say u got explodes kitchen follow his instructions and build his rom when It says put your device in boot loader DON'T. Wait untill the build is finnished Press ctrl + C then look in upgrade folder and you should find an nk.nbf copy this to Swamp395Decompiler folder so you see it with PKGTool then double click BA_Disasemble.bat when that's finnished double click PKGTool.exe then "File" "open" from menu navegate to swampy395decompiler\dump click OK read screen then When that's finnished meun "tools""build packages" you should have some missing files if you look at the one called sys it should look simaler to explodes kitchen!! Then spend some time reading xda site good luck Remember the risk is all your bla bla no responcerbility ETC
I'm learning myself ! But if i can help i will, I'v been Building My own kitchen It's getting close but not got a booting rom yet but soon I HOPE
PPS pda viet rom Don't bump so well
swampy395
It works !
i easily put the nk.nbf file in C:\Swampy395Decompiler\ and start BA Disassemble.bat
a dos window opened and dump the rom in C:\Swampy395Decompiler\dump
all files of the rom are now in this folder and i can edit them.
but i have still some questions:
-how can i make a rom out of the files in \dump ?
-how can i edit registry files ?
-is there a way to change the rom language ?
greetings from germany
editing rom
wmvfan said:
It works !
i easily put the nk.nbf file in C:\Swampy395Decompiler\ and start BA Disassemble.bat
a dos window opened and dump the rom in C:\Swampy395Decompiler\dump
all files of the rom are now in this folder and i can edit them.
but i have still some questions:
-how can i make a rom out of the files in \dump ?
-how can i edit registry files ?
-is there a way to change the rom language ?
greetings from germany
Click to expand...
Click to collapse
read these links and you'll find thing you'll have to do a lot of searches *.reg files open in notepad then save as unicode turn wordwrap off these a lot to read too much fro me to explane here these links should get you in the right area
Ps if you find any good tutorials please send me a link and as i find them i'll send to you good luck I'v been reading some 4 weeks now it's not so easy building a rom so i'v found
PPS the tools i send you copys and converts the default/user.HV files and initflashfiles.dat to swampy395decompiler folder i also posted a tool to edit initflashfiles see
http://forum.xda-developers.com/showthread.php?t=394680
search for kitchen building roms ETC you'll find thing like these
http://www.anichillus.net/index.php?topic=29.0
http://wiki.xda-developers.com/index.php?pagename=OEM Package Tutorial
good luck let me know how get on
swampy395
swampy395 said:
read these links and you'll find thing you'll have to do a lot of searches *.reg files open in notepad then save as unicode turn wordwrap off these a lot to read too much fro me to explane here these links should get you in the right area
Ps if you find any good tutorials please send me a link and as i find them i'll send to you good luck I'v been reading some 4 weeks now it's not so easy building a rom so i'v found
PPS the tools i send you copys and converts the default/user.HV files and initflashfiles.dat to swampy395decompiler folder i also posted a tool to edit initflashfiles see
http://forum.xda-developers.com/showthread.php?t=394680
search for kitchen building roms ETC you'll find thing like these
http://www.anichillus.net/index.php?topic=29.0
http://wiki.xda-developers.com/index.php?pagename=OEM Package Tutorial
good luck let me know how get on
swampy395
Click to expand...
Click to collapse
Just a quick thought you'v got a kitchen and a rom built in that kitchen put the rom back together as it is in the kitchen IE copy the layout you'll find some *.rug files missing download athers himalaya kitchens and read the help and guid files on how to build a kitchen and use explodes kitchen as a referance see if you can put it back together without copying files out of explodes kitchen If you manage that then you should be able to make a higher build kitchen of your own good luck

[HELP/Q]Package Creator

Hmm can someone explain to me how to convert a .cab using packagecreator successfully? where it would install on the phone on boot up and what not? I've did the steps from the tutoril of how to cook a rom (cab section) and the readme file that came with the package creator but for some reason when i make a "package" to load into the ROM or SYS folder, it doesn't seem to install and work. I'm trying to put NetCF3.5 in rom, Opera 9.5 2392, and the tweak programs into my rom so it will load up with eveything else, but i get some error of building user.hv and what not >.> so any help will be greatly appreciated :/
Edit: i have no program install the cab files once the phone has been flashed, but id like to upload my rom for people see if they like it, so yeah would like to get the package thing working w.
i have same problem...

Noob help-how do i install a cab??

I've already flashed to Kumar's latest rom and everything workig fine. I found the cab repository for programs I can add but no threads telling me what to do with the cab after I download it to my PC. Sorry for the NOOB question but I just jumped into this world and loving every minute of it!! Thx in advance!!
Mahknottnee said:
I've already flashed to Kumar's latest rom and everything workig fine. I found the cab repository for programs I can add but no threads telling me what to do with the cab after I download it to my PC. Sorry for the NOOB question but I just jumped into this world and loving every minute of it!! Thx in advance!!
Click to expand...
Click to collapse
Sync your device with ActiveSync. Transfer the cab file to your device. Browse to where you copied the cab file on your device with a file browser (Total Commander, File Explorer, etc.) and then run the cab file (this is within your device, not on your computer).
Welcome to the wonderful world of flashing lol. Im actually suprised that you flashed a rom but haven't read on .cabs yet
Anyway if you have the .cab downloaded to your pc just copy it to your sdcard. Then use file explorer to navigate to where you placed the .cab, select it and it will install. Most cabs will ask if you want to install to device or sdcard, it's that simple. Good Luck
Thanks everyone!!! Im hooked!
Mahknottnee said:
Thanks everyone!!! Im hooked!
Click to expand...
Click to collapse
you could also just drag the file from ur comp to sdcard. then open file explorer->tap the cab file and it'll take u to an install page.

[Q] Tips on building images for the WM 6.5 emulator

I did some searching because i need a sense rom for the WM emulator to help me test a program i'm working on and i came up with nothing. So i figured it would be a good idea to try and cook one but i need some tips coz i've only ever cooked one rom before and it didn't really go well.
So thoughts and suggestions below please. I'm looking for kitchen suggestions etc.
Thanks guys.
try this: http://forum.xda-developers.com/showthread.php?t=774430 I find it easy to create a self customized rom.
poyensa said:
try this: http://forum.xda-developers.com/showthread.php?t=774430 I find it easy to create a self customized rom.
Click to expand...
Click to collapse
Cool, thanks, but i don't see how i'm gonna make this compatible with the emulator in the windows mobile SDK? have you got any more pointers on how to do that?
My kitchen is designed to allow you to build the rom the way you want it. It then outputs the rom as a .nbh file that allows you to flash to the phone. Your emulator sounds interesting.
You may be able to use the .nbh file and then read that into your emulator.
GhostXSeries said:
My kitchen is designed to allow you to build the rom the way you want it. It then outputs the rom as a .nbh file that allows you to flash to the phone. Your emulator sounds interesting.
You may be able to use the .nbh file and then read that into your emulator.
Click to expand...
Click to collapse
Nope, can't do that. i tried it with a copy of NRGZ28's energy rom. It has to be a .bin or .nb0 file.
Now i did some reading while i was writing this and it turns out a .nb0 file is the same as the old school .nb rom dump files i just need to figure out how to convert an nbh to a nb0 file
Thoughts?
*edit*
found a tool called nbhtool by dutty that should do it
*edit 2*
dutty's tool didn't do it but i did find this tool by Da_G. The problem is i still get invalid image errors from the sdk emulator. I have searched but not found any answers so i'm a little lost.
Any ideas, guys?
Hi,
Can you post here an nb0 that works on the emulator?
we can try to import on our kitchens and check if we can rebuild it with sense.
If we can make it works, we can save a lot of time of 'flashing' when testing changes.
ypsmav said:
Hi,
Can you post here an nb0 that works on the emulator?
we can try to import on our kitchens and check if we can rebuild it with sense.
If we can make it works, we can save a lot of time of 'flashing' when testing changes.
Click to expand...
Click to collapse
The files in the emulator are actually .bin files but i gather that internally they are the same format. They are also 96mb in size so it's gonna take a while to upload to hotfile. I'll post back when i have a link for you.
Thanks for all the effort btw. I really do appreciated it.
link as promise: http://hotfile.com/dl/129295626/a4324d3/PPC_USA_GSM_WVGA_VR.BIN.html
M3PH, OsBuilder makes rom either in nbh, or in nb0 format. It's a professional tool - not just a "kitchen to cook".
HTCRIE (htc rom image editor) can extract the OS.nb from a .NBH file..
can you just rename the .nb to .nb0 if they are the same?
Ok i've got osbuilder. Had a quick read of the manual. Now what? do i need the sys/xip for a build? i am a complete noob at this so lots of help would be appreciated.
I've just tried to open an emulator image from the windows mobile 6 sdk with HTCRIE and got an invalid file format error. This is starting to become extremely frustrating. Especially as i can find any information on the actual format of the emulator bin files.
Did any of you guys get any luck with the file i provided? Coz i'm really stuck!

Categories

Resources