yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] spereree:
This Kernel ported to the HTC M8

So, Ladies and Gentlemen, I'm sure you are aware of the new HTC M8 launch (which happened a little over 2 hours ago)

I've seen the event (liveblog) and here is what are my thoughts.

The HTC M8 doesn't have any physical capacitive buttons, but rather has soft ones, which takes up valuable real estate on the gorgeous 5" 1080p display. So, here is just an Idea I'm suggesting.

Port this kernel for the M8, allowing the wasted space where the HTC logo is, usable, and disabling the on screen ones. Only this time, maintaining the classic layout (back, htc-logo-to-home, and recent apps/long-tap-to menu) - I don't think we need "long-press-to-wake/sleep" because HTC already implemented double-tap-to-wake/sleep as a default feature.

Otherwise, the phone is FANTASTIC!

Gimmicks to bring back (if possible):

(1) Beats audio,

(2) (Any think else you guys/girls can think of.

All in all, what do you think about implementing the above (and the phone in general) ???

---------- Post added at 06:45 PM ---------- Previous post was at 06:13 PM ----------

P.S:

I just downloaded my OTA 4.4.2 KitKat update (3 UK), and I wanted to ask before I install.

I'm sure I just don't tap "install now" and all magic happens automatically (Currently I have this Kernel on 4.3 Sense 5.5),

So, which is the correct sequence of events before installing the update?

(1) Download OTA (Done)

(2) Download Kernel zip for 4.4.2 here http://d-h.st/SZ3 (Done)

(3) Full System NanDroid backup (ToDo)

Now, what comes next?

A

(4) Install Zip on ClockWorkMod recovery first, THEN (5) Install update?

************** OR ******************

B

(4) Install update THEN (5) install Zip on ClockWorkMod recovery?

Which route to take? A or B?

Thanks again!!!
[One (M7) Original Android Development] jayplusone:
Huh?

All in the first page and took me longer to read your post than to look it up. Otherwise the rest of the post may be OT and belongs in the M8 thread under general. This kernel is for the M7 and I assume devs will build a new kernel from source when it becomes available.
[One (M7) Original Android Development] spereree:
Thanks for the info, and sorry for posting it here instead of the M8 thread. I'll see where to post it appropriately there.

BUT:

The post above doesn't say when to install the 4.4.2 OTA update I've already downloaded. Should I install it first before anything?

Thanks.
[One (M7) Original Android Development] jayplusone:
My apologies. OTA usually flashes updated version of HTC's kernel so you will need to flash teamseven's kernel AFTER the OTA update. Hope that helps.
[One (M7) Original Android Development] tbalden:
testing with sixth sense, uploading sense 6 version soon (at the moment camera will be replaced, so dont install it just yet)
[One (M7) Original Android Development] tbalden:
Sixth Sense (Sense 6) update

Stuff seems to work pretty fine with Sixth Sense rom i've tested (great job done by the porting teams and all involved in getting this so smoothly to our Htc One 2013). Camera and all stuff there, except of course new gesture stuff of Sense6.

6th sense Perf edition:

http://d-h.st/qdu

6th sense Stable edition:

http://d-h.st/0vh

Please test, enjoy...
[One (M7) Original Android Development] joni2012:
Great work

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] Rad ryan:
[MENTION=3088420]tbalden[/MENTION] Would you please add the governor, "Preservative" ( http://xdaforums.com/nexus-4/general/kernel-moob-t2549750/post50173462 ). The developer (bedalus) already said it was cool. He sent me, via pm, his commits for the governor. Here is the pm he sent me (I copied and pasted it below).

From bedalus:

Initial commit:

https://github.com/bedalus/nexus4/co...6e174970138429 (but ignore .config and acpuclock changes)

Then hook into GPU code:

https://github.com/bedalus/nexus4/co...885c2b17ccf960 (gpu code will be different for every device so will require the dev to modify)

Update to latest code:

https://raw.github.com/bedalus/nexus...preservative.c

There's also a hook to the touchscreen for UI boost. The dev will need to customise this code for their own device too.
[One (M7) Original Android Development] KidCarter93:
Thread Cleaned

I've just had to clean up a few derogatory comments and posts related to them. We don't expect to see such comments being made. As the famous saying goes, " If you can't speak nicely to each other, don't speak to each other at all."

Now, back to being nice and friendly towards each other :)

Regards,

- KidCarter93

Forum Moderator
[One (M7) Original Android Development] acank46.mh:
I use the current stable kernel for sense 6 but systemUI always FCs if i rotate screen to right position. But work well on stock kernel. Hope next update will be fix. I miss d2w/l2s fungtion in your kernel :)

ROM: InsertCoin 1.0.1 android 4.4.2 Sense 6
[One (M7) Original Android Development] pawslo1984:
That's the ROM issue, with insertion 1.0.0 works perfectly

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Original Android Development] tbalden:
i dont have that issue, and tested on insertcoin 1.0.1 too. Strange

is it in every app or a specific one?
[One (M7) Original Android Development] acank46.mh:
I try in Twitter and Whatsapp+ that same problem.. maybe I will try with fresh install again.. thanks in advance :)
[One (M7) Original Android Development] Rad ryan:
[MENTION=3088420]tbalden[/MENTION] Any response for the question that I have quoted above would be very much appreciated, even if it's a no. Anything, even just a YES or NO, although a YES would be great :D :) :D

Thanks, Rad ryan
[One (M7) Original Android Development] tbalden:
Hey, Ryan, sorry for my lack of replies. I was eying with this for a while now since you mentioned (i know earlier too). Just read the details of it. I'll have a look at this if i can port it when i get there, as I like the details i've read in the thread.

Thanks for bringing this into the picture, and visiting this thread so frequently, glad to see that people are still interested in this kernel. :good:
[One (M7) Original Android Development] donatinho:
I have an issue which should be kernel related: whenever I turn the phone on landscape, I have a system ui force close. It happens only in sense6, and only with custom kernel,never with stock kernel. If it helps,same issue is noticeable on elementalx kernel
[One (M7) Original Android Development] eyosen:
Works fine with IC 1.0.1 and perf edition for me as well. Tested with whatsapp, and some other apps. And dirty flashed it. Clearing cache and dalvik in recovery may help.

As for still having an interest in this kernel, you must be joking. I love it. So gotten used to having all the goodies, I had serious withdrawal syndrome entire day yesterday until I realized you released sense 6 versions. I wasn't expecting it until the stable base was released tbh. So, thanks again for the cure.
[One (M7) Original Android Development] CharliesTheMan:
The systemui force close isn't kernel specific tbalden, whatevers causing it isn't specific to your kernel its any kernel besides the stock one and it seems to be a bigger problem on the newest base but that's preliminary estimating.
[One (M7) Original Android Development] Rad ryan:
Thanks a lot :) :D I really appreciate your reply and your great, not forgotten, kernel. Probably been silent here bc there was nothing to gripe about :D .

Here is the link to the post I made with the links to the commits for the governor ( http://xdaforums.com/showthread.php?p=51405099) . Also, Bedalus said to get in touch with him if you needed anything or had any questions.

poondog added it to his AOSP kernel just recently and apparently it has gotten pretty good feedback. He also added the bus speed mod from the OP in the moob kernel thread (that's where preservative came from) and it's supposed to give more performance at lower frequencies, and by keeping freqs lower it saves battery and saves more battery by keeping temps lower also.

Anyway, thanks again for your hard work and Great kernel. :)
[One (M7) Original Android Development] zorantoma:
Undervolting?

Hello

i'm on ViperOne 5.8.0 and instaled your kernel(2.3.6 performance edition) but can't find out how to undervolt. There's no undervolt option in Venom Tveaks and trickster mode from playstore.

Thank's in adwance :)
[One (M7) Original Android Development] Rad ryan:
In Venom tweaks it's on the page where you set the cpu frequency at the bottom. In trickster mod it's in the "specific" tab at the bottom.

If not there then you should reflash kernel.
[One (M7) Original Android Development] zorantoma:
Allready done all those things and steel no undervolt options.

Thakks anyway :)
[One (M7) Original Android Development] Rad ryan:
Dirty flash rom, reboot, then flash kernel.
[One (M7) Original Android Development] Monfro:
4.4.2 HTC One (2013) kernel sources are just released!

See: http://www.htcdev.com/devcenter/downloads
[One (M7) Original Android Development] tbalden:
indeed. just looking at the differences to gpe4.4.2
[One (M7) Original Android Development] superleeds27:
Please enlighten us when you've had a luck. Id be interested :)
[One (M7) Original Android Development] tbalden:
there's major update in the KGSL video driver, some MMC related stuff, a bunch of framebuffer/mdp and sound driver/amplifier related updates, charger driver updates.

I'm merging it already and see how it works out.
[One (M7) Original Android Development] n3ocort3x:
Tb my friend.. I'm atm on the road... Can u have a quick look if they changed something regarding to led driver for notification led?
[One (M7) Original Android Development] tbalden:
it seems not much changed in leds-pm8921
[One (M7) Original Android Development] tbalden:
Sense 5.5 and 6.0 installer update

Changelos 2.3.7 (Mar 29)

Upgrade to latest HTCDev kernel sources released recently (march 29) for Sense5.5 Android 4.4.2

(major update in the KGSL video driver, some MMC related stuff, a bunch of framebuffer/mdp and sound driver/amplifier related updates, charger driver updates.)

Sense 6.0 installers

Performance Edition: http://d-h.st/eq8

Stable Edition: http://d-h.st/tRs

Sense 5.5 installers

Performance Edition: http://d-h.st/kDC

Stable Edition: http://d-h.st/NY1

Enjoy!
[One (M7) Original Android Development] ghul21:
Hi tbalden ? one issue, after update lost.....camera ?

Will try clean install , when will be the same will provide logcat

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Original Android Development] tbalden:
Be sure to install the Sense 6.0 version for Sixth sense roms!

The 5.5 installer is replacing Camera.apk and will make the camera disappear on Sense 6.

To fix this try extracting Camera.apk from the original ROM installer you use, (under /system/app/Camera.apk) and push it to phone system/app/Camera.apk or reinstall ROM and install the teamseven sense-6th version
[One (M7) Original Android Development] ghul21:
It's not a problem for me :) and I use proper version. It was performance. Now it's all ok. Just needed a clean Rom flash ;) to many modifications.... just in time finish my ic svn and with clean install all working well :P thx for your work

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Original Android Development] tbalden:
Ok, great, glad it works now. :)
[One (M7) Original Android Development] joni2012:
Very Great sense 6. You phenomenon good work

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] tbalden:
Glad to hear that

Felíz que te funciona bien :)
[One (M7) Original Android Development] Lo_RaT_PeNaT:
Ese español fantástico, muy bien tbalden

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] joni2012:
Ok el equipo skydragon también te lo agradece Jiji. Un saludo

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] supremazy:
I want volume rocker wake up feature.Can you add this please ?
[One (M7) Original Android Development] tiny4579:
Volume rocker wake is implemented ROM side.
[One (M7) Original Android Development] tbalden:
Guys, the sense source update seems to make video/graphics stuff even more fluid here, I'm experiencing a nice additional fluidity on sense 6 too. Great job on HTC side.
[One (M7) Original Android Development] gGabi:
[MENTION=3088420]tbalden[/MENTION] is there a reason why mpdecision would behave better than hotplug on my phone? With mpdecission "off", battery seem to drain faster.

4.4.2 Sense
[One (M7) Original Android Development] tbalden:
Are you sure its not placebo? Mpdecision service is not in ramdisk in the perf edition, so changing that won't start or stop it, as far as I know.
[One (M7) Original Android Development] gGabi:
I mean a kernel that is using mpdecision service, like elementalx.

stable version of your kernel is using mpdecision? never tried stable version :D
[One (M7) Original Android Development] tbalden:
Ah, gotcha, well I had no issues with that vs mpdecision using kernel, especially not with underclocked cpu / gpu min freq and using smartmax governor. But also depends on how you set the hotplug parameters.

But I can see that it might happen on the default settings, because it's more geared towards performance on the perf edition default settings
[One (M7) Original Android Development] Donjuanal:
tbalden, love the kernel, is there any chance of implementation of fullscreen dt2w? I never liked the original dt2w but with fullscreen implemented, it makes a world of difference.
[One (M7) Original Android Development] Rad ryan:
+1 [MENTION=2788743]gGabi[/MENTION] I haven't updated these settings in a while but give them a try and you should get better battery life ( http://xdaforums.com/showthread.php?p=50847630 . U don't have to underclock to 1566000, I am not right now and still getting good battery life.

[MENTION=3088420]tbalden[/MENTION] I was hoping you'd throw in a little surprise with new source update, maybe the preservative governor would be a good choice... Hint Hint ;) ;)
[One (M7) Original Android Development] axeldiks1:
Does this kernel work on verizon?
[One (M7) Original Android Development] shivasrage:
[MENTION=3088420]tbalden[/MENTION]

Thanks for kernel update ....very nice

thanks and keep up great work...:good:
[One (M7) Original Android Development] joni2012:
Very good tbadem congratulations

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] Rad ryan:
Just a suggestion, you should reset the calculations in gsam so you get a more accurate estimate when you change kernels. It's in preferences - device power profiles.
[One (M7) Original Android Development] CharliesTheMan:
The new kernel with new source is running great on Renovate Sense 6, I've run it on the last several SVN revisions and it's really running good.
[One (M7) Original Android Development] fareed_xtreme:
I would like to request some help from you all. I flashed this kernel and let it settle for a day. However,

- When screen on, the battery drain is at 1% every 4-5 mins

- When in standby (for approximately 4 hrs), there is a drain of around 20%

I have read the last 4 pages and feel that maybe something is wrong with my settings possibly. My current setup is:

- teaMSeven 2.3.7 Performance Edition.

- Kernel Tuner

- Android Revolution HD 61.1 (Sense 6)

- Smartmax Governor

- ROW Scheduler

- 324 MHz - 1566MHz frequency Range

- Undervolted

- No additional tweaks such as flip to wake etc.

I do realize this is a "Noob" Level question but I have the worst internet connection which is worse today and aint able to to search for the content I am looking for.
[One (M7) Original Android Development] Rad ryan:
http://xdaforums.com/showthread.php?p=50847630

Go there, then get wakelock detector, or bbs to see whats eating your battery in stadby bc you should only be getting like 0.4 - 0.6%/hr with the settings in link. If you want more battery set gpu to 400. Screen on getting 1% every 5 min is pretty good. Thats like 12%/hr drain which would equate to a screen on time of between 9 - 10 hrs, which is probably not gonna happen, but just saying screen on drain is doing good.
[One (M7) Original Android Development] Golv:
Kernel source M8 GPE

[MENTION=3088420]tbalden[/MENTION]

Kernel source M8 GPE and framwork support - is it not fake? Or this is 1st April joke?

Published March 31, but there is no on htcdev now.

Thank you!
[One (M7) Original Android Development] Denpech:
+1
[One (M7) Original Android Development] tbalden:
thanks for pointing out. i'll have a look at the copy later. interesting :)

now if i only had an m8 too lol :D but its rather expensive at the moment...

EDIT: why is it 3.4.0 tho, too low last version

anyway downloading
[One (M7) Original Android Development] flar2:
Nexus 5 uses 3.4.0 also.

Luckily for us, the source contains the motion gesture code (look for cwmcu driver) so we can see what they've done. I haven't read through it yet, as I've been too busy cracking system write protection on the m8. A quick look reveals that input devices are created for the gestures, this is how userspace communicates with them.
[One (M7) Original Android Development] fareed_xtreme:
Thanks for the link. I got rid of kernel tuner earlier today and replaced it with trickster mod and it sure helped me handle it all. Also I have BBS and had kept a keen eye on the wakelocks but it didn't seem to make any difference. However, after setting up trickster mod and properly undervolting the settings has helped me reach around 2%/hr drain on standby which is much better compared to earlier today. I guess it was all a matter of settling down and it took longer than I had anticipated. I am having a look at those settings. thanks for it, i might replicate a few of those Hotplug settings.
[One (M7) Original Android Development] Rad ryan:
Here is the title from the artical with m8 source, which explains why not on HTC dev, " HTC Has Posted Kernel Source For The One M8 Google Play Edition [Update: Pulled By HTC, Alternative Download Available]

Published on March 31st, 2014

Written by: Ryan Whitwam"
[One (M7) Original Android Development] CharliesTheMan:
I was getting ready to reply for you to try uninstalling kernel tuner and install trickster and see how that goes, so I'm glad you already tried it.

Your battery life will level out after a couple of full discharges and full charges under your normal usage, and you've already given it a couple of reboots.

You really asked a great question and stated lots of useful info, no need to apologize at all.

It sounds like we run similar setups and this kernel is what I get by far the best battery life out of.

After a few days usage you'll kinda have a constant to go by, and if you aren't where you think it can be then try changing maybe one thing like governor and then seeing how that goes for you, and you'll get the feel. Welcome to tbaldens thread, he's a good dude and has some nice users helping with support.

Feel free to PM me with any more questions or to bounce ideas off me, I enjoy supporting and helping each other out for a nice kernel like this.
[One (M7) Original Android Development] ZaneChua:
Hey Rad Ryan,

Switched from ElementalX over to T7 because i wasn't seeing must battery life changes there so i tried your settings at http://xdaforums.com/showthread.php?p=50847630

I got about 3hours 11mins on that. How much do you get?

Could i bother you to take a look at the screenshots in the album? I'm wondering if there is something wrong with my battery? It goes down to 7% and from that it jumps down to 1% as you can see with the clock time. I've tried calibrating the battery by discharing it fully and charging it up all again but it doesn't seem to work. It's still off.

http://imgur.com/a/SHuDz

Thanks! :)
[One (M7) Original Android Development] Rad ryan:
Sure, I'll have a look... OK, so what I see is a sh!t load of time spent in wakelock! :) The main wakelock can usually be fixed by reboot. For the others I suggest you turn off autosync and sync apps manually when you want to read/check them unless you need your updates instantaneously. Get wakelock detector and use it bc it has option to Google any wakelock and it helps if you're not sure what your looking at. Also, go download greenify and put it to use. If at all possible, don't use aurobrightness. I usually don't use it bc I use sense toolbox to put the brightness slider in notification bar and it works much better bc I have control of how bright I need screen and it saves battery. A lot of apps drains battery also, just keep what you actually use and not what you want to use but never do. As for battery, maybe you can do a clean install of rom, then kernel, then have your phone charged to 100% and wipe battery stats, then just do 1 full discharge - recharge cycle bc it's not good for our type of battery. Get Battery Monitor Widget from play, it can wipe stats easy and if you go to help pages there is great info on Li-ion battery.

And if you're super concerned about battery life you can try these settings ( http://xdaforums.com/showthread.php?p=50709222 ) :)

Good Luck
[One (M7) Original Android Development] Hussainally:
I am getting crazy good battery life and performance balance on the above kernel setting .. Thanks to all the guru's
[One (M7) Original Android Development] CharliesTheMan:
[MENTION=3088420]tbalden[/MENTION] I'm currently getting the best battery life I think I've ever seen out of the One on the latest performance kernel. Its to fresh to have solid statistics but if it holds like it has the last 24 hours it will be for sure.
[One (M7) Original Android Development] Golv:
Kernel source from M8 posted on official website htcdev.com
[One (M7) Original Android Development] spereree:
Still having issues updating...

So, I've done a full nandroid backup, Already have the OTA downloaded, and the latest stable kernel (2.3.7 for kitkat, Sense 5.5) downloaded.

Now, I've tried to install the OTA first, then install the new kernel (as advised)

But; when I choose "Install now" from the notification (which says that the update is ready to install) It restarts, but doesn't install it.

It goes straight to CWM recovery. So I tried installing the zip from there (navigation to the downloads folder, and selecting the OTA zip file). It checks it, says it's unverified, continues, but fails to install.

So How do I install this OTA? - coz I keep on postponing every 4 hours, and the notifications for the update are killing me!!

How do I proceed?

Thanks!!!
[One (M7) Original Android Development] nisby:
for official htc ota you must have stock recovery,kernel,rom e no-root
[One (M7) Original Android Development] spereree:
OK, thanks for that info.

Now how do I get to 4.4.2?

I'm on 4.3 @ Sense 5.5 (Rooted, but still S-on)
[One (M7) Original Android Development] Rad ryan:
There are lots of threads that describe how to do it. And htcguru.com/downloads for the 442 ruu.
[One (M7) Original Android Development] spereree:
OK, read through the ruu's and stuff, but they say they won't work with S-on, meaning I'll have to S-off and go completly back to stock.

But I'm really not comfortable with Being S-off, even for the transient of times (can't afford to brick it) - so if anyone updated from

4.3 to 4.4.2 recently, please post a step by step guide, (or atleast an exact link to one)

Remember:

I am Running 4.3, Sense 5.5 (updated a while back from 4.2), rooted,

Software no. 3.62.771.3 (H3G_UK)

M7_UL, S-on,

Hboot 1.55.0000

Radio 4a.21.3263.04

OpenDSP v32.120.274.0909

Thanks again!
[One (M7) Original Android Development] Rad ryan:
S-off is not super high chance you'll brick and it makes everything a lot easier, but if u don't want to then you can still go back to stock, AS LONG AS YOU ARE UPGRADING AND NOT DOWNGRADING YOUR FIRMWARE/SOFTWARE. A little bit of searching around would have found you this ( http://www.htc1guru.com/guides/return-stock-guide/ ) :) . Also, this is not the thread to be asking this question in. You should post it in the Q&A forum or in one of the threads with tutorials and guides or ruu's, etc. Not trying to be mean, I'm just letting you know so that this thread can stay about the kernel :) Good Luck