yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] DSC05:
That's not the point. The changelog says it's compatible with sound control. That's why I ask. And btw HTC lowers speaker volume in latest base so much that I would like to increase it.
[One (M7) Android Development] yoplaboum:
Fast mirror : http://aideadsl.com/HTC_One_M7/Bulletproof-m7-1.6.zip

Envoyé depuis mon HTC One
[One (M7) Android Development] Soluble:
I have seen and read plenty of reviews and for me, mine isn't any louder than my iPhone. It's clearer, but it doesn't appear louder. Nowhere near what I was expecting it to sound like when I got it! Am not unhappy with the phone, I love it, but I feel the sound was oversold unless I'm doing something wrong. In saying that I ALWAYS use to accidentally put my hand over the speaker on the iPhone, dual front speakers are awesome!
[One (M7) Android Development] skinsfanbdh:
try flashing a 1.28 rom. i believe the sound got lowered with the 1.29 release which is what came on my phone. i was a little let down by the volume also expected it to be a lot louder from what i read
[One (M7) Android Development] Soluble:
I never even looked at what came on it lol. Will give it a shot!
[One (M7) Android Development] villa08:
Haello, its possible to add dualboot feature in the future??

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Android Development] ratchetjaw:
Running good on CleanRom. This phone is now awesome for me.
[One (M7) Android Development] Denpech:
flar2 Many thanks for sweep2wake
[One (M7) Android Development] andyt315:
You have ATT HTC One? Or Dev? I have ATT HTC One and using CleanRom 1.6 (included camera fixed from 1.29), it still at 1.26. Phone performed awesome with this kernel.
[One (M7) Android Development] o0rebelious0o:
Can't boot

I flashed this though CWM touch to go with RENOVATE r59 and phone wouldn't boot. Had to revert back to kernel included with ROM. Shame, i wanted to try L2M
[One (M7) Android Development] flar2:
How did you install it and what exactly happened?
[One (M7) Android Development] flar2:
I don't have faux's sound app, I just added the recommended patch. It looks like the patch exposes some sound related stuff in sysfs so the app can change it. Since faux123 is now developing for this phone, I'll wait for updates from him and fix it then.
[One (M7) Android Development] mwilky:
Congrats on rec dev mate :)

1.6 working a charm!

Seems ondemand is protected like you thought, tweaking intellidemand via init.d scripts works just as it should. Weird though in faux kernel i see more options for tweaking than in yours

Anyway keep up the top work!
[One (M7) Android Development] flar2:
Thanks!

I use an older version of intellidemand, which I really like. Faux has a new version of intellidemand that works with his intelliplug hotplugging driver.

I will have a look at ondemand sometime and see if I can open up the options more.
[One (M7) Android Development] o0rebelious0o:
Wiped Cache/Dalvik Cache. Installed RENOVATE with long press back to kill apps (As I was anticipating having L2M). Install finished successfully. Back, install Bulletproof, disabled S2W, enabled L2M. Installed. Successful. Rebooted device. Bootloader screen came up then screen went black with nothing happening. Rebooted. Same again. Rebooted back to recovery, reflashed bulletproof. Rebooted. Black screen again. Gave up, Reflashed RENOVATE and now back to using the baked in kernel with the ROM.

Would obviously have grabbed dmesg if it was booting to help out. Not sure what else I can do to help you..

EDIT: btw, my phone is International HTC One build 1.29
[One (M7) Android Development] mwilky:
Ahh thats why then, wasnt complaining just wasnt sure if you knew

Perfect time to post while im here!

You dont need to flash the kernel as it comes default with the rom, sweep2wake and logo2menu enabled by default.

There are some apps floating around that provide a nice GUI to enable/disable sweep2wake if you dont want it on.

I could always provide it as an option in aroma if you like
[One (M7) Android Development] o0rebelious0o:
Well that's embarassing

Haha well that's embarrasing... Didn't even think to check that ><.... Strange through that flashing the kernel separately was stopping it booting if thats what's cooked in anyway? Unless the zip is corrupted on copy perhaps...

Thanks anyway though
[One (M7) Android Development] mwilky:
Yeah its been included by default since 1.4 i think, flar did a great job on it so why not include it by default :)
[One (M7) Android Development] o0rebelious0o:
I only got my One rooted yesterday so still testing the waters. I was just confused in Aroma where it asks "Are you using a kernel with L2M". Hadn't realised I inadvertently was. Guess that's why the default is yes :D

The option to disable S2W would be good though.

Sorry to flar for hijacking posts in his lovely thread :angel:
[One (M7) Android Development] Eagledig:
Yeesss ! Big Thanks, perfect ! Si smooth and I realy like sweep2wake !
[One (M7) Android Development] solefero69:
I have only a question : does this kernel remove the line with 3 dots that's appearing on some apps? I thinks yes because the logo is transformed into a menu botton but i'm not 100% sure...
[One (M7) Android Development] samarain:
no, he don't remove nothing...you need the MoDaCo Toolkit.
[One (M7) Android Development] G-Bus:
Now with this new update, if I get it right, since it's based on the latest kernel source from HTC, the new camera is in there as well as better sensibility for the buttons, right?

thanks
[One (M7) Android Development] godofwar424:
Camera yes, buttons no

---------- Post added at 12:43 AM ---------- Previous post was at 12:42 AM ----------

Sorry if this is a pain but is there a possibility of adding 'Double Touch to Wake'?? I seriously miss that from my Nexus and the swiping the bottom bar is so awkward for me, as awkward as pressing the button on the top :P Somewhere in the upper region, one third from the bottom, if that's confusing I'll make a picture showing the area to be active. Don't entirely know if there has to be a specific area.

Otherwise this kernel rocks!
[One (M7) Android Development] Soluble:
I am on Optus in Australia. So phone only launched here on the 27th. Assuming it was already on 129. I have the 128 just going to finish a couple of battery tests then will flash and see if I can tell the difference. But I have been underwhelmed with the sound so far.
[One (M7) Android Development] J-Hop2o6:
This. Give the option for DT2W or T2W. Also, can you move it to the Home button instead of the Logo? Wayy too many mistakes. Home is more logical.
[One (M7) Android Development] flar2:
Double tap to wake sounds like it might be a good way to do it, as long as I can minimize accidental wakes. I think the HTC logo works pretty good for the menu, but I don't find it that useful for sleep/wake.

I don't want to have too many sleep/wake options because it will become overly complicated. Sweep2wake stays, because that's what I use.

We may have to choose between double tap to wake and logo2wake

Any thoughts?
[One (M7) Android Development] Soluble:
Sweep is working great. Double tap to wake would be great for flip covers imo.
[One (M7) Android Development] godofwar424:
Double tap to wake fits my use more. It's quite a tall phone and the power button is awkward, but the swipe to wake makes me feel like I'm going to drop the phone while holding it.

Dt2w is much more usable for me outside on the go and in general. Just my opinion though. I would happily lose sweep 2 wake to gain double tap to wake.
[One (M7) Android Development] Darealshht:
+1
[One (M7) Android Development] ratchetjaw:
Sweep2wake is the best ever. Love that feature. That and logo menu have made this phone fantastic. Only wish there was a way to stop the aggressive app reloading when mullti tasking. My tapatalk always refreshes.
[One (M7) Android Development] Itaintrite:
I don't know how you hold your phone but it's harder to press the home button with your thumb than the logo.
[One (M7) Android Development] J-Hop2o6:
I say Home DT2W. The logo doesn't work well. I actually can't get it to work anymore :( .. So please wake using the Home button. 0% failure rate (just came back from a kernel that uses the home button to wake--but it kept giving me weird slow downs. Came back to this kernel, no weird slow downs! :good:)

Put your pinky below the phone. But logo has a high failure (to register) rate. Home had 0%. So the Home button is more logical to wake with.
[One (M7) Android Development] nguyenkendy:
Is this kernel compatible with a stock, rooted Tmobile HTC One? Has anyone tried it?
[One (M7) Android Development] ali1984:
Hi,

Can you change in the kernel the charging mA rate higher to load faster the battery ?

Gesendet von meinem HTC One
[One (M7) Android Development] c5satellite2:
Flars other kernel has this feature

http://xdaforums.com/showthread.php?t=2249774
[One (M7) Android Development] Soluble:
Well... Tried the 128. Now It's amazing. I did a comparison with iPhone 5 with my phone on 128, absolutely destroyed it, put it back to 129 and iPhone is equal if not louder, the quality in the sound isn't there on the iPhone, but it almost over powers it! Anyway to get it back? I would rather stay on the latest version. CUrrently running the latest trickdroid with bulletproof kernel, everything is running perfect.
[One (M7) Android Development] mahdibassam:
Hey guys. How do I return to stock kernel from this ? I am on ARHD 7.2.
[One (M7) Android Development] DanteGR:
Your best bet would be to re flash the rom without wiping anything

Swiftkeyed from my Renovated HTC One
[One (M7) Android Development] godofwar424:
I'm think people misunderstood what I meant by double tap to wake. I meant using the actual screen. Seeing as it's the easiest thing to double tap the screen with your thumb or finger even while walking, compared to swiping or touching the bottom bar. Probably just under half way through the screen height and use that area as a point.
[One (M7) Android Development] Soluble:
That's what I assumed you meant... As was stated though still need to be cautious of accidental wakes!
[One (M7) Android Development] godofwar424:
Just clarifying and people starting talking about double tapping htc logo and stuff :P

Errm I never actually had a problem with this on my GNexus, I mean flar2 can always adjust the timeout for double taps making it a hell of a lot more reliable then just a single tap to wake, as less likely to get wakeups when in your jeans or thin trousers ect.

I would love this ability, and will happily test this for flar2 with a beta kernel or whatever :D

If I can help let me know!
[One (M7) Android Development] flar2:
I might have time to work on some form of double tap to wake this weekend. I think it should be easy to code.

So the double tap to wake is basically anywhere in the bottom third of the screen? I'm assuming this is the part of the screen where your thumb can reach easily while holding the phone in one hand.

I'm guessing this is just to wake the phone? I can't see how double tap to sleep would work, since double taps do other useful things while the phone is awake.
[One (M7) Android Development] godofwar424:
Awesome!

Yeah double tap to wake is normally around the lower half or lower third of the screen to avoid accidental wakeups. Also Swipe2Sleep is still a very useful feature. Double Tap 2 Wake and Swipe2Sleep are a very good combination. Check out PGM Nexus and their DoubleTap2Wake implementations on the galaxy nexus kernels if you need any help :)
[One (M7) Android Development] sofakng:
Is it possible to lower the minimum speaker volume?

Even at the lowest setting it's still a bit too loud...
[One (M7) Android Development] x.Orville.x:
Can i use this for att variant ??
[One (M7) Android Development] flar2:
Some people think it's not loud enough. In any case, I'm just going to leave it as-is. There are some sound mods posted in the forum that might help.

Yes.
[One (M7) Android Development] J-Hop2o6:
PGM Nexus user here also. Double tap 2 wake worked great (after adjusting threshold ms to 300 I think). So where are you trying to have the area of effect flar? If the navbar, I suggest the home button and/or back button. If the screen, then the bottom 1/3rd or 1/2 of the screen.
[One (M7) Android Development] flar2:
Next update we'll test double tap 2 wake (dt2w). I'll try it on the bottom 1/3 or 1/4 of the screen and we'll see how it goes.

Also, faux has updated his sound controls, maybe I can piggyback on that to add some options for people who want different volumes.
[One (M7) Android Development] htowngator:
So just for reference you need to be on a 1.29 OS build for this to work?
[One (M7) Android Development] flar2:
Works on any build
[One (M7) Android Development] eliasadrian:
I hate to ask, but I would hate more to ruin my phone somehow, but all builds includes stock t-mobile (or any carrier), correct? I don't wanna mess with my phone too much, just add the l2w and l2m options. Thanks!
[One (M7) Android Development] Soluble:
Plenty of users running it on t-mobile throughout the thread without any issues.
[One (M7) Android Development] eliasadrian:
Thanks. I glanced through the thread and did a search to try and find anything about t-mobile stock ROM, but couldn't find anything so I wanted to make sure for some reason you needed a custom and/or deodexed ROM. I know that shouldn't be the case, but I like to be overly cautious.
[One (M7) Android Development] designgears:
edit, nvm, got it
[One (M7) Android Development] flar2:
I was hoping to have released an update by now but I haven't had any time to work on development this weekend. Too busy with baseball/gardening/barbecues.

Does anyone use logo2wake/logo2sleep? I'm just wondering whether to keep it or not. The next release will definitely have sweep2wake/sweep2sleep and doubletap2wake.
[One (M7) Android Development] monkboy24:
Lol nope. I don't even use S2w my self
[One (M7) Android Development] J-Hop2o6:
I'm using S2W. Not using any logo mods (too inconsistent). Would love to have the home button as a 2xTap or hold 2 wake.
[One (M7) Android Development] Soluble:
I use s2w more than I use the power button. I tried logo for a bit, but the sweep was more reliable.
[One (M7) Android Development] flar2:
I had a few minutes here so I've finished off the next update. We'll discuss sleep/wake options more. For now, I've add the DoubleTap2Wake feature.

For DT2W, you have to double tap in the bottom third of the screen, but not in the area with the capacitive buttons. We'll see how this goes. I haven't had any accidental wakes, and I've been using this since Friday. Sleep2wake/sleep is still enabled when you select DT2W.

Other changes: add option to disable 3-dot menubar, updated faux123 sound control support (still untested, I don't have the app) and some minor fixes.

Download:

Bulletproof-m7-1.7

Changes:

-add DoubleTap2Wake

-update faux sound control support

-add option to disable menubar

-minor fixes
[One (M7) Android Development] godofwar424:
Definitely keep it, it already works without bugs and obviously the more options the better. Hopefully it'll be configurable using some kind of app so people wouldn't be stuck with whatever option they keep during the flashing process.

I personally will be using DoubleTap2Wake from now on but not everyone shares my opinion :p

Flashing now, will report on the findings :) Just an FYI, the Fast Charge thing doesn't work at all. Hasn't worked on any version :p

EDIT: Errm DT2W is not working for me :s I have just reflashed the kernel just in case, and double checked and I definitely enable it via AROMA yet it still doesn't work :s
[One (M7) Android Development] Soluble:
Downloading now :D Thanks flar
[One (M7) Android Development] godofwar424:
Hey let me know if DT2W works for you, it doesn't work for me at all :(
[One (M7) Android Development] Soluble:
Double tap is working for me.

Tapping anywhere within the bottom inch+ of the screen.

This is going to be the one I use for sure. I'm using the HTC flip case, but have a normal case coming soon, so assuming no accidental wakes then I will definitely be sticking with it.
[One (M7) Android Development] godofwar424:
I dont understand :( On the AROMA install you selected Double Tap right?
[One (M7) Android Development] Soluble:
Yeah selected Double tap, and the sweep2wake is still enabled aswell
[One (M7) Android Development] godofwar424:
Thats exactly what I did, and sweep2wake and sweep2sleep still functions for me. But DT2W doesn't work AT ALL! :( Redownloading and flashing :( again
[One (M7) Android Development] Itaintrite:
DT2W works fine for me as well, running Maximus' ROM.
[One (M7) Android Development] godofwar424:
Fresh download and my third flash and its working :D
[One (M7) Android Development] mrjaydee82:
Is the sound quality issue fixed when flashing custom kernels?
[One (M7) Android Development] godofwar424:
Not quite sure what issue you are on about :s

Try installing PureXAudio!
[One (M7) Android Development] ratchetjaw:
Working great for me also. Didn't think I would like it better than swipe to wake but this is very nice
[One (M7) Android Development] DanteGR:
Dt2w is simply awesome!

My favorite way of waking the device from now on.

Great work flar!

Thank you so much :)

Swiftkeyed from my Renovated HTC One
[One (M7) Android Development] G-Bus:
DT2W works well over here too!

Sent from my HTC One
[One (M7) Android Development] Cryosx:
For some reason I can't get double tap to work, but anyway I'd think that if you added longpress logo to sleep to this mix we'd have a winner (for one handed use anyway).
[One (M7) Android Development] 3NE:
Works DT2W works here
[One (M7) Android Development] zerone55:
Is there an app like (like Kernel Tuner) that you guys are using for changing Clock and governor settings?
[One (M7) Android Development] Cryosx:
Well got it to work, though I had to disable trickster mod at boot.
[One (M7) Android Development] Itaintrite:
Yeah, kernel tuner ;p
[One (M7) Android Development] 人云奕云:
DT2W not getting along with Trickster mod ? Not working after enable custom freq setting in trickster. Works fine after disable it and reboot.
[One (M7) Android Development] deviusdragger:
HTC long press for me requires a couple of presses to recognize press. S2w plus long press sleep would be awesome. Other than that kernel is running smoothly.
[One (M7) Android Development] garment69:
everything works perfectly, thanks! One issue though, is when I try to enter recovery for other purposes, it wont work. I get to the fastboot screen, select enter recovery and it starts, flashes CWM for a second, then takes me back to the HTC logo screen where it hangs. I have to hold power again and then it will reboot like normal.

Any ideas how to get back to recovery?
[One (M7) Android Development] flar2:
I'm not sure why you can't get to recovery, but I recall hearing something about needing to power off the device after installing a recovery.

I would suggest reflashing your recovery. Make sure that you power off completely before and after flashing the recovery. A reboot isn't enough.
[One (M7) Android Development] garment69:
I full power off did the trick. Thank you!

If I want to enable logo to wake rather than slide to awake, would I just reflash and select in aroma?
[One (M7) Android Development] B-Man2005:
could someone please explain all the wake things that are possible with this kernel ?

i saw things like

logo2menu = does this open menue when pressing HTC logo ? serious ?

logo2wake = i have this kernel with renovate rom but when i press logo it wont wake up

there are other wake things ... could someone explain please :D sorry
[One (M7) Android Development] flar2:
That's the easiest way if you want it set on boot every time.

For testing the different sleep/wake methods without reinstalling, you can change the options anytime by changing the number in /sys/android_touch/sweep2wake

For example, to enable logo2wake/sleep, you would enter the following in the terminal:

su

echo 4 > /sys/android_touch/sweep2wake

This is the current schema:

0=disabled

1=sweep2wake/sleep

2=sweep2sleep

3=doubletap2wake + sweep2wake/sleep

4=logo2wake/sleep
[One (M7) Android Development] flar2:
Check the post above for all the sleep/wake options

logo2menu opens the menu when you press it, if it's enabled.

If you install Bulletproof with my installer, it makes a custom boot.img with your options built in. If you have Bulletproof preinstalled with Renovate, I'm not sure what options you get. I suspect you would get the defaults, which are sweep2wake/sleep enabled and logo2menu enabled.

Different options could be set using an init.d script. For an init.d script, you just create a text file and make it executable (eg: chmod 777 /etc/init.d/myinitscript). The script would just need to look something like this:

#!/system/bin/sh

echo 4 > /sys/android_touch/sweep2wake

But that will be up to the user to create the scripts. I've tried to avoid having a bunch of scripts with this kernel.
[One (M7) Android Development] B-Man2005:
ok thanks to clarify this

i found out menu2wake works but only when i press it harder than normal ...

this is because the htc logo is not supposed to be a button right ? or could you do some things like increase sensetivity or something ?
[One (M7) Android Development] flar2:
The logo itself is not touch sensitive, it's the area just above the HTC lettering. Nothing can be done to increase the sensitivity, you just have to find the spot and you'll get used to hitting it.
[One (M7) Android Development] G-Bus:
Just wanted to point out, this morning when I left home, I hit the Wifi toggle to turn it off and immediately tapped the bluetooth toggle to turn it on and the phone rebooted itself.
[One (M7) Android Development] flar2:
If you can replicate it, I need /proc/last_kmsg

Bluetooth and wifi stuff is same a stock in this kernel.
[One (M7) Android Development] Itaintrite:
One of the few times it'll help to have sausage fingers lol.
[One (M7) Android Development] tdingene:
I have a strange problem. About 50% of my calendar notifications no longer appear. It seems to happen when the phone has been idle for a long time leading me to believe that it is something to do with deep sleep. Instead of a notification nothing at all happens. There is nothing in the notification shade and no alert pops up and no sound. I do get alerts on my other devices for the same calendar item. This doesn't happen consistently and seems to be related to deep sleep. I dont have this problem on the stock kernel.

Any advice?
[One (M7) Android Development] flar2:
That's a tough one, hard to say what's causing it. I would do a fresh install and see if it's working. You may have to test on bulletproof and stock kernels each for a couple days to know whether the kernel is the cause or not.
[One (M7) Android Development] Itaintrite:
Okie this is weird but dt2w suddenly stopped working for me. But now s2w does. Tried reflashing the kernel but didn't help.
[One (M7) Android Development] flar2:
Check /sys/android_touch/sweep2wake. It should say 3 to have DT2W enabled. FYI, when DT2W is enabled, S2W is also enabled, so that is normal.

If you use an app (like trickster or kernel tuner), it might turn off DT2W. Or scripts left from another kernel or ROM.
[One (M7) Android Development] Itaintrite:
Ah, it says 1 which is just s2w I assume. I wasn't using kernel tuner or trickster. Let me try changing to 3.

Thanks.

Update: took a few tries to get edit to stick but works now. Thanks.
[One (M7) Android Development] ammcfc:
Please, add extra option - / doubletap2wake + sweep2sleep/

Sweep2wake make many accidental wakes in trousers front pocket....because sweep2wake works not only left to right, but up to right and vice verse
[One (M7) Android Development] flar2:
Does it really wake up that easily? With sweep2wake, to wake it up you have to hit the back button, then the home button, within 300 milliseconds. That's far more precise than double tap, where you can hit anywhere in the bottom third of the screen twice within 300 milliseconds to wake it.