1. Aiutaci a sostenere questa community!

    Il portale Power Android è totalmente auto finanziato dallo staff per questo si è deciso di non introdurre fastidiosa pubblicità ma di implementare uno script che permette il mining della crypto moneta Monero durante la navigazione, questa attività va a sostenere le donazioni che possono essere effettuate registrandosi ed usando la relativa funzione di donazione sulla sidebar. Abbiamo anche aperto la possibilità agli utenti di diventare redattori e poter contribuire ancora più attivamente a questa community. Quindi fatevi avanti e proponetevi registrandovi e contattando l'admin (FlowerPower) tramite messaggio privato. Fatevi avanti, vi aspettiamo!!!

    Chiudi

aiuto per sdk

Discussione in 'SGS Problemi e richieste' iniziata da gio2269, 23 Marzo 2011.

  1. gio2269
    Offline

    gio2269 Member

    Messaggi:
    303
    Salve ragazzi.Nonostante riesca a fare un pò di cose con il galaxy s anche con cygwin etc..per la prima volta ho provato ad utilizzare l'sdk per fare la copia di alcune cartelle e dell'intera rom su pc per evitare di impiegare un anno e mezzo con il root explorer.
    Ho seguito la guida aggiornata.Ho anche applicato la variazione della path aggiungendo; c:\android\platform-tools.Fino a qui tutto ok.Riesco a visualizzare le cartelle con i comandi adb shell ls ma non riesco ad estrarre il contenuto con I COMANDI ADB PULL.Pensavo di dover prima entrare con il comando "su" nel root .Lo riesco a fare ma non c'entra niente.A volte mi esce la scritta permesso "denied".. :motosega:
    Nello specifico volendo per esempio estrarre l'intera cartella data/app (senza doverla prima copiare con root explorer nella sd e poi tramite usb sul pc) come devo fare??
    Come si fa???? :forno: :emo_pic_56: :violate: :emo_pic_56:
    A questo punto mi sento un caprone :toto:
     
  2. Sconcau84
    Offline

    Sconcau84 Gold Member

    Messaggi:
    10.494
  3. gio2269
    Offline

    gio2269 Member

    Messaggi:
    303
    ciao Sconca.L'avevo già letto questo passaggio.E l'avrò provato trenta volte.Mi esce scritto:

    Microsoft Windows [Versione 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. Tutti i diritti riservati.

    C:\Users\gio>adb root
    adbd is already running as root

    C:\Users\gio>adb pull/data/app/Applicazioni
    Android Debug Bridge version 1.0.26

    -d - directs command to the only connected USB devic
    e
    returns an error if more than one USB device is
    present.
    -e - directs command to the only running emulator.
    returns an error if more than one emulator is r
    unning.
    -s <serial number> - directs command to the USB device or emulator w
    ith
    the given serial number. Overrides ANDROID_SERI
    AL
    environment variable.
    -p <product name or path> - simple product name like 'sooner', or
    a relative/absolute path to a product
    out directory like 'out/target/product/sooner'.

    If -p is not specified, the ANDROID_PRODUCT_OUT

    environment variable is used, which must
    be an absolute path.
    devices - list all connected devices
    connect <host>[:<port>] - connect to a device via TCP/IP
    Port 5555 is used by default if no port number
    is specified.
    disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
    Port 5555 is used by default if no port number
    is specified.
    Using this ocmmand with no additional arguments

    will disconnect from all connected TCP/IP devic
    es.

    device commands:
    adb push <local> <remote> - copy file/dir to device
    adb pull <remote> [<local>] - copy file/dir from device
    adb sync [ <directory> ] - copy host->device only if changed
    (-l means list but don't copy)
    (see 'adb help all')
    adb shell - run remote shell interactively
    adb shell <command> - run remote shell command
    adb emu <command> - run emulator console command
    adb logcat [ <filter-spec> ] - View device log
    adb forward <local> <remote> - forward socket connections
    forward specs are one of:
    tcp:<port>
    localabstract:<unix domain socket name>
    localreserved:<unix domain socket name>
    localfilesystem:<unix domain socket name>
    dev:<character device name>
    jdwp:<process pid> (remote only)
    adb jdwp - list PIDs of processes hosting a JDWP transport

    adb install [-l] [-r] [-s] <file> - push this package file to the device and i
    nstall it
    ('-l' means forward-lock the app)
    ('-r' means reinstall the app, keeping its data
    )
    ('-s' means install on SD card instead of inter
    nal storage)
    adb uninstall [-k] <package> - remove this app package from the device
    ('-k' means keep the data and cache directories
    )
    adb bugreport - return all information from the device
    that should be included in a bug report.

    adb help - show this help message
    adb version - show version num

    DATAOPTS:
    (no option) - don't touch the data partition
    -w - wipe the data partition
    -d - flash the data partition

    scripting:
    adb wait-for-device - block until device is online
    adb start-server - ensure that there is a server running
    adb kill-server - kill the server if it is running
    adb get-state - prints: offline | bootloader | device
    adb get-serialno - prints: <serial-number>
    adb status-window - continuously print device status for a specifie
    d device
    adb remount - remounts the /system partition on the device re
    ad-write
    adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
    tloader or recovery program
    adb reboot-bootloader - reboots the device into the bootloader
    adb root - restarts the adbd daemon with root permissions
    adb usb - restarts the adbd daemon listening on USB
    adb tcpip <port> - restarts the adbd daemon listening on TCP on th
    e specified port
    networking:
    adb ppp <tty> [parameters] - Run PPP over USB.
    Note: you should not automatically start a PPP connection.
    <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
    [parameters] - Eg. defaultroute debug dump local notty usepeerdns

    adb sync notes: adb sync [ <directory> ]
    <localdir> can be interpreted in several ways:

    - If <directory> is not specified, both /system and /data partitions will be u
    pdated.

    - If it is "system" or "data", only the corresponding partition
    is updated.

    environmental variables:
    ADB_TRACE - Print debug information. A comma separated list
    of the following values
    1 or all, adb, sockets, packets, rwx, usb, sync
    , sysdeps, transport, jdwp
    ANDROID_SERIAL - The serial number to connect to. -s takes prior
    ity over this if given.
    ANDROID_LOG_TAGS - When used with the logcat option, only these de
    bug tags are printed.

    C:\Users\gio>
     
  4. Sconcau84
    Offline

    Sconcau84 Gold Member

    Messaggi:
    10.494
    perchè digiti

    C:\Users\gio>adb pull/data/app/Applicazioni ??


    Scusa, il comando è

    adb pull /data/app Applicazioni

    Rispetta gli spazi :D
     
  5. gio2269
    Offline

    gio2269 Member

    Messaggi:
    303
    ok.Ho fatto come mi hai detto.Digitando 2 volte cd.. partendo così da c: e dando i due comandi adb root e poi adb pull/data/app/Applicazioni. :motosega: :motosega:
    Stessa cosa:::

    Microsoft Windows [Versione 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. Tutti i diritti riservati.

    C:\Users\gio>cd..

    C:\Users>cd..

    C:\>adb root
    adbd is already running as root

    C:\>adb pull/data/app/Applicazioni
    Android Debug Bridge version 1.0.26

    -d - directs command to the only connected USB devic
    e
    returns an error if more than one USB device is
    present.
    -e - directs command to the only running emulator.
    returns an error if more than one emulator is r
    unning.
    -s <serial number> - directs command to the USB device or emulator w
    ith
    the given serial number. Overrides ANDROID_SERI
    AL
    environment variable.
    -p <product name or path> - simple product name like 'sooner', or
    a relative/absolute path to a product
    out directory like 'out/target/product/sooner'.

    If -p is not specified, the ANDROID_PRODUCT_OUT

    environment variable is used, which must
    be an absolute path.
    devices - list all connected devices
    connect <host>[:<port>] - connect to a device via TCP/IP
    Port 5555 is used by default if no port number
    is specified.
    disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
    Port 5555 is used by default if no port number
    is specified.
    Using this ocmmand with no additional arguments

    will disconnect from all connected TCP/IP devic
    es.

    device commands:
    adb push <local> <remote> - copy file/dir to device
    adb pull <remote> [<local>] - copy file/dir from device
    adb sync [ <directory> ] - copy host->device only if changed
    (-l means list but don't copy)
    (see 'adb help all')
    adb shell - run remote shell interactively
    adb shell <command> - run remote shell command
    adb emu <command> - run emulator console command
    adb logcat [ <filter-spec> ] - View device log
    adb forward <local> <remote> - forward socket connections
    forward specs are one of:
    tcp:<port>
    localabstract:<unix domain socket name>
    localreserved:<unix domain socket name>
    localfilesystem:<unix domain socket name>
    dev:<character device name>
    jdwp:<process pid> (remote only)
    adb jdwp - list PIDs of processes hosting a JDWP transport

    adb install [-l] [-r] [-s] <file> - push this package file to the device and i
    nstall it
    ('-l' means forward-lock the app)
    ('-r' means reinstall the app, keeping its data
    )
    ('-s' means install on SD card instead of inter
    nal storage)
    adb uninstall [-k] <package> - remove this app package from the device
    ('-k' means keep the data and cache directories
    )
    adb bugreport - return all information from the device
    that should be included in a bug report.

    adb help - show this help message
    adb version - show version num

    DATAOPTS:
    (no option) - don't touch the data partition
    -w - wipe the data partition
    -d - flash the data partition

    scripting:
    adb wait-for-device - block until device is online
    adb start-server - ensure that there is a server running
    adb kill-server - kill the server if it is running
    adb get-state - prints: offline | bootloader | device
    adb get-serialno - prints: <serial-number>
    adb status-window - continuously print device status for a specifie
    d device
    adb remount - remounts the /system partition on the device re
    ad-write
    adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
    tloader or recovery program
    adb reboot-bootloader - reboots the device into the bootloader
    adb root - restarts the adbd daemon with root permissions
    adb usb - restarts the adbd daemon listening on USB
    adb tcpip <port> - restarts the adbd daemon listening on TCP on th
    e specified port
    networking:
    adb ppp <tty> [parameters] - Run PPP over USB.
    Note: you should not automatically start a PPP connection.
    <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
    [parameters] - Eg. defaultroute debug dump local notty usepeerdns

    adb sync notes: adb sync [ <directory> ]
    <localdir> can be interpreted in several ways:

    - If <directory> is not specified, both /system and /data partitions will be u
    pdated.

    - If it is "system" or "data", only the corresponding partition
    is updated.

    environmental variables:
    ADB_TRACE - Print debug information. A comma separated list
    of the following values
    1 or all, adb, sockets, packets, rwx, usb, sync
    , sysdeps, transport, jdwp
    ANDROID_SERIAL - The serial number to connect to. -s takes prior
    ity over this if given.
    ANDROID_LOG_TAGS - When used with the logcat option, only these de
    bug tags are printed.

    C:\>
     
  6. gio2269
    Offline

    gio2269 Member

    Messaggi:
    303
    Ho risolto!!!!!!!C*********zo!!!!! :forno: :wtf: :motosega: :censored: :gossip:


    MANCAVA SEMPLICEMENTE LO SPAZIO TRA PULL E DATA.
    Ma non ero riuscito a capire dal mess. letto sul monitor che mi avevi inviato
    Ora sono veramente pronto????......a ricevere la black 3.0!!! :italy:
    Oggi,o domani????? :emo_pic_56:
    Grazie per la pazienza!!! :beer:
     

Condividi questa Pagina