{"id":2207,"date":"2013-11-02T11:12:02","date_gmt":"2013-11-02T02:12:02","guid":{"rendered":"http:\/\/www.nkozawa.com\/blog\/?p=2207"},"modified":"2013-11-09T23:39:33","modified_gmt":"2013-11-09T14:39:33","slug":"tcl-hero-n3%e3%81%aeroot%e5%8c%96%e3%81%a8google-framework%e3%81%ae%e5%b0%8e%e5%85%a5","status":"publish","type":"post","link":"http:\/\/www.nkozawa.com\/blog\/archives\/2207","title":{"rendered":"TCL Hero N3\u306eroot\u5316\u3068Google Framework\u306e\u5c0e\u5165"},"content":{"rendered":"<p>TCL Hero N3\u306f\u7279\u306b\u30eb\u30fc\u30c8\u5316\u305b\u305a\u306b\u4f7f\u7528\u3057\u3066\u3082\u826f\u3044\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3064\u3044\u3064\u3044\u30eb\u30fc\u30c8\u5316\u306b\u6311\u6226\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u899a\u66f8\u3068\u3057\u3066\u6982\u8981\u3092\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002\u8272\u3005\u3068\u8a66\u884c\u932f\u8aa4\u3057\u3066\u3044\u308b\u306e\u3067\u5b9f\u969b\u306e\u624b\u9806\u3068\u306f\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u3060\u3044\u305f\u3044\u3053\u3093\u306a\u611f\u3058\u3067\u5927\u4e08\u592b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><em><strong>[ Root\u5316 &#8211; Rooting ]<\/strong><\/em><\/p>\n<p><a href=\"http:\/\/www.mgyun.com\/Function\/vroot\">ROOT\u5927\u5e08(VROOT)<\/a>\u3068\u3044\u3046\u30c4\u30fc\u30eb\u3067\u7c21\u5358\u306b\u51fa\u6765\u307e\u3057\u305f\u3002Windows\u3067\u52d5\u304f\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306e\u512a\u308c\u3066\u3044\u308b\u306eADB\u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3053\u3068\u3067\u3059\u3002Windows\u306e\u5834\u5408adb\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u63a2\u3059\u306e\u304c\u5927\u5909\u306a\u3053\u3068\u3082\u591a\u304f\u3001\u5b9f\u969b\u306bTCL Hero\u7528\u306eadb\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u5358\u72ec\u3067\u898b\u3064\u3051\u308b\u3053\u3068\u306f\u51fa\u6765\u3066\u3044\u307e\u305b\u3093\u3002\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u8aac\u660e\u306e\u5fc5\u8981\u304c\u306a\u3044\u304f\u3089\u3044\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>Rooting can be done by <a href=\"http:\/\/www.mgyun.com\/Function\/vroot\">VROOT<\/a> easily. This tool runs on the Windows. Benefit of this tool is ADB driver installs automatically. It is very difficult to find ADB driver for Windows, actually I could not find the ADB driver for TCL Hero by myself. I do not need to explain how to use this tool, it is quite easy..<\/p>\n<p><em><strong>[ Google Framework ]<\/strong><\/em><\/p>\n<p>\u4e2d\u56fdAndroid\u306a\u306e\u3067Google\u95a2\u9023\u306e\u30b5\u30fc\u30d3\u30b9\u306f\u5165\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u624b\u4f5c\u696d\u3067\u5c0e\u5165\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u524d\u63d0: adb\u304c\u4f7f\u3048\u308b\u3053\u3068<\/p>\n<p>&#8211; CM10\u7528\u306e<a href=\"http:\/\/wiki.cyanogenmod.org\/w\/Gapps\">Google Apps<\/a>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002CM10.2\u7528\u306e\u3082\u306e\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u3002<br \/>\n&#8211; \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3057\/system\/app\u4ee5\u4e0b\u306eapk\u30d5\u30a1\u30a4\u30eb\u3092Hero\u306e\u3069\u3053\u304b\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u79c1\u306fWindows\u306b\u63a5\u7d9a\u3057\u30c9\u30e9\u30a4\u30d6\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u305d\u3053\u306bxxtemp\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u308a\u305d\u3053\u306bWindows\u3067\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002adb push\u30b3\u30de\u30f3\u30c9\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002<br \/>\n&#8211; adb shell\u306b\u5165\u308a\u4ee5\u4e0b\u3092\u5b9f\u884c<br \/>\n$ su<br \/>\n# mount -o rw,remount \/system<br \/>\n# cp \/sdcard\/xxtemp\/* \/system\/app<br \/>\n# chmod 6755 \/system\/app\/GoogleContactsSyncAdapter.apk<br \/>\n-&gt; chmod 6755\u306f\u30b3\u30d4\u30fc\u3057\u305f\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5b9f\u884c\u3057\u305f\u3002(*note)<br \/>\n# reboot<\/p>\n<p>\u3053\u308c\u3067\u30ea\u30d6\u30fc\u30c8\u304c\u5b8c\u4e86\u3057\u305f\u3089Google\u30b5\u30fc\u30d3\u30b9\u304c\u4f7f\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u307e\u307e\u3067\u3082\u52d5\u304d\u307e\u3057\u305f\u304c\u30d6\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc(Volume +\u3092\u62bc\u3057\u305f\u307e\u307e\u96fb\u6e90\u30aa\u30f3)\u304b\u3089Cache\u3092\u30af\u30ea\u30a2\u30fc(&#8216;wipe cache partition)\u3057\u305f\u65b9\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>Google related services are not available on the Chinese Android. I installed Google Framework on the Hero manually.<\/p>\n<p>Pre-requisite: adb is available to use<\/p>\n<p>&#8211; Download <a href=\"http:\/\/wiki.cyanogenmod.org\/w\/Gapps\">Google Apps<\/a> package for CM10. I used gapps package for CM10.2.<br \/>\n&#8211; Unzip downloaded package and copy apk files under \/system\/app to somewhere on the Hero. I made temporary folder xxtemp on Hero media drive which connected to the Windows. adb push command can be used for this also.<br \/>\n&#8211; Execute followings on adb shell.<br \/>\n$ su<br \/>\n# mount -o rw,remount \/system<br \/>\n# cp \/sdcard\/xxtemp\/* \/system\/app<br \/>\n# chmod 6755 \/system\/app\/GoogleContactsSyncAdapter.apk<br \/>\n-&gt; Executed &#8216;chmod 6755&#8217; against all copied files. (*note)<br \/>\n# reboot<\/p>\n<p>After reboot completion, Google service should be available for use.<\/p>\n<p>You may perform &#8216;wipe cache partition&#8217; from boot menu (hold volume up and power on) just for safe.<\/p>\n<p><em>*note:<\/em><br \/>\n\u6700\u521d\u3001\u5b9f\u50cd\u3057\u3066\u3044\u308b\u4ed6\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u306a\u3089\u3063\u3066chmod 644\u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u3082\u6982\u306d\u5927\u4e08\u592b\u3067\u3057\u305f\u304c\u30b3\u30f3\u30bf\u30af\u306e\u540c\u671f\u30b5\u30fc\u30d3\u30b9\u304c\u8a2d\u5b9a\u753b\u9762\u306b\u73fe\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u3053\u3067\u4e8b\u4f8b\u3092\u8abf\u3079\u3066\u898b\u308b\u3068chmod 6755\u306b\u3059\u3079\u304d\u3068\u306e\u60c5\u5831\u3092\u5f97\u3066\u8a66\u3057\u3066\u307f\u308b\u3068\u30b3\u30f3\u30bf\u30af\u30c8\u306e\u540c\u671f\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3082\u3057\u304b\u3059\u308b\u3068chmod 755\u3067\u3082\u5927\u4e08\u592b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u8a66\u3057\u3066\u306f\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>At first, I tried &#8216;chmod 644&#8217; along with other working devices files attribute. It almost worked, but sync service of contacts was not appeared on setting panel. I studied Google apps setting example and found I should try &#8216;chmod 6755&#8217; on Google apps. Then contacts sync service became available by using &#8216;chmod 6755&#8217;. Perhaps, &#8216;chmod 755&#8217; also works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TCL Hero N3\u306f\u7279\u306b\u30eb\u30fc\u30c8\u5316\u305b\u305a\u306b\u4f7f\u7528\u3057\u3066\u3082\u826f\u3044\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3064\u3044\u3064\u3044\u30eb\u30fc\u30c8\u5316\u306b\u6311\u6226\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u899a\u66f8\u3068\u3057\u3066\u6982\u8981\u3092\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002\u8272\u3005\u3068\u8a66\u884c\u932f\u8aa4\u3057\u3066\u3044\u308b\u306e\u3067\u5b9f\u969b\u306e\u624b\u9806\u3068\u306f\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u3060\u3044\u305f\u3044\u3053\u3093\u306a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-2207","post","type-post","status-publish","format-standard","hentry","category-android"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/2207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/comments?post=2207"}],"version-history":[{"count":10,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/2207\/revisions"}],"predecessor-version":[{"id":2260,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/2207\/revisions\/2260"}],"wp:attachment":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/media?parent=2207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/categories?post=2207"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/tags?post=2207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}