B7320 Rom Dump Possiblity - Non-Touchscreen Windows Mobile Other

Hi,
Is There anyway to Dump Samsung B7320 Win6.5 Rom.
Rgds
Bluffmaster

Yes, this is possible, get osnbtool.exe

Can any body tell what the procedure ?
Rgds
Bluffmaster

This my structure (extract ROM), from file *.bat
If ROM is in file *.exe
Code:
@echo off
@cd .\Base_File_bin
@..\TOOLS\osnbtool -sp ..\Base_File_bin\pda.exe
@ren pda.exe.os.nb OS.nb
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 1 xip.bin
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 2 Imgfs.bin
@cd ..\
@md Temp
@cd Temp
@..\TOOLS\ImgfsToDump.exe ..\Base_File_bin\imgfs.bin
@..\TOOLS\PKGTool.exe ..\Temp\dump
@move dump\OEM ..\OEM
@move dump\SYS ..\SYS
@cd ..\ROM
@..\tools\dumprom.exe ..\Base_File_bin\xip.bin -5 -d XIP
@cd ..\
@ren Base_File_bin\xip.bin xip_out.bin
@move Base_File_bin\OS.nb ROM\nk.nb
@del Base_File_bin\pda.nb0
@rem del Base_File_bin\Imgfs.bin
@del Base_File_bin\dump.log
@rem del Temp\dump_MemoryMap.txt
@rd Temp /q /s
exit
And, if ROM is in file *.bin
Code:
@echo off
@cd .\Base_File_bin
@..\TOOLS\viewbin -d ..\Base_File_bin\pda.bin > dump.log
@..\TOOLS\osnbtool -sp ..\Base_File_bin\pda.nb0
@ren pda.nb0.os.nb OS.nb
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 1 xip.bin
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 2 Imgfs.bin
@cd ..\
@md Temp
@cd Temp
@..\TOOLS\ImgfsToDump.exe ..\Base_File_bin\imgfs.bin
@..\TOOLS\PKGTool.exe ..\Temp\dump
@move dump\OEM ..\OEM
@move dump\SYS ..\SYS
@cd ..\ROM
@..\tools\dumprom.exe ..\Base_File_bin\xip.bin -5 -d XIP
@cd ..\
@ren Base_File_bin\xip.bin xip_out.bin
@move Base_File_bin\OS.nb ROM\nk.nb
@del Base_File_bin\pda.nb0
@rem del Base_File_bin\Imgfs.bin
@del Base_File_bin\dump.log
@rem del Temp\dump_MemoryMap.txt
@rd Temp /q /s
exit

Nokser said:
This my structure (extract ROM), from file *.bat
If ROM is in file *.exe
Code:
@echo off
@cd .\Base_File_bin
@..\TOOLS\osnbtool -sp ..\Base_File_bin\pda.exe
@ren pda.exe.os.nb OS.nb
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 1 xip.bin
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 2 Imgfs.bin
@cd ..\
@md Temp
@cd Temp
@..\TOOLS\ImgfsToDump.exe ..\Base_File_bin\imgfs.bin
@..\TOOLS\PKGTool.exe ..\Temp\dump
@move dump\OEM ..\OEM
@move dump\SYS ..\SYS
@cd ..\ROM
@..\tools\dumprom.exe ..\Base_File_bin\xip.bin -5 -d XIP
@cd ..\
@ren Base_File_bin\xip.bin xip_out.bin
@move Base_File_bin\OS.nb ROM\nk.nb
@del Base_File_bin\pda.nb0
@rem del Base_File_bin\Imgfs.bin
@del Base_File_bin\dump.log
@rem del Temp\dump_MemoryMap.txt
@rd Temp /q /s
exit
And, if ROM is in file *.bin
Code:
@echo off
@cd .\Base_File_bin
@..\TOOLS\viewbin -d ..\Base_File_bin\pda.bin > dump.log
@..\TOOLS\osnbtool -sp ..\Base_File_bin\pda.nb0
@ren pda.nb0.os.nb OS.nb
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 1 xip.bin
@..\TOOLS\osnbtool -d ..\Base_File_bin\os.nb 2 Imgfs.bin
@cd ..\
@md Temp
@cd Temp
@..\TOOLS\ImgfsToDump.exe ..\Base_File_bin\imgfs.bin
@..\TOOLS\PKGTool.exe ..\Temp\dump
@move dump\OEM ..\OEM
@move dump\SYS ..\SYS
@cd ..\ROM
@..\tools\dumprom.exe ..\Base_File_bin\xip.bin -5 -d XIP
@cd ..\
@ren Base_File_bin\xip.bin xip_out.bin
@move Base_File_bin\OS.nb ROM\nk.nb
@del Base_File_bin\pda.nb0
@rem del Base_File_bin\Imgfs.bin
@del Base_File_bin\dump.log
@rem del Temp\dump_MemoryMap.txt
@rd Temp /q /s
exit
Click to expand...
Click to collapse
Hi,
Can You/Any Body Guide Me Step By Step.
How To Full Dump B7320 Including NVM AREA and IMEI.
Rgds
Bluffmaster

bluffmaster said:
Hi,
Can You/Any Body Guide Me Step By Step.
How To Full Dump B7320 Including NVM AREA and IMEI.
Rgds
Bluffmaster
Click to expand...
Click to collapse
You can't cook a custom ROM if you don't have any experience with .dat files, .rgu files, initflashdata.txt files and .dll files! If you have, you have to search on google how to cook a ROM without a kitchen!

Thekn said:
You can't cook a custom ROM if you don't have any experience with .dat files, .rgu files, initflashdata.txt files and .dll files! If you have, you have to search on google how to cook a ROM without a kitchen!
Click to expand...
Click to collapse
Hi,
Is it possible?I Can Dump Rom from Ok Phone and Write To Faulty Phone.
rgds
Bluffmaster

Related

Help Kaiser's XIP

Could anyone help me plz?
this is what i did:
Code:
nbsplit -kaiser os.nb
RomMaster -x -w 5 OS.nb.payload -s 0x320000 -o xip.bin
dumprom xip.bin -5 -d XIP
nbsplit is from imgfs tools 2.1rc2 vesion.
but i can not get xip folder and dump folder.
i think there's no problem of this
Code:
nbsplit -kaiser os.nb
and
dumprom xip.bin -5 -d XIP
and i think the problem is in this:
Code:
RomMaster -x -w 5 OS.nb.payload -s 0x320000 -o xip.bin
many many thanks in advance.
see attchment with which tool i used if it is helpful.
qooqoo said:
Could anyone help me plz?
Click to expand...
Click to collapse
What are the output for every command? do you see any error on the screen?
Cheers.
jcespi2005 said:
What are the output for every command? do you see any error on the screen?
Cheers.
Click to expand...
Click to collapse
thank you~
this is what i see
Code:
dumprom xip.bin -5 -d XIP
unable to determine loading offset for xip.bin
i think xip.bin isn't correct.
qooqoo said:
thank you~
this is what i see
Code:
dumprom xip.bin -5 -d XIP
unable to determine loading offset for xip.bin
i think xip.bin isn't correct.
Click to expand...
Click to collapse
What happen if you try this one...
RomMaster.exe -x -w 5 OS_03.nb.payload -o xip.bin
jcespi2005 said:
What happen if you try this one...
RomMaster.exe -x -w 5 OS_03.nb.payload -o xip.bin
Click to expand...
Click to collapse
with this:
RomMaster.exe -x -w 5 OS_03.nb.payload -o xip.bin
i got same result:
dumprom xip.bin -5 -d XIP
unable to determine loading offset for xip.bin
qooqoo said:
with this:
RomMaster.exe -x -w 5 OS_03.nb.payload -o xip.bin
i got same result:
dumprom xip.bin -5 -d XIP
unable to determine loading offset for xip.bin
Click to expand...
Click to collapse
And one stupid question i forgot to do before, do you have an XIP folder created inside this one you are? If not, make one writing "md XIP" and try again the dumprom command...
jcespi2005 said:
And one stupid question i forgot to do before, do you have an XIP folder created inside this one you are? If not, make one writing "md XIP" and try again the dumprom command...
Click to expand...
Click to collapse
yes i did that, i use code like this:
Code:
mkdir XIP
dumprom xip.bin -5 -d XIP
there is nothing in xip folder.
qooqoo said:
yes i did that, i use code like this:
Code:
mkdir XIP
dumprom xip.bin -5 -d XIP
there is nothing in xip folder.
Click to expand...
Click to collapse
Where did you get the OS.NB file?
jcespi2005 said:
Where did you get the OS.NB file?
Click to expand...
Click to collapse
i tried several roms,
Dutty_s_hybrid_Rom_Build_18533_beta_2_fixed
Helmi_Kaiser_1.57.00.02_AKU.0.7.0.Cooked
HTC_TyTNII_FRA_1.56.406.5_22.45.88.07_1.27.12.17_Ship
Kaiser_HTC_WWE_1.56.405.5_radio_sign_22.45.88.07_1.27.12.11_Ship
kaiser_dopodasia_wwe_1.81.707.0_radio_sign_22.45.88.07_1.27.12.11_ship
they all like this
qooqoo said:
i tried several roms,
Dutty_s_hybrid_Rom_Build_18533_beta_2_fixed
Helmi_Kaiser_1.57.00.02_AKU.0.7.0.Cooked
HTC_TyTNII_FRA_1.56.406.5_22.45.88.07_1.27.12.17_Ship
Kaiser_HTC_WWE_1.56.405.5_radio_sign_22.45.88.07_1.27.12.11_Ship
kaiser_dopodasia_wwe_1.81.707.0_radio_sign_22.45.88.07_1.27.12.11_ship
they all like this
Click to expand...
Click to collapse
Let me try with one of this OS files and see what happen.
jcespi2005 said:
Let me try with one of this OS files and see what happen.
Click to expand...
Click to collapse
many many thanks for your answers, and wait for your result
qooqoo said:
many many thanks for your answers, and wait for your result
Click to expand...
Click to collapse
There are some problem with the extracted xip.bin file, and don't know why fail.
The size for dumped XIP from live Kaiser have different size with this xip.bin file from NB file. I can extract the XIP folder from dumped XIP (3.584Kb) but the same tool fail with the extracted from NB file XIP (3.038Kb). So seems the RomMaster.exe is not doing the work fine, but don't know why.
The good news is you can use a part01.raw from any device to get the XIP and extract the content. If you look for dumped ROMs on the forum, you couldfind many.
Cheers.
jcespi2005 said:
There are some problem with the extracted xip.bin file, and don't know why fail.
The size for dumped XIP from live Kaiser have different size with this xip.bin file from NB file. I can extract the XIP folder from dumped XIP (3.584Kb) but the same tool fail with the extracted from NB file XIP (3.038Kb). So seems the RomMaster.exe is not doing the work fine, but don't know why.
The good news is you can use a part01.raw from any device to get the XIP and extract the content. If you look for dumped ROMs on the forum, you couldfind many.
Cheers.
Click to expand...
Click to collapse
thank you very much, i got it, it was caused by the vesion of rommaster, a friend give me the right rommaster, and it works fine.
i upload the new tool here, hope it can help other guys
qooqoo said:
thank you very much, i got it, it was caused by the vesion of rommaster, a friend give me the right rommaster, and it works fine.
i upload the new tool here, hope it can help other guys
Click to expand...
Click to collapse
Great finding, man. Sure this helps more ppl...
Many thanks for sharing this version of rommaster (and thanks to your frined too, of course...)
I'll give a try later...
EDIT: Yes, works fine... One strange thing is dumped XIP is bigger than extracted from NB ship... just strange... who knows.
The mistake...
I beleave i found the mistake...
I your first post you have this line...
RomMaster -x -w 5 OS.nb.payload -s 0x320000 -o xip.bin
And in your last post the line was
RomMaster.exe -x -w 5 -b 0x320000 OS.nb.payload -o xip.bin
Can you see the difference? Yes, the -s instead -b....
I compare the version of RomMaster you posted, and my version, and are the same, so the big deal is the -b instead -s
Cheers.
jcespi2005 said:
I beleave i found the mistake...
I your first post you have this line...
RomMaster -x -w 5 OS.nb.payload -s 0x320000 -o xip.bin
And in your last post the line was
RomMaster.exe -x -w 5 -b 0x320000 OS.nb.payload -o xip.bin
Can you see the difference? Yes, the -s instead -b....
I compare the version of RomMaster you posted, and my version, and are the same, so the big deal is the -b instead -s
Cheers.
Click to expand...
Click to collapse
i found that but with old rommaster, -d don't work, there are some differences between these two, i think.
for cooking magician's rom, there is also a rommaster, but these three is also different.
the old rommaster i post in the first page, with that one, there is no problem during dumping hermes's xip.
qooqoo said:
i found that but with old rommaster, -d don't work, there are some differences between these two, i think.
for cooking magician's rom, there is also a rommaster, but these three is also different.
the old rommaster i post in the first page, with that one, there is no problem during dumping hermes's xip.
Click to expand...
Click to collapse
I thought that I already told you the correct command for dumping kaiser xip is:
Code:
RomMaster -w 5 OS.nb.payload -x -b 0x320000 -o xip.bin
thats all.. -b is the key (ROM begin at)..
helmi_c said:
I thought that I already told you the correct command for dumping kaiser xip is:
Code:
RomMaster -w 5 OS.nb.payload -x -b 0x320000 -o xip.bin
thats all.. -b is the key (ROM begin at)..
Click to expand...
Click to collapse
thank you very much helmi_c, the problem is the vesion of rommaster i have is different from yours, i used -b, it said that the parametre is incorrect.
now it works fine, thanks for your help
@qooqoo: My RomMaster version is 2.3. What is the old one you used? I was looking in my computer for all RomMaster.exe files, and all are the same version...anyway, thanks to helmi_c for helping here
I think was a good idea to put this ussefull info about extracting the XIP from NB file in the Wiki... any volunteer?
Cheers.

[Cooking] About XIP and initflashfiles.dat

I'm triyng to cook a wm6 ROM, only for fun.
I extracted the XIP with this command:
Code:
RomMaster os.nb -v 0 -w 5 -b 0x00217800 -x -o xip.bin
mk xip
dumprom xip.bin -5 -d XIP >NUL
strangely I found the initflashfiles.dat in XIP section and not in IMGFS section.
This send in error the buildos.exe.
How Can I solve?
I've to move initflashfiles to OEM/OEMLANG?
Another question.
THe newest utility from Bepe (Buildxip) Does it work fine with excalibur?

Find where ROM begins (rommaster)

Hi,
I'm trying to extract XIP part of an orange rose rom here :
http://forum.xda-developers.com/showthread.php?t=450221
I know how to obtain OS.nb with nbhextract, but i don't know how to find "rom begin".
If i use nbsplit to obtain os.nb.payload, i don't know what option i must use.
And after, if i use "kaiser" option with nbsplit, i don't know how to extract xip with rommaster, and what "begin" option i can give.
How i can find it ?
Thanks.
No idea please ?
I always have this problem.
Thanks.
try this:
Code:
RomMaster.exe -x -w 5 -b 0x320000 OS.nb.payload -o xip.bin
good luck
Hi,
I was able to :
nbsplit.exe -kaiser OS.nb
and :
RomMaster.exe -x -w 5 -b 0x320000 OS.nb.payload -o xip.bin
and :
dump xip.bin with XIPPort
I obtained :
OUT and files usually found in xip.bin
BUT, how i can find this start adress 0x320000 ?
This value is for kaiser, but i don't konw if it's ok with others devices.
And how i can know if "kaiser" value is good with nbsplit ?
Thanks.
moved to Q&A section. please post your questions in the Q&A section next time.
fireburned said:
Hi,
I was able to :
nbsplit.exe -kaiser OS.nb
and :
RomMaster.exe -x -w 5 -b 0x320000 OS.nb.payload -o xip.bin
and :
dump xip.bin with XIPPort
I obtained :
OUT and files usually found in xip.bin
BUT, how i can find this start adress 0x320000 ?
This value is for kaiser, but i don't konw if it's ok with others devices.
And how i can know if "kaiser" value is good with nbsplit ?
Thanks.
Click to expand...
Click to collapse
Read the last few sentences of my post. It may be the long way to go about it, but it works for me.
http://forum.xda-developers.com/showpost.php?p=2846121&postcount=58
KMFM$ said:
Read the last few sentences of my post. It may be the long way to go about it, but it works for me.
http://forum.xda-developers.com/showpost.php?p=2846121&postcount=58
Click to expand...
Click to collapse
I always have a problem.
I want to extract XIP from this rom :
http://forum.xda-developers.com/showthread.php?t=450221
I tried this :
Code:
nbhextract.exe *.nbh
I obtain :
03_OS.nb => renamed to OS.nb
I tried :
Code:
ImgfsFromNb.exe OS.nb imgfs.bin
ImgfsFromNb 2.1rc2
ImgFs partition starts at 0x00000000 and ends at 0x00000000
Dumping IMGFS at offset 0x006c6c00 (size 0xff939400)
Done!
How i can use nbsplit ?
How i can extract XIP ?
I don't know how i can use nbsplit to obtain OS.nb.payload and OS.nb.extra
I tried rommaster to extract XIP (but it doesn't works because i don't use OS.nb.payload i think) :
Code:
RomMaster.exe -x -w 5 -b 0x006c6c00 OS.nb -o xip.bin
[Info] It is a common ROM.
[Error] File is damaged, end address small than start address.
[Error] File is damaged, end address small than start address.
Could you help me please ?
Bye.
No idea, please ?

How to dump TP2 ROM from Phone

I have successfully dumped the ROM from my Brand New VZW Touch Pro 2 ... Here is how I did it. You will need itsutils to dump the ROM, and imgfstools to extract it.
Dump:
1) List partitions - Should show Part00 to Part03 - pdocread -l
2) Get Part00 address - pdocread -w -d FLASHDR -p Part00 -t -b 0x800 - Find the partition address (displayed as 0x######)
3) Dump Part00 - Use address from step 2 - pdocread -w -d FLASHDR -p Part00 -b 0x800 0 0x###### Part00.raw
4) Repeat steps 2 & 3 for Part01, Part02 and Part03 ... MAKE SURE YOU USE THE CORRECT ADDRESSES
Partitions:
Part00 - Core XIP? (May have something to do with AutoUpdate)
Part01 - XIP
Part02 - OS IMGFS
Part03 - User Storage (TFAT)
Extract XIP (Part00 and Part01 ... You will need bepe's dumpxip.exe from ervius visual kitchen):
1) Make sure there is not an XIP folder (if so, rename it) and run dumpxip Part00.raw
2) Rename XIP folder to XIP_00 (ren XIP XIP_00)
3) Make sure there is not an XIP folder (if so, rename it) and run dumpxip Part01.raw
4) Rename XIP folder to XIP_01 (ren XIP XIP_01)
Extract IMGFS (Part02):
1) imgfstodump Part02.raw - This will create a folder called dump, and extract the contents to it.
View User Storage (Part03):
1) Mount Image using DaemonTools Lite
To rebuild flashable ROM from DUMP (Currently OS Only, No radio or SPL):
1) You need a base_os.nb.payload for your device ... See below for details
2) Convert OS IMGFS (Part02.raw) to nb.payload (new-os.nb.payload) imgfstonb Part02.raw base_os.nb.payload new-os.nb.payload
3) Insert XIP (Part01.raw) into new-os.nb.payload implantxip Part01.raw new-os.nb.payload
4) Merge os-new.nb.payload into os-new.nb nbmerge -kaiser new-os.nb
5) Create os-new.nbh nbhutil, Select "Touch_Pro2" under "Target Device", change RHOD*** to RHOD500, click the ... box next to OS, and select new-os.nb, click Build NBH and select where to save NBH file.
How to get a base os.nb.payload:
1) Download a stock ROM and extract RUU_Signed.nbh
2) Extract RUU_Signed.nbh nbhextract RUU_Signed.nbh - This will list the files extracted ... The one you need is ##_OS.nb ... Copy as os.nb copy ##_OS.nb OS.nb
3) Split OS.nb to OS.nb.payload nbsplit -kaiser OS.nb
4) Create OS.imgfs.bin imgfsfromnb OS.nb.payload OS.imgfs.bin
5) Create empty directory called 'DUMP' (If a DUMP folder exists, rename it) mkdir DUMP
6) Create a blank IMGFS file imgfsfromdump OS.imgfs.bin blank_imgfs.bin
7) Create base_os.nb.payload imgfstonb blank_imgfs.bin OS.nb.payload base_os.nb.payload
Dump SPL and Radio
Does anyone know how to do this?
Oh my god I found the answer on "how to dump a rom from the TP2"!
Could someone rename the topic in something like "official guide" or stick it?
I think it could be useful for a lot of people..
dj13241 said:
How to get a base os.nb.payload:
1) Download a stock ROM and extract RUU_Signed.nbh
2) Extract RUU_Signed.nbh nbhextract RUU_Signed.nbh - This will list the files extracted ... The one you need is ##_OS.nb ... Copy as os.nb copy ##_OS.nb OS.nb
3) Split OS.nb to OS.nb.payload nbsplit -kaiser OS.nb
4) Create OS.imgfs.bin imgfsfromnb OS.nb.payload OS.imgfs.bin
5) Create empty directory called 'DUMP' (If a DUMP folder exists, rename it) mkdir DUMP
6) Create a blank IMGFS file imgfsfromdump OS.imgfs.bin blank_imgfs.bin
7) Create base_os.nb.payload imgfstonb blank_imgfs.bin ##_OS.nb.payload base_os.nb.payload
Click to expand...
Click to collapse
Aloha Man,
- i'm trying to use your tutorial to Dump and Rebuild an HTC ROSE (S740) ROM
- i'm at the point where i've downloaded the RUU_Signed, and folowed the above procedure until step 7
- in step 2, i've replaced ## in ##_OS.nb with 03, witch is the number of the file after nbhextract
- i can't find 03_OS.nb.payload and at step 7, the command spits out and error :
" ImgfsTools 2.1rc2>imgfstonb blank_imgfs.bin 03_OS.nb.payload base_os.nb.payload
ImgfsToNb 2.1rc2
Using bigstorage mode
Input file 03_OS.nb.payload cannot be opened. Exiting "
Should i rename
OS.nb.payload to 03_OS.nb.payload or change the syntax on the command input file accordingly ?
tks again alot for your help !
UrbanWarrior said:
Aloha Man,
- i'm trying to use your tutorial to Dump and Rebuild an HTC ROSE (S740) ROM
- i'm at the point where i've downloaded the RUU_Signed, and folowed the above procedure until step 7
- in step 2, i've replaced ## in ##_OS.nb with 03, witch is the number of the file after nbhextract
- i can't find 03_OS.nb.payload and at step 7, the command spits out and error :
" ImgfsTools 2.1rc2>imgfstonb blank_imgfs.bin 03_OS.nb.payload base_os.nb.payload
ImgfsToNb 2.1rc2
Using bigstorage mode
Input file 03_OS.nb.payload cannot be opened. Exiting "
Should i rename
OS.nb.payload to 03_OS.nb.payload or change the syntax on the command input file accordingly ?
tks again alot for your help !
Click to expand...
Click to collapse
You are correct ... Step 7 should should not have the ##_ ... I have corrected the instructions above in my previous post. The command should be:
Code:
imgfstonb blank_imgfs.bin OS.nb.payload base_os.nb.payload
dj13241 said:
To rebuild flashable ROM from DUMP (Currently OS Only, No radio or SPL):
1) You need a base os.nb.payload for your device ... See below for details
2) Convert OS IMGFS (Part02.raw) to nb.payload (new-os.nb.payload) imgfstonb Part02.raw os.nb.payload new-os.nb.payload
3) Insert XIP (Part01.raw) into new-os.nb.payload implantxip Part01.raw new-os.nb.payload
4) Merge os-new.nb.payload into os-new.nb nbmerge -kaiser os-new.nb
5) Create os-new.nbh nbhutil, Select "Touch_Pro2" under "Target Device", change RHOD*** to RHOD500, click the ... box next to OS, and select new-os.nb, click Build NBH and select where to save NBH file.
How to get a base os.nb.payload:
1) Download a stock ROM and extract RUU_Signed.nbh
2) Extract RUU_Signed.nbh nbhextract RUU_Signed.nbh - This will list the files extracted ... The one you need is ##_OS.nb ... Copy as os.nb copy ##_OS.nb OS.nb
3) Split OS.nb to OS.nb.payload nbsplit -kaiser OS.nb
4) Create OS.imgfs.bin imgfsfromnb OS.nb.payload OS.imgfs.bin
5) Create empty directory called 'DUMP' (If a DUMP folder exists, rename it) mkdir DUMP
6) Create a blank IMGFS file imgfsfromdump OS.imgfs.bin blank_imgfs.bin
7) Create base_os.nb.payload imgfstonb blank_imgfs.bin OS.nb.payload base_os.nb.payload
Click to expand...
Click to collapse
Aloha again,
i need some further clarifications if u are so kind :
- i've properly finished the "How to get a base os.nb.payload" section, so now i have a "base_os.nb.payload" file
- going back to point 2 of the section "To rebuild flashable ROM from DUMP (Currently OS Only, No radio or SPL)", i've succesfully executed points 2 and 3 , but when i go to try point 4 nbmerge spits out the following error :
"NBMerge 2.1rc2
Could not open input file os-new.nb.payload"
My Questions :
- where do u use the "base_os.nb.payload" file that's created at the "How to get a base os.nb.payload" step ? since the file is called "base_os.nb.payload" and in the command syntax description u call it : "base os.nb.payload"
- until point 4 of the "To rebuild flashable ROM from DUMP (Currently OS Only, No radio or SPL)" section in the syntax u use the name "new-os.nb.payload" for the file,
- from point 4 on u use the term "Merge os-new.nb.payload into os-new.nb" -> so os-new.nb.payload , and NBmerge is expecting "Could not open input file os-new.nb.payload" but until point for we've created a file called "new-os.nb.payload"
- shouldn't the syntax for the commands from point 2 thru 4 be what NBMerge is expecting ? meaning "os-new.nb.payload"
thanks again for your help!
When I get home from work today, I will run through the steps and eliminate any errors I find.
UrbanWarrior, I have updated the 'Build a Flashable ROM' section step 2 ... I changed the reference to 'os.nb.payload' to 'base_os.nb.payload' ... Let me know if you run into any other issues.
I was trying the steps for my HTCJade to dump my stock ROM. Things were going smoothly however, the step
"Insert XIP (Part01.raw) into new-os.nb.payload implantxip Part01.raw new-os.nb.payload"
fails with an error "XIP File not Specified!"
I noticed that the mentioned step is not following tha syntax of the command:
Usage: implantxip -XIP <xip.bin> -PAYLOAD <.nb.payload> [-ImgStart <hexvalue>] [
-uldr [tryremove] ] [-PP <MbValue>] [-NoCert]
The command expects "xip.bin" but i am giving the argument as Part01.raw as per the step.
What to do? Can anybody help.
svaym said:
I was trying the steps for my HTCJade to dump my stock ROM. Things were going smoothly however, the step
"Insert XIP (Part01.raw) into new-os.nb.payload implantxip Part01.raw new-os.nb.payload"
fails with an error "XIP File not Specified!"
I noticed that the mentioned step is not following tha syntax of the command:
Usage: implantxip -XIP <xip.bin> -PAYLOAD <.nb.payload> [-ImgStart <hexvalue>] [
-uldr [tryremove] ] [-PP <MbValue>] [-NoCert]
The command expects "xip.bin" but i am giving the argument as Part01.raw as per the step.
What to do? Can anybody help.
Click to expand...
Click to collapse
i had the same problem. i just did "implantxip -XIP Part01.raw -PAYLOAD new-os.nb.payload"

One Click Apk Signer... Easiest Apk Signing Ever

So I see people have trouble using apk manager, apk tool or the signing tool. This solves that simple double click the one_click_signer.cmd and give the name and path of your zip or apk and BAM!!! it gets signed and zipaligned.
You'll need java in your class path for this to work orrr alter the script to point to where java is on your machine.
hopefully this one works for me.. java has been in my class path for others, but could never figure out where things went wrong...
I can answer any Java question you have... class path, Mem settings
Sent from my PC36100 using XDA App
thanks, working for me!
Use Zipsigner instead
Sent from my X8
hopefully this one works for me too..
How i do in UNIX??
useless
ASimmons said:
...give the name and path of your zip or apk and BAM!!! it gets signed and zipaligned...
Click to expand...
Click to collapse
Maybe others would work with proper tweaking of environment variables, but One Click Signer is the first solution that worked for me! However, I could not get it to work by providing any name & path such as C:\myapp.apk or even what the prompt literally asks for- myapp.apk C:\. What finally worked through trial & error was to just have the apk in the same directory as one_click_signer.cmd and specify ONLY the apk name (as in myapp.apk). I'm not positive, but spaces in paths or file names are probably best avoided as well.
Thank you so much man I can now test my app skipping google's requirements.
very useful. I had problems signing apks and this did the trick.
Hello.
Very nice tutorial, i just find it easier to do it like this:
1. Download the rar and extract the lib folder somewhere
2. Copy your APK or ZIP to the lib folder
3. Press shift and rightclick in the folder (not on a file) - select "open command prompt here"
4. To sign a file: java -Xmx512m -jar signapk.jar -w testkey.x509.pem testkey.pk8 <APK OR ZIP NAME> <APK OR ZIP NAME> (example java -Xmx512m -jar signapk.jar -w testkey.x509.pem testkey.pk8 myfile.apk myfile.apk
5. To zipalign the file: zipalign -f 4 <APK OR ZIP NAME> <APK OR ZIP NAME> (example: zipalign -f 4 myfile.apk myfile.apk)
Done!
The reason for this approch is that you are 100% sure it will work, because you are working directly in the directory.
monchyrcg said:
How i do in UNIX??
Click to expand...
Click to collapse
Linux:
Code:
[email protected]:~/android/apktool$ cat one_click_signer/one_click_signer.sh
export EnableDelayedExpansion # dunno what that does
if [ -z $1 ]; then
echo "usage: $0 xxx.apk"
exit 2
fi
ROM=$1
cp $ROM x$ROM
cd lib
# sign the rom
java -Xmx512m -jar signapk.jar -w testkey.x509.pem testkey.pk8 ../$ROM ../x$ROM
# zip align
./zipalign -f 4 ../x$ROM ../signed-$ROM
cd ..
rm x$ROM
copy zipalign from ~/android-sdk-linux_x86/tools/
sh-06d nerv only Docomo launcher Rom oficial
Hello good friends and found the files in the official ROM released for the phone sh-06d nerv only here you will find all the content of the wallpapers Ringtones equipment and just about anything to have hope and someone decides to port it to other teams in this community so great there are people who really like to share their knowledge and would love to work together to carry this Rom for other teams doing well and something that many users have asked seen shouting greetings and look forward to your support here I left the Link http://tieba.baidu.com/p/2012713251
Finally, a program that worked. Good work.
I am new to android i dont know any thing please help
ASimmons said:
So I see people have trouble using apk manager, apk tool or the signing tool. This solves that simple double click the one_click_signer.cmd and give the name and path of your zip or apk and BAM!!! it gets signed and zipaligned.
You'll need java in your class path for this to work orrr alter the script to point to where java is on your machine.
Click to expand...
Click to collapse
for this post i want say that i have a java installed in my windows xp can any one send me a video tutorial on how to use one click signer.
my email id is [email protected]
---------- Post added at 11:23 AM ---------- Previous post was at 11:19 AM ----------
ASimmons said:
So I see people have trouble using apk manager, apk tool or the signing tool. This solves that simple double click the one_click_signer.cmd and give the name and path of your zip or apk and BAM!!! it gets signed and zipaligned.
You'll need java in your class path for this to work orrr alter the script to point to where java is on your machine.
Click to expand...
Click to collapse
You'll need java in your class path
What does that mean i have a java installed on xp please help or send a video.
easiest way is to just drag apk file into one click dailog box. .and press enter......it will do the rest itself....i wish unity 4+ were also open sourcd...
The script only works if you put apk/zip in script folder. I rewrote the script. Open the cmd file and replace all text with this one:
Code:
@ECHO off
setlocal EnableDelayedExpansion
SET SCRIPT_PATH=%0
SET SCRIPT_PATH=%SCRIPT_PATH:"=%
echo %SCRIPT_PATH% | FIND ":" > nul
IF %ERRORLEVEL%==1 SET SCRIPT_PATH=%CD%\%SCRIPT_PATH%
FOR /F "delims=\ tokens=*" %%G IN ('echo %SCRIPT_PATH%') DO SET SCRIPT_PATH=%%~dpG
SET SCRIPT_PATH=%SCRIPT_PATH:~0,-1%
if NOT "%1"=="" goto seguir
echo Enter full path and filename of the apk/zip to sign or drag&drop file to this window:
SET /P rom=----^>?
call :separar "%ROM%"
goto seguir2
:seguir
call :separar "%1"
:seguir2
echo Copying "%ruta%%archivo%" to "%ruta%temp-%archivo%"
copy "%ruta%%archivo%" "%ruta%temp-%archivo%">nul
set olddir=%cd%
cd /d "%SCRIPT_PATH%\lib"
echo Signing "%ruta%temp-%archivo%"
java -Xmx512m -jar signapk.jar -w testkey.x509.pem testkey.pk8 "%ruta%temp-%archivo%" "%ruta%temp-%archivo%"
echo Zip aligning "%ruta%temp-%archivo%" to "%ruta%signed-%archivo%"
zipalign -f 4 "%ruta%temp-%archivo%" "%ruta%signed-%archivo%"
del "%ruta%temp-%archivo%"
cd /d "%olddir%"
goto fin
:separar
set ruta=%~dp1
set archivo=%~nx1
goto :eof
:fin
This works in the folllowing cases:
- Calling script from command line (from any drive/folder)
- Calling it from Windows (Explorer/Run/etc)
And you can pass apk/zip in the following ways:
- Drag&drop file to the console window
- Passing file as an argument
- Manually writing full path and filename to file
Bye and sorry for my english.
PLAY STORE SAYS ::
Upload failed
You uploaded an APK that is signed with a restricted certificate. You need to upload an APK signed with your own certificate.
PLEASE UPDATE THE CERTIFICATE FILES
Right-Click Menu?
I created .reg file to add this "apksign one click" to mouse right click menu (when i click r-click on apk, will give me sign apk).
SEE the BOLD part..i get the menu but it dont work i got error...later ill show you
Code:
@echo off
color 0a
:: relaunch self elevated
ver|find /i "XP">nul||whoami /all|find "S-1-16-12288">nul
IF %ERRORLEVEL% NEQ 0 (
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
)
java -version >nul 2>&1||echo Error: Java is not found&&echo Please install JRE first &&echo.&&echo Existing..&&pause&&exit
:: remove menu handlers installed by other apps
reg add "HKCR\.apk" /f /ve /t REG_SZ /d ""
reg delete "HKCU\Software\Classes\.apk" /f >nul 2>&1
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.apk" /f >nul 2>&1
reg add "HKCR\.apk\DefaultIcon" /f /ve /t REG_SZ /d "%~dp0tools\apk.ico"
reg add "HKCR\.apk\shell\decompile" /f /ve /t REG_SZ /d "Browse Java Code of APK"
reg add "HKCR\.apk\shell\decompile\command" /f /ve /t REG_SZ /d "\"%~dp0tools\decompile.cmd\" \"%%1\""
reg add "HKCR\.apk\shell\disassemble" /f /ve /t REG_SZ /d "Disassemble APK and Decode Resources"
reg add "HKCR\.apk\shell\disassemble\command" /f /ve /t REG_SZ /d "\"%~dp0tools\disassemble.cmd\" \"%%1\""
reg add "HKCR\.apk\shell\install" /f /ve /t REG_SZ /d "Install APK to Phone"
reg add "HKCR\.apk\shell\install\command" /f /ve /t REG_SZ /d "\"%~dp0tools\install.cmd\" \"%%1\""
[U]reg add "HKCR\.apk\shell\signapk" /f /ve /t REG_SZ /d "Sign the Apk"
reg add "HKCR\.apk\shell\signapk" /f /ve /t REG_SZ /d "\"%~dp0tools\oneclickapksigner.cmd\" \"%%1\""[/B][/U]
reg add "HKCR\folder\shell\recompile" /f /ve /t REG_SZ /d "Recompile APK from Disassembly"
reg add "HKCR\folder\shell\recompile\command" /f /ve /t REG_SZ /d "\"%~dp0tools\buildapk.cmd\" \"%%1\""
:: remove entries left from old versions
reg delete "HKCR\jarfile\shell\decompile" /f >nul 2>&1
pause

Categories

Resources