Internal memory access during recovery (backup purposes) - Galaxy S III Q&A, Help & Troubleshooting

I'm trying to access my phone from recovery mode (as a practice before I'm doing it on someone elses phone to backup hers up, as her system is stuck in a bootloop or something im unaware of yet),
I figured I should use recovery mode to access my phone because she can access that mode too.
Differences:
I'm rooted and on 4.2.2 leak, using cwm recovery.
Hers probably is official 4.1.2 or somesort of ics.
The issues im having right now are:
I managed to get connected to the phone through ADB, although, nor /sdcard /sdcard1 /data/media /emmc folders appear to contain any file, i tried to mount up /dev/block/mmcblk0p1 to /mnt but the output:
Code:
~ # mount /dev/block/mmcblk0p1 /mnt
mount /dev/block/mmcblk0p1 /mnt
mount: mounting /dev/block/mmcblk0p1 on /mnt failed: I/O error
not even mentioning that probably the above part will be impossible on her phone since it'll need to be rooted.
and in that scenario, even if her phone is "semi bricked", could i flash root to it and continue to treat it likewise even though its on its state?
I'm also 90% sure that she havn't enabled usb debugging, so I'm actually doomed.
And, is there a better way to recover the data? (even after a factory reset)
I'm sort of a linux newbie, so I can understand some stuff, and if I dont, I usually search and study it up, so feel free to write any-level stuff at me.
Much appreciated for the help,
Ron
EDIT:
About the mount part, apparently the correct mount point is located at /dev/block/mmcblk0p12
Yet again, I'm sure I wont be able to access it during her connection, so... any tips?

1) you don't need root. You need a custom kernel. Root is within android only
2) you don't need usb debugging. This is required within android only
3) if its an s3, "mount /data/media"
4) you can mount data via custom recovery too
Have a read of general > sticky roll-up thread > s3 storage data recovery
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

Related

[Q] Please help | Phone got wet - bootloop | Recover data from internal SD

Hello everyone, I'm in desperate need; any hint would be highly appreciated:
My GT-I9100 got drenched in a thunderstorm I encountered on my vacation. Unfortunately, I saved all of my pictures to the internal SD which is now inaccessible. :crying:
What the Phone does:
- When I start the phone it gets stuck at the "Samsung-screen"
- When I try to enter Recovery I get the CWM logo and the message "CWM-based Recovery v6.0.3.2". However the phone will restart after a few minutes and not actually go into recovery
- I can go into Odin Mode (Download Mode)
- I can connect on adb while recovery is supposedly loading (before the phone restarts) --> I can't mount the internal SD card (assuming from fstab that it is /dev/block/mmcblk1p1 or /dev/block/mmcblk0p11; both files seem to have a size of 0 KB); "mount -a" via adb shell freezes the phone.
What I tried/hope for:
My primary goal is to recover the pictures from the internal SD, not to get the phone running again.
- I tried to access the files via ADB. However, my understanding of the partitioning/file system is quite limited. The file system I can see via adb does not include the files I was used to find with my file explorer on the phone. From /etc/fstab I assumed, that the internal memory (that contains the DCIM folder with the pictures) is actually mounted from a file in /dev/block/ called mmcblk1p1. Trying to mount it gives me the following error:
"mount: mounting /dev/block/mmcblk1p1 on /sdcard failed: No such file or directory"
Using adb shell (ls -s) I realized that all files in /dev/block seem to have a size of 0.
- I tried to reflash CWM using ODIN --> Odin on my Computer force closed (both v1.85 and v3.x)
Is there any hope to recover my data? Please share your opinion; any help is highly appreciated!
When these phones get wet chances are 0% mate sorry
andrewwright said:
When these phones get wet chances are 0% mate sorry
Click to expand...
Click to collapse
Not even a chance to access the memory chip?
You have tried and the phone has failed you.

[Q] stuck in cwm

i yesterday install a new rom to my rooted s3(intl) today i try to reboot another rom i was stuck in cwm recovery...i wanted to install another rom from my sd card. but it says cant find any file in sdcard.... i cant back restore cz i dnt have back up file in phone as i moved my back up to laptop...when i search abt thz i found out this hapn because my sd card having some issue.
You most probably have an unpartitioned sdcard, clockworkmod however assumes that is partitioned and wants to mount the first partition (/dev/block/mmcblk0p1).
You can fix this by repartitioning your sdcard so that it has a mountable fat-formatted first volume and then retry.
If you don't mind using the commandline, boot to recovery and connect via adb shell to it, then mount your sdcard manually: mount /dev/block/mmcblk0 /sdcard and retry.
Technical explanation:
cat /proc/partitions lists:
/dev/block/mmcblk0 is your FAT formatted volume (no more partitions at all)
should be:
/dev/block/mmcblk0 (whole device)
/dev/block/mmcblk0p1 (1st partition, FAT formatted)
/dev/block/mmcblk0p2 (sd-ext partition, only for those that use SD2ext and such)
im new to rooting and these stuffs plz explain what is adb shell and how i can mount my sd card....
btw i also tried factory reset it didnt wrk too....i dnt want any files i just want my phone back cz i badly need it....plz help me on this guys :crying: plzzz :crying:
In cwm under mounts and storage there should be the option to format sd card...
Adb is android debugging, it's used to connect to, pull/push files, get logs and more from your phone using a terminal or command prompt window.
http://developer.android.com/tools/help/adb.html this site shows the adb commands available including shell which is connecting to your phone via the terminal to allow you to enter commands.
Also maybe try mount USB storage through cwm and see if you can connect you phone to your pc and transfer the files needed.
If I helped you in some way, take a second to hit the Thanks button.

Broken /data /cash /system mounting recovery

Hi... Recovery's cant mount /data /system /cash and internal storage, I dont know what to do with that. I had sex with this problem for three days, and I found out that:
may be its broken one of the Partition. I have tried to fix it like in this solution http://forum.xda-developers.com/showthread.php?t=1949372
After six hours of sex, trying to find right adb driver and orher things, I'm stuck in a problem, that Parted cant list my partition table on /dev/block/mmcblk0, it says "Unable to satisfy all constraints on the partition". Fdisk show me this
http://hostingkartinok.com/show-image.php?id=2f324a6a8ce1541abfaaead675a4161b
and Cat this
http://hostingkartinok.com/show-image.php?id=80da3c65fad0cc52f1b7ed6e4936f066
So, i try to delete /data /cash and /system partition (/mmcblk0p20, /mmcblk0p16 and /mmcblk0p14), via
"parted /dev/block/mmcblk0
rm 14"
, for exemple, but it says "Unable to satisfy all constraints on the partition" again. So i cant use this guide
But! I cant mount /data /cash and /system, but if I use, for exemple in CWM "- format /data and /data/media (/sdcard)" item in "- mounts and storage", it will mount and format all I need. Than I can install ROM's and other zip's and all these things will even work... for a while. Some restarts of my phone (not sure), or entering in Recovery will give me bootloop.
:crying: I cant understand, why it can format and mount in the case of the one and only item and cant if I try to use any else.
Please... help
Oh, yes, The phone is LG p705 (or p700). Recovery is any. CWM or TWRP, any version...

[Q] No Partitions Showing in Parted - Hardware Problem?

I have a Nook Tablet 16GB. It won't even power on to the "n" logo screen unless there is a CWM SD Boot card installed. I get mount errors once inside CWM.
E:Can't mount / cache/recovery/command/
E:Can't mount / cache/recovery/log/
E:Can't open / cache/recovery/log/
E:Can't mount / cache/recovery/last_log/
E:Can't open / cache/recovery/last_log/
I've tried the Factory Restore (repart.img) and it runs through and tells me the device will shutdown in 5 seconds. (The other times I've used this it sits at a green check mark until I shut it down manually) This doesn't resolve the issue or make any changes at all.
I've tried Adam's Ubuntu method and the device boots to the SD card but sits at a blank screen after a few seconds and does nothing, even when left on over night. This doesn't resolve the issue or make any changes at all either.
I can connect to the device in ADB and the plan was to use parted to fix some partitions using Veronica's methods, but when I run the parted /dev/block/mmcblk0 print command no partitions are found at all on the device. I'm never prompted to fix any partitions either. The only thing it sees in the ext sd card partition. In the past when I've done this it shows 11 partitions with some details. This time it shows nothing. I am unable to find any information anywhere as to what to do next.
It is as though the internal SD Card (memory/hard drive whatever you call it) isn't working or detected by the system any longer.
Does anyone have any recommendations on what to try next? Please help!
I'd suggest burning a CM10.x pre-made SDcard image (e.g., cm_acclaim_10.1_21APR2013_HD_SDC_IMG.7z from Succulent's repo http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/) and see if your NT can successfully boot and run a ROM from SDcard. If it does then you can proceed to restoring stock ROM (or flashing CM10) internally on emmc.
Also, refrain from reformatting any partition (other than possibly /cache, /system, /data, if you have good reason to do so and know what you're doing), as you risk making the problem worse -- see http://forum.xda-developers.com/showpost.php?p=37515697&postcount=31.
digixmax said:
I'd suggest burning a CM10.x pre-made SDcard image (e.g., cm_acclaim_10.1_21APR2013_HD_SDC_IMG.7z from Succulent's repo http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/) and see if your NT can successfully boot and run a ROM from SDcard. If it does then you can proceed to restoring stock ROM (or flashing CM10) internally on emmc.
Also, refrain from reformatting any partition (other than possibly /cache, /system, /data, if you have good reason to do so and know what you're doing), as you risk making the problem worse -- see http://forum.xda-developers.com/showpost.php?p=37515697&postcount=31.
Click to expand...
Click to collapse
I made an SDCard using Succelent's repo and was able to boot to the Cyanoboot Bootloader but a few seconds later it just went to a blank screen. I rebooted and could get into recovery by holding the "n" button and selecting that. When I select to boot from SDC it just goes to Bootloader and then goes blank. It never boots into the OS.
I never mess around with partitions and I'm not sure how this thing got this way. I purchased it from eBay as a tablet for my daughter. It did say the device was bricked but that the hardware was okay. I've seen bricked devices in the past and the repart.img (Factory Reset) has always resolved the problem. I have a Nook Tablet that my son has been using so I've become pretty familiar with the basics of rooting, loading CWM, TWRP, Cyanogenmod, etc. But I've never seen it were I get mounting errors inside of CWM and am unable to flash anything. It won't even mount the external SDCard once inside CWM.
Not sure what to do and I hate to give up on this. Any help would be greatly appreciated.
Assuming that SD-based CWM is functional, you should try flashing flash_kernel_acclaim_30MAR2013_HD_SDC.zip under the heading "Flash this if your NT doesn’t boot newer kernel" in the SDC image section of http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/.
Also, you should try "wipe /cache" while in SD-based CWM recovery to see if that would take care of the /cache related mounting errors you encountered.
This happened to me last year. There is a post in development section about fixing partition table by So****e. It's the last resort, but worked for me.Also, Adam Outlers Ubuntu method loses your serial number, gone forever. Good luck
Sent from my Barnes & Noble Nook Tablet using xda app-developers app
DEjaVu
Happened to my first nookT not to long ago....It died but the best advice I can give has already been given try not to erase more stuff. Digimax helped me not to long ago. Make sure you format your sdcards correctly and if you can flash a recovery or boot into it you should be able to use one of Succulents cards. Good luck
digixmax said:
Assuming that SD-based CWM is functional, you should try flashing flash_kernel_acclaim_30MAR2013_HD_SDC.zip under the heading "Flash this if your NT doesn’t boot newer kernel" in the SDC image section of http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/.
Also, you should try "wipe /cache" while in SD-based CWM recovery to see if that would take care of the /cache related mounting errors you encountered.
Click to expand...
Click to collapse
I tried to download the file you suggested, but the actual file isn't there any longer. When I click on the download link it takes me to GOO to download it, but said file can't be found. I also tried wiping my cache partition again from inside cwm, but no luck. Still getting the mount errors.
I believe the real issue is that my device doesn't see /dev/block/mmcblk0 (or rather is sees it as the external SD card). there is no /dev/block/mmcblk1 either. I thought perhaps the internal and external were swapped, but that doesn't appear to be the case. So since the device can't recognize the internal SD card I don't think I will be able to get anything to flash until I get that resolved first. I'm certain that is why Adam Ubuntu fix and Meg's reprt.img aren't working.
Probably the only way to do that, if it is even possible, is to do it through ADB. Veronica has a thread that shows how to recreate all of the partitions, but when I attempt to do that it doesn't see the internal storage at all so I can't even get started.
I really hate giving up on anything so I will keep trying as long as it takes if I know it is possible to fix this, but I'm not sure what steps to take next to try and get the internal storage recognized.
For all I know it could be a permission issue.
Do you know any commands I can run from ADB Shell to try and get the internal storage recognized?
When I run a list command from ADB shell I get the following:
~ # ls
ls
boot fstab.acclaim sd-ext
bootdata init sdcard
cache init.rc sys
data internal_sd system
datadata proc tmp
default.prop recovery ueventd.acclaim.rc
dev res ueventd.goldfish.rc
emmc rom ueventd.rc
etc root
external_sd sbin
~ #
So it looks like the internal storage is working after all and I can get into some of these directories and files and CAT or TAIL them. Perhaps the MBR is messed up or something?
skelnik said:
I tried to download the file you suggested, but the actual file isn't there any longer. When I click on the download link it takes me to GOO to download it, but said file can't be found.
...
Click to expand...
Click to collapse
You can try one of Succulent's more recent 10.2 builds listed at http://iamafanof.wordpress.com/2013...id-4-3-for-nook-tablet-imgsdc-boot-09aug2013/ which he uploaded onto Media Fire: "cm_acclaim_10.2.0-RC0_13OCT2013_HD_SDC_IMG.7z (mirror)".
You might also want to take a look at Succulent's recovery tools (in particular flash_stock_1.4.2.zip) at https://github.com/succulent/acclaim_recovery_sdcard.

[HELP] Can't mound /emmc in Philz recovery

SOLVED! See 2nd Post
Hi,
Galaxy S II 16GB 2.5 Years old.
I friend came to me with a problem : Waze can't start because it complains no access to sdcard (internal, no external present)
A bit fiddling and I see /storage/sdcard0 is mounted as RO!
I remount as RW, and I can now start waze, but as soon as I use the phone further, the mount reverts to RO.
I try to format it via recovery (philz) but it fails deleted odd named files in DCIM/Camera/cache.
So I try to delete the files myself but it fails.
Next up, I mount usb storage in recovery, and run windows Checkdisk, it finishes while fixing some stuff, the format still doesn't work.
Eventually using Minitool I am able to format it. BUT, now, when I boot android, it says the internal storage is damange, and attempt to format it via Android fails always.
Still, when I boot into philz, and mount usb storage, i can browse it via my W7 PC, copy and delete files freely. So I guess something is not mounted or formatted correctly. I decide to reinstall stock rom with Odin + repartition.
So I take pit file from a thread that aims to increase /data at the expense of internal storage, and I find the stock pit there and use it.
Rom flashes fully, but sdcard still not working.
What I want to do is :
Boot into Recovery and use Android commands to properly mount/map this so the phone recognizes it.
I have linux knowledge, I know how to get around a linux shell and use VI and permissions etc. I also messed sometimes with fstab on a pc to set up mount points, so I am not a complete stranger. I am rooted and need help
Any help would be appreciated.
So, I searched the net for quite a few hours, and found this post :
http://forums.whirlpool.net.au/forum-replies.cfm?t=2147315&p=-1&#bottom
Which solved my problem
I registered on that forum to thank the dude!
This command solve my problem :
newfs_msdos /dev/block/vold/259:3
I knew it will work the moment I saw the 259:3 which I saw in logcat that android cannot format.
Good work finding a fix yourself Hopefully other people in the same situation will find it useful

Categories

Resources