Copying internal storage's data from CWM - T-Mobile Samsung Galaxy S II SGH-T989

Ok guys, long story short my cell phone stays on a loop while booting, I'm running JB 4.2 (AOKP).
I need to get some information from the internal storage before wiping the device, so far I've tried to mount the USB storage from CWM and it only shows my external SD on my computer. I tried mounting/unmounting "emmc" and "sdcard" (and pretty much every other mount point) whithout success so as a last resource I'm trying to pull the data using ADB, however when I start the adb server it doen't show any device (the device is on recovery mode at the time, CWM v5.0.2.7).
So I guess my question is, how can I get ADB to detect my cell phone in order to pull data from it while on recovery mode?
Of course, if you have any other suggestions as to how to get the data from it please let me know.

just mount the internal sd card
First an easier method would be to just flash the latest twrp via odin and then mount the internal sd card from there because the cwm your using is way outdated and has alot of problems. also i said twrp beacuse its easier to use than cwm and the layout is better

Related

[Q] Can I access storage memory from CWM?

I have a Galaxy Nexus that won't boot. It goes through a boot loop. I've tried everything to try and get it working. I've wiped data/factory reset, I've formatted system and re-flashed ROMs that were already on my phone, I've tried restoring backups from several nandroid backups. It never gets past the initial Google splash screen with the unlock symbol.
I'm going to send it in for service, but I'm wondering if there's a way to try to access the flash memory to copy all the data to my computer? I've stupidly done tons of regular backups (Titanium, SMS, nandroid) to my flash memory on my phone, but never backed it up to my PC. I can see the directory structure through CWM 5.5.0.2, but I can't mount it as a USB storage device from CWM and I assume I actually have to be booted up to use ADB.
Any suggestions?
big_raji said:
I have a Galaxy Nexus that won't boot. It goes through a boot loop. I've tried everything to try and get it working. I've wiped data/factory reset, I've formatted system and re-flashed ROMs that were already on my phone, I've tried restoring backups from several nandroid backups. It never gets past the initial Google splash screen with the unlock symbol.
I'm going to send it in for service, but I'm wondering if there's a way to try to access the flash memory to copy all the data to my computer? I've stupidly done tons of regular backups (Titanium, SMS, nandroid) to my flash memory on my phone, but never backed it up to my PC. I can see the directory structure through CWM 5.5.0.2, but I can't mount it as a USB storage device from CWM and I assume I actually have to be booted up to use ADB.
Any suggestions?
Click to expand...
Click to collapse
You should be able to do adb with the device in recovery mode. I'd recommend doing something like
Code:
> adb pull /data/media sdcard
This will copy the entire contents of the pretend SDcard on the phone (/data/media) onto a new folder on your computer called "sdcard".
I don't think there's a way to access the internal memory through CWM. For CWM to do that, is that to unmount that partition, and it cannot unmount data (where the sd-cad resides) as android wouldn't run without the /data partition, or so I've heard.
Feel free to correct me if I'm wrong.
Theshawty said:
I don't think there's a way to access the internal memory through CWM. For CWM to do that, is that to unmount that partition, and it cannot unmount data (where the sd-cad resides) as android wouldn't run without the /data partition, or so I've heard.
Feel free to correct me if I'm wrong.
Click to expand...
Click to collapse
Recovery is not Android, it will run fine without the /data partition mounted (though there isn't a whole lot it would be able to do then, since that's where all your flashable goodies would reside). CWM accesses internal storage all day long when you're flashing ROMs and kernels and whatnot.
Thanks! I assumed ADB wouldn't work in recovery because I tried it quickly on a PC that didn't have the drivers installed. I plugged in it on my upstairs PC and I'm doing a very lengthy adb pull as I type this. Thanks!

stuck in recovery now what?

I updated clockworkmod recovery through rom manager. Rom manager said the install was successful. So then I boot into the recovery to flash the cyanogenmod 10 preview build. I do all my wipes data, cash, exe. Then I go to install the rom and I realize now with the new recovery I can’t install/restore anything from /extsdcard (external storage). It only has the option to install/restore from /sdcard (internal storeage) which would be fine except all my roms/backups are on my micro sdcard (external storage). I have already wiped everything so now I can’t boot my phone to fix it. Is there a way to install the old recovery after I have wiped everything. I was thinking about using Odin to flash the old recovery in download mode again (like I did when rooting) but I am not sure if this is ok to do. I tried mounting the internal storage to my pc to copy the files I need from my computer to my phone. When I plugged it in the box in the bottom right popped up and said installing drivers and they were successful but when I try mounting (anything) the computer does not recognize it. So I can’t transfer the files. Would someone who knows more than me give some advice please?
geargamer said:
I updated clockworkmod recovery through rom manager. Rom manager said the install was successful. So then I boot into the recovery to flash the cyanogenmod 10 preview build. I do all my wipes data, cash, exe. Then I go to install the rom and I realize now with the new recovery I can’t install/restore anything from /extsdcard (external storage). It only has the option to install/restore from /sdcard (internal storeage) which would be fine except all my roms/backups are on my micro sdcard (external storage). I have already wiped everything so now I can’t boot my phone to fix it. Is there a way to install the old recovery after I have wiped everything. I was thinking about using Odin to flash the old recovery in download mode again (like I did when rooting) but I am not sure if this is ok to do. I tried mounting the internal storage to my pc to copy the files I need from my computer to my phone. When I plugged it in the box in the bottom right popped up and said installing drivers and they were successful but when I try mounting (anything) the computer does not recognize it. So I can’t transfer the files. Would someone who knows more than me give some advice please?
Click to expand...
Click to collapse
While youre in recovery, can you mount through the mounts and storage option? Im not on the recovery you are talking about but if you can mount it you can throw the rom on that way. If you cant do that you should be able to just boot up the rom thats currently on it and mount it that way. Just because you wiped everything doesnt mean that it wont boot up, it just cleared all of the data. It should load up with your previous rom.
Thank you very much. It gave me more insight on what was going on. I have my phone back up and working. I was able to flash the old recovery with odin and i hope this information will help someone else in future as well.
Sent from my SPH-L710 using xda app-developers app

HTC Incredible stuck on white screen.

Since I didn't have a sdcard, I changed vold.fstab so it would think emmc is an sdcard. When I tried to reverting the changes, I screwed up, and both my storage options said unavailable. So I tried to fix it by re flashing and what not, and that messed up my phone because I couldn't access emmc still and I didn't have an sdcard. So now I can only access hboot and fastboot. If I don't hold volume it gets stuck at the white htc incredible screen. If i try to use clockworkMod recovery 5.0.2 it says
E: Invalid command argument<br/>
E:Cna't mount /cache/recovery/log<br/>
E:Can't open /cache/recovery/log<br/>
E:can't mount /cache/recover/last_log<br/>
etc etc..
I've tried RUU but it said it can't update it.
I don't have a sd card, but I've updated it by putting an update on emmc, I can't get to it though! Is there a way I can flash a stock rom with fastboot from my computer? I DLed plenty of stock roms. I really need my phone back because I have to sell this laptop and I won't have any Internet access without it. I tried messing with fastboot flashall but I don't want to mess it up anyfurther.
Any suggestions anyone? I'm in desperate need of help.
After doing more research, I need to use sdparted to get all my partitions back in order.
In cwm I can mount /emmc and I'm thinking I can use adb push to place a zip there and run an update from cwm.
The thing is, using adb devices, the phone serial doesn't show up.
I don't think I can get to it without enabling usb debugging (I've used eclipse so the drivers are installed already).
I'm running out of options here. I think getting an sdk card is the only option I have left now. which will take 3 days to get
here
i have installed roms from EMMC. as long as CWM can see the contents it should be no different than installing from SD Card. of course your issue seems to be how to get files onto the EMMC without a booting OS.
so in that case, you should invest a dollar and just buy an SD Card.
tekweezle said:
i have installed roms from EMMC. as long as CWM can see the contents it should be no different than installing from SD Card. of course your issue seems to be how to get files onto the EMMC without a booting OS.
so in that case, you should invest a dollar and just buy an SD Card.
Click to expand...
Click to collapse
I was afraid so, I guess it's easier if I just did that.
Thanks for replyin

[Q] How to access external-sd with adb in recovery mode?

I can't seem to find/access my external sd card in adb shell when my phone is in recovery mode. Going to /sdcard gives me the internal location where CWM backups are kept. Nothing is listed in /external_sd and when I choose 'mount external sd' from the menu in clockworkmod I get an error in CWM. I need to access it because that's where I keep backups of files I'm messing with.
ThisThing said:
I can't seem to find/access my external sd card in adb shell when my phone is in recovery mode. Going to /sdcard gives me the internal location where CWM backups are kept. Nothing is listed in /external_sd and when I choose 'mount external sd' from the menu in clockworkmod I get an error in CWM. I need to access it because that's where I keep backups of files I'm messing with.
Click to expand...
Click to collapse
What format is the SD Card in? If its exFAT then CWM wont be able to recognize it. If its FAT or FAT32 then try this in adb shell
su
mount /external_sd
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
su shows up as an unrecognized command, oddly enough (even though it works when I'm not in recovery.) I've found another way to move the files around so I'm not going to worry about it.
My problem now is the framework-res.apk that I replaced some sounds in causes boot to get stuck on the end of the t-mobile animation. I'm finding threads all over the place about how to replace it, but if anyone has a guaranteed method for this device now I'd appreciate it.

Wiped T310, no OS, unable to mount internal SD

Prior to today, I had not installed TWRP or rooted my T310 device. I believed I followed the instructions to root my device correctly (found here). Going through TWRP, I rebooted the system to install the Superuser package. I then rebooted the system, loaded up TWRP, and began to do a system wipe (followed instructions found here) to prep the flash of the rom and gapps.
I selected the following partitions to wipe: Dalvik cache, system, data and data. The instructions werent clear, so I checked both 'data' boxes.
After the wipe executed, I went to flash the rom and GAPPS I loaded to the internal sd card aaaaand... there were no .zip files. Crap. I went to reboot TWRP and it alerted me that my device does not appear to be rooted. Double crap. Not panicking, I went to mount and tried to see if I could mount the internet SD card to my device. Nothing. Windows now shows a 'Samsung_Android' device but it is listed under 'unspecified'. Reloading the drivers have done no good.
I'm guessing SuperUSer was never installed correctly *or* I did something during the reset.
I, of course, did not perform a backup prior to all of these. I have rooted my devices multiple times and it was always a breeze so why backup now? Weell...
So now I'm sitting here with a nonSU device, with no OS, no backup, and I'm unable to connect my device to Windows. Outside of loading a rom from an external SD Card, what options do I have?
jaredmac11 said:
Prior to today, I had not installed TWRP or rooted my T310 device. I believed I followed the instructions to root my device correctly (found here). Going through TWRP, I rebooted the system to install the Superuser package. I then rebooted the system, loaded up TWRP, and began to do a system wipe (followed instructions found here) to prep the flash of the rom and gapps.
I selected the following partitions to wipe: Dalvik cache, system, data and data. The instructions werent clear, so I checked both 'data' boxes.
After the wipe executed, I went to flash the rom and GAPPS I loaded to the internal sd card aaaaand... there were no .zip files. Crap. I went to reboot TWRP and it alerted me that my device does not appear to be rooted. Double crap. Not panicking, I went to mount and tried to see if I could mount the internet SD card to my device. Nothing. Windows now shows a 'Samsung_Android' device but it is listed under 'unspecified'. Reloading the drivers have done no good.
I'm guessing SuperUSer was never installed correctly *or* I did something during the reset.
I, of course, did not perform a backup prior to all of these. I have rooted my devices multiple times and it was always a breeze so why backup now? Weell...
So now I'm sitting here with a nonSU device, with no OS, no backup, and I'm unable to connect my device to Windows. Outside of loading a rom from an external SD Card, what options do I have?
Click to expand...
Click to collapse
You can either download the whole firmware and use Odin to flash or get adb setup and push a rom zip to the internal card using adb.
Sent from my SM-N900V using Tapatalk
hi,
you will need a microsd card 32gb and properly formatted that comes with a card reader for your pc.
download your rom and get it onto the card, insert the card into your device
boot to twrp, and flash,
now, if twrp still spits the no os message at you, which is an issue with twrp,
you next need to go to your wipe options, select advanced and do a full data format/wipe,
NOT SYSTEM, DATA. meaning /data and /data/media. when that completes you should be sorted
but expect your initial boot of the new rom to take a little longer.
never wipe system with twrp. the rom's updater-script will manage that function.
m
Thank you both. I lost my SD cards and card reader in a move so while that orders, I will attempt to utilize ADB. I'm pretty green but I'm certain there are guides out there..
moonbutt74 said:
hi,
you will need a microsd card 32gb and properly formatted that comes with a card reader for your pc.
download your rom and get it onto the card, insert the card into your device
boot to twrp, and flash,
now, if twrp still spits the no os message at you, which is an issue with twrp,
you next need to go to your wipe options, select advanced and do a full data format/wipe,
NOT SYSTEM, DATA. meaning /data and /data/media. when that completes you should be sorted
but expect your initial boot of the new rom to take a little longer.
never wipe system with twrp. the rom's updater-script will manage that function.
m
Click to expand...
Click to collapse
I'm having a hell of a time getting the rom to install from the SD card. I believe I am not formatting the card correctly. Is there a guide on how to do so? I have a primary partition in SD in FAT32 and the other partition as EXT4 but no luck. Any help is appreciated.
jaredmac11 said:
I'm having a hell of a time getting the rom to install from the SD card. I believe I am not formatting the card correctly. Is there a guide on how to do so? I have a primary partition in SD in FAT32 and the other partition as EXT4 but no luck. Any help is appreciated.
Click to expand...
Click to collapse
hi,
your external sdcard should be formatted as single partition fat32 unaligned,
if you running windows, use bootice, look it up
On linux , gparted may give you issues, if so, on debian at least there is another better utility
though the name escapes me at the moment, disk manager i think.
m
moonbutt74 said:
hi,
your external sdcard should be formatted as single partition fat32 unaligned,
if you running windows, use bootice, look it up
On linux , gparted may give you issues, if so, on debian at least there is another better utility
though the name escapes me at the moment, disk manager i think.
m
Click to expand...
Click to collapse
Well I was able to find a good stock firmware download, flashed that via Odin and I'm back to square 1. I am going to forego the external SD route. Perhaps too technical for me or some other hang up is abound but I am leaving that method alone for now. Thank you for your help : )

Categories

Resources