Laman

Cara Install Ubuntu Touch / Ubuntu Phone


Berbulan bulan menahan nafsu ingin punya, akhirnya di hari ini tanggal 10 November 2014 jam 11.18 yang bertepatan dengan hari Pahlawan Nasional (Indonesia) yang jatuh pada hari senin biasa untuk puasa sunnah senin-kamis, saya memutuskan membeli LG Nexus 4 second seharga 2jt, uang dari upah kerja part-time (niat banget pengen tau dan bisa dan akhir-nya uang habis =D ).

Sebelumnya saya sudah pernah mencoba meng-install Ubuntu Touch di Samsung Tab 7 2.0 warna putih, penampakannya.


Pertama-tama saya cari device apa saja yang support sama Ubuntu Touch di web ini https://wiki.ubuntu.com/Touch/Devices/ Taunya ada Samsung Tab 7 2.0 punya temen, saya pengaruhi dia, saya rayu-rayu akhirnya setuju tablet miliknya saya install =D. Cara installasinya mengikuti petunjuk di link Ubuntu Touch Device klik aja model Status page-nya dan untuk Samsung Tab 7 2.0 tutorialnya mengarah ke xda-developer. Saya ingatkan setelah saya install Ubuntu Touch-nya yang jalan cuma tampilan view dan internet saja.  Di xda-developer cara installasinya begini.



1. Download device specific part untuk p3100 dari https://docs.google.com/file/d/0B6Za...it?usp=sharing
2. Download Ubuntu nightly raring or quantal yang terakhir dari http://cdimage.ubuntu.com/ubuntu-tou...alled/current/ atau https://docs.google.com/file/d/0B6ZauHCT1LSwaFc3aV9IcGNYWnc/edit?usp=docslist_api
3. Taruh semua di external SD card.
4. Backup Android kamu apabila ingin mengembalikannya nanti. Gunakan CWM atau Rom Manager untuk melakukan backup-nya. Simpan backup-an mu di external SD card dan copy ke Komputer mu agar lebih aman.
5. Restart P3100 dan masuk ke Recovery mode, kemudian lakukan.
- Data Wipe/Factory Reset
- Wipe the dalvik cache
- Format /System (Ini sangat penting)
6. Install quantal-preinstalled-phablet-armhf.zip or raring-preinstalled-phablet-armhf.zip (file yang sudah di download tadi).
7. Install device specif part dari link di atas.
8. Reboot System now dan nikmati Ubuntu.

Penampakan hasil install Ubuntu Touch di Samsung Tab 7 2.0



Seperti yang saya bilang di atas yang jalan cuma tampilan view saja dan internet. Belum ada 1 hari temen saya minta kembalikan ke Android lagi =D.


Setelah 1 bulan kemudian yaitu bulan ini 10 November yang pagi tadi saya membeli LG Nexus 4, langsung saya infus pakai USB, dan saya install Ubuntu Touch mengikuti instruksi di sini. Dari instruksi tersebut yang saya jalankan.

Add PPAs (pre Trusty only)

  1. On your computer, press Ctrl+Alt+T to start a terminal.
  2. Add the Phablet Tools PPA as follows:
    $ sudo add-apt-repository ppa:phablet-team/tools
  3. On Ubuntu 12.04, you also must add the Ubuntu SDK Release PPA:
    $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
  4. Update your system to use the latest packages:
    $ sudo apt-get update

Install the ubuntu-device-flash package

The ubuntu-device-flash package is your main tool for installing Ubuntu for devices.
  1. Install the ubuntu-device-flash package:
    $ sudo apt-get install ubuntu-device-flash
After installation, you can display the help page for the ubuntu-device-flash tool as follows:
$ man ubuntu-device-flash
Press ‘q’ to quit the help.

Install phablet-tools package

The phablet-tools package provides a Desktop tools useful when working with a USB-connected Ubuntu device. For example, click-buddy creates a click package and runs it on the device, phablet-screenshot takes a screenshot from the device and saves it in your current directory, phablet-bootchart creates a bootchart image, and more.
  1. Install phablet-tools:
    $ sudo apt-get install phablet-tools
  2. List its tools with:
    $ dpkg -L phablet-tools | grep bin
  3. Display a tool’s help with the -h argument, for example:
    $ phablet-config -h
    usage: phablet-config [-h] [-s SERIAL]  ...
    Set up different configuration options on a device
    [...]

Enable USB Debugging

Here, you enable USB Debugging. This is required for a USB terminal connection from your Desktop to your device.
After enabling Developer Mode, the Developer options item is exposed in the Settings page.
  1. Navigate to Settings > Developer options
  2. Enable USB Debugging
When a device is connected, you are prompted in Android to authorize it.
  1. Physically connect your enabled device to your Ubuntu Desktop over USB.
  2. On Android, accept the prompt to Allow USB debugging for the specified computer.
  3. To verify the connection, use adb to display currently connected devices:
    $ adb devices
    List of devices attached
    025d138e2f521413 device
Tip: If the device does not display, try running adb kill-server first.
Now, the device is fully connected to your Ubuntu Desktop for development/installation operations.

Record your device type and build ID

You may want to reinstall Android later. To do this, it is helpful to write down and save key data. This data helps you open the right Android web page to download the files needed to restore your device to Android.
You can obtain this information from the Android device’s /system/build.prop file.
  1. Return the image type:<
    $ adb shell grep ro.product.name system/build.prop
    ro.product.name=razor
    In this case, the image name is “razor”. This is useful for finding Android OS images here: https://developers.google.com/android/nexus/images
  2. Return the device type:
    $ adb shell grep ro.product.device /system/build.prop
    ro.product.device=flo
    This device is type “flo”. The device type is used (automatically) to select the correct image in an Ubuntu image channel. The device type is also used to differentiate images on http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/.
  3. Return the build ID:
  4. $ adb shell grep build.id /system/build.prop
    ro.build.id=KOT49H
    This build ID is “KOT49H”. This identifies the version of the installed Android OS. You can use this data to pick the right Android OS version if you want to reinstall Android.
Tip: For convenience, run this command and the data is written to a file named mydevicedata:
$ adb shell grep ro.product.name /system/build.prop > mydevicedata \
&& adb shell grep build.id /system/build.prop >> mydevicedata \
&& adb shell grep ro.product.device /system/build.prop >> mydevicedata 
Here’s how the generated file may look:
$ cat mydevicedata
ro.product.name=razor
ro.build.id=KOT49H
ro.product.device=flo

Unlock the Android device

To install Ubuntu, you must first “unlock” the Android device bootloader.
Warning: Unlocking deletes all data from the device, including apps and other data. You may want to create a backup first.
You must first have enabled USB Debugging in the Android OS.
  1. Boot the device into the Android bootloader:
    $ adb reboot bootloader
    Tip: When the device is booted into the bootloader the screen displays the green Android robot lying on its back with its front panel open and a highlighted Start menu item.
  2. Verify the device is connected to your Ubuntu Desktop as follows:
    $ fastboot devices
    025d138e2f521413 fastboot
  3. Unlock the device as follows:
    $ sudo fastboot oem unlock
  4. Accept the terms of unlocking displayed on the Android device.
  5. Reboot the device to Android as follows:
    $ fastboot reboot
  6. Complete the first use Android setup steps, entering minimal information: Android and its data is about to be deleted during the Ubuntu install.

Install Ubuntu

  1. Power the device off with the Power button.
  2. Reboot into the bootloader by pressing the correct physical button combination for your device type as shown here: https://source.android.com/source/building-devices.html#booting-into-fastboot-mode
  3. Install Ubuntu using your selected channel, in this case we use the devel channel:
    $ ubuntu-device-flash --channel=devel --bootstrap
    2014/04/16 10:19:26 Device is |flo|
    2014/04/16 10:19:27 Flashing version 296 from devel channel and 
    server https://system-image.ubuntu.com to device flo
    2014/04/16 10:19:27 ubuntu-touch/trusty is a channel alias to devel
    
    [...]
    Tip: The –bootstrap
     option is normally only used when installing Ubuntu the first time. It 
    requires that the device is booted to the bootloader. After Ubuntu is 
    installed, one uses the ubuntu-device-flash command (without the –bootstrap 
    option) while the device is booted to Ubuntu.
    
    
    
    1. Wait until the reboot is done. In most cases no input from you is required.The process takes some time. First, an appropriate image is downloaded to ~/.cache/ubuntuimages.Tip: Occasionally delete the cache of downloaded images (in ~/.cache/ubuntuimages) to free up disk space with: ubuntu-device-flash –clean-cache. Then, the parts of the images are deployed to the device. Ubuntu is deployed to the devices as a “recovery” image. Then, the device boots from the recovery image and installs Ubuntu as the normal OS. Finally, the device boots into Ubuntu for devices.
 

Sudah itu saja yang saya jalanin. Maaf tidak saya translate ke bahasa Indonesia. Setelah melakukan perintah-perintah di atas, berikut penampakan yang terjadi pada hp LG Nexus 4.

Dari sini saya pilih Yes, disable. Kemudian boot lagi.
Dan akhirnya....


Selamat mencoba. Semoga berhasil dan membawa manfaat =)

No comments:

Post a Comment

Silahkan