Ready to donate if any dev can teach me Kernel development - Android General

Hi,I want to learn kernel development at any cost. .if any any developer is ready to teach me or help me can PM me.
I will donate for his teaching and hardwork. . .Please help me i am really damn interested on android development....By the way i am a fast learner too
I would donate more than enough. .PLease Help me
Thanks In Adavance

You can start with installing Linux on PC.
On XDA some good tutorials are also avalable on Kernel Dev. Search.
Jai Ho

Aeonit said:
You can start with installing Linux on PC.
On XDA some good tutorials are also avalable on Kernel Dev. Search.
Jai Ho
Click to expand...
Click to collapse
yeah i know how to setup source files and toolchains. .I want to learn the kernel in depth

start here http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
it will teach you the commands and other improtent things. read about building linux kernels because they are basicly the same google is your friend.

Will it works for CM kernel or any GB kernel.

croniccorey said:
start here http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
it will teach you the commands and other improtent things. read about building linux kernels because they are basicly the same google is your friend.
Click to expand...
Click to collapse
Thanks sir.Will start learning

Aeonit said:
Will it works for CM kernel or any GB kernel.
Click to expand...
Click to collapse
I think the way of following is similar but if you want cm7 kernel you have to download cm7 kernel source code if you need stock kernel download the kernel source code for your device
if i am wrong please correct me

srinivas07 said:
I think the way of following is similar but if you want cm7 kernel you have to download cm7 kernel source code if you need stock kernel download the kernel source code for your device
if i am wrong please correct me
Click to expand...
Click to collapse
the configuration of the kernel will determine what it is for, you can take htc source and build a cm7 kernel or vice-versa, you just need to make sure the config is correct for cm7 or sense or whatever you are building for, aosp/miui/cm7 use basicly the same configurations, sense, or other manufacturer made software can require special configuration.
you can pull the .config from your device as a starting point also make sure you use the gcc-4.4.0 toolchain when you build.
if you need more help you can pm me and if i can help i will
good luck

croniccorey said:
the configuration of the kernel will determine what it is for, you can take htc source and build a cm7 kernel or vice-versa, you just need to make sure the config is correct for cm7 or sense or whatever you are building for, aosp/miui/cm7 use basicly the same configurations, sense, or other manufacturer made software can require special configuration.
you can pull the .config from your device as a starting point also make sure you use the gcc-4.4.0 toolchain when you build.
if you need more help you can pm me and if i can help i will
good luck
Click to expand...
Click to collapse
thanks. .if i had any doubt i will surely pm you.

I'm stupid but is Linux a program on windows that u can install or Change it from windows to Linux or is Linux a computer. I I thought it was a computer..
Sent from my PC36100

lreyes15 said:
I'm stupid but is Linux a program on windows that u can install or Change it from windows to Linux or is Linux a computer. I I thought it was a computer..
Sent from my PC36100
Click to expand...
Click to collapse
it's an operating system lol

erikmm said:
it's an operating system lol
Click to expand...
Click to collapse
I dont know how many times i can thank you
Sent from my PC36100

lreyes15 said:
I dont know how many times i can thank you
Sent from my PC36100
Click to expand...
Click to collapse
Lol just look for my posts and thank away haha if you're starting with Linux I say try Ubuntu
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol

erikmm said:
Lol just look for my posts and thank away haha if you're starting with Linux I say try Ubuntu
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Click to expand...
Click to collapse
+1 ubuntu is the best way to start

how about fedora??

No, don't use fedora, 9/10ths of the dependicies are Debs/apt-get, and don't translate over to rpm based distros without an absurd amount of work...
Sent from a sexy turtle.

stqism said:
No, don't use fedora, 9/10ths of the dependicies are Debs/apt-get, and don't translate over to rpm based distros without an absurd amount of work...
Sent from a sexy turtle.
Click to expand...
Click to collapse
Why not? I'm using with success CentOS to build Android. To build kernel you can use any distro without problem. I think that is possible even with windows with Cygwin but I'm afraid to try haha.
Sent from my GT-I9001 using xda app-developers app

oisis said:
Why not? I'm using with success CentOS to build Android. To build kernel you can use any distro without problem. I think that is possible even with windows with Cygwin but I'm afraid to try haha.
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
You can't build from source on windows
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol

erikmm said:
You can't build from source on windows
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Click to expand...
Click to collapse
Are you sure?
http://cygwin.com/ml/cygwin/2007-08/msg00101.html ?
Sent from my GT-I9001 using xda app-developers app

oisis said:
Why not? I'm using with success CentOS to build Android. To build kernel you can use any distro without problem. I think that is possible even with windows with Cygwin but I'm afraid to try haha.
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
Google compiles it themselves on Ubuntu, all the packages can be set up with a tiny amount of work. Now if he wasn't cross compiling, use any distro you want!
Sent from a sexy turtle.

Related

I want to develop

Hi everybody i was wondering if there was any developer that could help me learn how to develop some roms and stuff for the sgs4g i really want to help. I'm 14 help me please need step by step instructions!!
mods delete please
another clutter prone to happen.
dear ssh678.
even though your ambition is highly admired, there are rules & regulations you need to read prior to posting.
this is probably what you're looking for.
~cheers
That thread is a dead end. What exactly are you trying to do? I can help you a little bit.
Sent from my Galaxy Tab running CM7
this is the wrong place to post questions. mod please move this thread.
chris.... said:
That thread is a dead end. What exactly are you trying to do? I can help you a little bit.
Sent from my Galaxy Tab running CM7
Click to expand...
Click to collapse
I'm just trying to learn how to make roms and kernels so if i wanted to make a rom my way with everything i want with a kernel that i made i would post it and let everybody try im a noob sorry... im just trying to make roms and kernels
ssh678 said:
I'm just trying to learn how to make roms and kernels so if i wanted to make a rom my way with everything i want with a kernel that i made i would post it and let everybody try im a noob sorry... im just trying to make roms and kernels
Click to expand...
Click to collapse
Any programming experience?
Sent from my Galaxy Tab running CM7
chris.... said:
Any programming experience?
Sent from my Galaxy Tab running CM7
Click to expand...
Click to collapse
along with you wanna learn linux?
cause linux experence cough helps tons cough
RaverX3X said:
along with you wanna learn linux?
cause linux experence cough helps tons cough
Click to expand...
Click to collapse
Yeah, plus Linux is awesome anyway
Sent from my Galaxy Tab running CM7
well knowing how to read configure and install via source helps along with compileing kernels.. Hince why linux exp is a major plus
You need either Linux or a Mac to build from source anyway
Sent from my Galaxy Tab running CM7
I'm gonna hijack the thread since the OP is taking too long to reply.
I have some experience with Linux. Programming experience with HTML, Javascript, PHP, Java and C/C++.
Any tips?
FBis251 said:
I'm gonna hijack the thread since the OP is taking too long to reply.
I have some experience with Linux. Programming experience with HTML, Javascript, PHP, Java and C/C++.
Any tips?
Click to expand...
Click to collapse
get eclipse get the android sdk set them up also get the samsung sorce code from Samsung have a look at it
get fimmilar with complying your own kernels from source so on so forth read learn ask questions.
Dont be afraid of soft bricks
chris.... said:
You need either Linux or a Mac to build from source anyway
Sent from my Galaxy Tab running CM7
Click to expand...
Click to collapse
ok i will dual boot linux with windows but i have no programming experience i will be taking classes in highschool but for now nothing so i need some major help thanks for helping! Any linux OS? Which one? i need link thanks! Also need to learn c++ Thanks......HELP!
ssh678 said:
ok i will dual boot linux with windows but i have no programming experience i will be taking classes in highschool but for now nothing so i need some major help thanks for helping! Any linux OS? Which one? i need link thanks!
Click to expand...
Click to collapse
Ubuntu is pretty easy to use
Sent from my Galaxy Tab running CM7
ubuntu is easy to learn.. Read read everything best advice i can give the reason i stated eclipse is u can test of a fake phone via the program without fear of killing ur own device for apps and what not lol thats always a plus
ssh678 said:
ok i will dual boot linux with windows but i have no programming experience i will be taking classes in highschool but for now nothing so i need some major help thanks for helping! Any linux OS? Which one? i need link thanks! Also need to learn c++ Thanks......HELP!
Click to expand...
Click to collapse
You'll wanna learn Java, specifically, Object Oriented Programming. Stick to one of the more popular Linux distributions since it'll be easier to get your computer set up and deal with driver problems and the like. For now, maybe Ubuntu would be your best choice.
Come on, don't blame on me,but do you have any ideas of Linux otherwise this will be a thread with only HOW-TO install Linux and how to fetch repo and mod them to destroy the main reason they were build. TO WORK ON YOUR PHONE !
I don't want to be rude! Im only think that it is senseless to learn first android devin, when you never used Linux befor :/
Sent from my Nexus S using XDA Premium App
Borky_16 said:
Come on, don't blame on me,but do you have any ideas of Linux otherwise this will be a thread with only HOW-TO install Linux and how to fetch repo and mod them to destroy the main reason they were build. TO WORK ON YOUR PHONE !
I don't want to be rude! Im only think that it is senseless to learn first android devin, when you never used Linux befor :/
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
hate to say it he does have a point with 0 prior experence u might wanna start learning linux first and foremost and work from there
Yeah but this thread is a good idea for people who are halfway there and want to learn
Sent from my Galaxy Tab running CM7
never said it wasnt

[Q] DEVS only

I was just wondering do you need to be running linx to do any type of developing or can you use a windows based pc?
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
1. it depends what you are trying to do.
Theming is going to work fine on PC.
if you want to build something, you're gonna need Ubuntu.. Preferably 10.04(LTS)
if you set up your build environment using Cygwin you can use windows to develop on
If you're gonna be trying to build ROMs/kernels from source though, you might wanna do it on either OS X or Linux.
FBis251 said:
If you're gonna be trying to build ROMs/kernels from source though, you might wanna do it on either OS X or Linux.
Click to expand...
Click to collapse
it differently does simplify it just a note ONCE U GO LINUX you wont go back to win anything lol..
I think ill leave it up to you guys to dev i would love to learn but cant afford the new hardware so keep up the good work guys.
You don't need new hardware. Linux runs on everything.
FBis251 said:
You don't need new hardware. Linux runs on everything.
Click to expand...
Click to collapse
can you recommend a link for linux and will i have to reconfigure all my computer files and programs to run or will they just work automatically
http://www.ubuntu.com/
you could dualboot windows and linux
ooohhaaahh said:
http://www.ubuntu.com/
you could dualboot windows and linux
Click to expand...
Click to collapse
X2
Sent from my SGH-T959V using xda premium

[Q]Help getting started with ROM developement

Hi, I am interested in starting some custom ROM work for our device. I am just looking for a little bit of direction on where to start. I understand things are a bit more complicated with our locked bootloader, but I know there is still a lot to be done. What are some good places to start tweaking performance? How about graphics and theming? if there is anything else I should know that would be great. I am not an extremely experienced programmer, but I have some experience and I am fairly comfortable tweaking system stuff. Lastly, Is there any way to get an emulater going for the A2? this would be very helpful for development to save the pain of boot loops and errors on our real device. thanks for everyone's help! Hopefully our development will take off for this phone once we get the bootloader bypass working or get it fully unlocked.
This needs moved to general.
Sent from my MB865 using xda premium
tmease1 said:
This needs moved to general.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
ok sorry
I just want to get one thing out there. If you want to develop you will NEED Linux. It makes things a lot easier than using windows.
Moved to General to OP's request.
farshad525hou said:
I just want to get one thing out there. If you want to develop you will NEED Linux. It makes things a lot easier than using windows.
Click to expand...
Click to collapse
I am currently quad booting Windows, my custom arch build, ubuntu, and debian, so I am set there! I prefer linux to windows anyways, i mostly use windows just for compatability, but I am in ubuntu right now
lkrasner said:
I am currently quad booting Windows, my custom arch build, ubuntu, and debian, so I am set there! I prefer linux to windows anyways, i mostly use windows just for compatability, but I am in ubuntu right now
Click to expand...
Click to collapse
Wow impressive.. I just use Ubuntu on a virtual machine..
farshad525hou said:
Wow impressive.. I just use an Ubuntu virtual machine..
Click to expand...
Click to collapse
Arch is pretty awesome if you have the patience/time to set it up. It's not that hard, just takes some work to figure it out
lkrasner said:
Arch is pretty awesome if you have the patience/time to set it up. It's not that hard, just takes some work to figure it out
Click to expand...
Click to collapse
You'll also need a ROM kitchen to decompile ROM's, or you could just extract the zip and rezip... only problem is that if you make any major changes you need to write a new updater-script...

How to root..in Linux?

Ok so I have seen that we need Windows drivers and all that to root, I don't have a Windows machine, I have Linux Mint installed. Is there a way that I can root my Atrix 2 on linux?
X-jo said:
Ok so I have seen that we need Windows drivers and all that to root, I don't have a Windows machine, I have Linux Mint installed. Is there a way that I can root my Atrix 2 on linux?
Click to expand...
Click to collapse
This sounds like a job for Jimbridgman (a.k.a. Linux god)...
I actually have a script that I need beta testers for that does root and fxz and a few other things if you want to be a guinea pig.
It works in linux and mac at the moment, windows will also soon be supported as well.
Sent from my SAMSUNG-SGH-I747 using xda premium
jimbridgman said:
I actually have a script that I need beta testers for that does root and fxz and a few other things if you want to be a guinea pig.
It works in linux and mac at the moment, windows will also soon be supported as well.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
as the Rock says... Just Bring it !!
X-jo said:
as the Rock says... Just Bring it !!
Click to expand...
Click to collapse
I will pm you with the link when I get home in a little while.
Sent from my SAMSUNG-SGH-I747 using xda premium
jimbridgman said:
I actually have a script that I need beta testers for that does root and fxz and a few other things if you want to be a guinea pig.
It works in linux and mac at the moment, windows will also soon be supported as well.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Hey Jim I would also be interested to test for you..... If you got source would be awesome just hooked my uncle (noob) with Ubuntu and an trying to teach him to compile/build from source..... This would kill 2 birds with one stone.....:highfive:
hankbizzo5 said:
Hey Jim I would also be interested to test for you..... If you got source would be awesome just hooked my uncle (noob) with Ubuntu and an trying to teach him to compile/build from source..... This would kill 2 birds with one stone.....:highfive:
Click to expand...
Click to collapse
No source, it is all shell scripts, way easier this way....
I will include you in the alpha/beta test group. I am uploading to my andriodfiles.com directory now, when done I will ask for other testers, then PM everyone the link before the end of the day.
jimbridgman said:
No source, it is all shell scripts, way easier this way....
I will include you in the alpha/beta test group. I am uploading to my andriodfiles.com directory now, when done I will ask for other testers, then PM everyone the link before the end of the day.
Click to expand...
Click to collapse
I'm assuming the initial links uploaded will be for Linux only? At any rate, I'll test for Win-d'ohs when you get that up for testing... thanks for working on this!
Sent from my MB865 using xda premium
Apex_Strider said:
I'm assuming the initial links uploaded will be for Linux only? At any rate, I'll test for Win-d'ohs when you get that up for testing... thanks for working on this!
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Right now, I just have Linux and OS X, windows is in the works, it is just not ready yet, and I have not included it in this version.
jimbridgman said:
No source, it is all shell scripts, way easier this way....
I will include you in the alpha/beta test group. I am uploading to my andriodfiles.com directory now, when done I will ask for other testers, then PM everyone the link before the end of the day.
Click to expand...
Click to collapse
10-4 count me in .....

[COMMUNITY PROJECT] [DEV] New Android Emulator for Testing/Developing Custom Roms

I know the SDK has AVD, but it's outdated and extremely slow. You can install custom roms on it but only older ones because its based on the yaffs2 filesystem and most current roms use EXT4. I had high hopes for bluestacks too but its locked down pretty tight and I don't see us being able to flash roms to it anytime soon. We have emulators for pretty much everything else, something like this shouldn't be too hard if we work at it. Dynamic recompilation seems to be the best way to go, but feel free to give input if you feel otherwise.
I guess our starting point should be here: http://fms.komkon.org/EMUL8/HOWTO.html
The man who wrote the guide above is some high-end developer that builds emulators for Android, but he seems to be pretty knowledgeable. He has an email you can contact him if you need help with a specific thing: [email protected].
As they come in, I'll list all the information regarding developments in this project in the post below.
Reserved
Reserved
Wow! Looks an excellent project for Devs
I have few questions
1. Will be there a possibility to define and emulate specific devices?
2. How ROMs are flashed, the emulator will have a recovery too?
3. How many of you are working on it?
varun.chitre15 said:
Wow! Looks an excellent project for Devs
I have few questions
1. Will be there a possibility to define and emulate specific devices?
2. How ROMs are flashed, the emulator will have a recovery too?
3. How many of you are working on it?
Click to expand...
Click to collapse
1.) One of the goals would be hardware and kernel emulation, I would imagine they could be set as variables where you could input your own kernel and we could make some predefined hardware options for you to choose from. It would be hard but I think it could be done.
2.) I don't exactly know, but seeing as that's how we already do it we could try. Early alphas would probably be more of a "kitchen" where your menu is in the terminal and you manually put your files in the respective folders.
3.) Just me at the moment, I haven't found anyone to help. I haven't really made too much progress either, right now I'm decompiling AVD to figure out how it runs.
If this works, it would be a lifesaver. I say we should PM you any predefined device settings we want, and have a drop down list that automatically sets it. And to emulate recovery I don't see happening like on our devices, but maybe some of the wipe features, and flashing over a current rom? Also anything you need for help I can do, just ask. I'm good at design, and UI, just can't create it myself. And can you possible make it cross platform? Because I switch between windows and Linux.
Sent from my NookTablet using xda app-developers app
evodev said:
If this works, it would be a lifesaver. I say we should PM you any predefined device settings we want, and have a drop down list that automatically sets it. And to emulate recovery I don't see happening like on our devices, but maybe some of the wipe features, and flashing over a current rom? Also anything you need for help I can do, just ask. I'm good at design, and UI, just can't create it myself. And can you possible make it cross platform? Because I switch between windows and Linux.
Sent from my NookTablet using xda app-developers app
Click to expand...
Click to collapse
I'm using Ubuntu 12.04 right now, so it's going to be Linux at first but once its stable enough the plan is to make it cross-platform. And I do need help, I need all the help I can get! Hence community project haha.
flapflip22 said:
I'm using Ubuntu 12.04 right now, so it's going to be Linux at first but once its stable enough the plan is to make it cross-platform. And I do need help, I need all the help I can get! Hence community project haha.
Click to expand...
Click to collapse
I can live with Linux at first. And I know, but I mean any help a non-coder can give. I will at least test it, and give some device specifics, but anything else that I can really do?
Sent from my NookTablet using xda app-developers app
evodev said:
I can live with Linux at first. And I know, but I mean any help a non-coder can give. I will at least test it, and give some device specifics, but anything else that I can really do?
Sent from my NookTablet using xda app-developers app
Click to expand...
Click to collapse
Either way, I appreciate the help! Ill PM you if I need a tester and you should pop in every once in awhile to see how things are coming along. I'm not going to lie, this is harder than I thought it was but it seems do-able the more I study AVD.
I'm thinking we might be able to change the filesystem on AVD to run EXT3/EXT4 and get it to run a little smoother and build it to run without eclipse, then modify it to fit our needs.
That's sound good. And anyone who would get the most use of it would be fine with a terminal based one right now, and you can work on a GUI later unless someone else helps you soon. I'll keep checking as this comes along, hopefully it won't take too long to get a preview working.
Sent from my NookTablet using xda app-developers app
I am too up for testing!
You can use Qt for GUI, its easy.
Its based on C++ and hence is very fast than other GUI libraries.
varun.chitre15 said:
I am too up for testing!
You can use Qt for GUI, its easy.
Its based on C++ and hence is very fast than other GUI libraries.
Click to expand...
Click to collapse
Any chance you would know how to use it and can help him?
Sent from my NookTablet using xda app-developers app
evodev said:
Any chance you would know how to use it and can help him?
Sent from my NookTablet using xda app-developers app
Click to expand...
Click to collapse
Yes I can
You can see my tool in my signature. It is based on Qt
varun.chitre15 said:
Yes I can
You can see my tool in my signature. It is based on Qt
Click to expand...
Click to collapse
That's good. And your sig isn't showing up in the tapatalk app.
Sent from my NookTablet using xda app-developers app
I feel pretty confident in this project, I'm going through Androids source code starting with 1.5
I've been thinking this over, it would be much easier to add EXT3 and EXT4 support to AVD and tweak it for speed. Im working on it now, ill try to get an early alpha out as soon as I can put it together.
flapflip22 said:
I've been thinking this over, it would be much easier to add EXT3 and EXT4 support to AVD and tweak it for speed. Im working on it now, ill try to get an early alpha out as soon as I can put it together.
Click to expand...
Click to collapse
Great
Do lemme know if you need any help with GUI
Originally Posted by flapflip22
I've been thinking this over, it would be much easier to add EXT3 and EXT4 support to AVD and tweak it for speed. Im working on it now, ill try to get an early alpha out as soon as I can put it together.
Click to expand...
Click to collapse
Great
Do lemme know if you need any help with GUI
Click to expand...
Click to collapse
Will do!
I'm not asking for an eta or anything, but have you got anything working yet, or still looking at the code? I really want to try this out soon.
Sent from my NookTablet using xda app-developers app
What is the status?

Categories

Resources