Hi everybody
I need some help on kernel building.
After a quick documentation I understood that to customize kernel i need sources corresponding to my smartphone model (sources that must be public if I am not mistaken).
Now I have the misfortune of working with a Virtual V501 smartphone. I hope someone knows because i can't find any documentation on the internet.
Thus I can't get the kernel source for this smartphone, and I wonder if there are alternative solutions for modding the kernel or to obtain sources.
The purpose of this modding is the addition of libusbhost library, which I've noticed to be present in system / lib. But if i try to connect an external device via OTG cable it doesn't work properly.
Hi there!
There's many generic kernel building codes on XDA, I search and found too many.
Here's a good generic one...
http://forum.xda-developers.com/showthread.php?t=2486098
Without source for your device, which there's no mention of on XDA, it will be difficult I bet.
There's nothing more XDA assist can do to help I'm afraid, we're here to point people in the right direction, if there is one...on XDA only. You may need to look around elsewhere for your source!
Good luck. ?
---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------
Also, you could ask more questions in the thread I linked, or similar ones.
Related
Hi all, i'm new to this forum so i will first give an introduction of my Android experience.
I have been developing apps and android for the ADP1 (g1) phone, these are mainly for gaining access to telephony data and displaying it for Telecom engineers. I would like to port this code into the Magic/Sapphire, though (please correct me if i am wrong) there is no support for building the android code for a magic and it appears you cannot flash system.img onto the magic.
I have been looking at the ROM's that are about and was wondering how you managed to make them?
If there is already a thread for this can someone point me in the right direction as i have been unable to find it, otherwise can someone post a guide on how to approach this. Thanks.
Liam
hello. im new to android and i'm messing with openvpn and i need tun.ko. from what i understand, not just any tun.ko will work with a particular rom so i was wondering if anyone knows where i can obtain or at least make this file that would possibly work with the TPGB20110518 rom? thanks.
You should probably post in the author's thread, but I sse you probably can't post in the dev section yet (need 10 posts I think). Anyway, I looked at that ROM in the dev section and it's apparently running Di11igaf's kernel. I checked out his thread here:
http://forum.xda-developers.com/showthread.php?t=1070501
but he doesn't post any links to the kernel source.
With the source, it would be a simple matter of compiling in the module and adding it. I'd suggest you contact the author.
Pm the developer and he will respond asap
the issue was actually already resolved. did a bit of reading and apparently tun.ko file was built into cm so seeing as tpgb is based off of cm, it was built in as well. =)
Source is posted. Git is in my sig for the kernel
Hello,
I have been following this thread: http://forum.xda-developers.com/showthread.php?t=1991320&page=1 where icoolguy1995 has managed to create a ROM for the Allwinner A13 tablet.
Unfortunately, like many ROMs, the source code is not immediately available for further development. Basically I signed up to this forum because I planned to ask him for the source code, but as I cannot post in the developer's forum, I cannot.
I also notice that this is a reoccurring theme with new ROMs posted on XDA - the source code is often missing, and I was wondering what people's thoughts on this issue were?
_______
user135
You could just PM the creator, you don't need to post in a certain thread to do that. This is the course of action that would make the most sense, anyway.
Sent from my Transformer TF101 using xda app-developers app
Depending on the base ROM there may not be source available. Only the kernel source is available as most stock ROMs are closed sourced.
Wayne Tech S-III
Hi,
Nowadays I'm going to do some work in firmwares and I've looked for the full P6200L source tree in a lot of places, but I had no success.
In this post (http://forum.xda-developers.com/showthread.php?t=1576553&page=1) I saw a huge and great discussion regarding port cyanogen 6 to the devices P6200 like. Unfortunately I'm not allowed to post comments directly there.
Can some one point to me where can I find the latest source code that @aorth is using to generate those builds?
ss.plinio said:
Hi,
Nowadays I'm going to do some work in firmwares and I've looked for the full P6200L source tree in a lot of places, but I had no success.
In this post (http://forum.xda-developers.com/showthread.php?t=1576553&page=1) I saw a huge and great discussion regarding port cyanogen 6 to the devices P6200 like. Unfortunately I'm not allowed to post comments directly there.
Can some one point to me where can I find the latest source code that @aorth is using to generate those builds?
Click to expand...
Click to collapse
Guys, @aorth send a message to me. I think this thread may be closed now.
Thanks.
First post in the Dev section but this seemed to be the place to talk about kernel compilation and module development.
I have twice now, and am working on my third kernel compilation for the purposes of custom module building for the TF700 and the TF201.
The question I have has to do with the compilation process. Every time I have gone through this with the downloadable Asus Kernel zip I run in to several issues. Either missing references in code or portions that won't compile at all. Is this normal for kernel compilations? I would have thought that it would be fully compilable out of the box ( so to speak). Is it ASUS or just android/Linux in general that works out this way?
Is there a better way to do it? Should I use some generic source with the same version numbers? The current source is just not working at all. I am using an Ubuntu distro. Have the cross compile tools etc... but it just fails. I have already resolved two missing definition references and it just keeps on failing in new places
Hopefully this question doesn't offend developers. I have moved from WinPhone to here and want to better my understanding of how this should all work but need to start with some basics before I can make a meaningful contribution.
Thanks.
P.S... I looked and didn't find a "Compiling android kernels for dummies" book
hx4700 Killer said:
I looked and didn't find a "Compiling android kernels for dummies" book
Click to expand...
Click to collapse
"Dummies" doesn't write a book on kernel dev. Too wrapped up in telling people how to download iTunes.....
Use your "Google". And when you find it, Google XDA University.
There, you will find steps for setting a build environment and kernel and cross arm.
Understand, all kernels are different, but a good place to start. Plus, you learn how to use Google. An added bonus.
Oh... and... as an extra bonus, I will move this to Q & A, as this post has no development work attached. :silly:
MD
My question wasn't HOW to cross compile. I have done it.
My question is WHY are there so many errors that need correcting when compiling the ASUS downloadable kernels and if this is typical of the source from any device or just ASUS?
hx4700 Killer said:
The question I have has to do with the compilation process. Every time I have gone through this with the downloadable Asus Kernel zip I run in to several issues. Either missing references in code or portions that won't compile at all.
Click to expand...
Click to collapse
I had to fix exactly one pair of quotes vs. angle brackets somewhere in the RIL - get the patch pack from my kernel and apply the ril include fix. Then it should compile. If not, you are doing something wrong.
Can you post any links or names of everything ill need to get started on cross compiling a kernel for my tf700t I download the source and get my config.gz and am running a ubuntu distribution but if you could post a link to a tutorial that has detailed instructions that will work for the infinity that would be greatly appreciated thankyou
alexcass4 said:
Can you post any links or names of everything ill need to get started on cross compiling a kernel for my tf700t I download the source and get my config.gz and am running a ubuntu distribution but if you could post a link to a tutorial that has detailed instructions that will work for the infinity that would be greatly appreciated thankyou
Click to expand...
Click to collapse
Step 1: Get a suitable ARM toolchain. I can't help you here with Ubuntu because I'm using Gentoo and their crossdev tool (http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1).
Step 2: Cross-compiling the kernel works just as for native kernels (make menuconfig, make), but you have to pass parameters to each make, e.g. make ARCH="arm" CROSS_COMPILE="arm-gentoo-linux-gnueabi-" (or whatever your toolchain is called)
Step 3: For the TF700-specific blob stuff I have written a detailed tutorial here: http://forum.xda-developers.com/showpost.php?p=36925180&postcount=4