sendevent input path - General Questions and Answers

Hello
Im using Android 4.0.4 samsung GT I9100 in Bluestacks
what should i do to solve the issue im having
basically i cant do sendevents for mouse clicks. I followed some guides to do a getevent for touch emulation
I was able to install an emulator terminal for bluestacks adb and watch the getevents i needed to send a touch. However, whenever i use the commands, either in Taskker command shell or in the terminal. Nothing happens
it returns the error that the path could not be found even though i used a root file explorer to find the input directory and it was in fact there!
what should i try next?
-DM123:cyclops:

Related

ADB Terminal Emulator

When I open up my terminal emulator it says:
export PATH=/data/local/bin:$PATH
and no commands work anymore
I then tried to use adb through cmd in windows and I can't get anything to work that way. Everything was working fine yesterday, but now I can't get any commands to work. Any ideas?
bigupurself7 said:
When I open up my terminal emulator it says:
export PATH=/data/local/bin:$PATH
and no commands work anymore
I then tried to use adb through cmd in windows and I can't get anything to work that way. Everything was working fine yesterday, but now I can't get any commands to work. Any ideas?
Click to expand...
Click to collapse
When you say, terminal emulator... you mean on your phone, right?
When you try running adb commands in windows -- what's the exact error message you're getting?

Some problems with rooting EVO with unrEVOked

Hello,
First off, let me say, this is my first android device. I have some experience with linux and previously owned a rooted Palm Pre.
I have an HTC EVO, and have rooted it (at least I think it's rooted), with a program called unrEVOked. It flashed a NAND called ClockworkMod Recovery (2.5.0.1), and I can get to the shell using the adb shell command when it is in recovery mode.
However, even with the SuperUser app installed, I'm having trouble running sudo or any command at the terminal (on the phone), and the apps appear to also be having trouble executing any commands that are within /sbin/ (such as killall for the Shark capture packet sniffer). This is persistent while in USB Debugging Mode and running adb shell.
I didn't have to interact with the system at all during unrEVOked, including creating a user, which struck me as odd. Also, never set up an SSH server daemon, but that's okay. I'd be a happy guy if 1) I could actually use commands in /sbin/ and programs could also do this. Note that at a terminal, when I run aname, it tells me that I don't have permission. sudo su does the same.
Alright... I can get su root via the adb shell and terminal emulator.
androidpolice com/2010/05/24/that-was-quick-evo-4gs-already-been-rooted/
It still doesn't appear that apps like a file manager, and Shark packet sniffer can get root though; even with granting them SuperUser access. Any ideas?
Any help is appreciated.
Thanks,
Matt

Changing icons ERROR

Hello. I have rooted my phone, with superuser mode. or w.e you guys call it.
I was trying to change the Android icons(Rogers HTC MAGIC Android 2.1) using this guide: http://forum.xda-developers.com/showthread.php?t=927405
BUT, when I type adb shell, then su a # pops up on cmd. When I type the other commands nothing happens. EG when I type cp /sdcard/HtcContacts.apk /system/app/HtcContacts.apk it displays cp unknown. What's going on? I have also given it superuser privileges. Help? ^^;

Super User - Cracked Screen

Hi, I have a BIG Optimus 2X, but i got a crack on the screen from left to right in the middle of the screen and i can only use the top half of the screen. I have managed to use nvflash to remove my custom rom and install the original rom.
As i am waiting my company to give me the instructions to get the phone repaired, I began to wonder if there is a way to use the phone without using the touch-screen.
Surfing the web i found Droid VNC Server and i managed to install it and to START it via ADB
the command to start it via ADB is the following one:
# am start -a android.intent.action.MAIN -n org.onaips.vnc/org.onaips.vnc.Mai
nActivity
well now i have it on the screen of my phone, and i am able to select start, becouse it is just up the crack, but Superuser acces is asked, and i am unable to accept and grant SU acess.
So my question is:
Is there a way to give SU permissions to vnc server via ADB? or is there a table or a file in where su has granted and denied software ?
Thanks in advance.
A possible way to launch vnc server :
(tested on a broken screen nexus S)
(droid VNC server must be installed (can be done via play store))
(I haven't any su issues with this method)
1: set execution right (this has to be to done only once) :
Code:
adb.exe shell chmod 766 /data/data/org.onaips.vnc/files/androidvncserver
2: manualy launch the executable :
Code:
adb.exe shell /data/data/org.onaips.vnc/files/androidvncserver
3: from an other window set port forwarding :
Code:
adb.exe forward tcp:5901 tcp:5901
4: from PC launch your favorite vnc viewer

stack corruption detected

I´m runnig a Moto G5+ (potter) 7.0 stock rom, rooted with magisk 16.
Since a few days I recognize an error when opening a terminal emulator or using adb from a windows PC and just typing the command
Code:
getprop
from terminal emulator or
Code:
adb shell getprop
from PC the output is
Code:
stack corruption detected
.
I´m not new to android and know how to flash roms or kernels and stuff like this but I´m not so good in terminal commands. I googled for it but the answers I found were a bit above my level of knowledge. Can someone help me out a bit and explain what this message means exactly and how to debug and solve it?
I was able to run this command a few weeks ago without problems, also rooted with magisk. Could it be any third party app or a setting?
Any help much appreciated.
edit: attached a log when typing getprop into the terminal emulator.
get same error

Categories

Resources