yashsingh1/xdaforums huggingface dataset:
[MTCB Software Development] pa.ko:
Credits to [MENTION=2127754]booroondook[/MENTION] from 4pda (translated with Google Translate):

RECOMMENDATION: The most convenient way to work - with your PC via ADB terminal-Ruth rights

We find and download an archive Xposed Installer for SDK22 and ARM architecture

Unpack the archive on your computer

Create a folder in the SU / system / lib / lib-orig and / system / lib / lib-xposed

Copy the folder in / system / lib / lib-orig folder / system / lib the following files (full-time)

libart-compiler.so

libart-disassembler.so

libart.so

libsigchain.so

Copy the folder in / system / lib / lib-xposed from the unpacked archive files Xposed following (modified)

libart-compiler.so

libart-disassembler.so

libart.so

libsigchain.so

libxposed_art.so

Copy the folder / system / lib / lib-xposed in the folder / system / lib file libxposed_art.so

The ADB terminal go to the folder / system / lib: cd / system / lib

Give the command: cp ./lib-xposed/libart.so ./

... And look at the screen recorder

You should see the start logo, which will be replaced after 2-3 minutes a blank screen with the message "Application Optimization X of XX"

If the meter is optimized application runs very fast, it means that we were not lucky, and this version of Xposed We most likely will not fit

If at the end of the optimization run applications climbed error, it means that we are definitely not lucky

Return to the place of the regular file libart.so command: cp ./lib-orig/libart.so ./

Again we observe the starting logo and then optimize counter

At this time, the counter should be practiced at a normal rate, and upon its completion should download the launcher interface

In this experiment with this version of Xposed completed

If necessary, check the other version of Xposed repeat the experiment in the above sequence

And here is official Xposed for LP and MM:

http://xdaforums.com/showthread.php?t=3034811

So you may try... And please share results. Successful Xposed installation procedure would be of great usefulness for everyone around.
[MTCB Software Development] Twilek:
I have just found out that my USB CDMA Stick doesn´t work with 5.1.1. It shows the right Icon with signal strength and connectivity. But it does not transfer data. So even if Tomtom would work, there would be no traffic. So I guess I will have to revert to 4.4.4 until the 5.1.1 gets more mature.
[MTCB Software Development] TripFlex:
Did you try using the PPP widget? That was the only way I was able to get mine to work
[HTC 10 Guides, News, & Discussion] dlads:
Having used Samsung's before and other devices, I've become accustomed to the back button being on the right.

I was hesitant about changing this as it would mean that you'll have a back symbol on the left and recent's on the right, even though they've switched, which would look a bit crap to be honest.

Anyway, disabling the backlight's will make it look a lot better whilst you have your buttons swapped :)

To do this you'll need to be rooted, that's it.

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

Flashable Zip Method

Here are some zips for flashing via recovery should you not want to edit these files yourself.

ButtonSwapLights0% - Swaps back & recents, kills button backlight

ButtonsDefaultLights0% - Default button order, kills button backlight

ButtonsDefaultLights50% - Default button order, backlight brightness 50%

ButtonsDefaultLights100% - back to normal

:)

Manual Method

Download a text editor capable of altering system files, i personally used QuickEdit which is free in the play store.

Once that's installed

To disable the back light go here with a text editor.

/sys/class/leds/button-backlight/max_brightness change the number in here which will be 255 to 0.

This will switch off the lights immediately.

If you'd like to swap out the buttons so that back is recent and recent is back,.

Go to cypress-cap-sensor.kl which is in

system/user/keylayout/cypress-cap-sensor.kl

and find then simply reverse the text from the following two lines (there's only two in the file anyway)

key 158 BACK VIRTUAL

key 580 APP_SWITCH VIRTUAL

to

key 158 APP_SWITCH VIRTUAL

key 580 BACK VIRTUAL

Reboot the device and the keys will be switched

Enjoy ;)

Thanks to @LeeDroid for putting me onto the location of the recents and back button file. :good:

Another big thanks to [MENTION=2696401]Chronzy[/MENTION] for making these zips, very much appreciated :good:

Update : These same zips work with Nougat on both cm and sense based roms.. Can be flashed at the same time of a Rom.
[HTC 10 Guides, News, & Discussion] Zorachus:
Outstanding job dladz. This is exactly what I was looking for, and so easy in your instructions. Thank you.

Off topic;

What about a lower haptic vibration ? Stock this phone vibrates like a wild rattlesnake in my hand, about to bite me. I thought most phones have a setting to adjust the vibration ? My Galaxy Note 5 does, as well as my LG G5 did and OnePlus One.

I am running LeeDroid ROM and he has specific settings for power abd haptic feedback, but even down to 1 it's still pretty powerful, just too strong for my tastes. I like to feel a slight vibration, nothing much. Is that possible ?
[HTC 10 Guides, News, & Discussion] Zorachus:
Is there a way to swap the Nav / software keys that some ROM's enable ?
[HTC 10 Guides, News, & Discussion] dlads:
I'd say there is, but haven't looked into it mate.
[HTC 10 Guides, News, & Discussion] dlads:
There should be a file which you can edit to make haptic feedback alter, I've never looked into it mate.

Personally I switch feedback off. I don't need it.

Google: marshmallow haptic feedback how to change system

Also mate,, use the thanks button [emoji106] [emoji16]
[HTC 10 Guides, News, & Discussion] DSF:
When i tested the htc 10 i was shocked how the vibration intensity felt.. just like a cheap phone. Sometimes, I cannot understand htc.
[HTC 10 Guides, News, & Discussion] Zorachus:
Custom kernels + app allow that to be adjusted. I turned mine way down, and it feels a lot better now.
[HTC 10 Guides, News, & Discussion] dlads:
Please. This and haptic feedback has nothing to do with this thread.. If you'd like to speak about this, then please, take it elsewhere.
[HTC 10 Guides, News, & Discussion] Adarsh1998:
You can use init.d script to prevent brightness changing on every reboot, i.e

"#! /system/bin/sh

echo 0 > /sys/class/leds/button-backlight/brightness

echo 0 > /sys/class/leds/button-backlight/max_brightness"

Create a file in /system/etc/init.d and paste the above lines (without quotes), and give 755 permission, itll set to 0 before boot Everytime :)

If on stock rom dont have init.d support then use superSu's su.d, place same file to /system/su.d folder
[HTC 10 Guides, News, & Discussion] dlads:
Cheers mate, will give it a whirl
[HTC 10 Guides, News, & Discussion] FIFATG:
Was looking all over the web for this.

Thank you, great job.
[HTC 10 Guides, News, & Discussion] Adarsh1998:
If you want, i can make automated flashable zip to disable and enable the hardware keys, just upload Cypress-cap-sensor.kl here :)
[HTC 10 Guides, News, & Discussion] dlads:
You're welcome
[HTC 10 Guides, News, & Discussion] dlads:
That'd be brilliant, thank you, appreciate that.

Primarily it's the lights coming back on, i tried to lock down the permissions but they're reset on each boot, it isn't the end of the world but it's annoying if you reboot a lot.
[HTC 10 Guides, News, & Discussion] dlads:
Made the init.d file, just seeing if it works.

Will upload once i'm in work.

EDIT: Nah didn't work mate.

Permissions in root explorer are 4 places and not 3.

so 755 comes out like 0755
[HTC 10 Guides, News, & Discussion] Black_Eyes:
You might need to place it in su.d?
[HTC 10 Guides, News, & Discussion] benj!:
This is awesome, thanks!

Quick question regarding the init.d script - I'm currently on the stock rom, rooted with Supersu, but don't have a system/su.d directory. Should this already have existed? I can't create it either due to read only file system.
[HTC 10 Guides, News, & Discussion] Chronzy:
[MENTION=6138124]Adarsh1998[/MENTION] thanks for your tip, exactly what this mod needed.

Got it to work in system/etc/init.d, had to enable all permissions: read, write, & exec for all 3 user groups: owner root, group root, and global.... 0777.

It's survived 2 reboots now and the lights are staying off. I might try to scale back the permissions one by one... don't know if there is any danger to leaving all off those permissions enabled.

Thank you both for the info, this is something I wanted to do since I bought the phone (on other devices as well) because i'm used to the Samsung (also older HTC) setup. The no lights looks so slick and the button swap feels perfect. Thanks again!
[HTC 10 Guides, News, & Discussion] dlads:
Thank you.

Flashable zip on the way, thanks to [MENTION=6138124]Adarsh1998[/MENTION] :) Good times
[HTC 10 Guides, News, & Discussion] Genetic517:
This worked perfectly. Thanks!
[HTC 10 Guides, News, & Discussion] dlads:
I'm rooted so I'm not sure why, and the init.d folder was present. Try it yourself. Doesn't work.
[HTC 10 Guides, News, & Discussion] Adarsh1998:
Install busybox
[HTC 10 Guides, News, & Discussion] dlads:
I shall. Cheers
[HTC 10 Guides, News, & Discussion] Chronzy:
Got flashable zips working using the init.d method.

Confirmed working after dirty flashing Lee R86. Any testers interested in confirming?

ButtonSwapLights0% - Swaps back & recents, kills button backlight

ButtonsDefaultLights0% - Default button order, kills button backlight

ButtonsDefaultLights50% - Default button order, backlight brightness 50%

ButtonsDefaultLights100% - back to normal

Probably works on ICE, don't know about Viper, nandroid and see.

For reference, I'm

S-off

decrypted

system-based root

Lee R86
[HTC 10 Guides, News, & Discussion] dlads:
Thank you very much for this. [emoji106]
[HTC 10 Guides, News, & Discussion] Chronzy:
Your welcome, feel free to add it to the OP. Assuming its working for everyone.
[HTC 10 Guides, News, & Discussion] dlads:
Will do mate, once work dies down today, I'll add it. I've tested it myself and it's working as I'd have hoped..

I was going to get around to it at some point just hadn't had the time, but this is great. Cheers [emoji106]
[HTC 10 Guides, News, & Discussion] dlads:
OP updated.

Cheers.
[HTC 10 Guides, News, & Discussion] dj_chapz:
[MENTION=2880355]dladz[/MENTION] I would like to mention a really cool thing that would be nice if you could add it to the first post.

First of all, you can enable on-screen keys by simply adding a line to build.prop:

qemu.hw.mainkeys=0

And after that, it doesn't really make sense to have double keys, so using your method you can then easily assign other actions to capacitive keys.

My setup is now having the on-screen keys displayed, back button is now play/pause (MEDIA_PLAY_PAUSE) and recents key as camera (CAMERA).

Note that camera is activated on long press, so tapping the button assigned as a camera key won't do anything.

Since camera and media keys work, so should all of the keys from here, just type the string

after

KEYCODE_

so for ex. KEYCODE_CALCULATOR should be only CALCULATOR in cypress-cap-sensor.kl

EDIT: It seems that camera freezes when taking pictures after this mod... So for now don't use camera as a shortcut key.

And of course, reboot.

Cheers and happy modding! :)
[HTC 10 Guides, News, & Discussion] dlads:
Cheers mate..

I actually only wanted to swap out the keys then I had the dilemma of the lights and it looking odd, I think if you have a nav bar then yea its a good idea to make use of the other keys, personally I don't use the nav bar so it's not double keys.

Might look into different assignments when I get the chance to.

Thanks for the idea [emoji6] [emoji106]
[HTC 10 Guides, News, & Discussion] Chronzy:
I like this idea.. I like the xtra screen real estate that using capacitive keys offers, but reassigning them + soft keys sounds like a nice combo... didn't think of that.

Does the play/pause you have assigned to back work with screen off? If so, is it sensitive in pocket?

Cool creative idea though, thanks for posting.
[HTC 10 Guides, News, & Discussion] dj_chapz:
The on screen keys are awesome and I'm definitely keeping them.

Regarding the soft keys, the camera turns out not to be broken because of the key that I assigned but because some other mods I was trying out, so technically using them as camera buttons does work.

As for the media keys, the issue is that whichever media key you assign, it will start media playback (next/prev will just skip track and start playing) and the issue is that you might often press it by accident and music will start playing. Although, they do work.

Unfortunately there arent many useful predefined keys provided by the OS and for other functions we have to either wait for custom roms, or maybe make something with IFTTT (for ex. assign NUM_LOCK to the back key and make a rule to start Chrome when num lock is pressed)
[HTC 10 Guides, News, & Discussion] j to the 4n:
What about:

Skip to 1:00

[YOUTUBE]A1MMa0oaU_g&feature=youtu.be&t=59[/YOUTUBE]

(-;
[HTC 10 Guides, News, & Discussion] Andrew Lin:
To switch back and menu key go to find keylayout folder somewhere in system. Find the file generic and swap back and menu. ( just edit the file). reboot
[HTC 10 Guides, News, & Discussion] dlads:
If this phone didn't have buttons already then I'd use what you've just posted..

Personally I'd prefer to leave it without as we do have buttons, nice little mod though.
[HTC 10 Guides, News, & Discussion] hovercraftdriver:
So this doesn't work with Verizon stock rooted rom, the file exists after flashing the swapbuttons.zip and has the correct values; any ideas?
[HTC 10 Guides, News, & Discussion] Behold_this:
Stock Verizon ROM doesn't have init.d support.
[HTC 10 Guides, News, & Discussion] dlads:
OK when I flash this now on viper this doesn't do the lights.. Any ideas..
[HTC 10 Guides, News, & Discussion] KimUyLong:
The backlight only off when you set it to 0 by yourself. And it return to 255 every time your reset the phone. Sry for my bad English.
[HTC 10 Guides, News, & Discussion] benj!:
Just updated to 1.90.401.3 and flashed MaximusHD, plus the swap buttons and lights 0 zip, and the lights are also not disabled any more here. Buttons still swapped, though.
[HTC 10 Guides, News, & Discussion] dlads:
Just do it manually until at can get it to stick.
[HTC 10 Guides, News, & Discussion] larry_walker:
i used the quickedit method to disable the button lights and it reverts to 255 upon reboots. i'm running current stock rooted without s-off. is s-off required for this to stick or am i missing something?
[HTC 10 Guides, News, & Discussion] dlads:
You need to change permission afterwards mate.. Something changed into the new builds.

S-off doesn't matter the fact that you can edit that file means you have root access so you're good.

If you're in viper then they have a switch for the lights
[HTC 10 Guides, News, & Discussion] larry_walker:
i'm assuming you mean changing the read/write/execute permissions of the max_brightness file with something like root explorer? i've been out of the game for a long time, first phone that i'm jumping back into stuff like this. any help would be appreciated.
[HTC 10 Guides, News, & Discussion] VR32:
hey all, this is great! this is a top mod for me, also coming from the Galaxy phones, with easy one-handed use, back to kill, no lights, perfect. installed on Ressurection Remix via zip flash, a couple reboots and the settings persist. awesome. thanks to all of you.
[HTC 10 Guides, News, & Discussion] dlads:
Very welcome mate, I'm also using this on rr, you can flash this whilst you flash the rom too, tested and working.
[HTC 10 Guides, News, & Discussion] dlads:
Tested working with Nougat on both cm and sense based roms.
[HTC 10 Guides, News, & Discussion] Tirofog:
I'm unable to access the hub to get the button swap mod, so I flashed this one.. thing is the swap works but strangely the button icons didn't change i.e. back button is now on the right but with the recents icon and vice versa.. has something changed in later builds?
[HTC 10 Guides, News, & Discussion] dlads:
I have no idea mate, I havent had that phone since the oneplus 5 launched. Cant help mate.

If you're running a custom ROM ie: Venom, then this mod is built into it, other than that I'm not sure.
[HTC 10 Guides, News, & Discussion] Tirofog:
Thanks.. I'm on Venom, the mod is available in the hub but I can't access that as I'm not receiving the confirmation email.. possibly because Jan has stopped :(
[HTC 10 Guides, News, & Discussion] dlads:
Ah that sucks, what about editing the files themselves, I've written what is edited in the OP, if you grab the application quickedit, it gives the ability to change them, then just make sure that that file is write protected and it'll remain that way after boot.

I'd say revert it prior to editing just incase and keep a back up.

Failing that if the Rom isn't working as expected, someone from Team Venom should help, they're a helpful bunch usually ;)

Jan is usually pretty forthcoming with help, might give you a bit of attitude but that's just his way [MENTION=4905624]j to the 4n[/MENTION] ;)]

PS: Manual Method

Download a text editor capable of altering system files, i personally used QuickEdit which is free in the play store.

Once that's installed

To disable the back light go here with a text editor.

/sys/class/leds/button-backlight/max_brightness change the number in here which will be 255 to 0.

This will switch off the lights immediately.

If you'd like to swap out the buttons so that back is recent and recent is back,.

Go to cypress-cap-sensor.kl which is in

system/user/keylayout/cypress-cap-sensor.kl

and find then simply reverse the text from the following two lines (there's only two in the file anyway)
[HTC 10 Guides, News, & Discussion] j to the 4n:
pm me with your mail you registered.
[HTC 10 Guides, News, & Discussion] dlads:
See, he might support Dortmund, but he's still a legend.

;)

how are you lad ? it's been a while. What phone are you rocking at the moment ?

How are you finding it ?

I've seen a few cracks in the oneplus 5 camera is missing OIS, I just couldn't do the glass shiney back, far too different ?

ps: thanks for helping this guy..
[HTC 10 Guides, News, & Discussion] Tirofog:
Thanks, [MENTION=4637027]Black-FR[/MENTION] got it sorted for me..
[HTC 10 Guides, News, & Discussion] alchemic:
Hello,I am new at all this,how to find that folders? Thank you VERYYY MUCH

Hello,I am new at all this,how to find that folders? Thank you VERYYY MUCH
[HTC 10 Guides, News, & Discussion] dlads:
Wow this is an old thread.

So the folder path is in the OP.

I have no idea if this will still work or if the file path is even the same..

But the path is in the OP mate.. you will need root access and a root explorer to view and edit it..also listed in the OP.

So first I'd say use root explorer or similar which is essentially a file explorer like windows explorer.

To edit the file use a text editor, the one I used at the time was quickedit.

Give it a shot, personally I don't have the phone anymore so I cannot clarify, I've had several phone since then.

Good luck, let me know if you get stuck, I'll help where I can.
[HTC 10 Guides, News, & Discussion] alchemic:
Need help!

Hello friend,can you please assist me a little bit more,I cand find that folder on my phone,I looked everywhere,so please,be kind and tell me how to find /sys/class/leds/button-backlight/max_brightness

Thank you sooo much in advance!
[HTC 10 Guides, News, & Discussion] alchemic:
About help

First of all,thank you for a fast response! I use total commander which has all abilities,but I cant find that folder,I am new at this world,some things you mentioned as you are supposed us to know it,I dont understand at all,a when I go to browse I get this for start,pictures are in attach So pplease mate if you can assist me just for this! Thanks A LOT MATE!!!
[HTC 10 Guides, News, & Discussion] dlads:
Are you rooted? You can't do this unless you are, you'll need a root browser.

Never used total commander but you'll need to be in the root directory which is the lowest level you'll find from a file browser.

I used root explorer, but the choice is yours.

Example, when I open up for explorer I keep pressing up a level and then it goes back to what storage I want then up again and it's at root level, then the folders required are shown.

I don't have the device any longer, nor do I have root to test.

It's assumed you have root yes but not much else.

Ps use the thanks button :good:
[Tilt, TyTN II, MDA Vario III General] copualt3:
hi, i just got the att tilt and i noticed when i first powered it up, the screen/icons has bleeding/smearing of the color. i reset it, but it's still there. has this happen to anyone's kaiser/tilt? is mine a defective unit? which i think it is, but would like to hear other's opinion.
[Tilt, TyTN II, MDA Vario III General] QLtnpapi:
Looks Like Its A Permament Screen Damage....If U Just bought it might as well take it back if not :(
[Tilt, TyTN II, MDA Vario III General] copualt3:
thanks for the confirmation. i'll return it for another one.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] H-J-Simpson:
Hello,

Please, help

I flash my HDX8.9 3rd and follow this instruction http://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931

I'm Happy. But i wanted CM13 on HDX8.9 to this instruction http://xdaforums.com/kindle-fire-hdx/orig-development/rom-cm-13-kindle-hdx-2015-11-29-t3259732

but for that you need an unlocked bootloader:confused:

So i followed the instruction http://xdaforums.com/showpost.php?p=62918978&postcount=4 to update my bootloader :eek:

Now my hdx8.9 is died,. if press the power button no rection

if press the power button and + or - no reaction. if i connect the charging cable, no reaction :(:crying:

Is there someone who can help me :angel:

best regards from saxony :o
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Your device is likely bricked with no possible recovery short of replacing boards. Sounds like you tried to roll back FireOS v4 to a version below v3.2.8. Simply attempting to unlock the bootloader would not disable the device (nor would it work). Sorry for your loss.
[HTC 10 Guides, News, & Discussion] devsk:
I was hoping to have a kernel dev take a look and help resolve this issue. Wifi is a real issue for many folks on HTC 10. And many don't even realize that they have a problem because it mostly works, and battery drain can be attributed to other things and won't show in any of the wakelocks.

If any of you is feeling like you have the perfect wifi, post the output of the following from your adb shell, after turning wifi off, on and letting it sit for 30 seconds, and we shall see...:)

dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc

Make sure you run 'adb shell' and then 'su' and then type the commands. And include the output of all commands.

Its a challenge!!
[HTC 10 Guides, News, & Discussion] Allesa:
Definitely having worse idle drain on WiFi than LTE.. Any help would be appreciated
[HTC 10 Guides, News, & Discussion] devsk:
On all other phones I have, its the other way: I get better battery with wifi on than LTE on. LTE usage eats battery worse than a stable wifi connection. So, we have a lot of scope on improving battery life on this device. Only if people cooperate. I need that debug to see how many people who think they have perfect wifi and great battery life actually have issues or no issues in the kernel driver.

C'mon, cutting pasting those 3 commands is not going to take a whole of time!! Give me the data. Once I find few people who don't have the kernel level issue, I am going to need their help in resolving this kernel issue for the rest of us.