• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL] Jugs 0.3 [11/06/11] [1.89ghz OC/UV/BFQ/BLN] [Team Kang]

Search This thread

Romanbb

Inactive Recognized Developer
Sep 18, 2009
3,594
6,961
Seattle
aokp.co

Team Kang Presents

Jugs!

Standard Disclaimer - We are in no way responsible for what you do to your phone. If you destroy your $500 device and try and blame us we will laugh at you. Always read and ensure you know what you are doing before attempting anything***

What the hell this is

  • OC up to 1.836 ghz
  • should boot into stock frequencies
  • added BFQ I/O scheduler and made default
  • patched drivers from newer Telus 989D source
  • BLN
  • added zram
  • working init.d support
  • insecure
  • and much much more. Check the latest additions in the change log!

Change Log
Code:
[B][U]0.3 - Nov 6[/U][/B]
- added BLN! (use neldar's BLN control app from the market)
- tweaked ondemand gov
- added 1.89ghz step
- any weirdness going past 1.72 should be fixed
- added snapdragon compiler flag optimizations

[B][U]0.2 - Nov 4[/U][/B]
- added zram (must enable through init script, more on it below) - ALSO LOL WE DONT NEED THIS WE HAVE 999999MB OF RAM
- patched drivers from Telus 989D source (newer, less debugging)
- increased voltages to more stock-like values (uv by yourself)
- boots up into stock frequencies (384 - 1512) (oc by yourself)

0.1 - Nov 3
- initial release


Bugs
Right now, there doesn't seem to be any bugs. However, if you do get a random reboot, or are having boot loops please provide me with a log and follow the instructions.


  1. Flash kernel (make sure you've wiped cache & dalvik cache)
  2. After it bootloops/freezes, immediately boot into recovery (unplug usb, hold power, vol +/vol -, let go of power when you see Samsung logo)
  3. Code:
    adb pull /proc/last_kmsg
  4. upload that last_kmsg for me (please don't post it, it can get long!)


Voltage Control
You can control it via shell/init.d scripts as follows

[ to over volt ALL frequencies by 25000 uv (microvolts) ]
Code:
echo "+25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
[ to under volt ALL frequencies by 25000 uv (microvolts) ]
Code:
echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

[ to set a specific frequency (ie 1.18 GHz) with a specific voltage (ie 1.0875 volts) ]
Code:
echo "1188000 1087500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels


Clock Control
Just about any OC app will work just fine. By default, the kernel sets the max frequency to the highest frequency available. You can change this by adding a few lines to an init.d script (or run commands in a shell).

For instance, setting stock freqs would look like this
Code:
(su if in shell)
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/online
echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1512000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

zRam
To enable zRam you must execute the following commands in shell as root
Code:
mkswap /dev/block/zram0
swapon /dev/block/zram0

This needs to be run on every reboot.

You can check to see if it's enabled/actually being used:

Code:
$ free
             total         used         free       shared      buffers
Mem:        801980       664364       137616            0        50656
-/+ buffers:             613708       188272
Swap:        98300            0        98300

free = 0? it's not being used. usually takes a while to build up (especially with the megashittons of RAM we have)

Misc
- Make sure you know how to get into recovery via HARDWARE KEY COMBO - I HAVE WARNED YOU
- Please do not include this with any ROMs
- Source available on my github (link in sig)
- You can use the kernel with any ROM out currently.

Download
Jugs 0.3 - CWM Flashable - enables zRAM by default & adds BLN capability​
You can use either SystemTuner or my OC app to control this kernel!
 
Last edited:

PikkonX

Senior Member
Oct 8, 2009
398
65
Chesapeake, VA
Awesome job guys. I've been working on a 1.8 ghz kernel, but I am a failure lol. Gonna put this through its testing at work today.

Sent from my SGH-T989 using xda premium
 

bbobarino

Senior Member
Jun 27, 2011
1,231
231
pawtucket
Can u throw a link up for the stock kernal I am on bubby's insecure or should I just flash the eagle blood then ill have the stock kernal then flash this then flash back to the rom I am on now? And why so important to do the 3 finger salute can't use quickboot or rom Manager?

Sent from my SGH-T989 using Tapatalk
 

jr8801

Senior Member
Apr 21, 2010
86
3
savannah
Yep, easier to just pull the file though probably

Sent from my SGH-T989 using Tapatalk
not sure if this is exactly what you wanted but this is what you get lol hopefully it helps.

Code:
<3>[    1.623380] mmc1: Command 5 timeout
<3>[    1.631254] mmc1: Command 5 timeout
<3>[    1.639188] mmc1: Command 5 timeout
<3>[    1.647062] mmc1: Command 5 timeout
<3>[    1.654996] mmc1: Command 55 timeout
<3>[    1.663053] mmc1: Command 55 timeout
<3>[    1.671110] mmc1: Command 55 timeout
<3>[    1.679136] mmc1: Command 55 timeout
<3>[    1.687253] mmc1: Command 1 timeout
<3>[    1.727994] mmc2: Command 52 timeout
<3>[    1.736020] mmc2: Command 52 timeout
<3>[    1.747678] mmc2: Command 5 timeout
<3>[    1.755552] mmc2: Command 5 timeout
<3>[    1.763425] mmc2: Command 5 timeout
<3>[    1.771299] mmc2: Command 5 timeout
<3>[    1.807401] init: cannot open '/initlogo.rle'
<3>[    1.811856] init: Unable to open persistent property directory /data/prope
rty errno: 2
<6>[    1.820859] set_product:  3, 16
<6>[    1.820859] func->name=usb_mass_storage
<6>[    1.820890] set_enable_functions: usb_mass_storage - usb_mass_storage 0, 3

<6>[    1.820951] enable usb_mass_storage
<6>[    1.820981] func->name=acm1
<6>[    1.820981] set_enable_functions: acm1 - usb_mass_storage 0, 3
<6>[    1.820981] set_enable_functions: acm1 - acm2 1, 3
<6>[    1.821012] set_enable_functions: acm1 - adb 2, 3
<6>[    1.821042] func->name=acm2
<6>[    1.821073] set_enable_functions: acm2 - usb_mass_storage 0, 3
<6>[    1.821073] set_enable_functions: acm2 - acm2 1, 3
<6>[    1.821103] enable acm2
<6>[    1.821134] func->name=adb
<6>[    1.821134] set_enable_functions: adb - usb_mass_storage 0, 3
<6>[    1.821134] set_enable_functions: adb - acm2 1, 3
<6>[    1.821134] set_enable_functions: adb - adb 2, 3
<6>[    1.821164] enable adb
<6>[    1.821195] func->name=rndis
<6>[    1.821195] set_enable_functions: rndis - usb_mass_storage 0, 3
<6>[    1.821195] set_enable_functions: rndis - acm2 1, 3
<6>[    1.821195] set_enable_functions: rndis - adb 2, 3
<6>[    1.821256] func->name=diag
<6>[    1.821256] set_enable_functions: diag - usb_mass_storage 0, 3
<6>[    1.821286] set_enable_functions: diag - acm2 1, 3
<6>[    1.821286] set_enable_functions: diag - adb 2, 3
<6>[    1.821347] func->name=diag_mdm
<6>[    1.821347] set_enable_functions: diag_mdm - usb_mass_storage 0, 3
<6>[    1.821347] set_enable_functions: diag_mdm - acm2 1, 3
<6>[    1.821347] set_enable_functions: diag_mdm - adb 2, 3
<6>[    1.821408] func->name=rmnet_sdio
<6>[    1.821408] set_enable_functions: rmnet_sdio - usb_mass_storage 0, 3
<6>[    1.821439] set_enable_functions: rmnet_sdio - acm2 1, 3
<6>[    1.821439] set_enable_functions: rmnet_sdio - adb 2, 3
<6>[    1.821500] Change Device Descriptor : DeviceClass(0xef),SubClass(0x2),Pro
tocol(0x1)
<6>[    1.821500] Change Label : [0]ACM + UMS + ADB (Debugging mode)
<6>[    1.821500] set function num=3
<7>[    2.041226] gpio_request: gpio-251 (SD_WP_Switch) status -22
<3>[    2.041256] msm_sdc3_get_wpswitch:Failed to request GPIO 251
<4>[    2.045986] mmc2: host does not support reading read-only switch. assuming
 write-enable.
<6>[    2.046017] mmc2: new SD card at address aaaa
<6>[    2.046444] mmcblk1: mmc2:aaaa SU02G 1.84 GiB
<6>[    2.046749]  mmcblk1: p1
<3>[    2.087887] mmc3: Command 52 timeout
<3>[    2.096035] mmc3: Command 52 timeout
<3>[    2.107357] mmc3: Command 8 timeout
<3>[    2.115231] mmc3: Command 5 timeout
<3>[    2.123165] mmc3: Command 5 timeout
<3>[    2.131039] mmc3: Command 5 timeout
<3>[    2.138882] mmc3: Command 5 timeout
<3>[    2.146786] mmc3: Command 55 timeout
<3>[    2.154842] mmc3: Command 55 timeout
<3>[    2.162838] mmc3: Command 55 timeout
<3>[    2.170834] mmc3: Command 55 timeout
<3>[    2.178890] mmc3: Command 1 timeout
<3>[    2.225429] mmc4: Command 52 timeout
<3>[    2.233425] mmc4: Command 52 timeout
<3>[    2.244717] mmc4: Command 8 timeout
<3>[    2.252621] mmc4: Command 5 timeout
<3>[    2.260464] mmc4: Command 5 timeout
<3>[    2.268398] mmc4: Command 5 timeout
<3>[    2.276272] mmc4: Command 5 timeout
<3>[    2.284176] mmc4: Command 55 timeout
<3>[    2.292171] mmc4: Command 55 timeout
<3>[    2.300228] mmc4: Command 55 timeout
<3>[    2.308224] mmc4: Command 55 timeout
<3>[    2.316219] mmc4: Command 1 timeout
<3>[    2.355495] mmc1: Command 52 timeout
<3>[    2.363491] mmc1: Command 52 timeout
<3>[    2.374691] mmc1: Command 8 timeout
<3>[    2.382686] mmc1: Command 5 timeout
<3>[    2.390529] mmc1: Command 5 timeout
<3>[    2.398403] mmc1: Command 5 timeout
<3>[    2.406337] mmc1: Command 5 timeout
<3>[    2.414242] mmc1: Command 55 timeout
<3>[    2.422237] mmc1: Command 55 timeout
<3>[    2.430294] mmc1: Command 55 timeout
<3>[    2.438259] mmc1: Command 55 timeout
<3>[    2.446254] mmc1: Command 1 timeout
<3>[    2.496273] sec_switch_init_work value = 1
<3>[    2.499599] sec_switch_set_vbus_status USB_VBUS_AP_ON 2
<4>[    2.570400] smb328a_int_work_func
<6>[    2.570857] smb328a_int_work_func : reg (0x36) = 0x3
<6>[    2.571315] sec_bat_set_property: 1
<6>[    2.571315] sec_bat_set_property: charger inserted!!
<6>[    2.621394] msm_otg_resume: usb exited from low power mode
<6>[    2.622737] BSV set
<7>[    2.622798] usb_do_work USB disconnected  USB_STATE_OFFLINE
<7>[    2.845332] usb_reset USB disconnected
<7>[    2.845332] [composite_disconnect]mute_switch= 0
<7>[    2.845576] usb_do_work_check_vbus USB disconnected 2
<6>[    2.963587] portsc = 88000a05
<6>[    2.975306] sec_jack:sec_jack_det_irq_handler : ready = 1.
<6>[    2.975336] sec_jack: ear micbias off
<6>[    3.004053] portsc = 88000a05
<6>[    3.088312] android_usb gadget: high speed config #1: ACM + UMS + ADB (Deb
ugging mode)
<4>[    3.808372] sec_bat_measure_work : dcin ok, but not charging, set cable ty
pe again!
<4>[    3.922904] audience_a2220a2220_bootup_init : lsj::a2220_bootup_init 5
<4>[    3.923514] audience_a2220a2220_bootup_init : lsj::a2220_bootup_init 6
<4>[    3.923514] audience_a2220a2220_bootup_init : lsj::a2220_bootup_init 7
<6>[    3.945395] a2220_bootup_init: firmware loaded successfully
<4>[    4.155753] audience_a2220a2220_bootup_init : lsj::a2220_bootup_init 8
<4>[    4.155753] audience_a2220a2220_bootup_init : get_hw_rev of Target = 14
<4>[    4.155936] audience_a2220execute_cmdmsg : ...go to suspend first
<6>[    4.285788] a2220_bootup_init: initialized!
<4>[    4.285788] audience_a2220a2220_bootup_init : a2220_bootup_init - finish
<4>[    4.827902] tsp_set_unknown_charging_cable 1
<3>[    4.827933] [TSP] mxt224_ta_probe
<3>[    4.832297] [TSP]TA_probe MXT224E T48 Byte2 is 80
<3>[    4.842734] mdp_disable_irq_nosync: MDP IRQ term-0x20 is NOT set, mask=1 i
rq=1
<3>[    4.845786] [TSP]TA_probe MXT224E T48 Byte2 is 112
<6>[    4.845816] smb328a 15-0034: smb328a_set_charging_current :
<6>[    4.846274] smb328a 15-0034: smb328a_set_command_reg : reg (0x31) = 0x0
<6>[    4.847067] smb328a_set_command_reg : => reg (0x31) = 0xad
<6>[    4.847983] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x0) =
 0x31
<6>[    4.848807] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x0
) = 0x17
<6>[    4.849265] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x1) =
 0x5
<6>[    4.850089] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x1
) = 0x10
<6>[    4.850546] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x2) =
 0xca
<6>[    4.851004] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x3) =
 0x1a
<6>[    4.851828] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x3
) = 0xda
<6>[    4.852286] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x4) =
 0x44
<6>[    4.853110] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x4
) = 0x4d
<6>[    4.853568] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x5) =
 0x8b
<6>[    4.854361] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x5
) = 0x0
<6>[    4.854849] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x6) =
 0x5c
<6>[    4.855673] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x6
) = 0x4d
<6>[    4.856131] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x7) =
 0x36
<6>[    4.856955] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x7
) = 0xf6
<6>[    4.857413] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x8) =
 0x0
<6>[    4.857871] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x9) =
 0x0
<6>[    4.858695] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x9
) = 0x1
<6>[    4.858695] smb328a 15-0034: smb328a_get_input_current_limit :
<6>[    4.859152] smb328a 15-0034: smb328a_get_input_current_limit : reg (0x1) =
 0x10
<6>[    4.859152] smb328a 15-0034: smb328a_get_input_current_limit : get icl = 4
50, data = 0
<6>[    4.859641] smb328a 15-0034: smb328a_get_float_voltage : reg (0x2) = 0xca,
 float vol = 4200
<6>[    4.860556] smb328a 15-0034: smb328a_set_top_off : reg (0x0) = 0x17
<6>[    4.861044] wake_lock_init, 0xde244c20, event3-109
<6>[    4.861350] smb328a 15-0034: smb328a_set_top_off : => reg (0x0) = 0x17
<6>[    4.861807] smb328a 15-0034: smb328a_set_top_off : reg (0x7) = 0xf6
<6>[    4.862631] smb328a 15-0034: smb328a_set_top_off : => reg (0x7) = 0xf6
<6>[    4.862631] smb328a 15-0034: smb328a_ldo_disable :
<6>[    4.863547] smb328a 15-0034: smb328a_ldo_disable : reg (0x6) = 0x4d
<6>[    4.864340] smb328a 15-0034: smb328a_ldo_disable : => reg (0x6) = 0x6d
<6>[    4.864371] smb328a 15-0034: smb328a_enable_charging :
<6>[    4.864829] smb328a 15-0034: smb328a_enable_charging : reg (0x31) = 0xad
<6>[    4.865653] smb328a_enable_charging : => reg (0x31) = 0xad
<3>[    4.895987] [TSP] Calibration!!!!!!
<6>[    4.898489] wake_lock_init, 0xde245c20, event1-109
<3>[    4.906271] [TSP] Calibration End!!!!!!
<6>[    4.937949] wake_lock_init, 0xde246420, event6-109
<6>[    4.957938] wake_lock_init, 0xde246c20, event9-109
<6>[    4.967276] BSV clear
<7>[    4.967307] msm_hsusb_set_vbus_state USB disconnected
<7>[    4.967337] usb_do_work USB disconnected 4
<7>[    4.967337] [composite_disconnect]mute_switch= 0
<7>[    4.968405] diag: USB disconnected
<7>[    4.968619] diag: USB disconnected
<7>[    4.969077] usb_do_work_check_vbus USB disconnected 4
<6>[    4.977988] wake_lock_init, 0xde247420, event8-109
<4>[    5.000418] smb328a_int_work_func
<6>[    5.000906] smb328a_int_work_func : reg (0x36) = 0x5
<6>[    5.001364] sec_bat_set_property: 1
<6>[    5.001364] sec_bat_set_property: charger inserted!!
<6>[    5.017935] wake_lock_init, 0xde247c20, event7-109
<6>[    5.037985] wake_lock_init, 0xde3b8420, event5-109
<6>[    5.057974] wake_lock_init, 0xde3b8c20, event4-109
<6>[    5.077933] wake_lock_init, 0xde3b9420, event2-109
<6>[    5.097952] wake_lock_init, 0xde3b9c20, event0-109
<6>[    5.195853] msm_otg_suspend: usb in low power mode
<6>[    5.230368] EXT4-fs (mmcblk0p26): recovery complete
<6>[    5.234488] EXT4-fs (mmcblk0p26): mounted filesystem with ordered data mod
e. Opts:
<6>[    5.852499] key sense irq
<6>[    5.852804] key [0:5] released keycode [115]
<6>[    5.884451] key sense irq
<6>[    5.884756] key [0:4] released keycode [114]
<6>[    7.315420] fsa9480 5-0025: fsa9480_init_detect
<6>[    7.315970] fsa9480 5-0025: dev1: 0x4, dev2: 0x0
<6>[    7.315970] fsa9480 5-0025: usb connect
<3>[    7.315970] fsa9480_usb_cb attached 1
<7>[    7.318686] usb_do_work USB disconnected  USB_STATE_OFFLINE
<6>[    7.319510] msm_otg_resume: usb exited from low power mode
<7>[    7.545462] usb_reset USB disconnected
<7>[    7.545462] [composite_disconnect]mute_switch= 0
<7>[    7.545675] usb_do_work_check_vbus USB disconnected 2
<3>[    7.545706] [TSP] mxt224_ta_probe
<3>[    7.550009] [TSP]TA_probe MXT224E T48 Byte2 is 80
<3>[    7.563620] [TSP]TA_probe MXT224E T48 Byte2 is 112
<6>[    7.567465] sec-battery sec-battery: sec_bat_set_property: cable was chang
ed(3)
<6>[    7.568716] fsa9480 5-0025: fsa9480_Check_AVDock intr: 0x0
<6>[    7.569265] fsa9480 5-0025: dev1: 0x4, dev2: 0x0
<6>[    7.569265] fsa9480 5-0025: usb connect
<3>[    7.569296] fsa9480_usb_cb attached 1
<3>[    7.571981] [TSP] mxt224_ta_probe
<3>[    7.577292] [TSP]TA_probe MXT224E T48 Byte2 is 80
<3>[    7.588949] [TSP]TA_probe MXT224E T48 Byte2 is 112
<3>[    7.590994] [TSP] Calibration!!!!!!
<6>[    7.596060] sec-battery sec-battery: sec_bat_set_property: cable was chang
ed(3)
<3>[    7.601278] [TSP] Calibration End!!!!!!
<6>[    8.545462] smb328a 15-0034: smb328a_set_charging_current :
<6>[    8.546011] smb328a 15-0034: smb328a_set_command_reg : reg (0x31) = 0xad
<6>[    8.546804] smb328a_set_command_reg : => reg (0x31) = 0xa9
<6>[    8.547720] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x0) =
 0x17
<6>[    8.548208] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x1) =
 0x10
<6>[    8.548666] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x2) =
 0xca
<6>[    8.549124] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x3) =
 0xda
<6>[    8.549582] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x4) =
 0x4d
<6>[    8.550039] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x5) =
 0x0
<6>[    8.550497] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x6) =
 0x6d
<6>[    8.551291] smb328a 15-0034: smb328a_charger_function_conrol : => reg (0x6
) = 0x4d
<6>[    8.551748] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x7) =
 0xf6
<6>[    8.552237] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x8) =
 0x0
<6>[    8.552694] smb328a 15-0034: smb328a_charger_function_conrol : reg (0x9) =
 0x1
<6>[    8.552694] smb328a 15-0034: smb328a_get_input_current_limit :
<6>[    8.553152] smb328a 15-0034: smb328a_get_input_current_limit : reg (0x1) =
 0x10
<6>[    8.553152] smb328a 15-0034: smb328a_get_input_current_limit : get icl = 4
50, data = 0
<6>[    8.553610] smb328a 15-0034: smb328a_get_float_voltage : reg (0x2) = 0xca,
 float vol = 4200
<6>[    8.554525] smb328a 15-0034: smb328a_set_top_off : reg (0x0) = 0x17
<6>[    8.555349] smb328a 15-0034: smb328a_set_top_off : => reg (0x0) = 0x17
<6>[    8.555807] smb328a 15-0034: smb328a_set_top_off : reg (0x7) = 0xf6
<6>[    8.556601] smb328a 15-0034: smb328a_set_top_off : => reg (0x7) = 0xf6
<6>[    8.556601] smb328a 15-0034: smb328a_enable_charging :
<6>[    8.557058] smb328a 15-0034: smb328a_enable_charging : reg (0x31) = 0xa9
<6>[    8.557852] smb328a_enable_charging : => reg (0x31) = 0xa9
<6>[    8.557882] smb328a 15-0034: smb328a_chgen_bit_control :
<6>[    8.558340] smb328a 15-0034: smb328a_chgen_bit_control : reg (0x31) = 0xa9

<6>[    8.559134] smb328a_chgen_bit_control : => reg (0x31) = 0xb9
<6>[    8.559164] smb328a 15-0034: smb328a_chgen_bit_control :
<6>[    8.559622] smb328a 15-0034: smb328a_chgen_bit_control : reg (0x31) = 0xb9

<6>[    8.560415] smb328a_chgen_bit_control : => reg (0x31) = 0xa9
<6>[    8.604422] BSV set
<6>[    8.716055] portsc = 88000a05
<6>[    8.756582] portsc = 88000a05
<6>[    8.840841] android_usb gadget: high speed config #1: ACM + UMS + ADB (Deb
ugging mode)
<4>[   12.215414] SDCC CH 0 : msmsdcc_runtime_suspend WLAN SKIP Suspend
 
G

GuestK00202

Guest
Just installed this on the Convergance ROM. Running smooth as butter. Had to use SetCPU to set overclocking speeds and ran a 4345 benchmark. Haven't yet got to see how the battery life is. I know without being overclocked it sucked. I can only imagine :(
 

rpolito73

Senior Member
Jul 25, 2010
731
210
So far, so good. Didn't have to flash to stock kernel from Juggernaut - it worked fine for me. I noticed that homescreen lag is gone! Good work. Will update if I run into any problems. Thanks Roman!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 65

    Team Kang Presents

    Jugs!

    Standard Disclaimer - We are in no way responsible for what you do to your phone. If you destroy your $500 device and try and blame us we will laugh at you. Always read and ensure you know what you are doing before attempting anything***

    What the hell this is

    • OC up to 1.836 ghz
    • should boot into stock frequencies
    • added BFQ I/O scheduler and made default
    • patched drivers from newer Telus 989D source
    • BLN
    • added zram
    • working init.d support
    • insecure
    • and much much more. Check the latest additions in the change log!

    Change Log
    Code:
    [B][U]0.3 - Nov 6[/U][/B]
    - added BLN! (use neldar's BLN control app from the market)
    - tweaked ondemand gov
    - added 1.89ghz step
    - any weirdness going past 1.72 should be fixed
    - added snapdragon compiler flag optimizations
    
    [B][U]0.2 - Nov 4[/U][/B]
    - added zram (must enable through init script, more on it below) - ALSO LOL WE DONT NEED THIS WE HAVE 999999MB OF RAM
    - patched drivers from Telus 989D source (newer, less debugging)
    - increased voltages to more stock-like values (uv by yourself)
    - boots up into stock frequencies (384 - 1512) (oc by yourself)
    
    0.1 - Nov 3
    - initial release


    Bugs
    Right now, there doesn't seem to be any bugs. However, if you do get a random reboot, or are having boot loops please provide me with a log and follow the instructions.


    1. Flash kernel (make sure you've wiped cache & dalvik cache)
    2. After it bootloops/freezes, immediately boot into recovery (unplug usb, hold power, vol +/vol -, let go of power when you see Samsung logo)
    3. Code:
      adb pull /proc/last_kmsg
    4. upload that last_kmsg for me (please don't post it, it can get long!)


    Voltage Control
    You can control it via shell/init.d scripts as follows

    [ to over volt ALL frequencies by 25000 uv (microvolts) ]
    Code:
    echo "+25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
    [ to under volt ALL frequencies by 25000 uv (microvolts) ]
    Code:
    echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

    [ to set a specific frequency (ie 1.18 GHz) with a specific voltage (ie 1.0875 volts) ]
    Code:
    echo "1188000 1087500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels


    Clock Control
    Just about any OC app will work just fine. By default, the kernel sets the max frequency to the highest frequency available. You can change this by adding a few lines to an init.d script (or run commands in a shell).

    For instance, setting stock freqs would look like this
    Code:
    (su if in shell)
    echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    echo 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    
    echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/online
    echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
    echo 1512000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

    zRam
    To enable zRam you must execute the following commands in shell as root
    Code:
    mkswap /dev/block/zram0
    swapon /dev/block/zram0

    This needs to be run on every reboot.

    You can check to see if it's enabled/actually being used:

    Code:
    $ free
                 total         used         free       shared      buffers
    Mem:        801980       664364       137616            0        50656
    -/+ buffers:             613708       188272
    Swap:        98300            0        98300

    free = 0? it's not being used. usually takes a while to build up (especially with the megashittons of RAM we have)

    Misc
    - Make sure you know how to get into recovery via HARDWARE KEY COMBO - I HAVE WARNED YOU
    - Please do not include this with any ROMs
    - Source available on my github (link in sig)
    - You can use the kernel with any ROM out currently.

    Download
    Jugs 0.3 - CWM Flashable - enables zRAM by default & adds BLN capability​
    You can use either SystemTuner or my OC app to control this kernel!
    7
    saved oneone one
    6
    its not a kernel issue, its the permissions that are set on the script that you dont edit or remove from your roms.

    its setting root:system on /sys/devices/system/cpu/mfreq and perm 220 on it. this makes the min freq adjustments not still with apps that are not in the group root:system

    there is quite a large bit of crap in that script that i've mentioned a few times should be edited out at the very least.

    Please STOP spewing crap and non-sense about kernels.

    mfreq is used to FORCE MAX FREQUENCY for CPU governors and has ABSOLUTELY NOTHING to do with min frequency adjustments. It is set to root write only as protection against accident overrides from user space binaries.

    here's the code snippet from cpufreq from the kernel:

    Code:
    static ssize_t store_mfreq(struct sysdev_class *class,
    			struct sysdev_class_attribute *attr,
    			const char *buf, size_t count)
    {
    	u64 val;
    
    	if (strict_strtoull(buf, 0, &val) < 0) {
    		pr_err("Invalid parameter to mfreq\n");
    		return 0;
    	}
    	if (val)
    		override_cpu = 1;
    	else
    		override_cpu = 0;
    	return count;
    }
    
    static int set_cpu_freq(struct cpufreq_policy *policy, unsigned int new_freq)
    {
    	int ret = 0;
    	struct cpufreq_freqs freqs;
    
    	freqs.old = policy->cur;
            if ([COLOR="Red"]override_cpu[/COLOR]) {
    		[COLOR="Red"]if (policy->cur == policy->max)[/COLOR]
    			return 0;
    		else
    			[COLOR="red"]freqs.new = policy->max;[/COLOR]
    6
    New version posted in OP
    6
    its not a kernel issue, its the permissions that are set on the script that you dont edit or remove from your roms.

    its setting root:system on /sys/devices/system/cpu/mfreq and perm 220 on it. this makes the min freq adjustments not still with apps that are not in the group root:system

    there is quite a large bit of crap in that script that i've mentioned a few times should be edited out at the very least.

    Can you please refrain from posting ****, atleast in my thread, that you can't backup with proof or actual knowledge.

    Thanks.

    Sent from my SGH-T989 using Tapatalk