Related
Solved: See post #4
Obviously for those with a modded kernel and broken MAC.
If we knew the real MAC address for the specific device, couldn't we set the module's MAC to our real one?
Or just a MAC spoofer? But more like an un-spoofer..
Im looking for the answer as well...
I have been through every oc kernel so far, only stock/insmod seems to keep the mac addy. This might be the best option until a proper solution is found, if anyone has an idea on how to insmod on startup that would be good.
I also tried ipconfig eth0 hw ether, but got an invalid argument.
tijuanacartel said:
Im looking for the answer as well...
I have been through every oc kernel so far, only stock/insmod seems to keep the mac addy. This might be the best option until a proper solution is found, if anyone has an idea on how to insmod on startup that would be good.
I also tried ipconfig eth0 hw ether, but got an invalid argument.
Click to expand...
Click to collapse
Can't you setup a script that insmod's and set that up to run on startup?
I'm sure there is somewhere in the ROM where a script can be added for it to run on boot, or at least a boot time Android one...
init.rc perhaps?
Okay i found it... there is a file called /bootcomplete.rc that calls
/system/xbin/busybox run-parts /system/etc/init.d
so, on stock kernel with oc-dz.ko:
Code:
# cd /system/etc/
# mkdir init.d
# cd init.d
# echo insmod /system/lib/modules/oc-dz.ko pll2_l_val=74 > overclock
# chmod 0755 overclock
will load the module at boot. wifi mac is correct
Okay I've been using this for most of the day and just had a hard crash on level 99 of robo defence(F7U13!) Looking into it, it seems this kernel module only seems to step up from 700 straight to 1497! I'm disabling it for now.
Apparently cyanogen is quite a lot faster than the stock Sense, even without overclock. As soon as it hits RC2, I'm gonna give it a shot.
tijuanacartel said:
Okay i found it... there is a file called /bootcomplete.rc that calls
/system/xbin/busybox run-parts /system/etc/init.d
so, on stock kernel with oc-dz.ko:
Code:
# cd /system/etc/
# mkdir init.d
# cd init.d
# echo insmod /system/lib/modules/oc-dz.ko pll2_l_val=74 > overclock
# chmod 0755 overclock
will load the module at boot. wifi mac is correct
Click to expand...
Click to collapse
EDIT
Trying from a Terminal I get: "undable to chmod overclock: Read-only file system"
I tryed from ADB and all commands were accepted, file was created and chmod processed, but after reboot the OC module is not loaded
What ROM are your using ??
Obviously you should remount your system partition rw
tijuanacartel said:
Obviously you should remount your system partition rw
Click to expand...
Click to collapse
OMFG I really need to sleep a little
What ROM are you using ?? Have you changed the Kernel ??
at the time i was using stock.. currently using virtuous from rom manager
I've been strugglin with that command line for days, trying to find a way t make it stick from boot (and not typing it from a console), I finaly made it today via updater script (update.zip).
I also included the stock radio module and the stock kernel (rooted) to the package, so it can serve as a "rescue kit" for other users stuck with the MAC WiFi shizz. I shared it @ devs forum.
ok so to try and not sound redundant ( prob not gonna happen) i had the cm7 release running perfectly no issues ... then i decided to install faux's OC UV kernel which was great ... everything was speedy and working fine up until last night where my phone froze and i had to pull the battery ... after once booted up everytime id try and turn on wifi it wouldnt and i would just recieve a message that says error ... tried rebooting , wiping and reflashing .. tried flashing royals new GB rom exactly the way the instructions said too ... still nothing ... anybody know what might be causing this issue ... ive tried 3 diff roms with different kernels and still no wifi ... could this be hardware ????
bump.
Ive tried wiping everything including /system and davlik and still cant get the wifi to work ... i was told that i might have a bad module so i pushed on from the kernel i was currently using and still nothing ... anybody have any type of advice ?
bump .... im willing to donate !
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
faux123 said:
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
Click to expand...
Click to collapse
Faux my name is neidlinger and I get assfucked by you and other homos.
faux123 said:
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
Click to expand...
Click to collapse
Nice to get help from the master himself
Sent from my HTC Glaciee using XDA Premium App
Double post by mistake. my bad
faux123 said:
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
Click to expand...
Click to collapse
Sigh ... no luck. I used your GB kernel with the Royal Ginger 1.6 rom ... rafyvitto thinks it might be my hardware so i was prob gonna have somebody take a look at it sometime this week .. what a bad one !
For what ever reason if i am at home, i have to use static ip address to get on my router, no other devices on the network have this issue, including my old phone. its probably not related to your problem but worth trying.
[via XDA premium]
Is it possible to modify init.vedana.rc? I see some possibilities for tweaking in there...
maybe? in the prior devices i've used, init.rc usually resets itself on bootup.
minotauri said:
maybe? in the prior devices i've used, init.rc usually resets itself on bootup.
Click to expand...
Click to collapse
Yes init.rc seems to "reset" at startup.
Do you know any ways around that?
Or another way to insmod a kernel module at startup?
Cheers
lallare said:
Yes init.rc seems to "reset" at startup.
Do you know any ways around that?
Or another way to insmod a kernel module at startup?
Cheers
Click to expand...
Click to collapse
init.rc is in the boot.img, there's no way to mod this file atm cause we can't flash a new boot.
You may use /system/etc/install-recovery.sh to insmod your module(s).
vache said:
init.rc is in the boot.img, there's no way to mod this file atm cause we can't flash a new boot.
You may use /system/etc/install-recovery.sh to insmod your module(s).
Click to expand...
Click to collapse
Thanks for a fast reply!
No such file there, should I just add it?
init.goldfish.sh is there, but I don't see it trying to execute the insmod I added there.
The file is not located in root (where there is the init.rc), you have to navigate to /system/etc.
vache said:
The file is not located in root (where there is the init.rc), you have to navigate to /system/etc.
Click to expand...
Click to collapse
Yes, thanks. Still not there..
Rooted Iconia A500
/system/etc # ls
NOTICE.html.gz
apns-conf.xml
asound.conf
bluetooth
bootsound.wav
dbus.conf
dhcpcd
event-log-tags
firmware
gps
gps.conf
hosts
init.goldfish.sh
media_profiles.xml
nvram.txt
permissions
ppp
security
updatecmds
vold.fstab
wifi
/system/etc #
So create it and chmod it to 4755.
Try to insmod some module with it. (you can check with "lsmod")
vache said:
So create it and chmod it to 4755.
Try to insmod some module with it. (you can check with "lsmod")
Click to expand...
Click to collapse
Works perfectly!
Thanks!
very good people, can you explane for dumbs how to insmod in boot. It somewhere close but not cleare.
Thanks
I'd like to get CIFS working on my Tab 10.1. Has anyone got it working or have the module that will work for me?
Thanks!
muzicman82 said:
I'd like to get CIFS working on my Tab 10.1. Has anyone got it working or have the module that will work for me?
Thanks!
Click to expand...
Click to collapse
i could build this for you.
pull me:
/proc/config.gz
and
a uname -a output.
adb pull /proc/config.gz .
adb shell uname -a > my_uname
pershoot said:
i could build this for you.
pull me:
/proc/config.gz
and
a uname -a output.
adb pull /proc/config.gz .
adb shell uname -a > my_uname
Click to expand...
Click to collapse
Output says uname is not defined? Files are attached (zipped).
Thanks for the help!
I believe all I should have to do once the cifs.ko is built is put it in a folder (such as /system/lib/modules/) and tell CIFS Manager to load it?
muzicman82 said:
Output says uname is not defined? Files are attached (zipped).
Thanks for the help!
I believe all I should have to do once the cifs.ko is built is put it in a folder (such as /system/lib/modules/) and tell CIFS Manager to load it?
Click to expand...
Click to collapse
ah yes thats right. no uname in stock.
could you pls go to system settings or dload an app to get it?
you would put it in /data/local/modules (for ex) and let cifs manager load it in.
pershoot said:
ah yes thats right. no uname in stock.
could you pls go to system settings or dload an app to get it?
you would put it in /data/local/modules (for ex) and let cifs manager load it in.
Click to expand...
Click to collapse
Ok, you lost me.. do I need to set a uname, or is it actually there somewhere just not being reported?
Where would I find it in System Settings?
muzicman82 said:
Ok, you lost me.. do I need to set a uname, or is it actually there somewhere just not being reported?
Where would I find it in System Settings?
Click to expand...
Click to collapse
you cant do a uname. your stock retail does not come with the functionality.
get this to me some other way. either through system settings or even through setcpu (that will report that whole string).
pershoot said:
you cant do a uname. your stock retail does not come with the functionality.
get this to me some other way. either through system settings or even through setcpu (that will report that whole string).
Click to expand...
Click to collapse
Attached is the full output from "Under the Hood" app.
The Settings -> About tablet tab has the following:
Kernel - 2.6.36.3 | [email protected] #1
Build Number - HMJ37.UEKF3 P7510UEKF3
If none of those are it... redirect me.
Thanks!
muzicman82 said:
Attached is the full output from "Under the Hood" app.
The Settings -> About tablet tab has the following:
Kernel - 2.6.36.3 | [email protected] #1
Build Number - HMJ37.UEKF3 P7510UEKF3
If none of those are it... redirect me.
Thanks!
Click to expand...
Click to collapse
install setcpu and go to about, device, and under kernel, paste that whole output for me.
pershoot said:
install setcpu and go to about, device, and under kernel, paste that whole output for me.
Click to expand...
Click to collapse
"Linux version 2.6.36.3 ([email protected]) (gcc version 4.4.3 (GCC)) #1 SMP PREEMPT Mon Jun 6 08:59:10 KST 2011"
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
unzip it.
adb shell mkdir /data/local/modules
adb push cifs.ko /data/local/modules
adb shell chmod 755 /data/local/modules
adb shell chmod 644 /data/local/modules/cifs.ko
adb shell insmod /data/local/modules/cifs.ko
adb shell dmesg <-- after running this, look at the end of the log, do you see it loaded in?
adb shell lsmod <-- if the above is true, do you see it in memory?
pershoot said:
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
unzip it.
adb shell mkdir /data/local/modules
adb push cifs.ko /data/local/modules
adb shell chmod 755 /data/local/modules
adb shell chmod 644 /data/local/modules/cifs.ko
adb shell insmod /data/local/modules/cifs.ko
adb shell dmesg <-- after running this, look at the end of the log, do you see it loaded in?
adb shell lsmod <-- if the above is true, do you see it in memory?
Click to expand...
Click to collapse
On:
Code:
adb shell insmod /data/local/modules/cifs.ko
I get:
Code:
insmod: init_module '/data/local/modules/cifs.ko' failed (Operation not permitted)
muzicman82 said:
On:
Code:
adb shell insmod /data/local/modules/cifs.ko
I get:
Code:
insmod: init_module '/data/local/modules/cifs.ko' failed (Operation not permitted)
Click to expand...
Click to collapse
your not allowed to insmod.
youll need root access.
if you have an unlocked bootloader, flash in CWM, then push to your system at the bare minimum, su and superuser, then back to nvlfash and put back your stock recovery.
if you dont have an unlocked bootloader, then youll have to intrusively gain root.
pershoot said:
your not allowed to insmod.
youll need root access.
if you have an unlocked bootloader, flash in CWM, then push to your system at the bare minimum, su and superuser, then back to nvlfash and put back your stock recovery.
if you dont have an unlocked bootloader, then youll have to intrusively gain root.
Click to expand...
Click to collapse
what you can try is get CIFS manager, and load it in via that app. it may take.
try it, and see if it works out.
Finally, site is back up.
Ok, if I use CIFS Manager, tell it to load via insmod and set the correct path, kill the program, launch the program, then the end of dmesg reads:
Code:
<3>[ 160.853751] cifs: version magic '2.6.36.3-58 SMP preempt mod_unload ARMv7 ' should be '2.6.36.3 SMP preempt mod_unload ARMv7 '
If I do lsmod, I get:
Code:
dhd 225862 0 - Live 0xbf000000
Lastly, if I try to mount a SMB share, I get "No such device".
I thought I was already rooted... Or at least the superuser app works. And I am on CWM. Is there a reason to go back to stock?
Ill change the vermagic string in the module.
Ill repost tonight.
if you are using the kernal from pershoot, cifs manager simply will work with the module ... i was told so few days ago and i am using it. now .
see the link below
http://forum.xda-developers.com/showthread.php?t=1141307
Sent from my SHW-M110S using XDA App
rainby said:
if you are using the kernal from pershoot, cifs manager simply will work with the module ... i was told so few days ago and i am using it. now .
see the link below
http://forum.xda-developers.com/showthread.php?t=1141307
Sent from my SHW-M110S using XDA App
Click to expand...
Click to collapse
I'm just on stock kernel. Don't really want to overclock... I like my battery life.
unless i am wrong, i believe after flash the kernel..... if you do not install setcpu and overclock by using it, it runs at 1Ghz.
kernel flash also won't erase whatever installed on the 10.1 ..... just in case you will worry that as i originally did ...
muzicman82 said:
I'm just on stock kernel. Don't really want to overclock... I like my battery life.
Click to expand...
Click to collapse
pershoot said:
Ill change the vermagic string in the module.
Ill repost tonight.
Click to expand...
Click to collapse
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
rainby said:
unless i am wrong, i believe after flash the kernel..... if you do not install setcpu and overclock by using it, it runs at 1Ghz.
kernel flash also won't erase whatever installed on the 10.1 ..... just in case you will worry that as i originally did ...
Click to expand...
Click to collapse
But you can flash the kernel only on tabs with an unlocked bootloader, isn't it?
So if your bootloader is locked you need cifs.ko for the stock kernel.
Hi all i need someone who help....let's start....
I have custom ROM FroyoBread.v023b Final from doixanh.... 2.2.9
I move ax8mt.ko on sdcard... unplugged usb... open root explorer mount R/W.
copy ax8mt.ko and move to system/lib/modules and paste . ok then i open Terminal emulator wrote "su" and "insmod /system/lib/modules/ax8mt.ko"
then i open hw.config with text editor put in cfg "insmod /system/lib/modules/ax8mt.ko" and reboot after reboot didn't work... i don't know what is fu*king problem and i really need this MT ... pls boy's help me .... :/
You forgot to change permissions to
xx
x
x
And in hw_config.sh you just add this line at the beggining.
where i forgot
x
x
xx?
and i don't know what u talking about hw_config xD
You change permissions to
xx (2x)
x (1x)
x (1x)
In system/etc there is a file called hw_config.sh.. long press on it, open with text editor and add this line "insmod system/lib/modules/ax8mt.ko" (without the ") at the beginning.. then save it and reboot.
i do this but nothing change
Do you have synaptics digitizer or cypress digitizer?
hmm i'm newbie so how i can know what i have omfg :S i'm really sickest person this forum
fenixcro said:
hmm i'm newbie so how i can know what i have omfg :S i'm really sickest person this forum
Click to expand...
Click to collapse
Haha don't worry we were all n00bs once
Go here: http://forum.xda-developers.com/showthread.php?t=1004740
You will have to do a bit of reading but just read through the first post and try to install that module let me know how u get on
ok if i don't have cypress i don't have MT? omfg i can't play PES2011 :// xD
P.S. any thread how install cypress or this is impossible?
fenixcro said:
ok if i don't have cypress i don't have MT? omfg i can't play PES2011 :// xD
P.S. any thread how install cypress or this is impossible?
Click to expand...
Click to collapse
no you can still have MT (its actually dual touch but w/e )
go to the link i gave u in my last post, download v007 and follow the installation instructions in the thread... (copy to /system/lib/modules, change permissions, add line "insmod /system/lib/modules/x8gesture.ko" to hw_config.sh and save, reboot and it should be there. (you might want to double check the installation instructions :L )
i'm really noob or what this didn't work omfg -.-'
fenixcro said:
i'm really noob or what this didn't work omfg -.-'
Click to expand...
Click to collapse
I remember it took ages for me to get dual-touch set up and now it seems so simple ok i'll help you so run me through what u did
ok ... i download x8gesture.ko put in /system/lib/modules/ paste...then i open hw_config wrote insmod /system/lib/modules/x8gesture.ko
then i open terminal emulator to see did it work wrote
"su"
"insmod /system/lib/modules/x8gesture.ko"
then he show me error -12 i think and i almost hit phone on wall... :S
edit:i try on Glow Hockey 2 and didn't work with one finger i move 1 and 2 players in same place -.-' :S i hate this
fenixcro said:
ok ... i download x8gesture.ko put in /system/lib/modules/ paste...then i open hw_config wrote insmod /system/lib/modules/x8gesture.ko
then i open terminal emulator to see did it work wrote
"su"
"insmod /system/lib/modules/x8gesture.ko"
then he show me error -12 i think and i almost hit phone on wall... :S
edit:i try on Glow Hockey 2 and didn't work with one finger i move 1 and 2 players in same place -.-' :S i hate this
Click to expand...
Click to collapse
O.K First go to terminal emulator and type: dmesg | grep "cyttsp-i2c"
If you get something like this: <6>[ 4.185259] cyttsp_i2c_probe: Successful registration cyttsp-i2c
Then go to solution no.1, otherwise go to no.2, if your not sure try both.
Solution 1.
Download ax8mt (whatever version you want) and copy it to /system/lib/modules
Then change permissions to....
Add line: insmod /system/lib/modules/ax8mt.ko to hw_config, save and make sure permissions are correct.
Reboot phone
download multitouch visualiser off market and try using two fingers.
if it doesnt work type "dmesg | grep ax8mt" in terminal emulator and it should say it is loaded, if not go to solution 2.
Solution 2.
copy the x8gesture.ko file to /system/lib/modules
Then change permissions
Add line: insmod /system/lib/modules/x8gesture.ko to hw_config.sh
Save and exit, make sure the permissions are correct
Reboot the phone.
Try in multitouch visualiser using two fingers
if it doesnt work type "dmesg | grep x8gesture" in terminal emulator and it should say it is loaded
i'm on the phone dont know where is thank button xd i will try and i make ss of this but one more qstn if i have now pinch2zoom did i must delete some file?
what happened when u typed dmesg | grep "cyttsp-i2c" in terminal emualtor
i type this and nothing after this :/
Type "su" and then press enter
then type dmesg | grep "cyttsp-i2c"
i'm not rtrd xD i type su and dmesg in new line nothing :/ p. s. have fb for help?
damn ok :L have u tried both of my solutions?
try typing just the word dmesg in terminal emulatior