The document discusses building custom Android images based on AOSP (Android Open Source Project) to create a "more than Nexus, better than Nexus" experience. It explains how to download and build the AOSP source code, modify system properties and resources, replace apps, and build images. The goal is to unlock hidden features, improve performance, and add new capabilities without modifying the original source code. In conclusion, with AOSP it is possible to build your own "real Nexus" images and customize the experience beyond what is offered on stock Nexus devices.
10. Nexus Series
제조사 제품 이름 hardware product
Huawei Nexus 6P angler? ?
LG Nexus 5X bullhead bullhead
Motorola Nexus 6 shamu shamu
LG Nexus 5 hammerhead hammerhead
ASUS Nexus 7(2013) flo, deb flo, deb
LG Nexus 4 mako mako
Samsung Galaxy Nexus tuna maguro,toro
Samsung Nexus S herring crespo
21. 각종 상수 및 기본 설정값
● /root/default.prop
● /system/build.prop
● /system/framework/framework-res.apk
● /system/priv-app/SettingsProvider.apk
● /system/priv-app/Settings.apk
● /system/priv-app/SystemUI.apk
● /system/priv-app/TeleService.apk
22. aapt
● Android Asset Packaging Tool
● 다음 명령어로 .apk 파일에 포함된 리소스 분석 가능
$ aapt d --values resources framework-res.apk
spec resource 0x01040029 android:string/default_sms_application:
flags=0x00000000
resource 0x01040029 android:string/default_sms_application:
t=0x03 d=0x00001e00 (s=0x0008 r=0x00)
(string8) "com.android.mms"
23. 수정 전략
● 안드로이드 기본 빌드 스크립트를 이용해 factory image 생성
● 유지 보수가 가능
○ bug fix 또는 major 업그레이드가 되었을 때 따라가기 편해야 한다.
● 결론
○ 원래 코드는 되도록이면 건드리지 말자
○ 수정하고 싶으면 원래 코드 바깥에서 건드리자
39. Conclusion
● You can build your own Real Nexus image without modification source
codes on AOSP.
● You can unlock or add several features, and improve your experiences
40. References
● http://s.android.com/
● How to build Android Marshmallow on Nexus 4
● https://github.com/ganadist/device_lge_mako
● https://github.com/ganadist/device_lge_occam
● https://github.com/ganadist/gms_addon/tree/android-6.0.0_r1