I have a rooted Samsung Galaxy S4 i9505. During the last few days I tried to update from Android 4.2.2 to 4.3 (using OTA, Kies, Odin (Windows PC and Mac)) but had lots of issues. In the end I managed to flash some partition files with Heimdall 1.4 (using a Mac). The phone boots correctly and the status says "Android 4.3". But since some partition files failed to be flashed some components, like WLAN, don't work at all.
The latter ones fail with the Error:
Failed to unpack received packet.
Failed to confirm end of file transfer sequence.
Suggestions to use Heimdall 1.3.x doesn't work. Flashing fails with the Error Failed to initialize Protocol.
I assume that I don't have permissions to write onto these partitions. I might be wrong, but I don't know how to check and change this.
I'd be thankful for any idea how to continue!