Are HTC ICS DVB-T Modules (.ko files) available ? - HTC EVO 3D

I'm trying to get together all the files I need to have a go at getting a DVB-T tuner working with the 3D - I have all the DVB-T modules, but for a lower kernel revision, and from what I've read they probably wont work with this kernel.
I'm really not looking forward to compiling these myself as I use Windows 7 and am aware that there are issues with compiling Linux on a Windows system and being new to Android/Linux cross compiling I could cause myself more problems than I solve.
So the question is, has anyone got info on a repository for these modules compiled for ICS at our kernel revision?

Related

[Q] Making a custom Kernel?

I've had a search and a look around but can't see anything specific enough to answer this.
I have read that the SGS2 uses the new BCM4330 chipset for it's WiFi-N support.
It looks to me that for existing kernels they are using either the existing kernel support or possibly the b43 driver.
I need to find out, and while I have compiled custom kernels in nix in the past, I have never done so in Android, so I'm a little out of my comfort zone here.
I want to compile a kernel where the WiFI driver will support monitor mode, ideally it would be the CM7 kernel with just this extra functionality added, however a number of the tools that I would use to identify the existing configuration do not seem to be available in the standard CM7 build (lspci being one).
I don't want to frack around too much without having read up first so could anyone point me at a good guide for creating my own Android Kernel, even better if the guide was specific to the CM7 version.
Lastly I mostly run a Fedora environment, however the bits I have read seem to suggest a number of tools are only available in a Ubuntu guise (heimdall springs to mind and while I'm sure it's possible to recreate it for Fedora I'm trying to reduce the number of dependencies I'll have to recreate as much as possible). Therefore can I get some advice regarding the least complicated way to generate an Android build environment in Linux.
Thanks
For kernel compilation on android, you can check the several repositories there are for the several kernels. Depending on each kernel/repository/user, you can find a predefined .config inside them, so you can get the basic configuration to compile the kernel, don't know if CM7 has it in its repository...
As for the enviorment, I haven't tried compiling a kernel, but I did compile some ROM on Gentoo Linux, so I suppose it could also be done in Fedora without many problems. The main thing about using Ubuntu is that is very extended, so they're using it as main Linux base, but that doesn't mean it can't be done in other linux distros. You can check CM7 wiki for building from source to install the required packages for your enviorment. In my case I cross checked the Ubuntu packages with Gentoo to install gentoo's version of that packages/tools to be able to compile without problems.
Also in the case of building kernels, you need a toolchain to be able to compile, but there are several webs/tutorials with info on how to use that.
EDIT: You have a complete tutorial for CM7 in their wiki with the needed packages for both Debian and Red Hat based distributions...
Very useful, thanks for the info.
Very useful info.
Hi,
I'm interested in compiling a custom kernel to support wifi monitor mode, but I read in a previous post that it can be a hardware limitation which makes it impossible to use monitor mode. Can anyone confirm that? Maybe a statement/answer from Broadcom?
I'm just asking it because I don't want to start playing with kernel compilation and driver hacking if it can't be done because of some missing code on the chipset or something.
Thanks.
kepten said:
Can anyone confirm that? Maybe a statement/answer from Broadcom?
Click to expand...
Click to collapse
I doubt Broadcom will answer that, but you can try to search the chipset info in Broadcom's web and see if its supported. Also you can check kernel modules if they can compile against that version.
AzureusPT said:
I doubt Broadcom will answer that, but you can try to search the chipset info in Broadcom's web and see if its supported. Also you can check kernel modules if they can compile against that version.
Click to expand...
Click to collapse
Well, Broadcom's website says nothing about monitor mode but I've found a driver (https:// github.com/cyanogen/galaxy-2636/blob/ics/drivers/net/wireless/bcm4330/src/include/wlioctl.h#L1153) which at least mentions it. This is for Galaxy Tab 10.1 which has the same chipset so maybe someone with a Tab 10.1 could verify if monitor mode works with that kernel/driver? ??

[Q] USB Ethernet adapter / Can't build MCS7830 kernel module

Hi everyone!
I have a rooted Galaxy S2 i9100 with ICS 4.0.3
Kernel version is 3.0.31-Siyah-s2-v5.0.1+
I just bought a USB-ethernet adapter, and I'm trying to make it work with my i9100.
The chipset on the adapter is a MCS7830, and I found the drivers for Linux kernel 3.x here:
( asix.com.tw / FrootAttach / driver / MCS783x_Linux_driver_v1.11.zip ) - sorry, I can't post links yet.
When I plug the adapter, the android recognizes it, but it doesn't generate an eth0 nor an usb0 connection on netcfg.
I've found on other threads that it could be a driver fault, and a possible solution would be to build these drivers as a kernel module. Is it possible? I'm trying to build a .ko module for it, but I still can't even handle the "hello_world.ko". I'd really appreciate and be thankful if someone could build a .ko for this driver.
Thank you in advance!
Any ideas?
Just to let you guys know, I just did it. I'll try to post a tutorial as soon as possible to help people that might have faced the same issues with similar dongles.
I recompiled the needed drivers as modules ("make modules") with the ARM compiler that comes with the Android NDK;
Set up the .config and Makefile from SiyahKernel 5.0.1+ with some values;
Pushed the modules to my phone and loaded manually the modules.
Siyah Kernel actually has many drivers (including other usb-ethernet chipsets)! Learning how to compile specific drivers as modules might be useful for many people.
nice to know that there is someone how found a solution. please post a detailed tutorial! I am desperately trying to get this work for 3 weeks now, without success. i ordered different usb-ethernet-adapters from amazon, i have just 5 days left to send them all back...
a tutorial would be very helpful! btw: does your solution only work with the siyah-kernel or with every kernel on a rooted phone?
thanx in advance, alex
mc.escher said:
Just to let you guys know, I just did it. I'll try to post a tutorial as soon as possible to help people that might have faced the same issues with similar dongles.
I recompiled the needed drivers as modules ("make modules") with the ARM compiler that comes with the Android NDK;
Set up the .config and Makefile from SiyahKernel 5.0.1+ with some values;
Pushed the modules to my phone and loaded manually the modules.
Siyah Kernel actually has many drivers (including other usb-ethernet chipsets)! Learning how to compile specific drivers as modules might be useful for many people.
Click to expand...
Click to collapse

[Q] Compiling a kernal module from stage 1

Hi
Could anybody point me in the direction of sourcing, locating and compiling a kernel module please? I have found many guides but they all seem to start halfway in the process ("assuming you have already managed to...", "assuming you are already proficient with...")
I have a cheap Android Chinese TV box. It came without joydev.ko so I can't use it with joypads/sticks, which is a pretty big limitation considering it has 4 usb ports which work fine with keyboards, mice and webcams.
I already have an Eclipse environemt set up which I use for Java/Android development but I've never dabbled with anything like this before.
I guess the steps required are something like this:
Locate source code for my particular Android version (Android 4.2.2, Kernel 3.3.0) - where do I do that? Do I need the entire source or can I just download and compile the module by itself?
Set up the cross compiler - is this a standard thing, or does it depend on my hardware? My chipset is an Allwinner A20 ARM Cortex-A7(Dual Core)
Compile the module.
So, have I got the steps right? If not, please correct me. If so.... how do I go about doing the above?

Help! Compiling from amlogic buildroot image

Hi,
I've been trying to solve an issue with my box Mecool KIII pro. It does not have the driver modules I need for my gamepads (want to make it retro emulation station). Anyways, my best bet is to learn how to compile the whole thing then add the bits I need. I found the buildroot images published by amlogic and found the one for my device. Here is the image for my device:
http://openlinux.amlogic.com:8000/download/ARM/filesystem/Linux_BSP/buildroot_openlinux_kernel_4.9_fbdev_20180211.tar.gz
It has kernel 4.9 which might be better than the current stock 3.4.
And here are the documentations for compiling:
http://openlinux.amlogic.com:8000/download/doc/Linux_BSP_Kernel4.9_Buildroot_OpenLinux_Release_Notes_V20180211.pdf
Now my issue is with gcc. When i install it in installs version 7 something and when I look for versions only 2 versions appear and both version 7. I tried to compile with this version, but after couple minutes it stops with an error.
From what i understand is if i want to get an older version I need to add the server that hosts them to my sources list which I don't have any clue how to do.
I have found the toolchain in question, but not sure how I can get it with "apt-get install":
https://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/
I am at my wits end here and any help would be much appreciated
P.S: It's my first time using Ubuntu, so please bear up with me and be noob friendly as much as you can

Making an own android image?

Hello everybody. I love this community and I have been lurking for a long time.
I have noticed on a foreign language forum that some people were offering a custom rom for my android 9 TV box.
The chinese box is based on a s905x3 CPU and has a mediatek wifi chip for which it is hard (if not impossible to find the wifi drivers).
The site claims that the image was made by modifying the stock rom that came with the box. Is this possible or do all custom roms need to be build from the source?
The custom rom I want to make is going to replace the launcher with kodi.
I am prepared to build the whole rom from source but I do have a couple of questions.
Since the mediatek wifi drivers cannot be found how would I go about including the binary for the wifi?
I have noticed that the box that I have uses a .ko (kernel object) module to drive the wifi chip.
Can I include these kernel objects in build? It is a shame that the kernel is built as a 32bit system. Would that mean that I can only compile a 32bit kernel if I were to reuse those kernel modules and binaries?
Another idea is to perhaps use the kernel from coreelec in my build since it seems to include a lot of drivers.
Is it possible to use a kernel from something like coreelec but use the source from AOSP for the rest of my build?
Is there anything else that I should be aware of?
Thank you all!!!!
Can anyone give me any hints to any of the questions?
Essentially I want to swap out the stock launcher for Kodi. What is the easiest way to do so?

Categories

Resources