Related
hey guys!
there have been a lot of requests for this mod so i decided to post a tut on how enable it! UPTO 10 POINTS TOUCH IS ONLY SUPPORTED BY CM FIRMWARES! NOT ON SAMSUNG FIRMWARES!
our touch screen sensor is the Atmel maXTouch mXT224 which by default can track upto 10 touch points with pressure sensing. it is the same sensor used in the galaxy s and galaxy tab. as we know samsung isnt the smartest and decide to keep the limit to 3 on our devices. this basicaly tells it to track all 10 touch points. in the kernel sources-
in the file: Kernel/drivers/input/touchscreen/qt602240.h (tks dharamg3 for the correction )
change:
Code:
5277: //#define MAX_NUM_FINGER 10 // Maximum possible fingering
5278: #define MAX_USING_FINGER_NUM 5
to
Code:
#define MAX_USING_FINGER_NUM 10
this will enable 10 point touch at kernel level.
at firmware level in the sources-
Code:
froyo/services/java/com/android/server/InputDevice.java
Set max_pointers to 10.
note-
in cm firmwares 10 is enabled by default so no need to change the firmware sources. samsung firmwares limit it to 5. therefore even if kernel sources are changed, it will track 5 and ignore the rest.
this poses no harm to phone.... it was always capable of doing it.
this mod is based on the galaxy s mod-
http://forum.xda-developers.com/showthread.php?t=891030
one last thing- dont tell me its useless on such a small screen. (i know )
but u never know when it could come in handy. wont affect ur phone in any other way and no harm in leaving it enabled.
hit thanks if i helped!
UPDATE-
SCREENSHOTS ADDED- u dont know how hard it is to get all 10 fingers in and then take screenshots
also when going over 7 touch points its less glitchy when u keep ur fingers further from each other.....
Finally people will stop pestering rom developers to include 10 point multitouch
Sent from my GT-i5801 using XDA App
where can i find the drivers folder in root explorer ??
and im using cm7 a6.1 2.3.5 it would do the job right ?
bscraze said:
Finally people will stop pestering rom developers to include 10 point multitouch
Sent from my GT-i5801 using XDA App
Click to expand...
Click to collapse
yeah thought the devs would get bugged
anxdateamcool said:
where can i find the drivers folder in root explorer ??
and im using cm7 a6.1 2.3.5 it would do the job right ?
Click to expand...
Click to collapse
u cannot directly use this mod. u will need to modify the kernel sources and then compile it. this tut is mostly for devs who would like to impliment this to thier kernel.
unreal3000 said:
yeah thought the devs would get bugged
u cannot directly use this mod. u will need to modify the kernel sources and then compile it. this tut is mostly for devs who would like to impliment this to thier kernel.
Click to expand...
Click to collapse
had already tried 10 with samsung firmware, but didnt work out...so had restricted to 5 when i did it in g3mod kernel...
The path is Kernel/drivers/input/touchscreen/qt602240.c
dharamg3 said:
had already tried 10 with samsung firmware, but didnt work out...so had restricted to 5 when i did it in g3mod kernel...
The path is Kernel/drivers/input/touchscreen/qt602240.c
Click to expand...
Click to collapse
yeah...even sgs samsung firmwares only support upto 5
Nice! But how do you put all your fingers on your screen?
Humpie said:
Nice! But how do you put all your fingers on your screen?
Click to expand...
Click to collapse
Put your phone in landscape mode and put it on a table now imon thedown side put 5 fingers and on the up side 5 this should work with small hands
Sent from my GT-I5800 using Tapatalk
werker123 said:
Put your phone in landscape mode and put it on a table now imon thedown side put 5 fingers and on the up side 5 this should work with small hands
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
you are exaclty right
how can i decompile the zimage of the kernel??
Sent from my Galaxy 3 using Kyorarom Ascendency Alpha 3 at a clock of 1200MHz -> i love it!
EternalFame said:
how can i decompile the zimage of the kernel??
Sent from my Galaxy 3 using Kyorarom Ascendency Alpha 3 at a clock of 1200MHz -> i love it!
Click to expand...
Click to collapse
You can use a script, search for it and you'll find it, although for this mod you'll need the source, but you'll also need to decompile the kernel for the initramfs
whoops! building a build environment is a lot more easier than this..
anxdateamcool said:
whoops! building a build environment is a lot more easier than this..
Click to expand...
Click to collapse
if guys want i can upload a stock froyo kernel with this mod.....
but the only thing is on samsung firmwares only 5 fingers will work and on cm 6.2
wifi and some other feature wont work.....
if i get cm 6.2 sources then i can compile a kernel which will work with all cm6 feature that work on our phone.
unreal3000 said:
if guys want i can upload a stock froyo kernel with this mod.....
but the only thing is on samsung firmwares only 5 fingers will work and on cm 6.2
wifi and some other feature wont work.....
if i get cm 6.2 sources then i can compile a kernel which will work with all cm6 feature that work on our phone.
Click to expand...
Click to collapse
Since you got some programming skills maybe make a custom kernel/rom? just a suggestion
Sent from my GT-i5801 using XDA App
bscraze said:
Since you got some programming skills maybe make a custom kernel/rom? just a suggestion
Sent from my GT-i5801 using XDA App
Click to expand...
Click to collapse
i would love to but i dont realy have any skills in programing.
this is just something i figured out and managed to achieve with experimenting.
not nearly enough to make my own roms/kernels
unreal3000 said:
i would love to but i dont realy have any skills in programing.
this is just something i figured out and managed to achieve with experimenting.
not nearly enough to make my own roms/kernels
Click to expand...
Click to collapse
Well just a suggestion mayb in the future when you acquire more skills
Sent from my GT-i5801 using XDA App
screenshots added for upto 10 fingers.
updated first post.
but the screen is cluttered with the touchpoints
unreal3000 said:
screenshots added for upto 10 fingers.
updated first post.
but the screen is cluttered with the touchpoints
Click to expand...
Click to collapse
May I ask how on earth did you manage to put all the 10 fingers on screen AND take the screenshot? Do you have 3 hands or something?
moikop said:
May I ask how on earth did you manage to put all the 10 fingers on screen AND take the screenshot? Do you have 3 hands or something?
Click to expand...
Click to collapse
this is just way tooo much.....
maybe he hired someone to make screenshot...
Sent from Galaxy
Kyorarom Ascendency
A7 powered by
G3mod 2.2.2 OC
rkkoby said:
this is just way tooo much.....
maybe he hired someone to make screenshot...
Sent from Galaxy
Kyorarom Ascendency
A7 powered by
G3mod 2.2.2 OC
Click to expand...
Click to collapse
that is possible.. automatic screencapture trigger..!!
This kernel is just a personal work made public due to some user requests, it's simple and only contains latest franco.Kernel nightlies for Nexus 7 2013 (FLO/DEB).
I enabled Sweep2Wake and DoubleTap2Wake to franco.Kernel, it has a config file for you to change what features you want enabled, by default all is enabled. The config file will be auto-generated the first time you boot the kernel, and will not touch it after it has been created to keep your changes.
Config file is under: /sdcard/touchconfig/config.cfg
Init.d script that runs the config: /etc/init.d/99touchconfig
What you can configure is:
Sweep2Wake (ON/OnlySwipeToSleep/OFF)
DoubleTap2Wake (ON/OFF)
ShortSweep (ON/OFF)
If you want to do any changes to the config file you have 2 options, reboot to take effect, or run the init.d script for on-the-fly changes.
(You can use Universal Init.d app to run init.d scripts very easy)
How to flash the Kernel:
fastboot flash boot image_name
or
flash the zip in the recovery
Boot.img Download link: http://d-h.st/Nvz
ZIP package Download Link: http://d-h.st/xPk
As I could not have said it better, I will copy&paste franco FAQ.
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: This is one of the worse questions you can ask on my threads. This is a Nexus, it works on every rom you can possibly imagine.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
7. Touch Control doesn't work in rXXX release, you suckas, fix plixe!
A: I don't know who you are. I don't know what you want. If you are looking for a fix, I can tell you I don't have the solution. But what I do have are a very particular set of skills; skills I have acquired over a very long career. Skills that make me a nightmare for people like you. If you leave now, that'll be the end of it. I will not look for you, I will not pursue you. But if you don't, I will look for you, I will find you, and I ignore you.
8. My Wi-Fi is borked, doesn't turn on, haz gray bars, drains battary and killed my parrot. Fix plz."
A: This Kernel has stock Wi-Fi drivers, same as stock Kernel. The problem is YOU and YOU alone. Probably installed some wtf Kernel with some wtf Wi-Fi drivers. News flash, fix your derp and stop spamming this thread with nonsense. By the way, gray bars only means you're not connected to Google servers, but your Wi-Fi works just fine.
This work wouldn't have been possible without:
@franciscofranco for his kernel
@flar2 sweep2wake/doubltap2wake function
XDA:DevDB Information
franco.Kernel touch control nexus 7 2013, a Kernel for the Nexus 7 (2013)
Contributors
jak3z, franciscofranco, flar2
Kernel Special Features: Slide2Wake and DoubleTap2Wake
Version Information
Status: Stable
Current Stable Version: r3
Stable Release Date: 2013-09-24
Created 2013-09-25
Last Updated 2013-09-29
Reserved
**Changelog**
- 24/Sept/2013
Initial release with config options, based on franco.Kernel r3.
Is this using Francos version of s2w?
bcvictory said:
Is this using Francos version of s2w?
Click to expand...
Click to collapse
No it's using flar2 implementation with some changes.
Sorry for a possibly stupid question, does franco kernel NOT have any version of sweep to wake or double tap wake?
jak3z said:
No it's using flar2 implementation with some changes.
Click to expand...
Click to collapse
Are you using my final implementation? Some of the other kernels are using an early version: http://forum.xda-developers.com/showpost.php?p=45908864&postcount=1010
flar2 said:
Are you using my final implementation? Some of the other kernels are using an early version: http://forum.xda-developers.com/showpost.php?p=45908864&postcount=1010
Click to expand...
Click to collapse
I will check but I used your git repo on Monday to get the touchscreen and keyboard changes, I will doublecheck. Thanks for pointing it out.
@flar2 yeah I double-checked and I'm using all your commits, since I just cloned your git onto my machine and used the file from there.
kingston73 said:
Sorry for a possibly stupid question, does franco kernel NOT have any version of sweep to wake or double tap wake?
Click to expand...
Click to collapse
He didn't release anything yet to the Nexus 7 2013 and the version for the Nexus 4 is quite different of what I want, I got access to his Nexus 7 2013 double tap to wake kernel, but I can't comment on it since it's not public.
Thanks for your version.
jak3z said:
This kernel is just a personal work made public due to some user requests, it's simple and only contains latest franco.Kernel nightlies for Nexus 7 2013 (FLO/DEB).
Will this work with the Franco Kernel Update App to change voltage etc..?
Click to expand...
Click to collapse
matrix.bharath said:
jak3z said:
This kernel is just a personal work made public due to some user requests, it's simple and only contains latest franco.Kernel nightlies for Nexus 7 2013 (FLO/DEB).
Will this work with the Franco Kernel Update App to change voltage etc..?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
100% compatible.
I can't get the download link to work?
kingston73 said:
I can't get the download link to work?
Click to expand...
Click to collapse
devhost is down, google drive mirror:
https://docs.google.com/file/d/0B97gYiQSeOyna1RPS09MREVjeWc/edit?pli=1
Thanks!:good: Is it just a standard flash from recovery?
kingston73 said:
Thanks!:good: Is it just a standard flash from recovery?
Click to expand...
Click to collapse
it's a .img file, you have to flash it with fasboot flashify or create a zip
Thanks for that. Flashify works well. Loving the mod..
Sent from my Nexus 7 using xda app-developers app
Double thanks, both the kernel and the flashify info! Kernel is working well so far, from what I've read seems like this gets great battery life?
kingston73 said:
Double thanks, both the kernel and the flashify info! Kernel is working well so far, from what I've read seems like this gets great battery life?
Click to expand...
Click to collapse
I've measured the amount of battery life used by this function and it's between 40 and 47 mV drain, that means 60 hours of battery life with the device into deep sleep, sounds good to me
Really liking the kernel so far and the sweep features! have you implemented it where when the screen times out you can use the sweep functions however if you press the power button sweep functions are disabled?
Good job again on the kernel ! :thumbup:
Sent from my Nexus 4 using xda app-developers app
I lost recovery.Won't boot in to it via bootloader either...
Reinstalled via Goo...
Hello, any master help me please:
I'm using OneS
I flahed the MIUI Rom "http://forum.xda-developers.com/showthread.php?t=2754955".
but I like MOD: "knock to wake" or doubletap 2 wake :silly:. (I love MIUI rom because callrecord good work :good
Which kernel working with this ROM that help me use this MOD???
if anyone can help it would be brilliant.
Thanks:laugh:
kobk said:
Hello, any master help me please:
I'm using OneS
I flahed the MIUI Rom "http://forum.xda-developers.com/showthread.php?t=2754955".
but I like MOD: "knock to wake" or doubletap 2 wake :silly:. (I love MIUI rom because callrecord good work :good
Which kernel working with this ROM that help me use this MOD???
if anyone can help it would be brilliant.
Thanks:laugh:
Click to expand...
Click to collapse
Well MIUI is sense based so you should be able to use a sense kernel like Elemental X for doubletap 2 wake. Make a back up then try it.
Your can also try the app Knockr, but I haven't had much success with it.
Im will try, hope it work well...^^
rosswhite said:
Well MIUI is sense based so you should be able to use a sense kernel like Elemental X for doubletap 2 wake. Make a back up then try it.
Your can also try the app Knockr, but I haven't had much success with it.
Click to expand...
Click to collapse
Thanks alot :good:
You can use this :
https://play.google.com/store/apps/details?id=it.android.smartscreenonlite
So I was flashing roms and stuff, but the only issues I had with custom roms is that there was no switch to disable dt2w. I personally use dt2w, as our mido has a massive battery life. But ofc, many don't like it. So here it is. Flashable zips to both enable and disable double tap to wake. Just flash in recovery over any rom. Do not flash over miui roms, as there is already a switch.
Ps. The kernel source is out now, so a switch for dt2w will be out soon. But till then, you can use this workaround
Vidhanth said:
So I was flashing roms and stuff, but the only issues I had with custom roms is that there was no switch to disable dt2w. I personally use dt2w, as our mido has a massive battery life. But ofc, many don't like it. So here it is. Flashable zips to both enable and disable double tap to wake. Just flash in recovery over any rom. Do not flash over miui roms, as there is already a switch.
Ps. The kernel source is out now, so a switch for dt2w will be out soon. But till then, you can use this workaround
Click to expand...
Click to collapse
Hi Vidanth, nice to see you here buddy. Coming from Moto G 2014.
Looking forward to ur great work for mido as well.
@Vidhanth this broke display rotation for me
Sent from my Redmi Note 4 using Tapatalk
Does dt2w consumes more battery?
Te$la said:
Does dt2w consumes more battery?
Click to expand...
Click to collapse
Of course! Not to much, not to little
is there a switch in custom roms now? lineage os for example?
Doesnt work on nikel. project aosp x lineage rom.
It works perfectly, thank you.
Workeddddd!!!
Thank you so much. It worked flawlessly.
Excuse me, what is the DT2w?
Not working for me
magnet1215 said:
Excuse me, what is the DT2w?
Click to expand...
Click to collapse
Double tap to wake!
Kuchayhilal said:
Not working for me
Click to expand...
Click to collapse
If you are rooted, you can run this command from a root terminal
Code:
echo "0" > /proc/touchpanel/enable_dt2w
You will need to do it on each reboot (eg, via an init.d script, or perhaps with something like Kernel Adiutor).
With or without root?
Hi, does this work without root? If so would you explain in detail how to do it?
I absolutely hate double tap to wake!
Also any tests with android 8.1?
Will this also work on Android One?
(Xiaomi MI A2 Lite)
saleyman said:
Will this also work on Android One?
(Xiaomi MI A2 Lite)
Click to expand...
Click to collapse
I have the same doubt, will this work on Android one official firmware or do I need to flash a custom kernel? (Xiaomi MI A2)
Is it good for land
sorry out of topic, but how to double tap to sleep the screen?
Switch donot work in miui 11 rom...so need a zip to disable it...there is no option in kernel auditor app to disable DT2W...please help
Download The Module Of MultiFunctions From This Thread https://forum.xda-developers.com/apps/magisk/module-multifunctions-bootloop-t3933386 For Getting The Ability To Use The Function Of DT2WStatus Inverter To Invert The Default DT2W Status ([From Disabled To Enabled] Or [From Enabled To Disabled]).
P.S. The Installed/Flashed Rom/Kernel Must Support The Feature Of DT2W (DoubleTap2Wake)
So some roms have now started to include this great feature called XiaomiDoze, which pretty much adds handwave, pickup and pocket trigger to ambient display (pulse). Well since only a few roms have it, I decided to make a flashable zip out of this so that it can be used on any rom. So I extracted xiaomidoze.apk from a rom that had it built in, and made a flashable zip. Flash it in twrp and check in settings, you should see another category called "Ambient Display". It works perfectly.
You're welcome
Ps. It WILL NOT work on miui roms. It *should* work on all aosp/los based roms.
Nice!
Can ask some assistance?
Why it wont work on official LineageOS rom?
P.S. there's no additional setting to ambient display. @__ ty
so im on aicp and theres already this feature included. will this zip overwrite it or something? r the gestures and all really working? is there a way to uninstall this? thanks for the work anyways dev!??
GabrielScott said:
Can ask some assistance?
Why it wont work on official LineageOS rom?
P.S. there's no additional setting to ambient display. @__ ty
Click to expand...
Click to collapse
It will work.
zohaibahd said:
so im on aicp and theres already this feature included. will this zip overwrite it or something? r the gestures and all really working? is there a way to uninstall this? thanks for the work anyways dev!??
Click to expand...
Click to collapse
That's not Xiaomi doze. Flash it, nothing will go wrong
Vidhanth said:
That's not Xiaomi doze. Flash it, nothing will go wrong
Click to expand...
Click to collapse
oh man this is way too cool. thanks for it dev!?
Vidhanth said:
That's not Xiaomi doze. Flash it, nothing will go wrong
Click to expand...
Click to collapse
the ambient display is working even when there is no notification. there was a popup when i 1st opened the ambient display telling that doze mode will only turn on when theres a notification but it is always on. any way to disable that?
Not working on my official LineageOS 14.1 note 4 (sd). No option at all.
abhijeetm31 said:
Not working on my official LineageOS 14.1 note 4 (sd). No option at all.
Click to expand...
Click to collapse
try
custom shorcut maker from play store and fine xiami activity the open it and active .....works on zx and z5 stocks roms and linage os
Vidhanth said:
So some roms have now started to include this great feature called XiaomiDoze, which pretty much adds handwave, pickup and pocket trigger to ambient display (pulse). Well since only a few roms have it, I decided to make a flashable zip out of this so that it can be used on any rom. So here's the zip. Flash it in twrp and check in settings, you should see another category called "Ambient Display". It works perfectly.
You're welcome
Ps. It WILL NOT work on miui roms. It *should* work on all aosp/los based roms.
Click to expand...
Click to collapse
I flashed it on AOSP 6.0, but didn't find any option in settings
I flashed on AEX 4.5 its working. Thanks dev...
But on taking ph up it has a delay of 1 or 2 sec to on the screen... Is there any way to instantly wake screen.. Its handy to look time..
Not Found in Settings!!! Confirmed
abinnishihh said:
Not Found in Settings!!! Confirmed
Click to expand...
Click to collapse
i think u r looking in the wrong place.. Its in main settings.
jijoejoe123 said:
i think u r looking in the wrong place.. Its in main settings.
Click to expand...
Click to collapse
This is the right place bro! I'm on lineage os
abinnishihh said:
Not Found in Settings!!! Confirmed
Click to expand...
Click to collapse
Same issue here
It is another ambient setting in display tab. U should go up first page on setting, there is an additional ambient display. If you have installed it correctly
Lineage OS 7.1.2 on Xperia Z2, works 10/10, but I'd want the info screen one more time, I didn't get the whole message.
nice work, works like a charm at PA. wish i can change some values tho but well done!
I think the packege has some conflict with other settings, is it possible to change the package name?