Sending Linux commands over serial connection to an Android device
I have a question about being able to send Linux commands over a serial connection to an Android device.
I have heard of PuTTY and tried to use it, but I am ultimately lost with it.
I was in the Linux shell of the Android device and could type, reboot
and the device would reboot. The Android device has a virtual serial connection, and I have been able to connect to it using PuTTY, but I don't know where to go after that.
Also, I cannot use ADB because the phone will not fully boot, and the ADB setting is on.
linux shell android serial-port
add a comment |
I have a question about being able to send Linux commands over a serial connection to an Android device.
I have heard of PuTTY and tried to use it, but I am ultimately lost with it.
I was in the Linux shell of the Android device and could type, reboot
and the device would reboot. The Android device has a virtual serial connection, and I have been able to connect to it using PuTTY, but I don't know where to go after that.
Also, I cannot use ADB because the phone will not fully boot, and the ADB setting is on.
linux shell android serial-port
"I don't know where to go after that." -- Seems like you have a working serial link to the console. The next step is you need to learn shell commands. Try typinghelp
orbusybox
. Putty is a terminal emulation program; it's the program that is running on the PC side of the link so that you can use the serial port + keyboard + monitor as a "terminal" or console.
– sawdust
Dec 23 '13 at 9:52
add a comment |
I have a question about being able to send Linux commands over a serial connection to an Android device.
I have heard of PuTTY and tried to use it, but I am ultimately lost with it.
I was in the Linux shell of the Android device and could type, reboot
and the device would reboot. The Android device has a virtual serial connection, and I have been able to connect to it using PuTTY, but I don't know where to go after that.
Also, I cannot use ADB because the phone will not fully boot, and the ADB setting is on.
linux shell android serial-port
I have a question about being able to send Linux commands over a serial connection to an Android device.
I have heard of PuTTY and tried to use it, but I am ultimately lost with it.
I was in the Linux shell of the Android device and could type, reboot
and the device would reboot. The Android device has a virtual serial connection, and I have been able to connect to it using PuTTY, but I don't know where to go after that.
Also, I cannot use ADB because the phone will not fully boot, and the ADB setting is on.
linux shell android serial-port
linux shell android serial-port
edited Jan 11 '14 at 2:19
karel
9,22793138
9,22793138
asked Dec 23 '13 at 0:20
Willster419Willster419
63
63
"I don't know where to go after that." -- Seems like you have a working serial link to the console. The next step is you need to learn shell commands. Try typinghelp
orbusybox
. Putty is a terminal emulation program; it's the program that is running on the PC side of the link so that you can use the serial port + keyboard + monitor as a "terminal" or console.
– sawdust
Dec 23 '13 at 9:52
add a comment |
"I don't know where to go after that." -- Seems like you have a working serial link to the console. The next step is you need to learn shell commands. Try typinghelp
orbusybox
. Putty is a terminal emulation program; it's the program that is running on the PC side of the link so that you can use the serial port + keyboard + monitor as a "terminal" or console.
– sawdust
Dec 23 '13 at 9:52
"I don't know where to go after that." -- Seems like you have a working serial link to the console. The next step is you need to learn shell commands. Try typing
help
or busybox
. Putty is a terminal emulation program; it's the program that is running on the PC side of the link so that you can use the serial port + keyboard + monitor as a "terminal" or console.– sawdust
Dec 23 '13 at 9:52
"I don't know where to go after that." -- Seems like you have a working serial link to the console. The next step is you need to learn shell commands. Try typing
help
or busybox
. Putty is a terminal emulation program; it's the program that is running on the PC side of the link so that you can use the serial port + keyboard + monitor as a "terminal" or console.– sawdust
Dec 23 '13 at 9:52
add a comment |
2 Answers
2
active
oldest
votes
If you are communicating over a serial connection I think you would use AT commands rather than 'linux commands.'
This post discusses something similar if my understanding is correct.
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
add a comment |
Turns out that the connection I had was for the phone modem, not to the system. There seems to be (on many qualcomm phones) a modem connection and then the adb connection for the android system.
So it ended up being a dead end.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f692021%2fsending-linux-commands-over-serial-connection-to-an-android-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you are communicating over a serial connection I think you would use AT commands rather than 'linux commands.'
This post discusses something similar if my understanding is correct.
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
add a comment |
If you are communicating over a serial connection I think you would use AT commands rather than 'linux commands.'
This post discusses something similar if my understanding is correct.
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
add a comment |
If you are communicating over a serial connection I think you would use AT commands rather than 'linux commands.'
This post discusses something similar if my understanding is correct.
If you are communicating over a serial connection I think you would use AT commands rather than 'linux commands.'
This post discusses something similar if my understanding is correct.
answered Dec 23 '13 at 2:01
jreddjredd
73837
73837
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
add a comment |
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
AT commands are for controlling a phone modem or a communications device that emulates a phone modem because it has a data (or transparent) mode and a command mode. A simple serial link like what the OP has does not have a modem. Hence there is no device to process any AT commands.
– sawdust
Dec 23 '13 at 9:41
add a comment |
Turns out that the connection I had was for the phone modem, not to the system. There seems to be (on many qualcomm phones) a modem connection and then the adb connection for the android system.
So it ended up being a dead end.
add a comment |
Turns out that the connection I had was for the phone modem, not to the system. There seems to be (on many qualcomm phones) a modem connection and then the adb connection for the android system.
So it ended up being a dead end.
add a comment |
Turns out that the connection I had was for the phone modem, not to the system. There seems to be (on many qualcomm phones) a modem connection and then the adb connection for the android system.
So it ended up being a dead end.
Turns out that the connection I had was for the phone modem, not to the system. There seems to be (on many qualcomm phones) a modem connection and then the adb connection for the android system.
So it ended up being a dead end.
answered Jan 3 at 15:48
Willster419Willster419
63
63
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f692021%2fsending-linux-commands-over-serial-connection-to-an-android-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
"I don't know where to go after that." -- Seems like you have a working serial link to the console. The next step is you need to learn shell commands. Try typing
help
orbusybox
. Putty is a terminal emulation program; it's the program that is running on the PC side of the link so that you can use the serial port + keyboard + monitor as a "terminal" or console.– sawdust
Dec 23 '13 at 9:52