[Q] How to use terminal emulator - Galaxy S II Q&A, Help & Troubleshooting

Hi guys as title explains i'm looking for some advices for terminal emu,i know it's a useful tool but i don't know how to use it and wich commands type...
If you guys know a tutorial or just want to tell me how ,it would be awesome
Cheers

Android shell command reference.

MistahBungle said:
Android shell command reference.
Click to expand...
Click to collapse
Do this commands work on the app too?
I mean this https://play.google.com/store/apps/...251bGwsMSwxLDMsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..

Yes. I know what you mean. I wouldn't have posted that link if I didn't ;-) (I use Terminal Emulator as well).

MistahBungle said:
Yes. I know what you mean. I wouldn't have posted that link if I didn't ;-) (I use Terminal Emulator as well).
Click to expand...
Click to collapse
Cheers mate

No probs ;-) That tutorial was written by/is on the Github of the developer who made Terminal Emulator, and is a good place to start if you want to learn Android line commands.

Hello, I'm just beginning to use/understand terminal emulator. I need some good reference on how to use it. Trying to dentist thru magisk but my limited understanding if the process is hindering me. Any advice or direction or links to understanding principles of terminal emulator appreciated. Thank you!

Related

Updated to 2.1... still no root ( Fixed ^_^ )

I got to part 3 in the instructions, as soon as I started with the command promt it all went to hell.
None of the commands are recognized and it just says file not found or no such directory.
I have the eris 2.1 test
If anyone could just shed some light on how the whole command promt thing works Id be hapy ^_^
are you pointing the command prompt in the right direction? If you followed the instructions it should be aimed at- C:\AndroidSDK\android-sdk-windows\tools
if it nots and it's at windows or my documents just type "cd C:\AndroidSDK\android-sdk-windows\tools"
If you're following the tutorial to a t then you shouldnt have any issues, it's idiot proof.
WalkingTaco said:
are you pointing the command prompt in the right direction? If you followed the instructions it should be aimed at- C:\AndroidSDK\android-sdk-windows\tools
if it nots and it's at windows or my documents just type "cd C:\AndroidSDK\android-sdk-windows\tools"
If you're following the tutorial to a t then you shouldnt have any issues, it's idiot proof.
Click to expand...
Click to collapse
I figured it out from here unlockr.com I didnt know you could enter folders from the command promt...
Thanks and whats the best rom ut right now?
Im lookin forward to live wallpapers
Re: Updated to 2.1... still no root
evil Eris is my favorite. get ready to be disappointed with live wallpapers, they run like **** at the moment bit I'm sure it'll be tweaked to be more stable in the future
Sent from my Evil Eris v1.1 using the XDA mobile application powered by Tapatalk
^_^ So is there like a link you can give me for all the apps and games?
Im gonna load Evil Eris right now ...
Ki1lACrAcK said:
^_^ So is there like a link you can give me for all the apps and games?
Im gonna load Evil Eris right now ...
Click to expand...
Click to collapse
Pirating is illegal and should not be a justification of having root. Most apps have free versions which you can try, if you like it, spend the $2-5 dollars that most good apps cost to purchase. It's not like these devs make a whole lot of money for what they do especially when they get ripped off by pirates.
btw- you dont need root to install unauthorized copies of .apks
there is a rollback being tested for leak users
iloveandroid said:
there is a rollback being tested for leak users
Click to expand...
Click to collapse
how is that relevant? he installed the leak with test keys and is now rooted
WalkingTaco said:
how is that relevant? he installed the leak with test keys and is now rooted
Click to expand...
Click to collapse
Sorry I just read the title

USB Reverse Tethering WORKING!!! Except for market downloading [Rooted phones Only]

Finally there are results in USB reverse tethering. Give it a try guys.
capslock66 a.k.a Thierry Parent @ codeproject from code project has prove this is possible.
http://forum.xda-developers.com/showthread.php?t=1371345
The only setback is we can access the market but UNABLE to download any apps.
DO LET US KNOW IF YOU CAN THE DOWNLOAD FROM THE MARKET!!! Thanks!!!!
I am on Microsoft Windows 7 Professional 64 Bit.
Please give all thanks and credit to capslock66 a.k.a Thierry Parent @ codeproject his work is extremely helpful to me.
I found this one:
http://www.xinotes.org/notes/note/1500/
Click to expand...
Click to collapse
but I dont have linux now to try
ohh you want reverse usb tethering HERE it is...
it worked for me
it has both windows as well as linux ones.. but i tried it on windows..
you need is rooted device with busybox..
if you are on custom rom then mostly you have it
This works everywhere even market
It's better if u can re-write a guide for SGA I tried but not work maybe I did wrong somewhere
hahas. I haven tried the wildfire guide yet but a guide for SGA would be nice. Devilking why never post your KS3 here on XDA.
madman_amit said:
ohh you want reverse usb tethering HERE it is...
it worked for me
it has both windows as well as linux ones.. but i tried it on windows..
you need is rooted device with busybox..
if you are on custom rom then mostly you have it
This works everywhere even market
Click to expand...
Click to collapse
What rom are you on?
madman_amit said:
ohh you want reverse usb tethering HERE it is...
it worked for me
it has both windows as well as linux ones.. but i tried it on windows..
you need is rooted device with busybox..
if you are on custom rom then mostly you have it
This works everywhere even market
Click to expand...
Click to collapse
OMG. BRO FINALLY GOT SOMETHING. GEES. BEEN SEARCHING ALL OVER THE NET. THANKS. EVERYTHING WORKS. I AM ON The myth KS2 by devilsking hahas. PS: Everything Works except the market. I cannot download apps from the market. Its just stuck downloading. Mind for a tutorial?
well making tutorial is easy one but i would like to make it after finding some way to fix download problem which i am also having from market... everything else is working blazingly
---------- Post added at 09:12 PM ---------- Previous post was at 09:05 PM ----------
devilsking said:
It's better if u can re-write a guide for SGA I tried but not work maybe I did wrong somewhere
Click to expand...
Click to collapse
dude as such there is no difference between procedures.... all settings are same only and that guy also have included screenshots....
btw it should work on all roms
Anyone knows how to make a script for the configs? Instead of typing them all over in Terminal Emulator everytime we restart our phone. Script for an app like script manager.
mudkipstar said:
Anyone knows how to make a script for the configs? Instead of typing them all over in Terminal Emulator everytime we restart our phone. Script for an app like script manager.
Click to expand...
Click to collapse
yeah actually you can make it easily..
just in notepad write down commands and save it as name.sh file.. you are done
run like normal script as root from terminal emulator or script manager
well i have made interactive shell script and also thinking of making app for this thing just as my first android app....
but i will do this after two days when exams are over
but till that i would love to hear from some senior how to solve problem of market download ??
after enabling port for market it allows to browse through market but download doesn't work..
do market download using some other port ?? so that can be enabled ?
hope some senior guy look around here and tell some solution so that i can finish this thing off
Nice mate!! Looking forward to it!! Be sure I am the first to be informed when its out
Hope you solve the market issue too.
Yeah i tried port fowarding too but to no avail
mudkipstar said:
Yeah i tried port fowarding too but to no avail
Click to expand...
Click to collapse
other things than market works for you right ?
Yup working perfectly
Bro you working on the script?
Not asking for ETA
For some unknown reason its now working for me anymore
EDIT : Still working playing with ASProxy To get access to market. You know how to do it?
well i actually was trying out different roms thats why was not able to make some interactive script but simple script works for me ..
btw for simple one just notepad the commands which you run in terminal and save it as USBTether.sh it should work
ASProxy doesn't seems to work as i have tried it but haven't done quite a time for it hope i find way to enable market
what program u use to run the script? I use script manager to run script but fails. So far only typing it manually in terminal allows me to get connected
well script manager do good job ...[run it as root ]
you can also run it from terminal emulator

[SOLVED] How to use ADB

Hello,
I'm trying to toggle setting using adb, e.g. turning on/off wifi. The problem is that I don't know how to do it . Can You help me???
try this:
http://forum.xda-developers.com/showthread.php?t=502010
if it doesnt help then just search
http://www.google.com/cse?q=&sa=Sea...fs7umqefhnf&ie=ISO-8859-1#gsc.tab=0&gsc.q=adb
AdX9170 said:
try this:
http://forum.xda-developers.com/showthread.php?t=502010
if it doesnt help then just search
http://www.google.com/cse?q=&sa=Sea...fs7umqefhnf&ie=ISO-8859-1#gsc.tab=0&gsc.q=adb
Click to expand...
Click to collapse
Nope, that didn't help. Those are only noobie stuff, which I already know.
Are u trying to do something specific or u just want to learn adb? (i only ask as i trying to learn how to use it myself)
Sent from my X10i using XDA
laneyofdeath said:
Are u trying to do something specific or u just want to learn adb? (i only ask as i trying to learn how to use it myself)
Sent from my X10i using XDA
Click to expand...
Click to collapse
I'm trying to do something specific. I want to learn how to change setting using adb, without unlocking the phone and navigationg to those settings with keyevents. For example I would like to mount usb storage while the X10 is locked, or turn on wifi etc. I think we should use some code from the settings.apk but I don't know how the code should look like. I already can all of the basics like copying files, installing apps and so on.
Ok, found it. If You also want to know how to do it PM
requesting info, getting it and then not sharing it publicly so others can access it from search is not generally considered a nice move. please appreciate the fact that others might want to have the same information. For this, the forum is build. PM is for private stuff.
If you have other reasons, not to share, please feel free to tell us so. Thank you.
Sneakyghost said:
requesting info, getting it and then not sharing it publicly so others can access it from search is not generally considered a nice move. please appreciate the fact that others might want to have the same information. For this, the forum is build. PM is for private stuff.
If you have other reasons, not to share, please feel free to tell us so. Thank you.
Click to expand...
Click to collapse
WOW, that's an old stuff, which already forgot. But after few minutes of thinking I remember it
The code to enable wifi is:
HTML:
adb shell "svc wifi enable"
jakuburban said:
WOW, that's an old stuff, which already forgot. But after few minutes of thinking I remember it
The code to enable wifi is:
HTML:
adb shell "svc wifi enable"
Click to expand...
Click to collapse
why i'm getting "killed" error after executing this command?

[Q] Setting up Development environment

Hi all,
I'm trying to setup an Android development environment on Linux (Ubuntu)
The instructions I follow atm you can find HERE
I've downloaded and unpacked the Android SDK but trying to install I'm stuck.
It's probably very easy but for me coming from MS Windows I need to get used to all these new terms and commands. :cyclops:
The tutorial clearly explains the following:
'On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk.'
I've opened a terminal venster but how do I execute?
Sorry for my very noobish question but any help would be highly appreciated.
Grtz, Leo
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
Like three entries down in the search engine...
That will help me a few steps ahead again, great tut, thanks a lot!
thewadegeek said:
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
Like three entries down in the search engine...
Click to expand...
Click to collapse
No prob.
Out of curiousity (author here), did the steps work out easily or did anything need updating?
lowazo said:
Out of curiousity (author here), did the steps work out easily or did anything need updating?
Click to expand...
Click to collapse
I think he accidentally the while thing. I could be wrong though.
lithid-cm said:
I think he accidentally the while thing. I could be wrong though.
Click to expand...
Click to collapse
From here on out, I'm putting disclaimers on everything.

[Q] Help Please- 70b Internet Tablet-What SDE or ROM to use

Hello Everyone,
I am not new to flashing.
I have an Archos 70b IT.
I have the newest Honeycomb firmware on it.
The SDE from Archos for Gen8 or Gen9 does not work.
I keep getting Update Failed 1 error.
So if someone has this tablet, how did you update it to ICS???
How do I root this thing?
The Specs for the 70b vs. the 70
http://www.arctablet.com/blog/archos-tablet/archos-70b-it-review-part-1-introduction/
***funny note- Archos has this tablet listed under Gen9 in the firmware downloads section. I spoke to their Tech Support and they said it is a Gen8 device. They said there is a JB unit called the 70 Titanium that will be released soon.
Can someone help me here please.
I can't get ADB to work.
Can you tell me what you did or send me the files you are using for ADB?
I would like to root this unit or better put ICS on it.
droiduzr2 said:
Can someone help me here please.
I can't get ADB to work.
Can you tell me what you did or send me the files you are using for ADB?
I would like to root this unit or better put ICS on it.
Click to expand...
Click to collapse
Hi.
Have you tried to see letama thread about sde for it2 honeycomb?
And see archos website to have adb?
You can have root only on your tab.
All others gen8 systems are not compatible with your tab.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
Hi.
Have you tried to see letama thread about sde for it2 honeycomb?
And see archos website to have adb?
You can have root only on your tab.
All others gen8 systems are not compatible with your tab.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Yes, I tried to follow Letama directions. I just can't get ADB to work.
Can you send me your ADB files and USB.inf and Android.inf (I think there is an Androidusb.inf)
If someone can provide me their ADB files that would be great.:good:
droiduzr2 said:
Yes, I tried to follow Letama directions. I just can't get ADB to work.
Can you send me your ADB files and USB.inf and Android.inf (I think there is an Androidusb.inf)
If someone can provide me their ADB files that would be great.:good:
Click to expand...
Click to collapse
3 seconds with google search:
http://www.archos.com/support/support_tech/updates_adb.html?country=gb&lang=en
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
3 seconds with google search:
http://www.archos.com/support/support_tech/updates_adb.html?country=gb&lang=en
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
I tried that, did not work for me.
IT shows up as a Samsung phone under ADB heading.
When I do ADB devices, nothing shows up.
droiduzr2 said:
I tried that, did not work for me.
IT shows up as a Samsung phone under ADB heading.
When I do ADB devices, nothing shows up.
Click to expand...
Click to collapse
Maybe have you got any other drivers installed on your computer.
If yes try to uninstall it(s) and retry.
Bizcuite
bizcuite said:
Maybe have you got any other drivers installed on your computer.
If yes try to uninstall it(s) and retry.
Bizcuite
Click to expand...
Click to collapse
Hey,
I am not new to this.
I just can't seem to get ADB to recognize this thing.
I would really appreciate if you can send me your ADB files then.
PM me your email address and I will share my dropbox with you for you to put the files in or just zip them and email them back.
I have been trying for some time now but the tablet is just sitting there.
So if you can send me the files, that would be much appreciated.
droiduzr2 said:
Hey,
I am not new to this.
I just can't seem to get ADB to recognize this thing.
I would really appreciate if you can send me your ADB files then.
PM me your email address and I will share my dropbox with you for you to put the files in or just zip them and email them back.
I have been trying for some time now but the tablet is just sitting there.
So if you can send me the files, that would be much appreciated.
Click to expand...
Click to collapse
I use adb for ubuntu and i had installed with the how to from archos website.
You need windows files no?
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
I use adb for ubuntu and i had installed with the how to from archos website.
You need windows files no?
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Yes. I have have windows 7.
I do have a Linux Mint 14 in Vmware.
If you can provide me with files and basic info I can go from there.
Thanks for your help.
Looking forward to getting ICS on this.
I need ADB to work to flash new ICS ROM, correct???
droiduzr2 said:
Yes. I have have windows 7.
I do have a Linux Mint 14 in Vmware.
If you can provide me with files and basic info I can go from there.
Thanks for your help.
Looking forward to getting ICS on this.
I need ADB to work to flash new ICS ROM, correct???
Click to expand...
Click to collapse
Huuuum, i have just read the archos website to have adb. I will not share files then you can make your files yourself with archos website....
Please try again with linux. Or try to change the usb cable(their cable is very bad in quality) and verify that you have activated the adb in android parameters.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
Huuuum, i have just read the archos website to have adb. I will not share files then you can make your files yourself with archos website....
Please try again with linux. Or try to change the usb cable(their cable is very bad in quality) and verify that you have activated the adb in android parameters.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Wow man, you are just way too helpful.
This site is for people to help each other or so I thought.
I clearly told you that I tried a few times to do it and I could not get it to work. You have the file that can help me get things up and running but you rather not help out.
Whatever man, keep it.
KARMA!
This Archos section is the least helpful section of XDA that I have encountered thus far. This does not HELP promote getting more people to use or support these devices.
You should do yourself a favor and see how the Samsung community helps each other e.g. this section http://forum.xda-developers.com/showthread.php?p=41185753#post41185753
http://forum.xda-developers.com/showthread.php?p=41108791#post41108791
droiduzr2 said:
Wow man, you are just way too helpful.
This site is for people to help each other or so I thought.
I clearly told you that I tried a few times to do it and I could not get it to work. You have the file that can help me get things up and running but you rather not help out.
Whatever man, keep it.
KARMA!
Click to expand...
Click to collapse
I will not share you a file that you can make by a simple command.
For Linux users only: You need to add a udev rule if ADB only works as root:
Create a file /etc/udev/rules.d/51-android.rules that contains the following lines:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="e79/*", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="e79", MODE="0666"
Make the rule known to udev with the following command:
udevadm control --reload-rules (or udevcontrol reload_rules on older systems)
Click to expand...
Click to collapse
And your topic has been seen 280 times, i am alone to answer....
There aren't idiots questions, only idiots guys....
Stay in your sh*t.
Bizcuite
bizcuite said:
I will not share you a file that you can make by a simple command.
And your topic has been seen 280 times, i am alone to answer....
There aren't idiots questions, only idiots guys....
Stay in your sh*t.
Bizcuite
Click to expand...
Click to collapse
I don't use Linux.
Not interested in learning something else.
I will just sell this crap and buy another Galaxy Tab which is much better.
Problem solved.
U have to calm down. I was asking so many questions before like "I dont use linux blabla" and then Divx told me "mavasilisk is afraid of learning new things" and I started to find the answers myself. Its not only about the linux, dude.
Mavasilisk said:
U have to calm down. I was asking so many questions before like "I dont use linux blabla" and then Divx told me "mavasilisk is afraid of learning new things" and I started to find the answers myself. Its not only about the linux, dude.
Click to expand...
Click to collapse
Thanks for taking your valuable time to tell me something that is not helpful.
Have a good day!
droiduzr2 said:
Thanks for taking your valuable time to tell me something that is not helpful.
Have a good day!
Click to expand...
Click to collapse
Have you ever though that he cant send you it because of the compatibility? He told you to do it in linux but you stil flame him about that and wanna do it in Windows. You wanna help or you want not to do anything and thing get fixed itself? The help comes - sell it.
Mavasilisk said:
Have you ever though that he cant send you it because of the compatibility? He told you to do it in linux but you stil flame him about that and wanna do it in Windows. You wanna help or you want not to do anything and thing get fixed itself? The help comes - sell it.
Click to expand...
Click to collapse
You don't know what you are talking about.
But let's test your point out.
What can YOU do to help with WINDOWS 7 and the ADB files I need?
...
anyone else with an answer to this problem?
I dusted off the tablet to have a look again.

Categories

Resources