adb putty

Windows下adb shell的显示太恶心了。而且cmd下拷贝复制也很麻烦。所以能不能直接使用putty来连接android shell呢?答案是肯定的,国外的geek太nx了。赞一个。

下载adbputty: 下载

主机填写transport-usb ,连接类型选择Adb(对应5037端口)即可

如果要显示颜色,直接启用bash吧

详情见这里

remove android lock-screen pin with sqlite3

1
2
3
4
5
6
adb shell
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db
sqlite> update secure set value=65536 where name='lockscreen.password_type';
sqlite> .exit
# exit
adb reboot

Debian Linux下安装pptp vpn服务器

首先更新:

1
apt-get update

接着我们就安装pptp服务器:

1
apt-get install pptpd

编辑/etc/pptpd.conf, 反注释掉以下内容:

1
2
localip 192.168.0.1
remoteip 192.168.0.234-238,192.168.0.245

Certificate not Installed on the Node

今天在启动ovo的时候遇到了这个问题:

0: WRN: Thu Jun 28 13:08:42 2012: ovbbccb (1821/4): (bbc-90) The incoming HTTPS client connection from host 127.0.0.1 failed due to the SSL error: 1: WRN: Thu Jun 28 13:08:42 2012: ovbbccb (1821/4): (sec.core-116) An SSL connection IO error has occurred. This may be due to a network problem or an SSL handshake er ror. Possible causes for SSL handshake errors are that no certificate is installed, an invalid certificate is installed, or the peer does not trust the initiator’s cer tificate. 0: WRN: Thu Jun 28 13:08:43 2012: ovbbccb (1821/9): (bbc-90) The incoming HTTPS client connection from host 127.0.0.1 failed due to the SSL error: 1: WRN: Thu Jun 28 13:08:43 2012: ovbbccb (1821/9): (sec.core-116) An SSL connection IO error has occurred. This may be due to a network problem or an SSL handshake er ror. Possible causes for SSL handshake errors are that no certificate is installed, an invalid certificate is installed, or the peer does not trust the initiator’s cer tificate. 0: WRN: Thu Jun 28 13:08:44 2012: ovbbccb (1821/5): (bbc-90) The incoming HTTPS client connection from host 127.0.0.1 failed due to the SSL error: 1: WRN: Thu Jun 28 13:08:44 2012: ovbbccb (1821/5): (sec.core-116) An SSL connection IO error has occurred. This may be due to a network problem or an SSL handshake er ror. Possible causes for SSL handshake errors are that no certificate is installed, an invalid certificate is installed, or the peer does not trust the initiator’s cer tificate. 0: WRN: Thu Jun 28 13:08:44 2012: ovbbccb (1821/6): (bbc-90) The incoming HTTPS client connection from host 127.0.0.1 failed due to the SSL error: 1: WRN: Thu Jun 28 13:08:44 2012: ovbbccb (1821/6): (sec.core-116) An SSL connection IO error has occurred. This may be due to a network problem or an SSL handshake er ror. Possible causes for SSL handshake errors are that no certificate is installed, an invalid certificate is installed, or the peer does not trust the initiator’s cer tificate.