Thought this might help some people get a little extra use out of a Pixel 2 feature: I'm using Custom Quick Settings to hide the nav bar and of course active edge stopped working, but I noticed it still functioned on the lockscreen. Squeeze-launching the assistant from the lockscreen is pointless to me because I still have to fingerprint- or pattern-unlock my phone before it will tell me anything, but I installed Button Mapper and although there's some warning in its description about not working while the phone is off, it does actually detect squeezes on both the ambient display screen and lockscreen.
I now have squeeze set up to toggle flashlight, since that's something I almost always need to do when the phone is locked and toggling it through quick settings is kind of annoying. This way I don't even have to look at the screen. But the point of this post is, if there's any task you want to be able to trigger while your phone is off, you can use squeeze to do that even if you have full-time immersive mode on.
I get permission denied when trying to type the script on my PC using ADB. How did you get around that?
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
I get permission denied when trying to type the script on my PC using ADB. How did you get around that?
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
What script and where? Please!!!
Sent from my Pixel 2 XL using Tapatalk
bryantjopplin said:
What script and where? Please!!!
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
"Script" was the wrong word to use. When I toggle the "Customize" button to attempt to use Active Edge in the app Button Mapper, it tells me to use my PC and adb to execute this command:
Code:
adb shell sh /data/data/ flar2.homebutton/keyevent.sh
When I attempt to do so, I get "Permission Denied."
I've used adb to allow the Custom Navigation Bar app to make changes and it works just fine with that app.
sharkie405 said:
"Script" was the wrong word to use. When I toggle the "Customize" button to attempt to use Active Edge in the app Button Mapper, it tells me to use my PC and adb to execute this command:
Code:
adb shell sh /data/data/ flar2.homebutton/keyevent.sh
When I attempt to do so, I get "Permission Denied."
I've used adb to allow the Custom Navigation Bar app to make changes and it works just fine with that app.
Click to expand...
Click to collapse
Adb shell only works with root right?
Sent from my Nexus 6 using Tapatalk
EDIT: NEVERMIND I found it.
---------- Post added at 09:41 PM ---------- Previous post was at 09:38 PM ----------
Shell doesnt require root, i believe /data does tho
sharkie405 said:
"Script" was the wrong word to use. When I toggle the "Customize" button to attempt to use Active Edge in the app Button Mapper, it tells me to use my PC and adb to execute this command:
Code:
adb shell sh /data/data/ flar2.homebutton/keyevent.sh
When I attempt to do so, I get "Permission Denied."
I've used adb to allow the Custom Navigation Bar app to make changes and it works just fine with that app.
Click to expand...
Click to collapse
That's what I figured. Which brings me back to how the OP managed to get the Button Mapper app working with active Edge on a not-yet-rootable Pixel 2 XL...?
Sent from my Pixel 2 XL using XDA Labs
Nice find, I can confirm this works. I have mine mapped to turn on the flashlight also, much more useful for me. Never really use it to activate google, especially since with the new "Hey google" hotword its much more natural to say that now.
KHANrad_SIN said:
Nice find, I can confirm this works. I have mine mapped to turn on the flashlight also, much more useful for me. Never really use it to activate google, especially since with the new "Hey google" hotword its much more natural to say that now.
Click to expand...
Click to collapse
How did you get the ADB command to work on your PC? Did it just work for you? See the last two posts above.
Sent from my Pixel 2 XL using XDA Labs
Okay, I think I figured it out. I went into application settings and went into the button mapper permissions and gave it permission for all three. I don't see why that would have to be the case, but after doing that I tried putting in the ADB command again and it worked. Now I have active Edge to turn on and off the flashlight. Sweet!
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
Okay, I think I figured it out. I went into application settings and went into the button mapper permissions and gave it permission for all three. I don't see why that would have to be the case, but after doing that I tried putting in the ADB command again and it worked. Now I have active Edge to turn on and off the flashlight. Sweet!
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Didn't have permission to access, makes since
Sent from my Nexus 6 using Tapatalk
I'm getting permission denied to when I run The "adb shell sh /data/data/ flar2.homebutton/keyevent.sh" command in ADB. I also went to App Permissions and check all three items: Camera, Phone and Storage. Also went to the Advanced section and allowed App to modify system settings. Still doesn't work. Any help would be appreciated.
JeffBea said:
I'm getting permission denied to when I run The "adb shell sh /data/data/ flar2.homebutton/keyevent.sh" command in ADB. I also went to App Permissions and check all three items: Camera, Phone and Storage. Also went to the Advanced section and allowed App to modify system settings. Still doesn't work. Any help would be appreciated.
Click to expand...
Click to collapse
Remove the spaces between data/flar2 to resolve the permissions denied message. The rest: I can't get it to work either.
enzeem2010 said:
Remove the spaces between data/flar2 to resolve the permissions denied message. The rest: I can't get it to work either.
Click to expand...
Click to collapse
Thanks, that worked.
I can confirm that this does work with phone in lock screen as well. It also works with the phone unlocked.
This works great. Love it!
Ok, figured it out too. I'm averse to allowing Google to follow my everything, so I hesitated at the location tracking permissions needed for Google Assistant, but once I followed through, it finally worked.
Related
Pressing both volume buttons on my N7 at the same time seems to peg the CPU causing really bad performance for about a minute. A little later on, a blank email pops up with a screenshot and system dump attached. The email has no to address.
I also get a bunch of notifications from superuser that Shell has been denied root.
Does anyone else see this? Trying to figure out if it's a CM issue or a JB issue or what. Any help appreciated.
Sent from my Nexus 7 using XDA Premium HD app
Just tried this and it does the same for me.
Sent from my Nexus 7 using xda premium
ariaxu said:
Pressing both volume buttons on my N7 at the same time seems to peg the CPU causing really bad performance for about a minute. A little later on, a blank email pops up with a screenshot and system dump attached. The email has no to address.
I also get a bunch of notifications from superuser that Shell has been denied root.
Does anyone else see this? Trying to figure out if it's a CM issue or a JB issue or what. Any help appreciated.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Mine does nothing...
I'm stock
Seems like some debug feature built into the rom then.
Does the same on a stock (rooted) HTC Sensation running ICS. I get a vibration, then the CPU lags for around 2 minutes, then I get 2/3 short vibrations.
Some people think it's CM related, it isn't, I haven't had CM anywhere near this phone.
It is dev feature. It is creating a log which can be found in a folder on the sdcard
Can't remember exactly what It's called now but it's the same on the one x
Sent from my HTC One X using xda app-developers app
bagofcrap24 said:
It is dev feature. It is creating a log which can be found in a folder on the sdcard
Can't remember exactly what It's called now but it's the same on the one x
Click to expand...
Click to collapse
Just had a look through the developer options, can't see anything for generating a log. Would be useful if you could find out what it was called.
I was otherwise unable to reproduce (no log on my SD card either, in-case it's an "always on feature), however I did just install the updated drivers.
_leigh said:
Just had a look through the developer options, can't see anything for generating a log. Would be useful if you could find out what it was called.
I was otherwise unable to reproduce (no log on my SD card either, in-case it's an "always on feature), however I did just install the updated drivers.
Click to expand...
Click to collapse
It won't be in dev options, the Nexus S has something similar to this, that pressing a key while booting will activate this logging thing and can't be turned off, that's what this sounds like to me
Sent from my Jelly Nexus S
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
fagalto said:
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
Click to expand...
Click to collapse
:victory: Thank you so much. Needed this for my motoactv to work on my jobs computer. Will give it a try as soon as i can.
fagalto said:
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
Click to expand...
Click to collapse
Excellent job! What did you use to make the app, if I may ask? Eclipse?
ClearD said:
Excellent job! What did you use to make the app, if I may ask? Eclipse?
Click to expand...
Click to collapse
Yup. Eclipse
Any chance you could add a second function, for
Code:
adb shell start adbd
Or maybe even one for
Code:
adb reboot recovery
Sent using XDA-funded carrier pigeons
ClearD said:
Any chance you could add a second function, for
Code:
adb shell start adbd
Or maybe even one for
Code:
adb reboot recovery
Sent using XDA-funded carrier pigeons
Click to expand...
Click to collapse
All done,apk reuploaded
fagalto said:
All done,apk reuploaded
Click to expand...
Click to collapse
I wish I could thank you more than once!! That's awesome!
Sent using XDA-funded carrier pigeons
My question has been solve thanks again this watch is still sick
Sent from my SGH-T889 using xda premium
Well, it looks awesome, but only runs once? I stopped adb, and the app disappeared from the app drawer... app manager says it's still there, but I went to clear data, and an error popped up saying that the application no longer exists. Any ideas?
EDIT: Disregard, I reinstalled and now it works fine! Must have been a root issue, because it only did it the very first time, before it was granted root. Every time after, it was just fine. Thank you!!!
Also, one question. Can we use this in Roms for the device, assuming we give you proper credit? We've been waiting on something like this for a long time, my friend.
I installed on my note 2 looks solid gotta try on actv later
Sent from my SGH-T889 using xda premium
ClearD said:
Well, it looks awesome, but only runs once? I stopped adb, and the app disappeared from the app drawer... app manager says it's still there, but I went to clear data, and an error popped up saying that the application no longer exists. Any ideas?
EDIT: Disregard, I reinstalled and now it works fine! Must have been a root issue, because it only did it the very first time, before it was granted root. Every time after, it was just fine. Thank you!!!
Also, one question. Can we use this in Roms for the device, assuming we give you proper credit? We've been waiting on something like this for a long time, my friend.
Click to expand...
Click to collapse
It will be an honour
Forgot to report back. The application works perfectly with my Actv. The previous version didn't launch on my actv at first. However this new version works fantastic. Thanks again, I'm very greatful.
This is a brilliant little app, would it be possible to add Wifi ADB and Normal(USB) ADB to make it the complete solution? I use GScript right now for these tasks, having it in the ADB manager would be perfect
fagalto said:
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
Click to expand...
Click to collapse
well darn u beat me to it lol i was just in the middle of making one, guess ill just throw mine away since yours seems to work better =S lol
So does this enable host mode or would this require hardware the ACTV doesn't have? Awesome work regardless.
Auto start adb manager?
Is there an adb command to set my Motoactv to automatically start with the device? I'm rooted, using the stock interface, and just want it to easily go back to USB mode by default. Thanks.
This is a hack for anyone who is running stock Amazon OS. For some reason, if you add the Kindle Reading app icon to a third party launcher (Such as Nova, Apex, etc.), it won't launch the app. Instead, to access your books, you must use the stock Carousel launcher to get to your reading library. This command, however, will force the Kindle to display your books.
This has been tested on a KFHD 7" running Stock OS 7.4.3. It should work on the 2nd gen Kindle Fire and the KFHD 8.9" and even Kinology as well.
Some notes:
Root required
You need to have a way to launch command shortcuts from your launcher home screen (for a Laucher Icon)
The stock launcher MUST be installed. The command uses a line from Launcher.apk's Android-Manifest file.
You can also create a command shortcut on the home screen using ROM Toolbox. Enter this command...
Code:
am start -a com.amazon.kindle.otter.action.SHOW_BOOKS
or
Code:
am start -a com.amazon.kindle.otter.action.internal.SHOW_BOOKS
...and allow it to run commands as root.
The script and a couple screenshots are attached below. Also attached is the Kindle Reading app icon, pulled straight from the app; for anyone who wants to change the image of their homescreen icon.
EDIT: Running the command "am start -a com.amazon.kindle.otter.action.internal.SHOW_BOOKS" will show the books already on your SD card, rather than all the books stored in the Amazon cloud.
and if i put this script in int.d?
Sent from my KFTT using XDA Premium 4 mobile app
persano said:
and if i put this script in int.d?
Sent from my KFTT using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Honestly? I have no clue
It's not necessarily a performance tweak. It just kind of fires a command when the user triggers it.
Ph0enix_216 said:
Honestly? I have no clue
It's not necessarily a performance tweak. It just kind of fires a command when the user triggers it.
Click to expand...
Click to collapse
i know, but i dont want to activate it every time, if i put it in init.d it is going to activate at every boot
Sent from my KFTT using XDA Premium 4 mobile app
persano said:
i know, but i dont want to activate it every time, if i put it in init.d it is going to activate at every boot
Sent from my KFTT using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm don't know. Lemme try something...
Okay. I downloaded ROM Toolbox (after a couple times of rebooting my internet router -_-) and set the script to run at boot. After a few seconds of rebooting, it opened the KindleForOtter.apk. So running this script at boot will immediately launch the Kindle reading app.
I know just enough to be a danger to myself ...
Ph0enix_216 said:
Okay. I downloaded ROM Toolbox (after a couple times of rebooting my internet router -_-) and set the script to run at boot. After a few seconds of rebooting, it opened the KindleForOtter.apk. So running this script at boot will immediately launch the Kindle reading app.
Click to expand...
Click to collapse
I want to start by saying thanks. This has been driving me nuts and every fix I have seen involves files that are no longer online, as well as moving, deleting, moving again, uninstalling, reinstalling ... this seems to be a pretty simple fix ... but the presentation is a little higher level than I am at. Y'all have kinda glossed over some areas I am unsure of.
I have ROM Toolbox downloaded and have looked all this over ... but I've no idea exactly what to do to put this hack into action. Where do I go in ROM Toolbox to enter the command? I'm guessing once I save this, I can create a shortcut to it and then change the icon. Would y'all be able to give me some more direction, please?
jlamborn3 said:
I want to start by saying thanks. This has been driving me nuts and every fix I have seen involves files that are no longer online, as well as moving, deleting, moving again, uninstalling, reinstalling ... this seems to be a pretty simple fix ... but the presentation is a little higher level than I am at. Y'all have kinda glossed over some areas I am unsure of.
I have ROM Toolbox downloaded and have looked all this over ... but I've no idea exactly what to do to put this hack into action. Where do I go in ROM Toolbox to enter the command? I'm guessing once I save this, I can create a shortcut to it and then change the icon. Would y'all be able to give me some more direction, please?
Click to expand...
Click to collapse
Sure. Assuming you have a different launcher installed, go to your widgets and select "Command Shortcut". Place it wherever, and in the "Command:" field, enter the command. Name it whatever you want, and once it's on your home screen, you can change the icon by holding it and selecting "Edit" and then tapping the icon.
>>>Sent from my homebuilt TARDIS running Android 4.3... or maybe it's a rooted Kindle Fire HD running CyanogenMod 10.2<<<
I'd love to try that, but ...
Ph0enix_216 said:
Sure. Assuming you have a different launcher installed, go to your widgets and select "Command Shortcut". Place it wherever, and in the "Command:" field, enter the command. Name it whatever you want, and once it's on your home screen, you can change the icon by holding it and selecting "Edit" and then tapping the icon.
>>>Sent from my homebuilt TARDIS running Android 4.3... or maybe it's a rooted Kindle Fire HD running CyanogenMod 10.2<<<
Click to expand...
Click to collapse
Thanks. Sometime after I posted my query above my reader on the Kindle stock screen stopped working ... and in trying to figure out what I'd done, which at the point had been nothing, I somehow lost my root and ended up with a reset. Now I'm trying to clear everything out, since the reset leaves a lot of residue behind. Once I fix my mess I'll be back to try this out.
Edit: Fixed my mess. Second of two command lines from the hack worked. Now I'm just trying to get the icon the way I want it. Thank you all for your help.
I like the phone, but the 16gb causes a lot of concern. After downloading my music from Amazon, it's almost gone.
I can't find an option to put music from Amazon on my sd card, is that hte new kit kat "feature"?
Also, the test message preview on my lock screen only says "New Message", ther eused to be an option that gave me a preview of the actual message..is it gone?
On the Note 3, it had a setting where screenshots would enter auto edit mode, came in real handy for me. S5 doesn't seem to have this?
When I disabled my magazine, my home screen transitions isn't continuous ..I know I seen the s5 do this in review videos.
Did you root your phone yet with Towelroot? If so go to play store https://play.google.com/store/apps/details?id=nextapp.sdfix and install this to get read/write to your sd card. The other stuff I can't help you with. Sorry.
nicetucu said:
Did you root your phone yet with Towelroot? If so go to play store https://play.google.com/store/apps/details?id=nextapp.sdfix and install this to get read/write to your sd card. The other stuff I can't help you with. Sorry.
Click to expand...
Click to collapse
Not yet. I will this weekend tho. Thanks bud
Before you root you may want to look into fix for SHealth and ISIS Wallet (if you use it). You have to stop SHealth and Health Services in app manager and clear data and cache before you installed Xposed. You may even have to uninstall their updates if I remember as well.
Install xposed and it's service , then update Shealth and it should work fine. Once you get that done install ISIS Root Bypass 3.0 module for xposed and check it in modules and reboot and the Wallet will work fine after that.
These were two things that I use often and really had to get working to be happy with root.
Rippley05 said:
Not yet. I will this weekend tho. Thanks bud
Click to expand...
Click to collapse
Why put off until tomorrow, what you could do today, and prevent yourself from being screwed by VZW when they push 4.4.3 soon, and Root may not work with it?
In the text messaging app you'll see a setting to display the message on the lockscreen instead of new message.
Plug your phone into the computer and drag and drop the music to the SD or use root explorer to move it there.. You don't need root to do this.
No, the S5 cannot auto enter edit mode as far as I know, maybe clear defaults of gallery and set images to auto open in an editor?
As far as continuous transitions just use apex or Nova.
Sent from my SM-G900V using XDA Premium 4 mobile app
Thanks for the replies guys. I'll keep digging.
I do not see the lockscreen setting in the messaging app. I'm using Samsungs app over Verizons
Sent from my SM-G900V using XDA Premium 4 mobile app
Rippley05 said:
Thanks for the replies guys. I'll keep digging.
I do not see the lockscreen setting in the messaging app. I'm using Samsungs app over Verizons
Sent from my SM-G900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's under Settings -> Notifications -> and at the bottom you will see check boxes for Lock Screen and Status Bar
Thanks. Sure enough found it. Also has the option for a pop up. .awesome.
Sent from my SM-G900V using XDA Premium 4 mobile app
How did you "disable" My Magazine exactly? I was able to long press home screen, choose Home screen settings, and uncheck My Magazine. This allowed me to scroll continuously or not.
bagery77 said:
How did you "disable" My Magazine exactly? I was able to long press home screen, choose Home screen settings, and uncheck My Magazine. This allowed me to scroll continuously or not.
Click to expand...
Click to collapse
I unchecked it via longpress homescreen. I don't have an option anywhere (that I can find) for continuous scroll
Rippley05 said:
I unchecked it via longpress homescreen. I don't have an option anywhere (that I can find) for continuous scroll
Click to expand...
Click to collapse
Oh gosh, well that is a problem then. I'll definitely keep my eyes open for a solution. You should let us know if you find one. I'm curious now.
Rippley05 said:
I unchecked it via longpress homescreen. I don't have an option anywhere (that I can find) for continuous scroll
Click to expand...
Click to collapse
You'll have to edit a file using Root Explorer then if you disable My Magazine you'll have endless home screen scrolling. I use Nova launcher which already has the option in settings. If you definitely have to have the stock launcher and you can't get infinite scrolling to work let me know I'll tell you which file to edit.
Sent from my SM-G900V using Tapatalk
nicetucu said:
Before you root you may want to look into fix for SHealth and ISIS Wallet (if you use it). You have to stop SHealth and Health Services in app manager and clear data and cache before you installed Xposed. You may even have to uninstall their updates if I remember as well.
Install xposed and it's service , then update Shealth and it should work fine. Once you get that done install ISIS Root Bypass 3.0 module for xposed and check it in modules and reboot and the Wallet will work fine after that.
These were two things that I use often and really had to get working to be happy with root.
Click to expand...
Click to collapse
I wouldn't have to modify the build prop to get S health to work with xposed?
Sent from my SM-G900V using XDA Premium 4 mobile app
I upgraded my z2 to Lollipop.
Now my proximity sensor stopped working.
Abu advice to fix it?
Sent from my D6503 using XDA Free mobile app
First thing I would try is do factory reset if you haven't done that already
Sent from my D6503
No way even with factory reset...
Sent from my D6503 using XDA Free mobile app
podon81 said:
No way even with factory reset...
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
Try reflashing the rom, preferrably a newly downloaded version in case errors crept in there, then try it before restoring any data / apps or even linking your google account. Yours is the first complaint i've seen of this type.
ghostofcain said:
Try reflashing the rom, preferrably a newly downloaded version in case errors crept in there, then try it before restoring any data / apps or even linking your google account. Yours is the first complaint i've seen of this type.
Click to expand...
Click to collapse
Same problem
Sent from my SM-N910F using XDA Free mobile app
---------- Post added at 11:22 AM ---------- Previous post was at 11:10 AM ----------
Try this (it didnt help me)
Originally Posted by ardeban
Step by step:
1 open a terminal session, type "su" ro grant root permissions
2 type cd /sys/devices/virtual/sensors/proximity_sensor/
3 with the sensor uncovered type "cat state" and write down the value (43 in my case)
4 type "cat prox_cal" and write down the first value (this is the offset), in my case it was 201
5 sum both values, in my case it was 244
6 Convert it to hex (http://www.disfrutalasmatematicas.co...conversor.html), in my case, F4
7 type "echo -en $'\xF4' > /efs/prox_cal", instead of F4, put your value
8 type "chown system:system /efs/prox_cal"
9 type "chmod 644 /efs/prox_cal"
10 type "sync"
11 type "reboot"
And that's all, we've increased the value and this survives even a reboot.
BR!
Sent from my SM-N910F using XDA Free mobile app
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
bluheart said:
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
Click to expand...
Click to collapse
How and where?
Sent from my SM-N910F using XDA Free mobile app
help me
Same problem in last update to lollipop firmware. 28
bluheart said:
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
Click to expand...
Click to collapse
Perfect
bluheart said:
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
Click to expand...
Click to collapse
What that's mining (on-off dt2w)
remo1_2020 said:
What that's mining (on-off dt2w)
Click to expand...
Click to collapse
double tap to wake up in Display settings.
remo1_2020 said:
What that's mining (on-off dt2w)
Click to expand...
Click to collapse
I do everything and the sensor still off what should I do now
nomaj said:
double tap to wake up in Display settings.
Click to expand...
Click to collapse
I do everything and the sensor still off what should I do now