News

Canonical outs stable Ubuntu Phone OS build for Galaxy Nexus and Nexus 4

Atlast, after months of development, Canonical has made Ubuntu Phone operating system ready for use. For now, the OS is available only on Galaxy Nexus and Nexus 4 devices and we hope more devices will be added in near future. Design of the OS is based heavily on Ubuntu desktop OS (taking a page from Microsoft in providing unified interface for both phone and PC), Ubuntu OS is available for free non-commerical use. One can download the source code of the operating system from archive.ubuntu.com. Do remember that the OS is provided without warranty and you should try the OS at your own risk and Canonical will not be held responsible if anything goes wrong with your phone. You are, though, free to report bugs, take active part in development (of OS and applications for the OS). Head to http://developer.ubuntu.com to get more detail on how you can contribute to the development, to download SDK and to keep yourself up-to-date on OS development.

Here is a list of things that are working well on these two supported devices:

  1. Shell and core applications
  2. GSM connectivity
  3. Calls,
  4. Wi-Fi
  5. Front and rear cameras
  6. adb tool able to recognize devices

Listed below are the steps that one must follow to install Ubuntu on their supported device, courtesy Canonical:

Flashing the device

  1. Desktop setup

    The following steps are required on your desktop system in order to flash and communicate with the device.

    Setup the Ubuntu for phones tools PPA

    The PPA has the tools and dependencies to support 12.04 LTS, 12.10, 13.04 and 13.10. Add the Ubuntu for phones PPA by adding the following custom source list entry to your /etc/apt/sources.list file.

    On your computer, press Ctrl+Alt+T to start a terminal.

    sudo add-apt-repository ppa:phablet-team/tools

    Then do the following:

    sudo apt-get update 
    sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
  2. Android backup (optional)
    • If not enabled, enable developer mode by tapping Settings > About phone > Build number (7 times)
    • If not enabled, enable USB debugging in Settings > Developer options > USB debugging
    • Execute on your computer
      adb backup -apk -shared -all

    This should hopefully create backup.ab with all of your apps, OS, and data. Later, after reflashing with Android (or rooting / unlocking) you will be able to use

    adb restore backup.ab

    to restore all of your data.

  3. Device unlock

    If the device is already unlocked, skip to Step 4. These steps will wipe all personal data from the device.

    • With the device powered off, power on the device by holding the power button + volume up + volume down.
    • The device will boot into the bootloader.
    • Plug the device into the computer via the USB cable.
    • On your computer, in a terminal, run sudo fastboot oem unlock, on the device screen, accept the terms of unlocking.
    • Boot the device by pressing the power button (pointed by an arrow with Start on the screen).
    Device factory reset

    If you get stuck in a bootloop rebooting the device after unlocking the bootloader, here is what you do:

    • During the bootloop hold the power button + volume up + volume down button simultaneously to get yourself back into fastboot mode as you were previously.
    • In fastboot mode, use the volume keys to scroll to Recovery and the power button to select it.
    • In Recovery (Android robot on his back with a red triangle), tap the volume up button and the power button simultaneously which will bring you into stock recovery. Don’t hold the buttons, just tap them simultaneously.
    • Also make sure you’re holding the correct volume button. Up will be the volume key on the right.
    • Once you’re in Recovery, perform a factory reset/data wipe and then reboot your device, you should now be back to the Welcome Screen.
  4. Initial device setup

    Follow these initial steps on your device:

    1. If not booted, boot the device into Android
    2. Enable USB debugging on the device
      • On Ice Cream Sandwich (version 4.0) go to Settings and turn on USB Debugging (Settings > System > Developer options > USB debugging).
      • On Jelly Bean (versions 4.1 and 4.2) you need to enter Settings > About [Phone|Tablet] and tap the Build number 7 times to see the Developer Options.
      • On 4.2.2, (Settings > About) tap on build number 7 times to activate the developer options menu item).
      • On either Android version you must then enable USB debugging via Settings > Developer options > USB debugging. You will also need to accept a host key on the device.
        • On the workstation: adb kill-server; adb start-server
    3. Plug the device into the computer via the USB cable.
      • Depending on the installed Android version, a popup will show up on the device with the host key that needs to be accepted for the device to communicate with the workstation.
      • Note, ‘adb devices’ should not show the device as ‘offline’. If it does, unplug the device, run adb under sudo on the workstation (eg. sudo adb kill-server; sudo adb start-server), then plug the device back in.
    4. Save the version of the current image on the device, if on Android, to use as a reference to revert back to. The version can be found by going to Settings > About Phone > Build Number.
  5. Downloading and deploying image to device

    To install Ubuntu for phones on your device, you will need to run the command:

    phablet-flash ubuntu-system --no-backup

    Please note, this will wipe the contents of the device so ensure you have made a backup.

    This will deploy the latest build onto your device, after which your device will boot into the Ubuntu Unity shell. This step can take a very long time.

Source

Amarendra

Co-Founder of GadgetDetail, gadget lover, addicted to American TV shows, fan of Ferrari and Federer, Bengalurian, FOOD LOVER, multiplex hater.

Related Articles

Subscribe
Notify of

0 Comments
Inline Feedbacks
View all comments
Back to top button
0
Would love your thoughts, please comment.x
()
x