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?
Ok after many hours tonight I have managed to put together a couple .zip files that will install a modified vold.fstab on your Nook Color. (I am a total n00b at this)
The EMMC of the Nook Color has a partition for the ROM and a 5 GB partition that's mostly if not completely unused. Presently, there aren't any 3rd-party managers to move apps to that unused partition, so I modified the vold.fstab and am now able to use that partition for apps, files, etc.
NC.SWAP.VOLD.ZIP swaps the way the SD and EMMC directories are mounted. By swapping the mount points, and renaming EMMC to SDCARD, your apps, etc., will install to the internal storage, vs. installing to your SDCARD. Your physical SDcard is automatically mounted as "EMMC."
This also means that the music player still finds files, you can move files to "EMMC," and you can still eject the SDcard ("EMMC"), put it back in and it still shows up automatically. Now your NC won't freak out if you pull the card out without unmounting it - all of the apps are on the actual EMMC. You'd just find the SDcard under /mnt/emmc instead of /mnt/sdcard.
Because this ZIP file maps the change at an OS level, when you boot to recovery, your NC sees SD as the SDcard, so no issues occur. When you boot into your ROM, the mount points are swapped and you'll have access to the renamed "SDCARD" (5 GB) on your NC.
Use CWR 3.0.1.0 to install the .zip and check out the results with File Manager.
Thanks go out to Clark008, luciferii and Cali^Gal from #nookcolor, Loonacy and Raymondull from #Cyanogenmod, and EpicFail1236 from XDA.
Sorry if this is a bit crude, it's my first script ever. I would be happy to get any advice on how to make this better!
EDIT: I have been looking into renaming the emmc mount to say SD-External or better yet making it mount as /mnt/sdcard/sd-ext. it might be possible, ill be looking into it as soon as I can got laid up for a bit.
"Because this ZIP file maps the change at an OS level, when you boot to recovery, your NC sees SD as the SDcard, so no issues occur. When you boot into your ROM, the mount points are swapped and you'll have access to the renamed "SDCARD" (5 GB) on your NC."
/\/\ That clarifies a lot compared to the brief orig post. Will likely be flashing it this weekend.
BTW, if this expands and you need this 2nd post just have a mod give it to you. Thanks again!
BRILLIANT. Will be definitely testing this later today. Can't wait to run SD Tools on this
Sent from my NookColor using Tapatalk
it works! interesting how it'll work out as to unmounting, flashing roms. but with emmc being useless this is fantastic.
Thank you for the effort and time place in this mod
Yeah. The whole point of this was to utilize the 5GB internal emmc and not waste it. The next step is to mod the CWM to mount emmc as /sdcard so you can flash your zips from where you download them to (usually /mnt/sdcard/download), which in this case, goes to your emmc. But CWM will mount your external sdcard instead. For the time being, we can just put the zips we need to flash to the external sdcard, ie. /mnt/emmc.
I don't know if anyone noticed it yet, but if you usb mount after the swap, the transfer speed is kind of slow (~1.5mbps). I don't know if this is due to the emmc or that the read ahead cache needs to be tweaked.
We're open to make this even better. Feel free to comment and provide feedback.
This sounds like a step in the right direction, however, what I would like to see would be merging the emmc with the internal storage. What I mean is this; right now, when I go into "Storage", I see an "SD card" (8gb), "Internal Storage" (0.92gb), and "/mnt/emmc" (5gb). Why can't we combine the .93 Internal and the 5gb emmc together to make a 5.92gb Internal storage and eliminate the emmc from teh storage area? I'm sure there is a reason that I'm not aware of, but it seems that this would be the same as just about every other device. I am pretty sure the ROM is running from the emmc partition, so that has to have something to do with it, but I don't see a purpose for 3 storage places. I keep getting errors when I try to download apps and I don't even have very many installed. I have had to move most of them to the SD card to make room and some apps don't like to be installed on the SD card.
Another option would be to swap the emmc with the Internal storage. Then we'd be using the 5gb and the .92 gb would be sitting there doing nothing instead. Again, I'm sure there are reasons for this, I'm just asking to learn.
I agree.. ideally having the emmc mount be part of the system would be ideal.
Calla969 said:
This sounds like a step in the right direction, however, what I would like to see would be merging the emmc with the internal storage. What I mean is this; right now, when I go into "Storage", I see an "SD card" (8gb), "Internal Storage" (0.92gb), and "/mnt/emmc" (5gb). Why can't we combine the .93 Internal and the 5gb emmc together to make a 5.92gb Internal storage and eliminate the emmc from teh storage area? I'm sure there is a reason that I'm not aware of, but it seems that this would be the same as just about every other device. I am pretty sure the ROM is running from the emmc partition, so that has to have something to do with it, but I don't see a purpose for 3 storage places. I keep getting errors when I try to download apps and I don't even have very many installed. I have had to move most of them to the SD card to make room and some apps don't like to be installed on the SD card.
Another option would be to swap the emmc with the Internal storage. Then we'd be using the 5gb and the .92 gb would be sitting there doing nothing instead. Again, I'm sure there are reasons for this, I'm just asking to learn.
Click to expand...
Click to collapse
i have no idea TBH but thats far beyond my ability. really it would be nice to symlink emmc to the SD card or the other way around. the issue is that you cant symlink with fat partitions :-/
This is neet. I don't know enough to comment, but it looks valuble for some people.
I just use my stock emmc for music storage and let apps sit on SD w/ videos.
WobbleTheHutt said:
i have no idea TBH but thats far beyond my ability. really it would be nice to symlink emmc to the SD card or the other way around. the issue is that you cant symlink with fat partitions :-/
Click to expand...
Click to collapse
No, but you can symlink to them. Why not set vold.fstab to mount the partitions onto other names and make symlinks named /sdcard -> /othername? That way, the symlinks can do their jobs or rearranging the namespace to suit our needs.
The ramfs isn't FAT32, is it?
I'm an old cmdline type, tricks like this are used all the time to fool software with stubborn opinions about filenames.
Dennis
Jiggity Janx said:
If this works as effectively as it sounds like it will it's gonna rock! With the multiple wifi/bluetooth file transfer options I can say bye bye to the need for an sd card!
EDIT: I think this thread is eerily quiet because of the popular advice written up HERE. Specifically #5...
IMO, with a great write up on the best ways to work with this, all of the things it will affect (positive and negative), and the proper words of warning then the individuals that take it upon themselves to modify their devices are the only ones that can be held responsible if it doesn't work out as they had hoped. They also have to understand that when they work outside the boundaries of an accepted "standard" that they are somewhat desolate and will need to come back into the fold before they can/will be helped...
Just my .02...
Click to expand...
Click to collapse
This may be slightly off topic, but I cannot for the life of me figure out what that post is complaining/ talking about, I have had no trouble bouncing between HC, CM7 and stock.
All you have to do is flash to stock and then worst case you force the boot failure and the nook resets its self automatically
The last few posts on that message are myself and another person who have had not trouble with that now the OP hasn't responded so i'm not sure what to make up that post.
Is it real and an actual issue?
Or did the poster overreact to something?
Can some one please explain it to me if I am wrong about something in using a EMMC version of HC?
chisleu said:
This is neet. I don't know enough to comment, but it looks valuble for some people.
I just use my stock emmc for music storage and let apps sit on SD w/ videos.
Click to expand...
Click to collapse
Seems neet to me also. Always interested in using both emmc and sd space.
@ chisleau - I like the concept of putting all my music on emmc. Do you use an option in CM7 to install or move all your apps to your SD card?
thinking out loud (and not actually doing it) -- but we know that /data is /dev/block/mmcblk0p6 and and the "media" or "emmc" is located at /dev/block/mmcblk0p8 -- can't we just repartition and merge the two?
minotauri said:
thinking out loud (and not actually doing it) -- but we know that /data is /dev/block/mmcblk0p6 and and the "media" or "emmc" is located at /dev/block/mmcblk0p8 -- can't we just repartition and merge the two?
Click to expand...
Click to collapse
We can repartition but don't do it for this Reason -#5 http://forum.xda-developers.com/showpost.php?p=12494638&postcount=1
http://forum.xda-developers.com/showpost.php?p=12494666&postcount=2
ROMs that follow proper packaging - This emmc swap mod is one of them. So we're fine for those who are still hesitating.
Clark008 said:
ROMs that follow proper packaging - This emmc swap mod is one of them. So we're fine for those who are still hesitating.
Click to expand...
Click to collapse
Yep, I was hesitating, but between your post above and the "Thanks" from fattire to the OP, that is all the encouragement I need to take the plunge.
A few questions, tho, if someone can help me to understand this better....
I guess until I saw the OP, I did not realize that all apps in CM7 are installed to the SD card, as when I look at my installed apps in App Mgr, they don't show as being on the SD card. Is this some sort of CM7 voodoo or are my apps really on the internal memory?
Right now, with CM7, I am using the EMMC partition to store my music, under "My Files/Music". Power Amp can see this folder and it will play all my music just fine from within that directory on the internal partition, so if I install this update, what will that do to the 5Gb of internal storage I have now and the music on it?
Also, if I do install this update, what will happen to the apps and their associated data that I already have installed? Is this best done on a fresh build or will everything (apps/data and music) be A-OK after the Swap update is applied?
Just want to know what I am getting into by applying this update, as I have things pretty stable right now. If I could roll with apps on internal and music on SD, I would be more than fine with that, as long as I don't lose any of my apps/data/music in the process. If this is just mere partition re-naming/re-pointing, then I suspect my assets will remain intact?
Thanks to all who collaborated on this project!
why can't the entire internal partitions be imaged?
i use dd all the time to backup my sd card installs in case a test kernel or nightly goes poorly- or to burn a fresh install for multiple people. I just pop in the sd card into my laptop and burn the image back to the sd card.
if this was possible i'd have no issues with running off internal entirely if i could just burn the img. and get everything back as stock, including important device identifiers incase those were erased.
Need undo
This did what it's supposed to do but it seems to be causing a problem with the way I'm booting from sd. Is there a way to undo this?
Bump since I found this useful. +1 for CWM sdcard/emmc swap to enable SDcard-less flashing goodness from ROM Manager.
I have CWM v5 newly installed. I immediately ran a backup with it and all went well. Now, a little later, I've been looking into CyanogenMod and wanted to tiny baby steps so I was nice and confident with things.
I tried to do another backup from CWM and it said it couldn't mount /sdcard. I tried to restore and the same error. Rebooted a few times and it's the same still.
I booted normally and checked with a standard file manager and /sdcard was fine. I haven't changed anything since the time it was working but I still seem to have broken things
What can I do?
EDIT: Actually, since getting CWM on the device, I have played a little with ADB commands and replaced the bootanimation.zip. Everything works when the phone is booted normally so that can't have caused it. Can it?
You really like new threads eh?
I presume you don't have a physical micro SD card, and you've changed kernels again at some point. Now the sdcard mentioned in newer CWM recovery is the external_sd, which you don't have. Use the internal SD card option.
oinkylicious said:
You really like new threads eh?
I presume you don't have a physical micro SD card, and you've changed kernels again at some point. Now the sdcard mentioned in newer CWM recovery is the external_sd, which you don't have. Use the internal SD card option.
Click to expand...
Click to collapse
I love them I do search before hand to see if there are similar threads relating to my device but because there aren't, I thought making a new thread per issue would be helpful. I can keep it all in this thread though if that's the etiquette around here though.
I used kTool to flash the zImage from the link you pointed out in my last thread, that gave me CF-Root v5 and CWM. I haven't changed anything since that point so if it worked once, I don't understand why it won't work again. You have confused me about the sdcard/external_sd. I have a card in the device, and everything normally saves to /sdcard but there's also /sdcard/external_sd which is always empty. I also see /sdcard/usbStorage where I have put some files too, but I don't really understand the naming conventions.
As I said, look for the "internal sd card" option in CWM recovery.
I'll add a bit more in the hope you don't need to keep posting.
If you don't have a physical micro SD card in your phone and you try to use any of the "install/backup/restore to/from sdcard" in newer versions of CWM recovery, it will give an error about being unable to mount /sdcard. Also, as far as I know, /sdcard/usbStorage refers to USB OTG, so unless you've got a USB OTG cable and a memory card/HDD plugged in, you shouldn't be writing files to that location.
Backed up successfully to internal sdcard, although I wasn't able to restore from it first which I don't understand because there should be the original one from earlier somewhere.
Turns out I was wrong, I don't appear to have a card in that SD slot even though I could swear there was one. And I can create files/folders in /sdcard/external_sd/ so I give up, lol.
EDIT: Nope, just the normal USB that came with the phone. I created the files/folders directly in the phone when I tested it.
This is not an invitation to flaming, as I am under the impression that several people have tha same problem, so I will try to gather solution/suggestions here. I have the problem when trying out the new 4.0.4. ROMs, every single one of them are missing the capability to access the external SD card - rather unfortunate since I use it to store music, to back up with Titanium Backup and back up SMS, among other things. And yes, I have wiped, I have run the kernel cleaning script and wiped again, both a system wipe and cleaned the dalvik cache. Still no luck. Now I am aware that there are tools to mount the SD card, but after trying Multi Mount SD-Card Lite, Mount /system (rw / ro) and Drive Mount from Play Store, I still come up empty, literally. I have had 5 Android phones and all have been equipped with various ROMs, so I usually know what I am doing. I even pulled out tha SD card and wiped it on the computer and then formatted it/partitioned it IN the phone. It is a big shame, since ROMs like AdyScorpius, Omega's v3 and especially DraginICS and the F1 ROM are tempting and stunning looking. Any help? Please??
mcdanish said:
This is not an invitation to flaming, as I am under the impression that several people have tha same problem, so I will try to gather solution/suggestions here. I have the problem when trying out the new 4.0.4. ROMs, every single one of them are missing the capability to access the external SD card - rather unfortunate since I use it to store music, to back up with Titanium Backup and back up SMS, among other things. And yes, I have wiped, I have run the kernel cleaning script and wiped again, both a system wipe and cleaned the dalvik cache. Still no luck. Now I am aware that there are tools to mount the SD card, but after trying Multi Mount SD-Card Lite, Mount /system (rw / ro) and Drive Mount from Play Store, I still come up empty, literally. I have had 5 Android phones and all have been equipped with various ROMs, so I usually know what I am doing. I even pulled out tha SD card and wiped it on the computer and then formatted it/partitioned it IN the phone. It is a big shame, since ROMs like AdyScorpius, Omega's v3 and especially DraginICS and the F1 ROM are tempting and stunning looking. Any help? Please??
Click to expand...
Click to collapse
Firstly this is in the wrong thread.
Secondly, have you tried going up to the root directory, and making sure it's not under \emmc
I have, and it sometimes is, but isn't this an issue? I mean, as a frequent flasher I am used to ROMs where everything works, so I would say that is in the making of the ROM, which I doubt since the source is a Google project. But even with Directory Bind, I can't link it. It is over my head, I don.t understand why some people have the problem, and most not. And sorry for posting in the wrong forum, can somone move this or close it?
Benny, Denmark
I think most people are used to the SD card being in a different directory now so they don't mention it. For some roms, there is a flashable zip which mounts it back as sdcard/external_sd (or whatever it was called)
Sent from my GT-I9100
I'm having the same issue. When I restore back to Sense 3.6, my SD is back. Not sure of the issue.
Will not mount. I've went to recovery/Mounts/ and mounted there to no avail.
Also popped out the SD and put it back in, no avail.
When I check my 'Music' it says your content is unavailable because your phone is being used as USB storage. Disconnect USB. -- it's not connected to any USB, oddly.
EDIT: my issue was GB-ICS related and flashed this - http://www.htctweaker.com/RezROM/RezROM_oldfirm_patch.zip for ICS and it fixed my mounting issues.
Not sure what kind of disaster I got my self into, but I mistakenly formated the EmmC. (****...) There goes 900+ photos, all my music, and other downloads.
But I can't install a new ROM, because it will no longer mount USB storage. Did I fry something here?
The error
"E:Unable to open ums lunfile (No such fi..."
(It goes beyond my screen and doesn't wrap so I cannot read the rest.)
What? What gives? I need to get the new rom file on their so I can start over like I was originally trying to.
I'm sorry if this is some "super" simple error I am missing. I did google some, but people said just flash a new recovery. Well...I tried ODIN with a another kernel, the first one I ever used. To no avail. I know how to flash with adb on HTC phones, but I can't figure it out with the Galaxy.
[Update] I figure out I can use an external SD card to move a rom over...but the EmmC is still unreadable. Did I blow it up? :/
[Update 2] I was able to recover, MOST, of my photos. It seems my phone decided to just start storing them all on the external card. Woot.
[Bad Update]
Can no longer mount the external SD to attempt to try another rom/kernel. Dammit
[Good update]
Was able to get the emmc to mount again! Yay! I am worried though...is there any chance of damage?
Formatting your internal storage is fine it does nothing at all to the system. Unless you're wiping with stock ics kernel installed. Which everyone who reads and searches before they flash knows not to do. So you should be good to go.
Sent from my SGH-I777 using Tapatalk 2
Good advice given to ya here bud. Glad you got things figured out (at least for the most part!)
Clay
Team Pirate
Sent from my PINK SGH-I777