yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] julle131:
No, sadly. I wont make any builds, or recommend anyone to install my builds BEFORE Gokhanmoral has updated his kernel. I never wiped data with Mozillas kernel, so i couldn't know about BrickBug. I assumed they used older kernel without BB...
[Galaxy S II Original Android Development] -angel*:
hmm ok, so I'll try it ASAP :)
[Galaxy S II Original Android Development] robertogl:
Www.gokhanmoral.com

B2g support in todo list :)

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] julle131:
-angel* already mentioned this. Now we just have to wait.
[Galaxy S II Original Android Development] -angel*:
Yeah, I asked him some time ago and he told me he'd do it on his To-Do List...

But as it seems it'll be one of the last siyah kernels, as in his signature it's said that he's gonna sell his S2, so let's hope for no more bugs after he has fixed it :(
[Galaxy S II Original Android Development] akira.pwr:
Nice new about b2g support, bad new about selling his device...

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] gokhanmoral:
I haven't been reading this tread for some time. I want the new version to support the latest b2g.

can anyone send me a nandroid backup for the latest version?

I want to test if it boots and I don't have any space left on my vm for compiling it..

or is there any release for s2?
[Galaxy S II Original Android Development] julle131:
Well, latest i built is in http://harjunpaa.fi/B2G/, but it is one month old. I am not home today, so if you want newer build, you must wait until tomorrow.
[Galaxy S II Original Android Development] akira.pwr:
Cool, we will have a working build :)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] neerajp:
Dual boot?

Can someone tell me how do i get the dual boot to work with the build on the OP?

I am on siyah kernel 4.1.5... when i try to flash the tar via ODIN it gets stuck on connection....

is there is CWM flashable build available for dual boot?
[Galaxy S II Original Android Development] julle131:
Just wait for now. Dualboot is not functioning correctly at the moment. The builds in op are out-dated. Follow this topic, and you'll notice when dualboot is working again:thumbup:
[Galaxy S II Original Android Development] toxicthunder:
i too started to have a go at B2G for n700.

Any user who has modified sources on his github? apart from the ones provided by mozilla? I would be extremely grateful. :)
[Galaxy S II Original Android Development] Obagleyfreer:
What's the deal with B2G?

It's been in pre alpha stage for months and months, are Mozzilla working on it or has it been forgotten about?
[Galaxy S II Original Android Development] julle131:
Mozilla is working on it. It is in prealpha because calling doesnt fully work. You can hear other but other dont hear you. HW acceleration and gpu arent working well either.
[Galaxy S II Original Android Development] Obagleyfreer:
Oh I see, it seems like it's taking an awful long time to get to Alpha stage. I guess I'll have to be patient, not a virtue I have very much of lol.
[Galaxy S II Original Android Development] julle131:
Galaxy s2 belongs in a group that gets the updates last. Tier 3.

I'm sorry, but i'm unable to build newer b2g. I am getting errors i haven't yet been able to fix.
[Galaxy S II Original Android Development] julle131:
Siyah kernel seems to have B2G support fixed. I haven't personally tried.
[Galaxy S II Original Android Development] -angel*:
yeah, saw it now too - but have to wait until I get my phone back :(

anybody tried out yet? and how about your compiling error, Jule?
[Galaxy S II Original Android Development] julle131:
Still haven't personally tried tje kernel. Hopefully tomorrow i have time.

Compiling issue is kinda weird. Google reveals nothing. Maybe should switch back to backtrack. Ubuntu is nicer to use, but Backtrack has some nice functionality.

The biggest downside of backtrack is the fact that wifi driver is slow. It varies between ~2kb/s - 100kb/s. And my maximun speed is 800kb/s. Using cable i can reach that speed.
[Galaxy S II Original Android Development] -angel*:
Ok, I just hope the support will stay for all the next versions :)
[Galaxy S II Original Android Development] gokhanmoral:
http://d-h.st/users/siyah/b2g

you can restore it as 2ndROM and don't forget to flash latest SiyahKernel-S2-v5.0 if you restore it as your primary rom or have another kernel.

just extract it and put the folder in clockworkmod/backup folder in your internal or external sdcard.

it is a CWM6 backup of v20.9 in http://harjunpaa.fi/B2G/, except that it has one of my previous kernels.
[Galaxy S II Original Android Development] CAPS369:
your the man ..thanks
[Galaxy S II Original Android Development] arief347:
it is safe to restore as second rom?

anyone tried?

maybe some screenshot i think.. :D
[Galaxy S II Original Android Development] gokhanmoral:
I tried. but if you are asking "is there any fool to try and assure me that it will never brick my device?" then you should never flash anything and really think about asking such a question in a development thread. and more, you are not only asking for a feedback but asking for a proof, the screenshots :D

or maybe I am wrong, and we should be here to serve you...
[Galaxy S II Original Android Development] arief347:
:angel: sorry GM, but it's my only device, so i just make sure it safe..

sorry if my word offend you..

don't take personally..:fingers-crossed:
[Galaxy S II Original Android Development] mohdizwan:
Will try it tonite
[Galaxy S II Original Android Development] mohdizwan:
Which one should i download??
[Galaxy S II Original Android Development] akira.pwr:
Maybe I'll try it tonight, I hope to have understood how to do it.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] julle131:
Everyone is mostly using ther only devices. ;)

http://www.gokhanmoral.com/public/files/B2G-CWM6.zip this one. Restore it to second rom and then flash newest siyah.

I'm sure you have :). And if not, ask here
[Galaxy S II Original Android Development] mohdizwan:
Thanks..after download just copy to clockworkmod/backup n flash latest siyah kernel..waiting for download to complete

---------- Post added at 10:39 PM ---------- Previous post was at 09:52 PM ----------

I download the b2g from gokhan & extracted it..put it into the cwm backup folder..i flashed latest siyah kernel 5.0b1 & i restore from 2nd rom..md5 mismatch. I try to restore from primary rom and also md5 mismatch. Then i dont know how to restore.:confused:
[Galaxy S II Original Android Development] akira.pwr:
If it have md5 mismatch, you have to redownload maybe, can be the file is corrupted

Inviato dal mio ST27i con Tapatalk 2
[Galaxy S II Original Android Development] mohdizwan:
Will d/load again
[Galaxy S II Original Android Development] -angel*:
Hi GM

Really thanks you made a build for CWM again! :good: Maybe you could tell Julle how to build it (if it takes not too much time for you?) so that he can "support" us with the latest builds as CWM restorable, because this is easier for most peope...

I don't have my phone right now, so I'm gonna try out when I have it back, hope it works as second rom for me too :)
[Galaxy S II Original Android Development] gokhanmoral:
Actually I did not build it as I had too little space in my vm. Instead I downloaded 20.9 from the link that someone had mentioned before and flashed my kernel and took a backup before booting it. That is why it is the same as the one in that link except for the kernel. Building was not that hard before and I am sure it is at least as easy. And if you want to make a flashable zip you can use my previous zip and put the tarred content of system and data in that to make a dirty but working Cwm flashable zip. That way makes you free of preparing an installer script that adjusts permissions etc. I tarred them in recovery but you can also use the files in the nandroid backup.
[Galaxy S II Original Android Development] mohdizwan:
Freaking awesome man..but cannot use as daily driver yet.
[Galaxy S II Original Android Development] Geo2160:
I can also confirm that the backup posted by GM works. Very buggy, but I wasn't expecting anything else.
[Galaxy S II Original Android Development] gabx:
Hi all,

I plan to build B2G from source. To do this, i need to $adb my device running a stock ics Rom.

What is the way to build without installing stock rom? My first idea is to modify some script and tell not to $adb pull but $cp from a folder containing the stock rom with /sytem.

Thank you forhelp

Sent from my Nexus 7 running vanilla AOSP.
[Galaxy S II Original Android Development] julle131:
Install stock based rom and modify build.prop to show up as official. Cp sounds good too though.
[Galaxy S II Original Android Development] gabx:
Any link for a flashable .zip custom rom through CWM ? I tried some but they couldn't install as 2nd ROM.

TY
[Galaxy S II Original Android Development] julle131:
Omega or chameleon should do it.
[Galaxy S II Original Android Development] gabx:
TY, will google them.
[Galaxy S II Original Android Development] toxicthunder:
Sorry but i am just repeating a query from one of my previous posts - would like to build for the n7000. I think it should be similar to building for i9100.

Could someone please guide me to a relevant tree on github, which is still active?
[Galaxy S II Original Android Development] neerajp:
http://www.gokhanmoral.com/public/files/B2G-CWM6.zip this one. Restore it to second rom and then flash newest siyah.

Not able to download the file from here.... Is there a different download source available?
[Galaxy S II Original Android Development] robertogl:
i think that this is it:

http://d-h.st/users/siyah/?fld_id=6753#files
[Galaxy S II Original Android Development] robertogl:
i cant' restore, it gives me this error:

Restoringdata...

E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p10

Error while formatting /data!

restoring as second rom, siyah 5.0b2.
[Galaxy S II Original Android Development] TheRplima:
I have this same problem.

Enviado de meu GT-I9100 usando o Tapatalk 2
[Galaxy S II Original Android Development] robertogl:
I've tried with other roms, Samsung based, and if I restore in second Rom they give me always this problem.

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] ItsmYarD:
I restored this in second rom but it gives me boot loop using siyah with cwm 6.0

Edit: Restored as primary rom. It boots now, the lag is kinda bad compared to the b2g on my n9.
[Galaxy S II Original Android Development] redrumsilence:
Confirmed, you have to restore it as Primary or it wont boot

also, am i the only one suffering minute DPI? the status bar and fonts are all rather small, the only things that seem normal sized are the icons and keyboard :/ hmmm...
[Galaxy S II Original Android Development] julle131:
I was trying to build this, but I had many problems with virtualenv. I'll post the logs here when i get to my PC and i can retry the build. This time, googling revealed nothing... edit:

Building. But there might be some problem, so don't get your hopes up.

Nope, didn't build.
[Galaxy S II Original Android Development] ItsmYarD:
Nope, same problem here.
[Galaxy S II Original Android Development] -angel*:
Julle, can I also also download the stock pit via odin? (with siyah dualboot)? or can I just use the one that I downloaded when I had Cm9? want to dualboot stock 4.0.3 and Siyah ;)
[Galaxy S II Original Android Development] Hitchi:
Will you update the start post with new versions?
[Galaxy S II Original Android Development] lithuanian:
Install and uninstall without problems.Clockwor Recovery works fine after installing gecko
[Galaxy S II Original Android Development] swapnilraj:
No, look under the Settings options there is an option to power down and reboot.
[Galaxy S II Original Android Development] dswaggz:
So this isn't possible on the exhibit ii 4g

via tha xquizit EII4G ♚ of phonez
[Galaxy S II Original Android Development] pulser_g2:
Yes, I just did earlier - see my last post or so.
[Galaxy S II Original Android Development] lorenzo.themax92:
So only for me the galaxy s2 don't boot? it's soo strange....
[Galaxy S II Original Android Development] lithuanian:
clear your data/factory reset

Clear the dalvik cache

and everything will work
[Galaxy S II Original Android Development] dswaggz:
Hellooooo O_o can anyone answer my question

via tha xquizit EII4G ♚ of phonez
[Galaxy S II Original Android Development] pulser_g2:
Ffs please actually read my posts...

I explained that you would need to port this yourself. No it doesn't work on anything otherwise than SGS2, at least as far as I am concerned.

Anyone trying anything else does so under the understanding I say it shouldn't work. So anything less than a brick is a bonus for your non standard device :p
[Galaxy S II Original Android Development] pulser_g2:
No. Don't do that.

Wiping data on this will break the ROM... You'll then need to reflash from odin
[Galaxy S II Original Android Development] dswaggz:
Wow that was kinda rude geez just loved the look of this os

via tha xquizit EII4G ♚ of phonez
[Galaxy S II Original Android Development] pulser_g2:
Did I somehow not answer your question 2 pages ago?

I've even told you what to look at to get it on your device. Rude? I disagree...
[Galaxy S II Original Android Development] :
Tried the oldbootloader and the new one and it wont pass bootlogo... Weird!
[Galaxy S II Original Android Development] pulser_g2:
Wow that's strange!

Old bootloader fine here. Did you redownload after today's update, just in case you somehow got a bad download? (I used a tar.md5 so I doubt it was bad file)
[Galaxy S II Original Android Development] golcheck:
can it be flashed via mobileOdin?
[Galaxy S II Original Android Development] stormtroopercs:
Yes
[Galaxy S II Original Android Development] mcmb03:
this is awesome, reminds me of miui a bit
[Galaxy S II Original Android Development] driftkidd2323:
hey guys, I've been examining the tree and I'm a bit confused on the kernel it runs, does it just run a custom linux kernel? I want to run this on my AT&T SGS2, and I'm wondering about if I can flash it without worries.
[Galaxy S II Original Android Development] jgeezy24:
Wondering if we can hellraise it to work with i777
[Galaxy S II Original Android Development] pulser_g2:
It uses an I9100 kernel. I don't know if it works on custom kernels
[Galaxy S II Original Android Development] julle131:
Odin does not use pit to identify partition. If i'd want to dualboot stock rom and cm9/10, i would install stock ron through odin, the flash siyah. After that i'd just flash cm to second rom. I hope that answered you question somehow :D.
[Galaxy S II Original Android Development] -angel*:
haha sorry didn't say clear enough what I want - I want to dualboot ICS 4.0.3 and B2G (your latest build, but not with this maybe not working backups) - so just as you told a time download the pit from stock ICS AND Siyah kernel with wiped 2nd rom that it creates the folder? And then take this pit with heimdall and flash the system.img to hidden and then copy the two data files to .secondrom?
[Galaxy S II Original Android Development] julle131:
At the moment, best way is to download the cmw6 backup gokhanmoral made, restore it to second rom and reinstall newest siyah. It is based on the latest i have. I have hard time compiling a new build...
[Galaxy S II Original Android Development] -angel*:
ok, going to try it later or maybe tomorrow :good:
[Galaxy S II Original Android Development] darockman2:
WORKING! Siyah Dual boot - 1stROM RR 3.1.0 / 2ndROM B2G

==========================================================================================

**** DISCLAIMER - I take no responsibility for bricks this may cause. Please read through this completely before attempting. It is recommended for people that have a lot of experience with flashing and dual booting. I'm not a recognised dev nor claim to be. Just an enthusiast that has got this to work. ****

This is only intended for use on Samsung Galaxy S2 i9100.

As always, you should always do a full backup before attempting any flashing of a new ROM. We'll be using a backup to restore in this process.

==========================================================================================

Prerequisites:

Backup of current ROM

B2G Restore Image

Hi All,

I'm one of the fortune ones to actually get this working. I have Resurrection Remix 3.1.0 as my primary ROM and boot 2 gecko as my secondary ROM.

First as always create a backup of your existing ROM. For this please restore to Ext SD. I'll explain why later.

Get a copy of the B2G restore zip that gokhanmoral moade from http://harjunpaa.fi/B2G/ **NOTE NOT TO BE INSTALLED AS A ZIP**.

Unzipped the folder B2G with the files to '/clockworkmod/backup/B2G' onto your SGS2 internal SD.

Reboot phone to Recovery mode.

In recovery mode (Siyah kernal) in the dual-boot options. Selected the option 'Clone 1stROM to 2ndROM'

- Once completed at this stage my RR is the secondary ROM. Time to setup Boot2Gecko as the Primary ROM.

Go back to the root menu of Recovery mode (Siyah kernal). Then selected the option 'backup and restore' and selected 'restore from internal SD' Navigated to the BG2 folder where we placed the unzipped contents "/clockworkmod/backup/B2G"

- Ok so now that the BG2 restore image has been restored as your primary ROM it would have also restored the kernel that it was installed with B2G.

----- SINCE YOU NOW HAVE A CLOCKWORK MOD KERNEL, YOU CAN'T OBVIOUSLY DUAL BOOT AT THIS STAGE ----

Have your play with BG2 and when ready shut it down by holding down the power button and selecting Shutdown.

** For this part we'll be restoring the recent backup of the Primary ROM, in my case RR 3.1.0. I'm sure you can flash a Siyah kernal but this is what I did. So I'm sure that can be done.

Now go back into Recover mode. Select the option 'backup and restore' and selected 'restore from external sdcard' and select restore.

Ok - now back to orginal RR as Primary ROM again.

Reboot to Recovery Mode. Go into 'dual-boot options'

This time select 'Swap 1stROM and 2ndROM'

Then one that process has been completed. Go back to 'dual-boot options' and 'Restore as 2nd ROM'

Navigate to the folder /clockworkmod/backup/B2G on your internal and let it install BG2 again.

=========================

OK that does it, apologies if this process is long but for me it worked. I am sure there are ways this can be streamed lined but at stage I'm happy that I actually got it working.

Good luck and please remember the disclaimer.
[Galaxy S II Original Android Development] Amit.passion12:
Got working B2G..space & Time v0.8(ICS 4.0.3) as 1st Rom and B2G as 2nd rom.

Process is:--

1.use siyah kernel v5.0

2.make full nandroid backup.

3.extract B2G cwm6.zip in clockworkmod/backup/B2G

4.clone 1st rom to 2nd rom.

5.Restore B2G to 2nd rom.

6. Again flash siyah kenel v5.0.

7.Now reboot.

I do not responsible for any brick..
[Galaxy S II Original Android Development] -angel*:
I got it working now like mentioned above dualbooting with siyah v5.0i (primary paranoidandroid 2.52, second B2G), but it's really laaggy :(

But would be nice if you could keep on by making nandroid backups ;)
[Galaxy S II Original Android Development] fewesttwo:
Active development?

Is there anyone in here who is currently involved in the active development of this OS? I built and flashed the other day, and was wondering if there is somewhere to go to see what is happening with the dev.
[Galaxy S II Original Android Development] julle131:
Hello everyone.

I got my system to compile B2G :D.

Now i represent you B2G 24.11 build. Use Siyah kernel, because B2G kernel has Brickbug. I give you 3 files; system.img, userdata.img and data.img

System.img is the systemfiles of B2G. flash it to hiddenfs to use as secondary rom. Or tosystem partition if you want to use it as primary.

Userdata.img is the datafile. Flash it to data partition if you want B2G as your primary rom. If you intend to use B2G as secondary, you dont need this.

Data.img is for the second rom. Put it to .secondrom folder.

I have no idea of bugs or anything. I just made it 5 mins ago. Downloads will appear to http://harjunpaa.fi/B2G. Upload will take 5mins after this post.

Have a great day everyone :D

Edit:Well, mobile connections do not work for me. But installs and boots fine.
[Galaxy S II Original Android Development] akira.pwr:
Do you think you can do working data fix? :)
[Galaxy S II Original Android Development] julle131:
No, because I do not develop this. It might be just APN issue, or the api might be broken.
[Galaxy S II Original Android Development] akira.pwr:
Do you know any dev for ask about it? I think we could be near to a working build, but we miss something important.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] julle131:
No :(. Only thing I could do is reporting it as bug. That would require me to use stock kernel which has BB. So I am against using it.
[Galaxy S II Original Android Development] mmu7med:
I hope it will become fast and stable as firefox
[Galaxy S II Original Android Development] akira.pwr:
It's difficult will be fast and stable for us, it's a porting, I'd like it could be usable for basic functions...

Inviato dal mio ST27i con Tapatalk 2
[Galaxy S II Original Android Development] Bubble-be:
Though I'm no stranger to Odin or CWM recovery, I'm new to the S2 and the Siyah kernel.

Could you elaborate as to how I can flash the img files to the needed partitions ? I will not be using dualboot, my S2 is still in fiddling mode. :D
[Galaxy S II Original Android Development] julle131:
Well... Let me think... Okay, let's begin.

So, as basic, you use heimdall to flash B2G images. Siyah kernel is used because it supports dual boot + it does not have brick bug.

First, you flash siyah kernel through cwm/Odin/heimdall. Then boot to the recovery and navigate to dual boot settings/something like that. From there, choose to wipe 2nd ROM data.

Now you have necessary files in your phone memory.

Download data.rar from harjunpaa.fi/B2G and unrar it. After that transfer it to .secondrom folder in you internalsd.

Now we have data partition ready. Only system left.

Download system.img from the same place you downloaded data.rar. Then open heimdall, go to the last tab and download pit file. Then go to the flashing tab and insert the pit file where it wants it. Then add partition to flash to the list. Change it to hidden. Then point heimdall to the system.img and flash it.

Now when you reboot you should have possibility to boot to 2nd ROM by pressing home. Do it, and B2G should load. Took some time to write this from phone :D
[Galaxy S II Original Android Development] Bubble-be:
Thanks for those expanded instructions. I fail to get it booting though.

Restoring the CWM backup gives me a bootable device, but flashing the img files does not work. The datafs always fails whether I take the userdata.img or the data.img extracted from the rar file.

Mounting the image files via loopback always gets me the same filelisting regardless of the file ? I guess I need to specify a fstype?

About building this : pulling the source code, feeding it a /system from ICS (would JB work?) and following the rest of the instructions should just work ?

edit: ok, that's clear :

Supported firmware:
UHLPE
XXLPQ
ZSLPF
XWLP7
BGLP8
BGLP9
ZSLPG
XWLPD
XWLPI
[Galaxy S II Original Android Development] danielgek:
i build it but after boot it apears:

file not found

app://system.gaiamobile.com/index.html

what should i do ???
[Galaxy S II Original Android Development] julle131:
Don't use the cwm ones. Only flash system.img to hidden. After that put the extracted data.img to .secondrom folder. This is better used as secondary ROM.

About the building, I used ICS, and that is what I recommend.

You didn't flash Gaia/put data.img to .secondrom folder.
[Galaxy S II Original Android Development] danielgek:
i build it from source so i do ./flash gaia

that is suposted to put gaia to normal data partition right ??? i'm not using SiyahKernel(i think)

i dont want to dual boot i just want to the b2g