yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] Terrell1433:
This boots for the toro but only to a white screen, when I held the power button it brought up a menu but that's all I could do.
[Samsung Galaxy Nexus] josteink:
Seems like Firefox OS has actually been released now.

https://hacks.mozilla.org/2013/07/firefox-os-devices-officially-released/

Still no good builds for our devices?
[Samsung Galaxy Nexus] MisterSprinkles:
I think I'll take a stab at building this for Toro today.
[Samsung Galaxy Nexus] Terrell1433:
Looking forward!
[Samsung Galaxy Nexus] Sachintha chaminda:
Can firefox os ported to a arm v6 600mhz ram

about 200 mb phone ?(no hardwear gpu also )
[Samsung Galaxy Nexus] geomonroe:
Any luck

John 3:16
[Samsung Galaxy Nexus] itsmontoya:
How did it go? :D
[Samsung Galaxy Nexus] josteink:
I tried building this for maguro but it failed somewhere around the omap4 / camera section.

Anyone got any leads on how to get this thing building in the first place? :)
[Samsung Galaxy Nexus] itsmontoya:
I kept running into a bunch of random issues building this myself. Though I believe the majority of my issues were due to building in OSX rather than Linux. I need to not be lazy and try this on my Linux machine..
[Samsung Galaxy Nexus] josteink:
I did my work on a machine which otherwise builds cm10.x fine. Ubuntu 64 and all.
[Samsung Galaxy Nexus] ojdon:
Also getting this issue.
[Samsung Galaxy Nexus] josteink:
I'm on it and have a build of sorts.

Will get it merged upstream and try to see if the build actually runs or does anything useful :)

I've been suggested from mwu from Mozilla that working off a 4.3 base might get us better results in the end, but for now I'll try to get the 4.0-based build we got here just working at all.

First things first etc.
[Samsung Galaxy Nexus] zy2zyy:
i cannot use this rom, its DPI is the smallest one, making me blind..
[Samsung Galaxy Nexus] josteink:
Status update:

B2G builds, it flashes, but once booting it only shows the Google logo, changes brightness a few times and then goes black.

Not sure what goes wrong or where, but definitely not useful at this point :)

Via adb I can tell a bunch of processes has been launched though. Anyone have any good leads on what to try?

Anyone want me to upload this somewhere?
[Samsung Galaxy Nexus] josteink:
From "logcat" I see that I'm missing a /system/b2g/chrome.manifest.

And from manually launching /system/b2g/b2g I can tell that it's unable to load libmozglue.so although its in the same directory.

I guess I got something to work on ;)

Edit: Got parts of it solved, although nowhere near goal.

In an adb shell I did the following

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/system/b2g

/system/b2g/b2g

But then I got a segfault. Lol.

Strace'ing that, I got a wall of text. See attachment and DO feel free to chime in on some suggestions.

I'll UL the build later on so that anyone interested in fighting this thing can do the same :D

From that wall of text what I can seem to grok is that the framebuffer fails to initialize. And that sounds like a reasonable explenation based on the screen being black.

I guess I got something concrete to look into. Too bad I know little to nothing about these things :D

Edit 2: Uploaded logcat as well.

Edit 3: Checking the build logs, it complains about Java version not being Jave 6 SE. Fixing that and trying a new build.
[Samsung Galaxy Nexus] ScardracS:
Download and Test In Progess :good: :D
[Samsung Galaxy Nexus] josteink:
This build is most likely super-duper botched and Im working on another one.

That said, whoever is ultra-bored can DL it from here:

http://nexfiles.kjonigsen.net/b2g

Erase cache and userdata before flashing. Needs to be flashed normally via fastboot.

Not really sure flashing recovery is needed, so if you dont want to lose your TWRP or whatever, just skip that :)
[Samsung Galaxy Nexus] redj12:
This rom is enough stable for "daily" use ? The most important thing for me is the alarm clock hihi
[Samsung Galaxy Nexus] Lesicnik1:
Same thing happened to me :/

Oh well.

At least I learned making backups of my SD card won't hurt.
[Samsung Galaxy Nexus] Menelkir:
This happens when you didn't read the thread. :P
[Samsung Galaxy Nexus] CADude:
This is the kind of stuff people should be working on instead of making yet another ROM based on earlier works like cm10 or aokp. I'd love to see a full OS alternative to Android running on every Nexus phone from here on out. A lot of people would donate a lot of money to be free from Google and have a fast OS.
[Samsung Galaxy Nexus] KL4V1CL3:
Been waiting for this for a while. Can't wait for a CWM and on-screen button version.
[Samsung Galaxy Nexus] evodon84:
No way to dual boot this currently huh. Boot Manager from the market won't work I don't think because you need to install it on the second app to boot back to your original rom.

We need a full boot kernel baha.
[Samsung Galaxy Nexus] mrmylanman:
Wow very neat! Can't wait to see it fleshed out more. Its nice to see different operating systems on the horizon as competition in technology is always good.

I'm also interested in seeing Open Web OS on the Galaxy Nexus as well
[Samsung Galaxy Nexus] bearsblack:
https://www.youtube.com/watch?v=PfhmZX8AG0M&feature=youtube_gdata_player ?
[Samsung Galaxy Nexus] Ryands991:
I didn't flash this, but you should probably make a warning about messing with userdata.img will result in "SD" storage being gone. Some people will lose precious pictures/videos/documents.... Big and bold in the OP would save a lot of users grief.

I understand it's "Flash at your own risk", but this is big!
[Samsung Galaxy Nexus] JonathanBarca10:
But they've also said how experimental it is and that its pre-alpha. The risk of EVERYTHING going wrong is implied. I see, "experimental, pre-alpha" and i know that this is not something to just take lightly. And then i see that its an entirely new OS and i also have to assume that everything on my phone could be affected. People should assume the same here, thats whh people always put, "flash at own risk, make a backup."

Even if youre not a flash addict, you should still make backups of your stuff since **** can happen.
[Samsung Galaxy Nexus] jzero88:
WOW talk about FAST!!

Definitely will be a tester for this, once buttons are added :)

NICE!
[Samsung Galaxy Nexus] Michealtbh:
The joys of READING THE THREAD
[Samsung Galaxy Nexus] itsDefying:
People. READ THE OP. It's not hard.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] kekko986:
+1 !!!!
[Samsung Galaxy Nexus] robertogl:
this alpha will be developed for other devices?
[Samsung Galaxy Nexus] evil_penguin:
Wow! Awesome!

Great work man.
[Samsung Galaxy Nexus] CADude:
I really hope other people step up and try to help the OP with bug reporting and development. This is HUGE for the Galaxy Nexus. If we can actually get Firefox OS on Android's Nexus line, it will make this phone so much more valuable for those looking for real open source alternatives.

I see people saying that Google can't be trusted and all that, and I agree, that's why we use things like AOSP ROMs and such, to minimize that crap and bring about real choice, and if people really want NO SPYWARE and MORE CHOICE then they need to really back putting something like Firefox OS on this phone.

Heck, I'd donate to whoever gets Firefox OS running in a stable manner on the Nexus just out of general principle, even if I don't end up using it. This is important stuff here.
[Samsung Galaxy Nexus] Flukester69:
Not sure what the excitement is. This OS will go on el cheapo phones. I can't see anything of interest here for me to bother with. I doubt it's gonna make any changes to the landscape of things mobile or browser. It's not the first time I have heard of the Firefox OS and at least to me, it seems more like a desperate move to try and get Firefox more out there, as you may or may not know Firefox is dwindling in the browser market. It's Chrome, IE and then Firefox. Firefox has been struggling as it is. My pc browser has gone up like 20 versions in the last few months. Ridiculous really. I guess it's another one of those 'to each their own' kinda things but for me I'll pass indefinitely.
[Samsung Galaxy Nexus] Axel2033:
It's only pre-alpha version of the new mobile operating system. I fully share your opinion about the choice of operating system and aosp. I will continue to develop Firefox OS for Galaxy Nexus, and I hope someday, everyone will be able to take advantage of this system. I will be releasing weekly builds of the system. If someone can help develop, write to me. Together we can achieve the desired result.
[Samsung Galaxy Nexus] cpom1:
If you read the thread you would see that numerous times the dev and others mentioned this

---------- Post added at 02:47 PM ---------- Previous post was at 02:45 PM ----------

SOMETHING DIFFERENT like the thread says
[Samsung Galaxy Nexus] AshtonTS:
Is there a way to dual boot this with android? Also, and word on Toro support?
[Samsung Galaxy Nexus] josteink:
My build? No chance in hell right now :)

---------- Post added at 10:08 PM ---------- Previous post was at 09:29 PM ----------

Got a new build up, based on JDK6. Lots less build-noise, but it doesnt really seem to be working either.

Seems to suffer from the same issues. (Incorrect LD path, missing chrome.manifest, fb hal issues)
[Samsung Galaxy Nexus] jeetBLswami:
I have built one , today itself and i am facing the same issue.:(

but i have to get back to my permanent ROM for now. :rolleyes:
[Samsung Galaxy Nexus] :
Is it possible to build it on my Fedora Rawhide? I'd like to do this. Maybe someone could tell me what to install on Fedora and help me with the first build(s) because I have never built anything.

EDIT: I'm trying to build now. Let's see what errors will come.
[Samsung Galaxy Nexus] :
I have problems with syncing repo. It hangs after a certain time. I'll set up a Ubuntu 12.04 and try it on the weekend. But don't expect anything because I'm only trying to build. I want to see what errors come and get more experience in building.
[Samsung Galaxy Nexus] x1123:
It is good for you and other members, by telling what machine do u use, i.e linux ubuntu 12.04 amd64, what source ddi you sync, tell us in brief what command did you execute, and what happened. it is stallen. have you check your internet connection ? without clue nobody can help you
[Samsung Galaxy Nexus] :
Sorry, I forgot about it. I use Fedora Rawhide amd64 (with a first generation Intel Core i5). The development version of Fedora could cause problems but I want to try it anyway first with Rawhide because building on a USB is not the best idea.

I'm able to install Ubuntu or any other distro onto an USB device if it's necessary.

I'll post the errrors in the next days when I have time to build again. The last one was a mistake by me because I was in the wrong directory. :D

Internet connection was not interrupted. I'll post the output after the next try. I don't have time today anymore because it's evening here and downloading takes 4 hours for me.

Anyway thank you for your help!

Oh and I saw this right scaled Firefox OS rom for the Nexus 4. it looks amazing!
[Samsung Galaxy Nexus] :
Still downloading the sources. I had some disconnects this morning so I'm syncing now for the third time.

Still 2 hours to go. :(
[Samsung Galaxy Nexus] x1123:
Ganex is officially supported, I thinks. All Nexus Devices are Good for developing. since It what was google design the device, very easy to unlock the bootloader. Nexus 4 is recent device and Nexus 5 will be better. Vendor will robe our pocket everytimes, especially The State Jail "GOOGLE". I'm jailed also Now, my contact, my drive, my G+ all in google hand. Hope google will not make me disappointed :D ... I tweaked Firefox OS, but I tested on Nexus S. I think you better put linux on hard disk for developing. Playing live OS for developing is not good idea.
[Samsung Galaxy Nexus] :
"Linux" (the Linux based Fedora Rawhide) is my everyday and only OS I'm using. I have no Mac and I've sold my Windows licenses so no live medium running. I said that I could put (install, no live medium) an Ubuntu onto an USB drive if it fails with Fedora and it works with Ubuntu.
[Samsung Galaxy Nexus] jeetBLswami:
tried building again ... but again it booted nd just the black screen..:(
[Samsung Galaxy Nexus] x1123:
All linux distro Just same :D the choice is a flavour. You probably can load your build samewhere and put links here, who knows sameone willing to test your build. This is dev forum, so you may get help from other users :)
[Samsung Galaxy Nexus] x1123:
Is this probably your problem (No CMake , I also see no javac ... on the output. are you sure to set the environment correctly (?)
[Samsung Galaxy Nexus] :
I've edited the .userconfig file to link to GCC 4.6.4 and now it is building. Let's see what errors come...

I've set the environment with the wiki entry for Fedora 19 up.
[Samsung Galaxy Nexus] jeetBLswami:
[MENTION=4421971]jeetBLswami[/MENTION] Could you share your build please. Maybe we (not me, but maybe others) can find bugs and solve the problems.

where should i upload..which server is best for you?
[Samsung Galaxy Nexus] :
Google Drive, Mediafire everything except 4share is fine for me. I can download from everywhere.
[Samsung Galaxy Nexus] jeetBLswami:
and do the same for G++
[Samsung Galaxy Nexus] :
I think I've done both of them. Should it now building without any errors or do I have to expect some errors (and how do I solve them?).
[Samsung Galaxy Nexus] jeetBLswami:
i think it should build..if you get any error post it here..:)

here is my build. it si not working though

https://drive.google.com/file/d/0Bx5WpwEIKYwwOWVsWkRaUWlKQ3M/edit?usp=sharing

http://d-h.st/bwA
[Samsung Galaxy Nexus] :
If I would know more about fixing such things I'd do it, but I have no experience with problems like these.
[Samsung Galaxy Nexus] x1123:
can you tell us, what do you mean with NOT WORKING ? booting or something else .... :D
[Samsung Galaxy Nexus] jeetBLswami:
it is booting . but the problem is in UI . it is not starting..:/
[Samsung Galaxy Nexus] x1123:
The OP very long time did not come back to this thread. He/She probably have no time. I have been waiting official release for Fox OS and ubuntu Touch. I wanna to get out from the Giant Android :D
[Samsung Galaxy Nexus] :
And because the OP is inactive others (like me) want to try building Firefox OS for our Galaxy Nexus. (It's official supported so it should work better than not starting the UI.)

---------- Post added at 06:42 PM ---------- Previous post was at 06:39 PM ----------

Same here. I want to go away from Android to a more open system but I don't want to buy a new device like the ZTE Open.
[Samsung Galaxy Nexus] x1123:
Okay mate, I'm syncing my b2g source now and config for galaxy nexus, i will try to build and share what will happening :D
[Samsung Galaxy Nexus] :
Build failed. :(
[Samsung Galaxy Nexus] x1123:
Hi You failed at 189 minutes, it was about 3 hours. I believed you need to poke the source code, related to your failed. My failed is funny by complaining about ccache ... i did not use ccache feature in my machines :(
[Samsung Galaxy Nexus] jeetBLswami:
have you increased the size of ccache?? $ ccache --max-size 3GB
[Samsung Galaxy Nexus] x1123:
since long time I did NOT use ccache feature in my linux machine, because I sgree with THIS : Debunking ccache myths redux , well .... b2g asking ccache I just merge ccache, I'm not developer so I respect to developer and follow :D ( In fact I compiled many of android rom and never complaining about ccache) ... btw my build just finished. Tested and Ghrapic NOT APPEAR just black :D .. from the logcating I saw many error about gralloc ... I think we need to poke many of the sources and I have no time to do :(
[Samsung Galaxy Nexus] goast:
What version of gnex you guys making this for? I'm a toroplus user...if u can get this running would u consider a build for us lowly scoundrels of the nexus family:p
[Samsung Galaxy Nexus] x1123:
Maguro GT-I9250
[Samsung Galaxy Nexus] goast:
OK I'm going to try to see if I can get someone from our side to port if whoever gets it going doesn't mind
[Samsung Galaxy Nexus] :
I'd wait until we can get a build for maguro working because toroplus seems harder to port. I think I'll refresh my source code and try to build again. Maybe there was an error in my download. Nobody knows...
[Samsung Galaxy Nexus] ScardracS:
I have only one question... How i can change font size?
[Samsung Galaxy Nexus] :
Are you using the build from the first post? It's not possible. The problem is the DPI which is too small for our GNex.
[Samsung Galaxy Nexus] ScardracS:
Yes i use that... Thank for the answer. I hope it's possible to chang font size asap :)
[Samsung Galaxy Nexus] :
Newer versions of FFOS support higher DPIs but we are failing to build. Read the last pages and you'll see what problems we have.
[Samsung Galaxy Nexus] josteink:
Yeah. All framebuffer related stuff just fails.

Not sure if that's a kernel problem (doubt it) or a init-problem.

I'm guessing the latter, but I'm no pro at this.

Looking on the bright side, I managed to get this thing to build at least, and that's definitely something :)
[Samsung Galaxy Nexus] jeetBLswami:
i am sure the problem is in new gaia not in the kernel because i flashed previous build and than updated gaia same thing happened again
[Samsung Galaxy Nexus] x1123:
LISSYX has good device sources and build on CRESPO XDA FORUM ... His build is usable for " daily bullet " for crespo. I'm sure Someone interesting to develop B2G on Maguro can ask help from Him, or "borrow" his code.
[Samsung Galaxy Nexus] Mevordel:
Is it possibly an issue of missing proprietary blobs? The gralloc library is usually one of them.
[Samsung Galaxy Nexus] jeetBLswami:
i think the propriety blobs are not missing because firefox is including them.

but i think it may be because of hw.composer it should not be included in firefox build :rolleyes:
[Samsung Galaxy Nexus] x1123:
I believed, we should do like at CM build camp, we have to extract proprietary files from live device or somewhere else. I personally did not do serious thing to build this beast. I will do once I have suffice time :D I'm NOT a developer. Just currious, is b2g really New Platform or just skinning of android
[Samsung Galaxy Nexus] Mevordel:
It uses some android hardware libraries, but it entirely replaces the framework with a HTML5 engine. So apps are completely different.
[Samsung Galaxy Nexus] X1iser:
Did we need Android 4.0.4 on Gnex when we configure the build ?

Edit: trying with 4.3... hope the files who builder need works with B2G
[Samsung Galaxy Nexus] :
My build failed even with 100% Google-Stock 4.0.4 Android.
[Samsung Galaxy Nexus] X1iser:
Ok...

Mine is CM. I do not have much hope but I'll let it run until the end...:rolleyes:
[Samsung Galaxy Nexus] :
Any ideas?

Fetching projects: 90% (76/84) Fetching project platform/system/core
Fetching projects: 91% (77/84) Fetching project platform/system/extras
Fetching projects: 92% (78/84) Fetching project platform/system/media
error: Unable to find 93784f3b5e153c90a138783162ed794bc9ffea88 under http://android.git.linaro.org/git-ro/platform/prebuilt
Cannot obtain needed object 93784f3b5e153c90a138783162ed794bc9ffea88
while processing commit a1e60337875460ecba8bc770da2aa3414068c253.
error: Fetch failed.
Auto packing deferred; not on AC
Fetching projects: 94% (79/84) Fetching project platform/system/netd
Auto packing deferred; not on AC
Fetching projects: 95% (80/84) Fetching project platform/system/vold
Fetching projects: 97% (82/84) Auto packing deferred; not on AC
Fetching projects: 98% (83/84) error: Unable to find 93784f3b5e153c90a138783162ed794bc9ffea88 under http://android.git.linaro.org/git-ro/platform/prebuilt
Cannot obtain needed object 93784f3b5e153c90a138783162ed794bc9ffea88
while processing commit a1e60337875460ecba8bc770da2aa3414068c253.
error: Fetch failed.
error: Cannot fetch platform/prebuilt

error: Exited sync due to fetch errors
Repo sync failed
[user1@Notebook2 B2G]$
[Samsung Galaxy Nexus] josteink:
Either try again, or clear out ~/.repoconfig folder and then update to latest repo command manually, before trying again.
[Samsung Galaxy Nexus] :
I've tried both and I get the same error. I'll give up because I have school next week and don't have time for those errors. I can test and try to solve problems with builded images but I can't build it myself in the next weeks.

Anyway thanks for your help!
[Samsung Galaxy Nexus] :
What about building an old branch and installing new Gaia onto it? Or vise versa? Maybe we can get a working build that way.
[Samsung Galaxy Nexus] Mevordel:
rm -r .repo/projects/prebuilt.git

and sync again
[Samsung Galaxy Nexus] ScardracS:
Have you any news about b2g?

Inviato dal mio Galaxy Nexus
[Samsung Galaxy Nexus] :
Is somebody interested in trying to build the current github? Maybe I'll try it at the weekend if I find time. Maybe somebody could try it earlier.

I'm still hoping someone fixes the bugs with the UI.
[Samsung Galaxy Nexus] jeetBLswami:
okk..i will make a build today. let's see what happens.

EDIT: build and installed same error. I will dig into logcat tomorrow maybe
[Samsung Galaxy Nexus] Mevordel:
I've built it multiple times over the past week, but every time I get just a black screen, with logcat spamming errors with the GPU driver.
[Samsung Galaxy Nexus] josteink:
That's because (as far as I know) there's no official FirefoxOS maintainer for the Galaxy Nexus. Whatever builds now is because people like us have been fixing things and submitting pull requests. At least it builds which is more than could be said a month ago when I first looked into it.

So yeah, I doubt synching the repo and just rebuilding without us actively trying to fix GNex specific issues will get us very far.
[Samsung Galaxy Nexus] :
Oh, interesting, I thought it would have a maintainer. I think there are not enough people interested in Firefox OS to find a maintainer for Firefox OS on the Galaxy Nexus. Maybe I should sell my Nexus and buy a Firefox OS phone...

That's true building without changes to fix bugs is useless...
[Samsung Galaxy Nexus] Mevordel:
I saw it was a bottom-tier device, but I had hoped it still worked. I guess I'll start looking into fixing the issue. I'm not at my PC right now, so I can't post a logcat, but the error is something like [1]

W/GraphicBufferMapper( 2050): unregisterBuffer(0x2bd58) failed -22
(Invalid argument)
E/IMGSRV ( 2050): :0: gralloc_unregister_buffer <some other error than the linked logcat>

every time I touch the screen. It also gives a more interesting error when first initializing the proprietary GPU blobs, to the effect of

E/IMGSRV (xxxx): Incompatible GL ES implementation (probably software) found, enabling workarounds

Do you have any ideas on where to start looking? Is there a specific project to bisect? Or should I just strace it?

Occasionally, some surfaces will show (blue rectangles on the sides about 60% down from the top, about 10% tall and 5% wide). Sound still works, vibration too, and the power menu still works (blindly). So if graphics can be fixed, I could probably post a working build, or at least verify the status of the rest of the hardware.

[1] The only other instance of a similar error I found by googling is https://groups.google.com/forum/m/#!topic/android-developers/udzvPHICi_k
[Samsung Galaxy Nexus] josteink:
Not really. Seems like you have gotten more data than me. From what I could tell, it seemed like (my) framebuffer never got initialized in the first place, and everything after that just failed. I just hoped/assumed that it could be a Framebuffer init-issue, and if we got that fixed, the rest would sorta be there, ready to work. (Your error-message seems to contradict that though.)

From then on, I haven't really had much time to look into this, and fixing Linux init's is not really my expertise by any stretch. Your guess is as good as mine :)
[Samsung Galaxy Nexus] Mevordel:
I don't know if you saw my edit, but at this point I'm thinking it's something to do with B2G's GL ES implementation. I'll post a full logcat this evening.