Guest lukesan Posted October 26, 2011 Report Posted October 26, 2011 Hi people, I just got a new Blade while my previous one was given to my father. Now I have a really strange issue that I cannot seem to find what is wrong but it is extreemly annoying. When I take a photo/video I can see it in the directory of the sd-card via the file explorer on the phone itself. It is there, no question about it, but when I connect the USB cable to my laptop, and I tried my wifes laptop too, the new taken pictures are not in that directory. If I use wifi explorer I can also perfectly see those files, just not via usb. The only way to get the laptop to show those pictures is to reboot the phone. Rebooting the laptop, refreshing that dir etc does not work only the phone Now I have already taken another sd-card and it is exactly the same issue. Installed GFS27 and Blade mix 24 ... the same. Anybody got a clue?
Guest t0mm13b Posted October 26, 2011 Report Posted October 26, 2011 Try this: Settings > Storage Settings > Unmount SD Card. Tap 'Ok' on "Unmount SD Card' dialog box. Wait for a few seconds until it says unmounted and the status bar says "Safe to remove SD Card" or similar. Then tap on Mount SD Card. Wait for a few seconds until it gets mounted. This triggers the media scanning on the SDCard and should refresh the contents. :)
Guest lukesan Posted October 26, 2011 Report Posted October 26, 2011 Try this: Settings > Storage Settings > Unmount SD Card. Tap 'Ok' on "Unmount SD Card' dialog box. Wait for a few seconds until it says unmounted and the status bar says "Safe to remove SD Card" or similar. Then tap on Mount SD Card. Wait for a few seconds until it gets mounted. This triggers the media scanning on the SDCard and should refresh the contents. :) Nope doesn't work. Just to make clear that the files do show up on the phone, just not via USB on the laptop. I actually checked via droidexplorer (adb) and this way I can see all the files but to be honest this is not the way to do it.
Guest t0mm13b Posted October 26, 2011 Report Posted October 26, 2011 Nope doesn't work. Just to make clear that the files do show up on the phone, just not via USB on the laptop. I actually checked via droidexplorer (adb) and this way I can see all the files but to be honest this is not the way to do it. Hang on! Droidexplorer via adb (with the USB cable plugged in) can see all the files right? Clarify? What is it you're exactly trying to do with the USB cable plugged into the handset - in fact the above quoted sounds contradictory?! :huh:
Guest lukesan Posted October 26, 2011 Report Posted October 26, 2011 Hang on! Droidexplorer via adb (with the USB cable plugged in) can see all the files right? Clarify? What is it you're exactly trying to do with the USB cable plugged into the handset - in fact the above quoted sounds contradictory?! :huh: Well for simplicity lets say I install a new rom and have an absolute empty sd-card. I boot it up the first time and I take a photo which I will call '1'. Now I connect my usb connector and select 'Turn on USB' storage. Now I get to see my dirs and files on the sd-card. Going into the dcim folder I see photo 1. so far so good. Now I unmount and disconnect the USB and wait untill it shows mounted again. I open up the camera app and take photo number 2. I check with a file explorer on the phone itself and see both 1 and 2. Then I connect my usb cable again and 'Turn on USB storage' again and I check the dcim folder on my laptop and I only see 1 and NOT 2. When I unmount again and check via the phone or via adb then I see 1 and 2 The only way to get 1 and 2 to show is via USB is to reboot the phone. And this is everytime I add a photo,... and probably other files, on the phone.
Guest t0mm13b Posted October 26, 2011 Report Posted October 26, 2011 (edited) Well for simplicity lets say I install a new rom and have an absolute empty sd-card. I boot it up the first time and I take a photo which I will call '1'. Now I connect my usb connector and select 'Turn on USB' storage. Now I get to see my dirs and files on the sd-card. Going into the dcim folder I see photo 1. so far so good. Now I unmount and disconnect the USB and wait untill it shows mounted again. I open up the camera app and take photo number 2. I check with a file explorer on the phone itself and see both 1 and 2. Then I connect my usb cable again and 'Turn on USB storage' again and I check the dcim folder on my laptop and I only see 1 and NOT 2. When I unmount again and check via the phone or via adb then I see 1 and 2 The only way to get 1 and 2 to show is via USB is to reboot the phone. And this is everytime I add a photo,... and probably other files, on the phone. Hmmm... sounds like you uncovered an issue that sounds like a bug to me... to be honest - that's a new one to me :) To confirm this, can you do this, plug in USB cable into handset and fire up the 'Command Prompt' (Start > Run > Cmd) [You are running windows?]: adb shell cd sdcard/DCIM ls -l You should see the files, 1, 2, (they'll be under the last column on the far right of the display. You should be able to see the files in there. This is what DroidExplorer does effectively behind the scenes Hit Ctrl+D to exit the 'adb shell' and close the 'Command Prompt' window. I think you should cross post it into the 'ZTE Blade / Libra ROMs & ROM customisation' sub forum and see what kind of a response you get. Edited October 26, 2011 by t0mm13b
Guest t0mm13b Posted October 26, 2011 Report Posted October 26, 2011 Also, Just something else that I remembered... The media scanner (which runs on the SD-Card) runs only ONCE which explains why it can see it after a reboot, but not during the duration of the uptime of the ROM. I do not think you have anything to worry about really.... there's no panic there :)
Guest lukesan Posted October 27, 2011 Report Posted October 27, 2011 Also, Just something else that I remembered... The media scanner (which runs on the SD-Card) runs only ONCE which explains why it can see it after a reboot, but not during the duration of the uptime of the ROM. I do not think you have anything to worry about really.... there's no panic there :) I need to check that adb thing tonight, I am at work now. But honestly I don't know if that mediascanner has to do with the situation. Does it update the files that can be seen when you connect your usb as mass storage? It can be other files too, which are not media, that I may download that are affected by this bug that I see. I am not in a panic but it is absolutely no fun in having to reboot your phone everytime you take a new picture and want to transfer it on the computer.
Guest lukesan Posted October 27, 2011 Report Posted October 27, 2011 I need to check that adb thing tonight, I am at work now. But honestly I don't know if that mediascanner has to do with the situation. Does it update the files that can be seen when you connect your usb as mass storage? It can be other files too, which are not media, that I may download that are affected by this bug that I see. I am not in a panic but it is absolutely no fun in having to reboot your phone everytime you take a new picture and want to transfer it on the computer. Ok did another test. This is a copy paste of the output of the command line on my laptop while the phone is connected as mass storage. -------------F:\DCIM\Camera>dir Volume in drive F has no label. Volume Serial Number is 1C1A-6E98 Directory of F:\DCIM\Camera 25/10/2011 20:25 <DIR> . 25/10/2011 20:25 <DIR> .. 0 File(s) 0 bytes 2 Dir(s) 6,994,092,032 bytes free -------------- And now the output via ADB --------------- c:\Program Files\Droid Explorer\SDK\tools>adb shell sh-3.2# cd sdcard/dcim cd sdcard/dcim sh-3.2# cd camera cd camera sh-3.2# ls -l ls -l ----rwxr-x system sdcard_rw 1034652 2011-10-27 09:18 IMG_20111027_091837.jpg sh-3.2# ------------------
Guest lukesan Posted October 27, 2011 Report Posted October 27, 2011 (edited) Ok, getting somewhere. Now I installed CSE_P729VV1.0.0B01-signed.zip which is an official image. Seems that my blade is now sim locked but all for finding this issue. This works perfectly. Done the test a couple of times and the files show up via USB. I wonder if it has something to do with A2SD or so. Edit : I think I have found an issue. Just resized the sd-card so it doesn't have any ext2-3-4 partition so it is not doing the apps2sd anymore. Now I installed blade mix and ... it works! Well works untill app2sd is active again. Is there some expert that might help? Edited October 27, 2011 by lukesan
Guest lukesan Posted December 2, 2011 Report Posted December 2, 2011 Ok, getting somewhere. Now I installed CSE_P729VV1.0.0B01-signed.zip which is an official image. Seems that my blade is now sim locked but all for finding this issue. This works perfectly. Done the test a couple of times and the files show up via USB. I wonder if it has something to do with A2SD or so. Edit : I think I have found an issue. Just resized the sd-card so it doesn't have any ext2-3-4 partition so it is not doing the apps2sd anymore. Now I installed blade mix and ... it works! Well works untill app2sd is active again. Is there some expert that might help? Ok update on this one. I also have a HD2 which shows exactly the same issue. I wonder why nobody makes a deal out of this thing since it corrupts sd-cards like crazy. The issue, and solution, seems to be known for a long time but I think the rom makers forgot to include it in their builds. Don't ask me why since it is easy and safer. It has to do with the fact that if you do a usb mount you actually mount the fat32 and the second ext partition which can lead to corrupt cards and all sorts of issues. The fix is easy and involves in changing fstab. There is a complete thread on XDA about this with the solution. I hope I am alowed to post links or otherwise a mod has to take it off but I think this might help other people with simular issues. http://forum.xda-developers.com/showthread.php?t=748793
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now