I made a mistake yesterday to wipe the internal sd-card in twrp recovery. There is some data on it which I want to recover (read: undelete). Data recovery itself won't be a problem, but I have troubles accessing the internal sd card from PC.
There is currently no rom installed on my tf (I don't want the internal sd being touched by anything until I recovered data).
I thought it was possible to set the tf101 in USB mass storage mode in the recovery, mounting the internal SD card, but that refuses to work.
What I've tried so far is enabling USB Mass storage mode in a variety of recoveries
- initially in TWRP recovery (v2.2.X.X not sure which version was installed, probably 2.2.2.0)
- cwm-6.0.1.4-notouch-hybrid.zip
- Rogue XM Touch Recovery v1.5.0-R1
- TWRP 2.2.2.1 (flashed by replacing the recoveryblob in a flashable zip from 2.2.0.0 version)
But it seems not possible, i.e. no drive is detected by Windows or Linux machine.
What is the correct way to access the internal sd card over USB?
./adb connection will set you free. as long as you can get an adb connection this is not a problem. once youre connected just rtfm ./adb will pull up all the options.
haxin said:
./adb connection will set you free. as long as you can get an adb connection this is not a problem. once youre connected just rtfm ./adb will pull up all the options.
Click to expand...
Click to collapse
Thanks for your reply.
I'm able to connect through adb. I can access the internal sd card through adb shell. However, I need to have access to it outside adb, so I can use a data recovery tool to access the internal sd.
I still cannot find a solution, not for ICS. (this solution doesn't work for ICS).
Is it possible to enable UMS from ADB or recovery at all?
Tutti-frutti said:
Thanks for your reply.
I'm able to connect through adb. I can access the internal sd card through adb shell. However, I need to have access to it outside adb, so I can use a data recovery tool to access the internal sd.
I still cannot find a solution, not for ICS. (this solution doesn't work for ICS).
Is it possible to enable UMS from ADB or recovery at all?
Click to expand...
Click to collapse
when you access the sdcard in ./adb shell what do you see?
haxin said:
when you access the sdcard in ./adb shell what do you see?
Click to expand...
Click to collapse
The content of the internal sd card (`ls`), which is a single empty recovery dir atm. I need to recover the content (i.e. undelete).
Eventually I'm now dd-ing data from internal sd to a usb drive attached to dock USB. This way I can perform an ordinary data-recovery on the USB drive
What I did was:
- install a ROM with terminal emulator in it
- open terminal emulator (followed by the su command)
- dd with default blocksize (512) from interal to usb drive (after checking mounting points with mount command):
Code:
dd if=dev/block/mmcblk0p7 of=/dev/block/vold/8\:1
There is probably a more efficient way doing this (using ADB), but I'm finally able to recover the data, happy now
S3 internal SD card
I have an Samsun S3 with JB update. Now the internal SD card is no longer visible as USB drive from the PC. It cannot be done based on other threads.
Can I use the following method to get around the UMS issue? Can I use a Terminal Emulator app? can I dump to external SD card and then run recovery SW on it?
My phone is rooted and after su on TE, I can see /mnt with both sdcard and extsdcard mount points..
Tutti-frutti said:
Eventually I'm now dd-ing data from internal sd to a usb drive attached to dock USB. This way I can perform an ordinary data-recovery on the USB drive
What I did was:
- install a ROM with terminal emulator in it
- open terminal emulator (followed by the su command)
- dd with default blocksize (512) from interal to usb drive (after checking mounting points with mount command):
Code:
dd if=dev/block/mmcblk0p7 of=/dev/block/vold/8\:1
There is probably a more efficient way doing this (using ADB), but I'm finally able to recover the data, happy now
Click to expand...
Click to collapse
cell800 said:
I have an Samsun S3 with JB update. Now the internal SD card is no longer visible as USB drive from the PC. It cannot be done based on other threads.
Can I use the following method to get around the UMS issue? Can I use a Terminal Emulator app? can I dump to external SD card and then run recovery SW on it?
My phone is rooted and after su on TE, I can see /mnt with both sdcard and extsdcard mount points..
Click to expand...
Click to collapse
If you can see the mounting points, why not just try it?
In my case, it turned out that a lot of my data was already overwritten. I could recover some pictures and docs.
Hi. Beginner here, Please, how long this command will take to dumb about 29 GiB to a regular Micro SD card? I am waiting for minutes.
dd if=dev/block/mmcblk0p7 of=/dev/block/vold/8
Thanks.
cutting to the chase, im looking for a way to install my apps data and if possible apk files to a otg micro usb flashdrive (its a flash drive that has a micros usb conection that plugs directly into our phones micro usb port.) So far im able to read and write data to it in the sense that i can browse movie files music ect from the usb drive.
What i want to do is to be able to download a app from playstore and it installs automatically to the otg drive.
I tried foldermount and thats fairly inconvenient in the sense i have to first download file to phones internal storage THEN link it to my otg drive, this process is time consuming and irritating for my purposes.
Ive looked into link2sd but its telling me i dont have a 2nd partiton on my otg flash drive, but ive used eauseus partition manager and did that (made a ext 4 , also tried ext 3, partition as part of the overal 16gb flash drive) and no go.
i know this is possible on a custom rom as i did this with a micro sd card many android phones ago.
quick specs on my device
completed stock rooted and bootloader unlocked
latest busybox and su binaries.
no exposed modules or custom kernel.
8gig x1032 singe sim version
any suggestions be my guest.
I have moto g 2014 which is on stock with no root.
And thats the only mobile i got with otg support at home, but since its new i cant root it as i dont want to end warranty.
Now the thing is my PC hard drive is busted and i want to install Ubuntu in my spare drive, i downloaded and transfered Ubuntu from phone to otg pendrive, since my pendrive has malicious autorun.inf i cant use autorun of ubuntu, when i try to delete it it regenerate and system cannot detect bootable pendrive. Is there way to remove that autorun.inf or format PD ?
Pra7ul said:
I have moto g 2014 which is on stock with no root.
And thats the only mobile i got with otg support at home, but since its new i cant root it as i dont want to end warranty.
Now the thing is my PC hard drive is busted and i want to install Ubuntu in my spare drive, i downloaded and transfered Ubuntu from phone to otg pendrive, since my pendrive has malicious autorun.inf i cant use autorun of ubuntu, when i try to delete it it regenerate and system cannot detect bootable pendrive. Is there way to remove that autorun.inf or format PD ?
Click to expand...
Click to collapse
Settings -> Storage -> Erase USB Storage.It performs a quick format in FAT32
liveroy said:
Settings -> Storage -> Erase USB Storage.It performs a quick format in FAT32
Click to expand...
Click to collapse
No Format option only unmount option under USBdisk
Just got my new Tablet ME rainbow 7 quadcore. I rooted the device and it went fine. The tablet has 1gb phone/system storage and about 4gb of Internal storage. I partitioned the internal storage using mini tool partition wizard, followed the instructions carefully and its done.
But after I rebooted my device, somehow it got messed up. The Internal storage shows 0.00b and Misc of 20kb. I tried to access it again via my pc but when i turned on the usb storage on, I cannot access it. Need help to solve this issue
Is there a way to somehow recover my internal storage or repartition it again?
Thanks alot, hopefully anyone out there can help me.
krokoks said:
Just got my new Tablet ME rainbow 7 quadcore. I rooted the device and it went fine. The tablet has 1gb phone/system storage and about 4gb of Internal storage. I partitioned the internal storage using mini tool partition wizard, followed the instructions carefully and its done.
But after I rebooted my device, somehow it got messed up. The Internal storage shows 0.00b and Misc of 20kb. I tried to access it again via my pc but when i turned on the usb storage on, I cannot access it. Need help to solve this issue
Is there a way to somehow recover my internal storage or repartition it again?
Thanks alot, hopefully anyone out there can help me.
Click to expand...
Click to collapse
Either you use the "format sd card/storage" function from android itself or u can use a custom recovery like ClockWorkMod to revive your storage.
LS.xD said:
Either you use the "format sd card/storage" function from android itself or u can use a custom recovery like ClockWorkMod to revive your storage.
Click to expand...
Click to collapse
ok, i tried your suggetions but im having a trouble on installing custom recovery because my android tablet is not on their device lists.
Do you know any method of installing custom recovery on any android tablet? tnx alot
krokoks said:
ok, i tried your suggetions but im having a trouble on installing custom recovery because my android tablet is not on their device lists.
Do you know any method of installing custom recovery on any android tablet? tnx alot
Click to expand...
Click to collapse
Seems as there is not a custom recovery for your tablet released yet. Have you tried "Settings->Storage->Format SD" ?
LS.xD said:
Seems as there is not a custom recovery for your tablet released yet. Have you tried "Settings->Storage->Format SD" ?
Click to expand...
Click to collapse
tried it but no format option. I ask a friend and he said that maybe I partition and format my intrenal storage to a file system that my tablet does not recognized. As a result, my tablet does not read my internal storage. Tried to connect it also to my pc but when I choose option to turn on my usb storage, it just keep reading (circling icon).
Is there a way to repartition/format my internal storage using adb commands?
or other way to access my storage using my pc?
Thnx alot
krokoks said:
tried it but no format option. I ask a friend and he said that maybe I partition and format my intrenal storage to a file system that my tablet does not recognized. As a result, my tablet does not read my internal storage. Tried to connect it also to my pc but when I choose option to turn on my usb storage, it just keep reading (circling icon).
Is there a way to repartition/format my internal storage using adb commands?
or other way to access my storage using my pc?
Thnx alot
Click to expand...
Click to collapse
Does mini tool partition wizard show up the partition?
EDIT: Most stock recoveries / bootloader have a option so format sd card / storage. Should be worth a try.
LS.xD said:
Does mini tool partition wizard show up the partition?
EDIT: Most stock recoveries / bootloader have a option so format sd card / storage. Should be worth a try.
Click to expand...
Click to collapse
when I connect my usb cable to my computer, and when my tablet prompt me to turn on the usb storage, its just keep running in circles. and mini partition wizard cannot detect my internal storage.
still learning on bootloader maybe ill try it.
My XT1540 was updated today and noticed a few minor inconveniences.
When connecting to my Linux pc, I no longer can get a MTP connection. I can still get a PTP connection.
When connecting using WIN 7, I can get a MTP connection with the internal storage, however, I am limited to PTP accessing the SD Card, only the Android and DCIM directories are available.
ADB seems to work fine with either connection. I had no issues using either Linux or Windows when on 5.1.1.
Is there a way to restore full MTP capability?
MrTooPhone said:
My XT1540 was updated today and noticed a few minor inconveniences.
When connecting to my Linux pc, I no longer can get a MTP connection. I can still get a PTP connection.
When connecting using WIN 7, I can get a MTP connection with the internal storage, however, I am limited to PTP accessing the SD Card, only the Android and DCIM directories are available.
ADB seems to work fine with either connection. I had no issues using either Linux or Windows when on 5.1.1.
Is there a way to restore full MTP capability?
Click to expand...
Click to collapse
Is your sd card merged as internal? If so, unmerge and mount is the only solution right now as the SD card becomes encrypted once switched over.
christopherrrg said:
Is your sd card merged as internal? If so, unmerge and mount is the only solution right now as the SD card becomes encrypted once switched over.
Click to expand...
Click to collapse
I did not set my card up as internal as that basically incorporates the card into the OS and eliminates the original intent of the SD Card. Basically makes the card invisible and no longer available to the user as he pleases. It appears Google is trying to take away the portability and convenience of a SD Card. I definitely want to portability and separation from the OS.
BTW....After further research on this topic I see many others are having the identical issues across other platforms. No solution found yet.
https://productforums.google.com/forum/#!topic/nexus/6lMKqYYXpXw;context-place=topicsearchin/nexus/category$3Aconnecting-to-networks-and-devices%7Csort:relevance%7Cspell:false
Nikhil Bastikar said:
I found a solution from user named Peter Oravecz.
So basically we need to delete the cache and the data for the System apps named "External Storage and Media Storage".
Goto
Phone settings-> Apps -> Tap three dots on tiop right to select select Show system apps -> select External Storagge and Media storage and delete data ana cache.
Then REBOOT THE PHONE.
this shud work.
Worked for me.
Ulverinho said:
https://productforums.google.com/forum/#!topic/nexus/6lMKqYYXpXw;context-place=topicsearchin/nexus/category$3Aconnecting-to-networks-and-devices%7Csort:relevance%7Cspell:false
Nikhil Bastikar said:
I found a solution from user named Peter Oravecz.
So basically we need to delete the cache and the data for the System apps named "External Storage and Media Storage".
Goto
Phone settings-> Apps -> Tap three dots on tiop right to select select Show system apps -> select External Storagge and Media storage and delete data ana cache.
Then REBOOT THE PHONE.
this shud work.
Worked for me.
Click to expand...
Click to collapse
I will give this a shot... to bad Motorola didn't tell the soak testers this, almost everyone who left their sd card as portable storage (classic mode) lost USB MTP access to the card.
acejavelin said:
I will give this a shot... to bad Motorola didn't tell the soak testers this, almost everyone who left their sd card as portable storage (classic mode) lost USB MTP access to the card.
Click to expand...
Click to collapse
Yup, figured that out already...
But if to believe this
https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/109134/p/1449,9582
going to internal mode will give no access to sd card at all... what they were thinking in Google...hmm...
Of course, we can teach PCs and software to see ext4 - but why o why...
Ulverinho said:
Yup, figured that out already...
But if to believe this
https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/109134/p/1449,9582
going to internal mode will give no access to sd card at all... what they were thinking in Google...hmm...
Of course, we can teach PCs and software to see ext4 - but why o why...
Click to expand...
Click to collapse
Teach? lol... just run Linux, Windows sucks.
acejavelin said:
Teach? lol... just run Linux, Windows sucks.
Click to expand...
Click to collapse
Agreed, I'm on Mac It's altogether a pain
Anyway, this is quite strange feature that had not much attention.
I hope that post helps.
Ulverinho said:
https://productforums.google.com/forum/#!topic/nexus/6lMKqYYXpXw;context-place=topicsearchin/nexus/category$3Aconnecting-to-networks-and-devices%7Csort:relevance%7Cspell:false
Nikhil Bastikar said:
I found a solution from user named Peter Oravecz.
So basically we need to delete the cache and the data for the System apps named "External Storage and Media Storage".
Goto
Phone settings-> Apps -> Tap three dots on tiop right to select select Show system apps -> select External Storagge and Media storage and delete data ana cache.
Then REBOOT THE PHONE.
this shud work.
Worked for me.
Click to expand...
Click to collapse
I tried that, but I see no option to delete cache.
So you now have full MTP access to your SD Card?
I am also interested if anyone else had success with with a MTP connection using Linux
acejavelin said:
Teach? lol... just run Linux, Windows sucks.
Click to expand...
Click to collapse
So you have full MTP access to your SD Card using Linux?
MrTooPhone said:
So you have full MTP access to your SD Card using Linux?
Click to expand...
Click to collapse
No... The point was if Google gave us direct access to the card as internal storage, we would need ext4 support. Was just a wishful thinking conversation.
Sent from my MotoG3 using Tapatalk
Ulverinho said:
https://productforums.google.com/forum/#!topic/nexus/6lMKqYYXpXw;context-place=topicsearchin/nexus/category$3Aconnecting-to-networks-and-devices%7Csort:relevance%7Cspell:false
Nikhil Bastikar said:
I found a solution from user named Peter Oravecz.
So basically we need to delete the cache and the data for the System apps named "External Storage and Media Storage".
Goto
Phone settings-> Apps -> Tap three dots on tiop right to select select Show system apps -> select External Storagge and Media storage and delete data ana cache.
Then REBOOT THE PHONE.
this shud work.
Worked for me.
Click to expand...
Click to collapse
Data clear and reboot also worked for me, thanks!
MrTooPhone said:
I tried that, but I see no option to delete cache.
So you now have full MTP access to your SD Card?
I am also interested if anyone else had success with with a MTP connection using Linux
Click to expand...
Click to collapse
Well, Apps - Show system ones - go into app settings, then Storage - and then U'll see Wipe Data and Wipe Cache.
Ulverinho said:
Well, Apps - Show system ones - go into app settings, then Storage - and then U'll see Wipe Data and Wipe Cache.
Click to expand...
Click to collapse
Thanks. I did not look under storage. Still made no difference with Linux, I get PTP but not a MTP connection for internal storage. No access to the SD Card. I will try with Windows later tonight, but I bet there will be no change (MTP for internal data and restricted to PTP for SD Card).
MrTooPhone said:
Thanks. I did not look under storage. Still made no difference with Linux, I get PTP but not a MTP connection for internal storage. No access to the SD Card. I will try with Windows later tonight, but I bet there will be no change (MTP for internal data and restricted to PTP for SD Card).
Click to expand...
Click to collapse
Try making MTP default one in Developer Options - Select USB Config. Obviously this is not the solution as to mounting issue, but might force phone to choose MTP as default when cable plugs in.
Ulverinho said:
Try making MTP default one in Developer Options - Select USB Config. Obviously this is not the solution as to mounting issue, but might force phone to choose MTP as default when cable plugs in.
Click to expand...
Click to collapse
I have tried all that several times with no success. Can you confirm your PC OS and if you have full MTP access to the SD Card? Not PTP access where you only see the media directories and files.
MrTooPhone said:
I have tried all that several times with no success. Can you confirm your PC OS and if you have full MTP access to the SD Card? Not PTP access where you only see the media directories and files.
Click to expand...
Click to collapse
Yes, I've got access to my books, music, downloads and so on.
This is both Windows 7 and OSX.
Ulverinho said:
Yes, I've got access to my books, music, downloads and so on.
This is both Windows 7 and OSX.
Click to expand...
Click to collapse
Thanks. After wiping data and cache for external storage and media storage, I have full MTP with Windows 7. Unfortunately, my Ubuntu 12.04 does not recognize the MTP connection. But it will connect when I select PTP.
OTG didn't work also. On my build. It's the same as the first update. Was fixed later.
Sent from my MotoG3 using Tapatalk
Actually, after clearing data and cache on these two items my attempts to access phone via USB are even worse know... In Windows 7 it just says "Unknown USB device" and the peripheral connect/disconnect tone goes off repeatedly, can't access anything anymore. But in Linux Mint I was able to access both internal storage and SD card now. Weird.
EDIT: Hmm... copying files to Linux from the SD card failed after about 1GB, as soon as I moved my laptop a bit. I might have a bad cable (this is a really old Samsung charger & cable I have carried in my laptop bag for traveling for probably 4 years). Not putting much stock in this test at this time until I can get home tomorrow night and use a known good cable.
EDIT2: Got a different cable from the front desk at the hotel, was able to copy about 8GB of music and pictures from SD card to my Linux Mint PC with no issues... Windows is still unable to recognize the device at all (might be something in my work laptop, but I think it had worked before and any other USB peripheral works fine)