Post Reply

[Kernel] ButteredToasT ICS RLS18 | Linux 3.0.101 | linaro 4.7 -O3 | otg | HTC beats

OP bigwillyg

9th October 2012, 04:51 AM   |  #1  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,333
 
2,134 posts
Join Date:Joined: Mar 2011
Donate to Me
More
ButteredToast (Buttery smooth and extremely wicked)

CDMA/GSM Ice Cream Sandwich, sense 3.6, 4.x, AOSP

Be Gentle folks: This is my first kernel rodeo after many months of studying how the great ones do it.I hope you like it, if you dont then theres the door (figuratively).

Toolchain/Compiler: linaro 4.7.3

REPO -> https://bitbucket.org/bigwillyg/buttered_toast_shooter

KERNEL SENSE -> ButteredToast Final Version

Sweet kernel -O3 optimized for linaro 4.7.3 compiler (dont ask how, my head still hurts)

Changelog: Changelog is in post #2

Credits: Starting with CG/KeRnElChEf because he is my mentor/tutor/handholder and aside from the enormous obvious contribution, his constant assistance and teaching through out this experience. With out his help I never would have attempted this.
- Johhnyslt
- Faux123 (this equation: (4*HZ+61), the dynamic enhancement of f/sync)
- showp1894 (cmdline options, original cypress version sweep2wake - used as base by CG to write it for AMTEL)
- kernel.org
- CAF
- F2FS article from https://lwn.net/Articles/518718/
- MikeC84
- Ziggy471 (lagfree / smartass)
- Dodava
- Linaro
- creator of BFQ - i have no idea
- creator of SIO - i have no idea
- creator of VR - i have no idea
- developer of LZO
- yank555-lu (first with fast charge, adjust LED timeout via sysfs)
- chad0989 (improved on fast charge)
- Cjoliver
- Anryl
- Agrabren (CM10 cam fix)

If it works well for you GREAT!!! If not Please let me know, logcats for errors are preferred.

Mods: since this is my first thread of this kind, please let me know if I am missing any required info from this post.
Last edited by bigwillyg; 1st July 2014 at 07:06 AM.
The Following 131 Users Say Thank You to bigwillyg For This Useful Post: [ View ]
9th October 2012, 04:53 AM   |  #2  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,333
 
2,134 posts
Join Date:Joined: Mar 2011
Donate to Me
More
CHANGELOG
Code:
 - RLS18-FINAL:
     PATCH: Patch to LInux 3.0.101
     FS: added ExFat support for SDCARD

 - RLS17.9:
     PATCH: Patch to Linux 3.0.96

 - RLS17.7:
     PATCH: Patch to Linux 3.0.84
     CPU: updated interactive governor from CAF msm-3.4, thanks mrg666 for the tip.
     SCHED: updated ROW scheduler from CAF msm-3.4, thanks mrg666 for the tip.

 - RLS17.6:
     PATCH: Patch to Linux 3.0.80
     CPU: updated interactive gov (thanks mrg666 for the tip)
     WIFI: updated wifi components to improve stability (thanks mrg666 for the tip)

 - RLS17.5:
     PATCH: Patch to Linux 3.0.77
     SCHED: tried to tweak ROW per johhnyslt's repo to try and get it to work better.

 - RLS17.4:
     PATCH: Patch to Linux 3.0.74
     PATCH: Patch to HTC 2.95 Source 
     
 - RLS17.3:
     PATCH: Patch to linux 3.0.72
     SCHED: added ROW IO Scheduler
     MPDEC: sysfs support for max screen off cpu clock added (Chad Goodman all the way, love this guy)
     FIX: file ext4 compile errors (Chad Goodman
)
 - RLS17.2:
     SCHED: was missing a setting to enable power manager.
     READAHEAD: was missing a ';', fixed.

 - RLS17.1:
     PATCH: Patch to linux 3.0.71
     Dynamic Readahead from Chad Goodman
     AROMA: added 1.6 and 1.7Ghz as selections in aroma. 

 - RLS17:
     RNG: added frandom support, you will need to install crossbreeder or similar to use.
     CPU: linaro power patch. Even though its openly available, I got it from Chad Goodman.
     CPU: corrected the CPU table and documented each line for clarity (Thank you chad for info)

 - RLS16.5:
     PATCH: Patch to Linux 3.0.70

 - RLS16.4:
     PATCH: Patch to Linux 3.0.69

 - RLS16.3:
     PATCH: Patch to LInux 3.0.68

 - RLS16.2:
     PATCH: Patch to Linux 3.0.67

 - RLS16.1:
     PATCH: Patch to Linux 3.0.65

 - RLS16:
     USB: OTG works again.
     CPU: xondemand works.
     PATCH: Patch to Linux 3.0.63

 - RLS15.3: (broken, dont use it)
     XZ: got it working (thanks thicklizard)

 - RLS15.2:
     PATCH: patch to linux 3.0.62
     XZ: added xz compression to kernel.

 - RLS15.1: 
     BLUETOOTH: reverted patch for bluetooth wakelock since issues appear to have started after I applied it.

 - RLS15:
     CPU: added xondemand cpu governor (thanks to chad for providing the missing piece(s) and Anryl sharing his source as an example)

 - RLS14.5:
     PATCH: Patch to Linux 3.0.61

 - RLS14.4:
     PATCH: Patch to Linux 3.0.58

 - RLS14.3:
     PATCH: Patch to Linux 3.0.57 
     had to revert the patch for the 3D clock. doesnt need it 

 - RLS14.2: 
     FREQ: raised default frequency from 1188 to 1350, can still be changed in aroma
     DEVICE: patch from Chad Goodman to help prevent (gfx2d1_clk status stuck at 'off') errors

 - RLS14.1: 
     PANEL: changed brightness back to 3 since 1 didnt work.
     PATCH: patch to linux 3.0.56

 - RLS14: Birthday Edition
     PATCH: patch to linux 3.0.54
     PANEL: lowered minimum brightness to 1 to see if it works.
     BT: bluetooth wakelock fix from agrebren, courtesy of Dastin1015
     AROMA: added back camera driver option in installer.

 - RLS13.6:
     PATCH: patch to linux 3.0.53

 - RLS13.5:
     PANEL: added some missing changes for brightness on the shooteru side.

 - RLS13.3: 
     PANEL: added the brightness fix to shooteru because I missed it before. no change for CDMA.

 - RLS13.2:
     PATCH: Patch to linux 3.0.52
     PANEL: adjusted brightness calculation to better sense lowest brightness (thanks to Anryl for help)

 - RLS13.1:
     PATCH: Patch to linux 3.0.51
     AROMA: updated the aroma config to remove the sense vs aosp option and other changes borrowed from CG.

 - RLS13 :
     SWEEP2WAKE: updates to the driver to allow config via aroma 

 - RLS12.2:
     fixed version number and updated to the linaro 4.7.3 toolchain

 - RLS12.1:
     patch to linux 3.0.50

 - RLS12: 
     PATCH: patch to linux 3.0.49
     TOUCHSCREEN-ATMEL: cm multitouch fix (seems to not affect sense) (Agrebren)

 - RLS11.1:
     FRAMEBUFFER: refreshrate override - may help with some sense 4.x lag

 - RLS11:
     VM: lower SYSCTRL latency values to help reduce lag (shooter_u)
     VM: lower latency values to help reduce lag
     VM: increase default MAX read-ahead
     OOM: dont kill kernel threads
     DEFCONFIG: update defconfig files for stability
     MENUCONFIG: add 'targeted preemption latency for CPU-bound tasks' to menu config
     FIX: fix typo, we actally want this to compile

 - RLS10:
     VM: Add Common VM Settings to MENU CONFIG (thanks Chad) 

 - RLS09: 
     Patched to Linux 3.0.48 (kernel.org)

 - RLS08: 
     Patched to Linux 3.0.47 (kernel.org)

 - RLS07: (Thanks CG for the making this possible, no kanging please, give credit)
     CAMERA: allow for CM10/AOSP compatibility alongside sense 3.6/4.0
     SYSFS: add misc sysfs interface for rom type (aosp/sense for example)
     DEFCONFIG: gsm and cdma need same name for COMMON modules to work
     DEFCONFIG: update defconfig for linaro topology drivers
     CPU: linaro arm topology drivers

 - RLS06:
     BLUETOOTH: made it work with sense and aosp roms (CG, thanks for the fix)

 - RLS05:
     CM10 camera fix (agrabren/anryl)
     CPU: rename cpu info
     BOARD: name device
     CPU: make use of faster L2 (and FSB) clocks
     L2: add 1458, 1512, 1566 L2 Clocks, and set 1404 and over to 360MHz FSB
     FSB: define 360MHz FSB
     GPU: set GPU clock defaults to max, so aroma has full control
     GPU: dont OC by default, allow SYSFS contol over max clock

 - RLS04:
     GENERAL: fixed shooteru directory names in zip
     CAM: applied camera fix in separate build for CM10/AOSP

 - RLS03:
     DEFCONFIG: had to manually patch shooter_defconfig, last commit didnt complete
     DEFCONFIG: upload autogen defconfig files for CDMA and GSM
     PATCH: patch to linux 3.0.46
     SCHED: prepare for ROW IO scheduler
     SCHED: add BFQ IO scheduler
     FLASH: reduce battery level requirements for FLASH
     WIFI: undervolt wifi card to whitepaper spec
     BOARD: add thermald support to device specific files board files
     ARM: use generic strnlen_user and strncpy_from _user
     CRYPTO: add support for AES128+SHA1 encryption/decryption
     NET: add JIT compiler for packet filters
     SCHEDULER: set LOAD_FREQ to (4*HZ+61)
     SCHEDULER: disable GENTLE_FAIR_SLEEPERS
     CPU: kernel based thermal management
     CPU: kernel based MPDECISION
     CPU: raise PERFLOCK clocks to 1.5Ghz
     ZCACHE: update ZCACHE drivers
     ZRAM: update ZRAM drivers
     COMPRESSION: add support for Google snappy decompression/compression
     IO SCHED: add simpleio IO scheduler
     IO SCHED: add VR IO scheduler
     CPU: add smartass v2 cpu governor
     GSM support
                
 - RLS02: PATCH: patch to linux 3.0.45 (kernel.org)

 - RLS01: PATCH: patch to linux 3.0.44 (kernel.org)
     FILESYSTEM: added F2FS
     PATCH: ck-1 patchset
     ATMEL: SWEEP2WAKE: enhance driver, add ABOUT to sysfs
     F/SYNC: make f/sync dynamic -vs- straight on/off via sysfs
     THERMAL: reset some variables to pull maxclock setting from aroma vs kernel default
     IO: add BFQ i/o scheduler
     IO: add SIO i/o scheduler
     IO: add VR i/o scheduler
     BCM4329_248: undervolt wifi chipset to whitepaper spec
     CPU: add ZIGGY471s custom LAGFREE governor
     enable cmdline options
     LED: dynamic LED brighness mod
     CPU: update cpu core clock control
     HEADSET: limit all notifications to single-thread
     AROMA: add kernel side support for aroma installer
     THERMAL: adjust sensor ID for CDMA
     LINARO: MM: linaro specific tweaks/updates
     CPU: clean and name tables, allow OC to 1.7GHz
     MPDECISION: kernel based mpdecision
     PANEL: lower min-brighness from 30 down to 2
     INPUT: sweep-2-wake for amtel (shooter/shooter_u)
     CDMA BOARD: adjust min/max voltage for cpu, ram, and l2 cache
     LZO: update to latest version of LZO driver
     CPU Vdd: adjust min/max voltage for cpu, ram, and l2 cache
     CPU: allow SYSFS (userspace) control over cpu voltage
     SCHEDULER: disable GENTLE_FAIR_SLEEPERS
     SCHEDULER: set load_freq to 4.61
     BCM4329_248: allow weaker signals to be seen
     BCM4329_248: add sysfs control over pm=fast vs pm=max
     GPU: allow sysfs (userspace) control over MAX GPU CLOCK (not current clock), and set default max clock
     BATTERY: allow sysfs control over usb charge mode (fastcharge)
     LED: allow sysfs/userspace control over led notification timeout
     GPU-2D: help prevent gfx2d0_clk (or gfx2d1_clk) status stuck at 'off'
     GPU-2D MHL: add GPU clocks 266, 228 to the STOCK 200MHz and idle at 200MHz clocks
     GPU-2D: add GPU clocks 266, 228 to the STOCK 200MHz and idle at 200MHz clocks
     GPU-3D: set GPU clock to 320, 300, 266, 228MHz and idle at 200MHz
     CPU: Allow CPU-based alignment handling
     USB: add support for usb host mode / otg
     VFP: compile vfp for neon
Last edited by bigwillyg; 1st July 2014 at 07:08 AM.
The Following 41 Users Say Thank You to bigwillyg For This Useful Post: [ View ]
9th October 2012, 04:53 AM   |  #3  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,333
 
2,134 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Buttered ToasT Kingdom: it's buttered toast but for the HTC kingdom (HTC Evo design 4G/hero s)

THIS IS ONLY FOR EVO DESIGN 4G OR HERO S!

Rls1 is stock but compiled with linaro using -O3.
Rls2: updated to Linux 3.0.61
Rls3: updated to Linux 3.0.62, added optimizations (thanks chad) and overclocking (thanks 2fast4u88)
Rls4: added missing config to turn on overclocking.

RLS5:
PATCH: Patch to linux 3.0.64
BOARD:Lower sd slot, wifi, wimax power & remove files, CONFIG: add Jesus Phone setting and 1.8GHz setting (OC is a WIP)
CONFIG: remove perflock and add config for overclocking
DEFCONFIG: update defconfig for linaro topology drivers
CPU: Linaro ARM Topology Drivers
SCHED: add BFQ IO scheduler
CRYPTO: add support for AES128 + SHA1 encryption-decryption
NET: add JIT compiler for packet filters
SCHEDULER: set LOAD_FREQ to (4*HZ+61)
SCHEDULE: disable GENTLE_FAIR_SLEEPERS
ZCACHE: update ZCACHE drivers
ZRAM: update ZRAM drivers
COMPRESSION: add support for GOOGLE's SNAPPY decompression-compression
SCHED: add SimpleIO scheduler
SCHED: add VR IO scheduler
CPU: add SmartAss V2 and LAGFREE cpu governors
ARM: use optimized RWSEM algorithm
SWAP: add support for FUDGESWAP
AUDIO: add support for external USB attached DAC devices
BCM4329_248: allow SYSFS control over PM=FAST-PM=MAX
WIFI: add support for bcmdhd drivers with sysfs control over pm=fast-pm=max
SHA-1: use git implementation of SHA-1
LZO: update to latest version of LZO driver
PATCH: CK1 patch
CPU: Allow CPU-based alignment handling
- RLS6:
PATCH: Linux 3.0.65
XZ: add xz to the kernel.
- RLS6.1:
.....CPU: xondemand is now available.
- RLS7:
PATCH: Patch to Linux 3.0.77
CPU: smartassv2, lagfree are back.

Fun stuff from buttered toast shooter will come with time.

REPO -> https://bitbucket.org/bigwillyg/buttered_toast_kingdom

KERNEL SENSE -> ButteredToast_Kingdom-RLS7.zip

Instructions for first time flashing of evo design kernel are here:

SDX Buttered Toast Thread
Last edited by bigwillyg; 9th May 2013 at 06:59 AM.
The Following 16 Users Say Thank You to bigwillyg For This Useful Post: [ View ]
9th October 2012, 04:53 AM   |  #4  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,333
 
2,134 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Here are the settings that I personally pick in aroma:

Governor: ondemand
Min cpu: 384
Max cpu: 1512
Max scr off: 540
S2w: enabled with back light
S2w start: home
S2w end: search
Scheduler: deadline

12/03/2012: With RLS14 and newer, the option for selecting sense vs aosp camera is back. This option is for older base aosp/cm10 roms that still use the aosp camers drivers.

If I missed any settings let me know. Most of these are the defaults, but they are all what I personally choose.
Last edited by bigwillyg; 4th December 2012 at 07:53 AM.
The Following 14 Users Say Thank You to bigwillyg For This Useful Post: [ View ]
9th October 2012, 05:03 AM   |  #5  
NineInchNails's Avatar
Senior Member
Flag Minnesota
Thanks Meter: 5,491
 
3,461 posts
Join Date:Joined: Jan 2011
Donate to Me
More
First

Great work man.

Sent from my shooter using Tapatalk 2
Last edited by NineInchNails; 9th October 2012 at 05:14 AM.
The Following 2 Users Say Thank You to NineInchNails For This Useful Post: [ View ]
9th October 2012, 05:09 AM   |  #6  
borito24's Avatar
Senior Member
Thanks Meter: 117
 
151 posts
Join Date:Joined: Mar 2012
Nice!

Sent from my PG86100 using Tapatalk 2
The Following User Says Thank You to borito24 For This Useful Post: [ View ]
9th October 2012, 05:17 AM   |  #7  
felacio's Avatar
Senior Member
Flag Salem
Thanks Meter: 935
 
2,084 posts
Join Date:Joined: Apr 2007
Donate to Me
More
Dude!.... Nice. Downloading now. I know where youre coming from so I am very interested in this.!

Sent from my PG86100 using Tapatalk 2
Last edited by felacio; 9th October 2012 at 05:24 AM.
The Following User Says Thank You to felacio For This Useful Post: [ View ]
9th October 2012, 05:19 AM   |  #8  
Senior Member
Flag Nashville
Thanks Meter: 197
 
809 posts
Join Date:Joined: Feb 2008
More
Nice to see more kernels here.

Edit: I just installed this kernel, performance feels pretty good. I'll give it a couple of days and see how battery does.
Last edited by alammori; 9th October 2012 at 05:36 AM.
The Following User Says Thank You to alammori For This Useful Post: [ View ]
9th October 2012, 05:26 AM   |  #9  
proxhack's Avatar
Senior Member
Flag Silicon Valley
Thanks Meter: 56
 
322 posts
Join Date:Joined: Jun 2007
More
Thank you and great job.
The Following User Says Thank You to proxhack For This Useful Post: [ View ]
9th October 2012, 05:58 AM   |  #10  
rose2jam's Avatar
Member
Flag seattle, wa
Thanks Meter: 7
 
75 posts
Join Date:Joined: Sep 2010
More
Great job on ur first kernal.. can you please provide a quick list of hboot it will work with. Thanks be helpful for us new comers

long time lurker... read search try again

The Following 2 Users Say Thank You to rose2jam For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
ics, kernel, shooter
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in EVO 3D CDMA Android Development by ThreadRank