Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[B2G] Building the new OS from Mozilla

OP adfad666

20th October 2012, 05:20 PM   |  #1  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,286
 
747 posts
Join Date:Joined: Jul 2011
Donate to Me
More
You may have heard that Mozilla are building their own mobile OS based on Firefox. To put it simply, if you've heard of ChromeOS, then it'll work in a similar way; the browser IS the OS.

What's interesting for us is that it's heavily based on android. Basically they've kept the HAL, hacked out Dalvik and anything java, and replaced it with Gecko. In theory any device that runs Android can run FirefoxOS.

It's still alpha software, it's supposed to eventually be compatible with ARMv6 devices, but as I found out while trying to build it for my LG Optimus One, Gecko is still hardcoded in many places to ARMv7. Their test devices include the Galaxy Nexus and Galaxy SII, so special hardware isn't needed.

Therefore it should run fine on the Nexus 7 right?

Well, not quite. FirefoxOS is based on ICS, but Nexus 7 runs only Jellybean.

I've tried building with ICS sources and Jellybean sources, making the necessary changes to get it to build. However with Jellybean sources it doesn't get past the Google screen, and ADB loops without many error messages to analyse. With ICS sources ADB isn't even accessible, the kernel and/or the proprietary blobs are probably not compatible.


If anyone wants to take a look at my changes, they're at my github. Some of the changes to Gecko I got from this bug at Mozilla, but it's out of date and incomplete (there is a patch in the B2G repo).

Hopefully with more eyes looking at it, we'll get it working!
The Following 17 Users Say Thank You to adfad666 For This Useful Post: [ View ]
20th October 2012, 08:32 PM   |  #2  
dsuycott's Avatar
Senior Member
Flag evanston, il
Thanks Meter: 16
 
203 posts
Join Date:Joined: Aug 2010
More
This seems very interesting...when do you think it will flashable for the 7, and will you be looking for testers?

Sent from my Nexus 7 using xda app-developers app
20th October 2012, 08:39 PM   |  #3  
bonesy's Avatar
Senior Member
Flag Cornwall, united kingdom
Thanks Meter: 301
 
2,105 posts
Join Date:Joined: Jan 2009
Donate to Me
More
you will probably have to hack libs just to get it booting, you could try building ics first then after you have that running por tfirefox OS to it
20th October 2012, 08:41 PM   |  #4  
nodstuff's Avatar
Senior Member
Flag Cork
Thanks Meter: 1,734
 
3,073 posts
Join Date:Joined: Apr 2010
More
I built it for the gnex but it was nowhere near usable, it has no onscreen button support which as we know is no good for us nexus users.
I reckon give it a few months before trying to do anything with it, its buggy and has no features as yet. The market is invitation only for registered developers, I couldn't get any signal on it even though they said that it was working. WiFi worked but not very well.

Sent from my GT-I9300 using xda premium
21st October 2012, 09:28 PM   |  #5  
espionage724's Avatar
Senior Member
Flag Charleroi, PA
Thanks Meter: 521
 
2,524 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by adfad666

...FirefoxOS is based on ICS, but Nexus 7 runs only Jellybean.

There was at least 2 cases of people who received Nexus 7 hardware with some dev version of ICS on it. Not sure if anyone has had any luck with getting that version of ICS up for download though.
The Following User Says Thank You to espionage724 For This Useful Post: [ View ]
25th March 2013, 07:36 PM   |  #6  
Member
Flag Hamburg
Thanks Meter: 94
 
73 posts
Join Date:Joined: Jul 2012
More
Quote:

There is no home button, assets are the wrong size, some screen resolutions are incorrect, wifi doesn't seem to manage to connect, but it launches, and the UI is pretty buttery smooth

https://wiki.mozilla.org/B2G/Nexus7

see here
Last edited by sc4les; 25th March 2013 at 08:28 PM.
The Following 3 Users Say Thank You to sc4les For This Useful Post: [ View ]
31st March 2013, 02:50 AM   |  #7  
Member
Flag Hamburg
Thanks Meter: 94
 
73 posts
Join Date:Joined: Jul 2012
More
:D
It's building I'm gonna upload it when it's finished. I also managed to map the volume keys to the home button since no softkeys will work.
The Following 2 Users Say Thank You to sc4les For This Useful Post: [ View ]
31st March 2013, 02:57 AM   |  #8  
FitAmp's Avatar
Senior Member
Flag Terrace
Thanks Meter: 691
 
1,421 posts
Join Date:Joined: Mar 2012
More
Re: [B2G] Building the new OS from Mozilla
That page was last updated January 29th, things have likely changed since then.

Sent from my Nexus 7 using xda app-developers app
The Following User Says Thank You to FitAmp For This Useful Post: [ View ]
TobiH8
23rd October 2013, 07:24 PM   |  #9  
Guest
Thanks Meter: 0
 
n/a posts
I know that this thread is really old, but I think we should try to build because they got it working on the Nexus 7 2013 and it supports touch gestures for closing applications.
Maybe I'll do it some time but I have to learn how to build first with building Firefox OS for my Galaxy Nexus. Maybe someone with more knowledge could try to build. It would be great!
The Following 2 Users Say Thank You to For This Useful Post: [ View ]
23rd October 2013, 08:46 PM   |  #10  
Qwerty123 \m/'s Avatar
Senior Member
Flag xxxxxxxxx
Thanks Meter: 406
 
1,173 posts
Join Date:Joined: Nov 2011
More
+1
What he said. Someone try this, Pliz

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes