yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Matt_85:
i think that atmel users would find it useful ,ability to choose is always welcome IMHO , unfortunately i have synaptic :crying:

have you seen my post number 922 what do you think about it?

@thachtunganh r2a beta version rocks :D very stable and responsibe i also noticed lesser battery drain than r2 ;)

thank you all for hard work :angel:
[Desire HD Android Development] nunoslv:
Touchscreen not responding

Just installed this Kernel and the touchscreen doesn't respond, not even to imput the pin code.
[Desire HD Android Development] thachtunganh:
What version did you install?
[Desire HD Android Development] nunoslv:
Advanced sense R2a

---------- Post added at 06:36 PM ---------- Previous post was at 06:30 PM ----------

Memoved the batery and restarted, it came back to live, I'm going to give it a try.

I'm looking for a 2wcr Kernel for Viper 2.1.3, you think this is the one?
[Desire HD Android Development] salman45:
I tried ur kernel but tap2wake n s2w both not worked with ur kernel . i have atmel & r2w is working .
[Desire HD Android Development] banana4444:
What is r2w?

s2w in tweakos's kernel is only for synaptics
[Desire HD Android Development] rustin921:
Is the lower Auto Brightness going to be fixed?
[Desire HD Android Development] tweakos:
yes,I saw it ,but I need to try it and see if it work.

thachtunganh, what touchscreen do you have ?.
[Desire HD Android Development] thachtunganh:
That isn't a kernel bug...

I have the atmel touchscreen
[Desire HD Android Development] tweakos:
this is good :), tomorrow I'll inject tt2wake code into atmel driver and you can test it. question: s2w with backlight(s2wswitch=2 ) not working ?
[Desire HD Android Development] thachtunganh:
Yes....
[Desire HD Android Development] radashin:
Одг: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

Yup, that's the one. ;)

Felix Baumgartner in the air, on the tennis court Novak Djokovic NOLE - KING!
[Desire HD Android Development] AtomosVE:
it looks kernel doesn't have new undervolting code yet, could you tell us about that?

recently, I tested new voltage, passed each freq on more than 7 hours(1 with 5 min of deep sleep+6+?) stability/stress test, still have random reboot issue.

DO NOT USE VOLTAGES BELOW 5 RANDOM FREEZE AND REBOOT FOUND (other than two, I don't know what frequency had problem)

though every Desire HD has unique microchip, even if table below worked on my device, might yours won't. keep this in mind before OC/UV.

149760 750
245760 750[I] (known freeze), more voltage-775[/I]
368640 750
460800 875 [I](known freeze), more volatge-900[/I]
576000 875
652800 875
768000 875
806400 925

Did I wrong testing new voltages?

in short
[Desire HD Android Development] thachtunganh:
Yes, but i meant i will add a new method for undervolting.
[Desire HD Android Development] AtomosVE:
I understood. not new table, new method for undervolting.

if possible, I like to do undervolt screen(major battery drain), BT, GPS, etc. later

after kernel got fixed synaptics touch, still won't work if rebooted with adb running.

pull off usb while booting-white htc to lockscreen- helped me. it booted up and touch works, then you can plug the usb.
[Desire HD Android Development] tweakos:
I implemented TapTap2Wake feature to the atmel.i send you pm with driver.it must work (it works perfect on synaptics,before sleep of course), so compile it and test :) waiting your reports.
[Desire HD Android Development] tweakos:
TapTap2Wake kernel atmel users

thachtunganh right now on aosp rom,so he can`t test it.ok.here is the kernel for atmel users.test it and report.

TapTap2Wake- 2 fast tap on the screen to wake, lock - sweep2lock. - enabled by default,so you don`t need to enable it.if you are on the viper rom check that is settings is set to "enabled with backlight" - i know the name is not true,because this feature is new.

EDIT: Kernel not booting, removed.
[Desire HD Android Development] hatnaf:
Can or not possbile to port this Awesome feature to AOSP rom :D
[Desire HD Android Development] tweakos:
i`am not sure,but i think yes ,looks like the drivers are same,
[Desire HD Android Development] salman45:
IlRe: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

With Kangbang kernel ?
[Desire HD Android Development] tweakos:
yes,but it does not matter
[Desire HD Android Development] hatnaf:
Can you do it, please :p
[Desire HD Android Development] tweakos:
somebody can tell me tt2wake is work or not,I see downloads but nobody's report....
[Desire HD Android Development] thachtunganh:
It is possible to add this feature to all kernel.
[Desire HD Android Development] salman45:
not working .. after flashing your kernel ... Reboot ... stuck to a black screen .

Rom ViperDhd

Atmel touch.
[Desire HD Android Development] tweakos:
very strange....do you have bootanimation ? or it stuck before
[Desire HD Android Development] salman45:
No boot animation just black screen.
[Desire HD Android Development] thachtunganh:
This problem should be caused by led driver.
[Desire HD Android Development] turko9999:
Ynt: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

Im sorry, i lost this topic, where can i found taptap2wake and sweep2lock kernel for synaptic?

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Desire HD Android Development] janarp:
If I get it correctly ...then taptap2wake is for atmel right now... Maybe I missed something I'm not sure
[Desire HD Android Development] tweakos:
removed leds unused functions,kernel is booting now,but i can`t chek work TapTap2wake or not,because i have synaptics touch....kernel attached.please someone test it and report...

EDIT: looks like it`s not working....kernel removed
[Desire HD Android Development] hacktrix2006:
Will backup my CM10.1 install and reinstall Sense 4.1 rom and test for you.
[Desire HD Android Development] tweakos:
thanx :)
[Desire HD Android Development] hacktrix2006:
TweakOS mate nothing is working at all with your kernel touchscreen is totally dead also captive buttons are the same.
[Desire HD Android Development] tweakos:
are you sure you have atmel touch ?

because looks like in your log:

[ 5.678131] synaptics_ts_probe: panel_version: 108

[ 5.680603] max_x: 494, max_y: 7F8

[ 5.680725] ts->raw_ref: 273, ts->raw_base: 1543

[ 5.682922] synaptics_ts_probe: max_x 1172, max_y 2040

[ 5.683044] input_set_abs_params: mix_x 0, max_x 1172, min_y 0, max_y 1900

[ 5.683593] input: synaptics-rmi-touchscreen as /devices/virtual/input/input1

and

[ 5.906433] No Atmel chip inside

you have synaptic
[Desire HD Android Development] hacktrix2006:
My bad i thought it was for synapics. Stupid me. Goes into a corner with a the Big D hat on.

Sorry mate.
[Desire HD Android Development] salman45:
TT2W not working.

S2w causing reboot.
[Desire HD Android Development] tweakos:
damn it.it is hard to try something without subject(touch).i will try later.
[Desire HD Android Development] tweakos:
i think i know why it is not working.looks like it was works only with backlight.so i removed some code.try this one kernel,please.
[Desire HD Android Development] yunaygul:
When the USB OTG?
[Desire HD Android Development] salman45:
Now TT2W is working :)

It is a great feature with pattern lock .
[Desire HD Android Development] tweakos:
just as i thought. :)
[Desire HD Android Development] salman45:
Now add this feature to kanbang kernel plz :p

It is a new feature am i right ?
[Desire HD Android Development] tweakos:
yes.you are right,It's new feature.
[Desire HD Android Development] domanscy:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

Im on synaptic..can i use last kernel?now im on 3063 of your kernel and s2l works..

Wysyłane z mojego HTC Desire HD za pomocą Tapatalk 2
[Desire HD Android Development] salman45:
Thanks a lot for making my DHD more special.
[Desire HD Android Development] tweakos:
this version is for atmel users only.
[Desire HD Android Development] janarp:
Calm down dude... Let he finish one thing first... I'm sure u get ur USB OTG... ;)
[Desire HD Android Development] blackbuffalo:
What's changed in new version,p2pjack?

Merry christmas and happy new year to p2pjack and your family!!!!

---------- Post added at 12:37 PM ---------- Previous post was at 12:22 PM ----------

V0.3.1 not V0.3.3?
[Desire HD Android Development] p2pjack:
v 0.3.1 was just a change to board_spade.c to do with headset added some missing lines but made no difference so changed it back :)
[Desire HD Android Development] htdu87:
sys/module is right? I see many folder so i copy to module folder or child folder? Thank
[Desire HD Android Development] thachtunganh:
Merry Christmas Jack :D.
[Desire HD Android Development] p2pjack:
Merry Christmas to you thachtunganh :)

BeastMode 1.5 MOD V0.3 3.0.57
[Desire HD Android Development] boonkeat8:
Merry Christmas Jack & all XDA friends . Ho ho ho
[Desire HD Android Development] thachtunganh:
Thanks!

Oh, another thing Jack, can i use your kernel source and build my own? Also i would like to push it to my Github too :D
[Desire HD Android Development] p2pjack:
That's fine with me :) make sure you checkout the wip branch as it has the latest changes

BeastMode 1.5 MOD V0.3.3
[Desire HD Android Development] thachtunganh:
Thank you again, i think that i can help you a bit with kernel :highfive:.

Look into this kernel source, this can help you with Sweep2wake: https://github.com/SyNtheticNightmar3/htc-kernel-msm7x30
[Desire HD Android Development] p2pjack:
Can someone with s-on try this and let know if it works please :)

BeastMode 1.5 MOD V0.3.3
[Desire HD Android Development] p2pjack:
That for that :)

BeastMode 1.5 MOD V0.3.3
[Desire HD Android Development] zla.mas:
Why since v0.3 everytime I get system FC :( - even with clear cache & dalvik ?

Viper 1.2.3
[Desire HD Android Development] coloured_chalk:
Hello. Merry Christmas :)

So i have one trouble with fresh kernel version - V0.3.3

I'm on Sense 3.6

Smartphone hangs at bootlogo... adb logcat says :

PRE: So killing AudioSystem helps a lot :

melky@colch> adb shell 'su -c "kill 1568"'
[Desire HD Android Development] soleil10:
Same issue with 0.3. But ok with 0.3.1.
[Desire HD Android Development] thachtunganh:
Pushed Beastmode-1.5 to my Github: https://github.com/thachtunganh/beastmode-1.5
[Desire HD Android Development] p2pjack:
uploaded the wrong file have now changed the links can you try again and report back please :)
[Desire HD Android Development] mygamers:
I really want s2w

And i hope you find a way to make s2w work on kernel

And merry chrismas jack

Good luck dud
[Desire HD Android Development] alaci:
With 0.3.3 I get a boot loop (5-6 times). I saw when the UI was loaded, WIFI was not working and the phone restarts immediately. But after many restart working fine! :confused: Interesting!

Sabsa Prime v11

(Sorry for my poor english!)
[Desire HD Android Development] thachtunganh:
@p2pjack: Just implemented 2-way call recording to the kernel. Checkout my Github.
[Desire HD Android Development] rikusuicide:
i still have the battery jumping bug :/
[Desire HD Android Development] thachtunganh:
Keep calm and stop spamming.

It will come when we have time for it. Currently, i'm on JellyTime R7.

I really miss Sense 4.1 :(
[Desire HD Android Development] janarp:
LOL then come back to sense 4.1... we miss u too..=)
[Desire HD Android Development] 730000229:
I m on tt2w with synaptic. My phone wakes up when phone is in my pocket(facing down) and walking.
[Desire HD Android Development] turko9999:
Ynt: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

Where are the synaptic tt2w link?

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Desire HD Android Development] banana4444:
there is no tt2w for synaptics.
[Desire HD Android Development] turko9999:
Ynt: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

I know but he says, im with tt2w for synaptics.

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Desire HD Android Development] tweakos:
There is NO tt2wake for synaptics,because it`s work uncorrectly.i am still trying to find the best way for synaptics, but still no luck atm (all works but not how i've expected).so...stay tuned :)
[Desire HD Android Development] rustin921:
Works great thanks :D
[Desire HD Android Development] 730000229:
My bad, I am on s2w ( anywhere from screen)
[Desire HD Android Development] thachtunganh:
Good morning!

On this Saturday, i will come back to Sense 4.1 ROM, i will try Sabsa Prime ROM. And at this weekend, i will rewrite A.S.K, base on Virtuous Kernel.

That's all!

Have a good day!
[Desire HD Android Development] hatnaf:
Does it include sweep2wake or taptap 2 wake for synaptic driver :p ?
[Desire HD Android Development] banana4444:
S2W for synaptics written by tweakos would work great if you would set deep sleep to activate immediately after screen off when not charging
[Desire HD Android Development] AndyFox2011:
That should be possible, better wait for tweakos to look into iit! :)
[Desire HD Android Development] salman45:
Hello tweakos I am using your kernel and want to tell you it is more battery friendly . Tap to wake is working and today I get to know sweep to sleep from search to home key is working . It is giving awesome battery timing.
[Desire HD Android Development] thachtunganh:
I don't have his source code, so i can't add anything. And He is still working on it, he will share his work after he finish it.
[Desire HD Android Development] OFWGKTADGAF:
will htcdev bootloader unlock suffice as s-off?
[Desire HD Android Development] hatnaf:
Can u make a kernel with sweep2wake for AOSP, it`s very useful if it was real :D
[Desire HD Android Development] ziege:
with htcdev you can only get S-ON
[Desire HD Android Development] banana4444:
tweakos, do you know how to do this?

edit: #1000 ;)
[Desire HD Android Development] tweakos:
what do you mean,I don't get it.
[Desire HD Android Development] banana4444:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

When phone is in deep sleep (you can check when it is in cpu spy) s2w works fine. I want to set enabling deep sleep mode immediately after powering screen off (only when I use phone on battery, not charging). Do you understand now?
[Desire HD Android Development] tweakos:
edit:

when phone is in sleep mode,the s2w not working properly on synaptics (how do you check "when in deep sleep it work perfect" ). the main s2w func it is just button input event,but the problem is when phone in sleep,the whole i2c system goto sleep sideways, No irq!!! but the irq for touch is still enabled, and when you tap on touch i2c breaks irq,and the algorithm is broken!!
[Desire HD Android Development] banana4444:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

Yes, that's exactly what I mean.
[Desire HD Android Development] krzych:
Try Blackout's work
[Desire HD Android Development] tweakos:
how did you check that s2w is working in deep sleep mode? you put your phone into it manually?if so how you did it?
[Desire HD Android Development] banana4444:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

No, unfortunately I don't know how to do this manually.

I reseted cpu spy, powered screen off and left my phone for some time. After about 15 minutes I tried to unlock it pressing only search button (I'm using 1st version of your kernel), but it didn't work. I unlocked phone by sweep and saw in cpu spy that it was already in deep sleep.
[Desire HD Android Development] tweakos:
well, s2w is not working properly in sleep,and that you are thinking it was work proper is not right,I already sad that you need swipe,because "press search" is not work sometime, you need to swipe for 100% work,but actually It's not real s2w,so...you just mistaken.anyway, on next week I'll return sysfs interface (that you can control s2w), I will also add some more opt. and ask to venom team. add some more opt to the tweaks (i mean s2w,tt2w,2f2w). of course for synaptics it will be not full features,but It's better then nothing....
[Desire HD Android Development] AndyFox2011:
Any news on USB OTG? ;) :D
[Desire HD Android Development] tweakos:
Well, for me this func don't need right now, i did not say "NO" , but for now that is not priority for me.

OK.i`ve done sysfs for synaptics driver and implemented 3! different function:

1 - standart s2w

2 - taptap2wake - 2 fast taps on the screen to wake (delay with taps must be <1 sec) , in sleep mode, you need to rub your screen, like alladin his jin lamp :) , or just try to sweep slow

3 - 2fingers2wake - touch your screen with 2 fingers to wake it, in sleep mode , sweep with 2 fingers in any directions

How to use (activate) features:

if you have venom rom:

in venom hub: disabled-disabled (:)) , enabled - standart s2w,enabled with backlight - taptap2wake. to activate 2fingers2wake you can:

open root explorer, go to sys\android_touch there is a file sweep2wake, open it in text editor and change the value to 3 (you can change this from 0 - disabled, 1 - standart s2w,2 - taptap2wake,3 - 2fingers2wake ) save changes and...profit.

on any other rom ,(like sabsa prime) you can use a widget, or change it mannualy with root explorer (see above).

By default (if you not use venom or any widget) it is activated to 1.if something not working make sure your settings (venom tweaks or widget or app, whatever...) is set right.

Remember - it is not full featured feature, because of the sleep problem, but i think you will find best metod for you :) ,in any way i am working for this and for you. Soon i will finish the same for atmel driver.And of course i will try to ask thorxx make changes to venom tweaks :)

Enjoy.
[Desire HD Android Development] janarp:
Thanks... Working great... Except sometimes it wake when touch only search button... Anyway... Good work

---------- Post added at 08:31 AM ---------- Previous post was at 08:25 AM ----------

I mean search button wake only right after locking device... But after waiting more few seconds s2w working like a charm
[Desire HD Android Development] banana4444:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

Connect to wifi and then power off the screen. You will always have possibility to wake phone by pressing search button while wifi is connected.

Anyway, tweakos great job!
[Desire HD Android Development] janarp:
Ok good to know... But I hope that will be fixed soon... I like that s2w feature
[Desire HD Android Development] tweakos:
Tweakos HD kernel

Done.Kernel rebuilded (also patched to .67 linux version) for atmel\synaptics.By default s2w is disabled.

for atmel is the same as synaptics with difference : for tt2w and 2f2w restriction set to buttons area.No difference between sleep\no sleep mode.

I can`t check atmel , so if someone could do it it would be great.

Edit:atmel driver checked,all is working.

Kernel attached.
[Desire HD Android Development] banana4444:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

I have no idea why, but viperDHD v2.1.4 with your kernel works little laggy. On v2.1.3 it was running fast as hell. Maybe that's caused by this new framework...

I need to flash pacha's kernel again :/
[Desire HD Android Development] tweakos:
I am on viper too and don`t have any issue on this.try latest version (atmel\synaptics) .
[Desire HD Android Development] janarp:
What settings u have with this kernel... Did u tweak governors or oc?
[Desire HD Android Development] banana4444:
Odp: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

I don't have issues, it's just less smooth. Will try synaptics/atmel version later.
[Desire HD Android Development] tweakos:
latest version patched and "builded from scratch" :)
[Desire HD Android Development] banana4444:
touchscreen on synaptics doesn't work on this one: http://xdaforums.com/showpost.php?p=39003374&postcount=1014

This works, but it's too laggy for me on v2.1.4
[Desire HD Android Development] tweakos:
oh...I got it,there is a bug - if you reboot with cable pluged in to pc and USB debug is on,touch doesn't work,I did not fixed it yet,and this is not depends on s2w,looks like driver bug.I am on my last kernel,I also download it from site,to be sure,and refreshed- all works.
[Desire HD Android Development] Matt_85:
@tweakos

apart from the bug you've descrived just above, i've noticed a strange thing :

i'm on Blackout rom atm and have synaptics ;

your last version works good but the default value in the file is 0, and it resets to that value everytime i reboot the phone :confused:

however i think it is a far better version of s2w for synaptics with this one i've not experienced unwanted wakes ,

i'll continue testing this version ,

thank you for your hard work :D
[Desire HD Android Development] turko9999:
Ynt: [KERNEL][GPL][3.0.y]Advanced Sense Kernel - r2: update

I dont want to say that, but its open on my pocket. I think 4 finger wake is block the unwanted openings.

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Desire HD Android Development] mkdsa:
Remember - it is not full featured feature, because of the sleep problem, but i think you will find best metod for you :) ,in any way i am working for this and for you. Soon i will finish the same for atmel driver.And of course i will try to ask thorxx make changes to venom tweaks :)Enjoy.

what about sleep problem:confused:
[Desire HD Android Development] salman45:
Plz tell me how to edit . I get this error

edit : It was because of Root access. Thanks now working
[Desire HD Android Development] ucxl:
hi,can you give me the sweep2wake kernel source code? thank you
[Desire HD Android Development] ww2916269:
I think tweakos' work is still WIP and if you wanna help him, you'd better talk with him or folk his code from git :)
[Desire HD Android Development] tweakos:
Of course i will share it,it`s not a big problem, but i will do that little later (i am trying something :))
[Desire HD Android Development] thachtunganh:
Ucxl, you're still active on XDA :eek:?
[Desire HD Android Development] tweakos:
no luck...i think i can`t fix synaptics ATM....but as i promised, i share the sources.

This attach for devs only!
[Desire HD Android Development] thachtunganh:
Thank you,

A LOT!
[Desire HD Android Development] salman45:
I am using tweakos hd kernel i have atmel touch . I set tt2w by setting values to 2. But after reboot it again becomes 0.
[Desire HD Android Development] banana4444:
@thachtunganh, how's the work on r3? Any progress? What is already done, and what still to do?
[Desire HD Android Development] ucxl:
tks, I try
[Desire HD Android Development] thachtunganh:
Nothing has been done.
[Desire HD Android Development] tweakos:
it`s because by default it`s disabled in the kernel,if you using venom you can choose this in tweaks, if not - you can use my script (in attach, do not forget extract file from archive( i can`t attach script as is because of forum restriction)), inside you can change the value as you want.push this script into system/etc/init.d and fix perm.
[Desire HD Android Development] tweakos:
i notice that my charging is too slow, and i remember (maybe in this forum maybe no....it is does no matter) something like "fast charge".and i found this , so i think i need it :)

this is sad...

guys (and i hope girls :) ),maybe i should open my own kernel dev thread?what you think?
[Desire HD Android Development] Bigtnew:
Yes please! I have been searching for it for a few days haha.
[Desire HD Android Development] thachtunganh:
Fast Charge was already added.

Well, i think we don't need to open another kernel theard, we should work together to bring a better kernel for DHD.

Ofcourse, this is only my opinion... If you want to open your theard, it will great. I respect your hard work ;)
[Desire HD Android Development] tweakos:
? where ,by who?

EDIT: nevermind i just did it bymyself :)

Kernel is attached.I can not test it atm (my battery 100% right now,but looks like in kmsg i have :

<6>[ 1310.144317] fast charge on

<6>[ 1310.144348] [USB] Charging with 1800mA current

<6>[ 1310.144348] [USBH] chg_type: __WALLCHARGER CONNECT_USB => CONNECT_AC))

so i think it`s work, tests needed.

You can control fast charge by app from google play : incredicontrol

Enjoy.
[Desire HD Android Development] tweakos:
See post above.