刚才刷了一下i7500的2.1版本,能跑起来了
我是从里面直接down的update.zip刷进去的,camera不好使,其他的感觉还不错,正在sync代码,打算看看
分享一下连接
http://code.google.com/p/gaosp/wiki/Building
This is the way to compile Galaxy Android Open Source Project from scratch
This is the way to compile Galaxy Android Open Source Project from scratch
Be careful, google repo has changed, please sync with eclair
How to
Use your system image :
Use your update.zip (beta) :
This will give you a ready-to-use system image in "out/target/product/I7500"
Please note that the project is starting, lot of things do not work yet.
Be careful, google repo has changed, please sync with eclair
How to
Clone the Android AOSP project (Follow instructions at http://source.android.com/source/download.html. Clone eclair branch by
- repo init -b eclair
复制代码instead of cupcake. Remember to run repo sync after repo init)
Download local_manifest.xml :
- cd .repo && wget http://gaosp.googlecode.com/files/local_manifest.xml && cd -
复制代码Run
- repo sync
复制代码to update the repositories
Push the PDA tar file from official (!CHANGE!) 1.6 odin update in vendor/Samsung/I7500/ renamed as I7500-PDA.tar.
Push the last cyanogemod-ds rom (http://forum.xda-developers.com/showthread.php?t=672992) in vendor/Samsung/I7500/, renamed as CM.zip.
Extract the proprietary files from update:
- cd vendor/Samsung/I7500/ && ./unzip-files.sh I7500-PDA.tar && cd -
复制代码1) Method 1 - manual mode (will give you a system.img)
Run
- source build/envsetup.sh
复制代码to setup the build environnment
Run
- lunch I7500-eng
复制代码to setup the environnment for I7500
Run
- make
复制代码(make -j3, make -j5, regarding of the number of parallel jobs you want)
2) Method 2 - automatic mode (will give you a full update.zip) (beta)
Run
- source vendor/Samsung/I7500/scripts/gaosp.source
复制代码Run
- build_all
复制代码Note : if you have a librpc error in manual mode, just "make librpc" then "make" again.
Use your system image :
That can be dangerous. It may introduce regressions or brick your phone, do this at your own risk.
You will need drakaz' recovery image available at: http://www.drakaz.com/forum/viewtopic.php?id=5
Boot recovery (vol down + call + end call)
Backup the system with Nandroid
Get the boot.img in the download section
Place the boot.img and system.img on the sdcard : adb push out/target/product/I7500/system.img /sdcard/ and adb push boot.img /sdcard/
Remount /system in read-write : adb remount
Open shell: adb shell
Go into the /system directory :
- cd /system/
复制代码Remove all the files :
- rm -rf *
复制代码Extract the system image :
- unyaffs /sdcard/system.im
复制代码g
Flash the boot image :
- flash_image boot /sdcard/boot.img
复制代码Sync :
- sync
复制代码Select
- 'Wipe data' from the recovery menu.
复制代码Select
- 'Reboot system now'
复制代码Use your update.zip (beta) :
That can be dangerous. It may introduce regressions or brick your phone, do this at your own risk.
You will need drakaz' recovery image available at: http://www.drakaz.com/forum/viewtopic.php?id=5
Boot recovery (vol down + call + end call)
Backup the system with Nandroid
Push the update.zip in /sdcard/
Flash the update using
- 'Update sdcard:update.zip"
复制代码option
Select
- 'Wipe data' from the recovery menu.
复制代码Restore gapps by your own
Reboot : reboot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
liu qi hahaha....
回复 8# T-Bagwell
ft,我没你的代码啊。
就是cd到那个模块的目录,然后mm,然后在out下面可以找到那个so。
那你能帮编一个不?
我不会
这样才能学习嘛
重新编译libqcamera.so,push上去就可以了。
a.png (29.25 KB, 下载次数: 130)
下载附件
2010-06-30 08:31 上传
编译完了,烧到手机里面了
看来了一下camera不能使用的原因
camera用的是libqcamera.so了,这个libqcamera.so是在
vendor/Samsung/I7500/qcom/proprietary-open/dsp/libqcamera/Android.mk
不过这个文件注掉了,可能是里面写的有问题吧
我没有手机,不用刷了。
这个叫定制了
我正在编译呢,一会看看能不能跑上去玩玩
不敢像你这样刷机,还是老实等着官方的包出来,刷我的2.2