yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
You mis-read or mis-understood. It says if your flash counter says I9100 then you have the I9100 secondary bootloader. You read the flash counter using step one of the thread.

The I9100 splash screen, and the yellow warning triangle result from flashing a custom kernel using Odin or Heimdall. To clear that, you can flash a stock kernel, and then use another method to flash the custom kernel back on your phone.

The files in this thread do not contain bootloaders. There is no reason to flash bootloaders on the I777, except to correct stupid mistakes like flashing firmware for another phone onto the I777.
[AT&T Samsung Galaxy S II SGH-I777] sams74:
param.lfs

Sorry, I just successfully flashed uckk6 stock rooted, and I believe everything's fine...I'm a little confused as to what that param.lfs file is and why I might need it? I'm not very familiar with it. Can someone tell me why I might need it and what I'd do with it?
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
The param.lfs contains a bunch of stuff that has to do with the boot sequence, such as splash screen images, etc.

If you take care of your phone correctly, you should never have to do anything with it. It would be necessary for someone who, not understanding what they were doing, flashed firmware for the I9100, or the I737, or any other phone than ours. If that firmware package contained the incorrect param.lfs, then the phone would bootloop, and that person would have to flash the param.lfs and possibly some other files to correct the problem.

NEVER flash the param.lfs, NEVER flash bootloaders, and you will be just fine.

As far as I know, none of the I777 firmware packages available in the I777 development section of the xda forums contains bootloaders or anything else that would cause your phone a problem.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
To be clear, flashing I9100 firmware is OK IF you follow the instructions in the Hellraiser thread - and these instructions include "don't flash anything with Sbl.bin or param.lfs". :)

No I777 firmware packages include param.lfs - some I9100 firmwares flash it to change the bootsplash. This is a dangerous operation and you should avoid any package that does this.
[AT&T Samsung Galaxy S II SGH-I777] sams74:
I understand now, thanks. I guess the lessons are, you shouldn't need the param.lfs as long as you're flashing roms meant for my phone and be weary of that file and boot loaders in general? Thanks again.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yeah - Even when flashing I9100 ROMs per the Hellraiser instructions, you shouldn't see param.lfs unless the person who released it is more of a themer than a developer. Some I9100 releases are great - others are utter crap and nothing but application of a theme, and some of those have hacked up param.lfs.
[AT&T Samsung Galaxy S II SGH-I777] sams74:
So crap...I screwed up. I had entropy's stock rooted kk6 and I was trying to get cwm so I flashed it now I've got the yellow triangle. I understand that using odin I can flash back kk6 to get rid of it but how do I get the stock rooted kk6 and cwm? Do I have to use a custom firmware with it built in?
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
You should read my guide about how to flash custom binaries without incrementing the flash counter. You can clear the yellow ! triangle and I9100 boot splash screen by flashing the stock kernel first, but you will need a jig if you want to reset the flash counter.
[AT&T Samsung Galaxy S II SGH-I777] sams74:
Yeah I read it that's how I flashed the stock rooted kk6 from entropy. I guess I thought the cwm flash wouldn't affect the counter, I didn't understand quite then. I flashed the stock rooted kh7 and the yellow triangle is gone, but my counter is still 1, so I'll look into getting a jig (but I also read this trick doesn't work on the newer phones? which this is).

Maybe I missed something in the guide, but at this point my impression is, if you just want to root, you flash entropy's stock rooted roms with odin, if you want to mess with custom firmwares, you have to flash cwm with mobile odin and then use cwm to flash others additionally? Which is why I was trying to get cwm on there after flashing the stock rooted firmware, I just misunderstood the concepts/process.

So if I were to rewind, I'd flash entropy's stock rooted rom with odin, then use odin mobile to flash cwm, then use cwm to flash any custom roms?

Can someone clear this up for me if I'm incorrect?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yup, as long as you avoid flashing custom kernels using Odin you'll be fine. Mobile Odin, CWM, dd in ADB - all of those are OK.

The jig won't work on newer bootloaders - as long as you're on original bootloaders you'll be fine. (and it is possible to revert the bootloaders if you accidentally flashed a broken I9100 one - but in general just try to avoid flashing bootloaders.)
[AT&T Samsung Galaxy S II SGH-I777] manny05:
so I hellraised rebelrom from i9100 onto my i777 and although everything is working really good I don't have root. Anyway I can get it back ?? Without having to restore or go back to stock...

sent from my i-777 on some ice cream sandwich swag
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
This isn't the correct thread for that. This is for returning a device to stock.

There are 28432983292 different ways to root a device which has an insecure kernel and CWM recovery, pick one, any one.
[AT&T Samsung Galaxy S II SGH-I777] s_spiff:
So, I'm new to a SGSII, but I rooted it with the method posted by someone in the forum, that linked to http://galaxys2root.com/galaxy-s2-root/how-to-root-att-galaxy-s2-on-mac-or-linux-sgh-i777/

But the issue now is that my Wi-Fi is messed up. So I thought I'll used Entropy's method to get to a working rooted SGSII. My phone shows KK6, so I'm assuming I use the KK6 files here. I have heimdall working on my mac. Only question is, do I use the command posted in the first post by Entropy for the UCKK6?

NVM - heimdall seems to have bombed on my mac too. so, can't use heimdall, and i'm stuck with a phone with no wifi, and no way to fix it! Also, now my counter shows 1, FML!
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Try a wipe data/factory reset from recovery or from the phone as that may clear the wifi problem.

You can clear the flash counter with a jig.
[AT&T Samsung Galaxy S II SGH-I777] sams74:
Also, i believe you aren't limited to kk6, i ended up going back to kh7 because i read in several places kk6 was not a good update. I'm running kh7 then unnamed 1.3.2 and it's really nice.
[AT&T Samsung Galaxy S II SGH-I777] s_spiff:
Creepy - I did a factory reset multiple times. Now looking for a jig to reset that counter. I wanted to try out your method of ODIN, just that for some reason ODIN won't start up on my Windows 7 system.

---------- Post added at 06:51 PM ---------- Previous post was at 06:32 PM ----------

I'll go back to UCKH7, but can someone upload the modem package? Multiupload link seems broken.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
The modems are available as CWM flashable zip files in the modem thread.

Or you can find them in my Download Repoisitory.

Also, if you flash the return to stock one-click downloader from the return to the store guide, or the stock plus root one-click downloader from the other guide, they both contain the modem.
[AT&T Samsung Galaxy S II SGH-I777] s_spiff:
Thanks

Thank you very much!!
[AT&T Samsung Galaxy S II SGH-I777] AaronStC:
Sorry if this has been asked but is there a way to get back to stock without connecting to a computer? I'm having issues with the USB port on the phone and am not sure I'll be able to get the connection to work. I need to return to stock to hopefully exchange.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Mobile Odin might do it.
[AT&T Samsung Galaxy S II SGH-I777] LiLChris06:
Yea I am in the same boat right now, was going to use this.

Yup back to stock everything. :(

Shame my USB Jig didn't work and considering my port is bad I probably will have a hard time getting this fixed unless I find a way to remove it without one.
[AT&T Samsung Galaxy S II SGH-I777] :
All right, stupid question, but the UCKK6, which includes the cache file, can the .tar be flashed via Odin/PDA slot?
[AT&T Samsung Galaxy S II SGH-I777] mcala:
Can someone please post a link to the rooted UCKK6. Both linked sites do not work.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
I have the file. I'm uploading it to Hotfile now. That will take about 1-1/2 hours, then I'll put it into the Download Repository. Look for it later this afternoon.
[AT&T Samsung Galaxy S II SGH-I777] trell959:
Soft bricked and Odin wont detect my phone :(:mad:
[AT&T Samsung Galaxy S II SGH-I777] Jive1983:
Hi guys,

I am having trouble with my screen orientation.. it prefers landscape and am unable to bring it back to portrait.. All these problem started after loading CM9.. I restored back to unnamed rom still having the same problem though.. I had raised a thread in the General forum for help..

http://xdaforums.com/showthread.php?p=23860474&posted=1#post23860474

I was suggested to load back to stock and see if that helps.. I have few questions hope some one can answer it.. I tried searching but couldn't find something related to my problem.

I bought this mobile in eBay it was unlocked, rooted loaded with unnamed rom..

I have no idea what this pit file is? and have no clue if this mobile has a bad pit file or not.. I thought I better check before I flash it back to stock. Do I have worry about this?

If I flash it back to stock will my mobile be locked again?

I am going to try it from Mac... has anyone done it successfully from Mac?

really sorry if this has been asked before. Your help will be truly appreciated?
[AT&T Samsung Galaxy S II SGH-I777] h0ckey10:
i flashed the odin linked in the op multiple times ( two be sure it wasnt a bad flash) and i get bootloops at the att screen. ideas?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Enter recovery and wipe
[AT&T Samsung Galaxy S II SGH-I777] Jive1983:
Please disregard this.. I have now managed to flash back to stock and now I can see accelerometer calibrator... After calibrating the accelerometer the problem now is gone. Thanks creepyncrawly, SmittyRN and CB650 Wolf, you guys put me in the right direction... Its all good now..
[AT&T Samsung Galaxy S II SGH-I777] brent8577:
thanks for this. I'm most likely selling my gs2 soon and will need this if the buyer requests. please update link if they are down.
[AT&T Samsung Galaxy S II SGH-I777] brent8577:
nonrooted seems to be down.
[AT&T Samsung Galaxy S II SGH-I777] brent8577:
if someone could pm or email stock unrooted out of the box att that would help a lot. thanks.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Just flash rooted and manually remove /system/bin/su, /system/xbin/su, and /system/app/Superuser.apk and it'll be the unrooted release.
[AT&T Samsung Galaxy S II SGH-I777] KM00:
Non of the donwload links seem to be working, is there any other for the kk6?

update: nevermind found it
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
dev-host can be a bit flaky - but since it does keep coming back I won't be reuploading to Yet Another Server That Breaks.
[AT&T Samsung Galaxy S II SGH-I777] Virus1x:
Entropy do you have a Odin one click exe stock with superuser/root nothing changed but root when I tried ukk I got **** speeds due to modem
[AT&T Samsung Galaxy S II SGH-I777] gokartracer5:
I am having a heck of a time figuring out how to root kk6 without wiping it back to an older version. My old Captivate was easy and had several custom ROMs on it. Got my SkyRocket on the ICS leak and rooted that easy. :confused:
[AT&T Samsung Galaxy S II SGH-I777] datrumole:
me too...seem to only be finding the h7 root, but i guess it doesnt matter if you dont plan on staying there....finding it odd that i just came from the Inspire 4g and they have one of the best ICS roms i've used, i reallllllly hate hate hate touchwiz, just want stock asop ICS, hopefully we start seeing that in the next coming weeks, looks like the source just got leaked. i was so torn about getting the skyrocket, but i had no need for such a monstrous phone, and i've heard the sgs2 was faster, i guess only time will tell
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
"the best way to keep a secret is to put it in the first post of an XDA thread"
[AT&T Samsung Galaxy S II SGH-I777] gokartracer5:
I know. But, I have never used hemdall and I could not get any of the downloads for KK6 there anyway. One url was flagged by my PC virus scanner. I was looking for an Odin tar.

EDIT: I guess the tar is in the zip for KK6. Still can't download though.

EDIT: found the KK6 tar.
[AT&T Samsung Galaxy S II SGH-I777] Virus1x:
Can you answer my question entropy
[AT&T Samsung Galaxy S II SGH-I777] Call_er_Roxie:
Corrupt Files

I DLed both the ROMs from the non-megaupload sites. Neither Winzip, 7zip, or winRar could open them. They all appear corrupt and I could not extract to run in Heimdall.

Am I missing something?
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
I'll wager he won't...

Because, links to the return to stock and stock/rooted packages are in the sticky post. (Hint: or you could look at the links in my sig.)
[AT&T Samsung Galaxy S II SGH-I777] Virus1x:
I've looked there is no ODIN for the current stock only one that flashes modem which I had bad luck with
[AT&T Samsung Galaxy S II SGH-I777] Bruno2352:
I have my att galaxy s2, baseband I777UCKH7, kernel version 2.6.35.7_ZedomaxStockKernel, gb UCKH7, 2.3.4. What do i have to do to get that rom,kernel and modem in my case?

---------- Post added at 08:48 PM ---------- Previous post was at 08:23 PM ----------

the uckh7 stock root will put me back as new? no root?
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
As far as I know, Entropy has never posted a one-click downloader of any of his packages. You can find the UCKK6 stock plus rooted system package in the OP of this thread, and if you can't download it from there, you can also find it in the Download Repository at the very bottom. Flash the tar with Odin3 v1.85 or similar. It does not contain the modem, so you will retian whatever modem you currently have installed. You can always install any modem separately anyway. Go to the modem thread, and try all the available modems to see which one works best for you.

---------- Post added at 04:43 PM ---------- Previous post was at 04:37 PM ----------

Sorry, but I don't understand your first question. You want to get what rom, kernel and modem?

On you second question, the UCKH7 stock plus root will put you at stock kernel instead of zedomax stock kernel, and rooted system. If you want straight stock non-rooted, then flash the non-rooted system from the op of this thread, or go to the "How to Prepare Your Phone to Return to the Store or for Warranty Replacement" thread linked in my signature.
[AT&T Samsung Galaxy S II SGH-I777] Bruno2352:
ohhh ok, so i just flashed that UCKH7_stock:root.tar.7z and i will still be rooted, and thats it? do i need to flash a modem? in that case, the link provided doesnt work.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
That package includes everything in the system package (modem, kernel, etc.).
[AT&T Samsung Galaxy S II SGH-I777] Bruno2352:
how do i flash the whole thing? i tried to put it on CWM and it doesnt appear my doc there. just odin or what? sorry im kinda new at this
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Right. Odin.
[AT&T Samsung Galaxy S II SGH-I777] supersixevo:
The Kernel + non-rooted UCKH7 system package link is dead, could someone post it in a new link. I have to take my cell for repairs as it is not vibrating anymore.

Thank you
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Look in the Download Repository. See link in Sig.
[AT&T Samsung Galaxy S II SGH-I777] jjjjjk:
I flashed Kernel + cache + rooted UCKK6 system package with Odin. But after reboot I stucked at the place to touch Android to continue. It said "The process android.process.acore has stopped unexpectedly. Please try again" and "The application Google Services ( process com.google, process.gapps) has stopped unexpectedly. Please try again". What's missing?

When I pressed volume up+dn+power without plugging usb to enter the recovery mode, I saw it read "... Installing Multi-CSC \ Can't access to '/system/csc/ATT/system/'...."

Could it be the cause? how to put CSC back on?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
From the very first post - wipe data in recovery
[AT&T Samsung Galaxy S II SGH-I777] mzaur:
Thanks!
[AT&T Samsung Galaxy S II SGH-I777] MarkPharaoh:
EDIT: Another hour and troubleshooting allowed me to answer my own question. Cheers
[AT&T Samsung Galaxy S II SGH-I777] avus_m3:
Thanks for the hard work!
[AT&T Samsung Galaxy S II SGH-I777] steelforce:
Hi there. I'm trying to flash KK6 from earlier in this thread to my SGS 2 (AT&T i777) using Heimdall. I'm trying to go back to stock after a bad experience with an ICS ROM (Shostock, if you're curious).

On two separate systems (one Windows 7, one Ubuntu Linux) Heimdall reports an error:

Uploading FACTORYFS
42%
ERROR: Failed to confirm end of file transfer sequence!
FACTORYFS upload failed!
Ending session...
Rebooting device...

I saw something in another thread that talked about a modem update causing this - could it be that?
[AT&T Samsung Galaxy S II SGH-I777] POPPY SEEDE:
After rooting when i try to flash any roms i get failed to verify whole-file signature any ideas?
[AT&T Samsung Galaxy S II SGH-I777] Xx_xBLADEx_xX:
I've used the none rooted I777UCKH7 OCD No BL then rooted using DooMLoRD's exploit using zergRush on my S2 and recall the counter being set to 1. Can anyone confirm if ODIN or the exploit pushes the counter up?

I have since used ODIN Mobile or CWM to flash Kernels or Modems depending on format (.tar or .zip) that apparently doesn't tick the counter up but I am getting ready to revert my wife's S2 from KK6 to KH7 and want to keep her counter at 0 and was wondering if the one click with root will set the counter.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
The method you described would not have pushed the flash counter up.

Flashing a custom kernel using Odin or Heimdall from a PC is the only thing that pushes the flash counter up. Flashing a stock kernel does not push the flash counter up. You can flash a custom kernel using ClockworkMod Recovery, adb, terminal emulator or mobile odin without pushing the flash counter up. You can flash system, modem or any other part except the kernel, and it will not push the flash counter up.

---------- Post added at 08:56 PM ---------- Previous post was at 08:53 PM ----------

You must install a custom kernel with ClockworkMod Recovery. You can not flash a rom from stock 3e recovery.

You need to do your homework. This information is readily available. Please read through the FAQ and all of my guides and info.
[AT&T Samsung Galaxy S II SGH-I777] Xx_xBLADEx_xX:
I understand this now. I did flash another custom kernel after I rooted with zergRush using ODIN mode because wifi was broken and that's what must have done it. I hadn't realized a simple wipe would restore wifi and simply thought it was the stock kernel that came with the one click. Lesson learned :D

Thanks for the advise creepyncrawly. I feel confident with the S2 now!
[AT&T Samsung Galaxy S II SGH-I777] naklinaam:
:( me too

Hi Steelforce,

Did you ever find an answer to this. I had the exact same issue at exaclty the same point (42%) and my phone seems to be bricked after that..

It is stuck at the Samsung GALAXY S II screen while rebooting

(Wish I had read this before attempting the root)

If anyone knows how I can recover, please update this thread or pm me.

UPDATE: further search resulted in success... It seems this is related to the version of heimdall. the latest version has this issue, but if you get version 1.0 (instead of 1.3) you do not have this issue.
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
I have a request. Can someone please upload the UCKH7 non-rooted return to stock package to a Dropbox or Box page, and send me the download link? I'm sure the normal links are working now, but they're all blocked here where I work. I really need to get the package before I leave though, because I'm planning on going from here to the AT&T store to get a replacement. (my screen shattered last night)

Thanks in advance.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
I have the stock+root package. The only difference is the superuser apk and SU bin file. Definitely indistinguishable from stock, non root.

http://d-h.st/kq0
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
So if I wanted to use that to get to stock unrooted, I would wipe, flash it, delete the SU bin file, and uninstall superuser?
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
It's already a clean install, so no need to wipe again. And yes, delete those files and it's identical to stock+nonroot. I think busybox is also installed (/system/xbin/busybox?). But seriously, removing the superuser apk will be enough.
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
I know it would be enough to get it past a store employee, but I may have to mail my phone in. I don't want them digging through the files and find out it had been rooted...
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Ahh...ok. Well, as far as I know, that's it. I could be missing something.
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
Could you maybe just grab the unrooted package for me? That way it doesn't matter if we're missing something...
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
No can do. It's only hosted on multiupload, which hasn't worked in a while.
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
Crap. Ok I guess I'll try with what I have. *fingers crossed*
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Go to the Download Repository. The one you want is a dropbox link.
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
Oh ok. Thanks.
[AT&T Samsung Galaxy S II SGH-I777] Brobarian:
Bought a SGII I777, followed this guide for root/unlock. Now I have run into a problem. My carrier is T-Mobile, put in my SIM, and I cannot get 4g only "E." I downloaded and flashed first thread. Do I need a different modem package/radio to get 4g? Did I unlock my phone incorrectly? Please help! Must have 4G, derrrrpppppppp.
[AT&T Samsung Galaxy S II SGH-I777] dirtbikerr450:
There is absolutely nothing you can do to get 4g on this phone on t mobile
[AT&T Samsung Galaxy S II SGH-I777] HellBunny:
The I777 (and most non-T-Mobile phones) doesn't support T-Mobile's 3/4G frequencies. It is a physical limitation. Nothing you can do on the software/firmware side to fix this.
[AT&T Samsung Galaxy S II SGH-I777] jcomana:
Cf-Root fot ATT SGS2

Hi..I new in the forum and have a litle detail ehich I don t know is asociated to this theme. The AT&T SG2 is coming with a 3rd edition ok the Recovery Software that don t permit to insstall any kernel or Roms due to that you can open a zip file unsigned. The recomendation isinstall a 2nd edition of the Recovery soft insalled trought ODIN but have a lot of CF Root fie in the forum. One of the member suggest to review in the ATT SG2 right here. All the ATT SG2 is coming eithvGB 2.3.4 and UCKH7 Baseband. Could someone show me which CF Root I have to use.? Sorry for the long explanation and use this topic to request my help
[AT&T Samsung Galaxy S II SGH-I777] xdahgary:
Hi everybody, I'm trying to help my friend migrate from the sgsII to the skyrocket. So I gotta root and TiB his apps + data over. The problem is he's got kk6 so I can't use superoneclick. So I saw this thread and a rooted kk6 kernel. Can someone tell me if I can use odin and go into dl mode and flash the kernel only will give me root + su? Thanks in advance.
[AT&T Samsung Galaxy S II SGH-I777] elbermu:
Had that error too, downgrading heimdall to 1.3.1 let me complete the process...

Thanks to OP for this...
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
No, the root is contained in the factoryfs.img, not the kernel. Flash the package in odin or heimdall without a wipe and should be fine.