日本語化のリソース

日本語化に必要な準備をします。

■日本語化に必要なファイル
- /system/app/Settings.apk
- /system/framework/framework-res.apk

■リソースの準備と展開
C:\apktool> adb pull /system/framework/framework-res.apk .
C:\apktool> adb pull /system/app/Settings.apk .


C:\apktool> apktool d framework-res.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...


C:\apktool> apktool if framework-res.apk
I: Framework installed to: D:\Documents and Settings\xxxxxxxx\apktool\framework\1.apk


C:\apktool> apktool d Settings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: D:\Documents and Settings\xxxxxxxx\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x020801a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020804f0
(省略)
W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x0205004e
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

足りないリソースファイルがあるみたいで /system/frameworkをチェックしてみたら com.htc.resources.apk と言うそれっぽいファイルがあったので・・・

C:\apktool> adb pull /system/framework/com.htc.resources.apk .
C:\apktool> apktool if com.htc.resources.apk
I: Framework installed to: D:\Documents and Settings\xxxxxxxx\apktool\framework\2.apk


C:\apktool> apktool d Settings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: D:\Documents and Settings\xxxxxxxx\apktool\framework\1.apk
I: Loading resource table from file: D:\Documents and Settings\xxxxxxxx\apktool\framework\2.apk
I: Copying assets and libs...

無事にframework-res.apkとSettings.apkの展開が完了しました♪

追記)
ムムム?展開した framework-res.apkに values-ja, values-ja-rJP が既に存在しています!! 中のファイルも全て日本語化済み・・・(==; ロケールの設定で日本語が選択できないのはなじぇ? (==?

追記)
Calendar Pad ProとAutomatic Task Killerが強制終了の嵐!!困る〜 (><]
追記2)
なぜか急にAutomatic Task Killerの強制終了が発生しなくなりました。(謎