Modules for Gingerbread (cifs/ext4) - Galaxy Tab Android Development

Because of the newer kernel for Gingerbread (2.6.35.7) we need newer modules for cifs and ext4. Compiled them:
download here: http://xda.richardtrip.org/?dir=tab/Gingerbread/modules
Before you ask.... a tun.ko is not needed (compiled in the kernel).

Correct me if im wrong but will these modules give us EXT4 support on ginger ?

crisvillani said:
Correct me if im wrong but will these modules give us EXT4 support on ginger ?
Click to expand...
Click to collapse
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
and it should work.

how to?
i have kernel 2.6.32.9

hmm .. i doubt about it ... the rom is very fast and as far its good , why do i need to go for ext4 if the ext4 suck the battery life ?

k0sh said:
hmm .. i doubt about it ... the rom is very fast and as far its good , why do i need to go for ext4 if the ext4 suck the battery life ?
Click to expand...
Click to collapse
I have never heard of a file system sucking the battery life. If anything, FAT32 would be the worst used in practice today.

richardtrip said:
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
and it should work.
Click to expand...
Click to collapse
So really dumb, newb ( but learning so much so quickly ) question. Can I get my CIFS support back to stream videos on Overcome 2.0.0 if I use
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/slow-work ???
( think slow-work is needed from research )
( Settings ->About Device->Kernel Version 2.6.35.7 [email protected] #2 )

fidjit said:
So really dumb, newb ( but learning so much so quickly ) question. Can I get my CIFS support back to stream videos on Overcome 2.0.0 if I use
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/slow-work ???
( think slow-work is needed from research )
( Settings ->About Device->Kernel Version 2.6.35.7 [email protected] #2 )
Click to expand...
Click to collapse
you need to load slow-work.ko first.

please,
howto install these modules on the new GB roms?

Wow. This is great now i have working cisco vpn.
Thank you very much
Sent from my GT-P1000 using XDA App

bartito said:
please,
howto install these modules on the new GB roms?
Click to expand...
Click to collapse
Download the modules to /system/lib/modules/ (or anywhere really, just not the SD card) then load them using insmod. If you need them of every boot you can use an init.d script to load them automatically

For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!

TheGrammarFreak said:
Download the modules to /system/lib/modules/ (or anywhere really, just not the SD card) then load them using insmod. If you need them of every boot you can use an init.d script to load them automatically
Click to expand...
Click to collapse
Unfortunatly, init.d doesn't work in current version...

Tried to manually load as per instructions.
Didn't seem to do anything to assist my cifs manager. Figured I'd go back to my nandroid backup I'd made just before. Stuck on Samsung screen. on reboot after restore
Had to do a restock and rebuild. As say in previous post learning a lot ..........like always take an Nandroid
Think I'll be leaving this to the experts and wait for a new already compiled kernel

fidjit said:
Tried to manually load as per instructions.
Didn't seem to do anything to assist my cifs manager. Figured I'd go back to my nandroid backup I'd made just before. Stuck on Samsung screen. on reboot after restore
Had to do a restock and rebuild. As say in previous post learning a lot ..........like always take an Nandroid
Think I'll be leaving this to the experts and wait for a new already compiled kernel
Click to expand...
Click to collapse
Cifs mananager doesn't help you. But it is simple to do that manually:
$su
#busybox insmod /system/lib/modules/easy-work.ko &&
#busybox insmod /system/lib/modules/cifs.ko
#mount -r -t cifs -o <YourShareName,login,password> <MountingPoint>
I use GscriptLite for that.

acolwill said:
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
Click to expand...
Click to collapse
so if i flash this via cwm it will give me ext4?

acolwill said:
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
Click to expand...
Click to collapse
Sorry for being inept, but that doesn't make CIFS Module to work
--
Enviado desde mi móvil

maxtcee said:
so if i flash this via cwm it will give me ext4?
Click to expand...
Click to collapse
it just copy the *.ko to your /lib/module,you still have to add script inside init.d to make it load automatically when boot

init.d dobt supported in gb, seems to me
howto make these modulez autoloaded without init.d?

bartito said:
init.d dobt supported in gb, seems to me
howto make these modulez autoloaded without init.d?
Click to expand...
Click to collapse
CF-Root will run scripts from init.d. Overcome includes CF-Root.
Sent from my Galaxy Tab. Now that's dedication

Related

Froyo standard JPM kernel with su from Superuser apk included

I did that for myself but it could be useful, so why not share it!
This is the standard Froyo JPM kernel build from sources
It contains the su binary which calls Superuser.apk
Download this app from the market, and you're all set ^^
If you want a Froyo phone rooted cleanly and still secure, that's it.
Kernel to flash as PDA using Odin with 803.pit
Kernel sources:
http://github.com/project-voodoo/samsung_kernel_sources_gt-i9000/tree/froyo
Superuser app:
http://forum.xda-developers.com/showthread.php?t=682828
If you need more info, just ask
PS: I'm not sure every apps are happy with the need to call su from /sbin, which is in the ramdisk.
At least you can do everything you want from adb, and once you're root there is no limit
thank you very much.
You're always so kind!!!
Great! Gonna try JPM tomorrow.
Sent from my GT-I9000 using XDA App
How is this different from Chainfire's method? What is the advantage of using this over that? Thanks
Sent from my GT-I9000 using XDA App
ed10000 said:
How is this different from Chainfire's method? What is the advantage of using this over that? Thanks
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
The difference is that Chainfire uses the Samsung compiled kernel, while this one is compiled from GPL sources. Should be no differences, but for some reason this kernel is a lot bigger than the Samsung one. Anybody know why? Compiler options?
RyanZA said:
The difference is that Chainfire uses the Samsung compiled kernel, while this one is compiled from GPL sources. Should be no differences, but for some reason this kernel is a lot bigger than the Samsung one. Anybody know why? Compiler options?
Click to expand...
Click to collapse
Interesting I also would like to know what's the difference before I try to flash it on my SGS.
By the way, thanks to supercurio, RyanZA and all the developers
main diff for me is this is just a rooted kernel. it doesn't come with other goodies like superuser, and more imptly the e2 recovery which means i cna't do apply update.zip from the recovery mode using this kernel.
but i look forward to supercurio on the voodoo fix
supercurio said:
PS: I'm not sure every apps are happy with the need to call su from /sbin, which is in the ramdisk.
At least you can do everything you want from adb, and once you're root there is no limit
Click to expand...
Click to collapse
So with this, su is in sbin instead of system/xbin. Can we not move it/copy it to xbin if necessary? Is this a big deal?
Tyxerakias said:
So with this, su is in sbin instead of system/xbin. Can we not move it/copy it to xbin if necessary? Is this a big deal?
Click to expand...
Click to collapse
Yes you can. In fact, CF-Root does exactly that... it also contains all files in /sbin and /res, but at first boot install them to /system.
Chainfire said:
Yes you can. In fact, CF-Root does exactly that... it also contains all files in /sbin and /res, but at first boot install them to /system.
Click to expand...
Click to collapse
Yes that's it
This kernel does no special action ^^ it's just JM2 compiled from sources (presumably the same as Samsung's compiled) with an added file in /sbin
It's a bigger because for some reason the modules are quite big once compiled, they're probably not fully stripped and... because I included the ext4 kernel modules
hey ...
did u use z4build to implement ext4 support?
or can i run it and then use update.zip (z4mod) for ext4?
quick reply would be great ... just flashed to http://forum.xda-developers.com/showthread.php?t=796987
ty and big up fi di work u done!!!
EDIT: z4mod still not available should have read more posts before posting lol ... sorry
is ur ramdisk compatible with froyo JPM?
dt9394 said:
is ur ramdisk compatible with froyo JPM?
Click to expand...
Click to collapse
Sorry i don't understand your question
Hi sir,
I download the ramdisk voodoo provide from http://project-voodoo.org/downloads/Voodoo-beta4-GT-I9000-ramdisk.tar.bz2 and compile it with official JPM source code. So far no problem during compilation. But I know the ramdisk /lib/module/ file is slightly different from what i extract from official zImage.
So my question is, is your ramdisk compatible with froyo source code from samsung?
thanks,
dt9394 said:
Hi sir,
I download the ramdisk voodoo provide from http://project-voodoo.org/downloads/Voodoo-beta4-GT-I9000-ramdisk.tar.bz2 and compile it with official JPM source code. So far no problem during compilation. But I know the ramdisk /lib/module/ file is slightly different from what i extract from official zImage.
So my question is, is your ramdisk compatible with froyo source code from samsung?
thanks,
Click to expand...
Click to collapse
Hello !
For Froyo stuff, now everything is on github http://github.com/project-voodoo .
I transformed Voodoo in a complete source-based distribution and you have all the tools included here to do so
Thanks you supercurio!!!!!!!!!!!! voodooo!!!!!!!!!!!!! git clone it now
dt9394 said:
Thanks you supercurio!!!!!!!!!!!! voodooo!!!!!!!!!!!!! git clone it now
Click to expand...
Click to collapse
I made a new thread after your request (and some on IRC too!)
http://forum.xda-developers.com/showthread.php?t=813955

[KERNEL] GT-I9000 insecure kernels for use with rooting

Many of you seem to think that you have been abandonded by the developers moving to the GT-I9100, I do not think this is the case, but you have to remember that developing for a new phone is more fun
Anyway, some of you will already know about my insecure kernels for the GT-I9100, well since Gingerbread on the GT-I9000 I have also been using insecure kernels for my own personal use and have now decided to release them, since if you are like me and like to keep your phone as close to stock as possible they may be of some use to you.
If you like my work, maybe you would like to say thanks by buying me a beer
Insecure Kernels:-
GT-I9000_XWJVZ_insecure
GT-I9000_XWJW1_insecure
GT-I9000_XXJVP_insecure
GT-I9000_XXJVQ_insecure
GT-I9000_XXJVR_insecure
GT-I9000_XXJVS_insecure
GT-I9000_XXJVT_insecure
GT-I9000_XXJVU_insecure
GT-I9000_XXJW4_insecure
password = [email protected]
a quick method for rooting would be:-
Code:
adb remount
adb push busybox /system/xbin/
adb push su /system/xbin/
adb shell chown root.shell /system/xbin/busybox
adb shell chown root.shell /system/xbin/su
adb shell chmod 755 /system/xbin/busybox
adb shell chmod 4755 /system/xbin/su
adb shell /system/xbin/busybox --install -s /system/xbin
You need to make sure that busybox and su are in the same folder as you are typing the adb commands.
You could also push superuser.apk if you have it local:-
adb install superuser.apk
You can use these files to return to the stock kernel if you wish, you will still be rooted but adb will not be running as root on first login via shell.
Original Kernels:-
GT-I9000_XWJVZ_original
GT-I9000_XWJW1_original
GT-I9000_XXJVP_original
GT-I9000_XXJVQ_original
GT-I9000_XXJVR_original
GT-I9000_XXJVS_original
GT-I9000_XXJVT_original
GT-I9000_XXJVU_original
GT-I9000_XXJW4_original
Please DO NOT mirror any of my files, thank you.
I have used your 9100 insecure. Good work. I have also rated this thread a 5-star.
link to github repo for kernel source (most preferrably ^^) please !
what all did you change ?
thanks !
good work
10 chars
On JVS insecure kernel my WiFi connection keeps restarting when it's turned on, can you check it?
Bo$s said:
On JVS insecure kernel my WiFi connection keeps restarting when it's turned on, can you check it?
Click to expand...
Click to collapse
Mine is ok, maybe a bug in JVS makes an incompatibilty problem with your router? Try to flash the JVS original kernel and see if the problem still exists, you will still keep root.
Odia said:
Mine is ok, maybe a bug in JVS makes an incompatibilty problem with your router? Try to flash the JVS original kernel and see if the problem still exists, you will still keep root.
Click to expand...
Click to collapse
Same behavior on stock
Do i understand this correct?? From what i read u are using the kernel u use on your i9100 also on the i9000??? how is this possible?
Gvdn said:
Do i understand this correct?? From what i read u are using the kernel u use on your i9100 also on the i9000??? how is this possible?
Click to expand...
Click to collapse
No, he means that he has done the same work as on I9100.....
The kernels are not compatible!
simone201 said:
No, he means that he has done the same work as on I9100.....
The kernels are not compatible!
Click to expand...
Click to collapse
Lol ty was really going "WHAAAAAAAAT" when i read the OP. Maybe make it cleaer what u mean in the OP.
zacharias.maladroit said:
link to github repo for kernel source (most preferrably ^^) please !
what all did you change ?
thanks !
Click to expand...
Click to collapse
As you probably know, this is not only zach asking kindly or xda-rules. GPL licence, on which android kernel is based, clearly states to release updated source along with the build.
Developers are always welcome when they follow this. Bet you get help here to setup github.
Failing to comply usually ends in some banned/thread locked.
Sent from my GT-I9000 using XDA App
O-T said:
As you probably know, this is not only zach asking kindly or xda-rules. GPL licence, on which android kernel is based, clearly states to release updated source along with the build.
Developers are always welcome when they follow this. Bet you get help here to setup github.
Failing to comply usually ends in some banned/thread locked.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I hope he releases the sources soon....but it is also veeery simple to do an unsecured kernel!
Thanx works fine on JVS, but i needed to remove some stuff from /system/app
No space left....
Brotuck said:
Thanx works fine on JVS, but i needed to remove some stuff from /system/app
No space left....
Click to expand...
Click to collapse
Seems that JVR and JVS have no space left at all in /system folder...strange thing....
could you provide some link can opened in your country.
O-T said:
As you probably know, this is not only zach asking kindly or xda-rules. GPL licence, on which android kernel is based, clearly states to release updated source along with the build.
Developers are always welcome when they follow this. Bet you get help here to setup github.
Failing to comply usually ends in some banned/thread locked.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
The kernel is not compiled from sources, its only a 4 byte change which is injected to the stock kernel. That is the reason there is no source released, the Admins and Mods know this already and the reason this thread is still here alive and not locked.
and its the reason it works correctly with XXJVS.
Bo$s said:
Same behavior on stock
Click to expand...
Click to collapse
Thats bad, which router are you using? Have you tried rebooting the router?
simone201 said:
Seems that JVR and JVS have no space left at all in /system folder...strange thing....
Click to expand...
Click to collapse
Its true, I just remove the Aldiko eBook Reader from /system/app but of cause you can chose some other app you dont like
Gvdn said:
Do i understand this correct?? From what i read u are using the kernel u use on your i9100 also on the i9000??? how is this possible?
Click to expand...
Click to collapse
Sorry for the confusion, I hope the OP is now more clear.
Odia: Thank you for explaining your [KERNEL/MOD]
The kind-of-source is your HowTo in OP on how we can mod any kernel.
Sent from my GT-I9000 using XDA App

[Q] CIFS support module

Hello,
I would like to use cifsmanager apps but I see that our kernel doesn't have the proper module built in.
I just updated the kernel and modules using the latest available in the the kernel build service (following the incremental updates guide):
http://xdandroid.com/wiki/Incremental_Updates
but I'm not able to insmod the module.
I also tried to manually download the cifs.ko module and to load it telling to cifsmanager app where the module is, but I continue to receive the same error, no such device, like if the module isn't loaded correctly.
How can I solve this problem?
Thank you
Why not just use adb...? I don't see the need for CIFS.
If you can figure out how to get CIFS working, we can look about implementing it mainline.
Have you tried insmodding it after cp'ing the .ko file to /lib/modules?
ok thank you,
I tried to load the module using adb, but I think I'm using a wrong file because when I try to load it insmod return me the "invalid module format" output.
I'm using the kernel downloaded here:
http://zimages.googlecode.com/files/htc-msm-linux-20110914_084441-package.tar.bz2
somebody can tell me if is there a module that I can use with this kernel?
thank you
Caio said:
ok thank you,
I tried to load the module using adb, but I think I'm using a wrong file because when I try to load it insmod return me the "invalid module format" output.
I'm using the kernel downloaded here:
http://zimages.googlecode.com/files/htc-msm-linux-20110914_084441-package.tar.bz2
somebody can tell me if is there a module that I can use with this kernel?
thank you
Click to expand...
Click to collapse
Where did you get the module from...? Our kernel is probably not equipped with that module.
Caio,i've sent you a pm,let me know if it works,so i'll maybe push it in the mainline kernel
I downloaded the module on a thread of HTC Diamond's...can someone link me a module that could work with this kernel?
Or is there another way I can use to mount my samba share on my android?
thank you
Caio said:
I downloaded the module on a thread of HTC Diamond's...can someone link me a module that could work with this kernel?
Or is there another way I can use to mount my samba share on my android?
thank you
Click to expand...
Click to collapse
Did you miss helicopter88's PM? He built you a kernel that should have the module built into it...
arrrghhh said:
Did you miss helicopter88's PM? He built you a kernel that should have the module built into it...
Click to expand...
Click to collapse
Failed to boot,pheraps my fault or too much oc..
Later i'll make a stock kernel
Here's the module http://www.mediafire.com/?w6fp94b464cktkc
So you can put it somewhere and insmod it
well, i have the same problem, can anyone solve it?
helicopter88 said:
Here's the module
So you can put it somewhere and insmod it
Click to expand...
Click to collapse
sadly to say that, but the files had been removed
Here's the module..
thanks for your reply, but seems no luck, it just says "invalid module format" when insmod (using the FRX07.1)
ZSaberLv0 said:
thanks for your reply, but seems no luck, it just says "invalid module format" when insmod (using the FRX07.1)
Click to expand...
Click to collapse
Pheraps I should make it from original xdandroid source..
Here's another one
http://www.mediafire.com/file/wsw6tlah3lzp3gs/cifs.ko
helicopter88 said:
Pheraps I should make it from original xdandroid source..
Here's another one
http://www.mediafire.com/file/wsw6tlah3lzp3gs/cifs.ko
Click to expand...
Click to collapse
Didn't you just say it was some simple config flag?
Make use of that "recognized developer" insignia you throw around there and commit something . (Or at least post something to the ML!!)
still doesn't work, shows the same message when insmod or insmod -f
btw, the kernel is modules-2.6.27.46-01356-gd4c73bd.tar.gz, maybe you should build a complete one? (well, i have never played with linux kernel...)
ZSaberLv0 said:
still doesn't work, shows the same message when insmod or insmod -f
btw, the kernel is modules-2.6.27.46-01356-gd4c73bd.tar.gz, maybe you should build a complete one? (well, i have never played with linux kernel...)
Click to expand...
Click to collapse
Assuming his patch is accepted, it will get committed mainline. It's a quite simple change to how the kernel is built.
arrrghhh said:
Assuming his patch is accepted, it will get committed mainline. It's a quite simple change to how the kernel is built.
Click to expand...
Click to collapse
I think phh had an issue with the patch submitted. I have a patch to commit soon so i can look into this. One question i have is how do yall plan to load the module? Does the app insmod it ? or does it expect the module to be built into the kernel?
[ACL] said:
I think phh had an issue with the patch submitted. I have a patch to commit soon so i can look into this. One question i have is how do yall plan to load the module? Does the app insmod it ? or does it expect the module to be built into the kernel?
Click to expand...
Click to collapse
I think people just want the module available in the 'modules`uname-r`.tar.gz' file. That way they at least have the option of insmodding it...(*.user.conf etc) who knows what they want to do with it afterwards - I guess access their phone on a LAN from their PC?
just want to mount my share folder from my PC to Android, so that i can use the shared files online without copy-paste (it'll be quite annoying by copy-paste, especially when you want to edit file, because you must upload it after editing)
in short, same as Caio, just want to use cifsmanager, and it says "no such device"
ZSaberLv0 said:
just want to mount my share folder from my PC to Android, so that i can use the shared files online without copy-paste (it'll be quite annoying by copy-paste, especially when you want to edit file, because you must upload it after editing)
in short, same as Caio, just want to use cifsmanager, and it says "no such device"
Click to expand...
Click to collapse
The fixed patch has been sent to Mailing List,now let's see if it gets approved..

CIFS.ko for stock 4.0.4 [updated for IMM76I]

#compiled new cifs.ko, md4.ko, nls_utf8.ko for the new
IMM76I build
kernel number
3.0.8-gda6252b
attachment "cifs_gda6252b.zip"
------------------------------------------------------------------
hi there, i have compiled modules for CIFS to work on the stock 4.0.4 kernel.
kernel number must match "3.0.8-g034fec9"
in the attached zip,
here are the list of files.
cifs.ko
md4.ko
#above 2 are required to have it work
#here are native language support.
nls_utf8.ko
nls_cp932.ko
nls_cp936.ko
nls_cp950.ko
#above cp9xx are support for chinese characters.
nls_euc-jp.ko
#above is support for japanese letters.
thank you.
additional notes.
apparently you do not need any other native language support apart from utf8
the trick is, during the mounting process, you will need to specify the "iocharset=utf8" under options.
eg
"mount //192.168.15.123/a /home/b/c -t cifs -o username=d,password=e,uid=f,gid=g,iocharset=utf8"
for cifs manager, just put "iocharset=utf8" under the Options, and you should be able to see all different charsets.
do remember you will need to load the nls_utf8.ko
once you have the module install,
you can use cifs manager to manage your mounts.
(you can also set cifs manager to load this module for you).
Thanks, I'll give it a try later today.
soloxp said:
Thanks, I'll give it a try later today.
Click to expand...
Click to collapse
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
qwerp_ said:
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
Click to expand...
Click to collapse
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
chrkad said:
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
Click to expand...
Click to collapse
here you go.
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
files included are
cifs.ko
md4.ko
nls_utf8.ko
Samba (CIFS) kernel modules for ICS 4.0.4 (IMM76D) kernel 3.0.8-g6656123.
qwerp_ said:
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
Click to expand...
Click to collapse
Thanks!
I confirm these work great on ICS 4.0.4 with "kernel 3.0.8-g6656123"
Awesome!
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Noob question, what is CIFS?
Enviado do meu Galaxy Nexus usando o Tapatalk
Guto ViP said:
Noob question, what is CIFS?
Click to expand...
Click to collapse
Common Internet File System, is another name for SMB (Server Message Block) also known as Samba. It's most commonly used in Microsoft Windows networks for providing shared network access to files, printers and other services.
These modules allows you to mount a shared directory from your windows computer, on your phone.
I use it to watch movies and play Mp3 on my phone, which is stored on my (windows) media server.
aplatas said:
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Click to expand...
Click to collapse
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
qwerp_ said:
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
Click to expand...
Click to collapse
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
aplatas said:
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
Click to expand...
Click to collapse
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
Thanks, the problem it was that the md4.ko it wasn't loaded
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
thanks, works well.
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
funkdified said:
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
Click to expand...
Click to collapse
In case you didn't see [OP] created a new thread for 4.1.1 here
qwerp_ said:
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
Click to expand...
Click to collapse
Hello,
could you compile it for the kernel version 2.6.34.
( I have a Zenithink ZT 280 C91 with ICS 4.0.3)
regards
-janez
cifs help
Hi,
hoping you can help me out. i have an android tv box that id love to get cifs running on so i can use mount manager and download direct to my nas disk. could you possibly compile these modules for the following kernel???
$ cat /proc/versionLinux version 3.0.8 ([email protected]) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)
) #8 PREEMPT Wed Sep 12 11:07:28 CST 2012
[email protected]:/ $
Thanks in advance for your help!!!

[HELP] Kernel and Kernel Modules

Hi to all devs here,
I am currently creating a new ROM with modified stock kernel. Currently I have basic features for the ROM and for my kernel, what I have is init.d support. I would like to add the following kernel modules:
DroidWall
Governors and IO Scheduler
BaCem
EXT4
Now, would copying the modules to system/lib/modules do the trick? Or do I need anything else? I'm currently new in creating custom ROMS, so any help/advise is greatly appreciated.
Also, can anyone give me the link for SpareParts.apk? I have seen many spareparts.apk but all of them are from creeds rom.
Thanks,
Carl
you'll need init.d script to call the modules. for bacem tweak, you should put the init.d script from irfan's thread since it also contain the script needed to set the voltage and fix the bug in bacem tweak. for another modules, you'll only need to call the modules in boot via init.d script. you can use these script
Code:
#!/system/bin/sh
insmod <location of modules1>
insmod <location of modules2>
the modules are usually stored in /sytem/lib/modules so you'll need to replace <location of modules> with /system/lib/modules/<module name>. after boot you can check whether if the modules loaded or not by typing "lsmod" in terminal.
EDIT: you can find sparepart.apk in my thread about one pack tweak.
can i use ur kernel in m stock rom...if yes put it
Sent from my GT-S5360 using xda premium
kurotsugi said:
you'll need init.d script to call the modules. for bacem tweak, you should put the init.d script from irfan's thread since it also contain the script needed to set the voltage and fix the bug in bacem tweak. for another modules, you'll only need to call the modules in boot via init.d script. you can use these script
Code:
#!/system/bin/sh
insmod <location of modules1>
insmod <location of modules2>
the modules are usually stored in /sytem/lib/modules so you'll need to replace <location of modules> with /system/lib/modules/<module name>. after boot you can check whether if the modules loaded or not by typing "lsmod" in terminal.
EDIT: you can find sparepart.apk in my thread about one pack tweak.
Click to expand...
Click to collapse
Thank you sir kurotsugi. BTW, do i need to include the extension of the module like this:
Code:
insmod /system/lib/modules/modulename.ko
CarlDeanCatabay said:
Thank you sir kurotsugi. BTW, do i need to include the extension of the module like this:
Code:
insmod /system/lib/modules/modulename.ko
Click to expand...
Click to collapse
Sure...
Sent from my GT-S5360 using xda app-developers app
be carefull if yo're using ext4 as a modules. it should be mounted first before another script running and don't ever change your /data, /system, and /cache partition to ext4.
kurotsugi said:
be carefull if yo're using ext4 as a modules. it should be mounted first before another script running and don't ever change your /data, /system, and /cache partition to ext4.
Click to expand...
Click to collapse
Sir...if i change ext3 to ext4 in ur ope pack tweak, can i mount ext4?
Sent from my GT-S5360 using xda app-developers app
theoritically it will work only if your kernel support it and you have loaded ext4 modules before mount command. never interested to test it. ext3 is easier and better.
kurotsugi said:
theoritically it will work only if your kernel support it and you have loaded ext4 modules before mount command. never interested to test it. ext3 is easier and better.
Click to expand...
Click to collapse
Bro, how to change /system /data and /cache from ext4 to rfs ??
our default system partition is already in rfs. you can modify ext4 file from maroc to revert it.
kurotsugi said:
our default system partition is already in rfs. you can modify ext4 file from maroc to revert it.
Click to expand...
Click to collapse
I know, but somehow i format /cache to ext4. Maybe. Coz when i create backup nandroid file is cache.ext4.tar else is system.rfs.tar and data.rfs.tar
And yes it show in /sys/fs/ext4/stl10 which mean /cache partition fyi i use my kernel that support ext4.
I want to change /cache from ext4 to rfs again but dont know how try with tick repartition in odin still no hope just stuck in download mode.
Code:
ui_print("Starting Operation...");
show_progress(0.1, 0);
unmount("/cache");
ui_print("Formarting cache with rfs...");
format("rfs", "EMMC", "/dev/block/stl10");
ui_print("Mount cache with rfs...");
mount("rfs", "EMMC", "/dev/block/stl10", "/cache");
show_progress(0.1, 100);
ui_print("Done");
ui_print("All praise is due to Allah");
its an updater script. you can give it a shot
Hi devs,
I would like to ask few more n00b questions:
1. Should I put EXT4 at 00EXT4_module or 00bacem-tweak and put ext4 at 01 inside init.d?
2. How do I set the default keyboard for a custom ROM
3. How do I get 14 Toggle Status Bar + Swipe to Clear Notification working on DXLE1? It works on lower firmware version but on DXLE1, it makes the status bar disappear.
PS. I don't want to start another thread so I am asking here. Thanks in advance!
Sorry Sir I can't help u bt advice to change heading so ppl vil cum to knoe wat ur askin by reading only heading
sent using repencis 3.5 wid a2sd
DELETED
Sent from my GT-S5360 using xda app-developers app
Sir....
I just can help no. 2 and 3
2. Choose ur keyboard in Settings>locale and text>choose ur keyboard..this step just make ur keyboard as default
3.u can use system-unsigned and framework.jar in http://forum.xda-developers.com/showthread.php?t=1691397 I use this and work perfectly
Sent from my GT-S5360 using xda app-developers app
shoutokuyaki said:
Sir....
I just can help no. 2 and 3
2. Choose ur keyboard in Settings>locale and text>choose ur keyboard..this step just make ur keyboard as default
3.u can use system-unsigned and framework.jar in http://forum.xda-developers.com/showthread.php?t=1691397 I use this and work perfectly
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
I think he is askin how to make any 3rd party keyboard as a system/default keyboard while compiling rom
I might b wrong bt u tried to help him
sent using repencis 3.5 wid a2sd
press thnxxx
CarlDeanCatabay said:
Hi devs,
I would like to ask few more n00b questions:
1. Should I put EXT4 at 00EXT4_module or 00bacem-tweak and put ext4 at 01 inside init.d?
Click to expand...
Click to collapse
i don't get it. do you mean the script used to call the modules? if yes, it doesn't matter where you put it. you'll only need to make sure that it run before another script, especially a2sd script or similar method. you can easily arrange the sequence by the number and alphabet.
2. How do I set the default keyboard for a custom ROM
Click to expand...
Click to collapse
if you still have the default keyboard, our system will use that as default keyboard. you can remove it so your keyboard will work as default but make sure that your keyboard is working since not all 3rd party keyboard could work as system app.
3. How do I get 14 Toggle Status Bar + Swipe to Clear Notification working on DXLE1? It works on lower firmware version but on DXLE1, it makes the status bar disappear.
PS. I don't want to start another thread so I am asking here. Thanks in advance!
Click to expand...
Click to collapse
if there's no status bar FC issue the problem could come from improper method of compiling the apk. it sometimes happen when we use old apktool version. dxlc and dxle are using similar framework, you can try to use systemUI from another custom rom based on dxlc for an alternative if you can't solve that compiling issue.

Categories

Resources