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
Related
Hi. I just applied the stock 2.2 ROM, and now mounting doesn't work properly.
I can't seem to mount at all in Windows, but I can mount in OS X.
Once in the directory in OS X, I can delete some files, but not others. Transferring some files fails as well. This usually results in Finder hanging and having to restart (never had to restart my Mac due to freezing before, ever!)
I also can't mount usb storage through recovery mode, my computer doesn't detect anything. And I can't go to "mouse sd-ext" in the recovery mode menu.
Any help appreciated.
EDIT: I get an error that the drive is too full when I try put anything on it.
EDIT: I've also tried multiple methods of formatting the memory, but it has no effect and the files remain.
EDIT AND FIX: Managed to format it in Disk Utility. Works now.
So I just finished putting the final tweak on a re-install of Vegan Ginger. My previous install had some issues with long boot times and the Gallery was not synchronizing with my Picasa Web Photos. The last step in the process was wiping the external SDcard which was complaining from Ginger since I formatted originally to FAT32 on my PC and was unsure of the "preferred" format for Android/Gingerbread. So I went into settings, and under sdcard2 selected "Erase". I then attempted to mount and got some errors regarding the sdcard was empty or not formatted, so I selected "Format". I attempted to re-mount again and got the same error. So I figured that I would give the CWM format a try and rebooted into CWM. I then selected "format sd-ext" and CWM complained that apps2sd did not exist. I then rebooted the tablet through the CWM main menu.
Somehow in this process my internal sdcard was formatted!
The next boot, Vegan Ginger displayed the G Tab Devs and Vegan Launch screen but would boot loop about 5 times until the screen went black.
I was able to boot into ClockWorkMod (CWM) and attempts to mount /data or /sdcard result in:
mount /sdcard
Code:
Can't mount /sdcard
Can't mount /dev/block/mmcblk3p1 (or /dev/block/mmcblk2p1)
(No such file or directory)
mount /data
Code:
Can't mount DATA:!
Can't mount /dev/block/mmcblk3p1 (or /dev/block/mmcblk2p1)
(No such file or directory)
I attempted to do a restore through CWM which resulted in a failure.
Any suggestions on how to get back to a running system? My guess is the following:
format data
format sdcard
The following information would be very helpful:
Is there any chance recovering the current system?
Is it possible to do a "system snapshot" of my tablet to avoid this issue in the future?
What is the preferred Android external SD card format?
Thanks!
Run nvflash from the dev section. There is nothing there to save anymore
I had this same issue with a 32gb micro sdcard formatted in fat32. After finally getting things back in order with nvflash/wipe/reload, Im hesitant to try again. Any idea on the cause or how to prevent it from happening?
brianafischer said:
Is it possible to do a "system snapshot" of my tablet to avoid this issue in the future?
Click to expand...
Click to collapse
In CWM, do a backup (this is the nandroid backup mentioned often here on xda)
When you boot into android, copy the backup file OFF the device, and onto a desktop PC, or a USB flash drive - anywhere but onto any storage that is on the gtab.
Repeat both those steps any time you're about to make major changes, or do any formatting, or otherwise play with sharp objects near your gtab.
When you screw the pooch, you can always copy your latest backup back to the backup directory on the gtab, and then restore from CWM. You may need to nvflash first to get the thing into some sane state, of course. But you'll have the image which will save lots of setup time after...
Hello everyone, this is my very (noob) first thread, and is a question.
I've started reading xda forums like 3 days ago, for like 12 hours each day... and its an amazing comunity of knowledge. Osom.
Well... ive been trying to set a 2nd partition on my 32gb C10 SD for extend internal memory with link2sd on my OptimusOne... on the way i learned how to mod, terminal mount and modify, recover, and all the stuffs that could make this work... but i surrender.
I can make it work formating SD with mini-tool partition wizz, conecting device to PC, and seting into USB massive storage mode (yeap! Worked indeed!!) but if i reboot 2nd Part. lose format and link2sd report error on mounting 2nd partition (says its invalid, mini-tool says it's unformated)... for re-mount i have to re-format with mini-tool and wipe the data... so i've avoided linking any app.
Readed about NAND lock (my device is by default unlocked), /system permisions, and others... and i simply cant make 2nd partition stays at FAT32. (yes, i tried with the other formats too, formated with CWM on recovery mode too and nothing).
Tried this too http://forum.xda-developers.com/showthread.php?t=1971689, and didn't work for me.
Last discover was that via Root Browser app, /system file has no "Sticky" permision, if i modify it then busybox and other apps fail and run into recovery mode... (had to reinstal everything several times)
I know there is some kind of permision that i missed... but could be kernel config?
The most simply thing and i cant make it work... ideas?
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.
Hi All,
Maybe a bit of a stupid question but accidentally change the format of my internal storage and have wiped my TWRP backup that I was trying to save.
Was meant to format my SD card so I could read it on my PC, as my phone was stuck on a boot loop from installing dorimanx kernel, was working for a little bit but the phone became extremely sluggish and then one one reboot would not get pasted the kernel splash page.
So decided to go backup the phone copy to pc them wipe and start clean. With the fun of this twrp was not showing mtp and could not read any mounted storage due to the format type decided to go a format my sd card to fat but accidentally done internal rather than external, I was falling asleep but want to try and fix this before going to bed.
Now that has happen I have mount the fat internal drive and trying to use some HDD recovery program but not sure how this will end up working, fingers cross I can get the TWRP backup.
But if anyone has any advised would greatly appreciate the help.
Dorimax kernel with twrp iso recovery, can't mount mtp or usb! flash iso rec disabler, then mount your usb partition with cwm recovery from dorimax! after that, try recuva! it will make a clone of your internal memory on hdd to access data faster! otherwise the deep scan will be very slow! try other programs! you will find your files with some programs and other files with another programs.
ultravy said:
Dorimax kernel with twrp iso recovery, can't mount mtp or usb! flash iso rec disabler, then mount your usb partition with cwm recovery from dorimax! after that, try recuva! it will make a clone of your internal memory on hdd to access data faster! otherwise the deep scan will be very slow! try other programs! you will find your files with some programs and other files with another programs.
Click to expand...
Click to collapse
Thanks for the reply I ended up able to mount as USB after the format due to being FAT so ran the tool didn't find much so looks like a lost everything lesson learn backup and dump on PC for safe keeping
Try to use other programs to see if you can find your files