Info

Archive for

ubuntu
http://cdimage.ubuntu.com/ubuntu-touch-preview/quantal/mwc-demo/ から、

Galaxy Nexus向けのzipファイルをダウンロード

quantal-preinstalled-armel+maguro.zip
quantal-preinstalled-phablet-armhf.zip

ファイルを端末にコピー

$ adb push quantal-preinstalled-armel+maguro.zip /sdcard/
$ adb push quantal-preinstalled-phablet-armhf.zip /sdcard/

ClockworkModリカバリにリブート

$ adb reboot recovery

「install zip forom sdcard」から順番に
1. quantal-preinstalled-armel+maguro.zip
2. quantal-preinstalled-phablet-armhf.zip
「reboot system now」
Ubuntuきたー

で、3G回線だめ、Google Play使えない。

Advertisements

https://developers.google.com/android/nexus/images#yakjujdq39 から yakju-jdq39-factory-b2ebb5f3.tgz ダウンロード

$ cd yakju-jdq39
$ adb reboot bootloader
$ ./flash-all.sh

これでAndroid 4.2.2バージョンアップ完了!
LionからMountain LionにアップグレードしたMacは原因わからないが、

ERROR: Unable to create a plug-in (e00002be)
< waiting for device >
ERROR: Unable to create a plug-in (e00002be)

上のようなエラーが発生。Google USB Driverが怪しいみたいけど、解決方法はわからず。

次はrootを取る。
http://clockworkmod.com/rommanager から recovery-clockwork-6.0.2.3-maguro.img ダウンロード
http://download.chainfire.eu/312/ から UPDATE-SuperSU-v1.10.zipをダウンロード

$ adb push UPDATE-SuperSU-v1.10.zip /sdcard/
$ adb reboot bootloader
$ fastboot boot recovery-clockwork-6.0.2.3-maguro.img ← これがないとRecovery Modeにした時壊れたDroid君が出る

UPDATE-SuperSU-v1.10.zipを選択してインストール!
これでroot化完了。

確認してみる。

$ adb shell
shell@android:/ $ su
root@android:/ # 

Screenshot_2013-02-26-21-28-31

追記:4.2.2にしてから adb で error: device offline 
Android SDKを最新にする。

$ adb version
Android Debug Bridge version 1.0.31

今更だけど、最近IRCを使う機会が増えてきて、ちょっといじってみた。MSN, Skypeとか今時のメッセンジャーと違って、メッセージログが保存されない、自分のステータスとか相手に伝わらない。それに致命的のが自分がオフラインの時にメンバーがなに喋ったかがわからない。これらの弱点を補うのがZNCだ
http://znc.in

1. CentOSにインストール

$ sudo yum update
$ sudo yum search znc
$ sudo yum install znc
$ which znc
/usr/bin/znc

$ znc -v
ZNC 1.0 - http://znc.in
IPv6: yes, SSL: yes, DNS: threads
$ 

2. 設定&起動

$ znc --makeconf
[ ok ] Checking for list of available modules… 
[ ** ] Building new config
[ ** ] 
[ ** ] First let's start with some global settings…
[ ** ] 
[ ?? ] What port would you like ZNC to listen on? (1025 to 65535): 6667
[ ?? ] Would you like ZNC to listen using SSL? (yes/no) [no]: 
[ ?? ] Would you like ZNC to listen using ipv6? (yes/no) [yes]: 
[ ?? ] Listen Host (Blank for all ips): 
[ ok ] Verifying the listener… 
[ ** ] 
[ ** ] -- Global Modules --
[ ** ] 
[ ** ] +-----------+----------------------------------------------------------+
[ ** ] | Name | Description |
[ ** ] +-----------+----------------------------------------------------------+
[ ** ] | partyline | Internal channels and queries for users connected to znc |
[ ** ] | webadmin | Web based administration module |
[ ** ] +-----------+----------------------------------------------------------+
[ ** ] And 9 other (uncommon) modules. You can enable those later.
[ ** ] 
[ ?? ] Load global module <partyline>? (yes/no) [no]: 
[ ?? ] Load global module <webadmin>? (yes/no) [no]: yes
[ ** ] 
[ ** ] Now we need to set up a user…
[ ** ] 
[ ?? ] Username (AlphaNumeric): dongri
[ ?? ] Enter Password: 
[ ?? ] Confirm Password: 
[ ?? ] Would you like this user to be an admin? (yes/no) [yes]: 
[ ?? ] Nick [dongri]: 
[ ?? ] Alt Nick [dongri_]: 
[ ?? ] Ident [dongri]: 
[ ?? ] Real Name [Got ZNC?]: Dongri Jin
[ ?? ] Bind Host (optional): 
[ ?? ] Number of lines to buffer per channel [50]: 
[ ?? ] Would you like to clear channel buffers after replay? (yes/no) [yes]: 
[ ?? ] Default channel modes [+stn]: 
[ ** ] 
[ ** ] -- User Modules --
[ ** ] 
[ ** ] +--------------+------------------------------------------------------------------------------------------+
[ ** ] | Name | Description |
[ ** ] +--------------+------------------------------------------------------------------------------------------+
[ ** ] | chansaver | Keep config up-to-date when user joins/parts |
[ ** ] | controlpanel | Dynamic configuration through IRC. Allows editing only yourself if you're not ZNC admin. |
[ ** ] | perform | Keeps a list of commands to be executed when ZNC connects to IRC. |
[ ** ] +--------------+------------------------------------------------------------------------------------------+
[ ** ] And 22 other (uncommon) modules. You can enable those later.
[ ** ] 
[ ?? ] Load module <chansaver>? (yes/no) [no]: 
[ ?? ] Load module <controlpanel>? (yes/no) [no]: 
[ ?? ] Load module <perform>? (yes/no) [no]: 
[ ** ] 
[ ?? ] Would you like to set up a network? (yes/no) [no]: 
[ ** ] 
[ ?? ] Would you like to set up another user? (yes/no) [no]: 
[ ok ] Writing config [/home/dongri/.znc/configs/znc.conf]… 
[ ** ] 
[ ** ] To connect to this ZNC you need to connect to it as your IRC server
[ ** ] using the port that you supplied. You have to supply your login info
[ ** ] as the IRC server password like this: user/network:pass.
[ ** ] 
[ ** ] Try something like this in your IRC client…
[ ** ] /server <znc_server_ip> 6667 dongri:<pass>
[ ** ] And this in your browser…
[ ** ] http://<znc_server_ip>:6667/
[ ** ] 
[ ?? ] Launch ZNC now? (yes/no) [yes]: 
[ ok ] Opening config [/home/dongri/.znc/configs/znc.conf]… 
[ ok ] Loading global module [webadmin]... [/usr/lib64/znc/webadmin.so]
[ ok ] Binding to port [6667]… 
[ ** ] Loading user [dongri]
[ ok ] Forking into the background... [pid: 16861]
[ ** ] ZNC 1.0 - http://znc.in

3. クライアント設定
クライアントはLimeChatを使ってるので
menu -> Server -> Add Server…
znc add server

4. ステータス設定
awaynick設定
http://wiki.znc.in/Awaynick
メッセージ入力欄に以下のコマンドを入力

/znc LoadMod awaynick [enter]
/msg *awaynick set dognri_ooO [enter]
/msg *awaynick show [enter]

これでdisconnectした時に自分のニックネームが設定した名前になる。

5. その他 module, command
http://wiki.znc.in/Modules
http://wiki.znc.in/Using_commands