[Q] Mount Transformer to a USB Drive to recover deleted files - Eee Pad Transformer Q&A, Help & Troubleshooting

Dear XDA Community,
I would like to recovery a file i accidently deleted on my Transformer Internal Storage (Not Micro SD). When I plug the device to the PC it would mount the device using the MTP drivers so I do not get a regular USB drive but instead a "Portable Devices" A, hence I am not able to recovery any files as all the dat/file recovery program does not recognice the device as a disk drive.
If someone could be so kind and help me with some solution I would be extremely grateful. The problem would be sorted if either we can get the transformer to connect as a usb device with a regular drive, or a data/file recovery program does recognise the transformer and let me looks through the deleted files.
Kind regards,
Hamps*

Hello,
I am interested in this functionality too. Has anybody any information about how to achieve this?
Thank you very much.
Regars!

Afaik, it is not possible, because the file system used by the internal memory is not NTFS/FAT. (BTRFS, if I'm correct).
Sent from my customized HTC Desire using TTP

Thank you very much for your answer.
Enviado desde mi Transformer TF101 usando mis pulgares.

In the meantime did anyone find a solution for this?

You may try this android data recovery tool which works for android internal memory: android tablet data recovery
hope this helps.

yiwmoswu said:
If it's internal memory, I think it is not possible.
Click to expand...
Click to collapse
On my TF the internal memory has an ext4 fs. I have not any experience in recovering Files from an ext4 but google seems to know some recovery tools for that.
The way to go would be to by dumping the complete media partition via nvflash. I'm not sure what the nvflash commands would be. I think it's 1.5 years since I did a dump. Make an additional copy of it and try some ext4 recovery tools on the dump files.
Using a Linux system you can directly mount the dump as loop device. I recommend installing a Linux system on a PC first and getting familiar with those recovery tools. Trying to do that on a Windows system will be a pain in the ... or maybe even impossible.
It is a lot of work and often it is much easier to use a backup which we all do regularly *cough*.

Related

[QUESTION] Making USB boot Linux via Phone

Okay,
So I played with linux literally once or twice in my life and I never really dig into any deeper than that...
However I am aware / have made bootable Linux OS's in the past on just a normal USB, this was a few years back following some guides.
I have a Galaxy S and I know my computer tries to run the USB driver at boot because if my phone is plugged in the PC stalls at the Lenovo splash screen.
therefore it must be possible for it to run as a normal USB Boot so long as the right image in on the SD card in the phone.
My question is, how?
Any help greatly appreciated, going to start researching but any one with any quick ideas please let me know.
regards,
EDIT, I guess I will need to partition the SD Card, can I do this and not affect the Android OS? I presume it would have to be an external one too?
I guess that you could do it as long as your samsung mounts your SD when you boot your PC.
You could use a tool called UNETBOOTIN to create a USB-bootable version of any linux distro.
I would do this as follow:
- back up EVERYTHING in my SD card to a folder on PC
- run UNETBOOTIN and create a bootable linux on a usb stick
- copy everything from the usb stick to the root of your SD
- restore the files you have backed up earlier
If your Galaxy S mounts the SD card right at the boot of your PC then everything should work.
FYI you will not be able to see what is inside your SD, afaik, since linux will stay in a compressed filesystem image. So you won't be able to access your files on your phone, neither use it via ADB or fastboot.
Hope this has been helpful
Based on that last statement does that mean you cannot save anything on your USB boot versions of linux, since they are image files?

[Q] I screwed up (Solved)

I was trying to update a friends transformer to ICS (revolver) and I forgot that you have to put the zip on the internal storage (at least that's the only way I know how to do it) I'm using roach CWM based 5.5.0.4, I was playing around in there and, this is where I really screwed up, wiped /system. I have adb access and I'm in recovery but there's no rom installed on the tab because of me wiping /system. The rom is on the sd card (not the internal storage labeled as sdcard, an actual sd card). I tried pushing it from adb but I was probably doing it wrong. I was looking for a way to mount the internal storage but I didn't see any. I've tried several options but none have worked so any help would be appreciated. Thanks.
so why don't you just install the rom from the microSD?
You have a 5.xxx recovery, and that allows you to install zips from microSD. Just pop that into a PC and copy the rom file on it. Select install from microsd and there you go...
PS: wiping /system doesn't format the internal storage...
zdalin2003 said:
so why don't you just install the rom from the microSD?
You have a 5.xxx recovery, and that allows you to install zips from microSD. Just pop that into a PC and copy the rom file on it. Select install from microsd and there you go...
PS: wiping /system doesn't format the internal storage...
Click to expand...
Click to collapse
I have the rom on the external sd card. I tried the flash from sd and it was looking at the internal "virtual" sd card. I didn't see an option to switch to the external sd and I think there are some recoverys that use the external sd as default but I haven't been able to find one. If I did find one it would have to be an image so I could flash it through bootloader.
I was looking for a .img file to flash through bootloader but couldn't find one of those. I tried adb push to get the .zip onto the internal storage but, and I'm sure I was doing something wrong, that didn't work.
wait wait wait... just to clarify, are you using the full size sd card on the dock?
LE: what's your sbk version? if you're sbk1, you can also use nvflash
zdalin2003 said:
wait wait wait... just to clarify, are you using the full size sd card on the dock?
LE: what's your sbk version? if you're sbk1, you can also use nvflash
Click to expand...
Click to collapse
I think the guy said MicroSD up there, the one you inserted on the side. But the onboard CWM only detect the internal virtual SDcard.
Now he screwed because of the full wipe prior flashing while the intended Rom was placed in the MicroSD..
Yea, if the transformer comes with B70 or below, then you can use Flash to do the magic.
Sent from my Transformer TF101 using XDA Premium HD app
zdalin2003 said:
wait wait wait... just to clarify, are you using the full size sd card on the dock?
LE: what's your sbk version? if you're sbk1, you can also use nvflash
Click to expand...
Click to collapse
no, no dock. I'm using the external micro sd.
So I finally got it to push, I renamed the file ics.zip because I didn't feel like typing out the whole file name and because I used .zip at the end the file was actually ics.zip.zip, that's why it couldn't find it.
cmd says:
C:\Transformer>adb push ics.zip /sdcard
1333 KB/s <268182367 bytes in 196.431s>
It pushed but now I just tried "choose zip from sdcard" and I got "couldn't open directory. No files found"
Edit: For some reason nothing was showing up at all on the internal storage so I rebooted back into recovery and all the files that were there before returned. I didn't see my ics.zip in there though which was odd but in searching through the folders i found an older version of a rom I flashed on there when I first rooted it. It's on the welcome screen right now.
Thanks for your input, you were most helpful.
BTW, I did research and the problem is solved now, you'd have noticed if you read.
horndroid said:
I posted at 8:27
You edited your post at 8:28
I can't read the future.
And no you didn't research anything.
Any ADB guide would tell you to push files to /data/media for internal storage, not /sdcard
Click to expand...
Click to collapse
Once again, thanks for your assistance /sarcasm
horndroid said:
Any ADB guide would tell you to push files to /data/media for internal storage, not /sdcard
Click to expand...
Click to collapse
Hm interesting... Why wouldnt you be able to push to /sdcard/ (notice the extra slash)?
Is that folder not mounted correctly while in recovery? Ive never tried ADB in recovery, only in android and push to /sdcard/ works just fine.
pushing anything to /sdcard does not work though (notice the lack of the extra slash). Might be my rom but doubt it since its the same on my phone and other tablet...
Like you said, /sdcard is wrong.
The correct paths are /sdcard/, /data/media, and /data/media/.
Most ADB guides posted on this forum use /data/media(/) though.
horndroid said:
So much fail in this thread.
1. Because his version of CWM doesn't support microSD
2. Since when does 5.xxx recovery support installing from MicroSD?
3. wiping /system doesn't format internal storage but it wipes out the OS so there is no OS to boot into.
The correct path for pushing files to internal storage on TF101 is /data/media
Do some friggin research before you do things, wow.
Click to expand...
Click to collapse
1.&2. his version might not support it and since i'm using Rogue XM Recovery v1.3.0 (CWM-based Recovery v5.0.2.7), i just thought being v5 it would. It was just a fast answer, no need for your superiority complex.
3. *you don't say meme*
Your sarcasm doesn't work because I wasn't trying to assist.
I was just pointing out what an idiot you are.
Click to expand...
Click to collapse
I think the thread would eventually solved even without your intervention.
Don't help if you don't feel to.. With your high in moron wouldn't do good for the public seeking for assistant here.
There's alot others intelligent guys around with good manner will come forward..
I respect your knowledge level but you too come from zero at some point way before in the past..
Sent from my Transformer TF101 using XDA Premium HD app
farsight73 said:
I think the thread would eventually solved even without your intervention.
Don't help if you don't feel to.. With your high in moron wouldn't do good for the public seeking for assistant here.
There's alot others intelligent guys around with good manner will come forward..
I respect your knowledge level but you too come from zero at some point way before in the past..
Sent from my Transformer TF101 using XDA Premium HD app
Click to expand...
Click to collapse
There are a lot of people like him in all the forums, it's best just to walk away. I'm not new but I wasn't thinking clearly due to lack of sleep. Also the tf101 wasn't mine, I forgot how Asus had the storage set up, and I was thinking it would have the same path whether you were booted or through ADB. I knew I screwed up, that's why I said it right in the title. Oh well, it's fixed now. The problem is that a lot of people turn developers and newbies away by acting like that.

[Q] Still no access to internal phone via usb

Hi all,
To start with, I'm in India and tried to unlock my Verizon S3.. at first, got it rooted, tried to unlock, didn't work and it caused a bunch of connection problems, etc. with the phone, so I did a factory reset, thinking it would wipe the problems I was having.
Lost some files I forgot were on my internal memory I needed, so I wanted to do a file recovery. During this process, I re-downloaded the drivers for the S3 I needed and then found that my phone would connect, but wouldn't connect as a driver and only as a media source. So the recovery software can't find the device to inspect. Even when I debugged, it would only register as a bootloader and wouldn't recognize it as anything more.
I'm trying to figure out what other steps I need to take to either remove something that I tampered with before the factory reset, or if I need to install something new to configure my device to register as a driver, or do something else I can't figure out?
And I'm still trying to recover those files from before the factory reset too.
Anyone have any suggestions? I can explain in more detail if needed.
Thanks for all the help!
Are you trying to recover personal files that were wiped?
Sent from my SCH-I535 using xda app-developers app
Trying to get my computer to register the phone as a driver so then I will be able to recover the files.
djteotancolis said:
Are you trying to recover personal files that were wiped?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
You may be out of luck. When google went to Android 4.x, they switched to the MTP protocol which mounts the phone to the computer as a media device, rather than a mass storage device (as in previous versions of Android). As far as I can tell, devs have only been able to figure out how to get the external SD card to be seen as mass storage (and that's built into a rom, not a stand alone mod, I believe).
Is there any file recovery software/app available for Android that you can install directly on the phone, rather than needing to run it from a computer?
Well, that's not a good sign. But I will check into the direct software to the phone and let you know I find anything.
Thanks for the tip!
letinsh said:
You may be out of luck. When google went to Android 4.x, they switched to the MTP protocol which mounts the phone to the computer as a media device, rather than a mass storage device (as in previous versions of Android). As far as I can tell, devs have only been able to figure out how to get the external SD card to be seen as mass storage (and that's built into a rom, not a stand alone mod, I believe).
Is there any file recovery software/app available for Android that you can install directly on the phone, rather than needing to run it from a computer?
Click to expand...
Click to collapse

[Q] Need help! Galaxy Note 2

Hi, im new here so excuse my beginner silly questions >_<. Im trying to recover files that were deleted from galaxy note 2 GT-N7100 INTERNAL STORAGE. when i connect my phone to the computer, it connects as portable media device and i am able to transfer files. however, i want to know whether the phone is accessible as ntfs or fat32 in order to use it on a program to recover files. i also would appreciate recommendations on ways to recover deleted files from the device's INTERNAL STORAGE.
Possibly without the need of rooting if thats not too much to ask =x?
Thanks T_T
IFC Shin said:
Hi, im new here so excuse my beginner silly questions >_<. Im trying to recover files that were deleted from galaxy note 2 GT-N7100 INTERNAL STORAGE. when i connect my phone to the computer, it connects as portable media device and i am able to transfer files. however, i want to know whether the phone is accessible as ntfs or fat32 in order to use it on a program to recover files. i also would appreciate recommendations on ways to recover deleted files from the device's INTERNAL STORAGE.
Possibly without the need of rooting if thats not too much to ask =x?
Thanks T_T
Click to expand...
Click to collapse
Maybe you can try if deleted files recovery softwares like Recuva can read on your phone. Look at google for Recuva (it's free) and try...
Recovery
IFC Shin said:
Hi, im new here so excuse my beginner silly questions >_<. Im trying to recover files that were deleted from galaxy note 2 GT-N7100 INTERNAL STORAGE. when i connect my phone to the computer, it connects as portable media device and i am able to transfer files. however, i want to know whether the phone is accessible as ntfs or fat32 in order to use it on a program to recover files. i also would appreciate recommendations on ways to recover deleted files from the device's INTERNAL STORAGE.
Possibly without the need of rooting if thats not too much to ask =x?
Thanks T_T
Click to expand...
Click to collapse
I think you should use free software to recovery would be better, it would not distinguish as NTFS or FAT32 format where, but you will have to install it on the PC, the PC should be noted that receiving phone memory okay
You can use a software
EASEUS Data or Recover My files
get it
Sent from my GT-N7100 using xda app-developers app

Use OnePlus One as USB mass storage device?

How can I use my OnePlus One as USB mass storage device? I dislike MTP.
I do like this-
1. Switch off the phone.
2. Connect to PC
3. Enter recovery mode
Now drivers will load automatically and you can exchange data in Mass Storage Mode.
Sent from my A0001 using XDA Free mobile app
id2xda said:
I do like this-
1. Switch off the phone.
2. Connect to PC
3. Enter recovery mode
Now drivers will load automatically and you can exchange data in Mass Storage Mode.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Really? It will be detected as a USB drive??? Is this with a particular recovery or will TWRP do it? I'd like to add a partition to my phone that will contain a bootable Linux distribution so that I can use my phone as a rescue disk. Would this be possible?
uudruid74 said:
Really? It will be detected as a USB drive??? Is this with a particular recovery or will TWRP do it? I'd like to add a partition to my phone that will contain a bootable Linux distribution so that I can use my phone as a rescue disk. Would this be possible?
Click to expand...
Click to collapse
Hi. I am using latest TWRP recovery and Oneplus is responding well invariably.
I have not tried adding partitions and also dont know much about it.
Goodluck if u r planning to try it.
id2xda said:
Hi. I am using latest TWRP recovery and Oneplus is responding well invariably.
I have not tried adding partitions and also dont know much about it.
Goodluck if u r planning to try it.
Click to expand...
Click to collapse
Will look into this. Thanks!
I just looked into it and got nothing. It talks over usb, but no USB Mass Storage support (reading Linux dmesg to test). I looked over TWRP, and it looks like the disabled USB Mass Storage when Android shifted away from having a separate FAT filesystem you could mount under Windows. Your SD Card is now a directory under /data and most kernels don't have the ability to even export USB Mass Storage anymore because, as ext4, Windows will tell you that the drive is unformatted and ask you to format it for you!! And that would mean losing the entire /data partition. Basically USB Mass Storage is gone. I'm thinking with a custom kernel and maybe compiling TWRP myself, I might be able to get it back, but its going to be far from trivial. I think the end result (a recovery system that I can boot a PC from in an emergency with plenty of tools) will make a great addition to my phone.
TWRP is supposed to support MTP now, but its not working for me. I end up using USB OTG for "bare clean wipe" flashes.
Any news? Unfortunately, since it was upgraded to lollipop I can not connect the OnePlus one to my car radio as a removable disk. It remains uncomfortable leaving your phone in recovery to use UMS

Categories

Resources