Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,426 Members 53,511 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Romanbb
Old
(Last edited by Romanbb; 9th November 2011 at 01:29 PM.)
#1  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 7028
Posts: 3,587
Join Date: Sep 2009

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


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:
0.3 - Nov 6
- 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

0.2 - Nov 4
- 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 mega****tons 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!
The Following 65 Users Say Thank You to Romanbb For This Useful Post: [ Click to Expand ]
 
Romanbb
Old
#2  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 7028
Posts: 3,587
Join Date: Sep 2009

 
DONATE TO ME
saved oneone one
The Following 7 Users Say Thank You to Romanbb For This Useful Post: [ Click to Expand ]
 
Romanbb
Old
#3  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 7028
Posts: 3,587
Join Date: Sep 2009

 
DONATE TO ME
Also, I kanged everything from Faux, all credit to him
The Following 5 Users Say Thank You to Romanbb For This Useful Post: [ Click to Expand ]
 
PikkonX
Old
#4  
PikkonX's Avatar
Senior Member
Thanks Meter 60
Posts: 376
Join Date: Oct 2009
Location: 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
 
matthewchiu
Old
(Last edited by matthewchiu; 3rd November 2011 at 02:31 PM.)
#5  
Member
Thanks Meter 3
Posts: 47
Join Date: Feb 2011
Location: Toronto
This good ,thx wanna try..
 
Nivek91
Old
#6  
Nivek91's Avatar
Senior Member
Thanks Meter 13
Posts: 199
Join Date: Jun 2010
Location: San Diego
Yes! I woke up to this. Thanks Roman. Going to test this out and give you my feedback asap.

Sent from my Galaxy S II
Tmo Samsung Galaxy SIII
ROM: Stock Rooted
Kernel: Stock


Past Devices:G1>Nexus One>Samsung Vibrant>myTouch 4G>G2x>Sensation>Galaxy SII
 
jr8801
Old
#7  
Member
Thanks Meter 3
Posts: 86
Join Date: Apr 2010
Location: savannah
tried installing via cwm on juggernaut. stalled at samsung galaxy s II screen....

Then i pulled battery and now it bootloops.
 
teshxx
Old
#8  
teshxx's Avatar
Senior Member
Thanks Meter 3292
Posts: 1,621
Join Date: Jul 2010
Location: FL

 
DONATE TO ME
Good job. I guess the battery life is 30 mins lolol
If you think I was helpful buy me a brew or coffee or hookah
================================================
-- ---
================================================
[-::REF::-] Kernel Governors Explained!
[-::SGH-T889::-] Factory Images, Roms, Kernels, & Modems
[-::SGH-T889V::-] Factory Images, Roms, Modems, & Kernels
================================================
The Following User Says Thank You to teshxx For This Useful Post: [ Click to Expand ]
 
bbobarino
Old
#9  
bbobarino's Avatar
Senior Member
Thanks Meter 228
Posts: 1,169
Join Date: Jun 2011
Location: pawtucket
So hardware combo recovery? Meaning 3 finger salute?

Sent from my SGH-T989 using Tapatalk
MAIN DEVICES M919 GALAXY S 4/LG D959 G FLEX/NEXUS 7 2ND GEN
 
Romanbb
Old
#10  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 7028
Posts: 3,587
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by jr8801 View Post
tried installing via cwm on juggernaut. stalled at samsung galaxy s II screen....
Flash back to a stock kernel then

Sent from my SGH-T989 using Tapatalk

The Following 2 Users Say Thank You to Romanbb For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes