usb mass storage - Windows Mobile Development and Hacking General

Dumped the rom of a Toshiba Portégé G900 and extracted the usb mass storage files.
unfortunately, still no success on my trinity. has something to do with autoload settings
the storage manager may load the driver instead of letting device.exe load
it. This may cause the device name to be different from what you
expect.
Typically, only monolitic (standalone) drivers should be loaded through
the storage manager "AutoLoad" feature. However, I've seen lots of
examples in BSP:s and drivers that set up the registry with
"\Drivers\BuiltIn\" as well as "\System\StorageManager\AutoLoad\",
resulting in this kind of confusion.
don't have the Toshiba Portégé G900 with me righ now, so can't compare.
for now good night, but if someone want's to give it a try, here's the cab

Related

Hero WILL NOT sync.

I've tried installing the HTC Sync software by itself. I've tried manually creating prog files(x86)\htc\drivers\vista64 whatever. I've tried restarting the phone, and the computer. I've tried different memory cards, different USB cables, different USB ports, it REFUSES to work.
Windows 7 will say "Installing/Installed USB Mass Storage Device," the phone shows up in devices/printers and device manager, but I can get no further, and I cannot access the memory card or the phone storage in any way shape or form.
poordna said:
I've tried installing the HTC Sync software by itself. I've tried manually creating prog files(x86)\htc\drivers\vista64 whatever. I've tried restarting the phone, and the computer. I've tried different memory cards, different USB cables, different USB ports, it REFUSES to work.
Windows 7 will say "Installing/Installed USB Mass Storage Device," the phone shows up in devices/printers and device manager, but I can get no further, and I cannot access the memory card or the phone storage in any way shape or form.
Click to expand...
Click to collapse
To get into the SD Card, are you pulling down the "Window Shade" and selecting USB Connected > Mount
To Sync do the same thing and select HTC Sync?
I don't mean to point out the easy questions I just noticed the low post count and figured you may be new. This stuff isn't exactly automated.
Under your device manager, is your phone called "My HTC" under "Android USB Devices"?
You need to make sure that you right click your phone after connecting it, and update the drivers manually to the Vista x86 / x64 drivers.
poordna said:
I've tried installing the HTC Sync software by itself. I've tried manually creating prog files(x86)\htc\drivers\vista64 whatever. I've tried restarting the phone, and the computer. I've tried different memory cards, different USB cables, different USB ports, it REFUSES to work.
Windows 7 will say "Installing/Installed USB Mass Storage Device," the phone shows up in devices/printers and device manager, but I can get no further, and I cannot access the memory card or the phone storage in any way shape or form.
Click to expand...
Click to collapse
You also might try an older version of HTC Sync. I had to use an older one on my work laptop before Windows 7 would properly recognize it. I'll find that version # when I get to work and let you know. I think it had a 4 in it, like maybe 2.0.4. The newer versions had issues with 7, not sure if they still do, but it's something to try.
ImmortalLuD said:
Under your device manager, is your phone called "My HTC" under "Android USB Devices"?
You need to make sure that you right click your phone after connecting it, and update the drivers manually to the Vista x86 / x64 drivers.
Click to expand...
Click to collapse
^^ what he said.
Also, I checked, and the version I am using is HTC Sync 2.0.8 downloaded straight from HTC's sprint hero website.
I know I've read in the past though, that the USB drivers from 2.0.4 worked better or something like that, so I seem to remember installing that fully (choosing both sync and USB to install) and then uninstalling, keeping the drivers intact, and then installing 2.0.8 and NOT choosing usb driver.
Do some reading if 2.0.8 doesn't work for you, and maybe you'll retrace the steps I took.
Here is what I did to make it sync with HTC Sync 2.0.18:
1) Connect the HTC Hero and let Windows install the drivers
2) Go to Devices and Printers
3) Right Click 'Android' and go to the Hardware tab
4) Click the ADB Interface and then click Properties
5) Click update Drivers
6) Click Browse My Computer for Driver Manually
7) Click Let My Pick from a list of Device Drivers On My Computer
8) There should be two listed, click My HTC and hit Next
It should sync after that.
Kcarpenter said:
To get into the SD Card, are you pulling down the "Window Shade" and selecting USB Connected > Mount
To Sync do the same thing and select HTC Sync?
I don't mean to point out the easy questions I just noticed the low post count and figured you may be new. This stuff isn't exactly automated.
Click to expand...
Click to collapse
This was my problem. I wasn't pulling down the damn window shade and telling the phone to mount the stupid volume.
*punches wall*
*strangles small furry animal*
Thanks guys!
One other interesting detail... When I turned on USB debugging, the HTC Sync software actually worked properly and did what it was supposed to do...

found new hardware

I already have my samsung usb and android modem drivers installed. but everytime i plug my phone in with usb debugging on, the "Found New Hardware" window keeps popping up, why?
im not sure, but it could be the problem to why it always says "waiting for device" on superoneclick
My day job is pc tech, I have seen this a few times but going to follow the steps, first give me some info
Which version of windows?
32 or 64 bit?
How proficient are you at driver maint. *add and removeal ov drivers*
When did this start?
windows xp - 32 bit - and im pretty proficient at maintenance. i think its always been like this.
Ok, Do you always use the same USB port? and have you tried a different cable? and have you tried it on other computers? if so did it do the same thing there?
First we got to get rid of the drivers on the pc.
http://download.cnet.com/DriverMax/3000-18513_4-10572602.html
This is a free program that has a few nice features but most important is that it can tell you the name of the files that are used as drivers. After you install and register (its free, they just want to know who you are.. name, email, that kind of stuff) there will be an entry on the right side called "Installed Drivers Report". Make sure you phone is connected before you click this as it scans active drivers. it will generate a report you can scroll through and find any samsung driver entrys. Write down those file names, we will need them in a moment.
Go to device manager and remove the device there. Windows XP was kinda lame about device removal it did not actually remove the device just broke the connection. Vista and 7 give you the option to actually delete the files which make this easier. Since your on XP after the devices have all been removed UNPLUG your phone from the PC then start a search for those files in the Windows directory. Delete (or move) those files and the rerun the driver install program from here
http://forum.xda-developers.com/showthread.php?t=728929
After that it may setup and find new hardware a few times. Mine did it 3 since there are multiple different methods it can connect with and each uses differnet hardware. Also each time you use a differnt USB port it sees it as new device in a new location so it also goes through new hardware setup again.
Report back and let me know if this helped any.
okay thanks for the quick response. i will try it when I have time and ill get back to you. first, imma try it on a different computer.
also, when its plugged in and i open device manager, theres 3 yellow exclamation marks, one on the android modem, device, and in the "OTHER devices" section, the USB controllers. if that means anything.
just turn off usb debugging... and it will stop. turn it back on if you need to use it for something.

[Q] Browse/Manage TPT from PC

Hi again,
I was going to transfer some files from my pc to TPT today, and realised that it's not showing up on windows explorer.
(I can see the device in the Device Management screen).
In my tablet, under "USB settings", I selected "View contents of SD card (Mount)".
I went to the Lenovo download page and didn't see anything that looks like a driver for this..
Apologies for the very noobish question, but appreciate any help!
I think you should use "transfer files (Media Transfer Protocol)" as stated in the manuals.
Now, rather than creating another thread, i'll just ask here, since it's pretty much the same topic.
I have a problem with transferring files using cable data to my TPT, My pc recognize the TPT and shows the correct drive size and remaining memory. However, when i opened it, I cannot see any folders, files, or anything. I also can't create anything at all from my pc.
Any solution/thoughts on this?
I forgot to add some things :
- I'm using Windows 7 32 bit
- I'm using TPT 0074 ROW
- My TPT is rooted
- This is a new problem, which means originally, I don't have this problem. And sadly, I don't remember when exactly this problem appeared
- Factory reset is currently the very last option for me

Cannot transfer files with MTP / Device not viewable in Windows Explorer

When I connect my Nexus 7 to my Windows XP (SP3) PC via USB, it's obvious the computer recognizes it and it tries to install ADB drivers. Whether I choose to install those drivers or not, I still can't locate my device in the Windows Explorer Tree. I checked Disk Management for the hell of it and nothing but my PC's harddrives were there. There's an attempt to install drivers for "MTP" but that fails and I'm pretty sure that's the cause; however, I'm unable to replicate it, even as I uninstall/reinstall applicable drivers from the device manager the MTP failure never happens anymore. I did some googling and found a thread with someone who had a similiar experience. In turn, I downloaded https://www.box.com/s/2c25e8bc42ecce400afd to try a different set of drivers. Same problem. Driver install is fine for ADB, but still unable to see my device in Windows Explorer. I'm able to successfully connect the device to the PC with PTP for the camera. I can access DCIM and cache which can serve as a work around, but I'm hoping you can provide any ideas you might have. Thank you!
edit - ***resolution***: Ok, I figured it out...I had to disable USB debugging. I don't know if this helped either, but I installed these drivers as an alternative to the drivers that were originally installed: https://www.box.com/s/2c25e8bc42ecce400afd
While connected to PC, I switched to PTP mode because I was about to give up and just use that
I then disabled usb debugging and switched back to MTP at which point the drivers successfully installed and I could now view my device in Windows Explorer. I also believe downloading the drivers in the link above helped since the first crack I took at this was unsuccessful with existing drivers.
install pdanet on pc and it will install drivers for u so it will be recognized
Ok, I figured it out...I had to disable USB debugging. I don't know if this helped either, but I installed these drivers as an alternative to the drivers that were originally installed: https://www.box.com/s/2c25e8bc42ecce400afd
Been battling with this on my XP machine since yesterday. I couldn't even get debugging to work until I installed NakedDriver. And even still, there seems to be no way to get MTP to work without turning debugging off. On my Win7 machine everything worked perfectly, both ADB and MTP, right out of the box. I have the Galaxy Nexus drivers installed on both machines (which I've read are compatible with the N7). I also have the latest version of Windows Media Player (I've read that some older versions have issues with MTP). Is anyone else able to run ADB and MTP on XP?
*edit*
A: Does PDAnet let you use MTP and ADB simultaneously? Because I really don't want to install it if I don't have to. I got rid of it ages ago (too many things starting up at boot time).
B: I have a Galaxy Nexus also, and I have no issues on the XP box.
I wouldn't bother with MTP, it's not always showing the contents of the internal storage properly when viewed in Windows Explorer.
Earlier today when I was trying to set up a backup profile for it, it didn't copy all the files off. On closer inspection I found folders like TitaniumBackup to be completely empty, which is not true according to ES File Explorer on the tablet.
I tried connecting MTP again, with USB Debugging on and off but this made no difference. Also I'm only seeing the Notifications folder instead of 36 folders on the internal storage now, really random how it's working.
asus site now has a usb driver for N7
try that
Nordendorf said:
asus site now has a usb driver for N7
try that
Click to expand...
Click to collapse
Updated with ASUS drivers, still doesn't view internal storage fully.
Salty Wagyu said:
Updated with ASUS drivers, still doesn't view internal storage fully.
Click to expand...
Click to collapse
Same here. No change with the Asus drivers. Still can't use MTP when ADB is turned on.
poo. how do I transfer my audiobooks to this stupid device without working drivers?
1. Please disconnect Nexus7
2. Remove drivers on PC.
3. Toggle ON : Settings->Wireless&Networkings->More->NFC.
4. Re-connect device
Good luck !
GotLoveForAll said:
poo. how do I transfer my audiobooks to this stupid device without working drivers?
Click to expand...
Click to collapse
1. Uncheck MTP, check the one next to it (Camera)
2. Unplug USB
3. Turn off USB Debugging (Uncheck it)
4. Plug in USB
5. Should say connected as camera, then a new window will pop-up allowing you to see your files.
Tell me if it works!
im having trouble too, is there any way to make the device to be recognised as a flash drive?
Internal memory partly invisible from Windows 7 Explorer
Salty Wagyu said:
I wouldn't bother with MTP, it's not always showing the contents of the internal storage properly when viewed in Windows Explorer.
Earlier today when I was trying to set up a backup profile for it, it didn't copy all the files off. On closer inspection I found folders like TitaniumBackup to be completely empty, which is not true according to ES File Explorer on the tablet.
I tried connecting MTP again, with USB Debugging on and off but this made no difference. Also I'm only seeing the Notifications folder instead of 36 folders on the internal storage now, really random how it's working.
Click to expand...
Click to collapse
Same observation here (a few months later) on stock Android 4.1.1 rooted.
It seems that new files in the internal memory remain invisible for a long time, but so far they have become visible eventually, sometimes a day or two later. I have no clue what could possibly cause this, and I have not found any trick or workaround that makes them visible, not even rebooting. Any hint is welcome.
SE4GT said:
1. Uncheck MTP, check the one next to it (Camera)
2. Unplug USB
3. Turn off USB Debugging (Uncheck it)
4. Plug in USB
5. Should say connected as camera, then a new window will pop-up allowing you to see your files.
Tell me if it works!
Click to expand...
Click to collapse
Didn't work. Just shows up as a camera with the limited folder access one would expect.
Workaround
I now use the following workaround.
Install SDrescan from Google Play.
Run it.
If you already had your phone connected to a computer as a media device (MTP) and are watching the contents of your SD card or internal memory in Windows Explorer, press F5 to refresh your view. If not, connect it now.
I'd be curious whether this works for you as well. If it does, press the THANKS button below.
Same issue with an old ibm x40 udated to windows xp pro SP3.
I've installed mtp driver, without success
I've "tried" to install asus driver, without success
I've tried to do as above with the help of the nexus toolkit, without success.
Everytime, the laptop recognize the device as android ADB interface.
Someone could help me?
Thank you in advance
mistershark said:
Everytime, the laptop recognize the device as android ADB interface.
Click to expand...
Click to collapse
Disable USB debugging in your phone.
Same problem with my moto xoom...files not showing in MTP using windows xp...still have not found any solution
hgmichna said:
Disable USB debugging in your phone.
Click to expand...
Click to collapse
+1 have to toggle USB debugging in winXP
hgmichna said:
I now use the following workaround.
Install SDrescan from Google Play.
Run it.
If you already had your phone connected to a computer as a media device (MTP) and are watching the contents of your SD card or internal memory in Windows Explorer, press F5 to refresh your view. If not, connect it now.
I'd be curious whether this works for you as well. If it does, press the THANKS button below.
Click to expand...
Click to collapse
It works! THANKS A LOT!!!

File transfer on Linux

I am having trouble with file transfers on Linux (openSUSE 42.3). The phone is the Verizon version of HTC 10.
(To score some sympathy points, I just ordered and received this phone from ebay. It unfortunately was already "upgraded" to version 2.41.605.36, so until someone makes a hack available I am stuck with Verizon software.)
Initially when I connected the phone to the computer, the device notifier came up with "Camera" only. In this mode files cannot be uploaded to the phone.
I then edited the "libmtp.rules" file to include the vendor id and product id of the phone. After doing this the device was recognized as "Android phone". There were two options to open a file explorer---one which opened it again as "Camera" and a second which should be a file explorer in "mtp" mode, however clicking on this icon led to a error message:
HTML:
The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/ does not exist
.
I realize this is more of a linux-specific question, and I haven't yet tried posting it on a linux forum, but I thought I would try here first to see if anyone else had this sort of trouble with this phone on this operating system.
evetsnameloc said:
I am having trouble with file transfers on Linux (openSUSE 42.3). The phone is the Verizon version of HTC 10.
(To score some sympathy points, I just ordered and received this phone from ebay. It unfortunately was already "upgraded" to version 2.41.605.36, so until someone makes a hack available I am stuck with Verizon software.)
Initially when I connected the phone to the computer, the device notifier came up with "Camera" only. In this mode files cannot be uploaded to the phone.
I then edited the "libmtp.rules" file to include the vendor id and product id of the phone. After doing this the device was recognized as "Android phone". There were two options to open a file explorer---one which opened it again as "Camera" and a second which should be a file explorer in "mtp" mode, however clicking on this icon led to a error message:
HTML:
The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/ does not exist
.
I realize this is more of a linux-specific question, and I haven't yet tried posting it on a linux forum, but I thought I would try here first to see if anyone else had this sort of trouble with this phone on this operating system.
Click to expand...
Click to collapse
Yes!! camera:/USB PTP Class Camera is what you initially see when it is plugged into the USB port. (openSuSE 42.3). You click on that and you get to folders: store_528b0001 and store_00010001 along with two text files: about.txt and summary.txt. The store_528b0001 is the external SD card and store_00010001 is the internal storage.
Now then, I have had trouble finding all my photos EVEN THOUGH they are supposed to be in DCIM/100MEDIA in the internal memory. I can see the pics on the phone but not from my PC when connected. At least not all of them. Just took some 'recent' pics and I can see them from my PC. ??
As for the write... you can not copy a file from the PC to the camera with SuSE Linux -but- you can with Windows. I use VMware and have Windows 10 installed. You can use this Windows to copy a file from the PC to the Android Phone. At least I have.
Chucktr said:
Yes!! camera:/USB PTP Class Camera is what you initially see when it is plugged into the USB port. (openSuSE 42.3). You click on that and you get to folders: store_528b0001 and store_00010001 along with two text files: about.txt and summary.txt. The store_528b0001 is the external SD card and store_00010001 is the internal storage.
Now then, I have had trouble finding all my photos EVEN THOUGH they are supposed to be in DCIM/100MEDIA in the internal memory. I can see the pics on the phone but not from my PC when connected. At least not all of them. Just took some 'recent' pics and I can see them from my PC. ??
As for the write... you can not copy a file from the PC to the camera with SuSE Linux -but- you can with Windows. I use VMware and have Windows 10 installed. You can use this Windows to copy a file from the PC to the Android Phone. At least I have.
Click to expand...
Click to collapse
Sorry to neglect this thread that I started, but actually the problem turned out to be the mtp version that came with Leap 42.3. Updating this (libmtp9) from version 1.1.13 to 1.1.14 fixed the problem. I can now access internal storage as "read/write".

Categories

Resources