Fitting power switch, SPST or SPDT? - MTCB Hardware Development

My JY HU has no physical clicky buttons, just touch sensitive buttons. On the rare occasions where Android crashes, it needs to be rebooted which cannot be done without turning off the ignition as the front power button just puts it to sleep.
To get around this, I want to install a physical power switch interrupting the accessories / ignition power feed but I've reached a stumbling block as there are different types. Can anyone advise me which type I need to buy? Do I need an SPST switch or SPDT switch?

CARRisma said:
My JY HU has no physical clicky buttons, just touch sensitive buttons. On the rare occasions where Android crashes, it needs to be rebooted which cannot be done without turning off the ignition as the front power button just puts it to sleep.
To get around this, I want to install a physical power switch interrupting the accessories / ignition power feed but I've reached a stumbling block as there are different types. Can anyone advise me which type I need to buy? Do I need an SPST switch or SPDT switch?
Click to expand...
Click to collapse
You need a SPST. Cut the yellow wire fixed 12V. Keep the switch on for normal operation. Turn off momentarily
for reset.

halloj said:
You need a SPST. Cut the yellow wire fixed 12V. Keep the switch on for normal operation. Turn off momentarily
for reset.
Click to expand...
Click to collapse
Thanks for you help.

CARRisma said:
My JY HU has no physical clicky buttons, just touch sensitive buttons. On the rare occasions where Android crashes, it needs to be rebooted which cannot be done without turning off the ignition as the front power button just puts it to sleep.
To get around this, I want to install a physical power switch interrupting the accessories / ignition power feed but I've reached a stumbling block as there are different types. Can anyone advise me which type I need to buy? Do I need an SPST switch or SPDT switch?
Click to expand...
Click to collapse
@CARRisma - if you hide the SPST switch, you will gain the added bonus of being able to disable your head unit when you take your vehicle in for any work or when you need to valet park.
Here's a link to a good switch to hide that I've used on many installs:
http://www.ebay.com/itm/271675826438?_trksid=p2055119.m1438.l2649&ssPageName=STRK:MEBIDX:IT
Best to all,
R

Yes, that's exactly what I'm thinking too. I've bought this one:-
http://pages.ebay.com/link/?nav=item.view&id=261379518763&alt=web

Related

[Q] How can we change hardware key behaviour?

Hi folks,
is there anyone who has enough insight in android's guts to know what we need to do to influence which keys are allowed to wake the phone from standby?
I'd like to remove 'wake from standby' for all hardware buttons except the power button, in order to conserve some battery juice (my phone lives in my trouser pocket and is - probably - constantly being awakened by all of my movements.
So, I'm interested in how the hard/soft keys work.
Any pointers?
thanks,
d.
Use this: http://forum.xda-developers.com/showthread.php?t=850464

[Q] Disable power button long press = power off ?

Hi,
When doing a long-press on the power button of my Galaxy SII, after a few seconds, it powers off. This happens whether it is locked or not, and without asking for confirmation on the screen.
I'm using a Sena leather case, which presses on the power button. Each time I put it in the case, it powers off, then it restarts, and stays on "enter SIM pin code" screen. I may have discovered a new way to switch to Airplane mode but I'd like to avoid that.
Moreover, there is a distinction between :
- long press (2 seconds) : brings the power menu (Airplane / Reboot / Switch OFF)
- very long press (approx. 8 seconds) : switches the phone OFF
Also, these two keys are active even when the phone is locked.
Here's what I would like to do : disable both the 2 seconds press and the 8-seconds press when the phone is locked
I found some threads about key remapping applications or direct edit of keymap files, but none of them were successful.
Could someone point me out an application / a way to achieve that ? Does someone know if it's ever possible ?
(For now, the only workaround I found is a hardware one : disassemble the phone and sand the power button to reduce its height, so that it stays inside the casing)
Thank you in advance. Kind regards
My old HTC Hero used to do that too, which leads me to believe it is something hard-coded into Android itself. I'd suggest there is nothing much you can do, but wait and see if a dev replies or something.
Sent from my GT-I9100 using XDA
I don't know if it's possible but if it is it has to be something in the kernel.
The 8 second power off function works the same way as the on on your PC and is used if your phone stops responding so I don't see a way to disable it with an app because it's ment to turn the phone off even if an app freezes your whole phone.
Hi,
If the 8-seconds press is hard-coded, I think precautions should have been taken to avoid unwanted power off each time you put the phone into a leather pouch !
On iPhone f/ex, you have to press both power and home button during several seconds to trigger hard reboot, which makes unwanted action hard to happen unexpectedly.
It's always frustrating to encounter such a basic problems on a $600 phone using the latest state-of-the-art technology, which powers off each time you put it into your pocket ;-)
I hoped some developer has found a way to workaround this. I googled a lot, but I didn't find anything.
So, if the power button features are hard-coded, the only solution may be to hard-remove the entire power button
Problem solved.
I disassembled the phone, I removed the power button, I carefully grinded it to reduce its height, and I put it back into the phone.
(For those who may already owned an iThing, disassembling a Galaxy SII is very easy, it's a matter of seconds with a good old mini-screwdriver; proceed carefully when grinding, because if you reduce the height too much, the buttom may break)
Now my power button height is just below the casing. It's still possible to press on it with a finger, but it does not press by itself when putting the phone into my leather pouch.
Thank you for explaining it I had an issue with my S II and it went to service to solve it, they totally changed the board and was shocked when I found the short press on power button doesn't show the power menu I used to have and it switched off immediately!
I've got to return it to service and your post made me thinking it's a simple issue! It won't take time
Regards,

broken power button?

I have a le pan tc970 (froyo, no root) with a broken power button. I've tried the fix broken power button app but it doesn't work, the tablet still won't wake up with the app activated. The only thing that wakes up the screen is connecting the charger. I've cracked open the back of the tablet and can clearly see where the internal power switch is broken but I didn't have a spare part to fix it, the little spring is broken off, if all else fails I will open it back up and try some tin foil to cover the gap, but I really don't want to.. Does anyone know of another way to remap the power button or at least allow the screen to wake up with a volume button? Or have any insight as to why the fix broken power button app isn't working? Any help would be greatly appreciated, I'm tearing my hair out.

[Q] Power Button Stopped Working

Any thoughts?
The ONLY area it seems to work is to power up the device.
I cannot do the following by pressing it or holding it...
1.) Wake device up
2.) Pull up the shutdown menu
3.) Hold down to power off device
...and most importantly...
4.) cannot select options in CWM (but if I hold volume and power it'll get me into CWM)
Any idea how to flash it back to stock? I have a jig if that helps. Thanks.
Currently the only way I can wake the phone is to plug into a charger.
This had happened to me like 3 times. What I did in order to get back to work, was opening the phone and blast some air with those cans of compressed air use for computers.
Nosferatu. said:
Any thoughts?
The ONLY area it seems to work is to power up the device.
I cannot do the following by pressing it or holding it...
1.) Wake device up
2.) Pull up the shutdown menu
3.) Hold down to power off device
...and most importantly...
4.) cannot select options in CWM (but if I hold volume and power it'll get me into CWM)
Any idea how to flash it back to stock? I have a jig if that helps. Thanks.
Currently the only way I can wake the phone is to plug into a charger.
Click to expand...
Click to collapse
Most likely the power button is going bad. I get these a lot. I can solder a new power button on for $50 including return shipping. You can email me @ seivad17 [at] msn.com
Electrical Cleaner
"Go to youtube and search how to dissemble, there are couple of video that shows a step by step process of dissembly. Now the only problem is that there isnt a specific video locating the lock button and you will have to find that yourself. So after you dissemble your phone, locate the lock and use CRC QD Electronic Cleaner I read that is the most reliable and decent one out of all sprays and all you need to do is spray around the button area, and push the lock button 20-30 times and repeat the process a couple of times. After that you should let it dry for a couple of min and then put your phone back together and it should work fine!."
This worked for me. I found it in the captivate forums. Been going 1 month strong after the cleaning!
adillar2 said:
"Go to youtube and search how to dissemble, there are couple of video that shows a step by step process of dissembly. Now the only problem is that there isnt a specific video locating the lock button and you will have to find that yourself. So after you dissemble your phone, locate the lock and use CRC QD Electronic Cleaner I read that is the most reliable and decent one out of all sprays and all you need to do is spray around the button area, and push the lock button 20-30 times and repeat the process a couple of times. After that you should let it dry for a couple of min and then put your phone back together and it should work fine!."
This worked for me. I found it in the captivate forums. Been going 1 month strong after the cleaning!
Click to expand...
Click to collapse
okay I'll check that out. How about the USB port? I need a solid connection to the computer. If that's the case I can jig it, place it in download mode, and re-install my ROM and get out of the boot loop I have the phone is in. The power button then is irrelevant because I'm sure I can set the phone to wake with the volume keys thus eliminating the need for the power button. That's the other issue (and more important issue). Otherwise, I have a paper weight.
Nosferatu. said:
okay I'll check that out. How about the USB port? I need a solid connection to the computer. If that's the case I can jig it, place it in download mode, and re-install my ROM and get out of the boot loop I have the phone is in. The power button then is irrelevant because I'm sure I can set the phone to wake with the volume keys thus eliminating the need for the power button. That's the other issue (and more important issue). Otherwise, I have a paper weight.
Click to expand...
Click to collapse
If you fix the power button and you can get into CWM (like your first post says) then you should have no problem. The power button is probably shorted out (like mine was) and you cannot use it for selection.
adillar2 said:
If you fix the power button and you can get into CWM (like your first post says) then you should have no problem. The power button is probably shorted out (like mine was) and you cannot use it for selection.
Click to expand...
Click to collapse
no I can no longer get into CWM
Short story I tried returning phone to stock and went to flash a stock image file via ODIN and it's stuck on the bootup screen.

How to switch on Xiaomi Mi4i without the power button

Hi,
My phone has a faulty power button and I'm unable to get it fixed. I've found easy work-arounds for it for locking and unlocking the phone. However, I'm not sure how to turn on the phone if it's switched off.
When I connect the charger, even if the battery is 90% it won't turn on on its own...
njr08 said:
Hi,
My phone has a faulty power button and I'm unable to get it fixed. I've found easy work-arounds for it for locking and unlocking the phone. However, I'm not sure how to turn on the phone if it's switched off.
When I connect the charger, even if the battery is 90% it won't turn on on its own...
Click to expand...
Click to collapse
Have you ever solve the problem? I've also the same faulty button..and I don't know how to power on without this button
maranric said:
Have you ever solve the problem? I've also the same faulty button..and I don't know how to power on without this button
Click to expand...
Click to collapse
Nope, the only way I could turn it on was to open the back cover (very painful process) and then press the button area with a pin.
Couldn't get it fixed, so I had to change the phone.
I think there are possibilities in rooted phones, but otherwise the best thing to do is to keep a battery alarm at 30% or more, and keep it on charging whenever you can to avoid a power off. In power on, there are many ways of locking the screen in the MI UI.
njr08 said:
Hi,
My phone has a faulty power button and I'm unable to get it fixed. I've found easy work-arounds for it for locking and unlocking the phone. However, I'm not sure how to turn on the phone if it's switched off.
When I connect the charger, even if the battery is 90% it won't turn on on its own...
Click to expand...
Click to collapse
njr08 said:
Nope, the only way I could turn it on was to open the back cover (very painful process) and then press the button area with a pin.
Couldn't get it fixed, so I had to change the phone.
I think there are possibilities in rooted phones, but otherwise the best thing to do is to keep a battery alarm at 30% or more, and keep it on charging whenever you can to avoid a power off. In power on, there are many ways of locking the screen in the MI UI.
Click to expand...
Click to collapse
Thanks. I installed Blocco Schermo - Simi Studio v.3.21 , a simple app to lock the screen...and when i flagged the option "show in notification area" , the problem magically disappeared.. The Power On/Off button started to work again. I think it was an hardware problem (because the problem has come up after the phone was at the sunlight for hours in my car and went very hot) but now i think it's obviously a software problem.
Hi guys, I got the same problem too. Unfortunately, I drained my batt while playing games. So the problem now is I can't turn it on. Any idea how to turn on the phone without using the power button?
I solved it
Hi guys i solved a problem! You should hold main button + down volume button for 10-20 seconds. Then, when MI Remote opens, stay on the reboot and wait about 3 minutes, then stay on the reboot systems as well. Great work!
just change the volume flexible. its also not took much cost.

Categories

Resources