cargabsj175 / androidscreencast

Automatically exported from code.google.com/p/androidscreencast
0 stars 0 forks source link

No Control for Samsung Galaxy S i9000 #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Device name : Samsung Galaxy S i9000
Device rooted (yes/no) : yes
Device OS version (1.5/1.6/2.0,...) : 2.1

Computer OS and version (Mac,Win,Linux,...) : Win7 x64
Java version (java -version from command line) : Version 6 Update 2
ADB version (adb version from command line) : 1.0.26
AndroidScreencast version : version downloaded on 25 Aug 2010

Able to show the screen but no response on mouse & keyboard.

Original issue reported on code.google.com by belt...@gmail.com on 25 Aug 2010 at 1:07

GoogleCodeExporter commented 9 years ago
I believe the key is that 
/data/dalvik-cache/data@local@tmp@InjectAgent.jar@classes.dex could not be 
created.

I managed to make it work by ensuring the followings:

1) device is rooted: then you could access system files and run admin commands
2) superuser is install and su binary is updated: then you can use su in 
console without permission denied problem
3) USB Debug is enabled
4) data@local@tmp@InjectAgent.jar@classes.dex is created under 
/data/dalvik-cache: to do so, you could install AndroidScreenCast to emulator 
and then copy it to your real machine. An alternative is, in your machine, 
chmod 777 /data/dalvik-cache and run AndroidScreenCast, then that dex file 
could be created, then chmod 771 /data/dalvik-cache to restore read/write 
access right from every one.

When you all above things done, you could control your Android with keyboard 
and mouse. Once and forever.

Basically you could do the all the steps above with Droid Explorer.

For details of each step, please google before ask. Enjoy~! :-)

Original comment by belt...@gmail.com on 30 Aug 2010 at 6:25