[Galaxy Note GT-N7000 General] toxicthunder:
--

​

INTRODUCTION

There are several guides and tutorials that teach you how to build your own custom firmware from source.

To the trained eye, the steps to be followed are essentially the same.

But to users with relatively lesser experience in programming or software development/scripting of any kind, it often seems to be a daunting task.

One of the many reasons for this is that users usually have atleast 2 similar guides open side-by-side on their screens.

And when one or two lines of code/instruction do not match, all hell breaks loose.

This might not be the case with you, but it sure was with me. :)

This guide is based solely on my experience in starting from scratch, trying to build a ROM from CyanogenMod and AOKP sources​

​

Before we proceed any further, I would like to clarify that this is NOT a definitive tutorial,

nor is it the best way to get started in ROM development.

There may be ‘kanging’ involved, zipping-unzipping as well.

Purists may take exception to some steps – but then they are purists for a reason.

My purpose is NOT to oppose what the better-skilled developers opine,

nor is it to encourage the said procedures.

However, in the event that I do mention using them –

be aware that the attempt is solely to provide a small impetus to enthusiastic learners, so that it may help them have some know-how on how to finally get started. ​

I intend to proceed slowly, rather than publishing the entire thing all at once

and then having confused users discussing Step 2 and Step 2002 at the same time.

In order to avoid this, the posts that follow will be updated in parts i.e

we shall together proceed ahead once a sizable majority of participants have successfully completed a chunk of required steps.

This, I feel, will ensure that the ensuing discussions are enjoyed and benefitted from by several more users at any given time.

REQUIREMENTS

We would be using the CM10 and AOKP sources as reference to learn building for our device.

For the purpose of this tutorial, we shall work together on the following environment –

◘ Ubuntu 12.04 64-bit

◘ A minimal requirement of a Quad-Core processor with >= 4 GB RAM

◘ A high-speed connection >= 2 mBps

◘ Solid State Drives are highly recommended.

◘ Google Toolbar

◘ Patience

◘ Patience

◘ And more Patience

​

Assuming that you would be syncing either one of the source trees, you would require

about 70-80GB of free space to sync repositories and compile a ROM from start to finish.

Users on Windows have an option of dual-booting.

If they are hesitant to do so, they can also run Ubuntu using a Desktop Virtualization Software.

However, in this case you would then require atleast 6GB of RAM, if not more,

to run both operating systems concurrently.

Users building on a remote server, I presume, would be spoilt for choices different Linux distributions available.

Be sure to have an SCP client in handy.

It is my humble request that we all follow good etiquettes and rules all the more strictly to ensure an enriching learning environment.

◘ Please do not troll here.

◘ The thread is not to be used for smug remarks or aspersions (as most of us are accustomed to)

◘ Code Snippets that will be posted on this thread using the code tag, as part of this thread, are supposed to be entered into the Linux terminal.

◘ You are requested to use Pastebin to post logs and build errors

◘ Please do not use any fancy fonts or bold typefaces.

◘ Please do not create Thank You posts if a particular solution solves your problem.

​

Each and every solution will be verified, and the author in turn will be requested to mark his post in Bold-Green.

Hence the last point above..

It is a given that this shall forever be a Work in Progress.

Things will be added, things will be removed as time flies by.

The only thing that should remain constant is the willingness to learn.

And the willingness to use Google Search. :)

BIBLIOGRAPHY

◘ [Tutorial] Compile JB on Ubuntu

◘ [TUTORIAL] So You Want To Build AOKP JB? [Ubuntu 12.04+]

◘ CyanogenMod WiKi

◘ Android Open Source Project

◘ Frequent IRC chats with Pier and bajee11

◘ Google chats with other kind developers, users and friends

--