how works a bootloader(sd) image (SD > 64MB) - JAM, MDA Compact, S100 General

Hi all !
My Question ist, how the bootloader saves the image, if the used card is bigger than the rom? The image doesn't seam to be empty after the first 64Mbytes....
anybody knows something?
greetz MatteZ

The non-emptiness after 64MB is just the garbage what was present before dumping your rom.
You can check it by writing a specific pattern to your SD & then dump your rom.
Regards, M

after some testing i came to the same result^^
But, thanks for answering! I'm sure you wasn't the only one who knows this!
MatteZ

Probably most readers had a 'well that's obvious dude' experience.
I found out that some people on the board are really inexperienced with any kind of computers & can be helped with a small explanation.
Cheers, M

??? im not to good with my ppc, are you sayin that you can install ur rom on to an sd card??? if so, does his meen that there is the 64mb fre on the ppc storage?
if this is right, can u tell me how?

Unfortunately not. You can dump your rom on a SD-Card & save that to your hard-disk or what-ever. The magician won't boot from your SD in a way that you can free up your internal rom-memory. Man I wish it would.
You can supply a new rom to your magician in two ways: the first is with active sync and the second is via a rom-image on a sd-card. The bootloader will recognize the rom-image on the sd & start flashing it into it's internal rom memory.
So Mattezh question was about dumping his internal rom on a sd-card. If you do this & save the rom image on your PC the program to read the image from your sd will not know where the rom image ends. So it just copy every bit from your sd to your PC & that's why there's a lot of garbage in the saved image after the 64MB size of the image.
Understandable? I hope cause I know I sometimes tend to write a bit weird, I know

Related

Is 32 mb sd card sufficient for rom backup before upgrade?

I am terribly excited about the SE rom ver1.2 and desperately wants to run the exe file from Jeff. However, it seem advisable to back up my present O2 rom (ver 3.16.32 Eng) before doing so.
I do not have any sd card and thot of buying one to do this backup. Is a 32 mb card sufficient to back up the rom first before running Jeff's exe?
Can I just run Jeff's exe to upgrade my rom which is not the 3.17 version? I have read before someone's postings about how to back up the rom on the sd card but couldn't find it again. Can someone tell me how to do the rom back up to sd card or the relevant posting to help me?
Hope some kind soul could help me answer these questions. Thanks very much.
Re: Is 32 mb sd card sufficient for rom backup before upgrad
smaslift said:
Q.1. Is a 32 mb card sufficient to back up the rom first before running Jeff's exe?
Q.2. Can I just run Jeff's exe to upgrade my rom which is not the 3.17 version?
Q.3. I have read before someone's postings about how to back up the rom on the sd card but couldn't find it again. Can someone tell me how to do the rom back up to sd card or the relevant posting to help me?
Hope some kind soul could help me answer these questions. Thanks very much.
Click to expand...
Click to collapse
A.1. Nope 32MB is not enough you need at least a 64MB card.
A.2. Yes!
A. 3. [Optional] Backup old ROM & bootloader to an SD card . Do this by soft-resetting the PPCPE with the power button pressed to enter bootloader mode, then press the contacts button, select CE+BOOT TO SD using the pad + action button. Soft reset the device afterward. (Note: you may use XDArit http://www.xda-developers.com/XDArit/ to backup the ROM from the SD card to your PC
Answer much appreciated
Thanks Qman; you are very kind.
Will do as instructed.
Cheers

BIG PROBLEM ! I probably damage my SX56 upon his upgrade

Hey everyone. I have big problem and i need a help or somebody who can help me fix my problem. When i use XDA-developers-SER-v12 to upgrade my SX56 my PC freeze up and upgrade wasn't finish . Now i can see on my display only black and white line. Nothing more or less. PPC is not working with my PC
Anybody can help my or give me any adress i can send PPC to fixed (if it's possible) ? Or i don't know what can i do ........... :roll:
Thank for hepl !
sorry my english :?
You need to use sd card flashing method, your phone will be ok, just look around the forum look for sd card flashing.
BIG PROBLEM ! I probably damage my SX56 upon his upgrade
cruisin-thru said:
You need to use sd card flashing method, your phone will be ok, just look around the forum look for sd card flashing.
Click to expand...
Click to collapse
OK but how can i reflash my SX56 with SD cadr if I don't have any back up ?
plus everybody has bootloader 5.17 or older but my is 5.22 :-(
Hello,
you have 2 options both use SD card:
1. get ROM backup from any other working XDA.
2. get SD card reader/writer. change the extention of the ROM file you cooked to .zip and use winzip to extract a file named NK.nbf under \english directory. use the SD writer to copy this file to the SD card.
in both cases, insert the SD card into your XDA and use the bootloader.
good luck ...
similar problem last year
Hiya Mike2001,
I had a similar problem last year. I found that while the ActiveSync monitor shows no connectivity you will still be able to transfer an OS image. One hiccup I did find, and I am running wallaby 5.17 by the way, is a version conflict with the proposed rom and existing header information. This is a windows registry problem on your PC caused by the crash which needs to be deleted prior to attempting the upgrade.
Hope this helps,
Cheers,
David A. Booth

Problem occured during ROM upgrade.

Hi all.
When I was upgrading my ROM (using LumpiStefans ROM kitchen). Unfortunatelly, some problem occured and now, all I can see is the progress bar that appeared during upgrading.
I've read a lot of topics on the forum, but I didn't find a complete solution on this topic.
I've read that I should boot from SD card. But I couldn't find a description on how to do it. Where do I get the image to do it? I have 64 MB SD card from my camera. Can I just copy file(s) on the card using regular Windows interface (thru camera cable) or do I need specific SD card reader/writer?
I have MDA from Era (Poland).
I appreciate any help.
http://wiki.xda-developers.com/index.php?pagename=Wallaby_HT_FlashSD
Stefan
Thanks a lot, for this link.
I've downloaded XDA Developers v12 ROM.
In it I found a file NK.nbf, judging by it's size (32MB) this is the image I'm looking for. Your ROM distributions also have the same file.
Can I use this file, or should I get a proper image somewhere else?
Thanks for the help
This image is well....
Please do not use an internal Card-reader/writer. They make often problems...
Stefan
It worked!!!!
Thanks SO much.

Definitive instructions for ROM Backup/Update.

Sorry to ask this question which I know has been covered in so many other topics - but thats the problem - the topics are scattered and the answers are varied.
I have a Wizard derivative - an O2 XDA Mini S.
I have run the unlocking wizard and it is now unlocked.
I now want to
a. Backup the exisitng ROM
b. Backup the External ROM
c. Load an updated ROM.
I have tried the 'Unlock EXT ROM Wizard' - but still can't see the External ROM (in Total Commander for example) to back it up.
Can someone post a precise set of instructions for the step by step process for doing a. to c. above.
I am sure that others will find it useful as there still appears to be many posts from confused 'novices' to PPC (like me) who are trying various procedures on a hit and miss basis with varied success.
I just did the backup bit today.
Download aWizard 1.3b2
Run it, run the RAPI server using the 'e' command, wait till it starts, unlock the CID using 'u', then you can backup using the 'b' command, give it a name to backup to, and wait 15 or so minutes and it'll backup your GSM, OS, and Extended roms.
As for flashing, you can use the aWizard tool if you have the .nba rom files.
Or you can use one of the pre-packaged roms + flashers like the iMate one... but, that's where it gets a little perilous. AFAIK, the latest iMate rom will flash a locked Extended rom onto the device, which you can not edit any longer. So until someone figures out how to unlock the Extended rom, be careful.
My other idea would be to take the iMate full rom and break it up into the GSM, OS, and Extended roms. Once you do that, instead of using the pre-packaged flasher and rom, use aWizard to flash the GSM and OS roms and do the Extended part manually. Then you can keep an unlocked Extended rom (of your stock image) incase you ever want to revert to stock (since you backed up the stock GSM and OS roms in the first step).
Where is the aWizard 1.3b2. The unlocker I have is called lockiwizo2b and there is no u option.
Read the upgrading portion of the wizard forums, its all over the place there.
PS, be absolutely sure you want to upgrade, once you change, there is no going back, I did mine, I'd like to go back, but cannot.
jvanbrecht said:
Read the upgrading portion of the wizard forums, its all over the place there.
PS, be absolutely sure you want to upgrade, once you change, there is no going back, I did mine, I'd like to go back, but cannot.
Click to expand...
Click to collapse
Sure you can.
If you have an SD image you can go back to the T-Mobile original US load with no problem at all. You DID make an SD image of the ROM before you screwed around, right?
The SPL will not downgrade (you probably can do that by running the RUU for the "hacked-up" earlier Imate version with the 1.x SPL/IPL) but I've found no particular reason to.
I have verified that an SD image restore to the original T-Mo US firmware works from the Imate shipping RUU.
Genesis.
What is the best method for making the SD Image?
I would also like to know.
I would also like to know if the original Extended rom can be backed up after the iMate rom overwrites it.
pewe said:
Genesis.
What is the best method for making the SD Image?
Click to expand...
Click to collapse
You need:
1. A terminal program that can speak over the USB port. Terraterm has a patched version out which can do this.
2. A CID-unlocked device (it will NOT work if its not CID-unlocked!)
3. A SD card of 128MB or larger (buy a 128MB for just this purpose, as its a great backup device)
To use it:
1. Get into the tri-color screen (hold CAMERA, reset) and plug into the USB port.
2. Kill wcescomm.exe from Windows XP (this is the ActiveSync driver for the USB port)
3. Start your terminal porgram
4. Hit "return" to insure you have a command prompt.
5. Make sure your 128MB SD card is in the slot.
6. Type "r2sd all" and hit return.
The loader will dump the entire ROM (including extended ROM) to the SD card.
Note that this is NOT a file on a FAT filesystem - its a RAW data dump with a signature and checksum. As such you CANNOT read it onto your computer using a copy - you need a tool like "psdread" to read it from the card to a file on your PC.
If you use a NEW card, you can search for the end of valid data or do what I do and dump the entire 128MB (which is larger than the dump file for certain) and then just compress it - all the trailing zeros will compress to basically nothing.
Stick the card somewhere safe.
To RESTORE from the SD card, insert it with the power off in the Wizard, then power on while holding the CAMERA button. With the older ROMs the backlight will be OFF; with the new IMATE one it will be ON. It will tell you to press the VOICE key to load from the SD card. Do so, it verifies the integrity of the dump and loads it.
Note that the prompt only comes up for a few seconds and if you're using a 1.x release of firmware when you do this the backlight is OFF so its hard to see - but its there. Grab a flashlight if necessary.
Once you load something else on your unit from stock of course you can't go back unless you did this FIRST. This was the first thing I did when I got my MDA, so I have a copy of the T-Mobile "base software" on the SD card in case I pooch my device and need to go back to the OEM firmware.
Thanks Genesis. Very helpful guide.
I did another search on the forum using different search words and I found this post:
http://forum.xda-developers.com/viewtopic.php?t=37386&postdays=0&postorder=asc&start=0
and it looks like this is does the same thing - but without having to use other programmes like Terraterm.
Am I right?
Genesis3 said:
pewe said:
Genesis.
What is the best method for making the SD Image?
Click to expand...
Click to collapse
You need:
1. A terminal program that can speak over the USB port. Terraterm has a patched version out which can do this.
2. A CID-unlocked device (it will NOT work if its not CID-unlocked!)
3. A SD card of 128MB or larger (buy a 128MB for just this purpose, as its a great backup device)
To use it:
1. Get into the tri-color screen (hold CAMERA, reset) and plug into the USB port.
2. Kill wcescomm.exe from Windows XP (this is the ActiveSync driver for the USB port)
3. Start your terminal porgram
4. Hit "return" to insure you have a command prompt.
5. Make sure your 128MB SD card is in the slot.
6. Type "r2sd all" and hit return.
The loader will dump the entire ROM (including extended ROM) to the SD card.
Note that this is NOT a file on a FAT filesystem - its a RAW data dump with a signature and checksum. As such you CANNOT read it onto your computer using a copy - you need a tool like "psdread" to read it from the card to a file on your PC.
If you use a NEW card, you can search for the end of valid data or do what I do and dump the entire 128MB (which is larger than the dump file for certain) and then just compress it - all the trailing zeros will compress to basically nothing.
Stick the card somewhere safe.
To RESTORE from the SD card, insert it with the power off in the Wizard, then power on while holding the CAMERA button. With the older ROMs the backlight will be OFF; with the new IMATE one it will be ON. It will tell you to press the VOICE key to load from the SD card. Do so, it verifies the integrity of the dump and loads it.
Note that the prompt only comes up for a few seconds and if you're using a 1.x release of firmware when you do this the backlight is OFF so its hard to see - but its there. Grab a flashlight if necessary.
Once you load something else on your unit from stock of course you can't go back unless you did this FIRST. This was the first thing I did when I got my MDA, so I have a copy of the T-Mobile "base software" on the SD card in case I pooch my device and need to go back to the OEM firmware.
Click to expand...
Click to collapse
You, sir, are my new hero. You win 3 internets for this post.
Although, what would happen if I used my existing 512mb minisd card with apps already on it? Will it dump to a file and I can compress at that point? You mentioned it was non-readable on the card if I did that. I've already backed up the stock ROM using the aWizard tool, but if I used your method with a miniSD that had files already on it, would it blindly write to it, clobbering files, or write something to the card that was unreadable via a PC (basically not as a file on the filesystem), and if I put more stuff on the miniSD like apps or media, it'll overwrite the backup of the image?
If you do this to a card with data on it you will pooch all the data - it will scribble right on top of the FAT tables and destroy them.
Second, you won't know where the data you dumped ends. To be safe you should save 128MB of the card (from the front) to your file on the PC. This will result in a larger-than-necessary file, but that's ok.
You need tools like "psdread" and "psdwrite" to read and write the SD card in "raw" format - it is NOT a file that gets dumped, but just a RAW image of the ROM (with checksums)!
The only other "gotcha" is that depending on the EXACT configuration of the data you dump the SD card may refuse to reformat to its original capacity when you're doing doing this and/or refuse to reformat at all!
That's fixable by writing a block of zeros (e.g. 10kb or so worth) to the front of the card, which will clear what's confusing Windows (and the phone).
Genesis3 said:
If you do this to a card with data on it you will pooch all the data - it will scribble right on top of the FAT tables and destroy them.
Second, you won't know where the data you dumped ends. To be safe you should save 128MB of the card (from the front) to your file on the PC. This will result in a larger-than-necessary file, but that's ok.
You need tools like "psdread" and "psdwrite" to read and write the SD card in "raw" format - it is NOT a file that gets dumped, but just a RAW image of the ROM (with checksums)!
The only other "gotcha" is that depending on the EXACT configuration of the data you dump the SD card may refuse to reformat to its original capacity when you're doing doing this and/or refuse to reformat at all!
That's fixable by writing a block of zeros (e.g. 10kb or so worth) to the front of the card, which will clear what's confusing Windows (and the phone).
Click to expand...
Click to collapse
interesting. if I got a $10 128mb minisd, though, I wouldn't really care to use it in anything else other than this phone. I have a 512mb already for daily usage, so the 128mb would be for a backup incase I want to revert to the standard OOB rom from T-Mobile.
As long as the rom is written to the card and will read from if I choose to restore, I don't care if windows ever reads from the card again.
pewe said:
Thanks Genesis. Very helpful guide.
I did another search on the forum using different search words and I found this post:
http://forum.xda-developers.com/viewtopic.php?t=37386&postdays=0&postorder=asc&start=0
and it looks like this is does the same thing - but without having to use other programmes like Terraterm.
Am I right?
Click to expand...
Click to collapse
That's the tool I was talking about. This will dump the roms to a file on your PC that is readable. You can edit stuff, rewrite it back to the device, etc.
But what I haven't gotten a definitive answer on is whether you can flash the iMate extended rom and then overwrite it at a later date with the original t-mobile extended rom, since the iMate one is locked or something. Genesis' method involves using a miniSD to create a raw image of a newly booted phone, GSM/OS/Extended rom and all, which you can keep somewhere safe incase you ever want to revert. Apparently, even after flashing the iMate rom with the locked Extended rom, he was capable of re-flashing the device with the original rom from the miniSD.
This is exactly what I am looking for. I want to switch to the iMate rom, and know the order all the cabs in the extended rom need to be installed for it to work properly, but I was afraid I could never revert to the OOB experience. This fixes that, and I will be ordering a 128mb card tonight.
I downloaded Tera Term from http://hp.vector.co.jp/authors/VA002416/teraterm.html is this the right one? It only has COM ports as options to communicate.
Can someone please provide a link to a terminal program I can download which works over USB?
Hi,
I followed your instructions for making a backup of my ROM to an SD Card. I have a small problem, I don't have a card reader for my PC, is there any way to get the ROM image onto my PC via my Wizard? Also since the Wizard doesn't think the MiniSD card exists anymore, is there anyway to raw write those 0's to the card from the Wizard.. perhaps using terraterm? Or have I just killed my MiniSD card and I'm going to have to buy a reader for my PC ?
Thanks!
zan5hin said:
Can someone please provide a link to a terminal program I can download which works over USB?
Click to expand...
Click to collapse
download this one: http://arisme.free.fr/hacks/binaries/TeraTermPro_WinCE_USB.zip
its in the bin folder of the zip.
koniosis said:
Hi,
I followed your instructions for making a backup of my ROM to an SD Card. I have a small problem, I don't have a card reader for my PC, is there any way to get the ROM image onto my PC via my Wizard? Also since the Wizard doesn't think the MiniSD card exists anymore, is there anyway to raw write those 0's to the card from the Wizard.. perhaps using terraterm? Or have I just killed my MiniSD card and I'm going to have to buy a reader for my PC ?
Thanks!
Click to expand...
Click to collapse
You need a card reader in your PC (or a friend's PC) - I do not know of a way to write it directly in the MDA.
Genesis3 said:
You need a card reader in your PC (or a friend's PC) - I do not know of a way to write it directly in the MDA.
Click to expand...
Click to collapse
Ok thanks, I've got one from a friend now, so all good I was looking at http://wiki.xda-developers.com/index.php?pagename=HimalayaBootloaderCommands to see if there were any bootloader commands for writing to sd card, but it appears you can only copy the ROM to the SD, besides, this is for a different phone anyway.
Ok I may have found something: http://wiki.xda-developers.com/index.php?pagename=XdaUtils/psdwrite.exe claims to be able to write raw to the SD card on a WinCE device... I'll investigate.
I'm currently reading the image raw from the MiniSD card using the command "psdread -1 0 0x0F140000 sd.img" using a 256MB MiniSD and it appears to be working, albit slowly. I'll keep you informed of whether I can succesfully recover my SD card using the writer after this read finishes.

2003se upgrade for a dummy

So, ive read post after post on performing this task and it is still beyond my capabilities. My wallaby is running ppc2002, rom version is 3.20.06, radio version 4.21.01 protocol version 32s54. It's running bootloader 6.22, i havent got active sync, xdatools wont run due to missing dll's or some such thing. Have a 1gig sd and a 512mb mmc,,,,
How can i upgrade with this setup? visited rom kitchen (awesome site) and cooked up a rom, extracted NK.nbf,
Need help! Surely i can upgrade with this equipment,
http://www.romkitchen.de/ make an exe then
Rudegar said:
http://www.romkitchen.de/ make an exe then
Click to expand...
Click to collapse
So is the exe executable from an sd card?
no the exe is only for activesync upgrades
http://wiki.xda-developers.com/index.php?pagename=Wallaby_HT_FlashSD
how to flash using sd
if the tool is missing dll's then type in the name of the dll in google and find a place to get the dll and it will work
Rudegar said:
no the exe is only for activesync upgrades
http://wiki.xda-developers.com/index.php?pagename=Wallaby_HT_FlashSD
how to flash using sd
if the tool is missing dll's then type in the name of the dll in google and find a place to get the dll and it will work
Click to expand...
Click to collapse
Right, well got active sync which meens the dll's i needed are in system 32 or whatever. But,,, Does bootloader 6.22 cause problems?? Thanks for all the help,, sure this fone is a bit old but who cares. Massive screen, runs office, windows media, touch screen, great fone
Any suggestions? I cant be the only one without a data cable or cradle. At the end of the day i want the fone to run best as possible. I am thinking there is alot more compatable software for wm2003 then ppc2002? @ the moment im running mame and pacman,,,,,,,, Speaking of software, is the media player in 2002 meant to be slow? As far as video go's ive given up there.
what is your problem?
Problem is i dont seem to be able to downgrade from bootloader 6.22 to 5.15 so i can update the rom to 2003. doing ll this without a data cable or cradle.
Bootloader should not cause any problems.
Missing Dll´s for XDATools came as you have ssen correctly form ActiveSync. So you need to install this programm on your PC to use XDATools. Afterwards you will be able to wirte the ROM on your SD-Card and then flash the new ROM on your device.
So if you don´t have any cradle or cable, and don´t sync with ActiveSync, how did you manage your conacts,install software, exchange files, ....?
Stefan
I see the confusion
I have card reader's on the front panel of my pc. So i am using xardit to transfer the bootloader images onto either an sd or an MMC card. So i transfer the patch with the NB2 extension on to the card. Cold reboot xda and it gets to the normal screen telling me i need the keycard.
I can use either xdarit or isoimagetool to transfer the .NB1 file on to an SD.
I have no data cable, so these are the only methods i can use. Just pc with multi card card, sd car, mmc card.
LumpiStefan, the rom kitchen is a damn fine peice of work!
when i had a wallaby i only ever flashed it using a sdcard reader
was pretty easy used ositool put the nbf / nb1 on the sdcard
after which the cardreader could no longer read the sdcard(that mean it's successfully planted)
then i put in the sdcard and entered the bootloader and it autostart upgrading
and when it's don i hardreset and thats it
Hi And thanks
I have tried this with a 1g toshiba sd and a 512 sandisk mmc, neither seem to auto start an update. I have browsed the web a bit and have found different theories on bootloader being a problem. My card reader is a panel on the front of my pc, or using my ngage. tried formatting fat16 or fat32. Im sure it's currently ppc2002 as this is the first screen after the o2 water screen
I think your problems come from your card reader. Many people have reported, that the internal card reader causes problems in writing the ROMs in correct way on the cards. I would s uggest to use an external card reader/writer.....
Stefan
and those are only 10£$€'ish
Thanks guys for your help, all up and running now. I appreciate the advise. Rudegar, my problem was getting the wrong info from elsewhere, the solution was the card reader, Cost me $9.00 au to buy one. I thank you both

Categories

Resources