how to add haptic feedback - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Enable haptic feedback for capacitive buttons:
This could work on all Samsung devices, but I have only tested on my Sprint S4 mini.
*This requires root.
*This requires xposed framework.
I searched around xda and other places to come up with a solution but couldn’t find one.
And even after downloading both the free and paid version of xposed additions, I still couldn’t force haptic feedback on my capacitive buttons.
But then I found an interesting setting in ES Task Manager (version 1.4.2).
If you open it, then hit the menu button, then choose power optimizer, then choose the “other” tab, you’ll see a haptic feedback on/off toggle.
I toggled it on and BOOM, haptic feedback on my capacitive buttons!
So to backtrack, I first went to xposed additions and chose both my capacitive buttons (menu and back).
Then I checked the “force haptic feedback” option for each one. Then made the change with es task.
This makes me think that ES task manager has access to something xposed additions does not?
So again, not sure if this will work on other Samsung devices, but it worked on my Sprint S4 mini (on KK 4.4.2)
Hope it helps you.

Related

[GUIDE] Control media player using volume buttons (and other tweaks)

Greetings,
I just wanted to share some tweaks that I've done on my phone to make it much more user-friendly.
Disclaimer: I am not an android expert, until two days ago I had no idea how to root a phone. I realise some CM and other roms can do some of this stuff, but from my linux days I didn't want to go down this road.
Click to expand...
Click to collapse
ROM: This works with the stock Galaxy Y rom, and can be adapted to pretty much any Android phone, I think.
The Main Event: Media control using hardware buttons
1. Root your phone.
2. Install the XPosed installer backported by liudongmiao, found as an attachment from the following link: http://forum.xda-developers.com/showpost.php?p=44034334&postcount=1
2.1. Using the installer, download and install the XPosed framework. For more help on this see this video by galaxyyarchive (the link in the description did not work for me) https://www.youtube.com/watch?v=YsmQsP-lDWU
3. Using the Xposed installer, you will need to download and enable the module Xposed Additions. I also highly recommend the App Settings GB module.
4. Once it's all installed and rebooted, open the Xposed Additions app. Click on Buttons, Add New Key. Press the key you want. Add a condition (screen on / off / lock screen). Select the actions. Repeat this for all the keys and actions that you would like!
How I have my phone configured: Hold volume up to play/pause (regardless of screen condition). Hold volume down to go next song (regardless of screen condition). Hold back to go previous song (unless the screen is off).
It works flawlessly for me, never had unexpected results.
Problems / Tweaks
This method can not control the stock music app!. Most other players seem to work, I like to use RocketPlayer. It also works with pandora and jango.
On my phone, holding any of these buttons will start rocket player, even when the screen is off. So don't accidentally hold down volume down when you desperately want silence!
Do not install the Xposed framework or modules on the SD card (link2sd). They need to be loaded on boot.
How to prevent the screen turning on
1. To prevent media controls from waking the screen, you will need to edit a few files. Using root explorer or similar, navigate to /system/usr/keylayout
2. Open each of the files, and wherever it says VOLUME_UP or VOLUME_DOWN, remove the word WAKE from the same line.
3. Reboot.
Small problem
Rocket player has a really cool lock screen with media control, which works great together with the stock lock screen. However, when this is on, the phone will wake regardless of the above changes, when pressing volume buttons.
Camera Tweaks
If you install the App Settings GB module in XPosed, you can tick the box "show when locked" on the camera. Now when the camera is open and you lock the screen, when you wake the phone you will still be in the camera app! Close it and the screen is still locked.
This App also allows other handy tweaks, like forcing auto rotation or full screen (or not) in any application. Like Gallery!
I've also set holding menu to open the camera using XPosed Additions when the screen is on.
I hope this information will be helpful to someone! All the above, together with link2sd and juicedefender have made me like my phone again!

Must have app for S2: Button Savior!

So, I don't know 'bout you, but I use my S2 in landscape mode more often than not and find it a bit awkward using the capacitative buttons on the side for navigation. I've used the recommended app on nearly every device I've owned but never have I found it more useful than on this tablet vs. anything else. The app is called Button Savior and it puts three pages of (configurable w/ pro version) navigation buttons on your screen. There are some cool themes with the free version and the pro version allows you to add an HD theme pack (see screen shot - that one's called Liquid Metal 2). It rarely gets in the way of screen content, but just hitting the circled X at the top collapses the panel into a small tab with an arrow that has configurable size and transparency. Of course there are other methods for soft key navigation but I'm a big fan of Button Savior, and to summarize... I would recommend it!
*As I mentioned there are other "soft key" solutions for navigation, but I find the above mentioned app the most convenient/intuitive. I actually have a few installed myself but don't really use them unless I need a particular function that Button Savior lacks (such as "kill app"). As you can see in the screen shot, I have a navbar courtesy of Gravity Box. For some reason though, the keys are only present in portrait mode, when I don't really need them. What's up with that? Anyways, I also use LMT (the actual app, not the Gravity Box version because it's much more configurable), but a lot of apps have slide-out menus from the left (these days...) which interferes with triggering it sometimes. However, using the LMT app, you can basically add whatever you want such as scripts and other such fanciness; I use it mostly for "kill app" whenever (rarely) something's non-responsive. Anyway, I can upload the apk if anyone wants it, but there's probably a newer version so you might be better off tracking it down. Here's a Play Store link for Button Savior: https://play.google.com/store/apps/details?id=com.smart.swkey&hl=en Check it out!
Sorry to be the party pooper, but all these solutions (LMT, Button Savior etc.) are not the real deal.
The only real convenient solution is GMD Gesture Control.
For any action you can think of (including Tasker actions etc.) you can freely configure gestures and the screen areas in which the gestures are recognized.
All the other solutions need too many actions to trigger an event, and/or they take up screen estate.
hasenbein196601 said:
Sorry to be the party pooper, but all these solutions (LMT, Button Savior etc.) are not the real deal.
The only real convenient solution is GMD Gesture Control.
For any action you can think of (including Tasker actions etc.) you can freely configure gestures and the screen areas in which the gestures are recognized.
All the other solutions need too many actions to trigger an event, and/or they take up screen estate.
Click to expand...
Click to collapse
I like GMD too. I have GMD S-pen Control and have used it on all of my Note devices. I've found that I prefer soft key solutions though for the following reason: I tend to set up GMD and use it for a while, then take a break from using it for whatever reason, then tend to forget most of the gestures that I set up.
GMD is definitely awesome, IME it just needs to be used consistently though. I might give Gestures a try as it might be more practical than S-pen control
Er, how about simply NOT intermittently stopping using GMD???
You must admit that your reason for not using GMD is quite hilarious
(And, additional tip: Use the gestures wisely and don't add too many gestures - then you won't be confused )
I use GMD on all my devices now for years (so unrootable devices won't ever be bought by me), and it's second nature...
hasenbein1966 said:
Er, how about simply NOT intermittently stopping using GMD???
You must admit that your reason for not using GMD is quite hilarious
(And, additional tip: Use the gestures wisely and don't add too many gestures - then you won't be confused )
I use GMD on all my devices now for years (so unrootable devices won't ever be bought by me), and it's second nature...
Click to expand...
Click to collapse
LOL :laugh: I think it has to do with the S-pen. Normally I just go through periods where I use it more or less. I think that it'd be easier with gestures.
Pie controls works amazing. It's on the app store
James.Markham0757 said:
Pie controls works amazing. It's on the app store
Click to expand...
Click to collapse
Agreed I have Button Savior set to trigger on the right side of the screen which I use mostly for "simple" navigation (although it has many more functions... 3 pages that you can scroll through) and PIE set to trigger on the left side. I mostly use PIE for more complex functions that I have mapped to long presses. I like Button Savior because the pro version looks nice with the HD themes, is completely unobtrusive, and faster and slightly easier to trigger than PIE even if collapsed. PIE definitely comes in handy if I ever need to kill an unresponsive app or something like that :good:
A better solution to Button Savior is already built into the Tab S2. It is called Assistant Menu. Go into Settings, Accessibility, Dexterity & Interaction, Assistant Menu then turn it on.
tsg2513 said:
A better solution..
Click to expand...
Click to collapse
I'd agree that the already *build in* navigation assistant is better but, NO. You cannot change the background color (it is snow white). You cannot change the color of the floating navigation assistant button nor does it auto hide itself.
All other suggested apps need *root*. :x
I use this. It's simple and no root. I just need back, home and recent, but you can set more. Its completely transparent. The app is called "all in one gestures" and free.
tsg2513 said:
A better solution to Button Savior is already built into the Tab S2. It is called Assistant Menu. Go into Settings, Accessibility, Dexterity & Interaction, Assistant Menu then turn it on.
Click to expand...
Click to collapse
This seems to be gone with the Nougat update...
I found a much better one,
Handy Soft Keys Pro.
Small, ultra fast, no ads and with fade out feature.

3dot Mod not working.

I have my T-Mobile Samsung Galaxy S4 unlocked. I installed Xposed Installer.
I want to use the 3dot Mod to see how software buttons would be like but all it does is disable haptic feedback of the hardware keys.
I also tried using other apps from the Play store such as 'SoftKey Enabler' but none of them work.

How to toggle flashlight torch with physical button when screen is off?

Hi,
Is there an xposed module, app (rooted or not) or any other trick to give me the option to turn on flashlight torch when I press and hold power button even when the screen is off,
PS , running Cm13
Many thanks!
There is a xposed module named "xposed torch" that worked on my z1c
But on the 1+3 it seems to be broken, it just softreboot itself everytime i try to switch on my flashlight with it.. so i sticked with the "V" gesture
Actually I want this on my O+X , does not seem to work, I have tried the following,
Gravitybox MM
Sense for xposed
Xposed torch
Play store apps (out of frustration)
Others
I don't know if such thing is possible with Tasker, so maybe some1 will help with that
Also, there was a Moto X feature called Chop Twice for flashlight , is there a way to make that possible on AOSP Roms?
Many thanks!
The ResurrectionRemix ROM supports that I think...
ExtentedByte said:
There is a xposed module named "xposed torch" that worked on my z1c
But on the 1+3 it seems to be broken, it just softreboot itself everytime i try to switch on my flashlight with it.. so i sticked with the "V" gesture
Click to expand...
Click to collapse
Kharabsheh said:
Actually I want this on my O+X , does not seem to work, I have tried the following,
Gravitybox MM
Sense for xposed
Xposed torch
Play store apps (out of frustration)
Others
I don't know if such thing is possible with Tasker, so maybe some1 will help with that
Also, there was a Moto X feature called Chop Twice for flashlight , is there a way to make that possible on AOSP Roms?
Many thanks!
Click to expand...
Click to collapse
Xposed Torch by Wanam works for me
Kharabsheh said:
Hi,
Is there an xposed module, app (rooted or not) or any other trick to give me the option to turn on flashlight torch when I press and hold power button even when the screen is off,
PS , running Cm13
Many thanks!
Click to expand...
Click to collapse
xposed additions is the app you are looking for. I have OP3 myself and use this module for media skipping etc None of the other modules seem to work
hit thanks if I helped u
GravityBox MM works for me. Locked, screen off, power button hold and press - flash on.
arushdude said:
xposed additions is the app you are looking for. I have OP3 myself and use this module for media skipping etc None of the other modules seem to work
hit thanks if I helped u
Click to expand...
Click to collapse
Be careful if your are on OOS when you try to use Xposed additions. There are some bugs,
1. Xposed additions will make feedback vibration of touch buttons unavailable;
2. Double click power button to open camera quickly is not available anymore;
3. Maybe there is little delay when you use 'volume-'+'power button' to make a screenshot.
Iceyogurt said:
Be careful if your are on OOS when you try to use Xposed additions. There are some bugs,
1. Xposed additions will make feedback vibration of touch buttons unavailable;
2. Double click power button to open camera quickly is not available anymore;
3. Maybe there is little delay when you use 'volume-'+'power button' to make a screenshot.
Click to expand...
Click to collapse
true, but i use it for media controls and direct dial on triple click of power button for someone special as well.. so i prefer all these over the camera shortcut provided by OP.
im using custom slider xposed module to turn on and off flash light
Xposed Torch by Wanam does work at the beginning but after being in standby a while it doesn't launch the torch. from my perspective there isn't a sufficient solution that does fully work and does not break anything else.
arushdude said:
xposed additions is the app you are looking for. I have OP3 myself and use this module for media skipping etc None of the other modules seem to work
hit thanks if I helped u
Click to expand...
Click to collapse
Do you use xposed additions for Screen Off actions? I'm curious how reliable it is while the screen is off.....does it sometimes not trigger if you have had your screen off a while?
Have you tried Xposed Physical Button Music Control module? Serves almost identical purpose.....but I occasionally run into the issue I described. I'll Re-Map a Volume Up command (while screen off) to do some action.....sometimes it won't trigger if the screen has been off a while. Anyways, I'll be doing some extensive testing between these two (almost identical) modules and report back which I find more reliable/stable. I've used Xposed Physical Button Music Control for a LONG time and noticed the screen off actions are a bit flakey
http://forum.xda-developers.com/xposed/modules/mod-physical-button-music-control-1-8-t2620777
Stupifier said:
Do you use xposed additions for Screen Off actions? I'm curious how reliable it is while the screen is off.....does it sometimes not trigger if you have had your screen off a while?
Have you tried Xposed Physical Button Music Control module? Serves almost identical purpose.....but I occasionally run into the issue I described. I'll Re-Map a Volume Up command (while screen off) to do some action.....sometimes it won't trigger if the screen has been off a while. Anyways, I'll be doing some extensive testing between these two (almost identical) modules and report back which I find more reliable/stable. I've used Xposed Physical Button Music Control for a LONG time and noticed the screen off actions are a bit flakey
http://forum.xda-developers.com/xposed/modules/mod-physical-button-music-control-1-8-t2620777
Click to expand...
Click to collapse
xposed additions works for me perfectly all the time,be it screen off or screen on..
PBMC didnt work for me at all.. i tried it first for mapping music controls when screen is off but nothing went right...
i tried several modules but in the end xposed additions was the best of them all...
hit thanks if I've helped you
Here is my comparison so far for both Xposed Modules (Physical Button Music Control vs Xposed Additions)
Both apps have reliability issues with Screen Off triggers. To demonstrate, keep your screen off and don't touch your phone for quite a while (30+ minutes at a minimum). Now try to do a Screen Off trigger. It likely won't work. Now turn your screen on and off again. Try a Screen Off trigger immediately. It will work. So obviously, something is disabling/sleeping these apps after the phone goes idle for a while thus preventing these Screen Off triggers from working. I have no idea how to solve this. I've already added both apps to the Whitelist for Doze battery optimization. It is rather frustrating having this issue.
Both apps are NOT able to use the Home Button as a trigger while the screen is off
Xposed Additions CANNOT use the Home Key as a trigger....period. PBMC can.
Seems PBMC does not function on OOS....but it does work on CM based ROMs.
Both apps can play nicely together. So if you like specific things from both apps, you can use both.
Conclusion....they both perform pretty equally. I'll continue to investigate the reliability issues. There has GOT to be something we can do about this. I might write the xposed additions developer since he seems to be a OP3 user.
I use Gravitybox MM on OOS 3.2.7 and don't have any problems.
Sent from my ONEPLUS A3000 using XDA-Developers mobile app

[APP] Button Mapper: Remap Bixby single, double and long press for FREE

NOTE: On a rooted device, this is the fastest, most reliable and problem-free method for remapping Bixby (no limitations, no setup)
Button Mapper allows you to remap any action you want to physical or capacitive hardware buttons. This includes volume buttons, Bixby button, and many buttons on game controllers and other hardware you attach to your phone.
You can map shortcuts, apps or actions to single press, double tap and long press for hardware buttons.
The Bixby button on the Galaxy S9 and S9+ is supported as of version 0.62
Bixby remapping of single, double and long press is completely free. No ads. Pro version not required.
Does not require root. If your device is rooted, you will have many more options (essentially unlimited). Also with root, Bixby remapping does not involve any hacks, it is implemented at the input level (native).
This does require an adb command to remap Bixby on unrooted devices. It's a one-time setup. I do not use the method used by other apps because it leads to a poor user experience (i.e. swiping right causes actions to occur, get stuck in a loop)
This app is continually updated with new features and improvements.
Download on XDA Labs:
https://labs.xda-developers.com/store/app/flar2.homebutton
.
Big update update on the way soon.
You can remap all Bixby stuff for free with this app, and it has the most options of any remapping app.
I'm looking for volunteers to translate. Go to this link if interested
http://oskwvu0.oneskyapp.com/collaboration/project/258033
Version 0.66 is now released. It will roll out slowly on the Play Store, if you want it now, get it from XDA Labs
https://labs.xda-developers.com/store/app/flar2.homebutton
This version has tons of small fixups: the AOD crash is fixed, activities open right away after pressing home, everything is faster, and there are more options. Also quite a few UI improvements.
Changes:
Pocket detection (pro)
Toggle auto brightness
Toggle Wifi hotspot (Android 7 and lower)
Toggle mobile data (root)
Clear notifications
Compatibility with Android P
Option to use speaker with Pressy, MiKey, etc
Global bypass option
More long press duration options
Receive incoming phone calls with home button (Samsung)
Add Spanish
Update translations
UI improvements
Optional lock method that allows fingerprint unlocking
Fix AOD crash with screenshot action (Samsung)
Optimizations and bugfixes
@flar2 anything about using Bixby button to take camera pics? thanks
[email protected] said:
@flar2 anything about using Bixby button to take camera pics? thanks
Click to expand...
Click to collapse
To click the shutter? You can do that with select/enter action, but it requires root.
flar2 said:
To click the shutter? You can do that with select/enter action, but it requires root.
Click to expand...
Click to collapse
yes, I was thinking if it was possible without root.
[email protected] said:
yes, I was thinking if it was possible without root.
Click to expand...
Click to collapse
Not that I can think of
I've deleted the bixby services without know that the remap apps wouldn't work anymore
This app doesn't work either.
ekvintroj said:
I've deleted the bixby services without know that the remap apps wouldn't work anymore
This app doesn't work either.
Click to expand...
Click to collapse
It's the only way to detect Bixby since Samsung bypassed the usual Linux input system..
thanks for this app. works great!
Hi
Thanks for this great app.
I use pro version.
Does it possible to remap back, home and recent soft keys on S9 ?
edzamber said:
Hi
Thanks for this great app.
I use pro version.
Does it possible to remap back, home and recent soft keys on S9 ?
Click to expand...
Click to collapse
I don't think so. It's definitely not possible using the methods used by this app.
So...people don't like free stuff? Should I make you guys pay for double press and long press?
Nice job with this app man. Very easy to turn on flashlight and get to google assistant. I'll be unlocking the pro version in a little bit.
It also appears that, even though I am not rooted, the bixby button works to turn on my flashlight while I'm on the AOD so that is SUPER helpful.
UPDATE!!
Version 0.74 has lots of new goodies. It's rolling out slowly on the Play Store, if you want it now you can download from XDA Labs:
https://labs.xda-developers.com/store/app/flar2.homebutton
-Menu action is now available without root
-Pause and resume remapping from notification, quick settings or public intents that can be used with Tasker or other automation apps
-If you use the notification, you can now change the priority
-Option to turn on screen with screen off actions, so if you launch an app with the screen off, the screen will automatically turn on (requires Pro version)
-Zello PTT toggle and hold actions (requires Pro version). This allows you to either set a button to toggle send, or hold the volume up or down button to talk
-Copy and paste actions
-Option to use VOICE_ASSIST for assistant
-Restore autobrightness when using brightness actions
-Fix shortcut bug
-Many other bugfixes and improvements
-Update translations
Here are the intents to pause and resume remapping. The first is a toggle, the other two explicitly pause or resume remapping. Use whichever best fit your needs.
flar2.homebutton.TOGGLE_REMAPPING
flar2.homebutton.PAUSE_REMAPPING
flar2.homebutton.RESUME_REMAPPING
@flar2
Screenshot sound toggle doesn't work for me on Galaxy S9+
Can we also have an option to disable bixby single tap when the device is locked or in always on display mode?
fmaher said:
@flar2
Screenshot sound toggle doesn't work for me on Galaxy S9+
Can we also have an option to disable bixby single tap when the device is locked or in always on display mode?
Click to expand...
Click to collapse
Screenshot sound toggle only works for my screenshot implementation. It can't be controlled on the native screenshot (I assume you're rooted)
flar2 said:
Screenshot sound toggle only works for my screenshot implementation. It can't be controlled on the native screenshot (I assume you're rooted)
Click to expand...
Click to collapse
Sorry didn't get your point. How can choose your screenshot implementation? There is only one screenshot action available in the list.
fmaher said:
Sorry didn't get your point. How can choose your screenshot implementation? There is only one screenshot action available in the list.
Click to expand...
Click to collapse
If rooted, it uses the built-in screenshot. If not rooted, it uses my own custom screenshot because I can't access the built in one. The built-in is preferable to the custom screenshot, but there is no control over the sound in the built in screenshot.

Categories

Resources