yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Troubleshooting : Part 2

Some ROM Dev's has disabled FP Button on their ROM... Like VIPER, AEX, etc.... For those who can't get this working on their ROM. Here is the fix :

Run the following command in Terminal :

grep -rn '/system/usr/keylayout' -e '353'

(If your keycode for fp is different use that code instead of 353)

This command will list out the files that has defined FP key. All you need to do with those files is

Make sure that no files has defined FP key more than 1 time. If any files has FP key defined more than one time Delete all except one.

The line should'nt start with #

Then if there is any .kl file that named as something like uinput-fpc.kl, Delete it...
[Xiaomi Redmi 3s Guides, News, & Discussion] Aravinda_upadhya:
Thanks
[Xiaomi Redmi 3s Guides, News, & Discussion] aragon12:
not working on official AEX 4.6 :rolleyes:
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Upload Generic.kl file changed by you...
[Xiaomi Redmi 3s Guides, News, & Discussion] aragon12:
post your telegram id.. let's not spam here
[Xiaomi Redmi 3s Guides, News, & Discussion] aragon12:
here it is:
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
See the second post. Try that. And Give me Screenshot.
[Xiaomi Redmi 3s Guides, News, & Discussion] sidS6:
What to do now next. [MENTION=5899336]dinesht[/MENTION]hangavel47
[Xiaomi Redmi 3s Guides, News, & Discussion] Hemansh:
Thanks
[Xiaomi Redmi 3s Guides, News, & Discussion] Ajendra25:
Please, make something like this for Redmi Note 3(kenzo)

Good work :good:
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Your fp is working well as button... So just follow the guide... Even it didn't work.. sent me the Generic.kl file edited by you.... In WhatsApp or telegram...
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Sorry bro... I don't have the device... So I can't test it... But this guide should work for you as well... Coz this is not related to device...
[Xiaomi Redmi 3s Guides, News, & Discussion] sidS6:
Thanks ... The fp selfie is working great now. But one thing.. whenever i long press on fp.. the camera app opens up out of nowhere even when i am on other apps. How to disable this?
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Sorry... You can't for now... I'm working on seperate app which can be used without this tweak... Wait for it. :p
[Xiaomi Redmi 3s Guides, News, & Discussion] p@to:
[MENTION=6958131]dineshthangavel47[/MENTION]

I made changes in Aicp.

And not work

Sancode is 353
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Sent me generic.kl
[Xiaomi Redmi 3s Guides, News, & Discussion] Ajendra25:
Ok THANKS. I'll surely give it a try...
[Xiaomi Redmi 3s Guides, News, & Discussion] p@to:
Sent by PM
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Don't forget to take backup...
[Xiaomi Redmi 3s Guides, News, & Discussion] FrenzyR:
i tried this on Redmi note 4 mido snapdragon AOSPextn rom not working

i have attached Generic.kl with screenshot
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Your ROM Dev disabled it.... :(

See the mFlag is different for key down and up...

It should be same to work... Like mine...
[Xiaomi Redmi 3s Guides, News, & Discussion] FrenzyR:
can you tell me how to enable it
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Update : For those Who reported that this trick is not working on XXXX ROM... I found the fix.
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Yes
[Xiaomi Redmi 3s Guides, News, & Discussion] Ajendra25:
I've tried on my Redmi Note 3 Kenzo.. NOS 7.1.2 ROM

Here's a SS of KeyEvent.. Plz tell me it's supported or not??
[Xiaomi Redmi 3s Guides, News, & Discussion] Ajendra25:
I've also attached Unmodified Generic.kl

Please check it out.. & give me solution
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Yes it's supported. Use 96 instead of 353. I.e key 96 CAMER

Change this and save... Then reboot... Wipe cache... Then try...
[Xiaomi Redmi 3s Guides, News, & Discussion] Ajendra25:
Thanks for information...

I've tried 353 but not worked!

Now I'm gonna try ur method:good:

Should I put # before key 96, right ??
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Nope... If you put # before a line... It means that line is shouldn't work.... So don't put #
[Xiaomi Redmi 3s Guides, News, & Discussion] Ajendra25:
Exactly I'm saying that, Key 96 is already there. So, first I've to put # key 96 (i.e: # key 96 Num_enter)

then I'll add new line

key 96 camera

Right? Please check my attachment I've uploaded in last post
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Better to replace that line...
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
How?
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Run this command in Terminal, post the output here.

grep -rn '/system/usr/keylayout' -e '353'

Note : If your key source code is something else... Replace 353 with that number.
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
This is the output from that command
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Change DPAD_CENTER to CAMERA in those 2 files
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
It doesn't work with snap cm cam and footej camera

I have changed both files
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
It's working with SnapCam and all others... only footej is not supported.

Again run that command and give me KeyEven Display app's screenshot. (See in 2nd post)
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
Here again

I think it's caused by different mFlags value, it's possible to change it?
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Which ROM..?
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
Darkness redefined
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
All hyper roms have this problem... As it's device trees are not open-source. I can't find the fix via sources. Last thing we can do is. Run that grep command in root. I.e. Run following commands in terminal emulator

su

grep -rn '/' -e '353'

This will search all files. And it will take really loooooong. :o

So redirect the output to a file then upload it here
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
Nevermind, my earphone button is broken too so i will stick with it
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Same method for fix Earphones...:)
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
Well i just got it from resurrection remix

Goto /system/usr/keylayout/

Delete file named "msm8952-sku1-snd-card_Button_Jack.kl"

Then

Add 2 lines in "Generic.kl" file from below

key 250 VOLUME_DOWN

key 251 VOLUME_UP

For FPC, you need to edit uinput-fpc.kl

Just translate my image that attached on
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
uinput-fpc.kl is not included in all roms (I know as I worked in Daniel's Aqsd sources) but it's used to disable fp button
[Xiaomi Redmi 3s Guides, News, & Discussion] 31fahmi:
Well i just figured out by myself, presume from file name that include FPC in it…
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
for those who reported this is not working in their rom.. see 3rd post
[Xiaomi Redmi 3s Guides, News, & Discussion] goatonheim:
It's work on RR Rom.... Thanks a lot
[Xiaomi Redmi 3s Guides, News, & Discussion] Akumar06:
Not working on Aex 4.6 unofficial build.
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
It's working on all ROMs. Follow all 3 posts...
[Xiaomi Redmi 3s Guides, News, & Discussion] cahyo_diegol:
Not working on dnd rom ..
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Again... It's working on every ROM... Follow all 3 posts...
[Xiaomi Redmi 3s Guides, News, & Discussion] cahyo_diegol:
whether uinput-fpc.kl file should be deleted???
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Yes.
[Xiaomi Redmi 3s Guides, News, & Discussion] cahyo_diegol:
I have removed but still does not work
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Ok make sure your key code is 353.

Run this command

grep -rn '/system/use/keylayout' -e '353'

Then show me the output...
[Xiaomi Redmi 3s Guides, News, & Discussion] cahyo_diegol:
Output
[Xiaomi Redmi 3s Guides, News, & Discussion] Devil7DK:
Ohh... Come on buddy... I told you to look at all posts... In 3rd post I mentioned to delete any line that contains 353 except in Generic.kl.

In your case

Vendor_046d_Product_b501.kl

file contains key 353. Delete that line or change DPAD_CENTER to CAMERA.

And most importantly... You didn't change DPAD_CENTER in Generic.kl which is most important in this guide... And you are reporting "not working"... How it can work when you didn't do nothing...
[Xiaomi Redmi 3s Guides, News, & Discussion] quadri0:
Anyone knows how to disable the fingerprint selfie??
[Samsung Galaxy S7 Edge Questions and Answers] Abrar123:
I request developers to make Bixby voice port from Indian S8 firmware since it released today only (23rd sept. 2017)
[Windows Mobile Development and Hacking General] vistar:
Hi is there a english tutorial or could one be made, for the porting of roms, up to now i have rom which i want from other device all rom dumped (XIP/OS) and i have the rom for my device dumped (XIP/OS), i want a hermes rom on my trinity (Practically the same)... any help would be very much appreciated. i tried to build a rom, it loaded successfully but loaded a black screen and led flashing, so had to put into bootloader and load original rom back.

Thanks peeps
[Windows Mobile Development and Hacking General] Ather:
Here u go : http://xdaforums.com/showthread.php?t=357249
[Windows Mobile Development and Hacking General] vistar:
thanks a lot my friend, what is the V and D base of the Trinity (M700)?? as that tutorial has only the Atom's V and D base noted.

cheers:D
[ZTE Axon 7 Questions & Answers] PESRMS:
I tried rooting my phone and decided to downgrade my os from 7.0.1 to 6.0.1 I downloaded and flashed a modded version of 6.0.1 and now my device is not rooted and i can't update my phone to nougat. It keeps showing the not recognizing package error what do i do?
[ZTE Axon 7 Questions & Answers] RobboW:
I haven't modded mine so just guessing but if you have twrp I expect it won't update.

Most phones need stock recovery to take an update. Not modding mine for this reason. I think Android 8 will come for A7.
[ZTE Axon 7 Questions & Answers] PESRMS:
is there a way for me to remove twrp and get stock recovery?
[ZTE Axon 7 Questions & Answers] RobboW:
Haven't looked into modding the Axon 7, mine stays standard. Have a look around the forum here, do a search. Maybe someone who knows will join in to help you.
[ZTE Axon 7 Questions & Answers] Choose an username...:
Yes there are many. You can:

-use a backup of the recovery, via axon7tool ('axon7tool -r recovery' backs up your recovery)

-flash a full stock system image through MiFlash

-flash a stock recovery zip through twrp, then reboot (there are recovery zips for the G on the download center, although there may be zips made for the U and Chinese)
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] donhis12:
My problem is that the mic no work properly whem i call i can hear anybody fine but whem i speak all they hear is static noise, also i hear anything i say on my own speaker.

I thought that it was the whole pin charger with mic piece, but i brough a nwe one and is still the same.

Any ideas?
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] IronRoo:
does the mic work properly with other apps? When did it first happen, after dropping phone, flashing new ROM, installing new app? If mic works on other apps maybe you can fix by wiping app data in apps> show system and clear data in "call management" "phone" & "phone services" (reboot might be good idea also)

Edit: there is a 2nd mic on top of phone used eg when using speaker phone, do you get same behavior?
[LeEco Le Pro3 Questions & Answers] sigjonss:
I read that this phone is CE certified but the customs here in Iceland say it isn't and will not release it to me. Am i wrong or are they? If they are wrong how can i prove it to them if it doesn't say so on the box ? Any help would be great cause otherwise they will destroy it.
[LeEco Le Pro3 Questions & Answers] Pelle_Polar:
No, it's definitely not CE-certified. No symbol at the outside of the box, no declaration of conformity in the box. No CE-icon at the sticker on the phone or on the charger/adapter. My only idea is to contact LeEco or the reseller. Maybe one of the resellers for the european market have certified their phones for the EU? I hope there is a way for you to got your phone so good luck anyway and with best regards from Sweden!
[LeEco Le Pro3 Questions & Answers] sigjonss:
Thanks

Got in touch with seller, will refund after i resend it. Too bad since this is the only Chineese phone I've seen with Icelandic language installed.
[LeEco Le Pro3 Questions & Answers] Pelle_Polar:
Sorry about that, it is really an outstanding phone. My LePro3 came with an international ROM version, but I can't find íslenska in the language settings. But there are apps who makes you able to install other languages on the most android phone models - root access provided!
[Samsung Galaxy S8+ Questions & Answers] Galaxysm:
Quick question, anyone know if these themes work on substratum for Samsung? I'm on a s8+ T-Mobile version and I would like to use some. https://play.google.com/store/apps/details?id=com.rc.status

https://play.google.com/store/apps/details?id=com.rc.navigate
[Samsung Galaxy S8+ Questions & Answers] dfogelstrom:
This is a good question as I would like to know about these both also. I currently use Swift Black and Status Bar Icons for Samsung with no problem but am not sure about the 2 in the OP.
[Samsung Galaxy S8+ Questions & Answers] Galaxysm:
Does navigate work for you? I tried those in the OP and none work.
[Samsung Galaxy S8+ Questions & Answers] dfogelstrom:
I have not tried navigate because it messes with system ui. Swift Black and Status Bar works just fine
[Samsung Galaxy S8 Guides, News, & Discussion] ashokmor007:
So now bixby is officially available in india just update all the apps and clear data of all apps related to BIXBY

[YOUTUBE]kjr5uSp-xmA[/YOUTUBE]
[Samsung Galaxy S8 Guides, News, & Discussion] thahim:
Congratulations India. Finally after a long wait you have it.
[Samsung Galaxy S8 Guides, News, & Discussion] ashokmor007:
Yeah man finally....
[Samsung Galaxy S8 Guides, News, & Discussion] thahim:
Still in U.S English or you got Hindi?
[Samsung Galaxy S8 Guides, News, & Discussion] Philipp_94:
I am on latest updates available for German non branded phones and just got English and korean. Would be a great breakthrough if there is Hindi available.
[Samsung Galaxy S8 Guides, News, & Discussion] ashokmor007:
Stil us English
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
Congratulations, now you too can see how terrible it is!

:laugh:
[Samsung Galaxy S8 Guides, News, & Discussion] ayush_01:
Can someone send the voice wake apk?
[Galaxy Note5 Q&A, Help & Troubleshooting] nongrata23:
i have SM-N920G

Hello, recently i made a stupid mistake of updating the phone software via Smart Switch, and i lost the sim ability, before was locked into another line telcel/mexico, anyway the cur the story short, i wanted to unlock my phone by internet service, and after some debuting i realized what ever file as modem, nothing changes allways is the same....

is stuck on :

AP VERSION : N920GUBS2BPH2

CSC VERSION : N920GTCE2BPF2

CP VERSION : N920GUBU2BPF1

and i did try to flash CP_N920GUBU3API1_FA.tar, and others and after flashing with odine was the same....

any solution?

Thank you
[Nexus 6P General] JoeJags:
FYI.......now no waiting......or searching.......

http://www.androidpolice.com/2017/0...utton-nexuspixel-now-always-pulls-latest-ota/
[Android General] zach@jzimm.com:
I'm looking at getting a new phone pretty soon here, my current one is an iPhone 5s and I'm not excited about it. Before that I had a Galaxy S6 Active that I really liked until it soft-bricked itself. I have some experience with Android development in Java and Xamarin. When I get a new Android phone, I want to get back into development as I really enjoyed it. Using an emulator just wasn't the same for me as I couldn't show off what I made whenever I want and what not.

Recently I've been paying attention to the newer Android releases and the LG V30 looks pretty attractive. I like pretty much everything it has to offer, I just hope it will get updates fairly quickly and for a while.

But then I realized that there might be an advantage to getting a Pixel. I would likely be getting the Pixel XL 2 if I were to go the Pixel route. I like most of what I've heard about it but it just doesn't quite beat out the V30 for me.

So, here's my question: Does the up-to-dateness of my personal phone matter much if I plan on pursuing Android development? Is it something that may be better to pursue once I have a certain amount of skill first? Hardware aside, is an Android One phone the same as a Pixel?

Thanks, ZachZ
[Android General] Ibuprophen:
Your best bet is to post your question within the following thread for further feedback on your question.

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

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Google Chromecast] kwstudz:
Chromecast audio now has multiroom support. I would like to figure out a way to add chromecast (video) to my audio group. Currently google says it's unsupported, but hoping for a work around. Like maybe have my chromecast "look" like its a chromecast audio to the app?

Any help is appreciated.

What would also be cool is if I could cast video to chromecast and audio from that video to chromecast audio. But this is a lot more difficult.
[Google Chromecast] beachbum9750:
Here is a workaround for simulating 5.1 sound with Chromecast audio. Say, for example, you want an approximation of 5.1 sound for your home theater but you don't want to have wires connecting your 2 surround speakers to your receiver. For example, you don't want the speaker wires cluttering up your living room and you don't want to run them through the attic. Here is what you can do: buy 3 Chromecast audios for about $35 each. Buy two small amps for your surround speakers. For example, the Pyle 200 amps cost around $26 each. These small amplifiers will change your surround speakers from passive to active. One Chromecast audio device should be connected to your main receiver . Attach the 2 remaining chromecast audios to your Pyle amplifiers connected to the surround speakers. Each Pyle amplifier can actually run 2 speakers, but for this example we are using one amplifier for each of the surround speakers to minimize wire clutter. Short speaker wires will need to run between each of the Pyle amplifiers and and its surround speaker These speaker wires should be attached to the appropriate terminals (left or right) of the 2 amplifiers. In the Google Home app, first add all 3 devices. Then create a speaker group that includes all 3 devices. For example, we will call the new group MySimulated5.1. Attach your laptop, tablet, or phone to your TV HDMI-in by cable. Cast the audio to the MySimulated5.1. Be sure built-in TV speakers are off so that all sound comes from your external speakers.

This system will work because you are not casting to both Chromecast and Chromecast Audio. Your video will have HDMI quality. to the extent it is supported by the source device. You can use Microsoft Dolby 5.1 test on YouTube to verify that all your speakers are working. If everything is set up correctly, your left front speaker will play audio intended for left front and left surround. Center speaker will function as usual. Right front speaker will play audio intended for right front and right surround. Everything played on right front and left front will also play on right surround and left surround speakers, respectively. The system will not be true 5.1. However, the surround speakers will reinforce lateralization of audio and improve immersion.
[HTC U11  Questions & Answers] TravisH997:
Hey all, just got my U11 yesterday and am soupin' her up with everything I can.

I can't seem to find any mention anywhere of ARISE being used on the U11. If installed, will it work? I saw something about modifications being necessary for V4A to work correctly, is that the case here?

If so, what can we do to get the pinnacle of Android audio mods working on this brilliant phone?

Using ViperU11 btw. Feel free to discuss about use with any other ROM, stock or otherwise, though.
[HTC U11  Questions & Answers] j to the 4n:
Check the VenomHUB:
[HTC U11  Questions & Answers] TravisH997:
That's V4A, yes. I currently have it installed. Are you saying this is the same as ARISE?
[JAMin, XDA Neo, S200 General] Mano_60:
Can please, some body tell me where i can find NVID wm5, i need it because my JAMin is stuck on bootscreen.

IPL 2.09

SPL 2.09

Please help
[JAMin, XDA Neo, S200 General] NIRANIK:
take this link

http://www.forum.i-mate.ru/viewtopic.php?p=8698&sid=5fd36400e327c6560a816dc9a9671d65
[JAMin, XDA Neo, S200 General] Mano_60:
thank you for the help
[Honor 8 Questions & Answers] mauri6870:
I've had this phone for a couple of weeks now and when i press the home button, it still brings up google now on tap instead of google assistant. I'm on the latest update, EMUI 5.0.1. Anyone have a solution? Thanks in advance!
[Honor 8 Questions & Answers] Saeem:
Here is a full tutorial, try it out

https://beebom.com/how-enable-google-assistant-any-android-no-root/
[Honor 8 Questions & Answers] mauri6870:
This worked, thanks! It's strange that i had to do this in the first place, as i thought assistant would already be available for everyone at this point without having to be enrolled in any beta programs
[Honor 8 Questions & Answers] Saeem:
Actually it was not available for you because maybe it's not yet released for your region. BTW you are Welcome ?
[Sony Xperia XZ Premium Questions & Answers] Lawliet918:
https://www.dxomark.com/sony-xperia-xz-premium-first-sony-tested-with-our-new-protocols/

As expected, Sony's premium flagship gets an unimpressive score of 83 from DXoMark's revamped benchmarking (now including zoom, bokeh effect, artifacts, among other testing).

While i don't agree with the score per category (especially on having a low video stabilization score; seriously, Sony's 5-axis is arguably the best in video stabilization right now) but DXoMark does raise some good and valid points on what's wrong with Xperia phones. Hope Sony camera devs read the review as well so they know what to improve on (i.e. software algorithm on superior auto, noise and texture, lowlight performance, zoom in and bokeh effect).

Having said that, still one satisfied Xperia user here. The cons don't affect me that much; unless you're a person who's really nitpicking on every small detail, the Sony Xperia XZ Premium does a good job of being a solid performer in both photo and video capture.
[Sony Xperia XZ Premium Questions & Answers] Ciro54:
Sony no paid dxomark= dxmark trolling Sony.

Apple paid Dxomark= dxomark 96 points
[Sony Xperia XZ Premium Questions & Answers] smitrovic:
Glad I don't use zoom on my XZP... Or I never even used it in my life. Truth is I cant expect from camera big as fingernail to catch photos like pro digital camera. Also every model with only one main camera will fail this test. Still I am happy with xzp camera for taking pictures, even the front camera is finally good for selfies.

https://flic.kr/s/aHsm4ZdMbV

https://flic.kr/s/aHsm4ZdMbV

https://flic.kr/s/aHsm4ZdMbV

https://flic.kr/s/aHsm4XtNwH

https://flic.kr/s/aHsm2QjnKd

https://flic.kr/s/aHsm2QjnKd

https://flic.kr/s/aHsm4AWDDW

Also we should wait for xz1 review, maybe they did some update on img processing...
[Sony Xperia XZ Premium Questions & Answers] Heinous:
Yeah, I'm not sure why this is even part of the test. If there is no actual optical zoom, what are they really testing? I see people zoom in on their smartphone cameras all the time and I wonder what the point is. Just crop the photo later. You get a better picture, and the "zoom" is effectively the same.