[[android]]
#contents

* Rooted SIM unlock [#ud1bca90]
http://goo.gl/CgI9L



* Font 入れ替え。 [#tb9a3218]
ついでに build.prop 編集で画面表示縮尺変更(lcd density =200)

 # mount -o remount,rw /dev/block/mtdblock3 /system
 mount -o remount,rw /dev/block/mtdblock3 /system
 # ls -l /system/buil*
 ls -l /system/buil*
 -rw-r--r--    1 root     root          3382 Aug  1  2008 /system/build.prop
 # cp /system/build.prop /sdcard/
 cp /system/build.prop /sdcard/
 # cp /sdcard/build.prop /system/
 cp /sdcard/build.prop /system/
 # chmod 644 /system/build.prop
 chmod 644 /system/build.prop
 # ls /system/fonts/
 ls /system/fonts/
 Clockopia.ttf              DroidSansMono.ttf
 DroidSans-Bold.ttf         DroidSansThai.ttf
 DroidSans.ttf              DroidSerif-Bold.ttf
 DroidSansArabic.ttf        DroidSerif-BoldItalic.ttf
 DroidSansFallback.ttf      DroidSerif-Italic.ttf
 DroidSansHebrew.ttf        DroidSerif-Regular.ttf
 # ls /sdcard/font
 ls /sdcard/font
 DroidSans-Bold.ttf         DroidSansSemc.ttf
 DroidSans.ttf              DroidSerif-Bold.ttf
 DroidSansFallback.ttf      DroidSerif-BoldItalic.ttf
 DroidSansHangul.ttf        DroidSerif-Italic.ttf
 DroidSansJapanese.ttf      DroidSerif-Regular.ttf
 DroidSansMono.ttf
 # cp /sdcard/font/Droid* /system/fonts/
 cp /sdcard/font/Droid* /system/fonts/
 # reboot
 reboot

* takuoさんの Mms.apk で絵文字対応 [#ed6e5d46]
http://takuo.jp/junk/Mms.apk/

 # ls -l /system/app/Mms*
 ls -l /system/app/Mms*
 -rw-r--r--    1 root     root        650051 Aug  1  2008 /system/app/Mms.apk
 # mount -o remount,rw /dev/block/mtdblock3 /system
 mount -o remount,rw /dev/block/mtdblock3 /system
 # cp /sdcard/Mms.apk /system/app/
 cp /sdcard/Mms.apk /system/app/
 # reboot
 reboot


* 魔法の5行 [#s4548f5a]

 ro.ril.oem.ecclist=110,118,119
 ro.ril.hsdpa.category=8
 ro.ril.hsupa.category=5
 ro.ril.hsxpa=2
 ro.ril.fast.dormancy.timeout=3
 ro.ril.enable.sbm.feature=1
 ro.ril.enable.sdr=0
 ro.ril.oem.mosms.mode=1
 ro.ril.def.agps.feature=2
 ro.telephony.default_network=2
defaultのBuild.prop記述と重複している設定は削除。~
設定値が異なるものは元をコメントにして、上記を先頭に追加。

 # mount -o remount,rw /dev/block/mtdblock3 /system
 mount -o remount,rw /dev/block/mtdblock3 /system
 # cp /sdcard/build.prop /system/
 cp /sdcard/build.prop /system/
 # ls -l /system/build.prop
 ls -l /system/build.prop
 ----rwxr-x    1 root     root          3532 Apr  9 09:22 /system/build.prop
 # chmod 644 /system/build.prop
 chmod 644 /system/build.prop
 # ls -l /system/build.prop
 ls -l /system/build.prop
 -rw-r--r--    1 root     root          3532 Apr  9 09:22 /system/build.prop
 # reboot
 reboot


* Bluetooth のconf 比較 [#x036641e]
 - DesireHD CyanogenMod6,7(/system/etc/bluetooth)
 + Xperia x10 mini 2.1(/system/etc/bluez)


audio.conf
 -# Do not require master role for incoming connections
 -Master=false
 +# Switch to master role for incoming connections (defaults to true)
 +#Master=true

main.conf
 -DiscoverSchedulerInterval = 0
 +DiscoverSchedulerInterval = 20

 -# The link policy for connections. By default it's set to 15(0x000f) which is
 -# a bitwise OR of role switch(0x0001), hold mode(0x0002), sniff mode(0x0004)
 -# and park state(0x0008) are all enabled. However, some devices have
 -# connection stability issue or fail to setup SCO when the link is in park
 -# state, which requires park state bit cleared.
 -DefaultLinkPolicy = 7


** CM6,CM7 [#v4369a3a]

 # ls -l /system/etc/bluetooth
 ls -l /system/etc/bluetooth
 -r--r-----    1 bluetoot bluetoot      1216 Aug  1  2008 audio.conf
 -rw-r-----    1 system   system        1174 Aug  1  2008 auto_pairing.conf
 -r--r--r--    1 net_bt   net_bt         401 Aug  1  2008 blacklist.conf
 -r--r-----    1 bluetoot bluetoot       262 Aug  1  2008 input.conf
 -r--r-----    1 bluetoot bluetoot      2553 Aug  1  2008 main.conf


 # cd /sdcard
 cd /sdcard
 # ls -l main*
 ls -l main*
 ----rwxr-x    1 system   sdcard_r      2555 Apr 15 11:59 main.conf
 # mount -o remount,rw /dev/block/mtdblock3 /system
 mount -o remount,rw /dev/block/mtdblock3 /system
 # cp /sdcard/main.conf /system/etc/bluetooth/
 cp /sdcard/main.conf /system/etc/bluetooth/
 # ls -l /system/etc/bluetooth
 ls -l /system/etc/bluetooth
 -r--r-----    1 bluetoot bluetoot      1216 Aug  1  2008 audio.conf
 -rw-r-----    1 system   system        1174 Aug  1  2008 auto_pairing.conf
 -r--r--r--    1 net_bt   net_bt         401 Aug  1  2008 blacklist.conf
 -r--r-----    1 bluetoot bluetoot       262 Aug  1  2008 input.conf
 ----rwxr-x    1 root     root          2555 Apr 15 12:01 main.conf
 # chown bluetooth:bluetooth /system/etc/bluetooth/main.conf
 chown bluetooth:bluetooth /system/etc/bluetooth/main.conf
 # chmod 440 /system/etc/bluetooth/main.conf
 chmod 440 /system/etc/bluetooth/main.conf
 # ls -l /system/etc/bluetooth
 ls -l /system/etc/bluetooth
 -r--r-----    1 bluetoot bluetoot      1216 Aug  1  2008 audio.conf
 -rw-r-----    1 system   system        1174 Aug  1  2008 auto_pairing.conf
 -r--r--r--    1 net_bt   net_bt         401 Aug  1  2008 blacklist.conf
 -r--r-----    1 bluetoot bluetoot       262 Aug  1  2008 input.conf
 -r--r-----    1 bluetoot bluetoot      2555 Apr 15 12:01 main.conf
 #


* CyanogenMod7 [#q936dea6]
Liveview ペアリング問題

 # cd /data/misc/bluetoothd/XX:XX:XX:XX:XX:XX
 cd /data/misc/bluetoothd/XX:XX:XX:XX:XX:XX
 # ls -l
 ls -l
 -rw-r--r--    1 bluetoot bluetoot       216 Apr 20 10:07 classes
 -rw-r--r--    1 bluetoot bluetoot        79 Apr 21 17:08 config
 -rw-r--r--    1 bluetoot bluetoot       226 Apr  6 14:59 features
 -rw-r--r--    1 bluetoot bluetoot       336 Apr 21 17:38 lastseen
 -rw-r--r--    1 bluetoot bluetoot        84 Apr 21 17:45 lastused
 -rw-------    1 bluetoot bluetoot       111 Apr 21 17:45 linkkeys
 -rw-r--r--    1 bluetoot bluetoot        55 Apr  6 07:44 manufacturers
 -rw-r--r--    1 bluetoot bluetoot       158 Apr 20 10:07 names
 -rw-r--r--    1 bluetoot bluetoot       221 Apr 21 17:37 profiles
 -rw-r--r--    1 bluetoot bluetoot      1272 Apr 21 17:45 sdp

linkkeys 
 # cat linkkeys
 cat linkkeys
 00:0D:FD:2D:10:88 973688344CA275E54C6373934C2FEE8C 0 4
 6C:23:B9:9A:E7:7D 1FDBC63985CDAEA2E94192154EA41409 4 -1

「6C:23:B9:9A:E7:7D」がLiveview。

4 -1 はおかしいらしい。~
これを

 6C:23:B9:9A:E7:7D 1FDBC63985CDAEA2E94192154EA41409 0 4
に書き換える

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS