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

Problem flashing gaia - ZTE Open C

2,011 views
Skip to first unread message

Kobalt Kitsuné

unread,
May 16, 2014, 8:42:27 PM5/16/14
to mozilla...@lists.mozilla.org
Hello all! I've been having some trouble flashing gaia on the ZTE Open C.

Every time I use:

[code]make reset-gaia[/code]

the script fails with a bunch of permission denied errors. Here is a small snippet of what I'm getting in the terminal:

[code]failed to copy '/home/kobalt/Development/firefoxos/B2G/gaia/profile/user.js' to '//data/local/user.js': Permission denied
[push] Restarting B2G...
[cmd] sh -c adb shell start b2g
adb shell stop b2g
adb remount
remount failed: Operation not permitted
adb push profile/settings.json /system/b2g/defaults/settings.json
failed to copy 'profile/settings.json' to '/system/b2g/defaults/settings.json': Read-only file system
make: *** [install-default-data] Error 1
[/code]

What do you think could be causing it to fail? I know it's some kind of permission error, but I'm not sure how to fix it. Also, I should add that the gaia I'm trying to flash is completely unedited from the Mozilla repository on github. I thought I should try flashing a clean build before I start customizing the UI.

Hubert Figuière

unread,
May 16, 2014, 9:00:50 PM5/16/14
to cobal...@gmail.com
On 16/05/14 08:42 PM, Kobalt Kitsun� wrote:
> Hello all! I've been having some trouble flashing gaia on the ZTE Open C.
>

[...]

> [cmd] sh -c adb shell start b2g
> adb shell stop b2g
> adb remount
> remount failed: Operation not permitted
> adb push profile/settings.json /system/b2g/defaults/settings.json
> failed to copy 'profile/settings.json' to '/system/b2g/defaults/settings.json': Read-only file system
> make: *** [install-default-data] Error 1
> [/code]
>
> What do you think could be causing it to fail? I know it's some kind of permission error, but I'm not sure how to fix it. Also, I should add that the gaia I'm trying to flash is completely unedited from the Mozilla repository on github. I thought I should try flashing a clean build before I start customizing the UI.

Open C is not rooted. Therefor this won't work.

There is currently no way to flash Open C.

Hub

Kobalt Kitsuné

unread,
May 16, 2014, 9:13:52 PM5/16/14
to mozilla...@lists.mozilla.org
On Friday, May 16, 2014 8:00:50 PM UTC-5, Hubert Figuière wrote:
Ahh, I had a feeling that may have been it. I went into the shell and couldn't find the su binary anywhere on it. Do you know a way I could work on rooting it?

Hubert Figuière

unread,
May 16, 2014, 9:17:15 PM5/16/14
to Kobalt Kitsuné
On 16/05/14 09:13 PM, Kobalt Kitsun� wrote:
> Ahh, I had a feeling that may have been it. I went into the shell and couldn't find the su binary anywhere on it. Do you know a way I could work on rooting it?


Complain to the vendor. So should be release an firmware update that
would allow this.

*I* would ask for a refund. But that's just me (and I can't buy it from
here anyway).


Hub

Andreas Gal

unread,
May 16, 2014, 11:05:12 PM5/16/14
to Hubert Figuière, Kobalt Kitsuné, mozilla...@lists.mozilla.org

ZTE should release an update for the device that unlocks it. Our team has already contacted them.

Thanks,

Andreas

On May 16, 2014, at 6:17 PM, Hubert Figuière <h...@mozilla.com> wrote:

> On 16/05/14 09:13 PM, Kobalt Kitsuné wrote:
>> Ahh, I had a feeling that may have been it. I went into the shell and couldn't find the su binary anywhere on it. Do you know a way I could work on rooting it?
>
>
> Complain to the vendor. So should be release an firmware update that
> would allow this.
>
> *I* would ask for a refund. But that's just me (and I can't buy it from
> here anyway).
>
>
> Hub
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g

Kobalt Kitsuné

unread,
May 16, 2014, 11:45:04 PM5/16/14
to mozilla...@lists.mozilla.org
Awesome! I just got through checking the bootloader to make sure it was unlocked, and it was. At first I thought this would be another locked-down phone similar to the Droid Razr by Motorola, but I'm glad that is not the case.

The main reason I bought this was to work on customizing the GUI, and if I don't have access to update gaia, it really limits what I can do. I may even work towards a theme chooser app similar to what CyanogenMod has if I'm successful enough. I thought about using the emulator for this, but I would rather test it out on the physical devices.

So, if ZTE releases an update, would it be OTA or would I need to download it from their website?

Frederik Braun

unread,
May 19, 2014, 4:29:54 AM5/19/14
to Kobalt Kitsuné, mozilla...@lists.mozilla.org
On 17.05.2014 05:45, Kobalt Kitsun� wrote:
> Awesome! I just got through checking the bootloader to make sure it
> was unlocked, and it was. At first I thought this would be another
> locked-down phone similar to the Droid Razr by Motorola, but I'm glad
> that is not the case.

Disclaimer: You might void your warranty and you're on your own. But I
want to tell you what's also technically feasible: If the bootloader is
unlocked you can root it through fastboot.

If you find a working kernel image (You might find them on
unlocker/developer forums for similar devices, e.g. look for other ZTE
devices with a JellyBean system underneath). You can then go to fastboot
and boot this kernel image via usb ("fastboot boot <image>"). If you
happen to also find a suitable "su" binary, you can copy it to your
phone and reboot back into the normal system. Executing su might give
you root now :)

> ...
> So, if ZTE releases an update, would it be OTA or would I need to
> download it from their website?

Judging from personal experience, I would say it will be something would
you download and flash via USB.

Kobalt Kitsuné

unread,
May 19, 2014, 10:31:49 PM5/19/14
to mozilla...@lists.mozilla.org
On Monday, May 19, 2014 3:29:54 AM UTC-5, Frederik Braun wrote:

> Disclaimer: You might void your warranty and you're on your own. But I
>
> want to tell you what's also technically feasible: If the bootloader is
>
> unlocked you can root it through fastboot.
>
>
>
> If you find a working kernel image (You might find them on
>
> unlocker/developer forums for similar devices, e.g. look for other ZTE
>
> devices with a JellyBean system underneath). You can then go to fastboot
>
> and boot this kernel image via usb ("fastboot boot <image>"). If you
>
> happen to also find a suitable "su" binary, you can copy it to your
>
> phone and reboot back into the normal system. Executing su might give
>
> you root now :)
>

Hey, thanks! I'll try that tomorrow.

I did have one quick question I forgot to ask when I started this thread. I've been having some trouble getting an at&t sim card to work in this phone. Whenever I start it up with the at&t sim, I always have a red X over the signal bars. I have tried using two different at&t sims but they both give me the red X. I have a T-mobil sim I put in it and got 2g EDGE data with it, but that's really slow, and T-mobil network coverage around where I live is very bad.

I spoke with someone from at&t last Friday and when I gave him my IMEI #, he said this was a 2g only device. This confuses me, as on the back label it shows "UMTS 850/1900MHZ." Does that not mean it is 3g capable? Also, the ebay store I bought it from said it has 3g. Do you think this could be a problem with the radio? I checked the APN settings and they are correct as far as I can tell.

Kobalt Kitsuné

unread,
May 20, 2014, 12:39:41 AM5/20/14
to mozilla...@lists.mozilla.org
Disregard that last post.

I needed to activate the at&t sim card before it could detect the network. That seems obvious, but the T-Mobile sim I put in it earlier was instantly recognizable, so when the at&t sim couldn't detect the network at all, it had me thinking there was more to it then just activating the card.

yaro...@wix.com

unread,
May 22, 2014, 1:36:33 AM5/22/14
to mozilla...@lists.mozilla.org
Hello, Andreas! I hope that they will keep their word.
By the way, did ZTE team release the similar unlocking update for their previous ZTE Open or not?

Vance Chen

unread,
May 22, 2014, 1:52:28 AM5/22/14
to yaro...@wix.com, mozilla...@lists.mozilla.org
Hi -

ZTE Open C engineering build is now available at here[1]

You need a Window machine to run the upgrade tool to flash the
correspond(EU or US, depends on what device you get)engineering build.

Happy Hacking!!

Thanks

Vance


[1] http://en.comebuy.com/developer-firefox-os-open-c.html




On 2014/5/22 下午1:36, "yaro...@wix.com" <yaro...@wix.com> wrote:

>On Saturday, May 17, 2014 6:05:12 AM UTC+3, Andreas Gal wrote:
>Hello, Andreas! I hope that they will keep their word.
>By the way, did ZTE team release the similar unlocking update for their
>previous ZTE Open or not?

robeyp...@gmail.com

unread,
May 26, 2014, 6:13:53 PM5/26/14
to mozilla...@lists.mozilla.org
Hey all!

I don't have a Windows box or access to one. Can someone share the commands to run from OSX?

I tried the instructions here:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN

...but the upload of system.img freezes every time. (I've tried about a dozen times.) Looks like the phone is bricked. Not sure what the next step is supposed to be!

Robey Pointer

unread,
May 26, 2014, 6:34:28 PM5/26/14
to mozilla...@lists.mozilla.org

Rewarp

unread,
May 26, 2014, 11:59:30 PM5/26/14
to robeyp...@gmail.com, mozilla...@lists.mozilla.org
I just checked your link, and could it be possible that you are following instructions for the ZTE Open and not the ZTE Open C which is found on this link?
https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



Robey Pointer

unread,
May 27, 2014, 1:49:12 AM5/27/14
to Rewarp, mozilla...@lists.mozilla.org
Hm, I started at that link, but it only had information about Windows, so I had to search around to find the other link.

Am I one of the first to try to develop on this phone so far? :) I'm willing to experiment and hammer out the right steps, if yall will give me some hints of where to start.




On Mon, May 26, 2014 at 8:59 PM, Rewarp <rew...@gmail.com> wrote:
I just checked your link, and could it be possible that you are following instructions for the ZTE Open and not the ZTE Open C which is found on this link?
https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 26 May 2014 17:13, <robeyp...@gmail.com> wrote:
Hey all!

I don't have a Windows box or access to one. Can someone share the commands to run from OSX?

I tried the instructions here:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN

...but the upload of system.img freezes every time. (I've tried about a dozen times.) Looks like the phone is bricked. Not sure what the next step is supposed to be!

Chris Mills

unread,
May 27, 2014, 2:10:49 AM5/27/14
to Robey Pointer, Rewarp, mozilla...@lists.mozilla.org
I’m sorry that you’ve been caught like this. I’ve added notes to both pages now, to make it clearer that the ZTE page is not applicable to the ZTE Open C, and vice versa.

The unlocking tool for the C is currently only available for Windows, and I really hope it is made available for Non-Windows systems soon.

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



On 27 May 2014, at 06:49, Robey Pointer <robeyp...@gmail.com> wrote:

> Hm, I started at that link, but it only had information about Windows, so I had to search around to find the other link.
>
> Am I one of the first to try to develop on this phone so far? :) I'm willing to experiment and hammer out the right steps, if yall will give me some hints of where to start.
>
>
>
>
> On Mon, May 26, 2014 at 8:59 PM, Rewarp <rew...@gmail.com> wrote:
> I just checked your link, and could it be possible that you are following instructions for the ZTE Open and not the ZTE Open C which is found on this link?
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C
>
> --
> Bitmessage me BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6
>
>
> On 26 May 2014 17:13, <robeyp...@gmail.com> wrote:
> Hey all!
>
> I don't have a Windows box or access to one. Can someone share the commands to run from OSX?
>
> I tried the instructions here:
>
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN
>
> ...but the upload of system.img freezes every time. (I've tried about a dozen times.) Looks like the phone is bricked. Not sure what the next step is supposed to be!

Rewarp

unread,
May 27, 2014, 8:32:14 AM5/27/14
to Chris Mills, mozilla...@lists.mozilla.org, Robey Pointer
A shame about the unlocking tool. I am going to have to borrow a Windows machine but hopefully everything else after that is Linux-friendly.

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



On 27 May 2014 01:10, Chris Mills <cmi...@mozilla.com> wrote:
I’m sorry that you’ve been caught like this. I’ve added notes to both pages now, to make it clearer that the ZTE page is not applicable to the ZTE Open C, and vice versa.

The unlocking tool for the C is currently only available for Windows, and I really hope it is made available for Non-Windows systems soon.

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



On 27 May 2014, at 06:49, Robey Pointer <robeyp...@gmail.com> wrote:

> Hm, I started at that link, but it only had information about Windows, so I had to search around to find the other link.
>
> Am I one of the first to try to develop on this phone so far? :) I'm willing to experiment and hammer out the right steps, if yall will give me some hints of where to start.
>
>
>
>
> On Mon, May 26, 2014 at 8:59 PM, Rewarp <rew...@gmail.com> wrote:
> I just checked your link, and could it be possible that you are following instructions for the ZTE Open and not the ZTE Open C which is found on this link?
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C
>
> --
> Bitmessage me BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6
>
>
> On 26 May 2014 17:13, <robeyp...@gmail.com> wrote:
> Hey all!
>
> I don't have a Windows box or access to one. Can someone share the commands to run from OSX?
>
> I tried the instructions here:
>
> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN
>
> ...but the upload of system.img freezes every time. (I've tried about a dozen times.) Looks like the phone is bricked. Not sure what the next step is supposed to be!

Robey Pointer

unread,
May 28, 2014, 9:08:49 PM5/28/14
to Rewarp, mozilla...@lists.mozilla.org, Chris Mills
Does anyone know what this tool does? I can fastboot into the bootleader, and recovery, so if it can be installed from those modes, I could just do it directly.

I was expecting a lot of rough edges and challenges from a new hacker OS, but I have to admit I was *not* expecting to be turned away because I don't use Windows!






--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



Rewarp

unread,
May 28, 2014, 9:38:40 PM5/28/14
to Robey Pointer, mozilla-dev-b2g, Chris Mills
Essentially, it seems to install a custom build of FFOS that unlocks the device to allow adb to connect to it. I tried adb before flashing and it just didn't recognise any devices.

Apart from that, it would appear using this image disables automated updating from the Open C's built-in Software Updater. Every time after rebooting, the following error message is displayed on reboot.

E:failed to verify whole=file signature
E:signature verification failed
Package corrupt.
Update failed.


Not sure if this means the normal updates are incompatible with the unlocked image. Anyway, that's my experience.

--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6




--
Bitmessage me
BM-2D97QV3Y4VRfjayrWahqE61XKuQw6dJvj6



Chris Mills

unread,
May 29, 2014, 3:06:55 AM5/29/14
to Robey Pointer, Rewarp, mozilla...@lists.mozilla.org

On 29 May 2014, at 02:08, Robey Pointer <robeyp...@gmail.com> wrote:

> Does anyone know what this tool does? I can fastboot into the bootleader, and recovery, so if it can be installed from those modes, I could just do it directly.
>
> I was expecting a lot of rough edges and challenges from a new hacker OS, but I have to admit I was *not* expecting to be turned away because I don't use Windows!

FWIW, I think this situation is pretty bad, and am hoping ZTE will sort the situation out soon.

toney kitts

unread,
Jun 1, 2014, 8:21:47 AM6/1/14
to mozilla...@lists.mozilla.org
Hi, where did you buy your phone? all the pics of phones I see are 900/2100 which means 2G in USA, 3G overseas.

Scroll down and you will see phone without batter showing 900/2100, this is bs if they are sending this phone to people in US as we have 850/1900 not 900/2100.

http://www.ebay.com/itm/USA-STOCK-ZTE-OPEN-C-Latest-Firefox-OS-3G-4-inch-dual-core-Unlocked-Smartphone-/301187077688?pt=Cell_Phones&hash=item4620261638

kitt...@gmail.com

unread,
Jun 1, 2014, 8:12:38 AM6/1/14
to mozilla...@lists.mozilla.org
On Monday, May 19, 2014 10:31:49 PM UTC-4, Kobalt Kitsuné wrote:
This bothers me, cause the pics I see on ebay show 900/2100 which is 2g only in US 3g overseas. Where did you buy your phone showing 850/1900?

Here is pic of phone from ebay scroll down you will see 900/2100
http://www.ebay.com/itm/USA-STOCK-ZTE-OPEN-C-Latest-Firefox-OS-3G-4-inch-dual-core-Unlocked-Smartphone-/301187077688?pt=Cell_Phones&hash=item4620261638

Kobalt Kitsuné

unread,
Jun 1, 2014, 1:52:07 PM6/1/14
to mozilla...@lists.mozilla.org
I bought mine from here: http://www.ebay.com/itm/291125433026?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

I did have some problems with data when it was on t-mobile, but they don't have good service around where I live. I'm using Straight Talk with an at&t sim and it's been working just fine for me. I've been able to get speeds up 9.5mbs so far, and that's a vast improvement over T-mobile's 2G EDGE network.

toney kitts

unread,
Jun 1, 2014, 6:34:51 PM6/1/14
to mozilla...@lists.mozilla.org
On Sunday, June 1, 2014 1:52:07 PM UTC-4, Kobalt Kitsuné wrote:
> I bought mine from here: http://www.ebay.com/itm/291125433026?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
>
>
>
> I did have some problems with data when it was on t-mobile, but they don't have good service around where I live. I'm using Straight Talk with an at&t sim and it's been working just fine for me. I've been able to get speeds up 9.5mbs so far, and that's a vast improvement over T-mobile's 2G EDGE network.

Thanks I use straight talk also.

bmid...@gmail.com

unread,
Sep 2, 2014, 1:05:46 AM9/2/14
to mozilla...@lists.mozilla.org
Vance,

FYI the firmware links are broken on the comebuy page. sigh. Is there an alternative site?

Brad

On Wednesday, May 21, 2014 11:52:28 PM UTC-6, Vance Chen wrote:
>
> ZTE Open C engineering build is now available at here[1]
>
> [1] http://en.comebuy.com/developer-firefox-os-open-c.html

Vance Chen

unread,
Sep 2, 2014, 12:08:36 PM9/2/14
to bmid...@gmail.com, mozilla...@lists.mozilla.org
Thanks for the notification Brad. I will ask ZTE to fix the link.

And sorry there is no alternative site for downloading the image

Will let you know once the link is fixed

Vance

On 2014/9/2 下午1:05, "bmid...@gmail.com" <bmid...@gmail.com> wrote:

>Vance,
>
>FYI the firmware links are broken on the comebuy page. sigh. Is there an
>alternative site?
>
>Brad
>
>On Wednesday, May 21, 2014 11:52:28 PM UTC-6, Vance Chen wrote:
>>
>> ZTE Open C engineering build is now available at here[1]
>>
>> [1] http://en.comebuy.com/developer-firefox-os-open-c.html

Vance Chen

unread,
Sep 3, 2014, 12:26:46 AM9/3/14
to bmid...@gmail.com, mozilla...@lists.mozilla.org
Hi Brad -

The download link is fixed, please try again and let me know if there is
still any problem

Vance

On 2014/9/3 上午12:08, "Vance Chen" <vc...@mozilla.com> wrote:

>Thanks for the notification Brad. I will ask ZTE to fix the link.
>
>And sorry there is no alternative site for downloading the image
>
>Will let you know once the link is fixed
>
>Vance
>
>On 2014/9/2 下午1:05, "bmid...@gmail.com" <bmid...@gmail.com> wrote:
>
>>Vance,
>>
>>FYI the firmware links are broken on the comebuy page. sigh. Is there an
>>alternative site?
>>
>>Brad
>>
>>On Wednesday, May 21, 2014 11:52:28 PM UTC-6, Vance Chen wrote:
>>>
>>> ZTE Open C engineering build is now available at here[1]
>>>
>>> [1] http://en.comebuy.com/developer-firefox-os-open-c.html

pva...@gmail.com

unread,
Sep 19, 2014, 2:29:40 AM9/19/14
to mozilla...@lists.mozilla.org

When I try the app , it stays at "Scanning for device" screen. I can connect the device using adb. But so is my phone rooted already or some other problem. I am not able to get over this ..


On Saturday, 17 May 2014 06:12:27 UTC+5:30, Kobalt Kitsuné wrote:
> Hello all! I've been having some trouble flashing gaia on the ZTE Open C.
>
>
>
> Every time I use:
>
>
>
> [code]make reset-gaia[/code]
>
>
>
> the script fails with a bunch of permission denied errors. Here is a small snippet of what I'm getting in the terminal:
>
>
>
> [code]failed to copy '/home/kobalt/Development/firefoxos/B2G/gaia/profile/user.js' to '//data/local/user.js': Permission denied
>
> [push] Restarting B2G...

finalb...@gmail.com

unread,
May 7, 2015, 4:59:55 PM5/7/15
to mozilla...@lists.mozilla.org
hello, Im just tried the other day to install the android kitkat to my Open C and it was ok, but I need to root it and unlocked it, can you show me any link? please?

Axel Sommerfeldt

unread,
May 8, 2015, 6:24:39 PM5/8/15
to mozilla...@lists.mozilla.org
Am Donnerstag, 7. Mai 2015 22:59:55 UTC+2 schrieb finalb...@gmail.com:
> can you show me any link? please?

The link can be found here: https://groups.google.com/d/msg/mozilla.dev.b2g/KBnHChfu9vM/lSiH1HBOQjAJ

See also: https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/ZTE_OPEN_C#.22Manual.22_updates
0 new messages