본문 바로가기

Linux/Android

갤럭시탭 PIT Table 덤프하기

검증되진 않았음.

출처:http://www.androidpub.com/1548554,  http://soremachi.tistory.com/category/%ED%8F%B0%EB%8D%95

 루팅 된 갤럭시탭에서,

adb shell로 접속하신 후

$su -c "dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096"

하면 내장SDCARD 루트에 pit.pit가 생긴다.
 


Samsung PIT Info

 Only working on LINUX SYSTEM!


Terminal
make

PITINFO (X-executable)

#./PITinfo <Filename>.PIT or BIN


PIT source code

Should be compiled  by GNUARM


Samsung System Dump

mkdir backup
cd backup
adb shell  su -c "dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096"    - 부트
adb shell  su -c "dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096"        - 파티션 테이블
adb shell  su -c "dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096"        -IMEI
adb shell  su -c "dd if=/dev/block/bml4 of=/sdcard/Sbl.bin bs=4096"      - Secondary Boot Loader
adb shell  su -c "dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096"     
adb shell  su -c "dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096"      - 커널
adb shell  su -c "dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096"  - 메인 FIles
adb shell  su -c "dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096"   - Data Base
adb shell  su -c "dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096"    - Cache
adb shell  su -c "dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096" - 통신사 Modem
adb shell  su -c "tar -czvf /sdcard/data.tar.gz /data"

adb pull /sdcard/param.lfs .
adb pull /sdcard/zImage .
adb pull /sdcard/factoryfs.rfs .
adb pull /sdcard/dbdata.rfs .
adb pull /sdcard/cache.rfs .
adb pull /sdcard/modem.bin .
adb pull /sdcard/efs.rfs .
adb pull /sdcard/boot.bin .
adb pull /sdcard/Sbl.bin .
adb pull /sdcard/pit.pit .
adb pull /sdcard/data.tar.gz .