• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Sprint/Cricket] I need to root my SPH-L710 with my Linux PC.

SpecialE

Newbie
I've been trying with Heimdall, here are some error messages I've been getting.

sudo heimdall flash --RECOVERY recovery.img --pit sph.pit --cache cache.img.ext4

Code:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
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.

ERROR: Partition "cache" does not exist in the specified PIT.
Ending session...
Rebooting device...
Releasing device interface...
Re-attaching kernel driver...

Then I tried cutting off the --cache cache.img.ext4 and while there aren't error messages specifically, this is what I got (which did not root it either.)

Code:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
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 RECOVERY
100%
RECOVERY upload successful

Ending session...
Rebooting device...
Releasing device interface...
Re-attaching kernel driver...
 
So try this, run Heimdall again but with the back cover removed. Right at the point BEFORE your phone shuts off to reboot, pull the battery out. Wait a few seconds and then put your phone back together again. I've got a Sprint S3 too and it drove me nuts trying to root it until I ran across some postings somewhere explaining how some SPH-L710 models have a damn hidden script that automatically either writes over or blocks any custom recovery with the stock recovery when the phone shuts off. Pulling the battery right before that script runs allows the custom recovery to remain in place so you can finish the rooting process.
 
So try this, run Heimdall again but with the back cover removed. Right at the point BEFORE your phone shuts off to reboot, pull the battery out. Wait a few seconds and then put your phone back together again. I've got a Sprint S3 too and it drove me nuts trying to root it until I ran across some postings somewhere explaining how some SPH-L710 models have a damn hidden script that automatically either writes over or blocks any custom recovery with the stock recovery when the phone shuts off. Pulling the battery right before that script runs allows the custom recovery to remain in place so you can finish the rooting process.
I wish I could say that worked. I tried it for two different heimdall commands. This one gave me errors:

sudo heimdall flash --RECOVERY recovery.img --pit sph.pit --cache cache.img.ext4 (some success messages, followed by
ERROR: Partition "cache" does not exist in the specified PIT.)

This didn't return errors, but removing the battery right before rebooting didn't help with giving me root:
sudo heimdall flash --RECOVERY recovery.img --pit sph.pit
 
Looking at the error in this latest and your original postings, I was wondering about the PIT file. You've been using the Partition Info Table built from your phone, yes? Have you tried a third party PIT?
https://www.androidfilehost.com/?w=files&flid=6471
This might sound like a dumb question, but how do I know what files are safe and which aren't. This isn't like being on a windows computer and scanning a file before opening/ installing it. It's a completely different operation here. Viruses for androids are said to be very common, but I don't know if a virus scanner on Linux would detect a virus that is meant for android devices.

When considering other ways to root, could someone tell me if it's usually much easier or safer to root with ADB? I recently had an error that my device is 'offline' when trying to follow this guide.
 
Last edited:
This might sound like a dumb question, but how do I know what files are safe and which aren't. This isn't like being on a windows computer and scanning a file before opening/ installing it. It's a completely different operation here. Viruses for androids are said to be very common, but I don't know if a virus scanner on Linux would detect a virus that is meant for android devices.

When considering other ways to root, could someone tell me if it's usually much easier or safer to root with ADB? I recently had an error that my device is 'offline' when trying to follow this guide.
Virus' the way we know them on windows are not a real threat on android. Malware on the other hand is real. But it is easily avoided. Don't get apps from untrusted sources, and don't download suspicious files. Your phone will give you several warnings before you do. Don't ignore the warnings and you will be fine.
 
Back
Top Bottom