|
||||
Patch that enables home button support in XDAndroid
Update:
For now at least, the best patch to use to enable home button support is the one made by F22 on XDA that maps End to Home. For more info see this post: http://forum.ppcgeeks.com/showthread...60#post2007660 Old Info: This is an alternative kernel and rootfs branch from the 11/3 kernel and rootfs that enables the power button to register in Android as the home button. Using the stock version, even if the end button is mapped to act as home in the Spare Parts program, it will still not work for long press (which in Android brings up a recently used program list for multitasking convenience) and for programs that use the home button to do stuff (such as alternative launchers like Launcher Pro and ADWLauncher). It is intended that whenever significant progress is made to the kernel/rootfs, that an updated version of this patch will be released. Last update: 11/9 Available attached to this post Changes: Fixed wifi Instructions for installing: The patch includes 3 files. Rename zImage-XYZ to simply 'zImage' and copy it over your old zImage in andboot. Rename rootfs-XYZ to just 'rootfs.img' and copy it to your andboot folder over your old rootfs.img. Copy modules-XYZ as is to your andboot folder, and you can delete your old modules file that was already there. Do not rename this file! Last edited by manekineko; 12-06-2010 at 12:34 AM. |
This post has been thanked 6 times. |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
Quote:
As far as I can tell, it looks like it was just this commit that changed it: Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious You could try cloning the linux-msm git, revert those changes, and compile your own zImage. You can follow my guide to build your environment (just note you only need to clone prebuilt and linux-msm): http://forum.ppcgeeks.com/tp2-androi...beginners.html Once you have got to the point where you cloned it and everything is downloaded, use this command: Code:
git revert --no-commit 6c41ca69 Last edited by natemcnutty; 11-02-2010 at 08:13 PM. |
This post has been thanked 3 times. |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
Quote:
Around when they changed the kernel, Stine also made this commit to rootfs: commit 0ede780 Author: Bryan Stine Date: Wed Oct 20 17:24:35 2010 -0400 Update rhod keymaps for new power button scancode Is it possible to do something in keymaps to alter the effect of the power button scancode? |
This post has been thanked 1 times. |
This post has been thanked 3 times. |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
I'm thinking about taking this up with Mr. Stine. It's kinda wacky since our physical buttons wouldn't match, but in Android I think this makes the most sense...
End Call Button = HOME - including long press for HOME Power Button = END CALL then POWER Everything else can be left the same. Mute Button = SEARCH would be cool too, but only until we get the speakerphone sorted out Unfortunately there is no one good solution that's going to make everybody happy - because the phone was designed for WinMo, and not all RHODs have the same keys. AT&T RHODs have a PTT key, and evidently not all RHODs have the mute button... So whatever we end up doing, someone will dislike it. However, it seems more logical to use what native Android devices use in Android, rather than what we're used to in WinMo. It'll all be a lot easier/clearer methinks when we reach the Vogue level - and the development is at a point where haret is no more |
This post has been thanked 3 times. |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
Hope this gets going!
--WARNING, MY OPINION FOLLOWS, FLAME SHIELD ACTIVATED-- Honestly, if a user is capable enough to unlock their TP2, flash a custom ROM, and install and configure Android, aren't they smart enough to figure out the mapping of the home and power buttons? --FLAME SHIELD DEACTIVATED-- |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
Quote:
I know you put it around your flame shield, I'm not trying to flame. It's just that I didn't get what you mean - because changing the button mapping by hand isn't so straightforward as you can see. In addition, adding a userland option is going to require changing the Android base, which isn't going to happen. Again, not meant to flame you in any way. I really do wish there was a 'best' option here. But all the options suck - because either the buttons match and we lose functionality, or they don't match whatsoever and have all the functionality back... So I'm still holding out & hoping for the zoombar to be used. Then we'd have a few more buttons at our disposal. Last edited by arrrghhh; 11-01-2010 at 10:27 PM. |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
Haha, no, I don't see any flaming going on in your message.
What I mean is having the buttons the way they were before as the default. The way in which we get the recent programs list. And my point is that given how far a user has to go to even get into Android in the first place, having two buttons be a little different in Android shouldn't be that confusing/hard to figure out for them. |
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
Oh trust me, I feel your pain. But unfortunately they have err'd on the side of user-friendliness over functionality. Which is where most things have to err nowadays, unless you're Cisco
|
|
||||
Re: What modifications are necessary to create a fork that re-enables the home button
I would argue they aren't even erring on the side of user-friendliness, since so many users are so opposed to the loss of functionality, which is only justified by a handful of people who think the feature is pointless.
This is a loss of functionality as well as a reduction in user-friendliness. The simple fact is that Rhodium phones have redundant buttons. Recasting one of them confuses nobody. Heck, arguments could be made that power and recent programs go hand in hand. Just look at desktop PCs and Ctrl-Alt-Delete. A well-established key combo that was originally a soft reset, but evolved in some instances to provide access to the Task Manager. If desktop Windows already established, natively, a connection between running programs and power control, then this very loose argument of mine can do the same, and you can classify the backlight key as Home. |
This post has been thanked 2 times. |
|
|
|