[Q] Cifs-Support within Kernel - Galaxy S I9000 Q&A, Help & Troubleshooting

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)

Related

[DEV]Chroot-Linux on Xperia Devices Locked/Unlocked Bootloaders(Debian,Ubuntu,BT5up)

Hi,
I have just bought a new Xperia Pro and Here is My first Contribution.Hope you guys like it.
I have tested it personally on the Unoffical MIUI port for PRO.But it should work on other Kernels and Xperia Devices as well.
I am posting a few Screens for you guys and as you can see lxde is already pre-installed for you guys.
Feel Free to comment
Disclaimer:-
I am Not responsible if anything Happens to your Phone.You do it at your own Risk and Responsibilty,
If you Screw Up then dont Blame Me.
I am not responsible for Anything.
What is chroot?
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.
Things required:-
1)Terminal
2)Root
3)Sdcard with atleast 2GB of free space
4)A Brain
Please Consider Donating to add to my late night coffee and Books Fund.
Link:-
https://www.dropbox.com/s/4k1f5l9jxy2nr9n/debian.7z
Mirror:-
http://www.4shared.com/archive/uNEXsuNS/debian.html?refurl=d1url
Note:
Please read the ReadMe.txt file attached to this post first for instructions.
A special request to all those who are donatinglease send me a P.M so that i know who you guys are.
Donators:-
None So Far
Thank you.
Posting Ubuntu over Here
Remember to Read the Read Me File First.
Link:-
https://www.dropbox.com/s/z7ekya7u7zo19p8/ubuntu.7z
Mirror:
http://www.4shared.com/archive/Qv0u_lWN/ubuntu.html
Mirror:
http://min.us/mZVpflpS5
Posting Back Track 5 Linux
Remember to Read the Read Me
Back Track linux Temp mirror(From My O2x Thread)
https://www.dropbox.com/s/ccf7lhfazl7li7u/btl.7z
Mirror:-
http://www.4shared.com/archive/EoGkvPD9/btl.html?refurl=d1url
NOTElease Download the file btl attached to this post and extract it on your computer and copy the btl file within and paste it in the btl directory downloaded from the above hosts replacing the old one.Now the chroot should run.
added a new Script and deleted the old one.Please use that now.I tested it personally on Stock and it is working perfectly.
As soon as it boots it asks if you wanna start VNC server?Press N and then follow the readme file.
Incase of any probs please let me know
and another
One More
Final Reserve
Nice Run..! First..
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
xperiap said:
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
Click to expand...
Click to collapse
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Riyal said:
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Click to expand...
Click to collapse
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
manasgirdhar said:
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
Click to expand...
Click to collapse
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Riyal said:
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Click to expand...
Click to collapse
Already Did.Will upload it sometime Later today or tomorrow.
Debian and Ubuntu both have lxde pre-installed.
Edit:-BT5 UP.
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Riyal said:
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Click to expand...
Click to collapse
THANKS for the link...Meego wont chroot..tried it on the optimus a few months ago and failed..problem with zephyr..will give it a go later.fedora I had as well..but the thing is ...Does anyone except me even use these here????
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
In theory yes its possible.but changes will have to be made to the arm kernel to chroot.when u type uname in terminal the output inside the chroot is different than the android kernel.but I think native booting will be better than chrooting..not being interested is just odd....its so much fun having linux on the go
manasgirdhar said:
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Click to expand...
Click to collapse
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
ameer1234567890 said:
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
Click to expand...
Click to collapse
Thanks for the advice.added to first post...not good with explanations
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
Actually I know I am going to say something Off-Topic
1) People on XDA are now the people who have got a smartphone just because they can afford one and wanna make their phone look "kewl" than the others with the same device
2) People do dumb things like cross flashing kernels.. They dont even read carefully what the OP says..
3) Running linux on a phone would be the best thing.. specially on an xperia pro where you get a harware keyboard..
I would like all noobs to see this - http://forum.xda-developers.com/showpost.php?p=16682226&postcount=2441
and this - http://forum.xda-developers.com/showpost.php?p=15826094&postcount=45

cifs.ko for Abominable Snowman

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.

[Q] CIFS support? cifs.ko module?

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!

[Q] New Rookie Kernel Builder - seeking advice

Hi,
I am going to chance my arm and try and produce a modified kernel for my Z3C. The reason/incentive is because I want to add NFS filesystem support to my device for Kodi/XBMC. I've had a look at a guide that suggests all the necessary components are made available by Sony to do this.
1. Have I missed something and is there already something to provide NFS without me wasting my time?
2 Is this a stupid idea to start off on for someone with no dev experience?
3. Are there are any devs on here who would be open to offering limited support/advice if I get really stuck?
4. Assuming I am successful I will of course load the Kernel up on here for other people to use if they wish.
Cheers,
Ant

cifs.ko for Amazon Fire? (CM 12.1, Root)

Hey Guys,
anyone tried (sucessfully) to mount a NAS-Share on the Amazon Fire?
Im new to Folder Mounting on Android in General, but what i've learned so far (pls correct me if im wrong!) that your kernel needs to support cifs, witch is nowhere by default. So one could
- compile/patch the Kernel with cifs Components
- Use a functioning cifs.ko together with CifsManager
First one im definitly too dumb to do
Latter one i tried without success with several *.ko floating around. Maybe i found a work working, but didnt configure it properly?
So, anyone has a working solution for mounting a network folder?
dafunkydan said:
Hey Guys,
anyone tried (sucessfully) to mount a NAS-Share on the Amazon Fire?
Im new to Folder Mounting on Android in General, but what i've learned so far (pls correct me if im wrong!) that your kernel needs to support cifs, witch is nowhere by default. So one could
- compile/patch the Kernel with cifs Components
- Use a functioning cifs.ko together with CifsManager
First one im definitly too dumb to do
Latter one i tried without success with several *.ko floating around. Maybe i found a work working, but didnt configure it properly?
So, anyone has a working solution for mounting a network folder?
Click to expand...
Click to collapse
At one time Nexus ROM included support for CIFS components; not sure if that functionality made it into build for this device. Kernel can not be patched with a locked bootloader so may be a nonstarter.
Davey126 said:
At one time Nexus ROM included support for CIFS components; not sure if that functionality made it into build for this device. Kernel can not be patched with a locked bootloader so may be a nonstarter.
Click to expand...
Click to collapse
I should/might be able to build CIFS support as a kernel module. However last time I had it working due to changes in the upstream linux kernel CIFS Manager can no longer work. When I am up and running again I'll take a look.
Sounds really cool dude!
So, as the bootloader is locked, u wanna give the cifs manager a shot? Would be really awesome if its working!
ggow said:
I should/might be able to build CIFS support as a kernel module. However last time I had it working due to changes in the upstream linux kernel CIFS Manager can no longer work. When I am up and running again I'll take a look.
Click to expand...
Click to collapse
Hey ggow, did you have a chance to take a look and see if there's a possibility? Hope u dont mind me getting back to you!
dafunkydan said:
Hey ggow, did you have a chance to take a look and see if there's a possibility? Hope u dont mind me getting back to you!
Click to expand...
Click to collapse
I'll be working on a new build this week, so will definitely look into it before release.
Sent from my Fire Phone using Tapatalk
Awesome! Thankin u - im excited and crossing the fingers
dafunkydan said:
Awesome! Thankin u - im excited and crossing the fingers
Click to expand...
Click to collapse
- Good news overall
- I have compiled the required modules from the Amazon Fire Kernel sources
- Seems to be working in principle
- I can mount a network share via shell command prompt
- I can copy files to and from the share
- However I need to figure out how to let android apps see the mounted file systems
Edit:
- managed to setup a share using cifs manager [emoji3]
- Can now see the files now from a file manager
- Still needs some testing though
ggow said:
-
- managed to setup a share using cifs manager [emoji3]
- Can now see the files now from a file manager
- Still needs some testing though
Click to expand...
Click to collapse
Yieeehhhaa Wicked!!! Thats really really good news! You are the Man
When you need a Tester or whatever just let me know. Thats awesome! :good:
dafunkydan said:
Yieeehhhaa Wicked!!! Thats really really good news! You are the Man
When you need a Tester or whatever just let me know. Thats awesome! :good:
Click to expand...
Click to collapse
I'll include it in the next release, with some instructions on how to use it.
Awesome!!! Both Thumbs up! Cant wait for it!
Thank u so much, highly appreciated!!!
dafunkydan said:
Awesome!!! Both Thumbs up! Cant wait for it!
Thank u so much, highly appreciated!!!
Click to expand...
Click to collapse
- New Release is out with CIFS Support and User Guide is here

Categories

Resources