摘要: 有些短信程序有bug,当短信(特别是彩信)没有接收完整,或者是一些异常情况下,你会收到一条短信但是看不到或者看不了。此时郁闷的事情就来了,系统会提醒你还有1条未读短信,但是你满世界都找不到这条短信。所以,如果你有强迫症,想要清除掉那些未读短信通知的话,有一个简单办法:1. root手机2. adb shell3. su -4. rm /data/data/com.android.providers.telephony/database/mmssms.db或者用RE文件浏览器,删掉上面那个文件也可以。重启系统,清净了。 阅读全文
posted @ 2013-09-14 17:23 super119 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 这次ssh amazon ec2的instance,在家里电脑登录OK,到了公司电脑登录失败(只支持公钥机制)。私钥已经拷贝到公司的ubuntu上了,奇怪。后来发现是.ssh目录下存在一些公钥文件导致了这个问题。ssh的时候使用-vvv可以看到很多调试信息,在这里看到在ssh认证的时候,发送过去的公钥不是amazon ec2的公钥,而是我本地.ssh目录下另外一个公钥。所以删除了.ssh目录下所有的公钥文件之后,就OK了。我猜想是这样:1. 如果在.ssh/config下配置了针对该Host的IdentityFile,那么公钥不会搞错,ssh会寻找私钥文件名.pub这样的文件。2. 貌似私钥文 阅读全文
posted @ 2013-08-19 14:35 super119 阅读(4377) 评论(0) 推荐(0) 编辑
摘要: 1. Make sure your local git username matches with your Gerrit username, Gerrit username needs to be configure in the Gerrit portal under settings -> HTTP Passwordgit config --global review.review.cyanogenmod.org.username "gerrit username"---------------------Uploading your changesFirst, 阅读全文
posted @ 2013-08-16 11:55 super119 阅读(586) 评论(0) 推荐(0) 编辑
摘要: This can be accomplished in one of two ways:1) Pull the file from your device:cd /your/repo/pathadb pull /system/etc/build-manifest.xml .repo/manifests/cm-10.0.0.xmlOR2) Extract /system/etc/build-manifest.xml from the ROM zip and place it manually.等于这样你就有了这个版本CM build的manifests.xml。Enabling the Mani 阅读全文
posted @ 2013-08-16 10:05 super119 阅读(519) 评论(0) 推荐(0) 编辑
摘要: The local manifestCreating a local manifest allows you to customize the list of repositories on your copy of the source code by overriding the official manifest. In this way you can add, remove, or replace source code in the official manifest with your own. By pointing to new git repositories, (whic 阅读全文
posted @ 2013-08-15 23:05 super119 阅读(3301) 评论(0) 推荐(0) 编辑
摘要: [CM source code folders]bootable/Among other things, the source for ClockworkMod recovery is in here.device/device/ contains part (if not all) of the board support package for a device, and is organized as device//. So the files for Nexus 7 are under device/asus/grouper/, the files for Nexus 4 are u 阅读全文
posted @ 2013-08-14 15:37 super119 阅读(1219) 评论(0) 推荐(0) 编辑
摘要: To Enable the Developer and Performance settings on CyanogenMod 10.1In the Settings app, choose the About Phone (or About Tablet) option.Scroll down, and tap the Build number seven times. On the seventh tap, you will be notified that "You are now a developer."Return back to the main Settin 阅读全文
posted @ 2013-08-13 23:06 super119 阅读(818) 评论(1) 推荐(0) 编辑
摘要: From:http://blog.csdn.net/linuxaxis/article/details/8769722好吧,折腾了两三个星期,USB的问题没搞定,看来功夫还不到家,看了下efuse中有很多的位可以配置相关的参数,也许智器在那里面做了很多的工作,使我一直都不能有所突破,这个问题暂时就放放吧,以后有时间再来研究研究。其实话又说回来,国内的公司还是真垃圾,本身就是用开源的东西,不开源就算了,还搞这么多恶心的东西,真垃圾... 之前说的一起做这个事情的哥们也一直不见动静,看来只有自己来做了。这样的话,不得不修改策略,先用最少的时间,最少的资源,最快的速度完成最主要的功能。干脆底层的驱动 阅读全文
posted @ 2013-08-01 18:09 super119 阅读(1556) 评论(0) 推荐(0) 编辑
摘要: From:http://bbs.tiexue.net/post_5621844_1.html捷克斯洛伐克虽然有很好的军事工业基础,但是其人口和军队都和纳粹德国没得比,并且之前并没有为战争做好准备,不过这是次要原因。最主要的原因是当时的地缘政治环境将捷克逼到了绝路。尽管现代只着重宣传纳粹德国对捷克斯洛伐克的野心,但实际上由于一战结束后中欧、东南欧版图发生巨变,这个地区聚集了大量民族矛盾和领土纠纷。如原奥匈帝国解体、波兰重新独立、南斯拉夫成立、特兰西瓦尼亚并入罗马尼亚、德国领土萎缩,这就使得中欧的国际关系变得错综复杂。各国往往呈现国土内有大量邻国主体民族国民的状况,如捷克境内有大量的德意志人(毕竟 阅读全文
posted @ 2013-07-29 13:52 super119 阅读(1207) 评论(0) 推荐(0) 编辑
摘要: From:http://blog.chinaunix.net/uid-23146151-id-3074045.html最近在看linux rtmutex部分的实现过程,就像他注释中写的一样,还是比较简单的。其中比较复杂的部分就是关于任务优先级继承的部分。首先介绍优先级反转的背景。何为优先级反转?通俗来说就是低优先级的任务抢占了高优先级的运行权。下面举出一个优先级翻转的场景。系统中有三个具有不同优先级的任务A,B,C。其中A的优先级最高,B次之,C的优先级最低。系统中A与C共享一个资源,此时C任务先就绪获得此资源的使用权限,这时A任务就绪,也想使用此资源,但是由于C已经在访问状态,所以A被阻塞。 阅读全文
posted @ 2013-07-18 22:33 super119 阅读(2832) 评论(0) 推荐(0) 编辑