[Q] Enable Software + Disable Hardware Buttons - Sprint HTC One (M7)

So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.

rougegoat said:
So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
Click to expand...
Click to collapse
not until we have s-off. The emmc checks files against its last known configuration and discards any changes. Its been that way since the evo3d. its the same reason supercid wont stick also.

Well that's extremely disappointing. The buttons on here are driving me mad. Who thought it was a good idea to have the home button do three things not one of which is go directly to the homescreen? I was really hoping to get around them.
Any word on the S-Off progress?

rougegoat said:
Well that's extremely disappointing. The buttons on here are driving me mad. Who thought it was a good idea to have the home button do three things not one of which is go directly to the homescreen? I was really hoping to get around them.
Any word on the S-Off progress?
Click to expand...
Click to collapse
My home button goes to the home screen maybe you're holding your lips wrong
Sent from my rooted unlocked rommed HTC One, on the Sprint network.

benmatlock said:
My home button goes to the home screen maybe you're holding your lips wrong
Sent from my rooted unlocked rommed HTC One, on the Sprint network.
Click to expand...
Click to collapse
One press goes to whatever page of the launcher was last in use(not always a Homescreen, most often app drawer)
Double press goes to multi-task
Long press goes to Google Now.
There is no "always go directly to the homescreen" action associated with the home button.

rougegoat said:
One press goes to whatever page of the launcher was last in use(not always a Homescreen, most often app drawer)
Double press goes to multi-task
Long press goes to Google Now.
There is no "always go directly to the homescreen" action associated with the home button.
Click to expand...
Click to collapse
I find a 2nd press of home brings me all the way back home when app drawer, or non home blink feed was previously used...

tmuka said:
I find a 2nd press of home brings me all the way back home when app drawer, or non home blink feed was previously used...
Click to expand...
Click to collapse
So now you have two very different functions tied to the same action for a total of four actions associated with the Home button, none of which is "go directly to the Homescreen". What you present here is "Go to last page used in the launcher, then go to the default homescreen."

rougegoat said:
So now you have two very different functions tied to the same action for a total of four actions associated with the Home button, none of which is "go directly to the Homescreen". What you present here is "Go to last page used in the launcher, then go to the default homescreen."
Click to expand...
Click to collapse
Yeah, sorry, i realize i didn't answer your question. I hope you find the low level solution you're searching for, and that my tip helps you in the short term.

rougegoat said:
So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
Click to expand...
Click to collapse
try flashing viper's zip here is the link
http://forum.xda-developers.com/showthread.php?t=2236849
HTC ONE

luisrod03 said:
try flashing viper's zip here is the link
http://forum.xda-developers.com/showthread.php?t=2236849
HTC ONE
Click to expand...
Click to collapse
No dice. The files are editable but have no impact.

Is there now any way to disable the hardware keys? I only want to have software keys (paranoid android 4.4 rc1)
Gesendet von meinem Nokia 3310 LTE

Related

[REQ] Trackball Home Button

I think having the trackball function as the home button would be a feature many would like to have. Any developer out there willing to take on this function?
What would be the point of the actual home button then? This seems pointless
what would be more useful is if the trackball can be programmed for stuff then we can use it to launch apps and do all sorts of things.
PhantomRampage said:
What would be the point of the actual home button then? This seems pointless
Click to expand...
Click to collapse
I have 3 things for my home button now, Quickdesk on dubbletap, recent apps on hold in, and singletap for launcher pro. for me it would be awesome to have quicker access to the recent apps, by putting the home to the trackball. and have recent apps on single click. wouldnt hurt to have the option. and it should also be available to bind the trackball click to anything u like.
I agree, or trackball to answer a call, I don't use the trackball that much.
Creating a service to run in the background wouldn't be too hard to do. The only problem is that you wouldn't be able to use your trackball to select links in the browser, for example. Good in theory, wouldn't work great in practise i don't think.
Here are the reasons why this would be a great function, and how it should go down:
The capacitive home button is not as responsive as it should be. I think we all use it A LOT, so making sure it worked perfectly everytime would be awesome. Especially when accessing "recent apps" and long pressing the home button, the capacitive button will occasionally take you home before you see your recent apps.
Double tapping can be incorporated into the home button. With the capacitive button, double tapping it has an almost 50% chance of failure. The trackball home button would fix this.
I don't know about you guys, but I usually dont use the trackball to select things on the screen. Touching it is so much easier. The trackball would be much more usefull for notifications, scrolling, and as a home button.
I agree with a previous poster, the trackball should be given to option to route to anywhere the user would like it to... Though I don't know what else there is to route to...
The ACTUAL home button can also be routed to anything the user would like. Maybe to recent apps, changing of brightness, a favorite app, an alternate launcher... ANYTHING.
This is all hypothetical of course, and as a non-dev, I actually have no clue how hard or easy this would be to create.
But what do you guys think? I know this a feature that would be really useful to me at least, and sound like some other people too.
sorry, there was a double post due to the server upgrades/issues on XDA.
Sorry to revive an ancient thread.
My N1 had a broken trackball, and in the process of replacing it i managed to kill both my home button and my seach button.
I can live without the seach, but not without the home.
Is there any progress on this topic ?
tia
John_duh said:
Sorry to revive an ancient thread.
My N1 had a broken trackball, and in the process of replacing it i managed to kill both my home button and my seach button.
I can live without the seach, but not without the home.
Is there any progress on this topic ?
tia
Click to expand...
Click to collapse
Never mind, it was a software problem caused by an incomplete flash. (wiped everything separately, but that wasn't sufficient. Returning to factory settings did the trick)
All I want is trackball to blink beautifully for me!
That's all, baby.
+1
I would also like trackball mods such as
double tap to go to an app and other tap patterns for the trackball

Apps without visible menu button

Today I bought the HTC One with the surprise that it doesn't have a dedicated menu button. I am guessing that sometime in the future this will get remedied somehow, but in the meantime is there a workaround for this?
For example, on my previous HTC Desire phone, I was using Launcher8 as my main launcher however to edit its settings I'd need to press the menu button and then press settings.
Without a dedicated menu button, I can't find anyway to change its settings. So is there any way to get around this? or will I need to root my phone and install a new ROM for this? (which I don't want to do at the moment in case I void my warranty).
look for three dots in a line going downward on the screen, press that for the menu, there is no dedicated hard menu button
John.
Tinderbox (UK) said:
look for three dots in a line going downward on the screen, press that for the menu, there is no dedicated hard menu button
John.
Click to expand...
Click to collapse
Yeah I saw the menu icon in some apps, but I tried it on Launcher8 and the only way to access the settings was from the homescreen itself. There are no menu icons to press to get the settings as far as I am seeing.
EDIT: Actually, nevermind. I found that I can make an icon for it.
This will be fixed when HTC finally delivers 4.2.2. The leaked versions let you assign holding down the home button for settings. They should have done it like this in the first place. The 3 dots thing looks hideous.

Menu option?

I am probably over looking it but I have 2 questions.... Can I enable full landscape view, home screen etc... Second question on my evo lte I could hold menu key or recent apps key and it would let me long press to pick either or... I see I can change home button to also search can I do same to menu key
Sent from my 831C using Tapatalk
protoadies said:
I am probably over looking it but I have 2 questions.... Can I enable full landscape view, home screen etc... Second question on my evo lte I could hold menu key or recent apps key and it would let me long press to pick either or... I see I can change home button to also search can I do same to menu key
Sent from my 831C using Tapatalk
Click to expand...
Click to collapse
Landscape view is not supported on a stock rom as far as I know, I would wait for some rom development I'm sure it will get baked in. I noticed on this phone that the ... will appear on the far right if there is no place in the app for a soft key menu. So if the ... is there use that, if it isn't there should be a place in the app where you can press to do the same thing as pressing the menu. I actually wouldn't mind a full time menu key in the far right, I think it's very handy. I original capacitive 4 buttons on the evo were still my favorite lay out.
Sim-X said:
Landscape view is not supported on a stock rom as far as I know, I would wait for some rom development I'm sure it will get baked in. I noticed on this phone that the ... will appear on the far right if there is no place in the app for a soft key menu. So if the ... is there use that, if it isn't there should be a place in the app where you can press to do the same thing as pressing the menu. I actually wouldn't mind a full time menu key in the far right, I think it's very handy. I original capacitive 4 buttons on the evo were still my favorite lay out.
Click to expand...
Click to collapse
If you use GravityBox & XPosed, you can have one there at all times. See screenshots. They were taken from my Nexus 7 Tablet, but you should expect no difference, with the exception of the small window in the first screenshot (courtesy of the XHaloFloatingWindow module).
I might have to give this a try. The space is there for the menu key so I wouldn't mind it always being there.
Sim-X said:
I might have to give this a try. The space is there for the menu key so I wouldn't mind it always being there.
Click to expand...
Click to collapse
That's definitely something that I am likely to use on every device with on screen buttons. Using GravityBox, I remapped the menu to switch to the last app when double tapped, and show the power menu when long pressed. It's wonderful.
protoadies said:
I am probably over looking it but I have 2 questions.... Can I enable full landscape view, home screen etc...
Sent from my 831C using Tapatalk
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.googlecode.eyesfree.setorientation I used this on my evo lte it's free

Menu button (do you miss it)

Just found out a little tip which many of you might already know. If you are missing the menu button, especially for outdated apps like the xda app, you can still access it. The note 4 replaced the menu button with recent apps button, but if you long press the recent apps button you will get to the menu function.
That is all. Have a good day.
ozaghloul said:
Just found out a little tip which many of you might already know. If you are missing the menu button, especially for outdated apps like the xda app, you can still access it. The note 4 replaced the menu button with recent apps button, but if you long press the recent apps button you will get to the menu function.
That is all. Have a good day.
Click to expand...
Click to collapse
Thanks for that. I was using a friends S5 last night and that was driving me mad. My note 4 is at home waiting for me to open the package
If they completely removed it, then yes but holding task switcher for a couple of more seconds then it doesn't bother me. What bothers me is that I have to hold the back button every time to access Multi window bar as app switcher only has opened apps.
Hovscorpion12 said:
If they completely removed it, then yes but holding task switcher for a couple of more seconds then it doesn't bother me. What bothers me is that I have to hold the back button every time to access Multi window bar as app switcher only has opened apps.
Click to expand...
Click to collapse
App switcher has on every app window a icon on top right that does what you need.
Wow thanks a million for this. I thought it was gone forever :highfive:
PhatFishNL said:
Wow thanks a million for this. I thought it was gone forever :highfive:
Click to expand...
Click to collapse
X2, I still accidentally hit the recent button all the time from being so used used to it being there...
PhatFishNL said:
Wow thanks a million for this. I thought it was gone forever :highfive:
Click to expand...
Click to collapse
You are welcome. It would have been a nightmare had it gone forever. Not all applications have that on screen menu button.
Brilliant, I missed that button... nice to know it's still there
Need a way to reverse the functionality from long and short press
Nope don't miss it. I don't even use the long press.
m3lover1 said:
Nope don't miss it. I don't even use the long press.
Click to expand...
Click to collapse
Its not about missing it just because you prefer to press the physical button. There are many apps which don't have the soft menu button. For example, go to Google Now and try to change the settings, but don't long press. Good luck with that.
ozaghloul said:
Its not about missing it just because you prefer to press the physical button. There are many apps which don't have the soft menu button. For example, go to Google Now and try to change the settings, but don't long press. Good luck with that.
Click to expand...
Click to collapse
I just did. Took less than 2 seconds. Then again, 6 of my past 7 phones all had on screen nav buttons, which I prefer
m3lover1 said:
I just did. Took less than 2 seconds. Then again, 6 of my past 7 phones all had on screen nav buttons, which I prefer
Click to expand...
Click to collapse
Wait, what? How? There is no soft menu button in Google Now. Am I missing something here?
ozaghloul said:
Wait, what? How? There is no soft menu button in Google Now. Am I missing something here?
Click to expand...
Click to collapse
There is. There is no way Google didn't implement soft menu button when they themselves are pushing on screen nav bar and soft menu buttons. Open Google now and it's bottom right corner. Might need to scroll all the way down. That might be the only annoying thing about it but it's there and very easy to access.
m3lover1 said:
There is. There is no way Google didn't implement soft menu button when they themselves are pushing on screen nav bar and soft menu buttons. Open Google now and it's bottom right corner. Might need to scroll all the way down. That might be the only annoying thing about it but it's there and very easy to access.
Click to expand...
Click to collapse
Oh I see, thanks. I assumed it would be on the top right corner. However, there does remain other apps that don't have it at all. For example the XDA app.
ozaghloul said:
Oh I see, thanks. I assumed it would be on the top right corner. However, there does remain other apps that don't have it at all. For example the XDA app.
Click to expand...
Click to collapse
I agree with what your saying. But you've picked 2 really bad examples. You can get to menu without menu button in xda!
I am used to Android tablets which don't have the menu button anyway, so I don't miss it on the phone.
daz_2000 said:
I agree with what your saying. But you've picked 2 really bad examples. You can get to menu without menu button in xda!
Click to expand...
Click to collapse
LOL. I looked and looked, still can't find it. *fail*
ozaghloul said:
LOL. I looked and looked, still can't find it. *fail*
Click to expand...
Click to collapse
Open up the left panel and whilst its open. The far right button changes to a settings cog.
People should have read the manual by now...

Back, Home and Recents buttons?

Hello,
after the sources for the Z2 Pro have been released and good Custom ROMs are possible, I would love to buy this beautiful device. I've read alot about this U-Touch thing, where you navigate only by using the Home Button... and I don't like it. So my question is: Does this phone also have the normal Back, Home and Recents hardware buttons?
Thanks!
Hi,
Yes, you can add on screen buttons in "Developer Options" menu. At least you can do it with z2 (non pro). I guess you will have this option too.
So there are no "real" hardware buttons to the left and the right of the home button?
On screen buttons are in developer options in both models, make sure you reboot to effect the changes.
Thanks for your answers. I know about the possiblity to show the On Screen Buttons, but that's not what I wanted to know.
I'm curious if the device also has dedicated hardware buttons (not on screen) for Back and Recents, or just the U-Touch button?
It only has 1 physical button on the front..
I'd love to see an app or even integration in a custom rom to be able to configure the behaviour of the front button. What are the chances this will become reality?
It already lets you configure what the button does. You can also preset actions to open specific apps.
Karly Johnston said:
It already lets you configure what the button does. You can also preset actions to open specific apps.
Click to expand...
Click to collapse
But that is in the ZUI ROM right? I'd like to see this in a separate app or built into custom ROM so it can also be used outside ZUI.
Now that the sources are available someone who knows what he is doing should be able to pull this off.
Is there a way to make swipe left on the u-touch button act like a back button? Maybe there would be a way to have it open an scripted action that acts as back button?
Edit: Just figured out that short tap is back, so my problem is solved!
Thanks, this helped me out!
I'm looking for a phone with this same exact button. I'm always super stunned how retarded iphones are compared to my $200 phone.

Categories

Resources