[Galaxy S II I9100G Android Development] eudhan:
Hi,

The screen (LCD+touchscreen) of my i9100G device is completely broken (a few months old...:crying:).

I had previously properly installed CM9 RC1, ClockWordMod recovery and rooted with "advanced method 2" from this post http://xdaforums.com/showthread.php?t=1679778.

The system works very well, superuser app installed, root permissions prompted for apps that need root access...etc

Now with the broken screen, i still access the phone via adb for scanning files and directories of sdcard or launch apps (that do not require root access, see after) but without being able to interact with.

It is a rich experience to see how useful a trackball or physical keyboard is ... or the opposite, how many apps need these features to offer basic functions ...:(

An example: splash screen and first help screen with 4 pages via viewpager to showcase the app ... without a functional display, i was unable to access the main screen of the app ... i even modified the source code of open apps (opensource apps) to have "instant" behaviors or to launch the main action once loaded or if they require interactions, call the related action with the "back" key button (onKeyDown(int, KeyEvent) function).

i found a great app that displays on my ubuntu desktop the screen of the phone (great also to see that only the screen/display was broken) and you can interact with the phone from your desktop (mouse, keyboard) ... but this last feature is available only for rooted devices. The java app is androidScreenCast http://code.google.com/p/androidscreencast/.

My device IS rooted, but ... CM9 has implemented a new security layer preventing root access via adb if option in settings is unchecked, i didn't notice that and leave the option unchecked. Nice for security. But now, i don't see any way to check this option and thus any way to interact with the phone via "androidScreenCast" -like apps to be able to interact more with the phone.

Have you got any ideas to have full root access on CM9 ?

Next step is 1) trying to flash an other ICS ROM or a gingerbread one via ODIN or fastboot (complicated with a broken screen) and 2) replace the display.

Thanks in advance for your reading and help.

======================================

[UPDATE] I solved my problem.

In case it could help someone in similar situation (with cm9, i9100G or else):

1) i found this useful app: http://piglings.blogspot.fr/2011/08/android-screen-control-without-root.html (download the zip file provided by the author here -if someone could paste it on an open location .., then run the bat file from windows)

2) i am now able to interact with the screen (low but greatly enough to allow root access when prompted by superuser !), connect wifi (fortunately it is the first option in menu/settings !) or other things that require clicking on a button to accept (touchscreen is not working, so sliding or scrolling don't work, you will be able to do so in step 6) )

3) i installed webkey app http://webkey.cc/ (Play Store: https://play.google.com/store/apps/details?id=com.webkey)

4) to launch webkey, hit search button in menu from home (search the app with google search app, the keyboard is working from 1) ) and type webkey

5) superuser will prompt permisison dialog, you will be able to click on "allow" (yes !) and webkey will be granted root privilleges

6) an ip adress (local if on wifi) will be provided by webkey from wich you can interact with your phone (with touchscreen and many other features); you can also configure in settings tab a username/password to connect from webpage (user's setting/create user) and other options listed at http://webkey.cc/

7) and there i have all features, touchscreen, scrolling, keyboard, mouse clicks, interaction with apps ... great ! And of course, menu/settings/developer options/root access/adb AND apps !

An other solution also considered was http://www.androidlost.com/ but not tested; it seems nice (requiring no interaction at all, push install from play store, activate via specific keywords in sms, login on remote server to control the phone, erase data/sdcard ...).

... enjoy !