编译HTC desire S CM的代码
来源:互联网 发布:大数据魔镜官网 编辑:程序博客网 时间:2024/04/28 21:45
下载编译参考下文
http://wiki.cyanogenmod.com/wiki/HTC_Incredible:_Compile_CyanogenMod_(Linux)
一些问题
无法获取firmware
https://github.com/koush/proprietary_vendor_htc
到这里下载saga相关代码,里面有firmware
curl https://raw.github.com/android/tools_repo/master/repo > ~/bin/repo
chmod a+x ~/bin/repo
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread --repo-url=git://github.com/android/tools_repo.git
CalculatorDisplay.java:19: cannot access android.content.Context
关于这个错误,有可能是下载的问题,可以先repo sync下。
然后检查下java相关设置。在我的电脑上很奇怪,因为我是可以编译过google官方的代码的,但cm的代码就不行。
改了之后clean重新make就行了。
Path looks fine. Please post output of following commands.
sudo update-alternatives --config java
sudo update-alternatives --config jar
Make sure that your system is pointing to correct Java version.
undefined reference to 'msm_device_mute'、libaudio.so
I wouldn't bother extracting files, just use the prebuilts from someone else. First clean you current vendor/htc (rm -rf vendor/htc) then clone koush's proprietary files: git clone git://github.com/koush/proprietary_vendor_htc.git vendor/htc and that should let you build.
不要用这个方法:
这里改为false,据说是代码更新的有问题。
BOARD_USES_QCOM_VOIPMUTE := true
下面的文章可以参考下,但里面有的信息已经过时了。
http://www.cnblogs.com/loulijun/archive/2012/2/22.html
- 编译HTC desire S CM的代码
- Shell Root HTC desire s
- HTC Desire S (G12/saga) 分区
- [刷机教程] [Root] S-OFF的同学来Root你的HTC Desire S
- HTC Desire S的 - Android智能手机与主机的其他特性
- HTC Desire S G12刷MIUI的详细刷机教程
- HTC Desire S刷机教程(一)之S-ON软解S-OFF的图文教程
- HTC Desire G7 的ADB驱动安装
- HTC Desire G7 天生S-OFF机Root
- HTC Desire S/G12 刷机经验分享教程
- HTC G12 Desire S 金卡制作详细图文教程
- HTC Desire S/G12获取ROOT权限详细图文教程
- No desire's desire
- HTC Desire 金卡制作方法
- HTC G7 desire刷机
- HTC G12 Desire S解锁S-ON刷S-OFF简单完整教程
- 比CM快!编译android4.0到HTC G7成功!
- HTC Desire A8181 的Android系统闹铃声音的修改
- firefox CSS溢出 加 一个空<div style="clear:both"></div>
- [ACM_ZJUT_1002]数字游戏
- JavaScript的继承方法
- 第七周实验报告任务3
- 老兵学Java编程(2):HelloWorld
- 编译HTC desire S CM的代码
- 如何写论文
- 3.指针
- The centre of polygon (多边形重心)
- 相关算法资源
- 关于vector的习题(三)
- 推荐系统 机器学习的blog
- 理解ext4,第一部分(extents)
- different object with the same identifier value was already associated with the sessi(一对多映射和多对多映射中)