Help with merging source code - Android Q&A, Help & Troubleshooting

Can someone explain me how to patch some features like Halo or Pie control from PA sources to Cm 10.1 sources or Chameleon OS sources, because i want to add some extra features to my rom taking them from PA or AOKP!
THANK you!
here are the link of my rom and of the Pie sources:
https://github.com/ParanoidAndroid/android_frameworks_base/commits/jellybean
https://github.com/ParanoidAndroid/android_packages_apps_Settings/commits/jellybean
Chamaleons OS Rom i9300
It would be appreciated if someone would write a small guide! :good: Maybe it could be an help also to other people who would like to learn something about android developing!

Related

[Q] Adding Halo to Roms

I know that lots of roms come with Halo now, but I've been wanting to stick with stock cm10.1 which unfortunately doesn't have it. Now I know that installing Halo is much more than just installing an apk, but can someone explain to me the process? How is Halo implemented into Roms, and if possible, some instruction on doing it myself.
Thanks in advance
numel007 said:
I know that lots of roms come with Halo now, but I've been wanting to stick with stock cm10.1 which unfortunately doesn't have it. Now I know that installing Halo is much more than just installing an apk, but can someone explain to me the process? How is Halo implemented into Roms, and if possible, some instruction on doing it myself.
Thanks in advance
Click to expand...
Click to collapse
The way HALO is implemented into ROM's is by cherrypicking the commits from the Paranoid Android github repository that make HALO work. For example if in this Google Plus post from the Paranoid Android Team you will see mainly these two commits 1. https://github.com/ParanoidAndroid/android_frameworks_base/commit/518c329e8c67fa96b8a8fc22e1962ddb8497c333 and 2. https://github.com/ParanoidAndroid/android_packages_apps_Settings/commit/7c739a86e7a02451a63615d71f1b6c846caacdc6 are needed to implement the HALO features. Since you mentioned you were interested in doing this yourself I would recommend taking a look at this excellent guide to using github and cherrypicking commits. I would also recommend looking at the Cyanogenmod wiki on building CM10.1 from source if you have never done that before.
shimp208 said:
The way HALO is implemented into ROM's is by cherrypicking the commits from the Paranoid Android github repository that make HALO work. For example if in this Google Plus post from the Paranoid Android Team you will see mainly these two commits 1. https://github.com/ParanoidAndroid/android_frameworks_base/commit/518c329e8c67fa96b8a8fc22e1962ddb8497c333 and 2. https://github.com/ParanoidAndroid/android_packages_apps_Settings/commit/7c739a86e7a02451a63615d71f1b6c846caacdc6 are needed to implement the HALO features. Since you mentioned you were interested in doing this yourself I would recommend taking a look at this excellent guide to using github and cherrypicking commits. I would also recommend looking at the Cyanogenmod wiki on building CM10.1 from source if you have never done that before.
Click to expand...
Click to collapse
Thanks a ton! Couldn't get any answers until now

[Q] Implementing features from other sources

I have the source for PACMAN ROM downloaded and now I want to figure out how to add other features from either github or wherever to it. There's some things from the xposed framework that I'd like to implement in the ROM but I'm not sure how to go about doing it. I'm new to android development, just been porting PAC to my phones that don't have support. Any help is greatly appreciated.
Bump. Anyone?

How to build aosp from source for mido?

Hey there devs.
I'm looking forward to build a pure aosp rom based on oreo 8.1 for mido.
So far I've tried and successfully built los 14.1 and rr 5.8.5 from source, but I want to build aosp source so as to create a vanilla aosp rom. I've looked on the internet and asked a couple of devs here in the forum and they told me to merge caf patches. I totally understand the point of caf but then i don't know how to do it. Also I'm pretty sure that some patches (caf maybe) need to be added to source since the compilation always gives an error related to board config, when i followed the official guide at android website. (But then I don't understand what overlays i have to apply or even what they are)
Edit : i use gcloud to build.
If anyone can guide me as to how i can build aosp, it would be really helpful:fingers-crossed:
But then any help is appreciated.:good:
Thanks in advance!
i've no knowledge on building rom but im waiting for your vanilla for sure, hopefully you made it from Note 4X as base since all 8.1 rom i have tried are giving me various app are stopping after using it for sometime. i hope i can help you in some way though i have limitation in helping. thank you for your spirit!
groovepeppy said:
i've no knowledge on building rom but im waiting for your vanilla for sure, hopefully you made it from Note 4X as base since all 8.1 rom i have tried are giving me various app are stopping after using it for sometime. i hope i can help you in some way though i have limitation in helping. thank you for your spirit!
Click to expand...
Click to collapse
Don't worry man, I'll find out some way to build it. I'm Waiting for los 15.1 to get official so that the kernel source and other sources are out which i can use. But still I'm trying to learn and build.:laugh:

[ROM][9.0][BETA][AOSP]WAVE-OS 9.0 BETA for Moto G5+[POTTER]

This is a new ROM started by a friend of mine and we are still working on adding features.
Download: bit.ly/wospotter1
github.com/wave-project for ROM sources
github.com/gzr-kernels/optimus_drunk_potter kernel sources
This is an initial build
PS:-One button navbar is disabled
No other bugs found
If found
Report in this thread
Screensbots please? Is it a pixel-looking UI or a more AOSP? What features does it has? Thank you (can't test right now)
Aosp looking ui......smooth as silk so far...
Out of curiosity, where are these new 9.0 roms coming from? Are you all just forking the same project and just re-theming it? There are only a few commits throughout the entire set of github repos and the commits don't seem very substantial.
Wow!! Can you show some screenshots???
and how much stable ROM it is??
ash4win said:
This is a new ROM started by a friend of mine and we are still working on adding features.
Download: bit.ly/wospotter1
github.com/wave-project for ROM sources
github.com/gzr-kernels/optimus_drunk_potter kernel sources
This is an initial build
PS:-One button navbar is disabled
No other bugs found
If found
Report in this thread
Click to expand...
Click to collapse
What does it means that the One button nav is disabled? There are no fingerprint gestures or just the navbar os always visible?

LG V521: Where is the source code for compiling LineageOS 14.1? (device specific source code, not a link to LineageOS's Github page)

Hello everyone!
I've got this tablet, and I'm wondering how LineageOS and Resurrection Remix (based on Lineage, I know) custom ROMs were compiled as not only moderators didn't provide screenshots but also source code they used to make flashable zip files, and it's not even clear what works and what not works. Back in a day I also compiled ROMs for other tablet but I left source code on Github in case somebody would want to give their time and effort to make it better or find answers for their questions.
Seriously, how would I risk flashing my own tablet if I can't even see what was done to make those flashable zips, and I don't even see screenshots? Why would I take a "leap of faith" and believe that everything is working there (or works at all)?
The only real problem with this device is bloat and not having root to tweak "hosts" file.
I'll also appreciate if you tell what ROM you use and what works/not works for you.
Thanks!
the wiki is pretty much straightforward
https://wiki.lineageos.org/devices/v521
alecxs said:
the wiki is pretty much straightforward
https://wiki.lineageos.org/devices/v521
Click to expand...
Click to collapse
Thanks for the link! Where can I find list of bugs or is it really works as good as stock ROM on this device?
as it is no longer maintained, you build it your own, you test it your own, you write list of bugs your own.
you can however look for the support thread.
[ROM][7.1.2][v521][OFFICIAL] LineageOS 14.1 LG G-Pad X 8.0 v521[Nightly]
LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device. All the source code for Lineage OS is available in the Lineage OS...
forum.xda-developers.com

Categories

Resources