We do cover this in the following section of the main Flame article:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Linux_and_Mac

I’d love your feedback on what could be better written. Perhaps I should 
transfer all of the details over to the Flame article, rather than  linking to 
another place.

Some more comments below:

Chris Mills
   Senior tech writer || Mozilla
developer.mozilla.org || MDN
   [email protected] || @chrisdavidmills



On 15 Sep 2014, at 17:52, Gabriela Montagu <[email protected]> wrote:

> Tony, many thanks for answering me so quickly!!!
> 
> I'm afraid there are things I don't understand how to do such as: 
> 
> edit the android.rules file in /etc/udev/rules.d/ : 
>    SUBSYSTEM=="usb", ATTR{idVendor}==“05c6", MODE="0666", GROUP=“plugdev"
> 

This can be a bit tricky, as this location is hidden by default. To find this, 
the easiest way is to open your Files application, then choose the menu option 
Go > Enter Location, then in the box that pops up, enter /etc/udev/rules.d/ and 
press return. You cna then edit the android.rules file with whatever plain text 
editor you are comfortable using. Create a new file called android.rules, if it 
doesn’t already exist in that location.

> 
> 
> Supposing I get to do all the above, how do I flash the builds?

You should be able to follow the instructions in this section:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Updating_your_Flame%27s_software



> 
> 
> Someone in the TCP channel gave a link to some unofficiall nightly builds and 
> told me I could use them to falsh the same way I do with my Keon using 
> Windows. The link is the following:
> 
> 
> http://www.codingfree.com/p/firefox-os-builds.html
> 
> Could you please tell me if there would be some risk using the above?
> 
> 

I would recommend that you use the builds listed on the official page, at:

https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Updating_your_Flame_to_a_nightly_build

Although you should Flash the base build first.

I’ve updated my Flame using these instructions many times, and haven’t had a 
problem. It is pretty reliable.

I hope this helps. Let me know if you have any other questions.

> 
> 
> 
> 
> 
> On 15 September 2014 13:27, Tony Chung <[email protected]> wrote:
> Gabriela,
> 
> you certainly can try adding android.rules for your Flame to your ubuntu 
> machine.   Yes, you may need sudo access to edit the file.   Can you find out 
> who can give you the administration rights?
> 
> Once you obtain them, follow this
> 
>  For the device to be seen on ubuntu:
>  1.  $  lsusb
> 
> look for the device ID on your Flame.  Should say something like:
>     "Bus 001 Device 023: ID 05c6:9026 Qualcomm, Inc.  "
> 
>  2. you will have to edit the android.rules file in /etc/udev/rules.d/ : 
>    SUBSYSTEM=="usb", ATTR{idVendor}==“05c6", MODE="0666", GROUP=“plugdev"
> 
>  3. to restart the process : 
>    sudo vi /etc/udev/rules.d/android.rules
>    sudo service udev restart
>    sudo /etc/init.d/udev restart
>    sudo reload udev
>    sudo udevadm trigger
> 
>  4. $ adb devices
>     Verify your device is now seen by Ubuntu
> Once you have ADB access, you can flash the device if you have the builds 
> handy.
> Hope that helps,
> 
> Tony
> 
> 
> On Sep 15, 2014, at 6:48 AM, Marek Raida <[email protected]> wrote:
> 
>> Hi,I used the latest ubuntu,and no udev rules were necessary to update - 
>> could also be the case of your current distro version...
>> M.
>> 
>> On Monday, September 15, 2014, Gabriela Montagu <[email protected]> wrote:
>> Hi Tony and Marek
>> 
>> Very sorry for my delay!!!
>> 
>> Tony, 
>> I have an Ubuntu/linux machine at the palce I work. I've installed adb but 
>> now, according to the TCP channel people trying to help me, I need to create 
>> a file for the udev rules and then enter 2 lines in it. I need administrator 
>> rights to do this as I don't have them, so I depend on someone else willing 
>> to do it for me so..... It doesn't seem so easy as you say, just tranferring 
>> the files and fllash them...
>> 
>> Marek, 
>> Using my USB stick, instalingl some linux live distribution on it, boot and 
>> do whats needed... doen't seem so difficult but.... which linux live 
>> distribution do I have to use? Would I have to create the udev rules with 
>> the 2 lines in it all the same? If so, the problem is I don't know how to do 
>> it... :(
>> 
>> 
>> Many thanks​ for trying to help me​!
>> Best regards,
>> Gabriela
>> QA Mozilla Hispano Responsible
>> 
>> 
>> http://www.mozilla-hispano.org
>> http://twitter.com/mozilla_hispano
>> http://facebook.com/mozillahispano
>> 
>> 
>> 
>> 
>> On 2 September 2014 15:27, Tony Chung <[email protected]> wrote:
>> Hi Gabriela,
>> Agree with Marek.  Do you have a linux distro machine that is running ADB, 
>> that you can just transfer the files and flash from ?
>> 
>> Tony
>> 
>> 
>> On Sep 2, 2014, at 10:38 AM, Marek Raida <[email protected]> wrote:
>> 
>> > I discourage you to try it on Windows+Cygwin, it failed me always.
>> > In it's stead, use yoru USB stick, install some linux live distribution on 
>> > it, boot and do whats needed...
>> >
>> > On Monday, 1 September 2014 22:21:52 UTC+2, Gabriela Montagu  wrote:
>> >> Hi all,
>> >>
>> >>
>> >> Could any one of you help me flash 2.1 to my Flame device using Windows 
>> >> please? If so, I would greatly appreciate it!!!
>> >>
>> >>
>> >>
>> >> I already have the Windows drivers, the Nightly build and the Gaia zip 
>> >> but I need the appropriate command to flash them using Windows and I 
>> >> would need to do in to help test some specific things.
>> >>
>> >>
>> >>
>> >>
>> >> Many thanks!
>> >>
>> >> Best regards,
>> >>
>> >> Gabriela
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> http://www.mozilla-hispano.org
>> >> http://twitter.com/mozilla_hispano
>> >>
>> >>
>> >> http://facebook.com/mozillahispano
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On 6 August 2014 16:41, Paul Rouget <[email protected]> wrote:
>> >>
>> >>
>> >> Just FYI, in WebIDE, there are buttons to root the phone when it's 
>> >> possible.
>> >>
>> >> In Runtime > Runtime Info.
>> >>
>> >> We use run ADB for the user, and run scripts to root ADB server side.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Asa Dotzler wrote:
>> >>
>> >>> On 8/6/14, 9:15 AM, Josh Aas wrote:
>> >>
>> >>>> I got a Flame phone and wanted to update it to 2.0 nightly so I could
>> >>
>> >>>> test/dogfood. Last week I couldn't figure out how to do that via the
>> >>
>> >>>> Flame home page, but someone has since added instructions. Thanks to
>> >>
>> >>>> whoever did that!
>> >>
>> >>>>
>> >>
>> >>>> https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame
>> >>
>> >>>>
>> >>
>> >>>> One issue with the instructions, though, at least on OS X - they only
>> >>
>> >>>> really work if both flash steps are run as root (sudo). Flashing the
>> >>
>> >>>> base doesn't require root, but the flash to 2.0 nightly requires the adb
>> >>
>> >>>> daemon to be running as root, and if you didn't flash the base as root
>> >>
>> >>>> adb will not be running as root. You'll need to do "adb kill-server",
>> >>
>> >>>> which most people won't know how to do. If you didn't run the base flash
>> >>
>> >>>> as root, and you figured out how to kill the adb server, you then need
>> >>
>> >>>> to run the second flash as root to get adb to start as root. We should
>> >>
>> >>>> either recommend that people run the flash commands as root (prefix
>> >>
>> >>>> "sudo"), or explain how to get adb running as root first.
>> >>
>> >>>>
>> >>
>> >>>> Other than this, the page's information is much better than before.
>> >>
>> >>>> Still could be better organized, though.
>> >>
>> >>>
>> >>
>> >>> Chris Mills manages this page, with input from me and other Flame
>> >>
>> >>> team folks.
>> >>
>> >>>
>> >>
>> >>> I'm glad it's an improvement. I've copied Chris on this in the hopes
>> >>
>> >>> that he can find a way to incorporate the Mac OS X note into the
>> >>
>> >>> instructions -- assuming that's as expected and not a bug for us to
>> >>
>> >>> fix.
>> >>
>> >>>
>> >>
>> >>> Thanks for the great feedback, Josh.
>> >>
>> >>>
>> >>
>> >>> - A
>> >>
>> >>> _______________________________________________
>> >>
>> >>> dev-b2g mailing list
>> >>
>> >>> [email protected]
>> >>
>> >>> https://lists.mozilla.org/listinfo/dev-b2g
>> >>
>> >> -- Paul
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >>
>> >> dev-b2g mailing list
>> >>
>> >> [email protected]
>> >>
>> >> https://lists.mozilla.org/listinfo/dev-b2g
>> >
>> > _______________________________________________
>> > dev-b2g mailing list
>> > [email protected]
>> > https://lists.mozilla.org/listinfo/dev-b2g
>> 
>> _______________________________________________
>> dev-b2g mailing list
>> [email protected]
>> https://lists.mozilla.org/listinfo/dev-b2g
>> 
> 
> 
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to