This mod is for people that like the original MyTouch 4G trackpad functionality - waking the phone up on the first press, and putting it back to sleep on the second.
This mod overwrites trackpad unlock mod found in various ROMs.
Compatibility
Available versions:
- MT4G_HD (tested) - should be compatible with most 2.2 and 2.2.1 pure Sense ROMs (Desire HD/Z).
- RoyalThunder (untested).
- RoyalMint (tested) - should be compatible with most 2.3.3 Sense ROMs.
- Panache stock (tested) - should be compatible with most 2.3.3 Sense ROMs, including RoyalPanache.
- Kingdom Sense 3.0 lockscreen v0.10 (tested) - for 2.3.3 Sense ROMs using Sense 3.0 elements in mixed framework.
- Virtuous Unity 2.35 (NEW) - for Virtuous Unity 2.35 and above. Reported working on Sense 3.5 ROMs.
This mod is only working for ROMs that have trackpad wake already implemented, and allows the lockscreen to put the phone back to sleep. This mod doesn't include trackpad wake. For this reason it won't work on Gingerbread-based ROMs, Sense or not, that don't include the trackpad wake feature. Some Gingerbread Sense ROMs don't state trackpad wake as one of their features, and I can't check them all. CoreDroid port doesn't have it, Desire S ports by raffyvito don't have it. If you know a ROM that has it, tried RoyalMint and Panache versions and they didn't work - please request support in this thread.
Look here if you have Gingerbread Sense ROM and it doesn't support trackpad wake. Look at this post for Sense 3.5 trackball wake
Instructions
Flash the attached file in recovery. It should work with CWM3.x - it uses Edify scripting.
Known issues
- When the phone is turned on using power button - the first trackpad press won't put it back to sleep, but pressing once again will. I'll try to look into it and solve it, if it's something that can be solved without touching the framework.
- When the phone is turned on from power off, or plugged/unplugged in USB - trackball doesn't put the screen to sleep. Looks like the system doesn't automatically assume sleep mode in this case, and since the trackball doesn't put it to sleep, but only re-engages sleep - it doesn't work. After the default timeout engages, everything works.
Uninstallation
Extract HtcLockScreen.apk (located in /system/app/) from your ROM's ZIP file.
Execute: adb push HtcLockScreen.apk /system/app/
For other Sense ROMs
The mod is quite simple and there are good chances that it can be added to pretty much any Sense ROM. If you want me to add/fix a mod for a specific ROM, you have 2 options:
1) Provide me 2 files from your ROM:
/system/app/HtcLockScreen.apk
/system/framework/com.htc.resources.apk
Instructions for getting those files (you have to have ADB functional):
Open command prompt window (Windows) or terminal (Mac/Linux), connect the phone, execute 2 following lines:
2) Provide me a link to your ROM.
Of course, 2 files will be taken care of much quicker - I'm not always able to download 200+ MB of ROM.
This mod overwrites trackpad unlock mod found in various ROMs.
Compatibility
Available versions:
- MT4G_HD (tested) - should be compatible with most 2.2 and 2.2.1 pure Sense ROMs (Desire HD/Z).
- RoyalThunder (untested).
- RoyalMint (tested) - should be compatible with most 2.3.3 Sense ROMs.
- Panache stock (tested) - should be compatible with most 2.3.3 Sense ROMs, including RoyalPanache.
- Kingdom Sense 3.0 lockscreen v0.10 (tested) - for 2.3.3 Sense ROMs using Sense 3.0 elements in mixed framework.
- Virtuous Unity 2.35 (NEW) - for Virtuous Unity 2.35 and above. Reported working on Sense 3.5 ROMs.
This mod is only working for ROMs that have trackpad wake already implemented, and allows the lockscreen to put the phone back to sleep. This mod doesn't include trackpad wake. For this reason it won't work on Gingerbread-based ROMs, Sense or not, that don't include the trackpad wake feature. Some Gingerbread Sense ROMs don't state trackpad wake as one of their features, and I can't check them all. CoreDroid port doesn't have it, Desire S ports by raffyvito don't have it. If you know a ROM that has it, tried RoyalMint and Panache versions and they didn't work - please request support in this thread.
Look here if you have Gingerbread Sense ROM and it doesn't support trackpad wake. Look at this post for Sense 3.5 trackball wake
Instructions
Flash the attached file in recovery. It should work with CWM3.x - it uses Edify scripting.
Known issues
- When the phone is turned on from power off, or plugged/unplugged in USB - trackball doesn't put the screen to sleep. Looks like the system doesn't automatically assume sleep mode in this case, and since the trackball doesn't put it to sleep, but only re-engages sleep - it doesn't work. After the default timeout engages, everything works.
Uninstallation
Extract HtcLockScreen.apk (located in /system/app/) from your ROM's ZIP file.
Execute: adb push HtcLockScreen.apk /system/app/
For other Sense ROMs
The mod is quite simple and there are good chances that it can be added to pretty much any Sense ROM. If you want me to add/fix a mod for a specific ROM, you have 2 options:
1) Provide me 2 files from your ROM:
/system/app/HtcLockScreen.apk
/system/framework/com.htc.resources.apk
Instructions for getting those files (you have to have ADB functional):
Open command prompt window (Windows) or terminal (Mac/Linux), connect the phone, execute 2 following lines:
Code:
adb pull /system/app/HtcLockScreen.apk
adb pull /system/framework/com.htc.resources.apk
Of course, 2 files will be taken care of much quicker - I'm not always able to download 200+ MB of ROM.
Attachments
-
Wake_Sleep_lockscreen_Glacier_eViL_MT4G_HD.zip968.7 KB · Views: 430
-
Wake_Sleep_lockscreen_Glacier_RoyalThunder.zip968.7 KB · Views: 101
-
Wake_Sleep_lockscreen_Glacier_RoyalMint.zip978 KB · Views: 153
-
Wake_Sleep_lockscreen_Glacier_Panache_Stock.zip980.7 KB · Views: 165
-
Wake_Sleep_lockscreen_Glacier_Kingdom_0.10_Lockscreen.zip1.1 MB · Views: 195
-
Wake_Sleep_lockscreen_Glacier_VU_2.35.zip1.1 MB · Views: 540
Last edited: