{"id":5664,"date":"2012-11-01T22:27:11","date_gmt":"2012-11-01T13:27:11","guid":{"rendered":"http:\/\/www.ekesete.net\/log\/?p=5664"},"modified":"2012-11-01T22:43:30","modified_gmt":"2012-11-01T13:43:30","slug":"android%e3%81%ae%e3%82%bb%e3%83%ab%e3%82%b9%e3%82%bf%e3%83%b3%e3%83%90%e3%82%a4%e5%95%8f%e9%a1%8c%e3%82%92%e3%82%bd%e3%83%bc%e3%82%b9%e5%81%b4%e3%81%a7%e4%bf%ae%e6%ad%a3%e3%81%97%e3%81%a6%e3%81%bf","status":"publish","type":"post","link":"https:\/\/www.ekesete.net\/log\/?p=5664","title":{"rendered":"Android\u306e\u30bb\u30eb\u30b9\u30bf\u30f3\u30d0\u30a4\u554f\u984c\u3092\u30bd\u30fc\u30b9\u5074\u3067\u4fee\u6b63\u3057\u3066\u307f\u308b"},"content":{"rendered":"<p>Android\u306e\u30bb\u30eb\u30b9\u30bf\u30f3\u30d0\u30a4\u554f\u984c\u306fAndroid\u3092\u4f7f\u3044\u59cb\u3081\u305f\u521d\u671f\u306b\u6c17\u306b\u306f\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001docomo\u306e\u30c7\u30fc\u30bf\u5c02\u7528sim\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3059\u3063\u304b\u308a\u5fd8\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u5148\u6708\u304b\u3089docomo\u306e\u30c7\u30fc\u30bf\u5c02\u7528sim\u3092\u3084\u3081\u3066IIJmio\u306e\u9ad8\u901f\u30e2\u30d0\u30a4\u30eb\/D\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u307e\u305f\u3053\u306e\u554f\u984c\u306b\u518d\u4f1a\u3002<\/p>\n<p>\u4eca\u66f4\u306a\u304c\u3089\u4fee\u6b63\u7b87\u6240\u3092\u78ba\u8a8d\u3057\u305f\u306e\u3067\u3001\u5bfe\u5fdc\u306e\u305f\u3081\u306e\u66ab\u5b9a\u30b3\u30fc\u30c9\u3092\u8db3\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3061\u306a\u307f\u306b\u305a\u3044\u3076\u3093\u524d\u306b\u884c\u3063\u305f\u4fee\u6b63\u306f<a href=\"https:\/\/www.ekesete.net\/log\/?p=2865\">\u3053\u308c<\/a>\u3067\u3059\u304c\u3001\u3053\u308c\u3067\u306f\u30a2\u30d7\u30ea\u3057\u304b\u3060\u307e\u305b\u305a\u3001\u96fb\u6c60\u3082\u3061\u306e\u6539\u826f\u306b\u306f\u81f3\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4eca\u56de\u306f\u3082\u3063\u3068\u4e0b\u5c64\u3067\u3059\u3002<\/p>\n<p>\u30bb\u30eb\u30b9\u30bf\u30f3\u30d0\u30a4\u5bfe\u7b56\u3068\u3044\u3048\u3070\u3053\u3061\u3089\u3001<br \/>\n<a href=\"http:\/\/bl.oov.ch\/2012\/01\/android-sim.html\">Android + \u30c7\u30fc\u30bf\u5c02\u7528 SIM \u3067\u306e\u52d5\u4f5c\u4fee\u6b63\u30d1\u30c3\u30c1 [\u30d6\u30ed\u30fc\u30f4\u3061\u3083\u3093]<\/a><br \/>\n\u5e74\u306e\u521d\u3081\u9803\u306b\u30d1\u30c3\u30c1\u304c\u51fa\u3066\u3044\u308b\u3053\u3068\u306f\u898b\u304b\u3051\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u9803\u306f\u7279\u306b\u554f\u984c\u3082\u306a\u304b\u3063\u305f\u306e\u3067\u3042\u307e\u308a\u3088\u304f\u898b\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u601d\u3044\u51fa\u3057\u3066\u4e0a\u8a18\u30b5\u30a4\u30c8\u306e\u30d1\u30c3\u30c1\u3067\u4f55\u3092\u3057\u3066\u3044\u308b\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3088\u3046\u3068\u898b\u306b\u884c\u3063\u305f\u3068\u3053\u308d\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u3078\u306e\u30ea\u30f3\u30af\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/techlog.iij.ad.jp\/archives\/487\">\u30a2\u30f3\u30c6\u30ca\u30d4\u30af\u30c8\u554f\u984c\u30fb\u30bb\u30eb\u30b9\u30bf\u30f3\u30d0\u30a4\u554f\u984c\u3068\u306f\u4f55\u304b [\u3066\u304f\u308d\u3050]<\/a><br \/>\n\u3053\u3061\u3089\u3067iij\u306e\u6280\u8853\u8005\u306e\u65b9\u306b\u3088\u308a\u3001\u307b\u307c\u539f\u56e0\u3060\u3068\u601d\u308f\u308c\u308b\u3053\u3068\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u63a5\u7d9a\u52d5\u4f5c\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3042\u308b\u3053\u3068\u3092\u307e\u3068\u3081\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u539f\u56e0\u3067\u306f\u306a\u3044\u304b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<br \/>\n\u30fbCS(\u97f3\u58f0\u30b5\u30fc\u30d3\u30b9)\u306eRegistration\u3068PS(\u30c7\u30fc\u30bf\u30b5\u30fc\u30d3\u30b9)\u306eRegistration\u304c\u4e21\u65b9OK\u306b\u306a\u308c\u3070\u63a5\u7d9aOK\u5224\u5b9a\u3055\u308c\u308b\u3002<br \/>\n\u30fb\u97f3\u58f0\u901a\u8a71\u53ef\u80fd\u306aMVNO\u306esim\u306e\u5834\u5408\u306fCS\/PS\u3068\u3082\u306bOK<br \/>\n\u30fb\u30c7\u30fc\u30bf\u5c02\u7528sim\u306e\u5834\u5408\u306fPS\u306fOK\u3060\u304cCS\u304cNG<br \/>\n\u30fb\u305f\u3060\u3057docomo\u81ea\u8eab\u304c\u51fa\u3057\u3066\u3044\u308b\u30c7\u30fc\u30bf\u5c02\u7528sim\u306fCS\/PS\u3068\u3082OK\u306b\u306a\u308b<br \/>\n\u30fbNG\u306e\u5834\u5408\u306b\u306fRegistration\u51fa\u6765\u308b\u307e\u3067\u30ea\u30c8\u30e9\u30a4\u3057\u7d9a\u3051\u308b<\/p>\n<p>\u3053\u308c\u3092\u898b\u308b\u9650\u308a\u3067\u306f\u3001(docomo\u306e\u30c7\u30fc\u30bf\u5c02\u7528sim\u306f\u4f8b\u5916\u3068\u3057\u3066)\u97f3\u58f0\/\u30c7\u30fc\u30bf\u4e21\u65b9\u5229\u7528\u53ef\u80fd\u306a(\u554f\u984c\u306e\u767a\u751f\u3057\u306a\u3044)sim\u3067\u3042\u308c\u3070\u3001\u57fa\u672c\u7684\u306bPS\u3068CS\u306eRegistration\u72b6\u614b\u306f\u540c\u3058\u306b\u306a\u308b\u3068\u8003\u3048\u3066\u3082\u5927\u4e08\u592b\u305d\u3046? \u306a\u3089\u3070PS\u306e\u72b6\u614b\u3092CS\u306e\u5224\u5b9a\u6642\u306b\u3082\u4f7f\u3063\u3066\u3084\u308c\u3070\u826f\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u3001\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u306e\u304c\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/github.com\/ichinomoto\/mvnocspatch\/blob\/master\/frameworks\/base\/telephony\/java\/com\/android\/internal\/telephony\/gsm\/GsmServiceStateTracker.java\">GsmServiceStateTracker.java<\/a><br \/>\n\u30bd\u30fc\u30b9\u306e\u30d9\u30fc\u30b9\u306fAOSP\u306eandroid-4.1.2_r1\u30d6\u30e9\u30f3\u30c1\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/ichinomoto\/mvnocspatch\/blob\/master\/frameworks\/base\/telephony\/java\/com\/android\/internal\/telephony\/gsm\/GsmServiceStateTracker.java#L92\">L92\u4ed8\u8fd1<\/a><br \/>\nPS\u306e\u72b6\u614b\u3092\u4fdd\u6301\u3059\u308b\u5909\u6570\u3092\u8ffd\u52a0<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&nbsp; &nbsp; \/\/Add for MVNO sim<br \/>\n&nbsp; &nbsp; private int mDataRegState = -1;<\/div><\/div>\n<p><a href=\"https:\/\/github.com\/ichinomoto\/mvnocspatch\/blob\/master\/frameworks\/base\/telephony\/java\/com\/android\/internal\/telephony\/gsm\/GsmServiceStateTracker.java#L603\">L603\u4ed8\u8fd1<\/a><br \/>\nCS\u306f\u5e38\u306bNG\u72b6\u614b(3\u307e\u305f\u306f13)\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u306a\u306e\u3067\u3001CS\u306e\u72b6\u614b\u5224\u5b9a\u90e8\u5206\u306b\u524d\u56de\u306ePS\u306e\u72b6\u614b\u3092\u4f7f\u7528\u3059\u308b\u3002<br \/>\nPS\u304cOK\u306e\u72b6\u614b\u3067\u3042\u308c\u3070\u3064\u3044\u3067\u306b\u300c\u7dca\u6025\u901a\u5831\u306e\u307f\u300d\u72b6\u614b\u3082\u56de\u907f\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case EVENT_POLL_STATE_REGISTRATION:<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(\u7565)<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/Add for MVNO sim<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if((regState == 3 || regState == 13) &amp;&amp; (mDataRegState == 1 || mDataRegState == 5)) {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; regState = mDataRegState;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mGsmRoaming = regCodeIsRoaming(regState);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newSS.setState (regCodeToServiceState(regState));<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (regState == 10 || regState == 12 || regState == 13 || regState == 14) {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mEmergencyOnly = true;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mEmergencyOnly = false;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<\/div><\/div>\n<p><a href=\"https:\/\/github.com\/ichinomoto\/mvnocspatch\/blob\/master\/frameworks\/base\/telephony\/java\/com\/android\/internal\/telephony\/gsm\/GsmServiceStateTracker.java#L647\">L647\u4ed8\u8fd1<\/a><br \/>\nPS\u306e\u72b6\u614b\u306f\u3053\u3053\u3067\u53d6\u5f97\u3057\u305f\u7269\u3092\u4fdd\u6301\u3002<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case EVENT_POLL_STATE_GPRS:<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(\u7565)<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newGPRSState = regCodeToServiceState(regState);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mDataRoaming = regCodeIsRoaming(regState);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mNewRilRadioTechnology = type;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newSS.setRadioTechnology(type);<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/Add for MVNO sim<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mDataRegState = regState;<br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<\/div><\/div>\n<p>JCROM\u306b\u4e0a\u8a18\u5909\u66f4\u3092\u5165\u308c\u3066\u30d3\u30eb\u30c9\u3057\u3001GalaxyNexus\u306b\u3066IIJmio\u306esim\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u30bb\u30eb\u30b9\u30bf\u30f3\u30d0\u30a4\u554f\u984c\u306f\u767a\u751f\u305b\u305a\u3002\u300c\u7dca\u6025\u901a\u5831\u306e\u307f\u300d\u306b\u3082\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u6b21\u306e\u65e5\u306b\u3053\u306e\u5909\u66f4\u3092\u9069\u7528\u3057\u305fROM\u3092\u66f8\u304d\u8fbc\u3093\u3060GalaxyNexus\u30921\u65e5\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002(\u307b\u3068\u3093\u3069\u6301\u3063\u3066\u6b69\u3044\u305f\u3060\u3051)<br \/>\n\u7d50\u679c\u300112\u6642\u9593\u3067\u96fb\u6c60\u306e\u6d88\u8cbb\u306f20%\u7a0b\u5ea6\u3002\u671d100%\u306a\u306e\u3092\u78ba\u8a8d\u3057\u3066\u6301\u3063\u3066\u51fa\u306620\u6642\u9803\u306b\u5e30\u5b85\u3057\u3066\u518d\u5ea6\u78ba\u8a8d\u3057\u305f\u3068\u304d\u306b\u96fb\u6c60\u306f\u6b8b\u308a81%\u3067\u3057\u305f\u3002<br \/>\n\u305f\u3060\u3057\u4eca\u65e5\u306f\u307b\u3068\u3093\u3069\u753b\u9762\u306f\u898b\u3066\u3044\u306a\u3044\u306e\u3067\u307e\u3060\u6570\u65e5\u4f7f\u3063\u3066\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u56fd\u5185\u306eMVNO\u3067\u306a\u3044sim\u3092\u4f7f\u3046\u5834\u5408\u306b\u306f\u5165\u308c\u306a\u3044\u65b9\u304c\u826f\u3044\u4fee\u6b63\u306a\u306e\u3067\u3001\u516c\u958b\u3059\u308b\u3088\u3046\u306a\u30ab\u30b9\u30bf\u30e0ROM\u306b\u306f\u5165\u308c\u3089\u308c\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u500b\u4eba\u3067\u30d3\u30eb\u30c9\u3059\u308b\u5834\u5408\u306b\u306f\u6709\u52b9\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u79c1\u3068\u3057\u3066\u306f\u3053\u306e\u5909\u66f4\u3092XperiaP\u306b\u5165\u308c\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u30ab\u30b9\u30bf\u30e0ROM\u3092\u30d3\u30eb\u30c9\u3059\u308b\u65b9\u6cd5\u304c\u306a\u3044\u306e\u304c\u6b8b\u5ff5\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305aXperiaP\u306b\u306f\u5148\u306e\u30d1\u30c3\u30c1\u3092\u5229\u7528\u3055\u305b\u3066\u3082\u3089\u3046\u3053\u3068\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android\u306e\u30bb\u30eb\u30b9\u30bf\u30f3\u30d0\u30a4\u554f\u984c\u306fAndroid\u3092\u4f7f\u3044\u59cb\u3081\u305f\u521d\u671f\u306b\u6c17\u306b\u306f\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001docomo\u306e\u30c7\u30fc\u30bf\u5c02\u7528sim\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3059\u3063\u304b\u308a\u5fd8\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u5148\u6708\u304b\u3089docomo\u306e\u30c7\u30fc\u30bf\u5c02\u7528sim\u3092\u3084\u3081\u3066IIJmi\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.ekesete.net\/log\/?p=5664\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-5664","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts\/5664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5664"}],"version-history":[{"count":75,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts\/5664\/revisions"}],"predecessor-version":[{"id":5747,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts\/5664\/revisions\/5747"}],"wp:attachment":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}