Hi guys,
Just a quick little guide on how to fix the wi-fi and bluetooth issues on the official cm11 nightlies!
You find the official cm11 a bit laggy? you thought it would be a great idea to install williams kernel V2? after installation you noticed that it runs so much better and are really happy with it till you notice that wi-fi and bluetooth aren't working? Well here is a simple fix for that!
Steps:
1: download these 2 files: https://www.mediafire.com/folder/4hs22pjkn03m6/CM11_Nightly_Modules_Wifi_&_Bluetooth (credit goes to @alcatraz999902)
2: navigate to system/lib/modules and delete wlan.ko and scsi_wait_scan.ko
3: copy the files you downloaded earlier (wlan.ko and scsi_wait_scan.ko) to system/lib/modules
4: change the permissions to rwrr:
A: you can use file explorers like es file explorer to change the perms (rwrr 644)
B: you can also open a terminal, mount your system as rw (mount -o rw,remount /system) and cd to /system/lib/modules then type these 2 commands:
chmod 644 wlan.ko
chmod 644 scsi_wait_scan.ko
5: reboot your device
6: Enjoy official cm nightlies with working wi-fi and bluetooth!
Wow many thanks, mate!! I didn't know what was happening to the wifi. Now I can even solve it.
By the way, when you update a nightly, you need to readjust options like in built kernel mpdecision or reinstall optimized qcom's and all that stuff?
Cheers!
It does not work CM11 Official
it must work, you did mistake somewhere
zepp40 said:
It does not work CM11 Official
Click to expand...
Click to collapse
It's actually work.
Read carefully what to do
Sent from me
I suppose that's not a fix for wpa problems?
(since a long time, wifi doesn't work on WPA in cyanogenmod... only work with wep or wpa2)
But anyway, thanks for sharing
PS: Saloperie de freeboxV5.
What about new NyakKernel? I tried it but it doesn't work. Official CM, latest nightly.
tnx so much
Sent from my Xperia SP using Tapatalk
nplezka said:
What about new NyakKernel? I tried it but it doesn't work. Official CM, latest nightly.
Click to expand...
Click to collapse
I think that kernel already has the correct modules
Sent from my Xperia SP using XDA Free mobile app
When I install CM11 with Williams Kernel, the blue screen appear, no boot.
Related
A noob question support. Is there a CIFS support in the 2.6.32.21-gbe90714 kernel or a suitalbe cifs.ko file that one could use with the Cifsmanager app?
I am a bit lost here. I downloaded the DHD kernel source released, but had no luck locating the cifs.ko file. And I have no idea how to compile one myself. Can someone pinpoint me in the right direction?
update:
found some instructions here http://forum.xda-developers.com/showthread.php?t=783117 so I will see if I can get it working
update 2:
i have been able to build cifs.o (no cifs.ko was produced ) from the kernel provided by HTC, but it fails with insmod. The problem might be (besides that I have only a vague idea what am I doing) that the downloaded kernel is 2.6.32-g5ed1769 and my phone is running kernel 2.6.32-gbe90714.
Also compiling the kernel ends with this error
make[3]: *** No rule to make target `drivers/input/touchscreen/ntrig.o', needed by `drivers/input/touchscreen/built-in.o'. Stop.
Thats where I got stuck.
I have attached the file cifs.o produced.
Updare 3: Solved - see attachment in post http://forum.xda-developers.com/showthread.php?p=8865419#post8865419
Support/Troubleshooting forum sub section is needed, this Desire HD general is becoming a Desire HD trashcan..
M_T_M said:
Moved to general. Not a DEV thread.
Cheers,
Click to expand...
Click to collapse
I placed in DEV since it deals with kernel compilation. Maybe it should be moved to theme and apps as I am trying to get Cifsmanager app working on DHD.
Small update: I have managed to get a cifs.ko from kernel 2.6.32.17 from G2 partially working. I have HEX edited the file and changed to my kernel version.
I can insmod the file and mount drive without a problem. I can than access the mounted drives a browse the folders, but when I try to open the file I get an error.
I do not seem to be able to find a 2.6.32.21 kernel compiled cifs.ko which I believe might work with HEX updating "-gbe90714".
*push*
looking for the right cifs.ko as well :\ would be really nice to be able to mount cifs shares without custom rom...
anyone got CIFS working on stock ROM?
CIFS working on 2.6.32.21-gf3f553d
here is a working cifs.ko for DHD kernel 2.6.32.21-gf3f553d
Code:
su
insmod slow-work.ko
insmod cifs.ko
insmod nls_utf8.ko
It's a hex edited and --strip-debug cifs to educe file size of the version from MikeMelbourne. http://forum.xda-developers.com/showpost.php?p=9780217&postcount=7
Works fine on my DHD (samba access and video playback with V Player).
nxtwrld said:
here is a working cifs.ko for DHD kernel 2.6.32.21-gf3f553d
Code:
su
insmod slow-work.ko
insmod cifs.ko
insmod nls_utf8.ko
It's a hex edited and --strip-debug cifs to educe file size of the version from MikeMelbourne. http://forum.xda-developers.com/showpost.php?p=9780217&postcount=7
Works fine on my DHD (samba access and video playback with V Player).
Click to expand...
Click to collapse
Thanks for this, it works fine when I insmodded all the .ko's you zipped (that I placed in system/lib/modules/). On reboot though I cannot use cifs manager unless I insmod again. Do I need to insmod everytime i reboot?
Sent from my Desire HD
nxtwrld said:
It's a hex edited and --strip-debug cifs to educe file size of the version from MikeMelbourne. http://forum.xda-developers.com/showpost.php?p=9780217&postcount=7
Click to expand...
Click to collapse
I understand the hex edit - would you mind telling me how you did the --strip-debug - I'd like to do the same.
They were compiled on a headless PII 400 MHz running Ubuntu Edgy Eft server.
-Mike-
You just need to have the android ndk, which I supposed you have since you have bee able to compile the kernel. So just run
Code:
/path/to/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-strip --strip-debug /path/to/cifs.ko
you have to modify the path to cifs.ko a and android-ndk-r4b
I have bee trying to compile the kernel my self on kubuntu, but always finished with an error, so I just ended up hexediting other files.
Thanks for your files. I have been waiting for a working samba mount to stream my videos from NAS!!
keemyb said:
Thanks for this, it works fine when I insmodded all the .ko's you zipped (that I placed in system/lib/modules/). On reboot though I cannot use cifs manager unless I insmod again. Do I need to insmod everytime i reboot?
Sent from my Desire HD
Click to expand...
Click to collapse
I am afraid it has to be insmoded every time on boot. You can automate it with Gscript or Tasker apps.
Thanks @Nxtwrld for the strip-debug advice. The HTC kernel never compiled with my phone's config.gz - after each failed compile I would have to edit .config and disable the item responsible for the build failure. I ended up compiling the module by itself.
Sent from my Desire HD using XDA App
Final compile - optimised versions against NDK R5.
Against the new Android NDK R5 I have just compiled:
* tun.ko - 18 KB
* slow-work.ko - 16 KB
* cifs.ko - 269 KB
* nls_utf8.ko - 4 KB
I have also debug stripped them - resulting in a total module size of 304 KB instead of 3.2 MB.
This time I compiled them on Ubuntu 10.10 instead of the ancient Ubuntu 6.10 I had been compiling on.
Again, these are for 2.6.32.21-g66cfb7a - feel free to hex edit them. I have tested both tun & cifs and they work.
Thanks again nxtwrld for the strip-debug advice.
Can you do the same for kernel 2.6.32.21-g3d0aaf ?
here you go.
thank you! Works very good!
nxtwrld said:
here you go.
Click to expand...
Click to collapse
Sent from my Desire HD using XDA App
I've tried for hours so far to understand more about the android and how to install the files inside 2.6.32.21-gf3f553d.zip.
I have the Desire HD with stock Orange rom and that kernel, i literaly have no idea how to install thease moduals onto the phone.
My desire hd is rooted and is S-on I've tried things like Kernel Update Utility and also just trying to simply copy and paste the files into system/lib/modules didnt work since astro didnt let me paste.
If it wasnt nearly 1am and i wasn't trying for the past 3 hours i would have done more reading. I know its something simple im missing, just can't figure out what the process is to installing thease modules is. First Android phone, first day with it as you can probebly tell.
Any help will be apreciated.
Thanks
arielc said:
I've tried for hours so far to understand more about the android and how to install the files inside 2.6.32.21-gf3f553d.zip.
I have the Desire HD with stock Orange rom and that kernel, i literaly have no idea how to install thease moduals onto the phone.
My desire hd is rooted and is S-on I've tried things like Kernel Update Utility and also just trying to simply copy and paste the files into system/lib/modules didnt work since astro didnt let me paste.
Click to expand...
Click to collapse
There's a free app in the market called "mount /system (rw / ro)" that can make your /system read-write (rw) or read-only (ro). After setting rw - you should be able to copy the *.ko files into /system/lib/modules.
Another alternative is to copy the *.ko files onto your sdcard (/mnt/sdcard).
You can then use an app (i.e. "Terminal Emulator") to enter these commands:
Code:
su
insmod /mnt/sdcard/slow-work.ko
insmod /mnt/sdcard/cifs.ko
insmod /mnt/sdcard/nls_utf8.ko
Alternatively, you can open CifsManager, open the Settings and specify a custom path to your kernel modules (i.e. in /mnt/sdcard). The recent version allows you to specify multiple modules, separated by colons. e.g:
Code:
/mnt/sdcard/slow-work.ko:/mnt/sdcard/cifs.ko:/mnt/sdcard/nls_utf8.ko
Hope this helps.
You should also check you kernel version and verify, that you are really running pin this kernel. I have no idea what the kernel for Orange branding is....
Amazing thanks, i did it with the terminal emulator method. First time i tried it, it wouldnt work. A restart later and i've rentered the comands and my computer drive is mounted. Works like a dream, thanks loads for th hex edited files and the walkthrough with diffrent options was so very helpful.
Hi all,
It is the stock XXJVK (Gingerbread) internet browser modified to open more than 4 windows.
Actually you can visit up to 16 different web site at the same time but you'll probably miss memory before
Note:
Once you reach the 8th windows, continue to press the "new button" and it will open an extra new window even thought that the counter will not display more than 8
For those who remain in froyo,see my thread for XWJS8:
[MOD] increased Stock XWJS8 browser limit
to install :
-copy the apk to your sdcard
-Delete the old Browser.apk in /system/app
-Place the new Browser.apk in there
Note:
Don't forget to be superuser and to mount the partition as read-write :
for stock kernel :
$su
#mount -o remount,rw /dev/block/system /system
#cp /sdcard/Browser.apk /system/app/Browser.apk
#exit
$exit
for CF-ROOT kernel, (thanks to ramad)
su
stop (phone will freeze, that's OK just move on)
busybox mount -o remount,rw /dev/block/system /system
cp /sdcard/Browser.apk /system/app/Browser.apk
exit
exit
adb reboot
Eric,
in Sri lanka.
Thanks, just what i have been looking for
Nice work thanks!
Sent from my GT-I9000 using XDA App
Thanks man. needed this. But for me the line with /dev/block/system i had to remove that. Then it worked.
Jobiza said:
Thanks man. needed this. But for me the line with /dev/block/system i had to remove that. Then it worked.
Click to expand...
Click to collapse
Hi,
Do you mean you did not use the whole line (mount....) ?
So , your /system partition could permanently be mounted as read write.
Are you using any tools or specific rom ?
Eric ,
in Sri Lanka.
will this going to work wirh jpx rom also ??
thx
Sent from my GT-I9000 using Tapatalk
claustrox said:
will this going to work wirh jpx rom also ??
thx
No I've tried gingerbread browsers on earlier roms before ... they don't work.
There are plenty of extra window modded browsers that do tho. The author of this thread made a js8 version I believe that will work
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Stock XXJVK, Voodoo GB hack Kernel, JVE GB Modem
thank you man !
can this also be done by using the root explorer app?
tried the adb method but it doesnt work for me
Have done it word for word like the method above for cf root but not working, phone does connect and reboot at the end but still have the 4 windows
Jobiza said:
Thanks man. needed this. But for me the line with /dev/block/system i had to remove that. Then it worked.
Click to expand...
Click to collapse
Had to do this to make it work
thanks
hey eric...thanks your exellent work....im also sri lankan.. keep it up bro......
I have a question is there the UserAgent hack in this one?
If not please add it to your version
Cool, good job man!
Let's cut the crap. Seems like somebody on a Chinese forum figured out the way to apply the mod to MM2. I just translate it into English.
1. Download the attachment and unzip milestone2_more.ko to the root of sd
2. mount /system/ r/w
3. copy milestone2_more.ko to /system/lib/modules/
4. open terminal emulator
5. input the following command
su
chmod 644 /system/lib/modules/milestone2_more.ko
insmod /system/lib/modules/milestone2_more.ko touch_num=6
(the guy said if you choose a number greater than 6 the system will crash)
now you should get a 6-point-multitouch
original thread: http://bbs.gfan.com/android-1997547-1-1.html
Thank you soooooooo much! )))
Works but MT is still buggy...
oh my god.. thank you, it works.
5 is more than enough
OMG!! You made my day!
Sent from my A953 using XDA Premium App
Is this permanent? Or it'll go away when we reboot?
Sent from my A953 using XDA App
It will go away when you reboot, but its not a big deal to use the command again
Sent from my A953 using XDA Premium App
Just make a init.d script to load it up when the system boots and you won't have to worry about it again..
Just did this, but I think i wrote it wrong. Please correct me
I created a blank file and wrote inside it:
insmod /system/lib/modules/multitouchfix.ko (I replaced the name)
And saved the file as 99multitouchfix inside /system/etc/init.d/
I also fixed permissions for both files
Sent from my A953
Is it working Aragorn?
Thank you. I'll try it when I get home!
inheme said:
Is it working Aragorn?
Click to expand...
Click to collapse
Nope. The module works, but not the init.d script
you can use autostart from Market
AragornPE said:
Nope. The module works, but not the init.d script
Click to expand...
Click to collapse
Try this script:
Code:
#!/system/bin/sh
# Load 5 finger multitouch module
insmod /system/lib/modules/defy_more.ko
Also note that the first touch after reboot is delayed.
dangpzanco said:
Try this script:
Code:
#!/system/bin/sh
# Load 5 finger multitouch module
insmod /system/lib/modules/defy_more.ko
Also note that the first touch after reboot is delayed.
Click to expand...
Click to collapse
I'll try that as soon as my M2 wakes up, long day for it today =P
Actually,the patch is developed by korean , the XDA thread is http://forum.xda-developers.com/showthread.php?t=1162327
Autoload after reboot: copy install-recovery.sh to /system/etc and set rwxr-xr-x .
If you wanna change the touch point limit , open install-recovery.sh with text editor , change the number that follows "touch_num=". The range is 1~10.
My own test shows more than 6 touch points will NOT lead to system crash , but make it back to 2 points...orz. Since the same patch on D2/D2G/DEFY enable up to 10 points, why
m2 cound not
Ah, forgot to say , the autoload patch is ported from http://bbs.gfan.com/android-1997547-1-1.html
Neither autostart or init.d script worked. Going to try the install recovery
Sent from my A953
Install recovery didn't work either
Maybe I'm doing something wrong?
Sent from my A953
AragornPE said:
Neither autostart or init.d script worked. Going to try the install recovery
Sent from my A953
Click to expand...
Click to collapse
Did you set the permission properly,both milestone2_more.ko and install.sh.
All works fine, both the milestone2_more.ko and the install recovery, no problem at all, have 4 MT points now
This is specially meant for Stock kernel user which don't have kernel iptables function.
Android Firewall
It's a android firewall capable of blocking some app to reach the internet by redirect them to certain address.
It can only activated if only there is Iptables executable & some modules to support it's function.
It's command line configurable but it's way too complicated to us.
You'll Need:
A Sony Ericsson X8 Android phone. (Will work on X10, but not tested.)
Rooted.
Busybox.
CWM Recovery.
Instruction:
Flash this through CWM http://www.mediafire.com/?qcn1jlwilq9l57n
Goto /system/etc & Add those line inside ADD TO HW_CONFIG.SH.txt text file into hw_config.sh.
Reboot
Download Any (I Used DroidWall https://play.google.com/store/apps/details?id=com.googlecode.droidwall.free) to manipulated the iptables to block or allow your app to access the internet.
Say thanks to AnDyX who make this modules. (http://forum.xda-developers.com/showthread.php?t=1184907)
I'm just doing the update zip for CWM that's all.
Note: Bootloops or error ARE LIKELY NEVER OCCURED. This is tested on Eclair 2.1.C.0.0 Rom (Offical Sony Ericsson rom for x8) and GDX Rom.
Whit this module i will have WiFi tethering in my Xperia X8 running on stock kernel with MiniCM7 ?
Link aint working
Edit: sorry i know now what was doing the problem
Sent from my E15i using XDA
AttilaAtisz said:
Whit this module i will have WiFi tethering in my Xperia X8 running on stock kernel with MiniCM7 ?
Click to expand...
Click to collapse
Yes, with appropriate tethering app. Some rom have tethering setting set in their rom like mine, so i don't know which tethering app work best.
Link don't work
Edit:sori
Sent from my E15i using xda premium
Do NOT flash it with CWM Recovery or xRecovery until CKKnot correct the install script else it will wipe your /system partition and phone won't reboot and you will have to reflash your device.
roms2000 said:
Do NOT flash it with CWM Recovery or xRecovery until CKKnot correct the install script else it will wipe your /system partition and phone won't reboot and you will have to reflash your device.
Click to expand...
Click to collapse
I just rechecked, it is indeed lead to /system wipe...
it's me who make the script wrong, I have just reuploaded the fixed one...
Redownload it if you not able to just now... And sorry for my mistake
That is really better
Thanks for your quick reply.
Hello Im having problems whith step 2, I dont know how to goto /system/etc & Add those line inside ADD TO HW_CONFIG.SH.txt text file into hw_config.sh
<Pliz help me!
andresql said:
Hello Im having problems whith step 2, I dont know how to goto /system/etc & Add those line inside ADD TO HW_CONFIG.SH.txt text file into hw_config.sh
<Pliz help me!
Click to expand...
Click to collapse
use some file menger like rootexplorer
Could you please be more specific with point 2?
Should I copy all lines (whole content) from ADD TO HW_CONFIG.SH.txt text file and paste them into hw_config.sh? At the end of this file? In some specific point? Nothing to replace in hw_config.sh?
Well, after first try my X8 seems to be bricked. Sony Ericsson logo after reboot
Hello,
Sorry, I have to post this workaround here because I'm new on xda and I can't post an answer on the development forums. So if someone see that, please post a link to this thread on PAC ROM or pink kernel topic
It seems there is a new file in the modules directory which is a symbolic link named wlan.ko. As an easy workaround, simply replace this file (/system/lib/modules/wlan.ko) by this one: /system/lib/modules/pronto/pronto_wlan.ko (move this file to the parent directory and rename it). Then reboot, you should have the WiFi working now
PS: I guess it's maybe better to modify the symlink or load the correct module but it's harder to write command lines with a smartphone
According to some people, this bug should be fixed now.
Doesn't work!
Sadly, doesn't work on PA/C-RoM.
Edit: Thought I'd elaborate a bit. There's no wlan.ko in /system/lib/modules/, so I just copied the pronto_wlan.ko, renamed it to wlan.ko, repacked it and flashed it.
Mycroft-Dev said:
Sadly, doesn't work on PA/C-RoM.
Click to expand...
Click to collapse
Did you try the latest nightly version? I no longer have this problem with the latest PAC-ROM (And I think there is a another fix for your XT1033 )
PS: You can also try to just remove the symlink: /system/lib/modules/wlan.ko
matttbe said:
Did you try the latest nightly version? I no longer have this problem with the latest PAC-ROM (And I think there is a another fix for your XT1033 )
PS: You can also try to just remove the symlink: /system/lib/modules/wlan.ko
Click to expand...
Click to collapse
Well, Wi-Fi still refuses to work after removing the symlink!
D'you know any other fixes? Tried lots of stuff, meself, but that is one stubborn bug!
Cheers, mate!
Mycroft-Dev said:
D'you know any other fixes? Tried lots of stuff, meself, but that is one stubborn bug!
Click to expand...
Click to collapse
No :-/
Maybe you can try to reinstall the latest nightly version of your rom (released after March 20th -- I think it's the case for C-RoM), reboot and check if the WiFi is working. If yes, don't disable it now then reinstall the latest version of Pink kernel.
But if the WiFi is still not working, it's annoying... You can reformat /system where kernel modules are installed but I think it's automatically done when installing a rom. Maybe they are not using the latest version of the kernel?
Mycroft-Dev said:
Edit: Thought I'd elaborate a bit. There's no wlan.ko in /system/lib/modules/, so I just copied the pronto_wlan.ko, renamed it to wlan.ko, repacked it and flashed it.
Click to expand...
Click to collapse
What did you mean by saying: "repacked it and flashed it"? If you flash the ROM, it will format and reinstall /system partition (correct me if it's wrong).
When I had this bug, I replaced wlan.ko symlink file by this one: pronto/pronto_wlan.ko. Then I rebooted (or I guess you can use this command if modprobe is available but it's easier to reboot : adb shell "modprobe -r wlan && modprobe wlan").
Clarification
matttbe said:
What did you mean by saying: "repacked it and flashed it"? If you flash the ROM, it will format and reinstall /system partition (correct me if it's wrong).
When I had this bug, I replaced wlan.ko symlink file by this one: pronto/pronto_wlan.ko. Then I rebooted (or I guess you can use this command if modprobe is available but it's easier to reboot : adb shell "modprobe -r wlan && modprobe wlan").
Click to expand...
Click to collapse
As in, I repacked the kernel, and then flashed it.
I'll try tweaking a bit here and there, and let you know how it goes.
And yes, I flashed the latest C-RoM.