Samsung Moment :: Shell / Terminal USB Commands?
Jun 5, 2010
I have a samsung moment that I seem to have inadverntantly disabled diagnostic usb access - if I have USB plugged in and then enable dial up networking in settings , USB disconnects - as soon as I disable DUN usb comes back up - I modified the setting in NV for scm from 3a to 2a and caused this, but I can't find a way to access non volatile memory any other way than through usb diagnostic mode
View 1 Replies
Feb 11, 2012
Cyanogenmod 7.2 has vim (and nano) installed, but when i use vim, the full size of my terminal is unused, and the cursor position and what is displayed become asynchronous. I have tried setting TERM=linux and TERM=xterm (I'm using OS X terminal which emulates an xterm), but neither get me a working vim. vi, which is part of busybox works fine. nano also fails to use the height of my terminal window, and additionally the enter key is broken.
Any way config to get a working vim using android?
View 1 Replies
View Related
Feb 8, 2010
I am rooting my phone and there is a list of safe apps to remove. One was a terminal app and it says to remove it so I can install a functional one...so I was wondering what a terminal app is for and if I should be looking for one.
View 1 Replies
View Related
Sep 5, 2010
Can't find information on how to print out documentation on android shell commands while in the shell. Something along the lines of.
View 4 Replies
View Related
Apr 2, 2013
I need to execute following command in my app.
command: echo "1" > /sys/manager0/enable
I tried this with following code in my app.
Process p = Runtime.getRuntime().exec("su");
DataOutputStream stdin = new DataOutputStream(p.getOutputStream());
String cmd = "echo "1" /sys/manager0/enable";
stdin.writeBytes(cmd+"
");
There is no error and app executed perfectly but there is no change in the /sys/manager0/enable
View 2 Replies
View Related
Jul 28, 2010
Is there any way to run terminal commands on my application and then access the data on my UI? Specifically top.
View 4 Replies
View Related
Jan 14, 2014
I am trying to create a tasker automated thing, which would show a scene which will have a button to execute a shell command (The command should be executed as root). how to do it?
Code:
reboot recovery
View 1 Replies
View Related
Apr 3, 2010
Is there a complete list, or there is no guarantee the list won't change with every release?
View 4 Replies
View Related
May 24, 2010
I'm using adb to try to get a file off my moment (not rooted), but it keeps telling me no devices found, & yes the phones settings are on usb debugging mode.
View 7 Replies
View Related
Aug 19, 2010
So for the last cuple of days I have been trying root my moment using the sw update and system tool but have run into problem with the phone connecting during downloading. So I was wondering if there is a way to root/flash the phone using terminal emulator and telnet?
View 5 Replies
View Related
Feb 4, 2010
How do I use adb to perform some automated tasks on my android phone? I need to find commands that I can issue from the command line (ideally, using a .bat file) that will be capable of more than simply opening an application or sending an input keyevent (button press).
For instance, I want to toggle Airplane Mode on or off from the command line. Currently, the best I can do is launch the Wireless & network settings menu and then use input keyevents to click Airplane mode:
CODE:.................
There are quite a few drawbacks to this method, primarily that the screen has to be on and unlocked. Also, the tasks I want to do are much broader than this simple example. Other things I'd like to do if possible:
1.Play an mp3 and set it on repeat. Current solution:
CODE:..................
2.Play a video. (current solution: open MediaGallery, send keyevents, similar to above)
3.Change the volume (current solution: send volume-up button keyevents)
4.Change the display timeout (current solution: open sound & display settings, send keyevents)
As before, these all require the screen to be on and unlocked. The other major drawback to using keyevents is if the UI of the application is changed, the keyevents will no longer perform the correct function. If there is no easier way to do these sort of things, is there at least a way to turn the screen on (using adb) when it is off? Or to have keyevents still work when the screen is off?
I'm not very familiar with java. That said, I've seen code like the following (source: http://yenliangl.blogspot.com/2009/12/toggle-airplane-mode.html) to change a setting on the phone:
Settings.System.putInt(Settings.System.AIRPLANE_MODE_ON, 1 /* 1 or 0 */);
How do I translate something like the above into an adb shell command? Is this possible, or the wrong way to think about it?
View 2 Replies
View Related
Nov 22, 2010
By using command prompt access the device shell/terminal. then use the su command getting permission denied error. Why this happening? how can i solve this problem.
View 4 Replies
View Related
Sep 22, 2010
I'm a noob to like all of this so bare with me, I love jailbreaking and rooting stuff, just because I love being in complete control of my device....so thats the main reason why I rooted my samsung moment. I usually gain experience from all of this by looking on youtube tutorials or going to threads, I've never asked or seeked helped personally until now. So my question is what can I do with my phone now? I have an idea of how I would put new roms on my moment but I want to be sure of what I'm doing before I brick my phone from a careless mistake. How to get started on a Rooted phone in a nut shell?
View 5 Replies
View Related
Jul 27, 2009
Can any one tell me what are the linux commands i can execute in android terminal emulator.I m in root user but certain commands i can't execute.pls if anyone knows about this give me a list which are the commands executed in Android terminal emulator.
View 1 Replies
View Related
Sep 7, 2010
Once I start up monkey from the shell like:
adb shell monkey --port 1080
Then, If I write normal java code to establish a connection to 127.0.0.1:1080 (on the device itself) and then issue monkey commands from there?
I have tried this and I am able to create a socket, but to get the response, I wait for an awfully long time and nothing happens. Why this behavior?
View 2 Replies
View Related
Jun 3, 2010
I rooted the phone, enabled root, rebooted the phone, tried to uninstall via terminal... boem; permission denied! What a I missing?
View 4 Replies
View Related
Mar 28, 2010
I have Samsung i7500 phone.When I upgrade my firmware on 1.6 series including jc4 - 5- 6 after signing on market with my same account I see that terminal emulator program is installed on my phone. Also I can't uninstall or run that program because that part of market is not available.So is that a virus or something that shows it's name as terminal emulator or ? what is it.Because i can't install that on cupcake IIK5. but on 1.6 i can't uninstall it.Is anyone know something about of that problem?
View 1 Replies
View Related
Mar 10, 2010
is there a terminal emulator app that runs on this fone that is free? or is it only the better terminal emulator pro on the android market that can still run on 1.5?
View 3 Replies
View Related
Feb 16, 2013
Just got Samsung Galaxy S II and I'm trying to open a file in terminal emulator for android. The file is named 'setup.sh'. When I type 'sh setup.sh' in terminal, it writes back 'Can't open setup.sh' The file is saved on the phone. How to open it?
View 3 Replies
View Related
Aug 21, 2013
So I just got the Samsung Galaxy S4. Whenever I try to use S Voice, it never listens to my commands. If I press the microphone button S-Voice immediately says "I didn't hear that. Please say it again" with literally NO time for me to ever say a single thing. Also, saying "Hi Galaxy" never gets it to pick up on me either.
View 6 Replies
View Related
Nov 17, 2010
Noob questions alert!@ Whats the best way to get into adb shell?
View 3 Replies
View Related
Feb 13, 2010
Due to the Over whelming Question Regarding how-to do things in Android system regarding ADB, I've Decided to make a thread regarding this Issue.. If you Have to ask a Question, be very clear so we can Keep this thread Clean.. Wiki Located here > ADB - Android Wiki.
To Fix ADB in Linux, Visit this Thread > http://androidforums.com/all-things-root-behold-2/60949-adb-linux-replacement-fix-file.html.
View 49 Replies
View Related
Sep 1, 2010
Been talking to Lekky and we have all these great things grouped into one thread. One important thread is side mounting the captivate. Things it gives you are SDK which can be downloaded for PC or Mac. Drivers again PC or Mac.
Then Root access no biggie
Busy box no biggie.
Then it goes into the CMD language for PC on how to edit the database file using CMD prompts to enable the sideloading of APKs directly on the phone.......................
View 1 Replies
View Related
Oct 17, 2010
Can anyone translate what the tech guys are saying? http://www.youtube.com/watch?v=nR2sinoDxXQ&feature=player_embedded#
View 1 Replies
View Related
Feb 9, 2010
Here I am with 2 HTC Hero phones, with only one on an active account. I would love to try out the Samsung Moment, but don't have the $$ to just go out and buy one.My hero comes with all it had when new, plus I have an extra battery for it I will add to the deal. This hero has only been used for about a week, and while using it, it "lived" in my Blackberry Tour holster to give it maximum protection. There are no scratches or rub marks on it, never been dropped and I have reset it to Factory Specs via the SECURITY MENU and the ESN is clear and ready to be activated on your SPRINT account.Please email me at sy@rayzel.com if you are interested. Maybe we can work out a swap.Now for the additional 1 to 2 feet of snow that is forecast for this afternoon and tomorrow, on top of the 2.5 feet still on the ground.
View 11 Replies
View Related
Jul 29, 2010
I've seen different posts about this, but none for the captivate, and none in the past month, so.Last night I rooted my captivate using the stickied thread in this forum. Worked great! Simple, and not much to it. I have the Superuser Permissions app in my app list.This morning I installed the android sdk and the drivers from the samsung website, enabled usb debugging on my phone, connected the phone, and did the following in my cmd prompt:.C:android-sdk-windows yes, that is the correct location of the android sdk folder) but all i'm getting is 'error: device not found'. I tried uninstalling my drivers and doing it again, this time connected to a different USB port, and still the same thing. Anyone have any insights? I'm able to successfully connect my phone to my machine and view it like a storage device (drag folders around, etc)
View 11 Replies
View Related
Aug 23, 2010
Up until this morning I've had no problems with running ADB commands from my computer to my phone but now everytime I try to do so I get a Device Not Found error. My OS is XP and I've gone through the Device Manager looking for something that says ADB (that's what my memory tells me I should be seeing). Can anyone tell me where I should be looking? Or what device I may need to update the drivers on? Not sure why it suddenly started happening but it's hosing me on trying the latest GAOSP build (need to mount so that I can delete everything in the dbdata directory).
View 12 Replies
View Related
Oct 10, 2010
I installed OCLF V2+ and all is great. However, one day I turned on the phone and I think it's physically broken. The symptoms are:
- Only half screen image
- Other half screen has strange stripes
- The phone doesn't go past the spash screen
- It will boot in recovery and download mode. Here there's still only half a screen
So what I want to do is undo the lag fix, remove ext2 tools and unroot the phone before I go back to the store. Can anybody help me with this?
I CAN start in recovery mode and use adb shell to go to the phone shell! So I suppose I have to do the above steps from the shell!
View 3 Replies
View Related
May 23, 2010
Every time i try to access adb shell on my galaxo 1.6.3.2 i get the strange garbled text:
CODE:.........
View 1 Replies
View Related
Oct 31, 2010
Have just got a Galaxy S and this is my first experience with Android.
a. How do I set the host name for my phone?
b. How do I start a command line shell?
View 1 Replies
View Related