summaryrefslogtreecommitdiffstats
path: root/heimdall/source/main.cpp
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-13 14:55:02 +0100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-13 15:25:31 +0100
commitfbab0f535efa78fe5ec77848559c33b9f798e072 (patch)
treec9008a01f64602d37edd617a2e581131aa1baca3 /heimdall/source/main.cpp
parentmake install output directory can now be set via qmake variable FRONTENDOUTDIR (diff)
downloadHeimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar
Heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.gz
Heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.bz2
Heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.lz
Heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.xz
Heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.tar.zst
Heimdall-fbab0f535efa78fe5ec77848559c33b9f798e072.zip
Diffstat (limited to '')
-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
+}