yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] It_ler:
You can use Check Fus Downloader (=> http://fus.nanzen.se/) to find and download latest officially released firmware for your phone in your region.

In this ROM file, there is the Hidden and Cache part (which is together the CSC).

If you are rooted, you can use Mobile Odin app to flash just these two parts to change the CSC.
[Galaxy S II General] cicciocant:
Why "remove "-H ustar""?

How Can I split a 1 file tar ROM in a 3 file TAR ROM?
[Galaxy S II General] r3dpuma:
Lets assume that somebody (my brother) installed a rom via odin without checking the kernel version, and now the phone is stuck in a boot loop, how do i fix it now, since i dont know the kernel version and i cant get the phone booted to check it. Can i fresh install it? The phone was bought online as international verison, a year ago, since then it had many rom etc, i`m from Romania at the moment. Thank you
[Galaxy S II General] r3dpuma:
Lets assume that somebody (my brother) installed a rom via odin without checking the kernel version, and now the phone is stuck in a boot loop, how do i fix it now, since i dont know the kernel version and i cant get the phone booted to check it. Can i fresh install it? The phone was bought online as international verison, a year ago, since then it had many rom etc, i`m from Romania at the moment. Thank you

Soryy my internet went bonanza end multi posted...i cand find the delete option.
[Galaxy S II General] It_ler:
Yes, start in download mode and flash a new ROM with Odin as described in the first post.

If you got still boot loops, start into recovery mode (press Volume up + Home + Power till recovery menu appears), and do a factory reset/wipe data.

Then flash the ROM again.

Good luck.
[Galaxy S II General] crypticc:
Check out portal rom in regular (non original) development. That has probably the extras to keep you happy if you want mostly stock
[Galaxy S II General] Tungstwenty:
The tar files for use in Odin should include the "-H ustar" option.

Anyway, instead of creating tar files and splitting stuff, the easiest way to combine whatever you want is to flash with Mobile ODIN (just search for its thread).

The only thing it won't flash is the Primary and Secondary boot loaders, which *if* you want to update you can create a .tar (in the ustar format) containing only those filess and flash it using PC Odin.

For the ROM itself - System, Modem, Param, Cache+Hidden (CSC), etc. - just use Mobile Odin and you can even select each piece from different source files, or skip some of them if you want to keep what you want. Example: you can keep your current kernel even if the package you're using contains a kernel inside.
[Galaxy S II General] ginloin:
Great. That's exactly what I wanted to know. I like the idea of trying different ROMs and stuff but baby steps to begin with. All I want for now is to have a rooted phone with some tweaks and to carry on as usual. I had just read somewhere (I think in some app in the Android Market) that if you delete stock apps then you can't run official updates any more, so it's a relief to hear that's not the case.
[Galaxy S II General] total360:
I'm hosting all the kernels at the moment, Rom's when I'm back from my sisters wedding.
[Galaxy S II General] gogua:
Thank you so much for your help.

He tell us he can flash, i don't understand why he hasn't tick re-partition.

bye
[Galaxy S II General] justbenice:
Anyone have tried KE8 ? Anything better in this kernel ?
[Galaxy S II General] chrisjcks:
hi guys,

just recieved delivery of my Galaxy 2, but it has a t-mobile boot screen (GINGERBREAD.BOKE3) and im on orange so id prefer to install a firmware (the latest of course) that doesnt have any network related information on.

Im in the UK so would like the UK unbranded version, which is it?

and am i right in thinking i use the same methods as the galaxy 1, odin 1.3+download mode etc etc
[Galaxy S II General] gorko122:
You can use the XEU Version.
[Galaxy S II General] JJEgan:
Same formula as .

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

jje
[Galaxy S II General] cyberwarfare:
how would u unroot ???
[Galaxy S II General] chrisjcks:
cheers fella, worked a peach.

now for root, how?
[Galaxy S II General] clovek1:
just flash any official firmware and you loose the root.
[Galaxy S II General] co.ag.2005:
check the OP, or this

http://xdaforums.com/showthread.php?t=1056334
[Galaxy S II General] chrisjcks:
Holy crap, quadrant scores are awesome.

3567?

I cant believe this is stock, no lagfix or custom rom/kernels

Im amazed!!!
[Galaxy S II General] ithehappy:
Hi,

Is there any user who is having firmware XWKE8 and successfully rooted his/her phone by the method stated on the first page of this post or by any method for that matter?
[Galaxy S II General] walkergeri:
sure, its working fine :) i rooted with cf kernel for KE8
[Galaxy S II General] vladleo:
Extra! Extra!

Hey!....just writing to give a heads up to Intratech that 2.3.4 is live for the SGS owners (info at samfirmware.com)...so Intratech and everybody be on the lookout for the SGS2....i'm sure is not far behind
[Galaxy S II General] ithehappy:
Can you kindly mention what method you followed? I have tried the same but can't root it.
[Galaxy S II General] jtc42:
So am I right in thinking that the only way to uninstall the hubs apps and stuff is to root?

And rooting voids the warranty? And it also runs up a counter so simply flashing back to stock kernel doesnt help if it needs sending for repairs?

.... Dayum >.<
[Galaxy S II General] walkergeri:
1. Take the right kernel of the third post here: http://xdaforums.com/showthread.php?t=1103399

2. Reboot your phone to download mode.

To get download mode shut down the device. After it shuts off completely simultaneously press the Down volume key+ Home button + press the power button .

You should see a warning asking you to press volume up if you want to continue or volume down to cancel, press volume up. You are now in download mode!

3. Start Odin

4. Click on the PDA button and browse to the .tar file that you extracted in step 1

the describtion is in the first post, just follow...
[Galaxy S II General] Intratech:
Yeah, I knew the minute that came out and it wasn't from Samfirmware at first but from someone else. Samfirmware got it afterwards. I have a good idea when KF1 will be released for us as well :)

You can follow the method in the first post of this thread using any insecure kernel or even simpler is flashing CF-ROOT. Look for the thread and read the instructions. Dead simple to follow.

Yeah, only way to uninstall the hubs and propriety apps is to root. Yeah rooting voids the warranty and runs up a counter but it's simple to un-root by flashing a stock firmware and the counter can be reset by simply inserting a USB Jig. Mine is at ZERO despite being rooted more times that some estate chicks.
[Galaxy S II General] ithehappy:
Thanks, I did it. But at the start of booting it is showing a Yellow triangle! Any way to remove it?
[Galaxy S II General] cicciocant:
Thank you.

But I want undersand Howe can I create the three tar files.

For I9000 there are many guide and script, for I9100 nothing.
[Galaxy S II General] Tungstwenty:
To create a package to be used by Odin you'll need to run these commands:

tar -H ustar -c file1 file2 ... > package_file.tar
md5sum -t package_file.tar >> package_file.tar
mv package_file.tar package_file.tar.md5

If you don't want to include a checksum in the end of the file, you can execute only the first one and have a ".tar" file instead of ".tar.md5", but if it will be for download over the web it's better if there's a checksum for Odin to recognize bad files.

The "file1 ..." entries you can place in the output tar files can be:

boot.bin - primary bootloader

Sbl.bin - secondary bootloader

param.lfs - logos and other boot stuff

zImage - kernel

factoryfs.img - the ROM "itself" (/system partition)

modem.bin - modem / baseband

cache.img and hidden.img - CSC files

You can split these in any way you like. Unless there's a good reason for it, you can usually strip out the first 3 entries (bootloaders + param.lfs).

If you want to have separate files for flashing a ROM you'd therefore include:

package1 (PDA): zImage + factoryfs.img (and optionally boot.bin, Sbl.bin and param.lfs)

package2 (Phone): modem.bin

package3 (CSC): cache.img + hidden.img
[Galaxy S II General] cicciocant:
THank you very much.

But there is some question

I analyzed two three files package

I9100XXLPH (4.0.3)

I9100XXLQ5 (4.0.4)

both have this division:

CODE: boot.bin, cache.img, data.img, factoryfs.img, hidden.img, param.fls, sbl.bin, zImage

MODEM: modem.bin

CSC: cache.img

Questions:

1) THere are two cache.img. One in CODE and one in CSC THe one in CODE is the same for LPH and LQ5. Why?

2) YOu say hidden.img is in CSC. In this pacakages is in CODE. Is the same?

3) data.img (whay is?) ia different in LPH e LQ5. ?!??!?
[Galaxy S II General] Tungstwenty:
1) I don't know exactly why, but you should consider the one in the CSC and disregard the other. In particular for the LQ5 package, the separate one is in a file called "...MULTI-CSC..." and it's bigger, so you can use that one and then choose the CSC entry you want (search the forum for the *#... code where you also need to insert your IMEI)

2) I said it's part of the CSC because it contains additional apps that are preloaded / installed on the first boot, and it often contains branded stuff specific to each operator. In this case it might not contain anything for an operator, since it's unbranded, but generally you should fetch both cache.img and hidden.img from any CSC package you want, and use that in combination with a base ROM.

3) I didn't remember to mention data.img. When it exists, it will wipe your configuration (/data partition) and provide initial contents for it. I guess this one is a wipe ROM, i.e., it's best if you back up your stuff and flash with a data.img (include it in the PDA package).

BTW, if you're looking at 4.0.4, I think you'd rather go for XWLPT instead of LQ5, since LQ5 was a leak (not an official release) and LPT is the newest.

In conclusion, create:

- PDA with factoryfs.img, data.img (flash will wipe your settings), zImage, boot.bin, sbl.bin, param.fls

- PHONE with modem.bin

- CSC with hidden.img and cache.img (the one from CSC) - and these can come from any other 4.0.4 ROM, or be the ones from XWLPT
[Galaxy S II General] cicciocant:
You are great.

Thank you very much.Now I undertsand
[Galaxy S II General] mbevc1:
Nice info, do you happen to know how to repack .img files? I found way to unpack sparse ext4 bu repacking is a problem and it does not work :(

flash addicts, anyone tried new Czech XWLPU? ;)
[Galaxy S II General] It_ler:
Yes, tried XWLPU and compared it to other stock ROMs (such as XWLPT) in my kernel/ROM test thread => http://xdaforums.com/showthread.php?p=26775950

It is stable, smooth, everything seems to work fine ... but I restored my previous system with XWLPT, as this has a little bit better battery life than XWLPU on my phone with my normal usage.
[Galaxy S II General] Tungstwenty:
I never tried repacking, but it is explained in this thread: http://xdaforums.com/showthread.php?t=1081239

Did you try following those steps?

IIRC that's the tool I used to look at the contents of the roms without flashing them.
[Galaxy S II General] mbevc1:
Tried them and with little success...it repacks but files are no longer flashable and also different size from original (even if just repacking and not changinh anything). Any idea? Thanks!
[Galaxy S II General] Tungstwenty:
What command did you use for recreating the sparse file?

I tried the following on linux:

- simg2img hidden.img hidden.ext4

- got hidden.ext4 with 512Mb

- mounted it with "mount -o loop hidden.ext4 <existing_empty_dir>"

- then created a new folder inside the dir where it was mounted

- finally ran "make_ext4fs -s -l512M new_hidden.img <mounted_dir>/"

This produced a file pretty similar to the original one, with just slightly over 4kb more (I assume 1 block + the overhead of its entry in the sparse format).

I didn't have a change to flash this, but am guessing the output file makes sense.

Did you have similar results? Did you also use the same command for recreating the img files?

Oh, and if I don't change anything, I get a file with the exact same file size.

The contents will not be 100% identical, though - there are 46 changed bytes between the ~100Mb file; I'm assuming it might have something to do with embedded timestamps.
[Galaxy S II General] khrone:
If on custom roms with a specific csc and usual tweaks on it you change the csc pack, do you lose the tweaks and such? Basically asking can i change the csc from zeu to nee for example and still have the tweaks.
[Galaxy S II General] mbevc1:
Well did you try to flash that img and it wokred? I am just interested in removing boatware from hidden and cache ;)
[Galaxy S II General] Tungstwenty:
No I didn't. I guess I'll try it out whenever I update my stock image, or if I have the time to do the test only by itself. I'll let you know.

I assume you tried it in the way I mentioned and it didn't work?
[Galaxy S II General] mbevc1:
Nom it did not...failed during flash. Please let me know, thanks.
[Galaxy S II General] cocchiararo:
i notcied that no more roms have appeared on this thread.

I now run a Galaxy Nexus, but i gave my sgs2 to my brother, and i used to come here to update his phone, but no longer can :p

I saw 4.0.4 versions arround, but i always used roms from this thread with the old bootloader.
[Galaxy S II General] shingo86:
Use check fus to download rom n triangle away to clear counter or flash the old bootloader in this thread n use usb jig to clear counter.
[Galaxy S II General] It_ler:
Alternatively (to Check Fus Downloader) have a look here for latest official stock ROMs => http://xdaforums.com/showthread.php?t=1544487

If the phone is already rooted, you can use Mobile Odin app from Chainfire to flash the latest stock ROM to the phone, and replace the stock kernel by another (rooted) one, such as corresponding CF-Root kernel.

Mobile Odin app will flash without the yellow triangle and without incrementing the flash counter.
[Galaxy S II General] shaunnicho:
Hi I was wondering if anyone can send me a link to xwlpt kernel as I can't find it anywhere. Thanks in advance :)
[Galaxy S II General] It_ler:
Have a look here => http://xdaforums.com/showthread.php?p=23562857
[Galaxy S II General] drmulchandani:
I can't seem to download the official GB firmware India edition from any of the links on deposit files and multiupload. I need to move down from ICS to GB. Any way I can get an odin flashable file to be able to do so.

Thanks
[Galaxy S II General] muztaki:
this thread helped a lot...

thank u so much!!!
[Galaxy S II General] satanazh:
Thanks a lot :victory:
[Galaxy S II General] mbevc1:
Hi. my exchange account has stopped sycing anything else than e-mail. Anybody has this problem. I am on XWLPU and wondering if this is this ROM specific? :(
[Galaxy S II General] Shuvo_bd:
XWKL1

Firmware info

PDA:XWKL1

PHONE: DDKL1

Date: 13/12/2011

Android 2.3.6

INU (India): http://www.multiupload.com/7K8FL86IEQ

XWKL1 Stock Kernel: http://www.multiupload.com/LSO4P572C9

Password: intratech@XDA

the file is removed, can anybody provide working link, i have downloaded the firmware from another site, but my contacts r not showing up and i cant restore my backup contact through Kies either, it hangs after 99 percent restoring. dont know why im not able to see my contact, its in the sim card but not showing after i flash the firmware via odin. plz help.
[Galaxy S II General] It_ler:
Have a look at SamMobile.com => http://www.sammobile.com/firmware/?page=3&model=GT-I9100&pcode=INU&os=1&type=1#firmware

There I can see and download XWKL1 (and XWLP7) for India.

Good luck !
[Galaxy S II General] mbevc1:
To answer myself :) - it was LPU problem...with latest XWLPX it is back to normal :D
[Galaxy S II General] Shuvo_bd:
Dowloaded and flashed, but still no contacts on contact menu, asks to add an account or import contact, i select import from sim, then a search box comes up, but no contact listed. why im having this problem, anybody plz help.
[Galaxy S II General] It_ler:
I have all my contacts saved as Google contacts in my Google account.

So I only have to check my Google acoount and sync contacts.

I don't know what the problem is on your phone.

Maybe your contacts were only stored locally in the phone and were deleted by a wipe?!
[Galaxy S II General] BorgCymru:
Not many phones save contacts to SIM now, They don't hold enough. You can set that with a SIM Manager. But most phones use internal saving. I also use Google to save mine.
[Galaxy S II General] sianzb0i:
I dunno why do u even need to import contact. I also store contacts on sim. Whenever i slot my sim in, to any phone, it will just load the contacts. Try ur sim on another phone to make sure ur sim is working fine or not empty

Sent from my GT-I9100
[Galaxy S II General] digi_fort:
Nope AFAIK google sync's all contacts be it skype, facebook, phone or google itself only if you have synced the contacts at least once with it and have contacts syncing enabled in the Accounts. Also as soon as you add google account after a new install it'll sync and update your contacts only thing is if you already have contacts on your phone meaning import it from sdcard (Yes there is an option to export your contacts to sdcard and import it in an new wiped install -> just go to phone book and there is an option to export contacts in phonebook settings) or restore it via TB or My Backup type apps you will have contacts duplicity since the phone does not realize it's the same contacts if it's from 2 seperate sources.
[Galaxy S II General] hirak99:
Anyone knows why this page does not have 4.0.4 ROMs? Is it because there's some issue with 4.0.4?
[Galaxy S II General] Phil3759:
No, just that OP left the S2 for the S3
[Galaxy S II General] hirak99:
Cool then, I will install XWLPX
[Galaxy S II General] Phil3759:
Take care about the superbrick bug

If you do not know what is it, do not flash, read and know before, you are warned

For a safe stock kernel, look in my signature: PhilZ-cwm6 kernel
[Galaxy S II General] liquidsnake.hitman:
Can anyone please tell me what version of the old bootloader i have to install to reset the flash counter?? I am from India.

Thank You
[Galaxy S II General] doongoo:
On ICS use TriangleAway.apk instead of JIG. In this case you don't need the old bootloader
[Galaxy S II General] user109:
Hi Intratech, the DXKL3 links are dead.. Any working links? Thx :)
[Galaxy S II General] Tungstwenty:
Here's the old version of the bootloader if you prefer to use the JIG instead of TriangleAway.

Afterwards, you should probably flash again the current one from your stock rom (you can strip everything else from the tar in order not to replace anything else).

One of the things that happens if you keep running the old bootloader is not seeing the serial number in the About screen; I don't know if there are any other effects.
[Galaxy S II General] user109:
Hi, does anyone has working links for complete DXKL3? :D

** Edit: ignore this, I found what I want at androidfirmwares.net.
[Galaxy S II General] Codename_Falcon:
Hey all,

I have been working on a contract away from home for the past 6 months and couldn't flash any current ROMs on my phone since. I am still running 2.3.6 XWLA4 and would like to go straight to one of the current 4.0.4 ROM's. Ive been doing some reading and noticed that the flash process isn't the same because of a bug in the kernel on these new ROM's. Can anyone suggest a current ROM that runs just as well, if not better than my current ROM? Also what should I do to maintin a stock kernel? I don't want to be booting with a yellow triangle all the time. Thanks!
[Galaxy S II General] Siberian Tiger:
If you are rooted you can flash a custom 4.0.4 rom. If you want to flash stock try LPX 4.0.4 root it with a safe kernel like siyah or philz and then use triangle away from CF and no more triangle ;)
[Galaxy S II General] Codename_Falcon:
Thanks for the information about Triangle Away. I was just reading the disclaimer that ChainFire wrote out and I really don't feel comfortable using it. It seems it may brick the phone. Would I be ok if I flashed a 4.0.3 kernel on top of the 4.0.4 ROM?
[Galaxy S II General] TG09:
I don't know if I have done it correctly.

I put the latest Siyah on mine, then Dream Kernal, then Senstation ROM. I have the Yellow Triangle on it now.

Ordered a USB jig to get rid of it, unless there is another way to do it.

Apart from that it is running fine.

Can reboot in to Siyah Recovery fine.
[Galaxy S II General] Phil3759:
Triangle away by Chainfire will fix it

JIG won't work with a new bootloader, you need an older one
[Galaxy S II General] TG09:
So just live with it, until Chainfire fix it.

Otherwise put on a different bootloader, what version?
[Galaxy S II General] kokoskokis544:
xxkg1 links dead

can someone please reupload the xxkg1 firmware?? thanks in advance
[Galaxy S II General] bumenoo:
DXKI2 broken

DXKI2

Firmware info

PDA:DXKI2

PHONE: DXKI1

Date: 08/09/2011

Android 2.3.3

OLC MultiCSC (MM1, GLB, SMA, XTE, XME, SIN, STH,THL, XSP, XXV, XEV, XSE, XTC):http://www.multiupload.com/J6QN87JW4S

DXKI2 Stock Kernel:http://www.multiupload.com/5PD9N57B0K

Password: intratech@XDA

Link dead.. re-upload please.. Thanks :o
[Galaxy S II General] thugzie:
Back to stock - service

Hey :)

can someone help me and tell me how I can get back to stock firmware (I need to because I need to send back sgs2 to service). Right now i am using MIUI rom and there are plenty of trash on the internal SD card. Can I just delete all the files from it and then flash stock firmware and kernel with odin? is it enough? how to delete all private data (passwords etc) from it so the service guy couldnt copy it?

I would be grateful for help.
[Galaxy S II General] digi_fort:
Just flash any old Indian (2.3.4 XWKF3/2.3.6 XWKL1/4.0.3 XXLPQ) firmware via odin via tar file and you are good. If you want you can wipe the memory Internal SD Card simply from the memory section in settings. That'll wipe all content apps & storage media etc. Don't delete any folder you are not sure of. I'd recommend doing a wipe via memory settings. It'll also clear the junk you spoke off unnecessary leftover files from app installs etc.Also do a factory reset. I believe whatever problem do you have (barring hardware) will get resolved through these 2 steps.
[Galaxy S II General] adilliano:
look i have understand we have to put these file in odin but tell me what to do with stock kernel?we have to flash it?or what to do with that?and also tell me after i do with odin?will kernel be with that?kindly help me.i wanna go back to 2.3.6 from 4.0.3.
[Galaxy S II General] CamoGeko:
So you don't know how to follow instructions??

Kernel is included within the TAR.
[Galaxy S II General] muzzyx:
Im looking for a modem to use in turkey... any advice?
[Galaxy S II General] adilliano:
then why the stock kernel is given and Indian (INU) and Pakistani (Pak) link is not working.file has been removed.
[Galaxy S II General] shubhkirtisharma:
Help for firmware

Can anyone help me by telling which one should should i use on my SGS2 i9100 because accidently i have done somthing to my phone so that neither it boots nor gets into CWM, it can only go into Downloading Mode so i need a firmware for it... Also i'm a bit confused about the firmware version (like XXLPQ or something like that) PL PL PL HELP:crying::crying::crying::crying:
[Galaxy S II General] It_ler:
Just download and flash latest stock ROM ... either XWLPF from this thread or XWLPX from here => http://xdaforums.com/showthread.php?t=1544487

Stick to the description from first post.

Flash the ROM tar/md5 file in PDA section of Odin to your phone in download mode ... be sure that no KIES process is runing on your PC while flashing.

Good luck !