I think that d2s does not cares about SD card format. It just writes a header and dump data from flash to SD card's sectors. So you don't have to format anything, or create any partition on your card! just dd the original saved data on the card, it does not follow any partition/FS format. you have to dd it to /dev/sdb, not /dev/sdb1 we're ok?
I found somewhere on hh.org hx-4700 wiki that a saved wince4.2 image was around ~130 MB, so even if you transfer the first 256 MBs from your 1GB card to a new 256MB card, it will work without problem. Anyway, I think the main point here is to realize that d2s backup does not care about filesystems and partition tables. It's just raw data blocks that you can read from the block device /dev/sd<letter>. 2007/10/17, Brian Green <[EMAIL PROTECTED]>: > > Sébastien Lorquet wrote: > > I read somewhere in the past that too big cards were not accepted. I'm > using > > a 256 MB card and it's perfectly recognized. Don't know if that helps... > > > > Another tip: When I want to restore wince, I insert the SD card before > > resetting > > the device with the appropriate keys combination. > > > > 2007/10/17, pHilipp Zabel <[EMAIL PROTECTED]>: > >> On 10/17/07, Brian Green <[EMAIL PROTECTED]> wrote: > >>> pHilipp Zabel wrote: > >>>> On 10/16/07, Brian Green <[EMAIL PROTECTED]> wrote: > >>>>> Hi Philipp > >>>>> > >>>>> pHilipp Zabel wrote: > >>>>>> On 10/16/07, Brian Green <[EMAIL PROTECTED]> wrote: > >>>>>>> Hi > >>>>>>> > >>>>>>> I'm trying to re-installed Mobile 5.0 to my hx4700. > >>>>>>> > >>>>>>> Currently the hx4700 has the SDG Systems (1.2.4.hx4700) bootloader > >> in > >>>>>>> ROM, with GPE 2.7 Linux 2.6.16.hh2 - Familiar v 0.8.4. > >>>>>>> > >>>>>>> I believe I still have the original image created by dd back in > >> 2006 > >>>>>>> which I have just restored, using dd, to a freshly formatted 1GB > >> SD. > >>>>>>> When I try to execute s2d, minicom gives: > >>>>>>> > >>>>>>> " > >>>>>>> Welcome to minicom 2.2 > >>>>>>> > >>>>>>> OPTIONS: I18n > >>>>>>> Compiled on Nov 26 2006, 03:37:56. > >>>>>>> Port /dev/ttyUSB0 > >>>>>>> > >>>>>>> Press CTRL-A Z for help on special keys > >>>>>>> > >>>>>>> Invalid command : AT V1 X4 &c1 E1 Q0 > >>>>>> That's ok. "AT V1 X4 &c1 E1 Q0" is what minicom sends to initialize > >>>>>> the modem on the other end (see minicom -s -> modem & dialing -> > >> init > >>>>>> string), and the htc bootloader obviously doesn't understand AT > >>>>>> commands. > >>>>>> > >>>>>>> For a help screen, use command ? or h > >>>>>>> USB> > >>>>>>> " > >>>>>>> > >>>>>>> Entering the command s2d gives: > >>>>>>> > >>>>>>> " > >>>>>>> Invalid command : s2d > >>>>>>> For a help screen, use command ? or h > >>>>>>> " > >>>>>> And that's ok, too, because in the bootloader version shipped with > >> the > >>>>>> hx4700, the s2d command is not implemented. The only way to put > that > >>>>>> image back into flash is to put the SD card in and have the > >> bootloader > >>>>>> recognize it automatically on startup (it says 'press power to > >> flash' > >>>>>> or similar if the checksums are correct). > >>>>>> Or maybe soon with my small USB flashing tool > >>>>>> (http://www.linuxtogo.org/~ph5/htc-tools/), if somebody supplies > the > >>>>>> hx4700 wince partition list for htc-flash.c and isn't afraid to > >> test. > >>>>>> Patches welcome :) > >>>>>> > >>>>> OK. I started the SDG bootloader with Contacts, Inbox, and Reset. > >>>>> > >>>>> I get the SDG Systems Embedded Reflash Utility screen. Then "Can't > >> read > >>>>> control file". Which is repeated when I press Record. > >>>>> > >>>>> So, the checksum is wrong? > >>>> No no, if you want to flash an SD image that was created with d2s by > >>>> the _HTC_ bootloader, you also have to use the HTC bootloader to > write > >>>> it back. Plug in the SD card, start the HTC loader with > >>>> <Contacts>+<iTask>+<Reset>, and if you are lucky and everything went > >>>> right during backup and restoration of the SD card image, it should > be > >>>> recognized at this point. > >>>> > >>>> regards > >>>> Philipp > >>> But, "<Contacts>+<iTask>+<Reset>" merely presents me with the Serial > HP > >>> v1.01 screen, and then the iPAQ hangs ... > >>> > >>> (This is the sequence by which I got to the USB prompt, above ...) > >> Then it doesn't recognize the SD card (for whatever reason). It should > >> change the "Serial" or "USB" line to a string similar to "Press power > >> to flash" automatically, as soon as the SD card is inserted (or > >> instantly, right from the beginning, if you boot with the card already > >> inserted). > >> > >> regards > >> Philipp > > Hi Sébastien > > I've just tried reset with/out the SD card in, without any luck. > > How can I verify my img file created with d2s originally onto a 1GB SD > card (now reused)? I have a CD with gz'd copy that I originally d2s'd > and have dd'd it to a 1GB SD card. The gz'd file is 27.5MB whilst the > extracted img files is 98.2MB!! That is, it will only fit on a 1GB SD > card ... ? > > Note: I prepared the orginal 1GB SD card on an (and, rescued for the > purpose) XP PC. I couldn't get a Linux format SD card to be read by my > hx4700. The latest 1GB SD card was similarly format'd on an XP PC - but > when I verified it, with "fdisk /dev/sdb1" on one of my Linux PCs, the > partition table was a real mess. I've corrected this, with fdisk, and > re-tied the whole process with the hx4700 without any luck ... > > Can anybody send me gz'd working img file that I can restore to my > hx4700 in order that I can sync my newly purchased Mobile 5.0 to it? > Unless, of course, I'm still doing something blatantly wrong ... > > Regards > > Brian > > _______________________________________________ > Hx4700-port mailing list > [email protected] > https://www.handhelds.org/mailman/listinfo/hx4700-port > -- Sébastien LORQUET - 이세영 (李世榮) Ingénieur ENSPG 2006 / ENSIMAG-ASI 2007
_______________________________________________ Hx4700-port mailing list [email protected] https://www.handhelds.org/mailman/listinfo/hx4700-port
