Hi,
When I start up adb and use the command "Adb devices" my device show. I want to use adb shell, so I type "Adb shell" ofc. Then, when I try "Adb devices", my device does not show :/ Anyone have a solution?
First thing first, make sure you have USB debugging on.
To do this, go into About Phone, tap the build number 7 times (this should give you a toast notification that you are now a developer).
Go back, now go into the developer options what has come up above about phone.
Tick the USB Debugging box, and then connect your phone and try to connect with adb shell.
If this doesn't work, revoke USB debugging authorisations, then try adb shell again.
gamer649 said:
First thing first, make sure you have USB debugging on.
To do this, go into About Phone, tap the build number 7 times (this should give you a toast notification that you are now a developer).
Go back, now go into the developer options what has come up above about phone.
Tick the USB Debugging box, and then connect your phone and try to connect with adb shell.
If this doesn't work, revoke USB debugging authorisations, then try adb shell again.
Click to expand...
Click to collapse
That didn't work :/ Any other suggestions?
Have you installed the ADB drivers and drivers for the board set the Z2 uses?
gamer649 said:
Have you installed the ADB drivers and drivers for the board set the Z2 uses?
Click to expand...
Click to collapse
At least flashtool says I have ADB drivers installed?
Skanin said:
At least flashtool says I have ADB drivers installed?
Click to expand...
Click to collapse
I'm not sure what to suggest then. @Envious_Data any suggestions?
gamer649 said:
I'm not sure what to suggest then. @Envious_Data any suggestions?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A screenshot of what happens, if that helps
you're already connected in adb mode, as your pic shows, so why would you need to use adb devices again ?
what are you trying to do ? you've successfully connected to your device in adb mode and used the su command, so what do you want to do ?
ticktock666 said:
you're already connected in adb mode, as your pic shows, so why would you need to use adb devices again ?
what are you trying to do ? you've successfully connected to your device in adb mode and used the su command, so what do you want to do ?
Click to expand...
Click to collapse
Yeh, I know.. But I want to use the command "adb remount rw /system". If use it without "abd shell" I get a permission denied error, and in "adb shell" I get error: device not found.. (see picture)
Skanin said:
Yeh, I know.. But I want to use the command "adb remount rw /system". If use it without "abd shell" I get a permission denied error, and in "adb shell" I get error: device not found.. (see picture)
Click to expand...
Click to collapse
Note, don't use any quotes for the below commands.
1) Connect device to computer.
2) Type "adb shell" in cmd, then press enter.
3) Type "su", then press enter.
4) Type "mount -o rw,remount /system", then press enter.
Congratulations, it is now remounted. ADB devices will not work on the device, as the device cannot connect to itself to itself via USB.
what gamer said, you were simply using the wrong command for mounting
Related
how to enable adb shell in recovery mode?
when i try "adb shell" in recovery mode,it says sh not find somthing
does this means can't use adb in recovery mode?
i want trace recovery bin by ida pro,sames i have 2 chose:
1,enable adb shell and gdb server in recovery mode
2,or run recovery bin in normal mode.
the 1st,cant open adb shell
the 2nd got segment error in sh
please help!
<robin> said:
how to enable adb shell in recovery mode?
when i try "adb shell" in recovery mode,it says sh not find somthing
does this means can't use adb in recovery mode?
i want trace recovery bin by ida pro,sames i have 2 chose:
1,enable adb shell and gdb server in recovery mode
2,or run recovery bin in normal mode.
the 1st,cant open adb shell
the 2nd got segment error in sh
please help!
Click to expand...
Click to collapse
Release 5a recovery?? I get error: closed
Drivers are good aye?
Stifilz
no,i'm at 3.2.1
how to open adb shell?
<robin> said:
no,i'm at 3.2.1
how to open adb shell?
Click to expand...
Click to collapse
Wtf. Normally just adb shell. Does adb pull or adb push work etc?
<robin> said:
how to enable adb shell in recovery mode?
when i try "adb shell" in recovery mode,it says sh not find somthing
does this means can't use adb in recovery mode?
i want trace recovery bin by ida pro,sames i have 2 chose:
1,enable adb shell and gdb server in recovery mode
2,or run recovery bin in normal mode.
the 1st,cant open adb shell
the 2nd got segment error in sh
please help!
Click to expand...
Click to collapse
hi robin,
1. change region to US,
2. download this hacked_recov,
3. run recovery, update with this file, should finish with error 7,
4. wait one minute, and adb should be available - make sure that you have installed adb drivers for recovery device.
5. when in adb shell type this:
Code:
/system/bin/tempsu
PATH=$PATH:/system/bin:/system/xbin
and you will get root, and normally working with all the commands shell.
br
condi
wow,thanks candi!
your tool is real cooooool
i can trace recovery now!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
getting prohibit update as a result of checking version or base
condi said:
hi robin,
1. change region to US,
2. download this hacked_recov,
3. run recovery, update with this file, should finish with error 7,
4. wait one minute, and adb should be available - make sure that you have installed adb drivers for recovery device.
5. when in adb shell type this:
Code:
/system/bin/tempsu
PATH=$PATH:/system/bin:/system/xbin
and you will get root, and normally working with all the commands shell.
br
condi
Click to expand...
Click to collapse
So I've been at this for days now. From what I can read here and on the web it looks like my region file is screwed up. Tried a million different region zips.
I can get device to show in adb as recovery.
Any thoughts?
I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
adb pull /path/to/Camera C:\camera
RoberGalarga said:
adb pull /path/to/Camera C:\camera
Click to expand...
Click to collapse
yeah I tried that. I think that since my phone is locked, I can't su the shell. I actually tried a single file also. No luck.
das-heftige said:
yeah I tried that. I think that since my phone is locked, I can't su the shell. I actually tried a single file also. No luck.
Click to expand...
Click to collapse
I don't have to unlock my tablet to pull files. You are doing the command from the PC, right, like in a DOS box? You should be able to see the files by doing "adb shell ls /sdcard/DCIM/Camera/". "adb pull /sdcard2/DCIM/Camera ." will pull all of the pictures on my Hisense external sdcard into the current "." windows directory on my computer.
BSODs when using usb 3.0
das-heftige said:
I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
Click to expand...
Click to collapse
Hi,
I have facing out weird problem. Why, when i using adb command to copy file from PC windows to android Devices using Port usb 3.0. Windows will be immediately Blue Screen. Note: in blue screen appears, Bluescreen: Physical Memory Dump
I using Windows 7 (Zotac CPU). But, when i using standart USB port in zotac. Will be running.
Anyone knows, why the problem appears?
Thanks
Android All In One Toolkit - Data Transfer Via ADB
das-heftige said:
I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
Click to expand...
Click to collapse
Hii
I Developed an application named "Android All In One Toolkit" With Windows GUI...
1. Data Transfer
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No Need to type single command
just put path in text box & Press Pull From Device button..
It has feature for fast data transfer over adb without mounting sd card...
It also has many more features that will make your workflow much easier..
Check out my Application
Thread : http://forum.xda-developers.com/showthread.php?t=2494319
aditya.kamble said:
Hii
I Developed an application named "Android All In One Toolkit" With Windows GUI...
1. Data Transfer
No Need to type single command
just put path in text box & Press Pull From Device button..
It has feature for fast data transfer over adb without mounting sd card...
It also has many more features that will make your workflow much easier..
Check out my Application
Thread : http://forum.xda-developers.com/showthread.php?t=2494319
Click to expand...
Click to collapse
Sorry aditya, but I got an error launching the app,
It said "Could not find the main class : androidallinonetoolkit. Program will exit
I have a ZEKI 10" TBQC1063B tablet. It apparently an updated version in that it now comes with Google Play Store app installed from the factory. It has Android 4.1.1.
I started to try to Root the device, but was unsuccessful.
In my quest to debug Rooting, I started trying playing with ADB directly. I quickly discovered I could not get to 'first base' with ADB.
Yes, I have USB DEBUGGING enabled, and when my tablet is plugged into my PC, the tablet shows that icon of the Android face in the status line in the lower right screen.
I started to try different drivers (reading that such might be the cause of ADB not working), even though all of the appear to be working OK when I check in Device Manager. One of the attempts I made at drivers led me to those offered as part of PDAnet. While using PDAnet's drivers didn't seem to help, I did stumble upon a CLUE. The CLUE is that while installing the PDAnet drivers, PDAnet did successfully install its own app onto my tablet. I think that such requires ADB to work, no? Could someone confirm such (or not)?
I tried a PC program called AdbDriverInstaller. When I first tried it, it reported a Device Status error of "Driver Incorrectly". So, I uninstalled that driver (I belive at that point it was the PDAnet one), and installed a new driver from a collection called UniversalAdbDriverSetup6. Now, that looked better. AdbDriverInstaller now shows:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Looking better?
My problem is that ADB DEVICES still shows no devices:
Does anyone know of anything else to try? This is about the limit of my expertise.
Try!
You can try using different port...i suggest you clean up all the Drivers and then install them correctly!:silly:
Kunal.Kene.1797 said:
You can try using different port...i suggest you clean up all the Drivers and then install them correctly!:silly:
Click to expand...
Click to collapse
Thanks, but I am not sure what you mean,
After trying each driver, I uninstalled and delete it. Is there something else I should be doing to "clean up" ?
How do you install them correctly, other than simply installed them? Device Manager seems to think the ADB device is working correctly.,
WaltA said:
Thanks, but I am not sure what you mean,
After trying each driver, I uninstalled and delete it. Is there something else I should be doing to "clean up" ?
How do you install them correctly, other than simply installed them? Device Manager seems to think the ADB device is working correctly.,
Click to expand...
Click to collapse
Unplug your tablet then reconnect it.
Type in cmd prompt:
Code:
adb kill-server (Hit ENTER)
adb start-server (Hit ENTER)
You should see your device..
Also, this is a good tool..makes adb system wide as well HERE
Also, not sure when Android implemented this, you might see a box up asking for you to grant the PC permission to use ADB, grant it
WaltA said:
Click to expand...
Click to collapse
lacoursiere18 said:
Unplug your tablet then reconnect it.
Type in cmd prompt:
Code:
adb kill-server (Hit ENTER)
adb start-server (Hit ENTER)
You should see your device..
Click to expand...
Click to collapse
I unplugged and plugged my tablet in a few times (over a course of several days while I tried to debug this on my own). Both my PC and my tablet have been powered on/off and rebooted over that time too.
I believe I showed I ready tried those commands, with no success.
TBQC1063B Zeki tablet
Zeki TBQC1063B
Any roms available? This one seems to be stuck. I can get to the boot list, but haven't found a new rom for it. Or even the factory rom.
Hello, I have a Blackview A8 (MT6580).
It works fine in the device manager:
Portable Devices: A8
USB Devices: ADB Interface
I run cmd as Administrator, and run "adb devices" command, it just show me "List of devices attached" and then the command prompt.
Can someone help me please?
Regards
homerangering said:
Hello, I have a Blackview A8 (MT6580).
It works fine in the device manager:
Portable Devices: A8
USB Devices: ADB Interface
I run cmd as Administrator, and run "adb devices" command, it just show me "List of devices attached" and then the command prompt.
Can someone help me please?
Regards
Click to expand...
Click to collapse
Install or update your ADB drivers.
Ashwinrg said:
Install or update your ADB drivers.
Click to expand...
Click to collapse
I have download some ADB drivers but how can I delete the current drivers from the device manager? When I press uninstall, it comes back when I plug in the smartphone agin. When I update the already installed driver, it says it was the newest update is already installed.
Sorry for my bad english.
homerangering said:
I have download some ADB drivers but how can I delete the current drivers from the device manager? When I press uninstall, it comes back when I plug in the smartphone agin. When I update the already installed driver, it says it was the newest update is already installed.
Sorry for my bad english.
Click to expand...
Click to collapse
When you connect your Android then it prompt for adb debugging? If not then download and install usb drivers of your android.
Ashwinrg said:
When you connect your Android then it prompt for adb debugging? If not then download and install usb drivers of your android.
Click to expand...
Click to collapse
When I connect my Android, it shows that it was connect as a media storage and that USB Debugging is active. On my PC, the media explorer gets open.
homerangering said:
When I connect my Android, it shows that it was connect as a media storage and that USB Debugging is active. On my PC, the media explorer gets open.
Click to expand...
Click to collapse
When you install proper usb drivers of your android then it prompt for adb debugging and detects in your pc.
Ashwinrg said:
When you install proper usb drivers of your android then it prompt for adb debugging and detects in your pc.
Click to expand...
Click to collapse
My PC detects the smartphone. I can go to my smartphone folders. In the device manager, there is a "MTP" device unter "USB Devices". It works fine, but I can't see any adb devices with the command prompt.
homerangering said:
My PC detects the smartphone. I can go to my smartphone folders. In the device manager, there is a "MTP" device unter "USB Devices". It works fine, but I can't see any adb devices with the command prompt.
Click to expand...
Click to collapse
When I tried to use adb on my android it also shows mtp, midi but I can't access adb. I also have installed adb drivers. When I installed my Lenovo usb drivers then it detects in pc command prompt.
homerangering said:
My PC detects the smartphone. I can go to my smartphone folders. In the device manager, there is a "MTP" device unter "USB Devices". It works fine, but I can't see any adb devices with the command prompt.
Click to expand...
Click to collapse
Does a pop-up show on your device requiring authorization of the computer for adb/usb-debugging ("RSA fingerprint")?
Your device installs the driver on plugging in - this the driver from which the computer can recognize your device. The ADB interface is another thing. If the ADB do not recognize your device (some can detect your device but says 'offline'), try downloading the latest version. If you only need the ADB, you could download Minimal ADB and Fastboot by shimp208 .
rolland.arriza said:
Does a pop-up show on your device requiring authorization of the computer for adb/usb-debugging ("RSA fingerprint")?
Your device installs the driver on plugging in - this the driver from which the computer can recognize your device. The ADB interface is another thing. If the ADB do not recognize your device (some can detect your device but says 'offline'), try downloading the latest version. If you only need the ADB, you could download Minimal ADB and Fastboot by shimp208 (search it here).
Click to expand...
Click to collapse
Thank you for your help.
I have download and install the ADB and Fastboot by shimp208.
Now, I can see the adb device (my smartphone).
But with my adb.exe of my DroidCam program, it shows still no devices. I want to use DroidCam with USB on my smartphone, but the adb.exe of the program didn't identify any adb devices. (See picture)
Regards.
Left: DroidCam
Right: ADB and Fastboot by shimp208
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
homerangering said:
Thank you for your help.
I have download and install the ADB and Fastboot by shimp208.
Now, I can see the adb device (my smartphone).
But with my adb.exe of my DroidCam program, it shows still no devices. I want to use DroidCam with USB on my smartphone, but the adb.exe of the program didn't identify any adb devices. (See picture)
Regards.
Click to expand...
Click to collapse
Hello there. Save a copy of your DroidCam program (backup). Then replace the ADB of your program (adb.exe, AdbWinApi.dll, and AdbWinUsbApi.dll) with the Minimal ADB and Fastboots'.
Simply copy adb.exe, AdbWinApi.dll, and AdbWinUsbApi.dll from Minimal ADB to your DroidCam program and replace them.
Then try running the adb from your program. Hope it works.
rolland.arriza said:
Hello there. Save a copy of your DroidCam program (backup). Then replace the ADB of your program (adb.exe, AdbWinApi.dll, and AdbWinUsbApi.dll) with the Minimal ADB and Fastboots'.
Simply copy adb.exe, AdbWinApi.dll, and AdbWinUsbApi.dll from Minimal ADB to your DroidCam program and replace them.
Then try running the adb from your program. Hope it works.
Click to expand...
Click to collapse
Thank you!!!! It works!!!!!! :good:
i got Huawei Mediapad T3 10 but storage to install app is very limted
so any app to make installation app in sd card momery
as i read the device not support that
but in ask any app or method to solve this
ant_gamal said:
i got Huawei Mediapad T3 10 but storage to install app is very limted
so any app to make installation app in sd card momery
as i read the device not support that
but in ask any app or method to solve this
Click to expand...
Click to collapse
You achieve this via ADB: Run the following command to set the default install location to your SD card:
Code:
adb shell pm setInstallLocation 2
Of course you will be required to enable the USB debugging option in the Developer option and download the ADB client on your computer - if not already done yet. To enable Developer option, go to Settings > About device > Build number and tap Build number seven times. Once activated, you will see a message that reads, “You are now a developer”. After enabling USB debugging, plug in your phone to your PC using USB and invoke ADB.
jwoegerbauer said:
You achieve this via ADB: Run the following command to set the default install location to your SD card:
Code:
adb shell pm setInstallLocation 2
Of course you will be required to enable the USB debugging option in the Developer option and download the ADB client on your computer - if not already done yet. To enable Developer option, go to Settings > About device > Build number and tap Build number seven times. Once activated, you will see a message that reads, “You are now a developer”. After enabling USB debugging, plug in your phone to your PC using USB and invoke ADB.
Click to expand...
Click to collapse
thank could you give me link to ADB and how to use
sorry i am not expert
i entered developer mode already
ant_gamal said:
thank could you give me link to ADB and how to use
sorry i am not expert
i entered developer mode already
Click to expand...
Click to collapse
Supposed your desktop is a Windows machine:
Matching ADB driver you'll get here
You preferredably install it to C:\ADB
You add C:\ADB to Windows PATH variable to easily access ADB from anywhere
Code:
set PATH=%PATH%;C:\ADB
You reboot Windows & reboot your HUAWEI
You connect your HUAWEI and Windows machine via USB cable
You open Windows command prompt and run following commands - one by one
Code:
adb devices
adb shell pm setInstallLocation 2
HTH
jwoegerbauer said:
Supposed your desktop is a Windows machine:
Matching ADB driver you'll get here
You preferredably install it to C:\ADB
You add C:\ADB to Windows PATH variable to easily access ADB from anywhere
Code:
set PATH=%PATH%;C:\ADB
You reboot Windows & reboot your HUAWEI
You connect your HUAWEI and Windows machine via USB cable
You open Windows command prompt and run following commands - one by one
Code:
adb devices
adb shell pm setInstallLocation 2
HTH
Click to expand...
Click to collapse
my pc run with win10 and i did what you say but could not run any line
see photos
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i use left shift with right click
device not found although i connect the tab
@ant_gamal
I can't open the images provided.
jwoegerbauer said:
@ant_gamal
I can't open the images provided.
Click to expand...
Click to collapse
i tried many site to upload photos
if not view plz suggest web host site
@ant_gamal
Oops, was my fault:
Deprecated syntax
Code:
adb shell pm setInstallLocation 2
New syntax ( Android 4x)
Code:
adb shell pm set-install-location 2
Example screenshot:
Note: First switch from PS to CMD
i did not restart pc or tab
i did but say adb not recognize
i attach the tab and choose transfer file
then i tried what you said and give me this in photo
is there is any package software need to install first before do this commend line
ant_gamal said:
is there is any package software need to install first before do this commend line
Click to expand...
Click to collapse
No.
What you're doing wrong is entering an invalid path/to/ADB: in your case is must be C:\ADB\adb
is there is any tool
does not work
same message device not found
ant_gamal said:
is there is any tool
does not work
same message device not found
Click to expand...
Click to collapse
Of course you can install on your Android device a Terminal Emulator, if not done yet, and therein run command
Code:
pm set-install-location 2
FYI: I no longer participate on this thread, sorry for this.
jwoegerbauer said:
The tool to be used is ADB, nothing else.
FYI: I no longer participate on this thread, sorry for this.
Click to expand...
Click to collapse
i think problem that not recognize the device
ant_gamal said:
i think problem that not recognize the device
Click to expand...
Click to collapse
I've edited my post you quoted: re-read it.
hi, i have same problem with mediapad T3, lower space.
i make procedure adviced from jwoegerbauer.
first command: Ok, i see device connected
second command: Error: java.lang.SecurityException: Package Android does not belong to 2000
any help? thank you