Template:Install LuneOS from Recovery

From WebOS-Ports
Jump to navigation Jump to search


WARNING: DO NOT EDIT!

THIS PAGE IS NOT A REGULAR WIKI PAGE. IT IS A WIKI *TEMPLATE* AUTO-INCLUDED INTO POTENTIALLY HUNDREDS OF OTHER PAGES. ANY CHANGE MADE HERE WILL AFFECT ALL THESE PAGES SIMULTANEOUSLY, INCLUDING PAGES DEALING WITH MANY TYPES OF DEVICES. SO DO NOT EDIT THIS PAGE UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING. THANKS!

Installing/Updating LuneOS from recovery

Note:

Some devices do not have removable SD cards. Regardless, there should still be a partition on the device named "/sdcard" that can be used for flashing purposes, even though the contents of /sdcard may actually be in internal storage.

  1. Your {{{device_name}}} should still be connected to your PC via USB from the last step
  2. Your {{{device_name}}} should still be booted to ClockworkMod from the last step
  3. If neither statement is currently true, please reboot to ClockworkMod. If you do not have CWM loaded, follow the steps outlined above.
  4. Download the latest stable LuneOS Dev-image or latest nightly LuneOS Dev-image
  5. Use the Volume Up and Volume Down keys on your {{{device_name}}} to select ""install zip" and next "install zip from sideload" and now you should have the following text on your device screen :
    ClockworkMod Recovery v6.0.4.3

    Sideload started ...
    Now send the package you want to apply
    to the device with "adb sideload <filename>" ...
  6. From your PC, execute the following command:
    adb devices
    and if you have the following output
    List of devices attached
     ???????????? no permissions
    then follow the commands to restart the adb server (here in the Troobleshooting part) or if you can not wait (with the root account) :
    # adb kill-server
    # adb start-server
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    check now if all works fine :
    # adb devices
    List of devices attached
    your_nexus_serial_number recovery
  7. From your PC, execute the following command:
    adb sideload luneos-dev-package-{{{device_codename}}}.zip
  8. The image will now install. It will installs both the kernel and the rootfs and now you should have the following text on your device screen :
    Restarting adbd...
    Finding update package...
    Opening update package...
    Installing update...

    Welcome to the LuneOS RootFS Updater

    Mounting system and userdata partitions...
    Copying the LuneOS rootfs tarball...
    Deploying LuneOS...
    Flashing kernel ...

  9. Once completed, reboot the {{{device_name}}} (In ClockworkMode, use the following entries in the menu: Go Back -> reboot system now -> Go back). (If ClockworkMode asks if you want to 'root device', answer no.)
  10. Your system should now boot directly into LuneOS