After 4 hours I've finally managed to get a stock 5.1.1 rom installed.
First flash with Odin failed due to some ext4 partitioning problem, I tried 3 different PIT files and 3 more flashes and it eventually completed with no errors but hung at the Samsung logo.
After a couple more hours of trawling through XDA somebody mentioned some stock recovery that would help, flashed that and it booted up to a screen telling me my data partition was corrupted and I should do a factory reset, unfortunately I couldn't get in to recovery as it kept going to download mode.
Flashed CWM over the top and did a factory reset and it still said the data partition was corrupted, went back in to recovery and formatted /data and finally it's working again.
That's the last time I update this thing!
First flash with Odin failed due to some ext4 partitioning problem, I tried 3 different PIT files and 3 more flashes and it eventually completed with no errors but hung at the Samsung logo.
After a couple more hours of trawling through XDA somebody mentioned some stock recovery that would help, flashed that and it booted up to a screen telling me my data partition was corrupted and I should do a factory reset, unfortunately I couldn't get in to recovery as it kept going to download mode.
Flashed CWM over the top and did a factory reset and it still said the data partition was corrupted, went back in to recovery and formatted /data and finally it's working again.
That's the last time I update this thing!