Request: Enable Virtual Buttons - HTC One X

Hi,
My capacitive buttons stopped working after I dropped the phone.
So I installed Android_Revolution_HD-One_X_18.1 rom and now I need to enable virtual button such as like this
https://lh6.googleusercontent.com/-...XPG3U/s720/Screenshot_2011-12-24-18-14-47.png
I have found some threads at samsung and nexus forum but it didnt help to me.
How can I enable virtual buttons at my htc one x?
Thank you.

Have you tried adding
#NavBar
qemu.hw.mainkeys = 0
In the build prop? I don't know if it'll work but its worth a shot.
Sent from my SCH-I535 using xda premium

Install the ROM IceColdJelly 4.2.1 by LorD ClockaN. It comes with virtual buttons by default.
Sent from my One X

I have tried IceColdJelly 4.2.1 by LorD ClockaN but there wasnt network :s
I accidentally put boot.img file from Android_Revolution rom to enter the recovery maybe thats why there wasnt network after installing IceColdJelly..
I tried to edir build.prop which i did successfully but after than Android_Revolution sense rom didnt boot so I wipe everything and installed that rom again.
Eventually now Im using virtual button bar program:s
If there is an option or another zip to install to enable soft keys for Android_Revolution Rom I will be really glad for this.

Odp: Request: Enable Virtual Buttons
Sense roms doesn't support on screen button. I remember when I tried to enable it in my old sensation, but it didn't boot either. If you want on screen buttons, you need to have aosp rom
Send from my HTC One X.
POOOLSKAAAA BIALOOOO CZEEERWONIIIII!!!!!

Related

Trackpad Not Working

Can anyone give me any advice.
After flashing Carbon ara theme V2.5.1 over a previous version and Leedroid 2.3d, I have noticed by OJ has stopped working. I have tried editing sms message using it but it is dead.
I then went into Clockwork recovery but is doesnt work there either. I managed to restore to a previous version using Rom Manager but the OJ is still dead. I am unsure if this is a hardware issue or I am not getting a full wipe using Rom manager.
Also as it doesnt work in recovery my options are limited as I cant select any options!
Help!
Update
My phone now has no rom and I cant get trackpad button to work to accept install zip in recovery. Is there another way of installing a rom without needing the trackpad button.
Send it in for repair. I am sure that you can use fastboot. Search the forums.
ah...can you click track pad buttom?
and if the buttom doesn't work, i recommend you send to manufacturer.
Trackpad is only functional inside custom recovery.
Use volume keys marked with + and -.
Thanks guys. Got the phone going again but still no scrolling. The click does work though.
Sent from my HTC Desire using XDA App

[MOD] Trackpad toggle wake/sleep for Sense ROMs w/ trackpad wake [Upd: Aug 31]

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

[Q] Help

I'm not sure, if I'm right here. I use this site for the first time.
So, I have a little problem, and maybe you can help me.
Yeah, it's right: I've a HTC Wildfire S.
Now:
You know the phone well I think. My english isn't that good. At the top of the smartphone there is a button with which you can unlock the display/screen. But right there is my problem. This button doesn't work anymore. And HTC won't to that for free.
My question is: Could somebody of you - if it isn't difficult - make a ROM or something like this to change it? So that I can use something different for it? Like the buttons on the display or the loudspeaker buttons?
And there is another question: How I could lock the screen, if this button doesn't work?
I hope you can help me!!
In fact this is not only lock/unlock button, but the power on/off button. If ever your phone gets off, it's dead.
It is not possible to remap the hardware buttons. don't you have guanrantee?
Yes, I know that. But with changing the battery the phone could power on..
Do you mean that you cant do something like I want?
Yes. It is not possible. There is a way to wake up your phone with vol. buttons in a custom rom and locking can be done automatically in the security settings. but when your power button does not work you will not be able to flash a custom rom.
Thanks. That's not that what I hope. But better than no answer
To the guarantee question..normally yes..but they say it's my fault..I dropped it...but yes I dropped it but after 3 weeks the phone doesn't work..can tsomething like that be?
Try claiming on insurance for accidental damage.
Sent via Tapatalk
Root using GUI on xda, install cwm recovery by alquez, install rom manager using insinks workaround then using rom manager install Henry's Hensemod that allows you to wake by volume
I'm on my phone. So no links yet
Sent from my HTC Wildfire S A510e using xda premium
Did you try to put off the button and see if you can "fix" it manually?
I mean, if a small piece of plastic is broken, you should be able to stick it...
I don't know the exact condition, I'm just guessing and trying to help you.
since wfs has only 3 buttons, u broke the third of your phone.... and to make things worse, its power button ...
why dont you go to some phone service, and see if they could fix that button, it shouldnt be expencive, i did that on my htc tytn II....
First of all, I want to thank you all !
benjamingwynn said:
Root using GUI on xda, install cwm recovery by alquez, install rom manager using insinks workaround then using rom manager install Henry's Hensemod that allows you to wake by volume
I'm on my phone. So no links yet
Sent from my HTC Wildfire S A510e using xda premium
Click to expand...
Click to collapse
It would be very nice if you tell me this all in detail, 'cause I don't really know what you mean !
TheRedMaster said:
First of all, I want to thank you all !
It would be very nice if you tell me this all in detail, 'cause I don't really know what you mean !
Click to expand...
Click to collapse
Okay.. I will update with links tonight
Sent from my HTC Wildfire S A510e using xda premium
Thanks, benjamingwynn. I'm waiting 24/7.
Okay 5 days later I come back. I'm sorry for the lateness but I never normally go on XDA on my PC so getting links = problem. Here's step by step instructions:
1) IF YOUR NOT S-OFF - Use HTCDEV and unlock the bootloader.
2) IF YOU DONT HAVE CUSTOM RECOVERY/ARE NOT ROOTED - Click here, sign up, click on resources then click testing resources. Download the Auto-Installer GUI. Run the installer (Windows?) and then install cwm recovery and root.
3) Download Rom Manager from the Android market
4) Download Hensemod here, flash it using rom manager.
5) Enjoy Henry's wake by volume feature his amazing sense rom.
Any problems then DON'T BE AFRAID TO CONTACT ME! I will always reply even if it is a few days later.

[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

[Q] Desire stock rom - how to turn display on with trackball button ...

After I tried many many roms, finally I installed the original one. I found one which is rooted and have a2sd. So it is 2.3.3 and the camera work like a charm. Wifi hotspot also ...
I want to turn on the display with trackball key or other hardware keys at the bottom of the device. How can I achieve this?
tolisoft said:
After I tried many many roms, finally I installed the original one. I found one which is rooted and have a2sd. So it is 2.3.3 and the camera work like a charm. Wifi hotspot also ...
I want to turn on the display with trackball key or other hardware keys at the bottom of the device. How can I achieve this?
Click to expand...
Click to collapse
Install cyanogenmod, it has an option in the cm menu for this
What rom do you have in mind? cm7.2 or other based on it?
I tried cm 7.2 in the past when it came out. Probably I have its backup somewhere in my sdcard.
I really want to try the stock image right now....
Moved to Q&A
tolisoft said:
What rom do you have in mind? cm7.2 or other based on it?
I tried cm 7.2 in the past when it came out. Probably I have its backup somewhere in my sdcard.
I really want to try the stock image right now....
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=683902
Thanks I change it as I wanted.
abaaaabbbb63 said:
http://forum.xda-developers.com/showthread.php?t=683902
Click to expand...
Click to collapse
Thank you

Categories

Resources