Adb shell access problems - XPERIA X8 Q&A, Help & Troubleshooting

Can anyone plz tell me how access adb shell ive tried open it from run in the computer but it only opens for like milli second then it closes. Can someone plz tell me what am doing wrong:-( thanks
Sent from my E15i using XDA App

open adb with command prompt (cmd)

http://forum.xda-developers.com/showthread.php?t=502010

try to reboot your pc maybe drivers haven't finished installing into system.

Thank you for this post
this forum is relly helpfull and usefull
for me I was waiting for more than 1 and 1/2 months to find a way to unlock my X8
this afternoon i have tried the ADB methode for unlocking Samsung galaxys
the methode on xda developper is correct and works perfectly
I was wondering to do so for my experia but no way
please help me to make it working cus I change it with my samsung galaxy fit and no I do not have Handhelp
thnx

I think If it too hard to access Adb shell (so do I) you can use Android Emulator instead

Related

ADB Problems

Hiya ppl,
I've been trying to get some apk's of my phone but no matter what I try I always get an adb: not found.
BTW: when in Fastboot its not working at all (adb) but when i start my device normally I can get into adb, and i can browse my phone
Can somebody give me some tips?
I'm using xROM 1.5r4.
YuYe said:
Hiya ppl,
I've been trying to get some apk's of my phone but no matter what I try I always get an adb: not found.
BTW: when in Fastboot its not working at all (adb) but when i start my device normally I can get into adb, and i can browse my phone
Can somebody give me some tips?
I'm using xROM 1.5r4.
Click to expand...
Click to collapse
Have you ever had ADB setup?
Yeah and it worked like a charm before I always uninstall apps via adb mouting also works.
I'm at an dead end
YuYe said:
Yeah and it worked like a charm before I always uninstall apps via adb mouting also works.
I'm at an dead end
Click to expand...
Click to collapse
Is your drivers still installed? I know at one time windows reverted back the old drivers on mine and had to change it.
YuYe said:
Hiya ppl,
I've been trying to get some apk's of my phone but no matter what I try I always get an adb: not found.
BTW: when in Fastboot its not working at all (adb) but when i start my device normally I can get into adb, and i can browse my phone
Can somebody give me some tips?
I'm using xROM 1.5r4.
Click to expand...
Click to collapse
Yeah, so the problem I see with your screenshot is that you are already in an ADB shell trying to enter ADB shell commands.
Without further complicating matters, this is what you should do.
Close out everything.
Start - Run - CMD
cd\"your sdk folder"
DO NOT ENTER ADB SHELL
now enter your other commands as you were trying. such as:
adb pull /system/sd/app/example.apk c:\app
THANKS !!! YOU ARE THE MAN
worked like a charm, you know I've never foud anywhere that you need to do that without going in the shell.
Or I just missed it in that case sorry.

rotobackup, help please

First off ,I like to say hello. Since the "Sprint " tab been out, Im thinking second thoughts of what capacities it can do (not all good). Ive re-programmed it so many times and yes bricked it and resurrected it too :0. Close one
Id tried rom manager (sprint not supported), Put in another kernal just to get rom manager too worked but crashed system (cant win).
Anyway I found Roto backup instructions, no help here. What I have is:
the tab is connected to pc.
cmd prompt which goes to abd.exe
-all is good, this is where i get stuck
adb shell su -c"dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096"
The -c of the above code! it says it cant find it or sometimes denied access.
what is it looking for if anything or what folder should adb be in to make this work. Where should i be entering all this into (terminal on tab or pc)
I looked for at least a month (seemed like forever)trying to find some instructions that would help.
Thanks
I think it would he best to send a personal message to rotohammer for more clarifications regarding this.
Sent from my Galaxy Tab via Tapatalk Pro

What is ADB shell?

What is it ? ADB Shell . is it CMD command on Windows or what ?
muslimbaha said:
What is it ? ADB Shell . is it CMD command on Windows or what ?
Click to expand...
Click to collapse
https://developer.android.com/tools/help/adb.html
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Sorry, but i know what it is now, how do i run it though? im trying to follow the htc desire hd guide to root my phone, which everything is done up until the point i have to test that i have root in debug mode. Not sure how to do this? run abd.exe? it just showed me a cmd window which runs and then dissapears.
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
bitdomo said:
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
What is likely to be the problem if it says SU permission denied?
If you are on stock, that means that you have no root access. If you have cm10 or cm10.1 you have to enable adb root access somewhere in the settings. I am sorry but I can not tell you at the moment where to enable it because I am on stock right now.
Sent from my LG-P990 using xda app-developers app
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Thanks Bro for this information

[Q] 4x HD VERRY slow

I want to root my device but it's failed
i deleted IS11LG_SystemBackupTest.signed.apk
"adb shell rm /data/local.prop" is not working i'ts says: error: device not found
Sorry for my bad English
Did you follow the below steps.
http://forum.xda-developers.com/showthread.php?t=1818502
Just install the apk and reboot the phone. Do not open the app after installing it. Restart the phone. Phone will be very slow.
Remember to copy the necessary files to pc and then run the script in command prompt. It will work. After that you may uninstall the app.
Check your phone drivers .
Sent From LG-P880 .
By pressing "THANKS" You Would Help Me
you install the app and then open it so you see the hello world text, then you reboot your phone and then do the o4xr root process(open the root.bat) then your phone will restart then delete the app,being sure not to re-open it otherwise you need start from the beguinning again
I'ts working ! Thanks!! :good::good:

adb error device not found

I tried everything, downloaded new adb , new cable, I tried win 8 and win 7 but nothing usb drivers and adb drivers are installed correctly , in device manager I see my usb driver (not yellow one)
When ever I put adb devices I can see my device and if I put adb shell it works but if I try adb push it says error device not found
I used to have sony xperia s, every thing used to work normally on it like fastboot and adb commands
Please help me it is so weird
Locked bootloader?
GROGG88 said:
Locked bootloader?
Click to expand...
Click to collapse
yes
i rooted my phone by flashing older kernel and rooting then upgrade to the newer kernel , nothing happened while i was flashing all went right , no errors , but the problem at adb is still there , can't push any file , also flash tool sends a file to a rooted phone called : ftkit the first time u connect your phone with root , it didn't push the file to the phone ,
very weird problem
elias234 said:
i rooted my phone by flashing older kernel and rooting then upgrade to the newer kernel , nothing happened while i was flashing all went right , no errors , but the problem at adb is still there , can't push any file , also flash tool sends a file to a rooted phone called : ftkit the first time u connect your phone with root , it didn't push the file to the phone ,
very weird problem
Click to expand...
Click to collapse
Have you granted superuser access to adb?
GROGG88 said:
Have you granted superuser access to adb?
Click to expand...
Click to collapse
yes i granted superuser access to adb
i want to ask a question .
when i need to push files to my phone i directly enter the commend " adb push "
ot first i need to enter adb shell ?
Push is not used within shell. Shell is basically used to start a terminal emulator. Push/pull is used within cmd or terminal to treat your device as a remote location.
Sent from my C6603 using XDA Premium 4 mobile app

Categories

Resources