netfilter (iptables) in x10 mini?? - Sony Ericsson XPERIA X10 Mini

hi all, my question is simple, sry if my english isnt the best
any of the ROMs for x10 mini have netfilter enabled or iptables installed ?? i test in 2.1 stock and CM6, and not
for test if iptables are installed run this command in adb (as root after app launch)
iptables -L -n -t nat
Thks!

Nope, it needs to be set when compiling the kernel - as of yet (to my knowledge) no-one is doing any kernel dev for the X10 MP.
It should also be possible to build a module for this and insmod this in, I know doixanh was working on this, however he has put this project on hold for the time being.
I've been trying to sort this too - however I'm currently on the steep learning curve of kernel development so don't hold your breath!
It's about the only thing left I really want from the phone now!

ohh okay (meme face)
really thanks for the answerd, and i trust in u
here i found a good info i think:
i cant put the link cause my post, but u can serarch this in google
"how to build a linux kernel" sony ericsson
is from the original dev SE team
good luck !

Related

[Q] Ported ROM (Hero CM6 to X8) Stuck at Boot

First, i want to thank cyanogenmod people for their awesome works, then dsixda for his/her Android kitchen, then XDA people who inspired me to learn about cooking ROM, you guys are awesome
Well, as the title says, i want to port CM6 Hero ROM into Sony Ericsson Xperia X8, i'm using libs from some ROM that are meant for my X8, also using ramdisk that already built in X8's Custom ROM.
Here i attach the adb logcat message when my phone boot, from what i see, there is no problem regarding the booting process of the phone in the log, but hey, i'm newbie, maybe you guys know what is the problem.
Please help me, i want to learn more about Android, well my first attempt is to port this ROM
Thanks before, Regards
aldee_s
Progress = I managed to boot the phone, i found that framework is the problem, some pre-installed application doesnt work, like terminal emulator, then the android keyboard.
How do i disable physical keyboard options in setting?

[Q] custom kernel / kexec status?

hey all,
just wondering...
- what is the current status for getting custom kernels running on the x10 mini / mini pro?
- has development of a kexec module or something similar begun based on code written for other phones?
- if so, does anybody know how far people have gotten? what difficulties are we facing at the moment in those regards?
i'm wondering because if nobody has started working on a kexec module then i thought i might try, but if someone is already working on it then i'd be glad to lend a hand if needed / if i can...
cheers,
uriah
uriahheep said:
hey all,
just wondering...
- what is the current status for getting custom kernels running on the x10 mini / mini pro?
- has development of a kexec module or something similar begun based on code written for other phones?
- if so, does anybody know how far people have gotten? what difficulties are we facing at the moment in those regards?
i'm wondering because if nobody has started working on a kexec module then i thought i might try, but if someone is already working on it then i'd be glad to lend a hand if needed / if i can...
cheers,
uriah
Click to expand...
Click to collapse
here is the development thread for bootloader bypassing (on x8, but our phones are "twined" )
it is a dev thread, so don't post anything unless you're a dev.
link is here
answers to your questions may be there
i cant put the link cause my post, but u can serarch this in google
"how to build a linux kernel" sony ericsson
is from the original dev SE team
burnice said:
i cant put the link cause my post, but u can serarch this in google
"how to build a linux kernel" sony ericsson
is from the original dev SE team
Click to expand...
Click to collapse
this link is only for open bootloader.
it is unuseful for now ^^
here is the link you are talking about: blogs.sonyericsson.com/wp/2011/05/06/how-to-build-a-linux-kernel/
wht z a kexec module?
death_syndrome said:
wht z a kexec module?
Click to expand...
Click to collapse
a kexec module is a kernel module which reconstructs the kexec functionality (which allows one to execute a kernel from within another kernel) that the linux kernel can have. usually kexec support needs to be built into the kernel (i.e. not a module), but by loading modules such as splboot (which is the kexec module that is being developed in the X8 bootloader bypassing thread based on work that was done for the X10) one can execute a kernel from within the current kernel even if kexec support wasn't built into it.
[EDIT] actually, splboot doesn't exactly reconstruct kexec support, but does something similar. see this post and the few that follow for more details.

[DEV] ICS Android 4.0 Porting and Development | es209ra (X10) | alpha1 | 21/11/2011

This is a dev thread. Do not install this release unless you know what you're doing. Do not post if you have nothing to contribute.
This is very early build, we're behind other qsd8k devices but will eventually catch up
Big thanks to all qsd8k developers working on this (N1, Desire, HD2, X10).
[KERNEL]
- ol' good 2.6.29-SEMC
- fixed touchscreen driver (now backward-compatibile with Gingerbread)
[ROM]
- partially based on drewis release (thanks!) - currently I don't have access to PC that could handle compilation of the whole thing
If someone could compile clean es209ra build and upload it would be awesome.
[WORKING]
- it boots
- radio, calls, txt (sms)
- audio partially working (in-call is fine, playing mp3/ringtones leads to WLOD)
- bluetooth, GPS seem to work
- wifi almost working ("can't find wlan0 device")
- mobile data (it gets IP but disconects afterwards, needs investiagtion)
[NOT WORKING]
- most of the stuff does not work
- quite unstable
[SOURCES]
Will upload all of the useful code/fixes here.
- ICS + GB compatibile touch driver: es209ra_touch_mt.c
- compatibile ramdisk (props FXP): http://www.mediafire.com/?1n51pn1upwv79ur
[DOWNLOAD]
Alpha1 ROM (for CWM5) + corresponding kernel (flashtool) is here:
http://www.mediafire.com/?ht6p6tbpj2988d4
Cheers,
z
Just did a major clean up on this thread mates....no more "thanks" posts please. If thankful... click the thanks button.
Regards,
M_T_M
Finally we get it. aZuZu is working on ASOP ICS 4.0.1. This may help him work easier. So with locked bootloader, can we flash cause' you wrote there CWM5?
VIDEO
here's a video for ics on x10 alpha build 1
http://www.youtube.com/watch?v=bsOFn4YLvZU
@frosty666 please kindly include this on your ics discussion thread.
thankz
hi zdzihu, its great to see you back! is this only temporary or, are you going to be more active, like before?
mmmkay, I'm not dev, but I want to ask if you're compiling this from ground up (like Jerpelea's CM7), or you're like just mashup of current SE and ICS sources. if its a mashup, I can help. but I do very little design from ground up things.
Sent from my X10i using xda premium
if you have fixed audio hw sources i could recompile..
altho i have complete es209ra compile with ics hw, old cm gralloc / copybit sources and generic audio..
So for me doesn't even boot
As i came from night shift i will try later on more...
Here you are libhardware.so, libhardware_legacy.so & wpa_supplicant from my compiled ICS build so if someone can boot z rom maybe it could test this too
p.s.
it is searching ar6000.ko as normal stock one not wifi.ko as sdk port
aZuZu said:
So for me doesn't even boot
As i came from night shift i will try later on more...
Here you are libhardware.so, libhardware_legacy.so & wpa_supplicant from my compiled ICS build so if someone can boot z rom maybe it could test this too
p.s.
it is searching ar6000.ko as normal stock one not wifi.ko as sdk port
Click to expand...
Click to collapse
Hi Azuzu, I am able to compile single libs and binaries (libhw_legacy, supplicant), it's just dex and stuff causing problems (1GB of ram + 1.6GHz). As for libaudio, I will take a look soon
Cheers,
z
I help if u want
Hello guys, I'm new to the forum and I hope to see well with you.
I would be willing to help compile the source since EXCLUSIVELY use only Linux operating system and is much easier to work on programming because most of the libraries are already installed by default, I hope I was clear.
greetings
Joseph
zdzihu said:
Hi Azuzu, I am able to compile single libs and binaries (libhw_legacy, supplicant), it's just dex and stuff causing problems (1GB of ram + 1.6GHz). As for libaudio, I will take a look soon
Cheers,
z
Click to expand...
Click to collapse
yaay Z!!!
glad to see back!
now i feel so bad & depressed that i dont have a working x10 with me
hope that service center guy is able to repair it again...
@aZuZu
can u please upload ur work-in-progress sources to git... i know how much fixing u have done... it might help other too
aZuZu said:
So for me doesn't even boot
As i came from night shift i will try later on more...
Here you are libhardware.so, libhardware_legacy.so & wpa_supplicant from my compiled ICS build so if someone can boot z rom maybe it could test this too
p.s.
it is searching ar6000.ko as normal stock one not wifi.ko as sdk port
Click to expand...
Click to collapse
so good
I will try to build ICS this weekend!
I have no time this weekday
Zdzihu, if the wifi still reports the same error (can't find wlan0 device), it probably means that the kernel refers to wlan interface as eth0. Try changing the wifi.interface entry in build.prop to eth0.
little help for folks that compile ICS on weak pc
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Killed << if processes during compile get killed try this script > Fix Swap
Well to me helped so maybe it helps other ppl.
Has anyone pulled this Kernel apart, i'm trying to lock down some of the touch screen info but I can't gunzip the ICS ramdisk...not even sure if i should be able to.
I GPIO the main files out, can't see anything pertinent in there, so I can only assume its in this ramdisk...biggest problem is that if it is a corrupted archive I can't get ubuntu to open a recovery tool cos it's implementation of the Zlib system sucks dice
WHAT IS IT WITH SOME OF YOU GUYS, IT IS DEV ONLY THREAD AT THE REQUEST OF THE DEVELOPER, IF YOU CAN'T FOLLOW SIMPLE RULES THEN INFRACTIONS WILL BE HANDED OUT, YOU HAVE NOW BEEN WARNED!
wbbigdave said:
Has anyone pulled this Kernel apart, i'm trying to lock down some of the touch screen info but I can't gunzip the ICS ramdisk...not even sure if i should be able to.
I GPIO the main files out, can't see anything pertinent in there, so I can only assume its in this ramdisk...biggest problem is that if it is a corrupted archive I can't get ubuntu to open a recovery tool cos it's implementation of the Zlib system sucks dice
Click to expand...
Click to collapse
gunzip -c <ramdisk.gz> | cpio -i
Cheers,
z
The next member who disregards a developers request and posts in a non helpful way will be banned for a week.
i encourage any dev or helpful member to pm me or any other mod with the offending post and the user will be dealt with
Please don't reply tp them to tell them they are breaking th rules as you post will then also be rule break worthy
Hugs and kisses
PiLoT
http://review.cyanogenmod.com/#q,status:merged+project:CyanogenMod/android_frameworks_base,n,z
sorry for posting here. but is for development. for ICS, can we used modified 2.6.29, and modify, like what zdzihu did, it so it 100% or do we have to use 3.x (or whatever) becuase I'm starting to do kernel mods and I want to see what I can contribution.
so in all, does the newest kernel have to be ported? or can we continue using good old 2.6.29 and keep Modding it? (hopefully camera will work, drivers have to be rewritten for kernel. and no one likr to write drivers)
Sent from my X10i using xda premium
In case, we can see here how they get the SD Card working
http://forum.xda-developers.com/showthread.php?p=19774268#post19774268

[Q] Kernel Compiling

Hello! I just recently got a brand new MyTouch4GSlide ($5 from t-mobile xD) Anyhow since the lack of development going on for this phone I decided to join in and do my part... My original plan was to create a simple CM7 Kernel with support for UV and OC + Smartass... I have successfully in the past week set up my ubuntu virtual machine, kernel source, kitchen (boot.img extract/compile), voltage table & have successfully compiled a custom working kernel for my device, but i just need a bit of help.... I have 3 specific questions wich hopefully someone will be able to answer so I may get better with developing and continue developing in the future...
1) Adding new frequencies to the kernel
-I have created my voltage table and have added it to the file acpuclock-8x60.c (Which is corresponding to my device) located in /arch/arm/mach-msm O have also disabled the performance lock in the .config file using the make menuconfig command but when I compile the kernel and flash it setcpu does not recognize the frequencies... Did I not edit the correct file? Am I missing a lock placed by HTC somewhere else?
2) Adding Smartass
-I have found 1 source for the smartass module but whenever I try to compile the module I get #define OFS_KALLSYMS_LOOKUP_NAME 0xc009684c // kallsyms_lookup_name any reason why this is? am I using the wrong source? is there an easier way?
3) WiFi Module
-Whenever I compile my kernel the WiFi does not turn on... Probably because I have not compiled a Wifi module -_- but how can I compile a WiFi module? do I use the same source as the kernel? how would I go about doing this? how do I pack it with the boot.img?
Thats all for now... I shall edit this if I have more questions... I shall constantly be checking this thread hoping for some responses... I am eager to get this working!
Thanks in advanced! ~GiGoO
P.S. If you want you may add me on Skype if you would like to help me with this xD (robster105)
gigoo25 said:
Hello! I just recently got a brand new MyTouch4GSlide ($5 from t-mobile xD) Anyhow since the lack of development going on for this phone I decided to join in and do my part... My original plan was to create a simple CM7 Kernel with support for UV and OC + Smartass... I have successfully in the past week set up my ubuntu virtual machine, kernel source, kitchen (boot.img extract/compile), voltage table & have successfully compiled a custom working kernel for my device, but i just need a bit of help.... I have 3 specific questions wich hopefully someone will be able to answer so I may get better with developing and continue developing in the future...
1) Adding new frequencies to the kernel
-I have created my voltage table and have added it to the file acpuclock-8x60.c (Which is corresponding to my device) located in /arch/arm/mach-msm O have also disabled the performance lock in the .config file using the make menuconfig command but when I compile the kernel and flash it setcpu does not recognize the frequencies... Did I not edit the correct file? Am I missing a lock placed by HTC somewhere else?
2) Adding Smartass
-I have found 1 source for the smartass module but whenever I try to compile the module I get #define OFS_KALLSYMS_LOOKUP_NAME 0xc009684c // kallsyms_lookup_name any reason why this is? am I using the wrong source? is there an easier way?
3) WiFi Module
-Whenever I compile my kernel the WiFi does not turn on... Probably because I have not compiled a Wifi module -_- but how can I compile a WiFi module? do I use the same source as the kernel? how would I go about doing this? how do I pack it with the boot.img?
Thats all for now... I shall edit this if I have more questions... I shall constantly be checking this thread hoping for some responses... I am eager to get this working!
Thanks in advanced! ~GiGoO
P.S. If you want you may add me on Skype if you would like to help me with this xD (robster105)
Click to expand...
Click to collapse
Hey Rob, I wish you the best of luck and don't give up!
The one thing I can say is when I was compiling my own kernels a while back and when I was trying to do the exact same thing and add different frequencies, if I remember correctly, there is a couple files that need to be changed, not just one, but don't quote me on that
I would also try getting help from other phone developers too. Post in the Q&A section of the phones, you might get more help that way.
Other then that good luck!
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

[Q] [DEV]Wifi Monitor Mode successed on SGS2&Nexus! How about SGS3?(with source code)

[Q] [DEV]Wifi Monitor Mode successed on SGS2&Nexus! How about SGS3?(with source code)
Finally someone get sysfs injection successed.......
with the hard work, now SGS2 and Nexus is tested fine......
and here is the project site
http://bcmon.blogspot.co.il/
it mentioned that other phones can also compile a .ko from source code and test.........
I am curious if SGS3 can also use it.......
I know now Cyanogen is still not stable for S3, ITS NOT A GOOD CHOICE FOR S3
However I havn't compile a .ko for (siyah for s3), actually I also failed to compile another module for siyah before (nsio.ko)........I stuck with siyah...= =''
seems I got problem for this.......I dont have enough experiment on android dev, but sounds like this monitor mode injection may have chance to work on SGS3?
Anyone also try it?
IF success plz share the ideas......
"ITS JUST THE BIGGEST NEWS HAPPENS THESE DAYS"
these are mentioned in the post:
Other phones
Check out the source from http://code.google.com/p/bcmon/source/checkout
Build the KO for your device (cyanogen wiki should be helpful)
If it works please tell us and send us the compiled version so we can list it here (if it doesn't work contact us)
AirCrack binaries
We bundled useful binary executables for arm:
aircrack-ng suite
tcpdump
iwconfig
FAQ
I get "Can't find wireless tools, exiting."
Solution: Make sure you have 'iwpriv' on your system, just add soft link from 'iwpriv' to 'iwconfig' (actually it is 'iwmulticall')
available on: http://bcmon.googlecode.com/svn/trunk/bundles/utils.zip
Unzip them and run: 'chmod a+x -R aircrack misc'
Update: We added a statically linked version of aircrack-ng suite.
Now you can have fun with commands like: 'airodump-ng -i eth0'
Click to expand...
Click to collapse
ynlinchen said:
Finally someone get sysfs injection successed.......
with the hard work, now SGS2 and Nexus is tested fine......
and here is the project site
http://bcmon.blogspot.co.il/
it mentioned that other phones can also compile a .ko from source code and test.........
I am curious if SGS3 can also use it.......
I know now Cyanogen is still not stable for S3, ITS NOT A GOOD CHOICE FOR S3
However I havn't compile a .ko for (siyah for s3), actually I also failed to compile another module for siyah before (nsio.ko)........I stuck with siyah...= =''
seems I got problem for this.......I dont have enough experiment on android dev, but sounds like this monitor mode injection may have chance to work on SGS3?
Anyone also try it?
IF success plz share the ideas......
"ITS JUST THE BIGGEST NEWS HAPPENS THESE DAYS"
these are mentioned in the post:
Click to expand...
Click to collapse
Sounds promising..
Sent from my GT-I9300 using xda premium
Since galaxy s2 is using broadcom4330,so is s3, we may give a hope on it!

Categories

Resources