Closed Bug 1139642 Opened 10 years ago Closed 7 years ago

[meta] Make Firefox OS run on Fairphone v2 device

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: NicolasWeb, Assigned: _AtilA_)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150224134236 Steps to reproduce: meta bug for making Firefox OS run on Fairphone v2 devices
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → jgomez
Depends on: 1229702
Depends on: 1233685
We will need doc update for https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone since we now have a port for Fairphone v2 :)
Flags: needinfo?(jgomez)
Flags: needinfo?(cmills)
> make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar', needed by `out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Stop. I'm getting this after |./config.sh fairphone2 && ./build.sh| :(
Flags: needinfo?(jgomez)
Depends on: 1236841
It was Nicolas who wrote most of the docs the last time around. Nicolas, would you be willing/able to update the device page with information on Fairphone 2, if I provide editing support?
Flags: needinfo?(nicolasweb)
Flags: needinfo?(cmills)
Hi Chris, I can help on editing device page for Fairphone 2 if you want.
(In reply to tore from comment #7) > Hi Chris, I can help on editing device page for Fairphone 2 if you want. If you could spare some time to do that, it would be great. Thanks so much. You obviously know the fairphone much better than me. Feel free to add what you think is necessary. I reckon a section for the v2 specifications at the bottom of the article would be good, plus then edit the other sections to talk about v1 and v2. Unless of course you don't think it is worth talking about v1 anymore, but I think it is worth keeping them for historical purposes, if nothing else.
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #8) > (In reply to tore from comment #7) > > Hi Chris, I can help on editing device page for Fairphone 2 if you want. > > If you could spare some time to do that, it would be great. Thanks so much. > > You obviously know the fairphone much better than me. Feel free to add what > you think is necessary. I reckon a section for the v2 specifications at the > bottom of the article would be good, plus then edit the other sections to > talk about v1 and v2. > > Unless of course you don't think it is worth talking about v1 anymore, but I > think it is worth keeping them for historical purposes, if nothing else. I have just updated this page https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone
(In reply to erotavlas from comment #9) > (In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #8) > > (In reply to tore from comment #7) > > > Hi Chris, I can help on editing device page for Fairphone 2 if you want. > > > > If you could spare some time to do that, it would be great. Thanks so much. > > > > You obviously know the fairphone much better than me. Feel free to add what > > you think is necessary. I reckon a section for the v2 specifications at the > > bottom of the article would be good, plus then edit the other sections to > > talk about v1 and v2. > > > > Unless of course you don't think it is worth talking about v1 anymore, but I > > think it is worth keeping them for historical purposes, if nothing else. > > I have just updated this page > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone I'll work on the french translation and try to also update it.
(In reply to erotavlas from comment #9) > > I have just updated this page > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone This is fabulous — thanks so much for your help. I have made a few small edits, but this is looking like exactly what we need for now. One small point — the "XDA Firefox OS community porting to the Fairphone device project page" link doesn't appear to be linked, and I wasn't sure what page this should link to. Can you fill this in? Thanks!
Flags: needinfo?(nicolasweb)
(In reply to keguira from comment #10) > (In reply to erotavlas from comment #9) > > (In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #8) > > > (In reply to tore from comment #7) > > > > Hi Chris, I can help on editing device page for Fairphone 2 if you want. > > > > > > If you could spare some time to do that, it would be great. Thanks so much. > > > > > > You obviously know the fairphone much better than me. Feel free to add what > > > you think is necessary. I reckon a section for the v2 specifications at the > > > bottom of the article would be good, plus then edit the other sections to > > > talk about v1 and v2. > > > > > > Unless of course you don't think it is worth talking about v1 anymore, but I > > > think it is worth keeping them for historical purposes, if nothing else. > > > > I have just updated this page > > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone > > > I'll work on the french translation and try to also update it. Great, thanks. A French translation would be really good.
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #11) > (In reply to erotavlas from comment #9) > > > > I have just updated this page > > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone > > This is fabulous — thanks so much for your help. I have made a few small > edits, but this is looking like exactly what we need for now. > > One small point — the "XDA Firefox OS community porting to the Fairphone > device project page" link doesn't appear to be linked, and I wasn't sure > what page this should link to. Can you fill this in? Thanks! Hi, that link comes from the previous editing of the page. However, I think I fixed it correctly. Can an Italian translation be useful? Maybe it could be much more better in Spanish... Is there other stuff that we can do in order to speed up the porting process?
(In reply to erotavlas from comment #13) > (In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #11) > > (In reply to erotavlas from comment #9) > > > > > > I have just updated this page > > > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone > > > > This is fabulous — thanks so much for your help. I have made a few small > > edits, but this is looking like exactly what we need for now. > > > > One small point — the "XDA Firefox OS community porting to the Fairphone > > device project page" link doesn't appear to be linked, and I wasn't sure > > what page this should link to. Can you fill this in? Thanks! > > Hi, > that link comes from the previous editing of the page. However, I think I > fixed it correctly. Ak, ok, sorry! And thanks for fixing it anyway. > Can an Italian translation be useful? Maybe it could be much more better in > Spanish... > Is there other stuff that we can do in order to speed up the porting process? I'd suggest that more translations is always better for trying to find new community members who could help out. Let me know if you need any help in using the MDN translation tools.
Ok, so I uploaded/landed all the necessary stuff to build FirefoxOS. I'd love if someone else could make a build (no device is required) and confirm that is working fine. Alex? Fabrice? Adam? :) In case you already have downloaded something, and made the ./config.sh fairphone2 step, please remove these directories: B2G/download-fairphone2, B2G/vendor, B2G/out , and build from scratch AFTER syncing.
Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(fabrice)
Flags: needinfo?(afarden)
The build worked for me. Just waiting for my device to charge to be able to flash it!
Flags: needinfo?(fabrice)
Also successfully built. Sadly, since nobody accepted that I receive a device, I cannot test :D
Flags: needinfo?(lissyx+mozillians)
I'd like to register as a Beta Tester for FFOS on my FP2.
I'm also compiling the build from github. I do not have a fairphone 2 device to test it. However, several users have it. Can you provide a link with working build in order to allow to people to test Firefox OS into Fairphone 2?
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #14) > (In reply to erotavlas from comment #13) > > (In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #11) > > > (In reply to erotavlas from comment #9) > > > > > > > > I have just updated this page > > > > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone > > > > > > This is fabulous — thanks so much for your help. I have made a few small > > > edits, but this is looking like exactly what we need for now. > > > > > > One small point — the "XDA Firefox OS community porting to the Fairphone > > > device project page" link doesn't appear to be linked, and I wasn't sure > > > what page this should link to. Can you fill this in? Thanks! > > > > Hi, > > that link comes from the previous editing of the page. However, I think I > > fixed it correctly. > > Ak, ok, sorry! And thanks for fixing it anyway. > > > Can an Italian translation be useful? Maybe it could be much more better in > > Spanish... > > Is there other stuff that we can do in order to speed up the porting process? > > I'd suggest that more translations is always better for trying to find new > community members who could help out. Let me know if you need any help in > using the MDN translation tools. I have just updated the official page of Firefox OS for Fairphone on MDN https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone: in English only a few mistakes and I translated it in Spanish (99% correct, it has been reviewed by a native speaker) and in Italian (99.9% correct, I'm native speaker). Unfortunately, I'm not able to add more languages, but it could be very useful to translate this page also in French, German and Portuguese. I also updated the official thread of Fairphone forum https://forum.fairphone.com/t/firefox-os-is-the-way-to-go/3116/37 in order to maintain updated the community. Any news for the testing of the build?
(In reply to erotavlas from comment #20) > I have just updated the official page of Firefox OS for Fairphone on MDN > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone: in > English only a few mistakes and I translated it in Spanish (99% correct, it > has been reviewed by a native speaker) and in Italian (99.9% correct, I'm > native speaker). Unfortunately, I'm not able to add more languages, but it > could be very useful to translate this page also in French, German and > Portuguese. Wow, this is incredible work. Thank you so much.
I have just compiled Firefox OS for Fairphone 2. Here there is the build https://mega.nz/#!aVUUFDgY!AzXfuF_29dhQ_bKTR15RuUqKHCZ32y04_qtd08_272Y. In order to flash the device, it is sufficient to follow this guide https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Installing_on_a_mobile_device or this guide https://wiki.mozilla.org/Firefox_OS/TCP/Flashing_your_device/
It's very exciting to see a port of FirefoxOS for Fairphone available. Is Mozilla planning to provide builds for the Fairphone of its own (like it does with the Flame)? I also noticed a discussion on Fairphone forum about the complications associated with installing - it made me wonder if there are any plans to support flashing Fairphone builds using the B2g installer (https://bugzilla.mozilla.org/show_bug.cgi?id=1166276) addon?
No we can't redistribute these builds (note that we don't distribute full flame build either, our partner T2M does). Getting support in the installer addon is absolutely possible though.
Thanks Fabrice. That's great to know about the possibility of support with the addon. What about blob-free builds - is Mozilla able to distribute those? Is FirefoxOS on Fairphone likely to be a "Foxfooding" edition or a branded build?
Yes blob free builds are redistributable. I can't answer one way or the other to your other questions.
(In reply to erotavlas from comment #22) > I have just compiled Firefox OS for Fairphone 2. Here there is the build > https://mega.nz/#!aVUUFDgY!AzXfuF_29dhQ_bKTR15RuUqKHCZ32y04_qtd08_272Y. > In order to flash the device, it is sufficient to follow this guide > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/ > Installing_on_a_mobile_device or this guide > https://wiki.mozilla.org/Firefox_OS/TCP/Flashing_your_device/ That's very nice but please be aware that not everything might we working as expected. (In reply to Nick from comment #25) > Thanks Fabrice. > > That's great to know about the possibility of support with the addon. What > about blob-free builds - is Mozilla able to distribute those? Is FirefoxOS > on Fairphone likely to be a "Foxfooding" edition or a branded build? Yes, Juan is with me this weekend and next week in Paris office and this is part of what we want to do very soon. If things goes well, should be quickly available. Addon itself is in good shape but there are still small bugs needing fixing before pushing that to people. It's not big deal.
FYI we have local patches needed to produce blobfree image for Fairphone 2 (and Wileyfox Swift) and have been able to flash the FP2 from B2G to B2G with the addon :).
I should be able to spend some time on the translation in French of the MDN page, if there's still work to do. I'm a native speaker. Awesome to see the work done here btw :)
(In reply to Alexandre LISSY :gerard-majax from comment #28) > FYI we have local patches needed to produce blobfree image for Fairphone 2 > (and Wileyfox Swift) and have been able to flash the FP2 from B2G to B2G > with the addon :). This is awesome :). (In reply to Flaburgan from comment #29) > I should be able to spend some time on the translation in French of the MDN > page, if there's still work to do. I'm a native speaker. Awesome to see the > work done here btw :) Yes, of course. At the moment nobody has started the French translation. Let me know if you need help with MDN tools.
(In reply to erotavlas from comment #22) > I have just compiled Firefox OS for Fairphone 2. Here there is the build > https://mega.nz/#!aVUUFDgY!AzXfuF_29dhQ_bKTR15RuUqKHCZ32y04_qtd08_272Y. > In order to flash the device, it is sufficient to follow this guide > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/ > Installing_on_a_mobile_device or this guide > https://wiki.mozilla.org/Firefox_OS/TCP/Flashing_your_device/ For license issue with proprietary blob of Fairphone 2, the moderators of Fairphone forum asked me to not share directly the build https://forum.fairphone.com/t/firefox-os-beta/12443/12, but to share it only via private message. This is the new link https://mega.nz/#F!2UsjWBZY. Send me a private message in order to get the decryption key.
(In reply to erotavlas from comment #31) > (In reply to erotavlas from comment #22) > > I have just compiled Firefox OS for Fairphone 2. Here there is the build > > https://mega.nz/#!aVUUFDgY!AzXfuF_29dhQ_bKTR15RuUqKHCZ32y04_qtd08_272Y. > > In order to flash the device, it is sufficient to follow this guide > > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/ > > Installing_on_a_mobile_device or this guide > > https://wiki.mozilla.org/Firefox_OS/TCP/Flashing_your_device/ > > For license issue with proprietary blob of Fairphone 2, the moderators of > Fairphone forum asked me to not share directly the build > https://forum.fairphone.com/t/firefox-os-beta/12443/12, but to share it only > via private message. This is the new link https://mega.nz/#F!2UsjWBZY. Send > me a private message in order to get the decryption key. That is exactly why we have blobfree support. Juan verified this works on Fairphone 2, Adam landed a patch we can leverage for the Fairphone 2 device to produce those blobfree builds. The addon is not yet ready but please be a little bit patient.
@Alexandre LISSY: Please add a link to the repo and quote the commit id you are talking about. This thread has been idle for more than a week and I would like to see where the code is headed. Thank you
(In reply to Martin from comment #33) > @Alexandre LISSY: Please add a link to the repo and quote the commit id you > are talking about. > > This thread has been idle for more than a week and I would like to see where > the code is headed. > > Thank you Sorry ?
Flags: needinfo?(m.paulus)
You are keeping me (but plausibly more people from the Fairphone forums) in suspense about the progress of the development of this blobfree build plugin. I think it would be useful to have a look at the code to see whether anyone from the community is able to resolve outstanding issues and submit a merge request. I was referring to "Juan verified this works on Fairphone 2, Adam landed a patch we can leverage for the Fairphone 2 device to produce those blobfree builds. The addon is not yet ready [..]"
Flags: needinfo?(m.paulus)
(In reply to Martin from comment #35) > You are keeping me (but plausibly more people from the Fairphone forums) in > suspense about the progress of the development of this blobfree build > plugin. I think it would be useful to have a look at the code to see whether > anyone from the community is able to resolve outstanding issues and submit a > merge request. How about having a look at the current status on the meta bug https://bugzilla.mozilla.org/show_bug.cgi?id=1166276 ? It's open and wide to the public. I also stated repeatedly that I want to fix the remaining bugs that are blocking this one before releasing anymore more publicly, because there were some risks of bricking devices. This is moving quite well. Addon is not ready, but the code is already public.
Thank you for the link to the meta bug. This should be the repository of the addon: https://github.com/mozilla-b2g/b2g-installer
(In reply to Martin from comment #37) > Thank you for the link to the meta bug. > > This should be the repository of the addon: > https://github.com/mozilla-b2g/b2g-installer Please, there is a reason I am not yet exposing it that much.
And "MDN blobfree" links you directly to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building#Building_a_blob_free_full_system_zip There is no intention to hide anything. Code is open, doc is here. Bug 1240352 is about supporting CM-style blob list. Juan and myself are much busy with a lot of things at the same time, so yes, this is not moving as fast as we would like.
Please, do not misunderstand: I whole-heartedly agree that anyone who bricks her/his device at this time based on the code currently available has no right to complain and should be prepared to handle unforeseen consequences by her-/himself. However, I did find it very inconvenient to have to resort to a search engine to locate an object of our discussion. Especially since I consider a bug tracker a platform for and by developers. There will always be cases where damage is inflicted due to recklessness, but I feel this should not be a reason to censor yourself as a developer.
Hi Martin, if you are interested about trying Firefox OS in your device, please read this thread in Fairphone forum https://forum.fairphone.com/t/firefox-os-beta/12869 and report any updates.
(In reply to Martin from comment #40) > Please, do not misunderstand: I whole-heartedly agree that anyone who bricks > her/his device at this time based on the code currently available has no > right to complain and should be prepared to handle unforeseen consequences > by her-/himself. > > However, I did find it very inconvenient to have to resort to a search > engine to locate an object of our discussion. Especially since I consider a > bug tracker a platform for and by developers. > > There will always be cases where damage is inflicted due to recklessness, > but I feel this should not be a reason to censor yourself as a developer. Hi Martin, Thank you very much for the interest you express toward this port in particular, I'm also super excited that we will soon have more to work on, and I can't wait to run Firefox OS on a Fairphone2. Even though I understand your excitement, I observed that one rarely get good results by trying to make someone doing something they don't want to, even with sensible motives. It occurred to me that it's usually distracting at least, and counter-productive at worst. Please bear with us, I'm pretty sure we'll have more to work on soon. :)
Hi, I want to report a bug of .flash.sh file of the source of Firefox OS. The current version of .flash.sh is unable to automatically flash the build of Firefox OS into a Fairphone 2 device. We tried both on Ubuntu 14.04 LTS on PC and on MAC OS X. The script outputs the same error message "Unsupported device "FP2", can't flash" either if a Fairphone 2 is connected to the system or if it is not connected. Have I to report this bug in other channel/places?
i didn't inform the fairphone forum about my bugtrack so erotavlas didn't know that i already made a bugreport: https://bugzilla.mozilla.org/show_bug.cgi?id=1244519 so that may be double information. Maybe a Moderator can merge that.
Hi Novski, ok I added a confirmation to your bug. :)
Depends on: 1244519
wow didn't expect you guys to work on sunday! so does this mean i can sync my repo and try again? (i will do updates as soon as it work on my phone someday... :-) ) btw. i will do a German translation https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone --soon... Regards, Novski
(In reply to Novski from comment #46) > wow didn't expect you guys to work on sunday! so does this mean i can sync > my repo and try again? Not yet, this needs reviewing from Juan before. But you can apply the patch locally in between. > (i will do updates as soon as it work on my phone someday... :-) ) > btw. i will do a German translation > https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Fairphone > --soon... > Regards, Novski Sure, any contribution are welcome.
Depends on: 1244551
Flags: needinfo?(afarden)
Blocks: 1245228
Hi! Saw this on the FP forum. Two days ago, my build failed as well. I'm aware of https://bugzilla.mozilla.org/show_bug.cgi?id=1245058 and the duplicates. Is https://bugzilla.mozilla.org/show_bug.cgi?id=1245016#c5 the fix? A repo sync didn't apply those changes, so I manually edited the two files in question and ran 'build.sh -j1' afterwards - successfully! Flashed it and got the following problems after reboot: - OS crashed during setup -> black screen - My phone was still connected to PC. Several windows on the PC desktop opened (as if I had plugged in several external devices) together with additional warning popups (e.g. sth. like "Android can't be mounted"). This only stopped after unplugging the device. - Needed to press power button longer than normally to (re?)boot the phone (may be a hint that the phone was not yet powered off). - CPU area was quite hot (related to the crash?) I have a complete build log - please tell me if it might help to see it. Btw the Fairphone logo which pops up directly after reboot is smaller than it normally is but that's probably just a cosmetic "issue".
Now the building process work correctly again. Unfortunately, I cannot test on a real device :(
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.