Re: Building custom ROM for Nexus 7

356 views
Skip to first unread message

Jean-Baptiste Queru

unread,
Jul 20, 2012, 2:28:50 PM7/20/12
to android-...@googlegroups.com
You'll probably find it easier to duplicate full_grouper.mk, make your
variant inherit from generic.mk instead of full_base_telephony.mk, and
add the packages you want.

JBQ

On Wed, Jul 18, 2012 at 10:22 PM, dnkoutso <dnko...@gmail.com> wrote:
> Hey there,
>
> I downloaded the source and I am experimenting with my company if we should
> create our flavor of Android. I wanted to ask some preliminary questions.
>
> I downloaded the JB source and followed this guide:
> http://www.kandroid.org/online-pdk/guide/build_new_device.html
>
> The guide seems to be out of date on some stuff.
>
> Here's the questions I had:
>
> 1) I made a new folder device/<vendor> and put all the .mk files needed
> there. If we want to build for N7 should we just inheric the full_grouper.mk
> from our own full_<product>.mk file or should we make changes directly
> inside the devices/asus/grouper folder?
>
> 2) How do we remove a few packages that we don't want to come with our
> image? I noticed that inheriting adds a bunch of them but I want to remove
> some, is there an equivalent of PRODUCT_PACKAGES -= \ <list...>?
>
> It would be helpful if we had an official guide to show a few steps on how
> to base your image on an existing image or make it a brand new image and so
> forth.
>
> Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-platform/-/BpNIFp21JFkJ.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-platfo...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

dnkoutso

unread,
Jul 21, 2012, 1:33:11 PM7/21/12
to android-...@googlegroups.com
Thanks JBQ!

So I made it device/myvendor/myproduct/ and copied the full_grouper.mk into it and changed some stuff.

Should I be placing my app INSIDE the device/myvendor/myproduct/apps/ folder or in the root folder where all the other packages (such as Launcher2.apk) live? 

I know I should use LOCAL_OVERRIDEN_MODULE to override a package.

Still learning but this is fun!
> To post to this group, send email to android-platform@googlegroups.com.
> To unsubscribe from this group, send email to

Jean-Baptiste Queru

unread,
Jul 26, 2012, 6:22:58 PM7/26/12
to android-...@googlegroups.com
You can put your source code just about anywhere. The build system
does a recursive filesystem search for Android.mk (but doesn't search
in depth beyond any existing Android.mk).

JBQ
>> > To post to this group, send email to android-...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > android-platfo...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-platform?hl=en.
>>
>>
>>
>> --
>> Jean-Baptiste M. "JBQ" Queru
>> Technical Lead, Android Open Source Project, Google.
>>
>> Questions sent directly to me that have no reason for being private
>> will likely get ignored or forwarded to a public forum with no further
>> warning.
>
> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-platform/-/LXGd_tSL4mkJ.
>
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-platfo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages