summaryrefslogtreecommitdiffstats
path: root/heimdall/source/main.cpp
diff options
context:
space:
mode:
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
+}