I just finished building a cifs.ko module for my motorola defy from source.
As the module has some dependencies to slow-work.ko you will need to load this prior to cifs.ko.
I finished testing it on my Motorola Defy Stock Froyo ROM (Linux version 2.6.32.9-ga28fcc4) and it worked fine. I was able to listen to music from my pc via a network share.
have fun.
tuxx
p.s. i will merge slow-work and cifs into a single module in order to be compatible with single module loading programs such as cifsmanager.
Hi,
cant wait for the merge
How about adding the nls_utf8.ko ?
nls_utf8.ko
i havent had time yet to merge cifs and slow-worker however i took a minute to build nls_utf8.ko...
i haven't tested it so please let me know if it works.. and if not i'll try to fix it (dont forget to post dmesg log)
tuxx
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
I did a cwm3+ flasheable zip for my own use, which I am attaching here, which I had working in CM7 until they were included.
To avoid problems with utf8 characters, in cifsManager settings, load via insmod and use path:
"/system/lib/modules/slow-work.ko:/system/lib/modules/nls_utf8.ko:/system/lib/modules/cifs.ko"
Do you really need to work to merge the files? Isn't it enough?
Perilla_ said:
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
I did a cwm3+ flasheable zip for my own use, which I am attaching here, which I had working in CM7 until they were included.
To avoid problems with utf8 characters, in cifsManager settings, load via insmod and use path:
"/system/lib/modules/slow-work.ko:/system/lib/modules/nls_utf8.ko:/system/lib/modules/cifs.ko"
Do you really need to work to merge the files? Isn't it enough?
Click to expand...
Click to collapse
thanks for the tip.
however I dont know how the cifs.ko of the other thread was compiled.. the thread you pasted says that a hex editor was used to change the kernel version string in the binary!?! That doesn't sound like a very nice solution. Also.. i had to port a few functions such as round_jiffie() which i saw in other build instructions was simply commented out due to laziness.. I prefer a clean build in which round_jiffie() is implemented (as i presume this is for latencies and will probably play a role for battery life etc.).
However I was unaware that you can ':' separate modules with cifsmanager. Thanks for that tip.
tuxx
p.s. if anyone is interested, i just built GNU screen for android.
Well... no, the cifs I uploaded in the zip, are from the thread that the solution said (this solution), which are from the milestone 2. HERE are the cifs for milestone 2 thread, they works with defy.
tuxx42 said:
i havent had time yet to merge cifs and slow-worker however i took a minute to build nls_utf8.ko...
i haven't tested it so please let me know if it works.. and if not i'll try to fix it (dont forget to post dmesg log)
tuxx
Click to expand...
Click to collapse
Hi,
going to test it this evening on a stock 2.6.32.9-ga28fcc4. I ll try to use the "multi:module" functionality of CIFSManager.
Perilla_ said:
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
Click to expand...
Click to collapse
Hi,
i thought this module was for the .29 kernel and is broken for stock 2.2.2 ?
Thats why i never bothered to try...
I used those cifs from eclair to CM7 ginger!
Hello,
I'm interested in compiling the tun.ko driver necessary for OpenVPN. However, I got stuck when trying to pull the config.gz file from /proc/ since Motorola didn't include it as an option.
I'm not great with all this and was just following a guide. Has anyone created a working .config file that I could use instead?
Thanks
Isn't any config included?
have you tried make oldconfig?
pajn said:
Isn't any config included?
have you tried make oldconfig?
Click to expand...
Click to collapse
I thought you needed the config.gz file (and the resultant .config) pulled from the phone to use make oldconfig?
Yes. But there should be one included or else we have to complain to Motorola.
The config is included in the binary so it have to be provided together with the source to follow GPL
The default configuration in the kernel source should be okay.
I'll compile that later for you
kholk said:
The default configuration in the kernel source should be okay.
I'll compile that later for you
Click to expand...
Click to collapse
Awesome thank you.
Emh, as the default kernel configuration says, the TUN/TAP interface driver is already included into the kernel. You don't need a module.
kholk said:
Emh, as the default kernel configuration says, the TUN/TAP interface driver is already included into the kernel. You don't need a module.
Click to expand...
Click to collapse
So you're saying even though I don't see tun.ko listed in the filesystem that I should be able to initiate TUN when configuring OpenVPN?
Thanks
try it,it working for my razr.
Kernal 2.6.35.7
View attachment tun_gb.ko.zip
Yes you're able to create a TUN/TAP device without tun.ko.
kholk said:
Yes you're able to create a TUN/TAP device without tun.ko.
Click to expand...
Click to collapse
My apologies. On my last phone I had to have a tun.ko module. My understanding after searching these past few days is most phones require it to be built. Is the RAZR different by having it built into the stock kernel?
By the way, finally got OpenVPN working today.
Thanks
Yup, it seems Moto wanted to include support for VPNs on stock!
What does this do? Sorry not familiar with this
Sent from my DROID RAZR using xda premium
blkghost22 said:
What does this do? Sorry not familiar with this
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
It lets you setup a VPN connection from your phone to another server. Basically, your phone encrypts all your data before going to Verizon, etc. then it arrives at (in my situation) my home router which decrypts it then sends the request out to the internet, and back to my phone encrypted and so on.
It's useful for:
1) I can access my home network from anywhere as if I were at home connected to my router over Wifi
2) If I'm out at a hotel or something and I want to use the Wifi to access a bank account or something without worrying about someone else on the network stealing my password.
Just to name a few.
Has anyone gotten cisco annyconnect working on the razr?
Sorry for the inconvenience but I can only post my question here because I haven't post enough messages to ask it in the proper thread... I'm just nine more posts away!
I wanted to know if someone has the same issue using the Eos ICS ROM : It seems this ROM doesn't support the use of the standard SD card slot on the dock but the strangest thing is that all the memory devices are listed, including the SD card one...
My opinion is that this ROM doesn't support NTFS formated cards (mine is NTFS formated).
I'm not the only one http://forum.xda-developers.com/showpost.php?p=25448448&postcount=45
If a lucky Eos-plus-more-than-ten-posts-user is in da place... Please, spread the word!
The official thread : http://forum.xda-developers.com/showthread.php?t=1621874
Sent from my Transformer Prime TF201 using XDA Premium HD app
I have the same issue as you. Pretty sure the rom supports NTFS but I can't find out how. I'm PM'ing with a dev to try to get it fixed. If i do I'll post it here, if I don't Ill post in the EOS rom thread.
fordwolden said:
I have the same issue as you. Pretty sure the rom supports NTFS but I can't find out how. I'm PM'ing with a dev to try to get it fixed. If i do I'll post it here, if I don't Ill post in the EOS rom thread.
Click to expand...
Click to collapse
If you still want to know.....
Each kernel has a configuration file. The file is gzipped so you have to either extract it and read it or (easier) use zcat from a terminal:
Code:
zcat /proc/config.gz
That dumps the entire file to your terminal. You can search through it with grep
Code:
zcat /proc/config.gz|grep NTFS
Please note that the kernel NTFS driver's write support may damage the NTFS partition. ntfs-3g is more stable and would be better to integrate into the ROM
Noob Friendly section
Warning: I will take no responsibility for data loss or corruption that may occur on NTFS drives, though ntfs-3g has been known to be safe.
Steps to get NTFS full read-write working:
1. Install attached .zip via recovery (or push the file )
2. Reboot
3. To mount OTG drives, use the script attached with "Script Manager" app (as root)
(Even NTFS microsd cards can be mounted with minor changes)
4. To unmount, just press "Unmount" in USB OTG helper
This will be built in USB OTG helper app soon!
Download
1. ntfs-3g-cwm-install_v2
2. Mount NTFS script (remove .txt)
More details
Important update! Please upgrade!!
Does it support all kernels/ROMs? :good:
I am using the package posted by DooMLoRD on Arc forum, does this one have any difference ?
Will ntfs-3g need recompile for kernels with custom version string ? (iirc it does not)
t105 said:
Does it support all kernels/ROMs? :good:
Click to expand...
Click to collapse
All based on Sony ICS Beta or ICS kernels
adridu59 said:
I am using the package posted by DooMLoRD on Arc forum, does this one have any difference ?
Will ntfs-3g need recompile for kernels with custom version string ? (iirc it does not)
Click to expand...
Click to collapse
1. Where is that package? Any link? I do not know of that package
2. No need (it is compiled for linux-gnueabi ) Fuse may be specific for the kernel
shardul_seth said:
1. Where is that package? Any link? I do not know of that package
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=22031795&postcount=2297
shardul_seth said:
2. No need (it is compiled for linux-gnueabi )
Click to expand...
Click to collapse
Well thats the TC prefix.. so ntfs-3g is standalone, nice.
shardul_seth said:
Fuse may be specific for the kernel
Click to expand...
Click to collapse
It actually is... seems like I'll have to do a modules package with it.
adridu59 said:
http://forum.xda-developers.com/showpost.php?p=22031795&postcount=2297
Well thats the TC prefix.. so ntfs-3g is standalone, nice.
It actually is... seems like I'll have to do a modules package with it.
Click to expand...
Click to collapse
Maybe ntfs-3g is not mentioned in that thread.. That is why my search did not return anything
Anyway, this is the latest stable ntfs-3g (Jan 2012), but maybe DoomLorDs is also same.. ( if i had found earlier, it would have saved me some work )
WANTED: Users to port SGS roms to the 4.0. You will need to know how to complete a full restore if something goes wrong, but that's it. I cannot go through the forums searching for good SGS roms, as I have several threads to manage, and a rom to work on. The steps are easy for you though, and if you port a rom I will add it in the OP.
First of all, I want to say that I take NO credit on any of these roms. All I did was port them over and add speed tweaks, or added ones that users have ported. If the rom creators or mods have any issue whatsoever with this thread, I will happily take it down, even though I think it would be a large contribution to the 4.0 community. I will continue to update this forum with info as I go along.
I, after a fortunate afternoon of boredom, have managed to successfully begin porting I9000 roms to our devices! Fortunately, they are similar enough that it boots without any modifications. I will put up here any ports that I make, and any that the users create. Note that these WILL NOT BE UPDATED! These are one-time ports, to be used and improved upon by the community. Anything that is broken now will stay broken, unless a user decides to fix/update it, then I will include it in the OP.
What *should* work in all ported roms:
wifi
GPS
home buttons
everything else
What will probably *not* work on ported roms:
Bluetooth
Camera
backlight on buttons
Ported roms:
~GamerzRom odexed V11-~
Link to original thread: http://forum.xda-developers.com/showthread.php?t=1656081
Added:
V6 supercharger, and build.prop tweaks from it.
init.d tweaks from my rom
ext4 filesystem
Advanced mount options
Auto zipalign and Database optimize
Removed apps that do not work on our Player (such as the Dialer)
Download:http://www.mediafire.com/download.php?ctuu2w295w2xlk6
~Saurom~
Original thread:http://forum.xda-developers.com/showthread.php?t=1388342
Ported download link:http://www.mediafire.com/download.php?csua40hkg1r3m86
~JellyBeanRom~
Original thread: http://forum.xda-developers.com/showthread.php?t=1260709&highlight=gb
Ported download link:http://www.mediafire.com/download.php?mgec81f3ifck221
~Ario Rom (ported by ChaosChris)~
Ported thread link : http://forum.xda-developers.com/showthread.php?p=29950015#post29950015
Original thread: http://forum.xda-developers.com/showthread.php?t=1536558
To use these Roms:
You MUST use a Gplayer kernel! GT-I9000 kernels will not boot!
A full wipe may be necessary with some roms if you encounter issues.
Converting (for porters)
Steps:
1. Download wanted rom (must be GB)
2.Move the zip to the internal sdcard
3.Reboot into recovery
4.Flash zip, then boot into download mode
5.Flash a SGP kernel
6. apply my mod pack to the rom, by either copying/pasting the system directory over the SGS rom's system directory, or by pushing it via adb, (eg. adb push /path/to/modpack /system).
7. Profit!
NOTE: after applying this, porters may want to remove non-working packages such as the dialer and mms, as they may cause issues with the end result if they are kept in. Do not delete phone.apk though!! This is required for the camera and some other things, and breaks stuff on certain roms. You have been warned.
NOTE: If you use this modpack, please give me credit, and link back to this thread so that more people can use it. Also, you should probably link back to the ported rom's thread as well, to avoid "ripping off" those devs.
Modpack:
Changelog
V1-
Preliminary release
Fixes wifi and GPS
Includes v6 supercharger and init.d tweaks
V2-
fixed vold.fstab so sdcard is mounted properly.
Download:
ModpackV1:
http://www.mediafire.com/download.php?diaq6im4i18ktf7
NOTE:Note that this is preliminary. It fixes everything listed, and attempts to fix some broken things. Your mileage may vary. This is not a cwm flashable zip! you much extract and adb push this over the existing system directory. This is mainly intended for porters, so users apply at your own risk. This will work, but is a very early release.
Modpack V2 (thanks to ChaosChris):
https://docs.google.com/open?id=0B9OVlH2Pl76DZk5Pa3lJVXlrYzA
Looking good! Does the gamerz port have the 388mb of ram, I thought that was kernal related?
Sent using Tapatalk
iJimaniac said:
Looking good! Does the gamerz port have the 388mb of ram, I thought that was kernal related?
Sent using Tapatalk
Click to expand...
Click to collapse
Yeah, it says that because it includes semaphore's kernel, which raises the max rom to 380, which we could do on our kernel's, but apparently that breaks a lot of stuff if you go much further then 350 (according to klin).
is the wifi fixed in your port or do we have to do your fix after flashing?
Just a word of advice, make sure you get permission from the devs! Also surely this will work with ICS roms right? Just swap out the SGS kernel with the SGP CM7 kernel and it should work (I think)
Sent by my Robot Butler
Supermaster34 said:
Just a word of advice, make sure you get permission from the devs! Also surely this will work with ICS roms right? Just swap out the SGS kernel with the SGP CM7 kernel and it should work (I think)
Sent by my Robot Butler
Click to expand...
Click to collapse
check over in the operation: ics for the 4.0 thread I believe they are already attemping to use the cm7 kernel to boot a cm9.
daniel644 said:
is the wifi fixed in your port or do we have to do your fix after flashing?
Click to expand...
Click to collapse
Yeah, it is fixed before you flash. Once I manage to iron out a few more bugs, I will probably release a "conversion pack" that fixes all the issues. I already have one that fixes wifi and gps, but bluetooth and camera have me stumped, and I do not want to replace the entire hw/lib folder, because some of these roms have lib optimizations, but I may have to.
Sent from my GT-I9000 using xda app-developers app
Supermaster34 said:
Just a word of advice, make sure you get permission from the devs! Also surely this will work with ICS roms right? Just swap out the SGS kernel with the SGP CM7 kernel and it should work (I think)
Sent by my Robot Butler
Click to expand...
Click to collapse
Since I am merely redistributing their work, not incorporaring it into anything I have made, or taking any credit for it, I don't asking permission is necessary. I may be completely off base, but I think that as long as you give devs 100% credit, and link to their original work, it is okay. It may not be the best option, but neither is asking EVERY dev if I can port their rom, or ask permission for user-ported roms.
Youay have an idea there, althouh I think that zaclimon has tried it, and he said it wouldn't boot. I have 2 efs backups, so I guess I can try, although even if the kernel boots, I bet I will have to do a LOT more work before it is usable. I also believe that he said the issues may have been rom based, so here it goes, and wish me luck.
Sent from my GT-I9000 using xda app-developers app
hanthesolo said:
Since I am merely redistributing their work, not incorporaring it into anything I have made, or taking any credit for it, I don't asking permission is necessary. I may be completely off base, but I think that as long as you give devs 100% credit, and link to their original work, it is okay. It may not be the best option, but neither is asking EVERY dev if I can port their rom, or ask permission for user-ported roms.
Youay have an idea there, althouh I think that daniel has tried it, abd he said it wouldn't boot. I have 2 efs backups, so I guess I can try, although even if the kernel boots, I bet I will have to do a LOT more work before it is usable.
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
I've already tried with a cm7 kernel and I got an error of looping (netd1.0 starting) that's why I'm trying to do something. Now I need to backport 3.0.8 usb gadget drivers.
zaclimon said:
I've already tried with a cm7 kernel and I got an error of looping (netd1.0 starting) that's why I'm trying to do something. Now I need to backport 3.0.8 usb gadget drivers.
Click to expand...
Click to collapse
Whoops, I meant you . I will try with a official cm9 build from the SGS forums, and see if that fares any better. Probably will not, but it doesn't hurt to try.
EDIT: well, nevermind about that. He seems to have pulled all of his download links, and I cannot get to the CM7 build. Oh well...
I am going to try anyway with the I9000 package since it seems to have EXT4 support, and I *think* that was what was bootlooping me earlier. This as all just my hopeful rationalization, of course . A lot farther out there, but maybe I can use a SGP5.0 kernel to get it booting. A LOT less likely, but hey, i'm experimenting .
EDIT: I cannot try ICS, since I need to reboot into recovery a second time, and I cannot do that, as I have the intl bootloader on my US device, and it would require it to be booting first.
hanthesolo said:
Whoops, I meant you . I will try with a official cm9 build from the SGS forums, and see if that fares any better. Probably will not, but it doesn't hurt to try.
EDIT: well, nevermind about that. He seems to have pulled all of his download links, and I cannot get to the CM7 build. Oh well...
I am going to try anyway with the I9000 package since it seems to have EXT4 support, and I *think* that was what was bootlooping me earlier. This as all just my hopeful rationalization, of course .
Click to expand...
Click to collapse
I think we should do like entrophy's because I get bored from mtd. Also just tried the gamerz rom port. As I see the camera works, don't know about bluetooth (it can turn on). Vibration works too. I was able to connect to wifi pretty fast and I have one word for this rom. FAST!!!!
Good job!!
zaclimon said:
I think we should do like entrophy's because I get bored from mtd. Also just tried the gamerz rom port. As I see the camera works, don't know about bluetooth (it can turn on). Vibration works too. I was able to connect to wifi pretty fast and I have one word for this rom. FAST!!!!
Good job!!
Click to expand...
Click to collapse
Well, thet camera shows a preview, but fails when a pic is taken, for some reason. Bluetooth does turn on, but is not seen by any other devices, and cannot scan for others either. I did do a little tweaking with Gamerz, so it will be even faster than it was already, which is pretty blazing! I have 2 more that I can put up (I have a preliminary package that I just adb push over the system files that works for now). I have also gotten the camera apk onto my rom, and it works really well! It doesn't take 5 MP pics, or record 720p video (which may be because I am using Terrasilent, which reduces the amount of Vram the system can have), but tap to autofocus and everything else works pretty well. I have a sneaking suspicion that the camera is soft limited, not hard-limited.
I also noted that the external sd card isn't working too (a problem with vold.fstab I'll correct it right now)
zaclimon said:
I also noted that the external sd card isn't working too (a problem with vold.fstab I'll correct it right now)
Click to expand...
Click to collapse
I don't use an externel sdcard, so thanks for pointing that out! I will include a fixed version in my mod pack.
hanthesolo said:
I don't use an externel sdcard, so thanks for pointing that out! I will include a fixed version in my mod pack.
Click to expand...
Click to collapse
Here's the vold.fstab if you need it
Okay, it seems that the zip hosed my partitions (converted them to yaffs2 and mtd), so I am going to perform a full restore, and just keep porting GB roms. As soon as you can get the usb gadget driver working, zaclimon, I guess I can keep working on it, but for now I will just keep to GB.
Two more roms up! I will probably not port any other unless I see an especially good one, but I will put up my mod pack tomorrow.
has anyone found out if the ported roms enable tv out or has someone found out if tv out support is in the i9000 kernal?
TV out has to have hardware, or your not going anywhere. I think the galaxy player lacks the hardware unfortunately. If it does have the hardware, it was very dumb of Samsung not to enable it.
Sent using Tapatalk
iJimaniac said:
TV out has to have hardware, or your not going anywhere. I think the galaxy player lacks the hardware unfortunately. If it does have the hardware, it was very dumb of Samsung not to enable it.
Sent using Tapatalk
Click to expand...
Click to collapse
what hardware does the galaxy s i9000 have that allows for tv out? I thought the galaxy s i9000 and the galaxy player 4.0 had the same gpu?