[MOD] Trackpad toggle wake/sleep for Sense ROMs w/ trackpad wake [Upd: Aug 31] - myTouch 4G Android Development

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:
Code:
adb pull /system/app/HtcLockScreen.apk
adb pull /system/framework/com.htc.resources.apk
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.

Reserved, with first posts history.
Hi,
I guess that if I open this in Development forum and state the progress so far, I have better chances of someone helping me to achieve the goal.
One of the nice features that original MT3G ROM has, is trackpad wake/sleep - wake on first press, sleep on second. Very useful for checking time and phone state, and putting it back to sleep, eliminating possible accidental unlocks on the way to the pocket (happened to me a couple of times).
Unfortunately, Desire HD ROMs, while being pure and better Sense (and the only fully functional non-stock Sense ROM), don't have that capability. I believe that Desire Z ROMs don't have it either.
I'd like to integrate this capability into Desire HD port, and open a way to integrate it into other ROM ports and into other phones.
Starting point:
eViL D:'s DesireHD port, v.0.3.2, with trackball wake and unlock.
Done:
Found the trackball unlock in the HtcLockScreen.apk/HtcLockScreen and removed it. Wanted to point it instead to the method that does the opposite (locking the phone), but ran into several problems:
While the called goToDeviceUnlock() is a part of HtcLockScreen, the method I need to use to put the device to sleep can't be found there. I supposed that it would be in the same place as the original wake - in android.policy.jar. Looked there and found some methods - KeyguardScreenCallback has goToLockScreen() method, and KeyguardViewManager has deprecated hide() method - but I'm not sure what to use and where to call it.
I captured logcat from DHD and MT4G ROMs and saw that trackpad press on DHD ROM calls pokeWakeLock(15000) when pressing trackpad, while MT4G invokes the same procedure as for turning the phone off.
I've opened both android.policy.jar and tried to compare the relevant procedures - and didn't found any difference.
After some time, I found that if I modify shouldEventKeepScreenOnWhileKeyguardShowing() in KeyguardViewBase, I can avoid the pokeWakeLock(15000), but it still doesn't put device to sleep, only stops it from reacting on trackball and prolonging the screen on time when locked.
I tried to call goToLockScreen() in HtcLockScreen - but it didn't seem to do anything. Might be the wrong call.
Then I tried to call hide() there - but it crashed, not finding such method. I guess it isn't shared, or I missed something when calling it.
Then I tried to integrate the first method into android.policy.jar, but it didn't work either.
I also tried the "brute force" method of using DPM and declaring Device Policy Manager, calling lockNow(), but didn't complete it - HtcLockScreen doesn't inherit from Activity class, so I'd need to create a separate class and interface it. Quite some work for a very awkward solution.
So, my assumption is - 1) I still didn't find the correct method in the HTC framework that puts the phone to sleep. 2) I couldn't interface the method I hoped would do the trick (even if deprecated).
I'll be glad if one of the Sense devs would share the info I'm lacking to proceed.
Maybe I'm missing something simple like calling pokeWakeLock(0)? But it looks like I'm missing something like "duplicating" the power button functionality by trackpad, somewhere in key mapping - because the frameworks look the same. Or maybe I'm looking in the wrong place.
Click to expand...
Click to collapse
Ok, I solved it myself The solution was just the simple one I tried last - calling pokeWakeLock(0) instead of goToDeviceUnlock(). Works like a charm.
I'll soon recompile proper HtcLockScreen.apk for eViL D:'s DHD ports for MT4G and N1 and post.
Click to expand...
Click to collapse

Would this work on the coredroid port or not its 2.3.3 sense2.1
Sent from my HTC Glacier using XDA Premium App

It might not work "as is".
I can compile the mod for pretty much any Sense ROM, given 2 files from it - HtcLockScreen.apk and com.htc.resources.apk.

That would be awsome man
Sent from my HTC Glacier using XDA Premium App

hey will this mod work on RoyalThunder V1.1? its stock htc sense 2.0 so i figured it might work. cause i do miss this feature.

Might work, and in any case it can be made to work.
First post updated with the mod description and other info

Nice... will thanks later when I get home.. still at work
Sent from my HTC Glacier using XDA Premium App

Additional versions updated.

Is there any way to just turn the trackpad off so that the only way to open the unlock screen is to push the power button?

It's possible, but it requires framework modification in android.policy.jar. I can't disable it in lockscreen mod.

So cleared cache/dalvik and flashed zip, rebooted twice and do not have wake/sleep functionality yet....core droid 2.3.3...is there something I did wrong?

Awsome wich one could I use for coredroid port its 2.3.3 sense2.1
Nevermind got it thnx alot
Sent from my HTC Glacier using XDA Premium App

@Flynn, I would like to see that also I don't like the track wake feature and so far the only sense rom without it that I know of is leedroid and its extremely buggy
So if the OP could add this feature or even as another mod it would be awesome! Lol
Sent from my HTC Glacier using XDA Premium App

I wasn't able to get it to work
Sent from my HTC Glacier using XDA Premium App

Didn't work on mine with 2.3.3 sense 2.1
Straight From MyTouch 4Glacier

ronin178 said:
So cleared cache/dalvik and flashed zip, rebooted twice and do not have wake/sleep functionality yet....core droid 2.3.3...is there something I did wrong?
Click to expand...
Click to collapse
You don't need to clear caches, flashing is enough. If it doesn't work - please do the following: connect the phone by USB to PC, open Command prompt in Windows, run "adb logcat > logcat.log", put the phone to sleep, press trackball to wake, press trackball fast several times (10 at least), press "Ctrl-C" in PC, post the logcat file here.
As I wrote, I didn't test the 2.3.3 version, since I didn't want to install such a ROM on my phone. If anyone can provide me a logcat - I might be able to debug it.
Removing trackball wake completely is NOT an option, as it's done in system framework, needs to be possibly done for each ROM version, and I won't be able to keep up with it.

Yeah, figured it was a work in progress. Unfortunately I don't have a working computer atm but appreciate your effort.

How do I undo / uninstall this mod?

Fast & overkill way:
reflash your ROM.
Accurate way:
take your ROM's ZIP file
extract HtcLockScreen.apk (resides under /system/app/)
execute ADB command:
Code:
adb push HtcLockScreen.apk /system/app/
reboot the phone

Related

[MOD] Trackpad Wake - with Stock/CM ROM's [KERNEL] Updated baconbits[11/19/10]

Yet another Q&D MOD. Trackpad wake. If you're like me, I hate the placement of the power button. I have used minotauri's ad block MOD as a springboard for this. So, enjoy!
Requirements:
Root or Temp Root via VISIONary or equivalent
Busybox
Gscript (included in the zip)
*1.22.531.8 FW - Recommended
Instructions Updated:
Download gscript.zip below
Copy the package to the ROOT of you sdcard and extract it to gscript *very important!
There will now be a gscript folder on your SDcard.
Using a file manager Install Gscript.apk (inside /sdcard/gscript)
Exit your file manager
Open Gscript via app drawer
Press Menu
Add Script
Load File
Select vision-tp-wake
Ensure "Needs SU?" is checked
Save
Run Script
**The phone will then do a "Hot Restart", let it boot again et voila!
If you want to use baconbits kernel, download the zip below and flash via clockwork.
If you have Temp-Root:
This needs to be ran again after every reboot.
If you have Perm-Root:
Run this once, that's it.
*Note - I am a poor script writer.
**This will probably work for other newer HTC devices with trackpad too. I.e. Desire Z, MT4G, etc...
Change Log:
temp-root version:
initial release
perma-root & custom kernel version:
perma-root-tpwake-via-gscript-v.3 - compatible with baconbits now
cm-baconbits kernel with trackpad wake fix: 11/18/10
updated with trackpad wake kernel fix - credits to cyanogen for the commit
added 900mhz speed step
Download below
added/updated gscript zip: 11/19/10
will now create sdcard/gscript folder
Click to expand...
Click to collapse
***There is an incompatibility with cm's original baconbits. If you are using the stock kernel this will work fine. However, if you want to use baconbits, I have updated the kernel to now work with this mod. Download below.
Excuse this super NOOB question, but what exctly will this do?
Sorry, I'm still new to the Android market and the G2 is my first Android based phone but I'm learning on the fly!
hope @paul grabs this and spices it up and compiles it in an app some how, or directly into visionary. great work evil
TL24 said:
Excuse this super NOOB question, but what exctly will this do?
Sorry, I'm still new to the Android market and the G2 is my first Android based phone but I'm learning on the fly!
Click to expand...
Click to collapse
It wakes (turns the screen on) via the trackpad, which is normally done by the power button. Press the power button, screen comes on. Same thing, except it uses the trackpad.
i think it's missing a file (in bold)
cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl
minotauri said:
i think it's missing a file (in bold)
cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl
Click to expand...
Click to collapse
is this why i can't get it to work.. been trying for past 10 mins?
udpate: ahh... that did the trick... awsome work! thanks =)
minotauri said:
i think it's missing a file (in bold)
cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl
Click to expand...
Click to collapse
bone$ said:
is this why i can't get it to work.. been trying for past 10 mins?
Click to expand...
Click to collapse
Ooops, fixed now. My bad.
eViL D: said:
It wakes (turns the screen on) via the trackpad, which is normally done by the power button. Press the power button, screen comes on. Same thing, except it uses the trackpad.
Click to expand...
Click to collapse
Ah ok, figured from the topic title but i just wanted to make sure. Thanks!
Thank you, I missed this from my Nexus one!
thanks! this works great! i also missed this from the N1.
i'll probably put this in my visionary script too.
I did everything in the instructions and it doesn't want to work for me. It does the "hot restart" but still it doesn't wake with the trackpad.
Any ideas?
Sent from my T-Mobile G2 using XDA App
Man, thank you so much!
Thanks so much! This trackpad thing has been driving me crazy!
Sent from my G2.
EuroSpeed said:
I did everything in the instructions and it doesn't want to work for me. It does the "hot restart" but still it doesn't wake with the trackpad.
Any ideas?
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Having the same exact problem. Id love to have this feature, as that power button is extremely anoyying. Thanks!
Sent from my T-Mobile G2 using XDA App
eVil D thanks again man, loved your Nexus One roms hope you will be coming over to the G2 when its rooted ^_^
Thank you the one thing i also missed from my N1 the wifey now has lol you rock!
EuroSpeed said:
I did everything in the instructions and it doesn't want to work for me. It does the "hot restart" but still it doesn't wake with the trackpad.
Any ideas?
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
did you put the files in the right places?
Install gscript lite
*put vision-tp-wake.sh in /sdcard/gscript/
then put curcial-oj in /sdcard/
add the .sh to grscript and then run it and all should work.
Would it be possible to combine the lcd density scipt with this so both happen on the hot boot?
Sent from my T-Mobile G2 using XDA App
Thanks again for this man. Hated having to hit the power button all the time. The thing is that it seems to be working a few times then stops. Ive reinstalled gscript and reran the script but same thing happens. anyone else having this issue?
Works great. Thank you!
Sent from my T-Mobile G2 using Tapatalk

[Q] Slient button missing

When trying to put my desire HD i'v been told to hold down the power button and the options of virbrate, slience should be there, however all i get is power off, restart and airport mode!
anyone got any ideas been googling but no avial
thanks!
Joe1989 said:
anyone got any ideas
Click to expand...
Click to collapse
Maybe not the answer that you are looking for, but there is a free widget in the Market called 'SilentMode OnOff'.
Once installed, you can add it to your desktop(?) as a widget (1x1). It is a button that has 3 states:
* Normal (not silent)
* Silent with vibrate
* Silent without vibrate
It's like a mini version of the stock widget that allows you to enable/disable wifi/bluetooth/GPS/sync/etc.
I find this easier than using the volume buttons on the side to make it silent before bed. Those buttons don't feel like they'll last very long anyway...
HTH,
Mike
It is possible to have the options you are talking about, I have them in my power menu, but you need a deodexed custom rom to get them.
It comes standard in leedroid and rcmixhd, and is an optional addon for android revolution.
Sent from my performance enhanced Desire HD
Just hold down the vol- button. It will go to silent mode first, followed by silent with vibration.
There's an HTC widget called Profiles under Settings in the widget list. Does the job for me.
Sent from my Desire HD using XDA App
Yes custom ROMs such as the latest LeeDrOiD 1.3 / 1.3a have the power menu you describe when you hold the power button however be warned if you are flashing it make damn sure you have Radio S-Off using One Click Radio S-Off. You will need root access and Eng S-off using Clockwork Recovery but be sure you get RADIO S-OFF as if you don't you'll loose full super user access and get other restrictions that come with the latest 2.2.1 build by HTC that there is currently no fix for. believe me this is how my phone is now as this wasn't made clear on the guide on the LeeDrOiD page.
Yoshi_523 said:
Yes custom ROMs such as the latest LeeDrOiD 1.3 / 1.3a have the power menu you describe when you hold the power button however be warned if you are flashing it make damn sure you have Radio S-Off using One Click Radio S-Off. You will need root access and Eng S-off using Clockwork Recovery but be sure you get RADIO S-OFF as if you don't you'll loose full super user access and get other restrictions that come with the latest 2.2.1 build by HTC that there is currently no fix for. believe me this is how my phone is now as this wasn't made clear on the guide on the LeeDrOiD page.
Click to expand...
Click to collapse
So your at it again, Lee's rom or any of the 1.72 roms on this board are not the problem, you clearly are

[Q] Sense 3.0 Lockscreen without root

Hey guys, i was wondering if you can get the sense 3.0 lockscreen somehow without rooting your device?
Im running the normal stock, 2.3.3 Gingerbread Sense 2.1 on HTC Desire HD.
Thanks!
fabbenation said:
Hey guys, i was wondering if you can get the sense 3.0 lockscreen somehow without rooting your device?
Im running the normal stock, 2.3.3 Gingerbread Sense 2.1 on HTC Desire HD.
Thanks!
Click to expand...
Click to collapse
t if you don´t have root permissions you can´t 3.0 lockscreen from the recoverymenu...okay...
but, can be i´m mistaken.. i don´t remember all the parameters that you must to enter in the CMD or linux shell (like me) for push it from sdk of android...now i´m mixing concepts in my head (and i can´t see it because i´m writting from my device)but i hope that you need also superuser permissions for it...(root)
EDIT:you can root, install recovery, flash it and revert root access lol
Sent from my amstrad CPC using XDA premium app powered by lol
Sorry im a lil bit new to this, (i've rooted my phone before, was running Cyanogenmod 7.0.2, but still.. a lil bit noob) hehe
But what happends when i "root, install recovery, flash it and revert root access" ?
First you will have to root to obtain root access. That is so you can install Clockworkmod which requires root access to install as it modifies the stock bootloader. You will need to install Clockworkmod and then with clockworkmod you will have to flash the required files to get the Sense 3.0 lockscreen. After you have done that and made sure it works you can get a tool from XDA that lets you put all the settings back to stock. But when you do that the Sense 3.0 lockscreen will stay.
I hope you understand what I mean
Yeah im starting to understand, but how and what am i suppose to flash?
fabbenation said:
Yeah im starting to understand, but how and what am i suppose to flash?
Click to expand...
Click to collapse
You cann flash that you want....a new rom, a kernel,a theme... And the suposed sense 3.0 that you want for your device..
If you are not fully understand browse for this concepts and read a lot before flashing anything....
EDIT:read about the function of rom manager; of clockworkmod recovery... How to root.... Etc..
sent from my amstrad CPC powered by LOL..(premium xda)
Im not sure if the 3.0 lockscreen will work on the stock ROM but its worth having a go. For that you will need 3 or 4 files depending on what you encounter.
If you go to the Android development section there is a thread called Kingdom Lockscreen which is the Sense 3.0 lockscreen. You will need to flash the Sense 3.0 weather funtionality and the Sense 3.0 messaging functionality before the lockscreen.
Before you do anything (but once you have rooted and installed clockworkmod) I recommend that you do a Nandroid backup - A Nandroid backup is a backup that is made from within the Clockworkmod recovery environment that you can access either through ROM manager or by holding down the volume button while the device is turned off and then whilst keeping it held pressing the power button. A Nandroid backup backs up your ROM while its in its working state, all your applications will be backed up. Therefore if anything goes wrong you can just boot into recovery and re-flash the backup. A backup is quite large in size though. My last one was about 700MB so make sure you have enough space on the SD card.
So once you have backed up everything you will need to install the Sense 3.0 weather and restart the phone just to test everything is working. That is because if you install everything at once and it doesnt work its next to impossible to find out what caused the fault. Once you have done that you will need to go back into Clockworkmod and flash the messaging. Again restart and once you see that the messaging works you will need to go back into Clockworkmod to flash the lockscreen.
And that is it. If you encounter any problems while the lockscreen is installed (I had a problem where when I pressed power off the phone restarted instead), you will need to apply the fix which is on page 61 of that thread. That should fix everything.
After that you would just need to unroot. There are some tools for that lurking about the forum somewhere.
EDIT: I would strongly recommend installing a custom ROM as they are just so much better than the rubbish HTC give out. Much faster, more secure and there is much better support in place for them as most people wouldnt expect. If you have a problem with a custom ROM and you post it here, you will get an answer within 15 minutes guaranteed instead of having to wait for HTC for 15 days to answer your email and then find out they didnt answer the question but just said "sorry tough luck".
raze599 said:
Im not sure if the 3.0 lockscreen will work on the stock ROM but its worth having a go. For that you will need 3 or 4 files depending on what you encounter.
Click to expand...
Click to collapse
the lockscreen maded by @seo (kingdom) works in the all the roms that haven´t
mixed framework, like ported roms...he has a pure WEE OF. RUU for DHD, lockscreen its going to run perfectly.
raze599 said:
You will need to flash the Sense 3.0 weather funtionality and the Sense 3.0 messaging functionality before the lockscreen.
Click to expand...
Click to collapse
it is not neccesary... there´s also the @kryciecs 3.0 lockscreen and its not neccesary flash anything before... i tested it.
i´ve seen neccesary correct the post for don´t create confussion...
please,Do not receive it as an offense... i really apreciate your post
SERGI.3210 said:
the lockscreen maded by @seo (kingdom) works in the all the roms that haven´t
mixed framework, like ported roms...he has a pure WEE OF. RUU for DHD, lockscreen its going to run perfectly.
it is not neccesary... there´s also the @kryciecs 3.0 lockscreen and its not neccesary flash anything before... i tested it.
i´ve seen neccesary correct the post for don´t create confussion...
please,Do not receive it as an offense... i really apreciate your post
Click to expand...
Click to collapse
Im kinda lost/confused. Dont understand nothing, haha... but thanks for all your comments, ill read more forums etc. to try understand this and maybe i come back with some questions
SERGI.3210 said:
the lockscreen maded by @seo (kingdom) works in the all the roms that haven´t
mixed framework, like ported roms...he has a pure WEE OF. RUU for DHD, lockscreen its going to run perfectly.
it is not neccesary... there´s also the @kryciecs 3.0 lockscreen and its not neccesary flash anything before... i tested it.
i´ve seen neccesary correct the post for don´t create confussion...
please,Do not receive it as an offense... i really apreciate your post
Click to expand...
Click to collapse
Lol no problem
That's just what I got told in the thread when I asked how to install it lol
fabbenation said:
Im kinda lost/confused. Dont understand nothing, haha... but thanks for all your comments, ill read more forums etc. to try understand this and maybe i come back with some questions
Click to expand...
Click to collapse
@raze & me are saying to you in a few words that you can flash 3.0 lockscreen without problems.... Important to do that @raZe said avobe...do a backup...etc... For to download sense 3.0 things scroll in dev. Forum for kingdom's thread...
SUMMARY:for install it don't forget to do a "mount data";then flash it & before reboot do a wipe caché..
sent from my amstrad CPC powered by LOL..(premium xda)

replace Sense 3 lockscreen with Sense 2?

Is there a way to get the older lockscreen back onto a Sense 3 ROM?
Or even, are there any optimised Sense 2 ROMs? It seems all ROMs in the dev section use Sense 3 (and I'm not a fan)..
brpqzme said:
Is there a way to get the older lockscreen back onto a Sense 3 ROM?
Or even, are there any optimised Sense 2 ROMs? It seems all ROMs in the dev section use Sense 3 (and I'm not a fan)..
Click to expand...
Click to collapse
Ill see if I can pull the lockscreen apk out of an old rom for you later. But its as easy as pulling the htclockscreen.apk out of an old rom
Until he answer you i have a bit different solution, by using WidgetLocker, here is a market link to it : Widget Locker, it's tested and i can say, best and most customizable lockscreen out there. Good luck.
Story short , i updated my wife's wfs to 2.3.5, and the unlock screen as well as answering screen is a bit choppy (using official rom , s-on, hboot 0.90000 - noob) and i was wondering how can i get the 2.3.3 lock screen (no apps from market, stock one) or how to downgrade from 2.3.5 if that is even possible ? pls help
I have build a stock 2.3.5 Europe version with the older style slide unlock.I didn't like the unlock rings myself and i couldn't install any RUU files after unlocking the boot-loader so i built it to try.Works very good here, i use CWM to flash the zip in recovery.If you would like to try it here is the un-direct link as i cant post a direct link as i am a new member.
w w w . mediafire . com /?33r6ccpcxbmcspp
Tested
brpqzme said:
Is there a way to get the older lockscreen back onto a Sense 3 ROM?
Or even, are there any optimised Sense 2 ROMs? It seems all ROMs in the dev section use Sense 3 (and I'm not a fan)..
Click to expand...
Click to collapse
I also didn't like it much and tried an experiment. It doesn't get the sense lock screen but removes those ring lock and gets the basic lock screen of android. Thats much better than the ring lock.
To do this you must be a root user.
1. Open a file browser in your mobile(I prefer root explorer but any other file browser would do which allows to access root.)
2. Go to location root/system/app
3. If you are using root explorer, you'd find on the top, a button r/w. Pressing this button gives you the read and write accesses of the root files.
4. Just move htclockscreen.apk and htclockscreen.odex to any other location(preferably sd card)
5. Restart your phone.
6. You'd get the basic style android lockscreen.
7. This method is irreversible. So if you want to get the previous screen back and doubt that you might not like it, you better do a ROM backup before doing any of this.
Advantages :-
Phone responds faster while unlocking screen.
Very simple interface
Pretty much attractive too
Disdvantages :-
You can not get the screen lock back if you have done this once.
To get the ring lock back you'd either need to reflash your backup or would hav to use widgetlocker app.
Biggest Disadvantage :-
If you receive a call while your phone is locked, the light won't turn on, you'd fist have to unlock the phone to see the caller and then only you'd be able to receive or reject the call.
I have experimented this method on my WFS. It worked. But I didn't like the unlocking while receving the call, hence I reflashed my backup.... All the best....
rockdev - please tell me are there any problems with the sense 2.0 lockscreen on the 2.3.5 update, beacause i'm interested in installing your rom, do you still have notifications on your screen even with this lockscreen ? my w's device is s-on with hboot 0.9000 but i am going to unlock it if this method is worth, or do you suggets otherwise. 10x in advance
orbinho said:
rockdev - please tell me are there any problems with the sense 2.0 lockscreen on the 2.3.5 update, beacause i'm interested in installing your rom, do you still have notifications on your screen even with this lockscreen ? my w's device is s-on with hboot 0.9000 but i am going to unlock it if this method is worth, or do you suggets otherwise. 10x in advance
Click to expand...
Click to collapse
No problems with mine at this stage the lockscreen works perfectly, it runs very well.I still have all the notifications and everything.It is stock standard expect the lockscreen and the power fix for longer battery life. my phone is s-on i have hboot 1.08.009 but i have the bootloader unlocked through htc.I flash it from CWM in recovery mode hope that helps.
cheers
rockdev said:
No problems with mine at this stage the lockscreen works perfectly, it runs very well.I still have all the notifications and everything.It is stock standard expect the lockscreen and the power fix for longer battery life. my phone is s-on i have hboot 1.08.009 but i have the bootloader unlocked through htc.I flash it from CWM in recovery mode hope that helps.
cheers
Click to expand...
Click to collapse
I totally agree.... It's just a basic lockscreen but the problem is that to get this, you'd require to be rooted. S-On wouldn't be a problem.... You can still handle it but as already said, while attending the call, you'd require to unlock the phone first....
Enjoy....
ok, so let get this straight, the lock screen works flawlessly but when someone calls ,it won't unlock itself for me to pick up, (like in in sense 2.0, where you need to swype up and down in order to answer or reject), and i have to first unlock the screen (while phone is ringing) and second to swype, also i'd like to thank you for your quick responses.
orbinho said:
ok, so let get this straight, the lock screen works flawlessly but when someone calls ,it won't unlock itself for me to pick up, (like in in sense 2.0, where you need to swype up and down in order to answer or reject), and i have to first unlock the screen (while phone is ringing) and second to swype, also i'd like to thank you for your quick responses.
Click to expand...
Click to collapse
Yes that's correct you need to swipe it sideways to unlock the phone then either except or decline the phone call. I prefer to do this as with the lock rings i was always missing calls or worse hanging them up.I can do another rom with the slide down unlock if that's preferred I actually built that type first it was dexoed zipalined... but I preferred the slide unlock better.
Let me know if you would prefer the slide down type of unlock as i can build another and upload it.I also have a stock 2.3.5 all original which i built first its has the lock rings.I just couldn't flash any RUU files no matter what i tried so that's why I extracted the image's from the RUU file and built my own.
cheers
---------- Post added at 01:33 AM ---------- Previous post was at 01:18 AM ----------
nikhilkaushik said:
I totally agree.... It's just a basic lockscreen but the problem is that to get this, you'd require to be rooted. S-On wouldn't be a problem.... You can still handle it but as already said, while attending the call, you'd require to unlock the phone first....
Enjoy....
Click to expand...
Click to collapse
Yes your correct i did root my phone after unlocking the bootloader and installed CWM, I actually forgot about that but its easy to do.The roms are not rooted though all mine have stock permissions.

[Q] Disable trackball unlock - rsk sense 3.5 rom

Hi guys,
I'm using the 'RSK team sense 3.5 with amaze cam' rom on my desire and was hoping to disable the trackball unlock feature. It keeps unlocking in my pocket and it's really frustrating. I've seen a few fixes around: one that fixes stock and one that fixes cm7 and was wondering whether these can safely be applied, or whether I need a specific fix for this rom OR, alternatively, whether there is a menu option hidden in the rom somewhere I'm just not seeing.
The fix I found for stock and cm7 is this one: http://forum.xda-developers.com/showpost.php?p=14453689&postcount=10687
Thanks for your help!
I think that the option for T2U is in RC mix tweaks option.
Sent from my HTC Desire using Flashes and Thunders
nlooooo said:
I think that the option for T2U is in RC mix tweaks option.
Click to expand...
Click to collapse
There's an option in the aroma installer, but it doesn't appear to work. And although there's an option in the tweaks 3D settings for volume-key wake, there doesn't appear to be one for trackball :S
yh the option is in aroma setup like said above. u could look in the attachments of the rom thread coz theres sometimes zip files u can flash in recovery to disable/enable trackball wake etc etc
Sent from my HTC Desire
Did you ever get to the bottom of this? I'm also using the latest RSK rom and the trackball unlock is really bothering me and there doesn't seem like a way to turn it off.
Tell Me Where is Gandlaf said:
Did you ever get to the bottom of this? I'm also using the latest RSK rom and the trackball unlock is really bothering me and there doesn't seem like a way to turn it off.
Click to expand...
Click to collapse
Like i said above, the answer and zip file is there. Go to desire android development, go down to RSK rom and at the end of the rom title there is a wee paper clip (thats the attachments) click it, zip file there + other usefull sh*t.
:banghead: :banghead:
Sent from my HTC Desire
jmcclue said:
Like i said above, the answer and zip file is there. Go to desire android development, go down to RSK rom and at the end of the rom title there is a wee paper clip (thats the attachments) click it, zip file there + other usefull sh*t.
:banghead: :banghead:
Sent from my HTC Desire
Click to expand...
Click to collapse
Thanks jmcclue, didn't realise you could get to attachments that way.
Installed Deactivate_Trackpad_To_Unlock_Stock.zip from ClockworkMod Recovery (I don't have CM7 hboot) but still the trackpad unlocks..
Tell Me Where is Gandlaf said:
Thanks jmcclue, didn't realise you could get to attachments that way.
Installed Deactivate_Trackpad_To_Unlock_Stock.zip from ClockworkMod Recovery (I don't have CM7 hboot) but still the trackpad unlocks..
Click to expand...
Click to collapse
Hmm... Ok. U could try look in other sense 3.5 roms for the correct 1. This is probably not recommended but i used to do it all the time with sense 3.5 roms and never had a problem. Just nandroid first before flashing anything
Sent from my HTC Desire

Categories

Resources