[FYI] A realization when doing some of the mods - Hero CDMA General

Some of you have probably seen some of the mods in the Hero Development forum and have applied them. One thing that I have noticed, or that I thought was a really cool mod was removing the end call button from the screen - mainly because it can hang up an important call if you face dial (not a problem I currently have, but the 1 time it happens can be devastating)...another mod that is really cool is remapping the hard keys (menu, search, back, home, vol up and down). I have already utilized the mod to allow my search button to control play/pause of media files without waking the phone up.
To the point: Yesterday, I was looking through the remap mod to find out if there is a way to map actions to hard-press buttons, in looking for that, I found that there is an option for Power. Now, as many of you know, the Hero does not have a power button to turn the screen off when in a phone call - that is what the Power option does - turns the screen off WITHOUT hanging up on the person you are talking to. Now, the only way to end the call is to press the End Call button on the dialer...kind of hard to do if you removed the button LOL...so for anyone doing mods, save your work, you never know when you will have to go back...I deleted the backup files because I thought I was done with modding the dialer/phone.
Hope this helps someone.

evilvoice said:
Some of you have probably seen some of the mods in the Hero Development forum and have applied them. One thing that I have noticed, or that I thought was a really cool mod was removing the end call button from the screen - mainly because it can hang up an important call if you face dial (not a problem I currently have, but the 1 time it happens can be devastating)...another mod that is really cool is remapping the hard keys (menu, search, back, home, vol up and down). I have already utilized the mod to allow my search button to control play/pause of media files without waking the phone up.
To the point: Yesterday, I was looking through the remap mod to find out if there is a way to map actions to hard-press buttons, in looking for that, I found that there is an option for Power. Now, as many of you know, the Hero does not have a power button to turn the screen off when in a phone call - that is what the Power option does - turns the screen off WITHOUT hanging up on the person you are talking to. Now, the only way to end the call is to press the End Call button on the dialer...kind of hard to do if you removed the button LOL...so for anyone doing mods, save your work, you never know when you will have to go back...I deleted the backup files because I thought I was done with modding the dialer/phone.
Hope this helps someone.
Click to expand...
Click to collapse
Yup, nandroid FTW. Curious, did you get it fixed? Or are you also asking for assistance?

Havent fixed it yet, though I could just send the keylayout undoing the power button for now. In the end, I will have to add the end call button back because I am really liking the ability to turn the screen off without hanging up. I just cant remember what I did to do the mod, if I actually removed lines of code or commented them out. It is JsChiSurfs mod, but because the files posted were old, I edited my file with his method...looks like it is apktool time.
Edit: I should point out that with the mod, pressing the end call button on the dialer isnt the ONLY way, even though I said it was. You could also reboot the whole phone - currently what I have to do now for those that dont terminate the call. JOY!

Oh my!!!!! I always wanted to find a way to turn off the screen while on a call. Please, please, please find out how you did it.

The thread by Decad3nce is Here. You basically change
Code:
key 107 ENDCALL WAKE_DROPPED
to
Code:
key 107 POWER WAKE_DROPPED

Hell yeah!!!! That's what I'm talking about.

Related

Problem: holding keys somehow disabled

hello,
i have a problem with my xda neo:
holdung hardware buttons doesn't work anymore.
for example the volume keys: some days ago i could hold down the button on the side and the volume gets reduced until the phone is silent. or in menus or contacs i could hold down the cursor button and the selection was going down. now it goes down only one entry and doesn't scroll down anymore. may i have disabled it? i have sktools but i did not find the setting for it.
does someone know, what i have to do?
ps: i don't want to hardreset
edit: ok, looking around in tools and registry didn't help. but the built in settings dialog was the solution. sometimes the easiest way is the solution
heh lol, good you fixed it
With a complete lack of knowledge how to fix it I was already ready to give you advice to make a backup of your phone, do a hard-reset and check if the button was at least still working. Then you could have put the backup back again and you are up and running. Which would at least have ruled out hardware problems

Re-Assigning Power Button

Hey guys, I just got my 8525 a week ago, I'm still trying to get used to it. Overall i think i like it more then my TREO650 but i have one problem, i cant stand the small power button on the side. Most of the time i push it i push the slide keyboard out too, its so small i can never find it.
My old Treo650 had the power button and locking keys on the END button, when i push END it would lock and turn off the screen, to Unlock i would push END again and then the Center button. Is there any way to re-assign the Power button on the 8525 to be like my old Treo650?
Any suggestions guys. I am having the same problem with small power button
DAFTEK said:
its so small i can never find it.
Click to expand...
Click to collapse
sounds like a personal problem, maybe see a doctor?
On a serious note.. i dont think it can be reprogrammed via the software, i believe the power button is actually mapped via hardware since it is used for functions like putting the phone into bootloader mode, etc.. i could be wrong though.
Hey thanks for the reply although its my phone with the small problem I have tried two programs on the forum here called Devicelock.cab but that only locks the device but you still have to push power to power the phone back up.
I believe the power key can be reprogrammed in one or two highly invasive ways.
However, it doesn't sound like you want to re-assign the power key, but to assign the power off function to another key. Is that correct? That's easy/
If you want to assign the power on function, that is more complicated, but there are work arounds.
V
I agree with the original poster. The small power on/off button is poor design. When I want to place a call, I first need to turn the device on by hitting that very small button. Then I need to activate the phone app or invoke MS voice command. It's just plain poor design. I love my 8525, but it could be so much better if the product designers at HTC actually thought about the ergonomics of the tasks users do the most.
One more gripe. The phone app is atrocious. Getting to the recent dialed list or to toggle the speakerphone usually requires bringing up a menu. This is annoying for a phone and a better design could mitigate the poor usability. I/m not an iPhone fanboy but take a look at the thought Apple put in there *first* phone and it is quite illuminating on the state of PPC phones.
r111 said:
[...]Getting to the recent dialed list or to toggle the speakerphone usually requires bringing up a menu[...]
Click to expand...
Click to collapse
You could try scrollwheel up or D-pad up for recent call list .
(also down for speed-dials).
Maybe you could map a button for speakerphone, not sure though.
ovidiugm said:
Maybe you could map a button for speakerphone, not sure though.
Click to expand...
Click to collapse
The original poster could - while in a call - try pressing the green button for two or three seconds.
I think it's even mentioned in the manual...
Cheers
Daniel
Hello.
I agree with the previous posters. The badly placed powerOn button is "bad design". If anyone finds the sollution (to PowerON the device using another key) please share it!
Otherwise, this is a great device. A true pocket computer
Best regards, jZ
+1 for the poor design.
I always hit the power button as I am pulling it out of the case when a call comes in, that turns off the screen, then I have to hit it again to see who is calling, and with all that going on as well as the ringer, the phone has a minor anurism and delays in answering.....
So to summarise the poor design aspect of this thread:
1. The power button is too small/difficult to find and press.
2. The power button is too easy to press/find even by accident.
Conclusion, it's just about right then!!
You can't please all of the people all of the time.
Mike
1. The power button is too small/difficult to find and press.
2. The power button is too easy to press/find even by accident.
Click to expand...
Click to collapse
Sounds like the classic male/female dichotomy. I never can operate my wife's buttons, however obvious the functionality might seem....
V
vijay555 said:
Sounds like the classic male/female dichotomy. I never can operate my wife's buttons, however obvious the functionality might seem....
V
Click to expand...
Click to collapse
unfortunately i can operate my wife's buttons even when i dont want to.. talk about poor design )
Lol, Shogun, remind us again how many kids you have?
Ok, some Opus Dei style self flagellation for the errant moderators going off topic.
Is this issue now resolved?
V
I can also operate my wifes buttons just fine as well but all i want is to find out if i can move the power button to maybe the PPT button or END when holding it.
Daftek, again, do you want to emulate the power key functionality, (ie on/off) on another key, and/or entirely disable the original power key?
V
Thats what I would like to do......
Hello.
I think we'd all like to assign a DIFFERENT KEY to POWER ON function. POWER OFF is no problem, because a button for this can be assigned through "Buttons". When the phone is in "sleep mode", only the POWER button can wake it.
Any solutions?
Regards, jZ
IMHO, it's possible but not easily.
Easiest work around is to disable button locking, so that pressing any button can wake the device, and then use a software lock to timeout/power off if you happen to poke a hardware button while it's in your pocket.
Alternatively you could rewrite the button driver, but it's possible (although I've not looked into it definitively) that the hardware power button is a hardware interrupt to the CPU. In which case a software based solution will not override a hardware based connection.
V
This is what I did...
I totally agree the power button is a pain, the size, placement...
I know this sounds a bit weird but I took a small piece of plastic (actually from a toothpick) and crazy glued it on the button. It works great! I never miss the button anymore! See picture...

Hard to press (power) buttons

Hi all,
I heard a lot of people complain about the hard to (press power) buttons.
Logically is the main reason why htc makes hard to press (power) buttons is to avoid acitentally turning the device on/off while its in your pocket or wathever.
So why not make good easy to press CAPACTIVE (power) HARDWARE buttons.
I think that should solve a lot of problems
Please share your opinions about this!
A capacitive power button would lead to people triggering it every time they put their hand in their pocket to get it if they so much as brush against it.
It's not that hard to press anyway.
edit: No to mention if you hold the phone in landscape mode the button would then rest against your palm, again triggering it.
a capacitive power button wont be enabled if u switched the device off.. how are you gonna start your phone then .. thats why its a physical button
i have no problem with the power button, i like it. was using a hd2 before and on this device the power button was the same like the [call end] button. and that drained my battery always. sometimes you sitting in a tight seat like on a airplaine and you alway acciedently hit the button or even by walking arround or if you have other stuff in your pocket.
It would have been nice if we could get an option to also use the volume down button to turn the screen on.
YumYumHD said:
It would have been nice if we could get an option to also use the volume down button to turn the screen on.
Click to expand...
Click to collapse
search this forum.. a couple of pages back there is this app that can do what u want.
lukesky said:
search this forum.. a couple of pages back there is this app that can do what u want.
Click to expand...
Click to collapse
Next time please just name the app, makes it a lot easier, and saves a lot of searching.
Anyway, I found it on my own, and the app is called "No Lock". Best thing of all, it's free in the market!
This app will disable the lock screen, and thus wakes up immediately without having to unlock. Also, now you can wake the phone up with the volume button.
widget locker can also power on with volume button, and its very customizable but its not free, well worth the cost tho
YumYumHD said:
Next time please just name the app, makes it a lot easier, and saves a lot of searching.
Anyway, I found it on my own, and the app is called "No Lock". Best thing of all, it's free in the market!
This app will disable the lock screen, and thus wakes up immediately without having to unlock. Also, now you can wake the phone up with the volume button.
Click to expand...
Click to collapse
i would if i remembered what exactly the name was, all i know is this question was asked several times by different people already so i just glanced through them without really paying much attention to specific names

[Q] HArdware Keys not working as expected? happened on two ROMS so far...

Hi folks
even if the nifty little "similar threads" thingy came up with some matches, none of them deals with the issue on the HD2, and searching the threads didnt yield results either (unless i am asking the wrong questions that is...)
My problem: Flashing ROMs was a bit of a hassle but in the end i got a working android running on my HD2. But the issue is the the hardware keys seem to act up:
The call key (leftmost) seems to be the home key but also decreases the volume at the same time.
The home key is also the home key, but doesnt do anything to the volume.
The Windows Key SHOULD be the menu key, but brings me back home instead and increases the volume. In some apps (browser) it BRINGS up the menu, but also increases the volume.
The back key and the endcall key both work as expected (surprise)
This happend on the stock desire NAND i used before and on the ROM i use right now (cant remember the name, phone not here)
I already tried to get results with the keynrchecker provided with buttonremapper, but it comes back with several results per keypress (confusing).
right now i workaround with button savior, but i'd rather like to have the keys work as expected...
Does anyone have a clue as to whats going wrong?
Have a nice day
rambuster

[Guide] Anti pocket unlock tweak

New guy here!
I'm from holland and I have a 2009 hd2 which is currently running AOKP Milestone 5 SE
So this is my first guide and i'll start with something simple.
Eliminating those frustrating pocket unlocks and the screen turning on in your pocket which drains your battery.
The easiest option is to start using your volume rocker as a unlock button and removing all the front button mappings for waking your phone.
Your power button is still your lock button though.
1. Find out if your rom has any special rom options (e.g. rom control, some toolbox, cynogen mod options etc)
2. Go through those options and try to find something with volume wake, it's probably under lockscreen options.
3. If you have found the option enable it, if not you have to download WidgetLocker in the market it comes with the option in it.
4. Once you've tested it we can begin with disabling the front keys by downloading ButtonRemapper in the market.
5. Now when you're in the app, you are seeing a list of key numbers with their name and function behind it. key number 116 is the only one you need to keep on its original state, it is for the power button when the phone is unlocked.
6. Start by clicking a key and putting its state in NONE and press ok, now do this for the remaining keys, EXCLUDING 116.
7. Hit the apply button and see your hd2 hot rebooting
8. When the phone comes to its senses again, try it out!
Lock with your power button
Unlock with your volume rocker.
It almost feels like a modern android phone with the lock/unlock button on the top or side.
I hope you like it, because I really do!
3ll0s said:
New guy here!
I'm from holland and I have a 2009 hd2 which is currently running AOKP Milestone 5 SE
So this is my first guide and i'll start with something simple.
Eliminating those frustrating pocket unlocks and the screen turning on in your pocket which drains your battery.
The easiest option is to start using your volume rocker as a unlock button and removing all the front button mappings for waking your phone.
Your power button is still your lock button though.
1. Find out if your rom has any special rom options (e.g. rom control, some toolbox, cynogen mod options etc)
2. Go through those options and try to find something with volume wake, it's probably under lockscreen options.
3. If you have found the option enable it, if not you have to download WidgetLocker in the market it comes with the option in it.
4. Once you've tested it we can begin with disabling the front keys by downloading ButtonRemapper in the market.
5. Now when you're in the app, you are seeing a list of key numbers with their name and function behind it. key number 116 is the only one you need to keep on its original state, it is for the power button when the phone is unlocked.
6. Start by clicking a key and putting its state in NONE and press ok, now do this for the remaining keys, EXCLUDING 116.
7. Hit the apply button and see your hd2 hot rebooting
8. When the phone comes to its senses again, try it out!
Lock with your power button
Unlock with your volume rocker.
It almost feels like a modern android phone with the lock/unlock button on the top or side.
I hope you like it, because I really do!
Click to expand...
Click to collapse
Nice guide! Very similiar to my original mod here but you make it a bit more simplified xD
After removing WAKE and WAKE_DROPPED from the keys, clicking buttons doesn't wake the screen (as expected), but lights the buttons, and they stay lit forever (i.e. until the next unlock/lock).
Do you also experience the same thing? Any solution?
d4v0r said:
After removing WAKE and WAKE_DROPPED from the keys, clicking buttons doesn't wake the screen (as expected), but lights the buttons, and they stay lit forever (i.e. until the next unlock/lock).
Do you also experience the same thing? Any solution?
Click to expand...
Click to collapse
Yes this is normal, caused by a gpio wake lock from the kernel. No solution yet, I personally don't care as it drains a lot less battery than having your screen come on
Sent from my HTC HD2 using Tapatalk
elesbb said:
Yes this is normal, caused by a gpio wake lock from the kernel. No solution yet, I personally don't care as it drains a lot less battery than having your screen come on
Sent from my HTC HD2 using Tapatalk
Click to expand...
Click to collapse
gpio don't need wakelocks in kernel, when interrupt is raised, cpu exits suspend and services the raised gpio interrupt. This is problem with bad coding logic of the key's backlight driver, i will see what can be done in some days (really busy atm).
Rick_1995 said:
gpio don't need wakelocks in kernel, when interrupt is raised, cpu exits suspend and services the raised gpio interrupt. This is problem with bad coding logic of the key's backlight driver, i will see what can be done in some days (really busy atm).
Click to expand...
Click to collapse
This is still kernel related though right? as it deals with the driver? And you really dont have to work on it its not that big of a deal, put it on lowwwww priority you do amazing work here so as it is
the most important thing is to not keep anything else metal and/or hard, in your pocket with the hd2. Items like batteries or keys
3ll0s said:
...
Lock with your power button
Unlock with your volume rocker.
...
Click to expand...
Click to collapse
This idea is awesome, thank you!
I've customized it a little bit to save my power button (and so my touchscreen connector).
I've set all my hardware buttons to power, but without wake property.
Now, I can:
Lock with any hardware button
Unlock with volume rocker.
thanks a lots aha

Categories

Resources