摘要: external\dhcpcd\dhcp.cL1040:修改前: /* Regardless of RFC2132, we should always send a hostname * upto the first dot (the short hostname) as otherwise * confuses some DHCP servers when updating DNS. * The FQDN option should be used if a FQDN is required. */ if (ifo->options & DHCPCD_HOSTNAME & 阅读全文
posted @ 2013-12-24 20:05 easynote 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 改进前: /** * The factory using the default JVM settings for secure connections. */ private static final SSLSocketFactory DEFAULT_FACTORY = new SSLSocketFactory(); /** * Gets an singleton instance of the SSLProtocolSocketFactory. * @return a SSLProtocolSocketFactory */ ... 阅读全文
posted @ 2013-12-24 19:54 easynote 阅读(174) 评论(0) 推荐(0) 编辑
摘要: · 修改/etc/network/interfacesauto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.1.50netmask 255.255.255.0network 192.168.1.0gateway 192.168.1.1dns-nameservers 192.168.1.1 阅读全文
posted @ 2013-12-24 15:51 easynote 阅读(129) 评论(0) 推荐(0) 编辑
摘要: · 自动挂载fstab设置# work disk/dev/sdb /home/easy/android ext3 defaults 0 0share /media/share vboxsf defaults 0 0· 挂载光盘软件不可运行1. umount /media/***2. sudo mount -t iso9660 -o ro,exec,nosuid,nodev /dev/cdrom /mnt/ 阅读全文
posted @ 2013-12-24 15:26 easynote 阅读(144) 评论(0) 推荐(0) 编辑
摘要: tar cvzf /media/share/android_4.2.2_row.tar.gz --exclude android/.repo --exclude android/.Trash-1000 --exclude android/lost+found --exclude android/other android/ 阅读全文
posted @ 2013-12-19 18:15 easynote 阅读(336) 评论(0) 推荐(0) 编辑
摘要: frameworks\base\core\java\android\content\ContentProvider.java L241&L249应该为: if (mode != null && mode.indexOf('w') != -1) enforceWritePermission(uri); 阅读全文
posted @ 2013-12-18 16:12 easynote 阅读(258) 评论(0) 推荐(0) 编辑
摘要: · \frameworks\base\core\java\com\android\internal\os\ZygoteInit.java preload()替换为asyncPreload(): private static Thread mCThread = new Thread(new Runnable(){ @Override public void run(){ preloadClasses(); } }); private static Thread mRThread = new Thread(new Runnable(){ @Override public void ... 阅读全文
posted @ 2013-12-18 15:26 easynote 阅读(537) 评论(0) 推荐(0) 编辑
摘要: · 安装pcrehttp://sourceforge.net/projects/pcre/files/pcre/· 安装lighttpdshell> tar zxvf lighttpd-1.4.33.tar.gzshell> cd lighttpd-1.4.33shell> ./configure –prefix=/usr/local/lighttpdshell> ./makeshell> ./make installshell> cp doc/initscripts/rc.lighttpd /etc/rc.d/init.d/lightt 阅读全文
posted @ 2013-12-16 12:08 easynote 阅读(294) 评论(0) 推荐(0) 编辑
摘要: · 下载linux版本http://hsk.oray.com/download/· 解压编译tar xvzf phddns-2.0.5.19225.tar.gzcd phddns-2.0.5.19225/./configure --prefix=/home/easy/bin/make make install· 配置运行sudo vi /etc/rc.d/boot.local. /home/easy/phddns-2.0.5.19225/src/phddns -c /etc/phlinux.conf -d· 修改配置sudo vi /etc/phlinu 阅读全文
posted @ 2013-12-06 13:13 easynote 阅读(200) 评论(0) 推荐(0) 编辑
摘要: · 默认壁纸/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper· 取消闪烁红框frameworks\base\services\java\com\android\server\wm\WindowManagerService.javaL5762: //mStrictModeFlash.setVisibility(on);· 加大adb截屏缓存system\core\adb\framebuffer_service.cL59: char buf[1024];· 设置默认GSM的IMEI码 阅读全文
posted @ 2013-12-02 18:04 easynote 阅读(593) 评论(0) 推荐(0) 编辑