When I connect my phone via USB to the PC, and copy some files in the SD card, I get to see them after a reboot... I suppose the actual SDcard and a is a simulation , and everything is inside the data.img file... probably... So file appear when there is a reboot and the img files is updated?
Is that so??
Is this usual behaviour, or a build-specific bug?
Is there a way to copy files to the USB card and see them without the need of reboot?
What will happen , if I split the SDcard to to partititons, any way to make the non-bootable one mount automatically...
i suppose part of what you're saying is true, at least i've experienced some of the problems you describe some of the time.
sometimes i would unmount/mount the card after completing the usb disk transfer session...sometimes i would have to connect it back to my desktop in usb disk transfer mode and run a file system check.
a combination of the above mentioned ALWAYS got things going for me...never had to reboot to see the new data. but i have sometimes had to reboot to see ANY data. this is because, occasionally, i have seen that the sd card sometimes just doesn't WANT to mount. but i see a BLANK /mnt/sdcard folder and unmount/mount doesn't get it going.
the reason i've mentioned the practice of disk-checking your android usb disk transfer is because you sometimes may notice "sd card could not be mounted due to errors", or "sd card mounted read only" and i have always found disk errors when i ran the disk check following these messages, and this subsequently leads to the card mounting correctly and fully usable after the disk transfer session.
so my process is:
0. start the usb disk transfer mode
1. read what i have to from the card
2. write what i need to into the card
3. disk check!
4. stop usb disk transfer mode
5. let android complete its remount and look out for errors in android's notification area.
6. if errors found, be prepared to return to step 2. see next steps for clarity.
5. connect the cable again and see if the data i wrote is still there using my desktop's file explorer.
6. if 5 is true, done, disconnect the drive and usb cable.
7. if 5 is false, disk check and repeat from 2.
my theory is: the reason why you see them on the next reboot is because android seems to force stronger and sturdier disk checks on reboot. this often brings back files that should have stayed there in the first place when you copied them to the card. however, i've found such files "recovered" by the android repair utility are often corrupted. i find microsoft's disk check on the desktop much more reliable. it seems to just nuke bad files and/or rename and move them to the "FOLDER.000" style folders in the root of the disk being checked. so this clearly tells you that your last mass-write operation to the card failed and needs to be re-done. step 2 it is! OR reboot and rely on android's reboot initiated disk check and risk carrying corrupted forms of files you just copied and thought were safe to carry!
how can I do the disk-checking?
Method 1
on your windows desktop, with the device connected in usb disk transfer mode, open my computer:
1. right click the usb drive and choose "Properties"
2. go to the "Tools" tab
3. press the "Check now" button
4. enable "Automatically fix file system errors"
5. disabled "Scan for and attempt recovery of bad sectors"
6. press button called "Start"!
view the summary and its log when the operation completes to see what problems were corrected.
Method 2
on your windows desktop, with the device connected in usb disk transfer mode, press "Windows"+R on your desktop:
1. type "cmd" (without the quotes!) and press enter
2. a "black" window will appear
3. type "chkdsk <DriveLetter>: /f" without the quotes!
4. replace "<DriveLetter>:" with your actual usb drive's letter followed by a colon, (e.g. "f:")
5. press enter
view the summary and its log when the operation completes to see what problems were corrected.
Related
I'm the only one having problems with usb mass storage? With all builds from all chef and all kernels it happens the same. I can read from the pc what is on the SD, but if I copy a file Android dont see it , the file size is 0. And new files created in android can't be readed by windows either (I can only read the files that were written on the SD before the last android boot)
I missing something? I tryied dismounting the SD from android with same results
Are you using it in the same way USB MASS STORAGE in WM6.5 ???
I use USB storage all the time and in every andrioid build I've used(about 20) I've never had any problems. There are many people like me that also have no problems, but there are also many like you that have plenty of problems. I'm not sure that anyone really knows why.
RobertsDF said:
I use USB storage all the time and in every andrioid build I've used(about 20) I've never had any problems. There are many people like me that also have no problems, but there are also many like you that have plenty of problems. I'm not sure that anyone really knows why.
Click to expand...
Click to collapse
Thanks for answering. Do you have 2 partitions on the sd ?
Just want to check a few things:
1: you plug in via usb and select "disk drive"
2: you are not still connected via usb when trying to read the items on the sd card?
3: When you disconnect the usb, you use the usual method (right click the icon in the taskbar and select "safely remove hardware") then wait for the SD card to be prepared by android before accessing it?
Also, how are you accessing the files in Android?
Reno_79 said:
Just want to check a few things:
1: you plug in via usb and select "disk drive"
2: you are not still connected via usb when trying to read the items on the sd card?
3: When you disconnect the usb, you use the usual method (right click the icon in the taskbar and select "safely remove hardware") then wait for the SD card to be prepared by android before accessing it?
Also, how are you accessing the files in Android?
Click to expand...
Click to collapse
1 & 2: Yes. Windows assing the drive letter and can read it fine.
3: I connect Android to pc, choose USB MASS STORAGE, in windows access the new drive letter, rename a file , choose "safele remove hardware", disconnect the cable, wait for Android to "prepare the sd" , go to the file and it has the old name!!! the weird thing is that if I connect to the pc again, I see in the pc the new name!
Is like Android is working with his own FAT32 table IN MEMORY and not refreshing it.
I tried Ghost Commander/ES file manager/Root Explorer, all with the same results.
PD: I found something else... If I DISMOUNT the SD from Android Im still able to access it with ES File Manager,etc. So its not really dismounting it Why can this be happening with all builds/roms?
I have the same problem. Strange thing is it worked fine fore the first couple of days. Anybody have a solution?
Try using "Rescan Media" app after you copy your files to the SD
Still nothing. I have to boot back into winMo to transfer files to my SD card! This is really annoying,
Plenty of other tools provide media scan as well, like Optimize toolbox, Switch pro widget and more. they all worked for me.
[edit] sorry, optimize toolbox doesn't offer it, it just clears the cache :/
power control plus however has this function as well.
I'm trying to simply copy some files to my device. I hooked it up to the PC via usb, made a new folder and copied the files to it, but when I go to the device in sniffer the folder doesn't show up.
I tried prefixing the folder with a $ so it showed up first, and that folder just seemed to delete itself.
Also seems to be a glitch with "Turn on USB storage". I click it, and it changes to turn off, but then after the screen goes to sleep and I wake it up, it says "Turn on USB storage" again even though it's still connected to the PC.
How can I just copy files over to the SD card I put in there?
This is so trivial and is kind of a ***** that is doesn't just work.
you could try going to settings->applications->all->sniffer->force stop then try
if that does not work, you could try copying the files to a flash drive or microsd and moving them that way
It seems if I copy any files to the device via the usb connected to the pc, it doesn't show.
I tried Sniffer and Astro, shows nothing, reconnect to PC, files are there.
Reboot device, can see files.
No one else has this issue?
Are you using original software or any other ROM?
Try moving the files to your device while you've set your adams screen to "always on" or just poke it so it doesn't sleep. Just to minimize the equation of errors.
I know I can sometimes have problems with reading the memory on my Galaxy S if ignore the safe-removal feature in windows before pulling the USB-cable.
A "meanwhile-solution" would be to use an SD-card reader..
For all those who wanted to transfer all their applications into the SD cards by default on their Android 2.2 Froyo operating system, we will check out the same on how you can do it. Many users recently reported that they were unable to transfer the applications to the SD card despite making use of the tool called Apps2SD which is one of the popular applications to transfer all the applications to the SD Card but it has failed to deliver for some of those who have HTC Desire and many handsets it doesn’t support. Though there are many ways for increasing the memory space marginally if you want which can be done by clearing the cache memory from the “Managing Applications” option from any Android phone.
But the real memory increaser is the only one if you manage to store all the apps in your SD Card, so let’s check out the same on how you can push your all applications which are stored in the phone to the SD card of your phone effortlessly. Considering the fact that most of the Android handsets now run on a minimum of Froyo 2.2 version, many apps don’t provide functionality to directly store the same on the device’s SD card until and unless Application requests you to select the same. So, we will check out on by default how you can transfer all the apps directly to your SD Card.
Procedure to store applications in SD Card:
First and foremost, from your phone you will have to ensure that the USB Debugging is ticked which can be done by going to the Settings > Applications >Development > then tick both Allow mock locations as well as the USB Debugging options over there.
After this you will have to download and install the Android Software Developer Kit (SDK) on your computer and after that once you download it, you will have to extract the package to the folder and then from that folder just run the application which is named as “SDK Setup.exe” and then simply click on the install selected option which is just located on the right bottom of the screen and follow the on screen instructions.
Now, connect the phone with the computer with the help of USB cable after which the OS will prompt you to install the set of required drivers which are missing which you can install from the path android-sdk/usb_driver folder, please note that you should not mount your device as you will have to plug in the cable.
Next up, you will have to run the Command Prompt and then you will have to go to the path Android-SDK/tools folder. Please note that, in Windows operating system , the Command prompt can be started by either pressing Win + R from your keyboard or alternatively you can click on “Start” tab from the main home screen and then can choose “Run” option and enter in the string as “cmd” followed by enter to enter into the command prompt. After entering in the command prompt, you will have to type in as “CD android-sdk” to get into the file via command prompt.
Now, in the android-SDK/tools folder, just type in the command as “adb devices” after which you will be getting the serial number which will be starting with the “H”. After this you will have to enter the command as adb shell pm setInstallLocation 2.
That’s it there you go, you have now successfully configured your Android phone successfully to store all the applications into the SD card. But please note that all the applications installed on the memory card will also be unavailable to the system each time you mount your phone as a disk drive and also the application performance is always better when stored in the phone as it can render quickly and also can run better in the background. So, unless and until the memory of internal SD card is not full, it’s not recommended to go for this method as this may partially slightly slow down your phone.
So, all the core applications which you use more often should be stored in the internal memory and the ones which are less used should be placed in the memory card. Do let us know if you face any issues while configuring all the above commands. Just in case if at any point of time you are unable to configure or encounters with some sorts of issue then you will have to again follow the procedure from the start.
Or..other way is..use titanium backup to move apps from internal to SD..easy..
Sent from my GT-S5830 using XDA App
Thanks for the write up.. I was able to move a bunch of my apps to the SD card freeing up some much needed space.
I have built an SD bootable CM7 card as described by verygreen, but when I try to create folders on that drive from my PC (filled with APK files) I can't see them on the Nook. I have no problem doing this on my rooted emmc Nook, but when I boot to an SD card (that I am setting up for my daughter's Nook) I can't access any other folders/files.
What am I doing wrong? (The box is checked allowing Unknown Sources and I am currently running 177).
Are you connecting the nook via USB or putting the SD card in your computer directly?
Sent from my NookColor using Tapatalk
The card is placed in a usb card reader (or a usd card reader), either one sees the files on the PC, but it will not find it on the nook. Even when I create a folder on the nook and move the disk over and copy a file into the new folder I can't see it on the nook.
You need to connect through the nook
Sent from my LG Optimus V using Tapatalk
Littlewhat said:
The card is placed in a usb card reader (or a usd card reader), either one sees the files on the PC, but it will not find it on the nook. Even when I create a folder on the nook and move the disk over and copy a file into the new folder I can't see it on the nook.
Click to expand...
Click to collapse
This is because the partition the computer sees is the boot partition... to access it in the nook... either in terminal or adb shell:
1. mkdir /sdcard/boot
2. mount /dev/block/mmcblk1p1 /sdcard/boot/
the items on the boot partition of the SD (including the folders and apks you put there) will be visible as /sdcard/boot
Pretty sure you'd have found it in the VG SASD thread and a few others... since I have posted this several times.
Thanks for the response. I'm not real familiar with ADB so I tried it with terminal and was able to create a directory but mounting gave me a 'permission denied' message.
(Sorry if this is old info, I've spent the morning combing the SASD thread and haven't found it yet, just too much info, thanks for taking the time to help some of us who are slower learners!)
Edit: learning slowly, used su to get into superuser (#) and made directory, but when I try to mount it says not found.
Littlewhat said:
I have built an SD bootable CM7 card as described by verygreen, but when I try to create folders on that drive from my PC (filled with APK files) I can't see them on the Nook. I have no problem doing this on my rooted emmc Nook, but when I boot to an SD card (that I am setting up for my daughter's Nook) I can't access any other folders/files.
What am I doing wrong? (The box is checked allowing Unknown Sources and I am currently running 177).
Click to expand...
Click to collapse
If you asked this question 2 weeks ago, I might able to give you the exact answer but since I wiped out the uSD CM7, I can't remember correctly what would happen.
However, based on my experience (+/- my memory loss), what you describe is all correct and that's what it is. Odd? Maybe, but don't panic.
Let's go slowly
when I try to create folders on that drive from my PC
Click to expand...
Click to collapse
you meant you created a folder in the "boot" partition on the uSD card?
a. if so, it's not recommended. Using the left over FAT32 partition instead
b. if so, try to use Root Folder app (it's a paid app) to access root folder (boot partition) directly on the NOOK. If you see the folder you created earlier, move it to the eMMC storage.
c. if not, pls tell us more
Yes, the SD card was accessed on my PC thru a USB adapter and a folder called 'APKs' was created in the boot sector. (I have also tried just adding the files into one of the other folders, but anything I add is invisible to the Nook).
So if I need to create a folder in other than the boot sector, I would need to use something like Easeus Partition Master to make that sector active and then create the folder and add appropriate files? (When I rooted my Nook directly to emmc it sure seemed a lot easier to access folders created by my PC.)
(Thanks again for all your help.)
That's much clearer, m8
Now, I think it's easier to get straighten.
1. From PC, using SD slot or usb-sd adapter, move (remove) the "APKs" folder off your NC to your PC, save it there, then eject the uSD off PC.
2. Insert the uSD into the NC and turn it on, make sure it boots into CM7 properly.
3. Wait until it completely load. Now using usb cable to connect the NC and the PC.
4. Watch the notification status bar on the NC, tap on it then turn on usb mass storage.
5. PC should recognize the NC and ready for use.
6. Move your "APKs" folder from PC into your uSD (it would probably named as CM7SDCARD)
Update: on item 6, I prefer to move the folder to the eMMC storage. I'm not 110% sure if the NC see "it" (it means the left-over FAT32 partition on the uSD card) or not, but I do believe, 99% it will.
Deleted folder on SD card (from PC) and verified reboot ok.
Connected USB cable to PC then to Nook, no notification bar comes up, but battery icon shows charging as well as the lighted n on the cable.
Tried to use Nook Tweaks to begin USB connection (both boxes checked).
Still no recognition from the PC that anything is connected.
Edit: I am using my rooted Nook to build this SD card for my daughter's new unrooted Nook and when I plug the rooted Nook into the PC I don't get any verification from the PC on it either. No change on the Nook either, just the charging light and icon indicator.
Tried to use Nook Tweaks to begin USB connection (both boxes checked).
Click to expand...
Click to collapse
I don't have the NC with me now so I don't know what "both boxes" are and need to be checked or not.
The USB Settings from Nook Tweaks has a "USB Host Mode" (to enable host mode to connect peripherals) and an "External VBus" (to allow charging and hosting).
Both boxes were checked.
I've read that some of these issues can be caused by a faulty cable. If so, are there other alternatives to connecting thru the cable to open this up.
I have also tried the MiniTool partition program but I have not been successful in getting the active partition to 'stick' . (It immediately reverts back to the root being active after I apply the changes.)
You definitely have to UNCHECK the "USB Host Mode".
I'm not so sure with the "External VBus" status but suggest leave it by default.
With nothing checked in the Nook Tweaks section, USB cable connected to the Nook and then the PC, there is no recognition or acknowledgment that the Nook is there from the PC. (This is true whether I use my rooted version or try after booting to the sd card.)
If it is a cable problem, I will need to replace that, but aren't there other ways to make the sd card usable?
I've tried making the 4th partition action using Minitool and also Easeus but it didn't work. (Minitool just reverts back to boot partition active immediately after I apply the changes.)
Slow down, MiniTool and partitioning have nothing to do with this. Don't make more mess.
a. when plugging NC to PC, do you see any indication on the NC's status bar? like usb debugging?
b. when plugging NC to PC, do you see any indication on the PC (running Windows)? like removable drive?
There is no indication on the PC of any new connection.
The only indication on the Nook is the lighted n at the end of the cable and the recharging icon in the status bar.
Edit: the reason I was providing info on the MiniTools experience I was having is because my original question was how to access a folder (and files) created on my sd-bootable disk on my PC but the Nook can't see it. One way to accomplish this is to write the folder/apks directly to the Nook thru the USB cable. Other alternatives are to use windows to access it on my PC but I need to be able to access the 4th partition (if my reading of the various posts is correct). MiniTools and Easeus are two options that allow you to activate the 4th partition but it has not worked for my yet.
The USB cable connection problem appears to be there whether I boot to emmc or to sd.
Edit: I was able to find a non-nook cable (for my Blackberry) and using it my Nook recognizes when I connect to the PC and executes the USB Mass Storage Utility which allows me to turn USB storage on/off. Unfortunately the PC doesn't add any new logical drives in My Computer. The device manager shows 2 B&N Ereader Disk USB devices but with the yellow ! by them.
The 4th partition you mentioned about should be taken care during the installation, using verygreen's instructions, if you do correctly. There is ABSOLUTELY no need to mess around with MiniTool or the a-like.
Another question, have you turn on the USB Debugging feature? (I don't remember where, NC not with me now). If it not, check it box, try to plug in PC using usb cable again. I expect at least the usb debugging indicator will lit up.
I checked the debug feature (part of settings/applications/development/) and it was not checked. I checked it and now I get the robot icon (USB debugging conntected) and the USB icon to toggle storage on/off. Still nothing in My Computer and the drives shown in device manager are still yellow ! .
The device manager says "This device cannot start. (Code 10)"
I know it would be too early to say but I gonna to say anyway "congratulation".
When you see those icons on the NC status bar, it's 99% that it would work.
Now, back to the reality.
1. Connect usb cable between NC and PC running Windows
2. As you can see those icons, tap on the status bar to bring up then tap on "USB Mass Storage" (or something like "connect to computer for file/folder transfer, NOT the debugging). Read the warning then tap to enable USB connection
3. Now, pay attention on the PC, if it goes smoothly as expect, by now, you now can access both storages (eMMC and left-over of the uSD card) from PC. If so, move your "APKs" folder over.
I wish you luck
1- cable connected, icons on nook show up
2- tapping on status bar gives access to USB Mass Storage utility and option to turn on/off USB storage - with USB storage set to 'on' there is no recognition on the PC
Device manager shows two entries under disk drives for B&N Ebook Disk USB device but both are tagged with yellow ! (which a right click shows "This device cannot start. Code 10")
Is there something I need to do to download a usable driver for this?
(OBTW thank you for your help and patience)
Edit: within device manager I uninstalled the two drives (while the nook was still connected and USB active) and then had it search for new hardware. This time it loaded the drivers and NO yellow ! . At that point the PC recognized the drives and I have been able to create a folder that is accessible by the Nook and the PC. Thank you for help in this.
I have also contacted B&N and have a replacement cable on the way (which seemed to be a large part of my problems). Thanks Votinh for sticking with me while I got this resolved.
Hey everyone!
I'm having this issue with the SD Card on my new Moto G5 Plus. This problem has been bugging me ever since I got the device, and I don't know how to fix it on my own. Tried every method possible.
These are the steps I took:
1. Take an empty SD Card, formatted it as FAT32 on my Windows PC.
2. Insert SD Card into the Memory Slot of my Moto G5 Plus.
3. I get a notification saying "Unsupported File System. Tap to Format." so I format it as Android says so.
4. Once it is successfully formatted (that's what the screen tells me), I get another notification saying "SD Card Corrupted. Tap to fix.".
5. When I tap on that, it again asks me to Erase and Format the Card, following which, the same "SD Card Corrupted" notification pops up again.
I've tried the CHKDSK method, I've tried formatting it in various other file formats (NTFS), but it still doesn't seem to work. I have a feeling it has something to do with encryption on the phone, but this is becoming an irritating issue, as a consumer. I need my music! :crying:
Someone, please help!
is it showing up on when you connect it on the PC?
I too have the issue, all i do as a workaround is, before power off, i eject my sd card.
Fix?
I got the same issue. Any fix. Please help!
Try this:
Boot into TWRP and open the file manager under "Advanced." Navigate into the "dev" folder and delete the file labeled "__properties__" Reboot, and happy downloading.
qweedleguy said:
Try this:
Boot into TWRP and open the file manager under "Advanced." Navigate into the "dev" folder and delete the file labeled "__properties__" Reboot, and happy downloading.
Click to expand...
Click to collapse
Care to explain this a little more for some users? Where is this "dev" folder located (system, data, sdcard, etc)? What is the "__properties__" file?
Amruth Pillai said:
Hey everyone!
I'm having this issue with the SD Card on my new Moto G5 Plus. This problem has been bugging me ever since I got the device, and I don't know how to fix it on my own. Tried every method possible.
These are the steps I took:
1. Take an empty SD Card, formatted it as FAT32 on my Windows PC.
2. Insert SD Card into the Memory Slot of my Moto G5 Plus.
3. I get a notification saying "Unsupported File System. Tap to Format." so I format it as Android says so.
4. Once it is successfully formatted (that's what the screen tells me), I get another notification saying "SD Card Corrupted. Tap to fix.".
5. When I tap on that, it again asks me to Erase and Format the Card, following which, the same "SD Card Corrupted" notification pops up again.
I've tried the CHKDSK method, I've tried formatting it in various other file formats (NTFS), but it still doesn't seem to work. I have a feeling it has something to do with encryption on the phone, but this is becoming an irritating issue, as a consumer. I need my music! :crying:
Someone, please help!
Click to expand...
Click to collapse
several ways to fix first try using format on windows when format just uncheck quick format or use cmd
Connect the corrupted pen drive or SD card to your computer
Click Command Prompt (Admin). A CMD window will open.
Type diskpart and press Enter.
Type list disk and press Enter. A list of all the storage devices connected to your computer will be displayed.
Type select disk <the number of your disk> and press Enter. You can type list disk again to check whether you are going correctly. There will be a star (asterisk symbol) before the name of the selected disk.
Type clean and press Enter.
Type create partition primary and hit Enter.
Type active.
Type select partition 1.
Type format fs=fat32 and press Enter
it worked for me