yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] bhundven:
Essentially, you are in download mode.

Run heimdall again, then after it reboots the first time, it may go back to that screen. Click 'flash bootloaders' and 'flash' again. If it doesn't go back to that screen, I highly recommend pulling the battery at the pink t-mobile screen. Put the battery back in, but the battery cover back on, go back into download mode and flash bootloaders.
[Samsung Galaxy S (4G Model)] itsslae:
thank u for such a quick response but when i run one click it says its connected and hlighted in green at da bottom right corner but in the status section it says connect device in download mode to procede. devices not connected.?
[Samsung Galaxy S (4G Model)] bhundven:
Pull your battery, put it back in. put the cover back on.

hold vol+ and vol- and plug in usb. Keep volume keys pressed until you get to download mode or the flash failure screen.

Try heimdall again.
[Samsung Galaxy S (4G Model)] itsslae:
thank you dat work perfectly!!! i dont get wat happen the first time around did i miss someting?well anyway thanks alot!
[Samsung Galaxy S (4G Model)] bhundven:
No clue. If you get that 'phone <-> computer' thing and the usb is not plugged in, I know sometimes the computer doesn't recognize that it's in dl mode.

But if the usb is connected when it gets that screen it does. Kinda wacky if you ask me... but hey... it works ;)

No problem! It's good to know you got it working! :D
[Samsung Galaxy S (4G Model)] itsslae:
thanks agen but i got another question, which link is da one wid cwm n lagfix? i dl n flashed da kj1 stock rom wit bootloader(2nd link in download section)tinking i would get cwm n lagfix do i need to flash the bootloaders first or do i already have it and not know it? Or did i just dl and flash the wrong thing? Obvivously I dont know what im doin.
[Samsung Galaxy S (4G Model)] bhundven:
So hard to read. Please use full words next time ;)

The KJ1 and SMS KJ6 links both have cwm.

You don't need to flash bootloaders to get cwm, unless you came from froyo, then you do need to flash bootloaders. If in doubt. Flash the bootloaders. ;)

To get to recovery, either turn off the phone. Hold vol+ and vol- and press power. Don't let go of volume buttons until you see cwm. or...

adb reboot recovery

The first link is the "Fully Stock" one-click. This will not have cwm and will not have root. Ideal if you are sending your phone in for repair or just like stock.
[Samsung Galaxy S (4G Model)] itsslae:
Sorry will use full words from now on. I kept holding on all 3 buttons so it kept rebooting over and over haha, i didnt know I was suppose to let go of the power lol Thanks Agen!! This is great.
[Samsung Galaxy S (4G Model)] ocfury:
problem using Heimdall...

every time I load any Heimdall firmware package, after its been decompressed I get a screen pop up telling me "Tar header contained an invalid file size" any idea how to get passed this brick wall? I have re downloaded the firmware packages several times with no luck :-?
[Samsung Galaxy S (4G Model)] FBis251:
Did you extract the .jar file? You're not supposed to.
[Samsung Galaxy S (4G Model)] ocfury:
no, I selected the .jar file directly from Heimdall.
[Samsung Galaxy S (4G Model)] bhundven:
I have never seen this error from the package I posted on sourceforge. And I download it every time just to test.

All you should be doing is downloading the jar file, and running:

java -jar ./<oneclick>.jar
[Samsung Galaxy S (4G Model)] bhundven:
You don't open the jar file with heimdall... it's a one-click. :P

You run the jar file.

Read the OP.
[Samsung Galaxy S (4G Model)] ocfury:
user error

thank you bhundven, I was trying to fallow the read me that was included in the Heimdall program download. I re read your OP and got things working. This is a classic case of user error, thanks for your help

done flashing now and it worked perfectly THANKS AGAIN!
[Samsung Galaxy S (4G Model)] Juls317:
hey bhundven, i don't know if this has been asked before in the thread and i don't have time time to look cuz I'm trying to resurect my phone at the moment, but do you know how i would go about flashing this through heimdall frontend, not the command line heimdall?
[Samsung Galaxy S (4G Model)] bhundven:
Both the frontend and the one-click use the cli commands to do the dirty work.

There is nothing different between using the one click, heimdall frontend, or the heimdall cli commands.

EDIT: btw, I'm almost done with a heimdall guide to show the in's and out's of using heimdall cli and frontend.

Does your phone have UnBrickable Mod (you said resurect)? Just curious. If so, you want the HIBL.
[Samsung Galaxy S (4G Model)] Juls317:
im a little afraid to do the unbrickable mod cuz im not good with hardware modding. and i know they use the same stuff to do the work, but throuvh front end you load the package and press a button not enter a command so i didnt know if they would work the same
[Samsung Galaxy S (4G Model)] bhundven:
The only command you should be entering is:

java -jar <name_of_the_heimdall_package>.jar

If you are on windows or mac, double clicking on the jar package itself should run it.

Other then clicking the flash button after that, or flashing the second time for bootloaders, that is really all you should be doing.
[Samsung Galaxy S (4G Model)] Juls317:
ooooohhhhhh ok. thanks a million. i'll remember that the next time i soft brick
[Samsung Galaxy S (4G Model)] Bassmanjames:
Thanks man. Guess I'm on the heimdal train now, so bye bye Odin (old habits die hard). I've been flashing since bionix frost came out earlier this year and never soft bricked before today but this is way easier than flashing all the other crap in Odin. Double click, flash and run. Thanks again:-)
[Samsung Galaxy S (4G Model)] patt2k:
Local and device PIT files don't match and repartition wasn't specified!
Ending session...
Rebooting device...

help?
[Samsung Galaxy S (4G Model)] bhundven:
Never seen this before. I'll ask Adam about it.

Just have to ask... You have an sgs4g and let me know what version of android you're running, and if you've modded a lot tell me a little history of what you've ran?
[Samsung Galaxy S (4G Model)] Bassmanjames:
According to your profile you have an s2 from at&t. These roms are for the galaxy s4g from t-mobile. Please check your device model number.
[Samsung Galaxy S (4G Model)] patt2k:
I have international sgs2 , i tried to upgrade my friends firmware i flashed i9000 2.3.6 firmare and i did not realize it and i was hoping this would let me go to back sgs4 firmawre on her phone
[Samsung Galaxy S (4G Model)] Bassmanjames:
If you have verified the device model number matches the model number labeled in the firmware package you are trying to flash (very important every carrier in the us has a different sgs4g), I would reinstall the device drivers and try a second time. Multiple members here have verified the 3 packages in this thread to be working. Sorry I can't be of more help :(
[Samsung Galaxy S (4G Model)] bhundven:
But... before I do that... I need more info...

my question still persists.
[Samsung Galaxy S (4G Model)] Brandon168:
Many many many thanks. This completely saved my ass today.

I followed a Vibrant root guide by mistake, made it halfway through that before I realized something was off.

Situation:

* I could only boot to a black/blank screen, and the navigation buttons would all stay lit

* I could still get to Download Mode

Notes:

* I ran this the first time with "Flash Bootloaders" unchecked. Each reboot would only yield a rainbow of horizontal lines

* Second attempt, I checked "Flash Bootloaders" and the phone came alive again

Again, thanks
[Samsung Galaxy S (4G Model)] jalaldaniel:
Can you please make one for Froyo? Im on gingerbread and im trying to downgrade my phone but odin isnt recognizing my device and heimdall is way too confusing.
[Samsung Galaxy S (4G Model)] bhundven:
I've been thinking about it, but I just don't have time right now.

If someone can point me to the right files for each partition, I will put the oneclick together and post it here.
[Samsung Galaxy S (4G Model)] Bassmanjames:
I too have been trying. I have the boot loaders but we don't have a true stock dump for kd1. the one from samfirmware.com has some weird double bout animation and is missing some bloat. We need a no update noob to help. I could use the files from kc 1 cleanup but that was a leak, I'm trying to find true stock :(
[Samsung Galaxy S (4G Model)] bhundven:
Don't sweat it man. I got some stuff FB sent me and will try getting you guys a froyo oneclick.
[Samsung Galaxy S (4G Model)] umlaaat:
Hey yall

I'm in a similar situation with the poster above:

I can get into download mode, but when I try to flash, it says "PIT unload failed"

And this happens with all 3 of the one clicks.

the phone will not turn on, its just stuck...

and i have these weird pixilated screens that just stay. wont turn off

help!!!
[Samsung Galaxy S (4G Model)] bhundven:
If you use linux, you can use http://xdaforums.com/showthread.php?t=1257434

ModeDetector. You may have a problem seeing your screen, but you might still be in download mode, if you pull the battery out of your phone, put the battery back in after about a minute at most, PUT THE BACK COVER ON (don't brick because the battery fell out), hold vol+ and vol- and hold it while you plug in the usb cable that is already plugged into your linux pc. Run ModeDetector: java -jar ./ModeDetector.jar

If it says you're in download mode, flash with the oneclick, then blindly wait for the phone to reboot, click 'flash bootloaders' and do start over at pulling the battery above until the booloaders are flashed. That should fix the wacky screen.

If you don't have linux, try installing virtualbox/vmware/whatever with ubuntu or debian and make sure you connect the usb port to linux at all times.
[Samsung Galaxy S (4G Model)] umlaaat:
aw man.. i'm running this on a mac and this is by far the MOST painful experience.. so i did do all of this, but clicking flash bootloaders does nothing as the PIT file cannot load for some reason.

i'll try it your way, but can u elaborate on what : "blindly wait for the phone to reboot, click 'flash bootloaders' and do start over at pulling the battery above until the booloaders are flashed." means?

thanks man

---------- Post added at 09:48 AM ---------- Previous post was at 09:28 AM ----------

How long is reboot supposed to take?

I've (seemingly) successfully flashed it without boatlader// everything went thru, but my phone is just dead..

is there something else i'm supposed to do?
[Samsung Galaxy S (4G Model)] bhundven:
hmm. that is strange. can you take your battery out and confirm you have an SGH-T959V?

Is it possible that you have a Telus (SGH-T959P), which is very similar.

You said:

I was guessing you couldn't see download mode.
[Samsung Galaxy S (4G Model)] umlaaat:
Yes, i have the SGH-T959V

I can get into download mode, but thats all I can do. nothing else. i've tried flashing it like 20 times at this point. with boatloader on and off..

so do you know whats going on with the PIT file?

And how long is it supposed to take before it boots up?

The only thing on are the 4 icons on the bottom of the phone.
[Samsung Galaxy S (4G Model)] bhundven:
I'm at a loss. I hope someone else can chime in. Ask in Q&A.
[Samsung Galaxy S (4G Model)] Juls317:
As far as using virtualbox goes, i could never get USB devices to work properly in the guest OS (tried both linux and Windows 7) so i dont know about the possibilites of it working
[Samsung Galaxy S (4G Model)] jalaldaniel:
Im not sure if you made this or not but the download link is here

http://superb-sea2.dl.sourceforge.n.../one_clicks/kd1-stock-sgh-t959v-one-click.jar
[Samsung Galaxy S (4G Model)] bhundven:
No. This work was done by FBis251.

He is not done with his updates, and I am at work and don't have time to update the OP.

An update will come soon.
[Samsung Galaxy S (4G Model)] bhundven:
Heimdall One Click Collection thread has been unlocked (as requested by RaverX3X).
[Samsung Galaxy S (4G Model)] RaverX3X:
mods please sticky :P
[Samsung Galaxy S (4G Model)] FBis251:
+1 for sticky
[Samsung Galaxy S (4G Model)] sunsurfer42:
Yes, please sticky this. It is super helpful and informative for everybody. :cool:
[Samsung Galaxy S (4G Model)] lumin30:
Just sent lufc a message requesting sticky.

And thank you much for the One-Click. It has helped A LOT of people.
[Samsung Galaxy S (4G Model)] FBis251:
Sticky granted, yay!
[Samsung Galaxy S (4G Model)] Nickcu13:
Bricks my phone

I used this before to return to Stock after i was having some problems with my phone. Later i tried to use the Third one to get bootloaders. And when it tries to reboot into android it says:

-Updating filesystem...

E:Failed to mount /data (invalid argument)

E:discard_filesystem_for_rfs:can't mount /data

-Wiping cache

Formatting /cache...

Cache wipe failed.

-Applying Multi-CSC...

Installing Multi-CSC

Can't access to '/system/csc/TMB/system/'.

Successfully applied multi-CSC.

I also tried it with the second option and i receive the same problem. Everything on the computer's end says it was successful.

what am i doing wrong?
[Samsung Galaxy S (4G Model)] capcanuck:
for some reason whenever my computer tries to install heimdall I get a generic trust failure. Any idea why or how to workaround? Thanks
[Samsung Galaxy S (4G Model)] DnickDominic:
All you need is java for this to work..if its an issue related to heimdall you need to post somewhere else not here, not trying to be rude fyi

Sent From a Galaxy S with 4G
[Samsung Galaxy S (4G Model)] stephen_w:
Make sure your Java is up to date, clear your Java cache, and clear out your temp folder. That might help you out.

Update: Another quick thought is that this might be caused during the Visual C++ installation. If that's the case, go to Microsoft's site and download the Visual C++ runtime for your system and install it, then re-try the Heimdall one-click.
[Samsung Galaxy S (4G Model)] bhundven:
nope. you're ok. this happens. just hit reboot.
[Samsung Galaxy S (4G Model)] bhundven:
Look people. This is the development forum!

If you have questions, ask in the Q&A forum!

If you have something to make the development of these one-clicks better, this is where to post.

Thanks!
[Samsung Galaxy S (4G Model)] bhundven:
Holla all!

The One-Click Collection is back with some new additions!

I've added hampsterblade & AntonX's kernel one-clicks as well.

For these kernel one-clicks, you can click once to just install the kernel. Twice if you also need bootloaders.

My original one-clicks are still on my bhundven sourceforge project page, the new one-click is just a repackaged version of the "Fully Stock" one-click that even writes a stock kernel.

I remember an early issue with people seeing the CSC fail to update after flashing this kernel. This is because the partitions are formated with ext4, and the updater script is expecting rfs. So if you do not want this problem, you also need to delete /sdcard/Voodoo before flashing with the One-Click... if you don't want the problem.

I have tested where CSC fails to update, and when it succeeds. I don't notice any difference.

Anyways, This is our phone's "One-Click" collection. If you got any ideas, this is the thread for that ;)

All other chatter, you know where to go :D
[Samsung Galaxy S (4G Model)] Iamaninstructor:
A new kernel

I apologize if this is not the thread for this request. However, would you please repack the beta2 KJ6 one-click with your newest kernel that supports BLN. If this entails a lot of work...I understand and I appreciate all of your development and support for our device!!
[Samsung Galaxy S (4G Model)] lumin30:
All you need to do is flash the kernel you want yourself after using the one-click.
[Samsung Galaxy S (4G Model)] bhundven:
I think AntonX's kernel has bln support.
[Samsung Galaxy S (4G Model)] lumin30:
I think so too but figured he must not know you can flash whatever kernel wanted after using the one-click.

And thanks for updating the thread.
[Samsung Galaxy S (4G Model)] bhundven:
Well, I've mentioned it in both my update post and in the op that the one-click in the first post is the TOTALLY STOCK one-click. Meaning you will get a stock kernel with no cwm.

So after you (guessing) flash back to stock with the fully stock one-click, you would have to then one click anton's or hampsterblade's kernel.
[Samsung Galaxy S (4G Model)] Iamaninstructor:
Yes I do know that you can flash just the kernel after you flash a stock ROM. I repackaged the beta2 KJ6 one-click to include a kernel that supports BLN. It has been running great. However I PM'ed bhundven and asked if there would be anything that he could think of that would make this a "not-so-good" idea. In his response he said I could have asked in this thread and he would have done that at some point. (Thank you bhundven for your support) With that recommendation, I posted my original thread in the event that someone other than myself wanted to run a totally stock Rom but have BLN support AND enjoyed the convenience of using the One-clicks.

I know...seems like a lot of extra work to go through. For the reason when I started playing with the phone/kernels/ROM's, too many times I tried to flash a Froyo kernel on a GB Rom and visa versa. So I have soured on just flashing the kernel.

Thank you for not head bashing me saying I'm an idiot or noob or whatever it is that someone could come up with...I appreciate that.
[Samsung Galaxy S (4G Model)] bhundven:
No problem. This stuff isn't rocket science, but is also not simple.

Rest assured that there is more to come, and that the sgs4g is not dead by any means.
[Samsung Galaxy S (4G Model)] ysuleman:
A question

I rooted using (zergRush Exploit) one click root, but know I want to add custom ROMs. Can someone point me to the next step? Would I Heimdall one- click root?
[Samsung Galaxy S (4G Model)] Juls317:
Link in my signature
[Samsung Galaxy S (4G Model)] ysuleman:
That's the next step? Just making sure
[Samsung Galaxy S (4G Model)] Juls317:
Yup, it's an entire guide
[Samsung Galaxy S (4G Model)] tvotony:
I freaking love you dude for this your the best keep up the good work
[Samsung Galaxy S (4G Model)] awil95:
Sorry for this noob question but i am a HTC Sensation user and am wanting to do development on my sister's Galaxy S 4G to get her better signal. but my question is does this Root the device and install a custom recovery? Thanks in advance.
[Samsung Galaxy S (4G Model)] Juls317:
The one with the custom kernel does
[Samsung Galaxy S (4G Model)] awil95:
OK thanks. :)
[Samsung Galaxy S (4G Model)] flyers00:
Tryinng to flash back to stock using Heimdall and when I hit flash, I am asked to install drivers for the samsung composite device. I choose this option and it says installed successfully. I go back to heimdall and I get an error message that say I need to install drivers. Any suggestions?
[Samsung Galaxy S (4G Model)] lumin30:
Start over and try following the guide in the second link of my signature. Read the all the notes... they discuss driver issues.
[Samsung Galaxy S (4G Model)] flyers00:
I followed the directions and will actually pull battery and start over but I keep getting the message about drivers even though they installed and I hit the close box.
[Samsung Galaxy S (4G Model)] lumin30:
Use a fresh usb port that you have not used ODIN or Kies Mini on.
[Samsung Galaxy S (4G Model)] flyers00:
I am totally frustrated that nothing is going as planned, something this easy is taking over 1.5 hours
[Samsung Galaxy S (4G Model)] lumin30:
Getting frustrated won't fix your phone. Reading and learning will.
[Samsung Galaxy S (4G Model)] flyers00:
I am reading and willing to learn, following the instructions and still getting to the same place about the drivers. Been on rooted phones since the G1 and this is just frustrating that it loops or points to a driver issue, thats all I am saying. Trust me I am reading
[Samsung Galaxy S (4G Model)] eollie:
Are you trying this on the SGH-T959V? Your sig says you have a Blaze and that could be the problem.
[Samsung Galaxy S (4G Model)] flyers00:
Sig says blaze but I am using the SGH-T959V, its the wife phone. I am in download mode, followed everything to the letter and stuck at the driver issue.
[Samsung Galaxy S (4G Model)] eollie:
Just wanted to make sure. Ive seen lumin spend a good amount of time trying to help somebody only to find out they had a different phone.

My suggestion is take a break, your probably nearing wits end and that will cause more problems. Also make sure to remove all drivers from you computer. I had a similar issue and I had to remove every single samsung driver.
[Samsung Galaxy S (4G Model)] lumin30:
You need to uninstall all android phone related drivers - be thorough - and restart your computer. Drivers for your phone and your wife's phone. Look at the guide for the USB Driver tool in it. Go to 'My Computer' and make sure there are no drivers listed there. Then restart your computer.
[Samsung Galaxy S (4G Model)] flyers00:
Thanks for walking me off the edge. I wouldnt waste peoples time by using the wrong phone and files, it wouldnt be right. The s4G was rooted and running OK until a day or 2 ago when she had problems. I wanted to return to stock and get a fresh start
[Samsung Galaxy S (4G Model)] lumin30:
Post a link.
[Samsung Galaxy S (4G Model)] flyers00:
I have gone through the system and there are no drivers for either phone installed. I rebooted the system and now will go to download mode and heimdall. I am sorry to take your time but I have not been kicked by a driver issue like this before
[Samsung Galaxy S (4G Model)] lumin30:
No worries. Many people have. Also make sure you are using a usb port connected to the motherboard. In the rear if on a pc.
[Samsung Galaxy S (4G Model)] flyers00:
I using a laptop with 4 built in USB ports. Just started the process and it is asking me to install the drivers and I reinstalled them for Samsung Composite. Going back to Heimdall to see what happens. Hit the Flash button and same thing, asking me to install drivers
[Samsung Galaxy S (4G Model)] lumin30:
Heimdall creates a folder in [C:\Users\{your profile}\AppData\Roaming] - delete that. Uninstall ODIN and Kies Mini if they are installed. Then restart your computer again.

Did you use USDeview as I mentioned before?

Another option is Gremlin Remover which is an ODIN One-Click :

http://xdaforums.com/showpost.php?p=22596598&postcount=1
[Samsung Galaxy S (4G Model)] flyers00:
I will uninstall Odin and Kies Mini as suggested. I also cleaned everything out using USDEVIEW as suggested. I will delete the folder you suggested and restart. Sorry to say I am getting the same results
[Samsung Galaxy S (4G Model)] nazcalito:
Better be sure you can reinstall Odin and its drivers in case Heimdall doesn't work!

I've never gotten the one-click method to work at all. There needs to be a link posted in Stickies to the old KC1 Cleanup Rom that Raver had in one of his threads about six months ago.

But if you can find it, Odining that rom with bootloader update checked will clean off whatever new strange rom you tried and didn't like. Then you can Odin KJ6 stock with bootloader update checked followed by one of AntonX's Odin kernels. A little bit cumbersome but it works. AntonX's kernel seems to take care of any lagfix problems automatically.
[Samsung Galaxy S (4G Model)] bhundven:
:p I've never had heimdall not work, unless it was because my computer's usb ports crapped out or I had a bad cable. At one point, I had both problems.

If you still have a problem with heidmall after that, try going to the original heimdall thread and get help.

But please, don't tell people to go back to odin. Thats just silly.
[Samsung Galaxy S (4G Model)] GFX.myst.:
another thing they wanna make sure is not to use the front usb ports on the pc. it's been said that can cause problems also. ;)

sent from within pure darkness
[Samsung Galaxy S (4G Model)] bhundven:
True that. Front panel USB ports are unreliable. USB ports on the back are soldered directly on to the MB.

If you really need USB ports closer to the front, get a powered USB expansion port. :-)