[HOW-TO] Install & Use ADB tool | Android Debug Bridge | Drivers - Videos - Tutorial

Search This thread

carlo67

Senior Member
Feb 8, 2011
906
19
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\xena>adb reboot recovery
error: device offline

C:\Users\xena>

can anybody help me with this please
 

XPMSU

Member
Apr 16, 2014
17
0
I'm experiencing a Restart Loop problem so I cannot turn my phone on. Can I still use ADB Tool to PULL all my Phone Memory data from my phone and paste it into a folder on my PC?
 

varunpadiyar

New member
Jun 9, 2014
1
0
Cannot access adb in command terminal

Hi,
I am facing an issue. I cannot access adb through the android terminal and Command prompt. My OS in tablet has blown off. I cannot access tablet content in my laptop. When I tried to write "adb shell" and then I wrote "su", I get this error:

/sbin/sh su: not found

I tried using adb push command and it gave me error:
/sbin/sh adb: not found

I don't have external micro sd card but I heard that it is possible to push files through adb.

Any idea what could be the problem?
Any sort of help would be appreciated.
 

stevenunblocker

New member
Jun 24, 2013
1
0
New adb tool updated 7/12/14

WHAT DO I NEED?

FIRST: You need drivers, you should have them already if you are rooted eather with Indirect or Cfoesch methods.
If you don't have them then download ADB + Fastboot + Drivers.zip [There is NO need to install SDK on Windows]

To install Nook Tablet USB and ADB drivers correctly please watch the following video:
1. Windows
2. Ubuntu Linux

root%20files.JPG


SECOND: In order to use "adb remount" you need to install [App]: ADB Root Hijack [ADB Runs as Root now] by Indirect

LET'S START...

*All the examples refers to /data/app path you can change to /system/app or any other path you need in your NOOK tablet

- Plug your Nook tablet to your computer
- Open a CMD terminal on Windows:
Start>>run>> type cmd>> click OK (WinXP)
Start>> in search box type cmd>> right click Run as Administrator (Win7)
- Once opened type:


*Let's say your adb tools are in C:\nookroot folder

adb1.PNG


Installing an Aplication .apk

Put the .apk file into C:\nookroot folder and type

Code:
adb install [B]appname[/B].apk

adbinstall.PNG


Uninstalling an Aplication

There is an uninstall adb commans that always shows failure!!!
So we are going to use Adb Shell:

Code:
adb shell
# cd data/app
# ls
# rm -r appname.apk
# ls                  (You will not find this application, you just removed it!)
Ctrl+c to exit shell mode

adbuninstall.PNG


Push & Pull commands

Pull:

Code:
adb pull /data/app/appname.apk
adbpull.PNG


If you want to PULL all the files located in a folder then:

Code:
adb pull /data/app test
to pull all the .apk's located /data/app and save them into a folder that it will create in C:\nookroot named test

adbpullmany.PNG


Push:

Code:
adb push appname.apk /data/app
If you want to PUSH all the files located in a folder then:

Code:
adb push test /data/app
to push all the .apk's located in C:\nookroot\test folder to /data/app

adbpushgeneral.PNG


Close ADB

Code:
adb reboot    (to reboot your Nook Tablet)
--------------------------
adb kill-server     (to stop adb server)
exit

https://mega.co.nz/#!VElRRQRZ!Qe6qM-15xAwDLxVTWQ4RkYx-i0cVCzcp4E6rV-78IT8
 

julianf92

Member
Nov 2, 2014
5
2
Hi, the windows video is offline, and i get a "device is offline" error whenever I try to run adb shell...

What should I do?
 

jas_j30

New member
Mar 6, 2016
2
0
i am getting panicked

first of all...i wiped the rom as my phone was softbricked , now i need to install a new rom but unfortunately my pc dosent recognize my device and its not rooted, fastboot is not working as it is stuck in "=>FASTBOOT mode..." i have a lenovo A7000-a the only thing working is twrp v2.8.6.0. i tried to flash a custom rom through sd card but twrp didnt detected the sd card.i dont have much money to buy a new one and want this working soon...so please suggest any way to recover my device thank you :(:crying:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    [HOW-TO] Install & Use ADB tool | Android Debug Bridge | Drivers - Videos - Tutorial

    WHAT DO I NEED?

    FIRST: You need drivers, you should have them already if you are rooted eather with Indirect or Cfoesch methods.
    If you don't have them then download ADB + Fastboot + Drivers.zip [There is NO need to install SDK on Windows]

    To install Nook Tablet USB and ADB drivers correctly please watch the following video:
    1. Windows
    2. Ubuntu Linux

    root%20files.JPG


    SECOND: In order to use "adb remount" you need to install [App]: ADB Root Hijack [ADB Runs as Root now] by Indirect

    LET'S START...

    *All the examples refers to /data/app path you can change to /system/app or any other path you need in your NOOK tablet

    - Plug your Nook tablet to your computer
    - Open a CMD terminal on Windows:
    Start>>run>> type cmd>> click OK (WinXP)
    Start>> in search box type cmd>> right click Run as Administrator (Win7)
    - Once opened type:


    *Let's say your adb tools are in C:\nookroot folder
    cd C:\nookroot
    adb devices (If you get a code of numbers and letter means your device is recognized, if not then something is wrong with your drivers > Troubleshoot)
    adb remount (to change from r/o to r/w)
    -----------------------------------------------------
    Commands to Fix Permissions: (There is no need of this, when you push files it gives right permissions)
    adb shell chmod 644 /system/app/appname.apk (for a specific application)
    adb shell chmod 644 /data/app/appname.apk
    adb shell chmod 644 /system/app/*.apk (for all the applications)
    adb shell chmod 644 /data/app/*.apk
    -----------------------------------------------------
    Commands to Change Owner to Root:
    adb shell chown root /system/app/appname.apk
    adb1.PNG


    Installing an Aplication .apk

    Put the .apk file into C:\nookroot folder and type

    Code:
    adb install [B]appname[/B].apk

    adbinstall.PNG


    Uninstalling an Aplication

    There is an uninstall adb commans that always shows failure!!!
    So we are going to use Adb Shell:

    Code:
    adb shell
    # cd data/app
    # ls
    # rm -r appname.apk
    # ls                  (You will not find this application, you just removed it!)
    Ctrl+c to exit shell mode

    adbuninstall.PNG


    Push & Pull commands

    Pull:

    Code:
    adb pull /data/app/appname.apk
    adbpull.PNG


    If you want to PULL all the files located in a folder then:

    Code:
    adb pull /data/app test
    to pull all the .apk's located /data/app and save them into a folder that it will create in C:\nookroot named test

    adbpullmany.PNG


    Push:

    Code:
    adb push appname.apk /data/app
    If you want to PUSH all the files located in a folder then:

    Code:
    adb push test /data/app
    to push all the .apk's located in C:\nookroot\test folder to /data/app

    adbpushgeneral.PNG


    Close ADB

    Code:
    adb reboot    (to reboot your Nook Tablet)
    --------------------------
    adb kill-server     (to stop adb server)
    exit
    2
    Win 8 Driver Signature Enforcement Fix

    Well, this is my first post on xda. BTW I am a noob, regular schlub, loser user but I do try to take xda's "find it before you ask an idiotic question" policy to heart. I was able to find this solution before asking for help and thought i would share it here. All I have done is summarize the original post and updates. I hope y'all find this helpful.

    the problem i ran into was the drivers in the attached .zip file could not be installed on a Windows 8 machine. The error was a failure to install b/c of an error in reading the has of one of the catalog files. I found a site that gives you a solution to this error.. Here's a summary:
    Go to cmd prompt and enter "| shutdown -o -r -t 0"
    1. Wait for bit...
    2. Click TROUBLESHOOT
    3. Click ADVANCED OPTIONS
    4. Click WINDOWS STARTUP SETTINGS
    5. Click RESTART
    The computer will restart and list of options will appear before logging in.
    Select the Disable driver signature enforcement option. It was number 7 on the list i got.
    To reenable the driver signature enforcement, just restart your computer normally.

    Since this is my first post xda won't let me link the source site, so here it is below in case you would like to visit it. All credit goes to this guy.:good:
    laslow.net/2012/03/14/disable-driver-signature-enforcement-in-windows-8/​
    1
    good! is there a menu that contains full adb commands?

    type adb help to get the full list of them
    1
    I am trying to create a batch file to run the ADB pull command so I can have my PC task scheduler run an Android backup automatically.

    The one thing that is stumping me, though, is how to succesfully have the batch file auto date stamp the folder. I have this:

    adb pull /sdcard/ /Galaxy Nexus Auto Backup/sdcard %date:~-10,2%-%date:~-7,2%-%date:~-4,4%/

    which displays correctly in the CMD prompt, but doesn't run. It instead brings up the list of commands and switches.

    If I use the standard:

    adb pull /sdcard/ /sdcard/

    it works correctly. Any suggestions on how to get the date stamp idea to work?

    Thanks!!!
    -David