刚才刷了一下i7500的2.1版本,能跑起来了

发布于 2022-09-08 09:50:00 字数 4387 浏览 11 评论 9

我是从里面直接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

  1. repo init -b eclair

复制代码instead of cupcake. Remember to run repo sync after repo init)
Download local_manifest.xml :

  1. cd .repo && wget http://gaosp.googlecode.com/files/local_manifest.xml && cd -

复制代码Run

  1. 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:

  1. cd vendor/Samsung/I7500/ && ./unzip-files.sh I7500-PDA.tar && cd -

复制代码1) Method 1 - manual mode (will give you a system.img)

Run

  1. source build/envsetup.sh

复制代码to setup the build environnment
Run

  1. lunch I7500-eng

复制代码to setup the environnment for I7500
Run

  1. 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

  1. source vendor/Samsung/I7500/scripts/gaosp.source

复制代码Run

  1. 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 :

  1. cd /system/

复制代码Remove all the files :

  1. rm -rf *

复制代码Extract the system image :

  1. unyaffs /sdcard/system.im

复制代码g
Flash the boot image :

  1. flash_image boot /sdcard/boot.img

复制代码Sync :

  1. sync

复制代码Select

  1. 'Wipe data' from the recovery menu.

复制代码Select

  1. '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

  1. 'Update sdcard:update.zip"

复制代码option
Select

  1. 'Wipe data' from the recovery menu.

复制代码Restore gapps by your own
Reboot : reboot

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

温柔戏命师 2022-09-20 02:54:34

编译完了,烧到手机里面了
看来了一下camera不能使用的原因
camera用的是libqcamera.so了,这个libqcam ...
T-Bagwell 发表于 2010-06-30 08:33

    liu qi hahaha....

夜还是长夜 2022-09-20 02:36:37

回复 8# T-Bagwell

     ft,我没你的代码啊。
就是cd到那个模块的目录,然后mm,然后在out下面可以找到那个so。

旧时浪漫 2022-09-20 02:25:46

重新编译libqcamera.so,push上去就可以了。
prolj 发表于 2010-06-30 09:30

   
那你能帮编一个不?
我不会

书间行客 2022-09-19 19:32:21

不敢像你这样刷机,还是老实等着官方的包出来,刷我的2.2
send_linux 发表于 2010-06-27 22:52

    这样才能学习嘛

南街九尾狐 2022-09-19 17:19:46

重新编译libqcamera.so,push上去就可以了。

往日情怀 2022-09-19 10:01:09

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
不过这个文件注掉了,可能是里面写的有问题吧

晨敛清荷 2022-09-16 03:30:13

我没有手机,不用刷了。

仅一夜美梦 2022-09-14 13:55:29

不敢像你这样刷机,还是老实等着官方的包出来,刷我的2.2
send_linux 发表于 2010-06-27 22:52

   

这个叫定制了
我正在编译呢,一会看看能不能跑上去玩玩

呆萌少年 2022-09-13 13:47:26

不敢像你这样刷机,还是老实等着官方的包出来,刷我的2.2

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文