Related
Here's my issue: I wanted to start with a fresh "slate" for flashing a custom ROM (I originally had TRIGGER+OVERSTOCK). I backed up my apps/settings and the current ROM, disabled the Voodoo lagfix and unrooted the phone. Then, I ODIN'd back to JFD. At this point I downloaded TitaniumBackup and ROM Manager. When I tried to mount the Internal SD card, nothing happened...just the external card mounted. I went back and checked my ODIN settings an noticed that I had left the "Re-Partition" box checked. Freaking out at this point, I then went ahead and rooted the phone, and checked the file system through the Super Manager app. All my data was still there!!! So I went ahead and used ADB to "pull" the TB and ROM Manager data onto my computer just in case. My question is: how do I get the internal SD card to mount correctly?? Any help would be HUGE!!! Thanks in advance for everything!
Oryon007
I can't really tell by your post, are you trying to mount your external sd onto your phone or onto your computer?
I have Odin'ed to JFD with repartition checked many times, and have never had your problem. If I were you, I would just go through and Odin again using a different JFD image (maybe you just had a bad flash, what version of Odin were you using?) As long as whatever you are flashing with Odin contains all the essential bits, repartitioning should not do anything too deadly to your phone. (I learned this the hard way, do not try to Odin and repartition with JI6, for example, because JI6 has no dbdata image included).
If you just want to troubleshoot your current install, check the "/etc/vold.fstab" and "/etc/vold.conf". I can't actually tell you what those two files should look like as I am currently running a 2.2.1 rom (I think the files should differ between versions of the OS, but I'm not sure).
I am a pretty big Linux and Android noob, but I'm pretty sure that those two files are responsible for mounting both sdcards onto your phone, at least partially. (I would have no idea where to look to fix it if it isn't mounting onto your computer.)
Sorry if any of my advice is off, like I mentioned a little earlier, I am a pretty big noob, albeit very interested in Android.
Sorry for the confusion....I'm attempting to mount my internal SD to my computer. As far as ODIN is concerned, I'm using 1.7 with the flash files from this post:
http://forum.xda-developers.com/showthread.php?t=734475&highlight=stock+odin
I've used this ODIN flash before without any issues, so I'm still a bit stumped on why I can't mount my SD card. I can see the entire file system from within my phone as well as through ADB, but (for whatever reason) cannot mount it to my PC. I am leaning towards the issue of the SD card being partitioned wrong. Any thoughts? Any ideas on how to repartition the internal SD back to "stock"? Thanks again for any help provided!
-Oryon007
That's actually the same JFD image I use. I would just use Odin to flash JFD again with the repartition checkbox checked. I'm pretty sure that that will solve your problem.
Make sure you use the pit file too, without that you will have serious issues if you are repartitioning.
I'll try this again, just in case I missed something the first time...wish me luck!! I'll let you know how this turned out, too!
-Oryon007
Alright, good luck. Did you use the pit file when you originally flashed JFD and repartitioned? Not using that file may have been why you had this problem.
Ok...so, no change with the internal SD. When I attempt to mount the SD cards to my PC, the only one that shows up is the external one. After unmounting them, I can still see both cards with filesystems. Could the internal SD have been partitioned incorrectly? If so, how do I get it repartitioned right?
EDIT: I did use both original files from here...
Okay, I'm sorry but I have no clue how to help you. Are you sure its not just your computer? You may have to try and get help from somebody more knowledgeable than me. Have you tried flashing any other rom through Odin over JFD?
Not yet...I wanted to make sure that it wasn't something that I was doing incorrectly through ODIN. Again, my ultimate goal in all this was to have a "clean slate" to install a custom ROM on; the catch I'm running into is that I can't mount the internal SD card to place the files on to flash through CWM, even though I can see all the files through the phone and through ADB. *sigh* Thanks for your help though! It's always nice to have help when you run into these issues...
EDIT: After trying to ODIN JI2 files, I get the following error upon boot of the phone in Recovery:
E:Can't mount /dev/block/stl10
(Invalid argument)
E:copy_dbdata_media:Can't mount DBDATA:
copy default media content failed.
Click to expand...
Click to collapse
Look at what I said at the end of the second paragraph, on the second post in the parentheses.
EDIT: Just flash a rom using Odin that does have a dbdata file. You probably checked repartition while flashing JI2.
Last night I was having a similar problem. While I wasnt flashing back to stock or anything, I could only get G: (external sd) to mount to my pc but not the F: (internal storage). Eventually I disabled USB Debugging, plugged in the USB cable from the pc, and it gives you 3 options for USB Mode: Kies, Media Player, Mass Storage. Once I selected mass storage, both internal and external sd cards mounted to the PC with no problem. Just remember to re-enable USB Debugging after.
Finally got it!!
Finally found the issue!! Only took me a week....lol
Going to manage my disk drives found that my PC wanted to assign a drive letter that was already assigned to a mapped network drive. *duh* Obviously not going to work. Reassigned the drive letter and voila!! I can mount my internal SD card!! w00t!!
That's really terrible and hilarious at the same time. Why wouldn't windows just pick another letter to map it to?
Hi guys i have problem with a phone thats friends gives me to repair and this is the problem.
Phone was dead so i put in download mode and flashed with "T959UVJFD" , and the phone stucks on GALAXY S logo and then the 4 lights of the down of the phone on and the screen was black so i tried differents combinations of roms, pits files , etc.
The phone finaly booted propely when i flashed a kernel "Bali_1.8.8UV-zImage" with heimdall .
After the phone booted i was happy but i checked and internal 16gb was not recognized and also when i inserted sd card also no detected.
Finaly i was searching solution also when tried to flash with RIFF BOX BY jtag and still same , phone only boots when i flash with kernel "Bali_1.8.8UV-zImage" but still no internal or external storage .
Also in recovery mode messages like
"can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)"
Anybody can help me?
I need to work one of them storages
Did you ever find a solution to this? I have an old Vibrant laying around that has this same problem....both the external and internal memories are unavailable no matter what I do.
rikimaer said:
... Also in recovery mode messages like
"can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)"
Click to expand...
Click to collapse
a) When you see this message in recovery, what happens if you simply select "Reboot phone" and hit the Power button? Does it then boot up?
b) mmcblk0 = Internal sdcard. I hate to say it, but it sounds very likely your friend's phone could have been hit by the Encyption Unsuccessful bug (refer to Merio90's thread).
As a test, you could follow Merio90's OP steps and use the updated CWM recovery (via update.zip) to re-partition your external sdcard. Note: all data will get wiped (so backup first). When you "reinstall packages" in recovery, you may get that "can't mount ... emmcblk0" error again. Just "reinstall packages" again. Then see if you get int / ext sdcard detection at that point.
If still not detected, proceed to flash a CM7 v7.2.0-vibrantmtd rom. Flash it twice (1st flash updates recovery; 2nd flash converts to mtd partitioning and flashes rom). Merio90's thead is geared towards ending up at an ICS rom, but keep in mind essentially all of the Vibrant EU occurences have been on ICS rom's. This is why I suggest using that stable CM7 build as a test. For kicks, see if you get sdcard detection (probably not). If not, do the vold.fstab emmc/sdcard swap, which works the same and uses the same syntax on GB & ICS (ie. refer to Merio90's OP for vold.fstab syntax). Flash CM7, edit your vold.fstab, & reboot (for swap to take place).
If you're good to go ... you can always proceed onto a JB rom from there. Read through the last discussions re. JB rom flashing issues and kernel compabitibility - ie. to save you the trial & error.
If you still don't get sdcard detection at this point, maybe this is something different altogether. But, my hunch is that you'll get detection on CM7 (after the vold.fstab swap).
Hi Guys,
Anyone can help, i messed up my I9300 sdcard, i tried everything i know
- Tried to re-partetion using .pit file and ODIN 3.07
- Tried to flash the stock rom "it works but the device keep restart and freeze"
i guess the issue is that my internal sdcard is not well partitioned now cause a softer reading the device information telling that my rom is 11.8 gb and my sdcard 11.8gb as well.
Please help, i'm dyeing
Thanks in advance.
Hello guys,
at first i want to explain what happened to me:
i wanted to format an usb-stick on my pc, i used windows' diskpart in the cmd.
well, somehow i maid something very wrong and formated the sd-card of my sgs2, which was connected in the "usb-connection"mode. Well, it was no problem for me, the datas (music and pictures) are safed. but the smartphone don't recognize the card anymore could be because i formated it in ntfs. Well, the storages is always shown in the computer, as soon as i plug my phone in. i don't need to activate the usb-connection mode.
well i'm on a pacman rom and the following is my kernel:
Kernel_Siyah-Dorimanx-V9.1-[00-49]-[07-03]-JB-CM-AOKP-SGII-PWR-CORE
i could format the card with the pc i think, also did it as a fat32 file system, but nothing shown in the phone.
can anybody help? maybe format it with a terminal emulator or so?
thanks for any suggestions!
greetings
Format in CWRecovery.
thanks for that tip.
i tried it, via mounts and storage, but i get an error:
"
Formatting /emmc...
Erro mounting /emmc!
Skipping format...
done.
"
i think i should format the storage via the pc, but how :/
Try formating sd card using a linux pc
I did same thing with a flash drive and worked
Send from my SGS2 I9100 with PACMAN ROM v22.2 and DorimanX 9.20 kernel
that's a good advice.
do you have had the same things as i? so that you can see the storige when the device is active and plugged in? i'll try it later in the evening with a live linux, if i can't get any other solution on windows
Let us know how you get on/if it works. Using a LiveCD & doing it could be a good solution for someone else who finds nothing works (Rather than going the whole hog & doing a full Linux install they'll never use again).
i'm not sure if linux can do more than windows. i've formated the stick 3 times now, once with the diskpart console-programm, well this time "format fs=fat32" of course, than via "computer" (rightclick, format) and here also fat32... then i tried this tool:
http://panasonic.jp/support/global/cs/sd/download/index.html
nothing to see in the smartphone either.
of course i've unplugged the cable before.
do you think it could help to do a flash via odin? well, for this i could need some instructions, it would be great to flash a custom rom, because i wouldn't use the stock rom.
but so far thanks anyway for your help, very nice how fast you reply ;D
and here a little apology, i'm very sorry for my english. i hope you can understand most of it ^^
Your English is good
Hmmmm. I'm not sure flashing anything in Odin would help, flashing another rom won't make any difference (Because this is kernel-side). Though I guess you could try flashing another custom kernel/reflashing the one you're using, but that would probably only be useful if there was something funky going on with CWRecovery causing your attempts to format through there to barf.
How about restoring a nandroid backup ?
To be honest, I've heard worse ideas than the Linux suggestion.
a nandroid backup isn't such a good point i guess.
because it contains the apps and so on, and i can't have an backup because i cant flash anything in the cwrecovery (because it cant mount the /emmc)
i think something tricky is up here, otherwise i could mount it easily in the recovery menü, but no chance. i tried it with a terminal emulator with the lines:
su (so that i'm superuser) then of course i accepted the su-prompt, and then typed:
mount -o remount rw /mnt/sdcard
but something must be wrong there because of the following error:
mount: Invalid argument
when i go to settings-> storages i have the internal storage with ~2GB for apps and so on, and it shows another "internal storage", where there are 2.00B used by "other"... when i click on that i see a .defaultrom data, nothing more.
any suggestions what this means? do i have an internal storage mounted where there is a 2bytes file and nothing more free?
that "re-partition" option in odin seems to be interesting.
do you think a flash of an emmc_EXT4_16GB.pit with the "re-partition" field ticked could help me?
EDIT:
fixed it 8)
well but i don't just want to tell how i did it, firstly i want to tell that it wasn't such a deep thing as "sectors broken while formating" or something like that. i really don't know the reason for myself, but i fixed it without the pc. i tried to format the storage with linux, there i tried ext4 and fat32, nothing worked.
than i googled a bit with the live linux, than i found someone who had the same problems like me. Well, he wasn't finished where i was, because he got the problem again after flashing a cm 10.1, but i don't need to flash it, and i dont think i will get the problem, because i got it in a different way than he (he installed cm10.1 from an external sd, than the internal didn't showed up)
Well, i dont want to write longer, i'll tell how it worked:
go to settings -> backup and reset -> factory data reset and in the next page tick "Erase SD card"
this formats the card itselfes, so it recognizes it after all. if i could i'd have formated it in the "storage" section, but there i had no ability to do so.
well, i hope i can help someone with this fix ;D
***************************************************************************************************************
UPDATE 21ST FEBRUARY 2014
Preload special editions with preload area reduced from 500mb to about 45mb, the resulting regained space is then allocated to the internal sd partition. Custom roms only! All data partition sizes have been catered for!
Beware #1 - Preload moddified version are NOT suitable for Samsung Stock Roms!
Beware #2 - Pre-Load moddified versions are for custom roms that do not use pre-load area! Please post on the respective thread for your rom and ask the author the question prior to using these versions if you are unsure! (I can tell you that SlimRoms & Cyanfox do not use preload, at present at least)
Beware #3 - If you want to go back to stock rom, you just need to flash my standard edition pit files, easy!
***************************************************************************************************************
Increase your data application partition and set your device free!
Are you bored of having to move apps to SD?
Bored of facing a stock issue of not even being able to move apps to your internal SD?
This thread will help you, currently only for i9100 16gb Model only.[/COLOR]
GUIDE - The usual rules apply, You will:
IMPORTANT: Please backup all your photos, videos and other important stuff on your PC, in the cloud or somewhere else where it is safe, as all your stuff on your internal SD card will be deleted!
1) Run compatible version of Odin, put your phone in to download mode (vol down/home/power button) and connect to PC via USB
2) Tick re-partition box
3) Click PIT button and select the pit file of your desired app partition size.
4a) Click PDA and select your stock official samsung jellybean rom - Edit- please remember if you use a rom that is not native to your region, it would be wise to flash the appropriate radio modem afterwards to ensure you get the signal strength you'd expect
4b) OR Flash your persnonal choice of kernel in *.tar format and pit file, reboot to CWM ( power button/vol up/home button) and install new rom or restore nandroid and boot as normal and skip to number 9 in this guide
5) Flash and wait for reboot
6) Let the phone reboot and wait until the android chap finishes his spinny wire ball belly animation and then remove the battery and do a factory reset using the usual power/vol up/ home trick.
7) Let it boot so you can check that you are happy with the result. ( I didn't, but you might want to)
8) Now flash your chosen rooted kernel and either stick with stock rom or enter CWM and flash your own custom rom.
9) When your phone boots, you may get a notification to format usb storage, say yes if prompted! If it that fails, connect you phone to your PC and format the the internal sd card manually.
10) Remember that Android likes automatically deciding where apps go, so sometime it tries to put stuff to SD itself (app requests it), it is worthwhile checking your installed apps to makes sure they went to internal app partition, you can tell this by either:
a) Look in Titanium back up, go to the move/integrate section and see if any apps show as moveable from SD to internal, if so run the batch process to put them on your nice new app partition, otherwise you may have issues running those apps.
b) If you don't have Titanium (why not?) then check the harder way by looking at app manager and swipe to the right to look at SD app, sort by size and then individually move ones back to internal storage.
11) That easy! Here is a shot of my resulting app manager
Files attached to post including original pit in case you want it back to stock values!
Enjoy!
*****************************************************************
This awesome!:laugh:
hey @metalgearhathaway
Thankx for this awesome thread. Will try the guide right now..
Oh also, maybe you should put reboot into download mode as first step
@metalgearhathaway Could you also add pit file that sets whole internal memory for app data, so we could use our fast SD cards as primary memory, please ?
*EDIT*
Followed guide and flashed. Everything went awesome! i flashed 16GB_6GB
Thank you very much.
But when i look in task manager, the app storage sure is 6GB(5.9GB) but my internal storage decreased to 8GB(7.91GB)
IS it possible to have 6GB for apps and still have the 16GB (11.5GB) internal?
Akalsemann said:
*EDIT*
Followed guide and flashed. Everything went awesome! i flashed 16GB_6GB
Thank you very much.
But when i look in task manager, the app storage sure is 6GB(5.9GB) but my internal storage decreased to 8GB(7.91GB)
IS it possible to have 6GB for apps and still have the 16GB (11.5GB) internal?
Click to expand...
Click to collapse
Sadly, our phone has 16gb total internal memory, pit files (partition information table) is how it splits this memory, sadly again our phone uses a app partition and then a pretend internal sd partition. This thread is for increasing the app partition to allow more apps to be easily installed without the need to move them about, as you increase the app partition this then naturally decreases the internal sd partition accordingly, hope that makes sense.
cortex69 said:
@metalgearhathaway Could you also add pit file that sets whole internal memory for app data, so we could use our fast SD cards as primary memory, please ?
Click to expand...
Click to collapse
I have asked the guy who made these to see if that can be done, I'll let you know if that gets sorted!
Main post update to cover apps that have auto installed themselves to SD partition or card, please read point 9 in main post, cheers!
all great, in guide,
i will use the 4gb split for me, but you must say that user should backup all his roms (sec rom also, as samny rom will kill his system) and internal sdcard before any usage.
to his PC.
or you will get posts like, why my files are gone? i blame you for that, you told me its safe, and now i lost my girl naked picks
Sent from my GT-I9100
Awesome !!!!
Thank a lot for this mod!
metalgearhathaway said:
I have asked the guy who made these to see if that can be done, I'll let you know if that gets sorted!
Click to expand...
Click to collapse
It can be done, of course
There has been a thread already, http://forum.xda-developers.com/showthread.php?t=2353551, but that tut only. It has attached files, but to flash onto cm10.1 at max.
One more question, would partitioning stay after installing a different rom ? I mean, we need sammy JB, then some aosp with Android 4.3.1
Subscribed
Posté via P.A.C Unofficial @ Nico_60
http://forum.xda-developers.com/showthread.php?p=45972533
cortex69 said:
It can be done, of course
There has been a thread already, http://forum.xda-developers.com/showthread.php?t=2353551, but that tut only. It has attached files, but to flash onto cm10.1 at max.
One more question, would partitioning stay after installing a different rom ? I mean, we need sammy JB, then some aosp with Android 4.3.1
Click to expand...
Click to collapse
Yes the partition remains the same, it will do until the phone is next given a pit file to change.
I have just let a phone upgrade phone 4.0.4 with the partition in place to 4.1.2 and everything remains!
cortex69 said:
@metalgearhathaway Could you also add pit file that sets whole internal memory for app data, so we could use our fast SD cards as primary memory, please ?
Click to expand...
Click to collapse
Testing new pit for dedicating all internal memory to app storage, will upload once I am happy!
metalgearhathaway said:
Testing new pit for dedicating all internal memory to app storage, will upload once I am happy!
Click to expand...
Click to collapse
Great. Anyhow, could you find out if phones picks SD card as primary memory with this pit ?
Do I need to flash stock rom or can I flash only the pit with odin give that I must wipe my phone of course..because if it was possible I prefer to do directly on the aosp rom sabermod..but if it is necessary I flash the stock one and then, repartition done, put the aosp plus dorimanx kernel..
subscribed ....i'll use 4gb split too....when i'll find some free time:good:
Thanks mate
Beam-ed through your pineal gland via//Android 4.3.1//
Subscribed.but i am still afraid to do it.may be i will loose my phone.loool
Envoyé depuis mon GT-I9100 avec Tapatalk 4
amirsat2012 said:
Subscribed.but i am still afraid to do it.may be i will loose my phone.loool
Envoyé depuis mon GT-I9100 avec Tapatalk 4
Click to expand...
Click to collapse
nah....you can't brick it ..If you follow guide to the letter :good:....
but @metalgearhathaway bricked it not so long ago....with smth else ..........
Beam-ed through your pineal gland via//Android 4.3.1//
amirsat2012 said:
Subscribed.but i am still afraid to do it.may be i will loose my phone.loool
Envoyé depuis mon GT-I9100 avec Tapatalk 4
Click to expand...
Click to collapse
no PROBLEM here, did backup all, then did what GUIDE say.
and now happy with 4GB data partition.
but when i have booted to SAMMY rom all CLEAN, but internal SDCARD was broken. via MTP i see that disk is exist but size is broken.
so i have flashed my kernel via ODIN, went to recovery, and when recovery loaded, WINDOWS asked me if i like to FORMAT my internal sd.
and it's was 9.50GB size, so i say YES. and all good now. clean partition and i am loading my stuff back.
P.S for OP!
no problem to restore nand backup via recovery
O! and user should flash his best radio firmware as SAMMY comes with other, maybe not good for USER.
Code:
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 402.3M 48.0K 402.2M 0% /dev
/dev/block/mmcblk0p7 94.4M 176.0K 92.3M 0% /cache
/dev/block/mmcblk0p11
9.5G 6.2G 3.3G 65% /mnt/.secondrom
/dev/block/loop0 96.8M 1.5M 88.3M 2% /secondrom_cache
/dev/block/mmcblk0p11
9.5G 6.2G 3.3G 65% /emmc-tmp
/dev/block/mmcblk1p1 14.9G 8.4G 6.5G 56% /sdcard
/dev/block/mmcblk0p11
9.5G 6.2G 3.3G 65% /sdcard/.android_secure
/dev/block/mmcblk0p11
9.5G 6.2G 3.3G 65% /emmc
/dev/block/mmcblk0p10
3.9G 1.5G 2.3G 40% /data