조회 수 21975 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print

Fastboot는 Dev1 단말에 Android System Image등을 적용할때 사용되는 툴입니다. 소스에서 직접 빌드한 이미지들을 단말에 적용할수도 있고, 부팅시에 나오는 스플래쉬 이미지도 바꿀수 있습니다.

먼저 FASTBOOT 모드로 부팅을 해야합니다. '카메라'버튼을 누른채로 부팅을 하고, 안드로이드가 스케이트타는 그림(SERIAL0이라고 하고 있는)이 나왔을 때 usb를 연결시킨후 'Back' 버튼을 누릅니다. 잠시후에 'FASTBOOT'로 바뀌게 되고 커맨드를 입력할 수 있습니다.

FASTBOOT 종료하기
- $ fastboot reboot

혹은 MENU+SEND+END 키를 동시에 눌러도 됩니다.

FASTBOOT 클라이언트.
Fastboot 클라이언트는 안드로이드 풀소스를 빌드하면 아래 디렉토리에 생성되어있습니다.
- out/host/{os}_{arc}/bin/fastboot

Flash All Partition
적절한 out/target/* 디렉토리에 있는 이미지를 찾아서 구운후에 자동으로 폰을 리붓시킵니다.
- $ fastboot flashall

특정 파티션 굽기
- $ fastboot flash {partition} {file.img}


특정 파티션 지우기

- $ fastboot erase {partition}


부팅 이미지 바꾸기

부트 이미지로 사용될 수 있는 포맷으로 작성되어야 합니다.
- $ fastboot flash splash1 mysplash.rgb565

파티션 정보
splash1: 320x480 이미지
kernel : boot.img
recovery: recovery.img
system : 70메가 안드로이드 플랫폼
userdata: 76메가 어플리케이션과 유저데이터
cache: 임시저장소

커널개발시 유용한 시나리오
- $flashboot erase boot
- $flashboot erase recovery

- $flashboot boot {kernel} {ramdisk}

- $flashboot flash:raw boot {kernel} {ramdisk}

Usage
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall ‘flash boot’ + ‘flash system’
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader

options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id

fastboot win32
fastboot win32용도 첨부합니다. http://forum.xda-developers.com/showthread.php?t=463627 근데 50메가 넘어가면 제대로 안되는듯하군요.


Dreamy의 코드 스크랩

내가 모으고 내가 보는

List of Articles
번호 분류 제목 날짜 조회 수 추천 수
88 Android adb am 명령어 ; app 실행 및 Intent 전송 2013.08.12 100265 0
87 Android adb monkey script 2014.07.30 14638 0
86 Android adb shell monkey - Monkey 사용하기 2014.07.30 27122 0
85 Android adb shell pm 명령어 ; apk 파일 추출 및 인스톨 2013.08.12 42130 0
84 Android adb shell 에서 sqilte3 사용 하기 2016.03.28 12728 0
83 Android adb shell 을 이용한 각종 정보 명령어 2012.09.03 42149 0
82 Android adb shell로 db 업데이트하기 1 secret 2016.03.28 0 0
81 Android ADB Usage 번역 2013.07.10 13255 0
80 Android adb 로 low battery 이벤트 날리기 2013.04.19 16754 0
79 Android adb 를 이용한 터치 이벤트 보내기 2014.07.30 9236 0
78 Android ADB 에서 cpu 사용률 보기 2013.04.29 20136 0
77 Android adb로 db보기 2012.08.31 16427 0
76 Android adb로 display 해상도 조정 2015.04.22 10210 0
75 Android ADB로 스크린 캡쳐하여 저장하는 방법 2013.08.13 45419 0
74 Android adb로 폰 화면 동영상 저장 - KK 전용 2013.12.17 14011 0
목록
Board Pagination ‹ Prev 1 2 3 4 5 6 Next ›
/ 6

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5