[Q] knock on (double tap 2 wake)? - Shield Tablet Q&A, Help & Troubleshooting

Hello all,
I have an LG G2 and I'm finding myself too many times trying to double tap my shield tab to turn it on. Is there a way that we can implement this feature to our existing kernel?

atomikhippo said:
Hello all,
I have an LG G2 and I'm finding myself too many times trying to double tap my shield tab to turn it on. Is there a way that we can implement this feature to our existing kernel?
Click to expand...
Click to collapse
Yes I agree. I was just looking for a way to do that and liked it on the Nexus 7 UHD. I was hoping we could use Xposed.

Wouldn't the Kernel require init.d capability to load modules like DT2W? I think the kernel needs some flags set in it to allow the module to load.
I seem to remember Franko (or his legion of loyal subscribers) talking about this in his kernel threads.

jaredmorgs said:
Wouldn't the Kernel require init.d capability to load modules like DT2W? I think the kernel needs some flags set in it to allow the module to load.
I seem to remember Franko (or his legion of loyal subscribers) talking about this in his kernel threads.
Click to expand...
Click to collapse
If you add the module instead of flashing a kernel with it built in you'd have to make an init.d script to start it on boot. I'm not sure if the difference in soc will cause any issues but I found the related files doing a search in flar2's git.

Ohhhh. I was wondering what all was involved to get closer for it to work on it. I hope someone can come up with something or maybe include it in a future ROM. I hate to try to find the power button and then push on it. I am glad to see this tablet has a future on XDA! :fingers-crossed:

JohnK71 said:
Ohhhh. I was wondering what all was involved to get closer for it to work on it. I hope someone can come up with something or maybe include it in a future ROM. I hate to try to find the power button and then push on it. I am glad to see this tablet has a future on XDA! :fingers-crossed:
Click to expand...
Click to collapse
One thing I do to avoid the power button for screen on is to lift the stylus up. Not as good as a double tap but effective.

The Smart Cover cases also help work around this issue.

I hadn't thought of the stylus trick. I did go a head and get the magnetic case. It works really well.

JohnK71 said:
I hadn't thought of the stylus trick. I did go a head and get the magnetic case. It works really well.
Click to expand...
Click to collapse
Cool, what one did you get out of interest?
Sent from my SM-N9005 using Tapatalk

I have a smart cover on its way but if you already have it open, I want to double tap to wake.

funb0b said:
Cool, what one did you get out of interest?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
It's the ProCase SlimSnug Case for NVIDIA Shield Tablet. It's Ultra Slim and light, Hard Shell Cover. I got it off Amazon. I love it!

atomikhippo said:
Hello all,
I have an LG G2 and I'm finding myself too many times trying to double tap my shield tab to turn it on. Is there a way that we can implement this feature to our existing kernel?
Click to expand...
Click to collapse
You can use the Knockr app off the Play Store. It can be buggy, but it should do what you want.

Works a treat. This combined with GMD gesture control=win

funb0b said:
Works a treat. This combined with GMD gesture control=win
Click to expand...
Click to collapse
Personally, I like the Swipe app better. Swipe from edges to go to the last or next app, and double tap the side to open up the Recents. GMD is packed with a lot of other features, but I don't think they're all helpful. Swipe is better at app-switching. It's cleaner and has nice animation options as well. GMD seems good if you want to use a lot of custom gestures though. Technically, I guess you can use both. I do also have fancy gestures enabled in Nova Launcher.

Related

[REQUEST] GNex nav buttons mod for stock rom

Any change a developer could do a mod to add the Galaxy Nexus navigation buttons to the screen? I for one don't like the physical home button and would really like the screen buttons. If the unoffical AOKP rom had the standard AOKP custom nav button mod I would be all over it but seeing how it's unofficial/alpha and the CM10 roms are very alpha I'd rather wait. Based on the info I found it's relatively easy mod if you know how to decomplie and recompile the framework-res.apk. I attempted to do this but kept running into issues and my limited knowledge of Android development (to say the least) seems to be the biggest huddle.
IMO, I'd still like the native button active but others would prefer them disabled.
Here a thread on the mod for CM9/CM10... http://forum.xda-developers.com/showthread.php?t=1788780&page=1
Thanks!
rkirmeier said:
Any change a developer could do a mod to add the Galaxy Nexus navigation buttons to the screen? I for one don't like the physical home button and would really like the screen buttons. If the unoffical AOKP rom had the standard AOKP custom nav button mod I would be all over it but seeing how it's unofficial/alpha and the CM10 roms are very alpha I'd rather wait. Based on the info I found it's relatively easy mod if you know how to decomplie and recompile the framework-res.apk. I attempted to do this but kept running into issues and my limited knowledge of Android development (to say the least) seems to be the biggest huddle.
IMO, I'd still like the native button active but others would prefer them disabled.
Here a thread on the mod for CM9/CM10... http://forum.xda-developers.com/showthread.php?t=1788780&page=1
Thanks!
Click to expand...
Click to collapse
It won't work on the stock ROM. But it works in CM10, I have it on my phone and am loving them. Just like my old Nexus.
I know the mod in the link I provided will not work on the stock rom. Thanks for your most value input and stating what is outright obvious for the mod in the link. No reason a developer couldn't create a mod that does work with the stock rom though. Already using a few mods on my stock rom.
rkirmeier said:
I know the mod in the link I provided will not work on the stock rom. Thanks for your most value input and stating what is outright obvious for the mod in the link. No reason a developer couldn't create a mod that does work with the stock rom though. Already using a few mods on my stock rom.
Click to expand...
Click to collapse
There might actually be a reason. The framework is totally different.
tekhna said:
There might actually be a reason. The framework is totally different.
Click to expand...
Click to collapse
Of course the framework is different, one is TouchWise and one is CM9/CM10 but that has absolutely nothing to do with a developer modifying the stock TW framework-res.apk with this mod. Why do users who have no clue keep adding their useless 2 cents? I now understand why the developers get so frustrated and the development forum in highly moderated!
Here a new thread to shows how to do this mod on any ROM. If I had the experience of decompling/compling apks or time I would do it.
http://thetechjournal.com/how-to/tutorial-how-to-use-on-screen-virtual-buttons-at-ice-cream-sandwich-rom-on-android.xhtml
rkirmeier said:
Of course the framework is different, one is TouchWise and one is CM9/CM10 but that has absolutely nothing to do with a developer modifying the stock TW framework-res.apk with this mod. Why do users who have no clue keep adding their useless 2 cents? I now understand why the developers get so frustrated and the development forum in highly moderated!
Here a new thread to shows how to do this mod on any ROM. If I had the experience of decompling/compling apks or time I would do it.
http://thetechjournal.com/how-to/tutorial-how-to-use-on-screen-virtual-buttons-at-ice-cream-sandwich-rom-on-android.xhtml
Click to expand...
Click to collapse
lol, someone who has no clue yelling at someone he thinks has no clue about clueless 2 cents. Being an asshole is a really great way to get people to do things for you, I've heard.
Im dont know why anybody wants onscreen buttons? Yea the nexus had them and thats fine. But with 2 capacitive buttons and a hardware button, why have nav buttons that do the same thing? All its does is take up screen space no?
droidstyle said:
Im dont know why anybody wants onscreen buttons? Yea the nexus had them and thats fine. But with 2 capacitive buttons and a hardware button, why have nav buttons that do the same thing? All its does is take up screen space no?
Click to expand...
Click to collapse
I agree with this. I have figured out how to get them and I've been using it for a day or so now. I don't like it. I thought I would, but I don't.
droidstyle said:
Im dont know why anybody wants onscreen buttons? Yea the nexus had them and thats fine. But with 2 capacitive buttons and a hardware button, why have nav buttons that do the same thing? All its does is take up screen space no?
Click to expand...
Click to collapse
I hate the physical home button and much prefer the on-screen buttons.
tekhna said:
I hate the physical home button and much prefer the on-screen buttons.
Click to expand...
Click to collapse
why?
droidstyle said:
why?
Click to expand...
Click to collapse
Because I'm used to capacitive buttons, it's clunky to use a physical button, and depressing the button off-balances the whole phone if you're using it one-handed.
tekhna said:
Because I'm used to capacitive buttons, it's clunky to use a physical button, and depressing the button off-balances the whole phone if you're using it one-handed.
Click to expand...
Click to collapse
I totally agree!
It's funny how people think that because they don't mind the physical home button that everyone else should feel the same way. The screen is big enough that I don't mind losing a little space. Give me a "touch" home button and task list button that I don't have to wait 2 seconds for...
tekhna said:
Because I'm used to capacitive buttons, it's clunky to use a physical button, and depressing the button off-balances the whole phone if you're using it one-handed.
Click to expand...
Click to collapse
To each is own...i would much rather have more screen. However if they designed this device like the nexus with only nav buttons, then that would be ok. I just dont like the idea of having multiple buttons that do the same thing.
tekhna said:
lol, someone who has no clue yelling at someone he thinks has no clue about clueless 2 cents. Being an asshole is a really great way to get people to do things for you, I've heard.
Click to expand...
Click to collapse
Whatever! It's the same BS that the developers get upset over. People who have no clue making useless statements that do nothing for the cause. It's a waste of space and time...
I could be wrong but I thought all ICS and JB frameworks have the vitual navigation button code, it just a matter of enabling it. See the second link I posted...
rkirmeier said:
I totally agree!
It's funny how people think that because they don't mind the physical home button that everyone else should feel the same way. The screen is big enough that I don't mind losing a little space. Give me a "touch" home button and task list button that I don't have to wait 2 seconds for...
Click to expand...
Click to collapse
I dont expect anybody to feel the same way...I was simply wanting to know why he didnt like hardware button.
rkirmeier said:
Whatever! It's the same BS that the developers get upset over. People who have no clue making useless statements that do nothing for the cause. It's a waste of space and time...
I could be wrong but I thought all ICS and JB frameworks have the vitual navigation button code, it just a matter of enabling it. See the second link I posted...
Click to expand...
Click to collapse
You "Totally agree" with the guy in one post and then call him clueless in another. A guy who has been part of xda since 2007 and has 1000 more thanks than you do. Be civil
bobdude5 said:
You "Totally agree" with the guy in one post and then call him clueless in another. A guy who has been part of xda since 2007 and has 1000 more thanks than you do. Be civil
Click to expand...
Click to collapse
I don't see why agreeing with someone preference for something and calling them out regarding a statement that seems clueless has anything to do with each other. Unless he knows for a fact that the Touchwiz ICS framework-res.apk has been stripped of the navigation button code (not just disabled) his comment was clueless... Having a 1000+ posts does not make someone an expert and if he knows for a fact then he should have said the TW ICS framework has been stripped of the navigation bar code...
There are plenty of opinions on the value of the mod. The original thread link I posted seemed to suggest there are a lot of people who want this. This thread so far may not support that for US users... Oh, well... If there is no dev that wants to do this mod then I guess I'll wait for a stable release of AOKP where I can modify/add buttons too...
Thanks!
rkirmeier said:
I know the mod in the link I provided will not work on the stock rom. Thanks for your most value input and stating what is outright obvious for the mod in the link. No reason a developer couldn't create a mod that does work with the stock rom though. Already using a few mods on my stock rom.
Click to expand...
Click to collapse
As I said in my post, "it won't work on the stock ROM". The support for it is just not there in TouchWiz. You can modify the framework-res.apk if you want (I've tried), but it just won't work. If you want on screen navigation keys, you'll need to get onto CM/AOSP.
Here are my reasons for preferring nexus style on-screen buttons:
1. I no longer have to overextend my thumb to press the menu button when holding the device with one hand. Usually this results in my palm hitting something on the screen unintentionally.
2. Once frustrated with #1, I will tilt the device down (increasing the chances of dropping the phone) to be able to successfully press the menu button. With on screen buttons I no longer have to do this.
3. If 1&2 are not an option I am forced to use 2 hands to control the device. With on screen buttons this is no longer so.
4. I will no longer accidentally press menu or back while playing a game in landscape mode.
5. I will no longer accidentally tap something on the bottom edge of the screen when attempting to press the back or menu button. Because it is a far stretch, part of my thumb will often interact with the lowest point of the screen before interacting with the back or menu button.
The slogan for this device shouldn't be "Designed for humans" but rather "Designed for gorilla hands".
If possible, I would also like to see on screen buttons on touchwiz.
Sent from my SCH-I535 using XDA App
michaelw9 said:
As I said in my post, "it won't work on the stock ROM". The support for it is just not there in TouchWiz. You can modify the framework-res.apk if you want (I've tried), but it just won't work. If you want on screen navigation keys, you'll need to get onto CM/AOSP.
Click to expand...
Click to collapse
Ok, thanks for the update and clarifying the the ICS framework has been stripped of the code for the onscreen navigation buttons. Really too bad but CM and AOKP are both coming long nicely...

[Q] Wake on Volume

Why are we not seeing this option in most of the new ROMs for the One X? Is it a problem to incorporate. It's something that is nearly necessary for me. I found it in one ROM, but it was hit and miss. How about you Scott? Any plans to incorporate this soon?
Yeah if you want my input: I think its a kernel thing. since the stock kernel isnt wired that way, when the device passes its "sleep point" (the amount in minutes where it goes into deepsleep) it stops recording input from the Vol Keys and thats why we cant.
Thats the same reason we havent had Sweep2Wake (which I NEEEEDDDDD!!!) but the Tegra3 International One X already has it.
I'd like the sweep to wake also. The volume to wake is already incorporated in at least one from - Xi40 if I recall correctly.
use smart screen on lite from the play store..uses hand motion to wake up phone and turn off..as an alternative until we got the swipe to wake
Sent from my HTC One XL
arnelolavides said:
use smart screen on lite from the play store..uses hand motion to wake up phone and turn off..as an alternative until we got the swipe to wake
Sent from my HTC One XL
Click to expand...
Click to collapse
I actually like smart screen - pretty cool. But I do look forward to swipe to wake - and why doesn't the US version of this phone have it anyway??!!
Bubbamanlarry said:
I actually like smart screen - pretty cool. But I do look forward to swipe to wake - and why doesn't the US version of this phone have it anyway??!!
Click to expand...
Click to collapse
Kernel source for .04 hasnt been released so devs have been hesitant to add it to kernels for .03... honestly, i wish i knew how to cook, because id have a kernel JUST for S2W

Touch Control

Is there any word/confirmation that TC will be available for the N5?
I would assume so, couldn't imagine using the N5 and shortly the 5 without it unless I missed some sort of built in touch control into 4.4.
Ask the developer that does Touch Control, none of us has the answer but himself.
Ah I thought maybe he posted here, I emailed him.
Seeing as how he made it available for the Nexus 7 2013 I'm sure he will for the N5, just wanting to make sure.
KrazyAttack said:
Ah I thought maybe he posted here, I emailed him.
Seeing as how he made it available for the Nexus 7 2013 I'm sure he will for the N5, just wanting to make sure.
Click to expand...
Click to collapse
Did you hear back from the developer?
I ask him:
I have a question. you will also develop the touch control app for the nexus 5?
He answered:
I will try when I get my N5.
joshua.lyon said:
Did you hear back from the developer?
Click to expand...
Click to collapse
Yes he said it's a hack so it may not work on the N5 but he will try. He doesn't have the phone yet and he said it will be at least a month if it works.
You need to get a kernel that support it, like faux kernel (I haven't checked to see if the feature is implemented yet), then you can use TricksterMod or 'S2W Switch Free' to enable it.
i hope i understand you right. With faux kernel and the app "s2w" or "trickster" i can use the feature sweep2wake?
I have loading the two apps but i can not see the options in the app to get the feature.
kloppi123 said:
i hope i understand you right. With faux kernel and the app "s2w" or "trickster" i can use the feature sweep2wake?
I have loading the two apps but i can not see the options in the app to get the feature.
Click to expand...
Click to collapse
I have seen people saying faux will support it soon, but I haven't seen any source for that anywhere.

moto x ROMs on MAXX

I realize most ROMs should work as these are basically the same phones, but when I loaded the Krypton ROM I had on-screen nav buttons. Is there any way to eliminate the buttons on the screen and use the MAXX physical buttons?
Thanks in advance
Carrzy said:
I realize most ROMs should work as these are basically the same phones, but when I loaded the Krypton ROM I had on-screen nav buttons. Is there any way to eliminate the buttons on the screen and use the MAXX physical buttons?
Thanks in advance
Click to expand...
Click to collapse
Moto X roms like mine here?
http://forum.xda-developers.com/showthread.php?t=2828366
Topsnake said:
Moto X roms like mine here?
http://forum.xda-developers.com/showthread.php?t=2828366
Click to expand...
Click to collapse
you called it a "oiled up sex machine that sometimes blows it knee out" lol
alrighty I'll give it a whirl but just curious as to the extensive install process. Why not just a clean zip install?
Carrzy said:
you called it a "oiled up sex machine that sometimes blows it knee out" lol
alrighty I'll give it a whirl but just curious as to the extensive install process. Why not just a clean zip install?
Click to expand...
Click to collapse
IMHO cleaner install and I'm too lazy to package it in a zip.
Topsnake said:
IMHO cleaner install and I'm too lazy to package it in a zip.
Click to expand...
Click to collapse
fair enough. Thanks for the support!
are you guys having good experiences using other X roms asides from what Topsnake has put together?
I've been using this-> http://forum.xda-developers.com/moto-x/development/rom-unofficial-nightly-lollipop-5-0-t2960768
Currently on this-> http://forum.xda-developers.com/moto-x/development/rom-liquidsmooth-v3-1-moto-x-ghost-t2781356
They are working ok for me on my Droid Maxx... Have tried several of the Moto-x ROMs.
rdenova said:
I've been using this-> http://forum.xda-developers.com/moto-x/development/rom-unofficial-nightly-lollipop-5-0-t2960768
Currently on this-> http://forum.xda-developers.com/moto-x/development/rom-liquidsmooth-v3-1-moto-x-ghost-t2781356
They are working ok for me on my Droid Maxx... Have tried several of the Moto-x ROMs.
Click to expand...
Click to collapse
Generally you just run into issues with having on screen keys instead of the physical ones.
I agree, the buttons took a little getting used to but there have been no "issues" enough to not use as a DD. The only thing I noticed was the speaker toggle issue. The apk that was written to take care of it, does so no problems there. I miss xposed and ROMToolbox but everything seems operational. I like the LiquidSmooth ROM for the center colored clock but, all the 5.0 ROMs are pretty much the same other than the clock. LS has not been updated since 11/30 - I'll probably stick with the one that gets the most often updates like Joe-Tech.
I install this zip with any 4.4.4 or 5.0 rom for the moto x i install on my maxx. It removes the nav bar and enables the hardware buttons. The keys are mapped a little different, but its easy to get used to. Just make sure you turn off "merge tabs and apps" in chrome settings to get your page tab back by the address bar.
appletonpunk said:
I install this zip with any 4.4.4 or 5.0 rom for the moto x i install on my maxx.
Click to expand...
Click to collapse
This zip is not needed for 5.0 ROM's - only 4.4x. But it is nice to have to Maxx hardware keys active and model shows up as xt1080m
Its not needed, but why use the nav bar when we have hardware buttons. Hope we get official lollipop soon.

Power Button to enable/disable Flash Light

During my Nexus 5x days, my daily driver was Pure Nexus, and one of my favorite features was the ability to enable/disable the flashlight/torch via holding the power button (with the screen off mainly).
I know PN is available for the Pixel right now, but I'm trying to stick with Stock for as long as I can so I can take OTA's. Does anyone know how to get the same torch functionality? I am currently rooted and have found several non-root apps that allow 3 taps of the power button to enable torch...but it's not the same thing as being able to long-press with the screen off! I liked being able to take my phone out of my pocket, hold the power button to enable torch, then tap the power button one more time to disable...all without turning on the screen.
Thanks all in advance for your help!
Did you ever find something? I miss that I could do that on my n5x too.
Maybe not exactly what you are looking for but I am loving Torchie right now. It has brought one of the best and simplest things from custom roms. It tends to be a bit of a power hog when enabling use with the screen off, but I have found it is pretty easy to manage. Non-root as well.
I wish Android would add this feature as stock it's such a useful feature
Sent from my Pixel using Tapatalk
I ended up biting the bullet and going to Pure Nexus. It has been rock solid for me, and this feature among others make it well worth the effort and few nuances there are. I will agree, though, it would have made it a tougher decision to move away from stock if Google had this feature built-in!
tfc87 said:
I ended up biting the bullet and going to Pure Nexus. It has been rock solid for me, and this feature among others make it well worth the effort and few nuances there are. I will agree, though, it would have made it a tougher decision to move away from stock if Google had this feature built-in!
Click to expand...
Click to collapse
I've been with pure Nexus every step of the way with this pixel and bless that guy's heart for continuing the good work that he's been doing.
but like you I want Oreo now and a way to activate the flash light just by holding down the power button when the screen is off
Honestly this was really the only reason that I stayed on pure Nexus for so long and one of the main reasons that I actually root in my pixel in the first place for. This is one of the most convenient modifications I've ever ran across and I actually use it every single day for so many different things. I just upgraded to Android 8.0 Oreo and am horrified that there is no simple solution for this on Oreo yet. Could somebody please implement this into Oreo somehow on the system level, possibly within the kernel or something of that nature?
Just wanted to give an update. I found button mapper with root seems to work great with volume down for the flashlight. It seems to break a couple things though
(volume down to take picture and DND mode) and I need to contact the developer. It works great for turning on and off the flashlight though with screen off or on. (requires root).
xmoox said:
Just wanted to give an update. I found button mapper with root seems to work great with volume down for the flashlight. It seems to break a couple things though
(volume down to take picture and DND mode) and I need to contact the developer. It works great for turning on and off the flashlight though with screen off or on. (requires root).
Click to expand...
Click to collapse
Which button mapper are you using? The only ones I see don't work with the screen off
ydnolb4 said:
Which button mapper are you using? The only ones I see don't work with the screen off
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=flar2.homebutton
The one by flar2
First of all, I'm glad some of you are resurrecting this post. Maybe someone much smarter than me can explain how the developer of Pure Nexus is able to implement this? These developers never ceases to amaze me in what they can add on the front of functionality...but is it not possible to develop (again, someone much smarter than me) a flashable zip to implement this?
I like how much Google continues to add in to stock Android on customization and features that we used to have to root for. This flashlight mod would almost certainly keep me on stock...
Sent from my Pixel 2 using Tapatalk
xmoox said:
https://play.google.com/store/apps/details?id=flar2.homebutton
The one by flar2
Click to expand...
Click to collapse
Thanks, it works great. I set it to volume up so I can still turn on DND mode and take pics with volume down.
Gravitybox for Xposed has an option to do it now. It works exactly like pure nexus
shagbag913 said:
Gravitybox for Xposed has an option to do it now. It works exactly like pure nexus
Click to expand...
Click to collapse
You the real MVP. For some reason, this feature seems hit or miss for me though. Will report back with any fixes.
Thanks for the heads up!
jimbub said:
You the real MVP. For some reason, this feature seems hit or miss for me though. Will report back with any fixes.
Thanks for the heads up!
Click to expand...
Click to collapse
Yeah, hopefully they update it to make it more reliable
shagbag913 said:
Yeah, hopefully they update it to make it more reliable
Click to expand...
Click to collapse
Actually, found a fix in the gravitybox main thread.
Disabling battery optimization in settings for gravitybox seems to do the trick! :good:
Seems to fix things on my end, hopefully this works for you too!
jimbub said:
Actually, found a fix in the gravitybox main thread.
Disabling battery optimization in settings for gravitybox seems to do the trick! :good:
Seems to fix things on my end, hopefully this works for you too!
Click to expand...
Click to collapse
Thanks! That seemed to work.

Categories

Resources