yashsingh1/xdaforums huggingface dataset:
[Zuk Z1 Android Development] kamall1990:
Hello

That's what I was looking for.

For some time am looking also for fix to use wired headphones with 3 buttons (Xiaomi Piston) because they work only 2 (vol up and center)

I found similar to the fix but to CM11

cm11-pistons-mikey-fix.zip

apq8064-tabla-snd-card_Button_Jack.kl

258 WAKE key VOLUME_DOWN

256 WAKE key HEADSETHOOK

257 WAKE key VOLUME_UP

Can I add these lines to this solution?

Add them to Generic.kl, or create apq8064-tabla-snd-card_Button_Jack.kl and if it will work?
[Zuk Z1 Android Development] MrColdbird:
Yes, you just add any extra mappings you need.
[Zuk Z1 Android Development] jackgar:
To be sure

So, just to be sure, Cm12.1 is not the same as COS 12.1 (Cyanogen OS). I'm on COS12.1 YOG4PAS3OH Eagleeyetom custom rooted rom, if I flash the main zip at the begining of the post, I won't lose root, will I?

Thank you very much, I was surprised to lose this capacitive options after flashing latest build.
[Zuk Z1 Android Development] lurchi17:
[MENTION=2529109]kamall1990[/MENTION] please tell if you are able to get the 3 Buttons of the xiaomis working.
[Zuk Z1 Android Development] gnam:
If I flash your mod upon Chroma Kernel what kernel's functionality will I lose?
[Zuk Z1 Android Development] crian:
All! The mod is a modified boot.img aka kernel
[Zuk Z1 Android Development] luiseteyo:
Some background here.

Spanish users have an issue with wifi reception since the first version of COS and CM. Lately, Cyanogenmod developers discovered that the bug consists in three missing spaces in lines 352, 353, 354 and 355 in

android_kernel_cyanogen_msm8974/netwireless/db.txt

, as u can check here:

Why do I tell u that? Just because CM fixed it, and now we have great wifi connection but, by flashing your mod/boot.img/kernel, we lose the fix, obviously.

We would thank you a lot if you could re-add the fix to your mod so we can use it too. We follow u closely, guys but loads of users don't usually participate due to a language limitation, but we always comment in our spanish forums that we thank u a lot your hard work and development.

Cheers.
[Zuk Z1 Android Development] gnam:
Then flashing this mod I revert kernel to the stock one?
[Zuk Z1 Android Development] crian:
[MENTION=4355924]MrColdbird[/MENTION] a updated cm kernel version would be fine. Got some strange WiFi behavior with mod that is already fixed in the latest cm kernel.
[Zuk Z1 Android Development] MrColdbird:
Not happening. The capacitive touch feature is in the kernel. Swapping it out would remove the feature entirely. I might rebase the mod on the latest ZUI kernel though which should fix the WiFi issue as well.
[Zuk Z1 Android Development] EggZenBeanz:
I get random reboots on the CM version but running fine on the COS version.
[Zuk Z1 Android Development] gamal001:
[MENTION=4355924]MrColdbird[/MENTION], why you not building ROM , I think you have experience for make it.

ResurrectionRemix and temasek the famous rom you can build for us here or creating new rom.

I hope purchase computer soon for learning how building a rom.
[Zuk Z1 Android Development] Tengo10:
Dude he is planig a bigger things.
[Zuk Z1 Android Development] MrColdbird:
Yes this mod was created to bridge the time until something bigger comes along. I do plan bigger things but I'm bound by my offline schedule / work.
[Zuk Z1 Android Development] luiseteyo:
Smells like.... mmm.... smells like kernel here?
[Zuk Z1 Android Development] mhielmadden:
Can I used this mod with Chroma kernel together?
[Zuk Z1 Android Development] Tengo10:
No, because its a modded kernel so if you flash it over the chroma kernel this feature will be lost.
[Zuk Z1 Android Development] mhielmadden:
this is work on latest CM 12.1 ?
[Zuk Z1 Android Development] Tengo10:
Yes
[Zuk Z1 Android Development] zyasin:
[MENTION=4355924]MrColdbird[/MENTION]

Thanks for your mod which works perfectly.

Is there any way to go back to original?
[Zuk Z1 Android Development] luiseteyo:
Flashing original kernel buddy!

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] AlmightyAl:
I've tried this on CM13 but it doesn't work. Phone won't boot.

I prefer the actions from this fix than the ones in Mr Coldbird's awesome unofficial CM13.
[Zuk Z1 Android Development] AlmightyAl:
Update on this for those interested.

I managed to map the button configuration I wanted through modifying fpc1020tp.kl file. Again, this was as a result of some instructions given by Mr Coldbird in another thread. He really is the man!
[Zuk Z1 Android Development] Manuel1986:
I just got my Z1 and updated it to the most recent Version of COS. I noticed the lack of the touch function when I was about to show it :D

Just flashed everything and it's working as described. I might be wrong but in the original setup of COS- the single tap was "back"? Can you describe how to edit the keys by myself?

And of course- you need a cup of coffee- let me know!;)

Edit: Cup of coffee ist already on it's way ;) Danke dir!
[Zuk Z1 Android Development] jeroencc:
****, i flashed this with flashify and now i'm in a bootloop, how do you get in recovery, becouse its vibrating all the time.

fixed it
[Zuk Z1 Android Development] nouhdi:
Sim uit

---------- Post added at 02:10 PM ---------- Previous post was at 02:09 PM ----------

Is het possible to set one of the sim off?
[Zuk Z1 Android Development] h0LLe:
what is the password to get your file? thx :)
[Zuk Z1 Android Development] tndb:
Theres no password on the undo zip package? I just tried it
[Zuk Z1 Android Development] h0LLe:
what the heck ... indeed. tried it via mobile browser and i was prompted to enter an encryption password on the mega page. now on the desktop everything is fine without a pw!

thank you :)
[Zuk Z1 Android Development] tndb:
Aahh yeah, that might happen. Sorry bout that, I should change from mega to another service since its not that suitable on mobile device :)
[Zuk Z1 Android Development] ATM01:
Anyway to wake up device like we do in unoffical CM13 by just placing the finger on fingerprint sensor without pressing it....

i mean to unlock by just touching FP sensor.??
[Zuk Z1 Android Development] Aeonxul:
This is also my question. Is there anyway to use fingerprint without having to press it first on stock COS? Just waking up the phone and unlocking by touching the home button....

Also, I could not remap capacative home keys after flashing this mod. For instance, I want my physical home button to go back on touch and not to go to home page, so I switched Back with Virtual Back according to key codes in the Generic file and flashed it again and it is still unchanged. Any idea what am I doing wrong?

Regards,
[Zuk Z1 Android Development] andypalmi:
Hi, I have cm 13 snapshot, no kernel mod or others. Can i just add the 3 lines of the 3 keys to Generic.kl or am i obliged to flash the zip file with custom kernel?
[Zuk Z1 Android Development] :
[MENTION=1848393]mrcol[/MENTION]bird this will work to unlock the device without click the FP, like in your fantastic CM-13 ROM?
[Zuk Z1 Android Development] ATM01:
No it is not working like in CM13 we have to press FP button ist ..

:rolleyes:
[Zuk Z1 Android Development] XDA-Heinz:
I second the question about the FPS, would love to unlock the phone without clicking the FPS button.
[Zuk Z1 Android Development] zmalach:
I am on COS 12.1 -YOG4PAS7DF not roted and with Cyanogen Recovery, please which file I need to flash to get home functionality back and how to flash it? Would it be possible to flash with Fastboot? Which command line I should use?
[Zuk Z1 Android Development] razers:
i have just bought this phone, i'm on COS 12.1 YOG4PAS2WM , but i dont want to update if i must lose home touch back function.

This features works on last OTA? if no, there is a solution?

Thanks
[Zuk Z1 Android Development] zmalach:
If you update, the home button capacitive Touch functionality will be from the past!

This thread is supposed to give solution to this issue but I haven't tried it yet as I am worrying about bricking my phone!
[Zuk Z1 Android Development] hainamhdd:
After flashed, sometime, my phone automatic wake up, even in my pocket. How to fix it?
[Zuk Z1 Android Development] zmalach:
Try to enable/disable "Adaptive brightness" under Settings>Display & lights
[Zuk Z1 Android Development] razers:
Hi,

is this fix working on newest update or only on YOG4PAS3OH ?

Thanks
[Zuk Z1 Android Development] Zhuang zhuang:
Does it work with CM13? Thanks
[Zuk Z1 Android Development] tmessr:
Nope :(
[Zuk Z1 Android Development] ultratip:
Mr Coldbird

could you please please make one flashable zip for CM 13 ?

or provide the steps which files to edit/replace ?

I have rooted the phone so have full access

I am on the official snapshot cm-13.0-20160418-SNAPSHOT-ZNH0EAO2NN-ham.zip

I can't stand tha hard press button

many many thanks

-Duro
[Zuk Z1 Android Development] wardiansah:
I can confirmed, with COS 12.1 build YOG4PAS7DF, works. Flash it with twrp. command to boot into twrp "fastboot -i 0x2b4c boot twrp-file-name"
[Zuk Z1 Android Development] xerox4thew1n:
Im on cm13 ZNH0EAO2NN snapshot and would love to have the home button back. Could you plz update this patch for cm13?
[Zuk Z1 Android Development] sherlok81:
It works flawless!

I am on YOG4PAS7DF stock ROM and the non-cm version works really well (The device is unlocked / rooted and also have TWRP, SuperSu installed.) No need to hard-press the home button key to wake, go to the home or to enable double-tap action. Thank you for the MOD! :) :good:

It wasn't working (tried both the variants) with the CM 13 S2 release by the way.

* Wonder why Cyanogen did not implement it by default! :confused:
[Zuk Z1 Android Development] wzsx150:
[MENTION=4355924]MrColdbird[/MENTION]

I want to compile cm12.1 with your utouch,

I have used your device code on github branch cm12.1 and chomra's kernel code to compile succuss. but my cm12.1 rom cant use utouch.

can you tell me which code files will be used to edit ???

how to edit???

thx
[Zuk Z1 Android Development] Paul Bla:
Just to be sure. So with this mod, i will have fingerprint as homebutton without pushing it and it will swap left with right button?

Will I also get fingerprint unlock without using double tap or using power button?

I'm using original 12.1. at the moment

Got my zuk yesterday, so I don't know if it was possible to use this functions in older versions of cos.

Thanks in advance!
[Zuk Z1 Android Development] micgeb:
Don`t work with CM13. Please make a update. thx
[Zuk Z1 Android Development] repsol89:
You will have fingerprint as homebutton without pushing, but left and right buttons WON'T swap.

You can make a SWIPE left on the home button for "BACK" and a SWIPE right for "RECENTS". I found this last one very useful when using the phone with one hand.

Also, you'll unlock the phone from screen-off directly with your fingerprint, without pushing any button.
[Zuk Z1 Android Development] swarimk:
I installed the zip file, works like a charm.

Everything's working smoothly, as you mentioned about unlocking the phone from screen off without pressing any button.

It's doesn't seem to be working in my case.

Do I have to do something to enable it or did I do something wrong?
[Zuk Z1 Android Development] taba4real:
Does not work with cyanomod 13 official nightlies..... Just an FYI....
[Zuk Z1 Android Development] OrdenKrieger:
Oh well.... Thats because its for cm12.1 and not cm13. If you want this feature try NucleaRom or ResurrectionRemix what is based on the official CM13 builds.
[Zuk Z1 Android Development] taba4real:
this was the reason for my post for cyanomod 13 official nightlies.....

---------- Post added at 05:36 PM ---------- Previous post was at 05:33 PM ----------

OT: How does it compare to official cm13 nightlies?
[Zuk Z1 Android Development] OrdenKrieger:
Its very simple. More features. ;)
[Zuk Z1 Android Development] taba4real:
Thank you! Will try it out....
[Zuk Z1 Android Development] micgeb:
Yes, I like OTA updates and this don't work in this ROM. What must I change for working touch features.
[Zuk Z1 Android Development] OrdenKrieger:
Build your own rom. :)
[Zuk Z1 Android Development] micgeb:
Du bist lustig. [emoji6]
[Zuk Z1 Android Development] sub078:
It work on stable cyanogen 13?
[Zuk Z1 Android Development] sachin.nwl:
hello i am using the default recovery ... can i flash it... and how to flash it using default recovery

please help...

would really appreciate your help..

and lastly thank you your hard work.. now we can get to home quickly
[Zuk Z1 Android Development] Minimilised_MR:
Hello guys, this is my new device.

I would like to know that, does this MOD works fine with the CM13 Nightlies? :)

Regards.
[Zuk Z1 Android Development] OrdenKrieger:
No. It would give you a bootloop. Try the unofficial version of cm13 or Resurrection Remix there is this mod working.
[Zuk Z1 Android Development] samurai1993:
Working great on 12.1-YOG4PAS7DF
[Zuk Z1 Android Development] GeorgesAbitbol:
Hello,

Did anyone tryed it over the last YOG4PAS9IG ?

Thanks
[Zuk Z1 Android Development] Kounjula Rahul:
Yes...it works gr8 on YOG4PAS9IG
[Zuk Z1 Android Development] GeorgesAbitbol:
Thx, I'll try this soon.
[Zuk Z1 Android Development] Larryncent:
Does this support the CM13 rom, hope that its also okay.

:o:o:o
[Zuk Z1 Android Development] jsjdxy:
ddddddddddddddddd
[Zuk Z1 Android Development] kirill3r:
Hey everyone, im sure im not alone on this, my physical button stopped working, so looking to restore the capacitive one like it originally came with.

Would any one be able to post a tutorial or quick guide (dosnt have to be in great detail) what needs to be done to turn a fresh OEM zuk z1 in to this modded version?

thanks in advance!
[Zuk Z1 Android Development] strongst:
You need to root your device and install twrp custom recovery, then follow op of this thread. And done.
[Zuk Z1 Android Development] kirill3r:
Didnt work for me, i guess i have to change the button. home tap does not work. is there any additional menus for this in the settings or it just enables it automatically?
[Zuk Z1 Android Development] strongst:
It's automatically enabled. When no fingerprint will be detected, then also no tap.
[Zuk Z1 Android Development] jam1445:
Hello!

First of all, thanks for providing this Patch.

I am on latest update which is 9IG (rooted), i had no Fingerprint Swipe functionality working before but after this patch, its working. But i have read on some forums that some users are able to unlock phone just by keeping finger on home button while screen is off (instead of pressing).

But it is not working on my set. I always have to press the home button to turn on the display and then it detects the finger. Is there any fix?

Also is there any tap or double tap on home button feature for Zuk Z1?
[Zuk Z1 Android Development] strongst:
What this patch provides is statet in op, other functions are available on other roms. Double tap home button you can see if you have double press in your hardware key settings.
[Zuk Z1 Android Development] jam1445:
Thanks man. BT what about screen unlock with screen off by just putting finger in home button. Is it possible ?
[Zuk Z1 Android Development] strongst:
I don't remember, but I thought that this was not possible, only on CM13 /CM14
[Zuk Z1 Android Development] Padigree:
Hey There,

Is There any way to restore The back function (swipe for goin back) on cm 13? Wenn i use zip flashing, i only got a bootloop..
[Zuk Z1 Android Development] strongst:
Did you read the op and headline? It is only for CM12.1! Flash nuclearom and it works with swipe back :good:
[Zuk Z1 Android Development] rowihel2012:
I cant make fingerprint working with cm 14

Or slim 7 rom
[Zuk Z1 Android Development] strongst:
Please stop posting in more threads the same issue.

This thread had nothing to do with cm14 bro...
[Zuk Z1 Android Development] satsmagic:
Read through the whole post, cudnt find an answer

I am on COS 12.1-YOG4PAS7DF with stock recovery as it came.

You have posted 2 files

"Just flash the ZIP file with TWRP on top of the Cyanogen OS 12.1 YOG4PAS3OH build.

Should you be running CM 12.1 or other CM-based ROMs, use this ZIP file instead."

Should i use the first one or the second one and can i flash it on stock recovery or do i need TWRP

Thanks
[Zuk Z1 Android Development] strongst:
As you wrote you have cos, you need to flash first file for cyanogen os. And you need twrp with unlocked bootloader.
[Zuk Z1 Android Development] QuazIqbal:
I'm on 2.3 Zui official,

On zui official home tap acts as back button and I find unproductive for me, any idea which key binding file to edit to have capacitive home bottom?

can the u touch be modified like this, Left swipe: Previous app

Right swipe: Next App

Tap: Home
[Zuk Z1 Android Development] strongst:
In op there's described how to change key mapping, but that's not for ZUI. You should ask in ZUI thread or test for yourself
[Zuk Z1 Android Development] QuazIqbal:
After few hit n trial finally met with success in enabling capacitative home button instead of as default back button in ZUI 2.3. . Two files specifically generic.kl and fpc1020tp.kl located in system /usr/keylayout are needed to be edited.

In both files simply change the attribute of key 158 from 'BACK' TO 'HOME'.

Bingo :)
[Zuk Z1 Android Development] sirgroh:
how to install? i am using cm13 nightly. can any one please guide...
[Zuk Z1 Android Development] strongst:
There's a sentence which describes what to do in the first post of this thread with the file you need. Did you see where?
[Zuk Z1 Android Development] sirgroh:
i know where it is. everyone is not genius like u. thats why need help and steps to follow

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

i am not using twrp. is there any other way to do it?
[Zuk Z1 Android Development] strongst:
If you know where the installation instructions can be found why did you ask? Nobody needs to be genius to read a sentence... And why did you not mentioned that you don't have twrp?

I only can say what in the op is statet: Just flash the zip file with TWRP

You can flash It with cm recovery for sure, but you should perform a backup of your whole rom before flashing.
[Zuk Z1 Android Development] sirgroh:
thanks but i am still confused. i followed the video on youtube to install cm13. can u please tell me flash means wipe phone. secondly i tried installing that zip file with same method but its says installation failed. steps were boot in recovery mode, apply update - select file but failed.
[Zuk Z1 Android Development] strongst:
Better to install twrp recovery first, so you can take easily backups and flash unsigned zips, as far as I know must they signed in cm recovery(please correct me if I'm wrong), maybe that's why you get the error for installation failed . Flash means only install a zip file for example. If something will be wiped, it should be written there. A android system has multiple partitions which can be touched in case of flashing something and those may be(or at least should before) wiped too, but not in general.
[Zuk Z1 Android Development] sirgroh:
installed twrp. flash zip file now my fone is stuck on boot cm logo. not booting up....
[Zuk Z1 Android Development] strongst:
Did you flashed the 2nd one for CM based roms?

Sorry, but I read back and you didn't mention if you're have official or non official cm13, cause the mod only works on non official!

Edit: And the non-official from Mr coldbird for example has this build in already, or nuclearom 6.0.1,but better to update to cm14.1, cause development for cm13 has stopped
[Zuk Z1 Android Development] sirgroh:
thanks for the help i am done with cm14.1 rom. and now i understand everything that how to go about it. just tell me one thing is there any way to add theme engine in cm14.1
[Zuk Z1 Android Development] strongst:
There's no cyanogenmod theme engine right now, as this will take some time, u can use substratum(not every theme is working) .
[Zuk Z1 Android Development] sirgroh:
thanks bro for ur kind help... :)
[Zuk Z1 Android Development] strongst:
You're welcome ;)
[Zuk Z1 Android Development] Tani2:
I couldn't make it work with my cm 14.1 unofficial, it always stucks at boot logo, tried with custom kernal and radioactive kernal
[Zuk Z1 Android Development] strongst:
Use nuclearom, it's built in. I already mentioned it some posts ago, but I guess you don't read it...
[Zuk Z1 Android Development] +∆bhijith:
Ohh... Sorry bro! I'm new here... Could you tell me where can I find the original kernel?

---------- Post added at 03:40 AM ---------- Previous post was at 03:36 AM ----------

How did you fix that?

---------- Post added at 04:02 AM ---------- Previous post was at 03:40 AM ----------

Hey! I new to this... So if you could explain on how to edit the Finger Detection thing in the file? Coz that's what I want the most.
[Zuk Z1 Android Development] ashi1810:
i have installed unlockmiui 6.0.1 will it help to restore my finger print
[Zuk Z1 Android Development] Ankit1187:
Will it work in lineage rom(14.1)
[Zuk Z1 Android Development] strongst:
Please have a look a few post above, it's asked already http://xdaforums.com/zuk-z1/development/mod-restored-fingerprint-touch-t3262388/post69949804
[Zuk Z1 Android Development] Ankit1187:
Thanks bro
[Zuk Z1 Android Development] dev.sanghani:
can you make same fingerprint mapping for 7.1.2 lineage os builds?

cause it didn't worked on lineage os roms.
[Zuk Z1 Android Development] senseijtitus:
Hi Wanted to know if it is possible to make a flashable zip like this one for Lenovo P2 for its CM14.1 & AOSP + CAF Android 7 based roms. None of them have FP gesture as well as LED Notification lite functioning.

All of us P2 users have been trying to figure out any work around for months now. I my self have been searching for a solution for FP gesture since P2 has FP in front and can be used as Capacitive navigation using FP gesture.

Stock rom has full support for this.

Single press >>>> Back

Long Press >>>> Recents

and Press on the FP Button(Which doubles as the Home button) for Home.

The Sensor used in P2 is Synaptics Natural IDarea touch FS4200 fingerprint sensor.

Lenovo has also released the Kernel Source, device Tree and Vendor Blobs for P2.

Can you help us with this?
[Zuk Z1 Android Development] sayed raza:
Hii i have my lenovo zuk z1 which comes with cyanogen 12.1 mod and android os 5.1 lollipop

its fingerprint sensor stopped working suddenly

now i want someone's help to fix this problem .....
[Zuk Z1 Android Development] strongst:
This mod had nothing to do with an error of your fp sensor. Please look at the Q&A section for possible solutions like flashing zui firmware https://xdaforums.com/devdb/project/dl/?id=27390 or other workarounds :)
[Zuk Z1 Android Development] AmeaR.:
I flashed AXE custom rom would this mod work with my custom rom
[Zuk Z1 Android Development] strongst:
Nope, only on cyanogen os. You can try the one for cyanogen mod, maybe it works on newer Android versions, but make backups before you flash :good:
[Moto G Q&A, Help & Troubleshooting] toromolo:
Hi,

I am using moto g 4g (xt 1039) with cm13-android 6.

What's the fastest compatible sd card for this phone? (at least 32GB)

What specifications should it have?

What incompatibilities exist?

Thanks