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

ZTE Open C

377 views
Skip to first unread message

Evgeniy Tetenchuk

unread,
May 23, 2014, 11:58:02 AM5/23/14
to mozilla...@lists.mozilla.org
Hello!

How can I build Gecko for subj? What ./config.sh <platform> is? Flame is not compatible becouse NFC libs is not presented on device.

Maybe someone who more closer to this made config compatible with subj.

I want to rebuild Gaia with different keyboard and more pixel density, and master Gaia won't work correctly on subj.

And as the first time here I want to say BIG THANKS to all devs and Mozilla for Firefox OS! :)

Evgeniy Tetenchuk

unread,
May 24, 2014, 12:23:38 PM5/24/14
to mozilla...@lists.mozilla.org
Oh! Now I see instructions on https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C, thanks! Will try.

Chris Mills

unread,
May 25, 2014, 11:47:52 AM5/25/14
to Evgeniy Tetenchuk, mozilla...@lists.mozilla.org
I added these recently. Let me know how you get on, and how the article can be improved.

All the best,

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



On 24 May 2014, at 17:23, Evgeniy Tetenchuk <johnatan....@gmail.com> wrote:

> Oh! Now I see instructions on https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C, thanks! Will try.
>
> On Friday, May 23, 2014 10:58:02 PM UTC+7, Evgeniy Tetenchuk wrote:
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g

pul...@gmail.com

unread,
May 25, 2014, 3:13:51 PM5/25/14
to mozilla...@lists.mozilla.org
Hi,
i tried to build by the guide (hope i did), it didn't work.

Command ./build.sh gecko will fail with nfc libs missing...

Philip Wright

unread,
May 26, 2014, 5:04:00 PM5/26/14
to mozilla...@lists.mozilla.org
any chance you could post full details of the failure, we may be able to work around it

Chris Mills

unread,
May 27, 2014, 1:50:11 AM5/27/14
to Philip Wright, mozilla...@lists.mozilla.org

On 26 May 2014, at 22:04, Philip Wright <horu...@gmail.com> wrote:

> On Sunday, 25 May 2014 20:13:51 UTC+1, pul...@gmail.com wrote:
> any chance you could post full details of the failure, we may be able to work around it

Yes, please do, so we can solve this issue and improve the instructions.

Best,

xlau...@gmail.com

unread,
May 27, 2014, 3:20:06 AM5/27/14
to mozilla...@lists.mozilla.org
Hi,

The commit for adding nfc libs on flame device is causing me the same troubles: https://github.com/mozilla-b2g/device-flame/commit/59296869473fdb38fda79123605e68a9d959c964

The build works fine when reverting this change. Since Open C does not support nfc, maybe a dedicated device should be forked from the flame?

Regards

Viral Wang

unread,
May 28, 2014, 6:00:02 AM5/28/14
to xlau...@gmail.com, mozilla...@lists.mozilla.org
Hi,

Actually Open C and flame should not used same code base.
The reason that open C can use flame before is we use the build for msm8x10 in the beginning.
After that, we add some specific features like NFC in flame.
That's why some of errors happened if you only have open C in your hand.

https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
Here's a quick fix to use the first version for device-flame.
That's pretty close to pure msm8x10 from CAF should work for open C

Regards,
viral

----- Original Message -----
From: xlau...@gmail.com
To: mozilla...@lists.mozilla.org
Sent: Tuesday, May 27, 2014 3:20:06 PM
Subject: Re: [b2g] ZTE Open C

Hi,

The commit for adding nfc libs on flame device is causing me the same troubles: https://github.com/mozilla-b2g/device-flame/commit/59296869473fdb38fda79123605e68a9d959c964

The build works fine when reverting this change. Since Open C does not support nfc, maybe a dedicated device should be forked from the flame?

Regards

Le mardi 27 mai 2014 07:50:11 UTC+2, Chris Mills a écrit :

Антон Бородюк

unread,
May 28, 2014, 6:33:31 AM5/28/14
to mozilla...@lists.mozilla.org
So Open C users will pretty much end up without source code forever? Meh.
"Open" platform is so open. Curse you ZTE.

Kobalt Kitsuné

unread,
May 28, 2014, 6:41:10 PM5/28/14
to mozilla...@lists.mozilla.org
On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
> Hi,
>
>
>
> Actually Open C and flame should not used same code base.
>
> The reason that open C can use flame before is we use the build for msm8x10 in the beginning.
>
> After that, we add some specific features like NFC in flame.
>
> That's why some of errors happened if you only have open C in your hand.
>
>
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
>
> Here's a quick fix to use the first version for device-flame.
>
> That's pretty close to pure msm8x10 from CAF should work for open C
>
>
>
> Regards,
>
> viral

Hello viral, I tried using the manifest (openc.xml) that was provided in the link, but after flashing the phone seems to be stuck in a boot loop. I've factory reset the phone thinking that would fix it, but that didn't do anything. One thing that may shed some light on this was when I went into adb shell and navigated to /system/b2g on the device, I then ran ./b2g and it gave me:

CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by "./b2g"; caused by library "libmozglue.so" not found

Does anyone have any ideas about how to correct this?

Thanks,

Kobalt

Viral Wang

unread,
May 28, 2014, 11:28:14 PM5/28/14
to Kobalt Kitsuné, mozilla...@lists.mozilla.org
Hi Kobalt,

Maybe you can do "make reset-gaia" in gaia folder also?
If we move gecko to master branch, we should move gaia to master at same time.
Thank you for your feedback and I think I should update it in bug 1016867 :)

Here's my steps to make a clean build and I'm sure it works in my open C
$ rm -rf objdir-gecko/ out/ backup-flame/
$ ./config.sh flame openc.xml
$ ./build.sh gecko
$ ./flash.sh gecko
$ cd gaia
$ make reset-gaia

Regards,
viral

----- Original Message -----
From: "Kobalt Kitsuné" <cobal...@gmail.com>
To: mozilla...@lists.mozilla.org
Sent: Thursday, May 29, 2014 6:41:10 AM
Subject: Re: [b2g] ZTE Open C

On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
> Hi,
>
>
>
> Actually Open C and flame should not used same code base.
>
> The reason that open C can use flame before is we use the build for msm8x10 in the beginning.
>
> After that, we add some specific features like NFC in flame.
>
> That's why some of errors happened if you only have open C in your hand.
>
>
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
>
> Here's a quick fix to use the first version for device-flame.
>
> That's pretty close to pure msm8x10 from CAF should work for open C
>
>
>
> Regards,
>
> viral

Hello viral, I tried using the manifest (openc.xml) that was provided in the link, but after flashing the phone seems to be stuck in a boot loop. I've factory reset the phone thinking that would fix it, but that didn't do anything. One thing that may shed some light on this was when I went into adb shell and navigated to /system/b2g on the device, I then ran ./b2g and it gave me:

CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by "./b2g"; caused by library "libmozglue.so" not found

Does anyone have any ideas about how to correct this?

Thanks,

Kobalt

Chris Mills

unread,
May 29, 2014, 4:04:18 AM5/29/14
to Viral Wang, Kobalt Kitsuné, mozilla...@lists.mozilla.org
Thanks for the help on this Viral/Kobalt/others!

So I have updated the information on MDN. First, this section has been updated according to Viral’s instructions on the bug:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gecko_and_Gaia

Can you verify that this is ok?

Second, can you confirm whether these instructions for upgrading Gaia only are ok?

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gaia

If they don’t work, can they be upgraded to work, or should I just delete the section completely?

Best regards,

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



On 29 May 2014, at 04:28, Viral Wang <vw...@mozilla.com> wrote:

> Hi Kobalt,
>
> Maybe you can do "make reset-gaia" in gaia folder also?
> If we move gecko to master branch, we should move gaia to master at same time.
> Thank you for your feedback and I think I should update it in bug 1016867 :)
>
> Here's my steps to make a clean build and I'm sure it works in my open C
> $ rm -rf objdir-gecko/ out/ backup-flame/
> $ ./config.sh flame openc.xml
> $ ./build.sh gecko
> $ ./flash.sh gecko
> $ cd gaia
> $ make reset-gaia
>
> Regards,
> viral
>
> ----- Original Message -----
> From: "Kobalt Kitsuné" <cobal...@gmail.com>
> To: mozilla...@lists.mozilla.org
> Sent: Thursday, May 29, 2014 6:41:10 AM
> Subject: Re: [b2g] ZTE Open C
>
> On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
>> Hi,
>>
>>
>>
>> Actually Open C and flame should not used same code base.
>>
>> The reason that open C can use flame before is we use the build for msm8x10 in the beginning.
>>
>> After that, we add some specific features like NFC in flame.
>>
>> That's why some of errors happened if you only have open C in your hand.
>>
>>
>>
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
>>
>> Here's a quick fix to use the first version for device-flame.
>>
>> That's pretty close to pure msm8x10 from CAF should work for open C
>>
>>
>>
>> Regards,
>>
>> viral
>
> Hello viral, I tried using the manifest (openc.xml) that was provided in the link, but after flashing the phone seems to be stuck in a boot loop. I've factory reset the phone thinking that would fix it, but that didn't do anything. One thing that may shed some light on this was when I went into adb shell and navigated to /system/b2g on the device, I then ran ./b2g and it gave me:
>
> CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by "./b2g"; caused by library "libmozglue.so" not found
>
> Does anyone have any ideas about how to correct this?
>
> Thanks,
>
> Kobalt

Rewarp

unread,
May 29, 2014, 4:50:28 AM5/29/14
to Chris Mills, Kobalt Kitsuné, Viral Wang, mozilla-dev-b2g
Thanks for the work Viral Wang. I was able to run the build script but it is now stuck on the boot screen with the fox animation after doing ./flash.sh gecko. It's still stuck in the loop. Any advice?

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 29 May 2014 03:04, Chris Mills <cmi...@mozilla.com> wrote:
Thanks for the help on this Viral/Kobalt/others!

So I have updated the information on MDN. First, this section has been updated according to Viral’s instructions on the bug:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gecko_and_Gaia

Can you verify that this is ok?

Second, can you confirm whether these instructions for upgrading Gaia only are ok?

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gaia

If they don’t work, can they be upgraded to work, or should I just delete the section completely?

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



On 29 May 2014, at 04:28, Viral Wang <vw...@mozilla.com> wrote:

> Hi Kobalt,
>
> Maybe you can do "make reset-gaia" in gaia folder also?
> If we move gecko to master branch, we should move gaia to master at same time.
> Thank you for your feedback and I think I should update it in bug 1016867 :)
>
> Here's my steps to make a clean build and I'm sure it works in my open C
> $ rm -rf objdir-gecko/ out/ backup-flame/
> $ ./config.sh flame openc.xml
> $ ./build.sh gecko
> $ ./flash.sh gecko
> $ cd gaia
> $ make reset-gaia
>
> Regards,
> viral
>
> ----- Original Message -----
> From: "Kobalt Kitsuné" <cobal...@gmail.com>
> To: mozilla...@lists.mozilla.org
> Sent: Thursday, May 29, 2014 6:41:10 AM
> Subject: Re: [b2g] ZTE Open C
>
> On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
>> Hi,
>>
>>
>>
>> Actually Open C and flame should not used same code base.
>>
>> The reason that open C can use flame before is we use the build for msm8x10 in the beginning.
>>
>> After that, we add some specific features like NFC in flame.
>>
>> That's why some of errors happened if you only have open C in your hand.
>>
>>
>>
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
>>
>> Here's a quick fix to use the first version for device-flame.
>>
>> That's pretty close to pure msm8x10 from CAF should work for open C
>>
>>
>>
>> Regards,
>>
>> viral
>
> Hello viral, I tried using the manifest (openc.xml) that was provided in the link, but after flashing the phone seems to be stuck in a boot loop. I've factory reset the phone thinking that would fix it, but that didn't do anything. One thing that may shed some light on this was when I went into adb shell and navigated to /system/b2g on the device, I then ran ./b2g and it gave me:
>
> CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by "./b2g"; caused by library "libmozglue.so" not found
>
> Does anyone have any ideas about how to correct this?
>
> Thanks,
>
> Kobalt

Viral Wang

unread,
May 29, 2014, 5:15:21 AM5/29/14
to Rewarp, Kobalt Kitsuné, Chris Mills, mozilla-dev-b2g
Hi Rewarp,

Maybe you should update gaia after ./flash.sh gecko

> $ ./build.sh gecko
> $ ./flash.sh gecko
> $ cd gaia
> $ make reset-gaia

Regards,
viral

----- Original Message -----
From: "Rewarp" <rew...@gmail.com>
To: "Chris Mills" <cmi...@mozilla.com>
Cc: "Viral Wang" <vw...@mozilla.com>, "Kobalt Kitsuné" <cobal...@gmail.com>, "mozilla-dev-b2g" <mozilla...@lists.mozilla.org>
Sent: Thursday, May 29, 2014 4:50:28 PM
Subject: Re: [b2g] ZTE Open C

Thanks for the work Viral Wang. I was able to run the build script but it
is now stuck on the boot screen with the fox animation after doing
./flash.sh gecko. It's still stuck in the loop. Any advice?


*--Bitmessage <http://bitmessage.org/> me*
*BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6*


On 29 May 2014 03:04, Chris Mills <cmi...@mozilla.com> wrote:

> Thanks for the help on this Viral/Kobalt/others!
>
> So I have updated the information on MDN. First, this section has been
> updated according to Viral’s instructions on the bug:
>
>
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gecko_and_Gaia
>
> Can you verify that this is ok?
>
> Second, can you confirm whether these instructions for upgrading Gaia only
> are ok?
>
>
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gaia
>
> If they don’t work, can they be upgraded to work, or should I just delete
> the section completely?
>
> Best regards,
>
> Chris Mills
> Senior tech writer || Mozilla
> developer.mozilla.org || MDN
> cmi...@mozilla.com || @chrisdavidmills
>
>
>
> On 29 May 2014, at 04:28, Viral Wang <vw...@mozilla.com> wrote:
>
> > Hi Kobalt,
> >
> > Maybe you can do "make reset-gaia" in gaia folder also?
> > If we move gecko to master branch, we should move gaia to master at same
> time.
> > Thank you for your feedback and I think I should update it in bug
> 1016867 :)
> >
> > Here's my steps to make a clean build and I'm sure it works in my open C
> > $ rm -rf objdir-gecko/ out/ backup-flame/
> > $ ./config.sh flame openc.xml
> > $ ./build.sh gecko
> > $ ./flash.sh gecko
> > $ cd gaia
> > $ make reset-gaia
> >
> > Regards,
> > viral
> >
> > ----- Original Message -----
> > From: "Kobalt Kitsuné" <cobal...@gmail.com>
> > To: mozilla...@lists.mozilla.org
> > Sent: Thursday, May 29, 2014 6:41:10 AM
> > Subject: Re: [b2g] ZTE Open C
> >
> > On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
> >> Hi,
> >>
> >>
> >>
> >> Actually Open C and flame should not used same code base.
> >>
> >> The reason that open C can use flame before is we use the build for
> msm8x10 in the beginning.
> >>
> >> After that, we add some specific features like NFC in flame.
> >>
> >> That's why some of errors happened if you only have open C in your hand.
> >>
> >>
> >>
> >> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
> >>
> >> Here's a quick fix to use the first version for device-flame.
> >>
> >> That's pretty close to pure msm8x10 from CAF should work for open C
> >>
> >>
> >>
> >> Regards,
> >>
> >> viral
> >
> > Hello viral, I tried using the manifest (openc.xml) that was provided in
> the link, but after flashing the phone seems to be stuck in a boot loop.
> I've factory reset the phone thinking that would fix it, but that didn't do
> anything. One thing that may shed some light on this was when I went into
> adb shell and navigated to /system/b2g on the device, I then ran ./b2g and
> it gave me:
> >
> > CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by
> "./b2g"; caused by library "libmozglue.so" not found
> >
> > Does anyone have any ideas about how to correct this?
> >
> > Thanks,
> >
> > Kobalt

Rewarp

unread,
May 29, 2014, 5:40:28 AM5/29/14
to Viral Wang, Kobalt Kitsuné, Chris Mills, mozilla-dev-b2g
Sorry, somehow I only sent a Reply instead of Reply All.

Thank you again Viral Wang. Worked like a charm. So do I need to rerun

$ rm -rf objdir-gecko/ out/ backup-flame/
$ ./config.sh flame openc.xml

before building gecko again? Or can I transition directly to building after doing "git pull"? Also, is it normal to lose all user account settings after each installation? Because I have had to rerun the first-run setup again.

Also, the Open C page on MDN lacks a link to the openc.xml file.

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 29 May 2014 04:15, Viral Wang <vw...@mozilla.com> wrote:
Hi Rewarp,

Maybe you should update gaia after ./flash.sh gecko

> $ ./build.sh gecko
> $ ./flash.sh gecko
> $ cd gaia
> $ make reset-gaia

Regards,
viral

----- Original Message -----
From: "Rewarp" <rew...@gmail.com>
To: "Chris Mills" <cmi...@mozilla.com>
Cc: "Viral Wang" <vw...@mozilla.com>, "Kobalt Kitsuné" <cobal...@gmail.com>, "mozilla-dev-b2g" <mozilla...@lists.mozilla.org>
Sent: Thursday, May 29, 2014 4:50:28 PM
Subject: Re: [b2g] ZTE Open C

Thanks for the work Viral Wang. I was able to run the build script but it
is now stuck on the boot screen with the fox animation after doing
./flash.sh gecko. It's still stuck in the loop. Any advice?


*--Bitmessage <http://bitmessage.org/> me*
*BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6*


On 29 May 2014 03:04, Chris Mills <cmi...@mozilla.com> wrote:

> Thanks for the help on this Viral/Kobalt/others!
>
> So I have updated the information on MDN. First, this section has been
> updated according to Viral’s instructions on the bug:
>
>
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gecko_and_Gaia
>
> Can you verify that this is ok?
>
> Second, can you confirm whether these instructions for upgrading Gaia only
> are ok?
>
>
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gaia
>
> If they don’t work, can they be upgraded to work, or should I just delete
> the section completely?
>
> Best regards,
>
> Chris Mills
>    Senior tech writer || Mozilla
> developer.mozilla.org || MDN
>    cmi...@mozilla.com || @chrisdavidmills
>
>
>
> On 29 May 2014, at 04:28, Viral Wang <vw...@mozilla.com> wrote:
>
> > Hi Kobalt,
> >
> > Maybe you can do "make reset-gaia" in gaia folder also?
> > If we move gecko to master branch, we should move gaia to master at same
> time.
> > Thank you for your feedback and I think I should update it in bug
> 1016867 :)
> >
> > Here's my steps to make a clean build and I'm sure it works in my open C
> > $ rm -rf objdir-gecko/ out/ backup-flame/
> > $ ./config.sh flame openc.xml
> > $ ./build.sh gecko
> > $ ./flash.sh gecko
> > $ cd gaia
> > $ make reset-gaia
> >
> > Regards,
> > viral
> >
> > ----- Original Message -----
> > From: "Kobalt Kitsuné" <cobal...@gmail.com>
> > To: mozilla...@lists.mozilla.org
> > Sent: Thursday, May 29, 2014 6:41:10 AM
> > Subject: Re: [b2g] ZTE Open C
> >
> > On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
> >> Hi,
> >>
> >>
> >>
> >> Actually Open C and flame should not used same code base.
> >>
> >> The reason that open C can use flame before is we use the build for
> msm8x10 in the beginning.
> >>
> >> After that, we add some specific features like NFC in flame.
> >>
> >> That's why some of errors happened if you only have open C in your hand.
> >>
> >>
> >>
> >> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
> >>
> >> Here's a quick fix to use the first version for device-flame.
> >>
> >> That's pretty close to pure msm8x10 from CAF should work for open C
> >>
> >>
> >>
> >> Regards,
> >>
> >> viral
> >
> > Hello viral, I tried using the manifest (openc.xml) that was provided in
> the link, but after flashing the phone seems to be stuck in a boot loop.
> I've factory reset the phone thinking that would fix it, but that didn't do
> anything. One thing that may shed some light on this was when I went into
> adb shell and navigated to /system/b2g on the device, I then ran ./b2g and
> it gave me:
> >
> > CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by
> "./b2g"; caused by library "libmozglue.so" not found
> >
> > Does anyone have any ideas about how to correct this?
> >
> > Thanks,
> >
> > Kobalt

Chris Mills

unread,
May 29, 2014, 5:42:22 AM5/29/14
to Rewarp, Kobalt Kitsuné, Viral Wang, mozilla-dev-b2g

On 29 May 2014, at 10:40, Rewarp <rew...@gmail.com> wrote:

> Sorry, somehow I only sent a Reply instead of Reply All.
>
> Thank you again Viral Wang. Worked like a charm. So do I need to rerun
>
> $ rm -rf objdir-gecko/ out/ backup-flame/
> $ ./config.sh flame openc.xml
>
> before building gecko again? Or can I transition directly to building after doing "git pull"? Also, is it normal to lose all user account settings after each installation? Because I have had to rerun the first-run setup again.
>
> Also, the Open C page on MDN lacks a link to the openc.xml file.
>

oops, I forgot to add the link! It is now added to the article.

> --
> Bitmessage me BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6
>
>
> On 29 May 2014 04:15, Viral Wang <vw...@mozilla.com> wrote:
> Hi Rewarp,
>
> Maybe you should update gaia after ./flash.sh gecko
>
> > $ ./build.sh gecko
> > $ ./flash.sh gecko
> > $ cd gaia
> > $ make reset-gaia
>
> Regards,
> viral
>
> ----- Original Message -----
> From: "Rewarp" <rew...@gmail.com>
> To: "Chris Mills" <cmi...@mozilla.com>
> Cc: "Viral Wang" <vw...@mozilla.com>, "Kobalt Kitsuné" <cobal...@gmail.com>, "mozilla-dev-b2g" <mozilla...@lists.mozilla.org>
> Sent: Thursday, May 29, 2014 4:50:28 PM
> Subject: Re: [b2g] ZTE Open C
>
> Thanks for the work Viral Wang. I was able to run the build script but it
> is now stuck on the boot screen with the fox animation after doing
> ./flash.sh gecko. It's still stuck in the loop. Any advice?
>
>
> *--Bitmessage <http://bitmessage.org/> me*
> *BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6*
>
>
> On 29 May 2014 03:04, Chris Mills <cmi...@mozilla.com> wrote:
>
> > Thanks for the help on this Viral/Kobalt/others!
> >
> > So I have updated the information on MDN. First, this section has been
> > updated according to Viral’s instructions on the bug:
> >
> >
> > https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gecko_and_Gaia
> >
> > Can you verify that this is ok?
> >
> > Second, can you confirm whether these instructions for upgrading Gaia only
> > are ok?
> >
> >
> > https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gaia
> >
> > If they don’t work, can they be upgraded to work, or should I just delete
> > the section completely?
> >
> > Best regards,
> >
> > Chris Mills
> > Senior tech writer || Mozilla
> > developer.mozilla.org || MDN
> > cmi...@mozilla.com || @chrisdavidmills
> >
> >
> >
> > On 29 May 2014, at 04:28, Viral Wang <vw...@mozilla.com> wrote:
> >
> > > Hi Kobalt,
> > >
> > > Maybe you can do "make reset-gaia" in gaia folder also?
> > > If we move gecko to master branch, we should move gaia to master at same
> > time.
> > > Thank you for your feedback and I think I should update it in bug
> > 1016867 :)
> > >
> > > Here's my steps to make a clean build and I'm sure it works in my open C
> > > $ rm -rf objdir-gecko/ out/ backup-flame/
> > > $ ./config.sh flame openc.xml
> > > $ ./build.sh gecko
> > > $ ./flash.sh gecko
> > > $ cd gaia
> > > $ make reset-gaia
> > >
> > > Regards,
> > > viral
> > >
> > > ----- Original Message -----
> > > From: "Kobalt Kitsuné" <cobal...@gmail.com>
> > > To: mozilla...@lists.mozilla.org
> > > Sent: Thursday, May 29, 2014 6:41:10 AM
> > > Subject: Re: [b2g] ZTE Open C
> > >
> > > On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
> > >> Hi,
> > >>
> > >>
> > >>
> > >> Actually Open C and flame should not used same code base.
> > >>
> > >> The reason that open C can use flame before is we use the build for
> > msm8x10 in the beginning.
> > >>
> > >> After that, we add some specific features like NFC in flame.
> > >>
> > >> That's why some of errors happened if you only have open C in your hand.
> > >>
> > >>
> > >>
> > >> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
> > >>
> > >> Here's a quick fix to use the first version for device-flame.
> > >>
> > >> That's pretty close to pure msm8x10 from CAF should work for open C
> > >>
> > >>
> > >>
> > >> Regards,
> > >>
> > >> viral
> > >
> > > Hello viral, I tried using the manifest (openc.xml) that was provided in
> > the link, but after flashing the phone seems to be stuck in a boot loop.
> > I've factory reset the phone thinking that would fix it, but that didn't do
> > anything. One thing that may shed some light on this was when I went into
> > adb shell and navigated to /system/b2g on the device, I then ran ./b2g and
> > it gave me:
> > >
> > > CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by
> > "./b2g"; caused by library "libmozglue.so" not found
> > >
> > > Does anyone have any ideas about how to correct this?
> > >
> > > Thanks,
> > >
> > > Kobalt

Rewarp

unread,
May 29, 2014, 10:04:29 AM5/29/14
to Chris Mills, Kobalt Kitsuné, Viral Wang, mozilla-dev-b2g
Is anyone getting a "Not available" for the MAC address after flashing? Since I am able to log into my LAN, which is based on MAC addresses, I presume it is just hidden from the More information tab.

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 29 May 2014 04:42, Chris Mills <cmi...@mozilla.com> wrote:

On 29 May 2014, at 10:40, Rewarp <rew...@gmail.com> wrote:

> Sorry, somehow I only sent a Reply instead of Reply All.
>
> Thank you again Viral Wang. Worked like a charm. So do I need to rerun
>
> $ rm -rf objdir-gecko/ out/ backup-flame/
> $ ./config.sh flame openc.xml
>
> before building gecko again? Or can I transition directly to building after doing "git pull"? Also, is it normal to lose all user account settings after each installation? Because I have had to rerun the first-run setup again.
>
> Also, the Open C page on MDN lacks a link to the openc.xml file.
>

oops, I forgot to add the link! It is now added to the article.

> --
> Bitmessage me BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6
>
>
> On 29 May 2014 04:15, Viral Wang <vw...@mozilla.com> wrote:
> Hi Rewarp,
>
> Maybe you should update gaia after ./flash.sh gecko
>
> > $ ./build.sh gecko
> > $ ./flash.sh gecko
> > $ cd gaia
> > $ make reset-gaia
>
> Regards,
> viral
>
> ----- Original Message -----
> From: "Rewarp" <rew...@gmail.com>
> To: "Chris Mills" <cmi...@mozilla.com>
> Cc: "Viral Wang" <vw...@mozilla.com>, "Kobalt Kitsuné" <cobal...@gmail.com>, "mozilla-dev-b2g" <mozilla...@lists.mozilla.org>
> Sent: Thursday, May 29, 2014 4:50:28 PM
> Subject: Re: [b2g] ZTE Open C
>
> Thanks for the work Viral Wang. I was able to run the build script but it
> is now stuck on the boot screen with the fox animation after doing
> ./flash.sh gecko. It's still stuck in the loop. Any advice?
>
>
> *--Bitmessage <http://bitmessage.org/> me*
> *BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6*
>
>
> On 29 May 2014 03:04, Chris Mills <cmi...@mozilla.com> wrote:
>
> > Thanks for the help on this Viral/Kobalt/others!
> >
> > So I have updated the information on MDN. First, this section has been
> > updated according to Viral’s instructions on the bug:
> >
> >
> > https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gecko_and_Gaia
> >
> > Can you verify that this is ok?
> >
> > Second, can you confirm whether these instructions for upgrading Gaia only
> > are ok?
> >
> >
> > https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#Upgrading_Gaia
> >
> > If they don’t work, can they be upgraded to work, or should I just delete
> > the section completely?
> >
> > Best regards,
> >
> > Chris Mills
> >    Senior tech writer || Mozilla
> > developer.mozilla.org || MDN
> >    cmi...@mozilla.com || @chrisdavidmills
> >
> >
> >
> > On 29 May 2014, at 04:28, Viral Wang <vw...@mozilla.com> wrote:
> >
> > > Hi Kobalt,
> > >
> > > Maybe you can do "make reset-gaia" in gaia folder also?
> > > If we move gecko to master branch, we should move gaia to master at same
> > time.
> > > Thank you for your feedback and I think I should update it in bug
> > 1016867 :)
> > >
> > > Here's my steps to make a clean build and I'm sure it works in my open C
> > > $ rm -rf objdir-gecko/ out/ backup-flame/
> > > $ ./config.sh flame openc.xml
> > > $ ./build.sh gecko
> > > $ ./flash.sh gecko
> > > $ cd gaia
> > > $ make reset-gaia
> > >
> > > Regards,
> > > viral
> > >
> > > ----- Original Message -----
> > > From: "Kobalt Kitsuné" <cobal...@gmail.com>
> > > To: mozilla...@lists.mozilla.org
> > > Sent: Thursday, May 29, 2014 6:41:10 AM
> > > Subject: Re: [b2g] ZTE Open C
> > >
> > > On Wednesday, May 28, 2014 5:00:02 AM UTC-5, Viral Wang wrote:
> > >> Hi,
> > >>
> > >>
> > >>
> > >> Actually Open C and flame should not used same code base.
> > >>
> > >> The reason that open C can use flame before is we use the build for
> > msm8x10 in the beginning.
> > >>
> > >> After that, we add some specific features like NFC in flame.
> > >>
> > >> That's why some of errors happened if you only have open C in your hand.
> > >>
> > >>
> > >>
> > >> https://bugzilla.mozilla.org/show_bug.cgi?id=1016867#c1
> > >>
> > >> Here's a quick fix to use the first version for device-flame.
> > >>
> > >> That's pretty close to pure msm8x10 from CAF should work for open C
> > >>
> > >>
> > >>
> > >> Regards,
> > >>
> > >> viral
> > >
> > > Hello viral, I tried using the manifest (openc.xml) that was provided in
> > the link, but after flashing the phone seems to be stuck in a boot loop.
> > I've factory reset the phone thinking that would fix it, but that didn't do
> > anything. One thing that may shed some light on this was when I went into
> > adb shell and navigated to /system/b2g on the device, I then ran ./b2g and
> > it gave me:
> > >
> > > CANNOT LINK EXECUTABLE: could not load library "libmozglue.so" needed by
> > "./b2g"; caused by library "libmozglue.so" not found
> > >
> > > Does anyone have any ideas about how to correct this?
> > >
> > > Thanks,
> > >
> > > Kobalt

Kobalt Kitsuné

unread,
May 29, 2014, 3:45:11 PM5/29/14
to mozilla...@lists.mozilla.org
> > On 29 May 2014, at 04:28, Viral Wang wrote:
>
> >
>
> > > Hi Kobalt,
>
> > >
>
> > > Maybe you can do "make reset-gaia" in gaia folder also?
>
> > > If we move gecko to master branch, we should move gaia to master at same
>
> > time.
>
> > > Thank you for your feedback and I think I should update it in bug
>
> > 1016867 :)
>
> > >
>
> > > Here's my steps to make a clean build and I'm sure it works in my open C
>
> > > $ rm -rf objdir-gecko/ out/ backup-flame/
>
> > > $ ./config.sh flame openc.xml
>
> > > $ ./build.sh gecko
>
> > > $ ./flash.sh gecko
>
> > > $ cd gaia
>
> > > $ make reset-gaia
>
> > >
>
> > > Regards,
>
> > > viral

Ah, so that's why it wouldn't boot; I had forgot to flash gaia as well.

I just got through doing a clean build of gecko this morning and followed your instructions and it's now starting up normally.

Thanks for the help viral!

FFOS 2.0 seems to be more stable then when I tried it out a few days ago.
The keyboard works this time and for some reason I have better signal strength. The only problem I've noticed so far is a bit of lag when typing with the on-screen keyboard. I'll keep checking for any bugs that have yet to be listed on bugzilla.

Also Rewarp, I checked under my Device\More Information and I am able see my MAC address. Maybe it is something unique to your build? I am running the latest version of gecko / gaia

I have also been losing my user settings when updating gecko. Updating just gaia seems to preserve them though. I know having to go through the first time user experience multiple times can get annoying after a while, so can make a .userconfig file to disable it.

You will need place it in the root of your B2G build tree for it to work. See:
https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file

Rewarp

unread,
May 29, 2014, 4:36:03 PM5/29/14
to Kobalt Kitsuné, mozilla-dev-b2g
Hmm. I am pretty sure I am following the latest Flame build, at least that's the impression I got from following the instructions given. Maybe it will fix itself next time I flash it.

Thanks for the tip on the .userconfig file. Viral sent me a reply telling me how to preserve the settings via the alternate route of

$ ./flash.sh gaia

instead of

$ cd gaia
$ make reset-gaia

Maybe you may want to try this out as well.


--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 29 May 2014 14:45, Kobalt Kitsuné <cobal...@gmail.com> wrote:
> > On 29 May 2014, at 04:28, Viral Wang wrote:
>
> >
>
> > > Hi Kobalt,
>
> > >
>
> > > Maybe you can do "make reset-gaia" in gaia folder also?
>
> > > If we move gecko to master branch, we should move gaia to master at same
>
> > time.
>
> > > Thank you for your feedback and I think I should update it in bug
>
> > 1016867 :)
>
> > >
>
> > > Here's my steps to make a clean build and I'm sure it works in my open C
>
> > > $ rm -rf objdir-gecko/ out/ backup-flame/
>
> > > $ ./config.sh flame openc.xml
>
> > > $ ./build.sh gecko
>
> > > $ ./flash.sh gecko
>
> > > $ cd gaia
>
> > > $ make reset-gaia
>
> > >
>
> > > Regards,
>
> > > viral

Ah, so that's why it wouldn't boot; I had forgot to flash gaia as well.

I just got through doing a clean build of gecko this morning and followed your instructions and it's now starting up normally.

Thanks for the help viral!

FFOS 2.0 seems to be more stable then when I tried it out a few days ago.
The keyboard works this time and for some reason I have better signal strength. The only problem I've noticed so far is a bit of lag when typing with the on-screen keyboard. I'll keep checking for any bugs that have yet to be listed on bugzilla.

Also Rewarp, I checked under my Device\More Information and I am able see my MAC address. Maybe it is something unique to your build? I am running the latest version of gecko / gaia

I have also been losing my user settings when updating gecko. Updating just gaia seems to preserve them though. I know having to go through the first time user experience multiple times can get annoying after a while, so can make a .userconfig file to disable it.

You will need place it in the root of your B2G build tree for it to work. See:
https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file

Rewarp

unread,
May 29, 2014, 6:48:19 PM5/29/14
to Kobalt Kitsuné, mozilla-dev-b2g
I am glad to report the MAC address is visible on the device again. It turns out all it needed was another reboot.

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 29 May 2014 15:36, Rewarp <rew...@gmail.com> wrote:
Hmm. I am pretty sure I am following the latest Flame build, at least that's the impression I got from following the instructions given. Maybe it will fix itself next time I flash it.

Thanks for the tip on the .userconfig file. Viral sent me a reply telling me how to preserve the settings via the alternate route of

$ ./flash.sh gaia

instead of
$ cd gaia
$ make reset-gaia

Maybe you may want to try this out as well.


--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 29 May 2014 14:45, Kobalt Kitsuné <cobal...@gmail.com> wrote:
> > On 29 May 2014, at 04:28, Viral Wang wrote:
>
> >
>
> > > Hi Kobalt,
>
> > >
>
> > > Maybe you can do "make reset-gaia" in gaia folder also?
>
> > > If we move gecko to master branch, we should move gaia to master at same
>
> > time.
>
> > > Thank you for your feedback and I think I should update it in bug
>
> > 1016867 :)
>
> > >
>
> > > Here's my steps to make a clean build and I'm sure it works in my open C
>
> > > $ rm -rf objdir-gecko/ out/ backup-flame/
>
> > > $ ./config.sh flame openc.xml
>
> > > $ ./build.sh gecko
>
> > > $ ./flash.sh gecko
>
> > > $ cd gaia
>
> > > $ make reset-gaia
>
> > >
>
> > > Regards,
>
> > > viral

Ah, so that's why it wouldn't boot; I had forgot to flash gaia as well.

I just got through doing a clean build of gecko this morning and followed your instructions and it's now starting up normally.

Thanks for the help viral!

FFOS 2.0 seems to be more stable then when I tried it out a few days ago.
The keyboard works this time and for some reason I have better signal strength. The only problem I've noticed so far is a bit of lag when typing with the on-screen keyboard. I'll keep checking for any bugs that have yet to be listed on bugzilla.

Also Rewarp, I checked under my Device\More Information and I am able see my MAC address. Maybe it is something unique to your build? I am running the latest version of gecko / gaia

I have also been losing my user settings when updating gecko. Updating just gaia seems to preserve them though. I know having to go through the first time user experience multiple times can get annoying after a while, so can make a .userconfig file to disable it.

You will need place it in the root of your B2G build tree for it to work. See:
https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file

dann...@gmail.com

unread,
Jun 6, 2014, 6:47:00 AM6/6/14
to mozilla...@lists.mozilla.org
How should I change those steps to flash Firefox OS 1.4 onto my ZTE Open C instead of 2.0?

I tried configure it with "BRANCH=v1.4 ./config.sh flame openc.xml" but I'm still getting 2.0.
0 new messages