{"id":5232,"date":"2011-07-27T01:00:41","date_gmt":"2011-07-26T16:00:41","guid":{"rendered":"http:\/\/s2g.jp\/masatsu\/?p=5232"},"modified":"2020-08-02T11:15:36","modified_gmt":"2020-08-02T02:15:36","slug":"cm4is01%e3%81%a7%e3%83%98%e3%83%83%e3%83%89%e3%82%bb%e3%83%83%e3%83%88%e3%81%8c%e4%bd%bf%e3%81%88%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%aa%e3%82%8a%e3%81%be%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"http:\/\/s2g.jp\/masatsu\/archives\/5232","title":{"rendered":"CM4IS01\u3067\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f"},"content":{"rendered":"<p><a href=\"http:\/\/www.flickr.com\/photos\/masatsu\/5978208060\/\" title=\"CM4IS01\" class=\"flickr-image alignnone\" rel=\"flickr-mgr\"><img decoding=\"async\" src=\"http:\/\/farm7.static.flickr.com\/6124\/5978208060_45311c9b66_z.jpg\" alt=\"CM4IS01\" class=\"flickr-large\"  \/><\/a><\/p>\n<p>CyanogenMod for IS01\u3067\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f(^^)\/<br \/>\n\u898b\u3088\uff01\u71e6\u7136\u3068\u8f1d\u304f\u53f3\u4e0a\u306e\u30d8\u30c3\u30c9\u30db\u30f3\u30a2\u30a4\u30b3\u30f3\u3092\uff57<\/p>\n<p>2ch\u306e\u30b9\u30ec\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u3084\u308a\u65b9\u3092\u771f\u4f3c\u3066\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306b\u305d\u306e\u624b\u9806\u3092\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h4>0.\u524d\u63d0<\/h4>\n<p>OS\u306fWindows7\u3067\u3001AndroidSDK\u3084JRE\u3001IS01\u7528\u306e\u30c9\u30e9\u30a4\u30d0\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\u3002<\/p>\n<h4>1.apktool\u306e\u5165\u624b\u3068\u30b3\u30d4\u30fc<\/h4>\n<p>\u3053\u3061\u3089\u3088\u308a\u4ee5\u4e0b\u306e2\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fbapktool-install-windows-xxxxxxxxx.tar.bz2<br \/>\n\u30fbapktool1.x.x.tar.bz2<\/p>\n<p>7\/26\u73fe\u5728\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306f<br \/>\n\u30fbapktool-install-windows-r04-brut1.tar.bz2<br \/>\n\u30fbapktool1.4.1.tar.bz2<br \/>\n\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u3066\u51fa\u3066\u304f\u308b\u4ee5\u4e0b\u306e3\u3064\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30b9\u306e\u901a\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fbaapt.exe<br \/>\n\u30fbapktool.bat<br \/>\n\u30fbapktool.jar<\/p>\n<p>\u79c1\u306fddms.bat\u7b49\u3068\u540c\u3058\\android-sdk-windows\\tools\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4>2.services.jar\u306e\u30b3\u30d4\u30fc<\/h4>\n<p>CM4IS01\u304b\u3089\u30d1\u30bd\u30b3\u30f3\u306bservices.jar\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002IS01\u3092\u30d1\u30bd\u30b3\u30f3\u3068\u7e4b\u3044\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u5224\u308a\u3084\u3059\u3044\u3088\u3046\u306bD\u30c9\u30e9\u30a4\u30d6\u306eheadphone\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>[php]<br \/>\ncd d:\\headphone<br \/>\nadb pull \/system\/framework\/services.jar<br \/>\n[\/php]<\/p>\n<p>CM4IS01\u3067adb\u63a5\u7d9a\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001IS01\u5074\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3002<\/p>\n<p>[php]<br \/>\necho 1 > \/sys\/devices\/platform\/msm_hsusb_periphera\/qxdm_enable<br \/>\n[\/php]<\/p>\n<p>\u307e\u3042\u3053\u306e\u8fba\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u3084\u308a\u3068\u308a\u306fSD\u30ab\u30fc\u30c9\u7d4c\u7531\u3067\u3082\u554f\u984c\u7121\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4>3.services.jar\u306e\u89e3\u51cd<\/h4>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>[php]<br \/>\napktool d services.jar<br \/>\n[\/php]<\/p>\n<p>\u3053\u308c\u3067headphone\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306bservices.jar.out\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u304c\u51fa\u6765\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h4>4.HeadsetObserver.smali\u306e\u7de8\u96c6<\/h4>\n<p>D:\\headphone\\services.jar.out\\smali\\com\\android\\server\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308bHeadsetObserver.smali\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u7de8\u96c6\u3057\u3066\u300ch2w\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u5168\u3066\u300cheadphone\u300d\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u5168\u90e8\u30676\u7b87\u6240\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<h4>5.services.jar\u306e\u518d\u69cb\u7bc9<\/h4>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>[php]<br \/>\napktool b services.jar.out<br \/>\n[\/php]<\/p>\n<p>\u7d42\u4e86\u5f8c\u3001D:\\headphone\\services.jar.out\\dist\u306b\u65b0\u3057\u3044services.jar\u304c\u51fa\u6765\u3066\u3044\u308b\u30cf\u30ba\u3067\u3059\u3002\u79c1\u306e\u74b0\u5883\u3067\u306e\u30b5\u30a4\u30ba\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u51e6\u7406\u524d\uff1aD:\\headphone\\services.jar 656,689\u30d0\u30a4\u30c8<br \/>\n\u51e6\u7406\u5f8c\uff1aD:\\headphone\\services.jar.out\\dist\\services.jar 682,773\u30d0\u30a4\u30c8<\/p>\n<p>\u3061\u3087\u3063\u3068\u5927\u304d\u304f\u306a\u308a\u307e\u3057\u305f\u306d\u3002<\/p>\n<h4>6.services.jar\u306e\u66f8\u304d\u623b\u3057<\/h4>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>[php]<br \/>\nadb push D:\\headphone\\services.jar.out\\dist\\services.jar \/system\/framework\/<br \/>\nadb shell<br \/>\n# chown system.system \/system\/framework\/services.jar<br \/>\n# chmod 644 \/system\/framework\/services.jar<br \/>\n# reboot recovery<br \/>\n[\/php]<\/p>\n<p>\u6700\u5f8c\u306e\u30ea\u30d6\u30fc\u30c8\u306f\u30b3\u30de\u30f3\u30c9\u3058\u3083\u306a\u304f\u3066\u3082\u826f\u3044\u3067\u3059\u3002CM4IS01\u306e\u30d6\u30fc\u30c8\u30a4\u30e1\u30fc\u30b8\u304c\u5165\u3063\u3066\u308b\u65b9\u304b\u3089\u8d77\u52d5\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u3053\u308c\u3067\u4f5c\u696d\u306f\u7d42\u4e86\u3067\u3059\u3002\u518d\u8d77\u52d5\u306f\u304b\u306a\u308a\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u3001\u5931\u6557\u3057\u305f\u304b\u3068\u4e0d\u5b89\u306b\u306a\u308a\u307e\u3059\u304c\u8f9b\u62b1\u5f37\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3067\u30d8\u30c3\u30c9\u30d5\u30a9\u30f3\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30cf\u30ba\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u500b\u4eba\u7684\u306aCM4IS01\u306e\u6700\u5927\u306e\u5f31\u70b9\u304c\u514b\u670d\u3055\u308c\u307e\u3057\u305f\uff01 \u5148\u4eba\u306e\u65b9\u3005\u306e\u529f\u7e3e\u306b\u611f\u8b1d\u3067\u3059\u3002<br \/>\n\u3042\u3068\u306fATOK\u3067\u6587\u5b57\u30ad\u30fc\u304c\u52b9\u3044\u3066\u304f\u308c\u308b\u3068\u5b09\u3057\u3044\u306a\u3041\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CyanogenMod for IS01\u3067\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f(^^)\/ \u898b\u3088\uff01\u71e6\u7136\u3068\u8f1d\u304f\u53f3\u4e0a\u306e\u30d8\u30c3\u30c9\u30db\u30f3\u30a2\u30a4\u30b3\u30f3\u3092\uff57 2ch\u306e\u30b9\u30ec\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u3084\u308a\u65b9\u3092\u771f\u4f3c\u3066\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306b\u305d\u306e\u624b\u9806\u3092\u307e\u3068\u3081\u3066\u304a&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[124,136],"class_list":["post-5232","post","type-post","status-publish","format-standard","hentry","category-gadget","tag-android","tag-is01"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1NZXc-1mo","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/posts\/5232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/comments?post=5232"}],"version-history":[{"count":0,"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/posts\/5232\/revisions"}],"wp:attachment":[{"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/media?parent=5232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/categories?post=5232"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/s2g.jp\/masatsu\/wp-json\/wp\/v2\/tags?post=5232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}