본문 바로가기

android

Porting WiFi drivers to Android http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html https://wiki.linaro.org/Resources/HowTo/SamsungWlanInOrigenAndroid 더보기
CyanogenMod repo 이용해 소스 받기 repo init -u git://github.com/CyanogenMod/android.git -b icsrepo init -u git://github.com/CyanogenMod/android.git -b jellybean 더보기
adb 로 apk 실행 하기 [apk 실행 시키기]adb shell am start -n com.package.name/com.package.name.ActivityName [apk 안의 AndroidManifest.xml 보기]aapt dump xmltree [apk-name] AndroidManifest.xml [apk 설치]adb install [apk-name] 더보기
CONFIG_VMSPLIT_2G ICS 부터는 CONFIG_VMSPLIT_2G 는 지원안함kernel config 시 반드시 CONFIG_VMSPLIT_3G=y 해야함 더보기
input devices porting [input device 확인]cat /proc/bus/input/devices [device name]getevent -p를 이용하면 kernel 에서 설정한 device name 을 가져올 수 있다이를 이용해 idc, keylayout 등의 파일이름을 정한다 [참고]http://source.android.com/tech/input/input-device-configuration-files.htmlhttp://source.android.com/tech/input/getevent.html 더보기
initlogo.rle 만들기 convert -depth 8 initlogo.png rgb:initlogo.rawout/host/linux-x86/bin/rgb2565 -rle initlogo.rle* imagemagick 필요 더보기
platform 소스 받기 AOSP(google) [repo 설치] curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo chmod a+x ~/bin/repo [소스 받기] cd WORKING_DIRECTORY repo init -u https://android.googlesource.com/platform/manifest [-b branch-name] repo sync [tag로 소스 받기] repo forall -c git reset --hard [참조] http://source.android.com/source/downloading.html CodeAurora(qualcomm) [소스 받기] cd WORKING_DIRECTORY repo init .. 더보기
(repo) tag로 소스 받기 repo forall -c git reset --hard 더보기
source version 확인 platform - build/core/version_defaults.mkkernel - Makefile 더보기