aosp-build icon indicating copy to clipboard operation
aosp-build copied to clipboard

Add Patches and system-apps

Open rkunschke opened this issue 5 years ago • 3 comments

Hello, I try'ed to build aosp with microg so I added the packages in the config/manifest/base.xml as it is descriped here: https://github.com/microg/android_packages_apps_GmsCore/wiki/Building I used make DEVICE=sargo fetch to get the sources and jumped into the container with make shell. I applyed this patch without problems. https://github.com/microg/android_packages_apps_GmsCore/blob/master/patches/android_frameworks_base-P.patch

I started the build with make DEVICE=sargo and the build failed because it cant write the new apps to the desired folder.

I don't think what I used the build-system how it should be used.

How can i add system-apps and apply patches?

rkunschke avatar Jan 10 '20 13:01 rkunschke

I have not done this myself and have not intention to do so. But as I understand it, you would need to follow this part of the documentation: https://github.com/microg/android_packages_apps_GmsCore/wiki/Building#integrate-gmscore-in-aosp-based-rom Did you do that?

ypid avatar Jan 12 '20 22:01 ypid

Yes. But I am not sure how to do it. Should i do it in the aosp-build folder or in the shell with make shell?

rkunschke avatar Jan 13 '20 18:01 rkunschke

make shell would be preferred. Please get familiar with Docker and with the layout of this project.

ypid avatar Jan 14 '20 21:01 ypid