aboutsummaryrefslogtreecommitdiffstats
path: root/OSX
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-05 00:25:04 +1100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-05 00:25:04 +1100
commit46f2c1134d276944fb74584a61d90cc363aee7eb (patch)
tree6fa14b7ef509a3fb84305dec013dd24bcae6c17d /OSX
parent2949aca6a9fc8c4186376128f757227f40e3a515 (diff)
downloadexternal_heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.zip
external_heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.gz
external_heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.bz2
Removed the "Heimdall" folder and moved its contents to the root directory.
Diffstat (limited to 'OSX')
-rw-r--r--OSX/.DS_Storebin0 -> 6148 bytes
-rw-r--r--OSX/._.DS_Storebin0 -> 4096 bytes
-rw-r--r--OSX/._README.txtbin0 -> 4096 bytes
-rw-r--r--OSX/._install-kext.shbin0 -> 4096 bytes
-rw-r--r--OSX/README.txt133
-rw-r--r--OSX/heimdall.kext/Contents/Info.plist30
-rwxr-xr-xOSX/install-kext.sh8
7 files changed, 171 insertions, 0 deletions
diff --git a/OSX/.DS_Store b/OSX/.DS_Store
new file mode 100644
index 0000000..201b1ef
--- /dev/null
+++ b/OSX/.DS_Store
Binary files differ
diff --git a/OSX/._.DS_Store b/OSX/._.DS_Store
new file mode 100644
index 0000000..338bd7b
--- /dev/null
+++ b/OSX/._.DS_Store
Binary files differ
diff --git a/OSX/._README.txt b/OSX/._README.txt
new file mode 100644
index 0000000..5b4b4a0
--- /dev/null
+++ b/OSX/._README.txt
Binary files differ
diff --git a/OSX/._install-kext.sh b/OSX/._install-kext.sh
new file mode 100644
index 0000000..5b4b4a0
--- /dev/null
+++ b/OSX/._install-kext.sh
Binary files differ
diff --git a/OSX/README.txt b/OSX/README.txt
new file mode 100644
index 0000000..c5e82b0
--- /dev/null
+++ b/OSX/README.txt
@@ -0,0 +1,133 @@
+Heimdall (c) 2010 Benjamin Dobell, Glass Echidna
+http://www.glassechidna.com.au/products/heimdall/
+
+DISCLAIMER:
+
+ This software attempts to flash your Galaxy S device. The very nature of
+ flashing is dangerous. As with all flashing software, Heimdall has the
+ potential to damage (brick) your phone if not used carefully. If you're
+ concerned, don't use this software. Flashing ROMs onto your phone may also
+ void your warranty. Benjamin Dobell and Glass Echidna are not responsible
+ for the result of your actions.
+
+
+
+These instructions are for OS X operating systems.
+
+Installing Heimdall and Heimdall Frontend Binaries:
+
+ 1. Run "Heimdall Suite.pkg" and follow the instructions.
+
+ 2. Reboot your system.
+
+ 3. Done
+
+
+
+Installing Heimdall from Source:
+
+ 1. First make sure you have installed build-tools and pkgconfig.
+
+ 2. Open a terminal and navigate to the directory where you extracted
+ Heimdall.
+
+ 3. Then enter the following commands to compile and install libusb-1.0:
+
+ cd libusb-1.0
+ ./configure
+ make
+ sudo make install
+ cd ..
+
+ If you have problems please consult http://www.libusb.org/
+
+ 4. Enter the following commands to compile and install Heimdall:
+
+ cd heimdall
+ ./configure
+ make
+ sudo make install
+ cd ..
+
+ 5. If you haven't installed the driver before, enter the following:
+
+ cd OSX
+ sudo ./install-kext.sh
+
+ 6. Done
+
+
+Installing Heimdall Frontend from Source (Optional):
+
+ 1. First make sure you have installed XCode and Qt 4.6 or above,
+ available from http://qt.nokia.com/.
+
+ 2. Open a terminal and navigate to the directory where you extracted
+ Heimdall.
+
+ 3. Enter the following commands to compile and install Heimdall Frontend:
+
+ cd heimdall-frontend
+ qmake heimdall-frontend.pro
+
+ 4. This will produce an XCode project called heimdall-frontend.xcodeproj
+ in the heimdall-frontend folder. Open this file in XCode.
+
+ 5. From the menu bar select Build -> Build. This outputs heimdall-frontend
+ to /Applications
+
+ 6. Done
+
+
+
+Flashing Firmware with Heimdall Frontend:
+
+ 1. Fully charge your device (use the wall charger as it's faster).
+
+ 2. Download a decrypted Samsung Galaxy S ROM and extract it to a directory.
+
+ 3. If the ROM is provided as one of more archives (nested or otherwise),
+ extract them all to the same location.
+
+ NOTE: If you want to use the CSC then extract it last.
+
+ 3. Open Heimdall Frontend.
+
+ 4. Put your Galaxy S device into download mode.
+
+ 5. For each file you wish to flash use "Browse" to select the file.
+
+ 6. Press "Start".
+
+ 7. Heimdall Frontend will display the progress and inform you when the
+ flash is complete.
+
+
+
+Flashing Firmware from Command Line / Terminal:
+
+ 1. Fully charge your device (use the wall charger as it's faster).
+
+ 2. Download a decrypted Samsung Galaxy S ROM and extract it to a directory.
+
+ 3. If the ROM is provided as one of more archives (nested or otherwise),
+ extract them all to the same location.
+
+ NOTE: If you want to use the CSC then extract it last.
+
+ 4. Open a terminal and navigate to the directory where you extracted the
+ ROM files.
+
+ 5. Type the following to list all the functionality Heimdall supports:
+
+ heimdall help
+
+ 8. Use the instructions to manually enter a command with all the files you
+ want to flash.
+
+ Here is an example that does a full flash and repartition:
+
+ heimdall flash --repartition --pit s1_odin_20100512.pit --factoryfs factoryfs.rfs --cache cache.rfs --dbdata dbdata.rfs --primary-boot boot.bin --secondary-boot Sbl.bin --param param.lfs --kernel zImage --modem modem.bin
+
+ 9. Done
+
diff --git a/OSX/heimdall.kext/Contents/Info.plist b/OSX/heimdall.kext/Contents/Info.plist
new file mode 100644
index 0000000..abc852e
--- /dev/null
+++ b/OSX/heimdall.kext/Contents/Info.plist
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
+<plist version="1.0">
+ <dict>
+ <key>CFBundleDevelopmentRegion</key> <string>English</string>
+ <key>CFBundleGetInfoString</key> <string>Galaxy S Download Mode (Heimdall)</string>
+ <key>CFBundleIdentifier</key> <string>au.com.glassechidna.heimdall_usb_shield</string>
+ <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string>
+ <key>CFBundleName</key> <string>Galaxy S Download Mode (Heimdall)</string>
+ <key>CFBundlePackageType</key> <string>KEXT</string>
+ <key>CFBundleSignature</key> <string>????</string>
+ <key>CFBundleVersion</key> <string>6.0</string>
+ <key>IOKitPersonalities</key>
+ <dict>
+ <key>GalaxyS</key>
+ <dict>
+ <key>CFBundleIdentifier</key> <string>com.apple.driver.AppleUSBComposite</string>
+ <key>IOClass</key> <string>AppleUSBComposite</string>
+ <key>IOProviderClass</key> <string>IOUSBDevice</string>
+ <key>idVendor</key> <integer>1256</integer>
+ <key>idProduct</key> <integer>26113</integer>
+ </dict>
+ </dict>
+ <key>OSBundleCompatibleVersion</key> <string>1.8</string>
+ <key>OSBundleLibraries</key>
+ <dict>
+ <key>com.apple.kernel.iokit</key> <string>6.0</string>
+ </dict>
+ </dict>
+</plist> \ No newline at end of file
diff --git a/OSX/install-kext.sh b/OSX/install-kext.sh
new file mode 100755
index 0000000..9e7d25c
--- /dev/null
+++ b/OSX/install-kext.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+sudo chmod 755 /usr/local/bin/heimdall
+echo 'Installing Driver...'
+sudo cp -R heimdall.kext /System/Library/Extensions
+sudo chmod -R 755 /System/Library/Extensions/heimdall.kext
+sudo chown -R root:wheel /System/Library/Extensions/heimdall.kext
+sudo kextload /System/Library/Extensions/heimdall.kext
+echo 'Installation complete. If Heimdall cannot recognise your device a reboot may be required.'