Foros: 公開討議 (Thread #28846)

0305a版install.shでエラー (2011-03-09 22:53 by 40 #56204)

いつもありがとうございます。

0305a版のinstall.shが手元でエラーになったので、適当に直してみました。

$ diff install.sh.org install.sh
20c20
< adb shell busybox mkdir /data/data_ginger/misc
---
> adb shell busybox mkdir -p /data/data_ginger/misc
24c24
< adb push system/ /data/system_ginger
---
> adb push system /data/system_ginger

自分の所だけでしたらすみません…

Responder al #56204×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0305a版install.shでエラー (2011-03-09 23:15 by ro215is01 #56207)

ありがとうございます。
細かいところで抜けがちなので、指摘していただけると助かります。
Responder al #56204

Responder al #56207×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0305a版install.shでエラー (2011-03-10 00:24 by 40 #56211)

私も環境を書いておきます。どなたかの参考になれば。

・BB09
・recovery_kit v1.3
・Froyoを入れた環境から、recovery_kitでrecoveyを書き直して、1.6に戻しています。

最初Cygwin上からやったのですが、ロゴとAndroid_で無限ループしたので、
素直にVirtualBox上のUbuntu 64bitでやったら一発で起動しました。ありがとうございました。
Responder al #56207

Responder al #56211×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0305a版install.shでエラー (2011-03-09 23:41 by kazuc #56209)

私の環境はroot.7zをインストールしてますので、install.shを参考にして、下記のような手順でインストールしています

1.アーカイブをSDCARDの適当なフォルダに展開
2.install.shの内容に従って/systemの内容を/data/system_gingerにコピー
3.install.shの内容に従って/data/miscの内容を/data/data_gingerにコピー
4.アーカイブの内容を/system_gingerにコピー
5.install.shの内容に従ってbusyboxをコピーし、パーミッション設定
6.必要なパーミッションを変更(不要かもしれませんが念のため)
7.system_ginger/binのシンボリックリンクを削除して作り直し
8.GBkernel.imgをrecoveryにflash
9.再起動

ニーズがあるようでしたら、詳細をまとめます。

Responder al #56204

Responder al #56209×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0305a版install.shでエラー (2011-03-09 23:54 by ro215is01 #56210)

ありがとうございます。
BB10以降はわからない点が多いので、
まとめていただけると助かります。
Responder al #56209

Responder al #56210×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0305a版install.shでエラー (2011-03-17 13:20 by kazuc #56272)

インストール手順案(IS01のみバージョン)

本手順はIS01のみでGB環境を構築するための手順です。
(新しいバージョンを作成下さっていますが、このまま投稿させていただきます
適宜読み替えてください)

※注意※
当方で行った手順を記憶を元に整理したもので、正しく動作することを保証するものではありません。
下記の内容が理解出来る人、間違いがあった場合に自分で解決できる人以外にはおすすめしません。

間違いなどがありましたら指摘をお願いします。

前提
・IS01(1.6)でルートが取れること
・recovery_kitでの利用は考慮していません(手元に環境がない)
・/system がマウント済であること(roでOK)
・recoveryにflash_image可能であること
 recovery_wrにてflash_image可能であれば読み替えてください
・busyboxにpathが通っており、使用可能であること
・SDCardが挿入されており、十分な容量があること

必要なもの
・Superuser(ChainDD)
・AndroZip
・Terminal Emulator

手順
1.RO215IS01_GB_IS01_20110305a.zip をD/L

2.AndroZipで適当なディレクトリに展開 (例:/sdcard/tmp/)
以降は展開されたファイル・ディレクトリは/sdcard/tmp/RO215IS01_GB_IS01_20110305a の下に
あるものとしています

3.Terminal Emulator起動

4.ルート権限取得
$ su

5.以前にインストールしたものがあれば、それらを削除する
# rm -rf /data/data_ginger
# rm -rf /data/system_ginger

6.インストールディレクトリの作成
# mkdir /data/data_ginger
# mkdir /data/system_ginger

7.本体の/system, /dataからファイルをコピーする
# busybox cp -rf /system/lib /data/system_ginger/lib
# busybox cp -rf /system/bin /data/system_ginger/bin
# busybox cp -rf /system/etc /data/system_ginger/etc
# busybox cp -rf /system/usr /data/system_ginger/usr
# busybox cp -rf /data/misc /data/data_ginger/misc


8.手順2.で展開したファイルをコピーする
# busybox cp -rf /sdcard/tmp/RO215IS01_GB_IS01_20110305a/system/* /data/system_ginger/
# busybox cp -rf /sdcard/tmp/RO215IS01_GB_IS01_20110305a/apps/system/* /data/system_ginger/
# busybox cp -rf /sdcard/tmp/RO215IS01_GB_IS01_20110305a/apps/data/* /data/data_ginger/

※ コピー結果は確認してください。重要なファイルにコピー漏れがあるとGB環境は起動しません

9.busybox をコピーする。
# busybox cp -rf /sdcard/tmp/RO215IS01_GB_IS01_20110305a/busybox /data/system_ginger/bin/busybox
# busybox chmod 555 /data/system_ginger/bin/busybox

10.カーネルを焼く
# flash_image recovery /sdcard/tmp/RO215IS01_GB_IS01_20110305a/GBkernel.img

11.再起動
# reboot recovery

うまくいっていれば、しばらくしてGBが起動します。

Responder al #56209

Responder al #56272×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

0317版install.shでエラー (2011-03-18 00:56 by 40 #56281)

再び失礼します。
新版(0317版)作成ありがとうございました。
早速試してみましたが、やはり同様のエラーが出たので手元で修正しました。

% diff installBB9_recoverykit.sh.org installBB9_recoverykit.sh
23c23
< adb push system/ /data/android/gingerbread/system/
---
> adb push system /data/android/gingerbread/system/
26c26
< adb push app/app/ /data/android/gingerbread/system/app
---
> adb push app/app /data/android/gingerbread/system/app

push元のPathの最後に / があるとダメみたいです。
やっぱり自分の所だけなんでしょうか…

・Snow LeopardのVirtualBox上、Ubuntu10.10
・Android SDK 11

で動かしています。
Responder al #56204

Responder al #56281×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0317版install.shでエラー (2011-03-18 07:29 by ro215is01 #56284)

ありがとうございます。

逆に、私の環境だと "/" を付けないと期待した動作をしなかったので付けたのですが、
環境依存とかあるのでしょうか・・・?

環境依存しない方法を考えてみます。
(といっても、検証環境がないのですが・・・)
Responder al #56281

Responder al #56284×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar

RE: 0317版install.shでエラー (2011-03-19 00:59 by blackdogk8 #56297)

こちらでも"/"あり、なしで試してみました。
/の有無で同じ動きで、エラーは出ませんでした。

当方の環境ですが
Windows7 SP1x64のVMWare 7.1上、Ubuntu Desktop 日本語 Remix CD
Android SDK 10

です。
Responder al #56281

Responder al #56297×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar