Giter VIP home page Giter VIP logo

Comments (6)

ahnet-69 avatar ahnet-69 commented on July 29, 2024

Hey there, ahnet. I know this is not the place to ask but I was wondering if you could teach me how to build a stock AOSP TrebleDroid GSI with Google Apps.

Last time I tried I cloned TrebleDroid/treble_experimentations and installed all required packages.

I modified the build.sh script to execute buildVariant treble_arm64_bgN-userdebug and was expecting an A/B build without superuser and with Google Apps. I got a vanilla A/B build with superuser.

Reading your README I found the TARGET_BUILD_GAPPS env variable, I'm now doing another build with the instructions in your README while I write this. Whether or not this works I'll come back here.

TLDR: please teach me how to build a stock aosp trebledroid gsi with google apps because I can't get it to work.

Thanks!

not sure if TARGET_BUILD_GAPPS would work for aosp. The thing your lacking is gapps itself. You can clone the gapps that nazim uses for his crdroid builds by cloning the repo.

git clone https://gitlab.com/arrowos-project/android_vendor_gapps.git vendor/gapps

and give it a go again.

As for removing Su you can use this patch. Make sure you apply this patch in build/target.

I hoped it helped

from treble_yaap.

ahnet-69 avatar ahnet-69 commented on July 29, 2024

Hey there, ahnet. I know this is not the place to ask but I was wondering if you could teach me how to build a stock AOSP TrebleDroid GSI with Google Apps.
Last time I tried I cloned TrebleDroid/treble_experimentations and installed all required packages.
I modified the build.sh script to execute buildVariant treble_arm64_bgN-userdebug and was expecting an A/B build without superuser and with Google Apps. I got a vanilla A/B build with superuser.
Reading your README I found the TARGET_BUILD_GAPPS env variable, I'm now doing another build with the instructions in your README while I write this. Whether or not this works I'll come back here.
TLDR: please teach me how to build a stock aosp trebledroid gsi with google apps because I can't get it to work.
Thanks!

not sure if TARGET_BUILD_GAPPS would work for aosp. The thing your lacking is gapps itself. You can clone the gapps that nazim uses for his crdroid builds by cloning the repo.

git clone https://gitlab.com/arrowos-project/android_vendor_gapps.git vendor/gapps

and give it a go again.

As for removing Su you can use this patch. Make sure you apply this patch in build/target.

I hoped it helped

Make sure to adapt the no su patch for aosp it would fail otherwise

from treble_yaap.

SowTag avatar SowTag commented on July 29, 2024

Thanks. I manually removed su from PRODUCT_PACKAGES_DEBUG instead of applying your patch because the structure of my .mk files was different.

I cloned ArrowOS' Gapps and I'm now trying another build.

Sadly I don't know whether I can exclude packages from there because it will probably add quite a lot of them increasing image size.

Will reach out in a few hours, thank you!

from treble_yaap.

SowTag avatar SowTag commented on July 29, 2024

Update: Build went well but I still got it without Google apps. I cloned the ArrowOS repo but still nothing. I'll now try building with the TARGET_BUILD_GAPPS env, I don't know what else to do otherwise.

from treble_yaap.

ahnet-69 avatar ahnet-69 commented on July 29, 2024

Update: Build went well but I still got it without Google apps. I cloned the ArrowOS repo but still nothing. I'll now try building with the TARGET_BUILD_GAPPS env, I don't know what else to do otherwise.

alr remember how you cloned gapps to vendor/gapps.

delete vendor/gapps

and try vendor/gms

if it still doesnt work you can join telegram group where phh or someone more knowledgeable could help you

from treble_yaap.

ahnet-69 avatar ahnet-69 commented on July 29, 2024

I forgot this existed. The problem was fixed so closing issue now.

from treble_yaap.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.