yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] DomButcher:
Hi all,

I moved data.img to .secondrom (I wiped my second ROM previously.) then flashed the system.img and I can't boot to B2G. I see neither black screen nor lock screen, it's stuck at ''Booting the secondary ROM...'' bootmenu. What to do now ?
[Galaxy S II Original Android Development] julle131:
It won't boot for me neither. I just tried. Maybe the next build will work. Let's just wait pulser to make new build.
[Galaxy S II Original Android Development] akira.pwr:
Or.. I try the previous build... :) I've lost 3 days and bothered a lot Julle, I have no longer w7, because using Ubuntu, I've made a mistake... So, I can't give up now.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] julle131:
I know it takes time. I learned to use ubuntu by trying and failing. Install you self a dualboot with windows 7 and ubuntu should be yor first priority now. Here is a pretty good link, if you have windows 7 installed http://www.linuxbsdos.com/2012/05/17/how-to-dual-boot-ubuntu-12-04-and-windows-7/ . So first install windows 7 again and then reinstall ubuntu. I hope you have a recovery partition/windows iso/windows install disc/windows install usb. Getting to this point where you have simg2img and ubuntu ready use is quick now that you know what to do.
[Galaxy S II Original Android Development] MemoryController:
Are you guys using the 4/9 build?

Sent from my GT-I9100 running CM10
[Galaxy S II Original Android Development] akira.pwr:
I've tried it, but seems not working, so I'm installing the previous one.

---------- Post added at 06:38 PM ---------- Previous post was at 06:35 PM ----------

I haven't any W7 to install now, but I'm not worried, my pc is used only for online games and modding phones, I'll find another W7 and then I'll do a dual boot.

Right now I'm interested in finish the work started :)

---------- Post added at 06:49 PM ---------- Previous post was at 06:38 PM ----------

Ok, finally something it's moving, I see lockscreen, but I can't unlock because I have a sort of bootloop to lockscreen, after reboot using Mozilla menu, I only see the Mozilla name on the low/right corner, but no more lockscreen...

---------- Post added at 07:06 PM ---------- Previous post was at 06:49 PM ----------

Is there a build working more than lockscreen?
[Galaxy S II Original Android Development] julle131:
It seems there are problems with gaia, so it won't work, but i hope newer builds have it working again.
[Galaxy S II Original Android Development] akira.pwr:
Oh, it's sad, I've doing all this work for nothing, who knows when Pulser will release a new build... I've bothered all of you for nothing, I'm sorry.
[Galaxy S II Original Android Development] lorenzo.themax92:
Paradoxxx what rom do you have before flashing? Do you know if you have old bootloader? I have flashed the bootloader old, full wiped, wiped cache and flash with odin and mobile odin.. but nothing. Don't boot. It stays in galaxy s2 screen boot
[Galaxy S II Original Android Development] Paradoxxx:
My ROM. Old bootloader:)

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Original Android Development] Makrilli:
Gonna download soon, hopefully after some months we will have much more stable version of this, although I thing it will take at least an year from the first b2g phone for this platform to have much apps and games

EDIT: Booted in 10 secs, looking cool, a bit laggy but that's not suprise and totally understandable, I can't get any connection to internet.
[Galaxy S II Original Android Development] roniez:
Calls and SMS works just fine (also have audio and mic working in calls)

But there is no ringtones or notification messages.

So no ringtone when called, and no notification when reciving a sms/mms.
[Galaxy S II Original Android Development] rubikum:
haha this looks pretty cool, why is it previewed on an hd2 instead of the sgs2?

i have the hd2 only and id really like to try this out :P
[Galaxy S II Original Android Development] pulser_g2:
Because I wanted a picture to post, and found that one :D
[Galaxy S II Original Android Development] dswaggz:
Ah there u r buddy hey u gonna port this to the exhibit ii plz try it f miui jk

via tha xquizit EII4G ♚ of phonez
[Galaxy S II Original Android Development] pulser_g2:
65032f65ca98fbaf47a1a2cd4870c45f B2G-flash-ODIN.tar.md5

New build uploaded. Mostly gaia (UI) changes, including one for race condition on incoming calls...

https://github.com/andreasgal/gaia/commits/master

Once again, none of my doing, I'm just updating the build with the latest :)
[Galaxy S II Original Android Development] pulser_g2:
???

Translation to English, anyone?
[Galaxy S II Original Android Development] af974:
It must be a code.
[Galaxy S II Original Android Development] dswaggz:
Will this work exhibit ii 4g

via tha xquizit EII4G ♚ of phonez
[Galaxy S II Original Android Development] af974:
https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko
[Galaxy S II Original Android Development] sk337sk337:
See below :)

Ah there you are buddy. Hey! Are you going to port this to the exhibit 2? Please, try it. F*$& MIUI jk
[Galaxy S II Original Android Development] lithuanian:
http://www.youtube.com/watch?v=9Hml7ovby6s&feature=player_embedded

how do you get icons? to me it seems quite different
[Galaxy S II Original Android Development] pulser_g2:
Why thank you :) Translations always help :D Makes sense now.

Answer? Nope I'm not porting to anything, because

A) I only have an SGS2 (so can't test)

B) I don't have a clue how to. You could probably make a device vendor tree yourself if there's a CM7 for it, by tweaking the existing device tree.
[Galaxy S II Original Android Development] pulser_g2:
That is what it looks like for me. Could you give a minutes:seconds reference?
[Galaxy S II Original Android Development] lithuanian:
What do you mean? :)
[Galaxy S II Original Android Development] pulser_g2:
You said that it looks different to what you see...

To me it looks the same as what I see.

Can you tell me what time in the video (minutes:seconds) it looked different for you?
[Galaxy S II Original Android Development] lithuanian:
http://www.xda-developers.com/wp-content/uploads/2012/02/Boot-to-Gecko-OS-by-Mozilla.jpg?139d23

http://www.youtube.com/watch?v=V1DBaDJ99Qw&feature=related

Why a different in picture or video? Pre beta? alpha? why?

http://www.youtube.com/watch?v=ESOnusAiVdQ
[Galaxy S II Original Android Development] pulser_g2:
Interesting...

I don't actually know. Perhaps those were an earlier UI? Not sure tbh :(
[Galaxy S II Original Android Development] julle131:
For... Nothing? Your running Linux on your PC, you are ready to convert b2g images for second system and you gained experience on using Linux ;)
[Galaxy S II Original Android Development] akira.pwr:
I agree for that, but for sure the day Pulser will release a new build, I'll be back here asking things already answered...

Anyway, with Ubuntu I can't play with cod mw3 or GR Future Soldier... I guess..
[Galaxy S II Original Android Development] julle131:
B2G requires many dependencies, so it would take years for me to start building it. I have tried it few times.

Sorry for offtopic:

I sent you a pm.
[Galaxy S II Original Android Development] akira.pwr:
I didn't mean it's easy to build a ROM, sorry if I gave this impression.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] akira.pwr:
OMG!!! All builds of Pulser are disappeared!!! Take a look....
[Galaxy S II Original Android Development] pulser_g2:
Eh? I didn't do anything, maybe goo.im is having issues?
[Galaxy S II Original Android Development] akira.pwr:
I've tried to take a look for a new build and I can't reach the screen with all builds... I was worried about that, I've worked hard to learn to flash B2G and have bothered a lot the people here...

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] pulser_g2:
Is the main goo.im working?

I have not released any newer builds, but I'll try to resume them at some point!
[Galaxy S II Original Android Development] akira.pwr:
Now I can see all builds, maybe was temporary issue, btw, I'm very exciting to try a working builds, but seems there is problems with Gaia, a gentle guy who helped me a lot, told it. I hope you'll continue your work on B2G. :)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] akira.pwr:
Every days I take a peek if there is a new build...
[Galaxy S II Original Android Development] julle131:
I might have something cooking up, so cross your fingers :fingers-crossed:. This is the first time, and i'm not sure where will the images appear or will it succeed.:confused:.

Edit: Build failed. Time for bug hunting.

Edit2:Error was caused by python and bz2 support. I'm now installing python 2.7.3 with configured bz2 support.
[Galaxy S II Original Android Development] akira.pwr:
Don't give up, I'm sure you'll do it, I'll test when ready :)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] julle131:
Time's up for today... Newest error is caused by pythonbrew. I should remove it, try to accuire the bz2 support and then hope it will build. I will continue tomorrow. I have day off from studing ;)
[Galaxy S II Original Android Development] akira.pwr:
Well, when you have something to test, I'll be happy to do it

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] dud3me:
Great! Will have to try it out once it's out! :)
[Galaxy S II Original Android Development] julle131:
Build succeeded:victory:. But still no go from lockscreen:(. Removing SIM-card before boot seems to give some kind of profile screen, but it doesn't respond to touch. Next thing would be to try it with otg mouse. My build downloads are in http://www.harjunpaa.fi/B2G. I haven' yet fully uploaded the files, but mediafire is ready soon. After that i'll upload to my server.

I am not a developer. This was the first time I built something :D
[Galaxy S II Original Android Development] akira.pwr:
Super, when I'll be back home, I'll give a try, thanks man, I'm sure you'll do it good :)

Inviato dal mio GT-I9100 con Tapatalk 2

I'm reverting to Android 4.0, but my phone isn't recognized in a laptop with W7, I try with Heimdall, but I forgot how to install and run on linux...
[Galaxy S II Original Android Development] julle131:
Boot to recovery and mount usb storage. Also, you can use airdroid for moving data, or wellftp server. Next time installing linux, follow a guide to multiboot it with windows 7 :)
[Galaxy S II Original Android Development] akira.pwr:
my problem is I haven't an efs folder in my device, I've found a back up in my ext sd, it's a bit older, but I hope it' will works, I think my problem is that, let's see what happen, kies and windows do not see my device now.
[Galaxy S II Original Android Development] akira.pwr:
Ok, solved my problems with my device, this night I'll try your build :)
[Galaxy S II Original Android Development] -angel*:
still waitin' somebody makes it a flashable zip (I think nexus developer got it working) compatible with siyah 4.1.1 :o
[Galaxy S II Original Android Development] julle131:
Well, you can wait. It will take some/long time, as no one is even trying. I do not have required knowledge and Gokhanmoral made a zip once but he moved to sgs3.
[Galaxy S II Original Android Development] akira.pwr:
well, now I've learned to install with Ubuntu, so I's the same for me if you want to build a rom like before, the only problem I have, it's to run Heimdall, I forgot what to do, or, at least, I do how I remember, but not works...
[Galaxy S II Original Android Development] julle131:
Install synaptic with following command: "sudo apt-get install synaptic" then open it from launcher or fro command line using command "sudo synaptic". If heimdall and heimdall-frontend are there, install them. If not, download the install packages from these links and install them using command "sudo dpkg -i heimdall*".For 32-bit system:

https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall_1.3.1_i386.deb

https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.3.1_i386.deb

For 64-bit system

https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall_1.3.1_amd64.deb

https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.3.1_amd64.deb
[Galaxy S II Original Android Development] akira.pwr:
Great, I've done all, thanks :)
[Galaxy S II Original Android Development] -angel*:
So I like it so hard I just want to try B2G :victory:

So, I'm now on Siyah 4.1.5 - I read https://www.villainrom.co.uk/forum/threads/introduction-to-dual-boot-of-boot2gecko-b2g.5436/, but I don't really know what to do. Just flash the second file from http://villainrom.co.uk/pulser/B2G/ via odin as one-part firmware and then just unzip the second file and put it to .secondrom??

If it's so easy, this would be pretty cool :laugh:
[Galaxy S II Original Android Development] n1kolaa:
Can someone make B2G for Arc
[Galaxy S II Original Android Development] akira.pwr:
@angel: the installation isn't so easy as I've expected, but thanks to Julle, I've done it. I want to write a guide to make it easier for everyone, now the builds don't works very well, but it's a very interesting project, I hope Julle and Pulser will works together to make it works better. :)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] julle131:
I have only built it. I do not develope B2G, or neither does pulser. Mozilla is working on B2G. To make it better we should sent issue reports to B2Gs git.

How about making it yourself? Most if people here do not have arc. You can also ask if mozilla would do it.

Go to http://www.harjunpaa.fi/B2G and download system.img and compressed data.rar. Then install heimdall, flash system.img to hidden, extract data.img and move the data.img to .secondrom folder in your internal sd.
[Galaxy S II Original Android Development] -angel*:
No way to do it with Odin?

I'm sorry, but I know nothing about heimdall, so I can't follow your guide :/
[Galaxy S II Original Android Development] julle131:
No, I don't think there is a way to do it with odin. Sorry.
[Galaxy S II Original Android Development] akira.pwr:
search heimdall on google, run heimdall-frontend , go to flash tab, download pit file of android 4.0, on pit box browse it and open, then under the big box on the right will appear the "add" button, tap it, and browse "system" file, on partition name, put "hidden", obviously your S2 have to be on download mode and have Siyah kernel.

now you can flash :)

Enjoy.
[Galaxy S II Original Android Development] julle131:
I will try to create a issue report for mozillas git tomorrow if I have time. What do you think it should contain? I was thinking in including logcat, description of the problem and possibly a video. Also I think telling them I use 3th party kernel might help. Ofc if you have time, you can create the report instead of me. When I say you, I mean everyone in this topic.
[Galaxy S II Original Android Development] akira.pwr:
As you see, I'm a real noob, I don't know how to do the issue report...
[Galaxy S II Original Android Development] -angel*:
got everything, but where do I get pit file of android 4.0? :/
[Galaxy S II Original Android Development] julle131:
From your phone, which is required to run android 4.0. Go to last page, click "detect device" and select download pit. You must patch your drivers before you can use heimdall. There is a patcher somewhere in heimdalls folder.
[Galaxy S II Original Android Development] -angel*:
ok - also works with ICS as second rom in Siyah (with custom rom)?

And as I think I got more questions, would be nice if somebody with about 30 minutes of time could add me skype (PM me for skype ID, don't wanna post it here)
[Galaxy S II Original Android Development] julle131:
I'm on skype, and sent you a message with my skype ID. I'm running a little low on time, so be quick please.
[Galaxy S II Original Android Development] akira.pwr:
no, in second rom you'll have b2g, so, you have only a 4.0 primary rom.
[Galaxy S II Original Android Development] -angel*:
yeah guy, I added you :s

Ok, so I'm gonna flash a 4.0 rom, make the pit (and patch it :confused:) and then try the rest...
[Galaxy S II Original Android Development] julle131:
I am sorry, but seems like skype does not like me. I can't see your friend request or anything. I have tried restarting skype and and re-logging in.

Cyanogenmod has a guide to use heimdall.

Windows ONLY:

Power off the Samsung Galaxy S II and connect the microUSB to the computer but not the Samsung Galaxy S II.

Boot the Samsung Galaxy S II into download mode by holding down Home & Volume Down & Power while connecting the microUSB to it.

Run the included zadig.exe in the drivers folder of the Heimdall Suite.

From the menu, choose Options » List All Devices.

From the drop down, select Samsung USB Composite Device or Gadget Serial.

Click Install Driver.

NOTE: A prompt may appear warning that the installer is unable to verify the publisher of the driver. Ignore it and select "Install this driver anyway."

Heimdall can now be used safely on the Windows computer.

NOTE: For more information about the Heimdall Suite, please read the included README.txt.

Power off the Samsung Galaxy S II and connect the microUSB to the computer but not the Samsung Galaxy S II.

Boot the Samsung Galaxy S II into download mode by holding down Home & Volume Down & Power while connecting the microUSB to it.

It is recommended to use heimdall 1.3.1, so download it. Go to last tab, and choose detect device. Then choose download pit. Choose the folder where your heimdall is and choose save as. Now go to flash tab and click add. Then modify the default "GANG" to "HIDDEN" and locate the system.img with browse button. Then click start. Then boot to recovery, wide 2nd rom data if you didn't have it. If you had you don't have to wipe the data. then from mounts mount usb and move data.img which you extracted from data.rar to .secondrom folder. Now just reboot and B2G should load.

Source:

http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Full_Update_Guide
[Galaxy S II Original Android Development] akira.pwr:
I'm flashing my x8 and Xplay now, so I can't try your buid for tonight, but tomorow I'll do, I'm so courious :)
[Galaxy S II Original Android Development] -angel*:
Ok, I just texted a bit with julle and he thinks its not really a good idea, 'cause B2g stucks at lock screen :crying:

Can't I just flash Siyah, then flash the tar file (of B2G) via Odin, copy to secondrom, then remove the data.img in .seconrom to the one of b2g?

Just a thought of me on this guide: https://www.villainrom.co.uk/forum/threads/introduction-to-dual-boot-of-boot2gecko-b2g.5436/
[Galaxy S II Original Android Development] akira.pwr:
Me and someone else have tried to flash via Odin, but simply flash gave an error, it don't works as expected, so I've followed Julle's help and I've done it, but something else have to be fixed, let's see if we can stimulate devs and Mozilla to fix problems :)
[Galaxy S II Original Android Development] -angel*:
Ok, thanks for your tip - I'll try it though :D
[Galaxy S II Original Android Development] akira.pwr:
Was hard for a noob like me, but now I've learned the lesson, I've lost my W7 because I made a mistake with Ubuntu, but for me, was more important to flash B2G :)
[Galaxy S II Original Android Development] 99heitor:
Hey, I looked everywere but didn't find answers...

Are the latest builds these ones? http://villainrom.co.uk/pulser/B2G/

Can I use an Siyah based kernel instead of Siyah? (Like Dorimanx)

And... Can I dual-boot it with a custom JB (4.1) ROM instead of ICS?
[Galaxy S II Original Android Development] akira.pwr:
@99heitor: no, the latest build by Pulser (a dev) are here:

http://goo.im/devs/pulser/i9100-Boot2Gecko/

The latest build by Julle is here:

http://www.harjunpaa.fi/B2G/

I think you have to use ICS because you have to put a .pit file on heimdall to flash into hidden partition, so you can't have a .pit file of JB, about kernel, I don't know what to say, I prefer to use Siyah for flash B2G.
[Galaxy S II Original Android Development] julle131:
It seems that the bug is cause by kernel. Using stock kernel allows me to unlock phone, but ADB does not start. Without adb i cant flash gaia, so I have no UI.
[Galaxy S II Original Android Development] akira.pwr:
Can't you (and Pulser eventually) ask to Gokhanmoral to take a look to B2G and modify a kernel for us?

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] pulser_g2:
If someone finds a technical problem with the kernel, I'm sure it can be rectified :)

Or if a patch is needed on top of siyah sources, that b2g added, if someone finds it, I can add it...
[Galaxy S II Original Android Development] midreestaj:
Heimdall v1.3.2, Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna

http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is

encouraged.

If you appreciate this software and you would like to support future

development please consider donating:

http://www.glassechidna.com.au/donate/

Initialising connection...

Detecting device...

Claiming interface...

Setting up interface...

Checking if protocol is initialised...

Protocol is not initialised.

Initialising protocol...

Handshaking with Loke...

Beginning session...

Session begun with device of type: 131072

Downloading device's PIT file...

PIT file download sucessful

Uploading HIDDEN

0%

1%

2%

3%

.

.

.

99%

100%

ERROR: Failed to confirm end of file transfer sequence!

HIDDEN upload failed!

Ending session...

Rebooting device...

<<< with ODIN >>>

<ID:0/003> Added!!

<ID:0/003> Removed!!

<ID:0/004> Added!!

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> hiddenfs.img

<ID:0/004> NAND Write Start!!

<ID:0/004>

<ID:0/004> Complete(Write) operation failed.

<ID:0/004> Added!!

<OSM> All threads completed. (succeed 0 / failed 1)

This is what happening at my end. I am using ICS 4.0.4, PIT extracted from Heimdall, System.img load failure. Source: http://www.harjunpaa.fi/B2G/ & http://villainrom.co.uk/pulser/B2G/

It is just the same on ODIN. Any idea why is the System upload failing?
[Galaxy S II Original Android Development] julle131:
Use heimdall version 1.3.1. 1.3.2 has a bug.
[Galaxy S II Original Android Development] midreestaj:
I will check .. thanks.
[Galaxy S II Original Android Development] -angel*:
Ok, and how can I come to 4.0.3? :/

Cause I'm on 4.1 CR and I think Bootloaders are different?

Just flash old siyah and then stock 4.0.3?
[Galaxy S II Original Android Development] julle131:
Just install any 4.0 rom. Bootloader difference was in 2.3 and 4.0. I'll try to update the B2G in my site tomorrow. I will also upload the kernel this time. If i can, which i doubt, get b2g functinal tomorrow, i'll also upload a cwm backup.
[Galaxy S II Original Android Development] akira.pwr:
Great, I'm back home right now, if someone will work more than now, I'll begin to share in another forum, if you let me do it, obviously with original links and credits.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] snowblind2142:
Hi.

I have managed to get it working in its infancy, then struggled. had the same issue as your having. if you look in the file, Gokan had failed to name the file correctly (needs to hidden file) once renamed I flashed through Odin no problem.

The issue I then came across was it loading and showing in able to connect to server... gave up after that... to much over my head.

hope this makes sense to you or helps.
[Galaxy S II Original Android Development] -angel*:
Just waiting for a noob proof guide :3
[Galaxy S II Original Android Development] akira.pwr:
You mean with windows or Ubuntu?

Did you tried with Heimdall?