[Q] What's the easiest way to Build your own ROM? - Galaxy S III Q&A, Help & Troubleshooting

I'm just wondering how the Dev's for the I9305 build their roms?
I've got a Virtual Machine running Ubuntu 12.10 with shared folders with my Windows Host and I've installed Kitchen. However I'm at the moment just playing around with the stock UMA3 base. I've just done all the little options including my own boot animation but when I went to Flash the Rom it was aborted.
I'd just like to know what I've been doing wrong and what else I need to read/study up on to build my own ROM for my own personal use. I'd be happy to share if I can get one working, however I'm pretty new at all this. My previous experience was just flashing Recovery's, ROM's, Mods and Rooting. I always just followed instructions though.

Pheoxy said:
I'm just wondering how the Dev's for the I9305 build their roms?
I've got a Virtual Machine running Ubuntu 12.10 with shared folders with my Windows Host and I've installed Kitchen. However I'm at the moment just playing around with the stock UMA3 base. I've just done all the little options including my own boot animation but when I went to Flash the Rom it was aborted.
I'd just like to know what I've been doing wrong and what else I need to read/study up on to build my own ROM for my own personal use. I'd be happy to share if I can get one working, however I'm pretty new at all this. My previous experience was just flashing Recovery's, ROM's, Mods and Rooting. I always just followed instructions though.
Click to expand...
Click to collapse
It depends what kind of ROM you want to build.
I never did for the sgs3 but if I'm not wrong there are 2 ways:
1st is just with stock ROM you can get on http://opensource.samsung.com/ and modify it at your taste.
Second way: http://source.android.com/source/downloading.html just build it at your taste, don't forget to use sgs3's configurations and use the I9300's kernel to flash it. with this way I just don't know how to keep the original bootloader.
The best is to wait the answer of a real developper and search around the internet before you start that kind of builds.

Jonathan1600 said:
It depends what kind of ROM you want to build.
I never did for the sgs3 but if I'm not wrong there are 2 ways:
1st is just with stock ROM you can get on http://opensource.samsung.com/ and modify it at your taste.
Second way: http://source.android.com/source/downloading.html just build it at your taste, don't forget to use sgs3's configurations and use the I9300's kernel to flash it. with this way I just don't know how to keep the original bootloader.
The best is to wait the answer of a real developper and search around the internet before you start that kind of builds.
Click to expand...
Click to collapse
Thanks for the info and yes I've been looking into that as well and I'm still learning bits and pieces.
I agree about a Developer helping out would be easier, they've already got most of it down anyway.

XDA Developers Android and Chef Central forums .
jje

Thanks!
JJEgan said:
XDA Developers Android and Chef Central forums .
jje
Click to expand...
Click to collapse
Never seen the Chef Central section.
Thanks!!!

Related

[GUIDE] How to Flash a Custom ROM

I know its something fairly simple, but for the newbies out there, here's a simple walkthrough I made for how to flash a custom ROM on your Android phone. If there are any improvements I can make, let me know How to Flash a Custom ROM on Android
Benefits of Flashing a Custom ROM
While you’ll end up seeing a lot of benefits from custom ROMs, they all probably fall under 3 main areas:
Better Performance – You’ll be able to overclock Android or even see it built in with the ROM as well as see overall performance increases from various tweaks
Better Battery Life – One of the first things people do when rooting is remove stock apps. Don’t know how? Most developers have the apps already removed in their ROMs. Additionally, various system tweaks and improved kernels, as well as undervolting Android help to drastically improve Android battery life.
Better Overall Experience – Try other versions of Android such as those found on other phones that have been ported to yours; stay up to date with updates and new features; try out different Android themes, etc.
All in all, there are a LOT of benefits you’ll get from using a custom ROM on Android, so wait no more, here’s How to Flash a Custom ROM on Android.
Basic Steps
Choose the ROM that you want and download its .zip file
Transfer the zip file to your phone's sd card. Do not put it into any folder.
Turn off your phone and reboot into recovery, usually by holding the down button and power button at the same time.
Do a Nandroid backup
Wipe the phone by clear cache/factory restore and wiping dalvik cache
Flash the zip file that you put on your sd card
Reboot phone
all this info doesn't help a thing if you don't have a rooted phone and a custom recovery. Not very usefull How to..
mkrmec said:
all this info doesn't help a thing if you don't have a rooted phone and a custom recovery. Not very usefull How to..
Click to expand...
Click to collapse
I have to agree. While OP's heart is in the right place, a real noob will just get confused by this because there are A LOT of steps missing from the process.
I would recommend that noobs go here instead:
http://forum.xda-developers.com/wiki/index.php?title=File:Nexus_One.png
This has everything a noob needs to get started off right.
Ops heart isn't in the right place, op is trying to get paid lol.
mkrmec said:
all this info doesn't help a thing if you don't have a rooted phone and a custom recovery. Not very usefull How to..
Click to expand...
Click to collapse
Thats kind of harsh. Do you really think this isn't useful? You mean you never didn't know how to flash a custom ROM? Impressive.
In my guide, I specifically outline that you must be rooted.
dictionary said:
Ops heart isn't in the right place, op is trying to get paid lol.
Click to expand...
Click to collapse
Excuse me? I believe I made this specifically to try to help people.
Good guide, but all the info already in the wiki and the wiki for nexus one already stickied on the top of the page...
cyben76 said:
Good guide, but all the info already in the wiki and the wiki for nexus one already stickied on the top of the page...
Click to expand...
Click to collapse
If you looked at the wiki, you'd notice that its just a short list of written steps. This is a video walkthrough. Just something a little more for users who are confused.
I was just trying to help guys.
Great, everyone was a noob once.. Your post is great, but might just confuse the users, imagine everyone starting a new post about flashing ROM cos the other person missed some points. Best in you add to the wiki, then new users would just refer to one guide..

Is it simple?

How simple is the S2? Mine arrives tomorrow and of course i want to run custom roms. I have come from a few easy phones but my last couple were difficult. Defy and x10. Both with locked bootloaders.
If the S2 has an unlocked bootloader is it as simple as fastboot flash a new recovery image? I looked in Orig Dev and this section and no guides are stickied. Will search and have a proper look tonight though.
Thanks guys.
Nah the S2 is pretty easy to mess with and pretty hard to brick
this is your starting point for rooting + getting CWM recovery,
http://forum.xda-developers.com/showthread.php?t=1103399
Have fun
Thanks for helping and not flaming. Seems a great section to be in.
Ephumuris
It is simple if you take the time to browse and get clued up first .
No real rom guide sticked as different roms different methods .
Cognition relatively simple to install rom to start off with .
jje
I think I know what I'm doing now.
When my s2 arrives tomorrow, install chains kernel with odin, backup my stock rom, install 2.3.5 deodexed stock rom.
Then find a kernel I like.
Ephumuris
Yeah i agree its as simple as my old desire hd. Have fun becoming a flashaholic
Sent from my GT-I9100 using XDA App
Uhmmm. Android simple???
Simple android? It is after having 7 different android devices. However unlocked bootloader make things much simpler.
Ephumuris

[Q] Rom vs Flash?

Okay I'm a noob and I've watched the noob video. I've tried but I just can't seem to find the answers to these questions...
I have a Bell locked SGS2. Do I have to unlock before I do any rooting?
What is the difference between flashing vs installing a custom ROM?
Are Cyanogen and MIUI roms? Are they firmware? What the heck is firmware?
Why does the Canadian guide tell me I have to download a firmware to root?
If I install this firmware (through Odin), then can I flash MIUI?
I thought I would be able to figure this out in afternoon. Guess not.
Thanks. If there's an FAQ for all this stuff that I missed, please direct me to it.
Ugh normally I would tell you to stop expecting things to get spoon fed to you, but I can't bother.
No you do not need to unlock before you root. Unlocking has nothing to do with android or system.
Flashing is the process of installing or copying a new system over to your phone. A custom rom is a rom derived from stock/manufacturer rom but altered. Be it apps removed, new kernel, or the source code was altered.
Cyanogen and MIUI roms are roms derived from google android source code but changed to make the system better. Firmware is software, it is the leader of the hardware, it tells the hardware what to do. In other words, without software, your phone cannot do anything.
Go search up on how to root, I stop spoon feeding you here. Get some independence, 13 yrs old? Great time to start developing independence. 16? Not bad, recommend you start developing now. 18? Woowhee kinda late, better late than never though. 21? Wow...
Go look at the MIUI guide to see how to install.
Google is your best friend. If you can't use it i'm sorry but this technological world is too much for you and I recommend you stick to a dumbphone or iphone.
nickdenis09 said:
What is the difference between flashing vs installing a custom ROM?
Click to expand...
Click to collapse
Two names for the same thing.
nickdenis09 said:
Are Cyanogen and MIUI roms? Are they firmware?
Click to expand...
Click to collapse
Both.
Two names for the same thing.
nickdenis09 said:
What the heck is firmware?
Click to expand...
Click to collapse
The IMO better term for the OS running on your phone.
nickdenis09 said:
Why does the Canadian guide tell me I have to download a firmware to root?
Click to expand...
Click to collapse
'cause they don't know better.
A root(able) kernel is enough already.

[Q] Just got my SII - which ROM should I chose?

I am brand new
Which ROM?
R there any ICS ones?
WOuld love to hear ur thoughts
Thank you
Seriously, if you don't know whether or not there's even an ICS ROM available yet, maybe you shouldn't be flashing a $600+ phone, yeah? Or, you know... use the search tool?
screamworks said:
Seriously, if you don't know whether or not there's even an ICS ROM available yet, maybe you shouldn't be flashing a $600+ phone, yeah? Or, you know... use the search tool?
Click to expand...
Click to collapse
Will do. Thanks!
screamworks said:
Seriously, if you don't know whether or not there's even an ICS ROM available yet, maybe you shouldn't be flashing a $600+ phone, yeah? Or, you know... use the search tool?
Click to expand...
Click to collapse
+1
you should try with stock rom for a while, start reading about flashing roms and you will be ready to flash
I know it's annoying to have to wait, but it's better to do it, than wind up with a potentially ruined device.
@benyben123
I suggest trying out Checkrom 4.0. It is very stable
Stock ROM but ROOTED and your' good to go..................friendly recommendation
Dude, if You just got Your phone and don't know what rom to choose at first learn the device. You don't need neither custom rom nor root. These are just addons for great device. It's common that people don't use their device but play with it and it ends badly. You assumed that any rom is good apart from stock but stock rom is very good. Also You don't need to root it instantly. Some say that "phone is unusable in non rooted state" - it's bull s**t. Apps that require root are designed to meet very specific needs, not for regular users. It's because android is veery advanced and allow many things without administrator privileges (this is not an iphone !). Remember - people think that root is "something everyone should do at once" - no it's not, and it's very dangerous in hands of unexperienced user. One false move with root privileges and You will start learning many things about flashing at once just to recover your device. Also remember that this is not another "application privilege". App with root privs is capable of wiping entire system in a seconds including IMEI data etc.
It's really friendly advice - leave Your phone as it is for now, learn how it works, install some apps and read as much as You can. Then You will know what your device is capable of and what can be achieved by rooting / flashing kernels or roms. Flashing without a reason, just for fun is stupid and ends with full pants.
Regards
Slig
Thank you all for all your responses!!! Much appreciated!!!
Official MIUI without a doubt. The best ROM I've used on any device.
Sent from my GT-I9100 using xda premium
Fredriksen said:
Official MIUI without a doubt. The best ROM I've used on any device.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
But is MIUI even supported? Isn't it ported (which means its not so good, but only kinda?)
benyben123 said:
But is MIUI even supported? Isn't it ported (which means its not so good, but only kinda?)
Click to expand...
Click to collapse
...another thing worth to read about. What do You mean by supported ? It's supported by it's designers.
For SGS2 we have custom ROMs like CheckROM - modified Samsung officials, added some tweaks, apps, removed less usable apps. And ROMs like MIUI or CyanogenMod - they are AOSP (android open source project) and have little in common with Samsung official firmware, ex. no TouchWiz so some Samsung specific apps will not work on them. According to Wikipedia - MIUI is based on CM7.1 sources.
MIUI is not "ported", it's prepared for many devices including SGS2.
Don't do *anything* until you've done a *lot* of reading. Enjoy the phone. It's a fantastic device simply running stock firmware.
Once you're comfortable enough to be able to do it in your sleep (And not before. If you have to ask questions about this, you're not ready. It is an absolutely simple process), root your phone using a CFRoot kernel.
This will enable you to remove/freeze all the crap telcos/Samsung put on the phone and all the other joyful things that come with having a rooted phone. And do a lot more reading. Only this time read the threads devoted to the various roms/kernels. Read other users experiences with these. The features. Pluses. Downsides. Ask specific questions about them in these threads.
From there, you can make an informed decision about a rom/kernel combo to try. Believe me, if you do a couple of weeks of reading/research before you do anything, you'll reap the rewards.
If you jump in the deep end without understanding what you're doing, you could end up with a soft brick that might take you a few days to fix at best. Or returning the phone to Samsung /potentially having to pay to have it repaired out of your own pocket at worst.
Just a few things to consider

[Q] Questions about the basic firmware apps...

Hey, I just bought a Samsung Galaxy S3 I9300 and so far I think it's the best!
I have been checking this site a lot to get an idea of what I'm actually buying and now I would like you pros to teach me a few things if you've got the time.
1) I got my device already rooted, though i know how to do it myself.
When I got it there was SuperSU and ClockworkMod Recovery installed on it.
I checked a bit on the internet and couldn't quite get what ClockworkMod is for... When is it mainly useful?
2) I keep reading about CyanogenMod being used in order to update my firmware... but I also read about it being used with ClockworkMod... probably for backup purposes? Care to explain what it is used for?
3) Which leads me to my final question. I search a lot on the internet and came across posts that say that Android 4.2.2 should be released on May/June... I also noticed a lot of websites saying there are already ways to get the update with apps like CyanogenMod.
So is it really safe to get it already? I know I should backup everything anyways just in case but will it be any different from when the official update comes out?
Thank you for your patience and sorry for being a noob
unknown2u2a said:
Hey, I just bought a Samsung Galaxy S3 I9300 and so far I think it's the best!
I have been checking this site a lot to get an idea of what I'm actually buying and now I would like you pros to teach me a few things if you've got the time.
1) I got my device already rooted, though i know how to do it myself.
When I got it there was SuperSU and ClockworkMod Recovery installed on it.
I checked a bit on the internet and couldn't quite get what ClockworkMod is for... When is it mainly useful?
2) I keep reading about CyanogenMod being used in order to update my firmware... but I also read about it being used with ClockworkMod... probably for backup purposes? Care to explain what it is used for?
3) Which leads me to my final question. I search a lot on the internet and came across posts that say that Android 4.2.2 should be released on May/June... I also noticed a lot of websites saying there are already ways to get the update with apps like CyanogenMod.
So is it really safe to get it already? I know I should backup everything anyways just in case but will it be any different from when the official update comes out?
Thank you for your patience and sorry for being a noob
Click to expand...
Click to collapse
Woah you've got everything upside down. Read some of the sticky threads and FAQ's as this is all answered there but you do appear to be massively confused.
rootSU said:
Woah you've got everything upside down. Read some of the sticky threads and FAQ's as this is all answered there but you do appear to be massively confused.
Click to expand...
Click to collapse
I have read the sticky threads and the FAQs and it does not say what ClockworkMod and CyanogenMod do exactly... that's why I posted this thread.
Oh, and I watched the noob video :silly: I'm not posting this for no reason...
Would you please explain it to me?
unknown2u2a said:
I have read the sticky threads and the FAQs and it does not say what ClockworkMod and CyanogenMod do exactly... that's why I posted this thread.
Oh, and I watched the noob video :silly: I'm not posting this for no reason...
Would you please explain it to me?
Click to expand...
Click to collapse
OK.
It's quite complicated, so bear with me.
Your device before rooted, consists of:
An Android OS (Your Main phone operating system)
A Recovery OS (Another operating system that is used to do things like factory reset your device if you cannot boot into Android)
Bootloader (This is the first thing that boots. It wil choose if you boot into android or recovery, depending on if you press any buttons at boot up)
So that is the BASIC OS layout.
When you root, often your stock recovery is replaced with a custom one. This is usually ClockworkMod recovery. There are other alternatives though. This recovery can be used to take backups of the phone and flash Custom Android ROMs and mods (Flashable zips). Sometimes, ClockworkMod recovery (CWM) has an app (CWM manager) to help you reboot into recovery. Although you can just hold volume up and home, then press power to turn on the device and boot into recovery.
CyanogenMod are one of the most famous develiopment teams of custom ROMs. There are 2 types of custom roms on the S3. Those that are directly built on Samsung Android ROMs (with touchwiz and all that jazz) and ones based directly on Google source code (Known as AOSP or Android Open Source Project).
There are a few famous AOSP develpment teams.
CyanogenMod (CM)
AOKP (Android Open Kang Project)
Paranoid Android (AOSPA)
These are much more like what you get on a Nexus device instead of the Samsung devices.
When rooting, or if you have a custom ROM, you need an app called SuperUser or SuperSU which manages applications root access. Any app that needs root access, requests it from SuperSU or SuperUser which prompts you if you want to allow it. See it as a gatekeeper, or a layer of security for your benefit.
Hope this helps.
Not complicated at all
Thank you for clearing that out.
So what about 4.2.2? I read that I can install a custom mod of it but that the official s3 i9300 update isn't out yet.
Does that mean it's risky or might have different features from the official update?
Thanks again for your time!
unknown2u2a said:
Not complicated at all
Thank you for clearing that out.
So what about 4.2.2? I read that I can install a custom mod of it but that the official s3 i9300 update isn't out yet.
Does that mean it's risky or might have different features from the official update?
Thanks again for your time!
Click to expand...
Click to collapse
Samsung builds are up to 4.1.2 currently. There is an unoffical leak of 4.2.1
If you go to an AOSP build of 4.2.2, you will lose all the samsung features. We're unsure when the Sammy 4.2.2 will come.
Gotcha!
So I guess it's better to wait to the official update then take the risk...
Thank you very much for your help!!
unknown2u2a said:
Gotcha!
So I guess it's better to wait to the official update then take the risk...
Thank you very much for your help!!
Click to expand...
Click to collapse
Depends on your outlook. I cant make that call for you
rootSU said:
Depends on your outlook. I cant make that call for you
Click to expand...
Click to collapse
Nahh... I can wait a few months without all the features they say come with 4.2.2...
Even if the custom ROM will be in any way better, it'll still exist...

Categories

Resources