hey guys i'm having problem in adb when i put the remount command
it gives this message : opreation remount not prometted
why is that??? i'm rooted on ba023 and a lot of programs that use su is working correctly
h.boushi1987 said:
hey guys i'm having problem in adb when i put the remount command
it gives this message : opreation remount not prometted
why is that??? i'm rooted on ba023 and a lot of programs that use su is working correctly
Click to expand...
Click to collapse
Try typing 'su' (without inverted commas) before that command, when using your phone, and on a PC, do 'adb shell su' or 'adb shell' then 'su'. The command should now work.
You have to do this, if you followed the 'secure root' instructions before.
thanks man it works!!!!!
Sent from my X10i using the XDA mobile application powered by Tapatalk
Related
how can I go to adb shell and how to use it??
in slade's daul touch should go to shell but I do not know how to do,have anybody help me??
sorry for my foolishness and big big thanks for answer!
Sent from my U20i using Tapatalk
There are 2 ways that I know to get to adb shell
First u can download android sdk that contains adb shell on it,enable usb debugging on u'r phone than connect it to your pc. Then run cmd on u'r pc and point to android sdk folder than type adb shell
Second,the easiest way I think,download and install terminal emulator from market,then run it and u are on adb shell now.
Sent from my U20i using XDA App
Evillest said:
how can I go to adb shell and how to use it??
in slade's daul touch should go to shell but I do not know how to do,have anybody help me??
sorry for my foolishness and big big thanks for answer!
Sent from my U20i using Tapatalk
Click to expand...
Click to collapse
here you got nice tutorial how to set up adb and how to use it
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
but if you want to install dualtouch makes as it says in bold procedure
but if u are runing slades rom you dont need to do that beacuse dualtouch is allredy icluded
Eyama said:
here you got nice tutorial how to set up adb and how to use it
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
but if you want to install dualtouch makes as it says in bold procedure
but if u are runing slades rom you dont need to do that beacuse dualtouch is allredy icluded
Click to expand...
Click to collapse
I've run slade's rom,but there have update version,should I install the update version in adb shell???
Sent from my U20i using Tapatalk
Just see my tweaks, install update.zip and follow instructions, no adb shell needed, if you want you can use terminal emulator
Sent from my ftw mini pro
recca666 said:
There are 2 ways that I know to get to adb shell
First u can download android sdk that contains adb shell on it,enable usb debugging on u'r phone than connect it to your pc. Then run cmd on u'r pc and point to android sdk folder than type adb shell
Second,the easiest way I think,download and install terminal emulator from market,then run it and u are on adb shell now.
Sent from my U20i using XDA App
Click to expand...
Click to collapse
it's mean that terminal emulator's function same as adb shell??
or,terminal emulator is one of the shell??
Sent from my U20i using Tapatalk
Use the terminal. Adb shell is just a way for u to use your PC's command prompt in the same way the terminal works
sent from my transparent xda app by the impaler747
johnson8cyl said:
Use the terminal. Adb shell is just a way for u to use your PC's command prompt in the same way the terminal works
sent from my transparent xda app by the impaler747
Click to expand...
Click to collapse
thanks!! I've see that what should I do。
Sent from my U20i using Tapatalk
D4rKn3sSyS said:
Just see my tweaks, install update.zip and follow instructions, no adb shell needed, if you want you can use terminal emulator
Sent from my ftw mini pro
Click to expand...
Click to collapse
thanks for your help!
Sent from my U20i using Tapatalk
I´m trying the second method, i have the console in my android but this is what i´m doing and i´m getting adb: not found
$ $su
# adb shell
adb: not found <---- what i´m doing wrong?
Thanks in advance
What are u trying to do? Adb shell command is from PC console not terminal in your phone. Adb is part of sdk setup on your pc
Sent from my HTC Magic using XDA App
Hello, I am using a Droid Razr Maxx CDMA (XT912). I have Android version 4.2.2. I am using Cyanogen mod 10.1.
I am having problems opening ADB. When I turn my USB Debugging on under my dev. options, connect my device in PTP mode using the terminal emulator commands:
su
setprop persist.sys.usb.config mass_storage
reboot
I run the ADB program and a window comes up for a brief moment then closes. I am unable to open ADB. I have Java.
Thank You!
ADB Troubles Cont'd.
nathanielhall929 said:
Hello, I am using a Droid Razr Maxx CDMA (XT912). I have Android version 4.2.2. I am using Cyanogen mod 10.1.
I am having problems opening ADB. When I turn my USB Debugging on under my dev. options, connect my device in PTP mode using the terminal emulator commands:
su
setprop persist.sys.usb.config mass_storage
reboot
I run the ADB program and a window comes up for a brief moment then closes. I am unable to open ADB. I have Java.
Thank You!
Click to expand...
Click to collapse
Did adb kill-server and adb start-server several times in cmd with no avail. The device serial number shows up under adb devices, but ADB Program will still not open. I've tried to open ADB up in cmd also.
I also tried typing in the terminal emulator:
su
setprop persist.sys.usb.config mass_storage, adb
reboot
Thanks again!
Can someone please help me with this?
I even tried installing the Universal naked drivers and that wouldn't go through.
nathanielhall929 said:
I even tried installing the Universal naked drivers and that wouldn't go through.
Click to expand...
Click to collapse
I copied your command and pasted here. setprop persist.sys.usb.config mass_storage, adb
And what I find is posted here. setprop persist.sys.usb.config mass_storage,adb
And reboot afterwards.
Notice the extra space in your command before adb?
I found this command structure several locations and only one that reports failed has the space.
For ICS it also shows adb shell as in
adb shell setprop persist.sys.usb.config mass_storage,adb
adb reboot
I hope this helps.
Tried it without the space and still not working
tobdaryl said:
I copied your command and pasted here. setprop persist.sys.usb.config mass_storage, adb
And what I find is posted here. setprop persist.sys.usb.config mass_storage,adb
And reboot afterwards.
Notice the extra space in your command before adb?
I found this command structure several locations and only one that reports failed has the space.
For ICS it also shows adb shell as in
adb shell setprop persist.sys.usb.config mass_storage,adb
adb reboot
I hope this helps.
Click to expand...
Click to collapse
I just tried it without the space, rebooted, and nothing
I don't get it
nathanielhall929 said:
I just tried it without the space, rebooted, and nothing
Click to expand...
Click to collapse
The ADB Program just won't open up on this computer. It opens for a second spewing command info then closes. Is it my Java program?
nathanielhall929 said:
I just tried it without the space, rebooted, and nothing
Click to expand...
Click to collapse
Are you getting an error?
This is the other method I see being used but I'll break the command as I believe it should be.
adb shell
su
setprop persist.sys.usb.config mtp,adb
exit
adb reboot
My problem is I know nothing about your unit and I don't know whether it should be mtp or mass_storage. I see people failing with mass_storage are being told to use mtp.
in terminal it shows
su
setprop persist.sys.usb.config mass_storage,adb
reboot
or
su
setprop persist.sys.usb.config mtp,adb
reboot
To retrieve this info I used the top search that says Search All Forums and typed in your command then hit search. You may need to do the same and only go to the threads that suit your situation.
---------- Post added at 12:38 AM ---------- Previous post was at 12:26 AM ----------
nathanielhall929 said:
The ADB Program just won't open up on this computer. It opens for a second spewing command info then closes. Is it my Java program?
Click to expand...
Click to collapse
Are you opening cmd and going to the directory with adb and issue your commands or are you trying to click on adb and use it that way?
I'm trying to run it in cmd
I've been trying to fix this for two days now. I'll be back tomorrow.
Figured out
Ok, now I feel like I'm a real noob. I just realized that I was thinking too hard about all of this. Adb doesn't open up in a new window as a regular program would. I thought it did. Oops. Maybe I should have been more thourough in my research. I should have realized that I already opened adb by using the cmd prompt.
This is why my device was recognized under adb devices.
Maybe not...
I still can't figure out how to get this:
http://tricktactoe.com/howto/how-to-record-android-screen-without-screencast/attachment/path-adb/
window to come up.
This is what I'm tring to do
nathanielhall929 said:
I still can't figure out how to get this:
http://tricktactoe.com/howto/how-to-record-android-screen-without-screencast/attachment/path-adb/
window to come up.
Click to expand...
Click to collapse
This is what I am trying to do:
http://tricktactoe.com/howto/how-to-record-android-screen-without-screencast/
Figured out finally!!!
nathanielhall929 said:
This is what I am trying to do:
http://tricktactoe.com/howto/how-to-record-android-screen-without-screencast/
Click to expand...
Click to collapse
I finally figured this out!!!
I want to thank tobdaryl for his time.
Thank you for your time tobdaryl
nathanielhall929 said:
I finally figured this out!!!
I want to thank tobdaryl for his time.
Thank you for your time tobdaryl
Click to expand...
Click to collapse
You are welcome.
Can you help me?
Can you check out this thread.. Maybe you can help me.
http://forum.xda-developers.com/showthread.php?t=2260208
Hello im trying to pull a file from my phone with adb but its not working (picture)
What am i doing wrong? ??
Sent from my GT-I9300 using xda app-developers app
Too many adb's.
You're already in adb shell. adb is not a comnand within adb.
What I mean is adb is a programme. You start it from a command line with "adb shell". Think of it as meaning "adb start". When you run a command from cmd, you tell it the programme and the option. So you tell it "adb shell" and it opens adb shell. You tell it adb pull and it does a pull, but this only works when you're not in the adb shell.
So if you want to run adb commands within the shell, drop the "adb". The command starts "pull" because you're already running adb. If you want to run outside the shell, you need to define the programme with "adb pull"
Personally I work this way
adb shell
mount /system
exit
adb pull /system/app/SecSettings.apk c:\users\dan\desktop
But I could also
adb shell
mount /system
pull /system/app/SecSettings.apk c:\users\dan\desktop
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Too many adb's.
You're already in adb shell. adb is not a comnand within adb.
What I mean is adb is a programme. You start it from a command line with "adb shell". Think of it as meaning "adb start". When you run a command from cmd, you tell it the programme and the option. So you tell it "adb shell" and it opens adb shell. You tell it adb pull and it does a pull, but this only works when you're not in the adb shell.
So if you want to run adb commands within the shell, drop the "adb". The command starts "pull" because you're already running adb. If you want to run outside the shell, you need to define the programme with "adb pull"
Personally I work this way
adb shell
mount /system
exit
adb pull /system/app/SecSettings.apk c:\users\dan\desktop
But I could also
adb shell
mount /system
pull /system/app/SecSettings.apk c:\users\dan\desktop
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Thabks allot it worked!!!
Sent from my GT-I9300 using xda app-developers app
Yup. You'll pick it all up quickly enough.. loads of people can't even do this yet
Sent from my GT-I9300 using Tapatalk 2
And to push a file i presume is the same principle?
Sent from my GT-I9300 using xda app-developers app
joshua101 said:
And to push a file i presume is the same principle?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
should be the same, its a command after all.
you could go get the list from a shady internet site with all the things you can do
Yep same principle. Obviously flip the locations around
adb push c:\blah.apk /system/app/
Sent from my GT-I9300 using Tapatalk 2
Hi all,
I'm rooted and running Cyanogenmod 10.2.0. I'm trying to access some files on my device through ADB that require root access. I can change to the directory but when I attempt to list the contents of the directory I get a "permission denied" error.
I did enable Root access for "Apps and ADB" in the developer options on the phone.
Any ideas what's going wrong or (most likely) what I'm doing wrong?
TIA!
Sailing_Nut said:
Hi all,
I'm rooted and running Cyanogenmod 10.2.0. I'm trying to access some files on my device through ADB that require root access. I can change to the directory but when I attempt to list the contents of the directory
Click to expand...
Click to collapse
Will you please provide which command did you execute in cmd?
Please write it in same syntax as in adb
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Here are the commands I executed
Code:
adb shell
CD data/data/com.whatabou.pixeldungeon/files/
ls
The ls is where I get the error. It does change to the directory but it won't list the files. I have verified that I can see the files with root explorer.
Sailing_Nut said:
Here are the commands I executed
Code:
adb shell
CD data/data/com.whatabou.pixeldungeon/files/
ls
The ls is where I get the error. It does change to the directory but it won't list the files. I have verified that I can see the files with root explorer.
Click to expand...
Click to collapse
I have 2 answers. First - Go to adb
Code:
adb start-server
adb devices
adb shell
su
cd data/data/com.whatabou.pixeldungeon/files/
ls
Don't forget "su" command
When you give "su" command (depending on your phone) screen shows toast message or Superuser access for shell. In latter case give access.
Second- if above doesn't help
Then this will help to pinpoint problem.
Install terminal emulator from Play Store. Open and give Superuser access.
Code:
su
cd data/ /data/com.whatabou.pixeldungeon/files/
ls
Don't forget "su" command.
If 2nd method works then there is a problem with adb. If second method doesn't work then problem in phone.
Press thanks if helped
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Thanks for the response.
I KNOW the problem was that I forgot the su. Stupid me! I was assuming that since I was rooted that the shell was automatically elevated.
But now I have a different problem. I'm unable to use the original PC that I was working with and I've switched to another. Now I can't seem to get ADB to connect to my device. As first it showed no devices when I did the devices command. I realized it was likley because I didn't have the Samsung drivers installed, so I installed those and now I see the phone but it shows offline.
Any ideas what might be going wrong now?
I'm going to do a bunch of Googling to try to figure it out, but if I'm not successful maybe someone here will have an answer.
Thanks tons!
OK all solved!
I'm not sure what along the way I did that fixed my device offline problem. (It may just be that I never saw the RSA fingerprint notification on the phone the first bunch of times.)
The su took care of not being able to see the files when executing ls.
Thanks @hnkotnis
Sailing_Nut said:
OK all solved!
I'm not sure what along the way I did that fixed my device offline problem. (It may just be that I never saw the RSA fingerprint notification on the phone the first bunch of times.)
The su took care of not being able to see the files when executing ls.
Thanks @hnkotnis
Click to expand...
Click to collapse
Glad to help you.
I also had the adb saying offline problem. First it wouldn't show device. Then after Computer and phone reboot, it showed offline. I reinstalled Samsung adb drivers. It said I already have drivers. I said yes still install and rebooted. Problem solved. It occurred once again, but was repaired automatically.
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
hi,
quick question..
i put "setprop service.adb.tcp.port 5555" in file.txt, and save this to /sdcard.
if i run "sh /sdcard/file.txt" from adb shell, on pc, then it works and getprop confirms.
if i run "sh /sdcard/file.txt" from terminal emulator, on phone, it says "could not set property".
can someone explain this behaviour? tahnk you.
in addition, where should you save shell scripts on your phone?
do you guys use shell scripts? can you give examples of what you use them for?
MrPresident said:
hi,
quick question..
i put "setprop service.adb.tcp.port 5555" in file.txt, and save this to /sdcard.
if i run "sh /sdcard/file.txt" from adb shell, on pc, then it works and getprop confirms.
if i run "sh /sdcard/file.txt" from terminal emulator, on phone, it says "could not set property".
can someone explain this behaviour? tahnk you.
in addition, where should you save shell scripts on your phone?
do you guys use shell scripts? can you give examples of what you use them for?
Click to expand...
Click to collapse
Try "su" command first and grant root access to terminal app
minimale_ldz said:
Try "su" command first and grant root access to terminal app
Click to expand...
Click to collapse
thanks for the reply, minimale.
okay. so, as you suggested, it works when i do it as root from the terminal app.
but couple of things.
1) Why can i run it from adbshell without 'su' command. through adb shell it still works as "[email protected]:/ $" instead of "[email protected]:/ #"
2) how come, without 'su', I can access "/sdcard" (as "[email protected]: / $"). but, as root, I have to go through "/data/media/0"
MrPresident said:
thanks for the reply, minimale.
okay. so, as you suggested, it works when i do it as root from the terminal app.
but couple of things.
1) Why can i run it from adbshell without 'su' command. through adb shell it still works as "[email protected]:/ $" instead of "[email protected]:/ #"
2) how come, without 'su', I can access "/sdcard" (as "[email protected]: / $"). but, as root, I have to go through "/data/media/0"
Click to expand...
Click to collapse
I'm glad I helped, but have no idea where the differences between ADB and terminal emulator come from. It's beyond my current knowledge.
minimale_ldz said:
I'm glad I helped, but have no idea where the differences between ADB and terminal emulator come from. It's beyond my current knowledge.
Click to expand...
Click to collapse
no worries. i got what i need.