I use "ExactFile" to verify the md5 before I flash anything. Google it. It's free.
Sent from my SCH-I605 with VZW Tweaked Remix using Tapatalk 2
Sent from my SCH-I605 with VZW Tweaked Remix using Tapatalk 2
1.6g I think. And im going to double check when I get home. ThanksProbably because you don't have a complete download. What's the file size? Does the file MD5 match the MD5 on either of the two mirrors?
DO NOT DO THIS. If it fails the MD5 check, you have a bad download. If the bad portion of the download is in sboot.bin, your phone is a paperweight. If you keep getting bad downloads, use a different browser or internet connection. Downloading via your phone is also likely a bad idea as it is more likely to not download properly.Again a warning, be careful you may brick, explode your phone, etc. I removed the MD5 extension from the file, and used the pit file, and it returned me to stock with no issues. I make no guarantees this will work, but it worked for me. I tried to flash the file with ODIN with the MD5 file extension, but it locked up and failed. Changed it to just the TAR extension and it worked fine. Again, buyer beware.
heimdall download-pit --output note2.pit
heimdall print-pit note2.pit > note2_pitprint.txt
All I found about how to check a tar.md5 file is here. This provides a script to do it, your mileage may vary...how do I check the md5 sum on this kind of file? just perplexed lol
yea thanks man. i finally got it after downloading mirror 2.Probably because you don't have a complete download. What's the file size? Does the file MD5 match the MD5 on either of the two mirrors?
#!/usr/bin/python
#Copyright 2013 Ainsley McCall V0.11
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import hashlib #for md5 library
import sys #for single character output
tar_md5_file = "stock.tar.md5"
CHUNKSIZE = 2**20 #1,048,576
if(len(sys.argv) > 1):
tar_md5_file = sys.argv[1]
else:
print "usage: "+sys.argv[0]+" <file.tar.md5>"
sys.exit(1)
try:
f = open(tar_md5_file, "rb")
except IOError:
print "File " + tar_md5_file + " was not found!"
sys.exit(1)
else:
print "Analyzing File..."
def file_length(fname):
f = open(fname, "r")
f.seek(0,2)
val = f.tell()
f.close()
return val
def tar_length(fname):
f = open(fname, "rb")
offset = 0
try:
f.seek(-256,2);
offset = f.tell();
null_byte = chr(0)
byteblock = f.read(256)
for i in range(255,0,-1):
b = byteblock[i]
if(b == null_byte):
if(i == 255):
offset = -1
break
i += 1 # set to beginning of tail
offset += i
break;
finally:
f.close()
if offset == -1:
print "Error! No MD5 tail at end of file!"
sys.exit(1)
return offset
def do_md5(fname, flength):
m = hashlib.md5()
try:
CS = min(flength, CHUNKSIZE)
i=0
counter = max(int(flength / CHUNKSIZE / 50),1)
f = open(fname, "rb")
while flength > 0:
byteblock = f.read(CS)
flength -= CS
m.update(byteblock)
i+=1
if(flength < CS):
CS = flength
if(i % counter == 0):
sys.stdout.write(".")
sys.stdout.flush()
finally:
f.close()
return m.hexdigest()
def do_tail(fname,tlength):
with open(fname, "r") as f:
f.seek(tlength,0)
var = f.read()
f.close()
for s1 in (var.split()):
if len(s1) == 32:
return (s1)
return var.split()[0]
fname = tar_md5_file
tlength = tar_length( fname)
flength = file_length(fname)
#import commands
#var1 = commands.getstatusoutput('tail -c ' + str(flength-tlength) + " " + tar_md5_file)
#s1 = ((var1[1]).split() )[0]
print "Tar is "+str(tlength)+" bytes long. Tail is "+str(flength-tlength) +" bytes long"
s1 = do_tail(fname, tlength)
print "Calculating MD5"
s2 = do_md5(fname, tlength)
print "Done!"
if( s1 == s2 ):
print "Tail ("+s1+") = MD5 (" + s2 + ") OK!"
else:
print "Tail ("+s1+") != MD5 (" + s2 + ") FAIL!"
sys.exit(0)
Did you install drivers?can somebody help!!! i have odin and all necessary files but odin is not detected my note 2 crazy this is that my laptop is detected. how can that be and any thoughts on what i can do? i was on ota update verison and tried to boot to recovery and didnt know bootloader wasnt unlocked. so phone says unathorized software on phone return device to verizon. im getting deseparte enough to do just that lol
Does the phone need to be in download mode for Odin to see it? Think I recall that being the case for me, but it's been a while... I switched to a mac. Reboot your phone and hold volume down as it starts up...... odin is not detected my note 2 crazy ...
Unless you installed a non-stock ROM, vanilla, etc, you probably don't _need_ to repartition with A PIT file. However, chances are if you're looking to go to stock, you'll want to ensure your partition table is stock also. (I thought mine was untouched then realized the exploit I used to put in TWRP modified it).isaw in other tread i need pit file but here i dont see anybody talking about pit file,only odin package nthat i need put in pda field,so do or dont need a pit file??? thanks
Is running jellybeans build 13 can you tell me if I need the pit file, or I can use the file either way... ThanksUnless you installed anon stock ROM, vanilla, etc, you probably don't _need_ to repartition with A PIT file. However, chances are if you're looking to go to stock, you'll want to ensure your partition table is stock also. (I thought mine was untouched then realized the exploit I used to put in TWRP modified it).
Anyway, sch-i605-16gb.pit,
http://db.tt/30lrz5Lo
I'm also running beans 13.Is running jellybeans build 13 can you tell me if I need the pit file, or I can use the file either way... Thanks
Sent from my SCH-I605 using xda premium
Last question to be clear, which version should I d/l cause in another post I read since this phone is running latest OTA I should use alternative versionI'm also running beans 13.
If you use the PIT file: You'll be fully back to stock. You'll be able to freely accept OTA updates, send your phone to the manufacturer, whatever.
If you don't use the PIT file: The Odin will still work, and your phone will be 99.9% stock, with a slight deviation in the partition table: you'll have an extra entry for partition ID 82 that points to the same offset and block count as partition ID 80. It'll still work fine for running CASUAL, installing other ROMs, etc. and will act exactly like a fully stock phone.
In the context of using this Odin image to restore to root, I really can't think of a good reason to not use the PIT file as well. I suppose if you were tinkering with the file, and trying to flash without overwriting your data, or more generally if you had modified your system to use custom partitions and wanted to otherwise preserve that data, then you'd use a different PIT or none at all --- but in that scenario you'd know exactly what you were doing and why.
So in short, yeah, generally speaking it probably won't matter either way.
If you're sending your phone out as stock, use the PIT file, it won't hurt anything.
If you are keeping your phone, modifying it soon anyway, or have some reason to care otherwise, don't sweat it, and don't use a PIT.