Welcome to theMikMik!

We are a friendly community of Android custom Roms developers and users. If this is your first visit, be sure to check out the forum rules. You will need to register before you can post, and as a registered user you will also see fewer advertisements. Join us now to become a part of one of the most helpful Android community online and get the max from your phone!

Page 1 of 114 12311 ... LastLast
Results 1 to 10 of 1136
  1. #1
    Developer thicklizard's Avatar
    Join Date
    Jan 2012
    Posts
    607
    Thanks
    543

    [Kernel] - AwesomeSauce[2wcr][usb host]

    This is just a little appetizer for everyone to hold them over while the great kernel chefs do their thing. this is my first attempt at a kernel. I am only posting this at themikmik.com. This is based on the 2.13 ota
    Thanks to ca1ne for answering all my questions

    Changelog 10/29/12
    added sweep2wake
    added ARM topology


    Changelog 10/17/12
    Added new asswax governor (thanks Zarboz)
    optimized the crc32 algorithm (slice by 8 bytes)

    Changelog 10/4/12
    Usb host is working
    enabled ntfs support
    tweaked voltages(would love to hear feedback from the community on whether they need lowered)
    enabled ksm


    Changelog10/2/12
    GPU OC or UC (Stock by default) to enable

    I use script manager to create a script to run on boot, each time you reboot the values will revert back to default.

    To increase maximum GPU frequency in 3D mode to 484 MHz:
    echo 484000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk

    To increase maximum GPU frequency in 2D mode to 300 MHz:
    echo 300000000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
    echo 300000000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk

    Available frequencies:
    3D: 484000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
    2D: 300000000, 228571000, 200000000, 160000000, 96000000, 27000000

    Lowmemory tweaks
    Better tweak mpdecision for sense
    tweak scheduling
    here is a little explanation of kernel based thermal and mpdecision control
    What is msm_thermal?

    Kernel based 3-phase thermal control!
    This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_backup.

    Check /sys/kernel/msm_thermal/conf/ for the thermal configuration

    allowed_max_high = highest threshold (phase 3)
    allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
    allowed_max_freq = max frequency if throttled (limit)

    [...]mid[...] = same as above, just for phase 2
    [...]low[...] = Lowest threshold (phase 1)

    check_interval_ms = how often shall we check? (sampling rate)
    Default: 1000ms (=1sec)

    If you want to see msm_thermal doing it's job:
    Code:

    adb shell cat /proc/kmsg | grep 'msm_thermal'
    What is msm_mpdecision?

    100% kernel based multi core decision! (should cpu1 be online or not?)
    This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.

    Check /sys/kernel/msm_mpdecision/conf/ for the configuration.

    startdelay = time until mpdecision starts doing it's magic (70000)
    delay = time between checks (500)
    pause = if something else plugs in the cpu, fall asleep for 10000
    scroff_single_core = if the screen is off, don't plug in cpu1 (1)
    nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
    nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
    twts_threshold_up = time threshold, this amount of time must have passed (250)
    twts_threshold_down = same as above (250)
    enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
    idle_freq = a value against that will be checked if a core +/- is requested. (486000)
    If cpu0 is below that value and a core up of cpu1 is requested, nothing will happen.
    If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)


    (all times are in ms)

    Changelog 10/1/12
    with htcs new source they where many changes in code, so I will need to no if usb host still works as well as 2wcr.
    For this release i implemented kernel based thermal control as well as kernel based mpdecision. these can be easily tweaked and modified by the end user. When installing I have a script change your rom based mpdecision and thermal files to a backup. this is meant to control cpu 1. on the old base cpu 1 did its own thing now we control it if you want to benchmark simply disable mpdecision, then when your done reapply it really easy. I also added a few new governors. This will boot and stay at stock speeds until changed by the user.

    battery friendly mpdecision(to disable navigate to sys/kernel/msm_mpdecision/conf/enabled change the value to 0)


    doing this can harm your phone I do not recomend but to each his own
    to change the low value for thermal navigate to sys/kernel/thermal/allowed_low_freq and change to desired frequency

    I will also be utilizing the son kernel updater zip.(flash like a normal zip)

    AwesomeSauce2.5

    Downloads are in the dev_host folder

    http://d-h.st/users/Thicklizard



    Changelog 8/28/12 RLS 1.5

    tweaked the schedulers
    Added a boost to the second cpu
    reduced to captive lights (looks much better IMO)
    various little tweaks to many and small to mention


    changelog8/22/12

    new 1.22 source based
    added Savagedzen gov
    tweaked gpu a little more
    Added support for usb host mode. (extra cable needed)
    added 3 versions
    I need feedback and the 2.1 my phone wont run it so i mat need to adjust voltages

    Changelog 8/8/12
    Rls 1.3

    higher GPU OC
    2 way call recordind (need external app)
    User controlled voltages (I used system tuner from the play store)
    Low memory killing tweaks
    You will notice task manager show your ram around 730mb
    Retweaked the second cpu so battery life should be much better.
    compiled with linaro



    interactive gov
    userspace gov
    powersave gov
    onedemand gov
    performance gov
    Smartass2 gov
    Intelidemand gov rls 1.1
    Conservative gov rls 1.1
    Lionheart gov rls 1.2

    I/O scedulers
    noop
    deadline
    sio
    vr
    cfq

    OC to 1.9 ghz (back up to 1.9 for rls 1.2)
    Boost FSB to 533mhz rls1.1
    Disables gentle fair sleepers rls 1.2
    vm read ahead 512 rls1.2
    memory allocation tweaks rls 1.2

    my github https://github.com/Thicklizard



    Edit here is a flashable boot.img for those have issues flashing the regular zimage. If the ROM dev didn't make the boot img unsecured then the regular zimage flash won't work. I've also attached a flashable zip for my modules to go with the boot img. The modules are different than stock because they have been compiles with linaro if you fastboot the boot.img please flash this zip afterwards.

    Modules

    https://www.dropbox.com/s/z28py6j1og709hc/modules.zip

    Rls 1.5 boot img (stock)
    https://www.dropbox.com/s/61oyyuuzxe..._5%20stock.zip

    Rls 1.5 boot img (1.89)
    https://www.dropbox.com/s/p7s0l9sga6...s1_5%20189.zip

    Rls 1.5 boot img (2.1)
    https://www.dropbox.com/s/f3moknf755..._5%2821%29.zip


    SEE THIS GUIDE FOR FLASHING INFO (added by: Nick1313)
    Last edited by thicklizard; 11-09-2012 at 07:22 PM.
    https://www.paypal.com/cgi-bin/websc...=KKLFX5P9A3HGS

    If you like my work and feel the urge to donate

  2. The Following 41 Users Say Thank You to thicklizard For This Useful Post:       Show/Hide
    aamikam (07-24-2012), Active_Matrix (08-11-2012), ayepayton (08-12-2012), btbamzao (08-22-2012), bw75 (10-09-2012), Captain_Throwback (07-27-2012), chogardjr (07-24-2012), Darealboot (07-30-2012), DNarsingh (07-24-2012), emuview (07-24-2012), evo401 (07-24-2012), evochris (07-31-2012), fr0st (08-17-2012), fredgar (08-30-2012), guih (08-01-2012), Hotdizzle (08-09-2012), jadeboy7 (07-24-2012), jbermi (10-21-2012), JerryGNYC (07-24-2012), joeyfettucine (08-22-2012), jsmooth704 (07-25-2012), L3GION (07-29-2012), lofer (11-02-2012), motcher41 (07-24-2012), neopolotin75 (07-24-2012), nick1313 (07-24-2012), PuRE IVIonztah (07-24-2012), raiderep (08-09-2012), rootlinux (09-25-2012), Rxpert83 (07-24-2012), samsunghater (08-28-2012), ssojyeti (08-30-2012), steal25 (07-24-2012), stonepure (07-24-2012), Sullivan7221 (08-24-2012), thetunicakid (07-24-2012), urrgevo (08-04-2012), Vancer (07-24-2012), volk9029 (07-24-2012), Wakawaka024 (07-24-2012), whiterider13 (08-24-2012)
  3. #2
    Administrator jadeboy7's Avatar
    Join Date
    Mar 2011
    Posts
    24,952
    Thanks
    3,126
    Thanks man. Always nice to have options .
    Have a problem? Look here first (work in progress)

    *Please press Thanks if I've helped you out*
    * Click Here for My Phone Info
    Phone: HTC Evo 4G HTC Evo 4G LTE
    Hardware: 0003 0003
    HBoot: 0.93.0000 1.12.2222
    Baseband: 2.15.00.11.19 1.12.11.0809
    WiMAX: 27167_R01 N/A
    PRI: 1.77_003 2.45_003
    NV: 1.90_003 ???
    PRL: 60687 25012
    Recovery: Amon_RA 2.3 TWRP 2.3.3.0
    Kernel: AnthraX Build 0004 Stock JB
    ROM: MikG 3.11 NikLaTtE V3.01
    SD Card: None Samsung 32GB Class 10 MicroSDHC
    (with ext3 partition that I need to remove)
    Battery: Sprint 2600 mAh Built-in 2000 mAh
    My Box folder: http://www.box.com/s/7m44xjv3b8rbgpy7vzjb
    My MediaFire folder: http://www.mediafire.com/jadeboy7


    TEAM MiK
    MikROMs Since 1/7/11
    Want your own Team Mik logo for your signature? Look here!
    Have I helped you? Consider helping me:

  4. #3
    Member thetunicakid's Avatar
    Join Date
    Apr 2011
    Posts
    43
    Thanks
    5
    Thanks guy! Will give it a flash in few on 1.22 and post how it went vs stock if you could answer one thing? Or anyone can answer cause i honestly dunno? I read bout you helping everyone out with chads trial release and was alot talk about boot img and stuff. I also saw where for mean rom you done something lil different because of his extra tweaks he uses. I swapped and been on mikey's rom after running chaos all week. Do i simply wipe cache/dalv and flash or no? If there is alot effort i got no probs with 1.13. Thanks again for kernel!

    Sent from my EVO 4g lte using MikForums

  5. #4
    Developer thicklizard's Avatar
    Join Date
    Jan 2012
    Posts
    607
    Thanks
    543
    Quote Originally Posted by thetunicakid View Post
    Thanks guy! Will give it a flash in few on 1.22 and post how it went vs stock if you could answer one thing? Or anyone can answer cause i honestly dunno? I read bout you helping everyone out with chads trial release and was alot talk about boot img and stuff. I also saw where for mean rom you done something lil different because of his extra tweaks he uses. I swapped and been on mikey's rom after running chaos all week. Do i simply wipe cache/dalv and flash or no? If there is alot effort i got no probs with 1.13. Thanks again for kernel!

    Sent from my EVO 4g lte using MikForums
    Yep wipe dalvik and flash. The only issue people may have is if they have if they are on the stock rooted rom is the boot img is secured so they would need to flash a modded one first, but I can help with that. If you are on a custom Rom should be no problem.

    Sent from my EVO using Tapatalk 2
    Last edited by thicklizard; 07-24-2012 at 05:15 AM.
    https://www.paypal.com/cgi-bin/websc...=KKLFX5P9A3HGS

    If you like my work and feel the urge to donate

  6. #5
    Member neopolotin75's Avatar
    Join Date
    Jun 2011
    Posts
    87
    Thanks
    11
    Gonna give this a whirl!:thumbup:

    Sent from my EVO using Tapatalk 2

  7. The Following User Says Thank You to neopolotin75 For This Useful Post:       Show/Hide
    MIA_finest (11-06-2012)
  8. #6
    Member thetunicakid's Avatar
    Join Date
    Apr 2011
    Posts
    43
    Thanks
    5
    Ahhhh....learned something thanks for explaining. Give me min and ill post how its going.

    Sent from my EVO 4g lte using MikForums

  9. #7
    Member motcher41's Avatar
    Join Date
    Jul 2012
    Posts
    55
    Thanks
    13
    Can't wait to try it. Don't suppose you have one I can flash in fastboot? Twrp just won't flash any kernels for me. I have to fastboot them.

    Sent from my EVO using Tapatalk 2
    Last edited by motcher41; 07-24-2012 at 06:24 AM.

  10. #8
    Developer thicklizard's Avatar
    Join Date
    Jan 2012
    Posts
    607
    Thanks
    543
    Quote Originally Posted by motcher41 View Post
    Can't wait to try it. Don't suppose you have one I can flash in fastboot? Twrp just won't flash any kernels for me. I have to fastboot them.

    Sent from my EVO using Tapatalk 2
    What files do you need to fastboot them? If just the zimage and modules you could just take them out of the zip

    Sent from my EVO using Tapatalk 2
    https://www.paypal.com/cgi-bin/websc...=KKLFX5P9A3HGS

    If you like my work and feel the urge to donate

  11. The Following User Says Thank You to thicklizard For This Useful Post:       Show/Hide
    thug4life (07-24-2012)
  12. #9
    Member thetunicakid's Avatar
    Join Date
    Apr 2011
    Posts
    43
    Thanks
    5
    I just flashed or attempted to flash?? Hmmm...im soff and flashed a 1000 kernels prolly but im not sure it took. Anybody know what this kernel lists as in your settings last page?

    Sent from my EVO 4g lte using MikForums
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ForumRunner_20120724_074147.png 
Views:	900 
Size:	111.6 KB 
ID:	9589  

  13. #10
    Member thetunicakid's Avatar
    Join Date
    Apr 2011
    Posts
    43
    Thanks
    5
    That looks just like a stock kernel listing to me? Most ive ever used had the name listed.

    Sent from my EVO 4g lte using MikForums


 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •