Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,151 Members 49,529 Now Online
XDA Developers Android and Mobile Development Forum

[B2G] Building the new OS from Mozilla

Tip us?
 
adfad666
Old
#1  
adfad666's Avatar
Recognized Developer - OP
Thanks Meter 4147
Posts: 718
Join Date: Jul 2011
Location: Olomouc

 
DONATE TO ME
Default [B2G] Building the new OS from Mozilla

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 dawn of mobile phones
Ericsson GA 628 => Nokia 5110 => Siemens C35i => Siemens C45

The age of colour screens and polyphonic ringtones
Motorola C350 => Sony Ericsson T610 => Sony Ericsson T630 => Sony Ericsson K790i => Sony Ericsson T250i

The age of Android
LG Optimus One => Sony XPERIA J => Sony XPERIA SP => Sony XPERIA Z1 Compact
The Following 17 Users Say Thank You to adfad666 For This Useful Post: [ Click to Expand ]
 
dsuycott
Old
#2  
dsuycott's Avatar
Senior Member
Thanks Meter 16
Posts: 203
Join Date: Aug 2010
Location: evanston, il
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
 
bonesy
Old
#3  
bonesy's Avatar
Senior Member
Thanks Meter 298
Posts: 2,091
Join Date: Jan 2009
Location: Cornwall, united kingdom

 
DONATE TO ME
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
Old devices: Touch HD > Magic X2 > Hero > Acer BeTouch E400 > Legend > Sensation > Desire > Nexus 7 > HTC One
I won't thank anyone who has "Press Thanks" in their sig.It's a choice to thank
 
nodstuff
Old
#4  
nodstuff's Avatar
Senior Member
Thanks Meter 1734
Posts: 3,073
Join Date: Apr 2010
Location: Cork
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
Read:http://forum.xda-developers.com/show...34&postcount=9

Quote:
Originally Posted by slaphead20 View Post
...life is too short to sit around throwing stones at a castle when the drawbridge is up
Rooting is a gateway drug and superuser is our dealer.
 
espionage724
Old
#5  
espionage724's Avatar
Senior Member
Thanks Meter 506
Posts: 2,501
Join Date: Feb 2010
Location: Charleroi, PA

 
DONATE TO ME
Quote:
Originally Posted by adfad666 View Post
...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.


Device Ownership:
 

Current Devices:
None
Side Devices:
Nexus 7 (grouper) (franco.Kernel + Rasbeanjelly)
Galaxy Rush (SPH-M830) (Stock)

Ex Devices:
Galaxy Tab 7.0 (SGH-T849)
Galaxy Tab 2 7.0 (GT-P3113)
Galaxy Prevail (SPH-M820) (KoumaKernel + CTMod)
Nexus 4 (LGE960/mako) (franco.Kernel + RasSaber)
Nexus 10 (GT-P8110/manta) (franco.Kernel + RasSaber
The Following User Says Thank You to espionage724 For This Useful Post: [ Click to Expand ]
 
sc4les
Old
(Last edited by sc4les; 25th March 2013 at 07:28 PM.)
#6  
Member
Thanks Meter 94
Posts: 73
Join Date: Jul 2012
Location: Hamburg
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
The Following 3 Users Say Thank You to sc4les For This Useful Post: [ Click to Expand ]
 
sc4les
Old
#7  
Member
Thanks Meter 94
Posts: 73
Join Date: Jul 2012
Location: Hamburg
Default :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: [ Click to Expand ]
 
FitAmp
Old
#8  
FitAmp's Avatar
Senior Member
Thanks Meter 689
Posts: 1,413
Join Date: Mar 2012
Location: Terrace
Default 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: [ Click to Expand ]
 
To98
Old
#9  
To98's Avatar
Senior Member
Thanks Meter 117
Posts: 355
Join Date: Apr 2012
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!
I would be happy if you'd press the thanks button, if I helped you. - Questions belong to the forum and not to my inbox.
Current devices | Forum Rules | NOGAPPS Project
The Following 2 Users Say Thank You to To98 For This Useful Post: [ Click to Expand ]
 
Qwerty123 \m/
Old
#10  
Qwerty123 \m/'s Avatar
Senior Member
Thanks Meter 402
Posts: 1,155
Join Date: Nov 2011
Location: xxxxxxxxx

 
DONATE TO ME
+1
What he said. Someone try this, Pliz

Nexus 4 White 16GB w nipples
Current ROM : [JB 4.3][JWR66V]Cataclysm ROM - Android 4.3

Previous devices: Xperia Neo V - Xperia Arc S - Galaxy S 2 - MMX Canvas 2 - Galaxy Note - HTC One X - Nexus 4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes