is there a way to use the command "lspci" on Android?
thanks in advance....
What PCI devices are attached to the phone that this command can return?
Related
Hi, I need some help. I'm just about finished unlocking my bootloader on my Sensation. I got the unlock bootloader key from HTC and when I try to use command prompt it seems it can't find it!!!! Driving me nuts!! I have it in the Andriod\android-sdk\platform-tools folder. Should read it!! I"m running command prompt as administrator. here's the prompt c:\windows\system32>fastboot flash unlocktoken Unlock_code.bin I hit enter and it should find it!! It doesn't. It says invalid. Can someone help????? Thanks in advance! Thom
the only thing i can tell you is what i did to me.
create a folder in c and name it Android
in that folder copy adb,adbwinapi.dll,fastboot and your unlock_code
then open a command window in that folder and do the command
fastboot flash unlocktoken Unlock_code.bin
tommer2 said:
Hi, I need some help. I'm just about finished unlocking my bootloader on my Sensation. I got the unlock bootloader key from HTC and when I try to use command prompt it seems it can't find it!!!! Driving me nuts!! I have it in the Andriod\android-sdk\platform-tools folder. Should read it!! I"m running command prompt as administrator. here's the prompt c:\windows\system32>fastboot flash unlocktoken Unlock_code.bin I hit enter and it should find it!! It doesn't. It says invalid. Can someone help????? Thanks in advance! Thom
Click to expand...
Click to collapse
dont run the terminal as administrator (when you run it as administrator ..you will lose the path..you can see for yourself ..the command is typed from c:\windows\system32 ..where the Unlock_Code is not present )
just open a command prompt from the Andriod\android-sdk\platform-tools folder (if windows go to that directory ..hold shift + right click -> open command window here) and type the command again
Thanks man!!! That was It!!!!
My "adb push" command is not working. When I type it in, the command prompt seems to run "adb help". No error message, just the list of possible commands. See the attached screenshot.
Does anybody know what's happening?
Computer: Windows 7
Device: Verizon Galaxy Nexus (toro)
Version: 4.2.2Kernel Version: 3.0.85-franco.Kernel-nightlyBuild: JDQ39
The "adb push" command is used to push files to your device.
Typing "adb push" won't do anything besides displaying all the adb functions.
To push something, your command must be something like "adb push whateverthefileis system/bin" the "system/bin" is the destination where it is to be pushed, for example if you want to push an app you do, "adb push android.apk system/app"
Make sure your drivers for phone is installed properly.
IF I HELPED HIT THANKS
Click to expand...
Click to collapse
Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.
solution???
Did you put your phone in recovery mode first?
krishneelg3 said:
The "adb push" command is used to push files to your device.
Typing "adb push" won't do anything besides displaying all the adb functions.
To push something, your command must be something like "adb push whateverthefileis system/bin" the "system/bin" is the destination where it is to be pushed, for example if you want to push an app you do, "adb push android.apk system/app"
Make sure your drivers for phone is installed properly.
Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.
Click to expand...
Click to collapse
I had typed in the correct syntax for the command, but will try updating drivers. Thanks!
ADB push just scrolls commands
I am trying to use ADB with telnet to root my Droid Maxx. I have been desperately trying to use Jcase's method. All my commands work, except the push command. I can telnet, my drivers are all up to date, my phone is on debug, install unknown sources etc...Everything seems to be in order, but the su and RockMyMoto.jar will not push, just a scrolling of commands. Any help would be most appreciated.
Thank you
I was using the minimal ADB and fastboot and when I started to enter in commands. I put in the command "adb shell". The next line that came up was "[email protected]:/ $" I do not know how to carry on from there.
roboownsall said:
I was using the minimal ADB and fastboot and when I started to enter in commands. I put in the command "adb shell". The next line that came up was "[email protected]:/ $" I do not know how to carry on from there.
Click to expand...
Click to collapse
Hello,
Can you tell us what exactly are you trying to do with the tool?
-Vatsal
I need to manually root a lot of devices in as short a time as possible. I would like to do this with ADB but I don't know how to use ADB to perform the same commands on more than one device at a time. I found this Stack Overflow (that I'm not allowed to post the link to) and this Github (that I also can't post a link for call adb-wrapper) so I've been trying to use these shell scripts in Ubuntu (I am a complete noob at Linux). I wrote a simple little "Hello World" shell script and ran it from CMD prompt just to see how they work. And I managed to get the Stack Overflow script to work (I think) to call ADB devices and engage the debugging authorization on 5 devices at a time. That was great! I just copied the script into the Ubuntu Bash and called it in CMD Prompt and then ran the command: ADB devices. But when I tried adb reboot-bootloader I got the more than one device is attached warning. So I tried implementing the Github one and I just can't get it to work. I was close but my $ANDROID_HOME path was wrong and when I tried to fix it I think I just broke everything. Now whenever I run adb (anything) it just prints out ADB guidelines like commands to use and what they do. I'm at the point where any bug I Google is returning nothing useful.
I need to run the following ADB commands in parallel:
adb reboot-bootloader
fastboot oem unlock
fastboot boot recovery.img
Help?
run adb command in parallel
jaynesbluewish said:
I need to manually root a lot of devices in as short a time as possible. I would like to do this with ADB but I don't know how to use ADB to perform the same commands on more than one device at a time. I found this Stack Overflow (that I'm not allowed to post the link to) and this Github (that I also can't post a link for call adb-wrapper) so I've been trying to use these shell scripts in Ubuntu (I am a complete noob at Linux). I wrote a simple little "Hello World" shell script and ran it from CMD prompt just to see how they work. And I managed to get the Stack Overflow script to work (I think) to call ADB devices and engage the debugging authorization on 5 devices at a time. That was great! I just copied the script into the Ubuntu Bash and called it in CMD Prompt and then ran the command: ADB devices. But when I tried adb reboot-bootloader I got the more than one device is attached warning. So I tried implementing the Github one and I just can't get it to work. I was close but my $ANDROID_HOME path was wrong and when I tried to fix it I think I just broke everything. Now whenever I run adb (anything) it just prints out ADB guidelines like commands to use and what they do. I'm at the point where any bug I Google is returning nothing useful.
I need to run the following ADB commands in parallel:
adb reboot-bootloader
fastboot oem unlock
fastboot boot recovery.img
Help?
Click to expand...
Click to collapse
Hi jaynesbluewish,
I too want to run adb commands in parallel. Can you let me know if you have found the solution to this..
Please share the steps you followed..
Hello, I want to write application that does the same as single adb command.
ADB command looks like this:
am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
Any idea how to execute it in android program itself, So I don't need computer to launch this mode ?
Or at least, how it is called (how to search it) ? Since I don't know exact terminology
Thank you for response !