Beranda > Android, Dokumentasi, Linux > Setting adb di Linux Fedora 14 Laughlin

Setting adb di Linux Fedora 14 Laughlin

Ini adalah dokumentasi hasil googling-ku untuk menjalankan adb di Fedora 14 (dengan perubahan). Aku menggunakan Fedora 14 Laughlin, namun, sepertinya tutorial ini berlaku juga untuk distro di luar Laughlin, sebagaimana sumber tutorial ini sendiri pun kudapat dari beberapa tutorial untuk beberapa distro.

Sampai di sini pendahuluannya.

Langkah-langkah yang kulakukan untuk akhirnya bisa menjalankan adb command dari terminal di Fedora-ku:

  • Install Android SDK dan seterusnya, sebagaimana kudapat tutorialnya dari sini: Fedora Project-Android sampai langkah nomor 2 pada sub judul AVD device.
  • Hubungkan hp Android (hp Android-ku adalah Nexian Journey) dengan komputer melalui kabel USB. USB Debugging dalam keadaan tercentang.
  • Jalankan terminal. Ketik lsusb
  • Terminal akan menampilkan baris-baris semacam ini

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 0489:c001 Foxconn / Hon Hai
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Catat kode ID handphone sebagaimana tercetak tebal dan merah di atas.

  • Buat file dengan nama 51-android.rules di /etc/udev/rules.d/ Kalau bingung cara buat file di sana, buat file 51-android.rules terserah di mana saja, setelah itu baru dipindah di /etc/udev/rules.d/
  • Isi file 51-android.rules tersebut dengan baris yang berisi teks berikut: SUBSYSTEM==”usb”,ATTRS{idVendor}==”0489“,SYMLINK+=”android_adb”,MODE=”0666″ di mana 0489 bisa diganti sesuai dengan ID handphone masing-masing.
  • Ketik tulisan ini di terminal: udevadm control –reload-rules untuk me-reload file rules.
  • Sekarang ketik di terminal cd /home/AndroidSDK/platform-tools/
  • Ketik su – untuk masuk sebagai root
  • Ketik ./adb kill-server
  • Ketik .adb start-server
  • Selesai, adb siap digunakan. Namun, agar penggunaan adb lebih mudah, tidak perlu cd ke folder AndroidSDK/platform-tools/, kita perlu copy file adb yang ada di folder tersebut, dan memasukkannya ke /usr/local/bin/. Misal cp /home/AndroidSDK/platform-tools/adb /usr/local/bin/
  • Selesai. Kita bisa menggunakan perintah adb langsung setelah kita membuka Terminal.

Dokumentasi ini disarikan dari berbagai sumber.

Forum Android Goole Support

Thread di XDA-Developers

Gootencool –> situs berbahasa Spanyol. Bantuan Google Translate.

 

Last updated: Rabu, 2 Maret 2011

Iklan
  1. 17 Februari 2013 pukul 6:01 am

    Howdy would you mind letting me know which hosting company you’re using? I’ve loaded your blog
    in 3 completely different web browsers and I must say this blog loads a lot quicker then
    most. Can you recommend a good web hosting provider at
    a fair price? Thanks a lot, I appreciate it!

  2. 27 Maret 2013 pukul 5:52 am

    There are also considered some of your grapes and then end up
    in doubt, pick a Pinot Noir. We enjoyed our stay there for every human being, that can be quite a charismatic
    fellow. If you prefer, you can get an impression of the sun, moon and seasons
    in its full glory. It’s a self-described next generation of wine per year.

  3. 4 April 2013 pukul 4:15 am

    Thank you a great deal for providing these types
    of a fascinating and special perception into this interesting
    and debatable subject matter!

  4. 19 April 2013 pukul 10:01 pm

    Howdy! This is kind of off topic but I need some help from
    an established blog. Is it very difficult to set up your
    own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about
    setting up my own but I’m not sure where to begin. Do you have any tips or suggestions? Thanks

  5. 26 Mei 2013 pukul 4:38 am

    Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the
    shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!

  6. 1 Juli 2013 pukul 10:27 am

    If you happen to frequent areas that are heavily traveled by the architects of the greatest activities that humankind can participate in.
    Pack a couple of minutes with your children to walk the route with them on those long
    hard rides. Juan, built as early because inside the spring
    may be an unlawful version. You will get a yeast infection on a flight.

  7. 1 April 2014 pukul 10:58 pm

    Hi there, I log on to your new stuff regularly. Your
    story-telling style is witty, keep it up!

  8. 26 Mei 2014 pukul 1:40 pm

    Magnificent beat ! I wish to apprentice while you amend your web site, how could
    i subscribe for a blog web site? The account helped mee a acceptable
    deal. I had been a little bit acquainted oof this your
    broadcast provided bright clear concept

  9. 31 Juli 2014 pukul 2:04 pm

    You’re so awesome! I don’t believe I’ve truly read anything
    like this before. So nice to discover somebody with a few genuine thoughts
    on this subject matter. Really.. thanks for starting this up.
    This site is one thing that’s needed on the web, someone with a little originality!

  10. 11 Mei 2015 pukul 6:47 pm

    In such a case, you must prefer to invest a comparatively more
    money and get high quality services. Even the popular system offshore
    outsourcing in the world of web development business believes in hiring of ASP.
    Here are few points to ascertain before hiring a Java Developer:.

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: