yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] sofakng:
I just wanted to say THANK YOU for developing this.

I was debating whether to stick with my HTC One (developer edition) or go back to the iPhone 5 but you've shown me the promise of Android development community and what can be done (i.e. HTC logo turning into a menu, removing 3 button menu, etc, etc).

You've convinced me to stick with Android. Thank you SO MUCH.

EDIT: Darnit, I just realized this thread was moved into a new topic. Sorry!
[One (M7) Original Android Development] Mikey:
Would you like this thread to be locked since you redirect users to the other thread???

Might minimize posters getting "confused" and have one place to post??
[One (M7) Original Android Development] tbalden:
yes, please!

teamseven kernel thread should be used for discussion.

thanks
[One (M7) Original Android Development] Lo_RaT_PeNaT:
tbalden, htc released kernel source code posted and available for download http://t.co/vqoKzfGGKj

---------- Post added at 08:51 AM ---------- Previous post was at 08:48 AM ----------

just does not work, but it would be possible to add to the zip of the kernel, the latest camera launched in base 1.29.401.13, to see if now works with the new source?
[One (M7) Original Android Development] Mikey:
Redirect all question to this thread:

http://xdaforums.com/showthread.php?t=2255160​
[One (M7) Original Android Development] tbalden:
i hope so. :) please report...never know what htc screws with sources :confused:
[One (M7) Original Android Development] Dougi:
what is HOME2WAKE ???

:)
[One (M7) Original Android Development] n3ocort3x:
Im not sure but i talked to tb yesterday and if u press the homebutton longer it wakes the device :)

TB: i just posted a Voltage control version in my thread for testing i hope it will work :fingers-crossed: And thanks again for ur amazing work on weekend :)
[One (M7) Original Android Development] tbalden:
it's like: when screen is off, and you tap the Home capacitive button, it should wake the device. When the phone is deepsleeping, sometimes it took 2 consecutive taps to wake it. But generally it works ok. I'm still thinking about how to do Screen off with the buttons.

The Sweep2wake stuff is a bit non-convenient, as the buttons are in a narrow line under the screen. That's why it seemed a good idea to use the button presses instead.
[One (M7) Original Android Development] Lo_RaT_PeNaT:
Any idea how to solve the problem with the camera? Thank you very much.
[One (M7) Original Android Development] tbalden:
Yes. Revert to an older base, or use stock kernel, till a solution is at hand.

On the long term someone needs to debug this stuff on kernel level. Also it's not easy to tell, if it's fixable or not. It might be that the unreleased kernel source for the new Camera libs in the new ROM, contain such changes that could be impossible to add without updated public source code from htcdev.

One solution might be to try and use older camera libs on the new base, so that the currently public kernel source won't fail/freeze.
[One (M7) Original Android Development] torxx:
I am not on this kernel, so can't test but maybe it will work, flash attachment please
[One (M7) Original Android Development] Lo_RaT_PeNaT:
torxx I Flashed your zip, and still does not work, not even leaves open the application.
[One (M7) Original Android Development] torxx:
Logcat?
[One (M7) Original Android Development] mpovolo:
Anyone notice an issue with Wifi. Since loading this my WiFi no longer works, just since at the turning on message.

thanks
[One (M7) Original Android Development] tbalden:
Flash modules zip from recovery and fastboot flash boot img
[One (M7) Original Android Development] mpovolo:
Awesome thanks. Once I flashed the modules everything started working. I love this tap to wake feature.
[One (M7) Original Android Development] tbalden:
good, thanks for testing! :)
[One (M7) Original Android Development] expertzero1:
are you taking any requests atm?

still waiting for my phone :(
[One (M7) Original Android Development] tbalden:
Home2Wake / Htc2Sleep feature update for v1 kernel:

boot.img for Home2Wake feature:

http://d-h.st/4ZM - fastboot flash boot boot.img and don't forget to flash the modules in the first post (from recovery)!

[youtube]UAIHUfHD9cQ[/youtube]
[One (M7) Original Android Development] mwilky:
Great work mate!

Exactly what the device needs!

Keep it up, cant wait for you to get your hands on the .12 source!
[One (M7) Original Android Development] n3ocort3x:
tb_one AWESOME job :D :D
[One (M7) Original Android Development] langer hans:
Great work with the wake/sleep feature, but does this mean we can get a third button for use with the phone? Like having an actual menu button? That would be great...

Gesendet von meinem Nokia 3310 via SMS
[One (M7) Original Android Development] tbalden:
well, that's not impossible, i think. It's a bit tricky, as HTC used a version with a virtual keyboard added to synaptics_3k driver of Touchscreen. So I think it could be possible, but it will need much more work and tricks. :)
[One (M7) Original Android Development] Wohee:
Holy **** nice. If you have the chance, could you make it where the HTC logo is a toggle instead of using home?

Sent from my HTC One
[One (M7) Original Android Development] nimrodity:
will a swipe upward from the htc logo to the screen trigger the sleep too.

I use the swipe up a lot with gestures.

Hope that doesnt interfere somehow
[One (M7) Original Android Development] tbalden:
No. I have tried that
[One (M7) Original Android Development] nimrodity:
awesome,this mod alone could maybe even convince me to buy the phone
[One (M7) Original Android Development] tbalden:
Might try that too .I'm still experimenting with this. Will check if that can work tomorrow
[One (M7) Original Android Development] Jackasaur:
So there's hope for the HTC logo? :eek: I'm so excited. Although, the only reason I'd want it was for a menu button, and even so I'll probably be using pie :D Great job though!
[One (M7) Original Android Development] Sonic7:
You are ****ing Genius :D
[One (M7) Original Android Development] kozmikkick:
Good to know that the HTC logo is usable as a button or swipe :) means we will be able to make it programmable. Drives me insane not having a menu key!
[One (M7) Original Android Development] nimrodity:
you have to thank htc for that because they tweak their statistics the way users seem to be overwhelmed with 3 buttons
[One (M7) Original Android Development] KidCarter93:
I was slightly lost by that last night when I was digging around it.

At least you've managed to get us part way though :)
[One (M7) Original Android Development] Roricken:
Rocking this tweak on my AT&T w/ the renovate rom!! Is there a certain area on HTC logo that needs to be pressed to lock it? It's hit or miss for me, but it is an awesome tweak. Thanks again!!
[One (M7) Original Android Development] kozmikkick:
Shouldn't be too difficult. I know the driver from the one works on the one x. So the one x driver should be swappable into this kernel. Since it's setup for a physical buttons rather than virtual.

I'll be doing some test work on it tomorrow or Wednesday.
[One (M7) Original Android Development] KidCarter93:
Fingers crossed that testing works out as planned :fingers-crossed:

It's a shame that I don't know a lot about this side of things otherwise I'd be delving into it aswell.
[One (M7) Original Android Development] kozmikkick:
It's pretty easy for the most part once you learn.
[One (M7) Original Android Development] yeeson:
1.29.401.12 Camera no work。。。
[One (M7) Original Android Development] Wohee:
Read a few pages back...

Sent from my HTC One
[One (M7) Original Android Development] Shadow Samurai:
Since the HTC logo works as a lock button, could it work as a menu button in this kernel, or is it still too early to be expecting that? Just ordered my one and wondering how people manage to use apps that have no on screen menu...(ie emulators, etc)

Sorry I know this is probably repetitive...

After reading back I'm excited that there is hope for a menu key. What's the status in it?

Sent from my Jelly Beaned HTC Amaze!
[One (M7) Original Android Development] kozmikkick:
Yes eventually it will be programmable.
[One (M7) Original Android Development] n3ocort3x:
i take a photo from my desyroyed screen today of onex. there are no real buttons behind behind the hw keys.. just the led. bht tb said its only responsible in the upper part of logo. i really hope its responsible everywhere. maybe when we see the pic someone got an good idea :P i know its not the same screen but at least we can look at the pic

[sent from an icecold mako...ncxe'ed....soon...]
[One (M7) Original Android Development] tbalden:
Yeah.as far as I could check,debug this the lower half of the htc logo is not responsive to touch. That's why it's a bit of a hit and miss thing to use it for the screen off . Best is to use a fat thumb press over the button with as much skin touching it as possible.I got used to it,and I hit it 9 or of10 :)
[One (M7) Original Android Development] n3ocort3x:
lol nice stat :D

[sent from an icecold mako...ncxe'ed....soon...]
[One (M7) Original Android Development] kozmikkick:
Indeed. It should just be a touch sensitive capacitive strip under the logo and home/back. I'm hoping that it just isn't fully activated under the logo. If that makes sense.
[One (M7) Original Android Development] n3ocort3x:
sometimes i think htc implement such stuff just to annoy us... wbothe hell told the designers we neex no middle button :P

[sent from an icecold mako...ncxe'ed....soon...]
[One (M7) Original Android Development] tbalden:
Ok, here we go!

HTC Logo -> Menu button mapping first version:

boot.img for Fastboot flash boot boot.img:

http://d-h.st/JkK

modules zip (you must flash this for menu button, modified Synaptics keylayout file):

http://d-h.st/7Iq

[youtube]CC-hSUR0dyU[/youtube]
[One (M7) Original Android Development] n3ocort3x:
you ever sleep? nice one tb :D

[sent from an icecold mako...ncxe'ed....soon...]
[One (M7) Original Android Development] jonas2295:
@Tb, got my pm? :)
[One (M7) Original Android Development] tbalden:
Sure but I'll be late from work a bit Lol
[One (M7) Original Android Development] tbalden:
Read now.yeah aosp cm is in my plans.already compiled a cm installer but it doesn't boot up because of display driver problems. HTC kernel is4.1 while cm10.1 is 4.2. More stuff will be needed.
[One (M7) Original Android Development] GuyAdams:
Great work tbalden, it's fantastic to see you kernel devs pushing hard and so early in the Ones life :D
[One (M7) Original Android Development] jonas2295:
Good to hear that. Looking forward to the first builds :)

HTC should hurry up with 4.2
[One (M7) Original Android Development] Lo_RaT_PeNaT:
Any rom with camera work with this kernel, I have not seen any that is not based on 1.29.401.12? . I'm looking forward to trying their new features but the problem of the camera pulls me back.
[One (M7) Original Android Development] yeeson:
[MENTION=3088420]tbalden[/MENTION]

1.29.401.12 can support？？？
[One (M7) Original Android Development] tbalden:
That's a good question. I see some ruu's around for older versions. Someone might want to try and make a compatible Rom
[One (M7) Original Android Development] Lo_RaT_PeNaT:
That, I hope, I can go back to 1.28, the updates are always positive, but sometimes improvements like yours, make that in a scale are less so.

---------- Post added at 08:41 AM ---------- Previous post was at 08:03 AM ----------

maybe say silly, which more than likely, but someone with the kernel version installed and 12, could try if you camara in play store work?, If so, for me it would be enough to upgrade htc sources kernel.

---------- Post added at 09:12 AM ---------- Previous post was at 08:41 AM ----------

tbaiden, work in roms 1.29.401.5?
[One (M7) Original Android Development] he_stheone64:
If guys wanna test, they can just flash "old" TrickDroid 4.0, which was based on 1.29.401.5
[One (M7) Original Android Development] Lo_RaT_PeNaT:
You could put the link, I've tried searching, but only 3.5.0 appears, so is that right now I'm installing Ordroid 2.9.5-But no problem if you post the link, I start again.
[One (M7) Original Android Development] he_stheone64:
Np, I leave you a link here in the next hour. Also latest tweaks and themes all work with 4.0, so you don`t loose anything here.
[One (M7) Original Android Development] Lo_RaT_PeNaT:
tbalden, your kernel work very good in ordroid 2.9.5, and camera work fine. Waiting for link "new old" trickdroid 4.0

Enviado desde mi HTC One usando Tapatalk 2
[One (M7) Original Android Development] Blindie:
Can you please make the HTC button bigger? It's hard to find the right click position.
[One (M7) Original Android Development] hasan_abeer:
reverting back from TrickDroid_5.1.0 to renovate1

home2wake works great thanks sir

you are making htc one more powerfull

hopefully you will make me more happy with call recorder feature
[One (M7) Original Android Development] wikie:
shame the camera freezes: (but bask great work.
[One (M7) Original Android Development] he_stheone64:
Here`s the link to TrickDroid 4.0.0 - so cam will work here with this Kernel.

http://d-h.st/ZeW
[One (M7) Original Android Development] tbalden:
i dont want it to interfere with the normal screen part, but im still experimenting with the optimal solution.

I use it with a fat thumb on the middle of HTC logo it works fine 99% of the time.

If you get used to press it with a stronger touch you wont miss it :)

problem is, that the lower part of the Logo is insensitive, so thats why it needs a bit of getting used to it.
[One (M7) Original Android Development] Jonathon1710:
Does this kernel disable system write protection? I can't seem to change fonts via ROM Toolbox anymore and I was able to before I installed it with the stock kernel that has system write protection disabled. Thanks.
[One (M7) Original Android Development] voltron2k11:
You rock dude .. you rock!
[One (M7) Original Android Development] tbalden:
Not disabled. I'll look at that next time
[One (M7) Original Android Development] nobnut:
This kernel is great! I absolutely love the sleep/wake button combo!

Thank you.

As I'm in a cheeky mood, I don't suppose there are plans to disable the /system r/w protection using flar2's wp_mod.ko?

Great stuff!

EDIT: Oops, just saw your post above re r/w protection. Thanks.

EDIT 2: init.d isn't working. Just reporting.
[One (M7) Original Android Development] torxx:
All these crazy virtuous guys, great job :)
[One (M7) Original Android Development] flar2:
The module is only for precompiled (stock) kernels. In a custom kernel, wp can be disabled simply by not enabling CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
[One (M7) Original Android Development] Michael77500:
Hello,

Just flashed your kernel...

Due to the camera freeze, I wanted to flash stock boot.img.

So I flash boot.img included in my ROM (TrickDroid 5.1.0) but I lost wifi.

Can you help me please ? :(
[One (M7) Original Android Development] tbalden:
reflash the full rom again, it will put the matching modules in place.
[One (M7) Original Android Development] Michael77500:
Thanks for the quick answer, try this now ;)
[One (M7) Original Android Development] ranova:
Im on 1.29.1540.3, will this cause camera problems on this version?
[One (M7) Original Android Development] tbalden:
you tell us. :) You're the first tester for that if you try.
[One (M7) Original Android Development] ranova:
not sure if I can on my work laptop, ill give it a try. "http://d-h.st/SIE - Base version 1.0 (not with HOME2Wake)" is what I want to go back to stock, right?

---------- Post added at 12:07 PM ---------- Previous post was at 11:44 AM ----------

just flashed on my 64gb dev 1.29.1540.3, camera works! , and HTC button to sleep works. Waking the phone with the HTC button is very miss for me though.

Edit: Actually it turns on with the home button. Is this normal?"

Edit 2: Maybe I should read the OP! Home button to wake is normal behavior. So it seems it works 100% on the dev devices with 1.29.1540

Is there any battery hit for this like the double tap screen to wake mods for other phones? Anyway to make it so it will unlock the phone when you double tap home to wake?
[One (M7) Original Android Development] tbalden:
Yep. At the moment these are the variants :

Normal

Home for wake + logo to sleep

Home for wake + logo for Menu button

So far I don't get real drain from this feature,but a slight increase surely exists.
[One (M7) Original Android Development] ranova:
got it, awesome. Can you add another option to have the HTC button open up recent apps?
[One (M7) Original Android Development] m03sizlak:
In the other thread they showed a pic of the digitizer used on the HTC One. There is no "touch-sensitive" area under the HTC logo which is why it is only responsive at the very top of the logo:

http://xdaforums.com/showthread.php?t=2194315&page=13

Although this is nice work, I think the HTC logo as a button is a lost cause.
[One (M7) Original Android Development] tbalden:
That's ok. Still from a user point of view it works
[One (M7) Original Android Development] n3ocort3x:
aaargh.... thats crap :(
[One (M7) Original Android Development] DonDizzurp:
nice.. another reason to get the one
[One (M7) Original Android Development] H89P:
awesomee work you did, and the HTC2Menu works quite well

but as you also said Camera doesn't work on 1.29.401.12
[One (M7) Original Android Development] jaythenut:
Hi mate I've not flashed thisway before could you do me a quick lesson thanks :o

i guess thats a no
[One (M7) Original Android Development] he_stheone64:
I fixed cam today for new base with this Kernel, so we will implement your Kernel if this is fine for you in future updates.

Edit: would be cool if you disable rw like flar2 posted here - thx
[One (M7) Original Android Development] lukemo:
Fantastic news, let's wait to try the custom kernel on .12
[One (M7) Original Android Development] he_stheone64:
I already shared the patch with our test team and cam works as it should now.
[One (M7) Original Android Development] dhunzi10:
Can we have a kernel with only HTC button mapped to menu without home2wake ? I'm a bit concerned the battery drain this function could cost.

Also I'm on latest Trickdroid right now, so if I want to test this and go back, i'll just have to flash the old boot.img, or should I restore a nandroid ?
[One (M7) Original Android Development] he_stheone64:
If you are on latest 1.29.401.12 based ROM´s like latest TD, you will loose camera at the moment. I just fixed it tonight, but until we release the update, this Kernel only works without screwing cam for ROM lower then .12 base.

You can still test, but need to flash both boot.img and modules from ROM to return plus keylayout.
[One (M7) Original Android Development] lukemo:
Great job. Really interested to try tbalden kernel on .12; are you going to release the patch in the next few days?
[One (M7) Original Android Development] he_stheone64:
We will update our ROM incl new kernel and patch, if this is fine for tbalden.
[One (M7) Original Android Development] lukemo:
:good:
[One (M7) Original Android Development] tbalden:
yeah, will do it in next builds
[One (M7) Original Android Development] tbalden:
Fine by me! Give a little credit (i know you always do), and let the fun begin. :)
[One (M7) Original Android Development] tbalden:
So here's the 2.0 version:

boot.img for fastboot flash boot boot.img:

http://d-h.st/pv3

You still need to flash the modules zip found in first post if you didnt flash it already (from recovery)

If you want init.d support: same boot.img with init.d support by torxx (thanks, gonna include this in next release!): http://xdaforums.com/showpost.php?p=40654432&postcount=180

Changelog:

- added sysfs configurability (/sys/android_touch/home2wake and logo2menu sysfs path switches stuff)

- removed MMC write protection for system partition

- fixed some minor quirk with the Logo2Menu functionality (Logo-Menu button could get 'stuck' when you pressed Back button right after Logo-Menu button)

By default: Home2Wake + Logo2Menu is enabled when you boot up.

If you want to switch off the Home2Wake, type in rooted console or adb:

# echo "0" > /sys/android_touch/home2wake

To switch it back

# echo "1" > /sys/android_touch/home2wake

More variants:

If you want Home2Wake with Logo2SLEEP (not menu):

# echo "2" > /sys/android_touch/home2wake

# echo "0" > /sys/android_touch/logo2menu

If you want Home2Wake without anything else (no menu, no sleep):

# echo "1" > /sys/android_touch/home2wake

# echo "0" > /sys/android_touch/logo2menu

If you want Home2Wake with Logo2Menu (!):

# echo "1" > /sys/android_touch/home2wake

# echo "1" > /sys/android_touch/logo2menu

If you want all of them off:

# echo "0" > /sys/android_touch/home2wake

# echo "0" > /sys/android_touch/logo2menu
[One (M7) Original Android Development] Ratzu:
Can you use this with stock, or do I need to flash a ROM, if so, which one?
[One (M7) Original Android Development] he_stheone64:
I can provide you a zip so guys can flash modules and boot in recovery session. Just let me know.

Sent from my HTC ONE - powered by TrickDroid
[One (M7) Original Android Development] Azzabear:
Yes please? :D

Sent from my HTC One
[One (M7) Original Android Development] brockyneo:
hi there will the camera work on the latest AHRD v7 which is build 1.29.401.13

thanks
[One (M7) Original Android Development] UbuntuBhoy:
That would be fantastic. I prefer to have everything and do everything in my handset.
[One (M7) Original Android Development] Ratzu:
Will we be able to use this on stock?
[One (M7) Original Android Development] Wohee:
Also wondering, does 2.0 have the camera fixed for .12 ?
[One (M7) Original Android Development] kozmikkick:
[MENTION=3088420]tbalden[/MENTION] are you using gcc 4.7 and 4.7 toolchain? My system is being a pain. I got mine compiling error free now with proper fixes and it just won't boot. Think it might be a 4.7 issue odd though.

I even tried your source and patched it minorly to compile but it and it won't boot either. Only thing different I think is the version of gcc.

Any thoughts?
[One (M7) Original Android Development] n3ocort3x:
exactly the same issue i have with my beta testers... no matter what i do... it wont boot :( except for tb... for him it boots.
[One (M7) Original Android Development] jimmydigital00:
Has anyone tried this on an American at&t phone that is running android revolution 7.0?
[One (M7) Original Android Development] kozmikkick:
I tried tbaldens and his work. I think it's my repacking. Going through it all now.
[One (M7) Original Android Development] n3ocort3x:
I run out of time yesterday but maybe its really the repacking (but why it boots for tb)... anyway if u dind out whats causing it, please let me know... with which tool are u repacking ??

i use split-bootimg.pl and then .mkbootimg with ramdisk of tb
[One (M7) Original Android Development] blackhawk1:
No, cameria not working on AHRD v7 for me anyway.

tbalden, if I want HTC logo as HOME, and the current home as Menu button, is that possible ?
[One (M7) Original Android Development] Shadow Samurai:
Can anyone confirm this working fine on the tmobile variant? I'm about to find out on my own next week when my one arrives. (Ie camera works)

Edit: never mind I'm dumb. Forgot that it was ROM base not variant based bug. Can't wait to get my one!:D

Sent from my Jelly Beaned HTC Amaze!
[One (M7) Original Android Development] Septro:
This worked like a charm on my DevEdition One. The unsecure boot.img was what I waiting for to finally modify /system and the HTC home button for menu is a god-send since some apps haven't implemented the ICS requirements it yet.

Many thanks!
[One (M7) Original Android Development] tbalden:
Using gcc 4.6 as HTC recommends in readme.txt
[One (M7) Original Android Development] tbalden:
Is that for one dev edition or normal? I didn't even try yet if i can flash boot partition from recovery on normal edition.

or there's some trick?

Thx
[One (M7) Original Android Development] jonas2295:
There is a script which let's you flash boot.img while rebooting out of recovery. Roms already use it.

That's what he meant I guess.