Hi
My adb doesn't work.I do the following:
*downloaded android-sdk-windows.zip and extracted to E:\
*Edited my PATH variables:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;E:\android-sdk-windows\tools
*restart my pc
*connected my phone in usb debugging mode.
*ind cmd typed cd: e:\android-sdk-windows\tools
*then "adb devices"
Says "adb devices" not recognized as internal of external command.
What i do wrong? Please help me!
Related
For the past couple of days I have issues with transferring files over usb as no support is built into to the ics kernel for the usb transfer unless a physical sdcard is detected. I tried the mtp, thing and for some reason that wont show the files. Here is what I found that works best for transferring files rather than installing sketchy Chinese programs.
Note all commands are in quotes, do not type the quotes
Setting up and checking files in directories​
1. Install androidsdk
2. open a command prompt and cd to where your adb tools are. They are typically in C:\android-sdk-windows\platform-tools
3. "cd C:\android-sdk-windows\platform-tools" after you download the pack through the platform tools pack through the sdk manager. Yours may be in a different place depending on install. If you have set the system variable for adb skip to step 4.
4. Set your touchpad to go into android debugging mode when plugged in, under developers options
5. Type in "adb devices" to make sure your touchpad is seen by computer
6. Now access your devices by typing "adb shell" (if you have the ghost emulator 5554, use adb -d shell)
7. From there type "cd /sdcard/"
8. Type "ls" to receive a list of all files on your touchpad (note l is an L)
9. From there simply use the cd command to get in and out of directories
Transferring Files​
When you want to transfer files to and from the touchpad, open a new command prompt and get back to the location with your adb files.
To copy to touchpad
Use the adb push command, example of adb push:
"adb push C:\users\stephen\downloads\example.apk /sdcard/"
The format is adb push local directory to remote directory.
To pull from touchpad
To pull something from your touchpad use adb pull command. The format is adb pull remote directory to local directory.
Example: "adb pull /sdcard/getjar.apk c:\users\stephen\desktop"
I installed DroidSSHd for root GUI. and for GUI file transfer/install I use AirDriod.
edit: course, all this is done on the air.
Hello,
I just find out why I cannot use adb... AS100 have different VID/PID, so the usb driver just won't install in Windows.
Code:
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D002
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D002&MI_01
I've edited android_winusb.inf and repacked a toolkit that should work for both AS100 and folio.
The file size is (slightly) larger than 8MB,so I uploaded it to mediafire:
http://www.mediafire.com/?44gzifauee07u9j
Including adb usb driver, fastboot and adb command.
---
Use fastboot:
boot your toshiba AS100/folio
when you see toshiba logo, press power 3 times and vol+ 1 time to enter fastboot mode.
you should see "Starting Fastboot USB download protocol..." on screen.
connect tablet to PC with USB.
install usb driver in Windows.
open cmd console in Windows
cd to where you put the tools folder, e.g. cd D:\toshiba\folio-toolkit\tools
run "fastboot devices" (without quotes)
if you see "? fastboot" in console, the tablet is connected and you can use fastboot to flash images.
(run "fastboot help" to see a list of usable commands)
---
Use adb:
boot your toshiba AS100/folio into android.
make sure usb debug option is checked.
connect tablet to PC with USB.
install usb driver in Windows.
open cmd console in Windows.
cd to where you put the tools folder, e.g. cd D:\toshiba\folio-toolkit\tools
run "adb start-server" (without quotes)
run "adb devices"
you should see the following in Console:
Code:
List of devices attached
0123456789ABCDEF device
(run "adb help" to see a list of usable commands)
---
Adb troubleshooting:
If you see "0123456789ABCDEF offline" when you run adb devices, try the following:
Code:
adb kill-server
adb start-server
If it still not works, try reboot the tablet again when connected with USB.
---
About AS100: basically it's as same as folio 100, with 1GB on board RAM.
totally lost
Sorry guys, Im totally lost, trying to fastboot my folio and was gonna install a fresh rom. I need thorough instuctions. Not all of us are wizkids, for example, its not enough for me to just write "do this" or "do that", i need to know HOW to do things, like my name says, Im a noobie
Come on you guys, help the clueless ppl
I'm trying to sideload a pandora apk and i'm running into an adb error that i don't understand.
Steps taken:
adb installed on PC
drivers installed on PC
phone has USB debugging ON
phone connected via USB to PC
adb devices: shows my device attached properly
adb shell generates a prompt: "OnePlus6T:/$
pm install -i "com.android.vending" -r /sdcard/download/pandora.apk
The last command to install generates the following error: <avc: denied (read) for scontext=u:r:system_server:s0... (see attached screenshot).
I've tried different locations such as /sdcard/pandora.apk and tried different apk files with the same result.
Hi all,
I am trying to unlock bootloader on my Xperia XZ1 compact. Followed all the exact steps on the "sony developer how to unlock bootloader" website and checked out different guides and tutorials. I installed lineage OS on my previous phone (Lenovo P2), so I made it work at least once in the past.
So:
unlock bootloader is allowed on the phone
USB and OEM debugging are turned on
downloaded and installed the latest firmware and USB drivers
download platform tools with ADB and fastboot
I put my phone into fastboot mode (volume up and power button), the blue led is turned on wich supposedly means that it is in fastboot mode
I open up a powershell (run as administrator) etc. and give the 'fastboot devices' command -> which then returns nothing.
Any suggestions? Am i overlooking something?
thanks for your help!
Meat
note: I use ".\fastboot devices" as the actual command, since i get this error if i do not use ".":
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot devices
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot".
Hi , if it says fastboot is not recognized means that the path from fastboot terminal is not found .
To fix this you can add path for fastboot or install minimal ADB&Fastboot terminal from here on your PC:
https://androidfilehost.com/?fid=746010030569952951
How to install see here:
https://forum.xda-developers.com/showthread.php?t=2317790
Also instead powershell you can use command prompt .
So Run Command prompt as administrator and directory will be :
C:\Windows\System32 >
change directory to location where you installed ADB &Fastboot terminal for example C:\adb by typing
cd C:\adb
Once you do that your fastboot and adb commands should work fine ...
Good luck
Hi there,
The device is rooted.
I tried
Code:
adb pull /dev/block/mmcblk0p43 > /users/wenyuan/desktop/android/43.img
(mmcblk0p43 is userdata partition).
But the command was just stuck there and did not produce any results.
Would it be possible to adb pull partition (ex. userdata) to any other location than under platform-tools directory?
Would it be possible to adb pull partition even to an external disk?
Thanks.
-- Solution for internal disk--
The right code:
Code:
adb pull /dev/block/mmcblk0p43 /users/wenyuan/desktop/android/43.img
Remove ">"
do not use ">" in the command
CXZa said:
do not use ">" in the command
Click to expand...
Click to collapse
Thanks. It worked.
But would it be possible to adb pull a partition to an external disk?
I tried
Code:
adb pull /dev/block/mmcblk0p43 /Untitled/wenyuan/43.img
Untitled being the name of the external hard disk.
It did not work.
it works like this. maybe the external hard disk is not ready. also take care of fat32 file system only accept files < 4gb
if "Untitled" contains whitespaces you must quote path
aIecxs said:
it works like this. maybe the external hard disk is not ready. also take care of fat32 file system only accept files < 4gb
if "Untitled" contains whitespaces you must quote path
Click to expand...
Click to collapse
Given that,
1. in
adb pull /dev/block/mmcblk0p43 /users/wenyuan/desktop/android/43.img,
/users is under Macintosh HD; and
2. "Untitled", as an external hard disk, has the same status as Macintosh HD,
there should be some code indicating the location to "Untitied" hard disk, (ex. cd).
I tried
Code:
adb pull /dev/block/mmcblk0p43 cd /untitled/android/43.img
and it did not work.
type 'adb help' for usage
Code:
device commands:
adb push <local>... <remote>
- copy files/dirs to device
adb pull [-a] <remote>... <local>
- copy files/dirs from device
(-a preserves file timestamp and mode)
cd is cmd to change dir (unrelated to adb), don't invent fantasy usage.
btw "it did not work" is no meaningful error message. I am pretty sure the shell replied with something you can google for...
CXZa said:
do not use ">" in the command
Click to expand...
Click to collapse
Am I right in saying that
">" can not be used in "adb pull" but should be used in "adb shell su" and "adb exec-out", in case of pulling partitions? Or in any other circumstances?
Oh no, adb help and google search were no help.
https://bash.cyberciti.biz/guide/Standard_output
https://www.cyberciti.biz/faq/redirecting-stderr-to-stdout
aIecxs said:
https://bash.cyberciti.biz/guide/Standard_output
https://www.cyberciti.biz/faq/redirecting-stderr-to-stdout
Click to expand...
Click to collapse
Thanks for the links.
But I meant adb help and Google search did not help on how to adb pull device partition directly to an external disk.
refer to post #6
there is only one exact usage for adb pull
Code:
adb pull [-a] <remote>... <local>
where <local> is valid path to any directory on PC (whatever it is)
in case the command failed it will output meaningful error message. search for that error message (or post here)
what else do you expect to know?