[REQ] prima_wlan.ko module from MF7 firmware - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Hi everyone
I'm currently working on kernel sources from samsung to make my first kernel for galaxy s 4 mini.
as i tested these days, wifi module is changed from new released firmwares. im currently using MH1 firmware.
i compiled wlan.ko module from source but no succeed to getting wifi working.
could someone please upload prima_wlan.ko file from MF7 firmware?
file is located in:
Code:
/system/lib/modules/prima/prima_wlan.ko
best regards.

Related

Compiling a working kernel

Hi all,
I recently began editing the Galaxy S kernel, from the downloadable open source package.
After some time I compiled my changes into a zImage. My problem is, it won't flash when i put it in the most recent PHONE_I9000XWJG5.tar.
Odin3 just hangs at Flashing zImage...
My zImage is about 2.5MB in size, and the original JG5 zImage is 4.6MB, so I guess I am missing something.
I think I am missing the modules (which you can also compile). But I'm not sure.
Does anyone know how to compile a working kernel for the Samsung Galaxy S?
Thanks in advance!
First:
Read here: http://www.cianer.com/androidg1/28-building-android-kernel-images
Then here: http://www.receptorblog.com/wordpress/howto-compile-a-linux-kernel-for-samsung-galaxy/
and finally here: http://forum.samdroid.net/f9/dev-vmware-image-build-i5700-kernel-2-6-29-android-2-1-a-984/
not update.zip,why?
In recovery, no sd update.zip option, how can I tune out?
I'm also trying to make a new kernel based on JM5.
My goal is to fix the BlueTooth issues.. I think i've found the problem in a kernel's .c file...
I'm following this link:
HERE
I'm downloading the GT-i9000 opensource ZIP from Samsung, but i don't quite understand where can i get the Android Toolchain....
Is It really 6GB as it says HERE ?
I wish there was a XDA-like tutorial for this

[Q] Can we compile a working firmware with the Samsung source?

Pretty much as the title suggests. If not, where do I find a kitchen that works?
Nobody? How about kitchens?
Pretty much
But if you would set everything up and run the build_kernel.sh script, you would end up with a 2.5 MB zImage, which is almost half the size of original zImage. This is beacuse initramfs is not available. I am not sure about the consequence of flashing this.
You can initramfs for i9000 from LeshaK's github. Though you'll have to modify the script not to replace the downloaded .config with the defconfig for aries_rev03.
Wow, finally another DEVELOPMENT question!
Keep it up!
Now for my answer: I'm working on a kitchen, have the extract / mod part mostly done, now working on initramfs extract / mod / repack (without the need to compile the kernel!) and repacking everything for flashing.
I hope to come up with something where you can start with any existing rom (different from some kitchens which are based on a particular version), mix and match apps and features compatible with that rom, then cook it for flashing either straight from Odin or installing from an update.zip.
Search in Google for
SamdroidMod Kitchen All in One for Samsung Galaxy S i9000
Does the Samsung source distribution include all the drivers or are some binary only?
snaff said:
Does the Samsung source distribution include all the drivers or are some binary only?
Click to expand...
Click to collapse
Sources included
ykk_five said:
Sources included
Click to expand...
Click to collapse
Just be sure to get the most recent sources. An older zip I had still had only binary blobs for the graphics kernel module, but they have now been GPL'ed. Joy!

[Q]tun.ko module for 2.6.35.10 htc kernel

Hey all,
Anyone has got the tun.ko module for this kernel? Or anyone could compile one? Thanks!
Hi,
I tried to compile a matching tun.ko module. However, I have currently no possibility to test if it works. If someone wants to try it, I would be glad to hear, if it works or not. (As always, don't blame me, if it breaks anything.)
[Edit: OK. I removed this version, as it obviously did not work. A working tun.ko can now be found in post #8]
it loaded successfully but then i get FCs in settings ever since
it indeed does not work
I tried to use it in console
it loads OK, but when creating a tunnel interface the phone reboots unexpectedly
has anybody succeeded in building tun.ko against this 2.6.35.10-g0956377 kernel version?
thank you very much in advance
OK
since HTC has not release 2.6.35.10 kernel sources for DHD I was not able to build tun.ko against DHD kernel
I grabbed the only 2 kernel sources with this version that are available on developer.htc.com and tried to build tun.ko agains them
the one from HTC Desire S works fine on my phone
I will recompile it against DHD kernel once it gets released
so far you can try the one attached and report if it works or not
if was build with magic version number g0956377
just unpack
rename to tun.ko
insmod
and report if it works
Have a nice day
Martin
have not use
<s>Would you please build it against desire s's own g13f6602 ?</s>
thank you for the common idea
The official kernel sources for the 2.6.35.10-g0956377 kernel used in the 2.36.405.8 software for the DHD are now available. I have therefore compiled the tun.ko module again from these sources. This module works now also on my phone. You find it attached below.
Hi can anyone help me get a tun.ko for my HTC DHD, kernel is 2.6.32.21-gbe90714 ... Thanks
Can somebody please build tun module against 2.6.35.10-g13f6602 kernel?
Someone has already done this for this version of kernel (2.6.35.10-g13f6602), so tun module and everything else is in the archive.
openvpn got working
Posted by Karthik on May 8, 2011 in Android Support, Rooting and Mods | 0 comments
For those who have already rooted their phones and need ovpn, i’ve compiled tun.ko module, which suites stock ROM (2.6.35.10-g13f6602)
All you need is to put it into /system/lib/modules/ from the archive attached.
Also, you can find there working binary (and lib) from cm7.
Just place the binary into /system/xbin/ and lib to /system/lib/
Enjoy!
Click to expand...
Click to collapse
Hi
Has anyone got the tun.ko for 2.6.35.10-gd2564fb?
Thanks!

[Q] Where is stock wireless module, and can I compile my own?

Sorry if this should be obvious, but I am new to kernel compiling and have searched with no luck.
Where is the wireless module located on the stock S3 ROMs? I have looked in /system/lib/modules and found a wlan.ko link to /system/lib/modules/prima/prima_wlan.ko - but the prima directory does not seem to exist, and searching the entire filesystem for prima_wlan.ko comes up with nothing.
I have also searched for the source to compile this driver module myself, to no avail. Is the source closed?
The rest of the details: I am running stock Jelly Bean T999UVDMD5 with root injected (mrRobinson's root66). I am trying to achieve CD-ROM emulation via USB so I can use DriveDroid. I have successfully applied the patches listed in the DriveDroid thread to the stock T-Mobile Jelly Bean kernel SGH-T999_JB_TMB source from Samsung. My compiled kernel boots and DriveDroid works. However, I have no wifi.
I have seen discussions that the original wireless .ko module can be copied over, and others that say it will not work unless it is compiled with the kernel to be used. I can't find the original or the means to compile it, as stated above. Any help is appreciated.
I'm not sure right off hand about the prima-wlan.ko.
But kernel source can be found at opensource.Samsung.com
Touchwiz source is closed.
Sent from my SGH-T999 using xda premium
DocHoliday77 said:
I'm not sure right off hand about the prima-woman.lo.
But kernel source can be found at opensource.Samsung.com
Click to expand...
Click to collapse
Yep that's the source that I patched.
Looks like wifi is already in the kernel build, but not enabled by default.
http://forum.xda-developers.com/showthread.php?p=42793761
Compiled again with
CFLAGS_MODULE=-fno-pic
and added
EXTRA_CFLAGS=-fno-pic
in the Makefile. (not sure if the second was needed) and wifi is working. Thanks to farhanito.

Kernel module - rt2800usb

Hello!
Has anyone succesfully compiled ROM with kernel module for the rt2800usb driver? Can't find anyone who have done it for the SM-N9005.
I saw this one for the Galaxy Note 2, http://forum.xda-developers.com/showthread.php?t=1915386
I haven't compiled any ROM for Android before, is it difficult? Or can I use compile a kernel module for my device and then use insmod?
/P

Categories

Resources