[Q] Can't mount /dev/block/mmcblk0p1 - Galaxy Tab Q&A, Help & Troubleshooting

Ok, so my basic problem is my Verizon Tablet suddenly wouldn't get past the samsung screen on bootup. This happened suddenly without me changing anything at all. Just turned it on one day and BAM.
First guess was to boot into recovery and do a wipe data/factory reset.
When I do this it just goes to the first line "formatting /data..." and hangs for a long time. Eventually it prints this out
Code:
--Wiping data...
Formatting /data...
Error mounting /data!
Skipping format...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Error mounting /sdcard.android_secure!
Skipping format...
Data wipe complete.
I currently do NOT have my SD card inserted as I didn't want to to hurt it during all my messing about fixing this. FYI
I tried giving it its kernel again, and then tried other kernels i'v found around the forum with no change.
I used the Heimdall One-Click found here: http://forum.xda-developers.com/showthread.php?t=1323527 with still no change. But now that I'm running a stock kernel I get this error message as soon as I get into recovery
Code:
E:Can't mount /dev/block/mmcblk0p1
(Invalid argument)
E:Can't mount CACHE:recovery/command
# MANUAL MODE #
E:Can't mount /dev/block/mmcblk0p1
(Invalid argument)
E:Can't mount CACHE:log/recovery.log
E:Can't open CACHE:log/recovery.log
E:Can't mount /dev/block/mmcblk0p1
(Invalid argument)
When I try a wipe data/factory reset I get this error
Code:
update application, please wait
E:Can't mount /dev/block/mmcblk0p2
(Invalid argument)
E:install_application_for_customer:Can't mount DATA:
your storage not prepared yet, please use UI menu for format a
nd reboot actions.
E:Can't mount /dev/block/mmcblk0p1
(Invalid argument)
E:Can't mount CACHE:log/recovery.log
E:Can't open CACHE:log/recovery.log
E:Can't mount /dev/block/mmcblk0p1
(Invalid argument)
After doing a bunch of searching I found this page:
forum.cyanogenmod.com/topic/6433-solved-messed-up-partition-on-internal-storage
Post number 7 is where the good info is. I have to upgrade my kernel to one that is rooted (like clockworkmod 5.0.2.7) so I can push the files to the correct spots. From the shell using ADB I type
Code:
parted /dev/block/mmcblk0
If I type print I get this:
Code:
Number Start End Size Type File system Flags
1 32.8kB 220MB 220MB primary ext4
2 220MB 1539MB 1319MB primary ext4
3 1539MB 1959MB 419MB primary fat16
when I type mkfs ext2 I get this error message
Error: File System was not cleanly unmounted! you should run e2fsck.
When I try to run e2fsck /dev/block/mmcblk0 It says this
The superblock could not be read or does not describe a correct ext filesystem.
So Im thinking these programs cannot edit a ext4 filesystem. Since the plan is to format them anyway, I'll delete and recreate them. I did see this on a page somewhere but I cant find that one for the life of me... sorry.
parted /dev/block/mmcblk0
rm 1
rm 2
None of that gives any error messages, but when I print it still shows the same file system, both partitions I just deleted are still there.
So maybe i'm just using parted wrong or it is bugging out? So i try fdisk
Code:
fdisk /dev/block/mmcblk0
p
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 5 26880 215008 83 Linux
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 26881 187904 1288192 83 Linux
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 187905 239104 409600 83 Linux
Partition 3 does not end on cylinder boundary
d (to delete partition)
Partition Number (1-4): 1
d
Partition Number (1-4): 2
p (to print partition table)
/dev/block/mmcblk0p3 187905 239104 409600 83 Linux
w (to write and exit)
So that seemed to work right, I I deleted partition 1 and 2 then looked at the table and they are gone and I wrote it. Now I go back into it and BAH, nothing has changed!
Code:
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 5 26880 215008 83 Linux
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 26881 187904 1288192 83 Linux
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 187905 239104 409600 83 Linux
Partition 3 does not end on cylinder boundary
I'v used many diffrent Kernels and tried a few different roms (not like its loading that far anyway)
The best I'v gotten it to do is when using Heimdall One-Click it will go past the samsung screen to the Verizon screen. I'v waited at that screen for a very long time with no change...
At this point, i'm stumped. I have no idea where to go next or if I'm even on the right track.
Any help would be greatly appreciated.
Thanks!

I was getting this exact same error on my AT&T Tab. I fixed it by flashing JJ7 from samfirmware.com. Here's what I did:
http://forum.xda-developers.com/showthread.php?t=1388470
check my post there. Obviously you'll have to use a firmware compatible with your VZW Tab, but it might work for ya.
Good Luck.

Related

[Q] E:failed to mount /sdcard (file exists) dropped in the water

Hi all.
I've been looking for answer for the problem that I have for a couple of days.
In short, My I9000 was fully submerged in the water I directly pulled it out (couple of second though) took out the battery and dried it. I've even managed to open the casing separate the main PCB, camera, audio jack, speaker, almost everything that I could do, in order to properly dry it. And I had put it in my camera dry box for couple of days to suck all the humidity which may still left.
As result, when I turn it on It went to boot loop Galaxy S logo on and on. The recovery console and download mode is still alive. I've tried several solution in the forum which include flashing it using odin with custom rom, stock rom, even went back as far as eclair, froyo, GB, was using initial asian rom DXJV9, flashed CSC phone etc. I've tried as far as flashed dbdata.rfs mentioned in another thread.
http://forum.xda-developers.com/showthread.php?t=984140
Also tried to copy some files using adb shell (sdparted and stuff like that), mentioned in this forum.
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/
Now stuck at
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard
your storage not prepared yet. Please use UI menu for format and reboot actions.
Meida files copy failed. <<<<< is this really a typo from Recovery console
So Is there any other thing that I can do? does my internal sdcard spoiled? Is it not possible for the I9000 to boot without it's internal sdcard?
Thank you
I had my phone assessed with samsung customer service and they said that it had a hardware problem and must be replaced, first of all it cost S$279 to replace, and they will scrap the old main board. I could not get the old main board for my self, in case it revives back.
Is this true? should I just trust them that my phone was bricked?
Thanks for the response
It should not be hardware problem. I see this error before and solved with install old firmware. Install I9000XXJP1 or older from here I hope this will help you
canbas said:
It should not be hardware problem. I see this error before and solved with install old firmware. Install I9000XXJP1 or older from here I hope this will help you
Click to expand...
Click to collapse
I'll try it as soon as I get my phone back from the customer service. I'll post it as soon as I try it.
Thanks for the response.
I've always found that eclair jm9 will resurrect a soft bricked phone the best. Good luck.
Sent from my GT-I9000 using xda premium
canbas said:
It should not be hardware problem. I see this error before and solved with install old firmware. Install I9000XXJP1 or older from here I hope this will help you
Click to expand...
Click to collapse
After I install it with JP1 (with odin and repartition pit512). it came back to recovery console with this message:
update media. please wait
E:Can't mount /dev/block/mmcblk0p1
(No such file or directory)
E:copy_dbdata_media:Can't mount SDCARD:
copy default media content failed.
<Trying to format internal sd card)
Formating SDCARD:...
update media. please wait
E:Can't mount /dev/block/mmcblk0p1
(No such file or directory)
E:copy_dbdata_media:Can't mount SDCARD:
After this I'll try the JP9 or is it JM9?
flashed using JM9:
It came to recovery console, again with new message:
... (too fast, didn't catch what it said)
...
...
E:copy_dbdata_media:format SDCARD:
formatting SDCARD:...
format_root_device: /dev/block/mmcblk0p1format_rfs_device -> /dev/block/mmcblk0p1
format_vfat_device -> argv[0] : /system/bin/newfs_msdos
format_vfat_device -> argv[1] : -F
format_vfat_device -> argv[2] : 32
format_vfat_device -> argv[3] : -0
format_vfat_device -> argv[4] : android
format_vfat_device -> argv[5] : /dev/block/mmcblk0p1
run_program: child exited with status 1
E:Can't mount /dev/block/mmcblk0p1
(No such file or directory)
E:copy_dbdata_media:Can't mount SDCARD:copy default media content failed.
E:Can't mount /dev/block/st111 (Invalid argument)
E:Can't mount /dev/block/st111 (Invalid argument)
Please if there is anyone that understand what it means, and what can i do about it, it will surely very helpful, even though eventually i couldn't revive the phone.
Is it possible to access sdcard content from windows while we're in recovery? mount the sdcard manually using adb shell?
I tried :
/ # mount /sdcard
but replied with
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Not sure which to choose
For your case (provided you are root) :
mount /dev/block/mmcblk0p1 /mnt/sdcard
I seem to have the same issue with you and managed to boot the phone after passing a previous version stock rom and using speedmod kernel. However my SD card shows empty after the phone starts. Through adb I did the above mount and managed to mount and see some files in that block device. The strange thing - at least for my knowledge - is the mount filesystem (j4fs) instead of vfat or rfs. Is this something you see as well?
chikiball said:
flashed using JM9:
It came to recovery console, again with new message:
... (too fast, didn't catch what it said)
...
...
E:copy_dbdata_media:format SDCARD:
formatting SDCARD:...
format_root_device: /dev/block/mmcblk0p1format_rfs_device -> /dev/block/mmcblk0p1
format_vfat_device -> argv[0] : /system/bin/newfs_msdos
format_vfat_device -> argv[1] : -F
format_vfat_device -> argv[2] : 32
format_vfat_device -> argv[3] : -0
format_vfat_device -> argv[4] : android
format_vfat_device -> argv[5] : /dev/block/mmcblk0p1
run_program: child exited with status 1
E:Can't mount /dev/block/mmcblk0p1
(No such file or directory)
E:copy_dbdata_media:Can't mount SDCARD:copy default media content failed.
E:Can't mount /dev/block/st111 (Invalid argument)
E:Can't mount /dev/block/st111 (Invalid argument)
Please if there is anyone that understand what it means, and what can i do about it, it will surely very helpful, even though eventually i couldn't revive the phone.
Click to expand...
Click to collapse
I am having the exact same issues and I have tried all the possible ROMS out there and flashed with 512.pit and 803.pit.... nothing seems to resolved the problems... I even tried to flash speed mod kernel and it also cannot format the sdcard...
How can i mount the sd card??
Any solutions????

Fix I/O Problem- Please need your help

This post will interest many. a few days ago my internal memory is physically dead, the memory (16GB) is partitioned into two, /data (~ 2GB) and /sdcard (~ 14GB). Not having these partitions the phone can not save settings or user data.
Symptoms:
* Internal sd corrupt (http://forum.xda-developers.com/showthread.php?t=845708)
* (I/O) error in factory reset
* mmcblk0p1 y mmcblk0p2 does not appear in /dev/block/
* Boot loop
* E: can not mount /dev/block/mmcblk0p1 in recovery, or updating rom
* You can't install applications, since /data does not exist
Please I need your help to move the partition /data to external sd memory (/dev/block/mmcblk1p2).
I Create two partitions fat32 (/dev/block/mmcblk1p1) and ext4 (/dev/block/mmcblk1p2) and edit the fstab file and vold.fstab. the system now recognizes the FAT32 partition of the external memory as internal memory but the partition /data does not mount the second partition of external SD.
original:
---
/dev/block/stl11 /cache auto llw,check=no,nosuid,nodev
/dev/block/mmcblk0p2 /data auto llw,check=no,nosuid,nodev
/dev/block/stl10 /dbdata auto llw,check=no,nosuid,nodev
/dev/block/stl9 /system auto llw,check=no
/dev/block/mmcblk0p1 /mnt/sdcard vfat rw
(null) /sd-ext auto rw
---
edited:
---
/dev/block/stl11 /cache auto llw,check=no,nosuid,nodev
/dev/block/mmcblk1p2 /data auto llw,check=no,nosuid,nodev
/dev/block/stl10 /dbdata auto llw,check=no,nosuid,nodev
/dev/block/stl9 /system auto llw,check=no
/dev/block/mmcblk0p1 /sd-ext vfat rw
(null) /mnt/sdcard auto rw
---
The busybox df-h command shows that the first partition is mounted, but the second partition is not listed .
I've tried everything, and what I see is that it requires more knowledge. Not whether to build or edit the kernel or some file.
I appreciate your help, since many users have a higher Know-how on this topic.
* My English is very bad, I'm using the google translator.
I tried to edit the initramfs folder to edit files lpm.rc init.rc and fota.rc, i download many kernels to remove zImage and edit images and package them again, but does not work, not that I'm doing wrong.
Someone who has worked with the edition of the kernel can help me build or rebuild a file with the new changes.

[Q] Splash screen lock up & mounting issues

Hi folks,
I rooted my GT-P7300 and upgraded it to Jellybean (cm-10-20120804-UNOFFICIAL-p5) without problem (besides picasa sync not working), I noticed there was a later version cm-10-20120808-UNOFFICIAL-p5 and that's when it all went wrong
Now my tab locks up at the samsung galaxy tab splash screen.
I can go in recovery mode (running CWM v5.5.0.4) - Odin seems to be OK as this is how I installed CWM recovery
Wiping dada gives me the following
--Wiping Data...
Formatting /data...
Error mounting data!
Skipping format...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Error mounting sdcard/.android_secure...
Skipping format...
Data wipe complete
I tried moving back to stock recovery, but it has problems from the get go :
-- updating application...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
copy application failed
-- appling Multi-CSC...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
E:failed to mount /system (invalid argument)
E:multi_csc:cant mount /system
I'm kindda stuck now. so if anyone has somme smart suggestion...
fixed
larryhk said:
Hi folks,
I rooted my GT-P7300 and upgraded it to Jellybean (cm-10-20120804-UNOFFICIAL-p5) without problem (besides picasa sync not working), I noticed there was a later version cm-10-20120808-UNOFFICIAL-p5 and that's when it all went wrong
Now my tab locks up at the samsung galaxy tab splash screen.
I can go in recovery mode (running CWM v5.5.0.4) - Odin seems to be OK as this is how I installed CWM recovery
Wiping dada gives me the following
--Wiping Data...
Formatting /data...
Error mounting data!
Skipping format...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Error mounting sdcard/.android_secure...
Skipping format...
Data wipe complete
I tried moving back to stock recovery, but it has problems from the get go :
-- updating application...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
copy application failed
-- appling Multi-CSC...
E:failed to mount /system (invalid argument)
E:install_application_for_customer:Cant mount /system
E:failed to mount /system (invalid argument)
E:multi_csc:cant mount /system
I'm kindda stuck now. so if anyone has somme smart suggestion...
Click to expand...
Click to collapse
Fixed using Odin to flash a stock ROM
Same Problem!
Can u help me with a guide? I have GT-I9070P 16G. THANK'S!

Failed to change /cache file system from ext4 to f2fs

Hi guys... i want to ask whether anyone know how to solve this error,....i was succeed to change file system of /system and /data from ext4 to f2fs but i've got this error message after i'm trying to change file system of /cache by using twrp v2.8.70 :
E: mkfs.f2fs -t 1 /dev/block/mmcblk0p4 process ended with ERROR=255
E: Unable to wipe '/cache'
E: Error changing file system.
Thanks in advance for your attention

Data recovery, how to mount messed up /data - Internal SD - sda25 in Recovery/ADB

Hi:
I've messed up my Note 9 pretty bad, such that no partitions mount in TWRP except cache - I'll need to do a data wipe, but I need to save data that I have in the Internal SD.
I've discovered via fdisk in TWRP that the media part - the Internal SD is partition sda25 - however can
t mount it in the terminal through a simple: mount /dev/block/sda25 /mnt
I get an error: mount failed: Invalid argument
I've tried: mount -t sdcardfs /dev/block/sda25 /mnt
This gives me also an error: mount failed: Not a directory
Mounting with -t vfat or exfat gives the Invalid argument error.
Anyone can help me with how to mount it, so that I may copy data off of it manually? I don't want to lose it. Many thanks.
白い熊 said:
Hi:
I've messed up my Note 9 pretty bad, such that no partitions mount in TWRP except cache - I'll need to do a data wipe, but I need to save data that I have in the Internal SD.
I've discovered via fdisk in TWRP that the media part - the Internal SD is partition sda25 - however can
t mount it in the terminal through a simple: mount /dev/block/sda25 /mnt
I get an error: mount failed: Invalid argument
I've tried: mount -t sdcardfs /dev/block/sda25 /mnt
This gives me also an error: mount failed: Not a directory
Mounting with -t vfat or exfat gives the Invalid argument error.
Anyone can help me with how to mount it, so that I may copy data off of it manually? I don't want to lose it. Many thanks.
Click to expand...
Click to collapse
cant you simply wipe the affected partitions(except data of course)? then flash a rom?
have you tried;
mount /sys/block/sda25 /mydata
or
mount /dev/block/sda25 /mydata
or
adb
mount -o rw /dev/block/sda25/data /mydata
in both cases /mydata is just the mount point so I believe it can simply be called what ever you want including just /data
have you read:
https://android.stackexchange.com/q...data-partitions-in-recovery-mode-in-adb-shell
edit:
by any chance when you first flashed twrp, did you forget to format data?
if yes then flash back stock AP file(original phone's firmware) in Odin AP slot only and you should be good to go.( you shouldn't loose any files in internal storage)

Categories

Resources