yashsingh1/xdaforums huggingface dataset:
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Do you have instructions on what files are required and how they can be obtained from a device? We have volunteers who are running stock and willing to upload the information, but no one knows how.

A one click Odin for Roger's Captivate would be awesome and I know many people would find it beneficial. Once we get all the files, compiling it into an Odin file won't be too hard.

So far, what I am able to find for Roger's:

1. cache.img

2. data.img

3. datadata.img

4. nandroid.md5

5. system.img

What else are we missing?

Again, I'm not a coder, so forgive me if I'm using the wrong terminology. Everyones gotta start somewhere.

Thanks.
[Captivate Q&A, Help & Troubleshooting] or.saeros:
I for one would love to rid my phone of the AT&T logo... any work on this would be appreciated
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Yeah. I'd like to be able to flash stock if I needed to return the phone for whatever reason.

I'm doing some research on making a one click. Once I know what's required.
[Captivate Q&A, Help & Troubleshooting] _baron:
Umm, yeah. I posted exactly what commands need to be run, they'll create the dump files. If someone with a rooted SGH-i896 follows those instructions, we should have all the pieces of the puzzle. These files may also be referred to as boot.bin, sbl.bin and param.lfs.
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Hey. Sorry. I don't really understand how these instructions work. Would you mind giving me the step by step?

So these are the files we require? 12 (or 11) files? And I guess these are completely useless to us http://xdaforums.com/showpost.php?p=9096976&postcount=673 ??

Partitions based on XXJF5 stock 2.1#1

Partition	Size	Description

bml1	256 KB	contains boot.bin (262144 bytes), Primary Boot Loader (low-level hardware initialization)

bml2	256 KB	contains PIT file first 512 bytes

bml3	10240 KB	/dev/block/stl3 /efs

bml4	1280 KB	contains Sbl.bin (1310720 bytes) Secondary Boot Loader (loads the Linux kernel and passes the necessary arguments)

bml5	1280 KB	contains Secondary Boot Loader (for recovery, ect)

bml6	5120 KB	param.lfs /mnt/.lfs j4fs

bml7	7680 KB	contains zImage and initramfs

bml8	7680 KB	empty - on Epic 4G and Fascinate, contains recovery.bin

bml9	293376 KB	factoryfs.rfs ( /system RFS Partition) /dev/block/stl9

bml10	137216 KB	dbdata.rfs ( /dbdata RFS Partition) /dev/block/stl10

bml11	35840 KB	cache.rfs ( /cache RFS Partition) /dev/block/stl11

bml12	12800 KB	modem.bin
[Captivate Q&A, Help & Troubleshooting] _baron:
There are three dd commands. The dd command reads from an input file, specified by "if=", which in our case is the block device housing the information. It also has an output file, specified by "of=", which in our case is a dump file.

E.g

dd if=/dev/block/bml6 of=/sdcard/bml6.dump

This will write the contents of bml6 to a file named bml6.dump in the /sdcard directory.
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
Here are the dumps you requested. I pulled them from my stock Rogers Captivate SGH-I896, rooted and SIM unlocked (not sure if last part matters). I also have Clockwork Recovery installed, not sure if that makes a difference.
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Hey! Thanks so much for uploading this!!!

Hey _Baron! It sounds like you're the expert at getting this ball rolling. Can you tell me what additional files will be required, if any, to proceed with making a one click Odin Rogers stock 2.1 file?

Thanks again to everyone for keeping this post alive and sticking it to Rogers.
[Captivate Q&A, Help & Troubleshooting] Betray:
Thank you!

Now can someone try this out and tell me if the at&t boot logo is gone?

So close to going back to stock. i cant wait!
[Captivate Q&A, Help & Troubleshooting] _baron:
After some further reading, it looks like param.lfs (bml6) needs to be extracted differently.

dd if=/dev/block/stl6 of=param.lfs bs=4096

Also, I noticed that the boot.bin that was uploaded is almost identical to the current one on my phone, except for the string 'e-fused' at the end of the Rogers stock one...
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
Here you go.
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Thanks dude!

I just got word back from DG and he said the one-click Odin was leaked to him from Samsung. He didn't know how it was compiled.
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
NP, let me know if there any other files or partitions you want me to upload.
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Hey _baron, I'd be more helpful if all this didn't read like Klingon to me.

I was wondering if we have whats required to flash stock and maybe to make a tutorial for newbies (like me) on how to use with Odin?
[Captivate Q&A, Help & Troubleshooting] BTTNext:
That's really strange. Are you sure this is Rogers stock param.lfs?

There is tons of JPGs in here. 4 copies of the I896 loading screen, 2 copies of the Vibrant loading screen, and 1 copy of i9000. Hahaha! :)
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
I'm sure. I didn't install any mods or ROMs, just the stock Rogers. The only steps I did that might have altered anything were:

Root my phone w/ rageinthecage

unlocked it by patching nv_data.bin with sgsunlock

installed ClockworkMod recovery and backed up my phone

Re-rooted my phone with RyanZA's z4root app because rageinthecage manual root was not working 100%

I think I remember reading in the Roger Captivate thread, that other people found dumped Rogers files to be almost identical to AT&T for the most part. I'm attaching my "About phone" screenshot.
[Captivate Q&A, Help & Troubleshooting] R5R:
If you guys need any files i have a stock captivate from rogers, no root, no unlock, just original like they sent it to me. I'm very much interested in a odin 1 click to stock flash for our phones that way we can play around with them and if we need to 1 click for a warranty send in or to start fresh.
[Captivate Q&A, Help & Troubleshooting] Betray:
hmm, id like the copy too if its still original.
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
Can a nandroid backup be taken from a phone over adb without it being rooted first? If so can someone post instructions here for R5R?
[Captivate Q&A, Help & Troubleshooting] ef9jeff:
I am very suprised that to this day there isnt a rogers one click, or even all the required files for the full version of odin. I would love to go back to stock but that att logo is haunting me.

The last stock flash i did, was all messed up. On its own, the market just decided to try to download files all by itself (of coarse they failed). but none the less 10 mins in sleep mode and 34 attempts to download things from the market and i had to reflash to ANYTHING else! Not to mention if i actually did want something from the market on that rom, i couldnt get it cause it would just say downloading and nothing was happening.

Im almost regretting buying this phone, i was such an avid nexus one user, that i thought this might be an upgrade, so far thats not been the case lol.
[Captivate Q&A, Help & Troubleshooting] _baron:
This should do the trick.

http://xdaforums.com/showpost.php?p=9737808&postcount=939
[Captivate Q&A, Help & Troubleshooting] messxxxedge:
has anyone tried this?
[Captivate Q&A, Help & Troubleshooting] greg12345:
Yeah

I really would like to know if this is reverting back to a stock rogers ROM. I don't like the AT&T 2.2Rom after all
[Captivate Q&A, Help & Troubleshooting] O W Y N:
When people say that something "should" work It always makes me a bit nervous to try it lol :P
[Captivate Q&A, Help & Troubleshooting] kramed:
I need to return my Captivate this week and need to get rid of the AT&T logo also. Any further info would be greatly appreciated.
[Captivate Q&A, Help & Troubleshooting] O W Y N:
I would definitely try the hiemdall flasher if you've allready had to flash your phone with Odin. The worst thing that could happen is have to flash with Odin once again. That is of course unless the unlikely happens and you're phone gets bricked. The great thing about when I bricked my phone is that it just looked like hardware failure and they replaced my phone. This was of course only the second day I had had my phone though. I think they might be a little more suspicious if you'd had your phone for any length of time
[Captivate Q&A, Help & Troubleshooting] kramed:
I think my phone just got bricked. I had AT&T Froyo 2.2 on it and flashed using barons Heimdall setup. Everything completed successfully (after having to insert the 'flash' command in the .cmd file) but now my phone wont turn on.
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
One person was successful flushing stock Rogers onto the phone with Heimdall using the following dump, since he wasn't able to download _baron's dump above.
[Captivate Q&A, Help & Troubleshooting] silvertag:
This should do the trick. http://xdaforums.com/showpost.php?p=9718149&postcount=72
[Captivate Q&A, Help & Troubleshooting] O W Y N:
This is very good news. If i ever need to flash back to stock I'll be sure to try this first. But after the first one i flashed had issues reverting to backups.. i'll be a little more cautious now :D
[Captivate Q&A, Help & Troubleshooting] sniperIT:
From all the files I've seen the only one left is the dbdata.rfs file.

This seems to also be the one giving the mount errors when flashing using ODIN and repartioning with a pit file.

If we had the final piece I don't think we would need the JF6 one click. You could just use the standalone ODIN (or Heimdall) and flash everything tarred in the PDA section as well as repartition for a truely fresh install.

Any chance we could get that?
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
Doesn't that file contain all your sms and personal data and such? I think I have also read that you can flash with an empty dbdata file that's on these forums somewhere.
[Captivate Q&A, Help & Troubleshooting] sniperIT:
From what i see, every time I try to repartition, dbdata is always the area that gives an error. (Using the dumped Rogers ROM tar from the Wiki)

The raw data might be personal data, but to properly partition it, it might require a structure outlined by the dbdata.rfs. When I flash other (more complete) firmware dbdata is always listed, along with all the others outlined.
[Captivate Q&A, Help & Troubleshooting] ef9jeff:
I can report a fail with heimdall, currently my phone is now in the repair shop getting a riff / jtag cause i cannot boot my phone anymore. I am officially done with this phone lol. Went back to my torch and gonna wait for an ATT / Rogers nexus s and see what thats like

good luck everyone... if there is anyone in the vancouver area that needs a riff / jtag done, PM me and ill give you the phone number of the guy that will do it for $30!
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
Can you give us more info on your fail? What rom were you trying to flash, did you flash the bootloaders, did you repartition? There are a lot of ways to brick a phone when you flash something. You can't just say the tool fails and not provide any details.
[Captivate Q&A, Help & Troubleshooting] Benjamin Dobell:
If possible you should report exactly what steps you used and the error you were given to me. It's possible that you just have a faulty USB port/hub (I have one myself) however I do like to make sure the failure isn't a result of Heimdall itself.

In regards to getting your device repaired, you shouldn't need to perform a JTAG fix, you can build a custom jig for less than $10. This will generally work because the Galaxy S stores a back-up secondary bootloader, which actually can be flashed via Heimdall, although I generally don't recommend doing so.
[Captivate Q&A, Help & Troubleshooting] Hypercore:
Hey guys, after hours of research I finally have a sure way to get back to your original Rogers ROM's.

Forgive me if this has been posted in this thread already.

I literally JUST did this and I now have my Rogers firmware back up and running.

1) Download Odin3: http://xdaforums.com/attachment.php?attachmentid=426139&d=1287976908

2) Download Stock Rogers Firmware: http://www.megaupload.com/?d=BD2EF4WF

3) Open Odin 3.

4) Click PIT and load "PIT.pit" from your Odin3 folder.

5) Click PDA and load the "I896UXJI2-homebinary.tar" file.

6) Connect your phone into Download mode.

7) Click Start.

8) Enjoy your renewed warranty.
[Captivate Q&A, Help & Troubleshooting] indyfiero2m4:
I've tried the above steps and all of the other stock ROMs and they get me back to the Rogers screen at boot-up, but right after the Rogers screen I just get a black screen and then nothing. Any ideas what i'm doing wrong?
[Captivate Q&A, Help & Troubleshooting] Hypercore:
I don't know what could be going wrong, it worked perfectly for me.
[Captivate Q&A, Help & Troubleshooting] indyfiero2m4:
Oh well, I'm going to just flash it back to the 2.2 rom I had on there. I was just annoyed with my texts being out of order.
[Captivate Q&A, Help & Troubleshooting] Hypercore:
I flashed to the stock Rogers firmware from the Axura (spelling?) 2.2 ROM if that helps at all.
[Captivate Q&A, Help & Troubleshooting] ef9jeff:
Sorry for the lack of details,

I used heimdall, trying to flash back to stock rogers (only 2 versions are given in this thread, one with bootloaders and one without, and i used the one with the bootloaders). I flashed with pit, factoryfs, kernal, param.lfs, primary bootloader, cache, and modem. I purposly left the secondary bootloader alone just in case! My jig isnt working, I am actually leaving my house right now to go get my phone taken care of with the riff box. I just want it back up and running good, so that when I sell it I wont have a bad conscience. Oh i almost forgot, I was not able to click re-partition for some reason, it just wouldnt let me, not even an option!

I have gone back to stock rogers before using odin, but it still leaves traces of root in the system profile, which is fine, i think z4 can remove that, but i know that if I try to use the rageagainstthecage method of root with this flashed rogers rom, my market app starts going nuts, it trys downloading things all on its own but never gets past starting download. Just plain wierd!

Ill be back with news of what happens after i meet this guy with a riff box
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Hey,

Thanks for the tests and feedbacks everyone!

Just a thought. I'm not sure if it'll make a difference or not. If I were to attempt one of the above methods, for me, I would definitely start with below 3 steps:

1. Disable voodoo.

2. Flash stock using: http://xdaforums.com/showthread.php?t=731989

3. Master clear using above

What state are your phone when you guys attempt to flash? Will your device required to be rooted to work with Odin?

Hey Hypercore, were you able to get back to Rogers boot screen as well?

Thanks again!
[Captivate Q&A, Help & Troubleshooting] Hypercore:
Yes, the Rogers boot screen is there. It's 100% stock.

Also, please take that link out of your post, that tool bricks Rogers phones constantly.

You want to use the "Odin3" tool.
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
I've used the tool maybe 20 times in total and not once had an issue. I've never heard of it bricking anyone's phone either.
[Captivate Q&A, Help & Troubleshooting] luciferyo:
Do you know if this will work if you wanna revert back to Rogers stock firmware from the unofficial Froyo 2.2 one? I'd really like to get rid of all the AT&T madness and want to be able to update hassle-free when the official one ever comes out. :(
[Captivate Q&A, Help & Troubleshooting] Benjamin Dobell:
The primary bootloader runs before the secondary bootloader and sets up hardware, the stack and a bunch of other things, before jumping to a particular location in the secondary bootloader. I can't guarantee this is the problem but you should never flash a primary bootloader without flashing a known compatible secondary bootloader.

When a device repartitions it's usually assumed that all data living in the old partitions is lost. Now I don't know if the phone works around this by copying data to RAM and back. However, as a safety feature I don't allow repartitioning unless all the files that are necessary to boot your phone are provided, this obviously includes the secondary bootloader.

If you've ever seen a brick then please report it to me. With the EXACT steps that were used and what error you were given. If you don't have proof then please stop telling people otherwise.

I have directly heard of a few soft-bricks with Heimdall but they were all a result of users doing something wrong, i.e. Flashing Captivate files onto a Vibrant, or using Heimdall command line tool to flash an archive containing source code as a kernel, yes it happened. I've also heard (via someone who heard from someone else) of one hard-brick with a Galaxy Tab. However, I was never given any details as to what files were flashed or whether Heimdall was used correctly.
[Captivate Q&A, Help & Troubleshooting] ef9jeff:
I will try to do exactly what is shown on here with odin3. I would have loved to have heimdall to work as I am on a mac and I hate switching back and forth to the windows partition but as soon as I get my hands on it we shall give er the ol 3rd times the charm trick lol.

thanks for your input, i wish it had of worked out for me, might have been a slight mistake on my part but the only way to learn is to live it and im livin it right now!
[Captivate Q&A, Help & Troubleshooting] Syllysqc:
Thx dude!!! work for me! i'm back with the 2.1! i just have a 2 seconde fort at&t boot on the start but everything its okey! i'm so happy! thx again Dude!!!!!
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Can you tell me what state you phone was in when you followed the above steps? Did you flash stock? Did you have another moded ROM installed? Did you have voodoo? If so, did you have to disable voodoo?

Thanks for the details! I'm going to try to obtain as much details as possible, and I'll update the OP.

Thanks for everyone's feedback!
[Captivate Q&A, Help & Troubleshooting] Syllysqc:
MY English its not very good.... I just do 2 tighing on my captivate... update 2.2 and root... thats all i'm new on Android I don't know all the term
[Captivate Q&A, Help & Troubleshooting] jonnyg1097:
I did the same thing too and it worked fine just the ATT logo shows up for like a second. I followed the steps in the outline and then connected my phone while it was off into download mode.
[Captivate Q&A, Help & Troubleshooting] drjbrown:
Bricked Phone - Heimdall Flash

Hoping someone can help. I was doing some research to go from cognition back to the Rogers stock firmware. I ran across the Heimdall flashing instructions and it seemed like everyone was having good success. So I gave it a try and now I have problems.

The software said the flash was successful but I have a phone that will not boot and stays on a black screen. When I plug it into my computer it tries to install a driver for "SEC S5PC110 Test B/D".

I used the files in this post: http://xdaforums.com/showpost.php?p=9737808&postcount=939

Here is what I had setup on Heimdall:

http://i.imgur.com/8T3SE.jpg

anyone have any ideas on where I should go next with this?
[Captivate Q&A, Help & Troubleshooting] sshvetsov:
You will get much better support for Heimdall issues if you post your question to Heimdall thread

Also, if you're still able to get into Download mode, I would try re-flushing using files posted in this thread instead. I don't recall seeing anyone successfully flush to stock with files you used.
[Captivate Q&A, Help & Troubleshooting] Jxu:
HI Hypercore,

I followed your steps but somehow the AT&T logo flahes for 1 second and then the galaxy logo, then rogers comes up and loads, any idea?
[Captivate Q&A, Help & Troubleshooting] jonnyg1097:
Hey guys I am on Rogers as well with the Captivate and I did everything in this thread and ended up with the AT&T logo for a second like everybody else here but I discovered a way to get rid of it in this thread here:

http://xdaforums.com/showthread.php?t=849789

What it bascially does is instead of deleting the at&t logo it changes it to the stock rogers one so it basically looks like the same loading screen..at least thats how I understood it lol but anyways its gone, it looks stock and I am happy.

Enjoy everybody :)
[Captivate Q&A, Help & Troubleshooting] Syllysqc:
Anyway Guys... plug your captivate on Kies.,.. update and Enjoy thwe 2.2 Android on Rogers Captivate Official ;)
[Captivate Q&A, Help & Troubleshooting] puguglyyig:
For some reason Kies decided to basically brick my phone when I tried to update to 2.2. Boots and gives me a black screen after the rogers splash screen. Then have to hard reset to turn off. I've tried a few different flashes from this thread with odin3 (followed the directions to a T) and have came to the same result every time. Any help would be appreciated, since I am pretty new to this game.
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Hey man. Thanks for lettings us know on this issue. From what I've heard, that has been happening to a lot of Galaxy phones updating to 2.2. Not necessarily Rogers, but US based phones too.

Personally, I wouldn't trust Roger's with sh**. I won't be updating via Kies. Maybe if I needed an excuse to return my phone. :)
[Captivate Q&A, Help & Troubleshooting] TheShamsMan:
Hey all,

What do you guys use for voicemail? It really bothers me that with the iPhone you get a sleek and easy to use visual voicemail option and nothing exists for the android devices? Or is there something I've missed?
[Captivate Q&A, Help & Troubleshooting] silvertag:
The only way i saw it working was with Google Voice setup to catch your calls. Still not available for Canada so...
[Captivate Q&A, Help & Troubleshooting] Boki_21:
i got a question i have ATT (Stock 2.1) phone but i live in Canada and i have rogers as well. Now my question is, if i flash it to Rogers Rom 2.1 will i be able to update my phone vie Kies to office 2.2? and will it be seen as SGH-897 Or will it be seen as the Canadian version SGH-I896 after the flash ? cuz kies gives me trouble connection my phone as SGH-I897

Thank you
[Captivate Q&A, Help & Troubleshooting] 10ee:
Your product code is wrong. I had the exact same problem and had to run a procedure to return the product code to SGH-i896ZKARWC.

Look for my post #223 here:

http://xdaforums.com/showthread.php?p=10408095#post10408095

After I did the procedure I got my phone showing up as SGH-I896 in Kies and was able to update.

That ROM lasted about 9 hours and then I re-flashed LOL. Good luck.
[Captivate Q&A, Help & Troubleshooting] richuwo11:
I was in the exact same boat as you... I just flashed to the ROM posted here in this thread: http://xdaforums.com/showthread.php?t=905655

That way you don't have to go through the hassle of changing your product code and whatnot. Enjoy.
[Captivate Q&A, Help & Troubleshooting] 10ee:
That image you tried is horrible. The person who put that up should be tar and feathered. The fact that he even had a post saying that someone confirmed that it worked makes it worse.

Not a dig against him, just that this image is incredibly dangerous. I tried it without stipulating Boot loaders and my phone went hay wire.

If you are in the Greater Toronto Area there is a company named Bongo Wireless in Markham, Ontario that can fix this for you. They have a Riff Box and can JTag the phone. I called them to get this information and spoke with Kevin (the manager/owner) and he can fix corrupted boot loaders, and does often. I had looked up the info here:

http://www.jtagbox.com/category/riff-jtag-box-owners-unbrick-your-phone/

I called him because I thought I had bricked my phone with this image, but the self-made 3 resistor JIG got me back up and running.

Try to avoid ever flashing something that you are not 1000% sure of with any bootloader files like sbl.bin or boot.bin especially if you don't have a PIT file that you are also not 1000% sure came from that exact device > SGH-i896.