I installed CyanogenMod on my Samsung Galaxy S3 (SGH i747), and now I need to re-install factory firmware to network unlock my phone. Heimdall seems to be able to successfully image the firmware package onto the device, but after imaging, it won't boot. I can still get to recovery mode and download mode, but nothing else. This is the command I'm using to image:
heimdall flash --SYSTEM I747UCDLK3_I747ATTDLK3_I747UCDLK3_HOME.tar.md5
This is the output:
Heimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
PIT file download successful.
Uploading SYSTEM
100%
SYSTEM upload successful
Ending session...
Rebooting device...
Releasing device interface...
I tried factory resetting before and after imaging the ROM via ClockworkMod, but it didn't help.
How do I fix this?
NOTE: I am using Linux.