[Q] How do you update build source code? - Android Q&A, Help & Troubleshooting

I just setup my build environment and download source code and custom ROM source code. Unfortunately there was an issue with the custom ROM and I had to wait until they fixed it. I need to update it the code and rebuild. How do I go about it?
Thanks.

Related

[Q] Source code?

What is kernel source code exactly?? Also for roms like cyanogenmod why is kernel source code required since we have the original rom of micromax? Also isnt there a way to reverse engineer the kernel source code?

[Q] Sources version

I´m going to start building my own ROM, I (think) have found the source needed for my device LGD373 (opensource.lge.com) the code available is for KitKat, but i want to compile it for Lollipop.
To be more precise, i want to compile PacRom Lollipop for my device, i will be able with the released code? if not, can i build the KitKat version of PacRom?
Thanks in advance

How to get Source Code?

How developers get the source code to develop a custom rom?
for example, How CyanogenMod get marshmallow source code for SIII 9300 which hasn't have this Android version?
I wan't to develop my own rom for my device, but I can't find specially Marshmallow pure source code for s3.
There isn't device set source code. Just a base code. Then you have to get/make the device trees for that device.
Then it takes weeks sometimes months of bugs to fix.
For that device to be honest you will be hard pressed to get a fully working set up as there is no kernel for android m for that device. So you will have to merge the code bit by bit and add some of your own

How to flash a google patch?

I want to apply a google patch (https://android-review.googlesource.com/#/c/181019/) to my stock G3 (http://forum.xda-developers.com/ver...t/vs985-46a-stock-flashable-firmware-t3304365). Is this possible? How would I go about doing it?
No, it's not possible. That's just source code. You'd have to compile it and integrate it into a ROM. A maintainer of a non-stock ROM such as CyanogenMod would possibly capture that new source code in their compiles.

Open source kernel

So this is my very first attempt in any kind of android development. I have here my phone's official kernel source. I was wondering if I can build this to boot or if it's ready for building.
Also this phone is bootloader locked and there's no official or unofficial way to unlock it.
So what can I do with the source or the boot image ?
I figured a way to get root access using the source code. I am still working on it tho and need help

Categories

Resources