Dhina17 Profile picture
Oct 30 22 tweets 6 min read
I know there is no proper guide to starting Android custom ROM Development.

So I made it.

#Android #AOSP

A thread 🧵 👇
1) Get an android device which has good community support

→ I recommend buying a device with a good community if you don't have any prior experience with android modding/custom ROMs.

→ If you have prior knowledge of custom ROMs, then you can go for any good device.

contd...
→ How to know if a device has a good community?
Check Telegram and XDA.
More detail in the next point.
2) Join your device community

-> Nowadays, every device has a community in Telegram.
You can find it simply by searching your device name or codename in Telegram.

-> How to know my device codename?
A simple google search "<device_name> codename" will do the work.

contd... Search with the device name.Search with the device codename. Violet - Redmi Note 7 Pro
-> Check @xdadevelopers for your device forums. There you can find threads (posts) for your device.

Search "<your device name> xda" in google.

You can find your device forum easily (only if your device has forums in XDA)

contd...
Now you found your device community, what's next?

-> Engage with the community members.
-> Talk more about your device.
-> Get help. Give help
-> Make friends. Make friends
-> Learn from them

contd...
Points to remember in a community

-> Don't expect spoon feed from the community members.
-> Avoid asking things that you can find by a simple google search.
-> No "Hello" and "Hi". Ask your question directly.

contd...
-> Prefer the common chat over DM. Seek help in public. So you will get help from more people and others will learn from your convo.
-> Learn to wait. People have their own life to live - value others' time.
-> Be kind to others.

contd...
Sound rude or not friendly?

Trust me, follow the above points blindly. You will see the magic in your community.

You will realize soon why it's important.
3) Use custom ROMs on your device

You joined your device community, Now let's get into the core.

Note: Make sure you know what you are doing.

-> Get the basics of android custom ROM and its related terms like ADB, bootloader, recovery and so on.

contd...
-> Unlock the bootloader
-> Install a custom recovery
-> Flash a custom ROM via recovery

Properly follow the instructions mentioned in the ROM thread/post.

-> Get help from the community. Don't follow anything blindly or your device will become unusable (worst case).

contd...
-> Enjoy the perks of custom ROMs. You will love it for sure.

In this phase, Explore custom ROMs and become familiar with them.

There is a lot to mention. But I am sure you will learn all the things eventually from the community.
4) Build a custom ROM for your device

You are a pro user now, let's do something more.

Let's compile an Android ROM for your device.

contd...
To build an Android ROM, you need a good specs PC.

Check the requirements: source.android.com/docs/setup/sta…

Most people (like me) can't have a machine that meets the requirements.

I got you.

contd...
What you can do about that?

-> Try to get a free trial from services like Google Cloud Platform (GCP), Azure or AWS. Then create a virtual machine (VM)

-> Ask for help from your community friends. They may help you.

contd...
-> There are some low-cost paid server (VM) providers around the telegram android communities. (Personally no experience)

-> Try to upgrade your laptop/PC with a good amount of RAM (more than 16 GB)

contd...
Now you have the machine to build.

-> How to build?
I ain't gonna write it about in detail since there are a lot of guides out there. (a thread for another day)

Lineage wiki (device-specific): wiki.lineageos.org/devices/onclit…

Official doc: source.android.com/docs/setup/sta…

contd...
From the lineage wiki, up to this wiki.lineageos.org/devices/onclit… are common for all devices.

For the next step
-> You have to download/clone your device sources - Device config tree, kernel tree and vendor tree.
-> Lunch your device
-> Start the build

contd...
-> I recommend you get the details from your community. Learn from them. Get help from them. (no spoonfeeding)

-> Build errors: Try to get help after trying something yourself. Don't go straight to the community without any try. (a thread for another day)

contd...
-> Don't worry if you can't understand all the things. You will eventually learn one by one.

Once again, you will learn a lot from your device community.
I hope, Now you know how to get started in Android custom ROM development.

Thanks for reading. ❤️
If you found this thread useful,

👉 Retweet the first tweet so others can find it.
👉 Follow me @dhina17l so it encourages me to write more.

I share my experience in Android and Open Source. 🚀
Check out my profile and timeline. 💯

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Dhina17

Dhina17 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(