FORUMS
Remove All Ads from XDA

[KERNEL][TW][LINARO][UV]c.o.h.'s HelloWorld [v1.3.7b][19.MAY.13]

382 posts
Thanks Meter: 911
 
By crime_of_heart, Senior Member on 27th April 2013, 11:38 AM
Post Reply Email Thread
*** THIS KERNEL ONLY SUPPORTS SAMSUNG TW JB 4.1.2 ROMs (STOCK and CUSTOM). DOES NOT WORK IN CM or AOSP!!! ***

*** The Kernel is Safe (MMC_CAP_ERASE disabled) and the included PhilZ Recovery uses delete recursive and avoids brickbug, but please be aware that, i take NO reponsibility if something happens kernel related! ***

*** This kernel has GPU OC to 400MHz that can make phone hot while playing GPU intensive games and wear out your device faster. So, I take no responsibility if the provided KERNEL causes any problem to your phone, so you are warned again! ***


Long story short, there are only a few DEVs currently developing a TW based kernel. Although they are awesome, sometimes having more options is good. So here you have my own compiled kernel a.k.a. c.o.h.'s HelloWorld kernel.

I named it "HelloWorld" because it is my first compiled kernel and am still learning although i have previous programming experience.

FEATURES:


* It is safe kernel based on latest official Samsung JB Sources.
* 3 steps GPU control, (no lag in games now!).
* 200 -1400 MHz CPU. If you want UV, use a CPU Adjuster program like "cpu adjuster"(recommended as it shows current GPU state), "cpu master", "voltage control" etc.
* Samsung original initramfs with modded recovery that combines PhilZ v4.93.6 touch recovery (with bootloop fix!), root and busybox thanks to Phil3759, and Samsung.
* More scheduler and governor options.
* Defaults noop and ondemand, however i recommend using noop-pegasusq combination (anyway you try and find the most suitable for you)



CHANGELOG:

Current:

Changelog v1.3.7 --> v1.3.7b:

Reverted GPU thresholds to v.1.2.28 (still 134, 267 and 400MHz) as it was not battery friendly, rest is the same as v1.3.7.

It could be my last build, let's see if i can continue later...



Changelog v1.2.28 --> v1.3.7:
Used Linaro GCC 4.7.3 (Even faster now!)
Optimized GPU thresholds (Can really go to 400MHz in load now)
Enabled SWAP and ZRAM support (need to be configured manually, so just for experts)
Possible fix for MIUI TW based MIUI ROMs (all should work without problem now, not tested!)


v1.1.15 --> v1.2.28
Create from scratch, no more based on Hydracore. Less (maybe no) bugs.
Samsung video player no more force closes, it is fixed.
Added CPU Hotplug support from Speedmod kernel (only 1 core when not in load as it's in Speedmod kernel, bettery battery life)
Disabled logcat and dmesg and unnecessary Samsung debugging (from Speedmod kenel) See 2nd post on how to enable logcat.
Added UV capability (Please use with caution as it is very risky to change the CPU voltages).
Increased Touchscreen sensitivity even when charging (Best touch response to date in Note ).
Added FSYNC Control 1 (from Ezekeel's GLaDOS kernel for Nexus). See 2nd post to see how to disable FSYNC (not recommended nor explained for noobs).
Tweak GPU, it is now : 100-114, 267, 400 MHz (3 steps, first step dynamic)
Added HYPER cpu governor.
Defaults are noop-ondemand now (noop-pegasusq is still recommended for balance)
Fix for wifi drain on standby (disabled all multicast).
Use GCC 4.6 for optimum performance.
Some minor changes...


v1.1.15:
Initial release with fixed modules and initramfs.
GPU steps set to : 133, 267 and 300MHz.
Speedmod K5-3 fixes included.
Hydracore sched and gov options.
Siyah Kernel GPU optimizations.
Includes PhilZ v4.93.6 touch recovery (with bootloop fix!) and root with busybox.


TODO List:
Will only support v1.2. onwards... (1600 MHz not supported natively, You can use Tegrak Overclock for 1600MHz)
Fix for Blackclipping using AndreiLux mdnie suggestions (almost impossible, but i will do my best. Needs a lot of time, don't ask for ETA)
Support exFAT and NTFS (seems trickier than i thought to make it native, so maybe)
Tweak min. brightness. (it can be adjusted from build.prop, so no need to do it from kernel)
Increase touch sensitivity even when charging -DONE
Add HYPER governor -DONE
Add multi core aware hotplug support -DONE
Change default scheduler to noop -DONE
Add U/V -DONE
FSYNC control -DONE
Experimental MIUI TW support (Only for Touch Wiz based MIUI versions!) -DONE
Swap support. -DONE
Tweak third GPU step threshold. -DONE



That's all for now.


INSTALLATION:

1. Flash the attached kernel CWM flashable zip using any SAFE custom recovery like PhilZ kernels, or Speedmod kernels, or Hydracore kernels.

2.
Wipe cache and dalvik cache and reboot.

3.
Enjoy. (it takes around 2-3 reboots to the ROM and KERNEL to settle down and get really fast and smooth.


CREDITS;

Samsung, for the source code (although it could be much better),
Maxfu, for keeping Hydracore development and providing his source code and allowing me to fork it,
Hardcore, for his legendary Speedmood kernel and sources,
Gokhan Moral, for his Siyah Kernel sources helped me to fix GPU bugs and optimize it further,
Neobuddy89 for some of his scheduler tweaks in NXKernel,
Phil3759 for his legendary PhilZ Touch Recovery.

For Developers/Modders: You can use the HelloWorld kernel in your CUSTOM ROMs as long as you give links to this thread.

Source code including the initramfs: Attached below.

!!!The attached source code (source_HelloWorld_v1.2.8.tar.gz) is for DEVELOPERS only.!!!


Please hit THANKS button if you think that it is helpful for you. If not enough, you can even buy me a beer from the link in my signature
The Following 262 Users Say Thank You to crime_of_heart For This Useful Post: [ View ] Gift crime_of_heart Ad-Free
 
 
27th April 2013, 11:38 AM |#2  
crime_of_heart's Avatar
OP Senior Member
Thanks Meter: 911
 
More
TWEAKS:

From Ezekeel's GLaDOS:

[FSync Control]

Enable/disable single file/filesystem sync.

/sys/class/misc/fsynccontrol/fsync_enabled
enable = 1, disable = 0 (default enabled)

Disabling single file/filesystem sync increases the risk of a data loss on a crash/freeze and potentially can lead to other side-effects.

From Hardcore's Speedmod:

Here is how to change some of the kernel configurations:

[HOW TO ENABLE LOGCAT]

If you are a developer or want to re-enable logcat for whatever reason, do this:

adb shell
su
mount -o remount,rw /system
echo ANDROIDLOGGER >> /system/etc/tweaks.conf
mount -o remount,ro /system

[HOW TO DISABLE AUTO-ROOT]

Create a file called ".noautoroot" in either /system or /data. This will disable the auto root installation. This example, shows how to remove root completely:

adb root
adb shell
mount -o remount,rw /system
rm /system/xbin/su
rm /system/app/Superuser.apk
rm /data/app/Superuser.apk
touch /system/.noautoroot
mount -o remount,ro /system
sync
reboot

[HOW TO RE-ENABLE AUTO-ROOT]

adb root
adb shell
mount -o remount,rw /system
rm /system/.noautoroot
mount -o remount,ro /system
sync
reboot
The Following 39 Users Say Thank You to crime_of_heart For This Useful Post: [ View ] Gift crime_of_heart Ad-Free
27th April 2013, 11:39 AM |#3  
crime_of_heart's Avatar
OP Senior Member
Thanks Meter: 911
 
More
reserv2
The Following 24 Users Say Thank You to crime_of_heart For This Useful Post: [ View ] Gift crime_of_heart Ad-Free
27th April 2013, 11:59 AM |#4  
arinsms's Avatar
Senior Member
Flag Sri Kembangan
Thanks Meter: 95
 
Donate to Me
More
downloading...and flashing......finger cross

1. Awesome works...boot ok and rom is alot smoother, all working fine
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-04-27-19-25-51-14699579.jpg
Views:	8239
Size:	27.7 KB
ID:	1915947  
27th April 2013, 12:03 PM |#5  
Immortal Nerd's Avatar
Senior Member
Flag ngp
Thanks Meter: 168
 
More
Thumbs up Glad to have another kernel in Hub !!
Seems this kernel will definitely make TW roms much smoother and silky smooth
27th April 2013, 12:05 PM |#6  
crime_of_heart's Avatar
OP Senior Member
Thanks Meter: 911
 
More
Quote:
Originally Posted by Immortal Nerd

Seems this kernel will definitely make TW roms much smoother and silky smooth

That's what it did to my ROM :P
The Following 12 Users Say Thank You to crime_of_heart For This Useful Post: [ View ] Gift crime_of_heart Ad-Free
27th April 2013, 12:09 PM |#7  
Immortal Nerd's Avatar
Senior Member
Flag ngp
Thanks Meter: 168
 
More
Thumbs up Super cool ..... Lolz ... Seems i gotta try your rom !!
Quote:
Originally Posted by crime_of_heart

That's what it did to my ROM :P

Definitely gonna try your rom as m searching for super stable rom ........ Looks to me that m not quiet satisfied these days ..... Have about 25 gbs of roms on my disk ( GB .... ICS ..... JB ) !! Going insane !! Anyways I'll try your rom :P
27th April 2013, 12:10 PM |#8  
crime_of_heart's Avatar
OP Senior Member
Thanks Meter: 911
 
More
Quote:
Originally Posted by Immortal Nerd

Definitely gonna try your rom as m searching for super stable rom ........ Looks to me that m not quiet satisfied these days ..... Have about 25 gbs of roms on my disk ( GB .... ICS ..... JB ) !! Going insane !! Anyways I'll try your rom :P

Wait for the new version will be up tonight
The Following 14 Users Say Thank You to crime_of_heart For This Useful Post: [ View ] Gift crime_of_heart Ad-Free
27th April 2013, 12:13 PM |#9  
Immortal Nerd's Avatar
Senior Member
Flag ngp
Thanks Meter: 168
 
More
Thumbs up Thanx 4 the info ...... I'll wait :)
Quote:
Originally Posted by crime_of_heart

Wait for the new version will be up tonight

I'll wait tonight and flash ur rom !! My thnx button is dead coz only have 8 thnx up to date !! Btw thnx for the info ..... Will try it as soon as u r done uploading
27th April 2013, 12:44 PM |#10  
zai89's Avatar
Senior Member
Flag 5°15′N 117°0′E Sabah
Thanks Meter: 1,073
 
More
Quote:
Originally Posted by crime_of_heart

Wait for the new version will be up tonight

Unlimited thanks given..

Sent from my GT-N7000 using Tapatalk HD
27th April 2013, 12:50 PM |#11  
arinsms's Avatar
Senior Member
Flag Sri Kembangan
Thanks Meter: 95
 
Donate to Me
More
custom voltage is in plan or not? tq

p/s: pls say yes
Post Reply Subscribe to Thread

Tags
android, jelly bean, kernel, samsung, touchwiz

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

Advanced Search
Display Modes