[NOOB] What shall I learn? and how to start porting newer android? - Android Software/Hacking General [Developers Only]

Right, I wanna start modding my phone now that i have some spare time. Just two things I need to know:
1. What code languages do I need to know?
2. How do I start porting a newer version of android to my phone when I know the languages? (any tutorials or guides or anything?, my phone doesn't have an unlocked bootloader so I know this will be a problem, but it still can be done)
Please just take two seconds of your time to help me
Thanks in advance

C'mon guys, all i wanna do is learn. is there anyone that can help me??

As far as I know, you would want to build Android from source. In your case, try looking at the CyanogenMod source.
There is also a wiki entry on the CyanogenMod website, showing you how to build CyanogenMod from source.
Knowlegde of C/C++ and Java will prove useful, as well as any knowlegde on Linux.

KernelCrap said:
As far as I know, you would want to build Android from source. In your case, try looking at the CyanogenMod source.
There is also a wiki entry on the CyanogenMod website, showing you how to build CyanogenMod from source.
Knowlegde of C/C++ and Java will prove useful, as well as any knowlegde on Linux.
Click to expand...
Click to collapse
Thanks for your help i am looking now
any further comments would appreciated too.

Do you have prior programing experience?

There there. I'll be a nice guy and feed you this one time.
http://forum.xda-developers.com/showthread.php?t=667298
Now run along, and start learning.

rajasyaitan said:
There there. I'll be a nice guy and feed you this one time.
http://forum.xda-developers.com/showthread.php?t=667298
Now run along, and start learning.
Click to expand...
Click to collapse
lol. cheers

Related

[Q] Android SDK - How do I port ROMS???

Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
satopunch89 said:
Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
Click to expand...
Click to collapse
Do you know anything about programming? Do you know anything about Linux? Do you have any driver building experience?
I f you answer no to anyone of these, I would say it's extremely hard.
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
satopunch89 said:
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
Click to expand...
Click to collapse
hey why give up so easily? if you really wanted to learn there are so many threads to get you started. first get a linux distro, ubuntu recommended for most people.
there's dsixia's kitchen around somewhere. play with that a little. read the script's he uses in that kitchen. you'll learn a bit.
then onto building. cyanogen's wiki shows how to build from source and set up your machine to sync with it etc etc. get those sorted and try learn the above mentioned
Cool!
Are there any links to these (Or are we not allowed to post them?)
Does it have to be a linux distro? Can I use OSX?
Hacking is cool, but the problem is that it is very hard, and demands a lot of experience.
how do i delete android sdk from my vista computer
noeneel said:
Does it have to be a linux distro? Can I use OSX?
Click to expand...
Click to collapse
http://source.android.com/source/initializing.html
This is where i started... hope it helps
Sorry about bringing back this old thread, but I'm also interested in this. I have programming experience with C, C++, C# and Java. I've also developed apps for Android. I've been using Ubuntu as my main operating system for a while now, so I'm good with Linux too. The only thing I lack is the driver programming experience. I'd still like some info/tutorials about porting ROMs, if anyone knows any good ones.
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
wait4me2burn said:
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
Click to expand...
Click to collapse
Can't mess with 3.5 yet as they new files can't be decoded properly. For resizing you have to edit all the demention xmls on all the apks and m10 files. Lots of trial and error. Make sure you good with logcat
maybe this can help a little
http://www.freeyourandroid.com/guide/porting-android
heres your answer
cooltom1323 said:
how do i delete android sdk from my vista computer
Click to expand...
Click to collapse
by deleting the map where all the files are or, if you hae installed it using a setup,
use the uninstaller program.

[GUIDE] Custom ROM development for the rest of us [In Progress]

*** THIS IS NOT JUST ANOTHER EFFORT TO CREATE YET ANOTHER CUSTOM ROM***
Though Android is opensource, a lot of things are unknown regarding ROM development/modification. There are many custom ROMs available for Galaxy 3 (and also other phones) and lot of people are flashing them and making their phone more responsive, productive and faster; but very few people actually knew how to go about developing the ROM.
What I intend here is to find out and document correct way to build ROM for our favorite Galaxy 3, which is very popular in India.
The goal will be to develop the ROM from Android source + Drivers from stock ROM while documenting the process so that large number of people can contribute to the development.
I will shortly update the posts with what I have done.
Reserved
Can anyone help me convert system.img and userdata.img file into files flash-able by ODIN?
Thanks
Third post
Reserved for future use
Fourth post
Fourth post.. reserved
Fifth post
Reserved 5th post goes here...
looking forward to what you come up with
Making one aint difficult keeping it bug free might get sometimes
Thanks rudolf895
I have experience in Android SDK and NDK development, but I am a noob when it comes to ROM development. Thats why this effort.
I have fetched android source using repo as well as I have also downloaded source for I5801 from Samsung open source website. After this I will look into extracting drivers from stock ROM and successfully compiling it for Galaxy 3.
rudolf895 said:
looking forward to what you come up with
Making one aint difficult keeping it bug free might get sometimes
Click to expand...
Click to collapse
abhijeet.pathak said:
thanks rudolf895
i have experience in android sdk and ndk development, but i am a noob when it comes to rom development. Thats why this effort.
I have fetched android source using repo as well as i have also downloaded source for i5801 from samsung open source website. After this i will look into extracting drivers from stock rom and successfully compiling it for galaxy 3.
Click to expand...
Click to collapse
best of luck
Looking forward to it!
abhijeet.pathak said:
Thanks rudolf895
I have experience in Android SDK and NDK development, but I am a noob when it comes to ROM development. Thats why this effort.
I have fetched android source using repo as well as I have also downloaded source for I5801 from Samsung open source website. After this I will look into extracting drivers from stock ROM and successfully compiling it for Galaxy 3.
Click to expand...
Click to collapse
Do not fell shy to ask for help u need. Together we can make it better. We are with you whenever u need us.
ARMVK Dev Team
Thanks!
Thanks a lot for your support guys..
arunmcops said:
Do not fell shy to ask for help u need. Together we can make it better. We are with you whenever u need us.
ARMVK Dev Team
Click to expand...
Click to collapse
hehe, cant wait to see what you come up with, sounds promissing btw... i am also willing to help whereever i can, whereas this wont be too much in this case i guess.
good luck and thanx...
TY ..!
Thanx alot
This would be really helpful to alot of members here
interesting ! waiting ....
I applaud your thread, I myself was thinking about such a concept.
I wanna help, but I cant do that much (basic knowledge of C and basic/little knowledge of linux and adb).
I think first there should be a list of basic stuff. Like compiling the sources, extracting factoryrfs and co from your phone etc... Sometimes if you wanna start doing something and you dont know the basics you get scared off because of their apparent tremendous lack of knowledge.
I'd probably start dabbling if somebody told me how to compile the sources.
can you also specify your work environment, toolchain and such stuff, so anyone can start from zero? there is a kernel building vm image with all tools by sztupy somewhere on the forum that is eventually of interest, and there is also an extended version containing eclipse and some more tools for full android development:
http://forum.xda-developers.com/showthread.php?t=882010
hope this helps somebody...
Did you try using it? I think the scripts are specific and cant be used by us (without altercation)
no, i have absolutely no idea of kernel compilation and all that advanced stuff, but i guess it can be adapted for our use
Yup...me too in waitin line...Now i can say i dint made a mistake by buying it...
Sent from my GT-I5801 using XDA App
abhijeet.pathak said:
Can anyone help me convert system.img and userdata.img file into files flash-able by ODIN?
Thanks
Click to expand...
Click to collapse
maybe you can create a ".tar" package including all those files.. .tar is flashable in odin..

[Q] How to create my own rom.

Hi,
I'm following the Nexus S Android Development for 6 month now and Rom and Kernel flashing is a a real addiction for me (I flash everyday).
And, since the beginning i want to create my own Rom.
At first, I want to build one from another one (Cyanogen or another).
So, If someone can give me tutos, tools, tips and advices, I'll be very grateful.
Thanks to everybody, waiting for your help.
http://lmgtfy.com/?q=how+to+create+custom+rom?
Sent from my Nexus S 4G using xda premium
Thank you...
[email protected]_OC said:
Hi,
I'm following the Nexus S Android Development for 6 month now and Rom and Kernel flashing is a a real addiction for me (I flash everyday).
And, since the beginning i want to create my own Rom.
At first, I want to build one from another one (Cyanogen or another).
So, If someone can give me tutos, tools, tips and advices, I'll be very grateful.
Thanks to everybody, waiting for your help.
Click to expand...
Click to collapse
Hey you know i find myself sharing this exact interest as you. Let's collaborate and learn this Create A ROM Project
Notice to see the motivation to create a new ROM.
How good are your Linux skills? If you want to do it all properly I suggest you try and build your own AOSP ROM first (from the Adroid Open Source Project).
This is the place where Google publishes the Android source code files. Actually the site is fantatic and guides you through the entire process, but it does require you to understand the basics of the maketools in Linux.
Once you've been able to compile the source, you'll actually have a perfect stock ROM version of Android. Then, you can start doing advanced things to it. Add a different Kernel, add apps, install tweak scripts etc etc etc, the options are endless.
http://source.android.com/source/index.html
Good luck and have fun, because it is
Greetz
-
sippinalizay said:
Hey you know i find myself sharing this exact interest as you. Let's collaborate and learn this Create A ROM Project
Click to expand...
Click to collapse
I think it could be a great idea.
frutelaken said:
Notice to see the motivation to create a new ROM.
How good are your Linux skills? If you want to do it all properly I suggest you try and build your own AOSP ROM first (from the Adroid Open Source Project).
This is the place where Google publishes the Android source code files. Actually the site is fantatic and guides you through the entire process, but it does require you to understand the basics of the maketools in Linux.
Once you've been able to compile the source, you'll actually have a perfect stock ROM version of Android. Then, you can start doing advanced things to it. Add a different Kernel, add apps, install tweak scripts etc etc etc, the options are endless.
http://source.android.com/source/index.html
Good luck and have fun, because it is
Greetz
Click to expand...
Click to collapse
Thank you for your help and advise, i will look into it. I'm a novice concerning linux but i can learn fast.
Thank you again.
oh thats great

Creating a rom based off CM(Galaxy S4), How ?

A bit of infos before starting this thread. I'm using a Samsung Galaxy S4 Canadian, I have a high end computer(maybe that helps for coding,stuff like that) and I have "medium" knowledge on rooting/flashing,etc. I am a great designer, well for myself, I think i'm good. So I can edit or create icons and themes for new rom!
I say medium, because the only thing I really know about this kind of stuff,is rooting,flashing,installing roms and pretty much that honestly.
I already downloading the Android SDK to test those custom roms i'd like to create. I thought of doing like a couple of guys on here, using the CM Source? and just adding stuff,etc.
--
What i'm looking to do, is creating a rom based of CM for the Galaxy S4 and just in general a little side project for myself and adding some infos in my head; Some may laugh because of the lack of knowledge, but hey! we all started somewhere
I'm asking the community of dev's or just users, do you have some threads or some stuff to download to "Start" this project ?
Some things I should read before, I won't test rom's on my phone as it's a daily phone, i'll use the emulator instead(AVD or SDK) and i'm already searching on how to run it.
If you have any useful youtube videos i'll gladly accept them
I found a tutorial on how to build a rom but for the Nexus 4, I guess it's the same process but different sources ?
I'll search for the sources of Cm for the Galaxy s4 but if anyone reads this thread and knows where to get it, please link me!
Thanks to the community, this may also be useful for other users. Thanks!
Okay, I will help
1st off, let me teach you some basics.
1.) You cannot test roms on the android sdk, the android sdk has nothing to do with roms, its for building apps and java programming. It will not help you with anything if an issue goes wrong in a rom, well only the adb (android debugging bridge) for taking locats.
2.) You cannot compile a rom on windows, only linux, preferably ubuntu. So you need to just download cm11 for your device and extract the rom zip.
I will tell you more later, but its like 1pm here Goodnight

Compiling my own Rom with Uber Toolchain *Noob at work*

Hello XDA members!
First of all, i have no ****ing clue about developing or anything else what have to do with android ^^
I am just a normal guy flashing Roms around (like every day ^^)
In the future i wanna compile Euphoria's Rom from Mahdi with the Uber toolchain + Render's Kernel for the OnePlus One!
How can i do that?, can somebody help me?, i wanna really do that and i am ready to learn new things
What do i need, wheree should i start, is it difficult, CRASHCOURSE please
Everyone who try's to help me...thank you very much infront
There are several guides on XDA that explain how to build from source, and that are aimed at beginners. Just search "How to build ROMs from source XDA" in Google and you'll get several results. You need a Linux PC though, with plenty (100gb) of space available.
Transmitted via Bacon
100GB of space available!! Oh my...
I am trying the same thing. I found some useful resources. Maybe it could help you too.
http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
http://forum.xda-developers.com/and...de-tut-learn-basic-scripting-busybox-t3209180
http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276

Categories

Resources