[PRE-ALPHA] Mozilla Boot-To-Gecko (B2G) - NOT ANDROID, SOMETHING DIFFERENT

Search This thread

Makrilli

Senior Member
Dec 12, 2011
827
172
You have flash this with heimdall. Althrough as far as I know pulsers releases don't work atm so flash gokhamorals zip with cwm

Sent from my sgs2 running cm9
 

MyLifeRocks10

Senior Member
Mar 8, 2012
3,883
9,843
LOL, file ''.secondrom'' took something around 2 GB...it was a hidden file, so I didn't see it with Root Explorer. Now, how much free space do I need for data & cache of my Second ROM ?

2.1GB is exact size but it's always good to have more than that. In root explorer enable show hidden files from its preferences to see hidden files.

Sent from my GT-I9100 using Tapatalk 2
 
  • Like
Reactions: DomButcher

DomButcher

Senior Member
May 24, 2011
247
38
Looking at the name I think u can delete it but not sure coz I don't have that folder. First see the contents and then delete it.

Sent from my GT-I9100 using Tapatalk 2

It has all the files I deleted. They are even 4-5 months old and the whole folder takes 5 GB, LOL. I deleted it...

EDIT : I flashed it, now I have just ''Server not found'', when I am in B2G.
 
Last edited:

Makrilli

Senior Member
Dec 12, 2011
827
172
Did you also put pulsers data.img to .secondrom and any cache.img to there after you wiped it?

Sent from my sgs2 running cm9
 

DomButcher

Senior Member
May 24, 2011
247
38
Did you also put pulsers data.img to .secondrom and any cache.img to there after you wiped it?

Sent from my sgs2 running cm9

No, nothing. I only made, what gokhanmoral wrote in his post.

EDIT : Okay, didn't see this guide : https://www.villainrom.co.uk/forum/threads/introduction-to-dual-boot-of-boot2gecko-b2g.5436/
, will try and report.

EDIT1 : Oh, both files, cache.img & data.img, are already in .secondrom. Still ''Server not found''. I don't know, how to re-install Gaia.
 
Last edited:

julle131

Senior Member
Mar 24, 2011
1,476
606
No, nothing. I only made, what gokhanmoral wrote in his post.

EDIT : Okay, didn't see this guide : https://www.villainrom.co.uk/forum/threads/introduction-to-dual-boot-of-boot2gecko-b2g.5436/
, will try and report.

EDIT1 : Oh, both files, cache.img & data.img, are already in .secondrom. Still ''Server not found''. I don't know, how to re-install Gaia.

It takes some time. I just noticed that i have the same, and i just earlier today installed it.

It requires building build enviroment. What i did was:
1. Installed ubuntu 12.04 via wubi
2. Installed java from ubuntu software center. It was called openjdk 6 or something close to that.
3. prepaired adb throught this guide:http://xdaforums.com/showthread.php?t=921169. Just skip to step 2.
4.because I couldn't run adb, I installed following lib: ia32-libs.
5. Now I had adb working. Then i installed git with this command: sudo apt-get install git.
6.Then i cloned gaia with this command:git clone https://github.com/mozilla-b2g/gaia.git
7. then continued with: cd gaia, and after it: make install-gaia.

It should build gaia now. Your phone needs to be plugged to pc, because it uses adb.


Moar edit: Thanks for gabx for pointing out the new gaia location.
 
Last edited:

DomButcher

Senior Member
May 24, 2011
247
38
It takes some time. I just noticed that i have the same, and i just earlier today installed it.

It requires building build enviroment. What i did was:
1. Installed ubuntu 12.04 via wubi
2. Installed java from ubuntu software center. It was called openjdk 6 or something close to that.
3. prepaired adb throught this guide:http://xdaforums.com/showthread.php?t=921169. Just skip to step 2.
4.because I couldn't run adb, I installed following lib: ia32-libs.
5. Now I had adb working. Then i installed git with this command: sudo apt-get install git.
6.Then i cloned gaia with this command:git clone https://github.com/andreasgal/gaia
7. then continued with: cd gaia, and after it: make install-gaia.

It should build gaia now. Your phone needs to be plugged to pc, because it uses adb.

Thanks a lot, but that's too much work for testing PRE-ALPHA. ._.
I won't install an OS just for it...will wait for upcoming versions and then maybe try it, but not now. Anyway, thanks.
 

julle131

Senior Member
Mar 24, 2011
1,476
606
Thanks a lot, but that's too much work for testing PRE-ALPHA. ._.
I won't install an OS just for it...will wait for upcoming versions and then maybe try it, but not now. Anyway, thanks.

Hmm... maybe if i install it and put it to second system. That way you can just drop the data.img to your sdcard. It does require that you have b2g system installed as second system.

Sent from my GT-I9100 using XDA Premium HD app
 
  • Like
Reactions: DomButcher

julle131

Senior Member
Mar 24, 2011
1,476
606
I haven't been able to flash gaia. I get error 127 all the time. Adb is working, phone is plugged and everything. I have tried recloning git, but it didnt solve it. Hopefully i get full b2g synced today. Im in school for few hours, but firewall prevents me from doing it here :banghead:.

Sent from my GT-I9100 using XDA Premium HD app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 165
    Mozilla-Boot-2-Gecko-OS-image.jpg

    More information about B2G (Boot2Gecko) is available here.

    So... I saw this and couldn't resist having a little sneaky play around with it. This is NOT a daily driver. This is NOT stable. It's pre-alpha. If you want something to use as a phone, this isn't it. If you just want to use your phone as a phone, you want this.

    With that aside, and with the clear understanding that while this won't brick your phone, it's nothing to do with me if it did for some reason, or likewise if your cat (or other cute pet) suffers a painful death as a result of flashing this. At your own risk, like everything else here on XDA-Developers!

    So without further ado, WTF is this? Well, it's a project from Mozilla (the lovely people behind the Firefox browser). I won't go into details, suffice to say I suggest you read a lot over at their wiki - start off at https://wiki.mozilla.org/B2G and work your way through the pages.

    Anyway, what is this? Well, it's a TAR to flash via ODIN (codeworkx informs me not to flash userdata partition via heimdall, I suggest you heed that warning, and this tar contains the userdata partition). Within it is a kernel (should have CWM etc), a /system, and a /data. These are not for Android, rather are for booting up this Boot2Gecko operating system. It's Mozilla's attempt at a cloud OS for phones.

    Anyhow, if you wanna know how I did it, check out https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko/Building_B2G_for_Samsung_Galaxy_S2

    I've prepared a build environment so I can update it when I feel like it (read, when it needs it). So without further ado, your download link (direct link, should be quite fast):

    Download Here

    Video? See this post

    What works?
    According to my group of testers (thanks datagutt, and roniez :)):


    I have no idea if calls work, but I think you'll need to disable your SIM PIN (if you have one) first.

    Big props to the developers of this (see https://github.com/andreasgal/B2G for some links and you'll find what's going on)

    Mozilla-offers-the-first-proper-look-at-their-Boot2Gecko-phone-OS.jpg
    29
    http://www.gokhanmoral.com/public/files/b2g.zip

    1- install Siyahkernel 3.2.2 or later
    2- reboot into recovery, dual-boot options, wipe 2ndROM data&cache
    3- install the zip above to 2ndROM using dual-boot options menu

    I may not have packed it properly.. some buttons do not work but it can connect to wifi and will give you an idea until pulser prepares a better pack.

    warning: it will wipe your data during the installation. if you install it directly (not to 2ndROM but to your primary rom) do not compain about losing your data.
    21
    Dual boot of B2G and Android working!

    Thanks to gokhanmoral for helping out with it, because my attempts ended up failing close to the hurdle, but he got it all working!

    Anyway, I am going to be posting builds which are b2g based on ICS. So you need to use the new siyah kernel (whenever that comes out), along with an ICS ROM.

    You can use b2g or Android as your primary rom. The secondary will store its data on the internal sd, and it's system folder in the "wasted" 500MB "hidden" partition. Just how siyah does dual boot!

    Anyway, that's today's update - dual boot android and b2g now possible without re flashing!

    Thanks again, gokhanmoral :)
    15
    hi guys, I'm a member of Mozilla Project team (but I work on B2G/Gaia mostly in my spare time).

    If you have any questions or want to help with the development or porting take a look here: https://wiki.mozilla.org/B2G and join us on irc.mozilla.org #b2g

    If you want to help with the UI take a look here: https://wiki.mozilla.org/Gaia and join us on irc.mozilla.org #gaia

    We're super-excited about ability to make mobile hacking easy and with the whole UI and device binding based on HTML5+CSS+JS and development in the real open (*wink*) I hope you'll like the fresh vibe :)
    11
    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.