yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] mielnoir:
Please explain....
[One (M7) Original Android Development] poondog:
Different source base

I won't rebase now, I'll wait though for 4.19
[One (M7) Original Android Development] herwegan:
Htc One Max kernel sources have been released, is this of use to us?
[One (M7) Original Android Development] herwegan:
I've updated IC to .9 base and now sweep2wake isn't working anymore.. sweep2sleep is working though..
[One (M7) Original Android Development] Headless96:
You have to activate it in trickster mod
[One (M7) Original Android Development] poondog:
Nah, probably less use than the GPE sources. Different target device (and android version?)

I have been checking HTC dev every day lol they have upped a few new kernel sources and stuff, but none for us on kk sense base

^^

By default only s2s is enabled. This doesn't drain battery, where s2w does. It can be enabled in any app with sysfs control basically
[One (M7) Original Android Development] herwegan:
Yeah got it now^^ last time i didn't have to enable it because i had another kernel with s2w installed before..
[One (M7) Original Android Development] poondog:
Maybe because of init.d script. Headless monkey posted in this thread a month or so ago with a flashable zip which enabled s2w at all times without having to use another app
[One (M7) Original Android Development] Headless96:
Yeah s2s is cool but it's kinda buggy, 9 times out of 10 you'll end up exiting the app you were on cos you pressed the home button accidentally.

Anyways here's the script:
[One (M7) Original Android Development] herwegan:
edit: ok i found the info in the file, but the point i don't get is how much it'll undervolt the device..?
[One (M7) Original Android Development] Headless96:
Bro press where it says 'click to show content' on my post, all info is there
[One (M7) Original Android Development] poondog:
You can delete those lines in the script that you don't want too
[One (M7) Original Android Development] myrigon:
Oh, if I try to edit the file to include smartmax on boot, would it cause any issues?
[One (M7) Original Android Development] poondog:
Should have no issues at all

Might have to set on all cores too
[One (M7) Original Android Development] myrigon:
Cheers! I attempted it before, but didn't manage to do it right, but I think I'll have another go at it. :cowboy:

##edit## Smartmax and row set on boot now, along with my preferences from the script that [MENTION=4935526]Headless_monkeyhunta96[/MENTION] shared with us. Cheers!
[One (M7) Original Android Development] poondog:
Nice :) I don't mind if you share them too, since I'm already basically sharing my settings in the kernel how it comes :P
[One (M7) Original Android Development] myrigon:
Ah, see, now I'm worried that it will look wonky! It does work though. Thanks to [MENTION=4935526]Headless_monkeyhunta96[/MENTION] and [MENTION=4453158]HSD-Pilot[/MENTION], for their templates.

#!/system/bin/sh

#Enable Fast Charge

#echo 1 > /sys/kernel/fast_charge/force_fast_charge

#Enable Sweep2Wake

#echo 1 > /sys/android_touch/sweep2wake

#Enable Logo2Menu

echo 1 > /sys/android_touch/logo2menu

#Enable Double Tap To Wake

echo 1 > /sys/android_touch/doubletap2wake

#Enable Logo2Wake

echo 1 > /sys/android_touch/logo2wake

#Enable Pocket Detection

echo 1 > /sys/android_touch/pocket_detect

#UnderVolt

#echo "800 800 800 825 875 900 960" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

# Set Scaling Governor

GOVERNOR="smartmax"

echo $GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo $GOVERNOR > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo $GOVERNOR > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo $GOVERNOR > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

# Set IO Sheduler

SHEDULER="row"

echo $SHEDULER > /sys/block/mmcblk0/queue/scheduler

I really just adjusted the templates from the two users I've credited, so if anyone finds it useful, thank those guys!
[One (M7) Original Android Development] Wasuhz:
This is going to sound really strange. I am not sure why how or what started causing this lol. One night my digitizer stopped working. I could not touch anything on the screen. So i hard reset it unlocked it and everything worked fine. Well it happened to me a few more times and i woulud have to hard reset. After trial and error I would then reflash the stock kernel and it would never happen to me. I have narrowed it down to deep sleep or something of that nature. If I power up my phone and do not unlock ym phone right away then the digitizer never works again until i restart my phone again and i have to unlock it right away. I have no clue what caused this or why its doing it, but i know for sure that when i flash the stock kernel back it corrects it self and whether or not i unlock my phone right when it turns on it always works. I can reproduce it every single time if i dont unlock right when it powers up.

Edit: Not sure if this matters, but I know my phone is rooted fine because all my rooted apps are functioning like they should, but now when i flash joey kernel Clockwork says your phone is not rooted would you like to fix this?
[One (M7) Original Android Development] joni2012:
Not kernel New? I like kernel

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] poondog:
Okay you are right this is weird. The thing is though, I can admit to making changes to the touchscreen drivers, I merged some touch improvements from [MENTION=3875215]Synthetic.Nightmare[/MENTION] but this seems too extreme to be related.

You tried TWRP for flashing it? I don't use cwm

Edit: you are on ViperOne? About once a month, the touchscreen doesn't work from a reboot. Been recognized by the testing team too

And I never had this issue

Hi

I'm not going to spend time on the old base when new source is days/a few weeks away. I have already planned my attack for new source hopefully it comes soon

Sorry if I am disappointing anyone :)
[One (M7) Original Android Development] joni2012:
Ok the kernel is good had good results. If I could improve it would be held awake better flar2 has

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] Synthetic.Nightmare:
Seems like a 2wake problem or something input/resume related somewhere. I only adjusted some pressure params. You can try reducing max_pressure to 4095 like I have for d2 after updating touch firmware (the old value ended up being too sensitive for the new fw) if you think the increased sensitivity might be screwing with 2w, though I don't think that's what's causing it.

Can't tell for sure without logging though
[One (M7) Original Android Development] Galaen:
This might not be the right place to ask this, but it is something that I have always wondered. When do kernel sources usually release? I know nobody can give an exact date, but do they usually wait until all of the firmware updates have dropped, or do they do it whenever it pleases them?

Sent from my AT&T HTC One M7
[One (M7) Original Android Development] poondog:
Which things need to be improved?

Yeah I'm saying not kernel related at this stage.. I have this on stock kernel too once in a while

I think the rule is within 90 days of wwe release

Last time it took 2 months or something after first Europe devices got the ota. I'm saying any day because they just uploaded sense 4.4.2 for one max
[One (M7) Original Android Development] Wasuhz:
Okay it has stopped. I made 1 change so i am sure it is the issue, but I had logo to wake enabled and logo menu enabled. I disabled logo to wake and the problem has not happened so far. Just updating my previous issue so it can be logged.
[One (M7) Original Android Development] poondog:
Really? Strange still :P

I use same logo2wake all wake options from flar2 so it would be a common issue

Hope HTC release source soon :P
[One (M7) Original Android Development] FanDroid09:
Seriously... Is just me or is it kinda weird that they released the One Max source first? I feel like the One source should have been first/ higher priority.
[One (M7) Original Android Development] poondog:
Just to piss us off :P

There are a total of like 17 One Max users lol
[One (M7) Original Android Development] flar2:
I betcha the One Max 4.4.2 Sense source is virtually the same as the unreleased One source, except it doesn't have the m7 board files. It appears HTC is making their source code more universal among their various devices.
[One (M7) Original Android Development] poondog:
I reckon, been digging in Max source and there are so many new things

HTC source has always been quite the same over devices with the same chipset

Cheers flar
[One (M7) Original Android Development] herwegan:
hey [MENTION=4379011]poondog[/MENTION] i have an idea for you :)

what about offering an official init.d script on the main page, like the few ones that are already provided by some users, but with all the available tweaks in it. and then the users can just add/remove the # before the echo command and customize it to their preference..? :fingers-crossed:
[One (M7) Original Android Development] poondog:
There are a few available

Headless monkeys script would be great for that :)
[One (M7) Original Android Development] herwegan:
Final 4.4.2 base was released today, so i guess there's no more reason for htc to keep kernel sources closed :)
[One (M7) Original Android Development] poondog:
Where? :)

My new desktop should arrive soon too yay

Edit: ahh I see you mean rom version haha
[One (M7) Original Android Development] herwegan:
At least it's getting closer ;)
[One (M7) Original Android Development] poondog:
So is christmas :D
[One (M7) Original Android Development] poondog:
Any interest in a joey style lite AOSP kernel? :)
[One (M7) Original Android Development] s33d1ing:
That would be awesome! I loved the kernel on gpe but I'm using slimkat now and haven't found a kernel I like.
[One (M7) Original Android Development] FanDroid09:
That'd be sweet... I tend to jump between sense and slimkat and Joey kernel on both would great. :D
[One (M7) Original Android Development] poondog:
I'll base on AOKP source

edit: https://github.com/poondog/kernel_htc_msm8960
[One (M7) Original Android Development] poondog:
Aww yeah its good to be back
[One (M7) Original Android Development] poondog:
Ok testing is almost done seems stable for me. UPload here or in a new thread? It probably will not be supported much after 4.4.2 sense source is out
[One (M7) Original Android Development] superleeds27:
Here will do I guess! :)
[One (M7) Original Android Development] poondog:
Okay.. here is the first release of AOSP based kernel. Its based on AOKP source, latest source and I am using it on AOKP 10 March nightly

Its not going in the OP but I might put it in the title,.. I don't know how it will work with other AOSP ROMs

Please test it :)

Changelog: AOKP-joey-v003

-100% stock AOKP base

.compile with christopher83 4.8.3 Linaro toolchain targeted for cortex-a15 devices

.makefile and compiler optimizations

.upstreamed SELINUX to latest

.some memory optimizations

.build with GZIP compression

.patch to 3.4.77

So basically its an optimized stock at this point :P This is the way I will do my sense kernel too. I will be putting a number in the kernel version string now.. this is to differentiate between releases and for me as a stable release. If anyone is looking at my git and compiling from source, a new version means that it should be stable at that point. Otherwise I might revert stuff if its not booting, causing issues etc

AOKP_003.zip - 5.51 MB

Cheers :) Enjoy
[One (M7) Original Android Development] dena994:
Wow wow :D love you man:) but why you take the aokp as base?
[One (M7) Original Android Development] poondog:
Seems to be the smoothest and most feature packed original AOSP ROM for me :P So I chose their kernel

I am using AOKP, maybe thats why :D

Kernel side though it mainly up to date with most CM commits
[One (M7) Original Android Development] joni2012:
Not found sense?

Enviado desde mi HTC One usando Tapatalk 2
[One (M7) Original Android Development] poondog:
New release is an AOSP kernel, not sense or GPE

Sense kernel will start very soon after source is released
[One (M7) Original Android Development] joni2012:
Source release six sense? Already there with new people sense jiji

Enviado desde mi HTC One usando Tapatalk 2
[One (M7) Original Android Development] poondog:
I mean source for 4.19.xxx ROM version. Thats sense 4.4.2 source. Sense 4.4.2 will match the sense 6 port released on March 25

Yes I have access to the sense 6 ROM :P Well, a version of it
[One (M7) Original Android Development] joni2012:
Ok if that is too and it's great

Enviado desde mi HTC One usando Tapatalk 2
[One (M7) Original Android Development] HolyAngel:
Wow thanks for the AOKP kernel! Haven't tried it yet but downloaded, I take it'll work with cm11 too then? Also any idea on omnirom?
[One (M7) Original Android Development] poondog:
It should work on them all. Basically, they're all CM kernels in a way, they get their compatibility from CAF

I've updated my test kernel to latest CM and its working on AOKP fine. Also upstreamed a few things and its all good

So report back please to see if it works.. I'm guessing yes :) the upload now though is essentially an optimized stock with a few thing.. More of the goodies from kangaroo/joey are on their way :)

Thanks
[One (M7) Original Android Development] herwegan:
Any goodies for normal joey kernel? :)
[One (M7) Original Android Development] poondog:
Nah :)

Id have to clone it again on my 2Mbps connection as my computer had a problem. I haven't worked on it for a while (well I did some private 2w testing)

The next 4.4.2 sense/GPE kernel you'll see from me is 4.19 :)
[One (M7) Original Android Development] HolyAngel:
Works with omnirom! Im sure it'll work with cm11 now obviously :P Thanks!

Only thing I noticed though and i've had to change this before on your kernels, the updater-script wants to setperm to compatibility.sh which doesn't exist in the zips, so it won't flash with philz touch recovery. I have to remove that line first and then it flashes perfectly.
[One (M7) Original Android Development] poondog:
Oh okay I'll delete that

Thanks for the feedback, I'll look into it

I just used the zip from my kangaroo kernel so I didn't check what was in it
[One (M7) Original Android Development] HolyAngel:
actually, scratch the omni rom. it boots and works but has some graphical glitches and the cores all stay at max speed, probably due to their own kernel control/performance stuff built in.. No biggie though, works totally fine on cm11 and aosb/probam :good:
[One (M7) Original Android Development] dena994:
Testing the AOSP kernel with Kady kat. for now it's all ok, but I have a 2 second lag waking up the display
[One (M7) Original Android Development] poondog:
Yeah I I'm fixing that. Is dramatically reduced on my test
[One (M7) Original Android Development] dictionary:
Hopefully you'll be the first to include preservative governor
[One (M7) Original Android Development] poondog:
This preservative is so hyped I swear

I'll try lol
[One (M7) Original Android Development] dictionary:
Hey, it may be hyped, but none of us have tried it to see if it's all warranted, or just placebo. Nobody seems to want to implement it though
[One (M7) Original Android Development] poondog:
If it sux then you are in trouble :P
[One (M7) Original Android Development] dictionary:
Lol. I'll take the fall if it means possibly advancing our phones capabilities
[One (M7) Original Android Development] poondog:
ok its compiling. You on AOSP now? I can PM you a test :P It might need to be reworked for m7 though because it has code to boost mako touch (called mako_boosted)

idk if with the current code the cpu will boost

Possible to link the full changelog of the governor or the post where bedalus explains it?
[One (M7) Original Android Development] dictionary:
Indeed I am. :). Ready to test whenever it's out the oven. No cool down time needed.
[One (M7) Original Android Development] poondog:
config CPU_FREQ_DEFAULT_GOV_PRESERVATIVE
bool "preservative"
select CPU_FREQ_GOV_PRESERVATIVE
select CPU_FREQ_GOV_PERFORMANCE
help
Use the CPUFreq governor 'preservative' as default. This allows
you to eat jam.

...

config CPU_FREQ_GOV_PRESERVATIVE
tristate "'preservative' cpufreq governor"
depends on CPU_FREQ
help
'preservative' - this driver is good in cakes

If in doubt, say N.

If not in doubt, say N.

drivers/cpufreq/Kconfig

lel I hope you like cake
[One (M7) Original Android Development] poondog:
Check your pm mate :) in a few mins
[One (M7) Original Android Development] dictionary:
Also:
[One (M7) Original Android Development] poondog:
[/QUOTE]

Idk if it needs to be hooked. It seems CPU boosts in touch input

This is from me surfing XDA, chrome and playing around in trickster
[One (M7) Original Android Development] dictionary:
Seems to be great for me. Tapatalk, web browsing, hangouts, and streaming audio.
[One (M7) Original Android Development] superleeds27:
Ill be willing to test ;)
[One (M7) Original Android Development] poondog:
I am uploading tomorrow :) all is good so far hehe
[One (M7) Original Android Development] superleeds27:
Ahhh. Tomorrow is ages away! Need something to fill my afternoon up! haha
[One (M7) Original Android Development] poondog:
Fill tomorrow afternoon :) maybe today you can go for a walk

Or visit a club and rave
[One (M7) Original Android Development] dwxvi:
Is the link for the AOSP version of your kernel up yet? I can't find it. :confused:
[One (M7) Original Android Development] Headless96:
http://xdaforums.com/showpost.php?p=51254565&postcount=1339
[One (M7) Original Android Development] herwegan:
will you add preservative governor for joey kernel too? looks interesting...
[One (M7) Original Android Development] poondog:
I am done with Joey sorry, I am concentrating now on AOSP kernel and when sense sources are out my time will go into that

I do not have joey sources on my pc at the moment because it had problems I had to format the whole thing :(

But, if it proves good enough it might make it into Kangaroo 4.4.2 sense kernel
[One (M7) Original Android Development] herwegan:
So next kernel for 4.4.2 sense 5.5 will come when htc releases the sources?
[One (M7) Original Android Development] Ktan188:
By then it will be too late because most of us would probably move on to 4.4.2 Sense 6 lol
[One (M7) Original Android Development] poondog:
yep

well Sense 4.4.2, because it will work on Sense 6 port from m8 as well :good:

Sense 6 Sixth Sense is using the 4.19 kernel in it, stock from sense 5.5 with ramdisk changes
[One (M7) Original Android Development] herwegan:
Yeah that was my thought too..
[One (M7) Original Android Development] poondog:
Why would you think that :P

UPDATE: AOKP-joey (AOSP ONLY)

Changelog: v007

.Patch to 3.4.83 (latest from kernel.org)

.BOARD: throttle device earlier to stop being hot at times

.Increase BUS (RAM) freqs at lower L2 clocks for increased performance

.slimBUS OC (Me/Zeroinfinity)

.msm: memutils: memcpy, memmove, copy_page optimization (motorola)

.device updates from CM to display, touch, battery, performance (CM)

.fix slow wakeup

.msm: memutils: memcpy, memmove optimization (moto)

.DEFCONFIG: enable advanced tcp algorithms and set westwood default

.Slimmed down defconfig HEAPS to reduce kernel size

.sched/debug: disable sched debug sysrq by default - increase performance

.xsched: Optimize build_sched_domains()

.ARM: 7495/1: mutex: use generic atomic_dec-based implementation

.block: introduce the BFQ-v7r2 I/O sched for 3.4 with Early Que Merge feature (set as default)

.Introduce preservative governor for those who asked for it for SO LONG (I like it :D)

Many optimizations and improvements.. you'll have to try to find out :P this is as fast as it gets..

yeah a lot of changes.............the changelog is merely a stripped version (I tried to translate to normal english lol) of git

AOKP_007.zip - 5.47 MB

Enjoy :)
[One (M7) Original Android Development] Black-FR:
i would say, i also should be able to uv the Same values with other kernels.

But i didn't try it, as i never did lock my One to 1500mhz, with other kernels.

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] lerx:
This kernel is not bad! And also it reduces the device heat so it is more pleasant to use! Thanks :)
[One (M7) Original Android Development] Magpir:
Is this a bug? When from full charge the battery drains fast to 97% ? Then keep draining to 80%? Nvm I will do a calibration
[One (M7) Original Android Development] miten_sheth:
It is a known bug for all ones I think.. . When the charging shows 100%.. Switch off the charger and switch it back on.. Then keep doing that till which ever percent you want to charge your phone.. And if you don't want to do that. Switch your phone off and charge..
[One (M7) Original Android Development] joni2012:
Hello to when kernel 4.4 sense? A greeting and thanks

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] poondog:
Battery percentage is always an estimation

It's never 100% correct. It's because of how they work
[One (M7) Original Android Development] Magpir:
I only had this once one another Rom. But maybe it could be just how the battery reports charge in different roms and kernels

---------- Post added at 06:49 AM ---------- Previous post was at 06:17 AM ----------

Ok just did the plug and unplug charging method to get the battery behave right . 6 mins on WiFi = 1% drain . That's what I get now . In line with the gsmarena battery backup test
[One (M7) Original Android Development] poondog:
Its not WiFi drain its because it's inaccurate

I haven't touched charge drivers, apart from adding fast charge which isn't active by default
[One (M7) Original Android Development] Magpir:
Thanks, for the clarification,

---------- Post added at 07:14 AM ---------- Previous post was at 07:00 AM ----------

I heard that deadline is best for undervolting cpu. How true is this??
[One (M7) Original Android Development] poondog:
I do not believe that is true at all. Where did that come from? As far as I know, they are not related. To my understanding that is like saying your car stereo will sound better if you have a supercharger
[One (M7) Original Android Development] Magpir:
Recalled reading in another forum
[One (M7) Original Android Development] poondog:
hmm, never heard of it before. Sounds odd to me
[One (M7) Original Android Development] Magpir:
Nvm though
[One (M7) Original Android Development] Magpir:
So what will the next update include?
[One (M7) Original Android Development] poondog:
Smartmax

a bunch of smpboot and stop_machine changes (under the hood so to speak)

kexec-hardboot support
[One (M7) Original Android Development] Magpir:
excited, can explain what these terms means?
[One (M7) Original Android Development] poondog:
Smartmax--> smartmax governor

smpboot and stop_machine changes--> code optimizations pulled from upstream linux/CAF

kexec-hardboot support--> multirom

Guys serious question.. finish 4.3 sense kernel? Or start on 4.4.2 kernel source for GPE? idk, I kinda want to try GPE
[One (M7) Original Android Development] janarp:
no.. stay on 4.3.. =)=) or i have to try GPE also.. =) lol
[One (M7) Original Android Development] poondog:
aha yeah maybe, or I could make a "lite" version possibly :P Wanna test the new one? :D See if the new optimizations are for better or worse
[One (M7) Original Android Development] donmarkoni:
Well, isn't it obvious? ;) ViperOne is your daily ROM, right? :cool:
[One (M7) Original Android Development] superleeds27:
Working great on AOKP.

Has anyone tried this on AICP?

The issue with AICP and MPDecision kernels is.

'We disable mpdec Ramdisk sided. So if u flash another kernel that doesn't inject mpdec start in Ramdisk u miss hotplug. So No wonder everything is online the whole time. Lunar kernel needs to inject this.. Or u write ur self a script that inject it or u take cm Ramdisk and repack It with Lunar zimage .' - AICP ROM