[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] shane87:
HomeKey Wake Disable/Enable

I have created a couple of simple CWM-flashable zips that will disable the homekey as a wake button (homekey-wake-disable.zip) and re-enable it (homekey-wake-enable.zip).

I got the idea for these after running jt1337's TuchMi S3X v5.0 rom. In the Changelog for his rom, he had listed disabling the homekey wake as a feature on v4.0. However, on v5.0 he had reverted to the v3.0 base, and the homekey wake disable feature was removed. I felt that making this as a separate mod would be a good idea, since I HATE having the homekey as a wake button!

After doing a little digging, I found the keylayout files, and modified them directly on my phone to test if the change would be as simple as I thought it was. And it is! So I quickly copied the modified files out to my sdcard and made the homekey wake disable/enable zips.

IMPORTANT NOTES/DISCLAIMERS!!!

\begin disclaimer\

This MOD should NOT cause any permanent damages to your phone. It simply removes/adds two words to two files. WITH THAT BEING SAID, I am

NOT

responsible for any damages, losses, or nuclear holocausts caused by your flashing of either of these zips.

YOU

are the one flashing the files, and you are responsible for your own actions.

\end disclaimer\

\begin notes\

This has only been tested on Samsung-based roms. I run a Samsung-based rom, and I have no desire or intention of switching to AOSP-based roms. Well, for now anyway!:cool: In THEORY this should also work on AOSP-based roms, although I am not 100% sure of the location of the keylayout files on AOSP base, nor am I 100% positive that AOSP-base uses identical keylayouts. If you are running an AOSP-based rom (i.e. CM9/CM10/AOKP/etc.) and you wish to test this mod out, please feel free to do so, keeping this in mind: if the homekey-wake-disable.zip does NOT work, or if it causes unwanted side effects, DO NOT FLASH homekey-wake-enable.zip!!!! More than likely, any problems caused by homekey-wake-disable.zip on AOSP-base are due to differing keylayouts/file locations, and homekey-wake-enable.zip will

NOT

fix those issues. Simply re-flash your rom package to undo the changes. However, if homekey-wake-disable.zip DOES work on AOSP-base, please let me know, so I can remove this note!

Thanks to jethro650 for testing this on task650's AOKP build!!

It SHOULD work on all AOSP-based roms, However, any reports from other AOSP-based roms would still be highly appreciated!!

The homekey-wake-enable.zip is

ONLY

intended as a way to revert the changes made by homekey-wake-disable.zip. It is NOT designed for

ANY OTHER PURPOSE!!

If you have a rom that has homekey wake disabled already, it may OR MAY NOT work to enable the homekey wake feature!!

\end notes\

To disable the homekey as a wake button

1. Download the homekey-wake-disable.zip and copy it to your sdcard

2. Reboot to recovery

3. Flash the zip.

4. Reboot and you're done!

To re-enable the homekey as a wake button

1. Download the homekey-wake-enable.zip and copy it to your sdcard

2. Reboot to recovery

3. Flash the zip.

4. Reboot and you're done!

To re-enable the homekey as a wake button (alternate method)

1. Reboot to recovery

2. Reflash your rom zip

3. Reboot and you're done!