yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] mattsday:
Using heimdall to flash instead of Odin

Edit: To clarify, this information is for those stuck on the Samsung screen or that want to flash without using Windows.

Just a note for those having problems with 20120319 and 20120320 builds and don't have Windows to use Odin, but do have Linux or Mac OS X.

Posting it here because heimdall always scared me and I had to use a friends machine for Odin in the past.

Step 1. Download Heimdall:

http://www.glassechidna.com.au/products/heimdall/

Step 2. Download the XXKP2 bootloader from:

http://t.co/mhbp7q8Z

Step 3. Open a terminal window and CD to your downloads folder:

cd ~/Downloads

Step 4. Untar the file:

tar xvf I9100_APBOOT_I9100XXKP2_CL17109_REV02_eng_mid_ship.tar.md5

Step 5. Put your phone in download mode

Put your phone in Odin Mode (turn off, hold down power, home and volume down... wait until screen gives you stern warning and press volume up). Plug it in to your computer.

Step 5. Flash the new bootloader

heimdall flash --param param.lfs --primary-boot boot.bin --secondary-boot Sbl.bin

This will then flash the new bootloader without having to install/buy Windows and enable you to load the new images!

You can also flash resurrection this way if you like. Download it here:

http://codeworkx.de/download/cyanogenmod/galaxys2/cm-9-20120318-ODIN-galaxys2.tar

Step 1. Untar it:

tar xvf cm-9-20120318-ODIN-galaxys2.tar

Put your phone in Download mode as per step 5 above.

Step 2. Flash it all

heimdall flash --data data.img --factoryfs factoryfs.img --kernel zImage --modem modem.bin

I've done this quite a few times successfully on both Linux and Mac OS X. Just thought I'd share it for those not willing/able to use Odin :).

Because I don't think this does as much checking as Odin, you should probably check the md5 hashes before doing this.

Modem:

MD5 (boot.bin) = 0d1189bfbd1e9e41e9d43ca3ca37e0b0
MD5 (Sbl.bin) = 380e83010a3b94fd7a825840f3375d21
MD5 (param.lfs) = f0711463130cd2ceb8babb1aba844082

Resurrection:

MD5 (data.img) = 197002e610cb205ec94f3460fb50350a
MD5 (factoryfs.img) = f2be6c4026970cf5747e01c20aea01c
MD5 (modem.bin) = d371c42f5f16ac78476ef0d0f9cadc79
MD5 (zImage) = cd93692007c2ba710f2863f695f190a2
[Galaxy S II General] Vaedryn:
Wipe cache / dalvik cache , this could be help Tethering will work but without guarantee.

SGS II Cyanogen Mod 9 Tapatalk
[Galaxy S II General] MrZammler:
You sir, rule.
[Galaxy S II General] ethanmars:
Thanks to you, devs and everyone here, the update was successful! =D

Yes the new boot is very polished n I liked it.
[Galaxy S II General] kcdcmd:
As a concept? No. But in reality? It'd never work. But this is going wayyyyyy off topic, haha.

Well, I haven't tried flashing 0319 or 0320 yet, I'm still on 0318 (pre-source release). I have tried flashing SiyahKernel though, and that doesn't work. Does that have any implications? Since I believe SiyahKernel was based on the new source release too.
[Galaxy S II General] codeworkx:
Not possible.

No Access, not at home.

And i really don't care. These are nightly / experimental builds.
[Galaxy S II General] annie42:
Just my opinion that i dont like the new boot animation. The google original one was real good and make you feel like original aokp

but well, I dont care about it, its just 5 sec when I turn my device on

MTP works perfectly :)
[Galaxy S II General] Goku80:
lol you Sir rule..maybe you should be called the NoobTerminator instead...Pure ****ing legend..Sorry about my language:p:D
[Galaxy S II General] spirouzbe:
Ill post my question here as well since its somehow related to CM9

original post : http://xdaforums.com/showthread.php?t=1557630

I've searched the web as well as the forum but i didn't find any solution and it seems i'm not the only one wanting to do that.

Is it possible to see hidden folders of internal sdcard through MTP ?

I really talk about hidden folder like ".android_secure", not the photos that aren't yet scanned by the media scanner service.

In my windows environment i already set the view all hidden files/folders as well as view system files.

If i have to change folders permissions through terminal what are the correct permissions i should put ?

Thanks for the help !!
[Galaxy S II General] NOWE:
The next nightly will come ... sooner or later.
[Galaxy S II General] spirouzbe:
Hoping that buildbot wont mess the sync again :D
[Galaxy S II General] Nomoi:
Glad to hear it!
[Galaxy S II General] SimboXXX:
Actually, I doubt you have to flash the bootloader, only - maybe - if the wanam rom was flashed with Odin. Just try a straight flash and if you get bootloop, reboot into cwm and restore backup.
[Galaxy S II General] notentirelysure85:
Not sure if this feature specifically relates to CM9, I think it's a generic ICS thing. Anyone tried the "Encrypt Phone" feature under Settings>Security? Wondering if it's worth it as I work in a place where the chance of my phone going missing is pretty high. Just never noticed anyone mention this.
[Galaxy S II General] 0semaj0:
AOKP is a branch off CM9...CM have always had their own...somewhat tradition...
[Galaxy S II General] RagingHarry:
Just did a test/kang build here at home, mtp function is working perfect sees the GSII as GT-9100 (nearly immediately after connecting to usb) .

So it should be working properly then in the next nightly build for who it isn't working good now ;)
[Galaxy S II General] Projew:
Yeah, it was pretty awesome!

It would be nice to be rich, would've donated a fortune to the devs!
[Galaxy S II General] BurlaMatto:
Maybe a stupid question, but do i need to flash clockworkmod recovery (from rom manager) also if there's a working cwm-based recovery on?

Thanks :)
[Galaxy S II General] zaeem1992:
I don't see the new boot animation. I'm on 0320 build. What am I doing wrong?
[Galaxy S II General] melorib:
Asking instead of searching... :p
[Galaxy S II General] SimboXXX:
Don't like it, then change it, no problem:)
[Galaxy S II General] Nomoi:
You have a working version of CWM? No then you don't have to flash it from ROM manager.
[Galaxy S II General] Battletux:
I seem to be having issues with GPS not picking up any location data. Running official 0320 nightly after upgrading from the 0319 nightly.

Did full wipe of dalvik, data, and system before install (used rom manager to install and download). Are there any known issues/fixes for GPS on the nightlys?

Baseband is KI3. Going to give a newer one a go to see if it fixes the issue.

Prior to this I was running villainrom 3.
[Galaxy S II General] D79_:
wants to know that if ppl r lovin up the Nexus then why r u on a SGSII thread, (not includin codeworkx):confused:
[Galaxy S II General] zaeem1992:
You could have answered the question instead being an ass. Would've taken the same amount of time. Smh
[Galaxy S II General] digeddydogg:
Because we got out Sammys before gnex was released maybe. Maybe people liked the Sammy before they had a go on a gnex and changed their minds. Not everyone is going to buy a whole new phone for a few hundred just for the sake of it. Most users probs have their on a contract and can't change whenever they want. Not rocket science. You flogging a dead horse D79_.

rice and pea(ce)
[Galaxy S II General] jhernand1102:
Because some of us have both phones....:D
[Galaxy S II General] np231:
Flash the GPS_patch_CM9.zip attached in this post :)

http://xdaforums.com/showpost.php?p=23362667&postcount=11527
[Galaxy S II General] gabx:
I opened a thread [KERNEL][ROM][ICS][GT-I9100]Cross CM9/SiyahKernel issues at the below link :

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

This thread is to give voice to advanced and n00bs users with issues coming especially from a dual CM9/SyiahKernel configuration.

Most of the time their questions will be bounced from one thread to the other one when issues are not CM9 nor SyiahKernel specific, but only due to the combinaision of both. This area is a new place where to post these singular issues.

User tweaks or tips are welcome too.

[color=#ooBFFF]This is under no circumstances a thread where asking help for CM9 or SyiahKernel in general.[/color]

Before you post, please make sure the problem you encounter comes from this dual configuration, and do your best to keep it clean, practical and useful.

Hope it will serve the SGS2 community.
[Galaxy S II General] FordT:
And the other (more obvious) difference of the differing boot animations was on purpose?
[Galaxy S II General] Goku80:
ahh my fave person of the forums at the moment..the one who called me a mongoloid..feel so touched...but anyway just to add what you are saying, also people are loving the nexus after recommendations by codeworkx and co. plus it is not rocket science to figure out that having a pure google phone means better development and sources straight out of the box if i am not mistaken.

So as much as the s3 is enticing and tempting i will resist for a few good months yet till news of new nexus hopefully comes out

on a sidenote. do you guys thinking changing governors might help towards the scrolling issue in the latest nightly? not a big deal but wondered what someone might think about that
[Galaxy S II General] peterperfect:
Just to remember that anyone asking support for non CM kernel will be flamed.

http://xdaforums.com/showpost.php?p=23851844&postcount=14595
[Galaxy S II General] ethanmars:
Btw, is it just me or is the scrolling at the home screen and app drawer not so smooth anymore? I mean, sometimes when I swipe left, the screen went right. Sometimes the screen even acted like i didn't give it enough push (you know, like when the screen only move a lil bit).

Hmm, I didn't notice this on 18/3 though.
[Galaxy S II General] Vaxbox:
So what will your next phone be? HTC? Motorola? A Windows phone maybe?
[Galaxy S II General] bmw13fr:
THANKS !! now it works !! :)

I just need USB tethering and this roms is perfect lol
[Galaxy S II General] digeddydogg:
Haha! Sorry about that. I wasn't calling you one. I was saying that the slogan would imply a thread full of them.

Friends...pretty please....:p

rice and pea(ce)
[Galaxy S II General] Goku80:
sure friends it is:D :p
[Galaxy S II General] Nomoi:
Well you're not the only one as I've seen it mentioned before. I sure don't have that problem though. Scrolling is super smooth for me.
[Galaxy S II General] Projew:
GROUPHUG! :)
[Galaxy S II General] sahibunlimited:
So anyone noticed that the negative colour is back and working in settings app...
[Galaxy S II General] digeddydogg:
Hahahaha amazing. Que campfire songs...

rice and pea(ce)
[Galaxy S II General] gbohm:
of course the next nexus phone he has allready the galaxy nexus
[Galaxy S II General] gabx:
Lucky you are, as the flash didin't change anything for me.

Mapps will show my location only if I enable sources such as wifi or mobile network in the Location service menu. GPS satellites lonely enabled doesn't work
[Galaxy S II General] Nomoi:
I had pretty much already decided on my next phone being a nexus. Then I read it's rumoured LG is going to be making it. If that's true I'm going to have to seriously reconsider it.
[Galaxy S II General] chewable:
That should say bootloader instead of modem.
[Galaxy S II General] codeworkx:
i'm owning a nexus. next phone is far away. but will be a nexus too.
[Galaxy S II General] KSTu:
or sgs3 :D

---------- Post added at 04:38 PM ---------- Previous post was at 04:38 PM ----------

is safe to flash that bootloader via odin? or is better to keep GB?
[Galaxy S II General] gbohm:
he allready stated never samsung again (beside a samsung build nexus)
[Galaxy S II General] tulek:
I'm back on nightly from 18th of March just for that reason. Tried the recommended CPU governor settings. Even my live wallpaper was lagging.

So I'm back at a point there things worked pretty swell. Don't need the mtp.
[Galaxy S II General] mgprime.havoc:
I just hope codewrokx wont stop doing work on his sgs2 just yet. You're doing something good for the world here man. Keep up the good work. And yeah, f*ck all the crap sammy's been putting in it's phones.
[Galaxy S II General] melorib:
I am going to throw up :p

This is a million times worst than noobs :rolleyes:
[Galaxy S II General] digeddydogg:
Wet, wet, wet...

rice and pea(ce)
[Galaxy S II General] Vaedryn:
Send him enough lollipops and he will work like a machine;)

SGS II Cyanogen Mod 9 Tapatalk
[Galaxy S II General] alexnative:
Just because samsung is so crappy and codeworkx still making this ROM so perfect :rolleyes::p:D
[Galaxy S II General] NOWE:
And I hope no one will buy a Samsung phone ever again until Samsung changes its attitude and supports open source development.

Though I don't think they will give a **** about as most people still buy phones from their providers with even worse software on it.
[Galaxy S II General] runedrune:
He said he would send it back even if he does.
[Galaxy S II General] BurlaMatto:
Build posted by Codeworkx works better, mtp works ;), so next nightly will work for sure
[Galaxy S II General] odysseus84:
Ugly... with uglier TW. And even uglier...GB? O_o seams they go the same way as they did with the sgs2

no thanks... never samsung again!

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II General] ethanmars:
Wow.. Actually, I already applied the USB apk fix n it worked flawlessly before I updated to the latest nightly. Hmm, I guess in rare cases an update isn't always better than previous version. hehe
[Galaxy S II General] Kristion:
Lol, & do you really believe that it will actually look like in that photo? It is very likely that they will change touchwizz following HTC as they updated their sense interface. Luckily they are saved by their hardware and specs ,because on the software side they are rubbish.
[Galaxy S II General] bluefa1con:
keep working on gs2 i dont care if u go for gs3 we cant lose you :(
[Galaxy S II General] hIdd3N-:
Yeah buy a Samsung Galaxy Nexus... That'll teach em! :rolleyes: I mean seriously... we are the 1%, Samsung couldn't care less if there is a Mod Community building up around their Devices.

Y u ask? Cuz modding generates no profit! If you don't like capitalism get one of these.
[Galaxy S II General] pcboyy:
Would you please tell us what phone is catching your eyes in future? I might jump ship following you. HTC perhaps?
[Galaxy S II General] NOWE:
As I said: They'll give a **** about.
[Galaxy S II General] Mr.Raviteja:
OT: I'm in love with CM9 new boot animation.Can any one suggest a good music to match with it?...Sorry for OT
[Galaxy S II General] thracemerin:
MIUI is Samsung based, not AOSP based as it has been in the past, so things that work on Samsung ROMs and not CM9 will work on MIUI atm.
[Galaxy S II General] Nexu$:
Funniest thing ever is people pledge or dismiss a phone which does not exist. Plus, half of them swearing to boycott Samsung will buy the SGS3, cause 1) LG sucks or b)the specs are better, or c)the Nexus is not-what-they-expected...

CM team are jedi. The SGS2 will run vanilla ICS sooner or later. So will the next flagship whatever. Facts of life we should accept and just enjoy what we have today. I love my SGS2 running "nightly" or "unstable" CM9. I paid $0 for the device (company bought it for me), CM9 is free. My only cost for this nice experience are the money I sent for the CM servers couple of weeks ago. Money well spent.

Stop whining people, enjoy what you have today. ;)
[Galaxy S II General] TomZasd:
So, do I need to flash a bootloader if I haven't flashed one before to get 20120320 working? And also, what version of it has the new boot animation, the one on the Mirror Network?
[Galaxy S II General] annie42:
MTP doesn't work with Mac OS as I tested.

Anyone?
[Galaxy S II General] SimboXXX:
Lol, first, take your head out of codeworkx bottom. Second, look couple of pages back to where he already answered that question: a nexus. And no one knows who's making the next Nexus, but as Google now own Moto that wouldn't be surprising.
[Galaxy S II General] nilsido:
Never mind
[Galaxy S II General] TomZasd:
Oh well, flashed anyway, and it works perfectly, MTP is working and everything. But I still see the old CM9 boot animation.
[Galaxy S II General] BoneMo:
hoping someone else will be able and willing to make the cm9 for sgs3
[Galaxy S II General] Fr33L4nc3r:
Got a fix in less than 10 sec with Google location service disabled here ;)
[Galaxy S II General] freemini:
I agree, but if you really want AOSP get Nexus. I understand the hardware is better on Galaxy S2/3 but Nexus is way more open and dev friendly. I personally will get Nexus or iPhone.
[Galaxy S II General] -pól-:
Has anyone managed to get this working with the external sd card?
[Galaxy S II General] netcitizen:
I did search and found 2 pages of same issues posted.

And wtf has cpu governor gotta do with APNs??
[Galaxy S II General] apascual89:
For the missing APN, I pressed restore to default apn, then rebooted and my att apn was back in.
[Galaxy S II General] amozonesk:
please, anybody ?
[Galaxy S II General] lrbpereira:
This is a trick for the GNote, does it change MTP to Mass storage?

---------- Post added at 04:45 PM ---------- Previous post was at 04:41 PM ----------

Don´t restore your sms...

For me I found, in ICS useless to have 2 app GOMSMS+STOCK to manage the sms, use only the stock one... if you fell the same, unistall GMSMS...

Go to setting - aplications - all - find the sms app and clear data and cache...
[Galaxy S II General] ethanmars:
i installed it and everything works perfectly. i did nothing additional. hmm..
[Galaxy S II General] runedrune:
I've restored my sms and I have both stock and gosms. No issues here.
[Galaxy S II General] ouija147:
A better way to backup your texts...SMS Backup & Restore

https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestore&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5yaXRlc2hzYWh1LlNNU0JhY2t1cFJlc3RvcmUiXQ..
[Galaxy S II General] lrbpereira:
What works??? MTP?
[Galaxy S II General] ghassir:
Hi everybody;

Where i can find the alternative build of 20/03/2012. thnx in advance.
[Galaxy S II General] iamnotkurtcobain:
CAN SOMEONE PROVIDE THE KERNEL FROM BUILD 20.3 AS CWM ZIP?
[Galaxy S II General] -pól-:
For both internal and external cards? What are your usb settings in development?
[Galaxy S II General] XZQ't:
work flawlessly

see here http://xdaforums.com/showthread.php?p=23863950#post23863950
[Galaxy S II General] Spider__:
Yeah and you are the f***ing expert, I actually get sick of people like YOU!
[Galaxy S II General] digeddydogg:
Second angry man. He's making fun. Don't take it to heart. Group hug!

rice and pea(ce)
[Galaxy S II General] buffon95:
does someone have that trouble "go to contacts-click on contact-press phone icon...and nothing happens!!"?
[Galaxy S II General] Droum:
I'm really happy with my SGII, amazing phone, and I really appreciate a lot all the work from CM team on this phone (and other devices).

A few months ago when Samsung said "No ICS for Galaxy 7 because of TW (LOL???) and ICS on SII only at the end of 2012 1st quarter" I decided that from now on, Nexus only.

You look at Samsung ICS now, after 4 months, and what do you see? Tadaaaa TW, 4 months to ruin ICS, nice job. I know that some people like TW, I'm not one of them. You really don't need to be a coder to deslike the way Samsung works.

Small remark:

ICS runs really well in my old Galaxy Tab 7 and it's thanks to the android community, not Samsung.

Even in android tablets, I will wait for a Nexus equivalent before buying another.
[Galaxy S II General] TomZasd:
Where can I find the alternative version of 20120320?

the one with the new boot animation
[Galaxy S II General] jankhner:
don't press the phone icon, press the number.
[Galaxy S II General] ghassir:
Hi every body;

For the alternative build

(MTP-->OK)

(BOOT ANIMATION-->OFFICIAL)

http://www.mediafire.com/?v9qa7iugi9ham5b
[Galaxy S II General] xaznxplaya:
Ugh I'm lagging a bit in 320

Sent from heaven
[Galaxy S II General] buffon95:
oh fu**ing shame :D
[Galaxy S II General] lrbpereira:
MTP - Folders don´t apear

MTP connects fine but in my sd card some folders doesn´t show with the content that are in them.

Looks like it show stuff that was there some days before. Anyone?
[Galaxy S II General] codeworkx:
FYI

Reason for stuck on yellow triangle: wrong param.lfs.

Seems the LPH and LPQ ones are bad.

Flash Bootloader tar from OP -> solved.
[Galaxy S II General] tsubus:
codeworkx, would you happen to know what causes the "Encryption Unsuccessful" issue after a new flash? I have compiled the rom from source and made a couple of mods. Everytime I flash the new build I am forced to wipe /data to get it to work. After that everything is perfect, but once I flash an update I have to re-wipe /data again to get it to work. Not sure what the issue is, maybe you did.

edit: this happens even when flashing the same exact build again
[Galaxy S II General] gbohm:
gb bootloader are working too
[Galaxy S II General] Fr33L4nc3r:
I had the same issue today. Then I put the content directly in sdcard root, it didn't show up either. Then I put it on the emmc root, and it showed up in the sdcard it was previously. :confused:

Unplugged the phone and restarted it seems to have resolved that "bug" for me.
[Galaxy S II General] lrbpereira:
@Codeworks can you look into this. Look like the MTP is fixed but has a bug in it the shown content isn´t (all) the one that in the phone...
[Galaxy S II General] yabadabadooo:
Hey codeworx do you got a prio list? If so mind to share?

sent from your mom's iphone
[Galaxy S II General] BurlaMatto:
Thanks, also gb bootloader works well ;)
[Galaxy S II General] D79_:
Well lets see how many of ya actually get the nexus when ya next upgrade is available. I bet ya all will get the SGSIII. and coz a dev says the nexus is the fone to get dont mean everyone should listen to them and go get it. Everyone has there own opinion and for me the nexus isnt as good as wat the devs r sayin it is, to me the devs r happy with the nexus coz its easier to work with, a devs best friend basically.

Tell me what does the nexus do what the SGSII doesnt other than the nexus has better support etc.. put the nexus in ur hand and all ull feel is a good looking brick
[Galaxy S II General] Fr33L4nc3r:
Just reproduced at home.

Had content in emmc, I created a folder and put the files in it, the folder appeared but empty, and the files were still at their original place.

May be because the phone is connected when using the file explorer, but just unpluging-pluging the cable doesn't resolve it.

Still, not a big issue but just an annoying one :D
[Galaxy S II General] Ankit Tulsian:
Very true.I am sure most of the users like me bought GSII for the hardware and also the future phones.Cm9 is an cherry on the pastry which changes the look and i love CM9.
[Galaxy S II General] netcitizen:
I tried that. But for some reason it did not work.
[Galaxy S II General] belmont19:
Hi don't call me noob for my next questions i read every page of the post:

1.- Facebook won't sync i erase data and uninstalled the apk and installed again and nothing happend, now i use hax sync, what can be the problem if with past update facebook sync perfect.

2.- I'm unable to edit my apn, i read in past post root is disable i change it to app and adb but i can edited any suggestion

Thanks and forgive if is a noob qustion, and my sincerely Congrats for you and your team
[Galaxy S II General] codeworkx:
Don't expect any answers from me.

I'm not giving any support.

If you want that something gets fixed, codeworkx has to work on it. But if you bug him the whole day, he gets pissed and stops working on it.
[Galaxy S II General] pahardie:
dude both these questions have been asked and answered loads of time. your apn problem is probably related to the governor - change to on demand and reboot. afaik facebook sync in ICS isn't native. use a sync app from the market. plenty of freebies i use FB contact sync. works perfectly.

but as I say these have been covered ad infinitum in the previous few pages. its no wonder the devs get a bit miffed.
[Galaxy S II General] BoneMo:
well i want aosp or miui on phone + buy before summer holidays....so hoping for cm9 on sgs3 or for chinese devs with MIUI v4