yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] santhoshar:
My SGS2 is Automatically updated with 4.0.4 OTA. and what are the updates in this version? Do SGS2 can have Jelly Bean?
[Galaxy S II General] bombaybadboy:
Sgs2 are suppose to have official JB in time but that may not happen till next year.
[Galaxy S II General] ashrack0:
But which one can I flash then? Am running stock 4.0.3 which is rooted
[Galaxy S II General] Rosu_gabi90:
Hi guys,

I have a set of really nubish question, I hope I don't offend anyone.

After getting my S2 a few months ago, i flashed a ROM called Cognition_777_r2 and just stuck with it, but now i want to flash CM9 RC2. Under baseband version i have XXLP6, and under kernel i have 3.0.28-CM-g11588dccodeworkx@cyanogenmod#1.

Also, got_brick app is saying that my chip is affected.

My questions:

-is Siyah-v3.5.2 a safe kernel(i'm confused because on the Siyah site only at version4 it sais "no CAP_ERASE, no hardbrick" where at version 3.52 it doesn't mention anything)?

-will it work with CM9 after i flash that kernel?

Sorry about the nubish question, I am a bit confused and I'd rather be safe.

Thanks!
[Galaxy S II General] bombaybadboy:
Just use noobproof method on cm9 post then install newest cm9 then gapps. All instructions are on post and make sure you go to the right cm9 post for your phone model not I9100g which some people do
[Galaxy S II General] hakaz:
Siyah 3.5.2 is as safe as 4.0.1 is but why not use the later version :confused: ?

Edit: too late, already answered
[Galaxy S II General] bluefa1con:
Your battery is most likely to be dead if u are that behavior

Try a different battery
[Galaxy S II General] egps2:
Hi guys I'm sorry for asking a common question but I just wan't to double check due to the dangerous nature of the brick bug! Firstly I9100XWLPT is a non wipe rom I believe, is this true? Secondly, is it possible to replace the zimage in the .tar.md5 with a Siyah kernel zimage so I would never have a stock 4.0.4 kernel flashed?

I already have the Siyah kernel I want (4.0.1) on a 4.0.3 rom but I would like to upgrade to 4.0.4 without ever flashing the stock kernel. Does anyone know the best way to do this safely? Thanks you kindly to everyone :)
[Galaxy S II General] bluefa1con:
Best way would be to flash a lpt based firmware from cwm like wanam lite
[Galaxy S II General] dajumper:
my phone is also not working anymore!! i did a restore from backup, i think i must take the phone to service center, the usbjig is also not working!
[Galaxy S II General] :
how did you restore my friend :confused:

please tell exactly how you did
[Galaxy S II General] anton_46:
I have flashed the leaked 4.0.4 by sammobile, read that thread and wipe factory and cache and flash cm9... Is there possible to brick my s2?
[Galaxy S II General] :
as i don't have any warrantly left i will probably wait, :confused:

what i've read the most secure way is to flash another rom then go from there, but don't take my words,

i only know i got QKL and flashed jelly bean wiped everything and was able to restore, so for me it did work that way
[Galaxy S II General] android_isda_shit:
ok guys, now we need a way to fix our internal memory after flashing the 8gb pit,

can we just flash a normal sgs2 pit with a stock 4.0.3 rom, i dont think that will do it,

my internal memory is now 4.11 gb, and i cant get it back to how it was, should i try testing it out, i would have, but after all this talk about the rom, and people who didnt have problems, and later flashed another rom via cwm or odin bricked there device , im now scared to test it out, who's willing
[Galaxy S II General] atifsh:
if you are asking than wiping using a dial code wont brick

[atleast it wont if your stock kernel, cant guarentee if your on custom kernel ]

if you flashed cm9 and after boot you wipe due to bootloop or something your safe to go.
[Galaxy S II General] android_isda_shit:
Samsung has released this firmware so people can brick there devices, and buy a sgs3, PROFIT??
[Galaxy S II General] dajumper:
i did restore from recovery just that! now nothing work, i can not flash new fw or so :(
[Galaxy S II General] jacobrucia:
Right, a friend of mine bricked too
[Galaxy S II General] dajumper:
i do not root my phones anymore! to much bricks the last time :( i hope they fix my phone luckely i did triangle away and counter to zero, i hope they could not see anymore that it was rooted, i hope they place a new motherboard, fingers cross
[Galaxy S II General] :
Dude no offence, but I assume you haven't read the big red warning to stay away from attached .pit.

I suffered from this too, unfortunately. What I did to restore the original size:

1) flashed GB I9100XXKL1 (and repartitioned with attached u1_02_20110310_emmc_EXT4.pit)

2) Wiped data and cache from stock recovery

3) Formatted internal SD (necessary to apply changes)

It worked for me! But I cannot take responsibility for any other device.
[Galaxy S II General] :
Glad to hear someone find a way :highfive:

how could you find out :eek: All Samsung Devs OUT! ----> [EXIT]

can you enter odin mode
[Galaxy S II General] :
I did the same with stock LPG. I flashed it via Odin first, and then wiped. Worked like a charm.
[Galaxy S II General] dajumper:
no odin nothing!!
[Galaxy S II General] :
sorry to say but service center for you my friend
[Galaxy S II General] edgeqwerty:
So far, peeople have said that only with Syiha Kernel 3.3.2 as been possible to do a nandroid restore.
[Galaxy S II General] :
For a secure procedure, Downgrade to 4.0.3

Then Go To

SAMSUNG

Recovery Mode And Wipe Data/Factory Reset

Reboot!

Done

Worked For Me Like A Charm

Cheers
[Galaxy S II General] android_isda_shit:
if you were having the same problem as me a couple post back

heres how to fix it

http://xdaforums.com/showthread.php?p=28406177#post28406177

the usb storage
[Galaxy S II General] edgeqwerty:
Downgrade how? Odin? with what kernel?
[Galaxy S II General] android_isda_shit:
i already did that, and made a guide, after calling samsung tech support a couple mins ago, i was going crazy

heres the guide i made

http://xdaforums.com/showthread.php?p=28406177#post28406177
[Galaxy S II General] bombaybadboy:
Think he means that he wants to replace stock kernel in firmware 4.0.4 with siyah before its flashed on device. Should be possible to decompile, change then recompile back to tar just no one has tried to my knowledge
[Galaxy S II General] egps2:
You hit the nail on the head but I think I have found a method that will be safe if you would like to confirm for me!

1. Flash stock XWLPT (its is non wipe right?) but WITHOUT auto reboot ticked in odin (safe?).

2. Flash (without rebooting) Siyah 4.0.1 immediately after.

Would this be safe?

I assume would then have XWLPT and Siyah without being exposed to the brick bug despite having the stock kernel for a very brief period?

Thanks everyone fore time and suggestions :)
[Galaxy S II General] bombaybadboy:
Does sound safe but even without it being booted you will have for a short while affected kernel on your device and we still don't no full nature of this em caps erase bug on our chips. It would be much safer to not install Sam's new kernel at all. Have you looked into tar file to see if it can be replaced before. I have compiled apks like that but never tried with firmware
[Galaxy S II General] egps2:
Thanks for the reply :) I have tried dragging and dropping the zimage file from Siyah into the XWLPT .tar.md5 file but the winrar program wont let me do that! Even if I could drag and drop I don't know if it would be safe to simply flash a modified .tar. Will it cause a conflict of some kind? I was also thinking that maybe I could flash a non wipe cwm flashable stock XWLPT but I haven't found one that hasn't been modified. Does anyone know of one? Edit: Many also flash the stock kernel anyway!

I always thought that it would be safe to briefly have the stock XWLPT kernel as long as I didn't touch the recovery. From this logic I though it would be safe to flash Siyah straight after without rebooting! Does this mean everyone who has OTA XWLPT etc are at risk even without knowing about recovery?! Surely the method I posted above can't hurt!

Thanks again for your help!
[Galaxy S II General] bombaybadboy:
Like I said it does sound safe just no one can confirm this its all a risk when dealing with Sammy's new firmware. It was designed for an average joe user that doesn't even no what a root is
[Galaxy S II General] hakaz:
If you like you can use a XWLPT firmware package I've uploaded some days ago. It uses hardcore's SpeedMod kernel instead of stock kernel and is safe to flash and use (MMC_CAP_ERASE disabled). Then you can flash any other safe kernel like Siyah as you prefer.

Original post with download link is here
[Galaxy S II General] egps2:
Hi that seems perfect thank you! Am downloading now. So flash this via odin then flash Siyah right? How hard was it to learn to repackage? Replace the speed mod kernel with the Siyah zimage and we have my perfect file to flash! I guess this means replacing files in a .tar with other does not cause any risks (assuming kernel etc are valid)? Does odin just flash all the files in the .tar even if they are not stock? I guess that's how intratech's Frankenstein builds work.

I have looked around and I can't seem to find a guide on how to repackage these files. Will simply extracting and then putting them in a new tar archive work? Or do I need to use android/samsung specific software? Thanks for posting the link btw :)
[Galaxy S II General] cpl.Bower:
Didnt knew that was out. And according to them "no CAP_ERASE, no hardbrick". So, seems like is safe.
[Galaxy S II General] leongohan:
I agree with you. About Siyah Kernel 4.0.1. For me it was unstable with [XWLPT][ICS][4.0.4] Odexed & Fully Deodexed Stock Rom 4.0.4 by WanamLite. It hangs up without any reason, I tried to search with catlog, but It didn't give problem.

Now I changed to speedmod K31 and it's working fine.
[Galaxy S II General] igos2:
Is there realy absolutly no chance of hardbrick when one LPT & siyah or speedmod kernel ? I meen, once kernel changed, its realy 1000% safe on a device with insane chip ?
[Galaxy S II General] hakaz:
Basics are not that miracle and assuming you are on Windows:

1. Extract the ROM-tar to a directory of your choice (most zip/unzip programs can do). If it's tar.md5 then just kill the .md5 extension so .tar will remain.

2. Extract the safe kernel-tar of your choice the same way (e.g. Siyah) and replace the stock zImage file in the ROM-directory with the safe kernel file.

3. For repacking you have to download and use tar.exe for Windows. Just copy tar.exe and related files into the ROM-directory and execute in a command window:

tar.exe -c -b8 boot.bin cache.img data.img factoryfs.img hidden.img modem.bin param.lfs Sbl.bin zImage >> newROM.tar

You are done and Odin will accept the new firmware package! Enjoy ...

Note 1: Odin accepts the new package as long as the .tar format is correct - means there is no interior file check.

Note 2: If you want to .md5 the firmware package under Windows the whole process will become more complicated because of *unix*-style files have different line endings (called LineFeed) opposing the Windows version (using CarriageReturn+LineFeed) where Odin will accept the *unix*-style only. I do these corrections manually using a hexeditor and deleting the CarriageReturn characters in the .tar.md5 file which can be created by md5.exe you have to download too (md5.exe -l newROM.tar >> newROM.tar and rename the file .tar.md5 then).
[Galaxy S II General] leongohan:
The bug is in the kernel. If you change the kernel, you don't have that problem.

Then there's the problem to find a kernel that's working well with new 4.0.4 Android :D
[Galaxy S II General] egps2:
I have used up all my thanks today sorry! But that k you so much for that guide. This is exactly what I wanted to know! One last question (your massive patience is appreciated!) If I make a mistake will Odin ignore the file? I hope so! also, if I don't include a kernel could I just flash it and keep my current kernel?

When I get home I will flash your rom anyway for the all in one gb bootloader and speedmod kernel which I want to test for the screen sharpening fix :)

Thanks again to everyone in helping me with this and maybe avoiding a brick!
[Galaxy S II General] hakaz:
Odin checks the .tar format (as mentioned before). If any of the binaries inside is damaged or incorrect then it may happen that Odin refuses to flash this particular file (at best) or flashes it anyway (at worst) depending on file type and kind of damage/incorrectness. Sorry mate no better prediction possible. Leaving out some files like kernel won't stop Odin flashing the remaining ones inside the .tar archive (you do flash the kernel alone too don´t you?). Hope that helps. :cowboy:
[Galaxy S II General] tylerdurden83:
siyah has been recompiled from update 7 sources and works just fine now, no camera and bluetooth fixes needed
[Galaxy S II General] egps2:
Hey thanks as always for your reply! You have been extremely helpful and I flashed your repackaged rom and it works perfectly! I flashed Siyah after playing with K3-30 but based on what you said I might just repackage the updates to have NO kernel and then I can keep Siyah without having to re flash it later, true? It would flash the rom and leave the old (Siyah) but with the new firmware. And thanks for your explanation, I think I understand it a bit better now and I have the firmware and kernel I want now without a brick!

Have a fantastic day!
[Galaxy S II General] vijitvidya007:
[help]i9100g

.....................................................................................................................................

hii

i recently rooted my I9100G,installed ROM manager and did a current rom backup.

I then installed cm9 Rc2 on it..

now how can i restore the backup ROM that I created..

I know about Nandroid restore but people say that it can HARDBRICK your phone..

please help how can i go back to 4.0.3 from 4.0.4..

I was using 4.0.3 xxlpq ..

Help will be appreciated .....

PLEASE HELP..

VJ
[Galaxy S II General] DaReDeViL:
Please be careful AND just follow the op instructions about downgrading !
[Galaxy S II General] hawkn:
Yey, today I got my S2 back from the service center after an almost endless argument with them, have installed it with new rom and siyah kernel, dual-boot with JB rom :)

Still a little fuzzed about something though, emmc bug checker says NO! Sane Chip, and it is from 03/2012 type: VIS00M FW: 0x09

What I'm not sure about is wether I can flash 4.0.4 without risking a brick....again.

Tried reading and searching, but found nothing else than others asking the same. :confused:
[Galaxy S II General] mubeenshahid:
Better to flash wanamlite XWLPT .It comes with speedmod kernal so theres no risk.I am also running this and in emmc brickbug app shows insane chip:o
[Galaxy S II General] bombaybadboy:
What does chain fires brick bug app say about your chip. Personally I don't think emmc check apk can read the newer chips
[Galaxy S II General] hawkn:
it says i have a sane chip.

Sent using stoneage tablet tools.
[Galaxy S II General] bombaybadboy:
So you tried apk in this thread and it says its OK. Then I guess it is, chain fire has a lot more understanding of the problem than I do
[Galaxy S II General] urine:
which roms are 4.0.4 based?
[Galaxy S II General] bluefa1con:
CM kernels are safe

Better stay on cm
[Galaxy S II General] vijitvidya007:
Thanx

....................................................................................

Thanx ,but even someday if i want to remove cm9 can I do a nandroid restore????
[Galaxy S II General] mjc506:
g'morning

I've been running Resurrection Remix over the past few months with no issues, but yesterday upgraded to 3.0.4 from 3.0.3, with one of the latest Siyah kernels. When restoring backups from Titanium, something in there screwed my statusbar, so I decided to factory reset and try again (restoring fewer bits)

Clicked 'factory reset' within the rom (not CWM), the phone paused for a few seconds, then turned off. No more life :( hangs at the 'Samsung Galaxy S2' screen.

Got it home and plugged it all in. I can't boot, it won't display that it's charging, and I can't get into recover. I can get into download mode. Right, boot up Odin, and try to flash a stock rom... failed!

With a bit more playing, I can flash any S2 kernel, I can flash .pit, but as soon as I try to flash boot.bin, odin fails, and I have to pull the battery and re-enter d/l mode before I can try anything again.

I think those symptoms indicate I have this hardbrick issue :(

My warranty runs out in the next few days, so I need to get it to a service center asap, but of course I now have a number of kernel flashes showing up from Odin, with the accompanying yellow triangle... I'm gonna try putting together a usb jig today. Anything else I can try? I guess the mainboard's toast anyway, so another option would be to munge the thing enough that d/l mode doesn't even work... is this possible?

Thanks for your help guys :)
[Galaxy S II General] hawkn:
Oh, you can try installing siyah kernel 3.5.2 or newer, and CWM 5.5, you might be able to enter recovery mode as well, but you'll probably be best off using usb jig to reset the phone and take it to the service center.

Sounds like hard brick, and jtag unrecoverable. :(

I had the same fail, but it stalled at writing data.img in odin mode.
[Galaxy S II General] bombaybadboy:
Your not in the right thread. Download GB firmware and try to Odin flash with pit. Plus you can get out of download mode by holding power button for about 8 seconds instead of removing battery.
[Galaxy S II General] jadiman2000:
I had my I9100 rooted with Chain-fire on Android 4.0.3 (Samsung stock Rom), updated via Kies to android 4.0.4 (Stock everything) and lost the root.

Now my question is, is it safe to factory reset the phone from settings or Samsung stock recovery or with reset code ??

Running Samsung official android 4.0.4 with stock kernel.
[Galaxy S II General] mjc506:
Fair enough, is this not a LQ5 related emmc bug?

Thanks for the tip about leaving d/l mode, obviously not played with it enough :) I've got a few different firmwares (GB included), but Odin fails at the first write that isn't pit or zImage. :(

USB jig and service center for me I think:(
[Galaxy S II General] Dragonalvaro:
Today, I tried to make a backup with CMW and get stuck when was saving the data folder... Then, I tried to do a wipe data because I wanted to install CM9 and I thought that this brick only happends on LQ5

I have ICS LQ6 and when I tried to do the wipe, it get stuck on formatting data. I can enter on recovery and download mode.

¿What should I do? Reflash 4.0.4? or 4.0.3?
[Galaxy S II General] bombaybadboy:
If you was using siyah kernel that could be the problem but if you can get into DL mode and still can charge it then good chance its a soft brick. I have heard one story before about siyah kernel soft bricking once before and they may have some advice on that thread. Have you flashed with Odin before on PC your trying to use now. Just making sure you have correct drivers etc. I personally have trouble using Odin on my laptop on windows 7 but my PC on xp has no problems.
[Galaxy S II General] hawkn:
Read, 1.st post, and then read it again ;)

Actually confirmed firmwares having the emmc bug :

XXLQ5/6/7/B - ZCLPL - XWLPM - XWLPO - XWLPT - MUGLD3‎(?)

---------- Post added at 11:10 AM ---------- Previous post was at 11:08 AM ----------

I got mine bricked with the emmc bug, could enter download mode without problems, sometimes recovery and stuck on s2 logo, it also charged the phone but still, could not be fixed with jtag or oding mode or anything else.

Got the mb swapped with the service center.
[Galaxy S II General] Dragonalvaro:
When I read it, It was saying that is a problem with ONLY LQ5.

I tried to reflash with odin to 4.0.3 -> It doesn't boot. Stuck on wipe data recovery

Flashed Siyah kernell -> It doesn't boot. Stuck on wipe data (recovery)

Trying to flash another 4.0.3 with re-partition -> stuck on <ID:0/014> data.img

So... I have a soft brick... Any ideas to restore/fix the dammit /data folder?
[Galaxy S II General] hawkn:
When i got the brick I tried several pit files since the brick was a fact, several flashes with different roms and kernels, endless combos with all these, and nothing got me closer to unbricking the phone.

I also saw several jtag'ing people saying that the brick was to severe to be fixed with jtag.

So I ended up sending the phone to the service center, they swapped the MB and bottom card with chusb and charging circuits.
[Galaxy S II General] Dragonalvaro:
Damn...I supose that my guarantee is void... So... how much can it cost? Can I save and wipe my personal data? (photos, save games.. etc) how?

I dont belive that it is so hard to fix :(
[Galaxy S II General] hawkn:
What I did was flashing a GB pit file, that means it should repartition and delete all data (unless I'm mistaken)

Then I used my dear usb jig to reset counter and the next day I sent it to the service center.

These two was done after all my trial and errors trying to recover the phone.

Because of this brick, when you flash a 1-file stock rom without root and cwm, you also use a pit file, everything on the phone should be gone (it was on my phone) and they cannot in any way claim that it has been rooted or used with CWM as far as I know.

And IF you take the phone to a service center, tell them it died after using factory reset from within the os because of error messages after upgrading with kies, I did, and made them try the odin flashing, they got the same error I got and at the end I got the phone fixed :) (they claimed water damage but that was BS.)
[Galaxy S II General] Darkmind1:
Regarding the brickbug found on Galaxy S2 and Galaxy Note, I found these threads and thought I should post them here. Hopefully they will help:

http://xdaforums.com/showpost.php?p=27074278&postcount=69

http://xdaforums.com/showpost.php?p=27014974&postcount=1
[Galaxy S II General] Dragonalvaro:
It's alive!!

I follow these steps and my SGS2 booted again!

http://xdaforums.com/showthread.php?t=1760107
[Galaxy S II General] hawkn:
Good for you :)

How much int.sd space did you loose?

I also tried that but id did nothing for me.

Sent using stoneage tablet tools.
[Galaxy S II General] mjc506:
arsebiscuits. The usb jig doesn't even turn the thing on, let alone reset the flash counter. :( actually, that sort of makes sense, since I have no bootloader right now...

so I have a flash counter of 8, which I'm sure means that my warranty won't be honoured :( :( are there any other options I haven't thought of yet? Is there a way to destroy the download mode? (so the flash count can't be read?) or another way to reset the flash counter?
[Galaxy S II General] bombaybadboy:
Only triangle away app but that's for unbricked devices
[Galaxy S II General] mr_zuff:
Hi all!! :) i'm new here in s2 thread :)

please answer me, only you guys can help me!

i updated my sgs2 to ics 4.0.4 version XXLQB 'couse 4.0.3 was unusable..

anyway, now i understand the risk on staying with this stock kernel and i want to change,even to try some custom rom's.

my quest is: can i just flash an older firmware via Odin (like XWLPO) and then use chainfire or siyah kernel for cwm?

or i have to change kernel now and then go back to an older firmware?

thanks for the help guys!! :D
[Galaxy S II General] EhsanCh:
My I9100 breacked aftter wipe data via temprary CWM.

now it dont show anything but black screen. i found that when i insert battery it warm up. but nothin apeear and nothing happen when i push power button.

is it repairable by JTAG or JIG cable ?
[Galaxy S II General] nba:
It happen to me also, same symptoms. Try jtag recovery with no luck. Give up and already bought a s3 :(
[Galaxy S II General] hakaz:
Both of you hit the jackpot! You are hardbricked now. The symptoms like warming up around the camera/black screen/no battery loading etc. are well described around here in the forum. Sorry for you guys! Replacing the mb is the cure, @EhsanCh: hope you're still under warranty.