{KERNEL}SiliconValley(11-2-15)

Search This thread

Keasby

Senior Member
Jul 2, 2010
483
177
Tried to flash latest build on latest dirty unicorns 9.8, but it won't boot :/
Any ideas? Thanks in advance

Gesendet von meinem One mit Tapatalk
 

AcidNoteZ

Senior Member
Sep 10, 2015
520
236
Wiesbaden
I get 50% battery drain over night because of kernel wakelocks :(
Everything is fine, no cpu wakelocks no screen wakelocks.
Only massive kernel wakelocks.
 

Attachments

  • 1448272876740.jpg
    1448272876740.jpg
    109.6 KB · Views: 312

Grassinator

Senior Member
Jan 24, 2012
119
57
Long Island, NY
No Cell Service

Have tried both your 11-2-15 as well as your latest Beta variant of this kernel. The 11-2 version appears more stable as the beta crashes multiple apps upon startup causing a reboot. I have included a logcat a well as last_kmsg for us to troubleshoot this issue. If you require anything further please let me know. Thank you VERY MUCH PattyBoi for keeping our M7 alive! ;)
 

Attachments

  • last_kmsg.txt
    157.7 KB · Views: 5
  • logcat.txt
    398.6 KB · Views: 8
Last edited:

9Lukas5

Senior Member
Dec 14, 2010
3,914
2,076
near Stuttgart
Hey, do you plan any update on the next time and will you make a MM version if cm13 official nightlies are launched?
L

Gesendet von meinem HTC One m7
 

jekk0s

Member
Nov 24, 2014
18
17
Hey, do you plan any update on the next time and will you make a MM version if cm13 official nightlies are launched?
L

Gesendet von meinem HTC One m7
I've customized this kernel a bit, tweaked it with the following

This is a post containing a link to my kernel build for

AOSP m7 cm-12.1
Based on AGK v1.71 (containing all the wake gestures: sweep2wake, logo2menu, double tap to wake)
F2FS support from latest msm8960 repo on cm-12.1
GCC KBUILD_CFLAGS tweaks from SiliconValley kernel (oodles of optimizations)
Using SiliconValley initrd (ramdisk)

- cpu governors: plenty of them: intellidemand, ondemand, interactive, smartass, smartassV2, ...
- mpdecision, intelliplug, ecomode tweaks
- gives more than 36 hours of battery life on a moderately used phone!!

install using fastboot: sudo fastboot flash boot jekkoskrnl.img

download link: bit.ly/1IjAEGw
 
  • Like
Reactions: 9Lukas5 and qkall
Apr 12, 2015
41
6
I've customized this kernel a bit, tweaked it with the following

This is a post containing a link to my kernel build for

AOSP m7 cm-12.1
Based on AGK v1.71 (containing all the wake gestures: sweep2wake, logo2menu, double tap to wake)
F2FS support from latest msm8960 repo on cm-12.1
GCC KBUILD_CFLAGS tweaks from SiliconValley kernel (oodles of optimizations)
Using SiliconValley initrd (ramdisk)

- cpu governors: plenty of them: intellidemand, ondemand, interactive, smartass, smartassV2, ...
- mpdecision, intelliplug, ecomode tweaks
- gives more than 36 hours of battery life on a moderately used phone!!

install using fastboot: sudo fastboot flash boot jekkoskrnl.img

download link: bit.ly/1IjAEGw

It's preety good kernel , but wake gestures doesn't work. when i turn them on in kernel auditor/trickster mod, they revert to default :/
 

jekk0s

Member
Nov 24, 2014
18
17
Yes they do work, but setting might fail due to /system not being readwrite? This seems to be a common problem in trickster.
I added init files manually in /etc/init.d and wake gestures work fine. In this casecreate a file as follows in adb shell as root

mount -o rw,remount /system
cat << EOF > /etc/init.d/01-h2w
#!/system/bin/sh
echo "1" > /sys/android_touch/doubletap2wake
EOF


Btw double tap to wake is only active on lower part of the screen. Think this is better as pocket wake protection drains more battery having it enabled on the whole screen.
 
Last edited:

pattyboi:)

Senior Member
Aug 5, 2013
2,032
2,395
charleroi PA
Yes they do work, but setting might fail due to /system not being readwrite? This seems to be a common problem in trickster.
I added init files manually in /etc/init.d and wake gestures work fine. In this casecreate a file as follows in adb shell as root

mount -o rw,remount /system
cat << EOF > /etc/init.d/01-h2w
#!/system/bin/sh
echo "1" > /sys/android_touch/doubletap2wake
EOF


Btw double tap to wake is only active on lower part of the screen. Think this is better as pocket wake protection drains more battery having it enabled on the whole screen.

as far as i know you cant independently power parts of a touchscreen,it can disable certain area so they wont register as touches but the whole thing still has power
 

jekk0s

Member
Nov 24, 2014
18
17
You're right, but that's not what I meant. The fact that the code that detects the double tap ignores the rest of the screen, allows one to disable the pocket wake, as double tap will only light up the screen once the correct spot is tapped twice.. I found this more reliable and see a lot less spurious wakeups (without pocket wake) when I carry the phone.

as far as i know you cant independently power parts of a touchscreen,it can disable certain area so they wont register as touches but the whole thing still has power
 

9Lukas5

Senior Member
Dec 14, 2010
3,914
2,076
near Stuttgart
@jekk0s I flashed your kernel and running it currently.
What I like compared to SiliconValley are the added frequency steps on the lower side, that's great for saving battery, the option for scheduling tasks on possibly less cores, and the sound options to adjust the volume.
L

Gesendet von meinem HTC One m7
 

jekk0s

Member
Nov 24, 2014
18
17
@jekk0s I flashed your kernel and running it currently.
What I like compared to SiliconValley are the added frequency steps on the lower side, that's great for saving battery, the option for scheduling tasks on possibly less cores, and the sound options to adjust the volume.
L

Gesendet von meinem HTC One m7

Ok thanks from my part I've also merged in some F2FS improvements, and did a reformat of the /data for this filesystem. All of this running smoothly atm. Also the bfq io scheduler from cyanogenmod was integrated (isn't available in any other m7 kernel at this time)
 
Apr 12, 2015
41
6
Yes they do work, but setting might fail due to /system not being readwrite? This seems to be a common problem in trickster.
I added init files manually in /etc/init.d and wake gestures work fine. In this casecreate a file as follows in adb shell as root

mount -o rw,remount /system
cat << EOF > /etc/init.d/01-h2w
#!/system/bin/sh
echo "1" > /sys/android_touch/doubletap2wake
EOF


Btw double tap to wake is only active on lower part of the screen. Think this is better as pocket wake protection drains more battery having it enabled on the whole screen.

Well, that's the reason. I tried type 2 in screen wake for whole screen. I entered 1 and it works correctly.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    hey guys,i noticed that there is not many kernels supporting caf kernel based roms (CM/Vanir series of roms),so im changing that.
    this is my person kernel ive been building for vanir (i run nuke's nightlies,but also switch to exodus and DHO's builds).
    lets get to the features:
    built with linaro 4.9 optimized for cortex a15 with oodles of gcc optimizations
    conservative kgsl policy,uses lower frequencies more often and behaves better than trustzone,which in turn creates less heat from the gpu and mitigates power loss due to ramp ups in frequency
    conservative mpdecision with frequency controls
    tweaked for smoothness
    all krait memutils optimizations and optimized memmove and memset
    optimized ioschedulers
    uksm with decimalmans optimizations
    undervolted slightly by default for less heat
    overclocked l2 cache & gpu & bus & i2c & cpu
    fixed i2c frequencies
    f2fs support
    wake gestures
    motley's enhanced thermal
    and ALOT of arm specific optimizations​
    i suck at ops lol,but id like to thank everyone in my github commit history,i mostly do my thanks on there,but a big thanks to decimalman and tommy-geenexus whos work are really the key parts of my builds,also thanks to poondog for his work gives me a lot to research and learn from,and again thank you to everyone in my git history,i couldnt do anything you guys have.
    just flashing the zip should suffice for installation,BUT CHECK YOU SYSTEM/BIN FRO THERMALD AND MPDECISION,if they are still there either rename them with .bak at the end or delete them,ESPECIALLY THERMALD,it WILL cause reboots and sods and MANY other problems if not disabled.


    XDA:DevDB Information
    {KERNEL}SiliconValley(8-30-15), Kernel for the HTC One (m7)

    Contributors
    pattyboi:)
    Source Code: https://github.com/pattyboi/SiliconValley/commits/L5

    Kernel Special Features:

    Version Information
    Status: Beta

    Created 2015-08-11
    Last Updated 2015-08-30
    9
    new builds are up:)
    these new builds ive been doing and working with have been way better on battery and heat than before,so heres the rundown:
    rebased the whole kernel from the start, i tried just forking cm's kernel but it completely refused to work with me,so instead i pulled the updates we needed from cm (which were rather substantial)
    so we now have the latest gpu drivers and the updated panel code from cm which (the gpu drivers atleast) helped performance quite a bit
    also,we have better scheduler settings which should be better on battery while maintaining great performance over long use
    killed ALOT of useless debug crud
    switched back to linaro 4.9 as it seems to be alot more stable and easier on battery and 5.2 was always producing some weird compiling bugs from the start
    removed erandom as it was causing the random reboots,battery drain and heat as it was incorrectly generating entropy,so now we dont have as much entropy,but i have pulled in commits that will help generate fast entropy numbers without risking stability
    auto hotplug is too aggressive in its current state,and was acting weird at times,once DecimalMan updates it/looks into it again i may re-add it as it is very lightweight but for now we use msm_hotplug tuned by zeroinfinity to be better on battery
    pulled in all motorola kernel commits (not all the commits from the new kernels as we have a very different base) which should help battery
    and finally,just ditched useless commits and wastless things i had included last time around
    bln and tap to wake may return and i have to pull f2fs back in,so dont flash unless your ext4,if theres no issues with this ill have a f2fs release up in a couple days

    enjoy!
    7
    new build is go,rebased from cm,brought in all my previous CLEAN changes,than reworked anything else in manually,this released (in my personal feeling) is awesome. power consumption is great,performance is superb,f2fs is good to go & so are wake gestures :)
    7
    Once I get home its all yours boys. Merged everything killed debug and added 1.8 GHz CPU,1.3 GHz l2 ,improved the GPU oc,over clocked i2c driver...new toolchain,new optimizations,improved mpdecision,only lost 40 % in my whole day where normally I lose 60/70% (I use spotify,kik,snap chat,4g lte all day with messaging and calls and pictures)
    5
    Thank you! Your work has been a very big part of me learning my way around the device!

    Good to hear. If you need anything don't be afraid to contact me :good: