repo sync 卡住的解决办法


用repo sync同步的时候总是卡住。不知为何。从网上查到如下办法

新建一个operation.sh,文件名随意。粘贴如下

#!/bin/bash
echo “======= start repo sync =======”
cd /EDA/Android/WORKING_DIRECTORY
repo sync -j4
while [ $? == 1 ]; do
echo “====== sync failed! re-sync again =====”
sleep 3
repo sync -j4

然后在终端运行,卡住就会自动重新同步。

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

三星P6200刷机过程


三星P6200刷机过程

前段时间三星更新了我的P6200的安卓版本到4.1.2,在如下地址:

http://samsung-updates.com/device/?id=GT-P6200

  1. 在本机查看”关于设备”里面基带版本用的是P6200XXLQ1,android版本是4.0.4,从网站上可以看到属于ATO(表示奥地利),然后越上面的ATO可以看到有越新的android版本,即4.1.2。但是我最后选择的是新加坡的版本,即SIN,将其下载回来。解压之后的文件名是

    P6200XXME1_P6200OLBME1_P6200XXMC3_HOME.TAR.md5,可以看到基带版本为P6200XXMC3。 继续阅读“三星P6200刷机过程”

build cm10.1 for htc jetstream 2


这几天,同步问题一直在困扰着我,总是同步到99%的时候,报错。有时候是中途就停了。

用了以下解决办法:

1. 同步源代码困难(代理问题)。

症状:repo init or repo sync 失败同 http 错误一起,通常 403 或 500。

原因:这些是相当一点可能的原因,最常见的 http 代理关系,处理大量数据传输困难。

修理:这不是一般的解决方法,用 python 2.7 和明确的用 repo sync -j1 已经据报告为一些用户改善这个情况。 继续阅读“build cm10.1 for htc jetstream 2”

build cm10.1 for htc jetstream 1


作为一个初学者来说,想要为我的htc jetstream编译cm10.1,是一件很迷茫的事情。但是我的最终目标是编译ubuntu到HTC Jetstream上。并且以后也可以编译到其他device。

下载了adt的包后,里面包含了android sdk和eclipse,将环境变量设置好就可以使用adb和fastboot命令了。

然后同步cm10.1的源代码回来。即android/system目录。此目录下有几个文件夹,现在我才理解。

kernel:这个目录是放置source code的,一般原厂都应该给出。我的实在htcdev网站下的。查看Makefile这个文件,可以看到kernel的版本是2.6.30.10,跟我device上的一致。所以我感觉要重新编译kernel是一件很困难的事情。所以我认为应该是把从原厂下回来的source code解压缩到此处。

vendor:这个目录是放置从手机里面提取出来的文件

device:放置编译ROM所需要的文件。

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

build cm10.1 for htc jetstream 1 was originally published on DormanThink

Android adb devices显示no permission


这是由于adb服务的权限所致。

adb kill-server

sudo adb start-server

adb devices

 

 

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink

Android adb devices显示no permission was originally published on DormanThink