Odd CM7 SMB/CIFS problem - Barnes & Noble Nook Tablet

I have CM7 installed internally on my 16 GB Nook Tablet. I also have CM7 on my HTC Incredible 2.
I use both devices to copy files to/from a Linux server via SMB/CIFS protocol unsing ES File Explorer's built-in functionality. When I connect from my HTC Incredible 2, browsing and copying is very snappy. In fact, file transfer rate is slightly slower than my laptop on WiFi, but directory browsing is noticeably faster on the Incredible 2.
The Nook Table is another story. It is unbelievably slow. It might take 2-3 minutes to connect to the server and show the directory contents. Each time I browse into another directory, the same long wait happens. Also, copying files to or from the Nook Tablet takes 5 - 10 times longer than from any of my other systems. Sometimes, the transfer will hang at 100% and never complete, other times is seems to hang at 100% but will complete if I allow it to sit for 5 or 10 minutes.
I can perform other activities over the network without issues, such as SSH using ConnectBot, web browsing using Dolphin or the built-in browser and email via the Gmail app.
I have tried removing and re-installing ES, and even factory resetting the Nook and re-installing CM7. Neither had any affect on performance. Any ideas?

try using CIFS manager instead of ES File Explorer maybe is better, ES is known to beat CIFS manager for stream music and videos but maybe copy to/from your linux server is faster with CIFS Manger.
~ Veronica

if you 'turn on logging' and capture some data about what it is doing ( instead of working right ) . . . maybe the log will give us a clue . . . maybe . . .
.
possibly the cm7 dev crew still have bugs to shake out ?

Thanks for the suggestions
I tried CIFS manager. It was a bit better, but not much. I was having having some other odd WiFi issues and really poor battery life, so I ended up reflashing CM7. The problems seems to have largely gone away after that. It still isn't as fast as my Incredible 2, but well within the acceptable range.

Related

Cifs mounts+root explorer= PERMANENTLY maxed out CPU!????

Running CM7 N84 with the 5/23 OC kernel and untimely uboot...
I recently have been trying to find a way to watch video over my network without having to download it to my nook l. (VLC stream and convert is unstable for me and involves a big loss of quality)
There are two apps in the market that solve this problem perfectly, except for one major issue: they crash root explorer so badly that only flashing a nandroid backup can fix it.
Cifsmanager and mount manager both mount network shares to /mnt. From here I could open my network video files just as easily and reliably as if they were on the nook itself. . . For a while.
But using either program seems to cause a major problem with root explorer and another file manager I sometimes use. It doesn't happen straight away, but after a little while, (I think it may be when the mount point is unmounted) I try to open root explorer and it hangs, and then force closes, leaving the system highly unstable, breaking market and constantly maxing out the cpu, and nothing seems to fix it.
I tried rebooting...still a constant 1200 in cpu spy, even while doing nothing on conservative governor, plus a broken market, and everything is laggy and unresponsive. So I tried re-flashing CM7 and the OC kernel, wiping cache and dalvik cache. STILL the same problem!!!
Only restoring a nandroid backup fixes it. I've just done that three times today, trying to find some way to get it to work...at first I thought the problem showed up only when the share was mounted, so I tried unmounting before opening a file manager and just browsing to the videos in vital player. Nope. I STILL got the NEVER-ENDING CRASH. Then I thought it might just be a problem with cifsmanager, so I tried the same thing with mount manager instead... same problem.
Does anybody have any idea either why root explorer crashes after a cifs share has been mounted and even (or perhaps especially) after it has been unmounted again, or how a crash can cause such long lasting damage?
I am tempted to try one more thing... changing the mount point to some other location, intead of /mnt. But after doing three nandroid restores in one day, I am hesitant!
Sent from my NookColor using Tapatalk
I've been using CIFS Manager for some time on my phone, and now on my Nook, and have never experienced the problems you're describing. I've noticed if I leave shares mounted on my phone, it will kill the battery quicker, but I believe that it's because it's keeping the WiFi connection open and preventing it from disconnecting when the phone goes to sleep. But I've never noticed high CPU usage, on the phone or the Nook.
ChrisDDD said:
I've been using CIFS Manager for some time on my phone, and now on my Nook, and have never experienced the problems you're describing. I've noticed if I leave shares mounted on my phone, it will kill the battery quicker, but I believe that it's because it's keeping the WiFi connection open and preventing it from disconnecting when the phone goes to sleep. But I've never noticed high CPU usage, on the phone or the Nook.
Click to expand...
Click to collapse
Huh.
Are you running CM7, with OC? Where do you have your shares mounted - /mount/cifs or somewhere else? And do you use root explorer? It is root explorer which crashes after I unmount cifs shares, and it is only when root explorer crashes that I have this issue.
xxiworld said:
Huh.
Are you running CM7, with OC? Where do you have your shares mounted - /mount/cifs or somewhere else? And do you use root explorer? It is root explorer which crashes after I unmount cifs shares, and it is only when root explorer crashes that I have this issue.
Click to expand...
Click to collapse
I'm on CM7 nightly 87 (was using nightly 76 before that), but not an overclocked kernel (I used the setting in CM7 to overclock to the 925 mhz, but I'm not using that other kernel).
And yea, all shares are mounted to /mnt/cifs I mount a share, use Root Explorer to access/copy the files on the share, and then unmount it with CIFS manager. Root explorer works fine afterwards - the /mnt/cifs directory is gone as soon as I unmount.
The only issues I've had with Root Explorer is sometimes when I try to start it, it'll hang with a black screen before I get the initial directory listing, I've never had it crash later on.
Curious what could be causing your issues. I just tried unmounting a share while Root Explorer was still open, thinking that might cause it to crash, but nope, kept working fine. The mnt/cifs/NAS directory was still there after being unmounted, but Root Explorer just found it to be empty.
Not to discount all the effort people put into kernels, but from my experience with my phone, I tend to stay as close to stock as possible (CM7 stock, in this case). I've just found most 3rd party kernels and tweaked roms to always be a bit flaky - there's always something that's not working or causing some sort of problem. Maybe you could try the stock CM7 kernel.
Oh, and for the cifs manager settings, I just have "load cifs module" checked, I'm not using any separate .ko files (like I have to on my phone).
Have you tried File Expert? Its a file explorer with network options. I stream movies from my computer that way. And it has network discovery as well.
Oh and its freeee!!!!
Sent from my NookColor using Tapatalk
ChrisDDD said:
I'm on CM7 nightly 87 (was using nightly 76 before that), but not an overclocked kernel (I used the setting in CM7 to overclock to the 925 mhz, but I'm not using that other kernel).
And yea, all shares are mounted to /mnt/cifs I mount a share, use Root Explorer to access/copy the files on the share, and then unmount it with CIFS manager. Root explorer works fine afterwards - the /mnt/cifs directory is gone as soon as I unmount.
The only issues I've had with Root Explorer is sometimes when I try to start it, it'll hang with a black screen before I get the initial directory listing, I've never had it crash later on.
Curious what could be causing your issues. I just tried unmounting a share while Root Explorer was still open, thinking that might cause it to crash, but nope, kept working fine. The mnt/cifs/NAS directory was still there after being unmounted, but Root Explorer just found it to be empty.
Oh, and for the cifs manager settings, I just have "load cifs module" checked, I'm not using any separate .ko files (like I have to on my phone).
Click to expand...
Click to collapse
So I tried it again, with somewhat better results. Root Explorer would still crash on me - it hangs on a black screen before getting the directory listing, just like you describe, but if I don't exit out in time, it Force Closes. However, the crash did NOT cause the CPU to go crazy this time, or break market. I'm not sure why this part of the problem didn't recur, but I mentioned in my OP, cifs manager had also been crashing another File Manager program, by Joydao. I've since uninstaller that program. Maybe that was the culprit for the CPU issue?
Once I got a hang at the black screen, Root Explorer was essentially broken though, as every time I tried to load it, it gave me the black screen, even after rebooting.
However, I noticed that when it gave me the black screen it wasn't giving me the "root explorer has been granted superuser access" that pops up whenever root explorer starts normally, and since cifs manager needs superuser access as well, I thought this might be the culprit. So I opened up superuser, went into the settings. I clicked "check for update", and it crashed. I re-opened superuser and clicked "check for update" again, and it told me it was up to date. After this, root explorer started working normally again.
For now, I'm going to keep cifs manager installed, and hope for the best
racks11479 said:
Have you tried File Expert? Its a file explorer with network options. I stream movies from my computer that way. And it has network discovery as well.
Click to expand...
Click to collapse
Just checked it out and it looks really nice. It only wants to open unknown file types (videos, etc.) in an installed browser instead of letting me choose an installed video player, for example. Couldn't find anything in the settings to add more programs to an "open with" list.
Other than that, it seems pretty good. Love the network discovery. CIFS Manager seems to provide a little more seamless access, mounting shares right to the phone so any app can access files (if you mount it to a directory on the SD card, which works even though I believe it's discouraged). But I'll be keeping File Expert installed too, the interface is really nice and easy to use.
xxiworld said:
So I tried it again, with somewhat better results. Root Explorer would still crash on me - it hangs on a black screen before getting the directory listing, just like you describe, but if I don't exit out in time, it Force Closes. However, the crash did NOT cause the CPU to go crazy this time, or break market.
Click to expand...
Click to collapse
Glad to hear it's not causing quite so much trouble now. Yea, sometimes something completely unexpected is causing the problem. I've found the combination of cifs manager and Root Explorer to work really well, so I wouldn't be surprised if the problem was as a result of some other conflicting app.

Internal Storage is pissing me off

Transferring files using USB is too slow. Even on a 3mb mp3 it asks if I want to copy it because it might not be usable. I press ok and it takes another 20 seconds to copy. So I copied 3gb (took about 15 minutes) of music over to the internal hd and then I get a strange error. I close the window and reopen the drive and see that all the music I just transferred is completely gone. WTF IS GOING ON?!?!
I'm getting so many errors accessing the internal drive, creating folders, and copying files. It's almost as if the internal 32gb is useless... I can't use it unless I want to wait 27 minutes to transfer a 1.5gb movie...
Someone reported the same with accessing microSD from USB connection.
Do you get any pop ups on the computer saying that "This device can perform faster if plugged into a USB 2.0 port"?
Also, can I suggest doing a local file transfer over the WiFi?
it's all due to MTP. it is the transfer protocol of the devil.
why google decided this is what their devices should use from 3.x onwards is beyond me.
google's company motto should really be "one step forward, fifteen steps back."
adiliyo said:
why google decided this is what their devices should use from 3.x onwards is beyond me.
Click to expand...
Click to collapse
It's so they can unify app storage with data, apparently:
With the unified storage model we introduced in Honeycomb, we share your full 32GB (or 16GB or whatever) between app data and media data. That is, no more staring sadly at your 5GB free on Nexus S when your internal app data partition has filled up -- it's all one big happy volume.
However the cost is that Android can no longer ever yield up the storage for the host PC to molest directly over USB. Instead we use MTP. On Windows (which the majority of users use), it has built-in MTP support in Explorer that makes it look exactly like a disk. On Linux and Mac it's sadly not as easy, but I have confidence that we'll see some work to make this better.
Click to expand...
Click to collapse
http://www.reddit.com/r/Android/comments/mg14z/whoa_whoa_ics_doesnt_support_usb_mass_storage/
Although I suppose there's no reason they couldn't offer a special Mass Storage mode that locks out running programs. The link also suggests that the external microSDHC card should support mass storage? I don't have a HC/ICS device to know yet, though.
This whole storage "issu" is so not a big deal at all.
It's that way on every honeycomb tablet and it works okay overall.
Sure maybe it's gonna take a while the first time to transfere all your content to your empty device but once all your **** is inside, you don't use it that much and never for such a big amount of data.
The thing with Android is that you can actually directly download the stuff you want on your tablet, no need to plug it into your computer 95% of the time.
^^
which begs the next question,
How easy is it to set up file transfer over the network between Prime and a Windows PC?
Setting up a network with a windows PC is hard, whatever the other device is.
But aside that I'm pretty sure it's fairly easy. And I think Asus software (myNet) can help you do this (never tried)
the_game_master said:
^^
which begs the next question,
How easy is it to set up file transfer over the network between Prime and a Windows PC?
Click to expand...
Click to collapse
I used file expert.
Sent from my Transformer Prime TF201 using xda premium
On my desktop PC I have a directory browser setup on my PC that I use any device that accepts IPs as input.
It's a Window's feature that has to be installed separately.
Internet Information Services
I use ES file explorer on N1. I connected it to my Windows PC over wi-fi once and it remembers it. I usually copy files back and forth using my phone only. It is pretty handy.
On prime, I have just installed it but not used it to transfer files, so cant comment on the speed.
DropBox if you're using Windows, SparkleShare if you're not.
subramanianv said:
I use ES file explorer on N1. I connected it to my Windows PC over wi-fi once and it remembers it. I usually copy files back and forth using my phone only. It is pretty handy.
On prime, I have just installed it but not used it to transfer files, so cant comment on the speed.
Click to expand...
Click to collapse
+1. After my Prime charging cable fell apart when i tried to unplug it, I had to resort to network transfers and ES file explorer did the job rather painlessly. The only little hurdle I had to jump over, and this might have been user-error on my part, but it asked for a username and password to the machine I was trying to connect to. So I had to add a password to my user account which previously did not have one to get it to connect.
Same here. ES file explorer is great stuff. Just put in the needed IP address for your PC + username/password for the user account, and it gets you in and loads directories pain-free.
I don't intend on connecting my Prime to my PC until a one-click root is in the works =)
BUYMECAR said:
I don't intend on connecting my Prime to my PC until a one-click root is in the works =)
Click to expand...
Click to collapse
?... Why is that?
RussianMenace said:
?... Why is that?
Click to expand...
Click to collapse
Because transfer over WiFi + ES has been significantly faster with every Android device I've ever connected to my laptop.
Besides, I kinda get bored of tired-ole drag n' drop.
kokusho said:
Setting up a network with a windows PC is hard, whatever the other device is.
But aside that I'm pretty sure it's fairly easy. And I think Asus software (myNet) can help you do this (never tried)
Click to expand...
Click to collapse
swift ftp server on the prime and filezilla client on the pc is fast and straightforward
slow as hell
Loading music is a pain but I can deal with it. I dont have internet I tether everything with my 4LTE verizon at 18MB a sec which Iam loving so much I turned off my home internet just use laptops and this now.
blackinjun said:
swift ftp server on the prime and filezilla client on the pc is fast and straightforward
Click to expand...
Click to collapse
NICE! Using SwiFTP now and it transfers a lot faster than before. Thanks
Easiest way I found was, pop the MicroSD in my PC load it up. Pop it in the prime, use a file explorer and move it over fast and easy.

Folder File structure for dual boot

Looking for input on the best way to set up file folders to be utilized on both WebOS and Android partitions. I tend to go into probably Way too much detail, skip to the bottom for the tl:dr.
I first noticed that the TouchPad doesn't handle folders very well when I tried organizing many files for school. I had each class in a different folder hierarchy based on course. But when I go to access them, they show up as a huge long list of .pdfs instead of my nice organized fashion. Similar thing happened with my music. I shrugged my shoulders cause my file naming convention was good enough that I had no issues.
Then I installed CM7 Alpha 3.0 (recently flashed 3.5, same situation). Got the Android partition all setup the way I wanted, and further organized my folder structure to match. Rocked Android for a few weeks, and got nostalgic, so I booted back to WebOS. I immediately noticed that my TouchPad claimed I had no music, while not a lot, there's around 5gigs floating on it. Told myself I would look into it, spaced it off. That was until I noticed I couldn't access any recently downloaded and organized .pdfs that were done on the Android boot. What gives?
I've always found it frustrating that the native file selection system in WebOS doesn't give you file path options, but it is what it is. I know there is a file system browser on Preware, honestly I think it's cumbersome, but may have to rely on that I suppose. I have major OCD as far as how folders are organized, and really don't want to just dump everything on the root. But again, if I have to, I shall.
TL: DR Ultimately I'm trying to get info on how the WebOS partition sees files, and how the folder heirarchy works. I have files in some folders that are recognized, and some that are not. Is it naming convention, or just location? My file issues are primarily .pdfs and music files, but concerned with any productivity file extensions for the sake of school (primary use of device.)
16Gb TouchPad WebOS 3.0.4, F4 Phantom kernel, great number of patches, Dual boot CM7 3.50
Did you (or anyone else) ever find any information on this issue? I find it frustrating having to go through Internalz Pro and go through each folder to do anything. My music will not show up through the stock player (which would be great on webOS because the android sound goes bad when the screen is off).
I have not. Haven't played with my TouchPad much recently, mainly cause every ROM I flash wifi breaks.. lol.
If I ever do get a solid solution, I will try to post up.
im betting this a indexer issue if want try to force it to index, look for "Media Indexer Refresh" in preware, that should find any stray media supported by webos
Yeah, it's definitely an indexer issue. A lot of people used to say to connect it via USB and then do a hard unmount (where it says "ouch...") and let the indexer run but that doesn't work.
Thank you for that suggestion though, it is exactly what I needed. I always thought there should be some command or some patch that would force it to re-index but never found it. I ran it one time and my pics and music show up. Awesome!!

ES File Explorer fails wifi copy.

I noticed an issue with my favorite file explorer the other day, when trying to copy a large file over wifi, it would fail every time when letting the tablet sleep. I am using an alternate file explorer for those large file copies but really wish I could move back to ES FE. Anyone have this experience? It fails literally every time I do a file over a few hundred Meg. I don't have the issue on any of my other android devices, but none have ICS. Maybe an issue with ICS and that program? Or just my Prime? It is not losing the signal, just stops the transfer--- still shows that it is going but never completes and file size never changes.
I have the same problem. Beside that I'm somehow unable to cancled a transfer, I had several failed downloads of huge files. Also switched to a different file-browsers which works without problems.
Mine failed too...
Can anyone confirm other devices that have ICS having the issue? It would be helpful to know if it had something to do with ICS or just the prime. I actually installed it based on recommendations from this forum and found issues with it on my first large file transfer... I can agree on how powerful and simple it is but switched over to File Explorer HD because it works. Not that I recommend FEHD, full of ads and still not "HD" enough for the prime
Is there a manual somewhere how to transfer files with wifi using es explorer?
Sent from my Transformer Prime TF201 using XDA
slowatsch said:
I have the same problem. Beside that I'm somehow unable to cancled a transfer, I had several failed downloads of huge files. Also switched to a different file-browsers which works without problems.
Click to expand...
Click to collapse
It's not a prime (or ICS) specific problem. It happens frequently across all my devices with ES File Explorer. And as far as I can tell, there's no way to cancel a copy once it's started.
wohli - there may be a manual somewhere but it really is pretty easy. Just tap the "local" selection on the top left corner of the app, then choose LAN. You can either scan for servers with SMB shares or you can attach one by using the "add" dialog, that will ask for user/pw, IP or name, domain (optional). Then hold on a file from one of the shares for the copy option. Then use the same menu at the top left to get back to local, then tap the paste button at the top.
vels13 - Thanks for the info!! Question: Why do you think there are so many people that recommend ESFE if it doesn't even do a decent wifi copy? I have seen it plastered on every "first apps to install" post and "recommended apps" post!!
jordanmw said:
wohli - there may be a manual somewhere but it really is pretty easy. Just tap the "local" selection on the top left corner of the app, then choose LAN. You can either scan for servers with SMB shares or you can attach one by using the "add" dialog, that will ask for user/pw, IP or name, domain (optional). Then hold on a file from one of the shares for the copy option. Then use the same menu at the top left to get back to local, then tap the paste button at the top.
vels13 - Thanks for the info!! Question: Why do you think there are so many people that recommend ESFE if it doesn't even do a decent wifi copy? I have seen it plastered on every "first apps to install" post and "recommended apps" post!!
Click to expand...
Click to collapse
I actually like the app and use it for wifi copying, but it does halt frequently when copying files over wifi and that's kind of frustrating. Usually happens on really large files or when you queue up a bunch. I don't think I've ever been able to queue up say 10 video files and get them all to finish. The annoying thing is when it finally does stop copying, you can't cancel and restart, you have to force close the app or reboot phone. I've experienced this on transformer prime, galaxy 10.1, and my HTC glacier. Works great for smaller files though.
This is probably obvious, but I believe the Prime is set to turn off wifi when sleeping by default. This might be an ICS default.
You can change it under Wifi->Advanced.
Yeah, same here. Both my phone and Prime have that problem w/ ES.
I don't know if there's a better WiFi file manager on the market but I really like ES.
Even if wifi is set to sleep when the prime does... the prime will not fully sleep with a data stream going of any kind. Other File explorers do not fail when it sleeps.
vels-- Why would you use something that constantly errors, and has the issues that you described? Like I said, I am using File Explorer HD.. at least it works!
Does ANYONE know of a good file explorer that will pull files down from wifi reliably? It would also be nice if it had most of the features from ES and even better yet if it displayed at native resolution for our primes!!!
Anyone?
jordanmw said:
vels-- Why would you use something that constantly errors, and has the issues that you described? Like I said, I am using File Explorer HD.. at least it works!
Click to expand...
Click to collapse
It works well enough for what I need it for 95% of the time. If I need to transfer a big file or a lot of files, it's quicker to do it over USB anyways.
guys,
you may use airdrod for wi-fi file transfer if that's what you wanted
Try Ghost commander. Not a good interface, but work well for wifi transfer, and you can see a speed - current/average.
it's the same man
jordanmw said:
Can anyone confirm other devices that have ICS having the issue? It would be helpful to know if it had something to do with ICS or just the prime. I actually installed it based on recommendations from this forum and found issues with it on my first large file transfer... I can agree on how powerful and simple it is but switched over to File Explorer HD because it works. Not that I recommend FEHD, full of ads and still not "HD" enough for the prime
Click to expand...
Click to collapse
Nothing new, the problem still exists, you can't move large files, I'm keeping try to move a 2GB file with no luck.

[Q] File Transfers Will Not Complete. How To Fix?

Weird problem,
When I transfer a large file to my Nexus 9 it'll get to say 20 or 30 seconds left or so, then it'll stop for maybe five minutes and then say 'Device or resource busy' and will never complete. I have over 2 GB more space on my tablet then the files and tried two different files.
Can anyone help?
Peace.
what method are you trying to transfer file, from windows pc with MTP?
if thats the case, do it via other methods (such as FTP).. MTP is problematic and prone to failures with large sized files or large number of files in one batch transfer..
I'm with Elton here.. I actually use es file explorer's built in ftp server function to transfer apps all of the time. MTP is always slower and less reliable for me.. I've moved many large files this way..
Sent from my Nexus 5 using Tapatalk
Migamix said:
I'm with Elton here.. I actually use es file explorer's built in ftp server function to transfer apps all of the time. MTP is always slower and less reliable for me.. I've moved many large files this way..
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thank you. ES File Explorer using the FTP server worked. It was driving me crazy . It's messed up you need to FTP it and it doesn't work straight from Windows.
Thanks to you both!!

Categories

Resources