[Q] /sdcard unaccessible - Galaxy S II Q&A, Help & Troubleshooting

Good day! This is my first post and don't flame me because i really tried to search
for a solution before posting; either i just didn't look enough or i could'nt understand the solutions.
SO, here's my problem:
I cannot access /sdcard.
I came from CM9 nightly and i know what i did wrong. I mistakenly removed my usb cable when my phone was still in usb mass storage mode. That's the only thing i thought i did wrong.
On ES File explorer i get "SD card empty, unmounted or not present" when accessing /sdcard
So what i did is to return to stock firmware, hard reset, did a factory reset of the internal storage... and thought all is good. IT AIN'T.
What the factory reset did was make a folder /emmc and put the internal storage data there.
I can assume that the /sdcard folder may be corrupted and inaccessible.
I found/thought of some solutions:
1.) Rerouting /emmc as /sdcard like in this thread
Swap the mounting points on ICS (CM9) for emmc and sdcard
2.) Reflashing stock firmware again with PIT file (I haven't done this before, is it that scary? ) Can someone explain what the difference of flashing with or without PIT? And also how can i flash a pit file when the firmware i downloaded has only 1 file (what firmware should i download then?)? Also, should i backup /efs before flashing PIT?
How do I know I am using a correct PIT file?
Any ideas what i should do?

format the sd card cheerz

jeromepaez said:
2.) Reflashing stock firmware again with PIT file (I haven't done this before, is it that scary? ) Can someone explain what the difference of flashing with or without PIT? And also how can i flash a pit file when the firmware i downloaded has only 1 file (what firmware should i download then?)? Also, should i backup /efs before flashing PIT?
How do I know I am using a correct PIT file?
And that's why phones get bricked you would need to read and learn before flashing stuff .
Do not use PIT file is the recommendation for SGS2 as their is far higher chance of hard bricking a phone .
EFS should be backed up on day one .
jje
Click to expand...
Click to collapse

Related

Bell Galaxy S dead (unable to mount /sdcard) -> LAGFIX Problem?

Hi Guys.
I have a Galaxy S on bell's network, running JPK.
I looked at my phone last night and there was an orange "!" caution icon in the notification area. Said something about the internal sdcard not unmounting properly. So I rebooted the phone and now its booting to a black screen.
I have Ryan's OCLF from the market installed. I'm not sure if this is what is causing the problem (may be confused about ext2?)
I can boot into recovery, but no access to su from there. I can get into download mode. I tried re-flashing JPK, which flashed ok but I still have the same problem.
The error I'm seeing in recovery is:
E:Can't mount /dev/block/mmcblk0p1 (No such file or directory)
E:copy_dbdata_media:Can't mount SDCARD:
I tried flash sdcard from recovery but didnt work.
Can anyone help me get my phone back? I heard flashing stock 2.1 Bell firmware may fix my issue, but I don't have that firmware. Please help!
This should help.
http://forum.xda-developers.com/showthread.php?t=739091
this will work for you
this is the erro that comes up
E: Can't mount /dev/block/mmcblk0p2
(File exists)
Error mounting /data/!
Skipping format...
Copying files...
E: Can't mount /dev/block/mmcblk0p2
(File exists)
E: Can't mount DATA:
E: Failure at line 372:
copy_dir PACKAGE:data DATA:
Installation aborted.
this is the way you fix the problem.
1. Download Eugenes 'Froyo that does not brick' file.
2. Extract the files.
3. Open Odin, plug in your phone, then put it into download mode.
4. load the PIT file in appropriate area.
5. load the .tar file in the PDA area.
6. DO NOT check 're-partition'.
7. Click start, let it finish. Your phone will load and reboot into stock recovery. It will error out again. DONT panic! This is what's supposed to happen.
8. Now, pull your battery.
9. Download the 'True stock 2.1 firmware for the vibrant'.
10. Extract the files.
11. Once again, open Odin, plug in your phone, put into download mode.
12. Load the PIT file into the appropriate area and the .tar in the PDA area.
13. THIS TIME you want to check the 're-partition' box.
14. Now click start, let it finish, and this time your phone will load up just fine
You might be better off sticking to the i9000 forums in the future, given that your Bell Vibrant resembles our T-Mobile Vibrant in name only. It's far more similar to the international i9000.
alcangel64, will this work with the GT-i9000? I also see the caution about don't do it if you've flashed JP3.. should I ignore that warning?
alcangel64 said:
this will work for you
this is the erro that comes up
E: Can't mount /dev/block/mmcblk0p2
(File exists)
Error mounting /data/!
Skipping format...
Copying files...
E: Can't mount /dev/block/mmcblk0p2
(File exists)
E: Can't mount DATA:
E: Failure at line 372:
copy_dir PACKAGE:data DATA:
Installation aborted.
this is the way you fix the problem.
1. Download Eugenes 'Froyo that does not brick' file.
2. Extract the files.
3. Open Odin, plug in your phone, then put it into download mode.
4. load the PIT file in appropriate area.
5. load the .tar file in the PDA area.
6. DO NOT check 're-partition'.
7. Click start, let it finish. Your phone will load and reboot into stock recovery. It will error out again. DONT panic! This is what's supposed to happen.
8. Now, pull your battery.
9. Download the 'True stock 2.1 firmware for the vibrant'.
10. Extract the files.
11. Once again, open Odin, plug in your phone, put into download mode.
12. Load the PIT file into the appropriate area and the .tar in the PDA area.
13. THIS TIME you want to check the 're-partition' box.
14. Now click start, let it finish, and this time your phone will load up just fine
Click to expand...
Click to collapse
while in recovery mode, if you have adb installed u can adb reboot download and it'll take u to download mode. Then you'll be able to restore through odin. But I warn u, if it has something to do with the filesystem (ext2, ext4) ur in for a long ride. Other day I spent all day trying to get my phone to boot after flashing like 20+ times in odin due to an error in my filesystem
I think the title is bit misleading. It was likely not JPK that broke but rather the EXT2 loopback created by the lag fix. You might consider changing the title of the thread to something else.
If you get it working again, I wouldn't suggest applying the OCLF again. When the internal SD mounted improperly, it was likely corrupted. This can happen at anytime since the EXT2 is not journaled like Samsung's RFS or EXT4. You might be able to fix the file system corruption if you can run fsck on it through ADB.
Selecting the repartition option in ODIN may get you past any file corruption issues with the SD but it will wipe your internal SD. So, just restore from backup.
I agree. I think it was the lagfix, ultimately. I think the problem now is that I can't reflash because none of these PDA firmwares know anything about ext2.
Are there any releases with ext2 enabled right in the firmware? That might let me re-mount /sdcard at least, or at least remove the symbolic links?
epakrat75 said:
I think the title is bit misleading. It was likely not JPK that broke but rather the EXT2 loopback created by the lag fix. You might consider changing the title of the thread to something else.
If you get it working again, I wouldn't suggest applying the OCLF again. When the internal SD mounted improperly, it was likely corrupted. This can happen at anytime since the EXT2 is not journaled like Samsung's RFS or EXT4. You might be able to fix the file system corruption if you can run fsck on it through ADB.
Selecting the repartition option in ODIN may get you past any file corruption issues with the SD but it will wipe your internal SD. So, just restore from backup.
Click to expand...
Click to collapse
What did you do to fix it? Problem is I can't su in recovery mode. If I could I could at least remove the ext2 symbolic links and continue.
jroid said:
while in recovery mode, if you have adb installed u can adb reboot download and it'll take u to download mode. Then you'll be able to restore through odin. But I warn u, if it has something to do with the filesystem (ext2, ext4) ur in for a long ride. Other day I spent all day trying to get my phone to boot after flashing like 20+ times in odin due to an error in my filesystem
Click to expand...
Click to collapse
moophone said:
Are there any releases with ext2 enabled right in the firmware? That might let me re-mount /sdcard at least, or at least remove the symbolic links?
Click to expand...
Click to collapse
The stock 2.1 / 2.2 kernel should already support EXT2 however it won't mount a corrupted / damaged partition. You should try flashing back to 2.1 with the repartition option checked through ODIN. Once the internal SD is formatted by the repartition, it should then finally mount. It will also return everything back to RFS.
What kernel exactly? I tried flashing i9000_Kernel.tar, and then I9000XXJPH_KERNEL.tar from JPH. I tried JPC. I don't have a stock Bell kernel but none of those did anything.
Could you refer me to a specific kernel that will restore the /sdcard partition?
Thanks,
Greg
epakrat75 said:
The stock 2.1 / 2.2 kernel should already support EXT2 however it won't mount a corrupted / damaged partition. You should try flashing back to 2.1 with the repartition option checked through ODIN. Once the internal SD is formatted by the repartition, it should then finally mount. It will also return everything back to RFS.
Click to expand...
Click to collapse
moophone said:
What kernel exactly? I tried flashing i9000_Kernel.tar, and then I9000XXJPH_KERNEL.tar from JPH. I tried JPC. I don't have a stock Bell kernel but none of those did anything.
Could you refer me to a specific kernel that will restore the /sdcard partition?
Thanks,
Greg
Click to expand...
Click to collapse
After about 30 tries I was able to boot my phone with UGJH2. The funy part is for it to work and boot OK .. I have to leave my external SD card in it. It will error saying that it can't mount it once booted and both my internal 16G sd or my external 8G sd can't be mounted. All the rest of the phone works perfectly. If there was just a way for format or repartition the internal SD card from in the OS or ADB it would be fine. At least my phone now works until I can get a replacement phone from bell.
I tried to remove the external SDcard and the phone crashed. If I leave it in there , it works fine ??
Having this problem after flashing jp6 on my Bell i9000m. It worked great for like 2 days but suddenly it stopped working and i can't boot anymore. I did apply a lagfix but i removed it soon after because i did not see any speed improvements. Downloading the roms suggested in this thread right now... hope it works
Flashing again doesn't help*
I've flashed back to stock rom and used wipe factory and cache, but it still doesn't fix the issue.
I've read something about using adb to fix it, however adb doesn't even reconize my damn phone. Odin does on the other hand.
If adb reconize your phone, you should be able to push some files,and follow some other procedures to fix the internal sd card then flash it again with odin.
The other solution is changing your internal sd card, don't know how though people have sent back their device to their carrier or went to phone shop, i heard it costs one guy around 80$ to change it.

[help] phones internal sdcard changed from 11gb to 4.1gb

i had checkrom hd v6 gingerbread on my phone...i wanted to flash ice cream sandwich to my s2 so i wipe data/factory reset from recovery and wipe cache and dalvik cache and under mounts and storage i formatted system....basically the procedure is to remove the battery and then flash from download mode but accidentally my phone started to reboot when i put my battery in again so i removed the battery again and enter to download mode and flashed ics v4.0.4 ..after dat all my files in my internal sd card were corrupted and some of the folders were deleted and i coudnt copy or write any files into my internal sd card. so i formatted my internal memory card and my total space of memory card is now showing only 4.11gb... plzz help
sohail19 said:
i had checkrom hd v6 gingerbread on my phone...i wanted to flash ice cream sandwich to my s2 so i wipe data/factory reset from recovery and wipe cache and dalvik cache and under mounts and storage i formatted system....basically the procedure is to remove the battery and then flash from download mode but accidentally my phone started to reboot when i put my battery in again so i removed the battery again and enter to download mode and flashed ics v4.0.4 ..after dat all my files in my internal sd card were corrupted and some of the folders were deleted and i coudnt copy or write any files into my internal sd card. so i formatted my internal memory card and my total space of memory card is now showing only 4.11gb... plzz help
Click to expand...
Click to collapse
Did you flash also the .pit file inside the package, right?
Now re-flash the ROM: CSC, CODE & MODEM but ATTENTION! DON'T FLASH THIS .PIT u1_02_20120326_emmc_EXT4_8GB.pit!!!
Instead flash this one: View attachment Recommended_.pit.zip
PRESS TNX BUTTON IF I HELP YOU :good:
Tuqano said:
Did you flash also the .pit file inside the package, right?
Now re-flash the ROM: CSC, CODE & MODEM but ATTENTION! DON'T FLASH THIS .PIT u1_02_20120326_emmc_EXT4_8GB.pit!!!
Instead flash this one: View attachment 1182568
Click to expand...
Click to collapse
yes i flashed that pit.. but im now on gingerbread la4 one package file but still the same problem of not writing or copying to/from mmc . i think formatting the system and restarting the phone is causing the problem.??
If you flashed the .pit file in the latest leak then im afraid youre done for, i cant think of any solution because eventually if you keep flashing and wiping youre gonna brick out.
Needs a samsung service to fix this me thinks, why did you flash the pit???, its not aan i9100 official pit, the official is 16gb, NOBODY else flash this pit file please.
graemeg said:
If you flashed the .pit file in the latest leak then im afraid youre done for, i cant think of any solution because eventually if you keep flashing and wiping youre gonna brick out.
Needs a samsung service to fix this me thinks, why did you flash the pit???, its not aan i9100 official pit, the official is 16gb, NOBODY else flash this pit file please.
Click to expand...
Click to collapse
but what do i say to samsung people to get the service in warranty..
Read, the guide in the general section
Sent from my GT-I9100 using xda app-developers app
graemeg said:
If you flashed the .pit file in the latest leak then im afraid youre done for, i cant think of any solution because eventually if you keep flashing and wiping youre gonna brick out.
Needs a samsung service to fix this me thinks, why did you flash the pit???, its not aan i9100 official pit, the official is 16gb, NOBODY else flash this pit file please.
Click to expand...
Click to collapse
is it anyway caused by formatting the system and automatic reboot after putting the battery in or is it because of the wrong pit file.?? and if it is because of pit file can i reflash the lq5 firmware with the default pit..
i managed to get my memory card back to 11gb i flashed an old gingerbread firmware kh3 with pit file ..and back to 11 gb and now i can copy and write without any error.

The EMMC partition is broken, what do?

Basically my internal memory partition is broken, I can USB mount it through recovery but when booted into the ROM I can't access it, I am also unable to mount or format it through recovery. I tried remaking the partition as both exFAT and FAT32 and neither worked. I thought maybe I could repartition through Odin but I can't find an SGSII .pit file?
Thank in advance.
Bump.
I can USB mount it through recovery but when booted into the ROM I can't access it
Click to expand...
Click to collapse
Then it's ROM related problem.
And do not bump your threads if it was created in the same day / more than once in 24 hours.
Hi. 3 weeks ago my /data partition was broken with the emmc brickbug. My phone didn't boot into the rom, he just booted into recovery. I flashed the latest official samsung rom for my csc, i erased with the jig the custom binary counts and i went to the warranty service from my career. The guy that was there tryed to repartiton it with a pit file but failed (in odin). He sent the phone to the central service and after 6 days i recieved a new one :d. Sorry for the bad english.
przemcio510 said:
Then it's ROM related problem.
And do not bump your threads if it was created in the same day / more than once in 24 hours.
Click to expand...
Click to collapse
It isn't ROM related, it's why I can't mount/format it through recovery, I can only USB mount it for some ungodly reason.
Hi. 3 weeks ago my /data partition was broken with the emmc brickbug. My phone didn't boot into the rom, he just booted into recovery. I flashed the latest official samsung rom for my csc, i erased with the jig the custom binary counts and i went to the warranty service from my career. The guy that was there tryed to repartiton it with a pit file but failed (in odin). He sent the phone to the central service and after 6 days i recieved a new one :d. Sorry for the bad english.
Click to expand...
Click to collapse
My phone isn't broken, I can boot into Android fine, it's just the internal memory partition which is messed up. So, no .pit files available for stock Samsung then? Or does anyone know the exact adb commands to recreate the partition properly? Also yes I can store files on it fine when I USB mount it through recovery.
seshmaru said:
It isn't ROM related, it's why I can't mount/format it through recovery, I can only USB mount it for some ungodly reason.
My phone isn't broken, I can boot into Android fine, it's just the internal memory partition which is messed up. So, no .pit files available for stock Samsung then? Or does anyone know the exact adb commands to recreate the partition properly? Also yes I can store files on it fine when I USB mount it through recovery.
Click to expand...
Click to collapse
Do you try the option to format again your internal sdcard ?
Or the option to repartioning your internal sdcard.
But I believe the first solves your problem.
Sent from my GT-I9100 using Tapatalk 2
Reformat doesn't work, repartition is for making an ex partition which I don't want to do, at least through CWM.

Three odin files +pit file

Hey there, before I'm starting to talk about my needs I want to say that I've searched alot, about hours before opening this thread.
I want to make a totally cleaning install for my Galaxy S2(formats and wipes are not wipeing everything so..], I've flashed/installed over 70 Roms and over hunder kernels, the phone is fine,
but I wanna clean it, all the trash/garbage - After a long search I concluded that you cannot totaly clean your device and make it as new and not matter what you are doing there will be some scripts/files from old roms/kernels etc ****.....
but I got that the best way to make it cleaner is to flash Pit + CSC/PDA/Phone, now to the point of the topic -
I've searched alot but didnt find all those files...I don't care wich firmware it will be wich country wich language etc...I found alot download links...broken links that not working any more -_-
So I've decided to ask you guys if you can give me working links to those files, at list to CSC PDA PHONE files...
thats all, sorry.
Btw sorry for my grammar I know its sucks :\, Thanks in advance
Yes pit will work however there is a high risk of bricking your device by using incorrect pit file so you should avoid using pit file at all costs and for most part its not needed.
To clean your device you could instead just simply format your internal/external cards using cwm recovery. So simply install kernel like Siyah and go to storage menu and format cards. What they're called depends on kernel/recovery version. On some they will be labeled as internal/external on some it will will be sdcard and emmc. You should also format/system (this gets rid of rom/romdata).
Once you have formatted them simply install the rom you want to use either via download or recovery depending on stock/custom.
TheATHEiST said:
Yes pit will work however there is a high risk of bricking your device by using incorrect pit file so you should avoid using pit file at all costs and for most part its not needed.
To clean your device you could instead just simply format your internal/external cards using cwm recovery. So simply install kernel like Siyah and go to storage menu and format cards. What they're called depends on kernel/recovery version. On some they will be labeled as internal/external on some it will will be sdcard and emmc. You should also format/system (this gets rid of rom/romdata).
Once you have formatted them simply install the rom you want to use either via download or recovery depending on stock/custom.
Click to expand...
Click to collapse
I know all of the things you have said, but not matter wich formats you gonna do or wipes, there will be olds files, scripts and garbage that you don't need...
I just need links for those files, and I know the risk of flashing a pit but I still wanna do it...
there is nothing to talk about just need those files :/ thanks alot for the fast comment !
Gabi_Medayev said:
I know all of the things you have said, but not matter wich formats you gonna do or wipes, there will be olds files, scripts and garbage that you don't need...
I just need links for those files, and I know the risk of flashing a pit but I still wanna do it...
there is nothing to talk about just need those files :/ thanks alot for the fast comment !
Click to expand...
Click to collapse
You're wrong.
If you format system, internal card and external card there will be no files left. I have done this myself very recently. You could also use a kernel cleaning script aswell if you choose like Biftors.
If you use pit file all your doing is re-creating the same partitions you can just format, ie system and internal card.
If you want to go ahead and re-partition you can get files from here. But dont come crying if you choose wrong version and brick device. Just go and read and follow one of the many brick topics. IMO its just not needed or worth it.
TheATHEiST said:
You're wrong.
If you format system, internal card and external card there will be no files left. I have done this myself very recently. You could also use a kernel cleaning script aswell if you choose like Biftors.
If you use pit file all your doing is re-creating the same partitions you can just format, ie system and internal card.
If you want to go ahead and re-partition you can get files from here. But dont come crying if you choose wrong version and brick device. Just go and read and follow one of the many brick topics. IMO its just not needed or worth it.
Click to expand...
Click to collapse
I've readed this thread: http://forum.xda-developers.com/showthread.php?t=1795966
you can see that formating system data wipes etc are not deleteing everything...
and btw sammobile gives only PDA no more, I'm not noob and dumbass or w/e I'll not cry or anything else I've choosed and all I need is
CSC / PDA / PHONE and PIT.
Gabi_Medayev said:
I've readed this thread: http://forum.xda-developers.com/showthread.php?t=1795966
you can see that formating system data wipes etc are not deleteing everything...
and btw sammobile gives only PDA no more, I'm not noob and dumbass or w/e I'll not cry or anything else I've choosed and all I need is
CSC / PDA / PHONE and PIT.
Click to expand...
Click to collapse
That thread/comments are FOS. Formatting system/data partitions deletes everything on that partition which is where rom/rom files are stored. If you also wipe internal SD then everything is gone as far as files you can access/see goes.
Wipe data/factory reset.
Wipe caches.
Format/System
Format/emmc (internal sd card).
Check the older GB roms on sammobile, They should have all files like pit etc.
TheATHEiST said:
That thread/comments are FOS. Formatting system/data partitions deletes everything on that partition which is where rom/rom files are stored. If you also wipe internal SD then everything is gone as far as files you can access/see goes.
Check the older GB roms on sammobile, They should have all files like pit etc.
Wipe data/factory reset.
Wipe caches.
Format/System
Format/emmc (internal sd card).
Click to expand...
Click to collapse
Well, thank you very much !
Gabi_Medayev said:
Well, thank you very much !
Click to expand...
Click to collapse
Honestly, All you need to do is
Wipe data/factory reset.
Wipe caches.
Format/System
Format/emmc (internal sd card).
And maybe use kernel clean script. No need to re-partition unless absolutely necessary.
Gabi_Medayev said:
and btw sammobile gives only PDA no more, I'm not noob and dumbass or w/e I'll not cry or anything else I've choosed and all I need is
CSC / PDA / PHONE and PIT.
Click to expand...
Click to collapse
if you want all files then flash JB leak from sammobile it has all you need CSC, PDA, PHONE & PIT... (if at all your preference is NOT ONLY ICS)

SGS2 - Pit file for odin

Hello all
Can you give me a download to a pit file for odin (my device running stock 4.1.2)?
Does this pit file would fix my phone? (im in kind of a brick)
Thanks
Hi
What have you done before the brick? If it is a MMC Erase Brick because a Wipe Factory Reset in a suceptible kernel, maybe I can help you. But in this case you need to run two tools in CWM Recovery to find out where exactly the internal SD was damaged, and then, use a modified .pit to create the partitions in a whay that the damaged part is 'jumped'
Until there, I uploaded the stock .pit for a 4.1.2 for an internal SD card of 16 gb
http://www.4shared.com/file/LOkivHesba/i9100_16GB_u1_02_20110310_emmc.html

Categories

Resources