Introduction To AOSP: Building Your Own Android
Introduction To AOSP: Building Your Own Android
Introduction To AOSP: Building Your Own Android
Not a trademark
What is AOSP
Android Open Source Project
https://source.android.com/
The code for the OS part of Android
Not the complete end-user experience
Is AOSP Really Open?
Open: a complete mobile operating system
Open: Apache & GPL licensed
Open: anyone can submit fixes & changes
Optional: create...
/etc/udev/rules.d/51-android.rules
...if you want to talk to physical Android devices
See: https://source.android.com/source/initializing.html
Getting AOSP https://source.android.com/source/downloading.html
pick a version:
https://source.android.com/source/build-numbers.html
Chrome Extension
edit /etc/sysctl.conf:
fs.inotify.max_user_watches = 524288
Ubuntu/Linux
$ sudo sysctl -p
Open the generated android.ipr file in your AOSP root with Android Studio
Derived from: https://shuhaowu.com/blog/setting_up_intellij_with_aosp_development.html
AOSP in Android Studio (2)
Open File -> Project Structure
Change Project SDK to Just Java
R provides generated
resources classes to
satisfy R.id.foo type
references.
framework provides
classes generated
from AIDL files to
satisfy service
interface calls.
https://source.android.com/devices/
Architecture Overview
Embedded Android
By Karim J. Yaghmour
http://shop.oreilly.com/product/0636920021094.do