FORUMS
Remove All Ads from XDA

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

2,248 posts
Thanks Meter: 2,359
 
By bigwillyg, Senior Member on 14th October 2012, 12:27 AM
Post Reply Email Thread
ButteredToast (Butter 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 there's 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 (initial CM10 cam fix)
- Eli Billauer (frandom)

If it works well for you GREAT!!! If not Please let me know, logcats for errors are preferred.
The Following 105 Users Say Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
 
 
14th October 2012, 12:29 AM |#2  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,359
 
Donate to Me
More
CHANGELOG
Code:
- RLS18-FINAL:
     PATCH: Patch to Linux 3.0.101
     FS: Added ExFat SDCard support

- 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 governor (thanks mrg666 for the tip)
     WIFI: updated wifi for improved stability (thanks mrg666 for the tip)

 - RLS17.5:
     PATCH: Patch to Linux 3.0.77
     SCHED: tweaked ROW per johhnyslt's repo to try and get 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
     BT: shooter_u bluetooth fix from johhnyslt

 - 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 again
     PATCH: patch to LInux 3.0.63

 - RLS15.3: (Broken, dont use)
     XZ: enabled and working (thanks thicklizard)

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

 - RLS15.1:
     BLUETOOTH: reverted bluetooth wakelock patch since issues started after applying it.

 - RLS15:
     CPU: added xondemand cpu governor (thanks to chad for providing the missing piece(s) and Anryl for 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 drivers option in installer

 - RLS13.6:
     PATCH: patch to linux 3.0.53

 - RLS13.5:
     PANEL: added more missing changes to shooteru side for brightness.

 - RLS13.3: 
     PANEL: forgot to add this change to shooteru. 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.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

 - RLS08: 
     Patched to Linux 3.0.47

 - 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
The Following 51 Users Say Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
14th October 2012, 12:30 AM |#3  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,359
 
Donate to Me
More
Major updates
10-13-2012 RLS03 adds support for GSM

10-14-2012 RLS04 adds for camera in CM10/AOSP (separate zip for now)

10-17-2012 RLS06 bluetooth works with sense and aosp roms (CG, thanks for the fix)

10-20-2012 RLS07 no separate builds, camera works with both sense and aosp/cm10 (CG, thanks for kernel/aroma help)
DO NOT KANG THIS FIX!!! IF YOU USE IT CREDIT CG, HE MADE IT WORK LIKE THIS

10-29-2012 RLS12 TOUCHSCREEN-ATMEL: cm multitouch fix (seems to not affect sense) (Agrebren)

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

11-05-2012 RLS13.1 AROMA: updated the aroma config to remove the sense vs aosp option and other changes borrowed from CG.

12-03-2012 RLS14 AROMA: added back camera drivers option in installer
BT: wakelock fix from agrabren, courtesy of Dastin1015.

01-25-2013 RLS15 CPU: added xondemand governor (Thanks chad for providing the missing piece(s) and Anryl for sharing his source as an example)

02-03-2013 RLS15.1 BT: reverted agrabren bluetooth wakelock fix from RLS14.

02-13-2013 RLS 16 USB: OTG works
CPU: xondemand works again

04-08-2013 RLS17.3: SCHED: added ROW
MPDEC: sysfs for max screen off cpu clock (Chad Goodman)
The Following 30 Users Say Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
14th October 2012, 12:31 AM |#4  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,359
 
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.
The Following 22 Users Say Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
14th October 2012, 12:57 AM |#5  
szubert51's Avatar
Senior Member
Flag Lodz
Thanks Meter: 43
 
More
Thanks. Great to see new kernel dev in GSM Will give it try

Sent from my HTC Evo 3D
14th October 2012, 01:58 AM |#6  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,359
 
Donate to Me
More
Quote:
Originally Posted by szubert51

Thanks. Great to see new kernel dev in GSM Will give it try

Sent from my HTC Evo 3D

Thank you. Hopefully it works great for you guys. I really want feedback from everyone that tries this.
The Following 6 Users Say Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
14th October 2012, 02:55 AM |#7  
dulexetina's Avatar
Senior Member
Thanks Meter: 60
 
More
Quote:
Originally Posted by bigwillyg

Thank you. Hopefully it works great for you guys. I really want feedback from everyone that tries this.

I have installed it and it seems to be just like the anthrax kernel,even it writes anthrax in the aroma installer...is it weird or what ?

Sent from my HTC EVO 3D X515m using xda app-developers app
14th October 2012, 03:03 AM |#8  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,359
 
Donate to Me
More
Quote:
Originally Posted by dulexetina

I have installed it and it seems to be just like the anthrax kernel,even it writes anthrax in the aroma installer...is it weird or what ?

Sent from my HTC EVO 3D X515m using xda app-developers app

Well, that's more like my bad I got the aroma installer from him and forgot to change that :banghead:

Next update will fix it.

Sent from my PG86100 using Tapatalk 2
The Following 4 Users Say Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
14th October 2012, 03:10 AM |#9  
dulexetina's Avatar
Senior Member
Thanks Meter: 60
 
More
Quote:
Originally Posted by bigwillyg

Well, that's more like my bad I got the aroma installer from him and forgot to change that :banghead:

Next update will fix it.

Sent from my PG86100 using Tapatalk 2

Please do change it,cause it says also "anthrax" in setings and kernel tuner ... I think they could lock ur thread because of that
Othervise,it works pretty nice this few minutes,played ski safari and it does not lags,also played asphalt 7 (just one race) and it goes ok...Camera works,3D plus2D (writing this because i had issues with some test kernel from anthrax with 3D pics)....let's wait and see how is the battery. All recomended setings thru aroma installer,i did not changed anything-by the way

Sent from my HTC EVO 3D X515m using xda app-developers app
14th October 2012, 03:18 AM |#10  
bigwillyg's Avatar
OP Senior Member
Thanks Meter: 2,359
 
Donate to Me
More
Quote:
Originally Posted by dulexetina

Please do change it,cause it says also "anthrax" in setings and kernel tuner ... I think they could lock ur thread because of that
Othervise,it works pretty nice this few minutes,played ski safari and it does not lags,also played asphalt 7 (just one race) and it goes ok...Camera works,3D plus2D (writing this because i had issues with some test kernel from anthrax with 3D pics)....let's wait and see how is the battery. All recomended setings thru aroma installer,i did not changed anything-by the way

Sent from my HTC EVO 3D X515m using xda app-developers app

Thanks for the heads up.

Sent from my PG86100 using Tapatalk 2
The Following User Says Thank You to bigwillyg For This Useful Post: [ View ] Gift bigwillyg Ad-Free
14th October 2012, 04:02 AM |#11  
flashallthetime's Avatar
Senior Member
Flag Richmond Hill
Thanks Meter: 2,038
 
More
Breaks wifi on viper3d, first time it has happened to my phone

( Don't ask me for help, as I couldn't care if your phone explodes, eh!!!)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes