Related
Im updating the first post so everyone can see how to do this u can get the updated vold.fstab from chevy on pg 2.
Basically you must be rooted before doing this.
Download above file posted by chevy
Use a file explorer program like root explorer browse to your download folder or wherever you downloaded the above file. Extract it and when it says go to extracted folder say take me there.
Once there click on the vold.fstab and long press it and select copy from the menu that pops up.
Then browse to the root of your system device and select the system folder
Once there select the etc folder
Once in there at the top right of the screen if your using root explorer change the r/o to r/w and paste the file in here.
It will ask you to overnight the file. Select yes to overright
Then at the top right of your screen change the r/w to r/o
Finally reboot your phone and you should be good to go.
To verify just go to settings and select sd card and storage and you should see your external sd card showing up as the main sd card now.
Sent from my DROID X2 using Tapatalk
I haven't had time to make the change myself, but it can be done if you are rooted.
I've attached the files that need to be changed as a rar file.
"init.rc" is a initialization file that will create the directories /mnt/sdcard/ & /mnt/sdcard-ext/ on the system partition. It will also create a symbolic link to those directories as /sdcard/ and /sdcard-ext/ respectively.
Then, "vold.fstab" is used to mount the internal memory to /mnt/sdcard/ & mount sdcard to /mnt/sdcard-ext/
You should back up the original files from your device, the vold.fstab I attached has been edited to switch the internal memory to /sdcard-ext/ & sdcard to /sdcard/
Thank you ill try this when I get off of work.
Sent from my DROID X2 using Tapatalk
Bigdragon2k3 said:
Thank you ill try this when I get off of work.
Sent from my DROID X2 using Tapatalk
Click to expand...
Click to collapse
Let us know how it goes. I'm interested in this as well.
Ok well I tried this but I guess I messed up some where I ran the init.rc first. Then I backed up the vold.fstab and put it in a folder. I then put the new vold.fstab in etc/ now neither of my sd cards are being mounted. Maybe im trying something too advanced for me. But hopefully there's an easy fix. Was I supposed to push the file with adb
Sent from my DROID X2 using Tapatalk
I wouldn't be messing with critical system files like that until an SBF is available for our phone. Just my 2c.
You can adb the original files you backed up onto the device and reboot and it will remount the partitions. I did the same thing when I tried and made the mistake of overwriting the backup I made when I saved the edits in RootExplorer, so I had to grab the files off my wifes phone and push them onto mine to get it back up. Other than the devices not mounting, there isn't much harm in editing these files.
Did you edit both files at the same time to match the directories and reboot? If they don't match the devices won't mount when the vold.fstab is called. The edit needs to be done at the same time. In init.rc make sure the paths for the export & mkdir are the same. I was able to get it to create the directory /mnt/sdcard/ext/ so the external sdcard would have been in a directory inside the internal sdcard, but couldn't get it to mount to that directory.
Where I got hung up was on the vold.fstab edit, the formatting kept getting messed up and the file wouldn't work.
I was able to change the symbolic links around which helps if the sdcard path is hardcoded in the app to be /sdcard/, but when getExternalStorage is called by the app to get the path it will return the mnt/sdcard/ path, so that only helped get certain apps to store their files on the real sdcard.
The link below is how this edit is done on the Galaxy S, it was successful on that device so thats how I know it can be done on ours if we figure it out.
http://forum.xda-developers.com/showthread.php?t=1094090
Well I got it back to default now. Im not sure if you have taken a look at the original one posted for the i9003 here http://forum.xda-developers.com/showthread.php?t=1088474. When I went to edit yours it seeemed like you had extra stuff in there. Also on the other post it diddnt say anything about the init.rc. Not saying that your wrong I just diddnt see it mentioned. But hopefully we can figure this out and get it working.
Yeah, the vold.fstab I attached had the formatting messed up when I saved it in notepad and after that it didn't seem to accept any changes I made. I need to replace it with a fresh original file, I attached it to reference what I was saying, but should have been more clear to start with a clean copy. Sorry about that.
If our goal is just to swap the two cards, editing the vold.fstab is all that is needed, but if we want to combine the cards we need to edit the init.rc to make the /ext/ directory inside of /sdcard/, that way the apps that are setup to only work with the 1 card will be able to use both as the internal card would be mounted inside a directory of the real SDcard. Ideally I was thinking of mounting the internal storage to the /sdcard/data/ folder so app2SD stuff would go there, but started by trying to set it as /sdcard/ext/ as that wasn't a preexisting directory on my SDcard so it wouldn't be an additional monkey fighting the mod.
Ok I understand now. Hopefully we could get those files coded so we can try this out. This would be a great addition.
Sent from my DROID X2 using Tapatalk
you needed a better text editor. i did the exact same thing to vold.fstab and it works.
use the attached file.
I got it working as well (just swapping partitions). These were my steps:
1. attached the phone to my PC and made sure both the internal and external storage locations that mounted on my PC contained the same information. Just copied files back and forth until they were equal
2. disconnected the phone from the PC.
3. Used Root Explorer (RE) to copy vold.fstab to a few different places on both internal and external storage (just in case)
4. Mounted the /etc folder R/W in RE and did my edits on vold.fstab via the text editor in RE. Stored my changes and this automatically created a .bak file.
5. Mounted /etc RO and rebooted.
6. Both storage areas got prepared and mounted after reboot and were swapped as expected. Now I just need to copy the 8G SD contents to my 32G and I'll be back to where I was with the OG Droid!
Corey
Well thank you that definitely worked, thats so awesom.
Is it XMas morning, feels like Santa just visited! Now I have to order up that 32g card I've been drooling over, thanks!
Can someone post these instructions step by step in simple-man terms? Thanks!
Basically you must be rooted before doing this.
Download above file posted by chevy
Use a file explorer program like root explorer browse to your download folder or wherever you downloaded the above file. Extract it and when it says go to extracted folder say take me there.
Once there click on the vold.fstab and long press it and select copy from the menu that pops up.
Then browse to the root of your system device and select the system folder
Once there select the etc folder
Once in there at the top right of the screen if your using root explorer change the r/o to r/w and paste the file in here.
It will ask you to overnight the file. Select yes to overright
Then at the top right of your screen change the r/w to r/o
Finally reboot your phone and you should be good to go.
To verify just go to settings and select sd card and storage and you should see your external sd card showing up as the main sd card now.
Sent from my DROID X2 using Tapatalk
coreywilner said:
I got it working as well (just swapping partitions). These were my steps:
1. attached the phone to my PC and made sure both the internal and external storage locations that mounted on my PC contained the same information. Just copied files back and forth until they were equal
Click to expand...
Click to collapse
Explain, please? How do you get both the internal and external storage locations to show up on the computer?
usb mode will show both sd cards in your computer screen.
Bigdragon2k3 said:
usb mode will show both sd cards in your computer screen.
Click to expand...
Click to collapse
Was able to figure it out, sleep is a wonderful thing when it comes down to thinking clearly! LOL
Thanks cvmaas and Bigdragon, it's great being able to fully use my SD card again!
Sent from my DROID X2 using XDA App
Not trying to hijack, but have any of you done this and purchased a 32gb card? Maybe a class 10 card? If so which one and how is it working?
Sent from my DROID X2 using XDA App
THIS GUIDE IS ONLY FOR ICS USERS WHO HAVE ENCOUNTERED THE ENCRYPTION UNSUCCESSFUL SCREEN ON THEIR PHONE. If you have no idea what the ENCRYPTION UNSUCCESSFUL screen is disregard this guide.
First and foremost I would like to thank and give credit to 'cgugino' for his guide over at the Captivate forums. Thanks to tabthelab and Woodrube for their helpful advice and guidence.
cgugino's guide (captivate)
http://forum.xda-developers.com/showthread.php?t=1447303
This is a similar guide if not identical to his guide for "fixing" the Encryption Unsuccessful bug that occurs in certain ICS roms (DocMasters V5 confirmed). Not sure about other ICS roms.Here is a screenshot of the "Encryption Unsuccessful" screen that will eventually appear on your ICS rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you have already selected reset phone well don't panic just proceed. It will not make a difference regardless.
Note: If you still have access to CWM not stock recovery proceed to step 6 and create your new partition. But REMEMBER TO BACK UP YOUR SD CARD AS IT WILL BE WIPED COMPLETELY. Do this by going under 'mounts and storage' > 'mount /emmc' or 'mount usb storage' in CWM
DO THIS GUIDE ONLY IF YOU HAVE ALREADY FLASHED BACK TO STOCK JFD THROUGH ODIN OR IF YOU NO LONGER HAVE ACCESS TO CWM. OTHERWISE READ THE NOTE ABOVE
WITH THAT BEING SAID THIS GUIDE DOES NOT FIX THE BUG. IT IS A WORKAROUND TO CREATE A PARTITION ON YOUR SD CARD TO BE ABLE TO USE YOUR "BRICKED" PHONE AGAIN
So lets begin:
Tools/Files Needed
-ADB (Android Debugging Bridge) and Android SDK must be set up on your PC.
Here is a guide that shows how to setup ADB and SDK with the necessary drivers:
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
-You need the latest ODIN 1.7 or whatever the latest version is along with the .pit file found here:
http://forum.xda-developers.com/showthread.php?t=848737
-Download this froyo .tar and extract it to the same directory where you have odin.
http://forum.xda-developers.com/showthread.php?t=833024&page=49
-Download CWM from here:
http://sourceforge.net/projects/stockodinjfd/files/update.zip/download
-Download any ICS rom Yes an ICS rom. You will use later to flash in CWM.
-You need a microSD card 8gb or larger which you will use to create the partition.
Thats it I think.
Here are the steps:
1. Enter download mode. Remove your battery/Then insert your battery/ hold both Volume Up and Down rocker and plug in your usb cable. You should now see the yellow android dude and it should say "Downloading".
2. Open odin and select the .pit file along with the froyo .tar file you've downloaded from above. Make sure "Re-Partition" is checked under options in odin. Click start and patiently wait for the process to be completed. DO NOT UNPLUG YOUR PHONE YET
Once odin finishes wait till the phone boots up with the new froyo rom youve just flashed.
3. Once your phone boots up and is setup copy CWM update.zip to the root of your external SD card. Do this by selecting the "mount usb storage" option in the notification bar.
Or
You can also copy the update.zip using a sd card adapter (only if your pc has an sd card reader).
You can use another phone or device which has a micro sd card slot. Just insert the sd card and plug in that phone via usb and copy update.zip.
You can also use adb to copy the update.zip.
adb remount
adb push update.zip /mnt/emmc
You must have the update.zip in the "platform-tools" folder in the android-sdk before executing the commands above.
4. BACKUP YOUR EXTERNAL SD CARD WHILE YOU CAN. IT WILL BE ERASED WHEN CREATING THE NEW PARTITION
5. Unplug your phone. Enter recovery mode using the 3 button combo or through adb using the following command: adb reboot recovery
Hit reinstall packages in recovery if CWM is not set yet. It will eventually install just keep clicking reinstall packages.
6. Once your are in CWM create the partition by going to 'advanced' > 'Partition SD Card' > Choose your data partition size 2gb is fine > Swap size 0M > You will get an error but just ignore it.
WAIT WAIT and WAIT it will take more than 5mins to create the partition. Just be patient it will eventually finish.
7. Connect your phone and while still in CWM mount your "USB Storage" under 'mounts and storage' > 'Mount USB Storage'. Then copy your ICS rom along with the update.zip (just incase) to flash. Don't flash update.zip though just keep it on your sd for future use.
8. Now while still in CWM umount your USB Storage. Go Back and select Wipe data factory rest / clear cache. Then install the ICS rom you've downloaded and flash it. (I used ICS Passion v13) Again be patient and wait till it finishes flashing and ignore any errors.
9. Once it has finished flashing it will eventually reboot. Or select 'reboot system now' in CWM if it already hasn't. Now this part you will have to be extremely patient. It may take up to 10mins or more to boot up. Once finished just set up your system using the setup wizard on your phone if there is one.
10. Check to see if your new partition has been successfully created by going to: Settings/Storage. You may see that your new partition is still 'unavailable' or it may say something like 00 for available storage. Don't worry just proceed to the next step.
11. Now to see if your partition is mounted properly. (Most likely not)Open the camera app and check to see if you get a message saying "Insert an SD card before using the camera." or something along those lines. If you get this message proceed to the following step. If not well you are lucky And you are now finished.
12. Now get ready to use adb so make sure adb debugging is enabled in Settings/Developer Options/ Android debugging [checked]
Open a command prompt on your pc in directory in which you installed your android sdk package. It should be something like this
C:\android-sdk\platform-tools
While in the platform-tools folder click on a blank space and Hold the SHIFT key + RIGHT CLICK > and select 'Open Command Window Here'. Now a command window should show up. If it doesnt show up well you didnt set up the SDK package properly go back to the guide which i suggested and make sure you have it set up properly or else you will not be able to issue commands.
13. With the command window open and your phone plugged in. Enter these commands to swap your external sdcard with your internal storage. This is the part where you will now use your new partition as your primary storage or internal storage.
Type in the following code into the command window or copy and paste it (easier) Remember to press the enter key after every command:
1) adb devices "This is to check if your device is properly attached"
2) adb remount "This is to check if your device is properly mounted"
3) adb pull /system/etc/vold.fstab "This will copy the vold.fstab file to the platform-tools folder on your PC."
3a) Now open the vold.fstab file you've just copied to your PC located in platform-tools. Right click vold.fstab and open it with notepad for editing.
Or you can also use a root explorer type of app on your phone
to edit the vold.fstab file. This might be the easier option. Just
remember to reboot your phone after editing the file.
3b) With the vold.fstab file open in notepad edit the following lines:
(They should be at the very end of the file and look something like this)
Line 1:
internal sdcarddev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0#
Replace both instances of sdcard with emmc
Line 2:
external sdcarddev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Replace both instances of emmc with sdcard
Now that you have finished editing vold.fstab save the file close it and proceed to the next step.
3c) Now copy the edited vold.fstab file to your new partition by using the following commands:
adb remount "Followed by"
adb push vold.fstab /system/etc/vold.fstab "The file should now be overwritten."
REBOOT YOUR PHONE IF YOU DON'T GET ANY ERRORS WHEN EXECUTING THE COMMAND ABOVE.
(READ BELOW "IN RED" BEFORE REBOOTING IF YOU GET AN ERROR IN THE COMMAND WINDOW)
YOU ARE NOW FINISHED. AND SHOULD BE ABLE TO USE YOUR PHONE AGAIN WITH THE NEW PARTITION MOUNTED PROPERLY
IF YOU GET AN ERROR IN THE COMMAND WINDOW saying permission denied or something enter the following commands.
adb push vold.fstab /emmc/vold.fstab
adb shell
su
mount -o remount rw /system
cp /emmc/vold.fstab /system/etc/vold.fstab
chmod 644 /system/etc/vold.fstab
mount -o remount ro /system
exit
exit
adb reboot "This command will reboot your device so don't panic."
Once you have entered the commands above. Your phone will reboot. And the new vold.fstab file will be programmed to mount your new partition as your primary storage. And you should be finished by now. Now to test it open the camera app once again and see if you get any error messages. If so repeat step(s) 13. Otherwise You should now see that you have 1.88gb internal storage for apps etc and about 13 gb for the user (Assuming you have a 16gb) It should look something like this:
(Continued)
YOUR ARE NOW FINISHED AND SHOULD BE ABLE TO USE YOUR PHONE ONCE AGAIN. DOWNLOAD AN APP FROM THE MARKET TO SEE IF EVERYTHING WENT WELL. ALSO MOUNT YOUR PHONE TO YOUR PC TO SEE IF THE NEW PARTITION IS BEING RECOGNIZED.
Notes:
-Those of you who are new to ADB remember to hit enter after every command. dont just copy and paste all of them and expect them to work.
-You must perform step(s) 13 everytime after flashing a new rom. Reason for this is because the new vold.fstab file in the new rom will overwrite the old one you have edited in step 13. So keep that in mind.
-I have only tried this with the latest build of ICS Passion v13. It may work for other ICS roms aswell but i cannot confirm. I have tried it with a froyo rom but was unable to successfully mount the new partition. As for GB roms well you are going to have to try that your self. All you have to do is edit the vold.fstab file (Step 13) they should be identical if not similar.
-You can also edit the vold.fstab file using "Root explorer" app on your phone if you have it.
-Remember you no longer have access to your old internal memory since it is gone and I don't know what happened to it. SO SAY GOODBYE TO YOUR OLD INTERNAL STORAGE.
-Do not remove your SD CARD while your phone is on. It contains all of your system files and will probably make your phone blow up if you do so.
-If you haven't already flashed back to stock 2.1 and still have access to CWM you can skip to step 6 and create the partition from there. But remember to BACKUP YOUR SD CARD because it will be wiped.
I haven't tried this method but i assume it will work the same. Give it a try and let me know what happens
Good Luck and feel free to ask me any questions. I will be more than happy to assist you if you need any help.
[Reserved for future use]
I just read comment about the bug and your thread pops up. Great work!
Just for clarification, does this mean you must rely on the SD indefinitely to utilize the phone?
ast32 said:
I just read comment about the bug and your thread pops up. Great work!
Just for clarification, does this mean you must rely on the SD indefinitely to utilize the phone?
Click to expand...
Click to collapse
Yes... Once you've completed this guide your EXTERNAL SD CARD will then act as the INTERNAL SD CARD that was previously there prior to the bug. So in other words your sdcard will be your primary storage for the OS and other things such as music photos apps etc.
Merio90 said:
-Do not remove your SD CARD while your phone is on. It contains all of your system files and will probably make your phone blow up if you do so.
Click to expand...
Click to collapse
This also means that if you ever want to swap out any SD card, you will have to repartition your new one to fit exactly the same "smaller" partition and also find some program that will be able to pull your data from your 2g partition, save it to your desktop and then copy it over to your new partition on your new card. Or you may have to reflash whatever ROM you are wanting/restoring from scratch. You are new essentially SDcard branded to your phone.
My old phone had 2.1 with no upgrade EVER from the manufacturer. So me and a few others began building/kanging 2.2 and with 2.2's ability of app2sd we had to figure out a way to do that for it to work. Long story short, with a few init hijacks at boot and some ADB we were able to get apps to install directly to a partition that we created on our SD cards. Went from 170mb internal to "you pick the size" partition on the external. I still have that phone and do some dev-ing on it and have brought a 2.1 all the way to CM9.
If anyone needs help with the partitioning, just ask. Also, 2gb is the standard but 2gb is a ton of space. Figure that your biggest app is going to be around 20-30mb executable. 1gb is 1024mb, you can do the math but it is also your call.
Problemo
So, this guide is great, but one of the initial problems was connecting to my SD card, when I plug in via usb my computer doesn't even recognize I plugged in. How am I to get the "update.zip" and the CFW on to it? also, when I use Clockwork, I can't seem to make my partition work... I've done it many many times, but nothing. it's almost like it doesn't even work... I just have the standard 2gb micro SD, so I make a partition of 1024mb. But it doesn't seem to work.
tabthelab said:
So, this guide is great, but one of the initial problems was connecting to my SD card, when I plug in via usb my computer doesn't even recognize I plugged in. How am I to get the "update.zip" and the CFW on to it? also, when I use Clockwork, I can't seem to make my partition work... I've done it many many times, but nothing. it's almost like it doesn't even work... I just have the standard 2gb micro SD, so I make a partition of 1024mb. But it doesn't seem to work.
Click to expand...
Click to collapse
Try using the sd card adapter that came with your phone to copy the update.zip. That's if your computer has an sd card slot. Or simply use another phone to copy it by inserting the sd into that phone and plugging in the usb cable.
Right when you finish flashing the 2.2 .tar it should mount properly to your pc. Just select usb storage from the notification bar.
Sent from my Galaxy Nexus using XDA
Merio90 said:
Try using the sd card adapter that came with your phone to copy the update.zip. That's if your computer has an sd card slot. Or simply use another phone to copy it by inserting the sd into that phone and plugging in the usb cable.
Right when you finish flashing the 2.2 .tar it should mount properly to your pc. Just select usb storage from the notification bar.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
I'm getting the same problem as him. and when i flash the 2.2 tar, it goes straight to stock recovery. it doesn't boot up android. even in cwm, my phone instantly "partitions" the sd card. and it only has a 1024mb option. no 2gb. And when you press mount usb, it does nothing at all. my computer shows two devices that haven't been mounted. Any ideas? i've been trying to fix this phone for almost a week straight and nothing works....
EDIT:I have no idea what just happened but i rebooted a few times and its starting to boot up.
Yep.
Exactly the same thing. I do have another phone that I can do all of that on, but it matters not it I can't even recognize the SD card to partition. I think it could (which doesn't really makes sense to me) be the fact we're using the standard 2gb one, I should go get a bit of a bigger one.
Either way, if it works or not, I can just give it to my fiance to use on her phone :\
I will keep tinkering though, and I'll of course post my results, if I have any.
---------- Post added at 05:04 AM ---------- Previous post was at 04:55 AM ----------
I just used my ladys phone to partition my sd card. ICS Passion makes me so angry, so instead of partitioning the SD CARD, it partitioned her internal memory, yay. phone is all clean. ffs.
Okay, so I figured out how to fix the problem with the partitioning. If you are able to install a zip file from recovery, install the ICS Passion kernel with CWM 5.x.x.x http://dl.dropbox.com/u/33572867/ICS_Passion_v13_cleanup.zip
You might have to rename it to update.zip but I think it should work for everyone. From there reboot recovery into the new kernel CWM. Now when you try to partition the sd card, it should take a long time and it should work.
tabthelab said:
Exactly the same thing. I do have another phone that I can do all of that on, but it matters not it I can't even recognize the SD card to partition. I think it could (which doesn't really makes sense to me) be the fact we're using the standard 2gb one, I should go get a bit of a bigger one.
Either way, if it works or not, I can just give it to my fiance to use on her phone :\
I will keep tinkering though, and I'll of course post my results, if I have any.
---------- Post added at 05:04 AM ---------- Previous post was at 04:55 AM ----------
I just used my ladys phone to partition my sd card. ICS Passion makes me so angry, so instead of partitioning the SD CARD, it partitioned her internal memory, yay. phone is all clean. ffs.
Click to expand...
Click to collapse
Your mistake sorry. The only reason why I suggested using another phone was to simply copy CWM while having the already partitioned sd card in your lady's phone. Now i don't why you decided to create the partition on your lady's phone a second time...this was obviously going to wipe the internal memory since it is still intact.
Try this
For those of you having trouble copying CWM to the sd card try the following commands. You can execute these commands through stock recovery or with the phone already set up and going. Just remember you must have usb debugging enabled on your phone.
check to see if the phone is mounted: adb devices
now copy CWM to your sdcard: adb push update.zip /emmc/update.zip Just make sure that CWM is named
update.zip
To be honest the easiest way to copy CWM to your sd card is to use another phone or device which has a microsd card slot. Or if your computer happens to have sdcard slot simply use an sdcard adapter and copy CWM.
maybe it's not meant to be
So, I've done nearly everything I can even think of. I got the ICS installed but I keep getting the "power reset" or "unknown upload mode" now. I swear.... haha.
did you get the sd card partitioned? if so, odin back to froyo eugenes rom, install cwm, factory reset, wipe cache, and reinstall the passion 13 rom. I had the same problem and i think thats what i did to fix it.
alright. I see. Let me try that.
---------- Post added at 07:11 AM ---------- Previous post was at 07:09 AM ----------
did you have "re-partition" checked though??
yes i did.
Nirmalspeed said:
did you get the sd card partitioned? if so, odin back to froyo eugenes rom, install cwm, factory reset, wipe cache, and reinstall the passion 13 rom. I had the same problem and i think thats what i did to fix it.
Click to expand...
Click to collapse
@Nirmalspeed...Did you successfully partition the sdcard? I'm just wondering if your were able to successfully complete the guide. How did you manage to copy CWM to your sdcard? By any chance did you try anything different?
trying something now, I might have fudged up for a very obvious reason...
Merio90 said:
@Nirmalspeed...Did you successfully partition the sdcard? I'm just wondering if your were able to successfully complete the guide. How did you manage to copy CWM to your sdcard? By any chance did you try anything different?
Click to expand...
Click to collapse
what i did was that i flashed the ICS Kiss kernel that i linked on page one of this thread. And from there i was able to partition the sd card no problem. After i partitioned it, i had to redo everything from step 1 except i skip the partitioning. If i don't redo those steps, the rom gives me an error for some reason.
I'm getting a boot load!?!?! XX XX X fingers and toes crossed.
I have been searching for answers on this and so far found nothing. Sorry if its already been covered somewhere I didn't find.
The SD card is working fine in the pone.
When I put it in a usb adapter to plug into my pc it mounts fine and I can copy files to it without any errors but when I put it back in the phone I cant see the files?
Same thing happens when I plug the phone into a pc with USB and copy the files.
The files are still there because when I plug back into the pc I can see them.
Anyone know why I have this issue please?
Many thanks
Ben
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
I have a similar issue , I have files that I have copied over to the phone sd card and wanted to use a file manager to move them around into different files however none of the file managers seem to see the files
Sent from my GT-I9300 using xda premium
d4fseeker said:
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
Click to expand...
Click to collapse
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
If you're connected to PC as MTP mode, try to switch to camera transfer mode..
Maybe this will help?
External and internal sdcard mount points
After some more investigating I have discovered that what is displayed as /sdcard/ is in fact the phones internal flash memory and the actual SD card is mounted as something else.
There you have 2 folders in /mnt
/mnt/sdcard >> taht is the internal flash storage
/mnt/sdextcard >> that is the inserted sd card
http://mono-for-android.1047100.n5.nabble.com/detect-SD-Card-path-td5710218.html
This explains why I could see the files i copied to my sd card on my phone as my phone wont enable me to see the actual external SD card.
Was surprised I couldn't find an actual thread about this on the forum.
I can see that creating a mount point for called SDCARD within the internal memory will allow apps that default large content files to use this space without complaining but this means that although Samsung allow SD cards to be inserted they cannot be used with a standard set up?
So is there any way for me to get to this other mount point without root access?
I thought, for a change, I might hold off rooting my phone but this might spur me on...
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Thank you for the explanation on this d4fseeker. Really all I wanted to do at this time was be able to access the external SD or point to it as a content location. But I will bookmark the solution for forcing apps to use it.
No I know what I know I have rooted my phone, curtesy of Chainfires guide here and can now see the extSDCard directory
houseofcutler said:
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
Click to expand...
Click to collapse
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
That does work thanks - Turns out I purchased Root Explorer a while back so I have installed that and set the home directory to be the external SD mount point. Still need ES though for when I am copying across my network
jackie_jerk said:
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
Click to expand...
Click to collapse
I have quite the same problem but another way around. I can see all the (music)files in the phone but when I connect the phone via USB to my PC I can only see a few (about 30) of the files in the folder. I have booted the PC and the phone, took the SDcard also out and in. Also when I insert the SDCard to the PC's cardreader I can see all the files, so I quess the problem is in the phone. Any ideas how to solve this?
Not sure what your issue is but my advise is to confirm you a definitely looking at what you think you are - that was my problem before.
For example when the Phone is connected to your PC:
Create a text file called phone.txt in the 'Phone' Directory
Create one called card.txt in the 'Card' directory
Then use the built in 'my files' browser or whatever app you use to see if the files are where you think they are.
Might help...
d4fseeker said:
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Click to expand...
Click to collapse
But doesn't this simply relocate 100% of APPFOLDER to the microSD card and still leave no option to have Apps in both flash locations? Or will programs like App 2 SD somehow now be able to relocate apps back to the internal flash partition (aka "internal sdcard")?
Ah, nevermind. "APPFOLDER" is a single application's appfolder, not a directory with all the apps. So this should be something an app could do on any rooted S3 with a nice gui and persistence through some service mod in init.d or whatever Android uses in its place, yes?
Ok, was just digging around in /mnt/sdcard and while a few apps have obvious directories there, most do not. What's more, being an android noob, I'm not sure where their directories would be located (app manager doesn't say either).
Anyone care to point me in the right direction? Also, is there a way to install some other standard linux shell commands like more and grep?
Thanks.
Sent from my GT-I9300 using XDA
Hi,
I recently rooted my galaxy s2, GT i 9100 that was running with ICS 4.0.3 with CF root kernel SGS2-XX_XEO_LPQ-v5.4-CWM5, and installed Resurrection and remix 2.6.1 ROM.
However, now my external secure storage data are not accessible, though there is a file "external_sd" under the "sd card" in the OI file manager. I used some other file managers like X-Plore, ES file manager ect but for no avail.
And, the external sd card is not shown under "storage" option in the phone too. Phone galary, music players etc also don't recognize any of the videos or photos saved in the external sd card. Please somebody help me solve this issue..
Regards
Anuruddha:crying:
Look for your external in /mnt/emmc/.
have a look at this thread: http://forum.xda-developers.com/showthread.php?t=1536568
But if you bind external SD from /mnt/emmc -> /sdcard/external_sd you will not be able to save photos on external by stock camera app.
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
przemcio510 said:
Look for your external in /mnt/emmc/.
Click to expand...
Click to collapse
Hi,
it is not there, I have checked every folder..
thanks
rajaspidey said:
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
Click to expand...
Click to collapse
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Yes, from GPlay.
anu7113 said:
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Click to expand...
Click to collapse
I am using ES file manager and X-Plore file managers and OI file managers. And I can see a folder "external_sd" in /mnt/sdcard (/mnt/sdcard/external_sd). However, when I open up external sd, it is empty and no data available, it is just an empty folder.
One more thing is, earlier(before root and new ROM), when I opened the "Phone Storage", the external sd card was visible with available memory space etc, but now there is nothing to be seen as such
Also, how to find terminal emulater? I have no idea about it
If you have any data on card, copy it to PC and then format it to FAT32.
Terminal = adb.
przemcio510 said:
If you have any data on card, copy it to PC and then format it to FAT32.
Terminal = adb.
Click to expand...
Click to collapse
Excuse me, this a " micro external sd", and cannot mount on any of the slots in the computer...and cannot accesses using USB also, as any of the file explorers does not read the data in the memory card..
You don't have any adapter?
I will try for an adapter..and try your way also...
thanks
It is a bug with some cf root kernels
Flash your stock kernel, then either use a fixed cf root or better root with method 1 in my signature
Sent from my GT-I9100 using Tapatalk 2
Be careful: FACTORY RESET can delete your data in the external memory card too.
Phil3759 said:
It is a bug with some cf root kernels
Flash your stock kernel, then either use a fixed cf root or better root with method 1 in my signature
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Hi,
I got a memory card reader and mounted the external memory card and browsed the folders, but to my amazement it has no data, and that is why the videos and images were not shown in the gallery.
I think this is what has happened;
On the day I rooted the phone and installed the new ROM, the phone was not getting GPRS and then I did a factory reset on the new ROM. However, before this reset, all the images and videos were available and accessible. While doing this reset the phone got dead and then I removed the battery and re booted after some time, the phone re booted with the loss of some applications, and after this incident the I didn't see the images and videos stored in the external memory card. I never thought that a factory reset would destroy my secure data in the external memory card, but unfortunately it had happened. Can anybody believe this??? However, I re flashed the new ROM again and searched for the data in my external memory card as I never thought that the factory reset had deleted the data in my external memory card too.
Now, I am clear there is nothing wrong with the phone, ROM and kernel, it is the FACTORY RE SET that deleted all my data in the external memory card, now I can see that external memory card is already there but all blank.
I thought that this is a problem of not reading the external memory card,but that is totally wrong. Since there was no data, I was mistaken that data was not accessible(because, who believes that external sd card will be deleted by a factory reset).:crying:
Need a program to open .sbu files(Samsung Back up)
Hi,
Anybody know a freeware to open samsung back up "sbu" files???
anu7113 said:
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Click to expand...
Click to collapse
ROOT EXPLORER is an paid app can be found in google play
Use ES File explorer / Solid explorer , its free & does the same work (do much more than root explorer)
rajaspidey said:
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
Click to expand...
Click to collapse
+1 :good:
it has perfectly and instantly worked for me...
I'm using a Sero 7 Pro with dolorespark's ROM http://forum.xda-developers.com/showthread.php?t=2709243 but I suspect the issues I'm having are nothing to do with the ROM, so I thought I'd ask if anyone has any ideas.
As I encrypt my devices I can't make Nandroid backups from recovery, so I use Online Nandroid Backup which lets me make CWM or TWRP backups. I've never had any problems before but now I'm unable to create the backup to my external SD. It seems to work normally but at the end of the log it shows "Error: Could not change to /mnt/sdcard2/clockworkmod/backup/2015-06-20.01.00.27. Exiting...exitcode [07]". If I make the backup to the internal SD instead it works fine but obviously that's unavailable from recovery, so it's not much use having the backup there.
So then I tried to copy it using ES File Explorer from the internal to external SD but whilst that appears to work, when I check the destination folder in ES it only shows recovery.log and if I check it from my PC it shows more files but only totalling 251MB, when the backup is actually 1.3GB.
I also found that accessing the tablet from my PC, the TWRP folder (after I made a TWRP backup) didn't appear in the folders listed, although it was fine in ES. That issue seems to be fixed after rebooting both my PC and tablet however.
Then I tried to copy the TWRP folder to my PC from Windows Explorer but that errored out and the only way I seem to be able to copy files from the internal SD to my PC is to use ES to transfer them over the Wifi with the LAN, which is obviously much slower than using USB.
So at the moment, to copy files from the internal to external SD, I have to copy them to the PC over the Wifi using ES and then copy them from the PC to external from Windows Explorer, which is rather long-winded and slow. Any ideas what could be causing these problems?
I update to DopA v2.7 which didn't fix the problems , other than that I was able to copy the clockworkmod backup from internal to external SD.
So I flashed back to stock ROM and that fixed the problem with Online Nandroid Backup, which now shows the Required Space when running the backup (before that line showed no value) and I can successfully make the backup to the external SD. However the problem with not being able to see certain files/folders in Windows Explorer persists though, so the backup I just made to sdcard1/clockworkmod/backup/date_time is not visible but the subfolders/files for the previous backups I made do appear and although I just made a backup to the internal SD, no clockworkmod folder shows at all for that in Explorer but does in ES.
So I might as well flash back to DoPA v2.7 but if anyone can help with the problems with not being able to see folders/files in Windows Explorer please let me know.