yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] tbalden:
Next thing I'm working on is

Long tap HTC-Logo button -> Screen off

Fairly possible, and convenient, when you want the logo on short tap as Menu button too, yet you don't want to push Power button for screen off.

Just holding the Logo area longer will do screen off. :)

That will pretty much sum up all the possible and convenient variations on the capactive buttons/menu button/wake topic.
[One (M7) Original Android Development] MaximN97:
Your Kernel work very well with maximus 4. My One is now perfect. Big Thx :thumbup::thumbup::thumbup:

Sent from my Maximus One Beast
[One (M7) Original Android Development] stah17:
Tried to pair my ps3-Controller with sixaxis-app with OTG but had no luck :(
[One (M7) Original Android Development] jonas2295:
Hey guys, quick question,

Can I use the latest kernel version with 1.29.401.1? Is repacking necessary?

Thanks guys.
[One (M7) Original Android Development] tbalden:
thanks for trying and reporting. Could you please give us a adb logcat when grabbed you try this?

also have you tried it more than once. Starbase64 reports that it works sometimes with his DSLR and sometimes not. thx
[One (M7) Original Android Development] tbalden:
i think you can!

Please nandroid, try and report back. :)
[One (M7) Original Android Development] jonas2295:
Will let you know :)
[One (M7) Original Android Development] yvibes:
@ tbalden sorry for bugging you about this, but did you have a go at implementing the commits for the msm_hsic_host thing?
[One (M7) Original Android Development] jonas2295:
Good news, no issue or whatever :)

Logo remap etc works good! If any crash happens I will let you know, great work mate :)
[One (M7) Original Android Development] tbalden:
yes. im testing it for the next release if its useful/helps/changes anything
[One (M7) Original Android Development] stah17:
Yes I tried it 5 times. Battery is over 30 %. Would be great if you could make sixaxis run on the HTC One :good:

Here is the Log. I hope its ok. Never made one before.
[One (M7) Original Android Development] tbalden:
htc one (m7) sense kernel 3.5:

All-In-One installer: http://d-h.st/WQy

Changelog:

- Added long press HTCLogo button for sleep (works only if you enabled a HTCLogo

function [logo2sleep or logo2menu])

- Added a short time counter for Home2Wake to avoid accidental wakes, you

will need to press the Home button slightly longer to wake the device.

(when device deepsleeps, you will need two slightly longer Home button press

to wake device!)

- Added possible msm_hsci_host wakelock fix from CAF for test purpose.

Tested, works fine, not sure if it gives or takes away, but

deepsleep works fine with it.
[One (M7) Original Android Development] maxwen:
thats not only an issue of the kernel but the BT stack

I guess HTC has still their own user-space BT stack btld?

for that reason it always worked on AOSP roms cause they

dont use btld
[One (M7) Original Android Development] tbalden:
yeah, that will be a problem again on sense. the cm-10.1 in the works by h8rift and seasoned cm hackers will be godsent :)
[One (M7) Original Android Development] yvibes:
Thank you so much, testing the msm_hsic_host thing now... Will report back at the end of the day :)
[One (M7) Original Android Development] fix-this!:
someone got a mirror for this kernel? the site is down.
[One (M7) Original Android Development] starbase64:
3.5: http://goo.gl/MEFs7
[One (M7) Original Android Development] mehdi_s82:
Thanks tbalden for quick updates. I was using 3.3 but I noticed back and home buttons are less sensitive than in stock kernel. I remember you mentioned since the source wasn't released you couldnt figure what they did in 1.29.401.13. Is this fixed in 3.5? Just wanted to make sure before I flash it :)
[One (M7) Original Android Development] M4G101:
just flashed 3.5 Works fine so far. But it seems that the long press to sleep and wake isn't working. i still can wake and send it to sleep by short pressing the htc logo.
[One (M7) Original Android Development] milestoneman:
htc as a button - how it should have been.. THANK YOU!
[One (M7) Original Android Development] maxwen:
well - I was waiting for that before even considering getting a one :D
[One (M7) Original Android Development] fix-this!:
what will it say in about/phone under kernel so i can make sure this flashed correctly?
[One (M7) Original Android Development] tbalden:
That's another thing I plan to add. Currently it's added for home2wake and logo2menu mode. Logo2wake + sleep timer is next
[One (M7) Original Android Development] tbalden:
3.4.10---sense+
[One (M7) Original Android Development] tbalden:
No. I haven't figured that out yet. If I find something surely will be in change log
[One (M7) Original Android Development] yvibes:
Links not working
[One (M7) Original Android Development] Try4Ce:
I had serious issues with receiving calls on 3.2 ... Especially when my device was hooked up to my car stereo via BT. When receiving a call, music stops playing. So far, so good. But the call isnt showing up in my cars Display. Plus the incoming call showed for like 1 second on the device and then kind of cancelled right away. Weird stuff is: the device doesnt play back a ringtone plus its only showing the number instead of the caller id. After the 1 second Call the incoming call cancels itself and doesnt even show a missed or received Call in the history. Noticed that when my wife desperately tried to Call me to pick her up and i didnt get anything. When on BT the BT connection completely crashes and i have to disable and re-enable the connection. Tried that multiple times with my wifes Nexus 4 because she didnt believe me ;) after reverting to the stock Kernel that issue vanished completely, tested the whole day. This is crucial because i dont know if i received important calls from work that time since i was on call this week. Cant even check since the missed calls only show for a second and dont even get logged. And on the other end you just get the voice message that the person to call isnt available right now. Tried multiple reboots and cache cleanings before restoring stock kernel. I am on TrickDroid 5.1.0 btw. Can anyone test if that issue is not only present here?
[One (M7) Original Android Development] tbalden:
ew :( Everything is fine here tho I'm on matching rom version for kernel.
[One (M7) Original Android Development] fielddb:
The HTC logo to menu is a bit hard to hit. Its right above the T in HTC. Is it like that on all ROMs?
[One (M7) Original Android Development] Try4Ce:
Yes since there is the touch area for that "button". To increase that u need a Hardware mod. tbalden already maximised the usage of that area.
[One (M7) Original Android Development] Tetsumi06:
Don't think so. The digitizer doesn't stretch that far. tb has worked wonders with what is available.
[One (M7) Original Android Development] fielddb:
I figured that would be the case, thanks!
[One (M7) Original Android Development] Nekromantik:
He has done a great job!!

The old method of mapping menu to back button was quite bad. Apps would mostly go back always.

I dont have too much trouble hitting it but can live with having to do it twice sometimes.

I usually hit the top of TC area.
[One (M7) Original Android Development] starbase64:
DVB-T, DAB+ possible via OTG...:D
[One (M7) Original Android Development] yvibes:
Anyone got a working mirror??
[One (M7) Original Android Development] sensationfan623:
I've flashed this on revolution 7 and the back button refuses to work every now and then for awhile. This is same for flar's kernels too
[One (M7) Original Android Development] tbalden:
No problem on stock 1.28 which I'm on. As far as I read here, there's a back button tweak in roms which might interfere?
[One (M7) Original Android Development] tehkingo:
I find it much easier to hit the logo button when I swipe down over it.
[One (M7) Original Android Development] he_stheone64:
Try a short swipe up.

Sent from my HTC ONE - powered by TrickDroid
[One (M7) Original Android Development] jagdesh:
Hey Dev

I just flashed the 3.5 over 3.3 and it's working great..

Wipe cache and dalvik before starting with aroma installer and installed the 3.5 version with htc logo wake button and sleep button

All is working great... I am trick droid rom...

Dev I have one small favor to ask if you can help..

The new firmware build from HTC has significantly lowered the speaker volume from the external boom sound speakers I don't know why the original firmware which came with the phone had very loud volume of the boom sound speakers...

Well can it be possible for you to increase the volume of the the external boom sound speakers and have a zip file or an add on which can flashed via aroma itself? This file or add on can be for people like me who want the loudness from the boom sound back.. I am sure you can tweak the audio libs file and increase the over output from the boom speakers... If you want I am willing to test that file for you as well

I will really appreciate if you can do this and I am sure there are many users like me who would like to have this mod as well...

Please can you look at this?

---------- Post added at 11:28 PM ---------- Previous post was at 11:20 PM ----------

You are right, if you have flashed the addon which makes the htc logo as the wake and sleep button like me, the best way to do it is to wake the screen by swiping down and starting from just above the t of the htc logo and to lock the screen just tap right above the t of htc logo.

Swiping down works better for the htc logo than swiping up since the normal app drawer icon cones right above it and by swiping up you hit the app drawer icon if your fingers and thumbs are big like mine...
[One (M7) Original Android Development] jaythenut:
i 2nd that
[One (M7) Original Android Development] torxx:
Why do you ask that everywhere? Especially in a kernel thread?

HTC updated the audio libs in ROM, don't understand why you ask that here and why you actually ask it everywhere, it's the way HTC thinks it's the best, maybe the too loud sound was bad for the speaker's hardware? Why don't you accept it being the way HTC made it? They have a reason updating it with an official OTA
[One (M7) Original Android Development] jagdesh:
Buddy because HTC adds and removes so many things from the updates but that has not stopped talented devs like yourself to add further features to customize rooms... HTC does not have menu button either right but that's been added, HTC does not add power shortcut by default like Sammy on their status bar but you guys manage to do that as well. Pure x loud mod is added to increase sound from headphones significantly even that's a mod which is not recommended by HTC that's why they haven't increased the headphones volume right but there is a mod for it..

All I am saying there so many features removed or left out by HTC but you guys manage to overcome and add those features and gives us a complete rom feature.

If you were to add a mod which would increase and bring back the loudness on the boom speakers it will be a choice of all users like other mods to add or not to... But to have that choice I am sure some of us would love to have that. If it gets too loud we can always turn the volume down but when it's quite there is no option to increase the volume other than the default settings

All i saying it will be a good option to have for those of us to keep and use and turn down when we don't want
[One (M7) Original Android Development] Razor2100:
If you say what you have to test their modest place myself happy to dispose :highfive:
[One (M7) Original Android Development] toolhas4degrees:
try pm-ing ZeroInfinity instead of posting this in kernel threads, he would probably help you
[One (M7) Original Android Development] tbalden:
Sense kernel 3.6 uploaded:

All-In-One Installer: http://d-h.st/uSB

Changelog:

Version 3.6 - April-27-2013

- Added long press HTCLogo sleep for HTCLogo2sleep modes too (Home2Wake/HTCLogo2Sleep and HTCLogo2wake/Sleep modes)

- For HTCLogo2sleep modes added a Long tap and Short tap variant. Long tap variants will need a long tap on HTCLogo for sleep.

- For HTCLogo2Wake (when screen is off), the size of the Logo area to tap for wake is slightly increased for easier wake (not increased when screen is on, to not interfere with keyboard)

- Added a short time counter for HTCLogo2Wake too, to avoid accidental wakes: you will need to press the logo button slightly longer to wake the device.

(when device deepsleeps, you will need two slightly longer Logo button press to wake device!)
[One (M7) Original Android Development] starbase64:
[MENTION=3088420]tbalden[/MENTION]

is this possible "long tap HTCLogo2Wake + HTCLogo2Menu and long tap HTCLogo2Sleep"?
[One (M7) Original Android Development] tbalden:
well, i've already added some measures against accidental press for HTCLogo2Wake... so you suggest to add a variant with a long tap for the logo to wake? Well, that's possible, but in deepsleep it might be difficult to wake the device, i'm afraid.

That's why i didnt try to do it in the first place...deepsleep wake needs double tapping sometimes, and i think it could be a bit frustrating to wait too much in that case...

well i'll have a look at it later, if it's usable or not in the end.
[One (M7) Original Android Development] jaythenut:
man your banging out this updates finding it hard to keep up,:p great work:)
[One (M7) Original Android Development] fix-this!:
Anybody notice you cannot get a cpu min value to stick? They both say they run at the same speeds.
[One (M7) Original Android Development] Try4Ce:
I tested ur kernel that came with the TrickDroid ROM (dunno which version it is) and encountered the same issue again with receiving calls.

- first call went through fine, no issues.

- second call showed up for a second, then I lost signal for 2-3 seconds (like the SIM card was removed), signal came back and i was reachable again. Weird is: Call wasnt registered at all in my phone book, not even as missed call or received call.

- third call showed up again, but this time without caller ID. Just the number showed.

- fourth call showed the correct caller ID again, but then the signal got lost again. therefore: no logged call.

I now went back to stock kernel and the first 4 calls I made came through like it should. Will keep an eye out if its really your kernel. Issue first appeared when I flashed your kernel v3.2 a few days ago, tho, and it vanished after restoring stock kernel. Maybe coincidence, but otherwise my phone worked great today without issues running stock kernel.

This is crucial since I need the phone for work as well. And when no calls come through with not even a notification of missed or dropped calls, it could get me into trouble...

I first thought the SIM card may be loose and due to vibration when receiving calls it may loose contact, but I tested this as well. No signal lost with longer continously vibrations, even tough ones.

Just as information:

I flashed TrickDroid 5.2.1 on top of 5.1.0 without wiping. Issue appeard on 5.1.0 with v3.2 kernel as well.

I have the latest radio on my device. Flashed the radio via the workaround since I got a branded device from o2 germany. New Radio is on my device now for quite a while and didnt encounter any issues before.
[One (M7) Original Android Development] TheUntouchable:
That did not work. But after I had installed Paragon NTFS & HFS+ from the play store it worked ;)
[One (M7) Original Android Development] toolhas4degrees:
I'm currently running 3.2 ver. of your kernel, the only issue I have is that to push the htc logo, I have to push @ the top of the t in htc, is there a way you can lower the position a bit?

(I'm only using htc to menu)
[One (M7) Original Android Development] poondog:
It has been said before that the digitalizer doesn't extend that far down the logo, only the top part is touch sensitive atm. One thing that has been suggested is that swiping up from the logo a little makes your touch more recognized than just tapping it
[One (M7) Original Android Development] vinuneuro:
Thanks tbalden, for transforming the usability of this phone (the power button placement was a quite a turn off). As I haven't yet purchased the phone, I hope you or anyone else can answer this question. While using HTCLogo2Sleep, is it possible to use the long-press Back for Menu button such as xposed mod?
[One (M7) Original Android Development] skinsfanbdh:
yes. using it now
[One (M7) Original Android Development] mettleh3d:
Um please assist. Im frozen on first page of this AROMA installer. Using TWRP.

EDIT: Oh. Just had to hold power longer. Lulz.
[One (M7) Original Android Development] tbalden:
Thanks for the detailed report! Anybody having call receiving issues?

I'm using 1.28 stock Rom that came with phone. It works ok to receive calls.

I'll try to flash a different Rom to test this later when I get the time
[One (M7) Original Android Development] deagleone:
No call issues here (in and out)

Runs great an my boss's device, did a wakeup call 10 minutes ago (both .13 base)

one'ed using Graptar's Hammer.... by the sons of Waran
[One (M7) Original Android Development] Try4Ce:
I dont know what the issue is. Running stock kernel and had like 7 incoming calls, no issues at all. Maybe its time for a Full wipe? I would love to use ur Kernel :-/
[One (M7) Original Android Development] Chainfire:
Working fine for me with DSLR Controller as well. Thanks.

Can you shed some light on the what and how of this USB whitelist ?
[One (M7) Original Android Development] tfouto:
Can you confirm it works always with DSLR Controller, or its unstable? There are people reporting that sometimes works, sometimes dont. This is the only issue for keeping buying my HTC. I work with SLR for videos, so this is a must.

BTW you are the developer of DSLR Controller, right? Have you bought an HTC One?
[One (M7) Original Android Development] DSC05:
After HTC reduces the volume in the latest base, is it maybe possible to give an option to rise the volume on kernel side? I come from s2 and there were a lot of kernel with that option.
[One (M7) Original Android Development] tbalden:
There's a white list config for OTG, and disabling it (like it was on stock kernel defconfigs of other devices) enables the usage of all USB units, not just the ones that are in the whitelist. This whitelist was not used in other kernels Htc released for other devices.
[One (M7) Original Android Development] tbalden:
ok, folks, we teamed up with n3ocort3x as teaMSeven, soon we will release the sense kernel 3.7 version in a new thread.

we introduce together a Stable (gcc-4.6 compiled, no OC/UC/VC) and a Performance version with linaro & VC,UC,OC.

expect it today or tomorrow :)
[One (M7) Original Android Development] starbase64:
teamed is always good :D
[One (M7) Original Android Development] n3ocort3x:
oh yeah... i should be at home around 20 o clock then we meet up in gtalk.

[sent from an icecold mako...ncxe'ed....soon...]
[One (M7) Original Android Development] Tetsumi06:
OC/UV not something I'm overly excited about but the extra button functionality is a godsend! Haven't had to touch the physical buttons in over 18 hours (and, as the power is also IR blaster, I'm extremely happy with that.)

LogoMenu works amazingly.

LongLogoScreenOff is brilliant

and Home2Wake is also perfect.

Thanks. Looking forward to what happens in the future.
[One (M7) Original Android Development] Chainfire:
So far, it seems to work for me with this custom kernel, if battery is near-full.

Yes, I am the developer of DSLR Controller, and yes I have bought an HTC One, mostly to personally see this problem some customers were reporting.

Be advised that I do not officially support any devices that require custom kernels or external power to use with DSLR Controller, and as such I wouldn't advise an HTC One at this time.
[One (M7) Original Android Development] tfouto:
Anyone know the reason of why such a whitelist exists?

Is the limitation of the almost full battery capacity and external power a kernel code limitation, or might be hardware? Is it possible to change the kernel, in this regard?

Is this related by anychance?

http://xdaforums.com/showpost.php?p=31733062&postcount=1
[One (M7) Original Android Development] bestofrhcp:
Does anyone know if it works on 1.27 ?
[One (M7) Original Android Development] poczynek:
Anyone getting some msm_serial kernel wakelocks not allowing phone to sleep? These aren't allowing the phone to sleep and ripping through the battery. Can't work out if it's kernel related!
[One (M7) Original Android Development] tbalden:
What exactly are you doing on your phone when this happens?

Connected to usb?

I don't get this normally
[One (M7) Original Android Development] poczynek:
No nothing differently. So this morning I put phone off charger at 7am - it's now 4.03pm Australia time. Since then I've had 7h33m of:

msm_serial_hs_brcm_tx

msm_serial_hs_dma

msm_serial_hs_brcm_rx

Which means that it's only had Deep Sleep of 41m28s - the rest is screen time plus this wakelock above.

Is it kernel related?? I can't even find out what the msm_serial is on google at all!
[One (M7) Original Android Development] n3ocort3x:
tx and rx means transmit and recieve data...brcm is the chip for bt...wifi....serial is the bus bwtween soc and chip...was wifi running all the time ? any app running that syncs constantly ? messenger... skype ? etc...

[sent from an icecold mako...ncxe'ed....soon...]
[One (M7) Original Android Development] poczynek:
Thanks for the reply. Yes nothing running at all - I have everything turned off. Have Greenified apps completely. Today wifi was on but not being used as was at work so data was being used. I had the previous version of the kernel from a week ago and all was great but after updating to latest version it got those kernel wakelocks. But it could just be my configuration. I installed another kernel at 6pm - almost 2 hours ago - and that is deep sleeping and hasn't had that wakelock in betterbatterystats. I am not sure what it is!
[One (M7) Original Android Development] maxwen:
msm_serial_hs_brcm_* is only used for BT actually

thats the serial to BT "bridge"

So was BT on or off?
[One (M7) Original Android Development] poczynek:
So sorry! Yes it was. But have had it on ever since i got the phone 3 weeks ago without those wakelocks.
[One (M7) Original Android Development] n3ocort3x:
i thought its for wifi also... :D
[One (M7) Original Android Development] tbalden:
I've tried. While it sleeps less still it sleeps
[One (M7) Original Android Development] maxwen:
correct

but enabled bt will always cause additional wakelocks - that's normal and expected
[One (M7) Original Android Development] tbalden:
indeed :D
[One (M7) Original Android Development] poczynek:
Yes but my wakelocks weren't a problem for almost 3 weeks with BT always on. Only last few days did they go out of control - and related to BT and i have no idea why!
[One (M7) Original Android Development] tbalden:
provide more data please. how long the wakelocks keep your phone awake, percentage of all system time?
[One (M7) Original Android Development] Tetsumi06:
Do we continue to follow this thread and Rom or should we move over to tracking TeamSeven? I'll be sticking to stable build rather than performance.
[One (M7) Original Android Development] tbalden:
I'll update the Stable edition in the TeamSeven thread from now on, and will post there update posts too :) This is only a conversation thread for the older versions.

I've added a link to the First post to the teaMSeven thread, where the Second post contains the Stable Edition i'll keep updated, and n3ocort3x is adding the performance stuff in the first post.
[One (M7) Original Android Development] vinuneuro:
Will this kernel work with an AT&T phone?
[One (M7) Original Android Development] tbalden:
Should work, make a backup before you try just in case