aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall/source/main.cpp
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-14 00:55:02 +1100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-14 01:25:31 +1100
commitfbab0f535efa78fe5ec77848559c33b9f798e072 (patch)
treec9008a01f64602d37edd617a2e581131aa1baca3 /heimdall/source/main.cpp
parent069cbe77b5c9e32fe461ba3921d082f13770b7f5 (diff)
downloadexternal_heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.zip
external_heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.gz
external_heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.bz2
Heimdall 1.1.1 - Fix Galaxy Tab Modem Flashing
- Swapped back to the "Odin method" of flashing modem files. (Galaxy Tab Fix) - Updated the README files slightly. - Removed unnecessary files /heimdall/source/.dirstamp
Diffstat (limited to 'heimdall/source/main.cpp')
-rw-r--r--heimdall/source/main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/heimdall/source/main.cpp b/heimdall/source/main.cpp
index 037d097..7fa00be 100644
--- a/heimdall/source/main.cpp
+++ b/heimdall/source/main.cpp
@@ -161,6 +161,7 @@ bool flashFile(BridgeManager *bridgeManager, FILE *file, int fileIndex)
}
case kFileParam:
+
InterfaceManager::Print("Uploading param.lfs\n");
if (bridgeManager->SendFile(file, EndPhoneFileTransferPacket::kDestinationPhone,
EndPhoneFileTransferPacket::kFileParamLfs))
@@ -193,9 +194,9 @@ bool flashFile(BridgeManager *bridgeManager, FILE *file, int fileIndex)
InterfaceManager::Print("Uploading modem\n");
- /*if (bridgeManager->SendFile(file, EndModemFileTransferPacket::kDestinationModem))*/ // <-- Odin method
- if (bridgeManager->SendFile(file, EndPhoneFileTransferPacket::kDestinationPhone, // <-- Kies method
- EndPhoneFileTransferPacket::kFileModem))
+ if (bridgeManager->SendFile(file, EndModemFileTransferPacket::kDestinationModem)) // <-- Odin method
+ /*if (bridgeManager->SendFile(file, EndPhoneFileTransferPacket::kDestinationPhone, // <-- Kies method. WARNING: Doesn't work on Galaxy Tab!
+ EndPhoneFileTransferPacket::kFileModem))*/
{
InterfaceManager::Print("Modem upload successful\n");
return (true);
@@ -657,4 +658,4 @@ int main(int argc, char **argv)
delete bridgeManager;
return ((success) ? 0 : -1);
-} \ No newline at end of file
+}