compiled a kernel but have problem with wifi-tethering - G1 Android Development

hello!
i compiled my own kernel using the default .config from my device. i just added CONFIG_NETFILTER=y and CONFIG_IP_NF_IPTABLES=y to enable wifi-tethering.
if i start tethering i get a connection, but it is only local and i have'nt a connection to the web.
does someone know why? do i have to enable more than CONFIG_NETFILTER and CONFIG_IP_NF_IPTABLES?
any help would be great!

frug said:
hello!
i compiled my own kernel using the default .config from my device. i just added CONFIG_NETFILTER=y and CONFIG_IP_NF_IPTABLES=y to enable wifi-tethering.
if i start tethering i get a connection, but it is only local and i have'nt a connection to the web.
does someone know why? do i have to enable more than CONFIG_NETFILTER and CONFIG_IP_NF_IPTABLES?
any help would be great!
Click to expand...
Click to collapse
I would use this .config (look through it for any adjustments you want to make): http://android-wifi-tether.googlecode.com/files/adp-1_6-kernel-config.gz
Got the info from: http://code.google.com/p/android-wifi-tether/wiki/ADP16KernelUpdate

wow, thanks for the quick reply! and that .config is default with enabled netfilter?

frug said:
wow, thanks for the quick reply! and that .config is default with enabled netfilter?
Click to expand...
Click to collapse
ya - that should have all the config you need for wifi-tether

kernel compiled again. everything works now. thanks!

frug said:
kernel compiled again. everything works now. thanks!
Click to expand...
Click to collapse
glad to help!

Related

No help in the general area... WiFi Tether Question

I did my searching here and google and cant seem to find out how to get the WEP 128bit Encryption to work on my MT3G. I have enabled it in the settings and it still shows unsecure on my laptop when connecting.
Phone info:
Firmware - 1.5
Baseband - 62.50S.20.17U_2.22.19.26I
Kernal - 2.6.29-drizzy-drake [email protected] #33
ROM - MyHero2.2
Build - 3.03.703.3 Over
Any help would be great!
Thank you in advance.
But work or not? Do u try getting download any app to wifi security in the Market?
fabioccoelho said:
But work or not? Do u try getting download any app to wifi security in the Market?
Click to expand...
Click to collapse
I have not. This featured has worked on previos ROMs and now that I have found a ROM that is fast and suits me, it does not work. I'm sure it has something to do with the IPTables or wpa_supplicant file, but I do not know enough about that to fix it. Hints why Im asking for help.
zeroplace said:
I have not. This featured has worked on previos ROMs and now that I have found a ROM that is fast and suits me, it does not work. I'm sure it has something to do with the IPTables or wpa_supplicant file, but I do not know enough about that to fix it. Hints why Im asking for help.
Click to expand...
Click to collapse
so, you are using that "myhero"-rom ... right? which version of wpa_supplicant is installed? type "wpa_supplicant -v" in a console. i bet it's v0.5.10!
harry_m said:
so, you are using that "myhero"-rom ... right? which version of wpa_supplicant is installed? type "wpa_supplicant -v" in a console. i bet it's v0.5.10!
Click to expand...
Click to collapse
I am running the MyHero2.2 and you are correct... the wpa_supplicant version is v0.5.10. Should I have another version? How would one get it and install it?
zeroplace said:
I am running the MyHero2.2 and you are correct... the wpa_supplicant version is v0.5.10. Should I have another version? How would one get it and install it?
Click to expand...
Click to collapse
wep-encryption does not work on ANY hero-rom. see here for instance: http://code.google.com/p/android-wifi-tether/issues/detail?id=194#c39
if you want wep-encryption take another rom for your sapphire. this is a rom-related issue:
http://code.google.com/p/android-wifi-tether/issues/detail?id=166#c14
harry_m said:
wep-encryption does not work on ANY hero-rom. see here for instance: http://code.google.com/p/android-wifi-tether/issues/detail?id=194#c39
if you want wep-encryption take another rom for your sapphire. this is a rom-related issue:
http://code.google.com/p/android-wifi-tether/issues/detail?id=166#c14
Click to expand...
Click to collapse
I will look at that Harry. Thanks. I have had the encryption working on a few Hero ROMS before. I may just have to revert back to one of the older ones til a new one comes out. I like the look and feel of the Hero on my MT3G over the Normal Android. Its not as boring.

[KERNEL] "CyanogenMod/lge-kernel-msm7x27" 2.6.35.10 with improved touchscreen driver

[KERNEL] "CyanogenMod/lge-kernel-msm7x27" 2.6.35.10 with improved touchscreen driver
Hi there!
Remember my touchscreen "fix" a long time ago?
Yes- it's been a long time but now I got Line Runner and I was unable to play it, so...
I wrote the "fix" down again to the newest Cyanogenmod Kernel.
That means:
- I took the source from git://github.com/CyanogenMod/lge-kernel-msm7x27.git
- rewrote the touchscreen driver
- made the default cyanogenmod thunderg config
- made the kernel
I use it with CM nightly and I think that Line Runner runs better now.
What does it do?
I "purged" the driver code (look here) and lowered the touchscreen scan rate to 50Hz (seems sufficient to me). So the cpu has more time to do other things.
SOURCE: Github link
Der_Caveman said:
Hi there!
Remember my touchscreen "fix" a long time ago?
Yes- it's been a long time but now I got Line Runner and I was unable to play it, so...
I wrote the "fix" down again to the newest Cyanogenmod Kernel.
That means:
- I took the source from git://github.com/CyanogenMod/lge-kernel-msm7x27.git
- rewrote the touchscreen driver
- made the default cyanogenmod thunderg config
- made the kernel
I use it with CM nightly and I think that Line Runner runs better now.
How do I send the patch to the CyanogenMod/lge-kernel-msm7x27 maintainers?
Click to expand...
Click to collapse
Wow your fix was legendary, can you please share the code of your driver? Thanks
Roqu3 said:
can you please share the code of your driver? Thanks
Click to expand...
Click to collapse
I like to send the patch to the cyanogenmod maintainers- but I don't know how.
They use Gerrit, but I can't find lge-kernel-msm7x27 in Gerrit.
Maybe via github
Der_Caveman said:
I like to send the patch to the cyanogenmod maintainers- but I don't know how.
They use Gerrit, but I can't find lge-kernel-msm7x27 in Gerrit.
Click to expand...
Click to collapse
Can you do a pull request to their github? Can you share the .diff of your code so I could test it?
So... What does this fix exactly?
franciscofranco said:
Can you do a pull request to their github?
Click to expand...
Click to collapse
Aah- I see. I was not using github.
Now I have forked it in my github account and made a pull request.
I will edit my first post to point to my github account.
Bec de Xorbin said:
So... What does this fix exactly?
Click to expand...
Click to collapse
Oh, I'll edit the first post.
Der_Caveman said:
Aah- I see. I was not using github.
Now I have forked it in my github account and made a pull request.
I will edit my first post to point to my github account.
Click to expand...
Click to collapse
Thanks, just included it. You'll get tons of reviews later today when I release my kernel with your fix
franciscofranco said:
Thanks, just included it. You'll get tons of reviews later today when I release my kernel with your fix
Click to expand...
Click to collapse
Hottest news of the day
Jaani said:
Hottest news of the day
Click to expand...
Click to collapse
I think the best news xD So happy that Franco is back
What does "touchscreen fix" do? Axis inversion or what is it?
Sent from my LG-P500
vlt96 said:
What does "touchscreen fix" do? Axis inversion or what is it?
Click to expand...
Click to collapse
Just a bit of code purging to unburden the cpu while touch polling.
No inversion fix (buy a new phone ).
Would be great if you keep developing on cm7 kernel
Der_Caveman said:
Just a bit of code purging to unburden the cpu while touch polling.
No inversion fix (buy a new phone ).
Click to expand...
Click to collapse
Chill just asking....
Sent from my LG-P500
vlt96 said:
Chill just asking....
Click to expand...
Click to collapse
Oh, no offense
My anger only affects LG
Hey I just flashed the kernel but I wifi error??
Sent from my LG-P500 using xda premium
Ecuadude said:
Hey I just flashed the kernel but I wifi error?
Click to expand...
Click to collapse
WiFi works here.
Way better than other touch fix but yes wifi gives error, maybe you didn't put the correct module on the zip
I'll try to download n flash again
Sent from my LG-P500 using xda premium

[MOD] Insecure Boot.img

This is for the Verizon Galaxy S5 Dev. Edition ONLY!!!
SM-G900V
Flash at your own risk!!!!
This mod will flash an insecure boot.img. Allowing you to ADB with root.
1. Download
2. Create back up or have Odin rescue files available.
3. Reboot Recovery
4. Flash sv_deved_insecureboot.zip
(Not signed so you will need to toggle signature verification)
Sent from my SM-G900V using Tapatalk
Does this also set selinux to permissive? Thanks!
jhanson said:
Does this also set selinux to permissive? Thanks!
Click to expand...
Click to collapse
No it does not. But I can create one that does.
Sent from my SM-G900V using Tapatalk
Versatile1 said:
No it does not. But I can create one that does.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
Please! I really need permissive for the ability to override /dev/input for my appradio. I would greatly appreciate it! Thanks!
I can not add it in, all the usual methods do not work. Only way I know is to flash the kernel posted in Original Development. I'm not good working with kernels or I would try adding the modification.
Sent from my SM-G900V using Tapatalk
Versatile1 said:
I can not add it in, all the usual methods do not work. Only way I know is to flash the kernel posted in Original Development. I'm not good working with kernels or I would try adding the modification.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
No problem, thanks for the effort anyway. I'm currently running "the arkenstone", which sets selinux to permissive, I was just hoping to have a more stock kernel. Thanks again!
CD Installer
Any chance of modding the boot.img to remove Verizon's CD Installer that pops up when you plug into USB?
Thanks great job on this!!!
EMSpilot said:
Any chance of modding the boot.img to remove Verizon's CD Installer that pops up when you plug into USB?
Thanks great job on this!!!
Click to expand...
Click to collapse
You can do this without kernel mod.
First navigate to /efs/carrier/HiddenMenu and change from OFF to ON save and exit.
Next you will want to navigate to /system/etc/autorun.iso and either rename *.bak or delete it.
Now reboot
Finally enter into your dialer *#0808#
Switch to MTP hit OK
Navigate to developer options and enable USB debugging if applicable.
All should be good.
Hmm... seems this doesn't stick through reboot. I will look into the kernel for you.
Versatile1 said:
You can do this without kernel mod.
First navigate to /system/efs/carrier/HiddenMenu and change from OFF to ON save and exit.
Next you will want to navigate to /system/etc/autorun.iso and either rename *.bak or delete it.
Now reboot
Finally enter into your dialer *#0808#
Switch to MTP hit OK
Enter once again into dialer *#0808# and switch back to MTP + ADB then Reboot
All should be good.
Click to expand...
Click to collapse
There is no /system/efs folder on a Verizon S5
EMSpilot said:
There is no /system/efs folder on a Verizon S5
Click to expand...
Click to collapse
Good catch!
/efs
Sent from my SM-G900V using Tapatalk
boot.img
Versatile1 said:
Good catch!
/efs
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
Look in the ramdisk file name "init.qcom.usb.sh
I believe line 116
EMSpilot said:
Look in the ramdisk file name "init.qcom.usb.sh
I believe line 116
Click to expand...
Click to collapse
I commented out that section and changed default.prop from mass_storage to mtp,adb still no luck. I will look at the source tomorrow. I really believe it's in a *jar
Sent from my SM-G900V using Tapatalk
We got this fixed if anyone is wondering. http://forum.xda-developers.com/showthread.php?t=2831291
Sent from my SM-G900V using Tapatalk
jhanson said:
Please! I really need permissive for the ability to override /dev/input for my appradio. I would greatly appreciate it! Thanks!
Click to expand...
Click to collapse
Wondering if you ever got permissive enabled to work with your app radio?
I have been working on this most of the week.
Have the S5 std edition not the dev ed. What phone are you using?
Thanks
jp712 said:
Wondering if you ever got permissive enabled to work with your app radio?
I have been working on this most of the week.
Have the S5 std edition not the dev ed. What phone are you using?
Thanks
Click to expand...
Click to collapse
Yes, I got it to permissive, but I've got the dev edition, so it's easy (and possible) to change the kernel. I know someone in the forums is working on permissive without kernel change, but last I read it's not completed yet. Best of luck!
jhanson said:
Yes, I got it to permissive, but I've got the dev edition, so it's easy (and possible) to change the kernel. I know someone in the forums is working on permissive without kernel change, but last I read it's not completed yet. Best of luck!
Click to expand...
Click to collapse
Gotcha, Thanks! Im figuring out the kernel stuff. Have been flashing custom roms for years never changed the kernels.
I was under the impression that you could just flash the .zip with safestrap on an std version?
I tried that , never saw the kernel actually change. I thought I was doing something wrong. Your reply leads me to think that changing the kernel on the stock S5 isn't exactly feasible yet?
Thanks!

Deleted

Deleted.
What does this thing called cluster plug provides?
Sent from my XT1562 using XDA-Developers mobile app
pijes said:
What does this thing called cluster plug provides?
Sent from my XT1562 using XDA-Developers mobile app
Click to expand...
Click to collapse
It disables the little cores and only enables them when the big cores become overloaded. On stock rom it gives extra smoothness because it use the big cores most of the time.In cm roms its enabled by default. Sorry, i forgot to explain
Great work mate. Could you please explain that init.d stuff a little - I'm on stock rom/kernel and haven't got init.d folder so I assumed it's simply not supported, but when I played with the rom in Superr's Kitchen it was saying that init.d is enebled in the kernel by default. It's a bit confusing - does the stock rom have this support by default?
@Sickaxis79
I just found there's no cluster_plug in my /sys/module...
minimale_ldz said:
Great work mate. Could you please explain that init.d stuff a little - I'm on stock rom/kernel and haven't got init.d folder so I assumed it's simply not supported, but when I played with the rom in Superr's Kitchen it was saying that init.d is enebled in the kernel by default. It's a bit confusing - does the stock rom have this support by default?
Click to expand...
Click to collapse
You can create the init.d folder using a file browser if its missing. Im also using stock rom and it works. Im using a custom kernel, but it also works with stock kernel.
Are you sure you are missing the cluster_plug folder? Im using stock eu 6.0.1.
Its located in /sys/module/cluster_plug
Sickaxis79 said:
]
Are you sure you missing the cluster_plug folder? Im using stock eu 6.0.1.
Click to expand...
Click to collapse
I found Kernel Adiutor can emulate init.d, so it should't be a problem to execute the scripts, but anyway cluster_plug is missing. I'm on XDRom which is just debloated EU 6.0.1. I'm wondering if it's possible that debloat could actually be responsible for this
minimale_ldz said:
I found Kernel Adiutor can emulate init.d, so it should't be a problem to execute the scripts, but anyway cluster_plug is missing. I'm on XDRom which is just debloated EU 6.0.1. I'm wondering if it's possible that debloat could actually be responsible for this
Click to expand...
Click to collapse
Have you checked sys/module/cluster_plug?
Sickaxis79 said:
Have you checked sys/module/cluster_plug?
Click to expand...
Click to collapse
Yes. No cluster_plug folder at all in /sys/module (see screenshot in my previous post). Weird
minimale_ldz said:
Yes. No cluster_plug folder at all in /sys/module (see screenshot in my previous post). Weird
Click to expand...
Click to collapse
Yes thats weird, but maybe when you flash squids kernel this module is/can be added.
Sickaxis79 said:
Yes thats weird, but maybe when you flash squids kernel this module is/can be added.
Click to expand...
Click to collapse
That could actually be the case as clusterplug is listed in Squid's kernel features. I guess it means it's not used in stock one
minimale_ldz said:
That could actually be the case as clusterplug is listed in Squid's kernel features. I guess it means it's not used in stock one
Click to expand...
Click to collapse
Strange yes and now i also start to doubt after flashing so many kernels and roms. Strange thing is it worked with all the kernels and roms i tried. Im now using latest coffee kernel with cluster_plug enabled and its working.
Sickaxis79 said:
Strange yes and now i also start to doubt after flashing so many kernels and roms. Strange thing is it worked with all the kernels and roms i tried. Im now using latest coffee kernel with cluster_plug enabled and its working.
Click to expand...
Click to collapse
Well, maybe the time comes to try Squid kernel
What about those other scripts from power users thread, ghostpepper and ghostbuster?
ViperX85 said:
What about those other scripts from power users thread, ghostpepper and ghostbuster?
Click to expand...
Click to collapse
Same question here. Do you plan to upload your scripts again?
minimale_ldz said:
Same question here. Do you plan to upload your scripts again?
Click to expand...
Click to collapse
Sure, but then i saw phoenix kernel released a new msm hotplug kernel and was thinking to try to create 1 script that is compatible and work with cluster- /msm- or no hotplug at all together, instead of several scripts. Dont know if it gonna work but it can never hurt trying.
Sickaxis79 said:
Sure, but then i saw phoenix kernel released a new msm hotplug kernel and was thinking to try to create 1 script that is compatible and work with cluster- /msm- or no hotplug at all together, instead of several scripts. Dont know if it gonna work but it can never hurt trying.
Click to expand...
Click to collapse
I can confirm cluster_plug is present after flashing Squid kernel. Wish your post.boot script was there for oc Squid
minimale_ldz said:
I can confirm cluster_plug is present after flashing Squid kernel. Wish your post.boot script was there for oc Squid
Click to expand...
Click to collapse
I Shall post the post_boot scripts tomorrow again since most asking for a permanent solution without launching the scripts manually after the phone booted. And thanks for confirming cluster_plug was added after flashing squid kernel. Will update the thread a little.
minimale_ldz said:
That could actually be the case as clusterplug is listed in Squid's kernel features. I guess it means it's not used in stock one
Click to expand...
Click to collapse
Perhaps you could use this tool to enable init.d on stock kernel - http://forum.xda-developers.com/and...ript-zip-init-d-enabler-stock-kernel-t3347724
you still need custom recovery though, to flash the zip

StormBreaker Kernel [4.4.x] [RMX1801] [Q]

It's dead​
reserved
reserved 2
Good work mate :good: keep it up
whats the difference between the 2?
i tried this out the only glitch i faced is that the fingerprint option goes bonkers and i couldent set a finger print at all. i tried this out on the stock rom and i have to say it made it run really smoothly
scottdroolboyswinden said:
i tried this out the only glitch i faced is that the fingerprint option goes bonkers and i couldent set a finger print at all. i tried this out on the stock rom and i have to say it made it run really smoothly
Click to expand...
Click to collapse
Try flashing permissiver it may fix fingerprint
can i get the kernel source you are using
Awesome kernel for perfect ROM (Stag OS). However, I'd like to report that latest kernel v1.7 has issue with OTG. It works fine on kernel v1.6.
Fingerprint not working. Sir can you please explain how to flash permissiver.
Baibhab34 said:
Try flashing permissiver it may fix fingerprint
Click to expand...
Click to collapse
.:good::good::good:
---------- Post added at 04:57 PM ---------- Previous post was at 04:43 PM ----------
Fingerprint fixed.. Thank you sir..
Nandsha said:
Awesome kernel for perfect ROM (Stag OS). However, I'd like to report that latest kernel v1.7 has issue with OTG. It works fine on kernel v1.6.
Click to expand...
Click to collapse
Ok so can you attach a dmesg. My friend will look into that.
Steps.
1) install terminal emulator or termux
2) type `su` and give root permissions
3) then type ` dmesg > /sdcard/dmesg.txt`
Send that dmesg.txt from your internal storage.
if I am correct then latest update should be taken down I suppose, or maybe for some users it should be working
Awesome kernel on Stag OS, but i'm curious. Is that kernel support Color OS 6? Hehe thanks bro!
Chromium21 said:
Awesome kernel on Stag OS, but i'm curious. Is that kernel support Color OS 6? Hehe thanks bro!
Click to expand...
Click to collapse
Yes just flash permissiver after that
Nandsha said:
Awesome kernel for perfect ROM (Stag OS). However, I'd like to report that latest kernel v1.7 has issue with OTG. It works fine on kernel v1.6.
Click to expand...
Click to collapse
Thank you I'll check on that but I don't have otg so i can't test i need someone who can test
Baibhab34 said:
Yes just flash permissiver after that
Click to expand...
Click to collapse
Woghhh i'll try bro, btw thanks ya!
Nandsha said:
Awesome kernel for perfect ROM (Stag OS). However, I'd like to report that latest kernel v1.7 has issue with OTG. It works fine on kernel v1.6.
Click to expand...
Click to collapse
Update to 1.8 otg fixed
Baibhab34 said:
Update to 1.8 otg fixed
Click to expand...
Click to collapse
Yesssss finally! Thank you! :good:
hello,
im on color os 6 v26 and using strombreker kernel v1.7pro
idont have any problems with OTG just enable on on setting when i need it
the battrey is good even on OC 2.45ghz
but there still some problem how to disable double tap wake,
i allready disabled it on settings but still wake if i double tap screen
and what happend on pro version, why v1.8 and v1.9 dont have it?
best regards, poce
pocepoke said:
hello,
im on color os 6 v26 and using strombreker kernel v1.7pro
idont have any problems with OTG just enable on on setting when i need it
the battrey is good even on OC 2.45ghz
but there still some problem how to disable double tap wake,
i allready disabled it on settings but still wake if i double tap screen
and what happend on pro version, why v1.8 and v1.9 dont have it?
best regards, poce
Click to expand...
Click to collapse
Disable dt2w from kernel auditor
, And it's summer over clocking not suggested
Baibhab34 said:
Disable dt2w from kernel auditor
, And it's summer over clocking not suggested
Click to expand...
Click to collapse
its allready disable on kernel auditor, im using kernel auditor app to change governor and cpu hotplug
but still wake on tap even disabled dt2w from settings and kernel auditor

Categories

Resources