Root through osx help - T-Mobile Samsung Galaxy S 4

Hi I just picked up a T-Mobile galaxy s4 and I've been trying to root it through osx. I've only rooted my phones through windows 7 so if anyone can help me, I would appreciate it. We can do it through team viewer if you want.
Thanks
Sent from my HTC One using Tapatalk 2

Optimusg2x said:
Hi I just picked up a T-Mobile galaxy s4 and I've been trying to root it through osx. I've only rooted my phones through windows 7 so if anyone can help me, I would appreciate it. We can do it through team viewer if you want.
Thanks
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
Search heimdall.

KillaHurtz said:
Search heimdall.
Click to expand...
Click to collapse
I tried that but it only gives me an error and all of the fixes won't work but thanks.
Sent from my HTC One using Tapatalk 2

To try and help, Optimusg2x is right. On OS X, the only easy way I've found is to use Heimdall 1.4, which is the Odin equivalent on OS X. I rooted my S4 near its release date using Heimdall and by following ChainFire's CF-Auto-Root instructions. I'd like to disclose that I did this a very long time ago and I'm telling you this from memory because I'd like to help you, so anyone else that sees something wrong with my instructions, please correct me.
First download the package from his thread, and unzip it so you get:
Code:
CF-Auto-Root-jfltetmo-jfltetmo-sghm919.tar.md5 <-- remove the .md5 extension
Odin3-v1.85.exe
Odin3.ini
Remove the .md5 extension to make it a .tar file and extract the files from that, which should be:
Code:
cache.img.ext4
recovery.img
These are the files that you'll be using Heimdall to flash. There is a new version of Heimdall that came out recently, v1.4.0, in June, however when I rooted I used a release client v1.4rc1, which I should have uploaded in this post. Download and extract that, or use the official v1.4.0 (if you're running Mountain Lion) I only have instructions for the way I did it which was to use the command line to root.
At this point, put "heimdall", cache.img.ext4, recovery.img in a location you know how to get to, such as your desktop. Then place your phone into download mode
Open terminal on your mac
go to where you extracted the HEIMDALL contents, so say "cd ~/Desktop/" or wherever you extracted it to
To make sure you're in the right directory say "ls" and see if "heimdall gets listed"
if so, say "sudo ./heimdall flash --recovery ~/Desktop/recovery.img --cache ~/Desktop/cache.img.ext4" (Saying sudo may be unnecessary, but its a good precaution)
Wait a bit and let your phone reboot and you should now be rooted!

Related

Rooting JB OTA from OS X (no flash counter)

The short story (links explain each step) of rooting your OTA updated JellyBean d2tmo from OS X (Mountain Lion in my case).
If you've installed Kies for Mac, you need to clean up
Install heimdall 1.4 (probably have to build from source)
You can download a binary as well.-0
Download root66_TMO_T999UVDLJA ROM (in my case)
Unpack the downloaded file. It's in 7z format. You can download Unarchiver for OS X
Get adb (platform tools addition to android sdk), and make sure it is in $PATH
Run the commands below after connecting to mac
The heimdall command to run:
Make sure your computer can see your phone:
Code:
adb devices
Code:
adb-kill-server
Flash the rooted image:
Code:
heimdall flash --primary-boot boot.img --cache cache.img.ext4 --system system.img.ext4
Finally, to install CWM Recovery, try id_twin's method (worked for me). A note on this: after installing the ROM Manager app from Play Store, the app doesn't realize that CWM Recovery is installed, so it wants to flash it again. I happened to let it -- but that upped the flash counter on the phone. I've resolved it using Triangle Away.
Does this work for jellybean?
Sent from my SGH-T999 using xda app-developers app
xxqbnxx said:
Does this work for jellybean?
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
According to the topic of the thread, this is specifically for Jellybean.
Not sure how to build heimdall can someone be of help please?
Sent from my SGH-T999 using xda app-developers app
xxqbnxx said:
Not sure how to build heimdall can someone be of help please?
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Are you on OS X? Which version, if so?
OS X 10.6.8
Sent from my SGH-T999 using xda app-developers app
I wound up downloading a 1.4 binary for OSX, which I found on wikiDOTcyanogenmodDOTorg/index.php?title=Install_CM_for_galaxysmtd . Please try that and let me know how it goes (it worked for me (TM)).
PS The outside link restriction, while understandable, is a bit silly.
xxqbnxx said:
OS X 10.6.8
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
alecsharp said:
I wound up downloading a 1.4 binary for OSX, which I found on wikiDOTcyanogenmodDOTorg/index.php?title=Install_CM_for_galaxysmtd . Please try that and let me know how it goes (it worked for me (TM)).
PS The outside link restriction, while understandable, is a bit silly.
Click to expand...
Click to collapse
Hey thanks for all your help man. I went and tired to build heimdall but i need xcode? do i ? i tired installing xcode took 3 hours to download and then i went to install it and it was going to take 4 hours to install. i thought that was to much and i might be doing something wrong. Sorry but as you can tell i am a Noob on this here. What am i doing wrong ?
xxqbnxx said:
Hey thanks for all your help man. I went and tired to build heimdall but i need xcode? do i ? i tired installing xcode took 3 hours to download and then i went to install it and it was going to take 4 hours to install. i thought that was to much and i might be doing something wrong. Sorry but as you can tell i am a Noob on this here. What am i doing wrong ?
Click to expand...
Click to collapse
Hi! If you download heimdall from that link I posted into the cyanogen wiki, you don't need to build/compile it. That download is precompiled, so all you have to do is the following:
Go to wikiDOTcyanogenmodDOTorg/index.php?title=Install_CM_for_galaxysmtd <--- replace DOT with a . of course -- heimdall is independent of the type of phone you have, so don't worry that that page is for Galaxy S.
Download the heimdall 1.4rc1 zip file for OSX on that page. <-- Look for "
Code:
Mac OS X:
Heimdall Suite 1.4RC1 Command-line Binary: download
on that page.
Unpack the downloaded zip file, to find two files.
Copy 'libusb-1.0.0.dylib' to the /opt/local/lib directory on your Mac
Copy the file called 'heimdall' into /usr/local/bin <-- after you copy it over, in a terminal do: sudo chmod 644 /usr/local/bin/heimdall to make sure you can run it.
then you can just run heimdall (no front-end, just the command line tool) <-- see my original post up there for exactly how to do that.
OK thanks I'm going to have to wait for Monday to try this
Sent from my SGH-T999 using xda app-developers app
ok so after some work arounds i think i got it all set up. heimdall seems to be running on terminal. How safe is this ?
xxqbnxx said:
ok so after some work arounds i think i got it all set up. heimdall seems to be running on terminal. How safe is this ?
Click to expand...
Click to collapse
Well, considering what heimdall does, it's an inherently risky venture whether or not you have a GUI on it. The GUI lets you limit the amount of damage you can potentially do, of course, whereas the CLI is not as restrictive.
As far as those commands: I've run them on a couple of phones to successful ends. YMMV, of course.
im stuck i donwload the heimdall and the md5 file
but im stuck here
Copy 'libusb-1.0.0.dylib' to the /opt/local/lib directory on your Mac
Copy the file called 'heimdall' into /usr/local/bin <-- after you copy it over, in a terminal do: sudo chmod 644 /usr/local/bin/heimdall to make sure you can run it.
i dont have those folders
maybe im over looking this but can someone write a simpler tutorial?
no pun intended! maybe its just me, ive been googling how to root my s3 on a mac for so long!
Did you try this from the command line or Finder? If in Finder, did you try searching for those directory names?
beto0216 said:
im stuck i donwload the heimdall and the md5 file
but im stuck here
Copy 'libusb-1.0.0.dylib' to the /opt/local/lib directory on your Mac
Copy the file called 'heimdall' into /usr/local/bin <-- after you copy it over, in a terminal do: sudo chmod 644 /usr/local/bin/heimdall to make sure you can run it.
i dont have those folders
maybe im over looking this but can someone write a simpler tutorial?
no pun intended! maybe its just me, ive been googling how to root my s3 on a mac for so long!
Click to expand...
Click to collapse
OK... I had problems then I fixed them and then I found some more problems.
Here is what I receive:
Code:
$ heimdall flash --primary-boot boot.img --cache cache.img.ext4 --system system.img.ext4
Heimdall v1.4 RC1
Copyright (c) 2010-2012, 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...
ERROR: Claiming interface failed!
I didn't have any Kies kext's loaded as this is what I get:
Code:
$ kextstat | grep -v apple
Index Refs Address Size Wired Name (Version) <Linked Against>
126 2 0xffffff7f81e95000 0x36000 0x36000 org.virtualbox.kext.VBoxDrv (4.1.18) <7 5 4 3 1>
128 0 0xffffff7f81ed3000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (4.1.18) <126 7 5 4 3 1>
129 0 0xffffff7f81ed8000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (4.1.18) <126 5 4 1>
My process:
1. Phone -> Download Mode
2. Open Terminal
3. CD to the folder with all of the system files to be flashed
4. Run, verbatim, exactly what you said to run in OP
Any ideas?
Hi, basically that interface is busy and occupied by another process. Did you try unloading the Kies kexts anyway?
jhlax95 said:
OK... I had problems then I fixed them and then I found some more problems.
Here is what I receive:
Code:
$ heimdall flash --primary-boot boot.img --cache cache.img.ext4 --system system.img.ext4
Heimdall v1.4 RC1
Copyright (c) 2010-2012, 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...
ERROR: Claiming interface failed!
I didn't have any Kies kext's loaded as this is what I get:
Code:
$ kextstat | grep -v apple
Index Refs Address Size Wired Name (Version) <Linked Against>
126 2 0xffffff7f81e95000 0x36000 0x36000 org.virtualbox.kext.VBoxDrv (4.1.18) <7 5 4 3 1>
128 0 0xffffff7f81ed3000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (4.1.18) <126 7 5 4 3 1>
129 0 0xffffff7f81ed8000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (4.1.18) <126 5 4 1>
My process:
1. Phone -> Download Mode
2. Open Terminal
3. CD to the folder with all of the system files to be flashed
4. Run, verbatim, exactly what you said to run in OP
Any ideas?
Click to expand...
Click to collapse
alecsharp said:
Did you try this from the command line or Finder? If in Finder, did you try searching for those directory names?
Click to expand...
Click to collapse
I'm having the same problem.... i cant find any of those folders, and nothing comes up searching for each individual one in the finder. I then tried to type in the adress to the command line and it said directory could not be found. What am i missing here?
OSX Developer tools
fred8785 said:
I'm having the same problem.... i cant find any of those folders, and nothing comes up searching for each individual one in the finder. I then tried to type in the adress to the command line and it said directory could not be found. What am i missing here?
Click to expand...
Click to collapse
Do you have XCode installed?
alecsharp said:
Do you have XCode installed?
Click to expand...
Click to collapse
i do.....
fred8785 said:
i do.....
Click to expand...
Click to collapse
Thanks for verifying. Do you use homebrew at all? If not, can you install it and then run:
Code:
brew install libusb
That should create /usr/local/bin and /usr/local/lib directories. Use /usr/local/lib instead of /opt/local/lib at that point.

[Q] Mac OS Yakju flash Help!!

Hello Everyone. I am completely new to android and i understand a bit but only a bit, not much. I have been trying to flash the newest firmware (4.2.2) and i got all of the files prepared and I used this guide: http://forum.xda-developers.com/showthread.php?t=1626895<br /><br />[HOW-TO]%20[GSM%20&%20CDMA]%20Return%20to%20stock%20for%20ALL%20Galaxy%20Nexus%20phones%20%28latest%20JOP40D%29
I've rebooted my device like how it says (with the android guy open for surgery). Ihave all of the files ready in one directory, but i don't understand how to open a command prompt in the same directory which holds all the files like how it says. I really need a good and easy, quick response. Also, will i use terminal or console or something else??
Thank You in Advance!!
https://www.youtube.com/watch?v=sP9ZDWmbLVM&feature=youtube_gdata_playerHere's a video I made back when I had my nexus s. Same presses applies to the galaxy nexus. Just follow the steps
Sent from my Galaxy Nexus using xda premium
thanks, but thats not what i was looking for, i want to use htis guide, and my only problem or question is how to open a command prompt in the directory i made as in step 1 part C. i just want to make sure the computer sees my device, but i don't know how to do this.
Could try this (found after a quick Google search)
http://forum.xda-developers.com/showthread.php?t=1366806
Obviously the file names will be different as the image will be the latest 4.2.2 as opposed to the one used in the guide but it still applies
Gorantheg said:
thanks, but thats not what i was looking for, i want to use htis guide, and my only problem or question is how to open a command prompt in the directory i made as in step 1 part C. i just want to make sure the computer sees my device, but i don't know how to do this.
Click to expand...
Click to collapse
You have to open a terminal window on your mac...
Sent from my Galaxy Nexus using Tapatalk 2
OP do you know the path to your destination folder?
When you launch terminal window your default localisation is: YOUR_USER_NAME folder. I have no idea where do you keep your image files. Mine is located at Desktop/Nexus/Stock/422_jdq39* . The easiest way to navigate is in my case just to type:
cd desktop/nexus/stock/422_jdq39
once you're there you can start ./fastboot flash ....
*remember to copy fastboot file to that folder

[Need Guidance] Root updated S4 with Mac.

Hi pals,
This is one of those "I'm too busy to research A, B and C, please feed it to me with a silver spoon?" posts, and for that, I'm sorry.
I'm working a lot lately, but I just bought my S4 and have come to understand that in order to root it with the May 7th update, I must follow different instructions. The problem is, I need to do this on a Mac, and therefore need to use Heimdall to do it. Not only do I not know anything about Heimdall, but I've been out of touch with the rooting/ROMming scene for a while now.
Could someone please sum up a step-by-step for a Mac user trying to root their S4 that's got the May 7th update on a Mac?
Go to an Internet Cafe or something.
Not being a jerk, but i'd rather go to kinko's than do it with a mac
That being said check out zedomax's
Video
Sent from my SGH-M919 using xda app-developers app
---------- Post added at 09:09 PM ---------- Previous post was at 09:09 PM ----------
http://forum.xda-developers.com/showthread.php?t=2252500
Sent from my SGH-M919 using xda app-developers app
Android_Monsters said:
Go to an Internet Cafe or something.
Not being a jerk, but i'd rather go to kinko's than do it with a mac
That being said check out zedomax's
Video
Click to expand...
Click to collapse
Unfortunately this is a matter of not having time on my hands. I have these random little bits of 10 minutes here and there in my life lately and I can only hope to root this phone during one of them lol
I'm going to Google this video though, really appreciate the heads up.
Edit: After searching, are one of these videos Mac specific and geared towards post-May 7th-update users? They're all kind of looking the same to me and I can't open them all.
re: Heimdall flash
caffeineighted said:
Hi pals,
This is one of those "I'm too busy to research A, B and C, please feed it to me with a silver spoon?" posts, and for that, I'm sorry.
I'm working a lot lately, but I just bought my S4 and have come to understand that in order to root it with the May 7th update, I must follow different instructions. The problem is, I need to do this on a Mac, and therefore need to use Heimdall to do it. Not only do I not know anything about Heimdall, but I've been out of touch with the rooting/ROMming scene for a while now.
Could someone please sum up a step-by-step for a Mac user trying to root their S4 that's got the May 7th update on a Mac?
Click to expand...
Click to collapse
Download this Heimdall Suite for MAC here: https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-suite-1.3.2-mac.dmg
After it's downloaded install the suite.
The Suites package contains the frontend which uses a Graphical User Interface simular to Odin for windows.
Here is the link for the STOCK Tmobile Heimdall flashable Samsung Galaxy S4 Touchwiz Jellybean 4.2.2 official firmware:
http://k0nane.info/rom/M919UVUAMDL_M919TMBAMDL_TMB.zip
After you download the firmware, unzip and extract the TAR file and then extract all the files which are inside the TAR file
into a new folder on your computers desktop.
Be sure that you have installed the proper samsung usb drivers for your phone before trying to use Heimdall.
Download and Install the Heimdall Suite. (this is a Odin replacement for the MAC)
Using Heimdall
Step 1: Run/Execute “heimdall-frontend”
Step 2: When Heimdall opens there will be different slots to put files into, the filenames correspond to the name of the slots.
Navigate to the new folder on your desktop which has all the files you have extracted out of the .tar file
Example: Under FactoryFS click browse and find the FactoryFS.rfs file that you extracted out of the .tar file into your new folder.
When you’re finish double check that the correct files are in the correct slots.
Make sure that you do not checkmark the repartition device!
Step 3: Check to be sure that all the necessary files are in the right slots and the necessary checkboxes are checked.
When you’re finish reboot your phone into download mode and connect it to the usb port that you installed the drivers to.
Wait for about 5 secs. to let your computer recognize that your phone is plugged in the usb then click START.
Wait for Heimdall to complete finish the flashing.
You should get a “flash completed successfully” after it's done and the phone will now restart.
Good Luck!
Misterjunky said:
Good Luck!
Click to expand...
Click to collapse
Hey thank you so much for laying that out!
One question; How do you extract the TAR.md5? From what I'm reading, you need a Windows PC and a special application and all this crazy stuff to do it. Can I do it with a Mac application?
Edit: Wait, can I just rename the md5 to zip? Duh?
Edit 2: Yes, you can, I did, and I'm all set lol Gonna go for it now, thank you!
Misterjunky said:
<snip>
Click to expand...
Click to collapse
Ok, so I think I may be having an issue due to using the latest version of Heimdall. I've checked out the guide on Heimdall here and it's based on version 1.1. I have version 1.3.2 and I don't see anywhere to select certain files. All I seem to be able to do under "Flash" is select a PIT file, which I don't have.
I tried to "Load Package" on the first screen, but it's telling me it's not the right file size.
re: MD5
caffeineighted said:
Hey thank you so much for laying that out!
One question; How do you extract the TAR.md5? From what I'm reading, you need a Windows PC and a special application and all this crazy stuff to do it. Can I do it with a Mac application?
Edit: Wait, can I just rename the md5 to zip? Duh?
Edit 2: Yes, you can, I did, and I'm all set lol Gonna go for it now, thank you!
Click to expand...
Click to collapse
Sorry, I forgot about the MD5, just remove the md5 from the filename so the extension is simply .zip
then unzip it into a new folder on your desktop...
And NO you do not need a PC.
Good luck!
---------- Post added at 07:09 AM ---------- Previous post was at 06:55 AM ----------
caffeineighted said:
Ok, so I think I may be having an issue due to using the latest version of Heimdall. I've checked out the guide on Heimdall here and it's based on version 1.1. I have version 1.3.2 and I don't see anywhere to select certain files. All I seem to be able to do under "Flash" is select a PIT file, which I don't have.
I tried to "Load Package" on the first screen, but it's telling me it's not the right file size.
Click to expand...
Click to collapse
It's been so long since I used a mac, I know I am forgetting things.
You need to click the BROWSE box in Heimdall Suite's Front-End which opens another window where you can "navigate"
to the TAR file which is located in the zipfile. (you don't need to use pit or any other files besides the TAR for anything).
Just unzip the ZIP file so Heimdall can see the TAR file when you navigate to it with the Heimdall's Front-End.
Good luck!
Misterjunky said:
Sorry, I forgot about the MD5, just remove the md5 from the filename so the extension is simply .zip
then unzip it into a new folder on your desktop...
And NO you do not need a PC.
Good luck!
Click to expand...
Click to collapse
Ok, haha, I feel so bad because I'm being a pest at this point.
I've got the files, 12 of them, extracted to a folder.
I'm using Heimdall version 1.3.1.
When I open Heimdall-frontend, I'm presented with two options (others are greyed out): Either load a Heimdall Firmware Package under "Load Package" tab, or load a PIT under "Flash"
I see a space for "Partitions (Files)" where I'm assuming I would add the individual files, but again, it's greyed out.
What am I missing here? I checked out the Heimdall guide here and it looks totally different given that it's version 1.1.
re: Heimdall
caffeineighted said:
Ok, haha, I feel so bad because I'm being a pest at this point.
I've got the files, 12 of them, extracted to a folder.
I'm using Heimdall version 1.3.1.
When I open Heimdall-frontend, I'm presented with two options (others are greyed out): Either load a Heimdall Firmware Package under "Load Package" tab, or load a PIT under "Flash"
I see a space for "Partitions (Files)" where I'm assuming I would add the individual files, but again, it's greyed out.
What am I missing here? I checked out the Heimdall guide here and it looks totally different given that it's version 1.1.
Click to expand...
Click to collapse
Do you see a "Browse" box?
Click the BROWSE box and it will be looking for a TAR file which you navigate to.
Also, don't do anything with PIT files, you don't need it and if done wrong or incomplete your phone will be bricked
exactly the same way as if you were to flash a pit file in Odin.
The PIT file is the partition information file, and once that's on your phone it never needs to be replaced or over-written
unless your phone is bricked.
Misterjunky said:
Do you see a "Browse" box?
Click the BROWSE box and it will be looking for a TAR file which you navigate to
Click to expand...
Click to collapse
You're talking about a Browse button under Heimdall Firmware Package? Yes.
Do I just navigate to the TAR.md5 that I extracted from the original zip? Or am I navigating to a TAR file in the folder I made with the 12 files? Because if it's the second one, I don't have any TAR files in there.
Sorry man, I know this is a pain. I really appreciate the help though.
re: heimdall
caffeineighted said:
Hi pals,
This is one of those "I'm too busy to research A, B and C, please feed it to me with a silver spoon?" posts, and for that, I'm sorry.
I'm working a lot lately, but I just bought my S4 and have come to understand that in order to root it with the May 7th update, I must follow different instructions. The problem is, I need to do this on a Mac, and therefore need to use Heimdall to do it. Not only do I not know anything about Heimdall, but I've been out of touch with the rooting/ROMming scene for a while now.
Could someone please sum up a step-by-step for a Mac user trying to root their S4 that's got the May 7th update on a Mac?
Click to expand...
Click to collapse
I think I found something better and easier for you.......
Check this out: https://code.google.com/p/heimdall-one-click/downloads/list
Download and install both of the files, both of them are JAR free standing apps and they work on Mac OR PC since
they are both written in JAVA.
.
I forgot already, but on a PC before these files can be used the latest version of Sun System JAVA has to be installed
or updated..
But I think if I recall correctly, on a mac it's perhaps not needed.
Misterjunky said:
I think I found something better and easier for you.
Click to expand...
Click to collapse
Oh fancy. Java is needed and I'm downloading it now. Thanks. So this is basically the Heimdall suite but simplified?
Misterjunky said:
<snip>
Click to expand...
Click to collapse
So I've got it all running, however, the one-click asks for a "tar.gz file" and I don't have one. I'm reading that the Heimdall front-end creates a tar.gz file, but since browsing to the .zip I originally downloaded leads to an error, I'm not sure how this is done.
re: Heimdall One-Click
caffeineighted said:
Oh fancy. Java is needed and I'm downloading it now. Thanks. So this is basically the Heimdall suite but simplified?
Click to expand...
Click to collapse
Yes, about an hour ago I recalled a guy here on XDA called Adam Outler and he is
the one who designed and made these two JAR Heimdall applications.
He used to be around here in XDA about a year ago and I just recalled his name
about an hour ago because we were talking about MAC and Heimdall.
He made many other projects for us here in XDA who had MAC computers
and had no access to a PC.
Misterjunky said:
Yes, about an hour ago I recalled a guy here on XDA called Adam Outler and he is
the one who designed and made these two JAR Heimdall applications.
He used to be around here in XDA about a year ago and I just recalled his name
about an hour ago because we were talking about MAC and Heimdall.
He made many other projects for us here in XDA who had MAC computers
and had no access to a PC.
Click to expand...
Click to collapse
That's amazing. The never ending kindness of the community at its best lol
I'm still trying to figure out how to make a tar.gz file. I'm understanding that front-end makes it, and I've even watched a video guide, but no one specifies what file to use when you click "Browse..." and choose a file to put in as "Heimdall Firmware File"
I've been using the original .zip I downloaded from the rooting guide, but I get that error about the file being the wrong size or something.
So I tried to download the PIT just to see if I can even make parts of this program work. It failed.
When I researched the error "Claiming interface failed" I found this.
It describes some sort of issue with the fact that I've installed Kies.
Is this part of my problem?
re: Heimdall
caffeineighted said:
That's amazing. The never ending kindness of the community at its best lol
I'm still trying to figure out how to make a tar.gz file. I'm understanding that front-end makes it, and I've even watched a video guide, but no one specifies what file to use when you click "Browse..." and choose a file to put in as "Heimdall Firmware File"
I've been using the original .zip I downloaded from the rooting guide, but I get that error about the file being the wrong size or something.
Click to expand...
Click to collapse
Did you rename the TAR file? - if you did try naming it back to the original name.
All firmware TAR files are fully compatible with Heimdall and Odin plus Heimdall One-Click..
Also I know one thing for sure, that when you press the "Browse" button it's looking for a TAR file.
The MD5 just tells the winzip or winrar if the checksum of the file is the same as it's sopposed to be.
Another thing, the Heimdall One-Click JAR file also wants the TAR file, none of these things work
with Zipfiles with the exception of Mobile Odin, but that has a problem now, it's not yet compatible
with any of the Galaxy S4 variants like the M919 , I9500 and all the others.
Misterjunky said:
Did you rename the TAR file? - if you did try naming it back to the original name.
Click to expand...
Click to collapse
Here's exactly what I've done so far, and I've re-downloaded everything so I have fresh files and filenames/extensions just to clear any mucking up I did:
I downloaded this file from this thread as I understand this is the stock firmware necessary to use here.
I unzipped the file, and used 7-zip to extract the tar.md5 which also extracted a .dll.
The tar.md5 file is named: M919UVUAMDL_M919TMBAMDL_M919UVUAMDL_HOME_.tar.md5
I have installed Heimdall version 1.3.1 as the download site claims that version 1.3.2 broke compatability with many devices.
I downloaded the two .jar files you linked to which make up the one-click.
If all of this is correct so far, I'm understanding that I need to now feed a tar.gz file to heimdall one-click, however, I don't have any files that end in .gz. Just the tar.md5, which the one-click does not accept.
The button on the one-click literally says, "Select a Heimdall tar.gz for one-click" - So I'm lost there.
I'm reading that the front-end GUI is what would be used to create a tar.gz, but it seems to require downloading the PIT file from your phone, and this is failing now, possible due to me having installed Kies and now having different kernel extensions that apparently need to be unloaded (no idea how to do that lol).
This is so complicated! Makes me want to go buy a cheap netbook lol
re: gz
caffeineighted said:
So I've got it all running, however, the one-click asks for a "tar.gz file" and I don't have one. I'm reading that the Heimdall front-end creates a tar.gz file, but since browsing to the .zip I originally downloaded leads to an error, I'm not sure how this is done.
Click to expand...
Click to collapse
Why not browse to the TAR file, you can also add the .gz to the filename.tar and see if it helps.
Misterjunky said:
Why not browse to the TAR file, you can also add the .gz to the filename.tar and see if it helps.
Click to expand...
Click to collapse
I've tried that too, and it just says, "error Could not write to temp folder" and then "Could not write to file"

Is Anyone on OB3 on SGH-I747M(no I747)and are willing to create a debrick.img for me?

I need to debrick my s3 previously running on 4.4.2 OB3. is anyone running OB3 on s3 I747M (not the I747)?
I have the instructions ready. so first, root your phone. If you don't want to root your phone, good bye because I don't need you. Ill get to the next step once someone is willing to help.
I have the OB1 how you make a debrick? do you have a tutorial? i can help u
dragoonmx said:
I have the OB1 how you make a debrick? do you have a tutorial? i can help u
Click to expand...
Click to collapse
ok. so, first, install busybox from the playstore. then, download terminal emulater, as well.
MhikeiMPC12 said:
ok. so, first, install busybox from the playstore. then, download terminal emulater, as well.
Click to expand...
Click to collapse
Done, what's next...
go into terminal app, type the following:
"su"
It will ask you for root access. type Grant.
"busybox dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1M count=70"
It will create a backup.bin in the root of /sdcard. ipload that file here. if the file type isnt supported, put it in a .zip then upload it using your pc. if you dont have a pc, just rename the end part of the file (.bin) to (.zip) and upload it here.
@dragoonmx
did he died?
Lets forget him. Do you have OB1?
MhikeiMPC12 said:
Lets forget him. Do you have OB1?
Click to expand...
Click to collapse
Hey, im in cm12.1, i need rom stock?
Thank goodness you are back! here is the link for stock:
http://dl.sammobile.com/PV9dRCQlOD0...1tcQExaUQ../I747MVLUFOB3_I747MOYAFOB3_RWC.zip
MhikeiMPC12 said:
Thank goodness you are back! here is the link for stock:
http://dl.sammobile.com/PV9dRCQlOD0...1tcQExaUQ../I747MVLUFOB3_I747MOYAFOB3_RWC.zip
Click to expand...
Click to collapse
could you link me a full tutorial for the debrick?
OK download Odin v3.07 search it in Google. then, open Odin, and extract all the files to the desktop.
Before continuing, make sure to backup all of your files because it will be deleted. The file you downloaded before, open it with winrar, then extract the files inside, to the desktop. Open Odin. Get your phone and turn it off. Once its off, hold vol down + home button + power button until you get the prompt to go to download mode. click vol up and it should say "Downloading...". Connect the phone to the computer, and Odin should recognise it. go to the AP slot, click it, and navigate to the file you extracted. Wait for Odin to recognise the file. After, click start, and don't disconnect it until it says "PASS" on the screen, or the phone boots up completely in the set-up. Its recommended that you eject the SD card in your phone (if you have one). Also, make sure only F reset time, and auto reboot are checked.
MhikeiMPC12 said:
OK download Odin v3.07 search it in Google. then, open Odin, and extract all the files to the desktop.
Before continuing, make sure to backup all of your files because it will be deleted. The file you downloaded before, open it with winrar, then extract the files inside, to the desktop. Open Odin. Get your phone and turn it off. Once its off, hold vol down + home button + power button until you get the prompt to go to download mode. click vol up and it should say "Downloading...". Connect the phone to the computer, and Odin should recognise it. go to the AP slot, click it, and navigate to the file you extracted. Wait for Odin to recognise the file. After, click start, and don't disconnect it until it says "PASS" on the screen, or the phone boots up completely in the set-up. Its recommended that you eject the SD card in your phone (if you have one). Also, make sure only F reset time, and auto reboot are checked.
Click to expand...
Click to collapse
Lol, for the debrick
Sorry bro I'm on 4.1.1 Stock and Rooted. Can't do OTAs.
dragoonmx said:
Lol, for the debrick
Click to expand...
Click to collapse
Just do what i told you to do earlier. read the other comments. the commands are over there
Hey man! Sorry I haven't been able to respond recently. Sent you a pm, but basically I've been in and out of town a lot the last few days!
Got a couple items that makes the process of creating a debrick.img very easy! Started out with a simple script and it evolved from there!
This one will create a 128mb debrick.img on your internal sdcard. (/sdcard/debrick.img)
Download this and flash in TWRP: https://www.androidfilehost.com/?fid=23196940996969297
That's It! Now just zip and upload!
(ignore the T999 in the filename
It will work on the I747 too)
This next one is slightly more difficult to use, but still easy if you just follow the instructions included in the zip file.
It includes options to create 128mb, 256mb and 512mb images. You should only need the 128mb one but we were using this for testing and troubleshooting when new firmwares were released.
Do NOT flash in recovery. Unzip and follow the included instructions. It will create the debrick.img and then will zip it for you using 7zip.
https://www.androidfilehost.com/?fid=23196940996969297
The first is the easiest and probably all you need. Just included the second in case anyone wants to try it or the first method doesn't produce a working image. (Doesn't fix a brick)
Hope it helps!
Sent from my SGH-T999 using Tapatalk
DocHoliday77 said:
Hey man! Sorry I haven't been able to respond recently. Sent you a pm, but basically I've been in and out of town a lot the last few days!
Got a couple items that makes the process of creating a debrick.img very easy! Started out with a simple script and it evolved from there!
This one will create a 128mb debrick.img on your internal sdcard. (/sdcard/debrick.img)
Download this and flash in TWRP: https://www.androidfilehost.com/?fid=23196940996969297
That's It! Now just zip and upload!
(ignore the T999 in the filename
It will work on the I747 too)
This next one is slightly more difficult to use, but still easy if you just follow the instructions included in the zip file.
It includes options to create 128mb, 256mb and 512mb images. You should only need the 128mb one but we were using this for testing and troubleshooting when new firmwares were released.
Do NOT flash in recovery. Unzip and follow the included instructions. It will create the debrick.img and then will zip it for you using 7zip.
https://www.androidfilehost.com/?fid=23196940996969297
The first is the easiest and probably all you need. Just included the second in case anyone wants to try it or the first method doesn't produce a working image. (Doesn't fix a brick)
Hope it helps!
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
@DocHoliday77 , any chance in hades this would work for atthtcm8 ? i know are completely different beasts , but figured couldnt hurt (too much.lol) to ask.
p.s. not bricked. just to have as 911-just-n-freakin-case.
"all i can really do is stay out of my own way and let the will of heaven be done"
DocHoliday77 said:
Hey man! Sorry I haven't been able to respond recently. Sent you a pm, but basically I've been in and out of town a lot the last few days!
Got a couple items that makes the process of creating a debrick.img very easy! Started out with a simple script and it evolved from there!
This one will create a 128mb debrick.img on your internal sdcard. (/sdcard/debrick.img)
Download this and flash in TWRP: https://www.androidfilehost.com/?fid=23196940996969297
That's It! Now just zip and upload!
(ignore the T999 in the filename
It will work on the I747 too)
This next one is slightly more difficult to use, but still easy if you just follow the instructions included in the zip file.
It includes options to create 128mb, 256mb and 512mb images. You should only need the 128mb one but we were using this for testing and troubleshooting when new firmwares were released.
Do NOT flash in recovery. Unzip and follow the included instructions. It will create the debrick.img and then will zip it for you using 7zip.
https://www.androidfilehost.com/?fid=23196940996969297
The first is the easiest and probably all you need. Just included the second in case anyone wants to try it or the first method doesn't produce a working image. (Doesn't fix a brick)
Hope it helps!
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
So, with this i can create de img, instead of using terminal, codes, etc ?
MhikeiMPC12 said:
I need to debrick my s3 running on 4.4.2 OB1. is anyone running OB1 on s3 I747M?
I have the instructions ready. so first, root your phone. If you don't want to root your phone, good bye because I don't need you. Ill get to the next step once someone is willing to help.
Click to expand...
Click to collapse
Hi, this is the debrick link for the OB1, i747M
https://mega.nz/#!M9ly3DZB!I58rC4SG33Y7k8SWfoKHYwQssasHmwxBPELYQ5bGvv4
dragoonmx said:
Hi, this is the debrick link for the OB1, i747M
https://mega.nz/#!M9ly3DZB!I58rC4SG33Y7k8SWfoKHYwQssasHmwxBPELYQ5bGvv4
Click to expand...
Click to collapse
Ok thanks so much!
Here goes nothing...

Heimdall with Samsung Galaxy SM-T555 PIT Error

I'm trying to flash stock ROM on my Galaxy Tab A with Heimdall 1.4.0 (Odin doesn't work - see thread https://forum.xda-developers.com/galaxy-tab-s/help/samsung-t550-galaxy-tab-unlock-t3665660)
The first part of Heimdall (as far as I can tell) is to install drivers and then download the PIT file. The drivers have installed without issue but when I try and download the PIT file i get the error below. I have read similar issues online and they suggest using a newer, unreleased version 1.4.2 of Heimdall and something about a the latest commits and master? I'm totally lost with this!! I'm not sure if this will work so I'm open to any ideas... and some guidance
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...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
jimmisavage said:
I'm trying to flash stock ROM on my Galaxy Tab A with Heimdall 1.4.0 (Odin doesn't work - see thread https://forum.xda-developers.com/galaxy-tab-s/help/samsung-t550-galaxy-tab-unlock-t3665660)
The first part of Heimdall (as far as I can tell) is to install drivers and then download the PIT file. The drivers have installed without issue but when I try and download the PIT file i get the error below. I have read similar issues online and they suggest using a newer, unreleased version 1.4.2 of Heimdall and something about a the latest commits and master? I'm totally lost with this!! I'm not sure if this will work so I'm open to any ideas... and some guidance
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...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
Click to expand...
Click to collapse
Are you using Heimdall on a native Linux machine or Windows?
You need a native Linux PC and the command line version of Heimdall.
ashyx said:
Are you using Heimdall on a native Linux machine or Windows?
You need a native Linux PC and the command line version of Heimdall.
Click to expand...
Click to collapse
Oh I'm using Windows 10. I don't have access to a Linux PC... Where does that leave me? Totally flummuxed?
jimmisavage said:
Oh I'm using Windows 10. I don't have access to a Linux PC... Where does that leave me? Totally flummuxed?
Click to expand...
Click to collapse
Unless you can dual boot a Linux distro with W10 or download one of the Live Bootable from disk Linux distros. There's plenty about.
https://help.ubuntu.com/community/LiveCD
Finding time to try this is proving troublesome. What are the chances this will actually work (more than Odin)?
I'm just trying to work out if it's actually worth the time/hassle?
Hi,
I finally managed to find some time and i'm currently on a lunix machine (from usb boot).
Now, do i need a 'Heimdall Firmware Package' or do i use the Samsung firmware for the SM-T555 you posted before?
jimmisavage said:
Hi,
I finally managed to find some time and i'm currently on a lunix machine (from usb boot).
Now, do i need a 'Heimdall Firmware Package' or do i use the Samsung firmware for the SM-T555 you posted before?
Click to expand...
Click to collapse
Just flash the stock firmware.
Okay, I had a nightmare on this last night.
I was using Ubuntu 14.04 but when i opened a terminal and typed 'heidmall-frontend' it would tell me that it wasn't installed and to try (something like) 'sudo apt install heimdall-flash-frontend' but then it would tell me that it doesn't exist.
What version/build of Linux should i be using (as a USB boot) and how do i install heimdall frontend?
Also, when reading instructions on flashing a rom they all say to use a heimdall firmware but you're saying i can use the stock firmware? How would i install that? Will heimdall recognise the .zip file?
Thanks again, i know i'm being a pain but i was up until 1am last night (waiting for the longest firmware download ever!!) trying to flash this!
jimmisavage said:
Okay, I had a nightmare on this last night.
I was using Ubuntu 14.04 but when i opened a terminal and typed 'heidmall-frontend' it would tell me that it wasn't installed and to try (something like) 'sudo apt install heimdall-flash-frontend' but then it would tell me that it doesn't exist.
What version/build of Linux should i be using (as a USB boot) and how do i install heimdall frontend?
Also, when reading instructions on flashing a rom they all say to use a heimdall firmware but you're saying i can use the stock firmware? How would i install that? Will heimdall recognise the .zip file?
Thanks again, i know i'm being a pain but i was up until 1am last night (waiting for the longest firmware download ever!!) trying to flash this!
Click to expand...
Click to collapse
Don't try and use a fronted. Use the command line. There is no such thing as Heimdall Firmware as far as I'm aware.
Heimdall flashes images which can be extracted from the stock firmware.
If you search Google for Heimdall flash commands you will find the correct syntax required to flash images.
Thanks for that.
I'm not at home to try right now, but i want to be as sure as possible i'm getting this right. I'm going to...
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-select-model?record=3EFD4C401EE211E7963AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware)... only my downloaded firmware is .zip rather than .img ???? https://davideddu.org/blog/posts/how-to-flash-a-recovery-image-using-heimdall/
Do i unzip the firmware file i've downloaded? I've tried to do that in linux but it failed, maybe i need to unzip in windows?
jimmisavage said:
Thanks for that.
I'm not at home to try right now, but i want to be as sure as possible i'm getting this right. I'm going to...
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-select-model?record=3EFD4C401EE211E7963AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware)... only my downloaded firmware is .zip rather than .img ???? https://davideddu.org/blog/posts/how-to-flash-a-recovery-image-using-heimdall/
Do i unzip the firmware file i've downloaded? I've tried to do that in linux but it failed, maybe i need to unzip in windows?
Click to expand...
Click to collapse
That's more or less correct. You should be able to extract the image from the zip using the stock utility in Linux. Ensure md5 is changed to tar.
If not then Peazip for Linux or 7zip for Windows.
Thanks again! I'll have one more go at this tonight... if it doesn't work then it's going in the bin and I can go back to living my life
Whilst in work i decided to download the firmware again and see if i could extract the image from the zip.
I have successfully completed that. It's currently named 'T555XXS1BPL4_T555BTU1BPE2_T555XXU1BPD7_HOME.tar.md5'. Do i simply delete the .md5 on the end to leave the .tar or is there something more complicated than that? Shouldn't it be a .img or am i just being overly concerned about details?
My head is going to explode!
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-s...3AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware) WHEN I DO THIS I GET A MESSAGE SAYING HEIMDALL IS NOT INSTALLED. HOW DO I INSTALL IT?
jimmisavage said:
My head is going to explode!
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-s...3AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware) WHEN I DO THIS I GET A MESSAGE SAYING HEIMDALL IS NOT INSTALLED. HOW DO I INSTALL IT?
Click to expand...
Click to collapse
It seems you are making this more complicated than it needs to be. Admin is the root user on a Linux system.
The instructions at the link below pretty much explain what you need to do.
http://www.dudleymediagroup.com/Detail/id/installing-using-heimdall-on-with-linux-3547
It seems i'm using Ubunto 16.04 and I cannot see a heimdall version for that? I guess I need to try Ubuntu 13.04?
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
jimmisavage said:
It seems i'm using Ubunto 16.04 and I cannot see a heimdall version for that? I guess I need to try Ubuntu 13.04?
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Click to expand...
Click to collapse
I should think you'll be fine with 16.04 or 14.04
ashyx said:
I should think you'll be fine with 16.04 or 14.04
Click to expand...
Click to collapse
I don't see 16.04 or 14.04 in the download options though. Only 13.04 or 12.10.
What am I missing here? If I download ubuntu13.04-heimdall_1.4.0-0_amd64.deb and click install nothing seems to happen. The same goes for ubuntu12.10-heimdall_1.4.0-0_amd64.deb (I'm running Ubuntu 16.04 Live x64 from a USB drive).
jimmisavage said:
I don't see 16.04 or 14.04 in the download options though. Only 13.04 or 12.10.
What am I missing here? If I download ubuntu13.04-heimdall_1.4.0-0_amd64.deb and click install nothing seems to happen. The same goes for ubuntu12.10-heimdall_1.4.0-0_amd64.deb (I'm running Ubuntu 16.04 Live x64 from a USB drive).
Click to expand...
Click to collapse
From the directory where it is located try:
sudo dpkg -i ubuntu13.04-heimdall_1.4.0-0_amd64.deb
Got heimdall installed but i cannot flash anything.
Time to give up. Thanks for all the help

Categories

Resources