[Q] USB OTG RootKit - Nexus 5 Q&A, Help & Troubleshooting

Hi, I have 2 external hard disks one WD My Passport 1TB and one WD My Book 2TB
I know this might not be the right place to ask but it's funny that I think some developer should know the answer.
So I think my Systems are Affected with some sort of virus and none of my systems (Windows 8.1, ubuntu 14, mac OSX 10.10) are able to read it, but my Nexus 5 can and I confirmed my Data being there on both hard drives, but on my systems I can't load them and if they load they will with a super slow response speed. can anyone tell me what might be the problem and how I can fix it?
I previously tried all sort of recovery tools and I even tried to change the drives in terminal to logical, but they can't be applied to the hard disks after I change them, after trying to apply "ALL" my systems go to a loop and cause a system crash. why is only my nexus 5 able to read them if any any chance it's not a virus?
and by the way all my drives on the hard drives are NTFS except one drive which is fat32.
Any help would be appreciated.

Related

Can Vista x64 recognize Micro SD with multiple Partitions

I would appreciate help with creating multiple partitions on my micro sd card. over the past few days I sat for hours reading all about it but still have some trouble. OK, so I know that windows won't allow you to create multiple partitions on removable media. Therefore I created 2 fat32 partitions using Gparted. So far all was well, and my phone recognized it as 2 storage cards. The problem is Windows Vista (or XP and 7) still won't recognize more than 1 partition.
Now if you search around on the internet you will find people referring to the Hitachi MicroDrive Driver which can be hacked to make an SD card (or USB flash drive) appear to windows as a local disc, making it possible to create multiple partitions on your card. That's when Vista x64 gets in the way since the driver isn't x64 compatible. So far I still have not found a solution, and would appreciate it if anyone knows how to do this on a x64 system (including assigning drive letters to each partition). Just to make it clear, using WM5 Storage and USB to PC didn't help either.
Thanks
BIG problem.
i know this is an old post, but did you ever find a solution for it? im having the same problem. my scenario...
using an HTC HD2, i've installed wp7 to the phones memory. wp7 by default re-formats any micro sd card so that it can only be used fully by wp7. there was a work around here...
http://forum.xda-developers.com/showthread.php?t=945565&highlight=micro
and i was able to dual boot wp7 and then an android build from the micro sd card. here's the BIG PROBLEM... both wp7 AND my sd android build WILL NOT see anything else on the micro sd storage card.
furthermore, any attempt to format that card in windows is met with the message of windows will only recognize one partition on a removable data (something like that).
now here's the real kicker... in linux, all partitions are recognized. i have do have 3 partitions on my micro sd card now, 1 for wp7, 1 for my sd android, and 1 that im hoping to find a way for at least one of these builds to read. the idea is to have that final open partition for storage of music, pictures, and video files to share between the 2 systems. i'll be happy if just one of these systems can read it though
im not sure where to post, or really what to do. however, i saw your post and it was the closest thing i've found to anyone else having a similar problem. if anyone can point me in the right direction i'd appreciate it.
best program is EASEUS Partition Master 6.5.2 Home Edition.

[Q] Trouble Mounting 1TB Hard Drive

I purchased the G-Tablet because I wanted a way to download photos from my camera's memory, view them, and write them to an external hard drive. The problem I've run into is that I can't get my tablet (running TnT-Lite) to recognize my 1TB Seagate FreeAgent GoFlex drive to mount. I've done a lot of searching for answers, and my first thought was that the drive wasn't receiving enough power, but I've tried it through the docking station and a powered USB hub without any luck. I also reformatted it to Fat32 just to be sure it wasn't the drive format. Sniffer never even notices it's connected.
I'm using TnT-Lite, but am perfectly willing to try other ROMs if they have better external drive support. I'm not super familiar with linux so I haven't tried seeing if I could manually mount the drive, but if someone would be interested in telling me how to see if it's recognized and manually mount it I'm all ears.
Cheers!
Gaines Kergosien
(615) 412-9739
Kind of a repost...
http://forum.xda-developers.com/showthread.php?t=912212
Two things:
Make sure your harddrive format is supported by your kernel. Some kernels like clemsin support ntfs and other formats. I am not really sure what formats does the kernel that comes with tnt lite supports, but i recomend to check or install another kernel.
Second; make sure you connects your HDD to a power source before using it. I have not tried it myself, but i heard that the low power source of the usb port of the g tablet is not enough to supply power to the HDD.
Good luck with that, hope you find a solution to the problem.
Another thought, have you tried rebooting the tab after you've plugged the HDD in. I have a 500 gb WD elements, and if I'm having issues, usually rebooting with the drive plugged up takes care of it.
Pazzu510 said:
Kind of a repost...
http://forum.xda-developers.com/showthread.php?t=912212
Two things:
...
Click to expand...
Click to collapse
Yes, others have posted similar issues, albeit with different drives/ROMs and little or no followup to troubleshoot the problem and no real solution.
I believe I was very specific in mentioning during the opening post that I tried using external power (via the dock and powered USB hub) and different drive formats.
lordgodgeneral said:
Another thought, have you tried rebooting the tab after you've plugged the HDD in. I have a 500 gb WD elements, and if I'm having issues, usually rebooting with the drive plugged up takes care of it.
Click to expand...
Click to collapse
Thanks for the suggestion. I've tried having it plugged in via the dock and powered hub before boot, but still no dice.
The best case scenario for me is that someone here has the same drive, overcame this issue and is willing to share their solution. I'm hoping that I can at least find someone who knows enough about linux/ROMs to help me troubleshoot and figure out if this is a hardware, driver or software issue. Maybe the drive is being recognized but the partition isn't getting mounted for some reason? *shrug*
Try partitioning your drive to 2 500gb sections. I don't think android os recognizes 1tb drive sizes. Just a thought.
Mantara said:
Try partitioning your drive to 2 500gb sections. I don't think android os recognizes 1tb drive sizes. Just a thought.
Click to expand...
Click to collapse
Excellent suggestion. Just repartitioned it as (2) 465GB fat32 drives and copied over some test files, plugged the drive into the powered USB hub, plugged that into the G-tablet, booted...and at first I thought it didn't work. Then an hour later I look at my tablet and realize it's mounted! I can see the image file I was using to test it...except the image (png) doesn't open. I try moving it to the SDCard using iFileManager and it errors.
...so on the up side, the drive mounted. On the down side, there may still be some issues.
You didn't say what model drive. I got a 1TB drive to use on my Tonido plug server and server would not recognize it. apparently some of the new drives need non standard drivers. For bulk storage, the tonido works great and accessible from the web.
Rumbleweed said:
You didn't say what model drive. I got a 1TB drive to use on my Tonido plug server and server would not recognize it. apparently some of the new drives need non standard drivers. For bulk storage, the tonido works great and accessible from the web.
Click to expand...
Click to collapse
Is my opening post that difficult to read? Pretty sure I said it's a 1TB Seagate FreeAgent GoFlex.
not only is this not developement but snapping at the people trying to help you is just gonna not get you any help
Moved to general.
I have the exact same hard drive and the exact same problem as well. Running Cal's 1.1 with Clem's latest kernal ver. 6. No luck in seeing it.
Also, even with a thumb drive it cannot recognize it if it's formatted as NTFS. I know it's supposed to work but there must be something I'm doing wrong. Any ideas?
Thanks
thebadfrog said:
not only is this not developement but snapping at the people trying to help you is just gonna not get you any help
Click to expand...
Click to collapse
It seemed to me that troubleshooting problems with ROMs not correctly mounting drives fell under development along with the ROM being used.
As for snapping at people, maybe I wasn't as appreciative of their effort as I should have been, but I felt like people were replying without even reading the opening post where I had tried hard to explain the situation in detail. It's like taking your car to a mechanic and telling him it's making a clunking sound, then receiving a call from them later saying, "Yeah, we took a look and there seems to be a clunking sound."
you try using a file explorer like root explorer?? or only sniffer?
rover442 said:
I have the exact same hard drive and the exact same problem as well. Running Cal's 1.1 with Clem's latest kernal ver. 6. No luck in seeing it.
Also, even with a thumb drive it cannot recognize it if it's formatted as NTFS. I know it's supposed to work but there must be something I'm doing wrong. Any ideas?
Thanks
Click to expand...
Click to collapse
Hey rover442. I'm thrilled to have gotten it to mount and, hopefully if we work together, we can figure out how to get everything working properly. To recap, here's what I did to get it to mount:
Delete the existing partition using Windows Disk Management
Create two new partitions (under 500GB)
Format those partitions using fat32format
Plug the drive into the tablet via a powered usb hub
Reboot
Wait an undefined amount of time for it to magically mount
10roller said:
you try using a file explorer like root explorer?? or only sniffer?
Click to expand...
Click to collapse
I've tried all of them, but when it finally mounted I noticed it in Sniffer then was able to access it using iFileManager.
Ok gaines. I'll reformat the drive and partition it and see what happens. Thanks!
Gaines, I made two partitions. I put an mp3 in each partition. Loaded it into G Tab and it sees one of the partitions and the mp3. It does not see the other partition. FTR, I am not using a powered USB, just plugging straight into the G. (formatted fat 32 on the external hard drive).
Success
Ok here's what I did to make things work in FAT 32
I downloaded a partition software called EASEUS Partition master Home. It was free. I fromatted again the whole 1TB hard drive (931GB available). here are the following tests I did:
Partition 431GB successfully seen in G Tab
Partition 531GB successfully seen in G Tab
So since I broke the 500GB threshold I tried to partition 631GB and it was good. So then I just repartitioned for the whole 931GB available and it is now being seen in Sniffer and Root Explorer. So it's fine.
However, the G Tab still cannot recognize NTFS.
You need a kernel that supports ntfs. Android does not recognise ntfs natively

[Q] XOOM and portable hard drive

Does the XOOM pair well with a portable hard drive? Im noticing I am traveling more, and need my laptop less and less in the process. The XOOM seems to take care of a majority of my needs, but I was wondering if I am able to plug in an external portable hard drive, and have the XOOM pull data, and add data to the hard drive. I'm sure I would need an app to do this (if possible) as well?
Your help is greatly appreciated
anyone know this?
If you use a USB Drive enable kernel (like Tiamet) and the drive is powered and does not contain a USB hub (like the one I tried), it might work.
I actually tried this yesterday. My XOOM is rooted and configured to use a USB Host adapter to accept USB storage. I've tested with several thumb drives, all seem to work. Yesterday I hooked up a 320GB self powered USB HDD and unfortunately it did not work. It could be just this drive, so only way to find out is test with others =)
StirCwazy said:
I actually tried this yesterday. My XOOM is rooted and configured to use a USB Host adapter to accept USB storage. I've tested with several thumb drives, all seem to work. Yesterday I hooked up a 320GB self powered USB HDD and unfortunately it did not work. It could be just this drive, so only way to find out is test with others =)
Click to expand...
Click to collapse
Your problem is most likely that you don't have the drive formatted as FAT32. I tried a 250GB drive and it worked nicely. In this thread I have a link to a site that offers you a free simple solution (Windows itself does not allow formatting of such large drives with FAT32).
funnycreature said:
Your problem is most likely that you don't have the drive formatted as FAT32. I tried a 250GB drive and it worked nicely. In this thread I have a link to a site that offers you a free simple solution (Windows itself does not allow formatting of such large drives with FAT32).
Click to expand...
Click to collapse
You know what, you are 100% correct. I forgot I had this drive formatted at NTFS for something else I was toying with. I just tried a FAT32 self powered USB drive (120GB) and it worked just fine.
StirCwazy said:
You know what, you are 100% correct. I forgot I had this drive formatted at NTFS for something else I was toying with. I just tried a FAT32 self powered USB drive (120GB) and it worked just fine.
Click to expand...
Click to collapse
I LOVE easy solutions! Enjoy your HDD and don't forget to thank the guys that enabled the USB hosting!!!
so I should pick up a hard drive (portable), and then format it to fat32? Ill use the link from your post and I'm good?
kasrhp said:
so I should pick up a hard drive (portable), and then format it to fat32? Ill use the link from your post and I'm good?
Click to expand...
Click to collapse
If you read the thread carefully people mention issues with certain thumb drives that have indicator lights because they might require too much power. However, when I connect my iPhone all it does is charge So my interpretation is that the HDD needs to have its own power source
Sadly the problem with fat32 and Android in general at the moment is that you can't use files >2 gigs. You could on Androids internal storage which is usually a file system that supports large files(RFS,EXT3/4...) if your device has that much internal storage available.
Does anyone know what our internal file system is? I haven't messed with it enough to know yet - but assuming because the thing mounts in Windows. - its FAT(at least the part we can mount and write to from windows).
And all of this boils down to Windows and their lack of reality in that we don't all run NTFS, and that maybe, possibly, someone MIGHT WANT TO HOOK UP A GOD BLESSED EXT DRIVE!
But i guess I could just format all of my stuff as NTFS, because the open source community is actually smart and Linux can read it. But then again maybe I would need to work on someones stupid ass Mac and need to write a file to said NTFS drive - OH WAIT CAN'T EF'IN DO THAT!
/rant
You could probably use ext2 on the hard drive - it can be configured to be readable and writable in Windows. It's similar to FAT32 but doesn't have the limit on file size.

[Q] Mount Xoom as USB Storage

I just swapped my Samsung Galaxy Tab with a Xoom and I'm a bit miffed. I understand that the Xoom has 32GB of internal storage and does not come with an external SD card (or at least the person I bought it from kept the card).
With my SGT, when I plugged it into my Win7 64bit PC, the SD card would come up as a USB mass storage device.
Is there any way to do this with the internal storage of the Xoom? It's aggravatingly SLOW transferring files through the Personal Music Player icon that Win7 tosses in My Computer. I (as well as several other apps I use) would rather have a physical drive letter to copy to and from.
Not afraid to use a custom ROM or a modded apk or other system file. Yes, I did search and I also read the suggested topics that came up on the posting page, nothing was specifically related to the Xoom.
Yes. The Tiamat Rom, as well as the official 3.2 update activated the SD card slot in the xoom. No, the Xoom didnt ever come with a sdcard already in the slot like phones do, so you didnt get ripped off. the xoom file system is a little funny, "SDcard" is a seperate partition in the internal memory. If using Tiamat, and you have a sdcard in the sdcard slot, its labeled "external1" in the /mtn partition. When first placing an sd card in the slot, the system does take f o r e v e r, to recognize it (make sure you are also pushing the "mount sdcard" button in the storage settings menu). I generally just reboot the xoom after mounting a new card, that usually speeds up the process. When its all said and done when you plug the xoom into your pc you will get two hard drives that pop up, internal and sdcard. And heads up, you still cant put apps2sd like phones can, and you have to use root manager to move files from internal sdcard to external.
Yeah, that's the problem. At the moment, I don't have an SD card to put in it, but I was still expecting the internal storage to be mapped to a hard drive. I don't mind the Xoom showing up as a PMP but a lot of the apps I use as a developer (and some I use recreationally) need an actual drive letter I was hoping that even without an SD card mounted, that the internal storage would show up as a local disk. I've got 3.2.2 if that helps any.
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
LycaonX said:
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
Click to expand...
Click to collapse
If that's the case, you got a bad deal. Generally, the Xoom is excellent and though you can work around it, having the sdcard feels pretty essential to me. Hopefully you can get it fixed or get your other tab back.
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
LycaonX said:
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
Click to expand...
Click to collapse
Cool. Let us know when you've got it. I'm sure there will be interest for such a driver.
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
LycaonX said:
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
Click to expand...
Click to collapse
I forgot that Team Tiamat had implemented usb mass storage in an earlier verion of their Xoom kernel, but decided to remove it as it caused many complications. Look in the back pages of the Development section, for tiamat kernels and also dinomite's mass storage watcher thread. You may be able to find something you can use.

External HDD

I just picked up a WD Passport 1TB drive, and I thought I would try connecting it to my S4 (I337M) VIA USB OTG. The GS4 recognizes that it is connected, and seems to power it just fine. But the phone is saying "blank or unsupported flie system". with no option to format. Is there a chance I can get this going? I've done some searching and have not seen much. I would like to be able to not take my PC with me for 2 months of training in Arizona in the new year. Survive on my S4 and Nexus Tablet, backing them up nightly on a portable would be perfect as its commercial flight training! Weight is an issue Hauling my laptop around seems SO 2010!
S4 or android for that matter do not support ntfs file format natively. If you are not rooted, there is an app called NEXUS MEDIA IMPORTER and it's a paid app, but it will enable you to read and copy files off from the hard drive. The only thing is that you wont be able to write to the drive.
Now if you are rooted, all you need is to search "ntfs" from the Play store and you'll find lots of apps that will enable you read and write to ntfs file format hard drives.
The other option would be to format the drive to FAT32. There are tools out there for Windows that can do this. Big drawback is that the drive does not support files larger than 4GB's. If your device is rooted installing NTFS support would be the better option.
pilatus34 said:
The other option would be to format the drive to FAT32. There are tools out there for Windows that can do this. Big drawback is that the drive does not support files larger than 4GB's. If your device is rooted installing NTFS support would be the better option.
Click to expand...
Click to collapse
OR you could format it to EXT3 or 4, and use applications in windows to mount it. I used to do this all the time to share files across my windows and linux installations.
Thanks! I'll give all that a shot. Thanks for the replies! Very appreciated!
Sent from my SGH-I337M using Tapatalk

Categories

Resources