Terminal emulator - HTC Wildfire S

[Q] I have a minimal amount of experience using TE and I was wondering if anyone would be willing to share their knowledge of commands and popular usage so I could use this app more. (its been slow going so far).
I like the idea that I can program on my phone and not have to plug into my computer. I started this thread hoping that the more knowledgeable will help us less knowledgeable noobs get an understanding of this app and how to really use it. Thanks any input would be appreciated
Sent from my HTC MarvelC A510c using XDA

Firstly, its not for programming on your phone. It's just a Linux Shell. Like Terminal on Linux, or CMD in Windows. Here's a good one.
Cat/proc/mtd
Report back what you see. If you want the Shell to have root enabled, type su. Type help to see all the commands. Type bash and then type help to see the bash commands. There is a lot of commands. Do some research.
Sent from a Time Lord, using his TARDIS.

When I type Cat/proc/mtd it say's no such file or directory. Typing help was very gainful. I'll just keep at it till I learn more. Thank you very much :thumbup::thumbup:
Sent from my HTC MarvelC A510c using XDA

You need a space like so :
cat /proc/mtd
You can also try out the following :
df
ps
Just Google for Linux shell commands. Many of them will work.
Sent from my Wildfire S

junxracr said:
When I type Cat/proc/mtd it say's no such file or directory. Typing help was very gainful. I'll just keep at it till I learn more. Thank you very much :thumbup::thumbup:
Sent from my HTC MarvelC A510c using XDA
Click to expand...
Click to collapse
Sorry, type it exactly like this:
cat /proc/mtd

I wrote the command as you said above and it followed some codes stating erase etc..misc. data etc ....
What does it actually mean? I'm also new to this please help
Sent from my Wildfire S using XDA

to see all commands press "tab" two times. Use Hacker`s keyboard

krishnanms said:
I wrote the command as you said above and it followed some codes stating erase etc..misc. data etc ....
What does it actually mean? I'm also new to this please help
Sent from my Wildfire S using XDA
Click to expand...
Click to collapse
That command lists the known partitions on your device not much more use than for information
sent from my android powered beast!

Bad-Wolf said:
Firstly, its not for programming on your phone. It's just a Linux Shell. Like Terminal on Linux, or CMD in Windows. Here's a good one.
Cat/proc/mtd
Report back what you see. If you want the Shell to have root enabled, type su. Type help to see all the commands. Type bash and then type help to see the bash commands. There is a lot of commands. Do some research.
Sent from a Time Lord, using his TARDIS.
Click to expand...
Click to collapse
I don't think the OP should be using 'su' ;-)

reminder
careful on using this app
it may cause some apps to fail if not used well
based on my experience

scott_doyland said:
I don't think the OP should be using 'su' ;-)
Click to expand...
Click to collapse
I'm alright in most things, but I just happen to be TE retarded.
Sent from my HTC MarvelC A510c using XDA

What did you do?
Sent from my HTC Wildfire S A510e using XDA

Nothing I just haven't used TE very much
Sent from my HTC MarvelC A510c using XDA

Related

[Q] Rooting Help

I apologize if this is already answered somewhere. I searched everywhere and could not find anything, but I might be using the wrong wording.
Anyways I am attempting to root my G2. I have managed to get adb onto the computer and it recognizes my phone. However, the next step in the wiki says to:
ON YOUR PC: Unzip the gfree_temp-root.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*​
However, it gives me error messages such as 'adb' is not recognized. I'm sure I am missing stupid but I cannot figure it out. Thanks in advance.
Just use visionary, it is much easier. Click temp root and when it is done perm root
http://android.modaco.com/content/h...m/320722/19-nov-r14-visionary-one-click-root/
Sent from my HTC Desire using XDA Premium App
I don't trust visionary. I want to go about this the safest way which is the gfree method.
Sent from my T-Mobile G2 using XDA App
Make sure that the adb (and other stuff tha got installed) is in your PATH environment, or cd to that diectory and work from there.
Sent from my HTC Vision using XDA Premium App
o0olove said:
I don't trust visionary. I want to go about this the safest way which is the gfree method.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
I used visionary and it worked just fine, but you do what you feel best with
Sent from my HTC Desire using XDA Premium App
bradley_e_smith said:
Make sure that the adb (and other stuff tha got installed) is in your PATH environment, or cd to that diectory and work from there.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
I checked the path a few times because I thought that was the problem. However, it all looks good. I'm going to try on another computer tonight and see if that helps.
Did you make sure that all the necessary drivers were installed?
When you type 'ADB Devices' does it show your phone?
I used visionary and terminal emulator and haven't had any problems at all.
_________________________________
Sent from my CM7 T-Mobile G2 using XDA app
tazz9690 said:
Did you make sure that all the necessary drivers were installed?
When you type 'ADB Devices' does it show your phone?
Click to expand...
Click to collapse
Yes it shows my phone when I type 'ADB Devices' That's what's causing my confusion. I've reinstalled all the drivers that are needed. From what I am seeing it SHOULD work.

help with my logcat

hi Guys, could somebody please take a look at this logcat and advise of errors. would be appreciated,
<script src="http://pastebin.com/embed_js.php?i=rCsXwsnQ"></script>
What is your issue?
Tell me everything. Hboot , rom, everything
Sent from my HTC Desire using XDA App
cheers mate
im soff
pvt 3
6.93.1002
rom is one i was testing other day i just added this file to make use of prtition it works but fc at start up other than that seems ok,. just wanted a expert opinion.ta
Out of interest, does the rom have:
"/system/bin/e2fsck_recvy"
As per the script?
yep that files in there
OK. Is there a reason you're not going with data2sd like I suggested?
to be honest yeah. ive been banging my head against a door with it i just can get it to run. ive got the gingerbread rom rooted bloat free i just want the extra space. so how would i slap data2sd in it?
well the thing with data2sd (as per my link to the thread in your other thread) is that there is actually support from the developer in that thread still. Also Droidzone is there at hand to help too.
If you follow the data2sd instructions and get stuck, you're more likely to get through it that way.
ok i get u mate. problem i had with that one was at the chmod says not found.
dan281082 said:
ok i get u mate. problem i had with that one was at the chmod says not found.
Click to expand...
Click to collapse
You have to be in adb shell or a linux terminal of some kind to use chmod. Its a linux command, but if you're not in adb shell on a windows machine, you are simply in an ms dos command prompt, which does not recognise linux commands
i have the adbshell under windows sdk tools yeah?
Can be anywhere as long as you make sure cmd is set to try the same location. See faq in my signature
Sent from my HTC Desire using XDA App

Adb

Please could someone help me in using Adb to allow me to transfer more files on the sd card without root? I don't know how to do it and would appreciate if someone could explain it to me.
Thanks
Sent from my R800i using XDA App
If you open the start menu on your computer and right click computer, click properties you should go to some menu and in the top left it will say device manager I think, then you will go to another menu search for other devices or your phones name which should be something like don't Ericson 4.0.A.2.... etc. Something beginning with 4 and has dots a zero and A. Lol
Sent from my EPIC R800i
XTC_ExQuisite_ said:
If you open the start menu on your computer and right click computer, click properties you should go to some menu and in the top left it will say device manager I think, then you will go to another menu search for other devices or your phones name which should be something like don't Ericson 4.0.A.2.... etc. Something beginning with 4 and has dots a zero and A. Lol
Sent from my EPIC R800i
Click to expand...
Click to collapse
Sorry but that wasn't even relevant.... to use adb you need android sdk.
move apps to sd? command is
adb shell
setinstall location or something like that.
move files to sd is
adb push filename /sdcard
thank me if I helped.
Sent from my R800i using Tapatalk
adb shell
pm setInstallLocation 2
reboot
I would thank, but it seems that I still don't understand. I ain't very deep into Android-know a few basics but I'll need a lot more than that to help me (no offence intended). Thank you
Sent from my R800i using XDA App
download the android sdk or a adb package.
extract/install the package/sdk
download adb via the sdkmanager if using the sdk
then load adb.exe via cmd e.g shift + right click - open command window here.
type 'adb shell'
(make sure usb debuggin is on on the phone and usb plugged in.)
then type 'pm setInstallLocation 2'
then type 'reboot'
then type 'exit'
all without quotes.
Still sounds so complex! Lol, will try though. Thanks
Sent from my R800i using XDA App
KindaUndisputed said:
Still sounds so complex! Lol, will try though. Thanks
Sent from my R800i using XDA App
Click to expand...
Click to collapse
ok well if you think that is complicated i will make it simple.
http://bit.ly/yZzQLJ
Thank you
Sent from my R800i using XDA App

No bootloader anymore

Hey guys,when I flashed cm9 primou the second time there isn't bootloader anymore also its very slow this time but the first time I installed it it was really really fast but now the important why isn't there bootloader anymore??its booting to recovery quickly without bootloader
Sent from my One V using xda premium
Let your rom boot. Connect the phone to your computer. In your computer go into command line. Then in command line navigate to the folder where the adb.exe is stored. If you have adb.exe in C:\android then you will type "cd C:\android". Then type "adb reboot bootloader". Type without quotation marks. This is the most reliable way how to boot into bootloader. You should have known this by now if you seriously want to be a developer.
You can also create a .bat file to execute the script. To do this create a text file and type there first line: "adb kill-server second" line: "adb reboot bootloader". Without quotiation marks of course. Then save the text file. Then make sure you can see the known extensions in windows and change the extension of the file to .bat. Put the file in the folder with adb and you only need to double click it to reboot into bootloader. You can create a shortcut to the file that you can put into your desktop.
Thank you but it worked this time
Sent from my One V using xda premium
There are others less experienced who may not know this.
donhashem.dh said:
Thank you but it worked this time I don't know why also why were u telling me that s*** cd and navigate to were you put the adb???? Dude when I was 12 I used to know these stuff
Sent from my One V using xda premium
Click to expand...
Click to collapse
stop lying and be honest!
if you knew how to reboot to bootloader using ADB you have done that instead of opening an useless thread like this!
1ceb0x said:
stop lying and be honest!
if you knew how to reboot to bootloader using ADB you have done that instead of opening an useless thread like this!
Click to expand...
Click to collapse
+ 1
Sent from my HTC One V
You both didn't get me I mean that when I wanna use cmd where I have to navigate to and all that stuff
Sent from my HTC One V using xda premium
hlavicka82 said:
You can also create a .bat file to execute the script. To do this create a text file and type there first line: "adb kill-server second" line: "adb reboot bootloader".
Click to expand...
Click to collapse
Just for curiosity, what does adb kill-server second do/mean? I mean, can't only adb reboot bootloader do ??
Sent from my HTC One V using xda app-developers app
Look dude I'm sorry for being rude but I was a little angry for what was happening to my phone.please accept my apology
Sent from my HTC One V using xda premium
soham_sss said:
Just for curiosity, what does adb kill-server second do/mean? I mean, can't only adb reboot bootloader do ??
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
That will kill the first server IF you have one opened, in order to let the new one to work (the one to reboot bootloader). It is a safe state to say the least because if you have one adb shell opened and you want to run the .bat that will open another shell, it won't work. And that's why you need the adb kill-server second .
donhashem.dh said:
Look dude I'm sorry for being rude but I was a little angry for what was happening to my phone.please accept my apology
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Apologies accepted.
donhashem.dh said:
Look dude I'm sorry for being rude but I was a little angry for what was happening to my phone.please accept my apology
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Its OK...everyone is learning...accept someone's advice in a good way instead of replying...I knew this when I was 12
Sent from my One V using XDA
"XDA IS a place to come to learn and share your knowledge.
If you are not here for those reasons then you are here for the wrong ones" - zelendel
1ceb0x said:
That will kill the first server IF you have one opened, in order to let the new one to work (the one to reboot bootloader). It is a safe state to say the least because if you have one adb shell opened and you want to run the .bat that will open another shell, it won't work. And that's why you need the adb kill-server second .
Apologies accepted.
Click to expand...
Click to collapse
Adb kill server second kills the first one?? Funny
Sent from my One V using xda premium

Im gonna root my gf's evo.. question tho?

Is it okay to use use a mac on htcdev.com?
Sent from my SPH-D710 using xda app-developers app
juan91 said:
Is it okay to use use a mac on htcdev.com?
Sent from my SPH-D710 using xda app-developers app
Click to expand...
Click to collapse
I don't see why not? Its just a website.
--------------------------------------------------------
Sent From My Rooted, S-OFF'd Blackberry Curve using the iOS XDA Application for Android.
But like the actual unlocking process fastboot and command prompt
according to this thread http://forum.xda-developers.com/showthread.php?t=1671577 its not a problem.
For Mac, no drivers needed, unzip Evo4GLTERoot.zip to your Downloads directory then open up a terminal and do:
Code:
cd Downloads/Evo4GLTERoot
chmod 755 *
sh runmemac.sh
thats a direct copy and paste from the page..make sure it applies to you though.
nrvlljr said:
according to this thread http://forum.xda-developers.com/showthread.php?t=1671577 its not a problem.
For Mac, no drivers needed, unzip Evo4GLTERoot.zip to your Downloads directory then open up a terminal and do:
Code:
cd Downloads/Evo4GLTERoot
chmod 755 *
sh runmemac.sh
thats a direct copy and paste from the page..make sure it applies to you though.
Click to expand...
Click to collapse
This is an original evo 4g though...
Not an lte.
But, that means htcdev.com will still work on Mac
Sent from my PC36100 using xda app-developers app
I really have to pay better attention..thats the 2nd time I've pointed at an irrelevant thread.

Categories

Resources