yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] -angel*:
just tried it with heimdall now - flashed it, got no error, then wanted to boot it as second rom (with exchanging the data.img), but didn't work :/

took the latest system.img from pulser...
[Galaxy S II Original Android Development] akira.pwr:
yeah, the latest Pulser build didn't work for me too, try the Julle build.
[Galaxy S II Original Android Development] -angel*:
Ok, I got it working... But somebody have a build, where a bit more than lockscreen works? :)

But thanks for all the help, especially Julle ;)
[Galaxy S II Original Android Development] 99heitor:
The Julle one gave me soft reboot on lockscreen, then no boot at all. just "Mozilla" on the right down corner.

Trying again..
[Galaxy S II Original Android Development] akira.pwr:
I think for now, there aren't working builds, but I hope all devs and julle, will work together for make it real :)
[Galaxy S II Original Android Development] julle131:
Good news everyone! I got B2G boot, with gaia working! The setup uses B2Gs own kernel. At the moment I am making a CWM backup. After that is done, I'll upload the CWM v5.5.0.4 backup, system.img, userdata.img and kernel to my website. I'll also write short install guide there how to install it. The guide still uses heimdall for flashing kernel.
[Galaxy S II Original Android Development] redrumsilence:
Oddly enough, I wouldn't mind using this as my main ROM, though a little more stability would be useful lol
[Galaxy S II Original Android Development] akira.pwr:
Links aren't working yet right? I'm excited to try this build :)

Only for asking, who have a newer recovery, have to downgrade it?
[Galaxy S II Original Android Development] julle131:
The links should start working anytime soon. I left pc uploading as i had to go to school. Kernel is about 5-6mb, and cwm backup is about130mb.

Sent from my I9100 running 3h ago built B2G nightly.

Edit: Well... Feedback?

By the way. Some bugs what I found:

- Screen tearing

- Camera not working

- Hotspot not working

- Microfone not working (In call you hear other, but the other doesn't hear you)

- Texting works

- 3G works

- Random softreboots
[Galaxy S II Original Android Development] -angel*:
ok, got your builds - but how to use it as second rom with siyah? or not possible? :(

tried to flash with heimdall, then exchange the userdata.img and left the old data.img there (cause I think didn't change?)

I'm on working Heimdall 1.3.1 (got your previous build with bug'ing lockscreen "working"), so what am I doing wrong?

PS: Why hast the kernel no data ending like .tar or so?
[Galaxy S II Original Android Development] julle131:
You cant use it as secondrom. Siyah doesnt support it anymore. Download the CWM backup from my website, unrar it and put B2G folder to clockworkmod/backup/ folder. Then flash the kernel with Heimdall, boot to recovery and restore the backup which we just put to your phone.
[Galaxy S II Original Android Development] -angel*:
how flash the kernel?

just pit of android 4.0 and then flash file as kernel?

will try it as far as main functions work... :D

(internet(hspa+), camera, texting)
[Galaxy S II Original Android Development] 99heitor:
Hey, just a problem after I flashed it...

I can't wipe second ROM data/cache anymore (to install other Roms).

After I tried B2G and faced the reboot issue, I restored my Nandroid to PA ROM, that worked fine, but now I'm trying to dual-boot with Wanam and can't even create the data...

The error is, after some time wiping:

Creating 2ndROM data for the first time...
This will take long...
E:format_volume: make.extf4s failed on /mnt/.secondrom/.secondrom/data.image

Formatting 2ndROM cache....
Creating 2ndROM cache for the first time...
E:format_volume: make_extf4fs failed on /mnt/,secondrom/.secondrom/cache.img
Error formatting 2ndROM cache!

Does anyone have a clue?
[Galaxy S II Original Android Development] -angel*:
Maybe this made the issue - I would just try to flash newest Siyah and then try it again, but I don't know about... :s
[Galaxy S II Original Android Development] julle131:
Remove .secondrom folder, and then try reinstalling wanam to secondrom.

I think there have been some changes that siyah does not include, and that causes the reboot issue.
[Galaxy S II Original Android Development] 99heitor:
Thanks for the reply, Julle! But it did not work :(

Same errors... I'm a bit worried :(
[Galaxy S II Original Android Development] julle131:
Remove secondrom from recovery, and try to flash some other rom to there. Are you sure you have ~2200mb on your phone memory? You can also try to restore a backup to second rom and test will it work.
[Galaxy S II Original Android Development] MemoryController:
Actually it's 2.2GB, about 10x 220mb :)

Sent from my GT-I9100 running CM10
[Galaxy S II Original Android Development] Makrilli:
And the point of this post was?
[Galaxy S II Original Android Development] midreestaj:
I got CWM backup of B2G(Source: http://www.harjunpaa.fi/B2G/) working here where I have restored the B2G backup directly from recovery in Siyah kernel v3.2.1 (as it also has CWM ver 5.5.0.4). I did not install the separate kernel found on above mentioned source web link.

But I have seen that as the backup image restores the recovery updated in backup, it reads internal memory as sdcard instead of Internal sdcard. Due to this IMO the Backup of B2G will only work if it is restored without the dual boot setup of Siyah. I did try to force B2G restore with Siyah CWM installation after it. As soon as the recovery is updated to that of Siyah, other ROM works fine all the way. B2G loads up till lockscreen but it goes into boot loop. If this makes any sense to anyone...
[Galaxy S II Original Android Development] 99heitor:
Silly me, that was it. Only had ~2gb of internal memory, thought it was enough. Thanks,.
[Galaxy S II Original Android Development] -angel*:
is there google calendar sync in b2g?
[Galaxy S II Original Android Development] midreestaj:
Current B2G build is not usable even as a phone due to mic not working, gallery app not working many app FCs, graphics (UI) is very buggy. There is no back button in most screens, not all of the options are working under many app screens and what not... what to say about possibility of google calender? which is also not there btw. :)
[Galaxy S II Original Android Development] -angel*:
Ok - this gave me an idea - can't you just flash siyah 3.2.1 and then restore Julle's backup?
[Galaxy S II Original Android Development] julle131:
To not bootloop, you need to use B2Gs own kernel. If siyah can restore the backup, it should work as it restores kernel too.
[Galaxy S II Original Android Development] -angel*:
ok, so not able to come around this kernel - damn :(

Can nobody ask gokhanmoral to make a new b2g-compatible kernel?
[Galaxy S II Original Android Development] akira.pwr:
I'm on Ubuntu, where is the Heimdall folder where to put the kernel file? Have I to use .pit file anyway?
[Galaxy S II Original Android Development] julle131:
There is no heimdall folder ;). Put kernel file to desktop, open terminal and type cd Desktop, then just use the command I put to my site.

heimdall flash --kernel kernel

It'll download the pit and flash the kernel.
[Galaxy S II Original Android Development] akira.pwr:
LOL, sorry, my device have to be in download mode, right?

---------- Post added at 08:38 AM ---------- Previous post was at 08:37 AM ----------

Initialising connection...

Detecting device...

ERROR: Failed to access device. libusb error: -3

akira@akira:~/Scrivania$

I'm in download mode, what happened?

Have I to patch drivers? How?
[Galaxy S II Original Android Development] julle131:
Your device seems to have incorrect permissions. What Ubuntu version are you running? Open this guide and skip to step 5. Use the Ubuntu 11 way.

http://xdaforums.com/showthread.php?t=921169
[Galaxy S II Original Android Development] akira.pwr:
I'm running the latest version, 12.xx (i don't remember, when I'm back home I'll follow you link, thanks. :)

Inviato dal mio ST27i con Tapatalk 2
[Galaxy S II Original Android Development] akira.pwr:
Nothing, I wasn't good to have success, the guide does't help me.

I try to do it with Windows7...
[Galaxy S II Original Android Development] akira.pwr:
mmmm... I have always problems with drivers on w7, after patching with Heimdall, my device it's no recognized...
[Galaxy S II Original Android Development] MemoryController:
You need to not have installed Sammy drivers before or to have completely removed them

Sent from my GT-I9100 running CM10
[Galaxy S II Original Android Development] -angel*:
Just waitin' for a more stable release... :)
[Galaxy S II Original Android Development] periferral:
i have siyah 4.1.5 and I downloaded the data.zip file, unzipped data.img and put it in /sdcard/.secondrom.

However when I boot into recovery and check it says no second rom. How do i get this to work? Any suggestions?
[Galaxy S II Original Android Development] akira.pwr:
I think you have to flash the kernel provided by Julle.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] periferral:
can you point me to the post.
[Galaxy S II Original Android Development] akira.pwr:
http://www.harjunpaa.fi/B2G/

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] periferral:
seems like with this method, i lose the dual boot option. I want to keep my primary image and use this as the 2nd rom since I hear this isnt usable for everyday needs.
[Galaxy S II Original Android Development] akira.pwr:
Theorically you don't lose anything, after kernel flash you'll see the dual boot option and you can choose the rom to boot.
[Galaxy S II Original Android Development] julle131:
I just started making a new build. It will take ~2h for the building to be ready. Then i will flash that to my phone, do the first boot, install siyah and install gaia, install "stock" kernel back and make a backup. that will take ~30mins. After that i'll upload the build to http://www.harjunpaa.fi/B2G, which will take another ~1h. So ETA is 3h and 30mins. There is ofcourse possibility that i get build error, and i have to restart. At the moment i'm using backtrack to make the builds. I was wondering would it work better with some other distro. Backtrack is based on Debian, but doesn't have all the dependencies. Suggestions? B2Gs wiki suggests Ubuntu 11.10 and 64bit, so maybe I should install it... There is possibility that with other distro microfone might work.

This is kinda sad:

Some Edit: Build is done, and i'm making CWM backup at the moment. After that there is only uploading left.

Even more edit: Now it's slowly uploading.

And last edit: Upload is ready. You can now download the B2G from my website: www.harjunpaa.fi/B2G
[Galaxy S II Original Android Development] -angel*:
Do you know something about changes?
[Galaxy S II Original Android Development] julle131:
No, I do not. Syncing was quick, so propably not much.
[Galaxy S II Original Android Development] swapnilraj:
I'd warn against restoring your backup.

I hard-bricked my phone after restoring, you could have done something wrong.
[Galaxy S II Original Android Development] julle131:
Nothing happens when you press power? and your sure it is my backup? I restored it and nothing bad happened. What ROM were you using before restoring?
[Galaxy S II Original Android Development] UndisputedGuy:
Is it possible to dual boot? Is it only for the SGS2?
[Galaxy S II Original Android Development] julle131:
No, dualbooting is not working. It would require gokhanmoral to modify his kernel again.

This build is only for sgs2.
[Galaxy S II Original Android Development] UndisputedGuy:
Thanks for that quick and informative answer. Thanks
[Galaxy S II Original Android Development] swapnilraj:
Yes I am sure it was your backup I flashed the kernel and then restored the backup, now nothing happens on pressing the power button, previously I was using a CM10 nightly.
[Galaxy S II Original Android Development] akira.pwr:
You had to read the discussion, it talked about to have android 4.0, not other versions, you had to ask before, if you run 4.1.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] julle131:
Well, I can't help. The backup didn't brick for me, and I made it the same way as I did first backup. It must be B2Gs problem then. In here, you do everything on your own risk.

I don't think it affects, but that's a great point :D.
[Galaxy S II Original Android Development] -angel*:
Gokhanmoral

So I just contacted Gokhanmoral per PM and he ment this:

So I'm just waiting now until it's done :fingers-crossed:
[Galaxy S II Original Android Development] akira.pwr:
Great news, I hope he will do it soon, now I have some little troubles with my device, so I can't try new builds until I find some time to fix it, but I always follow this thread for news and info.

:)
[Galaxy S II Original Android Development] -angel*:
yeah, I just hope he's going to fix it soon, but one question in advance: would it be possible to use a jb rom as first and B2G as second rom with ICS pit?

Maybe sounds stupid, but I think it's wort a question ;)
[Galaxy S II Original Android Development] julle131:
He'll fix it when he has time. Nobody is paying for him to do this, and he does this on his free time. Running JB first and B2G should work, because you can dualboot ICS and jb.
[Galaxy S II Original Android Development] -angel*:
ok, so nobody tried it out before? 'Cause I don't want to buy a Jig :D
[Galaxy S II Original Android Development] akira.pwr:
I want to try it, I think I've solved my troubles with device

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] redrumsilence:
Every time I try and flash B2G (via Odin/Heimdall/CWM) it just soft bricks my phone :( I'm not exactly a noon at thus, but any ideas what I might be doing wrong? I've followed all instructions to the letter, but always the same outcome :what:
[Galaxy S II Original Android Development] julle131:
If you flash it as primary, you don't get Gaia with it, so there is no ui. The CWM which I put to WWW.harjunpaa.fi/B2G includes Gaia. So if it won't work, I have no idea.
[Galaxy S II Original Android Development] -angel*:
Yeah, should be this, because I tried to flash a previous version via odin (system.img) and got failed (hat to reinstall siyah and then restore backup)
[Galaxy S II Original Android Development] julle131:
IMG files must be flashed through heimdall, just like everything else in B2G. And flashing only system does not boot. You must flash compatible kernel too. After that you must build Gaia and install it through adb. Here is my process when I make a build:

1. Update B2G code. Usually pretty quick

2. Build the code. Takes ~2h

3. Flash system.img and B2G kernel to my phone.

4. Verify that it boots.

5. Flash siyah kernel to my phone, because it has forced adb. B2G kernel doesn't have it forced.

6. Boot the phone.

7. Build and flash Gaia.

8. Reflash B2G kernel.

9. Reverify it boots.

10. Make a backup and move it to PC, also test restoring it.

11. Convert data.img working for second system

12. Rar data.img and CWM backup.

13. Upload system.img, data.img, userdata.rar, B2G.rar (the backup) and kernel.

This isn't very quick process. If you want to try B2G, just restore the cwm backup which I provide to you.:)
[Galaxy S II Original Android Development] -angel*:
Yeah I know - I just confirmed your error suggestion... ;)

But am I right (if there is dual compatibility of B2G) then I just have to flash the system.img to hidden via Heimdall and then exchange the data.img and userdata.img in the .secondrom folder?

did it like this in previous versions who were dual boot compatible and it "worked" - till the lock screen bug... :eek:
[Galaxy S II Original Android Development] redrumsilence:
Does this guide presuppose I'm running 4.0.3/4? Cause I'm getting a bit sick of Odin'ing back to it...
[Galaxy S II Original Android Development] julle131:
No, I guess. Kernel flash might no be necessary, as cwm usually restores it for you. But just in case, running 4.x gives you higher chances that cwm will do everything for you.

Yes. And after Gokhamoral has fixed this bug, it will work like that again.

BIG EDIT: For the brave! I represent you: Possibly fixed Siyah. unpack and flash with heimdall to kernel, or download 4.1.5 siyah tar from gokhanmorals site and replace zimage in there with this this archive, and then flash with odin. I HAVE NOT TESTED THIS!
[Galaxy S II Original Android Development] -angel*:
Hmpf, tried out to exchange the zimage's in the .tar-file, but didn't work, Odin stucks at "zImage" (waited for ~5 min., but nothing happened :( )

but good thing: still boots normally after leaving download mode...
[Galaxy S II Original Android Development] julle131:
OK. Good to know. It seems recovery isn't working :confused:. I just got kernel panic. I do not know how to fix it, so i'll ignore it for now. I'll just try to get B2G to boot it with first. If i need recovery i can flash other kernel with mobile odin on 1st rom or with heimdall on pc. I didn't get this to work.

Recovery= Kernelpanic

Dualboot= Kernelpanic

Well, sh1t happens sometimes.
[Galaxy S II Original Android Development] -angel*:
So, I tried out like it is said on julle's website, but it didn't work for me :confused:

I unrar'd backup, copied folder to clockworkmod/backup and then flashed the kernel in the directory of heimdall. It worked, then I directly booted to recovery and wanted to restore the backup, but the bar hanged at restoring data, so I had to wait and wait, and as it booted, I got an error, that smth wouldn't be registred :confused:
[Galaxy S II Original Android Development] julle131:
It seems i have to try my own guide tomorrow then:D.
[Galaxy S II Original Android Development] -angel*:
Hm yeah, I think kernel buug'd, but now I have to fight to get it working (flashing siyah via Odin works), but get bootloop :(
[Galaxy S II Original Android Development] julle131:
Flash stock rom with odin. Should fix that. Or flash siyah, go to recovery and wipe data/cache and flash other rom.
[Galaxy S II Original Android Development] -angel*:
I'm afraid of the fact that stock rom isn't working :confused:

updating this if I got it working...
[Galaxy S II Original Android Development] julle131:
If stock rom loops, wipe data. Happened to me.
[Galaxy S II Original Android Development] redrumsilence:
I do so wish I could get this to work on my device :'(
[Galaxy S II Original Android Development] -angel*:
I don't know if it's your kernel or I flashed a wrong firmware, but it bricked my partitions so that I can only use now a second rom and no primary :crying:
[Galaxy S II Original Android Development] redrumsilence:
Repartition /system with Heimdall, worked for me :) you can get the /system file from a stock .tar, or something like a CM .zip, download your .PIT and flash /system in the second tab :)
[Galaxy S II Original Android Development] -angel*:
Like I understand I should just take the system img from a stock version of ICS and flash with the pit of CM9.1 I just took previously to system via heimdall?
[Galaxy S II Original Android Development] redrumsilence:
Sorry it's taken me so long to reply,

Pretty much

If you use the CM9/10, unpack the .zip and drag the "system" file to your desktop or something

Next, put your phone in download mode and open Heimdall (if your'e using Linux, run it in Root)

Plug your phone in, click to the last tab and download your .PIT, save this to your desktop/wherever you dragged the CM "system" file

Making sure your'e still in download mode, click the second tab:

All-In-One:

Tick "repartition", click "Add" to the right, under "Partition ID/Name" (can't remember which it is) select "FACTORYFS", then use the window it pops up to navigate to the "system" file from CM

Click "Start"

It'll probably hang at 88% for about 5-20 seconds, mine did it constantly, but it went through quite happily

Once that's done, try getting back to a stock ROM (Odin/Heimdall, either works), flash your dual boot kernel, and all should *cross fingers* be fine

Hope this helps, i know how much of a pain it is when things don't work the way you want them to :rolleyes:
[Galaxy S II Original Android Development] -angel*:
I'll try out, when I'm back at home, but at the moment I'm not - but really thanks, let's hope it's saving my phone that I don't have to bring it to warranty with the risk of paying 200$ :laugh:
[Galaxy S II Original Android Development] redrumsilence:
If you get really stuck, have a quick search in the forums for the Heimdall thread, everything you'll need is there, and there's a thread for stock i9100 Odin-firmwares somewhere as well

Give me a shout if you need a hand, I've done this a few times, I'm epic at continuously bricking my phone :rolleyes:
[Galaxy S II Original Android Development] rigocalin:
bricked

I just hard bricked my S2...

After restoring B2G from recovery, I't didnt boot up...so I wanted to wipe cache in recovery...then is when the problems started...cwm recovey hanged.

I restarted but still same..I flashed a stock ROM via ODIN using PIT. I could only see the samsung logo and only had access to download mode.

Tried to flash another kernel with a CWM recovery (syah) but it failed at writing NAND....Done it again but same output...Downloaded another ROM (stock) and flashed again but this time ODIN stopped responding after writing SBL.bin... I guessed that the bootloaded is damaged now.

I will only warm up a bit if I leave the battery in....black screen..no download...etc.

Now I have a S2 brick edition :laugh:

I'll have it sent for warranty...maybe I can get away with it :D ..

Dead after a software update...
[Galaxy S II Original Android Development] julle131:
So... B2G kernel has brickbug? Atleast seems so. I didnt face it because i never wiped anything in recovery, only backed up and restored. But as i have stated many tines, I'm not developer of any sort, and i only built it. I have a warning not to download on my site now. When gokhanmoral updates his kernel, it doesnt have BrickBug.
[Galaxy S II Original Android Development] -angel*:
If the advice with heimdall doesn't work, I'll have to send it to warranty too :(

But another thing: as gokhanmoral doesn't have time to fix it soon, maybe dream kernel team could fix it or it's even fixed in it (or did smb. try?) - Just a thought, because they have dual boot too :)
[Galaxy S II Original Android Development] abhishek0704:
flash the stock rom which you flashed initially via odin after it is complete... boot in recovery and wipe data and factory reset and wipe cache. your phone will boot ....good luck
[Galaxy S II Original Android Development] rigocalin:
I wish it would be that easy to fix. already tried.

no way to get into recovery....just download mode..

but now not even download mode works..as odin crashed writing pbl (primary boot loader)..

It may had the nand rw corruption as described here but

odin crashed rendering it unusable..

xdaforums.com/showthread.php?t=1457458
[Galaxy S II Original Android Development] redrumsilence:
Long shot, but try repartitioning in Heimdall, dunno if it'll work, but if you're planning to warranty-return it, it may be worth a try

EDIT: make sure to use the original .PIT, new one might be kinda screwy :banghead:
[Galaxy S II Original Android Development] rigocalin:
I appreciate you trying to help but its a goner...

Hard bricked. No download mode. The PBL was messed up..

If I leave the battery in it will heat up a bit..but stays dark. And I have already sent it for warranty.

It's my work phone :D ...One of them actually... I still have 4 others..so I can replace it easily..

one being a S3..so no problem to wait for warranty.
[Galaxy S II Original Android Development] -angel*:
is there a later working build on CWM-install than this?

My S2 is now in warranty, but I want to try it again when I get it back (but without flashing the kernel that eventually bricked me :rolleyes:)

Just because the first post isn't really up-to-date :(