yashsingh1/xdaforums huggingface dataset:
[Fascinate General] ataranine:
I had a Honda Prelude up until Monday. Totalled it in a 4 car accident. :(

Had almost 200k miles on it and it was still pullin' like a champ..damn shame.
[Samsung Mesmerize] CoronaL:
I just got my Mesmerize yesterday and rooted it today with the superoneclick app. Using their instructions it said to turn on "debug" mode in the settings>application>developer menu. I did that, but now that area is greyed out and I cannot change that option. How can I disable this? I read I should disable that asap once I've done what I wanted to do via the root tool.

Also, I would like to be able to tether my phone when I go on vacation so we can watch netflix on my ipad. Of course I don't have that "paid for" on my acct, but was told this was able to be done after rooting my phone, per my "buddies" sage advice lol.

Also, with all of the choices of custom roms, which ones are the best for a newer user. IE no FUBAR or bricks. I like fast and easy to use :)

thx guys

I'm trying to read up on alot of this, but it's foreign to me. Although I loved to overclock computers back in the day, I never got into linux or for that matter really software at all :(.
[Samsung Mesmerize] snowgod76:
Unplug the USB cable and it should let you disable debugging. If that doesnt do it try changing the default action under settings/usb first.
[Samsung Mesmerize] CoronaL:
sorry when unplugged it is greyed out

I have usb setting set to "ask on connection"

if I select mass storage there is no USB debuggin, if I set to samsung Kies it enables debugging. I cannot alter the option in any of these menus, plugged or unplugged from USB.

Tried powering off/on phone. No change. Tried removing SD card, no change.
[Samsung Mesmerize] CoronaL:
on to the next problem

I tried following directions for installing CWMod via moving the update.zip over to the root of my sdcard. Problem is when I reboot phone into developer screen, it's blue(should be green?) and if I select update.zip it errors out with e: signature validation failed.

If i run the rom flash from the cw mod app, it appears to get farther but then does again error out at

e: failed to verify whole-file signature and

e: signature verification failed
[Samsung Mesmerize] add144:
You may run into issues with Superuser with USB Debugging disabled. Just leave it enabled. I don't know where you read the urgency to disable USB debugging but they were wrong.

And what's wrong with paying for a tethering app?
[Samsung Mesmerize] ChromWolf:
I think he just means the paid service from the carrier. Don't be quite so quick to judge or take offense.
[Samsung Mesmerize] add144:
What the hell are you blabbering about? I was simply asking the guy to clarify what he meant, because I wasn't sure of exactly what he was saying. How the hell is that judging him? Much less taking offense?
[Samsung Mesmerize] ChromWolf:
I apparently mistook the tone of your post; I've noted you tend to choose rather strong words for an internet forum, and it's tricky not to come off a bit forceful to some people. That in mind, that's how I ended up taking the post in question. My mistake, carry on.
[Samsung Mesmerize] add144:
Hahaha fair enough!
[Atrix 4G Q&A, Help & Troubleshooting] madpoet:
I've got a corporate email app (Good for Enterprise) that my administrators have locked from running on rooted devices. Despite my protestations that rooting is not evil, they don't want me to run it unless I am stock. So.... is there any way to "hide" the root? Its incredibly annoying to be forced to choose between root and email access :(
[Atrix 4G Q&A, Help & Troubleshooting] Gr8Danes:
I believe in Launcher Pro, you can hide Icons without uninstalling the app. May be an idea?
[Atrix 4G Q&A, Help & Troubleshooting] madpoet:
Yeah but the program itself is detecting if the device is rooted :( Was hoping there was some way to sandbox the app or something to make it not think it was on a rooted system. Thanks though!
[Atrix 4G Q&A, Help & Troubleshooting] bongd:
They have an app that detects root access and reports back?
[Atrix 4G Q&A, Help & Troubleshooting] thunderpack:
Couldn't you just deny it root access when it asks for permission?
[Atrix 4G Q&A, Help & Troubleshooting] bongd:
Good idea! Then hide Superuser if need be.

That sucks but I can appreciate their decision not to compromise their security. Someone came on here asking how to physically remove his camera for work related purposes. What a bummer!
[Atrix 4G Q&A, Help & Troubleshooting] rjayflo:
Run LP....u can hide apps from showing up in the app drawee
[Atrix 4G Q&A, Help & Troubleshooting] tianqi:
U get flash back to 4.1.26 using sbf... run the gladiroot before update... then update...

Let their app run... it wont be able to find or get root... They set you up...

Then you run the after root...

Bam... Root and email access ^_^
[Atrix 4G Q&A, Help & Troubleshooting] DarkRyoushii:
I assume it checks every time it's launched not just once.
[Atrix 4G Q&A, Help & Troubleshooting] madpoet:
I did deny it root but it still saw it. It does seem to check on every launch also.
[Atrix 4G Q&A, Help & Troubleshooting] matt1313:
I myself am looking for the same thing for the DX. GFE checks at launch or at anytime it wants. There is no way to tell when it will check. I do know if I remove root with Z4 app it works fine while leaving the SU icon in the apps. This tells me it looks for either permissions or something else.

I have offered $$ for a work around to JRummy but havent heard back from him
[Atrix 4G Q&A, Help & Troubleshooting] Ririal:
You can't "hide" root. It's not an app that's installed, and I doubt anything that's checking for root access is checking for just superuser.apk. "root" means you have the su binary in your /system directory, and this is likely what it's checking for. You can't "hide" it without breaking every app that needs root to function.
[Atrix 4G Q&A, Help & Troubleshooting] bretto69:
Surely someone must know what GFE checks????
[Atrix 4G Q&A, Help & Troubleshooting] ccrows:
That would be this...

https://market.android.com/details?id=com.joeykrim.rootcheck
[Atrix 4G Q&A, Help & Troubleshooting] LancerV:
It checks for root access no way to deny it, except for removing root. Their is a reason why GFE checks for root because in order for your phones to be secure you actually dont want root, if you lost your phone with root on them and secure corporate emails the attacker would only have to plugin in the phone to the computer and run ADB to get all your passwords
[Atrix 4G Q&A, Help & Troubleshooting] henrys01:
Get yourself a friend in the IT department. :)
[Atrix 4G Q&A, Help & Troubleshooting] CaelanT:
Answer................don't root!

Problem solved!

Next! :eek:
[Atrix 4G Q&A, Help & Troubleshooting] dicksteele:
Uh yea.....
[Atrix 4G Q&A, Help & Troubleshooting] ChongoDroid:
Just a suggestion but do you think droid wall could help?
[Atrix 4G Q&A, Help & Troubleshooting] HBEAR:
Circumventing security controls, could very well be grounds for termination, tread with caution.
[Atrix 4G Q&A, Help & Troubleshooting] kdspiv:
D@mm straight it can be!!!!

For example: In my healthcare job, using a rooted phone for hospital email is a security risk and there by a HIPAA violation. In the eyes of IT security this is equal to logging on the secure network with a personal laptop and means immediate termination. They see it as a way to pull secure information off the network.....and face it, it is a way to do it.
[Atrix 4G Q&A, Help & Troubleshooting] matt1313:
Yeah no way around it after trail and error.

So this is what I do. Install whatever rom I want, tweak as I see fit, then remove busy box and unroot. Then activate GFE.

After all most times people want root for free tether, if your company is using GFE then is more then likely you are getting a cell phone allowance. Use that to help pay for the tether.

Hope this helps anyone looking for a workaround.
[Atrix 4G Q&A, Help & Troubleshooting] Satava:
Two Words: Dual Boot.

Get your regular "At home" rooted rom all nice and prettied up, then when you get in the car for work, boot into a stock rom that isn't rooted for work specifically.
[Atrix 4G Q&A, Help & Troubleshooting] Alex530:
If you could find a way to rename it do ir. I think it has the protection that google video had we're it would look for the name su or superuser. So just rename it via adb and you should be good to go.
[Atrix 4G Q&A, Help & Troubleshooting] larsdennert:
heres what i use. maybe it helps you.

Hiding root is possible. You need a terminal app.

Here are the terminal commands:

To hide (Bionic only. You need to know what're partiton to mount on system for your phone. assuming su is in xbin,busyboxinstalled):

su

mount -o remount,rw -t ext3 /dev/block/system /system

cp /system/xbin/su /system/xbin/subak

chmod 6755 /system/xbin/subak

rm /system/xbin/su

Actually the last three could be a simple mv command.

To restore:

subak

mount -o remount,rw -t ext3 /dev/block/system /system

cp /system/xbin/subak /system/xbin/su

chmod 6755 /system/xbin/su
[Atrix 4G Q&A, Help & Troubleshooting] :
Check out the app OTArootkeeper.
[Atrix 4G Q&A, Help & Troubleshooting] SGatton:
Yeah... not so much. In the IT field, it is equivilent to logging in as root or with administrator access perpetually. Nothing more. While I can understand their fears, I think it's bogus to check for root access on your personal phone. Now, even more interesting is that their email has their own app, and you can't use the plethora of other available email apps out there for Droid.
[Desire HD Q&A, Help & Troubleshooting] madindehead:
Any idea if it will ever be possible to port the HTC Sensation version of Sense (Sense 3.0) to our Desire HD?

I know the resolution is different, which is a shame.

Any ideas?
[Desire HD Q&A, Help & Troubleshooting] Whiteness:
I Hope so to! That would be brilliant.

Followed the presentation on the internet it was a good demo. glad I can renew my contract in September :-)
[Desire HD Q&A, Help & Troubleshooting] OlMaGo:
On the HTC twitter account they replied to someone with this rather upsetting response:

"At this time, we're not planning to update Sense on the Desire HD. We'll let u know if that changes."

:(
[Desire HD Q&A, Help & Troubleshooting] Whiteness:
That's a bummer hopefully someone can Port it to the DHD then!

We'll have to wait till May so :-)
[Desire HD Q&A, Help & Troubleshooting] madindehead:
Yeah. Is a shame.

I might be tempted by it (one of the contracts in my name is due an upgrade, so might get the actual phone them, but if rooting is an issue, then I might stick with my beloved DHD).

Thanks for the heads up though :)
[Desire HD Q&A, Help & Troubleshooting] vlad1995:
I think than it would be hard to make it as smooth as it is now.

But it would be very cool if they would port it officialy to our DHD :rolleyes:
[XPERIA X8 Original Android Development] doixanh:
Well, another module. A guy called me a module man :D

If we can compile this module we can (hopefully) have native usb/wifi tether on our phone.

Other benefits:

- Firewall apps

- Transparent proxies

- NAT

I'll start trying to make this work on our current kernel. Contribution is appreciated.

Github repo is here : https://github.com/doixanh/X8Features

PLEASE DON'T SPAM THIS DEV THREAD WITH UNCONTRIBUTED POSTS
[XPERIA X8 Original Android Development] LFSPovo:
Once again, great work!

Continue with the modules, you are solving many things extremely fast!

Big thank you from me for contributing to the X8 community! ;)
[XPERIA X8 Original Android Development] nobodyAtall:
All u need to do is implement the needed hooks missing from the stock kernel for iptables to attach on.

Sent from my GB MiniCM
[XPERIA X8 Original Android Development] He3aBuCuM:
Hello. If this module get worked, will be able the reverse usb tether(PC -> phone). I.e to have internet on my phone from the computer via USB.
[XPERIA X8 Original Android Development] Drakenfall:
Can someone explain what is this?
[XPERIA X8 Original Android Development] Doomguy:
Great job! I use third-party programs, but is good to have native tether. One question. Will I need drivers for PC with native tether?
[XPERIA X8 Original Android Development] andrej456:
http://www.google.com/url?sa=t&sour...sg=AFQjCNGsYN4VLe4oQLOtuPksDb87g537lg&cad=rja

maybe it help
[XPERIA X8 Original Android Development] treebill:
no this would allow your phone to become a wifi hot spot, why would you need it the other way? :confused: if you have no wifi network you can download APK's to your computer and move to phone and install from your SD card

it would also allow you to use firewall apps to block all apps but the ones you want from connecting to your mobile internet to save you money.
[XPERIA X8 Original Android Development] doixanh:
So far, I managed to compile and insmod "netfilter.ko" with no error. But whenever I try to insmod iptable_filter.ko, I got a kernel crash.

The following modules has been insmoded - ordered to solve module dependencies.

insmod netfilter.ko

insmod x_tables.ko

insmod xt_tcpudp.ko

insmod nf_sockopt.ko

insmod ip_tables.ko

insmod ipt_addrtype.ko

insmod iptable_filter.ko <--- crashed here

Kernel crash message:

[ 466.135716] [<bf06b354>] (nf_register_hook+0x0/0x90 [netfilter]) from [<bf06b408>] (nf_register_hooks+0x24/0x64 [netfilter])

It seems the our nf_register_hook is not working.

Some logs:

[ 163.394843] nf_register_hook reg=BF059844
[ 163.395055] mutex locking
[ 163.395905] list for each entry pf=2, hooknum=1
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
[XPERIA X8 Original Android Development] nobodyAtall:
Could u share sources for those? Thanks.
[XPERIA X8 Original Android Development] doixanh:
I'm at home now, I put all sources at work :D I changed lots of things to be able to compile it as module. Maybe I will need to upload whole /kernel/net/ipv4 and /kernel/net/netfilter branches.

I'll upload tomorrow.
[XPERIA X8 Original Android Development] doixanh:
It seems that the linked list is empty, that's why it couldn't initialize the list.

nobodyAtall: I've just created a github repo for X8Netfilter, I will push modifications soon.
[XPERIA X8 Original Android Development] nobodyAtall:
Thanks mate. I'll take a look and see if I can help.
[XPERIA X8 Original Android Development] doixanh:
Ok, everything pushed. Let's have fun with it my friend.

Repo is here : https://github.com/doixanh/X8Netfilter

The last time there were null pointers in linked lists because the initialization code (netfilter_init) was not executed. I forgot that now it's a module, so we have to declare module_init.

I added module_init into it. Insmoded fine now, but iptables tool still complains:

What are we missing?

/edit : post #200 :D

/edit #2 : during xRecovery to switch to another ROM for testing, I bricked my lovely phone. There are lots of junk files in /system. Now I have to save my X8 :(

/edit #3 : oh and I forgot that x10 mini has another offset for synchronize_rcu() - it should be 0xC0098F88. You have to modify it in netfilter.h
[XPERIA X8 Original Android Development] doixanh:
In the kernel config I didn't include xtables (required by iptable_filter) so maybe it's a problem.

I included, compiled, but still the same. I think the problem comes from the iptables userspace tool.

@nobodyAtall: can you modify and compile iptables.c (included in CM6/7 source). We need to know the reason that TC_INIT returns null. Before each "return NULL" you can put a printf so we can know why it's unable to load the table.

I cannot compile android iptables now (at work, the PC is really really slow).

I also pushed kernel config for my current kernel build, and a script to load the modules in order to solve dependencies.

Thanks.
[XPERIA X8 Original Android Development] nobodyAtall:
I'm getting undefined references when building the kernel with your github files / .config file. Specifically:

kernel/include/linux/netfilter.h:193: undefined reference to `nf_hook_slow'

kernel/net/ipv4/ip_input.c:270: undefined reference to `nf_hooks'

kernel/net/ipv4/ip_input.c:270: undefined reference to `nf_hooks'

and many more.
[XPERIA X8 Original Android Development] doixanh:
Strange, I don't have any problem at all. I compiled those modules with

ARCH=arm CROSS_COMPILE=arm-eabi- make modules

oh and btw, I compiled with this kernel from SE: x10_x10mini_x10minipro_x8_eclair_2.1.A.0.390.tar.gz
[XPERIA X8 Original Android Development] nobodyAtall:
Ok, it wont make the kernel image but makes the modules.

Here's what's loaded:

localhost netfilter # ls
arp_tables.ko nfnetlink.ko xt_hashlimit.ko xt_realm.ko
ip_tables.ko nfnetlink_log.ko xt_iprange.ko xt_recent.ko
ipt_LOG.ko x_tables.ko xt_length.ko xt_sctp.ko
ipt_ULOG.ko xt_CLASSIFY.ko xt_limit.ko xt_statistic.ko
ipt_addrtype.ko xt_NFLOG.ko xt_mac.ko xt_string.ko
ipt_ah.ko xt_NFQUEUE.ko xt_multiport.ko xt_tcpudp.ko
iptable_filter.ko xt_TCPOPTSTRIP.ko xt_owner.ko xt_time.ko
iptable_mangle.ko xt_TRACE.ko xt_pkttype.ko xt_u32.ko
iptable_raw.ko xt_comment.ko xt_policy.ko
netfilter.ko xt_esp.ko xt_quota.ko
localhost netfilter # sh /sdcard/insmodnet
[B]insmod: init_module 'xt_NFLOG.ko' failed (No such file or directory)
insmod: init_module 'xt_string.ko' failed (No such file or directory)[/B]
localhost netfilter # lsmod
iptable_filter 2700 0 - Live 0xbf1e7000
ipt_addrtype 2388 0 - Live 0xbf1e1000
ip_tables 11264 1 iptable_filter, Live 0xbf1d9000
xt_u32 2036 0 - Live 0xbf1d3000
xt_time 2880 0 - Live 0xbf1cd000
xt_tcpudp 3016 0 - Live 0xbf1c7000
xt_statistic 1844 0 - Live 0xbf1bb000
xt_sctp 2672 0 - Live 0xbf1b5000
xt_recent 9308 0 - Live 0xbf1ad000
xt_realm 1492 0 - Live 0xbf1a7000
xt_quota 1752 0 - Live 0xbf1a1000
xt_policy 3120 0 - Live 0xbf19b000
xt_pkttype 1596 0 - Live 0xbf195000
xt_owner 2668 0 - Live 0xbf18f000
xt_multiport 3160 0 - Live 0xbf189000
xt_mac 1576 0 - Live 0xbf183000
xt_limit 2224 0 - Live 0xbf17d000
xt_length 1760 0 - Live 0xbf177000
xt_iprange 2640 0 - Live 0xbf171000
xt_hashlimit 9964 0 - Live 0xbf169000
xt_esp 1852 0 - Live 0xbf163000
xt_comment 1492 0 - Live 0xbf15d000
xt_TRACE 1484 0 - Live 0xbf157000
xt_TCPOPTSTRIP 1956 0 - Live 0xbf151000
xt_NFQUEUE 1716 0 - Live 0xbf070000
xt_CLASSIFY 1536 0 - Live 0xbf023000
x_tables 14212 25 ipt_addrtype,ip_tables,xt_u32,xt_time,xt_tcpudp,xt_statistic,xt_sctp,xt_recent,xt_realm,xt_quota,xt_policy,xt_pkttype,xt_owner,xt_multiport,xt_mac,xt_limit,xt_length,xt_iprange,xt_hashlimit,xt_esp,xt_comment,xt_TRACE,xt_TCPOPTSTRIP,xt_NFQUEUE,xt_CLASSIFY, Live 0xbf148000
netfilter 13564 3 iptable_filter,ip_tables,xt_TCPOPTSTRIP,[permanent], Live 0xbf142000
tiwlan_drv 838420 0 - Live 0xbf073000
ext3 110952 1 - Live 0xbf052000
jbd 49480 1 ext3, Live 0xbf040000
x8oc 6664 0 - Live 0xbf039000
synaptics_i2c_rmi4 11068 0 - Live 0xbf034000
twofish 9308 0 - Live 0xbf02c000
twofish_common 15740 1 twofish, Live 0xbf026000
dm_crypt 13052 0 - Live 0xbf01d000
dm_mod 53216 1 dm_crypt, Live 0xbf00b000
sdio 20724 1 tiwlan_drv, Live 0xbf000000

Do we need all there modules?

xt_NFLOG fails with:

xt_NFLOG: Unknown symbol nfulnl_log_packet

xt_string fails with:

xt_string: Unknown symbol textsearch_destroy

xt_string: Unknown symbol textsearch_prepare
[XPERIA X8 Original Android Development] doixanh:
I'm not sure, but I tried to compile and load all those modules to make it work first.

iptables tool still gives out error with

iptables -L
[XPERIA X8 Original Android Development] nobodyAtall:
The actual error is:

iptables v1.4.7: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.

Which is quite *disturbing*

The actual error reported from kernel space is ENOENT (see file libiptc.c in CM sources).
[XPERIA X8 Original Android Development] doixanh:
With those above modules, iptable_filter is loaded sucessfully, and it created procfs at /proc/net/ip_tables_names

insmod: init_module 'xt_NFLOG.ko' failed (No such file or directory)
insmod: init_module 'xt_string.ko' failed (No such file or directory)

I don't know, but IMO it seems that we don't need them.

btw, join #x10-update on freenode, it's better to discuss there :D
[XPERIA X8 Original Android Development] nobodyAtall:
This is the problem:

getsockopt(3, SOL_IP, 0x40 /* IP_??? */, 0xbed98ad8, 0xbed98ad0) = -1 ENOPROTOOPT (Protocol not available)

if (getsockopt(sockfd, TC_IPPROTO, SO_GET_INFO, &info, &s) < 0) {
close(sockfd);
return NULL;

}

Around line 1340 of libiptc.c

This looks like the protocol isn't registered correctly. Basically it means that there's no iptables support in the kernel (0x40 is IPT_BASE_CTL) which is in contrast with the loaded modules:

localhost ~ # lsmod
ipt_addrtype 2388 0 - Live 0xbf205000
xt_u32 2036 0 - Live 0xbf1ff000
xt_time 2880 0 - Live 0xbf1f9000
xt_tcpudp 3016 0 - Live 0xbf1f3000
xt_statistic 1844 0 - Live 0xbf1e7000
xt_sctp 2672 0 - Live 0xbf1e1000
xt_recent 9308 0 - Live 0xbf1d9000
xt_realm 1492 0 - Live 0xbf1d3000
xt_quota 1752 0 - Live 0xbf1cd000
xt_policy 3120 0 - Live 0xbf1c7000
xt_pkttype 1596 0 - Live 0xbf1c1000
xt_owner 2668 0 - Live 0xbf1bb000
xt_multiport 3160 0 - Live 0xbf1b5000
xt_mac 1576 0 - Live 0xbf1af000
xt_limit 2224 0 - Live 0xbf1a9000
xt_length 1760 0 - Live 0xbf1a3000
xt_iprange 2640 0 - Live 0xbf19d000
xt_hashlimit 9964 0 - Live 0xbf195000
xt_esp 1852 0 - Live 0xbf18f000
xt_comment 1492 0 - Live 0xbf189000
xt_TRACE 1484 0 - Live 0xbf183000
xt_TCPOPTSTRIP 1956 0 - Live 0xbf17d000
xt_NFQUEUE 1716 0 - Live 0xbf177000
xt_CLASSIFY 1536 0 - Live 0xbf16b000
xt_state 2092 0 - Live 0xbf070000
nf_conntrack 55508 1 xt_state, Live 0xbf15b000
iptable_filter 2700 0 - Live 0xbf031000
ip_tables 11264 1 iptable_filter, Live 0xbf156000
x_tables 14212 26 ipt_addrtype,xt_u32,xt_time,xt_tcpudp,xt_statistic,xt_sctp,xt_recent,xt_realm,xt_quota,xt_policy,xt_pkttype,xt_owner,xt_multiport,xt_mac,xt_limit,xt_length,xt_iprange,xt_hashlimit,xt_esp,xt_comment,xt_TRACE,xt_TCPOPTSTRIP,xt_NFQUEUE,xt_CLASSIFY,xt_state,ip_tables, Live 0xbf150000
netfilter 14452 4 xt_TCPOPTSTRIP,nf_conntrack,iptable_filter,ip_tables,[permanent], Live 0xbf145000
tiwlan_drv 838420 0 - Live 0xbf073000
ext3 110952 1 - Live 0xbf052000
jbd 49480 1 ext3, Live 0xbf040000
x8oc 6664 0 - Live 0xbf039000
synaptics_i2c_rmi4 11068 0 - Live 0xbf034000
twofish 9308 0 - Live 0xbf02c000
twofish_common 15740 1 twofish, Live 0xbf026000
dm_crypt 13052 0 - Live 0xbf01d000
dm_mod 53216 1 dm_crypt, Live 0xbf00b000
sdio 20724 1 tiwlan_drv, Live 0xbf000000

Could you digg a bit in the iptable_filter module. I think this is the culprit.
[XPERIA X8 Original Android Development] doixanh:
I compiled iptables bundled with cm7, added some debug messages, and like you said, it stops at getsockopt GET_INFO.

It's strange, because when we load iptables.ko, it registered sockopt already.

/* Register setsockopt */
ret = nf_register_sockopt(&ipt_sockopts);
if (ret < 0)
goto err5;

Perhaps netfilter sockopts are not linked to kernel sockopts, maybe?

/edit: I also put some debug messages on nf_sockopt, but none was output. So that mean getsockopt from usermode wasn't directed to nf_sockopt.

I think we have to link netfilter sockopts to kernel sockopts.

/edit #2: ipproto_raw sockets are handled by net/ipv4/raw.c. I found raw_getsockopt. Maybe we have to look at that.
[XPERIA X8 Original Android Development] nobodyAtall:
Hey,

I see debug messages form nf_register_sockopt (nf_sockopt.c) printed when I insmod ip_tables.ko. The registration does seem ok, returning 0. Nothing reaches the remaining functions though.
[XPERIA X8 Original Android Development] MatWoj:
Guys maybe some normal language? :D

Swype i X8
[XPERIA X8 Original Android Development] nos1609:
That's a dev thread, so if u don't understand don't spam, respect the hard work of devs. When it's ready it will be in the 1st post.
[XPERIA X8 Original Android Development] DooMLoRD:
i dont mean to spam but over at X10 forums devs are able to get netfilter working in the custom kernel (FreeXperia kernel)...

http://xdaforums.com/showthread.php?t=1027111

also u can chekout the FreeXperia project (kernel sources) to make netfilter module for x8...