Showing posts with label Kernel. Show all posts
Showing posts with label Kernel. Show all posts

Sunday, August 25, 2013

[CPU FREQUENCY] Saving Battery Life of your SGY!


Here are few Settings for suitable Battery Life 

These settings can be implemented using No-Frills CPU Control or any alternative!

LIGHT USAGE:
GOVERNOR: SMARTASSV2
MIN: 156Mhz
MAX: 624Mhz
I/O: NOOP
GET AS MUCH AS 3-4 DAYS OF BATTERY LIFE in a SINGLE CHARGE

AVERAGE USAGE:
GOV: ONDEMAND
MIN: 156Mhz
MAX: 832Mhz
I/O: NOOP
GET AS MUCH AS 1-2 DAYS of BATTERY LIFE in a SINGLE CHARGE

HIGH USAGE:
GOV: LIONHEART
MIN: 312Mhz
MAX: 832Mhz
I/O: NOOP
GET AS MUCH AS 1/2-1 DAY of BATTERY LIFE in a SINGLE CHARGE

VERY HIGH USAGE:
GOV: LIONHEART
MIN: 624Mhz
MAX: 832Mhz
I/O: NOOP
GET AS MUCH AS 3-5 HOURS of BATTERY LIFE in a SINGLE CHARGE

Source: http://forum.xda-developers.com/showthread.php?t=2196110

[KERNEL][Battery Saver] savieSGY "savie@buitenzorg"







Requirements:
*CWM Recovery - Download Here
*Rooted Galaxy Young


Video Tutorial:




Instruction:
1. Choose/Download one kernel above, and Put it to your SDcard
2. Power off your SGY then go to the Recovery mode by HOLDING Volume-Up+Home Button+Power Button at the Same time and Flash CWM.
3. Install zip from sdcard>choose zip from sdcard>kernel.zip>Yes
4. Then Reboot.... DONE


DOWNLOADs:



Latest Kernel:  savieSGY#1




Features savieSGY:
#60REV1
- dualboot
- droidwall support
- cifs support
- swap support
- bacem tweak integrated -100mV as default
- 4 freq ( 312, 468, 624, 832 )
- ext4 support
- sd-ext integrated
- cm7 support
- 18 governor and 5 iosched
- battery tweak integrated
#60REV2
- #60REV1 features
- cwm recovery
#73REV with AROMA
- Main Features:
* 5 freq (156-312-468-624-832)
* dualboot support
* CM7/9 support
* cwm recovery 5.x.x
* system-replacer support
* init.d support
* swap support
* ext2/ext3/ext4 support
* sio-iosched
* smartassV2 governor
* sdcard and battery tweak
- Additional Features:
* 3 iosched
* 18 governor
* bacem tweak (-80mV)
* cifs modules
* activate 2ndROM
* droidwall modules
Ps. I dont include modules like repencis or merruk kernel coz still need investigate all modules and as long as i know that modules not loaded/still not working well.

Here my latest report of kernel60rev1&2:

All features work but no luck with a2sd-draktemor, but out there so many method moving internal to external. Link2sd is optional app that support in my kernel and i still try to create simple script like a2sd but of course not support a2sdgui just titanium backup.

Its cause of dualboot features, but the advance u can use data to internal and dual rom with some script. For me its very usefull to test custom rom (i try cm7 in 2nd rom) but of course still need modified script to install custom rom to 2nd rom.

I think this is not simple kernel if u have ability to explore all features and most of features not build from me but irfanbagus, i just combine, modified, and explore all features.

If ur using creed u need 2 files (sysinit and 99complete) from draktemor-script here (a2sd.zip)
but don't install the draktemor-script
Just extract and copy this files :
- before create init.d folder /system/etc/init.d (stock rom and stock kernel without init.d support)
- copy 99complete to system/etc/init.d
- copy sysinit to system/bin
- fix the permission

Something screw for governor modules in #73REV..

How to solve governor and iosched modules in #73REV:
1. Extract savie73REV_kernel.zip
2. Download and extract GovIo-tweak-1.zip
3. Change governor modules from ../GovIo-tweak-1/system/lib/modules/* to ../savie73REV_kernel/savieKernel/*
4. Repackage savie73REV_kernel as zip
5. Install via cwm

Another method:
1. Install savie73REV_kernel.zip via cwm and choose custom installation
2. Check all governor and iosched on installation prosses
3. Download and extract GovIo-tweak-1.zip
4. Put governor and/or iosched that u wanna replace (from 3rd step) in /sdcard/.system-replacer/lib/modules/*
5. Restart ur phone


This is another way to have 18 Governor and 5 I/O scheduler.
List of governor:
-brazilianwax
-conservative
-hotplug
-interactive
-interactivex
-lagfree
-lazy
-lionheart
-minmax
-ondemand
-powersave
-savagedzen
-scary
-smartass2
-smoothass
-userspace

bcm21553 and performance not include in this tweak coz it's sgy default governor.

List of I/O scheduler
-cfq-iosched
-deadline-iosched
-sio-iosched
-vr-iosched

Adding 4 governor (GovIO-tweak-1.zip)
-intellidemand
-lulzactive
-ondemandx
-smartass


Credit and thank to:
Irfanbagus
Harrish2704
Kurotsugi
zcop
Mai77
B16h22
Faqbly
Doky73
Maroc-os 
Chamiakas
droidcyril
Amarullz
Alfiyan.sys


Friday, August 23, 2013

[KERNEL] kuro kernel for SGY ( Compatible in All ROM )






this is my compiled kernel, builded from samsung source code (GT-S5360_GB_Opensource_Update2.zip). please read this whole post before you install this kernel in your device and don't expect something "WOW" from this kernel since its only my kernel for my daily usage. 

the main interest of this kernel is to build a kernel which:
1. compatible to all rom (custom n stock)*.
2. simple, light, yet still customizable
3. save more batteries
4. decent performance


if you're looking for a kernel as described above, then this thread will give what you want.

Quote:
special built kernel with a2sd full support -- for advance user

note: clearly stated for advance user. don't ask me why it didn't boot up in your rom.
basic feature: 
1. init.d script support
2. Advance Power Management enabled (not 100% working but it solve the screen issue)
3. built in droidwal support and bacem tweak
4. 4 freq
5. a few more gov and io sched

how to: flash the file via CWM.

credits: 
1. irfanbagus for the patch and bacem tweak
2. savie for the help for 4 freq
3. marcotoo for the nice discussion about kernel on his thread and the solution for deep sleep from his patch thread.
4. harish for the tools
5. maroc aka yahya, edoko, tegrak, sdadier, droidzone @github for source code
6. last but not least you...for support and nice development atmosphere here. keep follow the rules guys.

Quote:
TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK
IMPORTANT NOTES: 
1. please don't ask anything about CWM. I prefer to never put it on my kernel.
2. trying to fix the 3rd freq but still no luck. we have 312-x-624-832 freq but the (x) freq is still buggy and imperfect. I think we need some help to fix it. already tried with 416, 442, 468, 520 but the bug is still there.
3. sorry, no a2sd support at this moment. you can use dsixda's kitchen or harish's tools to build a kernel with repencis's ramdisk to make this kernel support a2sd by yourself. the good thing is that your a2sd will work but it will also make your device boot (a lot) longer. I prefer to not use it on my kernel since I never use a2sd. 
4. I give you three 'cats' gov in this kernel
powercats = lazy --> performance 
blackcats = smartassv2 --> balanced setting
activecats = intellidemand --> battery saver
they have been tweaked and renamed just to make you easier when choosing the govs. 
5. if you have a2sd running in your device, please uninstall it before installing this kernel. or else, you'll get bootloop

Quote:
changelog
v0.1 :
first released version

v0.2 :
- swap
- ext4
- more iosched
- optimized conservative for battery saving
- ciffs (not really needed but it will be usefull if someone might want to use it)

v0.3 :
- new freq configuration (312-468-624-832). less sudden jumped out freq from 312 to 624 but it still imperfect yet.
- new govs, wheatley removed. now conservative is set as default for battery saving option.
- configured iosched, sio as default.
- now it use a part of koneu patch to fix deep sleep problem

v0.4 :
- minor tune on the kernel source and configuration
- as requested, OTG stuff added**.

v0.5:
- minor tune on battery management
- tun.ko build in
- few sound API and driver added
- as requested, NTFS modules built in

v0.5.1:
- lil bit tuning. trying to fix ntfs problem
- KSM for page merging support
- HID support

v0.5.2:
- alternate version of 0.5.1 without any OTG related stuff

v0.6.9:
- 6 frequencies
- setting for conservative and blackcats modified to match the new freqs.

v1:
- 5 frequencies. 780mhz almost never used so I removed it (468 is a buffer to prevent the freq suddenly jump to max freq. it actually working at 312mhz)
- HID driver removed (you don't even know what it is)
- few API removed for lightweightness
- CIFS removed since almost no one use it.
- deepsleep bug from v0.6.9 fixed
- screen problem fixed (never happened on mine but need report from users)
- battery APM

v1.1
- black screen bug fixed

* CM is not supported. sorry.
** OTG stuff still untested. the driver and NTFS modules required is inside it but I don't have the equipment to test it.

DOWNLOAD:

KURO KERNEL: http://d-h.st/onX

CWM: http://www.mediafire.com/download/1h71j9rikq23axf/CWM_bla_bla.zip

Instruction how to install:
1. Download the kernel and Put it to your SDcard
2. Power off your SGY then go to the Recovery mode by HOLDING Volume-Up+Home Button+Power Button at the Same time and Flash CWM.
3. Install zip from sdcard>choose zip from sdcard>kernel.zip>Yes
4. Then Reboot.... DONE

Quote:
IMPORTANT STUFF: INCOMPATIBILITY ISSUE REPORT
# DXLF deodexed ROM (reported count: 1)
reason : error due to tweak inside it. already fixed.

please report here if you find my kernel doesn't boot. specify your system in details like : the rom, tweaks, a2sd/non a2sd, kernel version. I'm trying my best to make this kernel compatible with all rom (except CM). all kernel kernel here is already tested in my device before I uploaded it. however, my work might not perfect yet so that it might won't boot in several ROM.
kernel source link: http://www.mediafire.com/?bgh79kbcof9jctf (it only contain the modified files. you need to download the whole source code from samsung at opensource.samsung.com. I'm using update 2 for european region).



Source: http://forum.xda-developers.com/showthread.php?t=1801541

[CUSTOM][KERNEL][AROMA] Hells Fusion #50



Hey guys!! This is my first contribution to sgy forum and I hope you all like it. Its a custom kernel built from samsung source. I am not good in making kernel's so please dont start flaming. The kernel is tested and working on DDLF firmware. Its pretty much a basic kernel with a little features. Here is what it has:
---Droidwall supported
---Performance fixes
---init.d supported
---Swap support
---4 frequencies for ultimate backup
832 Mhz(undervolted already to save battery)
624 Mhz
312 Mhz
156 Mhz
Deep sleep




---16 governors for people with different tastes
performance
powersave
userspace
conservative
lagfree
interactiveX
savagedzen
scary
brazilianwax
hotplug
smartass2
lionheart
smoothass
lazy 
interactive
---3 io schdulers
cfq
noop
deadline
vr
sio
---Clockworkmod integrated
---Ramdisk modded to run cm7 easily
---ext4 support added
---Bacem tweak
---Additional wifi and brightness modules


Instructions:
Download the kernel from here: http://d-h.st/Jig
Mount everything each time you open cwm
Follow the instructions given in aroma launcher


BUGS
-none-

Warning!!
-Dont undervolt much because the freq's are already undervolted by me.
-Incase of random restart, take out your battery, let it cool and reinsert.
Quote:
Originally Posted by encik_racun View Post
OP PLEASE UPDATE THIS...

PLEASE DELETE THESE INIT.D SCRIPT BEFORE INSTALL

-99complete
-66saviekernel (if u use savie)

1. in 66saviekernel same value of bacem tweak lines was present.
2. with 99complete u will get bootloop 






~ sent using busybox command via Cytherea phone  ~
-I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED!

SOURCE:
https://github.com/hell-lock-xda/sGY-COMMON-SOURCE
https://github.com/hell-lock-xda/SGY-MODULES

Changelog (latest is #50):

1.#60
Initial version with main features

2.#62
-Fixed the frequencies
-Reduced the amount of voltage needed for 832 mhz to save battery
-A2SD removed because people had bootloops

3.#75 http://d-h.st/13K
-CWM Added!
-Compatible with all cm7 variants!
-Additional tweaks

4.#75 ramdisk change http://d-h.st/N8J
-Adb working perfectly

5.#78 http://d-h.st/LlT
-Ext4 support added to:
/system
/data
/cache
First boot will look laggy.. Keep opening menu and closing it until it becomes smooth.

6.#80 http://d-h.st/BFg
-zRam added!

7.#80 ramdisk changed http://d-h.st/6xZ
-init.d now fixed!

8.#40 Recompiled from source
-Logo removed
-Aroma UI added
-Zram removed
-Bacem tweak added
-Scripts for performance added
-Dualboot on ext4 added

9.#63 http://d-h.st/Lsf
-V3d added
-More netfilters
-CM9 network support(untested)
-Cm7 bootanimation support
-Dualboot fixes

10.#50 http://d-h.st/Jig
-Better display driver
-Tweaks
-Wifi Fix(needs report)

THE CREDITS GOES TO ALL THESE GREAT HUMANS:

1.Savie my teacher. Thanks for answering my super noobs questions!
2.Irfanbagus for his patches. He was my indirect teacher.
3.Maroc-OS for letting me study his sources
4.dsixda for init.d and stuff
5.Sakindia for his cranium kernel source
6.Kurotsugi for teaching me frequencies
7.MarcoToo for info on ramdisk
8.WhiteXP for guiding on zram and netfilters
9.Rio for ext4 script



SOURCE: http://forum.xda-developers.com/showthread.php?t=1891682

Related Posts Plugin for WordPress, Blogger...