Android App Touchevent - HTC Sensation XL

Hey Guys,
i am trying now for hours to send a touchevent from adb to our htc sensation xl.
Can some1 help me? I am sending these:
adb -s HT1C8VZ05000 shell sendevent /dev/input/event1 3 35 200
adb -s HT1C8VZ05000 shell sendevent /dev/input/event1 3 36 500
adb -s HT1C8VZ05000 shell sendevent /dev/input/event1 1 330 1
adb -s HT1C8VZ05000 shell sendevent /dev/input/event1 0 0 0
But nothing happens?
Any1 did this already?

Related

[dev] docks and hidden menus

Dock home screens
Code:
adb shell am start -n com.motorola.dlauncher/.DLauncher
adb shell am start -n com.motorola.smartdock/.productivitydock.ProductivityDock
adb shell am start -n com.motorola.smartdock/.bedsidedock.BedsideDock
adb shell am start -n com.motorola.smartcardock/.main.SmartCarDockMainActivity
Blur related
Code:
adb shell am start -n com.motorola.blur.setup/.SignUpOrLogInActivity
adb shell am start -n com.motorola.blur.service.blur/.CloudPickerActivity
Misc.
Code:
adb shell am start -n com.motorola.blur.home/.ProfileSwitcherActivity
adb shell am start -n com.motorola.blur.simmanager/.SimManagerActivity
adb shell am start -n com.android.settings/.TestingSettings

other installation method?? [JB][412]ClockWorkMod 6.0.2.8 + unsecure images for v

I have a few days trying to install the 4.1.2 recovery for the 20th but I come out a number of errors, the files are the mnt / sdcard but not found
C: \ Users \ Odi \ Desktop \ adb> adb shell
shell @ android :/ $ su
his
1 | shell @ android :/ # cat / mnt/sdcard/recovery-6028.img> / dev/block/mmcblk0p1
cat / mnt/sdcard/recovery-6028.img> / dev/block/mmcblk0p1
sh: cat: / mnt/sdcard/recovery-6028.img: No such file or directory
1 | shell @ android :/ #
C: \ Users \ Odi \ Desktop \ adb>
(Sorry for the English but google translator)
demiurgo.ra said:
I have a few days trying to install the 4.1.2 recovery for the 20th but I come out a number of errors, the files are the mnt / sdcard but not found
C: \ Users \ Odi \ Desktop \ adb> adb shell
shell @ android :/ $ su
his
1 | shell @ android :/ # cat / mnt/sdcard/recovery-6028.img> / dev/block/mmcblk0p1
cat / mnt/sdcard/recovery-6028.img> / dev/block/mmcblk0p1
sh: cat: / mnt/sdcard/recovery-6028.img: No such file or directory
1 | shell @ android :/ #
C: \ Users \ Odi \ Desktop \ adb>
(Sorry for the English but google translator)
Click to expand...
Click to collapse
you should type this before you call for shell on your device.
Code:
adb push recovery-6028.img /mnt/sdcard/
it should be:
Code:
adb push recovery-6028.img /mnt/sdcard/
adb shell
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
or
Code:
adb push recovery-6028.img /mnt/sdcard/
adb shell su -c "cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1"
adb shell su -c "sync"
Tim_Pan said:
you should type this before you call for shell on your device.
Code:
adb push recovery-6028.img /mnt/sdcard/
it should be:
Code:
adb push recovery-6028.img /mnt/sdcard/
adb shell
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
or
Code:
adb push recovery-6028.img /mnt/sdcard/
adb shell su -c "cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1"
adb shell su -c "sync"
Click to expand...
Click to collapse
which has worked for me was this thank you very much for your time
adb push recovery-6028.img /mnt/sdcard/
adb shell
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync

[Q] Galaxy S I9000 Unable to send AT commands.

Hello guys,
I am trying to send AT commands on Galaxy S (I9000). The problem is that I am not sure which device is the modem. Searching into file /system/build.prop, i get that the device used by rild is /dev/ttyS0 (rild.libargs=-d /dev/ttyS0). But there is no ttyS0 file into /dev directory, and as a result I get an error when trying to send commands to it.
Executing the command cat /proc/tty/drivers I get the following results:
/dev/tty /dev/tty 5 0 system:/dev/tty
/dev/console /dev/console 5 1 system:console
/dev/ptmx /dev/ptmx 5 2 system
/dev/vc/0 /dev/vc/0 4 0 system:vtmaster
rfcomm /dev/rfcomm 216 0-255 serial
g_serial /dev/ttyGS 250 0 serial
ttySAC /dev/s3c2410_serial 204 64-67 serial
pty_slave /dev/pts 136 0-1048575 pty:slave
pty_master /dev/ptm 128 0-1048575 pty:master
unknown /dev/tty 4 1-63 console
From these I guess that the modem is /dev/ttyGS0. So i go on and execute via adb or terminal IDE application:
stop ril-daemon
cat /dev/ttyGS0 &
echo -e 'AT+CGSN\r' > /dev/ttyGS0.
But I get no response. I have also installed busybox and execute
echo "AT+CGSN\r" | busybox microcom -t 500 /dev/ttyGS0
but i get no response either.
Reading this thread http://forum.xda-developers.com/showthread.php?t=1471241 I didn't get much help.
Does anyone know what is going on or what can I do to get response from modem?
Thank you in advance

I want to make a file root .bat Fire 7 (2019, mustang)

hi
I want to make a file root .bat
But the problem after the order adb.exe shell stops Does not continue automatically
This code is used
[email protected]:~/Downloads/mtk-su $ adb shell
mustang:/ $ cd /data/local/tmp
mustang:/data/local/tmp $ ./mtk-su
New UID/GID: 0/0
mustang:/data/local/tmp # getenforce
Permissive
mustang:/data/local/tmp # echo 0 > /sys/block/mmcblk0boot0/force_ro
mustang:/data/local/tmp # dd if=/dev/zero of=/dev/block/mmcblk0boot0 bs=512 count=8
8+0 records in
8+0 records out
4096 bytes transferred in 0.001 secs (4096000 bytes/sec)
mustang:/data/local/tmp #
Click to expand...
Click to collapse
You want to make a Windows Batch file for your Fire 7?
1. To open Notepad via Run. Open run using the PC keyboard. Press Windows key + R key and type notepad.exe
2. Type the batch script:
Code:
@echo off
adb devices
pause //To pause the running scripts
adb push C:\Desktop\path\to\mtk-su /data/local/tmp
adb shell
cd /data/local/tmp/
chmod -755 mtk-su
./mtk-su
3. Save the file as a .bat file
Unfortunately not work

One-click root ..amonet-mustang

Hi ..
I have a script for device amonet-mustang
I want when I run a file flash-B.sh
to do everything automatically
When I run my script it doesn't work .. say Permission denied
link file
https://www.mediafire.com/file/iioog...lash-B.sh/file
Quote:
#!/bin/bash
args=("[email protected]")
function goto
{
label=$1
cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
eval "$cmd"
exit
}
echo[*] OPEN Done ...
adb wait-for-device
adb devices
adb push arm/mtk-su /data/local/tmp
adb shell chmod 777 /data/local/tmp/mtk-su
echo[*] File Push Done...
adb shell "/data/local/tmp/mtk-su -c echo 0 \> /sys/block/mmcblk0boot0/force_ro"
adb shell "/data/local/tmp/mtk-su -c dd if=/dev/zero of=/dev/block/mmcblk0boot0 bs=512 count=8"
echo[*] block Done...
adb reboot
echo[*] Reboot DONE .
./bootrom-step.sh
echo[*] bootrom-step DONE .
./fastboot-step.sh
echo[*] You are now in Recovery ..plz Format your Amazon ...
sleep
exit
Click to expand...
Click to collapse
say
dd: /dev/block/mmcblk0boot0: Operation not permitted
1+0 records in
0+0 records out
0 bytes transferred in 0.001 secs (0 bytes/sec)
Click to expand...
Click to collapse
PRInCEI7 said:
Hi ..
I have a script for device amonet-mustang
I want when I run a file flash-B.sh
to do everything automatically
When I run my script it doesn't work .. say Permission denied
link file
https://www.mediafire.com/file/iioog...lash-B.sh/file
Quote:
say
Click to expand...
Click to collapse
Link is dead

Categories

Resources