[Problem] Access internal storage - Galaxy S III Q&A, Help & Troubleshooting

Hey all
I'm asking for your help, because i can't boot on my S3 !
I have a reboot loop, and i want to reinstall stock rom throug Clockwork, but i can't mount my internal sdcard... and i have no external sdcard so i can't do anything !
So my problem is i can't move a rom from my PC to my phone because i can't access my internal storage...
Any tip ?
Thanks ! (Sorry i'm not english so... ahah)

Magickalash said:
Hey all
I'm asking for your help, because i can't boot on my S3 !
I have a reboot loop, and i want to reinstall stock rom throug Clockwork, but i can't mount my internal sdcard... and i have no external sdcard so i can't do anything !
So my problem is i can't move a rom from my PC to my phone because i can't access my internal storage...
Any tip ?
Thanks ! (Sorry i'm not english so... ahah)
Click to expand...
Click to collapse
If you want to install a stock ROM, why not just grab a firmware tar and flash with ODIN?
Anyway, assuming that you somehow have a CWM-flashable ZIP of the stock ROM and you're using a custom CWM recovery, you can push files through ADB:
Install Kies so that all the required drivers are installed;
Grab SuperOneClick from http://forum.xda-developers.com/showthread.php?t=803682 and extract the ADB folder;
Attach a USB cable to the phone and to the computer;
Use CWM to mount /sdcard;
Open a Command Prompt in the folder where you extracted ADB;
run "adb shell";
run "ls /sdcard" and verify that your internal SD card is mounted (are the files that are on your internal SD card in that list?);
if it is mounted, run "exit" and then type "adb push", and then a space, and drag the ZIP file to the command prompt, add another space and then add "/sdcard" and press enter so you have something like this:
"adb push AStockROM,zip /sdcard"

qwerty12 said:
If you want to install a stock ROM, why not just grab a firmware tar and flash with ODIN?
Anyway, assuming that you somehow have a CWM-flashable ZIP of the stock ROM and you're using a custom CWM recovery, you can push files through ADB:
Install Kies so that all the required drivers are installed;
Grab SuperOneClick from http://forum.xda-developers.com/showthread.php?t=803682 and extract the ADB folder;
Attach a USB cable to the phone and to the computer;
Use CWM to mount /sdcard;
Open a Command Prompt in the folder where you extracted ADB;
run "adb shell";
run "ls /sdcard" and verify that your internal SD card is mounted (are the files that are on your internal SD card in that list?);
if it is mounted, run "exit" and then type "adb push", and then a space, and drag the ZIP file to the command prompt, add another space and then add "/sdcard" and press enter so you have something like this:
"adb push AStockROM,zip /sdcard"
Click to expand...
Click to collapse
Thanks for your answer, but i already tried with adb shell.
When i go to the "sdcard" folder, it's empty !
Maybe I'll just have to buy a microSD tomorrow and then it'll work... But i don't want to wait until tomorrow :silly:
(On CWN, i have "Error mounting /sdcard" all the time... But it's because i only have my internal storage right ?
Thanks

Magickalash said:
Maybe I'll just have to buy a microSD tomorrow and then it'll work... But i don't want to wait until tomorrow :silly:
Click to expand...
Click to collapse
I know what you mean
(On CWN, i have "Error mounting /sdcard" all the time... But it's because i only have my internal storage right ?
Thanks
Click to expand...
Click to collapse
With CWM Recovery 5.5.0.4 (CF 1.5) I can do this to get to the internal SD card:
install zip from sdcard -> choose zip from internal sdcard
and the card should be mounted on /data/media

qwerty12 said:
I know what you mean
With CWM Recovery 5.5.0.4 (CF 1.5) I can do this to get to the internal SD card:
install zip from sdcard -> choose zip from internal sdcard
and the card should be mounted on /data/media
Click to expand...
Click to collapse
Dude, you just saved my night
Thanks <3

Get an SD card and backup the complete phone memory using CWM

qwerty12 said:
I know what you mean
With CWM Recovery 5.5.0.4 (CF 1.5) I can do this to get to the internal SD card:
install zip from sdcard -> choose zip from internal sdcard
and the card should be mounted on /data/media
Click to expand...
Click to collapse
I have the same problem as op in his first post as well as "Error mounting SD card". I tried the quoted instructions above and then the commands for adb, but on typying run adb shell and run ls /sdcard nothing happens. Could this be because I have jelly bean 4.1.2 and samsung removed the USB-mass torage feature in it for internal SD-cards?
I have the same exact CWM version.
If I type "run adb shell" (with the quotation) marks I get:
Run.exe
---------------------------
Error: Couldn't find adb shell anywhere.
I even looked in the PATH
I also tried appending the following extensions:
[1]: .exe
[2]:
run "ls /sdcard" gives:
Run.exe
---------------------------
Error: Couldn't find ls /sdcard anywhere.
I even looked in the PATH
I also tried appending the following extensions:
[1]: .exe
[2]:
Just to experiment I tried to mount sd card in cwm after choose zip - still get "Error mounting SD Card".
Also if I go into my data folder via CWM I don't have a media folder, but I guess that's because im inside the wrong partition.
And just to be clear about the command part. My ADB folder is located at C:\ADB
I opened elevated command prompt, typed "cd C:\ADB" (without quotation marks), then enter. Then i ran the adb shell and ls /sdcard commands.
I also restarted computer after installing KIES.
edit: my goal was to transfer nandroid backup to phone and do a restore, guess I'll have to go the odin route -> flash stock rom, then connect phone to windows and transfer the nandroid.

evilperro said:
I have the same problem as op in his first post as well as "Error mounting SD card". I tried the quoted instructions above and then the commands for adb, but on typying run adb shell and run ls /sdcard nothing happens. Could this be because I have jelly bean 4.1.2 and samsung removed the USB-mass torage feature in it for internal SD-cards?
I have the same exact CWM version.
If I type "run adb shell" (with the quotation) marks I get:
Run.exe
---------------------------
Error: Couldn't find adb shell anywhere.
I even looked in the PATH
I also tried appending the following extensions:
[1]: .exe
[2]:
run "ls /sdcard" gives:
Run.exe
---------------------------
Error: Couldn't find ls /sdcard anywhere.
I even looked in the PATH
I also tried appending the following extensions:
[1]: .exe
[2]:
Just to experiment I tried to mount sd card in cwm after choose zip - still get "Error mounting SD Card".
Also if I go into my data folder via CWM I don't have a media folder, but I guess that's because im inside the wrong partition.
And just to be clear about the command part. My ADB folder is located at C:\ADB
I opened elevated command prompt, typed "cd C:\ADB" (without quotation marks), then enter. Then i ran the adb shell and ls /sdcard commands.
I also restarted computer after installing KIES.
edit: my goal was to transfer nandroid backup to phone and do a restore, guess I'll have to go the odin route -> flash stock rom, then connect phone to windows and transfer the nandroid.
Click to expand...
Click to collapse
Try just typing "ls" to see what folders you have. If you type "ls /sdcard" it shows nothing because the /sdcard in root is not a real folder, it is a link. Try "ls", after that try "ls /storage". I know my internal sdcard can be shown if I do "ls /storage/sdcard0". Hope that helps.

wangdaning said:
Try just typing "ls" to see what folders you have. If you type "ls /sdcard" it shows nothing because the /sdcard in root is not a real folder, it is a link. Try "ls", after that try "ls /storage". I know my internal sdcard can be shown if I do "ls /storage/sdcard0". Hope that helps.
Click to expand...
Click to collapse
My reply is for posterity since I solved my problem by solution mentioned in edit. I don't require more assistance at this time, and will likely not answer if someone replies.
Using these commands still nothing happens in the command prompt.

evilperro said:
My reply is for posterity since I solved my problem by solution mentioned in edit. I don't require more assistance at this time, and will likely not answer if someone replies.
Using these commands still nothing happens in the command prompt.
Click to expand...
Click to collapse
Then you mark the topic as solved .
jje

JJEgan said:
Then you mark the topic as solved .
Click to expand...
Click to collapse
I doubt I can do that since I'm not OP or moderator?

Related

[BOUNTY] Fix my int. Sdcard

When i woke up this morning i had to hold powerbutton for, is it 10 seconds, to restart the phone. When it booted up again i got a message that said somethings wrong with the sdcard, and it asked if i wanted to format. Hell no! I got things there i really want to keep (yea stupid of me not to have it backed up!).
I went in to recovery and if i enter the "install zip from internal sdcard" i can see the card and all it's files.
If this would have happened to my external sdcard i'd just put it in my laptop doing a scandisc and all would be cool.
Now it isn't. So how do i solve this?
Sent with love from my GT-I9100 using Tapatalk
Have you tried to mount the internal SD to the PC over USB from from recovery mode, using the "mounts and storage" menu?
Considering you have CWM recovery running, if not flash a kernel with CWM and try it then.
HellcatDroid said:
Have you tried to mount the internal SD to the PC over USB from from recovery mode, using the "mounts and storage" menu?
Considering you have CWM recovery running, if not flash a kernel with CWM and try it then.
Click to expand...
Click to collapse
Hi and thanks for answer!
Yes i have CWM, just forgot to mention it.
I just tried to mount usb storage from cwm and both cards shows up, but only external can get accessed. Nothing(!) happends when i pick the scandisc option and clicks start. Just doesnt start.
Edit: still can SEE the files in cwm, just need to know how to copy them to a safe place so i can format the sd. :/
Sent from my GT-I9100 using Tapatalk
mrBira said:
Edit: still can SEE the files in cwm, just need to know how to copy them to a safe place so i can format the sd. :/
Click to expand...
Click to collapse
Hm, in that case you could copy them via an adb shell over to the external card.
adb is a command line tool that's part of the Android SDK.
Invoke a shell via
Code:
adb shell
when the phone is in CWM recovery and connected via USB.
Make sure internal and external SD are mounted (mounts and storage menu) and use the "cp" (=copy) command to copy the important files over, like
Code:
cp /sdcard/afile.dat /path/to/external/sd
(sorry don't remember where CWM mounts the external SD at the moment, IIRC it's something like /mnt/emmc, but I'm not sure right now)
The cp command can also use wildcards like "*" for all files in the given directory.
Hope that gets you closer to saving your data.
I know this may sound cliche.. Have you tried turning off your phone ans remove the sd card and re insert it back in... And boot back up?
Sent from my SHW-M250K using XDA App
HellcatDroid said:
Hm, in that case you could copy them via an adb shell over to the external card.
adb is a command line tool that's part of the Android SDK.
Invoke a shell via
Code:
adb shell
when the phone is in CWM recovery and connected via USB.
Make sure internal and external SD are mounted (mounts and storage menu) and use the "cp" (=copy) command to copy the important files over, like
Code:
cp /sdcard/afile.dat /path/to/external/sd
(sorry don't remember where CWM mounts the external SD at the moment, IIRC it's something like /mnt/emmc, but I'm not sure right now)
The cp command can also use wildcards like "*" for all files in the given directory.
Hope that gets you closer to saving your data.
Click to expand...
Click to collapse
Thanks! Will try that in a few hours when i get home. Is there any chance i could do a "cp /mnt/sdcard/" to copy the whole sd at once? But perhaps something could go wrong since the ext sd is mounted in /mnt/sdcard/external_sd
Bah i dont know.... Any command genious here who can help me further?
Sent from my GT-I9100 using Tapatalk
charon420 said:
I know this may sound cliche.. Have you tried turning off your phone ans remove the sd card and re insert it back in... And boot back up?
Sent from my SHW-M250K using XDA App
Click to expand...
Click to collapse
Yes i have tried that also, but thanks anyways!
Sent from my GT-I9100 using Tapatalk
mrBira said:
Is there any chance i could do a "cp /mnt/sdcard/" to copy the whole sd at once? But perhaps something could go wrong since the ext sd is mounted in /mnt/sdcard/external_sd
Click to expand...
Click to collapse
Yeah, with the external mounted in a path inside the internal - that will somehow get you some troubles.
Let's consider for a moment it's at /mnt/emmc, then you could do:
Code:
cp -r /mnt/sdcard/* /mnt/emmc/maybesomesubdirifyouwant/
If the external SD is mounted somewhere you can't use it (like inside the internal - but IIRC CWM doesn't do that) you can just unmount it with something like this:
Code:
umount /mnt/sdcard/external_sd
then mount it somewhere else with
Code:
mount /dev/block/mmcblk1p1 /mnt/ext_sd
.
If you want/need to create a subfolder in /mnt (or wherever) you have to remount / as read-write first:
Code:
mount -o rw,remount /
mkdir /mnt/ext_sd
HellcatDroid said:
Yeah, with the external mounted in a path inside the internal - that will somehow get you some troubles.
Let's consider for a moment it's at /mnt/emmc, then you could do:
Code:
cp -r /mnt/sdcard/* /mnt/emmc/maybesomesubdirifyouwant/
If the external SD is mounted somewhere you can't use it (like inside the internal - but IIRC CWM doesn't do that) you can just unmount it with something like this:
Code:
umount /mnt/sdcard/external_sd
then mount it somewhere else with
Code:
mount /dev/block/mmcblk1p1 /mnt/ext_sd
.
If you want/need to create a subfolder in /mnt (or wherever) you have to remount / as read-write first:
Code:
mount -o rw,remount /
mkdir /mnt/ext_sd
Click to expand...
Click to collapse
Cool, thanks! 4 hours til i get home cant wait to try this! Seems very logical and actually got some hope :-D
Sent from my GT-I9100 using Tapatalk
Solved it by formating. ;(

[SOLVED] [Q]Recovery Mount Issue

I've searched here, other device forums, as well as Google (not good at the Google skills though) and cannot find the answer to my issue.
I wanted to start with a blank formatted device and then install a clean recovery of a ROM from SDCARD. But my noob a** didn't read that TWRP and CWM both don't have the ability to mount the internal memory to the PC/MAC.
I either don't know what I'm doing (obvious answer) or don't know what setting to turn on/off to get the internal memory to mount to my Mac.
TF 201
TWRP 2.1.3
Bootloader Unlocked
Mac OS X Lion
Any help you guys can give me would be greatly appreciated!
--Chaz
lattera said:
Here's the blog entry. I hope this helps anyone who was in my same situation: http://0xfeedface.org/blog/lattera/2012-06-04/installing-cm9-encrypted-android-tablet
Sent from my Transformer Prime TF201 using XDA Premium HD app
Click to expand...
Click to collapse
The above xda post had the mount points needed to dab mount the microSD and then flash the ROM
Requirements
External microSD card
USB microSD card reader
ROM downloaded
adb installed properly
some shell knowledge
Click to expand...
Click to collapse
Steps (This is just how I did it. There are other ways once you've mounted the microSD)
Move your downloaded ROM to the microSD card via the reader plugged into your PC or Mac
Boot your device into the recovery of choice (I used TWRP since it was already installed before the mess up)
On your PC or Mac go into your terminal/cmd prompt
Type: adb shell
Type: cd /sdcard ....(this is the internal memory of the TF201)
Type: mkdir /microsd
Type: ls (you should see your newly created directory)
Type: mount /dev/block/mmcblk1p1 /sdcard/microsd (patience needed here)
Type: cd /sdcard/microsd
Type: ls (you should see the files you copied from your external card reader to the microSD card)
NOTE: I tried flashing in recovery from the external microSD but it failed so I had to copy the files to the /sdcard partition​
Type: cp /sdcard/microsd/name-of-rom.zip /sdcard/ (same command for other files for flash ie: Gapps)
Click to expand...
Click to collapse
After the copy I also performed a reboot back into recovery just to properly unmount/mount all the needed partitions for the flash.
Thanks
Again thanks to lattera for the mount point listed in his blog.
--Chaz
I tried the above but it says mounting /dev/block/mmcblk1p1 on /sdcard/microsd failed: No such file or Directory
karimooz said:
I tried the above but it says mounting /dev/block/mmcblk1p1 on /sdcard/microsd failed: No such file or Directory
Click to expand...
Click to collapse
It's better to use
Code:
mount /dev/block/mmcblk1p1 /data/media
to get into microsd then there is no error and you can flash without any risks of even harrder bricking.

[Q] ADB Help

I recovered from a almost-brick but now I am left with an internal sdcard with no data on it.
When I try to push a zip using adb, it appears to be successful from the cmd line dialogue, but when I try to use the "install from sd card" option on CWM v5.8.1.8 it does not show any files.
Am I missing something silly?
I used "adb push rom.zip /sdcard" and got the next bit:
1333 KB/s (367597564 bytes in 269.270s)
Any comments would be appreciated.
You should have another "/" at end? /sdcard/
Sent from my EPAD using Tapatalk 2
And if that doesn't work, choose install zip and it will look like nothing was installed and then re-push the rom. And it should be there. Also did you manually restart recovery after wiping?
There is a helpful thread in the Dev section for Prime_Full_Wipe.
Sent from my EPAD using Tapatalk 2
Well, I didn't need to do any additional wiping or anything, but there was a direction in the PRIME-Full-Wipe post about pushing to /data/media instead of sdcard and it worked. So thanks!
tangiers said:
You should have another "/" at end? /sdcard/
Sent from my EPAD using Tapatalk 2
Click to expand...
Click to collapse
that
when you just type /sdcard
you're moving the file to "/" which is the root of the tablet, and renaming the file to sdcard
if you type /sdcard/
you're moving the file to the sdcard and not renaming the file
=]
It was weird - I had tried pushing to both /sdcard and /sdcard/ and neither way worked. It would show that it worked on the cmd dialogue, but it couldn't find it in CWM.
After pushing it to /data/media, it worked with no problem.
bassmarkie said:
It was weird - I had tried pushing to both /sdcard and /sdcard/ and neither way worked. It would show that it worked on the cmd dialogue, but it couldn't find it in CWM.
After pushing it to /data/media, it worked with no problem.
Click to expand...
Click to collapse
if sdcard doesnt work
you can always try /mnt/sdcard/

odin cm10

Is there an Odin cm10? I ask because my friends sd card slot does not work. Thanks
wendellc said:
Is there an Odin cm10? I ask because my friends sd card slot does not work. Thanks
Click to expand...
Click to collapse
According to this::
http://forum.xda-developers.com/wiki/Flashing_Guide_-_Android#ROM_update_without_SDcard
You can use this method:::
ROM update without SDcard
If you don't have an sd card, or your slot is broken you can try this trick, but you will need a custom recovery like Clockwork.
Boot up your phone to recovery. And move your rom file to the adb directory, and start a command line ( cmd )
adb shell
mount data
adb push D:\custom_rom.zip /data/
Wait until the push finished, and restart your device to recovery again with "adb reboot-bootloader"
mount data
mount /data /sdcard ( mount the data folder into your sdcard folder, so your recovery will think that you have an sdcard installed )
Locate the ROM .Zip file you wish to flash.
Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.
With some root file explorer, remove the rom file if you don't need it anymore, to free up space.
Or use adb to remove the custom recovery
adb shell rm data/custom_rom.zip
::::
You can do a search for " zip to tar"
But its fairly involved,,, so try above method 1st
.
Sent from my SCH-I500 using xda premium
Yeah his card slot seems to be broken, thanks
Sent from my Galaxy Nexus using Tapatalk 2

Flashing roms with TWRP without SD card

I'm trying to flash some rom in MI Pad 4 using TWRP.
I have transferred the rom files in a folder under "internal shared storage" im my Pad, the default folder that is accessible from a connection
Now In TWRP menu install it asks me what to install, and I can't find my folder in the complete filesystem.
Where can I find "internal shared storage" folder ?
Thanks
You can put the rom zip into the adb folder on your pc then use the "adb sideload zipname.zip" command.
Never_Sm1le said:
You can put the rom zip into the adb folder on your pc then use the "adb sideload zipname.zip" command.
Click to expand...
Click to collapse
Thanks

Categories

Resources