yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8+ Guides, News, & Discussion] squabbi:
Permissions should be 644. You might want to try replacing the whole file that they had attached instead of copying and pasting the contents.
[Samsung Galaxy S8+ Guides, News, & Discussion] fardin17:
hello gues

please help me

I Install twrp recovery and my phone is stop on boot do not any thing

and Nothing will be installed not rom not recovery

what do I do؟؟؟؟؟؟؟؟؟
[Samsung Galaxy S8+ Guides, News, & Discussion] brakedalen:
I changed it to VOICE_ASSIST which works great! Except that it also works from the AoD and lockscreen. Is there any way around this?
[Samsung Galaxy S8+ Guides, News, & Discussion] squabbi:
How'd you get yours to work on the lockscreen? Mine prompts me to enable talking to Google Assistant using headphones.
[Samsung Galaxy S8+ Guides, News, & Discussion] brakedalen:
[/COLOR]

Open assisant -> settings -> phone -> other voice settings -> hands-free -> enable "For wired headset"

Funny thought! if you want to disable assistant on lock screen and AoD (like i did), just disable both "For wired headset" & "For bluetooth devices"
[Samsung Galaxy S8+ Guides, News, & Discussion] yogachix:
thank you!

thanks so much for the info - but i'm getting an error message saying access denied when trying to rename the generic.kl file?
[Samsung Galaxy S8+ Guides, News, & Discussion] squabbi:
Depending on the file manager you use, you might need to find the menu option to enable R/W to the directory or to '/'.

You might not also need to rename the file, see if you can open it as a text file with your file manager's built in editor.
[Samsung Galaxy S8+ Guides, News, & Discussion] x5c0d3:
Great thanks! Uninstalled the Remapper App. I just have to reapply this every time I update my FW/Kernel ;)
[Samsung Galaxy S8+ Guides, News, & Discussion] SixFourSix:
This thread is extremely useful and this finding is probably the nicest "mod" we have for S8, IMO at least. But after some time, Samsung will find this and break the feature to force us use the ****ty Bixby.

I wish we could hide this, but I also wish every rooted user finds this thread. Such a two-edged sword.. :)
[Samsung Galaxy S8+ Guides, News, & Discussion] AviLgG3:
Back button key name? And camera ?
[Samsung Galaxy S8+ Guides, News, & Discussion] j91co:
ANY key name is easily gained by web search, look for generic.kl + keyword(s). Or just search the text in the generic.kl file. If it could ever be some type of hardware key on a mass produced product you will likely find it (i.e. game control pad, bluetooth keyboard, etc.)

Back Button - key 158 BACK

Camera - key 212 CAMERA

---------- Post added at 02:16 AM ---------- Previous post was at 02:07 AM ----------

Definitely from a very novice user...but it seems like even among android variants like the Galaxy series, the hard key(s) are reasonably searchable or just easy enough to search manually within the generic.kl file itself, until Samsung deviates from android functionality enough there should be a "little" predictable wiggle room (on rooted devices.) Though again, my POV is as a user very new to making changes outside a tutorial...

---------- Post added at 02:25 AM ---------- Previous post was at 02:16 AM ----------

The rudimentary way I use this with tasker is via "Tasker App Factory", I make an app out of the task I want to use then tie it to the Bixby button using the method described in post #99 (below.) I successfully use this method to activate specific smart home functionalities with my Vera unit.
[Samsung Galaxy S8+ Guides, News, & Discussion] SixFourSix:
Yeah I hope it'll be like this. I was just thinking if Samsung will find a way to implement the button some other way.. but yeah, I see they maybe change the keycode number or description, which would be easily comparable to this original file (Generic.kl) we have now.
[Samsung Galaxy S8+ Guides, News, & Discussion] SixFourSix:
I wonder if there's a specific keycode also for double tapping or long pressing volume keys (or Bixby)

Would be neat if these also could be customized..
[Samsung Galaxy S8+ Guides, News, & Discussion] shakan09:
thanks for this. works on sm-g855u in case anybody was wondering
[Samsung Galaxy S8+ Guides, News, & Discussion] DarkXoa:
So I tried this and several things broke. I tried going back to my backup, but no luck. Hardware buttons are broken. Anyone know if I can get into download mode with it like this? I'm afraid to turn my phone off for fear that the buttons still won't work, and it'll forever be a paperweight.

EDIT: Well, I found out by accident that the buttons still work when the phone is turned off. Was getting frustrated and held the lock button down and ended up in upload mode. Scared the **** outta myself, but I got it back on. Gonna wipe it and start over later. Won't be the first time I've done so recently. With my luck it won't be the last either.

By the way, I'm also on the SM-G955U. Not sure why it got screwed so hard for me. Maybe it didn't like the text editor I used? I didn't have any problems with permissions.
[Samsung Galaxy S8+ Guides, News, & Discussion] shakan09:
use the built in text editor in root explorer and make sure you rename the file back to generic.kl not .txt
[Samsung Galaxy S8+ Guides, News, & Discussion] x5c0d3:
If you have USB Debugging active and adb, just type

adb reboot recovery

after connecting your phone with your computer.

---------- Post added at 12:24 PM ---------- Previous post was at 12:14 PM ----------

Lazy as I am, I created some few shell commands to map the Bixby button to Google Assistant.

You may use this at own risk

and change VOICE_ASSIST to what you like.

adb shell
su # don't forget to allow root for the shell now
mount -o rw,remount /system # Mount system partition as Read/Write
cd /system/usr/keylayout
mv Generic.kl Generic.kl.bak # Backups are always a good idea
sed 's/WINK/VOICE_ASSIST/' Generic.kl.bak > Generic.kl # Replace Bixby with Google Assistant
grep 703 /system/usr/keylayout/Generic.kl # Check if it got changed correctly
mount -o ro,remount /system # Back to Readonly just to be sure
reboot # Activate the change
[Samsung Galaxy S8+ Guides, News, & Discussion] squabbi:
Wouldn't download mode be: `adb reboot bootloader` or `adb reboot download`, which is the command that some newer HTC devices use?
[Samsung Galaxy S8+ Guides, News, & Discussion] x5c0d3:
From the adb help

reboot [bootloader|recovery|sideload|sideload-auto-reboot]
reboot the device; defaults to booting system image but
supports bootloader and recovery too. sideload reboots
into recovery and automatically starts sideload mode,
sideload-auto-reboot is the same but reboots after sideloading.
[Samsung Galaxy S8+ Guides, News, & Discussion] dogredwing1:
Any way to added a long press option for Bixby button?
[Samsung Galaxy S8+ Guides, News, & Discussion] jcradio:
Just tried remapping my s8 plus with root. Upon reboot my hardware buttons don't work. How can I reboot phone to fix the problem
[Samsung Galaxy S8+ Guides, News, & Discussion] dogredwing1:
Try flashing this with flashfire or twrp.http://cloud.tapatalk.com/s/59a0e4aebc068/Fix_Permissions.zip
[Samsung Galaxy S8+ Guides, News, & Discussion] obedmaleka:
I found the ultimate solution to assign an action or application to the Bixby button

I found a trick to assign the Bixby button an action, application and other. Handles single click, double click and long press

https://xdaforums.com/galaxy-s8+/how-to/root-remap-bixby-button-simple-double-t3666933
[Samsung Galaxy S8+ Guides, News, & Discussion] Tarzan143:
Easyyyy. Thnx :)
[Samsung Galaxy S8+ Guides, News, & Discussion] Richard_10:
Guys anyone figured out how to remap it to turn on and off "do not disturb" mode ??
[Samsung Galaxy S8+ Guides, News, & Discussion] Flashman2000:
Make sure u set your permission to rw-r-r

---------- Post added at 07:53 AM ---------- Previous post was at 07:50 AM ----------

Had the same issue. Solved by setting generic.kl permissions to rw--r--r. Make sure u remap using the correct commands or none of ur hardware buttons will work.
[Samsung Galaxy S8+ Guides, News, & Discussion] k750i111:
Switch apps

Any idea yet for a code to switch between 2 recent apps? Normally you would press the recent button twice but is there a way to make the bixby button do that?
[Samsung Galaxy S8+ Guides, News, & Discussion] squabbi:
Have you tried 'APP_SWITCH'?
[Samsung Galaxy S8+ Guides, News, & Discussion] last1left91:
Haven't noticed any lag. What I noticed is I've lost a lot of time using tasker tasks that launched from quick settings and had lag, all this time without knowing it was that simple.

Just an advice...when you want to start the camera by just pressing Bixby Button, be aware to hold the phone in Portrait Mode such that the effect would be 100% PURE STOCK with no lag at all! Then, after the camera has opened you can put your phone in any position you want: portrait or landscape.

Anyway, this text file has to be manipulated even more such that we can get actions like: Double Click bixby button to do something, or press Bixby Button when screen off...that would be really amazing, to open camera from screen off just pressing one handy button(Bixby button). Hope this thread will continue until we can do all we want!!!

Thanks a lot to the dev!!

PS: When on marshmallow, these keylayouts were hidden under some databases and there were a lot of issues with lag but now, everything turned that simple. THANKS NOUGAT!!!!

Anyone knows what does key 708 QPANEL_ON_OFF does? Is it somehow related to the fingerprint scanner gestures that open/close recent panel? Thanks :)
[Samsung Galaxy S8+ Guides, News, & Discussion] squabbi:
QPanel on off is to open and close the notification panel/shade.
[Samsung Galaxy S8+ Guides, News, & Discussion] kjames2001:
Hi guys, I managed to get single, double and long press with different functions for the Bixby button, just thought I would share it here.

You will need root, and the latest xposed framework (88.1) installed, and then install the xposed module called xposed edge.

Good luck with that and enjoy no delay button press.
[Samsung Galaxy S8+ Guides, News, & Discussion] awdrifter:
Is it possible to make it turn on flash light?
[Samsung Galaxy S8+ Guides, News, & Discussion] Tkb94:
Long press?

Hi friends!

Any idea for remap it with long and double press?
[Samsung Galaxy S8+ Guides, News, & Discussion] mike710_0:
[MENTION=1553263]redplate[/MENTION]

How did you get your volume up/down & power key working again?

I went straight to 'edit' on 'Generic.kl' and saved and now they've all stopped working!

Scratch that I've fixed it!

I was trying to put the Generic.kl file back to normal by putting line 703 back to default 'WAKE'

Fixed it by renaming 'Generic.kl' to 'Generic.txt', then I entered 'CAMERA' on line 703, saved, renamed it back to 'Generic.kl', then held volume down & power to reset. Ok restart all the buttons are now working again ??
[Samsung Galaxy S8+ Guides, News, & Discussion] ChanceGPM:
Yes, change wink to "Search" and then download Xposed edge, open app go to keys and add. Click Bixby button. It will be added and now you can chose 3 commands for bixby button.
[Samsung Galaxy S8+ Guides, News, & Discussion] Tkb94:
But....

Good, but i have rooted my s8 with magisk and i think that xposed don't work with systemless root. :(
[Samsung Galaxy S8+ Guides, News, & Discussion] Pedroc1999:
It does work
[Samsung Galaxy S8+ Guides, News, & Discussion] Sapiduel:
Didnt know there was an app like this. Thanks for this
[Samsung Galaxy S8+ Guides, News, & Discussion] Drzhivagolikesandroid:
Awesome app man.

I was using allingestures app before that for gestures.

Now I can use single app to set gestures and remap buttons.

Love you ??
[Samsung Galaxy S8+ Guides, News, & Discussion] ChanceGPM:
No problem, glad I could help you :)

It does work with magisk, I am using magisk with this method actually! Just download the xposed systemless version zip and xposed installer magisk apk, you can find it here: https://xdaforums.com/xposed/unofficial-systemless-xposed-t3388268

Then install the apk and flash the zip, after that you will have xposed as a magisk module :D

I modified a magisk module to change the wink to "Search" as well if you want. I will include it in this post.
[Samsung Galaxy S8+ Guides, News, & Discussion] iliakastrioti:
Thank u very much !! IT WORKS !! :good::good::good::good::good::good:
[Samsung Galaxy S8+ Guides, News, & Discussion] gtaelbordo:
thanks it works.. running s8+ android oreo rom
[Samsung Galaxy S8+ Guides, News, & Discussion] SeppGoPro:
Does anyone knowes a way how to lock the orientation to with the bixby button?

EDIT:

I found an easy solution. Just bind 703 to any unused button e.g. BUTTON_1. Then use an app like button mapper and add a custom button. Now you can select Flashlight, rotation lock and mutch more. You can choose whether it should work on lockscreen or just unlocked or in a specific app.

I know it's just a workaround, but it's much better then starting Bixby and then close it again for triggering an desired action.
[Samsung Galaxy S8+ Guides, News, & Discussion] JeffDC:
excellent, thank you!
[Samsung Galaxy S8+ Guides, News, & Discussion] ayiepmcare:
I would love to use it for Airplane Mode @ Mobile Data Any idea?
[Samsung Galaxy S8+ Guides, News, & Discussion] JeffDC:
Admin, how about making this a sticky?
[Samsung Galaxy S8+ Guides, News, & Discussion] lolocaust1933:
So I'm a retard and I didn't follow the instructions correctly and now none of my buttons work just like you said would happen. How do you fix?
[Samsung Galaxy S8+ Guides, News, & Discussion] zoltrix:
Has anyone found a list of possible variables we can use to map to 703?

If camera starts the default samsung camera app, then what can i use to map 703 to the gcam port im using?

There's gotta be another file that defines these variables somewhere :)
[Samsung Galaxy S8+ Guides, News, & Discussion] JeffDC:
Here is the generic.kl from my phone, except the Bixby key has been changed to Google Assistant.

Put it into root/system/usr/keylayout

Make sure permissions set to 644

roboot

https://xdaforums.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061
[Samsung Galaxy S8+ Guides, News, & Discussion] alexior92:
is there a command to set do not disturb mode?
[Samsung Galaxy S8+ Guides, News, & Discussion] Danhack000:
Remap bixby button for New Mail account Set Up

Key word is = ENVELOPE

Reboot and try.
[Samsung Galaxy S8+ Guides, News, & Discussion] Danhack000:
I found a great and easy way to remap bixby button to any app.

1St: Download Xposed Edge App from Xposed Framework

**once installed you activate but Don't reboot yet

2nd: Add key word HEADSETHOOK to line 703 on Generic.kl and reboot.

3rd: Once rebooted Head over to Xposed Edge App and click on Keys and select HEADSETHOOK to add your desire apps.

And that's pretty much it. I know this way might be similar to others but I found it much easier to manage.

Pics below for reference.

**root is needed obviously.
[Samsung Galaxy S8+ Guides, News, & Discussion] fartwhif:
deleted)#$$U)#J%%R)J(RFJ
[Samsung Galaxy S8+ Guides, News, & Discussion] BombeerHC:
Flashlight / torch / torchlight

Guys.. I ve read a lot of theard, I ve done a lot of search in your comments with no result..

So... which is the function to eneable Torchlight with this method??

I think this is one of most important functions around but no one responds.. so I decided to give another chance to our dear torch.

I hope someone takes this into consideration.:)
[Samsung Galaxy S8+ Guides, News, & Discussion] Danhack000:
Hey friend, you still looking for a method on this function? Or did you find one already.?
[Samsung Galaxy S8+ Guides, News, & Discussion] BombeerHC:
yes I m looking already for this.. do you have any suggestion?
[Samsung Galaxy S8+ Guides, News, & Discussion] Danhack000:
Ok so let me get it clear first Lol, you need the bixby button to get it to work as a Flashlight correct? I can help but I need to know if that is what you need to accomplish.
[Samsung Galaxy S8+ Guides, News, & Discussion] BombeerHC:
yes, I need to use bixby button to turn on flashlight even if the screen remains off

a bit like the present function on lineageos, with the power button turn on the flashlight, in case of need in the dark or in an emergency ..

in my opinion it should be a default function on all smartphones

following the method described in this theard, I'm looking for that word, which as a function, replace the use of the bixby button with flashlight is turned on, and at a second pressure go to turn it off.

I hope I have been as clear as possible, thank you very much
[Samsung Galaxy S8+ Guides, News, & Discussion] Danhack000:
Yeah bro I'm trying different key words but no luck yet. Once I find something to do that I will let you know. For now I can only suggest to use is Xposed Edge App which it will remap bixby to any action you wish. I posted a couple pages back on how to. Will keep in touch pal.
[Samsung Galaxy S8+ Guides, News, & Discussion] BombeerHC:
I tried to write in vain also to the developer of this app you said, and to that of bxactions, but nothing to do, no answer.

correct me if I'm wrong but if these applications succeed is because they recall that word we're looking for?
[Samsung Galaxy S8+ Guides, News, & Discussion] Danhack000:
I tried bxactions but didn't quite like it so i tried xposed edge and everything worked great. Try that app first and see if you can accomplish your request. Let me know.
[Samsung Galaxy S8+ Guides, News, & Discussion] BombeerHC:
Hello [MENTION=6366447]Danhack000[/MENTION] and thanks for these attempts and advice, but see, I'm not looking for an application with a lot of features that I would not use, plus I should install xposed for what you recommend, but I'm looking for something that changes that parameter strictly. .

give me this example, it's a bit like if you advise me adguard to block advertising when we know the existence of adaway! hahaha

I do not want to generate discussion now on this but is to make it clear that I need to manually change the parameter at the root, so that services, or other processes do not clog the memory unnecessarily.

That said I was wondering who exactly knows this word?

I remembered long ago that I found an app like this:

https://xdaforums.com/galaxy-s6-edge/themes-apps/app-torchlight-enabler-root-required-t3150187

I wondered if the operating principle was this or had something to do .. I'm also wondering if it may be useful to write an email directly to the manufacturer .. I do not know, any attempt could lead us to a solution ..

what do you think about it?
[Samsung Galaxy S8+ Guides, News, & Discussion] Tayyabcpmc:
Someone kindly help me. I followed the instructions same as written but after reboot none of buttons is working even the file name is also generic.kl.

Furthermore permission settings are not as rw--r--r and code is also showing different (not 0644) .

Kindly help me fix the issue
[Samsung Galaxy S8+ Guides, News, & Discussion] schnoeselmeier:
Can I remap the Bixby button with FLASHLIGHT? I already deinstalled Bixby a while ago. Would I have to reinstall it first in order to do some remapping? I hope not...PLEASE HELP!
[Samsung Galaxy S8+ Guides, News, & Discussion] -_Zerone_-:
I use BACK so its my new Back-Button. Maybe you can add it to the list. :)
[Samsung Galaxy S8+ Guides, News, & Discussion] geoaka911:
Fix file permissions for generic.kl and reboot
[Samsung Galaxy J5 Questions & Answers] MacriTheCat94:
:D
[Samsung Galaxy J5 Questions & Answers] UmarBurney:
Where's the list?
[Samsung Galaxy J5 Questions & Answers] _dvn:
For 5.1.1 or 6.0.1 and please add more details. :eek:
[Samsung Galaxy J5 Questions & Answers] MacriTheCat94:
6.0.1 Touchwiz :)
[Samsung Galaxy J5 Questions & Answers] _dvn:
Go here: Apps safe to UNINSTALL [Stock MARSHMALLOW]
[LeEco Le Max 2 Questions & Answers] sick707:
im bringing this topic because everyone want to know wich one is the best room(stability,Conection, SOT(battery life), notifications, fingerprints funcionality, etc....)

Im My opinion reading the forum we got 2 bigs contenders:

-SmalEUI by Aurel

-Miui8 by CrisBalGreece

Wich one you thinks its better?:confused:

or if you have another tell us !!:good:
[LeEco Le Max 2 Questions & Answers] jufece:
Cuoco92

Enviado desde mi Le X829 mediante Tapatalk
[LeEco Le Max 2 Questions & Answers] icerebro:
Indian 19s.
[LeEco Le Max 2 Questions & Answers] jo26861:
Nougat RR;)
[LeEco Le Max 2 Questions & Answers] phamhai001:
SmalEUI and RR :rolleyes:
[LeEco Le Max 2 Questions & Answers] orangepowerpokes:
I convinced myself the grass wasn't really going to be greener on the other side, and that Nougat need ironed out, and so I should be patient and enjoy MM with xposed. Then the other night, I thought it wouldn't hurt just to try Nougat, so I took the bait and flashed RR. I really thought I bricked my phone. It installed okay - no problems. It was when I'd reboot the phone would spiral into a crash and freeze, and get blazing hot. Yes, clean installed wiped all but storage/boot/recovery. Tried to re-flash a couple of times. Same story, all went well until the minute I reboot. Then my phone wouldn't even turn on. 2 days later on the charger I managed to 'wake' it back up. x829 here.

So right now it's back to LOS13 :) Not great battery, but everything just works and I prefer the stock-like google android.

Any good ROM support Substratum?
[LeEco Le Max 2 Questions & Answers] darkming:
Well maybe you did something wrong. Try to reflash again.

RR-N is fantastic and at the moment absolutely the best rom for X82x.

All of us would have the same problems you are mentioning if that is true...
[LeEco Le Max 2 Questions & Answers] jo26861:
Maybe its a good idea flash stock first and wipe everything exept sd card before. and then the next rom.
[LeEco Le Max 2 Questions & Answers] kanagawaben:
+1
[LeEco Le Max 2 Questions & Answers] Supertacomonkeyexplosion:
RR-N hands down.

I had a similar problem, I suspected TWRP wasn't wiping correctly. Flashing over top (which I thought were " clean " flashes) just added strange problems, battery, overheating, force reboots, bootloops. I couldn't even get factory data reset to work.

Only thing that worked was a complete restore back to 23s/ it fixed all the strange problems.
[LeEco Le Max 2 Questions & Answers] orangepowerpokes:
Well I'll have to try it again, maybe with the above suggestion of 1st returning stock. Today I decided to test drive the DU N ROM. It looks like DU might be what I might be looking for, as I really wanted something with Substratum support. Devs are crazy busy the last few days/weeks, great to see!

Edit.. Really like DU at the moment. Paired with the Magpie Reborn substratum, this le max 2 is themed out dark, and loving the experience :o
[LeEco Le Max 2 Questions & Answers] birdie:
None of them, 'cause I have exactly zero trust in them.

It's either official ROMs/LineageOS or GTFO. You may as well tell me to install 100 pieces of malware.
[LeEco Le Max 2 Questions & Answers] mymutatedmind:
i heard that the indian 19s has a good battery life.. but what about its antutu score and real life app opening speeds?
[LeEco Le Max 2 Questions & Answers] icerebro:
That is my Antutu score. Anyway for me is the best work. Works great. The battery has no drain and the apps open normally.
[LeEco Le Max 2 Questions & Answers] mymutatedmind:
youre from india bro? im searching for le max 2 camera glass.. mine got heavily scratched and my camera is useless as of now.. ive tried finding but found it only on aliexpress do u know of any local suppliers which may be able to provide the same? thx in advance
[LeEco Le Max 2 Questions & Answers] icerebro:
Actually I am from Peru
[LeEco Le Max 2 Questions & Answers] Elatessa:
Hey, what about sot, bugs and overall performance with DU-N??? Thanks
[LeEco Le Max 2 Questions & Answers] birdie:
Not in my case. Leaking 0.5-1% of battery every hour even in Ultra Power Savings mode (i.e. no WiFi, No Cellular, no wake ups, i.e. completely idle).

:(

My Nexus 5 spends just 1% of battery every 20 hours with WiFi on and background apps runnings.