Firefox OS/Spark: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 427: Line 427:
* Certified apps can be installed from anywhere.
* Certified apps can be installed from anywhere.
* All developer-related prefs and settings are enabled, such as certified app debugging, web components, etc.
* All developer-related prefs and settings are enabled, such as certified app debugging, web components, etc.
==Flashing Spark==
Download [http://www.flashtool.net/downloads.php Flashtool]
Download [https://docs.google.com/a/mozilla.com/uc?id=0B1AAC4lt7nzOMmNVVVdCbTJ1a1E&export=download the build]
Prerequisite
1. Must have Java 8 on the machine
A. for mac use: brew install Caskroom/cask/java
B. for ubuntu :
    i. sudo add-apt-repository ppa:webupd8team/java
    ii. sudo apt-get update
    iii. sudo apt-get install oracle-java8-installer
    iv java -version
        a. should report 1.8.x
    v. sudo apt-get install oracle-java8-set-default
    vi. either do the following:
        a. export JAVA_HOME=/usr/lib/jvm/java-8-oracle
        b. sudo vi /etc/environment JAVA_HOME=/usr/lib/jvm/java-8-oracle
2. prereq must have adb installed that supports kit kat and lollipop
1. Download and install the flashtool / move the app to the Desktop.
[http://www.flashtool.net/downloads.php]
2. download [https://drive.google.com/a/mozilla.com/file/d/0B1AAC4lt7nzOMmNVVVdCbTJ1a1E/view the build]
3. run the application after downloading
4. open terminal and then mv ~/Downloads/D5803_23.1.A.1.28_NCB.ftf ~/.flashTool/firmwares/
5. click on the flash button
6. make sure flashmode is selected
7. click on ok
8. select Device : D5803 Version 23.1.A.1.28 Branding NCB
9. Check to make sure everything in the wipe is all selected
10. Check to make sure nothing is selected in the exlude
11. Check to make sure nothing in Misc is not selected
12. select flash
13. have device off, hold volume down, plug in the device, once you see the green led light flicker red, let go of the volume down button
14. click on ok for the dialog.
15. wait til flashing is done  ( blue bar should no longer be visible.)
16. remove device
17. turn the device on
18. there should be a dialog that shows up saying that the device is upgrading.  It will appear after a wavy animation screen.
19. turn off again once it's complete.
20 if you're not sure it got upgraded, you can launch settings , scroll all the way down, tap build id 7 times, go back to main settings, selected developer mode, turn on usb debugging
21 plug in the device, click on ok for the dialog that may appear here or after you type in adb shell getprop |grep sdk
22. If you have flash the device one of the lines will read something like ro.devices.sdk and would be 21, if you have not flashed the device it should be 19
Note : Alternative to step 5 to 12 & 14 you can run the command: ~/Desktop/FlashToolConsole --action=flash --file=~/.flashTool/firmwares
/D5803_23.1.A.1.28_NCB.ftf --wipedata=no --wipecache=no --baseband=no --system=no --kernel=no
if it works, I had issues with Jean's machine of Java not finding the file in 10.10.3.  I also had to update android tools on her machine because adb wasn't finding the lollipop version.  The note was the original directions I gave Jean.
canmove, Confirmed users
1,104

edits

Navigation menu