Android Terminal Emulator Application Usage - Android Q&A, Help & Troubleshooting

I was wondering if we can manage commands like
adb logcat > somefile.txt
adb fastboot flash some.IMG
Like commands which we use during custom ROM installation or while testing it by connecting to pc.
Is there any way to manage these commands inside an android terminal emulator app.
I tried to use those command directly after switching to root access but it didn't work out for me.
Does anyone knows if it is possible and if it is what is the correct way to do it.
I am not searching for app just a way to do it through your phone.
Sent from my HOV using CM10....

Related

Root info

I have used the instantroot method of rooting my fone (hero)
How do i know if it has worked ?
is there a new app or terminal window installed lets me control apps and settings etc
The easiest way to test if the device is rooted is to open another command prompt in the tools dir and type
adb root
If it returns that adb is already running in root, then you're all set.
Try google next time.

gps.conf

My GPS works OK only if I restart the phone with GPS enabled.
But I have still nord-america.... in system/etc/gps.conf
I was trying many methods to change this gps.conf file also root explorer.
What everything must be installed and enabled, please do not tell me just the last step.
When I was in Terminal emulator I was typing #SU and it was OK, but after typing "adb shell" I've got error message.
I have also Titanium & busy box and "USB Debug Mode" enabled, nothing works.
My root is not Writable
Hi, did you type adb shell on your phone's terminal? Then, don' do it adb is for the android sdk on the computer! what method are you doing? Maybe they were using adb to speed up the process, because typing on the terminal emulator makes any terminal typing process a nightmare...
SO: if you use terminal emulator, just type the commands for the editing,
or isntall android sdk, and you can use the adb commands
regards,
usertotya
usertotya said:
Hi, did you type adb shell on your phone's terminal? Then, don' do it adb is for the android sdk on the computer! what method are you doing? Maybe they were using adb to speed up the process, because typing on the terminal emulator makes any terminal typing process a nightmare...
SO: if you use terminal emulator, just type the commands for the editing,
or isntall android sdk, and you can use the adb commands
regards,
usertotya
Click to expand...
Click to collapse
it's enough to install SGS tools and there it's possible to switch
----psy psy----
Leave on open space and make so:
* #3214789650 #
1) Commands
2) Delete GPS data
3) TTFF test
4) Start GPS
5) wait for the termination of all operations (the button "Start GPS" again will open)
6) Back
7) Get position
8) Wait for 1-2 minutes (if will find 8 and more satelite you can interrupt)
It is more than anything in gps.conf it is not necessary to do... Satelites catches within 30 seconds...
Forget about gps.conf...
I tried a million different ways of trying to get my GPS to work and to work fast, including the methods mentioned above. I don't say that these method are ineffective, but I found them to be not effective enough. The only thing that truely made my GPS work is enabling the WiFi/GPRS support for GPS. Yeah you have to spend some traffic, but you have satelites locked in 3-5 seconds. Worth trying I think. (;

Why can't fre3vo be run with a script using script manager?

Since we now have more than one solution that provides full root access between reboots, I figured I'd try writing a shell script to run fre3vo. I can... and it runs... but I get the message "this device is not supported by this exploit".
So why does it run from ADB and not a script? Does the phone have more rights/access when connected via ADB? If the script would work, we could write one that could run after every reboot (using script manager) and it'd be a permanent solution.
Mike
I am trying the same thing with the easyfre3vo package...Setting the root.redo.bat to 'run as root', and executing just seems to hang...
Any ideas?
Sent from my PG86100 using XDA App
What about that app "gscript lite", or " adb wireless"?
Sent from my 3rd Dimension of Evolution
ADB has different permissions compared to a terminal on the phone. A terminal emulator on the phone and/or a tool like Gscript doesn't have the ability to do anything in the /data/local/tmp directory like ADB does.
ADB over wifi needs root, so you can't use it to run fre3vo since you don't have root - you can use it AFTER you've run fre3vo though.

Help on how to do this commands !

Hello sir! I just wana ask question on how to run commands like this
su -c /system/etc/CrossBreeder/REMOVE_TETHER_BOOST
i've seen this in the Cross Breeder thread. I just wanna try it to reduce the lag on my phone and maybe also to speed it up!
but if i came across with this unexpected problems . i really dont know how to run this commands. so i just wanna ask . how do i run commands like that? THANKS IN ADVANCE
These commands are run via a terminal emulator on your phone. For this command, your phone have to be rooted.
Alternatively, you can use adb shell. To do so, you have to download the android sdk or google for adb for just downloading the relevant part of it, then you have to run adb root to get root privileges (the adb binary can be found under Path/to/Android-SDK/platform-tools) and adb shell to get a root shell. There you have to type in /system/etc/CrossBreeder/REMOVE_TETHER_BOOST (the su -c is not needed there because you already have root privileges).

[Q]

Hi,
I'm trying to run a bash script on Android without root access (Nexus 4) using Terminal IDE app. Script fails with output "parent shell dies". I tried to run the same script on Ubuntu on Android phone with root access and script worked fine. In both cases I used the same version of bash shell. Does anyone know how can I solve this?

Categories

Resources