nls_utf8.ko for Atrix 1.8.3 - Atrix 4G Android Development

After searching this forum, doesn't seem to be able to find one for Atrix.
Spend sometime grabbed the kernel and compiled this module. Tested working with my wife's AT&T Atrix with 1.8.3 using cifsmanager.
Let me know how it goes for you guys.

it does what?

jimmao said:
After searching this forum, doesn't seem to be able to find one for Atrix.
Spend sometime grabbed the kernel and compiled this module. Tested working with my wife's AT&T Atrix with 1.8.3 using cifsmanager.
Let me know how it goes for you guys.
Click to expand...
Click to collapse
so what does this do!?!?!

EclipseX said:
it does what?
Click to expand...
Click to collapse
Maybe network file sharing since cifsmanger is being used
Sent from my MB860 using XDA Premium App

ricethief said:
Maybe network file sharing since cifsmanger is being used
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
If you do not know what it is for, then that means in most case you do not need it.
Basically what it does to me is it allows you to access network shares with non-ANSI folder/file names.

Thanks a lot,
It works.
I compiled the kernel twice but none of utf8.ko worked.
Could you please tell me the steps to compile it? Like to learn something.
jimmao said:
After searching this forum, doesn't seem to be able to find one for Atrix.
Spend sometime grabbed the kernel and compiled this module. Tested working with my wife's AT&T Atrix with 1.8.3 using cifsmanager.
Let me know how it goes for you guys.
Click to expand...
Click to collapse

heyhi said:
Thanks a lot,
It works.
I compiled the kernel twice but none of utf8.ko worked.
Could you please tell me the steps to compile it? Like to learn something.
Click to expand...
Click to collapse
You need to set nls_utf8=m (m means module) in .config file. =y will compile it into the kernel....
Err, if you got .ko file but it doesn't work, then I do not know why..., did you compile kernel against the one published by Moto?

Good work.

jimmao said:
You need to set nls_utf8=m (m means module) in .config file. =y will compile it into the kernel....
Err, if you got .ko file but it doesn't work, then I do not know why..., did you compile kernel against the one published by Moto?
Click to expand...
Click to collapse
The first time I used =m and make modules. It generated a .ko file slightly smaller than yours. The second time I used =y and it's still the same .ko file.
I downloaded the 1.2.6 kernel source from moto website.

Hi, guys, could anyone compile cifs and nls_utf8 for milestone 2? Dont know if it´s different from atrix compiling...

heyhi said:
The first time I used =m and make modules. It generated a .ko file slightly smaller than yours. The second time I used =y and it's still the same .ko file.
I downloaded the 1.2.6 kernel source from moto website.
Click to expand...
Click to collapse
That's interesting, basically, =y will not give you .ko file anyway, so you will see the results from the first time.
My one was compiled under OSX, while environment was setup using macport, that might be different than compiling under linux. But at this stage, I really could not tell what was the cause that you can get the .ko file but not able to use it.

Related

aNetShare and Haykuro

I have aNetShare, the tether app, and ive been able to connect my laptop and both devices say connected and the g1 says it has data going through at 11mbps, but my laptops internet or anything else that requires internet doesnt work. I was wondering does this app not work correctly with Haykuros Magic Port? (FYI im using 5.0.1) i havent tried it on RC33
Tbh, I dont think it works.. If you look at the logs, Theres alot and i mean alot of failed things
ben29pickett said:
Tbh, I dont think it works.. If you look at the logs, Theres alot and i mean alot of failed things
Click to expand...
Click to collapse
Oh really? Well thank you for pointing that out to me, if anybody can get this app to work on any firmware please let me know
As far as my understanding goes, there is no netfilter support in the haykuro builds of android. aNetshare and Wifi Tether require this in order to function correctly.
andonnguyen said:
As far as my understanding goes, there is no netfilter support in the haykuro builds of android. aNetshare and Wifi Tether require this in order to function correctly.
Click to expand...
Click to collapse
aNetshare WILL function without the netfilter support compiled into the kernel.
semyazza said:
aNetshare WILL function without the netfilter support compiled into the kernel.
Click to expand...
Click to collapse
Regardless, the new Haykuro build supports tethering afaik...
semyazza said:
aNetshare WILL function without the netfilter support compiled into the kernel.
Click to expand...
Click to collapse
thats b*ll****.
kaobiore said:
thats b*ll****.
Click to expand...
Click to collapse
semyazza said:
aNetshare WILL function without the netfilter support compiled into the kernel.
Click to expand...
Click to collapse
http://en.wikipedia.org/wiki/Loadable_kernel_module
Just because no one is using it currently doesn't mean YOU can't use it.
More interesting information
More interesting information. All you have to do by the way is compile into the kernel and use it as an external module (lower memory consumption by not using statically linked modules you may not need). Also, another reason we shouldn't be downloading images from untrusted locations without checksums, way too easy to make a root kit.
http://upche.org/doku.php?id=wiki:rootkit
semyazza said:
http://en.wikipedia.org/wiki/Loadable_kernel_module
Just because no one is using it currently doesn't mean YOU can't use it.
Click to expand...
Click to collapse
You have never compiled a kernel, right?
There are some kernel-options which can't be compiled as module and netfilter-support is one of them.

Metamorph?

Ok first of don't tell me to search cos I want something different. Any way, with the new overlay made by blayo will metamorph work on our legends?
Sent from my Legend using XDA App
tamaster92 said:
Ok first of don't tell me to search cos I want something different. Any way, with the new overlay made by blayo will metamorph work on our legends?
Sent from my Legend using XDA App
Click to expand...
Click to collapse
He said in his own thread that metamorph was one of the things he tested with. It works
So, I can apply themes on to my legend via metamorph? Correct?
Sent from my Legend using XDA App
tamaster92 said:
So, I can apply themes on to my legend via metamorph? Correct?
Sent from my Legend using XDA App
Click to expand...
Click to collapse
TheGrammarFreak said:
It works
Click to expand...
Click to collapse
BTW, you are almost 18, and it seriously feels like you haven't learned to read
tamaster92 said:
So, I can apply themes on to my legend via metamorph? Correct?
Sent from my Legend using XDA App
Click to expand...
Click to collapse
See this comment:
BlaY0 said:
Just to let you know... I tried MetaMorph and Type Fresh, they both work. Root Explorer works too.
I think it is safe now for ROM brewers to include this script into their ROMs.
Click to expand...
Click to collapse
So you can do one of two things:
- Everything in post#1 here: http://forum.xda-developers.com/showthread.php?t=773278
- Wait for a developer to include that kernel in their ROM
..and then you can use metamorph. Personally I am hoping the feature will be available in an upcoming ROM/update.
Maybe it will *just* work with Azure due to this:
c1nu5 said:
The CM6 port from Ali Baba (Azure 1.0) contains a 2.6.29 kernel and no AUFS module... So it should work with your zip. Great work BlaY0!!!
Click to expand...
Click to collapse
...but I am personally not 100% of the ins and outs [e.g. some WiFi issues??]
WiFi is not an issue. If you have tiwlan.ko and sdio.ko in your /system/lib/modules, then you're set.
In Azure there is kernel made from source with AUFS support I guess. Just find out if it is enabled... adb pull /proc/config.gz, gunzip it and find out if there is CONFIG_AUFS_FS set to y or m in it.
Today I will also sort out busybox problem and then we are set for every Legend ROM I know.
BlaY0 said:
WiFi is not an issue. If you have tiwlan.ko and sdio.ko in your /system/lib/modules, then you're set.
In Azure there is kernel made from source with AUFS support I guess. Just find out if it is enabled... adb pull /proc/config.gz, gunzip it and find out if there is CONFIG_AUFS_FS set to y or m in it.
Click to expand...
Click to collapse
And the chances of the OP following this are?
Hmm, I thought this was a development subforum
BlaY0 said:
WiFi is not an issue. If you have tiwlan.ko and sdio.ko in your /system/lib/modules, then you're set.
In Azure there is kernel made from source with AUFS support I guess. Just find out if it is enabled... adb pull /proc/config.gz, gunzip it and find out if there is CONFIG_AUFS_FS set to y or m in it.
Today I will also sort out busybox problem and then we are set for every Legend ROM I know.
Click to expand...
Click to collapse
adb shell "zcat /proc/config.gz | grep CONFIG_AUFS"
I thought that this is development subforum so anyone should know at least 3 ways to solve such "problems"...
@snakehult: Serving fish on a silver platter is not the way to do it I guess. Rather make some lessons on how to catch them...
BlaY0 said:
I thought that this is development subforum so anyone should know at least 3 ways to solve such "problems"...
@snakehult: Serving fish on a silver platter is not the way to do it I guess. Rather make some lessons on how to catch them...
Click to expand...
Click to collapse
Well, you just got one pipelession
One I am 18, 2 I do understand that and it looks good so far, and 3 no need to get uppity, I was just asking for some help since I was unsure about it ill remember not to next time :-(
Sent from my Legend using XDA App
You just remember to search and read threads with similar subjects first...

Source Code

Hey, I just saw that Motorola has released the source-code for our beloved Razr I on sourceforge.
So in theory it should be possible to compile our own androids. I was wandering whether anybody is working on this / has tried that?
http://sourceforge.net/projects/razr-i.motorola/
Thorsten
Yes, we could use that if they'd give us a non-corrupted kernel source. We already knew this.
I've had a brief attempt at this but always get build errors at make.
So far I've tried with cyanogenmod ics release and aosp but not entirely sure how to overlay the motorola repos. Most are fairly obvious and can be merged into device, external, hardware etc but don't know where to put the Motorola folder...
turl set up a device tree for the razri a while ago but it hasn't been touched since:
https://github.com/turl/android_device_motorola_smi
@Vistaus - Motorola updated did updated the source after the initial corrupt version.
Okay thanks for the info.
Maybe naive, but what about trying to contact Motorola and ask them how the build-pocess works? Or do you think they would not help?
Thorstenk said:
Okay thanks for the info.
Maybe naive, but what about trying to contact Motorola and ask them how the build-pocess works? Or do you think they would not help?
Click to expand...
Click to collapse
I've built my own kernel from source months ago but forgot to include the modules too so I had no WiFi or bluetooth lol oh well.
mattlgroff said:
I've built my own kernel from source months ago but forgot to include the modules too so I had no WiFi or bluetooth lol oh well.
Click to expand...
Click to collapse
Sounds good!
Could you explain how you did it?
cbanbury said:
I've had a brief attempt at this but always get build errors at make.
@Vistaus - Motorola updated did updated the source after the initial corrupt version.
Click to expand...
Click to collapse
That is not what developers say and I doubt developers will lie about it.
Thorstenk, the instructions for building the kernel are in the README.
The instructions for building in the WIFI/bluetooth modules are also pretty clear.
I may try another build with just these, I was running into problems when trying to build with all 37-38 folders overlayed...
Thanks man, will give it a try, unfortunately I am not very experienced ...
cbanbury said:
Thorstenk, the instructions for building the kernel are in the README.
The instructions for building in the WIFI/bluetooth modules are also pretty clear.
I may try another build with just these, I was running into problems when trying to build with all 37-38 folders overlayed...
Click to expand...
Click to collapse
cbanbury said:
Thorstenk, the instructions for building the kernel are in the README.
The instructions for building in the WIFI/bluetooth modules are also pretty clear.
I may try another build with just these, I was running into problems when trying to build with all 37-38 folders overlayed...
Click to expand...
Click to collapse
This was how I did it. Just followed the readme. Modules didn't work right though as I said.
Sent from my XT890 using Tapatalk 2
Just tried to compile the whole thing which did not work, overlaying everything is definitely not sufficient. I guess we need to do more.
After that I tried to bake a kernel, wich did not work as well, always another build error. I am working on a mac which probably makes the situation that bad, no idea.
Dont get why they do not provide a tar-ball where everything is included ...
mattlgroff said:
This was how I did it. Just followed the readme. Modules didn't work right though as I said.
Sent from my XT890 using Tapatalk 2
Click to expand...
Click to collapse
I'm on a mac also, it shouldn't be an issue if you are on a case sensitive file system n using correct java, gcc etc.
Check the version of xcode you are using as well, I had to install version 3.
Oh and post the error message. I got to the point where it was complaining about multiple copies of busybox from the overlayed folders (which is why I think we don't need all of them)
Sent from my XT890 using xda app-developers app
New WebKit Part Online and a new README -> how to compile the complete ROM IMHO.
http://sourceforge.net/projects/razr-i.motorola/files/razr-i/9.8.2I-50_SMI-26/
lord0815 said:
New WebKit Part Online and a new README -> how to compile the complete ROM IMHO.
http://sourceforge.net/projects/razr-i.motorola/files/razr-i/9.8.2I-50_SMI-26/
Click to expand...
Click to collapse
README instructions are the same as ICS, hope it works this time..
lord0815 said:
New WebKit Part Online and a new README -> how to compile the complete ROM IMHO.
http://sourceforge.net/projects/razr-i.motorola/files/razr-i/9.8.2I-50_SMI-26/
Click to expand...
Click to collapse
Yes, I bothered Motorola for this last night. Glad they sorted it so quickly.
Also don't include the recovery folder at the moment.
I had an unsuccessful build this morning so I think there's still some things missing...
Sent from my XT890 using xda app-developers app
cbanbury said:
Yes, I bothered Motorola for this last night. Glad they sorted it so quickly.
Also don't include the recovery folder at the moment.
I had an unsuccessful build this morning so I think there's still some things missing...
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
Keep bothering ! :good:
Theres a new tree online SMI-28 maybe with a working kernel source this time?!
http://sourceforge.net/projects/razr-i.motorola/files/razr-i/9.8.2I-50_SMI-28/
https://android.googlesource.com/pl...-linux-4.4.3/+show/refs/tags/android-4.1.2_r1
Didn't have time to look at this over the weekend but will try a build tonight. Hopefully they fixed everything this time *fingers crossed*
cbanbury said:
Didn't have time to look at this over the weekend but will try a build tonight. Hopefully they fixed everything this time *fingers crossed*
Click to expand...
Click to collapse
My hopes are in you! So very good luck!
diogo.sena said:
Keep bothering ! :good:
Click to expand...
Click to collapse
WAY OFFTOPIC:
Wow! You also come here from moto defy! Regards!
Enviado desde mi XT890 usando Tapatalk 2

[SOLVED] [Q] Kernel Compiling & Custom Recovery

So I've been messing around with compiling my own kernel (using Semaphore as a base) and CWM based recovery and have run into a bit of a snag. As far as I can tell the recovery compiles since I can built the update.zip and it'll flash yet I can't seem to figure out how to get it to compile into the kernel. I thought all I needed to do was replace the ramdisk.img and ramdisk-recovery.img, but that doesn't seem to work. I've tried searching for the answer but I've been unable to find it. Any assistance would be greatly appreciated.
You'll need to replace another file ("recovery") in the ram disk folder. Sorry I can't remember where it was, I'll tell you when I get home.
Sent from my SGH-I337M using Tapatalk 4 Beta
EDIT: Take a look at this, it might help you. https://github.com/stratosk/ics-ramdisk/commit/99a015857c9c74fd10b957ce48c5686261651036
Nick0703 said:
You'll need to replace another file ("recovery") in the ram disk folder. Sorry I can't remember where it was, I'll tell you when I get home.
Sent from my SGH-I337M using Tapatalk 4 Beta
EDIT: Take a look at this, it might help you. https://github.com/stratosk/ics-ramdisk/commit/99a015857c9c74fd10b957ce48c5686261651036
Click to expand...
Click to collapse
Never got the notice someone replied to this post... Thanks. I actually figured it out yesterday when I decided to update.

Pie 9.0 Nethunter Kernel

Does one exist? Been searching forever. Looking for a kernel with packet injection and support for external wifi adapters.
Stryker336 said:
Does one exist? Been searching forever. Looking for a kernel with packet injection and support for external wifi adapters.
Click to expand...
Click to collapse
The official 2020.1 nethunter release comes with all you need. I installed it yesterday on top of los 16 and my external tp-link tl-wn822n works out of the box.
How can i test packet injection?
Odd. I have that installed and cannot detect any external adapters or get native wifi in monitor mode.
For the internal Adapter you need a patched Firmware along with nexmon, and so far i see you musst build this for your own. nexmon from the store still not work, nexmon from kimocoder does not have the Firmware for nexus 6 and so also the Hijacker does not work.
I will try this tomorrow and give Feedback.
Nick_Speed said:
For the internal Adapter you need a patched Firmware along with nexmon, and so far i see you musst build this for your own. nexmon from the store still not work, nexmon from kimocoder does not have the Firmware for nexus 6 and so also the Hijacker does not work.
I will try this tomorrow and give Feedback.
Click to expand...
Click to collapse
That would be awesome. Thank you! I tried building a kernel but it's out of my league.
Let me know how this goes . Super excited about trying this. Thx dude.
Stryker336 said:
Let me know how this goes . Super excited about trying this. Thx dude.
Click to expand...
Click to collapse
nexmon Installation went fine, ist not that hard, see https://github.com/seemoo-lab/nexmon
but sadly there is no Driver for monitor mode for the internal Adapter wlan0, sorry, i thought it only depends on the Firmware and the nethunter Image witch Comes with a kernel that has the right Driver but no...
will this kernal if i flash with pie 9.0 will it also remove forced encryption as well.
Any chance someone can compile one? I'm still having difficulty with the patch.
Stryker336 said:
Any chance someone can compile one? I'm still having difficulty with the patch.
Click to expand...
Click to collapse
Bump. Any plans for a compiled pie kernel? I get so many errors building nexmon.
Stryker336 said:
Bump. Any plans for a compiled pie kernel? I get so many errors building nexmon.
Click to expand...
Click to collapse
What errors? May i can help you with that. First have a look at my link to nexmon https://github.com/seemoo-lab/nexmon and the section to build your own patches.
Nick_Speed said:
What errors? May i can help you with that. First have a look at my link to nexmon https://github.com/seemoo-lab/nexmon and the section to build your own patches.
Click to expand...
Click to collapse
Appreciate that. I posted this on the Github. Can't seem to get the libisl.so.10 libraries.
Installed dependencies. Can't seem to make the kernel. Any ideas?
COLLECTING STATISTICS read /root/nexmon/STATISTICS.md for more information
COMPILING src/ioctl.c => obj/ioctl.o (details: log/compiler.log)
/root/nexmon/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-armv7l/bin/../lib/gcc/arm-none-eabi/5.4.1/cc1: error while loading shared libraries: libisl.so.10: cannot open shared object file: No such file or directory
make: *** [Makefile:42: obj/ioctl.o] Error 1
Could someone share a built firmware? fw_bcm4330_5_90_100_41_sta.bin I think I need
Stryker336 said:
Could someone share a built firmware? fw_bcm4330_5_90_100_41_sta.bin I think I need
Click to expand...
Click to collapse
I fixed the dependencies issues! This worked
ln -s /usr/lib/arm-linux-gnueabihf/libisl.so /usr/lib/arm-linux-gnueabihf/libisl.so.10
Stryker336 said:
Odd. I have that installed and cannot detect any external adapters or get native wifi in monitor mode.
Click to expand...
Click to collapse
Same, I haven't been able to fix this either. I feel like I've tried everything but the fix... I'm only vaguely familiar with Android, so I don't know how to use the NEXMON patch, I cloned it, and I think I installed it, but no change, I also have the app, but can't get it to install the right firmware. (Install button is always greyed out). I would really appreciate some simple instructions to patch this firmware. Thanks!!

Categories

Resources