yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] msnyder:
Entropy, this worked perfectly. I had to do a little digging to figure it but didn't take long. Your help is definately appreciated
[AT&T Samsung Galaxy S II SGH-I777] connexion2005:
Oddly I'm having USB issues after using the package. If a USB cable is inserted during any time while the OS is running the phone will reboot. This happens in any USB mode as well. Not sure if anyone had this issue but this was with stock KH7, then ODIN installing this package, then busybox and that's when I realized the issues.

Perhaps something is different with my build and I'm not blaming the DEV just getting out my experience to see if anyone else has had one similar.

EDIT: Word of advice, THE SGS2 I9100 BATTERY IS NOT COMPATIBLE WITH THE SGS2 I777 DEVICE. IT WORKS FINE UNTIL YOU NEED TO PLUG A USB CABLE IN THEN IT WILL CHRONICALLY REBOOT. DON'T DRIVE YOURSELF NUTS LIKE I DID WONDERING WHAT WAS GOING ON UNTIL I REALIZED I SWAPPED BATTERIES EARLIER IN THE DAY... ;)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
That's something I've never seen before...

Unfortunately ramconsole is broken on our devices so getting a last_kmsg is hard. :(
[AT&T Samsung Galaxy S II SGH-I777] connexion2005:
I did two things at once as well so it very well may be me working the param.lfs zone. In the past the param.lfs would never effect something like this. It's VERY ODD. It will even power the phone off if USB is plugged in from recovery. Looks like I may have to return this one under suspicion of odd hardware failure.

EDIT: Word of advice, THE SGS2 I9100 BATTERY IS NOT COMPATIBLE WITH THE SGS2 I777 DEVICE. IT WORKS FINE UNTIL YOU NEED TO PLUG A USB CABLE IN THEN IT WILL CHRONICALLY REBOOT. DON'T DRIVE YOURSELF NUTS LIKE I DID WONDERING WHAT WAS GOING ON UNTIL I REALIZED I SWAPPED BATTERIES EARLIER IN THE DAY... ;)

See more here:

http://xdaforums.com/showthread.php?t=1292484
[AT&T Samsung Galaxy S II SGH-I777] daraj:
Tested with Euro Roms and my AT&T SGII wouldnt pass the first Samsung screen. :(

Just FYI.
[AT&T Samsung Galaxy S II SGH-I777] aintwaven:
Ok now I have root, how do I delete the AT&T navigation app. I have root exp. but it says it is a read only file.
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
You can either use TiBu to remove apps, or in root explorer, look to the top right of your screen where it says R/W, tap that and change it to R/O then you can delete/copy paste, etc apps :)

Also check here for a list of apps that can be safely removed:

https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Hey, I am trying to use a mac and I get this: ERROR: Failed to open file "factoryfs.img"

Where should the factoryfs.img and zImage be on my comp? They are on the desktop right now.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
I'm on a mac now and i'm having a hard time understanding this-

I already used this command [heimdall flash --kernel zImage --factoryfs factoryfs.img] to root and it worked great

NOW

what would I do using heimdall to achieve CWM?

I downloaded [SGH-I777_ClockworkMod-Recovery_5.0.2.3.tar]

but i cant figure out how to use it in conjunction with Heimdall.

Thanks for any help!

---------- Post added at 05:19 PM ---------- Previous post was at 05:16 PM ----------

put the files on your desktop

goto to terminal

and type:

cd desktop

that'll put you in the correct directory

then type

heimdall flash --kernel zImage --factoryfs factoryfs.img
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Thanks! I'll try that!

As far as your question I was told to untar it and rename it to zImage and flash zImage with heimdall.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
so untar the file [using? keka?][

then type

heimdall flash --kernel zImage

without the [--factoryfs factoryfs.img] ??
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
If you just double click it on your mac it will "unzip" it with Archive Utility. Should be the same as the way you flashed that other zImage. But yeah, without the factoryfs.img. The way I understand it that is your /system folder and the zImage is the kernel. Somebody please correct me if I'm wrong. I'm just as new at this as you.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
without the [--factoryfs factoryfs.img] ??

just wanna be sure
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Yeah, I edited my post. Just be careful bud, I'm a noob too when it comes to this. I could do anything with my captivate but this is different.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
yeah likewise- i was on a vibrant.

i'll give it a shot- noob leading the noob - we're in trouble!
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Haha, for real! But if you type in heimdall in command line it will give you all the commands.

Edit: I'm rooted! Woohoo!
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
worked

i have cwm!!!

woohoo
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Yes just type

heimdall flash --kernel zImage

Also make sure you're in the right directory where you extracted the zImage. An easy way to make sure your in the right directory(pointing to the location of the zImage file) is to type:

cd(space) then just drag the folder into terminal right after you type cd, then hit enter, this should put you in the right folder. Then flash as stated above :)
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Awesome! So you just renamed codeworx's kernel to zImage and renamed the other zImage and flashed like we discussed?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
For any kernel that's in a tar file, the following should work:

tar xvf tarfile.tar

and a zImage should pop out

Same way you extracted the tar from my package.

In fact, if you replace the zImage from my package with the zImage from codeworkx, you'll get a rooted system image and CWM kernel in a single flash. Command will be the same since you're just replacing zImage.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
when i extracted the .tar file it gave me a zImage file

didnt have to rename anything
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Oh, cause you just changed the directory. Cool, nice! Do you have the yellow triangle on boot now?
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
yeah

thats scarred me a little when it first booted

but no worries then i applied the circle battery mod with numbers-
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Cool, I'm about to do the same. Now to get a jig made to fix that yellow triangle nonsense... Noobs leading noobs worked! :)
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
whats the jig? seen it in various posts-

i thought it was only for people that couldnt get into download mode
[AT&T Samsung Galaxy S II SGH-I777] locsplitter:
Works great.

Flashed with Odin, no issues at all.

Was stock originally.

Edit: I guess I'm Super Stock now.

Lol
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Whoops, didn't mean to thank you bud /\ lol

The jig can apparently reset the kernel flash counter which makes it think that it's stock and gets rid of the yellow triangle.

Edit: Which isn't as big of a deal as I thought.
[AT&T Samsung Galaxy S II SGH-I777] jank0023:
Sorry for newb question but how do I do the following:

Originally Posted by Entropy512 View Post

Easy enough to unroot - and within a day or two I'll have unrooted stock. First priority is adding modem tonight.

Easy to make a unrooted, you can use insecure kernel or you take the dd image and remove Su, busybox and superuser.

And for modem, use the pit file in heimdall and you see all partition.

Then dd.

How do I remove Su, busybox and superuser? Need to return phone. I got the image to flash fine..but need to remove those components.
[AT&T Samsung Galaxy S II SGH-I777] godzulu:
I tried this in Odin 1.82. Done this twice and am stuck in boot loop. How did you do this? Thanks for your help
[AT&T Samsung Galaxy S II SGH-I777] RockRatt:
Just a quick question here, what do we need to do to create a modem zip that can flash in cwm? With my cappy I was able to add ANY modem into a CM7 format modem zip and flash it via cwm. Should that still work since it uses (I think) the same version of cwm?

Like could we get these files and zip them with the modem file and flash it in cwm

Sent from My KickAss Captivated CM7 OC'd 1.5Ghz/Undervolted
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
This was covered before - I'm going to look into it eventually, however I need to figure out if there are any major differences in how to flash modems from CWM on this device.

If you look at the I9100 modem collection you'll notice that there isn't anything CWM flashable, and the developer there is reluctant to post CWM-flashable packages. It even looks like they may have softbricked devices when trying to flash modems. So if pulser_g2 thinks it's a bad idea - I'm going to proceed with extreme caution.
[AT&T Samsung Galaxy S II SGH-I777] RockRatt:
Thanks for the reply. Was just wondering about it. I KNOW it doesn't make much difference right now since we only have 1 modem for our device anyways. Just thought it would be nice and easy as it was for the Cappy.
[AT&T Samsung Galaxy S II SGH-I777] DJSLINKARD:
Thanks!!! I rooted with the other version and didnt like it but this is where its at.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Uploading a package without root... Gonna be an hour or so.
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Awesome, you sir are a good man.

Btw, there's a new superuser. Its up to you whether or not you want to put it in but mine just updated.
[AT&T Samsung Galaxy S II SGH-I777] daraj:
The unrooted package is 100% stock ROM (including modem/kernel/CSC)?

Great work man. Keep up.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Kernel and /system. On the Infuse, CSC got moved from /cache to /system on first boot. Same for this device - since this package is based on a system dump from a stock device, the CSC files are in /system also (This is different from most official Odin releases).

Modem is in a separate .tar since that is in a different slot in Odin.
[AT&T Samsung Galaxy S II SGH-I777] simpl3lang:
if i want to return to complete stock, all i have to do is odin the "Kernel + non-rooted system package" under PDA plus the MODEM under phone? if the MODEM was never messed with (like accidently installing a international version rom), we dont have to odin the MODEM right? or its a total must?

oh and thanks a bunch for all the hard work Entropy!!!!!
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
You may have to enter 3e recovery and wipe after you return to stock, but other than that:

Just odin the kernel + non-rooted system.

And yes, if you never touched the modem, no need to flash it. If you're returning to stock to return, I would:

Flash kernel + nonrooted system

Enter recovery and wipe (same method for entering CWM from poweroff, but with stock kernels you wind up in 3e)

Check to make sure your baseband is UCKH7 in Settings->About Phone. If it isn't, flash the modem.
[AT&T Samsung Galaxy S II SGH-I777] simpl3lang:
Thanks. Real helpful info
[AT&T Samsung Galaxy S II SGH-I777] eRajesh:
Will not flashing the Kernel+Rooted Package wipe all data on the handset?

Cannot I just flash the rooted kernel via ODIN, as we do for SGS2?
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
AT&T boot screen different?

On my stock out of the box SGS II the AT&T boot screen was a plain white with (I think mainly blue) AT&T logo, non-animated image. The boot screen from the stock + root flash has an animated AT&T boot screen. The Samsung Galaxy S II kernel boot screen is the same of course.

Has anyone else noticed that the boot screen in this flash is different from stock out of the box. Does anyone else remember seeing a plain non-animated AT&T boot screen? I'm wondering if my phone is different than other new phones? It's not that big a deal really, but it could be a clue to an AT&T tech that the phone has been flashed maybe?

I had to have my captivate replaced under warranty. Of course, this SGS II is awsome, and I don't expect to have to replace it, but you never know.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Mine was animated.
[AT&T Samsung Galaxy S II SGH-I777] xTMFxOffshore:
My buddies I am going to root was animated out of the box as well.
[AT&T Samsung Galaxy S II SGH-I777] tdamocles:
I think I'm replacing mine because of white diagonal lines in the screen today. Will this method get rid of the exclamation mark?
[AT&T Samsung Galaxy S II SGH-I777] simpl3lang:
yes it will....

read up on POST #102 by entropy
[AT&T Samsung Galaxy S II SGH-I777] bkeaver:
I just want to say thanks Entropy. for some reason I was gun shy on pulling the root trigger on this device for unknown reasons... I am not inexperienced in the realm od rooting and modifying phones but i too the plung and everything went well so......THANK YOU
[AT&T Samsung Galaxy S II SGH-I777] xTMFxOffshore:
Entropy. Does this kernal support overclock?
[AT&T Samsung Galaxy S II SGH-I777] aintwaven:
I know it took a while, but thanks. I forgot about the read-write toggle in root exp.
[AT&T Samsung Galaxy S II SGH-I777] kinubic:
ive never flashed with heimdall anyone guide me to this? lol im having the battery leak problem and was directed to this xD ahhaha
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Did your device support overclock when you bought it?

Answer will be the same, since it's the STOCK kernel.
[AT&T Samsung Galaxy S II SGH-I777] xTMFxOffshore:
Thanks for a drawn out answer.
[AT&T Samsung Galaxy S II SGH-I777] SNadler:
Just for memory's sake, "Does HDMI work" LOL

See you soon, ordered my I777 today and expect it in a few days.....

Nice to see I am not alone! :)
[AT&T Samsung Galaxy S II SGH-I777] platlnumplayboy:
Im very new to all of this and im running windows 7 and the heimdall cmd line flashed open then disappears on me? what am I doing wrong
[AT&T Samsung Galaxy S II SGH-I777] naturefreak85:
You have to OPEN the command prompt first through the start menu. Then you have to navigate to the directory that has heimdall in it and run the commands.
[AT&T Samsung Galaxy S II SGH-I777] platlnumplayboy:
I open the prompt i get that but i dont get how to navigate anywhere. I have rooted my htc aria and flashed it several times and never had this much trouble. even using the gui i get an error "tar header contained an invalid file size"
[AT&T Samsung Galaxy S II SGH-I777] SNadler:
From within a command promt window you need to change directory to the spot you have the file. If you have not modified the path you might be here.... Just a shot in the dark without knowing your configuration though. :)

CD\android-sdk-windows\platform-tools
[AT&T Samsung Galaxy S II SGH-I777] platlnumplayboy:
thanx i figured it out im rooted. now why wont the wifi hotspot work. that was the only reason why i rooted it.
[AT&T Samsung Galaxy S II SGH-I777] Benjamin Dobell:
Sorry if I missed an explanation, but is there any reason you're not using Heimdall Frontend?

Heimdall Frontend is the official user interface for Heimdall. If you're unfamiliar with command line then it is definitely the way to go. The README included with Heimdall comes with detailed instructions that explain how to use it.
[AT&T Samsung Galaxy S II SGH-I777] platlnumplayboy:
Im new to everything here and when i tried to use heimdell front end i kept getting errors and i couldnt find detailed instructions. I did not know which file to put in what section and tried multiple combinations. The read me in my opnion wasnt clear enough. but once i figured out the cmd line the OP's instructions worked in seconds.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Unfortunately, I've never used the frontend (and actually the one time I tried the frontend, didn't have very good results...) As a result the first post of this thread covers Odin and Heimdall commandline right now.
[AT&T Samsung Galaxy S II SGH-I777] paleman27:
In the Odin in what slot does the modem goes?

Thanx you taking my question.

---------- Post added at 09:35 AM ---------- Previous post was at 09:11 AM ----------

I guess it goes in the PDA. Correct me if I'm wrong
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Phone, per the OP.
[AT&T Samsung Galaxy S II SGH-I777] mfpearson:
don't we need a .pit to use the frontend anyway? i can't load anything into the "flash" tab unless i load up a working .pit first.

i would pull it myself, but when i try, i get "error: claiming interface failed!," (using both frontend and commandline) so i ended up resorting to odin. would be great to get the frontend figured out though, so that i can run it on OSX.

the frontend detects my device, i just can't get it past that error. any advice, benjamin dobell? you're clearly the best person to ask!
[AT&T Samsung Galaxy S II SGH-I777] dayv:
http://xdaforums.com/showthread.php?t=1286218&highlight=pit
[AT&T Samsung Galaxy S II SGH-I777] Haas360:
Does this put the yellow triangle on boot after?
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Flashing the stock kernel from Odin / Heimdall does not increment the flash counter, or create the yellow boot warning. Only flashing a custom kernel from Odin / Heimdall will do that.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No, in fact flashing the stock kernel will cause the yellow triangle to disappear.

After using the "root" packages, you can flash a custom kernel's zImage file without getting the triangle as follows - you must have ADB working. If you don't, Google is your friend. Droid Explorer may also be your friend on Windows.

adb push zImage /sdcard/zImage
adb shell
su
dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
exit

Then reboot your phone. The following MIGHT work to replace everything after and including adb shell:

adb shell su dd if=/sdcard/zImage of=/dev/block/mmcblk0p5
[AT&T Samsung Galaxy S II SGH-I777] Haas360:
K thanks guys. Haha wtf my Grammer was all messed up in that post. Must have been tipsy. Lol
[AT&T Samsung Galaxy S II SGH-I777] bms231:
Hey now that 2.3.5 is "out" are you going to update your packages?

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

---------- Post added at 08:58 PM ---------- Previous post was at 08:42 PM ----------

So I have read all 14 pages of this thread and there is one thing missing. How to flash this packages w/ ODIN? Yes, it says on page 1 pda slot for kernel + system package.

I found a lot on flashing with ODIN such as:

http://xdaforums.com/showthread.php?p=7152078#post7152078

However, all packages are different and most threads make reference of pit files or re-partition.

Here is my assumption for this kernel. Can you tell me if I am correct?

1. Enter download mode w/ phone

2. Start odin on PC

3. Plug in phone to PC via USB

4. Click on PDA

5. Select your package (PDA.tar)

6. DO NOT check re-partition, Flash Lock, Phone EFS Clear, Phone bootloader update

7. CHECK Auto Reboot and F.Reset Time

8. Click Start

is that right?
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Correct. Except that this is not just a kernel (but also a stock rom, or stock with root).
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
As to updating packages - don't really need to, if it's official those are the new packages. I don't know if those are official or a leak yet.

As to PIT - you should never be flashing PITs. There is no valid reason to flash one for our device currently.
[AT&T Samsung Galaxy S II SGH-I777] bms231:
All good. I don't know if they are official or what either.

I didn't mention PIT files I know from the previous pages we dont need to flash that or the modem :) you only said it like 10 times lol.
[AT&T Samsung Galaxy S II SGH-I777] Benjamin Dobell:
This is on OS X I assume? I'm not sure why it happens but some users have reported permission issues. You may need to run the heimdall with sudo permissions. However before doing that I'd definitely recommend trying a new install of the latest release (1.3.1).
[AT&T Samsung Galaxy S II SGH-I777] mfpearson:
yup, i'm on osx... tried using sudo permissions, tried re-installing 1.3.1... reverted to 1.3.0, 1.2.0, 1.1.1 - no luck.

i did a google search on the issue, and it seems as though one or two people had success on osx by completely wiping their computer... maybe i'll start up time machine, back up my computer (been meaning to do this for a while anyway), wipe it, and test out that theory. but that's a lot of work, when odin works just fine on my desktop PC.
[AT&T Samsung Galaxy S II SGH-I777] ljwnow:
Can anyone please dump the stock bootloader from their phone? Thanks a million.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Will do tomorrow... However I'm EXTREMELY wary of posting dumped bootloaders because at least on the Infuse - dumped bootloaders would refuse to flash and the one time we got something to "take", it hardbricked the device.

Attached is a dump of the following partitions from my device:

/dev/block/mmcblk0p2 - sbl1.bin

/dev/block/mmcblk0p3 - sbl2.bin

WARNING: MESSING WITH BOOTLOADERS CAN EASILY HARDBRICK YOUR DEVICE TO AN UNRECOVERABLE STATE. FLASH THESE AT YOUR OWN RISK.
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
For those on a mac just use terminal. Its not hard at all, and I have little to no experience with using a command line. But if you open terminal and just type "heimdall" and hit return it will spit out all kinds of useful things about heimdall, providing you have it installed of course. Any questions about OS X can be pm'd. I don't mind, we all have to learn.

Edit: I don't want to step on any toes, didn't realize benjamin dobell made heimdall until I looked at the site for the 1.3.1 release lol
[AT&T Samsung Galaxy S II SGH-I777] pinoymutt:
I am just curious if anyone knows if Neldar's SGS Kernel Flasher works on the SGSII? I wonder if it would also be an easier solution to flash kernels on the device without messing too much with command lines.
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
I've read it doesn't, but I'm sure entropy will chime in.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I haven't tried, because all sources I've read indicates it doesn't.

My guess is that it simply hasn't been updated to handle /dev/block/mmcblk0p5 instead of /dev/block/bml? (where ? is wherever the original SGS kernel usually lies.)

Too bad - I really miss it! I've heard that similar apps may exist for the GS2 though.
[AT&T Samsung Galaxy S II SGH-I777] bms231:
ok sweet so i have done this successfully. i really believe you should put this on ur first post so people dont have to do searching and can feel at ease.

1. Start ODIN 3v1.85

2. Enter Download Mode

a. Power the phone off.

b. Plug the usb cable into the computer (not the phone)

c. Hold both sides of the volume rocker down (vol up + vol down)

d. While holding those buttons down, insert the usb cable into your phone.

It may take a second or two for the screen to display with a warning. Press the Volume UP key to download a custom ROM.

3. In ODIN, click PDA and select the PDA.tar file you extracted

4. DO NOT check re-partition, Flash Lock, Phone EFS Clear, Phone bootloader update

5. CHECK Auto Reboot and F.Reset Time

6. Click Start

At the end of the process ODIN's first block will show up as GREEN with the words PASS and your phone will reboot.

Unplug USB from your phone after first boot.
[AT&T Samsung Galaxy S II SGH-I777] ssamuel82:
HELLP

I was wondering if someone could help me

I had heimdall to start up using windows and mac. but each time i try to put a firmware package into it it says "firmware.xml" missing. then when i run command promt on windows and run the commands it works, but it doesn't reboot, it gets to the samsung galaxy s 2 screen then goes black.

Can anyone please please help with this??

ps now my phone's not even turning on either
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
Can you get into download mode?
[AT&T Samsung Galaxy S II SGH-I777] ssamuel82:
yeah i can get into download mode. i tried to reflash stock, blue bar comes up. completes that. then it goes to reboot and after the first samsung galaxy s 2 screen it just goes black

and if i go into clockword mod. once i select something, the circular arrow with the hat comes up and nothing happens.
[AT&T Samsung Galaxy S II SGH-I777] bms231:
Have you tried flashing with odin?