[KERNEL][19FEB] SiyahKernel v6.0b5 - Galaxy S II Original Android Development

please leave non-dev related posts here: http://forum.xda-developers.com/showthread.php?t=1658647
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
based on JB sources
DISABLED CAP_ERASE (No superbrick bug)
All-in-1kernel because it supports CM9, CM10, Samsung, MIUI and Boot-to-Gecko (B2G) ROMs with a single kernel image. (no Sense4all support)
Dual booting support for all supported ROM types. See droidphile's post for Dual Booting FAQ
Custom CWM touch recovery with swipe gestures and double-tap selection
6-steps CPU freq
5-step GPU frequency levels. VPLL Mode to have additional frequency steps. defaults frequencies: 66-108-166-267-330.
Auto-root. You can also remove root via STweaks app and install it without rebooting your phone again. Auto-root can be disabled as well.
CPU Overclock/Undervolt support (we have two interfaces for that. both of them are defacto standard)
Tweakable vitalij's value (set to 5 as default)
Adjustable touchpad led brightness
Fixed fuelalert wakelocks
You can completely disable android logger using STweaks app
Faster charging for misc and USB modes. There are 3 modes (AC, Misc, USB) and normally last two of them support only slow charging. You can have charging speed of AC by increasing it (especially user while charging in car or using USB port)
Cpu governor optimizations
Gpu voltage, clock and stepcount interfaces (GPU Overclock/Undervolt)
Screen brightness curve settings with original panel gamma values. panel values unchanged, so you will get stock colors and will be able to use supercurio's voodoo display app when it is released. brightness modification will only change auto-brightness response.
BLN support both for Samsung and CM ROMs (you can use STweaks, Nstools or BLNControl app from the market to enable it)
Breathing or Blinking effect for BLN. (Make sure you don't enable blinking in any other BLN app) Use STweaks to select one of them.
Better touch sensitivity
Available CPU Governors: Pegasusq (default), Ondemand, Lulzactive, SmartassV2, Interactive and Conservative, Performance, Userspace, Powersave
CIFS as module
Available I/O schedulers: CFQ (default), noop, Deadline, SIO, V(R)
J4FS as module
ARM topology support (SCHED_MC)
Automatic EFS Backup
Lots of I/O tweaks and filesystem optimizations via some parts of thunderbolt scripts.
USB Mass Storage mode is working in CWM Touch Recovery and you can mount both internal and external sdcard as a disk drive
NTFS automounting for USB sticks. When you plug in an NTFS formatted USB flash it will be automatically mounted to /mnt/ntfs folder.
USB mouse and keyboard support
built-in profile support with default, battery and performance presets (you can change them in CWM Recovery). Even using everything default will save you a lot of battery juice.
Eargasm for headphone amplification (in STweaks) as free Voodoo Louder replacement
Almost everything is configurable such as scheduler features, hotplug thresholds, GPU frequencies, voltages, arm topology modes... and they are configurable via simple and free STweaks app which is embedded in the kernel and soon in Google Play & Opensource
Adjustable mDNIe settings
optional sharpness tweaks from hardcore
mDNIe negative effect toggle with home button (press it four times)
Touch gesture support by Tungstwenty. (http://forum.xda-developers.com/showthread.php?t=1831254)
BLNWW (BLN Without Wakelock)
Slide2Wake (originally by Fluxi)
More to come...
​
Known Problems:
no known problems yet
Thanks To:
Chainfire, Codeworkx, Arighi, Tegrak, Vitalij, Entropy512, Netarchy, koush, Creams, sk8erwitskil, hardcore, Pikachu, myfluxi, Tungstwenty
This part will be expanded. most of the patches I applied are coded by someone else. please remind me if I forget to give credits to anybody..
Download Link: http://www.gokhanmoral.com/
for beta versions: http://d-h.st/users/siyah/testing​IRC support and chat:
Server: irc.FreeNode.net
Channel: #siyah-kernel
web client: http://siyah.twosx.net/ (thanks to omniwolf)​Changelog:
See http://www.gokhanmoral.com/ for changelog.
You can find the sources at http://github.com/gokhanmoral/siyahkernel3
and initramfs at http://github.com/gokhanmoral/initramfs3​
Todo:
these are my future plans and some of them are dreams only...
apply chargecurrent modifications even if the cable is connected on boot
add optional teamwin recovery
make dual-boot timeout configurable
implement BFN (BackFlashNotification)
scheduling for BLN
organize recovery menu items
higher polling rate for light sensor
remap mouse right button to back button
exfat support
fix blnww battery drain issue (may not be possible)
implement dual-booting with GB+ICS ROMs
faster switch between first and second ROMs without needing to reboot if possible.
...
​

troubleshooting
READ THESE FIRST
Never report any bugs to CM9/CM10 threads if you use it together with SiyahKernel
Do not ask questions to me directly. This is a common thread, not my personal inbox. Ask your questions in the thread and do not target them to anyone.
Do not expect answers to all your questions. There are some questions which nobody knows the answer of.
Do not forget that this is a development thread. There is another thread in general section for those who wants to discuss battery life and chats. If your post does not include a feature request, bug report or suggestion it should be posted to the other thread.
No ETA for new version. Even if I sometimes talk about release dates those may change and they change for some good reason or because of my real-life obligations.
Make use of "Search this Thread -> Advanced Search"
Never ever discuss anything deep-sleep related in this thread. I do not make modifications to prevent sleep and 99% of deep sleep problems are application/ROM related. discuss it in general section. I do not want any positive ("this kernel sleeps like a baby") or negative ("There is a big problem with deep sleep. Please fix it") messages in my development thread.
If you do not provide details about your configuration and settings nobody can help you or nobody will care about your problem/bug report. The problems without details (ROM, settings, preferably the version that the problem first happened or the one that you don't experience the problem) will be ignored.
Never ever report any SOD issues if you are undervolting/overclocking and make sure you attach last_kmsg log. If you don't know what it is report the problem to the other thread because one more post without any useful information on dev thread will help noone including yourself.
FAQ:
Q: I am having some random lockups with some apps
A: try removing root by using STweaks app and restart.
Q: What is the difference between STweaks and ExTweaks?
A: Both have similar functionality. ExTweak is Xan's implementation of the UCI interface (which is designed by Xan and me with the helps of AndreiLux and implemented in the kernel as open scripts by me) and STweaks is mine. I was hoping Xan would release the sources of ExTweaks (without profile support) but he changed his mind and I decided to open STweaks. Soon they will have almost identical functionality, so you can use whichever you like.
Q: Does this kernel work on XXXXXX-ROM?
A: If the ROM is based on Samsung Stock ICS Rom LPQ or newer, it should. Otherwise, search the thread... If you cannot find any reference to that ROM, try the kernel. You won't lose anything by trying this kernel. Worst case scenario is to reflash your previous kernel or ROM. You can backup your previous kernel with Hellcat's k-tool from the market.
Q: Where is CM9, MIUI or Samsung ROM versions?
A: There is only one version. Both ROMs are supported with a single kernel image.
Q: What is the best settings?
A: It is the one you try yourself and like.
Q: I have just lost 20-30% battery by just rebooting/flashing the kernel. Is it a bug?
A: No. It happens because of our fuel gauge chip which doesn't require calibration goes crazy sometimes. It is not related with kernel or ROM. Just reset fuel gauge chip using STweaks app (or remove the battery and wait 3 minutes) and then charge your phone.
Q: BLN doesn't work.
A: you need to enable it in stweaks or BLN app. if you have more than one app to configure bln make sure all of them use the same settings.
Q: BLN works in test mode but it doesn't work otherwise.
A: if test mode works you should blame the apps. Stock messaging and email apps may not support BLN and in some other applications you may need to enable notifications. Either find another application or change your ROM.
Q: Can I use breathing effect without using BLN?
A: for now, breathing effect only works in BLN. There is no way of using it otherwise.
Q: I need to disable and re-enable BLN in stweaks to get it working again. What is the problem?
A: You may have another BLN related application (BLNapp, nstools, or a script) which disables BLN after stweaks apply the setting at early boot stage. you have to either uninstall that app or enable BLN in that app as well.
​

Useful Links:
Almost everything that you need to know about Kernels, schedulers and so by droidphile
Another great post explaining more and ICS differences by droidphile
Although I put it in the first post, this is my github for kernel sources, initramfs and some more
You can find all the answers you need here, even those that I don't know
There is a CWM flashable package in this post for those who prefers mass storage mode to MTP
Another way (app) of having mass storage mode: USB Mass Storage for ICS App
Everything you need to know about Dual Booting (FAQ & Guide) from droidphile
Another Dual Boting Guide from Phistachio

Very good work Gokhan, as always!
I have finally got my first ics kernel booting on my phone too, have to add all features now!
PS: really want to see your new cpu driver....i really understand almost nothing on the new one lol

Wireless & Ad hoc network
Hopefully it will support wireless and ad hoc network connection like the one you created for gingerbread kernel.

If they don't understand what's gokhan is doing for himself and freely shares it with us! Just leave them alone.
Thanks man i knew you will be fast but now I'm shocked.
Sent from my GT-I9100 using Tapatalk

And to help you on your way even the CM9 kernel has been built from source and released tonight to help further your support for ICS ROM's hopefully *cough*SlimICS*cough*

Don't blame me for this question i didn't know where to ask it . Why gokhan's status is still senior member? Why not a recognized developer? all the developments he has done on kernels counts for something or what?
Sent from my GT-I9100 using Tapatalk

mekhonte said:
Don't blame me for this question i didn't know where to ask it . Why gokhan's status is still senior member? Why not a recognized developer? all the developments he has done on kernels counts for something or what?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I guess he's not applied for it (I would need to check to be certain), but if he wants to apply, he's more than welcome to (application process is opening again soon)

henrybravo said:
Are you talking about this? (From the OP)
Click to expand...
Click to collapse
I am talking about touchscreen responsiveness same as in CM9 with LP6 kernel.

I slept off on the keyboard waiting. GM can we expect download link soon? Its 5:00am here and I think I need to catch some sleep before going to office... I havent waited for my GF so much.. Damn..

I'll make myself a coffee and test it for 10-20 mins then upload to my blog as first beta...
I finished everything except for BLN. I tried, but could not finish it because of lack of complete cm9 repository in my vm. if anybody can compile liblights, everything else is in the kernel now. If nobody compiles it by then, I will do that in this week, hopefully.
I am surprised with the changes in the platform specific parts. I wasn't expecting that Samsung would make a change in that crap but they did and it looks much better. I have a theory that they outsourced the kernel part (maybe to odroid guys) because some parts look very good which is not something I expect from Samsung softwarewise
anyway. it was a real fun for me. I hope it will be at least as much fun to use it for you.
let the celebrations begin

it's up
and a last minute addition was made for smartassv2 lovers

I guess I take the credit of installing it first.. Installed .. Siyah 3.0b1 CWM . Thanks Golkhan...

Which defconfig did you use to start from? u1_defconfig?
Taking a dinner break before resuming this.

I'll be very busy this week. that is why I spent some time tonight to make this release.
I'll edit the OP later.
and.. somebody asked why I am not a recognized developer...
Pulsar is right, I did not apply
I think I still have some more to do before doing that.
it's good to be a senior member.
I find the recognition in your comments, not in a title.

Entropy512 said:
Which defconfig did you use? u1_defconfig?
Taking a dinner break before resuming this.
Click to expand...
Click to collapse
yes, I used u1_defconfig.
and I'm happy that this release has also at&t parts..
you won't struggle much

gokhanmoral said:
I'll be very busy this week. that is why I spent some time tonight to make this release.
I'll edit the OP later.
and.. somebody asked why I am not a recognized developer...
Pulsar is right, I did not apply
I think I still have some more to do before doing that.
it's good to be a senior member.
I find the recognition in your comments, not in a title.
Click to expand...
Click to collapse
Are you using an auto detect initramfs here (ie does this work on cm9?)

pulser_g2 said:
Are you using an auto detect initramfs here (ie does this work on cm9?)
Click to expand...
Click to collapse
yes, I do. but I think samsung used another mali driver in the release. that may cause blank (black) screen. I am not sure if latest CM9 can use LPQ or LP7 kernels but if it can then this beta will support CM9 and most clones.

Related

[KERNEL][ExTweaks] SiyahKernel v2.6.14 - "One kernel to rule them all"

Although some parts can be considered as original, all are based on inspirations, examples and other people's code.
I have no claim to be original. I am only trying to make my (and probably other's) SGS2 experience better and fun.
I do this for fun. so, if you just want to argue with me please don't. use the energy coming from your youth in something useful.
SiyahKernel v2.6.14
FEATURES
Can be flashed on Samsung ROMs and AOSP Based ROMS. Currently all Samsung 2.3.4, 2.3.5, 2.3.6, 2.3.7 based ROMS, CM7 (CM9 or any other ICS based ROMs are not supported) and MIUI ROMS are supported.
Based on linux kernel 2.6.35.14 + drivers from Samsung sources
Auto-Rooting
CWM touch Recovery with gesture support
Custom boot animation support
Supports SetCPU (OC upto 1600MHz, UC downto 100MHz)
User customizable frequency steps. You can edit "freq_table" and use 25MHz as the lowest step and 1696MHz as the highest. You have 8 steps (it is fixed) but the frequencies can be set.
Supports undervolting (UV between 800 mV and 1500 mV)
Supports voltage control via SetCPU (thanks to netarchy, ninpo, hacre)
Stock voltages as default
smartassV2, lulzactiveV2 governors. and lots of other governors which are available as modules
Default governor is lulzactive (200-1200MHz)
Tweaked ondemand and conservative governors
no compiler optimization. it is just a myth.
Touchscreen fix (thanks to vitalij)
Increased touchscreen sensitivity
GPU clock (thanks to netarchy), voltage and scaling thresholds control interface.
I/O, scheduler, hotplug and vm tweaks
automatic battery calibration. (removed. thanks to Entropy512. we do not need battery calibration for SGS2)
Available I/O schedulers: noop, deadline, CFQ, BFQV3r2(default), V(R), SIO
Available CPU governors: see this thread for the list of available governors and modules (thanks to droidphile)
/system/etc/init.d startup scripts support
Automatic backup of efs partition. You will have the files in your sdcard as well as /data/.siyah directory. copy them to a safe location in case you may need them later.
BLN (thanks to creams), liblights is autoinstalled if the existing one doesn't support BLN
supports advanced touch tune driver. thanks to vitalij Link. the control app from Web, from Mobile. Thanks to tegrak for the driver patch file download
2nd core application support (thanks to tegrak)
Automounting of NTFS volumes for USB sticks (ntfs on external card is not supported). although your rom says "clear storage", just check /mnt/usb folder. ntfs drives will be automatically mounted in read-only mode.
LZOP compression for the kernel to have very fast decompression. We have a VERY BIG kernel image because we have ntfs-3g, CWMManager and lots of other things both in initramfs and payload.
Integrated new&faster sha-1, crc32 slice-by-8, crc32c, jhash and rwsem algorithms
SCHED_MC enabled to have less power consumption.
Lower brightness levels for low-light conditions to save battery.
Brightness behaviour modification via setting min_bl, min_gamma and max_gamma values. you can control the lowest and hightest levels used in autobrightness.
Native BLN support for CM7 based roms.
Three GPU stepping (160-267-300) instead of two
optimized and configurable hotplug thresholds and rates.
Thunderbolt! script integrated (thanks to pikachu01)
Voodoo louder app support (thanks to supercurio)
Current Widget support while charging the device.
ExTweaks (uci.sh) support. (Thanks to xan and AndreiLux) ( https://market.android.com/details?id=com.darekxan.extweaks.app )
CIFS, SLUB, FUSE, NTFS, cgroup_timer_slack,... and lots of other mambojambo that I forgot...
Download link: http://www.gokhanmoral.com/
FLASHING GUIDE
TO FLASH TAR:
If you already have root, use DarkyOTA app from the market ( https://market.android.com/details?id=com.ficeto.darkyromota ) .
If not, use ODIN.
TO FLASH ZIP:
Use CWM Recovery and install zip file. Wiping cache&dalvik cache is recommended for those who use BLN.
if you lose root after flashing the kernel (unlikely), flash http://goo-inside.me/superuser/su-2.3.6.3-efgh-signed.zip in CWM.
Some Example Init.d Scripts
Example CWM-flashable /system/etc/init.d/99gpuv script (thanks to AndreiLux)
Example GPU/CPU undervolting and underclocking scripts by kwerdenker
Improved version of CPU undervolting script by kwerdenker
Another couple of nice init.d scripts created by fenomeno83
flashable lionheart cpu governor and setting default i/o scheduler to deadline (remove /system/etc/init.d/01lionheart to uninstall. thanks to knzo for the tweaked conservative governor settings)
releases can be found here: http://www.gokhanmoral.com/
source code repository: http://bitbucket.org/gokhanmoral/siyahkernel
CHANGELOG
see http://www.gokhanmoral.com/ for the changelog.
TODO
more and more optimizations for less battery drain
ICS edition when samsung releases new kernel sources
stable wifi driver which doesn't cause a lot of wakelocks with proper offloading
BLN notifications without wakelocks
OTA application (just to prevent users downloading wrong kernel for their device. other than that, it will be useless for a kernel)
THANKS:
Samsung, supercurio, hardcore, Hacre, RAvenGEr, tegrak, cattleprod, codeworkx, hellcat, creams, vitalij, arighi and others I might have forgotten...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Who Should NOT Use This Kernel?
If you are going to use very low voltage settings and complain about having lockups, you SHOULD NEVER use this kernel... just run away! This kernel is just as stable as the stock kernel if you do not modify any settings. Do not blame the kernel if you change the voltage or clock settings. If you do so I will blame your stupidity. I will not remove any feature just because some dumb users select wrong settings. If you are a rookie with an uncontrollable instinct of modifying advanced settings please use speedmod or stock kernel.
This kernel generally contain some experimental code and some of them may be even undocumented. I have different release strategy. I always use the latest version and if I notice any problem I try to fix it. However, I do not use all the features of the phone. So, if you notice any problem please report it. bug reports are welcomed, whining is not.
If you judge a kernel by quadrant score, please, I beg you, don't use this kernel. I don't have enough time nor motivation to answer your questions... Some people got 8000+ quadrant (search the thread) and there is no way you can beat them anyway.. so, go away...
If you are one of those who judges a kernel while sleeping ("oh my god!! lost %1 during sleep"-guy) please use another kernel, sleep and never wake up. it will maximize your battery and minimize the tension in the thread.
If you still believe in battery calibration, discuss it in some thread else. we respect all religions but missionary acts are not welcomed in this thread.
99.9% of the code belong to others. I have some modifications and/or additions to the kernel as C code or scripts but they are so little compared to the original code base. If you think you are better developer than I am, don't waste your time (and mine) as I accept it beforehand so please just go away.
FAQ
Q: Does this kernel support Samsung's ICS leak, CM9 or any ICS edition?
A: No, it does not.
Q: Does this kernel support latest Samsung i9100 ROM?
A: Yes, it does. Unless otherwise stated, you can use this kernel on latest Samsung ROMs (official and leaks). it is tested on 2.3.4, 2.3.5, 2.3.6.
Q: Can I use this kernel on I9100G?
A: No, you cannot. Only european i9100 models are supported. Also, I compile ntt-docomo version for each release but beta versions do not support gps and digital tv on ntt-docomo devices.
Q: Does this kernel support CM7 or any other AOSP based roms?
A: Yes, but it only support cm7 or miui based roms for now. If you are using another aosp based Rom tell me and I will support it.
Q: Can I use app protectors with this kernel?
A: Yes, you can. Android logger is enabled by default.
Q: Some custom lockscreens or protectors do not work with this kernel. Can you fix it?
A: see the question above.
Q: What is smartassV2 governor?
A: It is a governor to control CPU frequency. This governor has a built-in "profile" similar to SetCPU but the profile has no upper frequency limit. It tends to stay on lower frequencies when the screen is off and scale up very slowly, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).
Q: What is the best UV settings?
A: There is nothing as best UV settings. You have to find the best settings for your device for yourself. Start by decreasing 25mV on each freq and decrease it every day until your device becomes unstable.
Q: What can I do to have the best battery life ever?
A: put your phone into airplane mode. if you don't like to do it read the guide below.
Q: Which roms are supported?
A: All android 2.3.4 and 2.3.5 roms are supported. Try the latest version. if you have any problems leave a post to this forum and ask for help.
Q: I get random reboots or freezes. What should I do?
A: Before reporting any problems you have to make sure that you are using stock voltage values. Some phones cannot handle undervolting. Secondly, you have to give details. When did it happen, which rom are you using, can you reproduce it, do you have any custom init scripts which changes kernel parameters such as freq voltage or anything else?
Q: do I need to recalibrate the battery?
A: You don't need to calibrate battery for SGS2. Thanks to Entropy512 to pointing out that our device uses MAX17042 which is specifically designed not to require calibration.
Q: do I need to perform any wipe?
A: no. you don't have to wipe anything. however, try wiping cache and dalvik cache if you have any force closes or any other issues before reporting the issue.
Q: Is the battery life better/worse?
A: maybe... you'll never know if you don't try... People are reporting that they are having the best battery but it may not be the case for your device.
Q: where is the interface to change GPU clock and voltage?
A: There is no GUI (graphical user interface). the interface is used via device files. you have to use init.d scripts to adjust the values. there are some examples in the first post about how to use init.d scripts and gpu voltage/clock interface.
Q: Which governor is the best? Which I/O scheduler is the best?
A: You have to try them and select the one you like. There is a very good explanation about governors and i/o schedulers here: http://forum.xda-developers.com/showthread.php?t=1242323
Q: My phone doesn't go into deep sleep mode. Why?
A: try to clear cache and dalvik cache by using CWM recovery and make sure that your phone is not connected to a charger. it does not go into deep sleep when it is charging.
Q: Which version is the best?
A: supposedly, the latest version is the best. But if the latest version is beta there may be unstable code in it. testing the beta version and reporting bugs will help me. but it's your choice... try and see... maybe this kernel is not stable for your device at all, who knows... I will not answer any "what is the best?" questions and I kindly ask you not to ask that kind of questions since there is no answer to that.
Q: How does the automatic battery calibration work?
A: Automatic battery calibration feature is removed as it was useless for SGS2.
Q: What is an init.d script?
A:init.d scripts are the scripts which are executed during the boot time. actually, they are meant to initialize and deinitialize system daemons and manage some startup/shutdown tasks. but in android world they are just "autoexec.bat"s. so, it is a mix of rc.d and init.d directories in linux distros. everything in /system/etc/init.d are executed during the booting process. since it is not standard in every android device,some developers choose to execute files starting with "S" and some execute everything. in this kernel, everything in /system/etc/init.d is executed. you can create a script to change, lets say, voltages, schedulers, apply tweaks, run overclocking daemon or run anything else you can imagine.
Q: My phone doesn't go into deep sleep. What is wrong?
A: Make sure that you have cleared cache and dalvik-cache after you install the kernel. Also, reboot once more after the flashing. the phone doesn't go into deep sleep if it is connected to a charger or to a computer. There may be an application running in the background which is preventing deep sleep. In that case you can check which app causing the problem with "BetterBatteryStats" application (search in Google).
Q: I want more info about CPU governors.
A: There is a great post about cpu governors (thanks to droidphile): http://forum.xda-developers.com/showpost.php?p=19339524&postcount=10023
If you still want more info, try them by yourself.
Q: Can I use this kernel with I9100T?
A: Yes, you can. the only difference between I9100 and I9100T is that they have different SAR values.
quick and dirty guide to have less battery drain:
- use 2G-only if you don't need 3G
- monitor programs which cause wake-lock. use betterbatterystats and either uninstall or tweak them
- do not use task killers. see the previous item and find the malicious programs instead of repeatedly killing them.
- do not activate google latitude on maps.
- if you don't need pushmail, uncheck gmail sync and use k-9 mail to pull mail, lets say, every 1 hour or so.
- go to settings / location and security. disable "use wireless networks" and "use gps satellites". enable them when you need them, other than that keep them disabled.
- disabling auto-brightness and using a low brightness level helps. do you know that you can adjust the brightness by swiping your finger across the notification bar? try it...
- using juicedefender may help, but it may also cause more drain. test it yourself.
- if you need more speed than 2.5G (i.e. edge) disable HSDPA (*#301279#, select 2 then select 1). you will have 3G instead of H(SDPA) and I think it is fast enough
- disable fast dormancy. dial *#9900# and disable.
- disable auto sign in for google talk (search for talk in appdrawer and use settings to disable automatic sign in)
- disable samsung update and don't use samsung gadgets if you are not in love with them. (this part may be taken care of the rom developers)
- try several radios. I recommend you to try KE7, KG2 and KH3 and choose the one which suits you best. KG2 seems to be the best for me. however, in terms of battery life, there is not much difference between those three.
- be aware that more you use your phone more the battery drains don't complain like "my battery drains quite fast but I did not use my phone. I only played angry birds for hours without making a single call" or don't expect to have a decent battery life if you use your phone as a computer or download torrents using your phone.
i think i will wait 4 feedback because it's based on u2 source.
But good job anyway
cheers
Just flashed this on checkrom. Lost my haptic feedback and wifi.
Sent from my GT-I9100 using Tapatalk
sileshn said:
Just flashed this on checkrom. Lost my haptic feedback and wifi.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I've just noticed that I haven't uploaded the version that I am using. sorry for that. I will recompile and upload again.
gokhanmoral said:
I've just noticed that I haven't uploaded the version that I am using. sorry for that. I will recompile and upload again.
Click to expand...
Click to collapse
Take your time and post the sources as well, else this thread will get locked pretty quick.
Sent from my GT-I9100 using Tapatalk
Tebrikler dostum.. Great work..
sileshn said:
Take your time and post the sources as well, else this thread will get locked pretty quick.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
yes, I know that is why I have asked for patience in OP. If the moderators were a bit more patient maybe I would be using some other kernel and wouldn't bother to compile my own
I've uploaded the recompiled kernel. enjoy.
Salam!
Any benchmarks results sir?
Sent from my GT-I9100 using Tapatalk
sileshn said:
sileshn
Click to expand...
Click to collapse
Thank you sir
Sent from my GT-I9100 using Tapatalk
So~ Any battery life improvement using this kernel sileshn?
Desperate for battery saving stuff for my lovely S2~
03188lee said:
So~ Any battery life improvement using this kernel sileshn?
Desperate for battery saving stuff for my lovely S2~
Click to expand...
Click to collapse
you have to try.
smartassv2 governor with 200-1200mhz setting is very satisfying and the battery lasts at least as long as speedmod-v27 for me.
bfq scheduler maybe
..........will u add it in the next release?
CFQ scheduler really drain too much power.....
Sick Enough To Die said:
bfq scheduler maybe
..........will u add it in the next release?
CFQ scheduler really drain too much power.....
Click to expand...
Click to collapse
I have already added. testing now..
power drain change is not noticable though.
Did you get better battery life than REGEmod-U1?
gokhanmoral said:
you have to try.
smartassv2 governor with 200-1200mhz setting is very satisfying and the battery lasts at least as long as speedmod-v27 for me.
Click to expand...
Click to collapse
chonshon said:
Did you get better battery life than REGEmod-U1?
Click to expand...
Click to collapse
I haven't tested it, but theoretically smartassv2 governor that I am using in the kernel should give better battery life than ondemand with a little (not even noticable) sacrifice of performance. you don't need to use any setcpu profiles with smartass governors.
test it. it may or may not give better battery life for you.
I will. Thank you.
gokhanmoral said:
I haven't tested it, but theoretically smartassv2 governor that I am using in the kernel should give better battery life than ondemand with a little (not even noticable) sacrifice of performance. you don't need to use any setcpu profiles with smartass governors.
test it. it may or may not give better battery life for you.
Click to expand...
Click to collapse
great work

[KERNEL][TWGB][updated 1/16] KGB Kernel: A Kernel for Gingerbread (EH09/EI20/EH03)

KGB Kernel
A Kernel for Gingerbread
Last updated: 1/16/2012
Standard disclaimer: I did this for myself more than anything. If this kernel causes you to sleep through an appointment or kills your firstborn or whatever, them's the breaks.
By using this kernel you understand that it comes with no warranty whatsoever, and that flashing anything to your phone invalidates the warranty on that as well.
For Fascinate, Mesmerize, and Showcase
and ROMs based on EH09, EI20, and EH03​
TKSGB has been renamed to KGB Kernel, because it's a kernel for Gingerbread (for the SCH-I500, and TouchWiz ROMs). I decided that posting a new thread would let me rename the kernel with the Most Imaginative Name Ever®, close the old thread for getting too long, and rewrite the first post all at the same time.
FEATURES
CUSTOM SETTINGS APP
I wrote an app to replace the command-line scripts that controlled some of the settings in the kernel. It will auto-install upon boot and may even work with some features of the other TWGB kernels out there.​
VOODOO
Voodoo Lagfix (with autoconvert) and Voodoo Sound v10. Compatible with Voodoo Control app.​
OVERCLOCKING/UNDERVOLTING
Supported up to to 1.7GHz with Pimp My CPU/Voltage Control.​
TWEAKED CPU GOVERNORS AND I/O SCHEDULERS
ondemand is the default and recommended CPU governor. interactive, smartassv2, and tweaked conservative governors are included. ondemand and interactive are renamed from ondemandX and interactiveX, updating what was already there.
deadline is the default and recommended I/O scheduler. sio, vr, and bfq are included. deadline, sio, and vr have been tweaked for flash memory.​
NO HOTSPOT MONITORING
The Wi-Fi driver is ported from i9000, and has updates that some have said make it more stable than the driver included in the stock kernels. Tethering with Wireless Tether for Root Users and other apps is supported.
Using Verizon's built-in 3G Mobile Hotspot is never recommended.​
THIRD-PARTY BATTERY SUPPORT
Batteries for other Samsung Galaxy S models, off-brand batteries, and third-party extended batteries are all supported. Genuine Samsung i9000 batteries and third-party batteries that live up to the 1500mah ratings can now be had for well under $10.​
USER-ADJUSTABLE TRICKLE CHARGE
Credit for this feature goes to djp952. There are still a couple of reasons why this is considered experimental, but it will definitely get rid of Gingerbread battery drop if you are experiencing it. I extended it so that it can be enabled from userspace, so that one version of the kernel can accommodate people who want to use this feature and people who don't. Turning trickle charge on can be easily done with the included KGB App.​
IN-CALL VOLUME BOOST
User-adjustable in-call volume boost settings can be changed by running the included KGB App.​
IN-CALL MIC GAIN
User-adjustable in-call mic gain settings can be changed by running the included KGB App.​
AOSP-STYLE COLOR TUNING
Voodoo Color hasn't been working right for anybody and was causing greenish blotchy artifacts on videos, so AOSP-style color tuning has been implemented and can be adjusted by running the included KGB App.​
TOUCHKEY BACKLIGHT TIMEOUT
Custom touchkey backlight timeouts is another AOSP feature ported to KGB Kernel, and can be adjusted by running the included KGB App.​
BACKLIGHT NOTIFICATIONS
neldar's BLN v9 is included, and can be enabled with BLN Control app or Blinky.​
ZRAM
At the cost of increased CPU usage, zram effectively gives you more RAM by setting aside a portion of it and compressing what gets stored there.
zram can be enabled by running the included KGB App.​
DOCK AUDIO SUPPORT
Apparently this is working to the satisfaction of those who actually have docks (I don't).​
LED FLASHLIGHT
Didn't work with stock kernels, but works now. Strobe is not supported.​
BOOT ANIMATIONS
Automatically chooses between Samsung-style boot animations and AOSP-style (zip) boot animations.​
CIFS, TUN, UTF8
All built into the kernel, with no need to load any modules​
LOW-LEVEL TWEAKS AND UPDATES
Various autogroups, RCU updates, jhash3, ext4 updates, and memory management updates are included. So are patches for the ARM SoC by ARM and Samsung and a number of other patches to the Linux kernel. In sum these clean up the kernel source code and help interactivity.​
OPEN SORES
KGB Kernel source on Github: I don't know C. I kang everything.
Don't you dare think that you have to ask for my permission before using my source however you like.
It appears that I have finally gotten the .gitignores correct and the git repo will build a working kernel! Let's not dwell on how shameful it is that my repo didn't even build until two months after my first release. I have updated the xda wiki article on building KGB Kernel. If someone tries it out let me know how it goes!​
THANKS
Unwitting contributors
imoseyon, ccampos784, djp952, existz, jt1134, Tk-Glitch, Efpophis, SirGatez, erasmux, supercurio, renaudallard, zachariasmaladroit, xcaliburinhand, a bunch of people who made it into the mainline Linux tree.
I've tried to credit these people and others as best I can in my git repo's commit messages, but some of these people are on here because I used their code as a model for various things.​Others
People from IRC/people who helped the community/testers/teamsbrissenmod members, including adrynalyne, imnuts, times_infinity, navenedrob, nemesis2all, nitsuj17, chopperthedog, ACLakey, veteranmina, brickbeats, etc.
Everyone who has ever tried my kernel!​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
KGB Kernel doesn't come with CWM. You can use the CWM 2.5 that is supposed to be more compatible with nandroids and the blue CWM 3.0.2.8x here, among others. I'll be working on this in the near future.
DOWNLOADS/CHANGES
FA16 (2012/1/16): ODIN CWM
Changed buildcode naming scheme to match Samsung's
Removed boot logo
Switched from Voodoo Color to AOSP-style color tuning
Reimplemented in-call volume boost, added custom in-call mic gains (thanks Efpophis)
Rewrote touchkey driver to better deal with EM interference and implement AOSP-style touchkey backlight timeout
Extended djp952's trickle charge patch so that it can be enabled from userspace
Wrote KGB App to handle all the functions of the old zram, callboost, and bltimer scripts + adjust color tuning + enable trickle charge
Changed some LMK values around
Kernel: updates to kernel power management and a couple different things including a different implementation of semaphores (specific commits were in Talon)
You may want to use the startup script uninstaller linked below with this one.​1212: ODIN CWM
Revert changes to zram and readahead, somehow caused slowdown
Update Voodoo stages
Autoinstall bash and nano
A couple minor commits to bring us up to date with AOSP's Samsung GB kernel
Changed splash screen​1202: ODIN CWM
Custom splash screen
Try to use Samsung's deep idle implementation
Updates to all my scripts. They're now better in every way
Updates to zram from Linux 3.2-rc1​1127: ODIN CWM
Initial release of KGB Kernel after renaming from TKSGB.
Exact changes from EH09 source are visible on my github.
Includes all the updates from EI20 source and elements from EH03 ramdisk.​
OTHER DOWNLOADS
bash and nano: CWM
bash, nano, and libncurses. Should work for all TWGB ROMs.​Kernel cleaner script: CWM
You only need this if you want to uninstall any startup scripts created by the command-line zram, callboost, and bltimer utilities. For example, you may want to use KGB App but it's yelling at you about startup scripts and you don't know how to remove them manually. Flash this CWM zip to remove 05zram, 91callboost and 99bltimer scripts from /etc/init.d/.​BLN framework patch for TSM Resurrection 2.0: CWM
Flash this patch on top of TSMR 2.0 and BLN will work like it's supposed to!​BLN framework patch for SuperClean3 Milestone 1: CWM
Flash this patch on top of SC3M1 and BLN will work like it's supposed to!​
One-off builds that I won't call releases (CWM only, no support on the changes)
FA16 for EI20. http://www.mediafire.com/?vhyu67vceae5kon
FA16 for EH09. http://www.mediafire.com/?oocgag4uj98qb1o
Neither of these has been tested. They should both include all the new features and autoinstall KGB App just like the regular EH03 version. I won't know what's broken and needs fixing until someone tells me and/or I do some testing myself.
1212 with trickle charge. http://mediafire.com/download.php?he19bvkm2p1sm7r
1212 for EH09, no trickle charge. http://mediafire.com/download.php?ljmj5j8r5cplt5d
1202 with trickle charge. http://www.mediafire.com/?b54va9bsgxt0zuq
1202 for EH09, no trickle charge, video and camera hopefully fixed. http://www.mediafire.com/?f8nj58x1st3f267
1127 with trickle charge. http://www.mediafire.com/download.php?c40aak4dsxnkdqa
FAQ and some more content is coming later.
logcat doesn't work on EH03. Fixed with logcat binaries from EH09/EI12, see other download section above
Video playback and possibly camera are broken on EH09. Fixed with one-off builds.
For someone who's "not a dev" you do excellent work Thanks for all your efforts.
Has anyone seen John Connor?
Thanks for the shout out and thanks for your hard work!!!
<in my best fake russian accent>
Nice job, Comrade! And you could not have picked more appropriate name.
</fake accent>
I've got this running solid as a brick on my wife's phone, OC to 1.3GHz with -50mv across the board. Was never able to OC her phone before without it going nuts, but I had chalked it up to the phone being a refurb. I guess it just needed the proper software after all
Let me know if you ever need a hand from someone who knows a little C, ok? I'd be glad to help if I can.
Does this kernel support the deep sleep which appears new in EH03 stock?
Just installed 1127 trickle, no installation issues, zram audio boost confirmed working
"the relentless pursuit of the perfect rom"
If we are coming from an older version of this kernel do we have to re enable z ram and audio boost to have it function correctly?
Sent from my SCH-I500 using Tapatalk
Also do back light stay on constantly on the latest kernel cuz I have them covered up so I was wondering if they time out now or is that rom related?
Sent from my SCH-I500 using Tapatalk
Anyone confirm if trickle charge actually works?
AtropineNa said:
Anyone confirm if trickle charge actually works?
Click to expand...
Click to collapse
it does according to this
@comradesven I noticed that available ram increased from 346 to 366. How did you do that?
"the relentless pursuit of the perfect rom"
laureanop said:
it does according to this
Click to expand...
Click to collapse
Does your charge go higher than 95%?
SC
Tks 11/16
Vm heap 64
jcurley said:
Does your charge go higher than 95%?
SC
Tks 11/16
Vm heap 64
Click to expand...
Click to collapse
Yes
"the relentless pursuit of the perfect rom"
Having problems playing videos. On awsome sauce and this kernel installed via cwm....
Sent from my SCH-I500 using xda premium
My phone goes up to 100 while plugged in but drops to 95 when unplugged. Plus makes that darn noise likes it's being plugged in. Probably will switch to the 1127 minus the trickle.
Shawn
starbiker99 said:
My phone goes up to 100 while plugged in but drops to 95 when unplugged. Plus makes that darn noise likes it's being plugged in. Probably will switch to the 1127 minus the trickle.
Shawn
Click to expand...
Click to collapse
Same for me
*Borat voice* "Very nice" =)
Kernal is running pretty smoothly so far.

[Kernel][CWM]Fecality I9100 3/7/2012 (GPU Voltage Fix)

Read the Known Issues section of this post below along with the FAQ a few posts down before posting.
A few people have asked about I9100 builds of my Daily Driver kernel for the SGH-I777. I normally hate blind development, but since most I9100 guys are doing it for I777 targets, I may as well try going the other way. Since it fails the definition of being a "daily driver" as I own an I777 and not I9100 - it will not be using the Daily Driver name.
This should be compatible with most stock-derived Gingerbread firmwares, with a few exceptions listed below. It is NOT compatible with CM7/MIUI or any other AOSP-derived firmware. It is NOT compatible with ICS and WILL NOT BE until ICS kernel source for the I9100 is released. At that point a new thread will be created for those kernels. I am testing it currently with self-deodexed/debloated/Hellraised XWLA4.
The following firmware bases are likely to deliver poor battery life with this kernel due to wifi bugs in the firmware:
XXKI3, UCKK6, XWKK5 - especially UCKK6 and XWKK5
This kernel series is intended to be similar in spirit to my Daily Driver series for the Infuse at http://forum.xda-developers.com/showthread.php?t=1212795
It is built from sources at https://github.com/Entropy512/linux_kernel_sgh-i777/commits/oc_codeworkx, and initramfs at https://github.com/Entropy512/initramfs_sgh-i777/commits/master
My general goals are to focus on stability and battery life. If it comes to a tradeoff between performance and the above two, I will choose stability/battery life. In general I will choose stability first, with the exception of undervolting.
I keep my initramfs clean - There are no tweaks or other automated scripts built into this kernel. For a collection of tweaks I am working on and documentation on them, see http://forum.xda-developers.com/showthread.php?t=1378080
Current features:
I9100 Update3 base
Touchscreen drivers from I777 source code base
codeworkx's cpuidle patch - should improve battery life a bit. In most cases it will likely not improve things much, but in rare cases it will result in significant improvements. (I only have one partially-reproducible test case on the Infuse so far)
JHash 3
BFQ I/O scheduler
CIFS module in initramfs
CWM 5.0.2.8 compiled from CM7 sources on 2/28/2012
"insecure" kernel (meaning root in ADB)
CPU governor set to Conservative by default to conserve some battery - this will make your device slightly less responsive, use SetCPU or a similar app to return to ondemand if you want it, or reduce the conservative polling interval
Filesystem readahead tweaks in initramfs
netarchy's Sleep of Death fix
netarchy's conservative governor tuning patch - should improve responsiveness of devices when using the conservative governor if you reduce the polling interval (misnamed as sample_rate) - the I9100 community calls this "lionheart" even though it's really only a 2-line patch
Battery charge current monitoring (CurrentWidget) support - only reports charge current and not discharge, and reports a value 2.85 times the actual current. Use CurrentWidget's "operation on value" to divide by 2.85.
Miscellaneous bugfixes pulled from Ninphetamine and CM7 sources - see github for details
/system/etc/init.d support in initramfs - Note that this only runs stuff in /system/etc/init.d - ROM developers or you need to create it. Attached is an example script that will change the CPU frequency governor to ondemand if placed in /system/etc/init.d and set to executable
Four "use at your own risk" features that trade performance for stability - See Post #4 for details
Standard bootanimation support
/proc/last_kmsg crash debugging support
NFS modules in initramfs - note that they must be insmodded in a specific order: sunrpc.ko, lockd.ko, then nfs.ko
Fix for fuel_alerted perma-wakelocks
Fix for wifi tethering on I9100 ROMs that have been Hellraised to I777
Bump up TCP buffer sizes in initramfs to match that of the Infuse - may help network performance in some cases
cpuidle driver from Tab 7 Plus kernel - allows entry into AFTR more often - includes MFC interoperability fix (Should not break video playback.)
Support Bluetooth HID on newer firmware bases
3-step GPU clock/voltage control
Extended hotplug tuning
Support for Xan's ExTweaks universal tuning app - https://market.android.com/details?id=com.darekxan.extweaks.app
Planned features, short term:
Determine if issues with PINlock when running I9100 firmwares on I777 have kernel involvement, and fix them if this is the case.
Planned features, mid-term:
Potentially my first departure from "standard" governors, with a focus on improving hotplugging logic
Planned features, long-term:
Improved battery charge algorithm for faster charging - Initial research indicates we have an alternate battery charger chip (MAX8922) that differs from the MAX8997 used in the I9100. We DO have an 8997 also - but on our device for some reason Samsung decided to use an alternate chip instead of using the 8997's built-in charging. This means we have far fewer options (90,400,660 mA) in terms of charge rates compared to the I9100 (from 200 to 950 in 50 mA steps). So we might not be able to implement any fancy charging algorithms.
Features not planned:
BFS process scheduler - I have only once ever seen a test case where this clearly outperformed the mainline Linux scheduler (multithread x264 encoding) - The mainline schedule was fixed in the next release and BFS now has no performance benefits
Any feature that trades off stability or data integrity for performance unless it can be disabled entirely and defaulted to "off"
Any feature that cannot have functionality tested without a paid app. Interface-only checks don't cut it - I don't want users complaining that the app they paid for didn't work because an interface check worked but function didn't
Touch recovery - too prone to unintentional user input in dangerous situations. I will reconsider this with ICS.
ARM_TOPOLOGY/SCHED_MC - See http://forum.xda-developers.com/showpost.php?p=23193259&postcount=100 for details
Known issues:
Power management regression somewhere between 12/8/11 and 1/2/12 - Intermittent high drain without high AOS or reduced deep sleep percentage when on some wifi networks - seems more likely if GPS is used when connected to wifi. Wifi with high AOS/reduced deep sleep is not a kernel problem. This appears to only happen on some firmwares - it happens on XXKI3 but not XWKL1. It is likely connected to a wifi power management bug in some firmwares. A debugging feature in 2/7 and later will allow identification of such firmwares - see http://forum.xda-developers.com/showpost.php?p=22581928&postcount=1777 for details
Some people have reported touchkey lights becoming disabled until the screen is turned off and back on again. Under investigation - seems to mainly happen on firmwares with BLN-modded liblights even if the BLN app isn't used
Internal and External SD card are swapped in CWM currently
Keymap is a little funky in CWM for I9100 users. VolUp/VolDn to move, Power to select is reported to work, but bottom keys are funky. Working on it
A few users have reported that when Hellraising I9100 firmwares to I777, they are unable to set up a PIN-lock. If this occurs for I9100 users on their own devices, I need to look into initramfs fixes and this will be my top priority.
Basic flashing instructions for .tar releases (NOTE - There are currently no releases in this category. These instructions only remain for heimdall+ZIP users:
(Tested on Linux, not tested MacOS/Windows but should work) Heimdall - Extract the contents of the tar file, enter download mode, and flash with the following command line:
Code:
heimdall flash --kernel zImage
Flashing instructions for .zip releases:
Flash in CWM, or extract the zImage and use the Heimdall instructions above.
Please do not ask how to enter download mode or install Heimdall/Odin in this thread - these are basic generic skills anyone flashing custom firmwares on Samsung devices should know and plenty of documentation exists elsewhere. If you really need to ask, use the General forum, or if created, the Q&A forum. I want to try to keep this thread clean and only with bug reports and issues specific to this release, not general HOWTO or troubleshooting posts. Some of the information you need is in jivy26's FAQs thread at http://forum.xda-developers.com/showthread.php?t=1288112 - Reading at least the first post of this thread in its entirety is STRONGLY recommended.
Bug reports:
If you have a crash (reboot all the way to Galaxy S I9100 screen), use ADB dump the contents of /proc/last_kmsg and post
If you have oddball behavior, include a clearly reproducible test case with your report, or use ADB to obtain a dmesg and logcat capturing the odd behavior at the time of error.
Similar to flashing - using ADB and obtaining last_kmsg, dmesg, and logcat dumps are basic skills that anyone working with custom firmwares on Android devices should have. If you need help with these, do some searching, or post in the General forum or Q&A forum.
Firmware ("ROM") Developers:
While I cannot restrict anyone from putting this kernel into a ROM as long as links are given to the github sources for GPL compliance, I request that anyone who includes this kernel in a firmware release does the following out of courtesy:
Link to this thread
Clearly indicate in your firmware changelog which Daily Driver kernel release is included in your firmware release whenever you change DD releases - this lets users identify whether a fix is present in the kernel they're using or not
Kernel Developers:
Similar to my request for ROM developers, while I can't restrict you from doing anything, I ask as a courtesy that if you cherry-pick my commits, you do the following:
Please don't rebase my commits into a large multi-feature without consulting me - rebasing related bugfixes together is OK.
Please try not to implement lots of unrelated features or bugfixes in a single git commit - it makes it hard to reimplement that when Samsung drops new sources or releases a new device
ALL OF MY RELEASES ARE NAMED BY RELEASE DATE - MMDDYYYY. See the changelog for differences between Experimental (exp) and non-exp versions for days where dual releases are made.
Change Log
The primary change log will be kept in my I777 kernel thread at http://forum.xda-developers.com/showpost.php?p=18129037&postcount=2
Unless I9100-specific items are implemented, this post will simply indicate which I777 release the kernel corresponds to.
3/7/2012:
Corresponds to Daily Driver 3/7/2012
03/05/2012:
Corresponds to Daily Driver 3/5/2012
03/04/2012-B:
Corresponds to Daily Driver 3/4/2012-B
03/04/2012:
Corresponds to Daily Driver 3/4/2012
03/03/2012-B:
Corresponds to Daily Driver 3/3/2012-B
03/03/2012:
Corresponds to Daily Driver 3/3/2012
Initial release was bad, that was an I777 build. Reuploaded at 4:22 PM Eastern Standard time on 3/3 - Redownload if you downloaded before that
3/02/2012:
Corresponds to Daily Driver 3/02/2012
2/28/2012:
Corresponds to Daily Driver 2/28/2012
IMPORTANT: Internal/External sdcards have been swapped in CWM to be consistent with Android standards!
2/26/2012:
Corresponds to Daily Driver 2/26/2012
Initial release, 02/15/2012:
I know it's dated 2/15 and not 2/26, because that's when it was built. Thanks to khartaras for indicating that it isn't at least a horrible turd when used on an I9100.
This release corresponds to the 2/15/2012-C release of I777 Daily Driver
Here Be Dragons
This post is for features present in the kernel that are "use at your own risk" - They have either potential or guaranteed negative side effects if used.
Overclocking (CPU):
Enable using SetCPU or a similar app
USE AT YOUR OWN RISK. DO NOT REPORT BUGS OR PROBLEMS IF YOU ARE OVERCLOCKING OR UNDERVOLTING. IF YOU EXPERIENCE ANY STABILITY PROBLEMS, DISABLE ALL OC/UV
Overclocking (GPU):
See Ninphetamine kernel for documentation - Same control method
USE AT YOUR OWN RISK. DO NOT REPORT BUGS OR PROBLEMS IF YOU ARE OVERCLOCKING. IF YOU EXPERIENCE ANY STABILITY PROBLEMS, DISABLE ALL OC
Per-File fsync() disable:
This allows you to disable per-file write forced syncs. (e.g. if an app tries to force a write straight to disk, it'll just go to cache). This achieves the same goal as the modded sqlite hacks seen in tweaks such as USAS, however it can be disabled at runtime.
WARNING: THIS CAN CAUSE DATA LOSS OR CORRUPTION IN A CRASH
To enable, do the following in a terminal, or add it to an init.d script (look at my ondemand script as an example):
Code:
echo "1" > /sys/module/sync/parameters/fsync_disabled
And to disable (return to the default):
Code:
echo "0" > /sys/module/sync/parameters/fsync_disabled
Good for around 200 points of epeen in the database benchmarks in Antutu or 500-600 points of epeen in Quadrant. Real-world benefit: Probably not worth the data integrity risk, but you've got a choice now.
Backlight Notifications (BLN):
This allows the touchkey backlights to be used for notifications. Some stock apps (such as stock MMS) don't support it. Supposedly services.jar mods can change this.
This WILL drain your battery when a notification is active due to a wakelock that holds deep sleep. Sorry, it's either this or instability for the time being.
In addition to the BLN control app, the ROM needs a modified liblights file for this to work
Attached here - Liblights - both BLN-modified (extracted from VillainROM 3.0) and stock I777
To install, take the file and push it to /system:
Code:
adb remount
adb push <file> /system/lib/hw/lights.SGH-I777.so
adb chmod 644 /system/lib/hw/lights.SGH-I777.so
Then reboot
Note that on a Hellraised ROM, you need to replace SGH-I777 with GT-I9100. This includes manually ported ROMs like Cognition 777
Like my prerooted system image, this file is compressed using 7-Zip to prevent people from trying to flash it with CWM
OK, right now this post only has documentation of one "special but safe" feature:
To enable debugging of high deleted_wake_locks time, I've set this up to allow wake_lock_destroy() to be debugged without enabling DEBUG_WAKE_LOCK (which spams dmesg with a ton of stuff not needed for wake_lock_destroy() debugging). To enable, add 32 to the value of /sys/module/wakelock/parameters/debug_mask - This defaults to 3, so the proper value is 35.
Code:
echo "35" > /sys/module/wakelock/parameters/debug_mask
Return this to 3 to set it back to the default.
With this, you'll see wake_lock_destroy debugging information in your dmesg output. This is only needed if you have very high deleted_wake_locks times.
The following is known to cause deleted_wake_locks:
Turning off wifi will convert all wlan wakelocks into deleted_wake_locks
FAQ
Q: I installed this and still don't have root?
A: I keep a clean initramfs. There are NO tweak scripts in it, and no autoinjection scripts. To root your device, flash one of ChainsDD's Superuser packages in CWM
Q: I don't like the default I/O governor, why is it this way?
A: Clean initramfs (if you need to flash a kernel cleaner script after my kernel, I have failed or an app cluttered up your init.d) - If you want to change the default governor and tune the filesystem, see my init.d scripts thread.
Q: Why is it so laggy by default?
A: I don't believe in having half my patches tuning default values of things the user can change. In addition, as stated above - battery life is valued over performance, so default governor settings will be biased towards battery. My personal recommendation if you wish to increase performance (at the cost of battery life) is to drop the sample_rate for the conservative governor using SetCPU or a similar tool - this will significantly improve performance. It provides nearly all of the benefits of the original "lionheart" without allowing the sample_rate to go dangerously low. In a future release I'm going to drop the minimum a little bit more.
Q: Something went wrong. I'm using some stupid comprehensive tweakscript. Y U NO FIX?
A: I will not support anyone who is using a comprehensive tweak script (Thunderbolt, V6 Supercharger, etc. - ESPECIALLY V6 Supercharger, as its developer has multiple times in the past put in dangerous tuning options. For example, he disabled the panic reboot timeout, which combined with Samsung's ****ty wifi driver on the Tab 7 Plus, led to multiple Tabs draining their battery all the way to the battery's failsafe cutoff.) If a specific individual tweak causes a problem, let me know - but you'd better know EXACTLY which tweak it is. In addition to the above issues with V6SC, many "tweak scripts" achieve their goals by trading filesystem integrity for performance, and irresponsibly don't warn the user about this fact. See, for example, the fsync disable feature above - it's dangerous, but don't say I didn't warn you it was.
Q: What voltages do you use?
A: This is irrelevant. Every device is different, if a given set of voltages worked on all devices, Samsung would've made it stock. I will report any discussion of voltage recommendations to the moderator for cluttering the thread. If you're undervolting, you need to take responsibility and do it on your own.
Q: Why don't you support AOSP firmwares (CM7, etc.)?
A: I know that the CM team frowns upon alternate kernels as it makes their testing job more difficult. Similarly, supporting too many firmware bases makes my job more difficult. Out of respect for the skills of codeworkx and atinm, I will not release kernels that could make their life harder. I periodically give them the heads-up on patches that I think are important though.
Q: What's with the toilet humor of the name?
A: Long ago in the Infuse community, there was a person (lemons) that was starting to do some smali hacks (camera modding and such), and was planning on eventually releasing a ROM. He was a pretty good guy, and had lots of potential. He and others joked that since it was his first attempt, it should be called ****ROM. Sadly, lemons never followed through and just disappeared, so for months, ****ROM never became a reality. Eventually it was realized in the form of a deodexing/porting/basic modding guide for I777 users at http://forum.xda-developers.com/showthread.php?t=1505685. In addition - I hate hype and marketing, better to set expectations low and let the code prove itself on its own merits. Since I'm blind-developing, I can't just say it's my daily driver because in this case, I am unfortunately not eating my own dogfood.
Q: Why don't you base on 2.6.35.14?
A: That would be my Experimental series. It's temporarily on hold for a variety of reasons but will return once I finish reimplementing some patches. The great thing about git branching is I've been able to maintain .7 and .14 trees simultaneously with ease.
Q: Sometimes my touchscreen is unresponsive right after a wakeup, why?
A: It seems, based on reports from khartras and teiglin, that TouchScreenTuner does not play well with the I777 touchscreen drivers. I'm not sure if it's even necessary with them - in the months since October, the only time I have ever received touchscreen complaints from I777 users was when running I9100 update3 touchscreen drivers. TST may just be working around broken drivers...
Reserved for ?????
Thanks for this. I will try later.
Again very thanks.
Enviado do meu Galaxy S2 usando TapaTalk
Going to try this kernel for the sole reason that I think you're a great guy on here and I enjoy reading your informative posts - you always seek to educate rather than put people down.
Thanks Entropy.
Uploaded a new release, this has just a few small patches, bringing it up to the same base as Daily Driver 2/26/2012
As a compulsive lurker, reader and searcher, ive been looking forward to this release..
Alongside Pulser and Ninpo, your informative postings and professional ethic enable users like myself to maximize the potential of our devices.
Thanks mate, i have no doubt this will be brilliant..
Thanks Entropy, I've missed your work since I moved from Infuse over here instead of to I777-land. I do have a question, though--I note the only "nonstandard" I/O scheduler you included was BFQ. Do you find sio/vr problematic, or do they just not provide any benefit from your perspective?
teiglin said:
Thanks Entropy, I've missed your work since I moved from Infuse over here instead of to I777-land. I do have a question, though--I note the only "nonstandard" I/O scheduler you included was BFQ. Do you find sio/vr problematic, or do they just not provide any benefit from your perspective?
Click to expand...
Click to collapse
I'm considering adding these - I've found that alternate governors/schedulers often cause more problems than they solve.
Thanks for sharing your kernel with us i9100 users Enthropy. I really like your stability+ battery approach. Will be giving the kernel a good go.
Sorry...this kernel is comparible with jkay brightness profile?
Inviato dal mio GT-I9100 usando Tapatalk
coloxim said:
Sorry...this kernel is comparible with jkay brightness profile?
Inviato dal mio GT-I9100 usando Tapatalk
Click to expand...
Click to collapse
No - And right now, I am unaware of any kernel that is. As much as I like JKay's work, I believe he lacks understanding of how screen brightness works on the I9100 and I777.
Even JKay is unaware of any kernels that support those profiles. See entry 12 in his FAQ.
To implement additional brightness steps, an additional gamma table for each brightness step needs to be implemented - https://github.com/Entropy512/linux_kernel_sgh-i777/blob/master/drivers/video/samsung/ld9040_gamma.h
So until FAQ section 12 has clearly defined (and achievable) requirements for compatibility, or JKay declares a specific kernel compatible in FAQ section 12 of his mod, I won't be doing anything. Creating a custom gamma table entry is not easy as it requires a LOT of tweaking and good colorimeter hardware. Supercurio has done it at high brightness levels to my knowledge, but I don't think he's done it for low brightness levels and I don't think he's added extra gamma tables for additional brightness steps.
Edit: I have seen that Speedmod and Redpill do change the table entries for the lowest two brightness settings - however, they don't add any new bins, so the brightness change is achieved even on JKay profiles that don't supposedly require kernel support. e.g. JKay's "dark, requires kernel support" are pointless because the only kernels that actually provide dimmer minimum backlight do so even with his profiles that don't claim to require custom kernels. (And the "super dark" and "dark" profiles will behave the same regardless of kernel.)
What's interesting is hardcore did it for only two of three available panel types. Either two of Samsung's panel types are brighter than others, or hardcore did this without testing on some panel variants and just thought "the numbers are different, I'll change them". I'll look into playing with this as it would be nice to have lower minimum brightness, but it's somewhat low priority as it's easy to simply make things look like **** if you're not careful.
its possible to make your kernel fully compatible with the cmw manager of chainfire
for now some fonctions are desactivate
anyway i m testing it now and all seems to be good
So far so good mate.
Batterylife we will see in a day or two but all in all running fine.
Thanks and go ahead with ur work.
CHEERS ;-)
Sent from my Galaxy S2 - I9100 with SensatioN Rom!
F3nr1s said:
its possible to make your kernel fully compatible with the cmw manager of chainfire
for now some fonctions are desactivate
anyway i m testing it now and all seems to be good
Click to expand...
Click to collapse
Others have asked me this - if he has compatibility guidelines posted somewhere, I'll take a look at them.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Battery in deep sleep is exceptional, 2% lost in 5 hours with WiFi enabled and emails syncing.
Sent from my GT-I9100 using XDA App
Facality
weird name for a kernel..or for pretty much anything..dude

[KERNEL] AJK v4.9 [** The ONE **] [JB]

Imitated, but NEVER duplicated!
Rock solid stability and great performance for your SGH-I777.
Features:
Full support for Kernel Screen Gestures Builder
WIFI Driver ported from SG4
New Mali V2 Video Driver
Overclocking up to 1400 MHz
Be very careful with voltage settings. UnderVolting usually causes bad things..
Slide2Wake is now automatically disabled while on a call. (Modded for less battery drain)
Native USB Tethering.
Native Wi-Fi Tethering
File systems support: Ext3/4, FAT32, NFS, CIFS, NTFS
Added tweaks to increase I/O Speed.
Added tweaks to increase CPU speed
Removed all the debuggers
Better picture quality thanks to camera tweaks
BLN without Wakelock - see STweaks BLN tab to activate.
Touch Keys Light change with the screen brightness
MMC_CAP_ERASE not present
Sound boost controls in STweaks.
Added mdnie interface and made hardcore’s sharpness tweaks optional
5 GPU FREQ Steps from 108Mhz to 520Mhz
Ultra KSM from 3.9.y kernel.
[/LIST]
Installation Instructions:
Wipe cache
Wipe dalvik
Install AJK - DO NOT REBOOT YET...
While still in recovery, go to advanced and reboot recovery
After recovery has been restarted, go into kernel specific options and Reset ExTweaks profiles
Fix permissions in recovery
Reboot and enjoy the new kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NoSwap - for Cooked and AT&T stock JB
MicSwap - for ShoStock3 and other ported i9100 ROMs
AOSP - for any AOSP ROM, such as CM10.2
AJK v4.9 NoSwap
Dev-Host
Goo
AJK v4.9 MicSwap
Dev-Host
Goo
AJK v4.9 AOSP
Dev-Host
Goo
NOTE: Changelog information for builds prior to v3.2 was somehow deleted while the thread was closed (at my request...) for a short while.
I will try to recover the lost changelog information and add it as I can.
Changelog:
v5.0 (in development)
Updated ROM compatibility - now works on all current ROMs
Fixed SoD when using ZZMOOVE as sleep governor
Imported the latest Samsung ramdisk files
Fixed an issue where profiles might be reset
- Any further profile issue MUST be due to a ROM or rogue app issue.
- The logs I have seen are indicating that the profile was deleted by something. Kernel is not capable of this...
v4.9
Fixed JB_Sound_Fix on Samsung based ROMs
Fixed a small profile issue
Fixed an issue with CPU grouping
Improved ROM compatibility
Misc fixes & tweaks
New battery profile
New performance profile - Highly recommended! Great performance & very good battery life!
GPIO pin definitions fixed
There's more but I forgot to write it down as I went...
v4.8
Small FileSystem tweak
Improved ROM compatibility
Disabled the boot logo for now
v4.7
Fixed various issues with CM10.1.3 RC2
Sync'd CM10.x init files with CM sources
Set ROOT to default ON for CM10.2
Updated ZZMOOVE to v0.7d
Set default profile sleep scheduler to BFQ
New Battery profile, based on ZZMOOVE v0.7d
New boot logo by Teknodad1974
v4.6
Tuned battery & performance profiles a bit
Tweaked CortexBrain
Fixed a small profile bug
Updated ZZMOOVE governor
-new ZZMOOVE governor is VERY smooth (smoothest gov I have found), uses slightly more battery than Hyper.
v4.5
Nice new boot logo by Teknodad1974
Recovery background remains plain black to make it easier to read recovery text
Fixed a small issue with recovery
Added exFAT support
Updated governors & i/o schedulers
Updated profiles
Updated Stweaks
Added the Dorimanx implementation of CPU Voltage Groups. This will let people see why some phones UV easily and some cannot UV.
v4.4
Added support for Android 4.3
Some code cleanup
Tweaked touchscreen and display to improve smoothness
v4.3
Reverted part of the frequency cleanup as it caused a slight hesitation in the UI
v4.2
Bugfix - corrected CPU frequency table
Boots & settles in much faster now
v4.1
Undervolting has been given a reprive thanks to topiratiko & samprocat
Use UV with CAUTION and expect no support when using UV
CPU frequency table has been tuned down to 6 primary frequencies for efficiency
CPU voltages have been corrected in the profiles to account for the new frequency table
Fixed mic swapping (MicSwap version only, obviously)
Due to the changes made to the CPU frequency table and the CPU voltage table,
it is CRITICAL that you follow the installation instructions exactly as outlined here.
S959G users please ask for assistance from more experienced S959G users
if you need assistance..
PLEASE do not just ignore the need for profile resets!
This version will start off slow (possibly VERY SLOW) and will speed
up as it settles in. First boot can take a LONG time. This is both normal and expected.
v4
Project "SMOOTH UI" is now complete!
You should notice better performance in every way. If not, you're doing something wrong!
Fixed poor performance on Samsung ROMs - they did not like the OOM settings in v3.9 .
Any trouble reports that do not include a logcat will be ignored.
v3.9
New boot logo by Teknodad1974
Corrected the context on the Stweaks->Screen tab
Removed BLN "blink" and "fade" options as they do not work on our phones
Added a new "AJK Tweaked" OOM profile (Stweaks->Memory tab)
Most people will see a nice improvement from the new OOM profile
Slide2wake fix should be functional now
Ad-Block is expanded & updated. This is a complete ad blocking solution now
Ad-Block can be added/removes d in Stweaks->Other
Ad-Block can be updated automatically via setting in Stweaks->Other
v3.8
AKA: THE ONE
Nightmare has been tuned and should be much more stable now
Added ZZMOOVE governor by ZaneZam (a great battery or sleep governor)
New topiratiko tuned profile
MAJOR smoothness improvements made by Project "SMOOTH UI"
Re-added Touchscreen Sensitivity setting in Stweaks
Added touchscreen revision detect button in Stweaks -> Screen
Added additional touchscreen settings for different touchscreen type
Many thanks to the testing team for working hard and relaying good
information for me to build upon. :highfive:
Special thanks to topiratiko for providing invaluable information
and letting me bug him into the wee hours of the mornings
testing new kernels. :good:
v3.2
WiFi toggle bug is a thing of the past (has been for weeks now on AJK actually...)
Slide2Wake is now disabled while you are on a call.
New Mali V2 drivers - best graphics performance on the i777.
S4 code implemented for WiFi.
I will have to populate this later as it somehow got removed while
my thread was locked for maintenance.
Some suggested reading:
A Comprehensive (but not by any means definitive) Guide to Wakelocks
Please remember that this kernel was created for my friends & family to use, and I also share it here.
You are not obligated to use it. If you do decide to use this kernel, that does not give you the right to be disrespectful.
Please report any bugs that you find, and be sure to include a last_kmsg and/or logcat...it is impossible to troubleshoot without it.
Reporting something 1 time is sufficient. If someone else has already reported it, you do not need to re-report the same bug.
Remember the 2 primary rules here on XDA are:
1) Be respectful.
2) Use the search functions - both the XDA search and Google.
If you are experiencing issues that no one else is having, then it is not the kernel at fault....
Special thanks to:
Entropy512 (CyanogenMod, kernels, much more for the community)
Gokhanmoral (Siyah Kernel)
Dorimanx (Dorimanx Kernel)
@razen_kain for all the feedback & support (to everyone here)
@mr-cook for all he does for the SGSII community
@topiratiko for his tireless testing, great feedback & support and the topiratiko profile
@4-2ndtwin for his tireless testing, great feedback & support
@samprocat for his tireless testing, great feedback and tremendous support.
And a special thanks to all the donators. Your donations are greatly appreciated!
​
ROM Devs:
I request that anyone who includes this kernel in a firmware release does the following out of courtesy:
1) Link to this thread
2) Clearly indicate in your firmware changelog which AJK version is included in your firmware release. This lets users identify whether a fix is present in the kernel they're using or not.
Kernel source new repo available here.
Use the "master" branch.
Compiled using the supplied linaro 12.x toolchain.
Touchscreen Tuning process
1. Open ExTweaks
2. Select Screen tab
3. Go to "Batt Move Filter", increase it BY ONE and apply
4. Test it, if it still stutter, increase ONE STEP ONLY and apply
5. Repeat step 4 till the stutter/jitter is gone. Don't set it too high as it'll result the touchscreen capability lost
6. If "Batt Move Filter" is OK without any jitter again, connect your charger and go to "Chrg Move Filter"
7. Repeat step 4 till you satisfied and again: DON'T SET IT TOO HIGH, ONLY INCREASE TILL THE JITTER/STUTTER IS GONE
Do this at your own risk!
If you lost the touch capability caused by too high value then you will need to reset ExTweaks profile in recovery.
I can say its different for each device as the test shown:
-My S2: Batt Filter 16 & Chrg Filter 50, stutter/jitter gone completely, below that value the screen is stuttering/jittering.
-My son's S2: Batt Filter 13 & Chrg Filter 46, stutter/jitter gone completely, below that value the screen is stuttering/jittering.
-My daughter's S2: Batt Filter 14 & Chrg Filter 48, stutter/jitter gone completely, below that value the screen is stuttering/jittering.
A few battery saving tips:
Assuming that you are getting a decent deep sleep % and have no wakelocks, the single biggest way to improve battery life is to reduce the screen brightness.
Go into Stweaks and navigate to the Screen tab, then scroll down til you find GAMMA SHIFT and set this to -10 to -20 .. the darker the screen the better the battery life can be. As a general rule, keep the screen as dark as you can while still having it visible and functional.
Some other battery saving tips would include:
Set Stweaks->CPU->MAX NORMAL FREQUENCY to 800MHz. This works fine on my phone, but some people may need to bump this to 1000MHz for some apps.
Do not use Slide2Wake as this does increase battery consumption by 10% to 20% depending on which touchscreen your device has.
Make sure that you are using ZZMOOVE as your CPU-TUNING (SLEEP) governor as it gets the best deep sleep %.
Use Greenify to Greenify all your apps. This usually makes a noticeable difference.
Re: [KERNEL] Siyah-i777 v7.0 [JB] [4.2.1]
Yessssssssss I love you aj!!! Slight type on the features where it says it supports jb Mali on the second Mali it says mail
Sent from my GS4 running CM11 Kandy Kane
Re: [KERNEL] Siyah-i777 v7.0 [JB] [4.2.1]
Thanks aj gonna use it on jellybam 5.1.0
hi!
last time i did this "Reboot recovery and go into kernel specific options and Reset Stweaks profiles"
the phone sim-locked!?!
this will happen again??
Solaris_XD said:
hi!
last time i did this "Reboot recovery and go into kernel specific options and Reset Stweaks profiles"
the phone sim-locked!?!
this will happen again??
Click to expand...
Click to collapse
I am unsure of how a sim-lick can occur due to this.
To be on the safe side, try using the kernel without resetting the profiles. It *might* not cause any issues for you.
Just installed on Shostock3. So far everything works (including BLN!) except screen shot. Home+Power does not take a screen shot.
Will monitor for battery life...
jhermit said:
Just installed on Shostock3. So far everything works (including BLN!) except screen shot. Home+Power does not take a screen shot.
Will monitor for battery life...
Click to expand...
Click to collapse
Battery life has been great for the folks who have been testing this kernel for the past 4 to 6 weeks.
Remember that you may need to tweak some settings in Stweaks to get it working in a way that is good for you & your phone.
As for screenshots, try using power + vol down .
Re: [KERNEL] Siyah-i777 v7.0 [JB] [4.2.1]
Thanks man! Will install right away
Sent from my i777 using xda premium
Re: [KERNEL] Siyah-i777 v7.0 [JB] [4.2.1]
Just flashed with Slimbean RC1, so far so good.
Sent from my SGH-I777 using Tapatalk 2
AJ Newkirk said:
I am unsure of how a sim-lick can occur due to this.
To be on the safe side, try using the kernel without resetting the profiles. It *might* not cause any issues for you.
Click to expand...
Click to collapse
I ask myself the same question!!!
Re: [KERNEL] Siyah-i777 v7.0 [JB] [4.2.1]
jhermit said:
Just installed on Shostock3. So far everything works (including BLN!) except screen shot. Home+Power does not take a screen shot.
Will monitor for battery life...
Click to expand...
Click to collapse
Why not just use the screenshot option in the power menu.
Sent from my SGH-I777 using Tapatalk 2
bswann said:
Why not just use the screenshot option in the power menu.
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
Or that :laugh:
Thanks! Will try this out.
Re: [KERNEL] Siyah-i777 v7.0 [JB] [4.2.1]
122ninjas said:
Yessssssssss I love you aj!!! Slight type on the features where it says it supports jb Mali on the second Mali it says mail
Sent from my GS4 running CM11 Kandy Kane
Click to expand...
Click to collapse
Slight typo in the word typo...
bswann said:
Why not just use the screenshot option in the power menu.
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
Because there is no screenshot option in the power menu...
Volume-+Power does not work.
AJ, YOU ARE THE MAN! I wanted to try JellyBam, but didn't want to give up Siyah. I was going to get set up to compile it for myself this morning....and just happened to notice that you had done it.....with STYLE too. Props!
jhermit said:
Because there is no screenshot option in the power menu...
Volume-+Power does not work.
Click to expand...
Click to collapse
It works fine here. Not sure why power + vol down wouldn't work for you.
great news!!!! now my i777 + hellybean will be perfect.!!!.
thanks!!!

(DISCONTINUED)[KERNEL][JB] JellyKernel for Optimus L7 II (Single SIM)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----JellyKernel-----​
This is an all-in-one kernel for Jelly Bean.
Keep in mind, that this kernel is made for balanced battery life. And be advised, that phone could end up in a bootloop. Be awared of that.​
DOWNLOAD SECTION IS BELOW!!!​
OTG:​
HTML:
Some notes:
-Stock ramdisk doesn't have appropriate lines for mounting /sys/kernel/debug, which is needed for manipulating OTG implementation on our device.
-You need to enable OTG support in the system itself. There are apps for fixing that, look up in the Play Store.
-It's still could be kind of jerky to get it to work. Feel free to ask about OTG.
Instructions for OTG support:
1. Open up your terminal and first type:
mount -t debugfs nodev /sys/kernel/debug
2. Now it's tricky:
For peripheral mode (it's default mode used when charging and etc):
Type in the terminal:
echo peripheral > /d/otg/mode
For host mode (for connecting USB devices):
echo host > /d/otg/mode
That's the current implementation atm. I'll try to do something easier later.
Features, which should be implemented later:​-Gamma control (will implement that later)
-CPU VDD sysfs interface (useless)
-Higher CPU overclock (not possible yet)
Installation:
Flash this zip through CWM and you're good to go.
Please leave me THANKS if you can.
I want to say thanks to:
CrashBandicootX (for amazing kernel banner)
neutrondev (for giving me some opinions)
dazzozo (for fixing OTG)
skyinfo (for awesome commits)​
DOWNLOADS:
BE AWARE, THAT DATA COULD GET CORRUPTED!!! ALWAYS MAKE NANDROID BACKUP BEFORE FLASHING MY NEWEST KERNEL BUILDS! I WON'T BE RESPONSIBLE FOR THE DAMAGE YOUR DATA GOT!!!! IT'S HIGHLY RECOMMENDED TO MAKE FULL DATA WIPE AND REFLASH SYSTEM, BECAUSE KERNEL IS ABSOLUTELY DIFFERENT FROM NOW ON!!!
Build 20150517-015 (STABLE)
HTML:
Fixed camera
Some more cpufreq driver updates
Build 20150516-012 (TESTING)
HTML:
Updated fat filesystem drivers, fixed some bugs
CPU usage dropped at idle
Heavy SLUB optimizations and fixes
Build 20150516-006
HTML:
Fixed some bugs regarding CPU access
Much better hotplug functionality (now you can leave mpdecision enabled)
CPU scaling optimizations
ext4 fix (one weird thing: after installing this kernel, startup wizard will appear - turn off wifi and go through all the procedure, otherwise you will be stuck at google login)
Fixes from LG G2 kernel
Build 20150515-001
HTML:
Tons of improvements
KGSL fixes, stability fixes, working scaling governor
Dynamic FSYNC
Made scaling drivers to work more efficiently
Lessened up chances of QDSP5 to crash in low memory situations, improved decoding
Stabilized wakeup/sleep switching
Several quirks for better interconnect between MDP and GPU
TONS of camera fixes, now it should work marginally better, provide better framerate when recording
Improved ZRAM efficiency
Introduced optimized percpu variable access, which improves performance a little bit
added optimized AES and SHA1 routines
Optimized Adreno drivers, reverted back to stock ones
AND TONS MORE OF STUFF!!!!
DOWNLOAD LINK:
https://www.mediafire.com/folder/78e7p85s3fc9p/KERNELS​
Link for the source code:
GITHUB:
https://github.com/airidosas252/android_jellykernel_vee7
thanks for you work,i will definitely try this one.
This is definetly awesome news, I'd like to give a link from my rom to this kernel-can't implement it now, but I'd like to make new versions with your kernel, credits given. Great job, thank you!
Good thing I haven't posted this kernel yesterday. You would have gotten into a real mess: networking would stop working after some use of it.
It was a problem related to compilation. I've fixed it now and testing.
I will upload it to you a little bit later today. Sorry for waiting.
Sent from my LG-P710 using XDA Free mobile app
Please add swap support in next version of this kernel
Doing nandroid backup then im gonna test it,thanks. :good:
Ilyazzzz said:
Please add swap support in next version of this kernel
Click to expand...
Click to collapse
It is there.
i tested the kernel a couple of hours,maybe i made something wrong cause the phone was heating and everytime i exit an app i had redraws on the home screen,some apps just close after using them,without the warning of a FC,like testing the kernel with antutu qhen it reaches 80% the app just closes. And it made the phone slower.
When i made the backup restore i lost a few apps none of them are important,i can download them again.
I used no frills cpu with smartassH3 and vr,with the kernel in max OC and min UC values,and i did not touch the gpu frequency,because i dont know hot to do that.
So basically im not saying the kernel its bad,is that maybe i neded to use another app in order to have better perfomance
So,yes i need help or just point me into the right direction so i can search about it.
I've been using modified kernels,since xperia x10,but this its the first time i have these problems.
And thanks again for your work and effort.
As I mentioned in the thread, avoid using 500 MHz GPU clock. This is the most obvious thing, that makes phone unstable. Set it off using Trickster MOD.
Don't know, why mine is rock stable for like 3 days now (there is something wrong with deep sleep, though. I think different toolchain is responsible for such issue).
I even broke into 10000 (10420 points) mark in Antutu, so yeah... Definitely something's wrong on your phone.
With stock kernel my phone was very laggy, always redrawing no matter which launcher, stutter in almost every game (now even Hungry Shark doesn't lag anymore).
Sent from my LG-P710 using XDA Free mobile app
airidosas252 said:
As I mentioned in the thread, avoid using 500 MHz GPU clock. This is the most obvious thing, that makes phone unstable. Set it off using Trickster MOD.
Don't know, why mine is rock stable for like 3 days now (there is something wrong with deep sleep, though. I think different toolchain is responsible for such issue).
I even broke into 10000 (10420 points) mark in Antutu, so yeah... Definitely something's wrong on your phone.
With stock kernel my phone was very laggy, always redrawing no matter which launcher, stutter in almost every game (now even Hungry Shark doesn't lag anymore).
Sent from my LG-P710 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the response,but mate,as i mentioned ,i never touched the GPU frequencies.because i was using only no frills cpu in order to use the max oc and the min oc for the cpu.
I will check that app (trickster mod) asap, right now im at the work,also,if you can ,can you tell me your settings please?
And thanks again.
kalel29 said:
Thanks for the response,but mate,as i mentioned ,i never touched the GPU frequencies.because i was using only no frills cpu in order to use the max oc and the min oc for the cpu.
I will check that app (trickster mod) asap, right now im at the work,also,if you can ,can you tell me your settings please?
And thanks again.
Click to expand...
Click to collapse
Regarding GPU frequencies, it's the same deal as the CPU frequencies, although changing it could either improve performance or make it worse more drastically.
There's nothing so special about my settings: Using 1024 Kb of sd cache, sio i/o governor, smartassv2 cpu governor, leaving both cores online all the time (deleted mpdecision binary from /system/bin folder, because it's too poor for keeping optimal on and off switching of second CPU core). From OS side I've deleted every possible LG app (left nearly at AOSP level), disabled logcat (because I don't need such right now), using Class 10 microSD card, because it won't bottleneck the phone too much. So that's about it.
airidosas252 said:
Regarding GPU frequencies, it's the same deal as the CPU frequencies, although changing it could either improve performance or make it worse more drastically.
There's nothing so special about my settings: Using 1024 Kb of sd cache, sio i/o governor, smartassv2 cpu governor, leaving both cores online all the time (deleted mpdecision binary from /system/bin folder, because it's too poor for keeping optimal on and off switching of second CPU core). From OS side I've deleted every possible LG app (left nearly at AOSP level), disabled logcat (because I don't need such right now), using Class 10 microSD card, because it won't bottleneck the phone too much. So that's about it.
Click to expand...
Click to collapse
ok then,thanks i will try the same settings,also i have a 16gb,class 10 microsd card,and deleted all the lg apps that i dont use. :V
thanks for the reply.
Any possibility of USB OTG being implemented anytime soon?
CrashBandicootX said:
Any possibility of USB OTG being implemented anytime soon?
Click to expand...
Click to collapse
I don't know. It's in the same position as it was in Kitkat - drivers are included but it just doesn't work.
I'll try talking to other developers.
RAM
Hello! :cyclops:
Is there any form to optimize the RAM usage? Any application or something? Greenify works?
Im using v2,everything runs better,and its feels smoother,the only thing that i noticed is that i lost data in some apps,had to disable superSU,and Xposed,and open all the apps that requiere root,in order to regain access to the apps that use superSU again,and finally when im using antutu in order to see how is the perfomance it just closes when its about to finish the benchmark,always,besides that minor thing,the kernel its solid,im using no frills cpu with max freq in 1037mhz,min in 245 mhz, sioplus and smartassh3,(im not touching GPU freq),but every time i restart the phone,the values doesnt stay,y have to manually change the governor and scheduler.
Sorry dude,thanks for your effort but i think my phone doesnt like your kernel,i used trickstermod,no frills,set cpu,and the antutu one,and everytime y reboot the phone the kernel has the default settings again,min freq in 245,max freq in 1,036,and it returns also to ondemand and sio.
:/
I made a backup of my kernel,what partition do i need to restore in order to have the old kernel back?????
and again,thanks.
P.S. a friend is using same kernel in his phone,he is using stock firmware,odexed and im using a custom rom,deodexed. And its the same result in both phones.
@kalel29
To restore old kernel in CWN go to advanced restore and choose boot
sasa g said:
@kalel29
To restore old kernel in CWN go to advanced restore and choose boot
Click to expand...
Click to collapse
Yeah, now I'm encountered certain problems and I was testing backported Kitkat kernel for some time now.
That one is miles better than Jellybean's one (it is too buggy, because simply compiling breaks certain things)
Kitkat kernel, at least, puts phone to sleep state properly (now my phone stays cold throughout whole day, if I don't use it at all, while with Jelly Bean's one, it was always warm, sometimes even hot)
And yeah, sorry, who feels, that posted kernel causes some problems. It is addressed now and fixed.
I'm not an expert in C code, so some specific programming issues are unsolvable for me.
And the feedback is always welcome for me.

Categories

Resources