[Q] Questions about updating ROM from source - Android Q&A, Help & Troubleshooting

Hi guys, i'm new to Android development. I built Paranoid Android from source for TF101. The ROM was nice and i'm happy with my ROM. So now i'm so curious about what developers do regarding building a ROM and updating it.
1. If the ROM had bugs/problems, how can i analyze it and find the root cause of the bug?
2. How can i fix the bug? Do i need to edit a file in the ROM?
3. Every ROM that had updated build from source has an changelog, how can i know what is the changelog?
I'm sorry if the questions are quite noobish. I'm new with it. Thanks

Related

How to build rom

I know Its pretty dumb to ask after seeing a lot of tutorial here, But I really can't understand! My Device is a huawei ascend y300. I have lots of custom rom on various forums. So I wanna built one myself! One of the developer built cm 11 from source and he is rolling out nightly on a daily basis. My interest is to build the cm11 too on my own computer based on his device specific changes he has done. and he has done a lots of changes for our device. Also if I can make any other rom from its source based of his work like mokee rom, or slimbeam etc. ANy help is appriciated. thnk you

[QUESTION] How do you make custom ROM?

Hi,
I wanted to ask this in other subforum, but this is my first post and I don't have permission there. Do you have a guide to recommend for creating custom roms?
I know a lot about Linux, I can compile kernels, patch, I know C a little. I programmed couple of Android apps, in Java and Go, so I guess I have some basic knowledge.
What do you guys do, with what source do you start? Is it a stock android source but you modify kernel and modules or you need first to find exact source for that phone?
For example, I own a Lenovo A560, and would like to try build custom rom for it. What would be the first steps?
Thanks,
Milan

Build ROM from scratch

I would like to develop a custom ROM for my device. I read some guides and obtained some basic knowledge, but still don't know how to start. So I would like to ask some questions to test my knowledge and expand them.
My device: Wiko View
My Android version (actually installed): 7.1.2 almost pure Android (just some third-party apps)
Desired Android version: AOSP 9.0 (maybe?)
So as far as I know I need these things:
AOSP Source Code (9.0)
Kernel
Vendor (tree or blobs?)
Device tree
So for the AOSP: I can get it from the repo hosted by Google. How should it look once downloaded?
For the kernel: should I use that from my actual ROM, or the most recent one? And how to include it in my ROM before compiling?
For the Vendor: As far as I read, with project treble I shouldn't edit this. But since I'm not developing a treble ROM, I'm in troubles, right? In older ROMs (before Oreo and Treble), they're stored in /system/vendor. Is just that folder or are there more? Do I need to update something? Where do I need to put this folder?
For the device tree: I read some guides that explains how to extract it from ROM (only from 5.0 and up, since mine is 7.1 no problems, I hope). Is this right or are there other ways? Or do I need to write it myself?
I'm going to thanks anyone in advance. I know there are plenty of questions, but I hope this thread will be a place for begginer (like me) to know more about compiling from source a ROM. Have a great day!

Manual Security Patch Update for Custom Roms

Hello everyone,
I don't know if this is the right place to ask, please move to the appropriate section if needed.
My question - let's say I have a rom on my device that is no longer maintained by the developer, is there any way through which I can manually update Android security patches or maybe maintain the rom myself??
** considering that I don't have any custom kernel available or its no longer updated at all.
Can anyone help me with this?
good question

Lineage & Lightrom Rom's on Samsung Galaxy Note 8

Hey guys, I hope all are doing fine.
I'm wondering guys if there is any way to get an official Lineage OS rom for Samsung Galaxy note 8!!
All that I found are the unofficial one's and I don't know if it is safe to use or not!
Another thing is the Lightrom OS that I found in our site here, but I found those two things, which are Rom and Kernels!
Should I install both of them or only the Rom enough to do the whole thing, I mean it will also install the Kernel too!
Those were my thoughts and questions, appreciating your helps in this, and thanks in advance
Ziezo said:
Hey guys, I hope all are doing fine.
I'm wondering guys if there is any way to get an official Lineage OS rom for Samsung Galaxy note 8!!
All that I found are the unofficial one's and I don't know if it is safe to use or not!
Another thing is the Lightrom OS that I found in our site here, but I found those two things, which are Rom and Kernels!
Should I install both of them or only the Rom enough to do the whole thing, I mean it will also install the Kernel too!
Those were my thoughts and questions, appreciating your helps in this, and thanks in advance
Click to expand...
Click to collapse
I doubt we will see Official Lineage OS as it requires too much work and the developer does not have the free time. The source code is posted on the thread so if there was anything dodgy in there someone would pick up on it, especially by now. Lineage 17.1 does get monthly builds for the security patches via OTA. If you're interested in flashing it you can get the latest builds here - https://images.stricted.net/lineageos/greatlte/
I can't comment on Lightrom as I believe there are a number of Lightrom's and I'm not sure to which one you refer to.
Thank you so much, I really appreciate your kindness reply, I will see about the lineage, it is the one I trust in more in terms of open source Roms.
As for the Lightrom and my question about it, it could come on any other Rom, I mean in general if there's a Rom and a Kernel should I install them both or only will do the whole work (I mean by that it will install both Rom and a Kernel in a single installation process), in which I doubt, but just want to make sure, because it's my first time thinking of installing custom kernel.
Ziezo said:
Thank you so much, I really appreciate your kindness reply, I will see about the lineage, it is the one I trust in more in terms of open source Roms.
As for the Lightrom and my question about it, it could come on any other Rom, I mean in general if there's a Rom and a Kernel should I install them both or only will do the whole work (I mean by that it will install both Rom and a Kernel in a single installation process), in which I doubt, but just want to make sure, because it's my first time thinking of installing custom kernel.
Click to expand...
Click to collapse
Happy to help.
When you flash a rom it will flash the kernel too at the same time.

Categories

Resources