Using the XDA rom image tool with a USB SM card reader - MDA, XDA, 1010 Software Upgrading

I am attempting to use the XDA Rom image Tool to write a rom on to my SD card but I keep getting the error message "Failed to open device \\.\physicaldrive11.
My sd card reader is a dazzle high speed usb reader & writer.

Don't do it with XDARit until the new version is released. It looks like you have several logical drives on single physical hard disks. Am I correct? If you use XDARit, you might end up writing over a partition table of a Harddrive.
Best to use XDARit when you have a single Drive C, 1 or more CDRoms, and no other devices except your SD reader.
Wade

you may try it now actually, just haven't officially released it yet, and it may get more documentation.
tell me what you think of it:
http://www.xs4all.nl/~itsme/projects/xda/OsImageTool.html
it does less than xdarit, but does it faster, and probably safer, with less risk of destroying other disks.

I am trying it. I am trying to use the Device Memory as the source and then for the Destination, I am trying to use the File Selector to select Test.nb1 as the Destination. It says, Test.nb1 , File Not Found. Please verify that the correct Filename was given.
I then created an empty text file and renamed it to Test.nb1. Then I retried. It liked it since the File existed.
Then I had a sense of foreboding and I canceled everything, fearing that I might be trying to flash my device with an empty file if things went wrong. :shock:
So I am hoping to get a warmer fuzzy before trying it.
PS. I did try and flash my SD with an NK.nbf and it worked great.
Wade

Did it!
I used the USB reader on a machine with a single hard drive and cd rom and it worked great.
Thanks for the advice wbalzer.

I think it suffers the same shortcoming as pnewbootloader, that it needs
pput.exe.
I added it to the archive now.

if you select 'device memory' as a destination, it will start "programme a"
so you will have plenty of opportunities to click cancel, if you didn't mean
to do so.

Related

XDArit tells me SD card not formatted

I backed up my ROM from my XDA onto an SD card.
When I run XDArit, it reports that card is not formatted, do I want to format it? I just noticed that trying to read the card in file manager, I get the same message.
I remember when I did the ROM backup I chose CE + BOOT.
What is wrong?
Try using XDArit version 1.0 which can be download from the software section at: http://www.yorch.net
Qman
This version seemed better but was a bit confusing.
When run it asks me to chose read from or write to SD card.
I chose "read from"
Then it brings up window to choose files to read for
Bootloader and
Windows CE
There is a directory button labelled ".." to the right of these.
When I click on them it brings up a box that asks me to "save as"
If I add *.nb0 for boot and *.nb1 for CE, I get a device failed message.
However, when I try to read the SD card through file manager on my PC, I get the same "device not formatted" error.
HELP!
i seem to remember reading somewhere on these forums that the pc cannot read the sd card once the image has been written, so you will receive 'device not formatted errors' although it is likely that the data is on the card.
Confirming you're using XDArit 1.0 version?
Also your saved ROM is not saved in a standard windows FAT format so Windows Explorer wants to format it so it can read/write it
As far as "Read from SD card" goes just use a name something like xda.nb1 for Windows CE and xda.nb0 for the bootloader.
Qman
Noted about saved ROM format. That must be why file manager does not recognize card.
Yes I'm using XDArit 1.0
There are 5 different disks to read from in the drop down menu. All have the same name and report the same error, "Failed Device"
"failed to open and read device ()"
when I tried using the names you suggested.
Joe_PDA said:
There are 5 different disks to read from in the drop down menu. All have the same name and report the same error, "Failed Device"
"failed to open and read device ()"
when I tried using the names you suggested.
Click to expand...
Click to collapse
Now thats strange, because you should at least be able to read your hard drive! What of PC SD card reader are you using?
I had the same problem with "format the card" message and guessed that wasn't really the problem.
I couldn't get "write to SD" to work, it kept saying "failed to write" or somthing like that, so following this thread I tried the same thing with the older version of XDArit and it worked!!
My xda is back from the dead.
Thanks guys.
Same for me, and everything's OK , using XDArit old version
Thanks a lot guys for all the wonderful job you're doing on this site and forum !!!! You're GREAT :!:
The old version of XDArit did get me farther along in the process.
However I still end up not able to read from the SD card with my ROM.
Qman,
I'm using a Dazzle 6 in 1 card reader, which works well for all other reading /writing I do.
Although there are 5 disks in the drop down menu, they all have the same name, although the program recognizes them as 1-5.
I know that after the backup process I saw the "completed" message.
Here is another trick with xdarit:
Situation: Win2000 Advanced Server / Win2003 Enterprise Server, two different motherboards.
PQI TravelFlash "5in1" or PQI TravelFlash "6in1" (behaves similar).
No USB hosts
New or "old" XDARit version are the same.
Problem: Unable to read image from SD with "reading success" message after 1 second but resulting file size is 1k instead of 32Mb
Solution (at least it 100% works for me): just write something to XD with XDARit. After this all read/write operation are really success until xdaRit not restarted.

[HOWTO] Partition SD card

Introduction
Transcend and several other manufacturers make 4GB SD cards these days. They're great if you use your HTC device as MP3 player or Camera, as they offer enough space for thousands of songs and pictures.
My device, the HTC Universal, handles them just fine. However some applications, most notably the Camera application, don't like it.
Why some apps don't like it
The main problem here is the way in which they calculate the free space.
the processor is 32-bit, which means it can handle numbers ranging from 0 to 2^32. 4GB is exactly 2^32 bytes, so that shouldn't be the problem.
The problem is that applications sometimes handle the number as signed, which means that it differentiates between negative and positive numbers.
With signed numbers, the last bit is actually used as the sign (positive or negative), and the new range stretches from -2^31 (-2GB) to 2^31 (2GB).
Up to 2^31, the unsigned numbers and signed numbers are the same, but after that the last bit is set in unsigned numbers, which means that if treated as signed it will be seen as a negative number.
So if you have more than 2GB free, and the application mistreats the number of bytes free as being signed, the application actually thinks you have less than 0 bytes free
How to fix this?
There are several ways to fix this. The most simple one would be to have a simple dummy file so you always have less than 2GB free. This works for the camera application, but any miscoded application taking a look at the actual size of the disk will still screw up
The other solution is partitioning your SD-card. This means that you actually split the SD-card up into several virtual SD-cards of smaller sizes. So one SD-card of 4GB could be seen as four of 1GB (my set up).
This way you still have 4GB of storage, but applications will not get confused as it's split up into several chunks.
WARNING
Before you start remember to back up the current data on your SD-Card. the procedure will completely erase your SD-card. You might be able to retain the data by using partitionmagic's resize partition features, but you'd have to test yourself.
Also I'd like to mention that although I tested this procedure myself, I can't garantuee it will work for you. If it renders your SD-card useless, I can not be held responsible.
My set-up
This tutorial was written using:
- T-Mobile MDA Pro (HTC Universal)
- Windows XP SP2 MCE (equivilant to Pro)
- Transcend 150x 4GB SD-Card
It might work with a different set-up, but I can't garantuee anything
Requirements
- Windows Mobile 5
- WM5Storage (do not use CardExport2, you need the ability to turn off "Removable Class"!)
- Big SD-Card
Let's get started
Just follow the following steps
First, make a backup of your SD-card! the following procedure will erase it!
Next, install WM5Storage. I will attach a copy of version 1.53 with this post, but you can get the latest version here.
Just copy the .cab file to your device, and execute it from the file explorer. Just make sure you install on the main memory, as the SD-card becomes inaccessible during the procedure
Start WM5Storage. On my device, WM5Storage did not put anything in the start menu or the today screen, so I had to launch it through the file-explorer. You can find it at My Device\Program Files\WM5Storage\.
Be sure to untick both "Read-Only" and "Removable Class". Optionally you can set it to light a LED on read/write, but that's not neccesarry for this procedure.
Disconnect your device from your computer.
Insert the SD-Card if you haven't done so already
Hit "Activate" (bottom, right)
Re-connect your device to your computer.
From now on all steps are done from the PC
Wait until windows has recognized all "new hardware", and you have new a new hard-drive listed in "My Computer".
Open the control panel (Start -> Control Panel)
Go to either Performance and Maintenance -> Administrative Tools (category view) or directly to Administrative Tools (Classic View)
Double-Click Computer Management
Go to Computer Management (Local) -> Storage -> Disk Management (might take a little while to find all drives)
In the bottom view, find the disk that has your SD-card in it (You can find out by looking at the contents through "My Computer", or by seeing which disk is added once you plug in your WM device)
Right click the partition (white block ), and choose for Delete Partition
In the just created "Unallocated" space, right click, and choose for New Partition
In the wizard:
choose for a Primary Partition
For size, enter 1024MB (or if there is no more remaining, just the remainder). Ofcourse you can also choose your own size
Assign any drive-letter you want (or none if you only want it to be accessible on the WM Device).
Format the partition as Filesystem FAT32, Allocation unit size Default, and pick any volume label you want (You will only see the volume label on the PC, on the WM Device it will just be "Storage Card X". Also tick "Perform a quick format"
Wait until the bottom line in the new partition reads "Healthy" (wait for it to format basically )
Create as much partitions as you'd like (just resume from right-clicking and picking New partition)
You're done partitioning! If you want, you can fill the contents of the SD-Card now before you deactivate WM5Storage
Disconnect the device from the computer
Next few steps on the Device
Click "Deactivate" (same place as "Activate" was before )
Close WM5Storage
You're all done! have fun with the multiple storage cards you have now
Afterword
I've put quite a bit of time in this tutorial, I'd appreciate if you at least told me if it worked
If you can spare a few coins, I'd also appreciate a donation. You can donate with PayPal to "[email protected]".
nice post, i'm bloging it right away 8)
I have a 2GB SD card. My o2 mini prompt me to format it when inserted. After formatted. o2 mini shows 0.01 MB only.
"My computer using card reader shows 14KB and from Disk Management, it shows 1.86 GB Free. I believe this "1.86GB Free" means unallocated space.
I right click on the unallocated space, but there is no option for me to choose a Primary Partition. It only has 3 options.
"New Logical Drive...",
"Delete Partition...", which is grayed out and
"Help".
Help! How to allocate this 1.86GB and format it to fat32?
Any kind soul please help me get this 2GB SD card to work with my o2 mini. 1.86GB and not 0.01MB.
Thanks
is there anyway to rename the partition with a different name? i've tried a lot of ways but in vain... the 2nd partition always follow the name of the 1st partition... any help please?
thanks in advance...
non
After having lots of problems with my SD card, I already thought that partitioning possibly could solve the problem and, using your howto, I can use my 2 GB SD-card without any problems.
Thanks!
ive done this on a 512 sd and using wm03, used a card reader to do the partition.
actualy worked well for a while if you have alot of files to store in one of the partitions, but ended up being a real pain when you wanted to re-do it
Really nice post and easy too.
thanks
hi i tried it.....realyy wonderful....thanks a lot for posting this one...keep posting things lik tis.....
cheers,
Siva....
thx for this tips!
I used it for my 2GB MiniSD card, but now I would like to keep my TomTom maps on the second partition, but TomTom can't recognize the map. (Storage Card2\)
I tried by editing the 'CurrentMap.dat' file and set the path to the Storage Card2 but still TomTom doesn't want to read this second partition. Anyone a solution for that?
thx!!
Nice tutorial. I have problem with reading of my 4GB SD card. Now I'm using two partitions (1GB for cameras and 3GB for my PocketPC). Thank you
I have been trying this but all I seem to be able to do is partition the card but only able to format the first partition s the rest of the card is rendered useless
Any help appreciated
Great tutorial, will link it up from my related articles!
partitioning 4GB help
Hi,
I've followed you instructions (great job, btw) HOWTO partition SD card....using the file download WM5torage.cab For some reason, I cannot get past the part after clicking on ACTIVATE immediately after inserting the SD Card. My MDA (TMobile Wiz) keeps locking up and I have to do a soft reset. I've tried reformatting the 4GB Mini SD card a few times and I've actually gotten different results. My last format (FAT32) shows (on PC) 1930MB free and 1931MB used which befuddles me. I formatted it again and it showed 3.78 GB free. Perhaps you or someone could assist me if possible. I bought the Mini SD card off eBay from a reputable seller. It was suppossed to be a Samsung 4GB Mini SD card and I was a bit surprised when it arrived as a SanDisk. Any idea as to why the phone keeps locking up? I also wonder if there might be an issue with the card...I examined the back of the card where the contacts are with magnification and the sides of the black composite show traces of perhaps an epoxy or bonding agent...I think SanDisks QC is better than that. To make things easier, you can also email me at [email protected]
I have cingular 8125 and vista. I tried to use the program wm5storage but when I go to computer management there is not recognition of the 4 gig sd, nor is there any recognition of an sd when using my pda. Anyone know how to get the phone to recognize it (I tried reformatting) so that I can partition. Thanks
I have had some success with 4 GB cards from IntegrityElectronics and TopRam on my T-Mobile MDA running latest TMO ROM.
The problem I am running into a when using apps that are installed on the card and write dat to the card, other files get corrupted and render those applications unsuable. If I limit use to playing MP3 and videos, thing tend to stay stable.
Has anyone else observed this behavior?
Ok, I used the storage program to access the card. Then with the disk
management on XP I formatted the card as FAT for the entire 4gb card.
It looks like it worked. I copied all my files to it. Everything is running.
I have done several restarts with no problems...
Hope it stays so.
Good luck folks. I will report back if anything weird happens.
Ok. So it all got completely screwed.
I guess it got corrupted. My guess is when
I started using the camera. All of a sudden
there are only blank folders on the storage
card with a period as the names. Tons of them.
Nothing else. Any ideas?
And now I cannot get wm5storage to work.
It keeps telling me that something is accessing
the card. Any help would be greatly appreciated.
Thanks.
It seems the problem was that there was a hidden Recycler folder on the storage card that would not let me use wm5storage. Probably from
Resco File Explorer... Deleted that with my PC...
Somehow magically my pc read the card. I don't know how to explain
that seeing as it was formatted in FAT not FAT32...
Then wm5storage worked and I paritioned it into 2 halves.
Lets see how that goes.
I hope, well.
This may be a silly question but...
Can't you plug the micro SD into a card reader and use Windows XP Disk Management tool (or any other partintioning tool) to create the partition on the storage card? What's WM5Storage actually doing?
SG
Anyone? Can't one just soley use the Disk Management tool in Windows to partition a SD card?

Missing Directories on Memory Card

Hi @ all,
since a few days most of my memory card directories disapperaed. There are only the My Documents folder (which is empty, too) and a TEMP folder I created left on the card.
Although I searched for some threads like this http://forum.xda-developers.com/showthread.php?t=294324 all attempts failed.
The space on the card is still occupied and when re-installing programms a new Program directory is created with the same name as the dissapeared one. I have one program when the installer claimed to remove the previous version first before re-installation. So it seems to find something (but I assume in Windows directory or registry).
How will I get the dissappeared folders back? Is there any other chance than formating the SD card and re-installing all programs?
I'm using bepe's cooked German WM6 V0.96 (the last one) and a 2 GB miniSD-Card. It worked quite well since a year now...
Thanks for help,
TC
TC25FFM said:
Hi @ all,
since a few days most of my memory card directories disapperaed... when re-installing programms a new Program directory is created
TC
Click to expand...
Click to collapse
... y lo cagaste, me temo.
trinity, for some reason, spoils the FAT and reestablishes it with new data. the FAT is like a directory of "where to find what on disk".
as yout fat doesn't work properly, especially it doesn't show off the used sectors or clusters, all new storage will overwrite and destroy this way part of your old data.
so if this happens, remove inmediately the sd-card, put it into your PC card reader and pass it trough file appropiate rescue programs and you'll mostly find almoust all files.
so take a breath, download file rescue pgm's to your PC (some work better, others have many options, others ...) and have a try.
after the rescue, format the SD in your PC.
mine is just passing the rescue :-( and it's rescueing about 1600 files yet
regards

[Q] help with Win32 Disk Imager

I am at a loss, so I am hoping someone can help me. I am trying to burn a CWM image on my 2gb SD card using Win32 Disk Imager, so I can use MN on my Nook Color. I have searched everywhere for help, but haven't seen this question answered.
I have the correct image file on my computer desktop. I open disk imager, select the correct image file, then select write to my SD. It goes through it's thing, then when I open the SD card it's empty. Every time.
I have no idea what's up with this. I have tried different cards, different readers/writers, don't know what I am doing wrong.
Any help?
Could be one of two things in my opinion..
1) Be sure you are "Running as Administrator" when going into Win32.
2) When I had trouble with this, it was because I was using an INTERNAL card reader. As soon as I switched to an external reader, everything worked perfectly.
3) If neither of these things work, try to re-format to wipe any existing info/partitions that might be messing up.
4) Google for it
5) Pray to Chuck Norris
I've had better luck with the version 0.1, maybe try that?
I found formatting the SD card in windows first, then using Win32helped with this for me
... hmmmmmm

Fryo I800 installation help!

Ok So I am here because I've posted in other places in these forums with no replies yet, So it would be better to create a thread specific to my problem.
I have an Omnia 2, thinking of acquiring the Fryo 2.2 OS, not specific about wether I want what version but here are the problems I come across before being able to install it.
1- plugging in my phone under Settings -> My storage will not show my storage on my computer, having the external SD option will show my 16GB SD card.
2- Backing up. How do I back up my storage if I can't see it on my computer? When I turn on active sync a blank storage appears other than my SD card (assuming its the internal storage) but the size seems rather small (167MB). I've been reading peoples' posts and I'm supposed to have around 2GB I believe, and either way the files I'm trying to put inside for the android OS don't seem to fit there.
3- Partitions? How can I set those up for both the internal and external storage? Is there a program or feature to do so? My SD card under properties says FAT-32 so I'm not sure on how to do it IF I need to.
4- Using a W7 computer, so that knocks off any ubuntu installations, and also link is broken for Almars Beta 1 file that I was thinking of using for an SD installation.
Any help would be appreciated, I've had this phone since 2009 and I'm really hoping I can come across some help to make it work since I do want to keep this phone for a bit longer before I spend more money on a different cellphone!
Thank you!
Try out the new CyanogenMod from the link below.
http://windows.modaco.com/topic/346446-cyanogenmod-beta1-omnia-2-updated-02122011/
It has the SD Card auto installer, try it..
Back up data on your SD card first and then format your SD card within the phone and then use auto installer to install it.
As you said your computer wont detect the My Storage, try the steps below..
Transfer your data from My Storage to external SD Card, then connect your phone to computer using My Storage mode in settings.
Download Mini Tool partition wizard and format your My Storage (Mini tool partition will be able to see your My Storage even though your computer doesn't).
After format, your computer should be able to detect My Storage.
Now copy the downloaded android files to My Storage and run the auto installer as instructed in the ReadMe file inside the download package.
PS: Don't forget to backup the data on SD Card to your computer
Hope this helps
Ok so what you meant by taking things from my storage is going to file explorer and basically copying everything from the "my device" to the SD card?
Just want to make sure because if it doesent work then I haven't gotten anything backed up right.
Went to file explorer -> copied everything in the top folder which is application date, connMgr, doc and setttings, program files etc. is this all thats needed basically?
Thanks
P.S some of the things I tried taking like global.txt or exe couldn't be copied because of violations or some weird error, is it alright not to have those?
Update: My storage is still not revealed by the mini tool partition program, went under usb settings -> my storage and refreshed disk information, nothing shows up ugh it might be impossible for me to do this after all....
nobody can help me in regards to this? well then I guess a new cellphone is in order
grrrrr I should've gone with a iphone 3G or BB 9700 at the time instead...
ClaudioPerez said:
Ok so what you meant by taking things from my storage is going to file explorer and basically copying everything from the "my device" to the SD card?
Just want to make sure because if it doesent work then I haven't gotten anything backed up right.
Went to file explorer -> copied everything in the top folder which is application date, connMgr, doc and setttings, program files etc. is this all thats needed basically?
Thanks
P.S some of the things I tried taking like global.txt or exe couldn't be copied because of violations or some weird error, is it alright not to have those?
Update: My storage is still not revealed by the mini tool partition program, went under usb settings -> my storage and refreshed disk information, nothing shows up ugh it might be impossible for me to do this after all....
Click to expand...
Click to collapse
I guess you will have to reflash the ROM again since your problem seems to be unsolvable. My suggestions is to flash a stock 6.5.3 ROM before you transfer the auto SD installer.

Categories

Resources