[GUIDE] Heimdall - BOOTLOOP RECOVERY, STOCK RESTORE! SM-N900T only!

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
This method has been proven by me to work on Mac OS X, Windows 7, 8, and 8.1, plus Linux (whatever heimdall works on).

If you are reading this, you should already be frustrated as all HELL like I was the other night. No need to fear. When Odin doesn't work, Heimdall is here to rescue you. Heimdall and I stayed awake until 3 am the other night so I could throw these quick TUTs your way. Sometimes the gods don't answer, but their watchers will guide you...

There really shouldn't be a need to say this, but....

I take absolutely no responsibility for what happens to your phone. At this point you were probably already messing around with it, then Odin decided to be a prick and error all day long. If you so happen to feel that you messed up your phone more than you already had it, sorry, but still, not my fault.

Thanks:
Benjamin Dobell for Heimdall - http://forum.xda-developers.com/showthread.php?t=755265
DeezNutz1977 - Original 4.3 Build
allenjthomsen - KK Build files
Phil5739 - Philz CWM Advanced Recovery
bigbiff - twrp always in progress
dragonstalker - for his ROMS and contributions.
ghibli3 - for this guide which allowed me to pull and edit the KK pit file successfully.
There were a ton of threads I read through, I cant remember them all, but thanks pretty much goes out to all who contribute here. The XDA community is great!


Bootloop Recovery Heimdall Guide

The above guide will help you to recover your phone using heimdall. This is not a heimdall tutorial. For those instructions please see the heimdall website and read their instructions. I am posting this to help those that may be stuck in a similar situation as I was. Plus the presentation counts towards my "communications" class. The text guide is below...

Download 4.3 JB Recovery Zip Here
Upload for 4.4.2 in progress

1. Put phone in download mode
2. Open Heimdall
3. On utilities tab “check device” If your phone cannot be read, it may be far worse than expected.
4. Click on flash tab after successfully detected.
5. In the pit section, choose the pit file I provided.
6. Click add in the partitions box to the right > Select BOOT
7. Select the boot.img file provided
8. Click add in the partitions box again to the right > Select CACHE
9. Select the cache.img.ext4 file provided.
10. Click the add in the partitions box again > Select RECOVERY
11. Select the recovery provided (you can probably use any recovery, but provided is twrp 2.6.3.7) <-- this will trip knox if you haven't already done so.
12. Make sure no reboot is checked
13. The phone may flash all the way to the end and error out. If this is the case, proceed with steps 14 and 15. If not, proceed to step 16.
14. **Pull battery
15. **Replace
16. Boot to recovery, and re-install your backup (or another ROM, whatever).


If anyone has a mirror, feel free to share as necessary.

Stock Restore Heimdall Guide


The above guide will help those restore to stock MI7 via Heimdall. If you were in the same situation I was in, this will help tremendously as odin would not help me out in the least.

Download Stock JB MI7 here.

1. Put phone in download mode
2. Open Heimdall
3. On utilities tab “check device” If your phone cannot be read, it may be far worse than expected.
4. Click on Load Package tab after successfully detected.
5. Click browse and choose the file (tar.gz) you downloaded.
6. After the package loads, click the "load/customize" button on the bottom right corner.
7. Click on the flash tab afterwards.
8. Ensure repartition, no reboot, and resume checkboxes are not checked.
9. Click on the "start" button in the lower right hand corner... Profit?

** Continue here only if phone does not take the first time.
10. If you receive a libusb error, consult Heimdall instructions for fix... try, try again.

Again, mirrors and sharing are encouraged.
 
Last edited:

kuroy301

Senior Member
Oct 12, 2011
51
13
0
54
Sacramento
This method has been proven by me to work on Mac OS X, Windows 7, 8, and 8.1, plus Linux (whatever heimdall works on).

If you are reading this, you should already be frustrated as all HELL like I was the other night. No need to fear. When Odin doesn't work, Heimdall is here to rescue you. Heimdall and I stayed awake until 3 am the other night so I could throw these quick TUTs your way. Sometimes the gods don't answer, but their watchers will guide you...

There really shouldn't be a need to say this, but....

I take absolutely no responsibility for what happens to your phone. At this point you were probably already messing around with it, then Odin decided to be a prick and error all day long. If you so happen to feel that you messed up your phone more than you already had it, sorry, but still, not my fault.

Bootloop Recovery Heimdall Guide

http://youtu.be/-huMP5ZaMiw

The above guide will help you to recover your phone using heimdall. This is not a heimdall tutorial. For those instructions please see the heimdall website and read their instructions. I am posting this to help those that may be stuck in a similar situation as I was. Plus the presentation counts towards my "communications" class. The text guide is below...

Download this First: https://www.dropbox.com/s/oc534gzr5usbivi/BootLoop Recovery.zip

1. Put phone in download mode
2. Open Heimdall
3. On utilities tab “check device” If your phone cannot be read, it may be far worse than expected.
4. Click on flash tab after successfully detected.
5. In the pit section, choose the pit file I provided.
6. Click add in the partitions box to the right > Select BOOT
7. Select the boot.img file provided
8. Click add in the partitions box again to the right > Select CACHE
9. Select the cache.img.ext4 file provided.
10. Click the add in the partitions box again > Select RECOVERY
11. Select the recovery provided (you can probably use any recovery, but provided is twrp 2.6.3.7)
12. Make sure no reboot is checked
13. The phone may flash all the way to the end and error out. If this is the case, proceed with steps 14 and 15. If not, proceed to step 16.
14. **Pull battery
15. **Replace
16. Boot to recovery, and re-install your backup (or another ROM, whatever).


If anyone has a mirror, feel free to share as necessary.

Stock Restore Heimdall Guide

http://youtu.be/hXtZDUD7MYQ

The above guide will help those restore to stock MI7 via Heimdall. If you were in the same situation I was in, this will help tremendously as odin would not help me out in the least.

Download this First: https://www.dropbox.com/s/m9dpb7ya0umvrzl/Stock_SM-N900T_MI7.tar.gz

1. Put phone in download mode
2. Open Heimdall
3. On utilities tab “check device” If your phone cannot be read, it may be far worse than expected.
4. Click on Load Package tab after successfully detected.
5. Click browse and choose the file (tar.gz) you downloaded.
6. After the package loads, click the "load/customize" button on the bottom right corner.
7. Click on the flash tab afterwards.
8. Ensure repartition, no reboot, and resume checkboxes are not checked.
9. Click on the "start" button in the lower right hand corner... Profit?

** Continue here only if phone does not take the first time.
10. If you receive a libusb error, consult Heimdall instructions for fix... try, try again.


Again, mirrors and sharing are encouraged.
Won't download right now...too much traffic. It looks like almost everyone wants to download this lol...
 

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
Won't download right now...too much traffic. It looks like almost everyone wants to download this lol...
Seriously? I just put this up. Any mirror suggestions? I don't really post/share much since I started school a year ago.

Edit: Only 3 views, must be from the youtube videos...LOL. I will search for a mirror.

Dropbox sharing has been denied due to bandwidth usage. Uploading to mediafire now. Should be up in about 2 hours. Sorry everyone.

EDIT: OP Updated, new links added. Hope you all get the help needed.
 
Last edited:

Fates_Warning

Member
Dec 28, 2013
6
0
0
Heimdall install

Hello

I use windows8.1 and I amunable to instal lHeimdall. I installed the C++ and yet still giving msvcp110.dll Anyoneexperiencing this?I really need this solution. My GN3 is loopboot many days. My knox this 0x1 and I cannot flash a rom that in no loopboot.

help
 

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
Hello

I use windows8.1 and I amunable to instal lHeimdall. I installed the C++ and yet still giving msvcp110.dll Anyoneexperiencing this?I really need this solution. My GN3 is loopboot many days. My knox this 0x1 and I cannot flash a rom that in no loopboot.

help
Have you tried installing both the 32 bit and 64 bit visual c++ applications? I installed both because i want sure which one heimdall would use.

Sent from my SM-N900T using Tapatalk
 

jboy619

Member
Jan 3, 2011
23
0
0
i tried using this and got this "ERROR: Failed to access device. libusb error: -12, can you pls send me a link where i can find out what to do next? i'm not very computer literate
 
Last edited:

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
i tried using this and got this "ERROR: Failed to access device. libusb error: -12, can you pls send me a link where i can find out what to do next? i'm not very computer literate
In the files you downloaded when you got heimdall, there is an .exe that allows you to replace the USB driver for you device. You have to follow the directions in the read me file they gave you.

You have 3 driver choices to replace the one to flash for yours. There is a windows driver, a libusb driver, and a libusb (k) driver. One of these will allow the phone to flash.
 

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
My problem is when I try to flash the file cache.ext4 in the early stages by heimdall .
Need a few questions answered.

1. Are you flashing with a libusb driver from the drivers package provided by heimdall?

2. can you get into recovery as of right now? What version is it?

1a. If you are flashing without using the drivers that were provided, experiment a bit. My particular phone likes the libusbk one that is provided. See the heimdall readme file for details.

2a. If you can get into recovery right now, try to wipe cache, data, and dalviche. The try to reflash.

I don't know what kind of boot loop you are stuck in. This method may not work for you depending on what I was just asking. You may need to explore a different method to get your device up and running.

Sent from my SM-N900T using Tapatalk
 

Fates_Warning

Member
Dec 28, 2013
6
0
0
Need a few questions answered.

1. Are you flashing with a libusb driver from the drivers package provided by heimdall?

2. can you get into recovery as of right now? What version is it?

1a. If you are flashing without using the drivers that were provided, experiment a bit. My particular phone likes the libusbk one that is provided. See the heimdall readme file for details.

2a. If you can get into recovery right now, try to wipe cache, data, and dalviche. The try to reflash.

I don't know what kind of boot loop you are stuck in. This method may not work for you depending on what I was just asking. You may need to explore a different method to get your device up and running.

Sent from my SM-N900T using Tapatalk
Many thanks for the help.

The heimdall can communicate with my GN3. I can flash the boot file and the recovery usually, but not of cache.ext4. I have attached a photo of the error and heimdall. After flashing my recovery is TRWP sign that is heimdall flash and other files that not only the cache.

About My bootloop error:

My phone stock by odin installs normally. And then starts the android is giving the error "process system is not responding" and loops .. I already gave wipe with all available recovery. Have several flash stock (uk, zto, international, etc. ..) and the problem persists with any rom. Any idea?
 

Attachments

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
Do not proceed from here! I just noticed you are trying to flash a sm-n900t to a sm-n9005. That is why it is not working. The recovery you are trying to flash is not meant for your phone model.

Sent from my SM-N900T using Tapatalk
 

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
Many thanks for the help.

The heimdall can communicate with my GN3. I can flash the boot file and the recovery usually, but not of cache.ext4. I have attached a photo of the error and heimdall. After flashing my recovery is TRWP sign that is heimdall flash and other files that not only the cache.

About My bootloop error:

My phone stock by odin installs normally. And then starts the android is giving the error "process system is not responding" and loops .. I already gave wipe with all available recovery. Have several flash stock (uk, zto, international, etc. ..) and the problem persists with any rom. Any idea?
See above post.

Sent from my SM-N900T using Tapatalk
 

Nemorensis32

Senior Member
May 29, 2012
163
15
0
"Local and device PIT files don't match and repartition wasn't specified!"

What's wrong ? Should I click on "repartition" ? I have also an MI7 version of the ROM. n9005 too... ????? :/

WHat about KNOX ??

Thank you


EDIT : Just saw that the open post doesn't even say it is for N900 !!!!! :( :( Please, fix this!!
 
Last edited:

jboy619

Member
Jan 3, 2011
23
0
0
thank you found the file but now i got a new challenge "ERROR: Failed to initialise protocol!":confused:

---------- Post added at 12:54 AM ---------- Previous post was at 12:41 AM ----------

thanks found it but now i got a new challenge "ERROR: Failed to initialise protocol!" ?
 

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
"Local and device PIT files don't match and repartition wasn't specified!"

What's wrong ? Should I click on "repartition" ? I have also an MI7 version of the ROM. n9005 too... ????? :/

WHat about KNOX ??

Thank you


EDIT : Just saw that the open post doesn't even say it is for N900 !!!!! :( :( Please, fix this!!
Do not click on repartition. Do not proceed from here if you do not have the sm-n900t. This forum is posted under the "T-Mobile Samsung Galaxy Note 3" which is the sm-n900t. It is possible for you to have this device on a different network, but you should already know what model you are trying to fix.

The .pit file in my recovery zip will not work for you because the phone is not the same. Please go to your respective forum, and look for the files there.

Knox will trip if you flash the recovery I provided.

Sent from my SM-N900T using Tapatalk
 

noobtoob

Senior Member
Dec 27, 2011
1,064
510
0
Fresno, CA
thank you found the file but now i got a new challenge "ERROR: Failed to initialise protocol!":confused:

---------- Post added at 12:54 AM ---------- Previous post was at 12:41 AM ----------

thanks found it but now i got a new challenge "ERROR: Failed to initialise protocol!" ?
Try using libUSB, and libUSBk drivers. Mine specifically likes the libusbk. But every phone is different. I believe I had the same error when trying to use the win32 and the libusb drivers.

Other than that, it may be a heimdall issue that I am unfamiliar with.

EDIT: Also I should mention, when mine did all of this, I had to use the recovery zip first, then move onto the stock restore portion. I can't necessarily say why I had to, but I did. If you already have knox tripped, I recommend doing that. While in recovery, I performed an advanced wipe. Wiped system, cache, dalvik and internal storage. The internal storage part may not be necessary, but I wanted to start fresh.

Sent from my SM-N900T using Tapatalk
 
Last edited: