491 | | ssh user@192.168.2.15 "echo 'export QTDIR=/home/user/swork/qt5/qtbase' > nfsenv.sh; \ |
492 | | echo 'export QT_IMPORT_PATH=/home/user/swork/qt5/qtbase/imports' >> nfsenv.sh; \ |
493 | | echo 'export QML_IMPORT_PATH=/home/user/swork/qt5/qtbase/imports' >> nfsenv.sh; \ |
494 | | echo 'export LD_LIBRARY_PATH=/home/user/swork/qt5/qtbase/lib:/home/user/swork/qtwebkit-webkit2-dev-builddir-armel-m6/Release/lib' >> nfsenv.sh; \ |
495 | | echo 'export QT_PLUGIN_PATH=/home/user/swork/qt5/qtbase/plugins' >> nfsenv.sh; \ |
496 | | echo 'export QT_QPA_PLATFORM_PLUGIN_PATH=/home/user/swork/qt5/qtbase/plugins/platforms' >> nfsenv.sh; \ |
497 | | echo 'export QT_QPA_PLATFORM=xcb' >> nfsenv.sh; \ |
498 | | echo 'export WEBKIT_TESTFONTS=/home/user/swork/testfonts' >> nfsenv.sh; \ |
499 | | echo '# export TZ=/usr/share/zoneinfo/America/Los_Angeles' >> nfsenv.sh; \ |
500 | | echo 'export PATH=/home/user/swork/qt5/qtbase/bin:$PATH' >> nfsenv.sh" |
| 495 | ssh user@192.168.2.15 "echo 'export QTDIR=/home/user/swork/qt5/qtbase' > n9env.sh; \ |
| 496 | echo 'export QT_IMPORT_PATH=/home/user/swork/qt5/qtbase/imports' >> n9env.sh; \ |
| 497 | echo 'export QML_IMPORT_PATH=/home/user/swork/qt5/qtbase/imports' >> n9env.sh; \ |
| 498 | echo 'export LD_LIBRARY_PATH=/home/user/swork/qt5/qtbase/lib:/home/user/swork/qtwebkit-webkit2-dev-builddir-armel-m6/Release/lib' >> n9env.sh; \ |
| 499 | echo 'export QT_PLUGIN_PATH=/home/user/swork/qt5/qtbase/plugins' >> n9env.sh; \ |
| 500 | echo 'export QT_QPA_PLATFORM_PLUGIN_PATH=/home/user/swork/qt5/qtbase/plugins/platforms' >> n9env.sh; \ |
| 501 | echo 'export QT_QPA_PLATFORM=xcb' >> n9env.sh; \ |
| 502 | echo 'export WEBKIT_TESTFONTS=/home/user/swork/testfonts' >> n9env.sh; \ |
| 503 | echo '# export TZ=/usr/share/zoneinfo/America/Los_Angeles' >> n9env.sh; \ |
| 504 | echo 'export PATH=/home/user/swork/qt5/qtbase/bin:$PATH' >> n9env.sh" |
516 | | |
517 | | |
| 520 | If you |
| 521 | |
| 522 | Flashing |
| 523 | - If your device cannot boot up at all, you need to use rd-mode switch steps. |
| 524 | - If you re-flash your device just for clean-up, only flashing (Step 2) is required. |
| 525 | - If you rewrite device with EMMC binary, than all your data will be lost. |
| 526 | |
| 527 | Youtube example: |
| 528 | * http://www.youtube.com/watch?v=Vs2wyllNTCk&hd=1 |
| 529 | |
| 530 | '''Step 1''' |
| 531 | Disconnect your N9 device from usb. To turn on rd-mode and disable lifeguard-reset run: |
| 532 | {{{ |
| 533 | sudo flasher --set-rd-flags=no-lifeguard-reset --enable-rd-mode |
| 534 | }}} |
| 535 | Now connect usb cable and wait for finding the device. |
| 536 | |
| 537 | '''Step 2''' |
| 538 | Disconnect N9 from usb. |
| 539 | {{{ |
| 540 | sudo flasher -F DFL61_HARMATTAN_20.2011.40-4_PR_LEGACY_001-OEM1-958_ARM.bin -F DFL61_HARMATTAN_20.2011.40-4.CENTRALEUROPE_EMMC_CENTRALEUROPE.bin -f -R |
| 541 | }}} |
| 542 | Now connect usb cable and wait for minimum 11% battery level, than flashing will be started. |
| 543 | |
| 544 | '''Step 3''' |
| 545 | After flashing is complet and N9 device is rebooted disconnect it from usb. Turn off rd-mode and disable lifeguard-reset: |
| 546 | {{{ |
| 547 | sudo flasher --clear-rd-flags=no-lifeguard-reset --disable-rd-mode |
| 548 | }}} |
| 549 | Connect usb cable... |
| 550 | |
| 551 | '''More about R&D mode:''' |
| 552 | - http://wiki.maemo.org/R%26D_mode |
| 553 | |
| 554 | '''Notes''' |
| 555 | |
| 556 | If your device has hardware error (corrupted flash storage), you will get similar results as these: |
| 557 | {{{ |
| 558 | Battery level 72 %, continuing. |
| 559 | |
| 560 | image [state progress transfer flash speed] |
| 561 | --------------------------------------------------------------------- |
| 562 | [x] cert-sw [finished 100 % 1 / 1 kB NA ] |
| 563 | [x] cmt-2nd [finished 100 % 95 / 95 kB NA ] |
| 564 | [x] cmt-algo [finished 100 % 789 / 789 kB NA ] |
| 565 | [_] cmt-mcusw [init 0 % 1024 / 6050 kB NA ] |
| 566 | [x] xloader [finished 100 % 23 / 23 kB NA ] |
| 567 | [x] secondary [finished 100 % 93 / 93 kB NA ] |
| 568 | [x] kernel [finished 100 % 2712 / 2712 kB 1271 kB/s] |
| 569 | [_] rootfs [init 0 % 12288 / 1102340 kB NA ] |
| 570 | ERROR: SU_GET_UPDATE_STATUS_REQ terminated with error code 1: Unknown error |
| 571 | |
| 572 | image [state progress transfer flash speed] |
| 573 | --------------------------------------------------------------------- |
| 574 | [x] cert-sw [finished 100 % 1 / 1 kB NA ] |
| 575 | [x] cmt-2nd [finished 100 % 95 / 95 kB NA ] |
| 576 | [x] cmt-algo [finished 100 % 789 / 789 kB NA ] |
| 577 | [x] cmt-mcusw [finished 100 % 6050 / 6050 kB 3317 kB/s] |
| 578 | [x] xloader [finished 100 % 23 / 23 kB NA ] |
| 579 | [x] secondary [finished 100 % 93 / 93 kB NA ] |
| 580 | [x] kernel [finished 100 % 2712 / 2712 kB 1271 kB/s] |
| 581 | [f] rootfs [init 0 % 13312 / 1102340 kB NA ] |
| 582 | Fetching error list: |
| 583 | ======================================== |
| 584 | bb5_rdc_cert_read failed |
| 585 | bb5_rdc_cert_read failed |
| 586 | bb5_rdc_cert_read failed |
| 587 | bb5_rdc_cert_read failed |
| 588 | bb5_rdc_cert_read failed |
| 589 | bb5_rdc_cert_read failed |
| 590 | mmc: Could not find device path under /sys/class/mmc_host/mmc0 |
| 591 | mmc: Failed to init mmc block device |
| 592 | scconf_parse_entries failed: (null) |
| 593 | Unable to parse layout |
| 594 | mmc: Could not remove mount directory /tmp/sudmmc9J3FtB/mnt: No such file or dir |
| 595 | ectory |
| 596 | mmc: Could not unlink (null): Bad address |
| 597 | [Pipe 3] Finishing in error state with status 1 |
| 598 | }}} |
| 599 | |
| 600 | |