-
삼성 오픈소스 커널로 CyanogenMod 포팅시 MTP 고치기(How to fix MTP error CyanogenMod when you build kernel with samsung stock kernel)Android 강좌 2016. 9. 24. 22:05336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
제 블로그에서 유입량 1위가 xda이네요. 그래서 이 포팅 강좌는 영문 버전으로도 필요할 것 같아 한글 밑에 영어로 번역해서 쓰도록 하겠습니다.
반갑습니다~ 정말 오랜만에 안드로이드 개발 강좌로 들어오네요. 이번에는 삼성기기에 CyanogenMod 커스텀롬을 포팅 할 때 OSRC의 소스를 활용하면 MTP가 작동 하지 않게 됩니다. 그걸 픽스하는 강좌를 쓸거에요.
(Hello~ Long time no see with android development lecture. Today we're going to learn about when you port CyanogenMod on samsung devices with OSRC source, MTP doesn't work. Now I'll teach you how to fix it.)
강좌는 윈도우에서 스크린샷 되었지만 컴파일 같은 핵심 과정들은 리눅스 환경에서 하셔야 합니다.
(The screenshot in this post is on window, but you should do this work on linux like compile)
그럼 이제 시작~
(Let's Start~)
강좌를 위해서 커널 소스를 다운하도록 하겠습니다.
(Download kernel source for the lecture)
커널 소스로 들어가면 많은 파일들이 있습니다. 그리고 여기서 건들여야 할건 데프컨픽입니다. 위치는 arch/arm/configs에 있습니다.
(There are lots of files in kernel source. but we'll edit one file. The defconfig. Location is arch/arm/configs)
자신의 기기에 해당하는 데프 컨픽을 찾으셨으면, 텍스트 에디터로 열어주세요.
(When you find your device's defconfig, open it in text editor)
들어오셨다면 수정 할 것은 한 구문 뿐 입니다. CONFIG_USB_ANDROID_SAMSUNG_MTP=y 이 구문을 찾아주세요. 검색하는 법은 Ctrl+F누르시면 찾기 창이 뜹니다.
(Edit just one line. Find CONFIG_USB_ANDROID_SAMSUNG_MTP=y this line. :You can search words with Ctrl+F)
그리고 이 구문을 지워 주세요. 이제 끝 입니다! 참 쉽죠?
(And then delete it. It's done! Very Easy, isn't it?)
오랜만에 개발 강좌를 써봤는데요. 삼성 순정소스를 CyanogenMod에서 부팅되게 수정하는 것은 이 강좌에 포함되어있지 않습니다. 그건 알아서 하시면 되겠습니다.ㅎㅎ
(Lecture the end. This post doesn't contain [How to boot CyanogenMod with samsung stock kernel])
감사합니다.
(Thank you)
'Android 강좌' 카테고리의 다른 글
삼성 갤럭시 전기종 순정펌웨어 다운받는 사이트 (3) 2017.02.07 안드로이드 커스텀롬을 빌드해보자! CM14,Lineage OS,Resurrection 등등 (6) 2017.02.02 안드로이드 커널 빌드 하기 전 필수 인 툴체인 설정 하는 방법 (0) 2017.02.01 CyanogenMod 커스텀롬을 빌드해보자! (2) 2015.12.21 삼성 오픈소스로 커널을 빌드 해보자! (6) 2015.12.05