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
Related
Hello all,
I am quite new so please pardon my ignorance.
I am new to Android and trying to develop some applications with some success.
What I want to know is, if I want to extend/change a system application, for example, Phone.apk file) how can I do so without downloading the whole ROM source from GIT repositories. Also I will like to know is there a way to debug the same without building the whole source every time?
All the questions I searched were related to Java or general Android application development. I could not find anything related to extending/changing system applications. Maybe I didn't searched well enough. If yes, please point me to the right thread.
Any help will be hugely appreciated.
Regards,
Yogesh.
Hi every one I dont know where to start i want to make my own rom from source,build it,modify it etc.But i dont know where to start.I know how to build rom from source(learned it from the tutorial on source.android) but i dont know what do those codes mean.i searched on google but cant find an easy tutorial.If i build rom from source how do i make it work on my phone.How do i FIX bugs on my roms,modify it Help please
Check out the chef central section under android. There are a lot of great people working on making development accessible.
For a pure AOSP ROM you are going to have a bit more work, but be rewarded in the end. There is also cyanogenmod and other custom distributions you can build from source and modify.
If you are familiar with C and Java programming you can dig into the actual development more by writing apps or changing source code. If you don't you may want to start on that road. Other wise you will be basically cutting and pasting from everyone else, which doesn't get you any credit.
Themes are also a good place to start. There are lots of good guides in the theme section and people are willing to help if you ask nicely and appropriately.
I have done a bit of this foot work and come to the conclusion, I need to learn programming then come back to source. It is overwhelming to take on an entire operating system in a foreign language, especially when that language has to be perfect to function!
Good luck in your endeavors. Feel free to hit me up for the little knowledge I have!
Sent from my PC36100 using xda premium
But! where to learn
First i want to learn the basics of Rom
are you familiar with Java, C and C++? These are going to be very useful in understanding the "codes" as that is what they are written in. You are also going to have to build AOSP specific for your device, which will require adding your device to the device tree and extracting the necessary drivers and files that are specific to your device. Cyanogenmod has many devices already added to their github and you would simply clone the folder for your device, then build AOSP source and issue make using the device specific folder.
THIS is a helpful tool, and yes it will compile pure AOSP as well.
THIS is also a very helpful tutorial, and you can modify instructions to work for Gingerbread.
If you just want to learn to build and modify the source start with Cyanogenmod build from their source first. You can also build the kernel if you choose but that is a bit more complicated. After you have both of those building without errors then start making changes that you want to see.
The CM Wiki has some good info http://wiki.cyanogenmod.com/wiki/Building_from_source
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Hi, i'm sort of starting in Android Developement and I found a proof of concept that looked interesting because it might exploit a vulnerability that's present on my future application. I'd like to build it but I can't manage to... I have joined the source code that you can get from github as an attached file (and zipped it)
I hope somebody will be able to help me and explain how to do it,
Thanks,
Hi All,
I've been reading these forums for sometime now. Until now I've only been here as a user of roms not as a developer.
However, on my current project I had the requirement to get an android distribution running on a beaglebone black embedded board. As there are a lot of experienced rom developers here I would like to ask my question here.
Currently I'm successfully booting the kernel. It also seems to get to the actual homescreen. However, it seems that I'm currently in a bootloop a when I reach the homescreen. I get thrown back to the boot animation.
My guess is that there is some kind of memory issue here. More specifically the vmalloc part.
I get the following error in the dmesg when the homescreen crashes:
binder: 1804: binder_alloc_buf failed to map pages in userspace, no vma
Can anyone confirm that this is good explanation and tell me how I should adres this issue? Or maybe provide me with some other tips?
I tried to increase the vmalloc size but I'm not really able to do so. if I enter the vmalloc=512M command on the uboot it doesn't really change the size...
Thanks
Hi there,
You must read some guides and tutorials for that. Starting from:
1. This guide about how to port different ROMs to your device.
2. This guide about how to port AOSP ROMs to your device.
3. This guide about how to port a ROM to your device.
4. This guide about how to create a new ROM for your device.
5. This guide for ROM development beginners.
6. This guide in xda university for building your own android rom.
7. This guide in xda university for porting an aosp rom from source.
There are also instructions on the cyanogen mod wiki site about it.
A good place to ask if you have questions about it or need help, is Chef Central - Android. Many devs are watching this forum and can help quickly.
Good luck
Hi Guys,
This is a total Noob asking a totally noobish question.
I want to start ROM development for my device, Lenovo P2 on my own. I will and have been checking a lot of tutorials for this.
But one thing gets me confused. How to get the device source files & Blobs directly from my device without having to depend on any online repository (which only contains source codes without some of the best and most useful features of this phone).
Ive come accross the below link.
http://ding34.blogspot.com/2013/05/extract-filessh-remote-object-does-not.html
I am not sure how much it will help. But will try. In the mean time, can come one point me in the right direction?