Backing up with pmemdump and pdocread... - JASJAR, XDA Exec, MDA Pro Software Upgrading

I m trying to dump my original 3UK rom from a qtek 9000.
After a bit of reading i tried these 2 commands to dump the OS as well as the bootloader:
pdocread 0x0 0x3FA0000 QTEK.RAW =>Created a file of 63.6MB
pmemdump -m 0x90001000 0x40000 bootloader.raw => Created a file of 256Kb
I created with the above commands a further 2 files with the extension of nb with the same filesizes. (Dont know if this is a good idea.....any idea??)
With the d2s command i know that the following memory addresses exists:
Dump Bootloader:
70000000 80000
OS ROM + splash:
70100000 3FA0000
XtendedROM:
74100000 A00000
Radio ROM:
60000000 a24200
Now i m a bit confused that if i need to create files of the extended rom and radio, which command should i use? pdocread or pmemdump ??
And which one is the correct memory address?? As u noticed the bootloader for example with the pmemdump command uses "0x90001000 0x40000" whereas the d2s command uses the memory map of "0x70000000 0x80000"..... I m a bit confused
I will appreciate any feedback......
Thanks in advance
Z£Y$

Related

a problem with dumprom and HTC (Windows Mobile 6 Extract)

HI
i downloaded WM6CB and extract it now i have 2 nbf file
nk.nbf 64MB Size
ms.nbf 10MB Size (Empty_Extended_rom)
i want to extract these
I tested dumprom.exe and HTC64 Extended ROM Tool.exe but i can't extract these
if i use dumprom then i can't extract it when i use HTC64 and i use dumprom with nk.fat file argument then i can extract some files and get this error
Code:
9073265c - 907338b6 L0000125a o32 region_2 rva=00042000 vsize=000027f0 real=01f9
2000 psize=0000125a f=40002040 for coredll.dll
907338b8 - 907351b9 L00001901 filedata boot.hv
907351bc - 907380a4 L00002ee8 filedata default.hv
907380a4 - 907380a4 L00000000 rom_00 end
907380a4 - 9443fc00 unknown
i used this arguments
For NBF File
dumprom nk.nbf -d mydirectory\
dumprom -5 nk.nbf -d mydirectory\
For FAT File
dumprom -5 nk.fat -d mydirectory\
dumprom nk.fat -d mydirectory\
And I can't Extract Empty Rom with this way
I want to extract windows mobile 6
Please help me for further information
Thanks
Regards

LG KS20 - Flash.bin build tool

Hi there,
Here is a command line tool that can extract and rebuild a flash.bin file for the LG KS20.
First, the options available :
Code:
LGFlashMuncher.exe [options] path [output]
EXTRACT Options ---(at least one option required)-----------------------------
-r : extract Raw data
-h : extract header
-m : extract MBR
-p : extract partitions
-t : trim extracted partitions
-l : output layout informations to file 'flash.xml'
-o : output OS.nb compatible file
output : path to output directory (must exists)
CREATE Options ---(all options required)-------------------------------------
-c file : create new flash.bin outputed to 'file'
(MBR and fat partition are taken from original flash.bin)
-e file : use 'file' for header
-0 file : use 'file' for partition 0 (boot)
-1 file : use 'file' for partition 1 (rawfs)
-2 file : use 'file' for partition 2 (imgfs)
COMMON Option ---------------------------------------------------------------
path : path to flash.bin file
Next, how to extract data from a flash.bin to a directory named output :
Code:
LGFlashMuncher.exe -htmlp FLASH.bin output
How to rebuild a new flash.bin :
Code:
LGFlashMuncher.exe -c newflash.bin -e header.bin -0 part_0_BOOT.bin -1 part_1_RAWFS.bin -2 part_2_IMGFS.bin FLASH.bin
(This rebuild process requires an existing flash.bin file)
At the moment, this tool use the partition layout and the empty fat32 (last partition) found in the original flash.bin file. The next step will be rebuild the partition layout.
I've made some test with this tool, but I cannot be sure it will work in all situations. Spocky had a preview of this tool a couple of days ago, and he successfully built a french 10G and a french 10A : I'm sure he will soon share his knowledge...
Very Nice job !
Thank.
Très bon travail MisterJP.
Merci.
Does this mean we can flash the files we extract with pdocread? (part00.raw, etc)
I think that for the moment only part02.raw
@+
dorik2k said:
Does this mean we can flash the files we extract with pdocread? (part00.raw, etc)
Click to expand...
Click to collapse
If the generated files are image of your phone partitions, then I guess it's possible if you respect the partitions order.
Hi, misterjp
In your LGFlashMuncher.exe there is an option:
-o : output OS.nb compatible file
I am just wondering is it FLASH.bin to OS.nb?
And is there any way to convert OS.nb back to FLASH.bin?
The reason that i want to do that is because in that case, i can convert a OS.nb which hv a larger partition table to Flash.bin for cooking
Thx in advance
Hi raykisi,
Sorry, but this tool is not able at this time to re-build an Flash.bin from an OS.nb file. It was just a test option while I was testing my code.
I'm planning on updating this tool, but it takes time and I don't have many these days.
JP.
o...gd to hear that you are going to update this tool, we would wait, take you time. And thx for your great work
Hey, sorry about the question.. i know i'm such a noob, but i'm brazilian and my "english understanding" is kind of weak sometimes.. So...
Is there any way to extract the Flash.bin and others of my current ROM? I mean, the actual ROM of my phone?
I'm asking this because here in Brazil we have the MS25/MS20.. A kind of KS20 without 3G, wifi, and front camera devices.. but same processor and same everithing else.. so, I think LG BRASIL will not provide the roms so early, but the v10a are full of bugs! Also i can`t flash with a KS20 rom, because that missing devices and because my operator phone frequency is 850 MHz (VIVO).
well, someone have an idea? Or a link? Or a read recomendation?
Brazilian people are really needing help with this, and we are getting tired to search with no answers..
Thank`s a lot!

NBSplit, emu option and extract from ROM emulator

Hi,
I am trying to extract image from a WM6.1 ROM emulator and from a tutorial I can see the following emu option :
NBsplit -emu PPC_USA.BIN
I dont' understand because I only have the following ones when launching NBSplit :
NBSplit 2.1rc2
Wrong or missing parameters.
Usage: NBSplit.exe -hermes|-kaiser|-titan|-acer|-wizard|-athena|-sp
|-data <number> -extra <number> <filename.nb>
Generates <filename.nb.payload> and <filename.nb.extra> from <filename.nb>
<filename.nb> will NOT get overwritten.
There is no -emu, so I tried with a -SP and now I get PPC_USA.BIN.extra and PPC_USA.BIN.payload but then when I try this
ImgfsFromNb.exe PPC_USA.BIN.payload IMGFS.BIN
I get Input file 'PPC_USA.BIN.payload' has no valid boot sector! Aborting.
How can I extract image from my ROM emulator ?
Yo must download ROM DONALDS and use their tools to dump, with -emu, in the new NBSPLIT -emu doesn't work.... sorry my bad english

[ROM Relase] iPAQ 21X Chinese

http://rapidshare.com/files/261031029/hp212ROM_CHS.rar
Forget Chinese, where's the English version?
I already made an HP iPAQ 21x English 6.1 and 6.5 IMGFS a while ago, go to this thread:
http://forum.xda-developers.com/showthread.php?t=535559
I. Disassembling
1
Code:
NBSplit -data 2048 -extra 64 HPImage.bin
2
Code:
prepare_imgfs HPImage.bin.payload -nosplit
3
Code:
viewimgfs imgfs_raw_data.bin
Can anyone help with packing new rom ? unpacking works fine, but there is problem with packing it back, please look in hpimage.bin
If you used my files, it might just be that. I couldn't reconstruct them into anything more than BIN files. Also, you should know that these were my first, and so far only attempt to create ROMs.

Help me using OSNBTOOL

Hi to all of you
I try to cook a Rom for Ciphone C6. I found OSNBTOOL and it seems to work fine.
For the first time I just try to extract IMGFS.BIN and write it back to the File without making any changes.
Extracting seem to works well but I can't built a flashable Rom from it
My CiPhone.new.bin is allways smaller than the original one and it is not flashable.
I hope someone can Help me.
May be someone can help me to open an account at PDACLAN.COM I think they could help me. But so far I wasn't able to become a member in the Forum (Cinese is to dificult for me).
What I did (short Version)
Extracting (works fine)
osnbtool -sp CiPhone.bin
osnbtool -d CiPhone.bin.OS.NB 2 imgfs.bin​
Building ( I tried 3 Options but not one of it made a flashable ROM)
1st Option
osnbtool -c CiPhone.bin.OS.NB 2 imgfs.bin
osnbtool -extra CiPhone.bin.OS.NB.NEW
copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa ciphone.NEW1.bin​
2nd option
osnbtool -2bin CiPhone.bin.OS.NB.NEW.EXA
copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa.bin ciphone.NEW2.bin​3d Option
osnbtool -fixbinheader Ciphone.new2.bin​
What I did (Long Version with Prompt from OSNBTOOL)
osnbtool -sp CiPhone.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
CiPhone.bin.PRE written.
-------------------------------------------------
Sector counters (extra-data) found in source file.
Partition 0 true offset:00000002 true size:0000027E Len:0000027E
Partition 1 true offset:00000280 true size:00000740 Len:000006C0
Partition 2 true offset:000009C0 true size:0000D380 Len:0000D300
Partition 3 true offset:0000DD40 true size:000005CF Len:000117C0
CiPhone.bin.OS.NB written.
osnbtool -d CiPhone.bin.OS.NB 2 imgfs.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000000
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Can not find compression signature.
Part-2 de-packing...
Successfully de-packed to imgfs.bin
Building
osnbtool -c CiPhone.bin.OS.NB 2 imgfs.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000000
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Can not find compression signature.
Part-2 inserting...
Part-2 is an IMGFS Partition...
Successfully inserted imgfs.bin into CiPhone.bin.OS.NB.NEW
osnbtool -extra CiPhone.bin.OS.NB.NEW
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000000
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Extra data inserted into CiPhone.bin.OS.NB.NEW.EXA.
copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa ciphone.NEW1.bin
CiPhone.bin.PRE
CiPhone.bin.OS.NB.NEW.EXA
1 Datei(en) kopiert.
Building 2nd Option
osnbtool -2bin CiPhone.bin.OS.NB.NEW.EXA
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
OS-IMAGE offset : 0x00000000
Block size : 0x00020000 Sectors per block : 0x00000040
Partition 0 true offset:00000002 true size:0000027E Len:0000027E
Partition 1 true offset:00000280 true size:000006C0 Len:000006C0
Partition 2 true offset:00000940 true size:0000D300 Len:0000D300
Partition 3 true offset:0000DC40 true size:00000600 Len:000117C0
Recorder size : 0x00020200
Start address : 0x00000000
Packed to CiPhone.bin.OS.NB.NEW.EXA.BIN.
copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa.bin ciphone.NEW2.bin
CiPhone.bin.PRE
CiPhone.bin.OS.NB.NEW.EXA.BIN
1 Datei(en) kopiert.
3rd Option
osnbtool -fixbinheader Ciphone.new2.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Found 'B000FF' header at offset: 0x0024A608
START_ADDR: 0x00000000 BIN_LENGTH: 0x071F1800
Records: 0x00000389 (905)
FirstRecord: 0x00000000 LastRecord: 0x071F1800
-----------------------------> NEW_BIN_LENGTH: 0x07211A00
Ciphone.new2.FIX.bin written.​
Thank you for your answer in atvance
Grüße Hellmuth
Hi Hellmuth
Did you find answers to your problem?
I am in the same boat as yours! But on different phone.
I am also unable to compile the image properly with this tool
just compile using hellmuth 1st option.. it's correct.. option 2 and 3 are not..

Categories

Resources