Hi! I was wondering if it's possible to make a kernel without source? Say i wanted a new kernel for my phone, but there is only one available, could i reverse engineer the one i have, and then port some files into the new one?
I have some programming knowledge, but i'm currently learning C, assembly and java at school, but i'm not so familiar with linux yet
Any help would be appreciated!
Related
Hello Everyone I Am New In This World And I Have Some Questions About Developing
-Which Programming language Should I Learn To Create Apps.?
-How To Create ROM?
-What About Porting Something From A Device To Another One?
-Is The SDK Of The Mobile Is Enough To Port Something From It?
-Should I Own An Old Phone For Testing?
P.S. I Have GS3
You develop for Android primary in the Java language. You may write native (i.e. compiled) code as well, but Java is recommended in most cases.
Creating custom roms is much like creating a Frankenstein Monster. Decompose your original rom, pick the pieces you like, replace the other with stuff you dig up from other places, or create yourself. Then re-pack everything in your new custom image, flashing you phone. The details about what to use to split images, flash devices etc you have to search this forum for - it'll differ from device to device.
When developing for Android you chose a minimal API level, e.g. Android 1.5. This way your app will run on all devices with at least Android version 1.5, no porting needed. Java is "write once, run many" so to say.
You can test your new apps either on you phone or in the emulator (Android Virtual Device) supplied with the SDK. If you intend to develop lots of code, a dedicated phone may be quite useful for testing, yes, but absolutely not necessary. You'll not crash your phone just because your application crashes, all apps are running in separate processes protected from each others.
You find the official tutorial at developer.android.com/training/basics/firstapp/index.html
Thanks For Your Help. Your Words Are Very Useful
THE.W!ZARD said:
Hello Everyone I Am New In This World And I Have Some Questions About Developing
-Which Programming language Should I Learn To Create Apps.?
-How To Create ROM?
-What About Porting Something From A Device To Another One?
-Is The SDK Of The Mobile Is Enough To Port Something From It?
-Should I Own An Old Phone For Testing?
P.S. I Have GS3
Click to expand...
Click to collapse
you need java to learn programming................
for basic rom making a bit of general knowledge is enought not much of programming is required........
for basic porting you can use cygwin for complex ports u need t change the framwork files which you will learn as the time passes..
sdk is required for building app and adb fastboot not for porting and other kind of stuff(related to api's)............
what do you mean by old phone.. you build mods for your phone so test it on the phone you built the mod for not old phone or something like that.........
The first thing you need to do is learn Java.
http://forum.xda-developers.com/forumdisplay.php?f=613
I know it's not as simple as it looks, otherwise everybody could do it, but at least can someone point me in a vague direction?
Just out of interest, how do you upgrade a device tree to support newer Android versions? Anything in particular which might prevent Android from functioning correctly?
I've acknowledged SELinux as a problem already.
I'm new to running device trees and kernels but I do know my way around Linux (I know how toolchains works, and I can build Android and kernels, for example) and I know C++, C and Java.
I've 'Google-d' the matter, but to no avail – there appears no clear way to do it.
+1 this question
i want its answer too:good:
Hi,
I wanted to ask this in other subforum, but this is my first post and I don't have permission there. Do you have a guide to recommend for creating custom roms?
I know a lot about Linux, I can compile kernels, patch, I know C a little. I programmed couple of Android apps, in Java and Go, so I guess I have some basic knowledge.
What do you guys do, with what source do you start? Is it a stock android source but you modify kernel and modules or you need first to find exact source for that phone?
For example, I own a Lenovo A560, and would like to try build custom rom for it. What would be the first steps?
Thanks,
Milan
I've got an Odroid XU4 device. Basically a standalone computer similar to Pi.
It's running CM12 and I believe the dev has given us the source:
http://forum.odroid.com/viewtopic.php?f=94&t=9316
I want to learn how to port features from other mod-heavy CM based ROM's to this one.
Where should I start for learning to do this?
I don't have time to learn everything, I'd like to keep it simple and focused towards my single goal. Are there any suggestions for me to get started?
Setting up an Ubuntu VM will be easy.
It's the steps that come next where I'll need a guide.
Hi all!
I've been looking for resources or tutorials on how to port a custom kernel like franco kernel to a currently not supported device, but seem to not be able to find any.
I'm a programmer myself, although I'm not very familiar with C, I think I'm still comfortable to make some non-drastic changes to the code. I've never worked on kernels or OS before, but it's going to be fun to learn new things. Since my goal is just to port an existing kernel, I think it's not going to be too hard in comparison to adding new features to the kernel.
I currently have a phone with already released OEM kernel source code, and would like to start with porting a custom kernel to it.
Thanks in advance to anyone who can point me to the right direction!