[KERNEL][FROYO]G3MOD-Froyo - THREAD CLOSED - CHECKOUT NEW THREAD - Galaxy 3 Android Development

HEY GUYS, SINCE WE ARE NOW A TEAM
ALL FUTURE DEVELOPMENT WILL CONTINUE ON THE FOLLOWING THREAD
I HAD GREAT FUN DEVELOPING FOR YOU ALL GUYS.
HOPE WE AS A TEAM CAN DEVELOP EVEN BETTER.
http://forum.xda-developers.com/showthread.php?t=1252698
​

Changelog
Kernel Changelog:
v1.8 [30/08/2011]
Reworked Battery Driver
Reworked CWM Recovery
Now 11 ROM's support in Multiboot
v1.7 [15/08/2011]
Multi Boot
Power off Option in CWM
Dynamic OC (ability to change the maximum freq)
Modify the max_blk_count value to prevent overflow.(sdcard related)
mmc: core: Fix dereferencing after NULL check (sdcard related)
Lower vfs_cache_pressure 100->25.
ARM: fix some sparse errors in generic ARM code
lib: Improve the performance of memcpy and memmove of the general version
lib: Introduce some memory copy macros and functions
ashmem: fix deadlock when system is low on memory
v1.6 [11/08/2011]
Batter Driver Back to Original - Only Change is added Compensation for Data On
Stable OC
UV Works for All Frequencies - Can be checked via dmesg
Removed SavagedZen and SmartAss for now.Giving Problems. Will come back in future versions.
SDCard Partitioning Problem Solved - Ext3 partitioning for mmcblk0p2 - Can be converted to Ext4 Using g3mod app.
Kernel Flashing via CWM Recovery Working
Kernel Hz: Lite:256 Performance:300 Ultimate:500 Extreme: 1000
Noop I/O Scheduler by default
Fixed Typo in Bootlogo
v1.5 [05/08/2011]
CompCache
BootLogo
TinyRCU
Battery Driver Reworked - Please test and give feedback
v1.4 - 31/7/2011
CWM Recovery In Kernel
Fixed CPU Freq Driver. SetCPU now shows properly.
UV working properly now.Can Be Checked in dmesg.
A 1300MHz freq Step in Extreme Version for those who want 1300MHz overclocking.
Changed Kernel Hz to 300 for Better Battery Backup.
v1.3.4 - 27/7/2011
Overclocking Stable (Less freezes) - To Test
BFQ I/O Scheduler - http://algo.ing.unimo.it/people/paolo/disk_sched/
Extreme Version Screen Off Bug Solved
No OC bus for any versions - (For those who want OC Bus, please use v1.3.0 for the moment. I will try to make OC bus in some better manner)
v1.3.3 - 25/7/2011
5 Touch Mod
Removed RAM Optimization Script
Overclocking Stable (Less freezes) - To Test
Solved Bug which showed wrong freq in SetCPU and PimpMyCPU
Solved Time In State for SetCPU
Extreme Version has OC Bus 200MHz

Downloads
Kernel Downloads:
http://code.google.com/p/g3mod/downloads/list

Steps To Install
Steps To Install Kernel:
1. Download the kernel.
2. Flash using Odin via One-Package
3. Install g3mod app by dympy

Donations
Donations:
Thank You Frank Becker for the donation.
Thank You fuxmen for the donation.
Thank You marcellusbe for the donation.
Thank You kyrillos13 for the donation.
Thank You lovemx93 for the donation(Website - www.g3mod.com).
Thank You Marcin Czado for the donation.
Thank You Sascha Bauer for the donation.
Thank You Orilin(Giuseppe Russo) for the donation.
Thank You Benjamin Lebsanft for the donation.
Thank You Darshak Shah(cool.darshak) for the donation.
Thank You Wim Bogaert(Abelsama) for the donation.
Thank You Harigovind Kaninghat (harkan89) for the donation.

Steps for Different Features
Steps for Multi boot:
1) Flash Kernel v1.7+
2) Go to CWM Recovery -> Multiboot -> Backup ROM.
3) Backup your Current ROM to ROM1 (It will backup the system.img at /sdcard/Android/data/g3mod/romname_ROM )
4) Add the system.img of your 2nd ROM to /sdcard/Android/data/g3mod/romname_ROM and similarly for different ROM's.
5) Use the CWM Recovery -> Multiboot -> Switch ROM option to switch between different ROM's.
Note: Ask the developer of the ROM's to provide you with the system.img for their ROM
System Img's:
G3MOD ROM
Grigora ROM
Kyrillos' ROM
Stylooo AOSP Style
DutchMods ROM
XXJPS Stock Deodexed Rooted System.img.rar
Steps for Changing the Max Freq(Dynamic OC):
There is an entry in /sys/devices/system/cpu/cpu0/cpufreq/plls_table where you can put your own value for APLL.
Before doing this, set "PERFORMANCE" governor on and min and max frequencies to the maximum.
Code:
// Do this in adb
echo "0 a[SIZE="5"][B][U]258[/U][/B][/SIZE]0[SIZE="5"][B][U]3[/U][/B][/SIZE]01 a14d0303 c07e13fc cf850240" > /sys/devices/system/cpu/cpu0/cpufreq/plls_table
You need to replace the 258(Hex Value) with your desired value.
Here 258 means
(2*16*16) + (5*16) + 8 = 600
and 3 means it is 600*2 = 1200
Therefore, a2580301 means 1200MHz.
This is a temporary method. For a permanent Method, add this line to a init.d script. Name the script to something like S10_Dyanmic_OC.
Help Others: If you calculate a Hex Value for a particular frequencies add it here:
https://docs.google.com/spreadsheet/viewform?formkey=dG5hdnpsWFdTNExiY2t3dy16VzBvaWc6MQ
You can view all the frequency Hex value's calculated by others over here:
https://docs.google.com/spreadsheet...G5hdnpsWFdTNExiY2t3dy16VzBvaWc&hl=en_US#gid=0

Check This Out
Kernel Related Media:
5 Touch Support:
BootLogo and Progess Bar
Multi Boot

Old Kernels
g3mod_v1.3.4_LITE.tar (5.9 MB)
http://www.multiupload.com/3BIF9S2IES
g3mod_v1.3.4_LITE.zip (6.1 MB)
http://www.multiupload.com/9IJTKFIJDX
g3mod_v1.3.3_LITE.tar (5.9 MB)
http://www.multiupload.com/DDMMU0U9YB
g3mod_v1.3.3_LITE.zip (6 MB)
http://www.multiupload.com/DW1QZPDQOY
g3mod_v1.3.4_PERFORMANCE.tar (5.9 MB)
http://www.multiupload.com/H53ZTO5ULW
g3mod_v1.3.4_PERFORMANCE.zip (6.1 MB)
http://www.multiupload.com/WWFL3EXH0Y
g3mod_v1.3.3_PERFORMANCE.tar (5.9 MB)
http://www.multiupload.com/Y9CDMFVH61
g3mod_v1.3.3_PERFORMANCE.zip (6 MB)
http://www.multiupload.com/0MQQRR1KV8
g3mod_v1.3.4_ULITMATE.zip (6.1 MB)
http://www.multiupload.com/I4JCH7E5JE
g3mod_v1.3.4_ULTIMATE.tar (5.9 MB)
http://www.multiupload.com/TEQXRZMKPQ
g3mod_v1.3.3_ULITMATE.zip (6 MB)
http://www.multiupload.com/97DV0V4OQC
g3mod_v1.3.3_ULTIMATE.tar (5.9 MB)
http://www.multiupload.com/KV9SSVWWZ7
g3mod_v1.3.4_EXTREME.tar (5.9 MB)
http://www.multiupload.com/EGZKK89JTZ
g3mod_v1.3.2_LITE Odin
g3mod_v1.3.2_LITE CWM
g3mod_v1.3.1_LITE Odin
g3mod_v1.3.1_LITE CWM
g3mod_v1.3.0_LITE Odin
g3mod_v1.3.0_LITE CWM
g3mod_v1.3.2_PERFORMANCE Odin
g3mod_v1.3.2_PERFORMANCE CWM
g3mod_v1.3.1_PERFORMANCE Odin
g3mod_v1.3.1_PERFORMANCE CWM
g3mod_v1.3.0_PERFORMANCE Odin
g3mod_v1.3.0_PERFORMANCE CWM
g3mod_v1.3.2_ULTIMATE Odin
g3mod_v1.3.2_ULTIMATE.zip CWM
g3mod_v1.3.1_ULTIMATE Odin
g3mod_v1.3.1_ULTIMATE CWM
g3mod_v1.3.0_ULTIMATE Odin
g3mod_v1.3.0_ULTIMATE.zip CWM
g3mod_v1.3.2_EXTREME Odin
g3mod_v1.3.2_EXTREME CWM
g3mod_v1.3.1_EXTREME Odin
g3mod_v1.3.1_EXTREME CWM
g3mod_v1.3.0_EXTREME Odin
g3mod_v1.3.0_EXTREME CWM
G3Mod_v1.2.7_LITE
G3Mod_v1.2.7_PERFORMANCE
G3Mod_v1.2.7_ULTIMATE
Init.d Working
Undervolt Working
Lite: Non-OC 667MHz Max
Performance: OC Clock-1330MHz Max Bus-190MHz
Ultimate: OC Clock-1372MHz Max Bus-196MHz
G3Mod_v1.2.3
G3Mod_v1.2.3-Increased Voltage
Bus Overclocked - 200MHz
Overclocking Enabled
Max: 1400MHz
Min: 100MHz
Steps:100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400
G3Mod_v1.2.2
Bus Overclocked - 200MHz
Overclocking Enabled
Max: 1000MHz
Min: 100MHz
Steps:100,200,300,400,500,600,700,800,900,1000
G3Mod_v1.2.1
OverClocking Upto 800MHz
G3Mod_v1.1.1
FileSytem Support: rfs,ext2,ext3,ext4(tested working)
Init.d Scripts
Data2SD
No need to convert filesystems to rfs before flashing
G3Mod_v1.0.3
Fixed Sound Click Bug
Updated the battery driver
G3Mod_v1.0.2
adb root and busybox 1.19 Added
G3Mod_v1.0.1
1% Battery Support Added
Convert filesystems to rfs before flashing kernel.
G3Mod_v1.1.0
1% Battery Mod
Root ADB
own busybox 1.19
Fixed Sound Click Bug
Convert filesystems to rfs before flashing kernel.[/QUOTE]
G3Mod_v1.0.0
Stock Froyo Kernel

Source For Developers:
https://github.com/dharamg3
Note:
I am learning how to develop kernels.
I'll add different features as and when i can implement them.
The main goal of this kernel will be to keep the phone stable and fast.
There will be nothing as alpha or beta releases.
I'll give out the kernels directly, but if anything goes wrong and you have to reflash the ROM or kernel, please dont start shouting.
You may give me different ideas on what features to implement. I'll try my best to implement all the features you want
Many of the features implemented in this kernel, are taken from marcellusbe's Fugumod Kernel, and I shall be ever thankful to marcellusbe for the fugumod kernel
Warning:
I am not responsible for any damage caused to your phone (softbrick or hardbrick)

Credits
Credits:
marcellusbe for all his help, awesome fugumod kernel
supercurio for voodoo v10
Paolo for BFQ I/O Scheduler
Stylooo for the different version's banner
All developers for making this an awesome phone
Everyone who is helping is solving different issues with this kernel
Please let me know if i am missing anyone

benzyniarz1 said:
From polish android.com.pl forum:
JaCoL source
It does mean that user has strange problems, for example some problems with Android Market (not specified) and problems with logging in facebook (he can't just do it).
Click to expand...
Click to collapse
Ok...I'll check that...
Anyone else facing this problem??

dharamg3 said:
Ok...I'll check that...
Anyone else facing this problem??
Click to expand...
Click to collapse
adb root and busybox done!!!
Next in line is Filesystem Support

rudolf895 said:
@dharamg3
Would there be a how to/guide on how you did this?
Compiling kernel,modding..etc.?
Click to expand...
Click to collapse
I can do that but the problem is that kernel compiling is easy but modding is difficult.
Even if i post it, there will be a lot of users who dont know stuff, and start complaining about why this is not happening and stuff...
So i would prefer to help but personally not directly on the forums..
So anyone who would like to learn, PM me and i'll guide you as i can

deskjeti said:
It would be great if you could get the permission of marcellusbe to modify the 2.2BE fugumod with 1% battery mod
Click to expand...
Click to collapse
For that i will require marcellusbe's 2.2 source...maybe you should wait for 2.4 bleeding edge...

dharamg3 said:
For that i will require marcellusbe's 2.2 source...maybe you should wait for 2.4 bleeding edge...
Click to expand...
Click to collapse
Guys, Link for G3Mod v1.0.2 is added.

Nice! You're a quick learner!

rudolf895 said:
ok then..
PM it is
Once i know where n how to start i'll mod myself..
Click to expand...
Click to collapse
Its not similar to rom build (framework here, apps in this folder....) its n times harder
Sent from my GT-I5800 using Tapatalk

peldax said:
Its not similar to rom build (framework here, apps in this folder....) its n times harder
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
who said its easy!
Would you give up when things get hard?
I'd learn n share knowledge..
FYI dharamg3 is already helping me via PM..

I didnt give it up! I am working on my own kernel now
Sent from my GT-I5800 using Tapatalk

chill anyway i see that first everybody was making custom ROMs but now everybody is making kernels idk if i should even make one when there will be so many kernels i quess when everybody are tired of making kernels then everybody will start develope apps, evolution but this was a bit off-topic

Related

(OC)Official GingerBread Kernel/**Multitouch fix added Aug 08**/Ring no Fade updated

********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Personal Thanks to Andy, Mik_os, Franciscofranco, Ciaox, Noejn and all other devs.
AmonRA to flash it with the need to disable the verification of signatures.
Overclocking
Smartass
Smoothass
Cifs
Supports EXT4
+upstream to 2.6.35.13
+oc, interactive, smartass, smoothass, cifs, ext4
+governor added SavagedZen
+autogroup scheduler (the patch of 200 lines)
+ smoothass smartass with a capped rate (standby) to set minimum
V3 Kernel -Old kernel:
ADB Bugfix for device
Reconfigured various kernel parameters (For better power management, CPU profiles)
-Added for the inversion axes Sippola in the new touch screen driver.
-Simple-inserted I / O scheduler (sio)
-Included various other patches 5-6
-Removed references-debug (smaller kernels)
-Small fix to reduce the impact on the CPU more pressure on the display (you can check with Neocore first ... the difference came in 8-well 9fps now settles down to 2-3fps)
******Updated 25 July*********
Magazine-routine to increase the stability and overclocking performance, cameraflick is absent up to 729mhz
Touch-fix which decreases the occupation of the CPU when you press your finger on the display (should no longer have the lag that had the first version of V4 (I hope))
Magazines-and reinsert all the previous patches (66 patches in total)
Inserted by the kernel-2.6.36 backport of block, and mtd workque
Backport-inserted by the kernel 3.0rc6 and cpufreq of cpuidle
http://www.mediafire.com/?g8r37pzsr3ig21j
+same kernel but without the fix for employment cpu (maybe better in the scroll lag if you have one) **No touch fix kernel***
http://www.mediafire.com/?bed0ht9kcz0071c
******Updated 08 Aug*********
Touch V6 2.6.35.14
V5-like, but updated to version 2.6.35.14
-Added 2.6.36 kernel backported from the i2c
-Support Module tun.ko
-Vsync enabled
http://www.mediafire.com/?otpne0w1v8bhnp8
If you want to try the version NoTouch kernel
http://www.mediafire.com/?4wuiscjcu5xal58
After flashing, wipe cache and davlik.
If you have a2sd then run the following in terminal:
su
a2sd cachesd
The phone will reboot automatically.
Download Ringing with No fade :Now supports Gingerbread 2.3.3 :
http://www.mediafire.com/?1xqcc0jppl2w9ic
Flash and enjoy
To know more the original idea, please visit the thread here :
Special Thanks to Januka for the idea.
For devs :
I/Paolo doesn't have a repository, So its uploaded here :
Kernel Ginger Source
http://d-h.st/jvn
u only need to change one line in Makefile
at line 193 change from
Code:
CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- #CROSS_COMPILE ?= arm-eabi-
to
Code:
#CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- CROSS_COMPILE ?= arm-eabi-
Yes, I know I should use search, but please, can anyone explain to me how do smartass and smoothass work in comparison to, for example, conservative and ondemand?
And massive thanks to you mansirawat!
If you already know that you should use the search function, maybe you don't know HOW to use it...
Here's a "tutorial": http://lmgtfy.com/?q=android+governors
Otherwise, you're just plain lazy... which one is it?
Ciaox should see this thread , he is waiting for GB OC Kernel
P.S : Thank you for the Kernel
Otherwise, you prefer wasting perfectly good post space in order to lecture me. Just like half the members of XDA. And the fact that you supposedly come from Romania as well just shows...nah, why bring that up here, all foreigners know it already.
Great! Awesome! Pure awesome!
Thanks a lot!
Stock rooted GB with this kernel (652/320)-> 1152 in quadrant. I don't care too much about those points, but my phone is smoother.
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
do i have to flash a new baseband before flashing this on any custom rom? thanks
Flashed it,let's see!
Thanks!
Best!
Great!
Awesome!
Pure awesome!
mansirawat said:
********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Overclocking
Smartass
Smoothass
Cifs
Doesn't support EXT4
Click to expand...
Click to collapse
Hey mansi hows the performance??? If its good then it will be included in my new ROM.
CWM can also be used to flash this zip. Tested(CWM 3.1.0.0) and worked.
sajjan said:
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Why would you use this on a custom rom? We have Francisco's kernels for that.
devlin2427 said:
Why would you use this on a custom rom? We have Francisco's kernels for that.
Click to expand...
Click to collapse
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Well I tried it out of curiousity ....and if not better it's definitely at par.....I still have to check battery life....
Sent from my LG-P500 using XDA App
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
does this kernel require a new baseband?thanks
roi14 said:
does this kernel require a new baseband?thanks
Click to expand...
Click to collapse
Yes, of course.
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
devlin2427 said:
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
Click to expand...
Click to collapse
ya you can use franco's kernel on any custom ROM other then those which are built from official 2.3.3
doktornotor said:
Yes, of course.
Click to expand...
Click to collapse
No. kernels have nothing to do with baseband. I flashed on v20g and its improved performance and another guy flashed on void forever and it improved performance.

[Kernel][GB][OC/UV][HDMI-MHL] !NEW! Synthesis Kernels <2013-04-30>, plus Infusion-Z

[Kernel][GB][OC/UV][HDMI-MHL] !NEW! Synthesis Kernels <2013-04-30>, plus Infusion-Z
Please post only bugs and testing results on this thread. For general questions and answers visit ---> Infusion-Z and Zen kernel Q&A​
*** Synthesis: The only GB kernel you need for your Infuse ***​
New features
This set of kernels is a combination of the stock UCLB3 kernel, with all mods from the Infusion-Z kernel (see below), some mods from Entropy's DD, and more. New features include:
- Fix for the wifi drain bug (aka bt-amp bug). In the event that this bug occurs, the kernel triggers a reset of the wifi interface, which stops the bug and saves battery.
- Wifi roaming code from the international SGS2 (roam_api) replacing the stock bcmccx logic. Reduces the incidence of the wifi drain bug. This config is less agressive in seeking out new access points, so you may need to open the wifi config screen in settings to speed up the connection process.
- External SD card (/sdcard/external_sd) is now available in CWM recovery and can be used as a source to flash CWM zip packages
- Entropy512's fast charging hack is included (thanks!)
- SIO and BFQ I/O schedulers added from Entropy's DD (thanks!)
- Voodoo lagfix lady 2.0 :good::good:
- Kernels are attached to this post (CWM flashables) including stock CPU frequencies - 1.2Ghz - and two OC options - 1.4Ghz and 1.6Ghz. If you prefer to flash them using SGS Kernel Flasher, you can download a bundle containing all three >>here<<
-------------------------------------------------------------------------
- Overclocking and Undervolt support - thanks to bedwa's prior work
- CoreA cpu speeds - 1600, 1200, 800, 400, 200, 100
- CoreB cpu speeds - 1400, 1000, 800, 400, 200, 100
- Voodoo sound driver, voodoo lagfix - courtesy of project voodoo
+ [cifs support] see post #29 for info on how to use cifs
+ [Removed auto-install of superuser] you can get the current su cwm flashable here: http://androidsu.com/superuser/
+ [HDMI/MHL support] using mhl adapter you can play video on most TVs and monitors with a HDMI port
+ [Video support] newer roms no longer need video reverts to allow video to record or playback
+ [External sdcard fix] corrected issue which prevented external sdcard access in some cases
+ [cfq i/o scheduler tweaks] added optimization tweaks for cfq scheduler
+ [Boot animation fix - partial] this is a work in progress - see notes below
NOTES:
Intended for use *ONLY* with stock-based GB ROMs. For CM7, CM9, and CM10 check project OPs for proper setups.
OC/UV requires use of an app like Voltage Control, CPU master, or SetCPU. Read up before jumping in - you can lock or damage your phone with incorrect settings. Remember to save your boot settings in Voltage Control menu to ensure your settings stick.
To get boot animations to show correctly: In /system/media copy sanim.zip to bootanimation.zip. I plan to automate this in a future release.​For tips on overclocking and related performance and battery tweaks see the q&a thread.
Important! - Video restore and revert packages are intended only for users of current ROMs with stock library files who have previously applied a revert package to get video to work. If you haven't done this, or are unsure, flash only the kernel package of your choice.
Links to install packages for the first release can be found on post #3.
Source code is available on my github (see signature).
​Be safe and always make a backup before flashing!​Standard Disclaimer: All packaged builds are provided with no guarantees as to their safety. By flashing, you assume any and all potential risks that running a custom kernel might entail.
Recommendations: Wipe cache and dalvik-cache when flashing a new kernel. Disable any oc/uv settings from phone before flashing a new kernel.
Overclockers/Undervolters: If your phone is unstable when running at a particular overclock speed, choose a lower max cpu speed - not all phones have the same ability to handle oc speeds. When undervolting, do your research first and make small changes.
​ Big thanks to those who helped test this and prior kernels: qkster, mikig_mkd, boogman7, scott.hart.bti, aeonit, mikig_mkd, nwinfuse, texcowboy, tankmorph, prairied0gg, madman_sle, cmeyal, atk, and jdt352 ​Thanks to bedwa, entropy512, linuxbozo, and netarchy who laid the foundation (and built the house) - especially bedwa and entropy for helping me out along the way. Visit their threads and say thanks:​infusion kernel development by bedwa --> infusion kernels
​daily driver kernel development by entropy512 --> entropy daily driver
​ Remember the multicians - http://www.multicians.org/ (if you know, you know.. If you don't, you should)
Click to expand...
Click to collapse
.•...•.•.••.••.•.••....•.••.•••..••...••.••.•..•.• ••.....••....•.•••.•...••..•.•..•......••••..•.••. ••••.•••.•.•.•••..•..•••..••.••..•.•.••.••...••..• •...•......••..••..•••..•..••.••••.••.••.•..•..... .••.••.•.••..•.•.••.•••..•••.•...••....•.••.••.... •......•••..••.••.••...••....•.•••.••..••..•.•.••• ..•..••••..•..•.••....•......••.•••..••.••••.••.•• •..••..•.•..•......••...•..•••.•.•.•••.•....•..... .••.••••.•••.•.•.•••..•..•••..••.••..•.•.••.••...• ••.••..••..•.•.•••..••..•......••...••.••....•.••. •••...•......••..••..•••..•..••..•.•.••..•.•..•... ...••.••••.•••.•.•.•••..•...•......••.••.•.••.•..• .••.•••..••..•..​
Change, Issue, and Enhancement Logs
Change log
2013.04.30 - UCLB3+Infusion+DD, Fix wifi battery drain bug, Change wifi roaming code to sgs2 roam_api, Add support for /sdcard/external_sd from CWM recovery, Add Entropy's fast charging hack, Add BFQ and SIO schedulers from Entropy's DD, Upgrade voodoo lagfix voices.
2012.05.20 - Add HDMI/MHL support (for external video playback), add video support for current ROM firmware (UCLB3/UCKL2 - No more need for Video Fix!), add correct vold.fstab definitions for currrent firmware (mounts external sdcard correctly), initial bootanimation fix (not 100% - need to copy "sanim.zip" to "bootanimation.zip" in /system/media in some cases), add CFQ I/O scheduler tweaks (better performance)
2012.05.05 - Add cifs support, remove auto install of Superuser, change initramfs compression to lzma, add video lib mod option packages for vidcam rec/play
Click to expand...
Click to collapse
Known Issue log
- Flashlight function disabled in quick panel after use of video record or playback (restored by taking a flash photo, turning on flash using "Tiny Flashlight" app, or reboot)
- Some reports of random screen color change after disconnecting charger (restored by lock/unlock or reboot aka "faerie snot") [Fixed with the UCLB3 base - 4/30/13]
- Some reports of racing CPU on ROMs with tweaks [Racing CPU issues appear to be caused by modifying "ro.ril.xxxxx" cellular radio settings in build.prop. To fix, remove those tweaks (referencing a standard UCLB3 build.prop), or flash a near stock rom like r.e.v.e.n.a.n.t ]
Click to expand...
Click to collapse
Planned enhancements
- Improve auto-detect of boot animation files?
- Add support for BLN Lights?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
•.•.••..•.•.•••••.••....•.••....•.••...•••.••••.
Information and Prior Release Mirrors
reference materials
governor, i/o scheduler, & tuning info
Click to expand...
Click to collapse
prior release mirrors
2012.05.05 - initial "z" kernel release (mirror)
cwm-infusion-gb-z-corea2-videofix.zip
cwm-infusion-gb-z-corea2.zip
cwm-infusion-gb-z-coreb2-videofix.zip
cwm-infusion-gb-z-coreb2.zip
cwm-uclb3-videolib-revert.zip
big thanks to those who helped test this release: Qkster, ppalbicke, bigfau, and aeonit
Click to expand...
Click to collapse
Click to expand...
Click to collapse
.••...•..••..•.•.•••.•••.••....•.•••..•..••..•.•..•......•••.•...••.•....•••..•..••....•.••.•.••.••.•.••.••.••••.•••..•..••••.•..••.••••.••..•••..•....•
Nice, bro. First.
edit: Alright. Now that I got the 1st post after op claimed, I will add some more relevant info.
Nice work, Zen. I know you've been putting a lot of time into this.
Let me be the first to say thank you.
I hope this will be the first of several new additions.
Kernel development is a task onto itself.
Kernel devs are a rare breed indeed.
Thank you for taking the time to give us some options.
Now we have the options of OC and retained some video capacity, even though we are using older libs.
Can't want to see what you can do. It will be a beautiful moment to see a stable OC with MHL fix.
Awesome work, bro.
edit: 6.5.2012: Well..MHL works. OC works.
Can you make me look cool so the hot chicks will dig me?
really nice job, zen, keep it up
Outstanding Zen thanks for all the hard work. :thumbup:
Sent from my SAMSUNG-SGH-I997 using xda premium
Thanks Zen for your work :thumbup:
Thx for your work in keeping it going, in the developing for our community.
Fantastical!
Sent from my SAMSUNG-SGH-I997 using xda premium
if i flash GBZ-A2 and the lib files for emancipation, everything should be nice n cherry without superuser going back on me?
brclho said:
if i flash GBZ-A2 and the lib files for emancipation, everything should be nice n cherry without superuser going back on me?
Click to expand...
Click to collapse
yup..that's the idea. You get to retain the lastest SU that you have installed.
Thanks all! I'm looking forward to seeing what more can be done with this kernel.
brclho said:
if i flash GBZ-A2 and the lib files for emancipation, everything should be nice n cherry without superuser going back on me?
Click to expand...
Click to collapse
The packages with the video fix include the same files as with eman. You should only have to flash the kernel+video package in the OP.
Ni e work on kernel :thumbup:
Sent from my SAMSUNG-SGH-I997 using xda premium
Flashed the CWM-Infusion-GB-Z-CoreA2-VideoFix.zip on the ROM Emancipation A:I.
Wiped dalvik and cache.
Rebooted.
Video works great!
Bluetooth turned on, gotta connect to my car tomorrow and test it out.
WiFi connected right away.
Great work guys!!!
CIFS at LAST!!!
A couple quick questions:
I just updated to the Emancipation A1 ROM - please list me the exact steps to install this Kernel. (A bit confused with the revert and video-fix stuff)
bsw11 said:
CIFS at LAST!!!
A couple quick questions:
I just updated to the Emancipation A1 ROM - please list me the exact steps to install this Kernel. (A bit confused with the revert and video-fix stuff)
Click to expand...
Click to collapse
Steps are literally on every help thread.
1. Copy the zip "CWM-Infusion-GB-Z-CoreA2-VideoFix.zip" to internal SD
2. Boot into CWM
3. Select install zip from sd card, and select select the zip you downloaded.
Thank you Zen for your hard work. This is essentially what GPL and git is about. Thank you to everyone else for your patience as well.
My Tab makes calls Yo! GT-P6800
Very awesome... Cant wait to see the upcoming progress with this kernel. Thank you!
Just wanted to point out that on emancipation, my benchmarks skyrocketed using this kernel.
some strange dark magic going on in my phone now...

[kernel][3.0.46][ics] •∞ CYMBALINE •∞ RD04 •∞ 2.8 •∞ [16-OCT-2012]

[kernel][3.0.46][ics] •∞ CYMBALINE •∞ RD04 •∞ 2.8 •∞ [16-OCT-2012]
PLEASE READ THE ENTIRE POST #1 and POST #2, UNDERSTAND, READ IT AGAIN, BEFORE YOU DECIDE TO FLASH.
* THIS KERNEL IS ONLY FOR ICS (Android 4.0.x) TouchWiz (Samsung/ATT ICS releases, i.e any UCLF6, UCLF5, UXLF3, UCLD2, UCALC2) ROMS. It is NOT for after market ROMS like CyanogenMod or AOKP.
* The ONLY device that it has been tested is ATT SGH-I727 and Rogers SGH-I727R.
* CYMBALINE 2.X is a complete overhaul from 1.X series, if you have been using 1.X series, I would strongly recommend to upgrade to 2.X series.
Click to expand...
Click to collapse
DISCLAIMER
Click to expand...
Click to collapse
KERNEL FLASHING, OVERCLOCKING, UNDERVOLTING, ETC CAN POTENTIALLY DAMAGE YOUR PHONE. YOU ARE SOLELY RESPONSIBLE FOR FLASHING THIS KERNEL.
​
TUNING SCRIPTS
Click to expand...
Click to collapse
For Gov/OC/UV/UC tuning scripts for various governors. If you don't like to use an app (as lot of them cannot do fine grained tuning) you would like to use init scripts, then please see @ReedX50v scripts in this thread. The only requirement is "busybox run-parts init.d supports", most custom ROM's with modified Ramdisk kernel image should have that built-in. If it not, then bang your ROM author to provide one.
* For Cymbaline 2.6 and above (any ramdisk version, i.e. any of the RDNN) use the information in following post #574. You might also read the post #249, for some background information. Please thanks ReedX50v.
* For Cymbaline 2.5 and BELOW (any ramdisk version). use the scripts (again thank Reed50Xv). Use the scripts from the following post #249.
​
​
FEATURES/CHANGELOG
Click to expand...
Click to collapse
You can use 3rd Party APPS for CPU and Voltage Control. For Voltage, it is using the Faux VDD tables, so the app MUST be able to understand that. (See ADDONS section below).
[RD04][2.8]
updated to linux 3.0.46 upstream.
Experimental, ported CM10 bln with blink support (updates your lights lib in ROM). Not sure how great this is but feedback is appreciated.
WiFi sensitivity restored to stock.
[RD04][2.7]
updated to linux 3.0.42 upstream.
Ramdisk updated to support boot sounds. (remove /system/etc/PowerOn.ogg if you don't want it)
merged to latest (09/09/2012) CAF relevant changes.
[RD03][2.6]
Changed Ramdisk (def. governor changed from "ondemand_sammy" to "ondemand".
updated to linux 3.0.40 upstream.
updated WiFi stack to 1.15.55
Skipped internal releases 2.4 and 2.5.
FIX: Now overclock should be fully supported.
[RD02][2.3] Minor release, only one version now. Hacked to ensure that the max. boot ramp up is only 1.566GHz. If your phone can't handle that, sorry return it .
Added two more governors as modules : "savagedzen" and "hotplug"
Unified release, hack in place to not ramp up to the MAX allowed i.e. (1.836Ghz) so all phones should boot, as the boot max is set to 1.566GHz.
merged some bt code from Cymbaline 1.5 branch.
[RD02-2.2] Please note RAMDISK change, see below
Samsung ondemand governor moved as "ondemand_sammy", did this so that I can merge the standard ondemand and mods w/o creating a merge headache. Due, to this, the SAMMY settings in the RAMDISK modified to reflect the new name.
using linux ondemand with faux mods. (thanks faux123)
added faux's intellidemand as a built-in gov, since I like it (thanks faux123).
reverted the wi-fi optimization, which was causing tethering issues. (hopefully this is fixed)
pre-emptive strike: merged all Govs from 1.5. Please don't complain that I am missing one. As usual all these are in /system/lib/modules. so you would need to "insmod" (see ReedX50v scripts for samples). Here is the remaining ones (please see RD01-2.1 ChangeLog for others)
Code:
/system/lib/modules/cpufreq_brazilianwax.ko
/system/lib/modules/cpufreq_lionheart.ko
/system/lib/modules/cpufreq_lulzactive.ko
/system/lib/modules/cpufreq_ondemandx.ko
/system/lib/modules/cpufreq_wheatley.ko
[RD01-2.1]
BLN Fix: reverted 2.0 changes, should work now
Providing two CWM flashable zips. One OC to 1.8366GHz and another with OC Capped at 1.566GHz.
Upped the voltage to 1350mV as per ReedX50v testing results and recommendation (hit his thanks button).
IMPORTANT: ALL CUSTOM GOVERNORS are compiled a Kernel Modules. Please use init script to enable the ones you want. I have done this so as to eliminate any interference from them.
This version has the following Governors: (Please see Post #420)
Code:
/system/lib/modules/cpufreq_adaptive.ko
/system/lib/modules/cpufreq_badass.ko
/system/lib/modules/cpufreq_lagfree.ko
/system/lib/modules/cpufreq_lazy.ko
/system/lib/modules/cpufreq_pegasusq.ko
/system/lib/modules/cpufreq_smartass2.ko
[RD01-2.0] Major version change. REMOVED SOME GOVERNORS, please restore to stock ondemand before flashing (i.e. disable init scripts or apply on boot settings in whatever app you are using).
Updated to upstream Kernel 3.0.38
Bunch of NetFilter kernel modules in /system/lib/modules for the interested users.
I have removed some governors, please reset to default governor "ondemand", before flashing.
cherry-picked key changes from CAF.
GPU OC (NOTE: please use sysfs interface to change the frequency the default is stock values, see post #2)
3D Mode: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D Mode: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
Cherry Picked various bits from Samsung Code released for our device.
CPU OC: 192KHz - 186300KHz.
Cleaned up BLN code.
Added some WiFi fixes.
This is mainly a release based of the major overhaul.
Added more I/O Schedulers: BFQ (v3r4), Simple I/O, VR.
[1.5] Please see the posts for the evolution of this version, the last post should detail the final changes (208) #151 , #161 and #208
[1.4] Scaled down the defaul ondemand governor to 1.566 (slight oc). Should perform really well for people satisfied with the defaults.
[1.4] Added more governors for people to play around with, note, I would like to trim it down in futures versions of cymbaline. The newly added ones are (thanks to whoever developed them):
brazilianwax
ondemandx
lionheart
SavagedZen
wheatley
scary
[1.4] Moved init.qcom.post_boot.sh into the ramdisk, to not depend on ROM variances. You should use the /system/etc/init.d hook (of course busybox must be installed).
[1.3] bugfix: the max. freq. was not enabled in 1.2, fixed in this release.
[1.3] some compiler tweaks added building this version of kernel.
[1.2] Restored settings to Stock Governor & I/O scheduler.(ondemand/cfq)
[1.2] BUGFIX: BLN and TouchKey backlight interactions for the "on" settings were conflicting. restored to UCLD2 behavior.
[1.1] Default Governor is tegraks lulzactive.
[1.1] Default CPU Scaling Max. is 1.566MHz.
[1.1] Available Governors (Most governors tuning via sysfs interface please google)
smartass V2
badass
lazy
intellidemand
lagfree
interactive
lulzactive (default)
[1.1] Using Faux's CPU and Voltage table
[1.1] Faux's GPU Overclock (not tunable from userspace)
[1.1] Max Overclockable Frequency: 1.728MHz
[1.0] BLN support.
[1.0] UTF-8 Support.
[1.0] Kernel symbols enabled (some apps require it)
[1.0] init.d: via busybox run-parts, place your scripts in /system/etc/init.d/ (chown root.shell) (chmod 755)
[1.0] insecure (ro.secure=0)
[1.0] adb root
[1.0] adb default shell bash.
[1.0] All IPV6 options enabled.
[1.0] CIFS is a kernel module (/lib/modules/cifs.ko)
[1.0] bootanimation support, drop your favorite bootanimation.zip in /system/media.
[0.0-0.6] Front Camera fully functional WITHOUT any lib hacks for Skyrocket ICS ROMS. Which means keep dont change the libs.
[0.0-0.6] Back Camera working.
[0.0-0.6] Completely removed MMC_ERASE capability, that means with the running kernel any erase to internal sdcard will error out. This is implemented as per the "brickbug" recommendation.
[0.0-0.6] General code merges and cleanup.
​
DOWNLOADS
Click to expand...
Click to collapse
Always, download the latest one, unless you have a need to be on a older version.
[16-OCT-2012] [RD04][2.8] Please read the changelog above.
CYMBALINE-RD04-2.8-cwm5.zip
[16-SEP-2012] [RD04][2.7] Please read the changelog.
CYMBALINE-RD04-2.7-FINAL-cwm5.zip
[12-AUG-2012] [RD03][2.6] Please read the changelog, this post again and post #2 again.
CYMBALINE-RD03-2.6-cwm5.zip
[09-AUG-2012] [RD01-2.3] Please read the changelog, this post again and post #2 again.
CYMBALINE-RD02-2.3-cwm5.zip
[07-AUG-2012] [RD01-2.2] Please read the Changelog and post #2. Again providing two versions, if the 1.8366GHz causes problem booting (e.g. bootloops) flash the 1.566GHz one..
CYMBALINE-RD02-2.2-cwm5-1.836GHz.zip
CYMBALINE-RD02-2.2-cwm5-1.566GHz.zip
[06-AUG-2012] [RD01-2.1] Two versions available for download. If your phone cannot handle the 1.8366GHz (bootloop) then flash the 1.566GHz version
CYMBALINE-RD01-2.1-cwm5-1.836GHz.zip
CYMBALINE-RD01-2.1-cwm5-1.566GHz.zip
[06-AUG-2012] [RD01-2.0] No Overclock version. That is max. CPU is capped at 1.512GHz, use this if you are having bootloops flashing the overclockable to 1.83GHz version. CYMBALINE-RD01-2.0-NO-OC-cwm5.zip (1.512GHz Max.).
[05-AUG-2012]: [RD01-2.0] CYMBALINE-RD01-2.0-cwm5.zip. Please see the change log. (Overclockable upto 1.836GHz).
[27-JUN-2012]: (3.0.8-1.5) CWM Flashable (TouchWiz based ROMS only). Download
[24-JUN-2012]: (3.0.8-1.4) CWM flashable. ICS ROMS (SAMSUNG TouchWiz based) ONLY. NOTE: THIS WILL REPLACE YOUR /system/lib/modules with a symlink to kernel modules (Please see revert section). (installation, just flash in CWM nothing else). CYMBALINE-1.4-cwm5.zip
REVERTS
Click to expand...
Click to collapse
[STOCK-UCLF6] (Official Samsung/ATT Stock Kernel). CWM5 flashable. kernel-sgh-i727-UCLF6-cwm5.zip
[STOCK-UCLE2]: CWM flashable. ATT SKYROCKET, ICS BUILDS ONLY. Download
KNOWN ISSUES/BUGS
Click to expand...
Click to collapse
None as of now.
ADD ON/APPS
Click to expand...
Click to collapse
​
As far as I know (not tried it), only SystemTuner provides the "lipstick" for reading the voltage table and allowing you granular control of the voltage for each frequency.
Most of the other apps, can I believe allow you to change the CPU/IO scheduler/Govs, safely.
Or, if you are hardcore, please see this post 249 by ReedX50v (hit his thanks button), for graciously providing flashable init scripts, you can use one as a template to what works for you.
SOURCE AND OTHER INFO
Click to expand...
Click to collapse
As per GPL requirements, I will post the source as soon as I have me repo setup. The current version is built straight from SAMSUNG Sources for the Korean SKYROCKET LTE. You can build it yourself from here:
Source Git Hub Repo: https://github.com/mohankr/android_kernel_samsung_msm8x60.git
CREDITS/THANKS
Click to expand...
Click to collapse
Although, there was a lot of effort involved in bringing this kernel, but without the following people doing the heavy lifting, it would not be possible..to bring it so quickly.
Faux123 (for majority of the heavy lifting) (gov, oc, uv and gpu). I just ported it over to our device kernel.
tegrak (lulzactive governors)
creams (bln)
romanbb (bln)
DaG (bln)
ReedX50v for providing flashable scripts.
samsung, for at least releasing the source for a similar device, so i could bring this..
whoever were the original authors for the governors included, that were not part of the source.
Click to expand...
Click to collapse
reserved
1) ROM Developers Info.
If you are planning to bundle this kernel in your ROM. The Samsung init.qcom.post_boot.sh has been disabled and moved to the ramdisk. Your changes should be incorporated in /system/etc/init.d scripts (of course need busybox installed). NOTE: the init scripts always execute after the above script, so you can always override the values there.
2) How do I find the available governors?
Below adb command, will tell you what the available governors in the kernel are (assumes adb/rooted) (shown in 1.4 kernel):
Code:
$ adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
brazilianwax ondemandx SavagedZen wheatley scary smartassV2 badass lazy intellidemand lagfree lulzactive interactive conservative ondemand userspace powersave Lionheart performance
3) Sysfs interface for GPU OC?
The GPU OC Modes are supported:
Available frequencies:
Code:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
The default (and the default in CYMBALINE Version 2.0 and above) stock values are:
Code:
3D @266MHz and [email protected]
To change the values use the sysfs interface here are the relevant samples to max it all out. (you can make an init script to make it permanent)
Code:
#!/system/bin/sh
echo "Overclocking GPU"
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
echo "End"
exit 0
4) Why does the CPUSpy show reaching max. CPU frequency, even though the bundled values 1.52GHz?
This is caused by SAMMY ROM ramping up the CPU's to the Max. during boot. I am looking for a clean way for this to not happen, once I find the source (I have few things narrowed down)...
This is really exciting! Read about this in your other thread and started to pitch a tent.
Bluetooth is not a deal breaker for me so let me know if you need a tester for camera.
Can test on whatever rom needed. Stock, etc.
Sent from my SAMSUNG-SGH-I727 using xda premium
Can't wait to download this when Bluetooth & camera are fixed.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Some more great work from you mohan. Have you been looking for any possible bln/overclock patches now that you have the source? I'm happy to help in any way I can.
jomeister15 said:
Some more great work from you mohan. Have you been looking for any possible bln/overclock patches now that you have the source? I'm happy to help in any way I can.
Click to expand...
Click to collapse
Thanks. Yes, those will be the first in the TODO list..Also, people have pointed to other interesting kernel mods (like siyah)..Once the source is up I am hoping it will spur involvement from everyone, that will be great..
BLN support?
raviluke said:
BLN support?
Click to expand...
Click to collapse
Umm, look up one post?
The cm9 and aokp guys are gonna love this.
Sent from my SAMSUNG-SGH-I727 using xda premium
if da_G or faux123 does their magic with the kernel for aokp/cm9 now that teh source is avail that would be lovely .
truly
Those guys are long gone..
Sent from my SAMSUNG-SGH-I727 using xda premium
Well, good thing folks like the OP are still around then...
Thought I was noticing a theme in your rom/kernel names and was going to ask if this (and Embryo) were named for Pink Floyd songs.
But then I thought I'd use Google before asking and I found your post stating that Embryo was in fact named as a dedication to the Pink Floyd song (here: http://forum.xda-developers.com/showpost.php?p=25925976&postcount=287 ).
Would love to see you do something -- anything -- with the song, "Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a Pict"
ReedX50v said:
Well, good thing folks like the OP are still around then...
Click to expand...
Click to collapse
Agreed
Sent from my SAMSUNG-SGH-I727 using xda premium
mindmajick said:
Those guys are long gone..
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Da_g is gone, he got a g-note i believe? But i'm sure faux will make an ICS kernel once the official i727 kernel source is released.
T989 source is here.
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T989
3rd one down.
Sent from my SAMSUNG-SGH-I727 using xda premium
Wow thanks, mohan you rock
mindmajick said:
T989 source is here.
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T989
3rd one down.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Thanks..let's see if they left the the key bluetooth files..i got camera to work w/o preview..
EDIT: cool..the bits are there ..now to compile and boot..
oh crap I forgot about mohan . apologies
Nice. Nice. Nice. Nice. Nice.
Uc/UV here we come
sent from my I727 TROLLING DEVICE using XDA premium.

[KERNEL][OC][STOCK/CROMI] JB 4.2.1 ★ Hundsbuah ★ 10.6.1.14.10 ★ v3.4.0 ★ BETA v3.4.4

[KERNEL][OC][STOCK/CROMI] JB 4.2.1 ★ Hundsbuah ★ 10.6.1.14.10 ★ v3.4.0 ★ BETA v3.4.4
1Thanks to: _that, sbdags, steveman29 and all testers out here
If you like my work you can donate by clicking the link below:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BGD8ETXAPXNEQ
Please tell me your xda nickname in the donation!
Donators: steveman29, bads3ctor, Douglas Wing, pastorbob62, Yamir Gonzalez, ziggy71, sbdags, Mackis, Daruniafx, MotoFlasher, tijsva, JoinTheRealms, faustus1005, ubefuct, LetMeKnow
IMPORTANT:
Please always try to undervolt the CPU as much as you can/as its running stable! Less VCORE, less heat, more batterylife!
If you get reboots and/or cpu gov scaling errors, you have undervolted too much!
PLL Calculation Excel:
I have also made a cpu pll calculation excel sheet. there you can calculate your correct M,N values for a specific freq
Download here: http://www29.zippyshare.com/v/35204606/file.html
Printout hexdumps from edp.c:
I also wrote a small c-programm to print out the content of the edp hex-dump.
just copy the hex values from your edp.c in edplimits.c. look in the file and you know how to.
Its an eclipse project.
The output is a file called: edp_entrys.txt
Check out your speedo_id and regulator id and search for it in the .txt file
Download here: http://www58.zippyshare.com/v/40584147/file.html
Source:
Kernel:
https://github.com/Hundsbuah/tf700t_10_6_1_14_4
MyApp:
https://github.com/Hundsbuah/HundsbuahsKernelTweaks
If you dont make any changes to my kernel here my recommendation:
- Use asus batterysaver for (as the name sais: powersaving)
- use asus balanced mode for gaming or heavy loaded apps (this is not oc too much so it wont burn ur hand away)
- use asus normal/performance mode for daily use (surfing, browsing apps, just the normal daily use (except gaming!!)
- if you have our own frequency setting, i recommend for gaming: 1600MHz CPU Quadcore max. and 600MHz GPU max
Need help - Still something unclear?: THX lucius.zen
http://forum.xda-developers.com/showthread.php?t=2232715
Android App for my Kernel:
v2.3
Code:
- init.d file will be created if it not exists before my app is using it (initd error messages should be gone now )
- fixed bug that causes a force close in the cpu uv section when trying to change cpu voltages
[URL]http://d-h.st/fEm[/URL]
v2.4
Code:
- added boot to linux tab (you need the latest beta kernel!! and you need to flash the linux installer zip)
[URL]http://d-h.st/Y3T[/URL]
Linux Installer (needed by my App):
v1.0
Code:
[URL]http://d-h.st/GBy[/URL]
BETA RELEASES JB4.2:
v3.4.1
Code:
- kexec hardboot support
- dynamic fsync added
[URL]http://d-h.st/7jX[/URL]
New app v2.4:
- added boot to linux tab (you need the latest beta kernel!!)
[URL]http://d-h.st/Y3T[/URL]
What do i have to do when i want to boot to linux from your Hundsbuah App?
- Just download this linux installer zip, flash it in recovery and be sure that you are on the latest beta kernel (v3.4.1 from 2013-10-29)
- You can install Linux as a virtual image and use all the default settings during installation!
[URL]http://d-h.st/GBy[/URL]
v3.4.2
Code:
- added a lot of tcp congestions
[URL="http://d-h.st/bXd"] http://d-h.st/bXd[/URL]
v3.4.3
Code:
- added bfq io scheduler
- added sio io scheduler
[URL]http://d-h.st/ACY[/URL]
v3.4.4
Code:
- Removed frequencies from the frequency table: 1.28 Ghz, 1.33 Ghz, 1.37 Gh, 1.54 Ghz
[URL]http://d-h.st/ILo[/URL]
STABLE RELEASES JB4.2:
v3.4.0
Code:
normal+data2sd
(this is kernel is for both versions, normal and data2sd - if you dont install the data2sd patch from below it is working as normal "non data2sd version")
[URL]http://d-h.st/hyD[/URL]
data2sd patch:
Code:
just format the 2nd partition of ur sdcard with ext2 or ext4 and set the 2nd partition as active or boot
install this patch: [URL]http://d-h.st/xbU[/URL]
and use the normal+data2sd kernel from above
big thanks to _that!
Bugs:
- you tell me
Please report any problems / feedback
Will have a quick play today
---------- Post added at 09:56 AM ---------- Previous post was at 09:44 AM ----------
OK first problem this causes DSP manager to continually force close. On CROMI 3.2.2 deodex
---------- Post added at 10:18 AM ---------- Previous post was at 09:56 AM ----------
OK more issues to report I'm afraid. Went into system tuner. Default governor was set to conservative. Changed it to pegasusq and system tuner froze. Then went to the market to update some apps, started downloading and tab rebooted on its own. Had another reboot when it finished loading.
Back to _that 2 kernel and all OK again. This kernel needs a bit more testing mate. Let me know if you need some help.
Hi Hundsbuah,
I'm testing out your latest kernel and found many options for cpu govenor and scheduler. Is it possible you could provide a quick summary for them, so I have an idea how to test and the combo I should be using. Thanks
Govenor:
brazukkabwax
oegasysq
Smartassv2
lulzactive
Schedule:
sio
row
vr
Thanks again.
Re: [KERNEL][OC] Hundsbuah ★ 10.4.4.25
buhohitr said:
Hi Hundsbuah,
I'm testing out your latest kernel and found many options for cpu govenor and scheduler. Is it possible you could provide a quick summary for them, so I have an idea how to test and the combo I should be using. Thanks
Govenor:
brazukkabwax
oegasysq
Smartassv2
lulzactive
Schedule:
sio
row
vr
Thanks again.
Click to expand...
Click to collapse
Learn to search there are multiple threads here on xda that give detailed descriptions of governors, io schedulers, and even tcp congestion algorithms.
ejhart said:
Learn to search there are multiple threads here on xda that give detailed descriptions of governors, io schedulers, and even tcp congestion algorithms.
Click to expand...
Click to collapse
I think it's good to keep all here in this thread. I don't want "technical" details,but a simple common sense for common users. For example:
SmartassV2 - For heavy multi-task users but still save on battery.
Got my point?
buhohitr said:
I think it's good to keep all here in this thread. I don't want "technical" details,but a simple common sense for common users. For example:
SmartassV2 - For heavy multi-task users but still save on battery.
Got my point?
Click to expand...
Click to collapse
i havent tested much atm because i dont have as much time as i wish and my free time is testing new kernel features/versions. but pegasusq and row/vr should run great with also good battery.
brazilianwax is a more aggressiv smartassv2 version.
here are some gov explained:
http://www.alliance-rom.com/community/wiki/governors-explained/
Hundsbuah said:
i havent tested much atm because i dont have as much time as i wish and my free time is testing new kernel features/versions. but pegasusq and row/vr should run great with also good battery.
brazilianwax is a more aggressiv smartassv2 version.
here are some gov explained:
http://www.alliance-rom.com/community/wiki/governors-explained/
Click to expand...
Click to collapse
OK, thanks, I can do the testing myself, not a problem.
I like this thread with explanations, although it is technical in nature:
http://forum.xda-developers.com/showthread.php?t=1369817
And with a search I stumbled onto this one:
http://forum.xda-developers.com/showthread.php?t=1631894
which I have to read myself as well. On first glace much information seems copypasta'd, but hey, you never know.
Hundsbuah,
Thank you for the new update, I have a favor to ask, is it possbile you can make a data2sd version of this kernel? I'm runing data2sd and it's definitely smoother than the regular, I would like to keep the data2sd andn try out with your kernel. I already tried your kernel version 1.2 and it's pretty smooth.
buhohitr said:
... a data2sd version of this kernel?
Click to expand...
Click to collapse
+1
Please incorporate d2sd versions into your releases , at least major updates.
So many TF700 users are now using this mod to help relieve some 'issues' ...
Cpuquiet
Hello Hundsbuah, thanks for your kernel. I posted this in _That's kernel section. I installed a kernel on my HTC ONE X that has nvidia's cpu Cpuquiet driver driver implemented and it makes a huge difference in battery life (20%-30%) without sacrificing performance. I don't know if it can be implemented to tf700t, but it would be great if it did. Here is some info:
http://www.linuxplumbersconf.org/2012/wp-content/uploads/2012/08/cpuquiet.pdf
https://github.com/pboonstoppel/
ive asked mr.muffin/_that if the changes in fstab.cardhu are the only changes to make a data2sd version of the kernel
steveman29 said:
Hello Hundsbuah, thanks for your kernel. I posted this in _That's kernel section. I installed a kernel on my HTC ONE X that has nvidia's cpu Cpuquiet driver driver implemented and it makes a huge difference in battery life (20%-30%) without sacrificing performance. I don't know if it can be implemented to tf700t, but it would be great if it did. Here is some info:
http://www.linuxplumbersconf.org/2012/wp-content/uploads/2012/08/cpuquiet.pdf
https://github.com/pboonstoppel/
Click to expand...
Click to collapse
i have already activated that feature but i have disabled it again (i havent seen any improvements) but i didnt looked at batterylife. i will compile a version with Cpuquiet and send you a pm with the link
Hundsbuah said:
i have already activated that feature but i have disabled it again (i havent seen any improvements) but i didnt looked at batterylife. i will compile a version with Cpuquiet and send you a pm with the link
Click to expand...
Click to collapse
Thanks i will test battery life and will report to you. In my HTC ONE X i have to use fauxclock program to activate cpuquiet. Do you know if it can be activated by a script?
edit: I had 2 reboots with the test kernel. I don't know if it is because of cpuquiet or if you added other features too. I didn't have any reboots with the normal kernel.
steveman29 said:
Thanks i will test battery life and will report to you. In my HTC ONE X i have to use fauxclock program to activate cpuquiet. Do you know if it can be activated by a script?
Click to expand...
Click to collapse
afaik its managed by the kernel and the cpuq gov
steveman29 said:
edit: I had 2 reboots with the test kernel. I don't know if it is because of cpuquiet or if you added other features too. I didn't have any reboots with the normal kernel.
Click to expand...
Click to collapse
just for the others: reboot is fixed with version 1.4.1
Hundsbuah said:
ive asked mr.muffin/_that if the changes in fstab.cardhu are the only changes to make a data2sd version of the kernel
Click to expand...
Click to collapse
Your data2sd version is not working. The data should look like this in the fstab.cardhu file:
/dev/block/mmcblk0p1 /system ext4 noatime,noauto_da_alloc,nodiratime,barrier=0,nobh,ro wait
/dev/block/mmcblk0p2 /cache ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,errors=panic wait
/dev/block/mmcblk1p2 /data ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,errors=panic wait,encryptable=footer
/dev/block/mmcblk0p8 /data2 ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,errors=panic wait,encryptable=footer
i havent released a data2sd version yet
if these are the only changes, give me 5 min i will make an data2sd version
/edit: data2sd version added in first post
Hundsbuah said:
i havent released a data2sd version yet
if these are the only changes, give me 5 min i will make an data2sd version
/edit: data2sd version added in first post
Click to expand...
Click to collapse
I will give it a try and report back. Your kernel is getting better and better, I think it's going to be one of the best custom kernel since Clemsyn. Good work!!
AW: [KERNEL][OC] Hundsbuah ★ 10.4.4.25
buhohitr said:
I will give it a try and report back. Your kernel is getting better and better, I think it's going to be one of the best custom kernel since Clemsyn. Good work!!
Click to expand...
Click to collapse
thank also _that. i read his howto and then i wanted to make my own kernel
Gesendet von meinem ASUS Transformer Pad TF700T mit Tapatalk 2
Re: [KERNEL][OC] Hundsbuah ★ 10.4.4.25
Is this for cm or stock
Sent from my MB865 using xda app-developers app

[KERNEL] Phantom Kernel for Android 6.0.1 TouchWiz Roms

Mod edit: thread closed due to missing kernel sources.
Your warranty is now void. Knox 0x1.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this kernel.
PHANTOM KERNEL​by 6h0st ​
​
Lots of thanks to the Aspire team members:
@DaOldMan – Aspire Rom developer
@Eleo, @galili47, @Bullmans, @Logel & @Kill-Switch - Product evaluation & Support
Special thanks:
@jcadduono
@lss1977
@Yank555
@arter97
@faux123
@gj86
... other previous developers and all future testers...
... and of course big thanks to project donors.
* Kernel Features *
Based on idle kernel by jcadduono/lss1977 source code.
Linux version 3.4.113,
Arch Power, Gentle Fair Sleepers ,
F2FS support - I recomend using F2FS for /system and /cache partitions only, but supports /data partition too - EXPERIMENTAL
Added Phantom Governor as default
(based on yankactive - optimized to use CPU frequencies for reduced battery consumtion with a little loss of performance.)
Added alucard, arteractive, intelimm, intellidemand, ondemandplus, impulse, smartmax, smartmax_eps, Lionheart, biosock, nightmare and zzmoove governors beside performace and conservative.
Added Phantom, zen, tripndroid, sioplus, bfq,fiops, deadline I/O Schedulers beside row, cfq, sio, fifo and noop.
Phantom I/O Scheduler set as defualt for Internal memory and External SD Card (if phone has one)
(Phantom I/O Scheduler is based on Maple, has Zen, VR and SIO I/O schedulers code in it, uses a first come first serve style algorithm with seperated read/write handling to allow for read biases. By prioritizing reads, simple tasks should improve in performance. Phantom I/O also uses hooks for the powersuspend driver to increase expirations when power is suspended to decrease workload.)
Max CPU frequency is 2265 mhz
Min CPU frequency is 288 mhz
CPU has 28 frequency steps.
No CPU OC - Stock CPU frequency table used for better stability
Added Fast Charging by Yank555.
Added 100, 500, 533, 578 mhz GPU steps.
7 CPU hotpluging managers: MSM, Bricked, Intelli-hotplug, Zen Decision, AutoSMP, Fast Hotplug and LazyPlug
Intelli-hotplug tweaked ,modded and added a special Lazy profile for videos, phone calls and screen off (set as default)
iotop.sh script support
Added battery power consumtion (average and current) information (mAh).
Added per CPU core control (governor and frequency)
Added Adaptive LMK
Added DoubleTap2Wake (Full/Half screen modes available)
Added Phantom Log, Phantom LED and Phantom Swap features
- LKM - Loadable Kernel Modules support
- Intelli-Hotplug update (more balanced now)
- Intelli-Hotplug (4 cores only) profiles update:
0 balanced 4 cores (default)
1 performance 4 cores (more aggesive)
2 conservative 4 cores (saves battery)
3 disable
(* Any other value other then 0-3 will set it to 3.)
(** Tweak is available at this path: /sys/kernel/intelli_plug/full_mode_profile)
- added custom suspend: enable freeze timeout configuration
(*Tweak is available at this path: /sys/power/pm_freeze_timeout)
- Fixes for DoubleTap2Wake.
- FS performance gain by 10%, in benchmark test at least.
- Modem performance tweak
- Fix for LTE only as preferred mode causing FC after a reboot;
- Fixed Call Delay;
__________________________________
How to use LKM - Loadable Kernel Modules:
The kernel comes in a basic version without all the governors, schedules, hotplugers and FS supported types of partitions, only the most common used.
If you want to use other features that aren't enabled anymore, you need to edit the /system/etc/init.d/00modules file and remove the "#" from the beginning of the lines related to the module (feature) you want to use/enable and reboot. You can activate all of them if you want.
If you want to use the basic version again, you can remove the 00modules file, if any changes were made. It will reappear on reboot, but all modules will be disabled, as default. If the file is missing after a reboot you can copy it from /sbin/scripts folder to init.d.
__________________________________
1.What does Phantom LED do?
It makes the phone's LED blink upon Wifi, Internal SD, ExtSD activity.
(Disable ROM Led notifications for this feature to work properly)
__________________________________
2.What does Phantom Swap do?
It creates a swapfile on the /data partition and starts the swapping process on boot.
The size of the swapfile is 768MB.
If /data/.phantom.swap is removed it will clean the /data partition of the swapfile remains.
__________________________________
3.What does Phantom Log do?
It enables ROM's logs, that are disabled by default.
To enable ROM's logging (logs) you need to create an empty file named '.phantom.log' in /data and reboot. (The name starts with a dot and without quotes.)
After reboot you can check if everything it's working by opening /data/.phantom.log file, with a text editor, and find this text inside: 'Logs are active and available for debugging now.'.
If the text is there you have done the procedure correctly and all logs should be available.
You can't activate logging from Kernel Adiutor-mod anymore!
__________________________________
Kernel add-on scripts can be found in /=Phantom Scripts= folder, if ramdisk/boot image is not altered (e.g. Magisk is installed).
Simple way to use a script is to copy the script from /=Phantom Scripts= to /system/etc/init.d. and reboot, except iotop.sh !
Alternative method is with Kernel Adiutor-mod or SManager or similar apps.
You can edit, save and delete the scripts from /=Phantom Scripts= folder, but all changes will be gone upon reboot! (Even if you delete all/any of the scripts). Most info on how and what to edit is inside of the scripts.
__________________________________
For best compatibility and experience I recommend using [C9 Pro Port][N900X] AspireTeam C9 Pro V4.0.
(Why? ... it's because my testing was done on to this ROM)
Mod edit: links removed
XDA:DevDB Information
Phantom Kernel, Kernel for the Samsung Galaxy Note 3
Contributors
6h0st
Source Code: Mod edit: links removed
Kernel Special Features: Based on idle kernel by jcadduono/lss1977 source code. (...read full description above.)
Version Information
Status: Stable
Current Stable Version: One
Initial Release Date: 2017-01-08
Latest developer version: 1.2z [EOL]
Latest developer version Release Date: 30.10.2018
For latest updates read the changelog of developer version that can be found in post 3 or on Facebook:
How to flash kernel:
Method for .IMG file:
[ Clean data of Kernel config app fist (Kernel Adiutor or similar apps) ! ]
1. From TWRP Recovery {INATLL} button > go to download folder.
2. Select {Images...} button from down-right-corner > select boot.img.
3. Select Boot > Swipe to confirm Flash.
Done!
Method for . ZIP file:
Download (download link in first post) and flash the zip file from TWRP / other recovery.
* Highly recommended on first flash of a new dev.ver. or if coming from another kernel *
[Backup your /system/etc/init.d scripts, Kernel Adiutor-mod data (or Synapse data from other kernels) BEFORE flashing!]
Changelog of: developer version 1.2z
- Compiled with Toolchain UBERTC 8.2.1 + GRAPHITE optimizations;
- a few bugs fixed for eur and skt variants;
- some improvements in performance and battery life.
Ouchh! Thank you!
also for smn900t?
New kernel .... Great !!! ... download but has extension IMG .. Flash recovery?
Inviato dal mio SM-N920F utilizzando Tapatalk
uzzz2004 said:
New kernel .... Great !!! ... download but has extension IMG .. Flash recovery?
Inviato dal mio SM-N920F utilizzando Tapatalk
Click to expand...
Click to collapse
No! Select boot / not recovery.
See "How to flash" section from fist post.
Tmobilefan906 said:
also for smn900t?
Click to expand...
Click to collapse
Yes. Flash TMO variant.
6h0st said:
Yes. Flash TMO variant.
Click to expand...
Click to collapse
sorry, wrong thread
only for TW ROMs?
i am on Resurrection Remix - very pity
moonryder said:
only for TW ROMs?
i am on Resurrection Remix - very pity
Click to expand...
Click to collapse
Samy TW only. Sorry.
6h0st said:
Samy TW only. Sorry.
Click to expand...
Click to collapse
OK, so i will try Norma ROM V17 by @Thepunisher70 and this kernel
moonryder said:
OK, so i will try Norma ROM V17 by @Thepunisher70 and this kernel
Click to expand...
Click to collapse
V17 launched already?
Sent from my SM-N9300 using Tapatalk
Oh my god, thanx a lot
Sent from my SM-N930F using XDA-Developers Legacy app
Thank you, gonna try it.
But why:
6h0st said:
No CPU OC - Stock CPU frequency table used for better stability
Click to expand...
Click to collapse
I want performance and don't care about battery (it last so long, no need to).
You have some performance tipps?
muhly.ibrahimsha said:
V17 launched already?
Sent from my SM-N9300 using Tapatalk
Click to expand...
Click to collapse
also waiting ...
TurricanM3 said:
Thank you, gonna try it.
But why:
I want performance and don't care about battery (it last so long, no need to).
You have some performance tipps?
Click to expand...
Click to collapse
Change Max CPU speed to 2.26 Ghz. Use yankactive governor if phantom is not doing the job, or try other governors.
Stock frequency table is used for stability. When booting, about 5 sec. or even more, CPU goes to max frequency. If the max frequency is 2.8 Ghz for exemple, some phones will reboot.
...
Use LSpeed app with performance tweaks but don't optimize CPU if you use phantom/yankactive governors.
Use a 30 sec delay to apply tweaks.
Another thing is temperature. If you OC you will need to activate thermal monitoring or else you might damage your CPU, but by doing that you will get a performance loss. This way a lot of the extra power from CPU you get by OC-ing, will go to thermal monitoring.
Plus the thermal monitor will limit frequencies / cores when overheating. So you will be able to use OC extra power for a short while because of overheating, giving you in fact worse performance overall. OC is generally used for benchmarking, not daily use.
TurricanM3 said:
I want performance and don't care about battery (it last so long, no need to).
You have some performance tipps?
Click to expand...
Click to collapse
How is your experience with kernel? You seem you dont like the performance, that is why you want OC, right?
Sent from my Note 3 using XDA Labs
Thanks 6h0st.
I wanted OC for a little more responsivness. I am no gamer. 2267 got used very rarely and just for a short time. I don't think the phone would overheat.
You aren't using CPU Boost right?
Performance is very good. Still testing. I turned off Arch power.
How to flash this kernel ????
First,
Remove previous kernel and it's depending apps like auditor or synapse and.......
In twrp recovery, instead of choosing zip file we should select imag.
Am I right?
If not , please explane( in detail ) how to flash this kernel.
Big thank.
Sent from my LG-D855 using Tapatalk

Categories

Resources