View Single Post
  #2 (permalink)  
Old 10-28-2010, 11:54 PM
natemcnutty's Avatar
natemcnutty
VIP Member
Offline
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: What modifications are necessary to create a fork that re-enables the home button

Quote:
Originally Posted by manekineko View Post
I was wondering if any kindly dev could share some advice on what modifications would be necessary in order to create a fork that re-enables the home button as the top button?

I'm (one of the few?) that is using Android on my TP2 full-time as my primary phone, and I really find myself missing the ability to multi-task using the home button, as well as to see home screen previews in ADW launcher.

If it's feasible only to make changes to the infrequently modified zImage file, such that it's not something I have to deal with often, I'm mulling over forking and maintaining a version that works the original way that maximizes functionality.
Unfortunately, zImage is the one that is most updated. I think you meant rootfs which only handles injecting the keyboard drivers. I am fairly certain the rest of the control is still handled on the kernel side of things.

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
Whenever you want to update, just use git-pull. If you see that msm-gpio-keys.c gets updated during git-pull, you may need to check and see what has changed since you are no longer up-to-date on that file.

Last edited by natemcnutty; 11-02-2010 at 08:13 PM.
Reply With Quote
This post has been thanked 3 times.