Comments (99)
i've made some test to a non-rooted device, looks the error is :
10-16 13:36:30.556: ERROR/dalvikvm(2112): Can't open dex cache
'/data/dalvik-cache/data@local@[email protected]@classes.dex': No such file or
directory
Original comment by [email protected]
on 16 Oct 2009 at 12:26
- Changed state: Accepted
- Added labels: Priority-Critical
- Removed labels: Priority-Medium
from androidscreencast.
Like kochansen, I tried the new 0.2 release - this time, no permission denied
message
and can see the device! Excellent- Thanks! I can right mouse click to rotate
the
device and view the device directory structure.
However, I just cannot use the mouse nor the keyboard to control it. I have to
control it on the actual device and I can see the effect in the remote control
software.
Usual unrooted 2.73 UK htc hero, 1.5 android sdk, jdk 6.
Original comment by [email protected]
on 16 Oct 2009 at 1:34
from androidscreencast.
Same issue here.
Java 1.6
HTC Magic, Firmware 1.5, Kernel 2.6.27 (No root)
SDK 1.6
Original comment by [email protected]
on 16 Oct 2009 at 1:40
from androidscreencast.
You must have a rooted device for now because it require write permission in
/data/dalvik-cache/.
I'm looking for another way to inject mouse and keyboard events for non-rooted
devices.
Original comment by [email protected]
on 16 Oct 2009 at 3:13
from androidscreencast.
Issue 14 has been merged into this issue.
Original comment by [email protected]
on 24 Oct 2009 at 3:23
from androidscreencast.
any news on this issue... or has it been "abandoned" to the non-root users :)
Original comment by [email protected]
on 8 Nov 2009 at 6:28
from androidscreencast.
Java 1.6
HTC Magic, Firmware 1.6, ROOT
Mouse OK
Keyboard NOTHING
What permissions are required to operate the keyboard?
I have write permissions in /data/dalvik-cache/
GOOD JOB
Original comment by [email protected]
on 9 Nov 2009 at 9:39
from androidscreencast.
same problem here, real shame for us non-rooters.
Java 1.6
HTC Magic, Firmware 1.6 (no root)
SDK 1.6
Original comment by [email protected]
on 16 Nov 2009 at 11:00
from androidscreencast.
I have a rooted Sprint Hero. I still cannot control my device with the keyboard
or
mouse. I can see it just fine. Right click works.
Using Win7 x86
Java 6.1
SDK 1.5
HTC Hero CDMA w/root
Original comment by [email protected]
on 16 Nov 2009 at 5:15
from androidscreencast.
I have a Sprint Hero w/Google. I have same issue, I can see the screen and it
refreshed when I physically mess with the phone...but no keyboard or mouse
control of
the phone.
WinXP Pro
Java 6.1
SDK 1.5
Original comment by [email protected]
on 18 Nov 2009 at 1:05
from androidscreencast.
I have run "adb shell chmod 777 /data/dalvik-cache", but I am still unable to
control
my G1 with my keyboard.
Windows XP Pro SP3
Java 6 v 17
SDK 1.6
HTC Dream\G1 Cyanogen v 4.2.5 rooted
Original comment by [email protected]
on 18 Nov 2009 at 5:24
from androidscreencast.
Mouse is fine here, no keyboard though. Running a rooted Magic with CM 4.0.4
Original comment by [email protected]
on 20 Nov 2009 at 10:31
from androidscreencast.
[deleted comment]
from androidscreencast.
Same issue here. Mine is rooted and right-click flips orientation but nothing
else
works.
Windows XP SP3
Jave 6 v 17
SDK 1.6
HTC Hero\G2 Modaco Core ROM rooted
Original comment by [email protected]
on 26 Nov 2009 at 11:26
from androidscreencast.
I get full control of the device with the mouse, just not accepting any
Keyboard Input.
Device info:
DEVICE: Merlot MyTouch 3G
STATUS: Rooted - Cyanogen Recovery 1.4 +JF
ROM: Cyanogen v4.2.7.1 (12/02)
PC is running Windows XP Pro SP3
Original comment by [email protected]
on 7 Dec 2009 at 11:09
from androidscreencast.
Same in my case
Original comment by [email protected]
on 14 Dec 2009 at 5:28
from androidscreencast.
no mouse, no keyboard. only right clicks work.
DEVICE: G1
STATUS: non-rooted
Java 1.6
SDK 1.6
Original comment by [email protected]
on 15 Dec 2009 at 8:57
from androidscreencast.
same here...rooted G1. not able to mouse, keyboard. only right clicks works.
DEVICE: G1
STATUS: rooted
Java 1.6 v 17
SDK 2.0
vista ultimate
Original comment by [email protected]
on 25 Dec 2009 at 9:55
from androidscreencast.
I got it working on a rooted Motorola Droid with many trials/tribulations.
Here were steps I took:
1. Start an emulator and get ScreenCast app running against it
2. adb pull /data/dalvik-cache/data@local@[email protected]@classes.dex from
the
emulator to local file on my pc
3. Take emulator down
4. Connect my rooted droid
5. adb push the file to /data/local/data@local@[email protected]@classes.dex
6. adb shell
7. su
8. mv /data/local/data@local@[email protected]@classes.dex /data/dalvik-
cache/data@local@[email protected]@classes.dex
Not quite the consumer approach, but definitely works.
For some reason my right click is throwing an error at the moment, but it's
probably
due to code changes I experimented with.
This is going to save me so much time from having to stop working to pick up my
phone
to respond to texts, etc.
Original comment by [email protected]
on 26 Dec 2009 at 12:32
from androidscreencast.
Thank you for your detailled feedback, it really helps. Looks like dalvik-cache
is
not writable from shell without "su" on your droid... interesting
If you have usefull code changes, you can contact me for SVN write access.
Original comment by [email protected]
on 28 Dec 2009 at 9:13
from androidscreencast.
i confirm tjcSmith's behavior. I can use my PC keyboard and the mouse to type
onto my
droid device.
I do get the right click error, but i noticed one behavior, if i clicked on the
top
left corner (right below the edge), i was able to rotate the screen. I realized
the
error had something to do with coordinates so maybe clicking in different areas
might
not produce the error.
In a nutshell, I can use my keyboard and mouse from my PC to control the droid.
I AM
REALLY REALLY HAPPY.
Keep up the good work.
Thanks a lot. Let me know if you wish me to do some testing with the droid. I
would
be glad to do it. I am new with android so might be a bit slow, but i'll get
there.
Original comment by [email protected]
on 5 Jan 2010 at 7:30
from androidscreencast.
Is it possible to work around write permissions for non-rooted users in the
same way
as PDANET has worked around it for tethering? Maybe with a more robust PC-side
program to be installed?
Original comment by [email protected]
on 11 Jan 2010 at 10:10
from androidscreencast.
I also had to do the same procedure tjcSmith noted for my Rooted Sprint HTC
Hero.
After that it seems to be working pretty well!
Original comment by [email protected]
on 11 Jan 2010 at 10:37
from androidscreencast.
TJ:
My apologies. I completely understand what you are doing but I'm getting stuck
on #2.
Can you please give me a more detailed (complete) command I can type into my
command
window to "pull" this file?
Also, while you're at it....a complete "push" command would be wonderful too.
Thanks,
Matt
1. Start an emulator and get ScreenCast app running against it
2. adb pull /data/dalvik-cache/data@local@[email protected]@classes.dex from
the
emulator to local file on my pc
3. Take emulator down
4. Connect my rooted droid
5. adb push the file to /data/local/data@local@[email protected]@classes.dex
6. adb shell
7. su
8. mv /data/local/data@local@[email protected]@classes.dex /data/dalvik-
cache/data@local@[email protected]@classes.dex
Original comment by [email protected]
on 19 Jan 2010 at 7:37
from androidscreencast.
I was able to perform TJ's 8 steps....I now have mouse control...of course,
there's a
3 second delay between click and action...but you get what you pay for ;-)
Typing control is much more responsive..I find it quick useable for txting
Original comment by [email protected]
on 20 Jan 2010 at 11:26
from androidscreencast.
Here is an updated more literal set of steps as requested by sudermatt
1. Start an emulator and get ScreenCast app running against it (DO NOT HAVE
YOUR
PHONE CONNECTED YET)
2. adb pull /data/dalvik-cache/data@local@[email protected]@classes.dex
/TEMPclasses.dex
This copies a file from the emulator to local file on my pc
3. Take emulator down
4. Connect my rooted droid
5. adb push /TEMPclasses.dex
/data/local/data@local@[email protected]@classes.dex
This copies from from local pc to a temporary location on the phone
6. adb shell
7. su
8. mv /data/local/data@local@[email protected]@classes.dex /data/dalvik-
cache/data@local@[email protected]@classes.dex
This moves file from the temporary location on the phone, to the permanent location
it needs to be for dalvik-cache to use it.
Original comment by [email protected]
on 21 Jan 2010 at 6:51
from androidscreencast.
Confirmed that the instructions in Comment 26 work to the letter. No
right-click
crash or error for me. Droid running 2.0.1, OS X 10.5.8.
Original comment by [email protected]
on 22 Jan 2010 at 6:20
from androidscreencast.
I'm not running droid I am running 1.6 rooted I tried this last week and it
worked
but I flashed a new rom and not I can't get it set up it says tempclasses.dex
doesn't
exist and clues.
Original comment by [email protected]
on 25 Jan 2010 at 6:59
from androidscreencast.
Issue 23 has been merged into this issue.
Original comment by [email protected]
on 26 Jan 2010 at 5:13
from androidscreencast.
Sorry, not go for my rooted droid (stock 2.0.1 ROM)... Tried the 8 steps
outlined
above, the .dex file IS showing in the proper folder on the device but there is
still
NO keyboard OR MOUSE control for my Moto Droid... Looking forward to future
versions.
I SOOOO miss MyMobiler on my old WM phone.
Original comment by [email protected]
on 1 Feb 2010 at 5:17
from androidscreencast.
Try looking at adb logcat output (from desktop shell prompt, type adb logcat)
when you
initally start the .jnlp file. It should give some indication of why your
droid is
having difficulty starting the injector application. May be something like
can't find
InjectAgent.jar or may reveal a mis-type in the name of the file or something.
Original comment by [email protected]
on 1 Feb 2010 at 3:25
from androidscreencast.
Also, check in Settings - Applications - Development that the "USB Debugging"
checkbox
is enabled.
Original comment by [email protected]
on 1 Feb 2010 at 3:27
from androidscreencast.
For my rooted android on Galaxy.
adb shell
su
chmod 777 /data/dalvik-cache
cd /data/dalvik-cache
chmod 777 ./*
And no, reload screencast and it's ok
Hope that help
Original comment by osmoze.linux
on 4 Feb 2010 at 10:54
from androidscreencast.
You can do the chmod to make /data/dalvik-cache writeable, however that does
open an
opportunity for some other application to have more access than is desired -
which is
why the Android team made it not writable. That's why I chose to just get
this
particular code in place, since I've been able to review the source and know
what it is
doing.
Original comment by [email protected]
on 4 Feb 2010 at 3:06
from androidscreencast.
damn keep up the good work! I was hopin to find a way to work this but I'm a
little
of a newb , i do not know what you are referring to when you talk about
"emulator"
or any of those 8 steps really... But damn proud of what you got working so
far. Side
note may help, On the PDANET app theres a feature to send and receive text
messages
on my desktop.
Original comment by [email protected]
on 14 Feb 2010 at 11:26
from androidscreencast.
awwh man!! Got it working and then read that it droid has to be rooted for
mouse and
keyboard use. Doh! Would love to get them working.
Keep up the good work.
Original comment by [email protected]
on 15 Feb 2010 at 9:17
from androidscreencast.
Awesome app! Both mouse and keyboard work on the Nexus One with the CyanogenMod
5.0.2!
Original comment by [email protected]
on 19 Feb 2010 at 11:06
from androidscreencast.
Here is full-proof instructions if you can't get ScreenCast Mouse and Keyboard
to
work. Thanks to tjcsm
1. Start an emulator and run ScreenCast
2. adb pull /data/dalvik-cache/data@local@[email protected]@classes.dex
/TEMPclasses.dex
3. Quit emulator down
4. Connect your rooted droid
5. adb push /TEMPclasses.dex
/data/local/data@local@[email protected]@classes.dex
This copies from from local pc to a temporary location on the phone
6. adb shell
7. su
8. mv /data/local/data@local@[email protected]@classes.dex /data/dalvik-
cache/data@local@[email protected]@classes.dex
9. chmod 777 /data/dalvik-
cache/data@local@[email protected]@classes.dex
Original comment by [email protected]
on 12 Mar 2010 at 12:42
from androidscreencast.
First and foremost thanks for the great piece of software. When the bugs get
sorted
out this will easily be one of the best (if not the best) app for the android
OS.
I'm unable to control my Droid eris using my laptop or desktop. I am able to
use
right click in order to change screen orientation, but that is it.
Laptop is running Arch Linux 86_64 with the latest kernel and updates. Desktop
is
running Windows 7 x64 with all of the latest updates.
My Droid Eris is rooted with 2.1 using a custom image (flashed via recover
partition). Permissions on /data/dalvik-cache are as follows:
drwxrwx--x 1 1000 1000 2048 Apr 24 02:32 /data/dalvik-cache
Original comment by [email protected]
on 25 Apr 2010 at 1:04
from androidscreencast.
Can we upgrade android htc hero 1.5v to 1.6v???
Original comment by [email protected]
on 27 Apr 2010 at 6:44
from androidscreencast.
Great!!!
Works fine with WinXP and Gentoo/Linux 2.6.33 for my Rooted Milestone :D
Original comment by [email protected]
on 6 May 2010 at 6:25
from androidscreencast.
Tried screencast On Android G1, was able to get the display, but the mouse and
keyevents were not working. Even tried the procedure for moving classes.dex as
explained above, but I am not able to move the dex file to the dalvik_cache
folder.
It gives me a permission denied error. Even "su" returns me permission denied
Original comment by [email protected]
on 11 May 2010 at 10:20
from androidscreencast.
I have a rooted Nexus One running Cyanogenmod and I can't get the mouse or
keyboard
to work, either. Right click is the only thing that works. When I physically
pick up
my phone and open something androidscreencast does show what I'm doing.
Original comment by [email protected]
on 13 May 2010 at 12:52
from androidscreencast.
I have no Mouse/Keyboard control beyond screen rotation, however, i have my
Dalvik-
Cache moved to the cache partition, so thats why /Data/Dalvik-cache isnt being
used
correctly
Original comment by [email protected]
on 16 May 2010 at 7:23
from androidscreencast.
Mouse and keyboard does not work on mine rooted HTC Tattoo as well.
Original comment by [email protected]
on 1 Jun 2010 at 2:08
from androidscreencast.
No keyboard or left mouse button (not even the buttons at the bottom left of the
window work) support on my rooted Milestone either. :(
Original comment by [email protected]
on 6 Jun 2010 at 3:25
from androidscreencast.
I went with Comment 33 by osmoze.linux using the chmod command and works
without a
hitch including right click.
Samsung Moment 2.1 DE03 rooted
Thank you!
Original comment by [email protected]
on 7 Jun 2010 at 2:27
from androidscreencast.
Step 33 worked for me.
Motorola Milestone 2.1 rooted.
Original comment by [email protected]
on 8 Jun 2010 at 8:31
from androidscreencast.
[deleted comment]
from androidscreencast.
I can also confirm that tjcSmith's procedure (Comments 19 and 26) works on the
HTC Evo.
I am able to use my PC keyboard and the mouse to type and click onto the
device. Recently coming from WinMo, where I had been using the excellent SOTI
Pocket Controller Pro software for years, the ability to control my new Android
phone from the PC is a godsend. Thanks!
Original comment by [email protected]
on 13 Jun 2010 at 3:31
from androidscreencast.
I can also confirm that tjcSmith's procedure (Comments 19 and 26) works on Moto
Droid running FroYo FRF57.
Original comment by [email protected]
on 15 Jun 2010 at 5:50
from androidscreencast.
Moving the .dex file to Dalvik-Cache caused my Milestone to reboot as soon as
USB was connected. Then, after the reboot, the file was gone, and no more
reboots after connecting USB... guess it didn't like it all too much... :|
Any ideas?
Original comment by [email protected]
on 15 Jun 2010 at 6:29
from androidscreencast.
Make sure you have upgrded to the relevant revision of the SDK and then start
an emulator for THAT version to grab the .dex from... I figured that out when
the r7/2.1u1 .dex wouldn't work on my Droid running r8/2.2... updated to the r8
SDK and redid the steps and alls well for me... I don't have a Milestone to
test this on so your mileage may vary...
Original comment by [email protected]
on 15 Jun 2010 at 7:11
from androidscreencast.
You may be onto something there - I was using an Android 2.2 emulator, and my
Milestone is running 2.1. I'll give it another try tomorrow :)
Thanks for the tip!
Original comment by [email protected]
on 15 Jun 2010 at 7:16
from androidscreencast.
Hmmm, for some reason I can't move the file to dalvik-cache.
mv ... failed on '/data/local/...' - Cross-Device link.
Could it be because of my having moved Dalvik-Cache to a different partition?
Moving the file via Root Explorer doesn't work either (says it's moving the
file and then doesn't do anything)...
Original comment by [email protected]
on 16 Jun 2010 at 10:15
from androidscreencast.
Hi there all.
I'm new to this things and i have a problem.
I've a htc magic 1.6.
I'm running windows vista sp2.
I've no root access.
Like many others i can see the htc magic screen but with no mouse and keyboard
access.
With adb logcat i was able to see an exception when running android screencast.
Can you please help me?
Thanks in advance.
CV
D/AndroidRuntime( 1756):
D/AndroidRuntime( 1756): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1756): CheckJNI is OFF
D/AndroidRuntime( 1756): --- registering native functions ---
I/ActivityManager( 74): Process laik.widget.agenda (pid 441) has died.
E/dalvikvm( 1756): Can't open dex cache '/data/dalvik-cache/data@local@tmp@Injec
[email protected]': No such file or directory
I/dalvikvm( 1756): Unable to open or create cache for /data/local/tmp/InjectAgen
t.jar
E/AndroidRuntime( 1756): ERROR: unable to load class 'net.srcz.android.screencas
t.client.Main' from 0x4001ddd0
E/AndroidRuntime( 1756): ERROR: could not find class 'net.srcz.android.screencas
t.client.Main'
D/AndroidRuntime( 1756): Shutting down VM
W/dalvikvm( 1756): threadid=3: thread exiting with uncaught exception (group=0x4
001da68)
E/AndroidRuntime( 1756): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 1756): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 1756): java.lang.ClassNotFoundException: net.srcz.android.scre
encast.client.Main in loader dalvik.system.PathClassLoader@4001ddd0
E/AndroidRuntime( 1756): at dalvik.system.PathClassLoader.findClass(PathC
lassLoader.java:243)
E/AndroidRuntime( 1756): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:573)
E/AndroidRuntime( 1756): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:532)
E/AndroidRuntime( 1756): at com.android.internal.os.RuntimeInit.finishIni
t(Native Method)
E/AndroidRuntime( 1756): at com.android.internal.os.RuntimeInit.main(Runt
imeInit.java:186)
E/AndroidRuntime( 1756): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1756): Crash logging failed: java.lang.NullPointerException
I/Process ( 1756): Sending signal. PID: 1756 SIG: 9
Original comment by [email protected]
on 17 Jun 2010 at 2:20
from androidscreencast.
what is "rooted"?
Original comment by [email protected]
on 14 Jul 2010 at 9:47
from androidscreencast.
Comment 26 solved all problems with my rooted moto droid running Froyo. The
only hold up was in step 2. Do not copy/paste from this page, it doesn't space
things right. When manually typed out I did not have problems.
Original comment by [email protected]
on 16 Jul 2010 at 9:43
from androidscreencast.
Isn't working on my rooted Samsung Galaxy i7500 (galax0 1.6.3.3).
I can see the screen, but no control with keyboard or mouse.
I followed the instructions I saw in some comments but isn't work.
Any one with the same devide had success?
Original comment by [email protected]
on 9 Aug 2010 at 6:48
from androidscreencast.
Works 100% with TJs fix, now the lil problem of the speed lol!
Original comment by [email protected]
on 30 Aug 2010 at 5:20
from androidscreencast.
I have rooted Xt720. but don't work mouse and key. Finally I solved this
problem.
I used RootExplorer for this issue. just change dalvik-cache directory
Permission. Checked Other Read/Write Permission. Keyboard/mouse all work fine.
Original comment by [email protected]
on 14 Sep 2010 at 5:19
from androidscreencast.
Thanks, RootExplorer change dalvik-cache directory permission solved problem
with keyboard/mouse on my Samsung Galaxy 3. In Call menu keyboard/mouse not
working :(
Original comment by [email protected]
on 17 Sep 2010 at 9:30
from androidscreencast.
I don't have data@local@[email protected]@classes.dex anywhere in my android
filsystem. How do I do then? Copy from somewhere else?
I'm running Galaxy 5 GT-I5500B with android 2.1.
My computer OS is Arch Linux. Thank you!
Original comment by [email protected]
on 19 Sep 2010 at 7:26
from androidscreencast.
I just used root explorer and changed permission of directory dalvik-cache to
777 and it works fine with mouse and keyboard. Is this a security risk?
None of the other ways worked because it kept saying TEMPclasses.dex did not
exist so I could not pull what is not there.
Rooted Moto Droid 2.2
thanks for help!
Original comment by phaze3131
on 24 Sep 2010 at 3:19
from androidscreencast.
Hi! I'm from Argentina, I've found this project searching in XDA and I think
it's really interesting.
I'm running it on Moto Milestone 2.1 rooted, and I can see my home, but I can't
control it, only view it.
Is there a solution to this without giving full control to dalvik cache
(security reasons)?
Thanks!
Original comment by [email protected]
on 30 Sep 2010 at 3:22
from androidscreencast.
Having the same on a Rooted Nexus one with FRG83 2.2.1
OSX.
Java app updates the screen, right click works, in app buttons, home, menu,
back, url do not work. mouse does not control device.
More then happy to provide more info.
Original comment by [email protected]
on 3 Oct 2010 at 9:53
from androidscreencast.
i'm on a rooted evo running the 10/6 nightly of CM6. no love with button
control. tried pushing the dex file and it didn't matter one bit. i can
right-click and rotate, i can explore. i cannot, however, manage to get the
phone to do squat using keyboard/mouse controls.
adb remounted prior to running java program, still no luck
Original comment by [email protected]
on 6 Oct 2010 at 8:08
from androidscreencast.
[deleted comment]
from androidscreencast.
[deleted comment]
from androidscreencast.
[deleted comment]
from androidscreencast.
Thank you TJ for the workaround, here is a super simplified version of the walk
through... if you can't follow this i don't know if you should be doing this.
{NOTE: CMD LINES ASSUME YOU INSTALLED ANDROIDSDK DIRECTLY TO C:\ and changed
its name... i.e. C:\AndroidSDK}
~Phone should not be connected yet~
1.Download AndroidSDK to C:\ and change its name to AndroidSDK
2.Run it and update everything (this will take a bit of time)
3.Make an AVD (Android Virtual Device) of your phone. Virtual Devices>New…
Give it a name (whatever is clever)
Target (your android version)
SD Card (size of SD)
Create AVD
4.Start AVD, let it load completely to android home screen
5.Start Screencast
6.Open command line (start>search>cmd)
7.In cmd type… (every line signifies the push of enter)
cd\
cd AndroidSDK\tools
adb pull /data/dalvik-cache/data@local@[email protected]@classes.dex mine.dex
8.Turn off emulator, Android SDK, and screencast
9.Connect ROOTED droid (MUST BE IN USB DEBUG MODE)
10.in cmd type…
adb push mine.dex /data/local/data@local@[email protected]@classes.dex
adb shell
su (wait a second b/c your phone will ask you to allow/deny access to Super User, allow)
mv /data/local/data@local@[email protected]@classes.dex /data/dalvik-cache/data@local@[email protected]@classes.dex
That’s it. Nothing of importance will post on cmd to let you know it worked.
Close out cmd and turn on screencast again. It should work fine no bugs or
crashes at all, right click works too. Admittedly it is a bit slow on screen
but input is instantaneous if looking at your phone. Also, your phone has to
stay in Debug mode for it to work.
Original comment by [email protected]
on 11 Oct 2010 at 12:24
from androidscreencast.
was able to make it work on my Droid 1 with no hassle----------Just got my
Droid 2 and it only displays. cannot control from the mouse or keyboard. Did
the steps in post 71 and still nothing. any ideas guys? Im rooted. One thing
I did notice what that if I click on explore at the top of screencast that the
data folder says "denied" if im root shouldnt this be wide open? hwo can I fix
that issue?
Original comment by [email protected]
on 15 Oct 2010 at 6:44
from androidscreencast.
Ok New symptom.....if im on the home screen nothing is working.....not keyboard
or mouse. BUT if i go into a message both work. I can email and also use the
buttons on the app. anyone know why it works in the apps but noot outside any
apps?
Original comment by [email protected]
on 15 Oct 2010 at 8:39
from androidscreencast.
I've just upgraded to 2.2 on my Milestone. None of the above methods are
working. The Chmod 777 worked for 10 seconds then stopped.
Its as if the system changes the security on the folder just when it needs it.
Original comment by [email protected]
on 20 Oct 2010 at 1:10
from androidscreencast.
I just tried pulling/pushing the .dex file and still no dice.
Moto Droid, 2.2 rooted. I can see it fine, but no input.
Original comment by [email protected]
on 9 Nov 2010 at 2:33
from androidscreencast.
Hi guys!! i have trouble with my hero.. :(
I can see the screen on my Mac but... i can not control it..
I have superuser control..
Where Am I wrong?
Original comment by [email protected]
on 16 Nov 2010 at 4:23
from androidscreencast.
HTC Vision (T-Mobile G-2) rooted, OS 2.2, tried before and after the pull/push
and chmod instructs above. Can view, but no mouse or keyboard. I do get this
in a popup while Screencast is loading:
java.lang.NullPointerException
at net.srcz.android.screencast.api.injector.Injector.connectToAgent(Injector.java:195)
at net.srcz.android.screencast.api.injector.Injector.init(Injector.java:175)
at net.srcz.android.screencast.api.injector.Injector.access$0(Injector.java:155)
at net.srcz.android.screencast.api.injector.Injector$1.run(Injector.java:26)
Original comment by [email protected]
on 23 Nov 2010 at 6:42
from androidscreencast.
had the same problem (no left mouse or keyboard) on rooted Epic.
I just changed the permissions on dalvik-cache directory as following:
adb shell
su
cd data
chmod 777 dalvik-cache
Restarted the desktop app and have full control now.
Is changing the permissions on that directory too risky? Is there a particular
file I can change permissions on instead of the entire directory? Thanks.
Original comment by [email protected]
on 4 Dec 2010 at 6:16
from androidscreencast.
Rooted DX i have some control mouse works in texts e-mails but it doesnt work
on any of the home screens the key board works but the directional keys only go
up down and to the right no left and i have the Droid explorer program on my
computer. Is there a really easy way to fix it so i have total and full
control? im not very computer savy sorry :(
Original comment by [email protected]
on 28 Dec 2010 at 7:05
from androidscreencast.
Just an update I can get this to work every time on my droid x (had a period
last month where I needed a replacement and went thru a few handsets before
asurion decided just to give me a new phone)
{NOTE: CMD LINES ASSUME YOU INSTALLED ANDROIDSDK DIRECTLY TO C:\ and changed
its name... i.e. C:\AndroidSDK}
~Phone should not be connected yet~
1.Download AndroidSDK to C:\ and change its name to AndroidSDK
2.Run it and update everything (this will take a bit of time)
3.Make an AVD (Android Virtual Device) of your phone. Virtual Devices>New…
Give it a name (whatever is clever)
Target (your android version)
SD Card (size of SD)
Create AVD
4.Start AVD, let it load completely to android home screen
5.Start Screencast (see note if screencast does not work)
6.Open command line (start>search>cmd)
7.In cmd type… (every line signifies the push of enter)
cd\
cd AndroidSDK\platform-tools
adb pull /data/dalvik-cache/data@local@[email protected]@classes.dex mine.dex
8.Turn off emulator, Android SDK, and screencast
9.Connect ROOTED droid (MUST BE IN USB DEBUG MODE)
10.in cmd type…
adb push mine.dex /data/local/data@local@[email protected]@classes.dex
adb shell
su (wait a second b/c your phone will ask you to allow/deny access to Super User, allow)
mv /data/local/data@local@[email protected]@classes.dex /data/dalvik-cache/data@local@[email protected]@classes.dex
That’s it. Nothing of importance will post on cmd to let you know it worked.
Close out cmd and turn on screencast again. It should work fine no bugs or
crashes at all, right click works too. Admittedly it is a bit slow on screen
but input is instantaneous if looking at your phone. Also, your phone has to
stay in Debug mode for it to work.
*******NOTE: the only bug I have found is that sometimes I need to scan with
adb devices to get screencast to work. to do this open cmd and:
cd\
cd AndroidSDK\platform-tools
adb devices
Also, I just did it to my droid while updating this post and noticed that
Screencast has been updated to scan for devices as well, BUT, I had no control
with keyboard or mouse. However, after doing the above steps I did.
good luck
Original comment by [email protected]
on 27 Feb 2011 at 8:31
from androidscreencast.
Comment 38 worked for me on HTC Hero with android2.3
Thanks Guys!
Original comment by [email protected]
on 5 Mar 2011 at 9:28
from androidscreencast.
Comment number 42:
I faced the same problem and fixed it
It has happened because you have not agreed to super user access.
When you enter su check you phone display
Original comment by [email protected]
on 22 Mar 2011 at 10:04
from androidscreencast.
I did the above steps several times on a rooted Android-3 ASUS Transformer
TF101. All the commands work and the files are in the right place but cannot
get mouse access. Right click rotates screen and the keyboard seems to work
fine. Just mouse issues.
with the log "adb logcat" I did see these messages if they make sense to anyone.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
W/WindowManager( 142): Input event injection failed.
I/InputDispatcher( 142): Dropped event because input dispatch is disabled.
Original comment by [email protected]
on 29 Jun 2011 at 5:30
from androidscreencast.
question will it ever be able to work on the camera and video everything works
just fine like if i pulled up camera all the buttons work but you cant actually
see what the camera sees?
Original comment by [email protected]
on 30 Jun 2011 at 8:24
from androidscreencast.
I can verify that comment 33 (thanks) works on Motorola Droid. I was able to
get android screencast to display but had difficulty getting the mouse and
keyboard to work. I found the easiest way to resolve the problem was:
1)Download "Better Terminal Emulator Pro" from the market (there is a fee of $3.99 but worked well...other free terminal emulators and a basic version of $0.99 are available but not tested)
2)Open the application and proceed to the Shell section. Look for the words "Start as root" and make sure it is checked (this will start the terminal as root (device must be rooted)
3)Type in the following commands...
chmod 777 /data/dalvik-cache
cd /data/dalvik-cache
chmod 777 ./*
Start android screencast. Mouse and keyboard will work. There is some delay of
the typed words and mouse clicks, but only on the pc (screencast). No delay on
the actual android device. Hope this helps others who are having difficulty.
Best of luck and leave a reply if helpful.
Original comment by [email protected]
on 24 Oct 2011 at 1:45
from androidscreencast.
same here...rooted G1. not able to mouse, keyboard. only right clicks works.
DEVICE: G1
STATUS: rooted
Java 1.6 v 17
SDK 2.0
vista ultimate
Original comment by [email protected]
on 5 Mar 2012 at 1:15
from androidscreencast.
galaxy s2 on ICS
followed the procedure, but only the keyboard works :/
Original comment by [email protected]
on 8 May 2012 at 9:40
from androidscreencast.
[deleted comment]
from androidscreencast.
No Mouse support for ICS with the newest SDK.
Original comment by [email protected]
on 9 Jul 2012 at 5:16
from androidscreencast.
droidx - have done the steps to pull to tmp, push, move, verified 777, yada
yada yada. still nothing other than right click rotates.
rooted of course
sdk 2
android 4.1 api 16
any suggestions?
Original comment by joshthue
on 28 Aug 2012 at 8:44
from androidscreencast.
JellyBean ROM exceptions (no mouse&keyboard):
12-17 20:18:15.172: E/AndroidRuntime(1448): java.lang.NoSuchMethodError:
android.view.IWindowManager.injectPointerEvent
12-17 20:29:45.919: I/dalvikvm(2716): Could not find method
android.view.IWindowManager.injectPointerEvent, referenced from method
net.srcz.android.screencast.client.Main.handleCommand
12-17 20:29:45.919: I/dalvikvm(2716): Could not find method
android.view.IWindowManager.injectKeyEvent, referenced from method
net.srcz.android.screencast.client.Main.handleCommand
...
Original comment by [email protected]
on 17 Dec 2012 at 8:29
from androidscreencast.
Galaxy S2 Skyrocket on JellyBean
As soon as I click the mouse, i get this:
02-04 14:23:30.760 W/dalvikvm(17175): threadid=11: thread exiting with uncaught
exception (group=0x414e1360)
02-04 14:23:30.760 E/android.os.Debug(17175): !@Dumpstate > dumpstate -k -t -z
-d -o /data/log/dumpstate_sys_error
02-04 14:23:30.760 E/AndroidRuntime(17175): *** FATAL EXCEPTION IN SYSTEM
PROCESS: Thread-13
02-04 14:23:30.760 E/AndroidRuntime(17175): java.lang.NoSuchMethodError:
android.view.IWindowManager.injectPointerEvent
02-04 14:23:30.760 E/AndroidRuntime(17175): at
net.srcz.android.screencast.client.Main.handleCommand(Main.java:110)
02-04 14:23:30.760 E/AndroidRuntime(17175): at
net.srcz.android.screencast.client.Main.handleClient(Main.java:95)
02-04 14:23:30.760 E/AndroidRuntime(17175): at
net.srcz.android.screencast.client.Main.access$0(Main.java:82)
02-04 14:23:30.760 E/AndroidRuntime(17175): at
net.srcz.android.screencast.client.Main$1.run(Main.java:41)
02-04 14:23:30.790 I/dumpstate(17220): begin
Original comment by [email protected]
on 4 Feb 2013 at 7:38
from androidscreencast.
I'm confused as to how to open the emulator on the computer. I'm assuming that
what you're doing anyway considering screencast wouldn't make sense for someone
who's screen worked on their phone. My captivate's screen is shattered but it
still works. Trying to reset my phone to sell it. I can see the phone on
screencast but can't control it. I downloaded better terminal emulator (Free
version) onto the phone. But how do I open it if my phone doens't work? Or
how do I open it on my computer to control my phone? Sorry for these noob
questions.
Original comment by [email protected]
on 9 Feb 2013 at 6:42
from androidscreencast.
[deleted comment]
from androidscreencast.
till now i didn't found an answer for those who did everything above and the
mouse and the keyboard still now working, its seems that screencast and the
honeycomb will not work with any android version above 2.2,
if am a good java developer ill modify the screencast in away to make it work
with the new android version, but sadly am not
anyway is there any other way or other app to do the same job as the screencast
Original comment by [email protected]
on 13 Feb 2013 at 9:45
from androidscreencast.
Hi
I've a different problem... In my case my keyboard is working fine but NO mouse
control. I can use right click which rotate the screen view but cant open any
app or select anything with mouse!!!
Any help will be highly appreciate
my Phone: HTC incredible S
PC: XP service pack 3
Droid version: 0.8.8.8 (x86)
Original comment by [email protected]
on 23 May 2013 at 4:24
from androidscreencast.
I can't get the mouse to work on a rooted Galaxy S3 (android 4.0.4).
I'm getting this in the log:
I/InputDispatcher( 2089): Dropped event because input dispatch is disabled.
W/WindowManager( 2089): Input event injection failed.
I/InputDispatcher( 2089): Dropped event because input dispatch is disabled.
W/WindowManager( 2089): Input event injection failed.
I/InputDispatcher( 2089): Dropped event because input dispatch is disabled.
W/WindowManager( 2089): Input event injection failed.
I/InputDispatcher( 2089): Dropped event because input dispatch is disabled.
W/WindowManager( 2089): Input event injection failed.
I/InputDispatcher( 2089): Dropped event because input dispatch is disabled.
W/WindowManager( 2089): Input event injection failed.
Original comment by [email protected]
on 19 Jun 2013 at 7:18
from androidscreencast.
Sorry, the actual log for my previous message is in fact this one:
I/InputDispatcher( 2086): Dropped event because it is stale.
W/WindowManager( 2086): Input event injection failed.
I/InputDispatcher( 2086): Dropped event because it is stale.
W/WindowManager( 2086): Input event injection failed.
I/InputDispatcher( 2086): Dropped event because it is stale.
W/WindowManager( 2086): Input event injection failed.
I/InputDispatcher( 2086): Dropped event because it is stale.
W/WindowManager( 2086): Input event injection failed.
I/InputDispatcher( 2086): Dropped event because it is stale.
W/WindowManager( 2086): Input event injection failed.
Original comment by [email protected]
on 19 Jun 2013 at 7:47
from androidscreencast.
Galaxy S3 rooted, tried all options above and no mouse control :/
Original comment by [email protected]
on 21 Mar 2015 at 9:26
from androidscreencast.
Related Issues (20)
- Patch for /AndroidScreencast/androidscreencast.jnlp
- Keyboard-Mouse not working
- how do you run the abd commands in windows 8
- Cannot control jelly bean 4.1.1 via screencast
- unable to launche the application HOT 2
- Right click but no keyboard/mouse
- Screen displays, but unable to control device HOT 1
- md.exe
- Screen Cast wont work/run/record on my samsung device
- d
- Unable to launch HOT 1
- Unable to launch application - Read previous threads...not helpful HOT 5
- Unexpected Exception: java.lang.NullPointerException
- Screencast - no keyboard, no mouse [Huawei Ascend M860]
- No Mouse, No Keyboard using LG Optimus V
- Use screencast will cause android device become very lag, even ANR appear when launch APs
- screencast demo record fail
- Java Runtime Exception
- screencast not finding root
- Mouse jumping out of control on a tablet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidscreencast.