:?: Hello @ll,
can anyone tell me how i do resize an image .nb1 made with ntrw
from a 128 Mb Card an can i format the sd card in raw format usigng by the xda with a simple format program instand of romupdate.exe ?
A 64 Mb image is needet for my frinds on the other side of the world.
Have anyon a idee for my ?
Thanx,
xda.glawion.de,
You can cut the .nb1 at around 64MB. When you download eg. a BS rom, you can see where they end. It reads something like 'htce'. The rest can be skipped, viewing with a hexeditor ofcourse. But becarefull this 'htce' is on more places in the rom. Also mksbigstorager wcan perform this trick & will convert the rom to a BS one as well.
Maybe you can dump an image with ntrw via your magician with cardexport over the mbr, don't forget to uncheck 'protect mbr' I didn't manage though. Otherwise use romupdate as you said, after that the mbr is gone and you can write the newly .nb1 on it so a magician will see it.
Good luck, M
128Mb original backup ?
Yes.
128ROM copy 128ROM2
open 64ROM hacked, copy all hex to 128ROM, save.
open 128ROM2 original, copy 416 bytes to 128ROM, save.
128ROM ready to write Card 128Mb !
Related
After I successfully backup my O2 Mini existing ROM to the SD Card by the romupdate.exe. I used the ntrw.exe to convert the Image in the SD card to my computer. However, when i excute the command
> ntrw read backup.nb1 X:/
it return the followings..
>could not open backup.nb1 -- the volume does not contain a recognized file system. Pleas make sure that all requited file system drivers are loaded and that the colume is not corrupted.
I have tried other card reader (both 1.1 and 2.0) other computer and other SD card ( i am using LEXAR and Kingston 256 ) but the problem exists.
and the romupdate said the d2s command was success.
Why will it happen and
What can i do to fix this problem????
Thanks for your help....
use the command without the latest "/"
ntrw read backub.nb1 X:
JayEs said:
use the command without the latest "/"
ntrw read backub.nb1 X:
Click to expand...
Click to collapse
thx for your reply...
I have tried you's.....but it said...
> ntrw read backup.nb1 X:
> Could not lock backup.nb1 -- Access denied.
which os do u use?
which filesystem?
are u sure u have enough free discspace?
which kind of sd card do u use? (size, speed, brand)
attached image for you reference
JayEs said:
which os do u use?
which filesystem?
are u sure u have enough free discspace?
which kind of sd card do u use? (size, speed, brand)
Click to expand...
Click to collapse
OS: WinXP (NTFS)
PPC: XDA II Mini
I am sure i have enough HD space as well as the SD Card
I am using LEXAR and Kingston 256 SD, both ain't work
Thanks~~
You need to use a card reader and the drive X: should be the drive XP allocates to the SD card slot on your reader.
XP Assigns my SD reader to I: unless you have a lot of network drives on your PC it should be somewhere. The card needs to be in the card reader slot obviously and not the PDA.
I am also assuming that you are trying to write the Rom to your hard drive and not writing it back to the SD?
Hi there, looking at the dos screen you took, its telling you that you have already a file with that name in the folder. look, delete that file... and then try again... i had that problem yesterday. Now im struggling to upload the rom.
by wrong command also, it creates the nb1 file. so do DIR and see that .nb1 with 0 bytes will be there. delete it and try again!
enJoY
Hi,
I have a 1GB SD card which i use with my magician. the problem is that if i dump my ROM it uses the whole SD card which means that when i read the ROM i get a 976MB file which i know is far more than the actual size of the ROM. When i used the MKBigstorage to remove the extended storage i ended up with a 27MB file. my question is is there a way to reduce the size of the ROM to the actual size on the device?
many thanks in advance
It's an issue of ntrw. You could cut the dumped file manually using an hexeditor....
You can search after HTCE and cut off the file afterwards....
Stefan
Hi all,
Now that my device is past its warranty period, I have decided to upgrade my O2 Mini as I want the blackberry software.
However, I am following the AM's excellent how to PDF but come to a grinding halt with an ntrw error.
C:\>ntrw write new.nb1 i:
Usage: ntrw file drive:
I get this error both when I'm trying to backup my old ROM as well as transferring the new ROM back to my SD card.
Any ideas?
I'm tipping it could be a card reader problem maybe?
Cheers,
Deva
Could be the wrong version of ntrw. Try one of the other versions cause you're syntax seems correct.
If you're using a laptop cardreader then that can be the reason too, always tricky when it's not working.
M
You were spot on oltp.
I downloaded Ver 2.0 and it worked a treat.
Thanks for your help.
Deva
New problem now....
I put the SD card with the BS ROM on it into my mini and put into Boot-loaded mode, but instead of bringing up the SD Download screen, it just goes to the standard 'Serial' Boot load screen.
I can't take a trick.
Again, any ideas?
Thanks,
Deva
- uncheck usb in Act.sync on your PC
- connect the magician with usb (screen reads USB now)
- start romupgrade on your pc ....
M
Thanks for your quick response oltp, but Im a little confused.
I've been following AM's PDF guide and it says after I have loaded Big Storage ROM to my SD card, just to put it into my mini and boot it into "Boot-loaded" mode. Is that not right?
Do I need run romupdate.exe instead?
Thanks for your help,
Deva
Sorry I misread your post: I thought you were still dumping…
I guess you must have formatted your SD somewhere in the process & now have a MBR again on the card. NTRW will write the image after the MBR & your magician can't find it cause the bootloader looks @ the first position, to solve your error you have to:
- put your magician in Bootloader (camera & power & soft-reset at the same time for a few seconds) wait till screen fades & reads 'serial v1.0x'. Screen is very dark since backlight is of.
- connect usb, now the screen reads 'usb v1.0x'
- start romupgrade on your pc
- pick the magician connection in the listbox, wces something I belief
- now a screen pops up
- type d2s in this screen
- follow progress on pc & magician
- wait till checksum finishes
- get SD from the magician & put it into a cardreader. DON'T FORMAT!!!
- type on commandline: ntrw write [your BS romimage name].nb1 [sd driveletter]:
error at the end is normal
- put the SD in your magician
- now it should read 'press power to flash'
- press the power button
- watch it reaches 100% - checksum will always fail
- reset & hopefully enjoy the new rom
& I hope you've done these steps as well:
- open your dumped rom.nb1 with the hexeditor & replace twice the usual BS byte pattern
or
- open your dumped rom.nb1 & the BIG Storage with the hexeditor and replace the first 416 Bytes of the BS rom with the first 416 bytes of your dumped rom.nb1 & save it to BSrom.nb1
- type on commandline: ntrw write BSrom.nb1 [sd driveletter]:
Cheers, M
Hi oltp,
Yeah, I did reformat in between dumping the ROM from the Magician onto the SD card and dumping the BSrom.nb1 back to the SD card.
I didn't realise that the SD card needs the dumped info from the magician as well as the modified nb1 file.
OK, I will redo the steps and see how I go.
Thanks for your help, really appreciate it mate.
Cheers,
Deva
PS. Yes I did use hex editor to copy the 416b from orig nb1 to BS nb1 file, but the SD card only had the new BSrom.nb1 file on it & nothing else when I put it back into the phone. No wonder nothing happened (d'oh). Thanks for your patience
Hi oltp,
I have reviewed ampda's PDF "how to" and it does say to format the SD card before you ntrw write the new nb1 file back onto the SD card. Is this right?
That mean there is only one file on the SD card, the new BSROM.nb1. Is thats all thats needed to flash the ROM?
Sorry to be a pain but I have followed the PDF guide without success.
Thanks,
Deva
format
Hi Deva,
The pdf is incorrect @ that point. The technical explanation is this:
Romupgrade dumps your rom right @ the first bit of your SD, destroying the MBR of the card. NTRW reads the whole card with the read & saves an image to your hard-disk. When you format your card a new MBR is created & NTRW will write the new image after the MBR. Without a MBR NTRW will write @ the first position of the card, like romupgrade.
Apperently the bootloader reads the first bytes of an inserted card & as it reads magician it will accept it as an rom-image. If the bootloader finds an MBR it just doesn't give you the 'press power to flash option'.
So dump your rom on your SD & write your BS image without format on the same SD.
BTW I think a format doesn't wipe your card, only the fat. On a hard-disk it works like that anyway.
Regards, M
Hi Bro,
I need some advice on O2 mini as my SD card is not working good.
Before I started my Rom experiment, the SD was working good with both the magician and my laptop.
I made a mistake and I did not backup my rom before I start flashing.
After changing to my new rom, seems like I cant inter-use the SD between my laptop and magician. The magician cant read anything from the SD if I put data into the SD from my laptop via SD card reader/writer. When inserted to the magician, it will prompt to reformat. The same thing happen when I slot in the card to card reader after writing something from magician.
Therefore, now, I cant use SD to update rom ect.
How can i solve this problem? Thanks
Russ
Have you already tried formatting the SD card? When an SD card is used for ROM upgrading the card becomes totally unreadable for both PC and Magician.
Zerimar,
I did reformat of the SD on my laptop before writing the image to the SD via ntrw.
However, after slotting back to Magician, then go to Bootloader mode and wait for the "start loading prompt" but that have not happen yet.
russ
I think I misunderstood you, sorry. Put the Magician into bootloader mode first then insert the SD card. It should then display the message asking you to press the Power Switch to start the upload.
Thanks for your reply dude,
I've tried that too. It does not look promising.
I hope there is nothing wrong with my sd slot in the magician and i dun think there is any hardware problem. I confirmed that the Image was written in the SD.
Initially the SD card was working well with the magician before i did any rom flashing myself. even with the 1.12 WWE rom i cant read the SD. I've tried to reformat using XP on my laptop, and put back to magician. Then the magician will prompt to format again. else i cant see the storage card in the file explorer.
I've tried:
1) Slot in SD and wait - DUN WORK
2)Slot in SD, disable Async USB, and slot in use to Magician and wait. -DUN WORL ALSO
3)Slot in SD, press camera, on/of, and reset and wait till the SD load screen- ALSO DUN WORK.
4)Go to Boot loader, the slot in SD and wait- ALSO DUN WORK
5) No more idea
I wonder if different rom version will not work with certain sd brand.
My details is : 1.12 WWE with big storage.
SD : Kingston 256MB
I've tried with 1.13 WWE also but the same problem.
Hope someone can help or anyone have the same problem before?
Hello, Try this one
I think if you get problem with the SD card, you can use Mr. OLTP ways.
First open this :
http://wiki.xda-developers.com/index.php?pagename=MagicianRomUpgrade
then
downloadls all the tools you need, from the site.
1. Unzip NL_11300_131_11200.exe (or any other shipped-rom) to get all the .nbf & enterbl.exe . click right your mouse and chose extract to NL_11300_131_11200\
then you must copy all the file from NL_11300_131_11200 folder to c:
ex: c:\temp (make a new folder "temp", and copy the file from the NL_11300_131_11200 folder).
2. Put NBFDEC in the same directory = open nbfdec folder, you will find release folder in there, open the relase folder and copy 2 file to c:\temp.
3. open the temp folder and find getdevicedata.exe, Copy the getdevicedata.exe to your Magician and execute it (it will not provide any gui displays or feedback whatsoever), open the windows in my device(in your PDA), search for getdevicedata.txt. then copy to your desktop, and open with notepad.
4. To decode nk.nbf -> nk.nb1 start a command window, go to the directory where you stored nbfdec & the other files & type: nbfdec -d nk.nbf nk.nb1
this isi the ex:
in cmd
c:\documents and settings\frans>cd c:
c:\documents and settings\frans
c:\documents and settings\frans>cd ..
c:\documents and settings>cd ..
c:\>cd c:temp
c:\temp>nbfdec -d nk.nbf nk.nb1
this will convert nk.nbf to nk.nb1
don't close the CMD windows
now open the Hexeditor (must use the newest version V3.x)
open file/nk.nb1
then klik replace button , in the upper insert 02 00 00 80 00 20
in the lower 02 00 00 b8 01 20
replace all, enter.
save file in same name.
then back to the CMD window
c:\temp>nbfdec -e nk.nb1 nk.nbf
and
close the CMD windows.
open the temp folder, plug your PDA to USB,
On your PDA press power,camera and reset to bootloader mode.
clik maupgradeut_noid.exe on the temp folder.
and follow the instruction. if shows error 120. repeat again clik maupgradeut_noid.exe this will start to instal your OS
FINISH
thanks to MR. AMPDA, MR. OLTP and Mr. SEAN
for helping me.
Pls follow the guides on the board a little more carefully! Mine is very good ;-)
When you dumped your rom image on your SD with your magician, you completely destroyed the MBR of the SD. Before you save the image to your laptop with ntrw, your laptop will want to format it, cause it can't unserstand the car
. Don't do that. just put it in your cardreader & back it up with ntrw. Then you can write back another image to the card with ntrw & put your card in your magician. Just as long as you didn't format the card in between the operations the bootloader will recognize the image on the SD by the word magician which must be the first thing it reads on the card. If there's a mbr instead of the word magician, no mather what the bootloader will not present you the image 'press power to flash'
Hope you understand know how to solve your 'problem'
M
Hello yeoruss,
did u actually fixed the problem with using the sdcard on notebook and ppc at the same time? Ive the same problem after storing my ROM on SD.
I simply cant use the card in both units. When i format it under windows, is works in Windows but not on PPC - The PPC asks to reformat the card to make it readable.
When I format the Card on PPC, it works there, but no more in Windows.
Im experimenting all the time but i cant see the solution
Edit: I did not changed the ROM on my Magician, i just tryd to backup my current ROM.
Thank u
My USB Mini port seems to be damaged. I can charge the phone but when i connect it to my PC, the orange light lits and the phone gets charged but it is not found by my pc. So pls let me know how can i upgrade to wm 6.1 through sd card flash.
The solution is:
U need
ntrw ftp://xda:[email protected]/Magician/Tools/Backup_tools1/ntrw.exe
wm6.1 nb1 file http://www.mediafire.com/?sharekey=02c513f13b6fba677f7ec40ada4772a6e04e75f6e8ebb871
If the 1st method doesnot work then u need the backup of existing rom Click here to know how to back up ur exsiting rom http://wiki.xda-developers.com/index.php?pagename=BackupExistingRom
the hex editor http://www.hhdsoftware.com/Download/free-hex-editor-neo.exe
Method 1:
write to the sd card using
ntrw write Cotulla6.1.O3.nb1 F:
F: is ur sd card drive
There will be an error saying parameter incorrect. dont worry. Insert the card into the phone and enter the bootloader( Power+Camera+ SOft reset). A message will come asking you to press power button to flash. Press the power button and wait for complete flashing. in the end there will be a error that checksum failed . dont worry and do soft reset. Hurray u now have wm6.1 on ur magician.
Method 2:
If this doesn't work try this.( U should have a backup copy of ur old rom nb1 file.)
copy the first 416 bytes of ur old rom to the 416 bytes of the rom downloaded using hex editor
write the new rom to the sd card and install as in method 1.
It's not possible to install my rom via SD card.
Sorry, it designed for RUU flashing only.
I was wondering this myself...
Are you sure, Cotulla, that following this procedure would fail with your ROM?
Please someone try and if sucessful pls upload the .nb1 file so that i can write it to SD card and flash it through SD card. Thank you in adavnce
I can dump my ROM for you if you're willing to test to flash it.
please. i will try on my o2. thanks
Here it comes: click. Password is xda-developers.com.
the file appears to be too small only 23 mb . coutulla's rom was somewhere around 50 mb. will this work. i will try tomorrow as i am outside & donot have pc access
That's because of compression, the file itself is 63.7 MB.
I was planning to try this as well, but I don't have a memory card at the moment.
Keep us posted and good luck
As MusikMonk stated, this file is compressed and crypted with 7z. Haven't you heard of 7z yet? It's about time!
I doubt it will brick your Magician, since it's not overwriting the bootloader. Thus you can always flash you beloved old ROM.
While writing the file to the memeory card i am getting this as output.
NTRW v2.00
Removeable media
Cylinders: 0:120
TracksPerCylinder: 255
SectorsPerTrack: 63
BytesPerSector: 512
bufsize is 65536
WriteFile(): Cotulla6.1.03.nb1 -- the Parameter is incorrect
When i put the memmory card in my PDA and enter the bootloader mode only the screen with Serial and v.1.02 is there and there is no option to install press power button.
You must have done something wrong when filling your SD card.
I get that "press power to flash" message.
I hope someone will eventually try to flash that file... otherwise I made a lot of effort for nothing :-(
So does it work or not???
I used 1 GB Memory card. The Problem Might be because of than. Pls Letme know what memory card u used. Shold I used 64/128 MD card instead of 1 GB. Pls Help
64MB is a few bytes too small, 128MB is sufficient. I used a 256MB card... maybe the boot loader is unable to read much bigger cards... if my 16 GB card were empty I could give it a try... ;-)
I tried to copy the Cotulla.nb1 file on my SD-card, but it doesn't work. I used a 2gb and 128mb card...
I copied the ntrw.exe and the Cotulla.nb1-file to c://user/username. Then I write "ntrw write Cotulla.nb1 j:" in the black DOS-Window and press enter. j: is my SD-card.
Now there appeare some lines of text and I can wait about 3 minutes until there comes something about a wrong parameter...
But as I understand it, this should be no problem.
But the problem is when I try to take a look on the SD-card, there comes a window, that says that I must format the card. I cant open it... When I take out the card from the card reader and put it inside again, I can see what is inside on the card. But there is only one folder with the size of only about 130kb and no ROM...
My OS is Vista.
What am I doing wrong???
Magician boot loader does not expect any file system on the SD card, thus ntrw writes the OS directly to the first sectors of your card. When you insert this card now anywhere Windows does not find any file system and recommends to format. That is correct (as long as don't answer yes) and shows writing WM6.1 was successful (given your card is big enough and failure free).
To make clear: you shouldn't be to browse that card in Explorer when you wrote WM6.1 on it.
Ok but if I put the card out of the reader und back again I can browse the card and there is nothing except of an 130kb small folder...
And if I put the card into my magician on bootloader, nothing happens...
What could be the reason for that?
I tried with 256 MB memory card I am gettin gthe same message while writing to card.
NTRW v2.00
Removeable media
Cylinders: 0:120
TracksPerCylinder: 255
SectorsPerTrack: 63
BytesPerSector: 512
bufsize is 65536
WriteFile(): Cotulla6.1.03.nb1 -- the Parameter is incorrect
And when I enter the bootloader mode with the card Inserted I get the message:
SD Download
==========
Sections=1
Not allow
update!
But with the same SD card when i write my old ROM( whic i had backed up) I get no error and when I insert the card and enter Bootloader mode I get the message :
SD Download
==========
Sections=1
Press Power to Flash
This means that there is some problem with the nb1 file . So kindly someone try it and post the results
one more thing. The backup.nb1 which i backed up from my sd card is 243 mb big. So i feel that the nb1 file which U extract from your card should also of around the same size and not 65 MB. Correct me if i am wrong.
I tried to extract nb1 file after writing ur rom to my sd card. it is also 243 mb big.