• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Need an experts help

iFrostyy

Well-Known Member
Jan 9, 2010
131
2
Arizona
Okay so here is my problem. Yesterday i loaded evilboot.nandroid so i could OC my Droid. That part worked, but one of the "side effects" was wifi not working and sure enough that has happened to me. I searched many forums and found an adb code that i attempted to enter.

The code is below
WiFi Fix
You might also need this tiwlan_drv.ko, depending on what kernel you had prior. tiwlan_drv.ko
From a root, recovery console (su):
spacer.gif
spacer.gif
spacer.gif
spacer.gif
Code:
mount -o remount,rw /system
cp /sytem/lib/modules/tiwlan_drv.ko tiwlan_drv.ko.bak
cat /sdcard/tiwlan_drv.ko > /system/lib/modules/tiwlan_drv.ko
chmod 644 /system/lib/modules/tiwlan_drv.ko
Mount -o remount,ro /system

What happens is i get to the second line of code and it says Tiwlan_drv.ko cannot be found, or something close to that. I have NO idea what so ever to place this .ko file on my sd card so adb can access it.

I must be doing something obvious wrong. Does anyone know what i am doing wrong, if so help? Much Thanks :)
 
Well, I'm not an expert but I don't see anyone else replying to this thread. My advice to you would be to try asking this at Droidforums.net or Alldroid.org. There may be users there who can answer this for you. I'm not really familiar with that fix honestly, since the ROM I'm using already has it included AFAIK. You could always just install a ROM with the fix already in that supports OC'ing.

If it can't find the file, then it's probably not there. You did mention that it might be required. Maybe it isn't for your particular kernel version; or you need to copy a version of the file to that directory if it doesn't exist. I wish I could do better for ya though, sorry.
 
Upvote 0
Okay so here is my problem. Yesterday i loaded evilboot.nandroid so i could OC my Droid. That part worked, but one of the "side effects" was wifi not working and sure enough that has happened to me. I searched many forums and found an adb code that i attempted to enter.

The code is below
WiFi Fix
You might also need this tiwlan_drv.ko, depending on what kernel you had prior. tiwlan_drv.ko
From a root, recovery console (su):
spacer.gif
spacer.gif
spacer.gif
spacer.gif
Code:
mount -o remount,rw /system
cp /sytem/lib/modules/tiwlan_drv.ko tiwlan_drv.ko.bak
cat /sdcard/tiwlan_drv.ko > /system/lib/modules/tiwlan_drv.ko
chmod 644 /system/lib/modules/tiwlan_drv.ko
Mount -o remount,ro /system

What happens is i get to the second line of code and it says Tiwlan_drv.ko cannot be found, or something close to that. I have NO idea what so ever to place this .ko file on my sd card so adb can access it.

I must be doing something obvious wrong. Does anyone know what i am doing wrong, if so help? Much Thanks :)

The second line is basically making a copy of the tiwlan driver as a backup just in case something gets flubbed up. Apparently, this module is not on your system, so in theory you would be safe in proceeding to the next line since you can't overwrite something that isn't there.

I can't figure out why they are using the cat command on the third line instead of cp, but I would follow the rest of it as they have it.
 
Upvote 0
Okay so here is my problem. Yesterday i loaded evilboot.nandroid so i could OC my Droid. That part worked, but one of the "side effects" was wifi not working and sure enough that has happened to me. I searched many forums and found an adb code that i attempted to enter.

The code is below
WiFi Fix
You might also need this tiwlan_drv.ko, depending on what kernel you had prior. tiwlan_drv.ko
From a root, recovery console (su):
spacer.gif
spacer.gif
spacer.gif
spacer.gif
Code:
mount -o remount,rw /system
cp /sytem/lib/modules/tiwlan_drv.ko tiwlan_drv.ko.bak
cat /sdcard/tiwlan_drv.ko > /system/lib/modules/tiwlan_drv.ko
chmod 644 /system/lib/modules/tiwlan_drv.ko
Mount -o remount,ro /system

What happens is i get to the second line of code and it says Tiwlan_drv.ko cannot be found, or something close to that. I have NO idea what so ever to place this .ko file on my sd card so adb can access it.

I must be doing something obvious wrong. Does anyone know what i am doing wrong, if so help? Much Thanks :)

Try following the instructions in this post: http://androidforums.com/308488-post261.html

It's much easier.
 
Upvote 0
lol as i said, i just started using adb and have no idea what im doing half the time

Well, then, let me modify the code for you so you can follow it word for word:

mount -o remount,rw -t yaffs2 /dev/mtd/mtdblock4 /system
cat /sdcard/tiwlan_drv.ko > /system/lib/modules/tiwlan_drv.ko
chmod 644 /system/lib/modules/tiwlan_drv.ko
mount -o ro,remount -t yaffs2 /dev/mtd/mtdblock4 /system

up to you, but I like to run the following two commands afterwards

sync
reboot

but in this case, I don't think it's necessary.
 
Upvote 0
Where do i download the Wifi fix file in this post

The link is in that post. Download that file and then transfer it to your sd card.

As for cat vs. cp, use what they have. I was just thinking out loud about why they are using that command. cat basically dumps the contents of a file, the > is a redirect. So basically, you are dumping the contents of the file to the other file if that makes sense. Basically what copy does.

Please note that I am not a droid expert, but I do know linux.

The other instructions on that site seem like a more "graphical" way to do the same thing that the console commands do. The mount command does seem wrong though as it doesn't specify what filesystem is supposed to be mounted.
 
Upvote 0
Well, then, let me modify the code for you so you can follow it word for word:

mount -o remount,rw -t yaffs2 /dev/mtd/mtdblock4 /system
cat /sdcard/tiwlan_drv.ko > /system/lib/modules/tiwlan_drv.ko
chmod 644 /system/lib/modules/tiwlan_drv.ko
mount -o ro,remount -t yaffs2 /dev/mtd/mtdblock4 /system

up to you, but I like to run the following two commands afterwards

sync
reboot

but in this case, I don't think it's necessary.

ah - no wonder the second command was failing - the first command was actually failing. Once you do this, I think the line backing up the old driver will work if you still want to do that.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones