LineageOS 18.1 patches & tweaks for Samsung S5 Neo (s5neolte)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
561 B

  1. --- a/heimdall/source/BridgeManager.cpp 2021-07-01 20:11:25.904083328 +0300
  2. +++ b/heimdall/source/BridgeManager.cpp 2021-07-01 20:16:20.223490117 +0300
  3. @@ -1107,6 +1107,13 @@ bool BridgeManager::SendFile(FILE *file,
  4. success = ReceivePacket(sendFilePartResponse);
  5. int receivedPartIndex = sendFilePartResponse->GetPartIndex();
  6. + if (filePartIndex == 0)
  7. + {
  8. + // Hack
  9. + success = true;
  10. + receivedPartIndex = filePartIndex;
  11. + }
  12. +
  13. delete sendFilePartResponse;
  14. if (!success)