Skip to content

Instantly share code, notes, and snippets.

@armoucar
Created July 8, 2017 01:42
Show Gist options
  • Save armoucar/b631d250894cbef96d69665c2369aa57 to your computer and use it in GitHub Desktop.
Save armoucar/b631d250894cbef96d69665c2369aa57 to your computer and use it in GitHub Desktop.
Heimdall android flash firmware - Samsung Galaxy S i9000
# Commands are executed with your phone in download mode
$ heimdall detect
$ heimdall print-pit
$ heimdall download-pit --output mypit.pit --verbose --stdout-errors --usb-log-level debug --no-reboot
# Dentro de uma pasta
# CSC_XENJV5.tar & PDA_XWJW1_Sbl.tar & PHONE_XXJVT.tar extraídos
arthur ~/xxjvt
$ l
total 1218968
-rw-r--r--@ 1 arthur staff 8.5M 30 Jan 2012 CSC_XENJV5.tar
-rw-r--r--@ 1 arthur staff 277M 30 Jan 2012 PDA_XWJW1_Sbl.tar
-rw-r--r--@ 1 arthur staff 12M 30 Jan 2012 PHONE_XXJVT.tar
-rwx------@ 1 arthur staff 1.3M 13 Dec 2011 Sbl.bin
-rwx------@ 1 arthur staff 256K 13 Dec 2011 boot.bin
-rwx------@ 1 arthur staff 8.5M 18 Aug 2011 cache.rfs
-rwx------@ 1 arthur staff 1.3M 29 Dec 2011 dbdata.rfs
-rwx------@ 1 arthur staff 268M 13 Dec 2011 factoryfs.rfs
-rw-r--r--@ 1 arthur staff 4.0K 7 Jul 20:35 i9000.pit
-rwx------@ 1 arthur staff 12M 22 Sep 2011 modem.bin
-rw-r--r-- 1 arthur staff 4.0K 7 Jul 21:02 mypit.pit
-rwx------@ 1 arthur staff 640K 13 Dec 2011 param.lfs
-rwx------@ 1 arthur staff 5.5M 13 Dec 2011 zImage
$ heimdall flash --repartition --IBL+PBL boot.bin --CACHE cache.rfs --DBDATAFS dbdata.rfs --FACTORYFS factoryfs.rfs --PIT mypit.pit --MODEM modem.bin --PARAM param.lfs --KERNEL zImage --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment