Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Trying to install Android SDK...

  1. #1

    Default Trying to install Android SDK...

    Hello again.

    Truth to be told I only need a command named "adb" in order to be able to install CyanogenMod on my Galaxy Ace S5830L (an Android mobile). But the CyanogenMod wiki says it's better to install the entire Android SDK from their site. Mr. Malcolmlewis said one can just download the tgz file from the site, unzip it, and put adb in /usr/local/bin (or at least I understood so), but in order for the mobile device to be recognized one must add a udev rule previously.

    The point is, I downloaded the file but I found no adb file or executable, just a strange txt that mentioned it was changed or must be downloaded...
    Any suggestions about this?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,814
    Blog Entries
    15

    Default Re: Trying to install Android SDK...

    On Sat 12 Jan 2013 09:46:01 PM CST, F style wrote:


    Hello again.

    Truth to be told I only need a command named "adb" in order to be able
    to install CyanogenMod on my Galaxy Ace S5830L (an Android mobile). But
    the 'CyanogenMod wiki'
    (http://wiki.cyanogenmod.org/index.ph...Doc:_adb_intro) says it's
    better to install the entire Android SDK from 'their site'
    (http://developer.android.com/sdk/index.html). Mr. Malcolmlewis said one
    can just download the tgz file from the site, unzip it, and put adb in
    /usr/local/bin (or at least I understood so). I downloaded the file but
    I found no adb file or executable, just a strange txt that mentioned it
    was changed or must be downloaded...

    Any suggestions about this?


    Hi
    This one?
    http://dl.google.com/android/adt/adt...nux-x86_64.zip

    It's under /sdk/platform-tools/ and I would put it in you ~/bin

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 20:06, 3 users, load average: 0.01, 0.05, 0.05
    CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile


  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,268
    Blog Entries
    2

    Default Re: Trying to install Android SDK...

    You may need to extract the Android SDK to get the individual files, including adb.

    TSU

  4. #4

    Default Re: Trying to install Android SDK...

    @Malcolmlewis:
    I thought you meant this one:
    http://dl.google.com/android/android....0.1-linux.tgz

    With ~/bin, does it mean /home/(personal folder)/bin or /usr/local/bin? I have build applications form source before and the binaries/executables used to be placed in the second one...

  5. #5

    Default Re: Trying to install Android SDK...

    '~' works on the command line and literally means 'home directory'. It
    can be used two ways:

    ~/ #the current user's home directory
    ~someuser/ #the home directory of 'someuser'

    So, if you do something on the command line and reference ~/bin it
    literally means the current user's home directory, and then 'bin' within
    that home directory.

    Good luck.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,124

    Default Re: Trying to install Android SDK...

    And as addition to the perfect description of ab above, you can read those things in the man page of bash:
    Code:
    man bash
    In this case in the paragraph Tilde Expansion.

    I mention this not because it will tell you different from what ab says, but you may like to read there more about bash to increase your knowledge.
    Henk van Velden

  7. #7

    Default Re: Trying to install Android SDK...

    @Hcvv:
    Thank you for the advise. I'll do so.

    @Malcolmlewis:
    When doing the udev rule stuff, should I enable or leave disabled USB storage?

    When finally beginning to install CyanogenMod, you mentioned to first unplug and then plug again the device. According to the wiki, once I have the CyanogenMod zip file I must "push" it to the device using adb, so I guess the device must be already turned on and connected to the PC. Also with or without USB storage?

    When booting to recovery mode, I guess the device must be still connected... (???) But can I boot it while turned on, or should I first turn it off?

    Flashing mobile phones is always a delicate (and probably awful) process, that's why I'm asking all of this.
    Thank you beforehand.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,814
    Blog Entries
    15

    Default Re: Trying to install Android SDK...

    On Sun 13 Jan 2013 07:16:01 PM CST, F style wrote:


    @Hcvv:
    Thank you for the advise. I'll do so.

    @Malcolmlewis:
    When doing the udev rule stuff, should I enable or leave disabled USB
    storage?

    When finally beginning to install CyanogenMod, you mentioned to first
    unplug and then plug again the device. According to the 'wiki'
    (http://wiki.cyanogenmod.org/index.ph..._CM_for_cooper),
    once I have the CyanogenMod zip file I must "push" it to the device
    using adb, so I guess the device must be already turned on and connected
    to the PC. Also with or without USB storage?

    When booting to recovery mode, I guess the device must be still
    connected... (???) But can I boot it while turned on, or should I first
    turn it off?

    Flashing mobile phones is always a delicate (and probably awful)
    process, that's why I'm asking all of this.
    Thank you beforehand.


    Hi
    You need to have USB debugging enabled on the device, not storage mode.
    But AFAIK, if you can see it in the device list with the adb command,
    then you should be able to connect.

    Only for the udev rule to kick in hence the unplug/plug so adb will
    work.

    When booting to recovery mode, should work either connected of
    unconnected. As long as the device is in recovery mode and the zip file
    is present the system will do it's thing.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 1 day 15:53, 3 users, load average: 0.13, 0.07, 0.06
    CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile


  9. #9

    Default Re: Trying to install Android SDK...

    OK, I was about to start the entire horrible process, but then I found myself checking the adb help and came to another big question: if the only thing "adb push" does is just copying a file from the PC to the mobile device, why is it necessary to do it with adb? What could happen if I just copied the mod file through USB storage or bluetooth?

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,814
    Blog Entries
    15

    Default Re: Trying to install Android SDK...

    On Mon 14 Jan 2013 03:46:01 AM CST, F style wrote:


    OK, I was about to start the entire horrible process, but then I found
    myself checking the 'adb help'
    (http://wiki.cyanogenmod.org/index.php?title=Adb_--help) and came to
    another big question: if the only thing "adb push" does is just copying
    a file from the PC to the mobile device, why is it necessary to do it
    with adb? What could happen if I just copied the mod file through USB
    storage or bluetooth?


    Hi
    Probably a different location on the device... if you have an sdcard
    and that's what it points to, then no reason as you could copy it
    there.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 3:51, 3 users, load average: 0.10, 0.06, 0.05
    CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile


Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •