Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Start Hacking gaia

33 views
Skip to first unread message

dhruv nenwani

unread,
Nov 7, 2014, 8:55:39 AM11/7/14
to dev-...@lists.mozilla.org
hey , how do i start hacking gaia? I have a FirefoxOs(1.3) device(spice fire one).


Chris Mills

unread,
Nov 7, 2014, 11:35:50 AM11/7/14
to dhruv nenwani, dev-...@lists.mozilla.org
Hi there!

You can find our Gaia development guide at

https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia

Bear in mind that the documented way of testing Gaia hacks on a simulator/desktop build is currently in flux - that is currently there doesn’t work that well.

If you have a real device, the best way to test an updated Gaia build on it is to use WebIDE, see

https://developer.mozilla.org/en-US/Firefox_OS/Running_custom_builds_in_the_App_Manager

Chris Mills
Senior tech writer || Mozilla
developer.mozilla.org || MDN
cmi...@mozilla.com || @chrisdavidmills



> On 7 Nov 2014, at 13:55, dhruv nenwani <nend...@gmail.com> wrote:
>
> hey , how do i start hacking gaia? I have a FirefoxOs(1.3) device(spice fire one).
>
>
> _______________________________________________
> dev-gaia mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-gaia

Jef Reyes

unread,
Nov 10, 2014, 12:32:54 AM11/10/14
to mozilla-...@lists.mozilla.org
On Friday, November 7, 2014 12:35:50 PM UTC-4, Chris Mills wrote:

So does this mean that it is probably not a good idea to develop gaia if you don't own a phone?

sirajul muneer

unread,
Nov 10, 2014, 1:36:20 AM11/10/14
to Jef Reyes, mozilla-...@lists.mozilla.org
Hi,
There are currently 4 ways to develop on Gaia
  • Using WebIDE
  • Running B2G in web browser, Nightly ( Currently not working)
  • Using a device, either firefox phone, or any android phone that can be flashed with Firefox OS
  • Building your custom B2G Desktop and making it to run on a standalone emulator.
https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia
On Sat, Nov 8, 2014 at 4:25 AM, Jef Reyes <jefry...@gmail.com> wrote:
On Friday, November 7, 2014 12:35:50 PM UTC-4, Chris Mills wrote:

So does this mean that it is probably not a good idea to develop gaia if you don't own a phone?

dhruv nenwani

unread,
Nov 10, 2014, 2:09:51 PM11/10/14
to sirajul muneer, mozilla-...@lists.mozilla.org
Hi,
I was flashing Gaia on my firefoxOs device(spice fire one).
I followed this https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia, but my device got into boot loop. It was stuck at the Spice's logo. I've got it repaired from the service center. 

What could have went wrong? How should I proceed to it now?

On Mon, Nov 10, 2014 at 12:06 PM, sirajul muneer <siraj.m...@gmail.com> wrote:
Hi,
There are currently 4 ways to develop on Gaia
  • Using WebIDE
  • Running B2G in web browser, Nightly ( Currently not working)
  • Using a device, either firefox phone, or any android phone that can be flashed with Firefox OS
  • Building your custom B2G Desktop and making it to run on a standalone emulator.
https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia
On Sat, Nov 8, 2014 at 4:25 AM, Jef Reyes <jefry...@gmail.com> wrote:
On Friday, November 7, 2014 12:35:50 PM UTC-4, Chris Mills wrote:

So does this mean that it is probably not a good idea to develop gaia if you don't own a phone?

Fred Lin

unread,
Nov 10, 2014, 6:56:48 PM11/10/14
to dhruv nenwani, Chris Mills, mozilla-...@lists.mozilla.org
Hi,

Spice device is originally running with 1.3t, that is a special version target for low memory (256MB RAM) device.

You could try flash with https://github.com/mozilla-b2g/gaia/tree/v1.3t


It means if you flash the gaia master or other version, it generally not work, because the memory is too low and app process is recycled repeatedly.




Note: we should WARN developer in developer guide for tarako series.


regards
--
Fred

----- 原始郵件 -----
寄件者: "dhruv nenwani" <nend...@gmail.com>
收件者: "sirajul muneer" <siraj.m...@gmail.com>
副本: mozilla-...@lists.mozilla.org
寄件備份: 2014 11 月 11 星期二 上午 3:09:37
主旨: Re: Start Hacking gaia

Hi,
I was flashing Gaia on my firefoxOs device(spice fire one).
I followed this https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia , but my device got into boot loop. It was stuck at the Spice's logo. I've got it repaired from the service center.

What could have went wrong? How should I proceed to it now?

On Mon, Nov 10, 2014 at 12:06 PM, sirajul muneer < siraj.m...@gmail.com > wrote:



Hi,
There are currently 4 ways to develop on Gaia

* Using WebIDE
* Running B2G in web browser, Nightly ( Currently not working)
* Using a device, either firefox phone, or any android phone that can be flashed with Firefox OS
* Building your custom B2G Desktop and making it to run on a standalone emulator.

https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia

Regards



Sirajul Muneer C B
about.me/sirajul.muneer














On Sat, Nov 8, 2014 at 4:25 AM, Jef Reyes < jefry...@gmail.com > wrote:


On Friday, November 7, 2014 12:35:50 PM UTC-4, Chris Mills wrote:

So does this mean that it is probably not a good idea to develop gaia if you don't own a phone?

Kyle Huey

unread,
Nov 10, 2014, 6:58:23 PM11/10/14
to Fred Lin, Chris Mills, mozilla-...@lists.mozilla.org, dhruv nenwani
On Mon, Nov 10, 2014 at 3:56 PM, Fred Lin <fl...@mozilla.com> wrote:
> Hi,
>
> Spice device is originally running with 1.3t, that is a special version target for low memory (256MB RAM) device.

s/256/128/

- Kyle

Raniere Silva

unread,
Nov 10, 2014, 7:17:59 PM11/10/14
to dev-...@lists.mozilla.org
> hey , how do i start hacking gaia? I have a FirefoxOs(1.3) device(spice
> fire one).

My 2 cents:

- Salvador de la Puente González wrote about hacking Gaia (addon) [1]. Maybe you
need small changes to get it work with WebIDE. Let me know if you want to
rewrite Salvador's blog post.
- Hacking with the WebIDE is a little faster than with one device IF you
didn't need features only available at devices (e.g.
https://developer.mozilla.org/en-US/docs/Web/API/DeviceStorage).
- The instructions at https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Build_System_Primer
are great. Some things could not work when using the last version of Gaia
with one old version of Gecko.

Cheers,
Raniere

[1] http://unoyunodiez.com/2013/07/26/hacking-gaia-with-firefox-os-simulator/
signature.asc

Chris Mills

unread,
Nov 11, 2014, 4:02:21 AM11/11/14
to Fred Lin, mozilla-...@lists.mozilla.org, dhruv nenwani

> On 10 Nov 2014, at 23:56, Fred Lin <fl...@mozilla.com> wrote:
>
> Hi,
>
> Spice device is originally running with 1.3t, that is a special version target for low memory (256MB RAM) device.
>
> You could try flash with https://github.com/mozilla-b2g/gaia/tree/v1.3t
>
>
> It means if you flash the gaia master or other version, it generally not work, because the memory is too low and app process is recycled repeatedly.
>
>
>
>
> Note: we should WARN developer in developer guide for tarako series.

I’ve updated

https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia#Flashing_Gaia_on_a_real_device

with a warning about this.

Fred Lin

unread,
Nov 12, 2014, 9:56:12 PM11/12/14
to dhruv nenwani, dev-gaia
It depends on which part you want to hack.

It's mostly about memory size. If you just want to add your app or modify video, gallery app, its ok to use 1.3t and replace these app from 1.3t to master version.

If you plan to do some cutting edge change for system, keyboard, verticalhomescreen, music... and want it runs on the real device, then the best bet is to get a reference phone (flame). The only device that we can guarantee master branch could be run on it.
https://developer.mozilla.org/zh-TW/Firefox_OS/Developer_phone_guide/Flame

If you are fine with simulator, search b2g desktop or mulet to learn how to run gaia profile on it. (Sorry there is no clear guide at this moment, hope we could fix it soon)


regards
--
Fred



----- 原始郵件 -----

To hack gaia I must flash master branch right? flashing 1.3t will be no
good, its development must have stopped ages ago.

Does this mean I can only hack gaia using WebIDE ? but this will not allow
me work on apps that require storage or network or any other hardware
support. right?

On Tue, Nov 11, 2014 at 5:26 AM, Fred Lin <fl...@mozilla.com> wrote:


Chris Mills

unread,
Nov 19, 2014, 10:29:22 AM11/19/14
to Fred Lin, dhruv nenwani, dev-gaia

> On 13 Nov 2014, at 02:54, Fred Lin <fl...@mozilla.com> wrote:
>
> It depends on which part you want to hack.
>
> It's mostly about memory size. If you just want to add your app or modify video, gallery app, its ok to use 1.3t and replace these app from 1.3t to master version.
>
> If you plan to do some cutting edge change for system, keyboard, verticalhomescreen, music... and want it runs on the real device, then the best bet is to get a reference phone (flame). The only device that we can guarantee master branch could be run on it.
> https://developer.mozilla.org/zh-TW/Firefox_OS/Developer_phone_guide/Flame
>
> If you are fine with simulator, search b2g desktop or mulet to learn how to run gaia profile on it. (Sorry there is no clear guide at this moment, hope we could fix it soon)
>

FYI, https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia now has sections on running a custom Gaia profile in Mulet/WebIDE.

>
>
>
> ----- 原始郵件 -----
>
> To hack gaia I must flash master branch right? flashing 1.3t will be no
> good, its development must have stopped ages ago.
>
> Does this mean I can only hack gaia using WebIDE ? but this will not allow
> me work on apps that require storage or network or any other hardware
> support. right?
>
> On Tue, Nov 11, 2014 at 5:26 AM, Fred Lin <fl...@mozilla.com> wrote:
>
>
0 new messages