2

I have already created the default Android system images (like userdata.img, system.img, ramdisk.img) by following the instructions at Android page.

What I would like to create is customized Android system images from AOSP(by removing the apps & their code-dependencies, which are unnecessary for my target board, like the e-mail, browser) & run it on my target board so as to reduce the foot-print of the resulting system images & also speed-up the boot-up time of the target board.

Any pointers to do above mentioned customizations are welcome.

kenorb
  • 155,785
  • 88
  • 678
  • 743
user548665
  • 21
  • 1
  • 3
  • Android doesn't have a nice way to do this like menuconfig in the kernel. You will likely have to hack a lot of makefiles :( – aultimus Feb 24 '12 at 10:23

1 Answers1

3

Edit this Makefile: build/target/product/generic.mk and remove the packages from the list. I won't bother going into how to compile, etc. Please note that doing this will not remove the code dependencies of the packages (you'll have to modify API in dalvik/ or frameworks/ which could get hairy), but it will eliminate the packages that are incorporated in the system image.

nhahtdh
  • 55,989
  • 15
  • 126
  • 162
Brian
  • 149
  • 4