I have an HTC HD2 with a completely busted screen, I tried repairing it with a replacement screen but broke the ribbon cable to the screen (oops) sad day,
I've got two of these and I've been running them as servers and ipcam cameras.
I started using qtadb
, which did work on my phone despite a broken screen. I installed droid VNC Server beta using the file manager on qtadb.
I grabbed the app's manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="52" android:versionName="0.991" package="org.onaips.vnc" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="3" />
<application android:label="droid VNC server" android:icon="@drawable/icon" android:name="MainApplication" android:debuggable="false">
<activity android:label="@string/app_name" android:icon="@drawable/icon" android:name=".MainActivity" android:launchMode="singleInstance">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="Preferences" android:name="preferences" />
<meta-data android:name="com.mobclix.APPLICATION_ID" android:value="1F34160B-63BB-4854-BDB7-D46B7EADBF06" />
<activity android:name="com.mobclix.android.sdk.MobclixBrowserActivity" />
<service android:name="StartAtBootService">
<intent-filter>
<action android:name="org.onaips.vnc.StartAtBootService" />
</intent-filter>
</service>
<receiver android:name="StartAtBootServiceReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
<service android:name="avncservice" />
</application>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
</manifest>
and I have tried several things to start and run the service using the console on qtadb. I have tried running:
am start -a android.intent.action.MAIN -n org.onaips.vnc/com.mobclix.android.sdk.MobclixBrowserActivity
am start -a android.intent.action.MAIN -n org.onaips.vnc/org.onaips.vnc.MainActivity
am start -n org.onaips.vnc/com.mobclix.android.sdk.MobclixBrowserActivity
am start -n org.onaips.vnc/org.onaips.vnc.MainActivity
am startservice -a android.intent.action.MAIN -n org.onaips.vnc/com.mobclix.android.sdk.MobclixBrowserActivity
am startservice -a android.intent.action.MAIN -n org.onaips.vnc/org.onaips.vnc.MainActivity
etc....
I test each time by NMAPing my device's ip address, no new ports show up. (I don't have a firewall)
But on a working phone, it doesn't start when you run the app; it starts when you press the run button. So How do I press the run button with a broken screen?
I just need vnc server to run so i can actually do some config things to run debian and my video server on it.