Results 1 to 10 of 10

Thread: help with installation

  1. #1
    Join Date
    Mar 2014
    Beans
    8

    help with installation

    im trying install sdk android but nothing when i type android i get nothing

    2.2 Download the Android SDK
    Get the Android SDK at [URL]http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
    Unzip the contents to your root directory (home). Contents should be located @ /home/patcher/android-sdk-linux

    Till here is fine after I cant.....
    can u help me with deitails how to to next step?

    Ok, now edit the .bashrc file in your root directory (home), change the PATH environment variable to: export PATH=~/android-sdk-linux/platform-tools:~/android-sdk-linux/tools:$PATH

    Now apply the changes you've made to the PATH environment variable:
    1. .~/.bashrc


    Copy the Code
    2.3 Install the Android SDK

    Launch the Android SDK Manager:
    1. android


    Copy the Code
    After the installation is finished you'll see following window:
    Last edited by sandyd; March 20th, 2014 at 03:12 PM. Reason: formating/font

  2. #2
    Join Date
    Apr 2012
    Location
    Darkstar
    Beans
    324

    Re: help with installation

    What guide are you following? Is it this guide?
    CrunchBang Linux
    Plz no tpe lik dis or no anser!!
    The search tool can be found in the upper right corner of your screen, please use it to your advantage, especially before asking questions.

  3. #3
    Join Date
    Mar 2014
    Beans
    8

    Re: help with installation

    yes is for develoing rom for android phone

  4. #4
    Join Date
    Apr 2012
    Location
    Darkstar
    Beans
    324

    Re: help with installation

    That guide should give you a detailed explanation, but if you are having issues, please be clear on what the matter is so we can help you.
    CrunchBang Linux
    Plz no tpe lik dis or no anser!!
    The search tool can be found in the upper right corner of your screen, please use it to your advantage, especially before asking questions.

  5. #5
    Join Date
    Mar 2014
    Beans
    8

    help for installing this guide

    I'm wanna practice a bit for edit rom for android over linux, I'm following a guide but i guess not very detail ...
    the guide is

    http://en.miui.com/thread-9630-1-1.html



    so im following the guide to porting rom ... im arrive till this point ...

    "For the device I'm using, the output display is:

    Bus 002 Device 001:ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 098:ID 04e8:685e Samsung Electronics Co.,Ltd

    Now copy the corresponding "04e8:685e" number (this contains the vendor id and product id). If you're not sure which line is your phone, then run the $ lsusb before connecting your device

    2. Under the directory "/etc/udev/rules.d"
    • mkdir 99-android.rules


    [color=rgb(51, 102, 153) !important]Copy the Code

    then make the following edits: SUBSYSTEMS=”usb”, ATTRS{idVendor}=”04e8”,ATTRS{idProduct}=”685e”,
    MODE=”0666” , OWNER=”current_user”

    3. In terminal run:
    • sudo restart udev


    [color=rgb(51, 102, 153) !important]Copy the Code

    Then reconnect your device.

    3. Sync MIUI code

    Under your root directory (home) make a new file:
    • mkdir patchrom


    [color=rgb(51, 102, 153) !important]Copy the Code

    Install repo
    • mkdir ~/bin
    • vim ~/.bashrc
    • set PATH=~/bin:$PATH


    [color=rgb(51, 102, 153) !important]Copy the Code

    Ok, switch to your patchrom directory (cd patchrom)..."

    Question i got my product and vendor id

    i dont understand what i must to do later...
    mkdir? not touch file?
    where i need to put the SUBSYSTEMS=”usb”, ATTRS{idV.....
    after that... how install repo?? please write me details description .. im really stucked

  6. #6
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: help with installation

    Please stop multiposting.
    Threads merged.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  7. #7
    Join Date
    Apr 2012
    Location
    Darkstar
    Beans
    324

    Re: help with installation

    CrunchBang Linux
    Plz no tpe lik dis or no anser!!
    The search tool can be found in the upper right corner of your screen, please use it to your advantage, especially before asking questions.

  8. #8
    Join Date
    Mar 2014
    Beans
    8

    Re: help with installation

    I read link you posted.. thank u
    but u think this i must do it? or simply open 51.android.rule?



    2. Under the directory "/etc/udev/rules.d"

    1. mkdir 99-android.rules


    [COLOR=#336699 !important]Copy the Code
    [/COLOR]
    then make the following edits: SUBSYSTEMS=”usb”, ATTRS{idVendor}=”04e8”,ATTRS{idProduct}=”685e”,
    MODE=”0666” , OWNER=”current_user”




  9. #9
    Join Date
    Mar 2014
    Beans
    8

    make file strange error

    this is my make file
    # The original zip file, MUST be specified by each product
    local-zip-file := stockrom.zip
    # The output zip file of MIUI rom, the default is porting_miui.zip if not specified
    local-out-zip-file := MIUI_IOCEAN.zip
    local-miui-modified-apps :=
    # All apps from original ZIP, but has smali files chanded
    local-modified-apps :=
    # All apks from MIUI
    local-miui-removed-apps :=
    # All apps need to be removed from original ZIP file
    local-phone-apps :=
    # To include the local targets before and after zip the final ZIP file,
    # and the local-targets should:
    # (1) be defined after including porting.mk if using any global variable(see porting.mk)
    # (2) the name should be leaded with local- to prevent any conflict with global targets
    local-pre-zip := local-zip-misc
    # The local targets after the zip file is generated, could include 'zip2sd' to
    # deliver the zip file to phone, or to customize other actions
    include $(PORT_BUILD)/porting.mk
    local-zip-misc:
    local-test:
    echo "an example action"



    and this is what terminal give me

    root@ubuntu:~/MIUI# make workspace
    Makefile:22: *** missing separator. Stop

    any ideas?

  10. #10
    Join Date
    Apr 2012
    Beans
    7,256

    Re: help with installation

    Action lines in your makefile need to be indented using tabs

    Code:
    local-test:
    TAB-->echo "an example action"

Bookmarks

Posting Permissions

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