Howto make a custom rom - Android

how can i make my own custom rom ?

i wwant to be a chef not a developer

i know some really good video tutorials for you... what phone do you have?

ljbaumer said:
i know some really good video tutorials for you... what phone do you have?
Click to expand...
Click to collapse
nexus one .

Video's for G1 As well?... Heck! Just link the lot of them <3
winter

link what you want

i tried to make the rom but when i flash it it is stock on the bootsplash.
i delete launcher e put adw, i put
- blackbar
- genie widget mod
- music mod
- video drier mode
- htc ime
- 2.1 build .prop

nothing to do, i do't know why it is blocked on the boot logo

Best Kitchen?
Hello all, i was just wondering which kitchen would be best for me as a beginner to android rom cooking? I have a good grasp of linux thanks to my good friend arran (arranmc182 on xda i think ) so was wondering which was the best
Thanks
Will

willcaddy said:
Hello all, i was just wondering which kitchen would be best for me as a beginner to android rom cooking? I have a good grasp of linux thanks to my good friend arran (arranmc182 on xda i think ) so was wondering which was the best
Thanks
Will
Click to expand...
Click to collapse
best is always to go from stock, as it forces you to implement things and know what you're doing.
copy cyanogen do not make you a "rom cooker"

Hey Guys,
I'd like to get involved with making Android ROMs as well. I have a Droid and would LOVE to make my own Droid ROMs . I am already a student software developer so I don't mind getting into the nitty gritty, in fact, the deeper the better, so I can fully learn how to build and work with Android. I also hope to be able to make Android apps eventually too. I know Java and Perl fairly well and have recently started C and C++.
Any suggestions for where to start would be greatly appreciated, i.e. tutorials, videos, guides, what languages I need to know, what tools I should use (eclipse, etc., with what plugins, etc.). Thanks a bunch, and let me know if you guys have ideas for apps you'd like to see on the Market .
-GB
-------------------------------------
Sent via the XDA Tapatalk App

Count me in
GaMeBoY439 said:
Hey Guys,
I'd like to get involved with making Android ROMs as well. I have a Droid and would LOVE to make my own Droid ROMs . I am already a student software developer so I don't mind getting into the nitty gritty, in fact, the deeper the better, so I can fully learn how to build and work with Android. I also hope to be able to make Android apps eventually too. I know Java and Perl fairly well and have recently started C and C++.
Any suggestions for where to start would be greatly appreciated, i.e. tutorials, videos, guides, what languages I need to know, what tools I should use (eclipse, etc., with what plugins, etc.). Thanks a bunch, and let me know if you guys have ideas for apps you'd like to see on the Market .
-GB
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Hey
If you find any videos on making custom roms,, count me in..
i currently have the Sprint EVO 4g..

leonnib4 said:
best is always to go from stock, as it forces you to implement things and know what you're doing.
copy cyanogen do not make you a "rom cooker"
Click to expand...
Click to collapse
i am trying to compile from aosp. since i have no programming experience at all, it is a slow learning process so far. my ubuntu has redo and git running perfect now. i have eclipse working but have not used it at all yet. androidsdk 2.2 adb is fine but fastboot is a hassle.
so far, two froyo alphas both flashed but buggy. not one decent tutorial that makes the kernel compile/framework/gapps process clear

My AOSP 2.2 for passion/n1 alpha2 is pretty darn solid now. It took mushing together instructions from 5 incomplete tutorials to fill in the blanks.
What a great feeling to have a ROM not kanged. The Repo/Git tool has gotten easy to use after several long sessions using it in Ubuntu 10.04 LTS.
Anyone on the same OS, I suggest you research and install both Java 1.5 & 1.6 and get use to switching between the two. Also, I have not yet used Eclipse but it isinstalled and it works with SDK.
The Android Open Source site does a decent job of walking you through Repo...Git...and getting the source. After getting that far, I stumbled through setting up a "vendor tree" and looking through all the folders and files to see what it was all about. Much of it was totally over my head. But after attempting several crap builds, the "compile" process is sinking in a bit.
...tapatalk post from n1...

.............

I found this site to be very helpful for building from AOSP...
http://blog.alsutton.com/2010/06/29/building-aosp-for-the-nexus-one/
Successfully compiled for the first time yesterday..still trying to figure out how to make it rooted .

http://forum.xda-developers.com/showpost.php?p=7204823&postcount=1
for getting source to compile ^^^

Related

[ROM] Shameless AOSP 2.2 v1.0 [FRF91] [07-10-10]

I compiled my first ROM from source FRF91 for N1 w/root su+busybox+de-odex+gapps. The time of my AOSP -b master sync was around 9:00a pst, 07/10/10. This is not a "kang" of Modaco or CyanogenMod but I credit both and all teamdouche since I regularly need to look into their work to teach myself. Thank you dferreira and jr33 for not flaming my many noob questions and also thanks to dsixda for his reqularly updated android kitchen.
I still can't do much customizing and adding features because I still have to get better at too many things...sorry. Feel free to report bugs and I hope some of you could tell me how to fix simple things or add features by directing me to resources.
I am using themes by micromod777 for FRF91 that do work on this ROM.
Added:
Original Boot Animation (aka Holiday)
APN list
Trackball wake/unlock (crimsondr)
NFL app (jlevy73)
AccuWeather widget (allows multiple locations)
Logger app (michael.novakjr)
If you don't have the new radio installed, fastboot flash radio first.
Flash the ROM .zip after full wipe.
Remember to to do a nandroid backup first.
Radio Download >>> 3321c196d8ec1cf748fd20c3c4068520 32.36.00.28U_4.06.00.12_7 radio.img
(Fastboot flash using "fastboot flash radio radio.img")
ROM Download >>> 6af5516125105c92d8a3d87c6110defc shameless_aosp_frf91_1.0_signed.zip
...saved...
Really had to bump your Rom because no one was using it? nice...
nopenope said:
Really had to bump your Rom because no one was using it? nice...
Click to expand...
Click to collapse
Why this kind of comments? Do u think they help in anyway?
Sent from my Nexus One using Tapatalk
He's also the kind of guy who knows nothing other than wipe & flash and has nothing positive to offer the community... =/
nopenope said:
Really had to bump your Rom because no one was using it? nice...
Click to expand...
Click to collapse
no... i bumped it because i had an old post that i wanted to re-title and use. that post had no replies so i recycled it. why the hate?
Quick84 said:
He's also the kind of guy who knows nothing other than wipe & flash and has nothing positive to offer the community... =/
Click to expand...
Click to collapse
thanks for trying out this rom guys. it is not a cut-n-paste. i really did compile from source. it took 5 alphas to get to this release. it is like a hobby for me to try and solve puzzles and that's how i tackled making the rom. i have zero programming knowledge and have fun relaxing trying to follow steps in a process to accomplish a goal.
When will you work on your desire rom project again? We really need someone to work on desire port beside paul. hopefully you can challenge yourself and make that desire rom perfect.
lpasq said:
no... i bumped it because i had an old post that i wanted to re-title and use. that post had no replies so i recycled it. why the hate?
Click to expand...
Click to collapse
If you added stuff then cool but just the post saying *bump* not added new things to first post makes it seem that you just wanted your post to the top again. And to the guy who says i've never done anything for this community you might wanna change that and then your post well what have you done. my reply is don't worry its more then you'll ever. SO props to the update then
nopenope said:
If you added stuff then cool but just the post saying *bump* not added new things to first post makes it seem that you just wanted your post to the top again. And to the guy who says i've never done anything for this community you might wanna change that and then your post well what have you done. my reply is don't worry its more then you'll ever. SO props to the update then
Click to expand...
Click to collapse
thank you. ...not an update though. it's a source build compile. the post i recycled had a paste-n-bake kang of an early aosp 2.2 that chris soyars put out via a tweet... ...and hundreds of people downloaded it but not one person posted a reply since i made clear i simply was passing it along.
so you know... i think the other flame was also intended for me...not you.
not bad! gonna give this a shot!
How about compiling Stk.apk and extract the dictionaries from the LatinIMEGoogle.apk and putting them in the corresponding locations in your LatinIME source. That will get you more layouts than the Google keyboard and still all the features since they have now been included in the AOSP version. The Stk.apk (SIM Toolkit) is also useful for a lot of people, and only work AOSP based roms, and might possibly drive more people towards this rom if they want the stock experiance.
It should simply be a matter of running 'make -j4 LatinIME' and 'make -j4 Stk' with the -j flagset to your number of cores + 1 or 2.
blunden said:
How about compiling Stk.apk and extract the dictionaries from the LatinIMEGoogle.apk and putting them in the corresponding locations in your LatinIME source. That will get you more layouts than the Google keyboard and still all the features since they have now been included in the AOSP version. The Stk.apk (SIM Toolkit) is also useful for a lot of people, and only work AOSP based roms, and might possibly drive more people towards this rom if they want the stock experiance.
It should simply be a matter of running 'make -j4 LatinIME' and 'make -j4 Stk' with the -j flagset to your number of cores + 1 or 2.
Click to expand...
Click to collapse
I shall pm you prior to attempting so I can get clarification on any questions I may have. Thank you.
Sent from my Nexus One using XDA App
I'm working on the same kind of project you are. The problem I'm running into is that every app that tries to access GPS location FCs on me. Did you ever come across this? Maps won't run at all, and I've had to set my homepage to something other than Google since it FCs the browser when it calls for location. I've got a working build otherwise!
RMGeren said:
I'm working on the same kind of project you are. The problem I'm running into is that every app that tries to access GPS location FCs on me. Did you ever come across this? Maps won't run at all, and I've had to set my homepage to something other than Google since it FCs the browser when it calls for location. I've got a working build otherwise!
Click to expand...
Click to collapse
Very cool that you have a working build environment. What OS are set up in?
I do not get the error you describe. Run a logcat either with ADB or using Logger from Market. Reading the log makes it easier to ask for help based on the specific errors. That is what I do. Ask the pros for advice. Some are helpful. Most ignore us noobs.
I am happy to offer whatever help I can as a rookie. Just PM me.
From N1 via Tapatalk
lpasq said:
thanks for trying out this rom guys. it is not a cut-n-paste. i really did compile from source. it took 5 alphas to get to this release. it is like a hobby for me to try and solve puzzles and that's how i tackled making the rom. i have zero programming knowledge and have fun relaxing trying to follow steps in a process to accomplish a goal.
Click to expand...
Click to collapse
I'm in the exact same boat, just jumped into android about a month or two ago with my nexus (from an iPhone 2g, no less lol), ain't no turning back now
I'm also building a rom from source, more as a side-project to better familiarize myself with Android, but if it turns out well then that's always a plus.
Good luck on your rom!
wdfowty said:
I'm in the exact same boat, just jumped into android about a month or two ago with my nexus (from an iPhone 2g, no less lol), ain't no turning back now
I'm also building a rom from source, more as a side-project to better familiarize myself with Android, but if it turns out well then that's always a plus.
Good luck on your rom!
Click to expand...
Click to collapse
it is nice to know that other "hobbyists" are playing with aosp and the tools used to make roms. much success to you my brother

[Q] 2.2.1 Gallery App

Hi Guys
I've been trying out some newer ROMs but have lost track of which ROM I was using previously. It was one of the Cyanogen builds and the gallery viewer that came with it integrated with Picasa seamlessly. I had quite a few issues with my WiFi cutting out and not reconnecting automatically with it though, so would like to move to a new ROM
If someone can recognise this gallery app, can I extract it and add it to another ROM? As I'm rooted can I just swap it out with the existing viewer. What compatibility issues might I have? I'm computer savvy but pretty inexperienced with Android at that level and haven't used Linux for 7 years
All help and ideas appreciated, cheers all
Wow, no takers. I've been looking into it myself and what I think I'd like to do is grab the best bits of the various ROMs I've used. No disrespect to the guys who have been making some brilliant ROMs but I'd like to dabble with a deeper layer of customisation
Is there a "kitchen" programme that will allow me to do this for x10? Also how do I check a programmes compatibility with certain kernels and basebands? Do Android .apk files rely on external libraries or files like Windows do? If so is there a way I can check an .all's dependencies?
Sorry for so many questions but this is new to me and would like to get a handle on where to start. Thanks in advance
cockbeard said:
Wow, no takers. I've been looking into it myself and what I think I'd like to do is grab the best bits of the various ROMs I've used. No disrespect to the guys who have been making some brilliant ROMs but I'd like to dabble with a deeper layer of customisation
Is there a "kitchen" programme that will allow me to do this for x10? Also how do I check a programmes compatibility with certain kernels and basebands? Do Android .apk files rely on external libraries or files like Windows do? If so is there a way I can check an .all's dependencies?
Sorry for so many questions but this is new to me and would like to get a handle on where to start. Thanks in advance
Click to expand...
Click to collapse
You should try mixing around good ROMs with mixing features you might end up with something good
what you can also do is have fun with the apk's and the framework-res.apk
you can de-compile and re-compile them with x10 mod tool
HERE
You can also have a look at the androidmanifest.xml to check for dependencies
If it does not install you can use X10 mod tool to have a look at the LOGCAT
which will tell u the exact dependencies
All kernels for now other than stock depend on bb .52 right now
and baseband upto my knowledge does not depend on the apps
very much other than phone.apk and the wlan
If you need any help just PM me
cockbeard said:
Hi Guys
I've been trying out some newer ROMs but have lost track of which ROM I was using previously. It was one of the Cyanogen builds and the gallery viewer that came with it integrated with Picasa seamlessly. I had quite a few issues with my WiFi cutting out and not reconnecting automatically with it though, so would like to move to a new ROM
If someone can recognise this gallery app, can I extract it and add it to another ROM? As I'm rooted can I just swap it out with the existing viewer. What compatibility issues might I have? I'm computer savvy but pretty inexperienced with Android at that level and haven't used Linux for 7 years
All help and ideas appreciated, cheers all
Click to expand...
Click to collapse
Dude, that app is stock Android gallery. It shows Picasa albums. You can find it here: https://market.android.com/details?id=com.cooliris.media&feature=search_result

[Q] IDE Targeting Android that runs on Android

Hi Everybody.
Sorry if I missed previous posts about this.. I did look.
I'm wondering what progress has been made in making a development toolchain targetting Android that runs on Android.
I'd like to be able to develop apps on the actual device without the need for a PC.
Thanks,
Craig
AFAIK nobody made a toolchain like that, BUT there's a workaround which might work. read after how to install ubuntu/debian over Android and there u might be able to run the necessary programs
Sent from my MB525 using xda premium
Thanks, I'll look into that. At least it would be the full SDK in that case despite it being a little kludgey. Thanks again.

Samsung Galaxy Note 10.1 launcher apk?

Hi there,
Does anyone have a Samsung Galaxy Note 10.1 or know where I can get the launcher apk from? I want to test it on my HTC Flyer. I really like the way you can split the screens so you can do two things at once! Anyone care to point me to the apk?
Thanks all,
Kim
EDIT: Ok I found this http://www.onskreen.com/cornerstone/ and it even includes source code but how do I install onto a HTC Flyer? Anyone out there know how maybe? Would be quite cool to have this!
Kim
thats a no-go. its highly integrated in their framework, so to make this run you need to start learning how to program and develop in java, and when you experienced enough, you can start porting the functionality to work outside samsungs framework, which probably is in 3-5 years time. and that on top 1-2 years development for you alone to do it all.
Dexter_nlb said:
thats a no-go. its highly integrated in their framework, so to make this run you need to start learning how to program and develop in java, and when you experienced enough, you can start porting the functionality to work outside samsungs framework, which probably is in 3-5 years time. and that on top 1-2 years development for you alone to do it all.
Click to expand...
Click to collapse
What about if I try http://www.onskreen.com/cornerstone/ on my Leedroid rom installed on my HTC Flyer?
if you are a good kernel developer, you might get it done in 1 month or so in your spare time its not an app, its a kernel and framework environment.
Dexter_nlb said:
if you are a good kernel developer, you might get it done in 1 month or so in your spare time its not an app, its a kernel and framework environment.
Click to expand...
Click to collapse
Got it, would be nice if this can be made into some kind of .apk.. I'm just dreaming now! If you include the framework into the apk it might work? I know some java / android dev, I'm going to look into this.
It does't work like that. The Framework is a major piece of the ROM built during compile time and is ROM specific. It sits between the apps and the GUI. It ties into almost everything on the ROM and supports widgets, apps, etc.
Check this out for basic information and how it gets built and used.
Android Application Development Tutorial
http://www.youtube.com/watch?v=IHg_0HJ5iQo&feature=relmfu
http://iserveandroid.blogspot.com/2011/01/important-framework-structuresdirectori.html

I'm using Linux and could use some help with learning to develop for Android

Hello,
I'm fairly new to developing in general and I am some what intimidated by what I've been told I may have to learn to develop for Android.
Here's what I've done so far by reading the threads:
I've downloaded the latest Android SDK and its tools
I read through the ADB man page and have created my path to my Device
I know how to push, pull, log and from Terminal.
I was told that I may need to learn Java to develop for Android. If this is the case, do any of you recommend specific books?
If so - could you put the Amazon link in a reply? Or maybe just the author's name?
Thank you in return.
Klonopin said:
Hello,
I'm fairly new to developing in general and I am some what intimidated by what I've been told I may have to learn to develop for Android.
Here's what I've done so far by reading the threads:
I've downloaded the latest Android SDK and its tools
I read through the ADB man page and have created my path to my Device
I know how to push, pull, log and from Terminal.
I was told that I may need to learn Java to develop for Android. If this is the case, do any of you recommend specific books?
If so - could you put the Amazon link in a reply? Or maybe just the author's name?
Thank you in return.
Click to expand...
Click to collapse
Actually i would recommend you to start devving by making themes because it only involves editing xmls in apk and changing images...it will also help you understand how to decompile and recompile apk which is the most basic of modding!!!
Sent from my GT-N7000 using xda app-developers app
vijai2011 said:
Actually i would recommend you to start devving by making themes because it only involves editing xmls in apk and changing images...it will also help you understand how to decompile and recompile apk which is the most basic of modding!!!
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Which is creating themes, not developing, they are two totally different things.
@OP
http://shop.oreilly.com/product/0636920023005.do
http://shop.oreilly.com/product/063...4aa42dc6a903&intcmp=af-mybuy-0636920010883.IP
http://www.amazon.com/Java-Programm...keywords=Java+Programming:+From+the+ground+up
vijai2011 said:
Actually i would recommend you to start devving by making themes because it only involves editing xmls in apk and changing images...it will also help you understand how to decompile and recompile apk which is the most basic of modding!!!
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
I was thinking about making some themes for devices and what not. So if you have any resources PM me - I'd be interested in that as well.
thewadegeek said:
Which is creating themes, not developing, they are two totally different things.
@OP New user can't post links - had to remove them.
Click to expand...
Click to collapse
Thank you thewadegeek - I'll be doing some researching. Ubuntu 12.04 is fine for developing right? or would I need something else?
Klonopin said:
Ubuntu 12.04 is fine for developing right? or would I need something else?
Click to expand...
Click to collapse
Hi There
Ubuntu is fine for development, You're going to want to install eclipse. You're really tackling 2 things here, Java Development and how that applies to Android.
If you're starting from the very beginning then some good resources are.
Android Developer web site [ developer.android.com ]
This should be the first place you go to for android development, it contains the documentation for the android framework as well as some additional howto's etc. The Installing the SDK [ developer.android.com/sdk/installing ] will guide you through getting eclipse setup and ready for Android Development. You should then be able to follow the Building Your First App [ developer.android.com/training/basics/firstapp ] guide, to create your first Android app.
For Java Development in General the Oracle website has some good resources.
Oracle Java Tutorials Index [ docs.oracle.com/javase/tutorial ]
If you're completely new to software development then you'll want to read The Java Language Section [ docs.oracle.com/javase/tutorial/java ] , this explains Object Oriented Programming and it's conecpts. I would probably look at the Get Started Section [ docs.oracle.com/javase/tutorial/getStarted ] also, although you maybe able to get by with the Android Stuff.
Hope That Helps and Good Luck!
trevd said:
Hi There
Ubuntu is fine for development, You're going to want to install eclipse. You're really tackling 2 things here, Java Development and how that applies to Android.
If you're starting from the very beginning then some good resources are.
This should be the first place you go to for android development, it contains the documentation for the android framework as well as some additional howto's etc. The Installing the will guide you through getting eclipse setup and ready for Android Development. You should then be able to follow the Building Your First App guide, to create your first Android app.
For Java Development in General the Oracle website has some good resources.
If you're completely new to software development and then you'll want to read, this explains Object Oriented Programming and it's conecpts. I would probably look at the Get Started Section also, although you maybe able to get by with the Android Stuff.
Hope That Helps and Good Luck!
Click to expand...
Click to collapse
Hi I've already gotten the Android SDK and as previous users have given me, I also have Java books and Android development books as well but I'm happy to try another thing out as well. Thanks for the informative articles.
Sent from my LiquidSmooth ICS 1.5 Thunderbolt
Klonopin said:
Hi I've already gotten the Android SDK and as previous users have given me, I also have Java books and Android development books as well but I'm happy to try another thing out as well. Thanks for the informative articles.
Sent from my LiquidSmooth ICS 1.5 Thunderbolt
Click to expand...
Click to collapse
You have what you need.
Sent from my Galaxy Nexus using xda premium
Yep you'll be fine with 12.04.
Sent from my SCH-R760 using Tapatalk 2
I just picked up a physical book of Learning Android 2 from my library. Is there a different framework between versions?
I would honestly say there is no starting point.
You can start developing kernels. Even I try to do a basic understanding of how they work. I do basic undervolting for my phone and few mods.
You can also try learning java and contribute to Android AOSP or CyanogenMod
Or yeah theming is also an option.
I would also like an answer to this...
I have ubuntu installed, I have Java experience, I have the Android SDK installed.
Are there any tutorials out there that give you a step by step guide on how to build a fully functioning Android ROM from scratch?
I've had a look around and different tutorials are telling me different things and they all seem to say "this will not make a full ROM". I have a phone that isn't widely supported (Galaxy S2 LTE i9210t Australia) and since Samsung have delayed ICS for our device for about the 100th time, I'd like to learn how to develop ICS for our handset.
Our handset doesn't even have a forum. We have one thread with quite a few people crying out for a decent, stable ROM 4.0+ and I'd like to help.
Dallby said:
I would also like an answer to this...
I have ubuntu installed, I have Java experience, I have the Android SDK installed.
Are there any tutorials out there that give you a step by step guide on how to build a fully functioning Android ROM from scratch?
I've had a look around and different tutorials are telling me different things and they all seem to say "this will not make a full ROM". I have a phone that isn't widely supported (Galaxy S2 LTE i9210t Australia) and since Samsung have delayed ICS for our device for about the 100th time, I'd like to learn how to develop ICS for our handset.
Our handset doesn't even have a forum. We have one thread with quite a few people crying out for a decent, stable ROM 4.0+ and I'd like to help.
Click to expand...
Click to collapse
Im not going to link to them because they are common as muck on xda but look for guides for building from source. If you have the source, you can make any changes you like without having to patch stuff together.
I havent personally started doing this yet but ive been messing with android for about 2 years now and ive just started creating my own roms etc.
Sent from my MB860 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1762641
Klonopin said:
Hi I've already gotten the Android SDK and as previous users have given me, I also have Java books and Android development books as well but I'm happy to try another thing out as well. Thanks for the informative articles.
Sent from my LiquidSmooth ICS 1.5 Thunderbolt
Click to expand...
Click to collapse
I recommend you learn basic java then check out the hello world tutorial on developer android page.
focus more time on programming then reading, play around with the code.
and good luck.

Categories

Resources