Hey all,
I'd love to have CIFS capability on my HTC One M7. I'm currently running Android Revolution HD Google Play Edition, 6.6 or something like that I think, don't remember exactly. Kernel version is 3.4.10 (I think that's what's really relevant here anyway)
Does anyone know where I can get a CIFS module to compile into the kernel or into a .ko to load in? Or do .ko's require any special compiling or prep to work? I assume I don't have it, since in CifsManager and the like I get a no such device error yet ES File Explorer works fine for getting to the target SMB IP. One time I had to make a change to my Debian laptop's kernel and re-compile, so maybe I can figure it out if I have a cifs module to compile. But I'm still a noob at this, so any help is much appreciated. Thanks!
Hi all, if your goal is simply to play music and video from your NAS to your android device, you can use Kodi (xbmc) that can access cifs path directly!
Related
Can some one compile or point me to a cifs.ko that is compatible with the incredible. The ones I can find do not seem to be. Thanks in advance.
Interesting
http://linux.die.net/man/8/mount.cifs Not that I can help but if anyone wanted a quick reference.
Alot of the roms for other phones have it but its not compatible with out kernel. Is there a guide how to compile kernels? I made a couple in linux that worked. long ago..
here ya go...what app are you using to browse CIFS shares? I haven't tested this module, but just compiled it now.
Forgive me as I haven't actually tried this, but here is the 10,000 foot view:
At a minimum, you will need a linux system, with a gcc-arm cross compiler set up. I believe the android-sdk provides one. The version used by current kernels is gcc-4.4.4.
Then you will need the sources of the kernel you are running. The hydra kernel git tree is here: http://github.com/ejhart/Hydra-kernels.git , and the stock kernel sources are here: http://member.america.htc.com/download/RomCode/Source_and_Binaries/incrediblec_cc1c2268.tar.bz2
The hydra git tree doesn't seem to have a a working .config included, but this isn't so important if you are only building and installing kernel modules. From there, you'll need to configure the kernel in cross compiler mode, add the modules you want, and you will need to make sure the version magic string is identical to the kernel you are using. From there run make, and once the compile is finished, find the .ko 's you want, and push them to the /system/modules folder where you can insmod them.
Edit: You can use the .config from /proc/config.gz, didn't see it in there before.
mattwood2000 said:
here ya go...what app are you using to browse CIFS shares? I haven't tested this module, but just compiled it now.
Click to expand...
Click to collapse
I got one from another user but thanks do you still want me to try it? I mounted my share in a directory on the SDCARD so i can browse it with any file manager. I think any app that scans the sd card will also scan my server with about 8TB so that is a minor issue.
kernel compile guide
A guide for compiling kernels can be found here :
http://code.google.com/p/android-serialport-api/wiki/Htc
I not a techie and a newbie at any android development.
Since the guide is more or less a a set of instructions with no theory.
Got it to run, but not sure what I was doing.
Any assistance in provide either cifs.ko for the HTC Aria w/ kernel version :
liberty-2.6.29-21f066a6 or instructions on how to compile the module would be greatly
appreciated.
BTW - there an app on the store for automating the CIFS mount (CIFSManager
Regards,
-d
veli69 said:
I got one from another user but thanks do you still want me to try it? I mounted my share in a directory on the SDCARD so i can browse it with any file manager. I think any app that scans the sd card will also scan my server with about 8TB so that is a minor issue.
Click to expand...
Click to collapse
Could you please post the cifs.ko file that you have that works. Thanks.
OOMatter said:
Could you please post the cifs.ko file that you have that works.
Click to expand...
Click to collapse
Note that the post you quote was from before the 2.2 OTA, and hence that cifs.ko would be incompatible with the current kernel.
elborak said:
Note that the post you quote was from before the 2.2 OTA, and hence that cifs.ko would be incompatible with the current kernel.
Click to expand...
Click to collapse
Thanks for pointing that out. So does anyone have a compatible cifs.ko for the current DINC kernel?
OOMatter said:
Thanks for pointing that out. So does anyone have a compatible cifs.ko for the current DINC kernel?
Click to expand...
Click to collapse
I do. Check my blog. http://adrynalyne.us
Sent from my ADR6300 using XDA App
veli69 said:
Alot of the roms for other phones have it but its not compatible with out kernel. Is there a guide how to compile kernels? I made a couple in linux that worked. long ago..
Click to expand...
Click to collapse
http://marakana.com/forums/android/examples/111.html
GOOOOOOOOOOOOOOOOOOOOOOOOOOOGLE!!!!!!!!! YEAH!
Thats all fine and dandy except our source isn't on any git.
developer.htc.com
philips w732 vermagic '3.0.13 preempt mod_unload armv7' working cifs.ko and md4.ko modules
narod.ru/disk/63766749001.47b679339538b050028c3c7d87506dd2/md4.ko.html
narod.ru/disk/63743140001.693272f3661d5aac547ecc760f04db05/cifs.ko.html
Hi,
I am just wondering why cifs-support does not apperar in any of the modded kernels? Is there no common request for it?
I for myself would love to stream media in my wifi-network at home. The available separate cifs.ko (and additional files like slow-work.ko) are installable by script for use in cifsmanager for example, but it is not convenient to install it after every reboot (and I dont get the sense of the additional files, too).
Is there any reason (kernel gets to slow/to big)? As far as I can see it is integrated in 2.2-Kernels for other mobiles.
Sorry for my english,
regards
GreyList
GreyList said:
Hi,
I am just wondering why cifs-support does not apperar in any of the modded kernels? Is there no common request for it?
I for myself would love to stream media in my wifi-network at home. The available separate cifs.ko (and additional files like slow-work.ko) are installable by script for use in cifsmanager for example, but it is not convenient to install it after every reboot (and I dont get the sense of the additional files, too).
Is there any reason (kernel gets to slow/to big)? As far as I can see it is integrated in 2.2-Kernels for other mobiles.
Sorry for my english,
regards
GreyList
Click to expand...
Click to collapse
it takes space, and imho it's less useful than tun.ko support. You can compile one with cifs support though.
sztupy said:
it takes space, and imho it's less useful than tun.ko support. You can compile one with cifs support though.
Click to expand...
Click to collapse
Maybe at least CONFIG_SLOW_WORK=y should be configured(I don't know if it is on custom kernels). This will remove the need for a second module for cifs and it's pretty small (130kb)
Now that we know that it is running custom version of ubuntu, anybody want try compiling and running xbmc on it ?
XBMC trunk already contains most of the patches for tegra 2 and more will applied soon according XBMC developer ( davilla ). We should be able to test it now ..
<davilla> ssh in, install build tools, git install xbmc trunk, build for tegra2 and see if it works
That would be AWESOME!! I myself was wondering about running XBMC on webtop.
I tried installing git, but apt-get threw a bunch of dependency errors. I tried "apt-get -f install" but it wanted to remove most of the installed packages because they were not needed.
Any updates ?
Instead of trying to install via git why not download the tar of it and extract it ...
Hey guys!
Any news about it?
I really would like to see XBMC on webtop´s atrix!
I found this for the bravehearts.
http://wiki.xbmc.org/index.php?title=HOW-
TO_install_XBMC_for_Linux_on_Ubuntu,_a_Step-by-Step_Guide
NOTE: I have not tried it. You are in the DEV section, any mod attempts that YOU make to YOUR phone are YOUR own responsibility.
It is not listed here .... https://launchpad.net/ubuntu/jaunty/armel?text=xbmc
So it probably has not been attempted.
I already did this steps but can´t work.
The XBMC is the most important thing to work for me on Atrix. I´ll wait for someone do that work,
brunnogama said:
I already did this steps but can´t work.
The XBMC is the most important thing to work for me on Atrix. I´ll wait for someone do that work,
Click to expand...
Click to collapse
I tried a couple of steps too, dependency hell. Not sure if it will be figured out in DEV section since it's more of an app thing.
I thought I saw a VM once that dev work could be done on. I'm on travel next week 10 hours of flight time plus sitting in Chicago for 3 hours both ways. Maybe I'll get motivated.
Oh man!
I hope you get motivated!
Really thanx!
You would need an x86 emulator or VM to run this I believe as it is only coded for x86. Running it through an emulator would be slow and unreliable or just plain broken most likely. Not to discourage anyone from trying.
XBMC Official Hardware Support List
Asking for a port of it would go in XBMC dev forums
the2dcour said:
You would need an x86 emulator or VM to run this I believe as it is only coded for x86. Running it through an emulator would be slow and unreliable or just plain broken most likely. Not to discourage anyone from trying.
XBMC Official Hardware Support List
Asking for a port of it would go in XBMC dev forums
Click to expand...
Click to collapse
Nope I've seen XBMC running on a beagleboard native, As well it ran very well. We have 2x the ram and 400mhz x2 more speed. So it should run.
I downloaded the XBMC through official site and one of the Readme file (README.armel) talks:
"
This is a port of XBMC for use on ARM Architecture.
As this is not an official version of XBMC, in-depth testing on various setups has not been done. USE WITH CAUTION!
For the purpose of this port, the following Hardware and Software was used.
Software: Scratchbox (cross-compiler) on a Linux (Ubuntu) machine.
Hardware: BeagleBoard (ARM Cortex-A8 with IMG POWERVR SGX).
The source code is based on XBMC for Linux - version 9.11 (Camelot)."
So, I think its possible to run on Atrix, correct? But I have to do a lot of hard things to try it and I´m not able to do it, but it´s a good news.
I think I'm getting lost here....
What is the intention for using XBMC within webtop? Streaming to or streaming from phone?
I've found these apps
https://market.android.com/details?id=com.plexapp.android
https://market.android.com/details?id=com.psa.android.media
http://code.google.com/p/android-xbmcremote/
Longterm features
Download media locally to device's SD card
Stream media to device
And here's the VM http://forum.xda-developers.com/showthread.php?t=992178
xPerfect virtual appliance - Android SDK r10 / NDK r5b - dev
dicksteele
I´ll try to explain (sorry, bad english)
I´ll conect my Atrix on dock HD and 2 hd extern (plugged on dock usb´s port).
So, trought the webtop, I open the XBMC and this show me the files (movies and tv series) on my HD´s.
XBMC has a nice e configurable interface.
I´ll look this apps!
Thanx!
Interesting......
I'd try it but going on travel tomorrow and I need my phone
http://www.debian-multimedia.org/dists/stable/main/binary-armel/package/xbmc.php
Hi man.
I´d tried it (the armel version) but appears a lot of dependecies and I could´t try to install it.
Here is xbmc dev forum with it but for tegra 2 reference board though:
http://forum.xbmc.org/showthread.php?t=71297&highlight=tegra
Is the Ubuntu running as a VM on Atrix4G ?
brunnogama said:
Hi man.
I´d tried it (the armel version) but appears a lot of dependecies and I could´t try to install it.
Click to expand...
Click to collapse
You need to use xbmc trunk which contains all the patches for tegra 2. Can you post what you have tried ? Any errors ?
GhostXtreme said:
Here is xbmc dev forum with it but for tegra 2 reference board though:
http://forum.xbmc.org/showthread.php?t=71297&highlight=tegra
Is the Ubuntu running as a VM on Atrix4G ?
Click to expand...
Click to collapse
I don't believe it's running as a VM, it's running as a full instance.
From what I can read on the XBMC threads there are some problems.
But I found a guide for the BeagleBoard that might help people get going, dont think it will run out-of-the-box with this guide.
http://elinux.org/BeagleBoard/GSoC/2010_Projects/XBMC
hi,
as I understand, the only way to permanently mount the samba network share, is using CIFS modules:
(http://forum.xda-developers.com/showthread.php?t=1792190&highlight=cifs)
is there an 'easy' way (at least easier the this: http://forum.xda-developers.com/showthread.php?p=35189120&highlight=cifs+ko#post35189120 ) to 'get' CIFS modules work with stock rom/roms?
PS.
1. I know that there is a lot o file managers able to view samba share.
2. CM10 has CIFS modules and Yank555.lu kernel made by ausdim (http://forum.xda-developers.com/showthread.php?t=2167091&highlight=cifs), but what I'm intrested is stock rom
Desperate for proper cifs support, I tried out the STOCK PLUS rom from the forum but unfortunately it doesn't seem to support unicode characters (I assume the dev hasn't included nls_utf8.ko).
So what I'll do is to compile cifs.ko, nls_utf8.ko, md4.ko myself for the newest build of Ouya firmware that I can obtain, and share them here with people.
However since I'm a noob on this I need somebody to first give me a direction on how to compile the kernel modules. I've searched online but there doesn't seem to be a good tutorial anywhere. Apparently for many people it should be a piece-of-cake task though. If someone does respond and teache me the instructions then I'll do all the manual work and compile these things.
Hopefully eventually this post would be helpful for other people as well - I might compile other modules on demand and share here if I learn how in the end.
EDIT:
OK, apparently you'd need to configure the kernel and compile it with utf8 support.
1. clone this repo: https://github.com/ouya/ouya_1_1-kernel
2. follow the step-by-step kernel configuration tutorial at http://forum.xda-developers.com/showthread.php?t=2110842
3. note when you run 'make menuconfig'; remember to tick the utf8 option in the native language support section
I haven't had time to do this but theoretically it should give you the correct result.
Additional note:
Although STOCK PLUS does not support utf8 charset for smb (confirmed); it does support utf8 for nfs so you can instead do a nfs setup.