{"id":263,"date":"2012-11-05T11:26:48","date_gmt":"2012-11-05T11:26:48","guid":{"rendered":"http:\/\/partridges.org.uk\/?p=263"},"modified":"2012-11-05T11:26:48","modified_gmt":"2012-11-05T11:26:48","slug":"customising-my-s3","status":"publish","type":"post","link":"https:\/\/partridge.site\/blog\/index.php\/2012\/11\/05\/customising-my-s3\/","title":{"rendered":"Customising my S3"},"content":{"rendered":"<p>Realised last week that I hadn&#8217;t seen the official Jelly Bean update for my S3 and when I tried to check it told me I was running an unofficial version, so have now flashed the latest, official version on. As part of this I needed to redo my various customisations to add the on-screen buttons and disable the hardware buttons.<\/p>\n<p>First, obviously, I need to root it. I use the Chainfire auto-root because its quick and painless and I don&#8217;t yet want to go to CyanogenMod or AOSP. The link is\u00a0<a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1957273\">http:\/\/forum.xda-developers.com\/showthread.php?t=1957273<\/a>.<\/p>\n<p>So to \/system\/build.prop, added\u00a0qemu.hw.mainkeys=0 (that&#8217;s a zero at the end) to the end of the file. That enables the on-screen buttons.<\/p>\n<p>Then reboot, to check they are working before disabling the hardware buttons.<\/p>\n<p>In \/system\/usr\/keylayout\/Generic.kl, add a hash before:<\/p>\n<p>key 139 MENU \u00a0 \u00a0WAKE_DROPPED<\/p>\n<p>key 158 BACK \u00a0 WAKE_DROPPED<\/p>\n<p>That disables the two buttons on either side of the physical button.<\/p>\n<p>You can also then change or disable the single physical button in \/system\/usr\/keylayouts\/gpio-keys.kl<\/p>\n<p>At the moment I have it set to<\/p>\n<p>key 172 \u00a0HOME \u00a0CAMERA<\/p>\n<p>But you can set it to anything you want. I think HOME \u00a0 WAKE is the default. I guess the order is what they do when the phone is active or inactive?<\/p>\n<p>key 172 also appears in Generic.kl, but seems to be over-ridden by gpio-keys.kl.<\/p>\n<p>Mainly this is for me to remember what I need to do each time I update the OS.<\/p>\n<p>The main pain is that some of the Samsung apps don&#8217;t now work because they have been hardcoded to the physical screen size, so can&#8217;t cope with the button bar. Specifically the dialler and the camera app are not working.<\/p>\n<p>Still looking for the stock Android camera and dialler apps, which must be able to cope.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Realised last week that I hadn&#8217;t seen the official Jelly Bean update for my S3 and when I tried to check it told me I was running an unofficial version, so have now flashed the latest, official version on. As part of this I needed to redo my various customisations to add the on-screen buttons &hellip; <a href=\"https:\/\/partridge.site\/blog\/index.php\/2012\/11\/05\/customising-my-s3\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Customising my S3&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":0,"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/partridge.site\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}