[Kernel] Archos Gen8 Kernel (2.3.20 firmware OK) (max 1.2G) (Updated: 15-APR-2011) - Gen8 Android Development

First, thanks $aur0n for the nice work and I can now also boot from SD card and enjoy the rooted system in EXT4
For those interested in overclock, you can try this kernel (I have tested it in Archos 70IT, but it should work in A101/A43IT as well):
** See below for instructions on how to apply this overclock kernel with the newest firmware
2011-04-15 (Latest version)
=========================
- Re-compile the whole kernel from archos latest kernel source code
- Suggested to use with newest chulri's initramfs
- Overclock to 1200Mhz
For firmware 2.3.20:
Download here: http://www.mediafire.com/?pnbev44hk2m1346
Click to expand...
Click to collapse
File name: zImage_archos_2.3.20_recode09.zip (MD5: 7756BA280F3FEBAD23A528A10EB1D6B5)
==================================================
Get rooted with newest firmware 2.X.X + overclock!
Click to expand...
Click to collapse
** Special thanks to chulri for the updated initramfs **
0) Install SDE first
1) Download chulri's initramfs from here: http://code.google.com/p/archos-gen8-sde-rooting/downloads/list
(Download the appropriate version that matches with your firmware version)
2) Grap the newest overclock kernel: http://www.mediafire.com/?pnbev44hk2m1346
3) Reboot your Archos holding "Volume -"
4) Recovery System -> Developer Edition Menu -> Flash Kernel and Initramfs
5) Connect USB and copy initramfs from (e.g. avos_2.X.XX_temproot.zip) and copy zImage from (e.g. zImage_archos_recode04A.zip) to Archos machine
6) Reboot by holding "Volume -"
7) Choose the 2nd menu item (Developer Edition)
8) Here, you get rooted in the newest firmware + overclock kernel
9) Enjoy ^_^
==================================================
Previous Versions
==================================================
2011-02-11
===================
- Further complier optimization
- Better performance on Archos 101
- Max frequency back to 1200Mhz because some users report not stable at 1280Mhz
- Revert interactive CPU governor (seems not stable)
- Suggested to use with chulri's initramfs
1200Mhz version:
Download here: http://www.mediafire.com/?eo3cmqg64md7qdb
Mirror: http://www.zshare.net/download/8731000468bf80d9/
Click to expand...
Click to collapse
File name: zImage_archos_recode04A.zip (MD5: 950D533F09131FCFCBD2BE4084C44691)
File name: zImage_archos_2.1.04_recode01.zip (MD5: ADF0C6FCCA503932D1C3860B3BAF61B3)
2011-02-01
===================
- Rebase from the original kernel source
- Complier optimization
- Add interactive CPU governor
- Bluetooth fix (please test, should still have problems)
- For those enjoying online flash movie, e.g. myTV.tvb.com, please set the freq to min:1000/max:1000 (Best with flash player v10.1.105.6 or upper)
- Set freq to min:1100/max:1100 for best 3D gaming experience
- Suggested to use with chulri's initramfs
1280Mhz version:
Download here: http://www.mediafire.com/?wu37fj90g69o61e
Mirror: http://www.zshare.net/download/860178577cd732f3/
Click to expand...
Click to collapse
File name: zImage_archos_2.1.04_recode01.zip (MD5: ADF0C6FCCA503932D1C3860B3BAF61B3)
2011-01-17
==================
- Not guarantee to work with $aur0n's 0.4.1 initramfs. Please use 0.2/0.3 initramfs (boot from SD) if you get problems
- More stable & smooth
- Overclock to 1280Mhz (Stable in playing NFS shift for a few hours - I am in world track now...)
- Remove 250Mhz and add 600Mhz (as 600Mhz is needed for SetCPU to display correctly)
- Fix the SetCPU 'time in state' problem
- Revert the bluetooth driver
- Cherry-pick more commits (refer to my github)
- Special thanks to $aur0n's initramfs
1280Mhz version:
Download here: http://www.mediafire.com/?1qweknppsoyb6rx
Mirror: http://www.zshare.net/download/8536472801a3552a/
1200Mhz version:
Download here: http://www.mediafire.com/?36wjsvkh6615dxg
Click to expand...
Click to collapse
Alternative link to $aur0n's initramfs (boot from SD): http://www.mediafire.com/?t41kvaonad7c83d
File name: zImage_archos_1280_fix01.zip (MD5: 5DAC535DA0EFFB1422BC887EF19564F8)
File name: zImage_archos_1200_ext4_fix07.zip (MD5: 1F022CCCD127A051154E98C5AC56CD2F)
2011-01-12
================
- More stable & smooth
- Apply 2.6.29.6 patchset - kernel
- Apply 2.6.29.6 patchset - ipv4
- ramzswap support (refer: http://code.google.com/p/compcache/)
- Cherry-pick more commits (refer to my github)
Download here: http://www.mediafire.com/?dih30gjy0lvljpk
Mirror: http://www.zshare.net/download/85094141432e0aae/
File name: zImage_archos_1200_ext4_fix05.zip (MD5: ECA8381E8371D1FE89FE2253D3482E9E)
2011-01-06
======================
- EXT4 fix (Quadrant score ~ 2500)
- Stable at max frequency 1200Mhz and min frequency 250Mhz (thanks Tzbob)
- Selectable frequency using SetCPU: 250/300/1000/1152/1200 Mhz
- 2.6.31 scheduling tweaks
- Source code pushed to github.com for easy sharing and conforming to GNU public license
- Merge various commits ( details can be seen in my github: https://github.com/ardatdat/archos-kernel/ )
- Quadrant scoring 2808 using 1200Mhz and boot from SD (Sandisk 8G Class 4)
Download here: http://www.mediafire.com/?7o7wnyipxwffx3w
Mirror: http://www.zshare.net/download/8483628818cf11b2/
File name: zImage_archos_1200_ext4_fix04.zip (MD5: 2CEF2D7F526DCD81B9C75EE2DAEBFF6F)
2011-01-03
================
- Updated a new kernel that supports $aur0n script (EXT4 support)
- Down-clock to 1100 Mhz because 1200 Mhz seems too hot and not too stable
- Merge some patches from kernel 2.6.29.6
Download here: http://www.mediafire.com/?ut6deu41216wdyd
Mirror (zip): http://www.mediafire.com/?83rd6te7a8ndmts (MD5: 7C8F9D48D74F45251B358FB3E2454485)
2011-01-02
============
- Initial version (not EXT4 support)
- Over-clock to 1200Mhz
http://www.mediafire.com/?bw8iq34tkvkllxe (MD5: 83D2A38A84C97C9336325EDD48C8D1B3)
Beware! After overclock, you will feel a bit hotter than before and battery drains much faster!! Flash it at your own risk.
What you need to do is:
1) Install SDE
2) Get the initramfs from this post (download the kernel+init.zip and extract it): http://forum.xda-developers.com/showpost.php?p=9948644&postcount=1
3) Replace the zImage with the new overclocked kernel
4) Boot into SDE recovery menu and copy the initramfs.cpio.gz and zImage through USB cable
5) Boot into SDE developer OS
6) You should get all your apps here and have superuser right now
You will now have read/write access to /system/ or /data/ ...etc.
Next step: You can download GScript from the market (free) to make some custom scripts to remove unnecessary apps and replace the hosts file, etc.
=================================================
Give us a "Thank" if you think this kernel works great for you
* Feel free to buy me a beer by clicking at the 'donate' button
=================================================

Oh thanks man! I'll impliment this into my own version of Auron's, yeah there was some confusion about your method, thanks for clearing that up!
Nevermind XD I don't know enough to add that, but Auron heavily uses EXT4 which he compiled into his kernel, which is probably why it isn't working for you, he explains in his topic the things he did or did not do.

Tzbob said:
Oh thanks man! I'll impliment this into my own version of Auron's, yeah there was some confusion about your method, thanks for clearing that up!
Nevermind XD I don't know enough to add that, but Auron heavily uses EXT4 which he compiled into his kernel, which is probably why it isn't working for you, he explains in his topic the things he did or did not do.
Click to expand...
Click to collapse
Thanks. BTW, it would be good if Auron will release his source such that we know what exactly is changed apart from the EXT4 things.

New kernel updated!!!
Get it at the #1 post
Now, it is EXT4 support and can be used together with $aur0n initramfs !!!
Down-clock to 1100Mhz seems to make it more stable

Thanks man really appreciate your quick work! works perfectly with Auron's
Although I'm curious how that overclock works, I've read up on it and it seems that everyone else is making overclocking modules etc. your solution seems a lot more efficient. Do other people know about it too?
I first though it was just a soft change, something that didn't affect the hardware, but something that just forced the digit 1100 instead of 1000, this doesn't appear to be the case since I get some speed gains in Quadrant
~ benched a 2438 ^^
edit: is it possible for you to change the LOWEST value as well? i'm not sure how it would react but I imagine a 100Mhz/200Mhz feature would save up some standby-battery-usage also is it possible to change the intervals with this method? so that we can get 300/400/500/600/700..1100?
edit2: would it be theoretically possible to compile a kernel with driver support for gamepads and others? perhaps ntfs-3g to mount ntfs external drivers... thinking about this we have usb host on this device and an open bootloader

Tzbob said:
Thanks man really appreciate your quick work! works perfectly with Auron's
Although I'm curious how that overclock works, I've read up on it and it seems that everyone else is making overclocking modules etc. your solution seems a lot more efficient. Do other people know about it too?
I first though it was just a soft change, something that didn't affect the hardware, but something that just forced the digit 1100 instead of 1000, this doesn't appear to be the case since I get some speed gains in Quadrant
~ benched a 2438 ^^
edit: is it possible for you to change the LOWEST value as well? i'm not sure how it would react but I imagine a 100Mhz/200Mhz feature would save up some standby-battery-usage also is it possible to change the intervals with this method? so that we can get 300/400/500/600/700..1100?
edit2: would it be theoretically possible to compile a kernel with driver support for gamepads and others? perhaps ntfs-3g to mount ntfs external drivers... thinking about this we have usb host on this device and an open bootloader
Click to expand...
Click to collapse
The most difficult part is to determine how much voltage to be given to each frequency. So, it would take some efforts to study.
In addition, setting too low frequency is not necessary be good because the machine might go into deep sleep and never wake up.

Have you run any Super PI tests (or something similar) to see if there are stability issues with the increased clock rates?
Typically when I over-clock my CPU on my PC I increase the voltages at the micro or mini level (CPU, Front Side Bus, Memory, Memory Controller, etc.). As an example 1.3500 may not be stable but 1.3501 could be. Typically You can find the voltage tolerances typically at CPU manufacturer website (ie Intel for me). of course you also have to deal with the temperature of the CPU and other supporting components that regulate the voltage. I will run a Super PI type application to test stability for a few hours. If it works then dont add voltage.. if it comes back with a miscalculation OR an application/OS crash then increase the voltage by a micro amount...
You are correct when you saw it not performing at a higher clock rate... typically what happens if the CPU does not have enough voltage to perform at the expected clock rate it seems to throttle the execution rate to ensure some level of integrity of the executing transaction..
Unfortunately over-clocking is not a science..
ardatdat said:
The most difficult part is to determine how much voltage to be given to each frequency. So, it would take some efforts to study.
In addition, setting too low frequency is not necessary be good because the machine might go into deep sleep and never wake up.
Click to expand...
Click to collapse

its using the same cpu as a lot of android phones are and i daresay that most of the work (working out optimal cpu voltage etc) has already been done

The question is for non-standard clock rates. Standard clock rates should have well defined voltages.
thefunkygibbon said:
its using the same cpu as a lot of android phones are and i daresay that most of the work (working out optimal cpu voltage etc) has already been done
Click to expand...
Click to collapse

can this kernel work on a101 or not?

Yes it will work, I'm 90% sure since they tested it on the 70IT and it's working perfect on my 43IT.

Tzbob said:
Yes it will work, I'm 90% sure since they tested it on the 70IT and it's working perfect on my 43IT.
Click to expand...
Click to collapse
ok i will give it a try....

I have tried this 1100 Mhz kernel and angry birds don't want to start and asphalt 5 have to force closing, I have returned with the only rooted rom....

merlin_1492 said:
I have tried this 1100 Mhz kernel and angry birds don't want to start and asphalt 5 have to force closing, I have returned with the only rooted rom....
Click to expand...
Click to collapse
While this kernel has been OC, it only allows you to choose higher frequencies. BUT, you can still choose 1000 Mhz as the highest by setting it in SetCPU.
After setting min/max as 1000Mhaz in SetCPU, this kernel is just like any other kernels, except that I have applied some of the newest kernel patches (fix bugs?) so that this kernel MUST be better than the stock one.
Hope you enjoy using it

no no, the problem is that after installing oc kernel(without touching anything about frequency), angry birds doesn't run and asphalt 5 doesn't run well and it closes when init a race...So, what's the problem? I have returned to original kernel(with rooting), and now are perfectly running(angry birds and asphalt5)...

merlin_1492 said:
no no, the problem is that after installing oc kernel(without touching anything about frequency), angry birds doesn't run and asphalt 5 doesn't run well and it closes when init a race...So, what's the problem? I have returned to original kernel(with rooting), and now are perfectly running(angry birds and asphalt5)...
Click to expand...
Click to collapse
It is quit strange, coz I can run angry birds, dungeon hunter, etc.. very smoothly even when I use 1100 Mhz, have you tried to install SetCPU and set the frequency?
Any one have similar problems?

Working great on my A101! It's subtle, but I do notice a slight performance increase in pocket legends. Keep up the great work ardatdat!

ok so i did it and now the youtube app freezes up with 1100 or 1200 mhz...the video plays for like 3 or 4 sec and than freeze leaving only audio playback.. video plays normal at 1000 mhz and down...

thanks for your sharing
but I can't unzipped the newest kernel
the 7-zip showed "file broken"

uglin said:
thanks for your sharing
but I can't unzipped the newest kernel
the 7-zip showed "file broken"
Click to expand...
Click to collapse
Thanks. A mirror (zip) link is posted in post #1, please check and re-download

Related

[Module] X10Undervolt | v003 | Undervolting for X10 [04/05/11]

Introduction:
This module implements undervolting for the stock SE kernel of X10 based on the latest baseband/kernel.
From Wiki: Undervolting is the term used when the voltage of a component, usually the processor, is lowered in order to increase stability and/or reduce temperature.
Undervolting can also result in better battery performance, which is actually the reason to use this module.
Notes:
This module is based on doixanh's ingenious hijacking of kernel calls which has proven precious for X8/X10mini owners by helping us enhance our devices (e.g. undervolting, overclocking, dual touch), see: X8uv.
My friend, My_Immortal, is supporting with testing/debugging this module.
She asked me to work on that and without her help and patience it wouldn't have been possible. Thank you very much My_Immortal
Sources: https://github.com/nobodyAtall/XperiaFeatures
Yes, we do have custom kernels for X10 - this has nothing to do with those and it won't work on those.
If one of the posted version works for you, keep it, no need to try the others! Basically try them in this order: v.001 -> v.002 -> v.003
In case you want to uninstall this mod, go to xrecovery -> partition tools -> mount /system -> flash the attached uninstall_uv.zip and you are back to normal!
Requirements:
- Rooted
- xRecovery preinstalled
- Baseband > 52. (If you are using an incompatible BB, you will get battery drainage issues. You can see this via 'lsmod' from adb shell with the module reported as 'loading')
Installation:
Automatic:
- Flash the attached zip via xrecovery. (Note that you need to have a ROM with a /system/etc/hw_config.sh script, I think every stock/custom ROM has this)
- Enjoy better battery life
Manual (via root explorer):
My_Immortal said:
From the zip take the x10uv.ko and copy it on /system/lib/modules.
Then, go to /system/etc/hw_config.sh, long-press on it, and select Open in text editor.
Add the following line:
insmod /system/lib/modules/x10uv.ko
Save & Exit
Delete the .bak file that Root Explorer created.
Exit, reboot the phone
Click to expand...
Click to collapse
Checking if the module is loaded:
run lsmod from adb shell or terminal emulator and check for x10uv.ko
Disclaimer:
I can't be held responsible if this mod bricks your device or makes it explode in your hands! Use it at your own risk!
​
v.003
Voltage assignments per Frequency (cooked/tested for stability):
Freq Vbefore Vafter
245760 1000 -> 950
384000 1000 -> 950
576000 1050 -> 1000
768000 1150 -> 1100
998400 1300 -> 1300
v.002
Voltage assignments per Frequency (cooked/tested for battery savings):
Freq Vbefore Vafter
245760 1000 -> 900
384000 1000 -> 900
576000 1050 -> 950
768000 1150 -> 1050
998400 1300 -> 1300
v.001
Voltage assignments per Frequency (cooked/tested for battery savings):
Freq Vbefore Vafter
245760 1000 -> 900
384000 1000 -> 900
576000 1050 -> 950
768000 1150 -> 1050
998400 1300 -> 1200
Sorry, but what exactly do you mean by "latest baseband"? Version .58?
Undervolt for Stock? I thought Bootloader crack/bypass is required for Undervolt?
@OP: Could you elaborate how it works? Thanks!
@ Devs: This could be an addition for every rom out there?
Think ill backup and give this a test!
@[email protected]:
Do you plan to port X8Overclock for X10? It may prove useful until custom kernels will become stable.
Im on baseband 52. Can i use it?
Sent from my X10i using XDA App
great to see devs from other Xperia devices helping out here...
Nice work.
sephirothusi said:
Sorry, but what exactly do you mean by "latest baseband"? Version .58?
Click to expand...
Click to collapse
I'm not quite sure which basebands are compatible, sorry
I built this module using the 2.1.A.0.435 kernel sources by SE.
So then it will probably work on BB 54,55 and 58 so the latest should work all.
nobodyAtall said:
I'm not quite sure which basebands are compatible, sorry
I built this module using the 2.1.A.0.435 kernel sources by SE.
Click to expand...
Click to collapse
OK, that's good enough. Any sources/git repo available?
This is for undervolting the stock kernel, yes. We are hacking our way for this to work
Basically we reduce the voltage levels for each available frequency. I'll post the moded voltage levels vs original ones shortly.
I know for sure that it works on Trip's CM6 rom (which My_Immortal uses). To be honest, I don't have an X10 device
Neo said:
Undervolt for Stock? I thought Bootloader crack/bypass is required for Undervolt?
@OP: Could you elaborate how it works? Thanks!
@ Devs: This could be an addition for every rom out there?
Click to expand...
Click to collapse
nobodyAtall said:
I'm not quite sure which basebands are compatible, sorry
I built this module using the 2.1.A.0.435 kernel sources by SE.
Click to expand...
Click to collapse
this should work on basebands 2.1.5x...
@OP
i humbly request u to port netfilter module for x10!!!
nobodyAtall said:
This is for undervolting the stock kernel, yes. We are hacking our way for this to work
Basically we reduce the voltage levels for each available frequency. I'll post the moded voltage levels vs original ones shortly.
I know for sure that it works on Trip's CM6 rom (which My_Immortal uses). To be honest, I don't have an X10 device
Click to expand...
Click to collapse
then it will work on most Froyo ROMs...
there a lot of ppl willing to test... u can happily release test modules...
@My_Immortal
THANK YOU!!!
This module will work on any _STOCK_ 2.1 / kernel baseband
Cheers,
z
sephirothusi said:
@[email protected]:
Do you plan to port X8Overclock for X10? It may prove useful until custom kernels will become stable.
Click to expand...
Click to collapse
I will look into overclocking too in the next days if it's useful for you guys.
We, the mini users, do have overclocking (600Mhz -> 768Mhz working without a glitch), and fake dual touch thanks to this hack
nobodyAtall said:
I will look into overclocking too in the next days if it's useful for you guys.
We, the mini users, do have overclocking (600Mhz -> 768Mhz working without a glitch), and fake dual touch thanks to this hack
Click to expand...
Click to collapse
So it seems to be really useful and quite powerful. Well, at least it's more stable than current custom kernels.
Will this work on Wolfbreak's CM6.1.3 (Android 2.2.1)? I don't dare to try yet. Need my phone and don't want to reflash in case something goes wrong.
OR
Does this works only for 2.1?
DooMLoRD said:
this should work on basebands 2.1.5x...
@OP
i humbly request u to port netfilter module for x10!!!
Click to expand...
Click to collapse
I've been working with doixanh on netfilter but we got stuck.
Basically we hijacked all needed calls but we got lots of panics at many occasions (e.g. when x_tables.ko was loaded, unloading the wifi driver would cause a panic).
This belongs to another thread though
nobodyAtall said:
I will look into overclocking too in the next days if it's useful for you guys.
We, the mini users, do have overclocking (600Mhz -> 768Mhz working without a glitch), and fake dual touch thanks to this hack
Click to expand...
Click to collapse
@nobodyAtall
dude u can even tell ppl to jsut add it as a line in /system/bin/chargemon file:
Code:
insmod /system/lib/modules/x10uv.ko
thats how some devs are currently loading custom modules for their roms

[REF]SIYAH KERNEL - non dev issues and questions about kernel

NON DEV ISSUES AND QUESTIONS ABOUT KERNEL POST HERE. THIS IS A WORK IN PROGRESS THREAD
HISTORY
I have been given Permission by the Kernel's Author (Gokhanmoral) to create this thread. Please put your issues or questions you have with the Kernel in this thread. Also functional request should also be made here. The aim of this thread is to filter out excess questions regarding the use and experience from the development thread. The author of the kernel and many experience users\testers and primary dev contributors need to use the Development thread in order to help Gokhan to implement his kernel. Would also request the community to contribute in terms of info to compile a knowledge base if you will. Many Thanks Gokhan and future contributors.
THANKS:
Samsung, supercurio, hardcore, Hacre, RAvenGEr, tegrak, cattleprod, codeworkx, hellcat, creams, vitalij, arighi, ninpo,netarchy .. Any others that I missed.
SiyahKernel v2.6.12
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
Custom CWM compatible Redpill Recovery from af974 (For more info: http://forum.xda-developers.com/showpost.php?p=21727136&postcount=9680 )
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, BFQV3r1, V(R), SIO(default)
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.
Charging the battery stops when the battery draws less than 100mA (stock value is 200mA).
CIFS, SLUB, FUSE, NTFS, cgroup_timer_slack, autogroup,... and lots of other mambojambo that I forgot...
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.
FAQ (WIP)
General
Q: Does this kernel support latest i9100 ROM which is based on android 2.3.5 -2.3.7?
A: Yes, it does.
Q: Can I use this kernel on I9100G?
A: No, you cannot. Only International i9100 and Canadian (Bell Mobility) models are supported (Chinese or AT&T T-Mobile US are not 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 from 2.0 and above. If you are using another AOSP based Rom tell me and I will support it.
Q. What is the latest version of the Kernel?
2.6.3 is the latest and can be found here:
SiyahKernel Edition v2.6.12 (Please ensure you choose the right one for your phone)
Q. I have an International i9100 can I flash NTT version?
A. Important Notice: the one with "ntt" in the filename is NTT DoCoMo SC-02C version. do not flash it if you have EU version
Q. Where can I get the latest Kernel Source for this Kernel?
A. It can be Found Here: Kernel Source
Q.Are there any Variants based on this Kernel?
A. Yes there is DK SIYAH KERNEL
Q: Can I use app protectors with this kernel?
A: Yes, you can. But you have to flash EnableLogger.zip using CWM after flashing the kernel.
TO ENABLE ANDROID LOGGER USE THIS:
ENABLE LOGGER
TO DISABLE ANDROID LOGGER USE THIS:
DISABLE LOGGER IF IT IS INSTALLED
Battery & Performance Factors
Q: What is battery life like on this kernel?
A: Some have said the battery life has improved. Others said not as good as others, this however maybe down to rogue apps creating wakelocks. Could be the rom is does not take advantage of the kernels features or could be a bad battery. Let's just say your Mileage may vary...
Q. I keep hearing about AOS having a factor on performance, whats all this about?
A. The Android OS using quite a lot of resources. AndreiLux wrote and in depth reference post about this which you can find here: [REF][Rewrite 26/10] What the Android OS usage is and what it's not
Q: What can I do to improve battery life?
A: put your phone into airplane mode or do not use packet data when you are not using it. Check for Rogue Apps and also check for unnecessary wakelocks and close them.
Q: I get random reboots or freezes. What should I do?
A: Make sure you boot in Recovery wipe cache and dalvik, then reflash the kernel. Although the kernel will do this if you apply the CWM.zip of the Kernel. It can still leave data behind.
If you are undervolting revert back to stock values. Then start reducing voltage by.25 and test. If that does not work make a note of:
1. When did it happen?
2. Which rom are you using, can you reproduce it
3. do you have any custom init scripts which changes kernel parameters such as freq voltage or anything else?
Post in this thread and we will try and help you.
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: 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.
OC/UV and init Scripts
Q. What tools can be used to manipulate the clock speeds of this kernel?
SetCpu : http://www.youtube.com/watch?v=X9Sn4Uz4pkM Just an overview
Voltage Control: http://www.youtube.com/watch?v=XkhBFVUKBTQ Just an overview
No-frills cpu: More Info here about the tool
And Initialization Scripts
Tegrak Overclocking app is currently NOT SUPPORTED by this kernel
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. Okay how do I start to create my own Init.d Script for the kernel?
A: KWERDENKER has written a reference guide to help you get started. You can find his excellent Guide on POST #2 of this thread.
example of Kwerdenker scripts are also in Post 2.
DROIDPHILE'S NOOBS SCRIPTING GUIDE:
http://forum.xda-developers.com/showpost.php?p=19519757&postcount=10699
Here are other examples of init.d scripts supplied by Fenomeno83:
Another couple of nice init.d scripts created by fenomeno83
Q: where is the interface to change GPU clock and voltage?
A:There is now a GUI to change GPU voltage and Charging current it's voltage control and probably one by Gokhanmoral soon
For Undervolting your GPU use this Script from AndreiLux as a Reference:
Example CWM-flashable /system/etc/init.d/99gpuv script
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
HERE IS DROIDPHILE CONCISE GUIDE TO GOVERNORS
http://forum.xda-developers.com/showpost.php?p=19339524&postcount=10023
More info might help those you get a better understanding for schedulers:
https://github.com/CyanogenMod/cm-k...m-2.6.37/Documentation/cpu-freq/governors.txt Source: Cyanogenmod Githubs
Info about Lulzactive Governor.
http://tegrak2x.blogspot.com/2011/07/lulzactive-governor.html
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. I notice one of the features is the ability of customizing Voltages for Charging?
A. Gokhan has written a script which he converted to be applied using CWM recovery (PLEASE BE CAREFUL WHEN APPLYING THIS, IF YOU ARE UNSURE PLEASE ASK IN THIS THREAD BEFORE DOING IT)
Set AC and MISC charging current to 1000mA - CWM flashable (keeps USB charging current at 450mA)
Q. I read that different frequencies would assist in better battery performance do you have any examples of this so I can use it my script?
A. Bene2K11 Created some scripts which allows you modify the bus frequencies when using this kernel, they can be found here:
3 flashable zips for the lowest, mid and highest bus frequencies
MISCELLANEOUS
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.
My Thanks for their contribution to this thread to Gokhanmoral, AndreiLux, ChadouMing, Nilste, Matriak31,Ger5,Kwerdenker,Fenomeno83, Bene2k11,Droidphile
__________________
Reproduce with permission from Gokhan by Dragon546
[REF]Init-Script Reference Guide By kwerdenker
MANY THANKS KWERDENKER FOR THIS. REPRODUCED WITH HIS AUTHORIZATION.
Original post from kwerdenker here.
I hope some of you find this useful as a reference for creating your own init-scripts. This contains everything I use or at least remember about the options in this kernel. If I forgot something or made an error somewhere, please send me a PM and I will gladly correct it.
How to use these settings:
If you want to test some settings before you commit them to a script, you can use either the adb shell if your on a pc with adb installed or you can use Terminal Emulator directly on your phone. Remeber to enter superuser mode by entering su in the terminal before you try to set anything or you will get errors. After that just enter the line you want with the values you want to test (if the values are incased in "", keep them that way!). If you want to see if it worked just enter cat followed by the part behind the > of the lines and you will get the values that are currently set. Everything you do in this fashion will not survive a reboot of your phone, if you want to make them permanent you'll have to use an init-script. A how-to on that is (currently) out of the scope for this post. Have a look/search in the kernel release thread as there are many examples for that there. I'm sure with this post and these examples you can figure it out by yourself
The values in the echo commands are the stock values (from 2.1.1 version) if not noted otherwise
[CPU]
[Frequency]
[Steps]
# Controls which frequency steps are available
# Should probably only be used to set the lowest step to 25 and/or the highest to 1696
echo "1600 1400 1200 1000 800 500 200 100" > /sys/devices/system/cpu/cpu0/cpufreq/freq_table​ [Scaling Min]
# Controls which frequency is use by the governor as the minimal frequency (has to be a valid value in the frequency table!)
echo 200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq​ [Scaling Max]
# Controls which frequency is use by the governor as the maximal frequency (has to be a valid value in the frequency table!)
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq​ [Voltages]
# Controls with what voltages the frequency steps are supplied
# Highest step is to the left, lowest to the right
echo "1425 1325 1275 1175 1075 975 950 950" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table​ [Governor]
# Available governors: ondemand, lulzactive, smartassV2, conservative, userspace, performance, powersave, brazilianwax, savagedzen, smartass, lagfree, ondemandx
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor​[GPU]
[Frequency]
# Controls with what frequencies the GPU works
# Valid frequency steps are 100 114 133 160 200 267 400
echo "160 267" > /sys/class/misc/gpu_clock_control/gpu_control​ [Voltages]
# Controls with what voltages the GPU works
# Lowest possible value is 800000, maximum is 1200000
# Changes are only possible in 50000 steps
echo "950000 1000000" > /sys/class/misc/gpu_voltage_control/gpu_control​[IO]
[Scheduler]
# Controls how IO requests are scheduled.
# Available schedulere: noop deadline cfq bfq sio vr
echo sio > /sys/block/mmcblk0/queue/scheduler​[BUS]
[Frequency]
# Controls with what frequency the bus operates
# Valid values are: 0 (400MHz), 1 (266MHz), 2 (133MHz)
# Highest frequency step of cpu is to the left, lowest to the right
echo "0 0 0 0 1 1 2 2" > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
echo disabled > sys/devices/system/cpu/cpu0/cpufreq/busfreq_static # Use enabled to activate this feature​[Charging Current]
# Controls how much power the phone is willing to draw from a specific charger type
# Values are from left to right: AC Misc USB
# !This is a dangerous setting. Use with caution and never change the USB value and never set the other ones higher than 1000!
echo "650 550 450" > sys/devices/virtual/misc/charge_current/charge_current​
I will try to keep this post up to date with any relevant changes in the kernel.
Example GPU/CPU undervolting and underclocking scripts by kwerdenker please just use for Reference
Improved version of CPU undervolting script by kwerdenker please just as a reference
P.S.: I will not respond to request what settings you should use to achieve the highest score in a benchmark or how you get the most battery life. This is just to gather the information that is already floating out there. What you do with it is up to you
BETA and RC
beta releases will be available when gokhan releases them
Someone asked in another posting about whats the difference between the governors you can choose in Siyah kernel.
Here is an informative article from Github that explains the difference. The governors are from Cyanogen but I beleive it will give you a fair insight in their caracteristics for Siyah also.
https://github.com/CyanogenMod/cm-k...m-2.6.37/Documentation/cpu-freq/governors.txt
There are also a couple more governors you can choose in the latest RC. Maybe others can give some info. about their caracteristics.
Is it normal, that on 2.1 rc3 i cant see how much juice every app consumes???
nilste said:
Someone asked in another posting about whats the difference between the governors you can choose in Siyah kernel.
Here is an informative article from Github that explains the difference. The governors are from Cyanogen but I beleive it will give you a fair insight in their caracteristics for Siyah also.
https://github.com/CyanogenMod/cm-k...m-2.6.37/Documentation/cpu-freq/governors.txt
There are also a couple more governors governors you can choose in the latest RC. Mabye others can give some info. about their caracteristics.
Click to expand...
Click to collapse
This is exactly the stuff I am looking for thank you nilste
Corndude said:
Is it normal, that on 2.1 rc3 i cant see how much juice every app consumes???
Click to expand...
Click to collapse
Corndude How does insanity do its reporting? is it like miui where you can see the app usage in battery usage section like stock's app manager?
Did you get the stats before on the last kernel you use? I am not on insanity but if I cannot answer your query others can.
Originally Posted by Corndude
Is it normal, that on 2.1 rc3 i cant see how much juice every app consumes???
Click to expand...
Click to collapse
Corndude How does insanity do its reporting? is it like miui where you can see the app usage in battery usage section like stock's app manager?
Did you get the stats before on the last kernel you use? I am not on insanity but if I cannot answer your query others can.
Click to expand...
Click to collapse
i did get the stats before rc3, also doesn´t show the monitor´s use. Insanity is just like cm7, same stuff.
http://forum.xda-developers.com/showthread.php?t=1242323
i do not know if it helps but a bit more regarding governors..
Corndude said:
i did get the stats before rc3, also doesn´t show the monitor´s use. Insanity is just like cm7, same stuff.
Click to expand...
Click to collapse
Did you just install Rc3 without wiping dalvik? Just want to check . I always do a dalvik and cache wipe before I use CWM to apply the kernel update or If I use Odin to apply the kernel I then boot up into CWM recovery and perform a cache and Dalvik afterwards
Nice thread. Can anybody explain/point me to a good guide on cpu schedulers? This kernel allows changing the scheduler, but i don't know which one is the best for my kind of usage: movies-games-browsing, gpu intensive stuff i guess. Thanks.
Matriak31 said:
http://forum.xda-developers.com/showthread.php?t=1242323
i do not know if it helps but a bit more regarding governors..
Click to expand...
Click to collapse
Any help is appreciated Mat. Ty for your input
No probs mate.. good idea regarding the thread...At least now the Siyah one can stay just kernel related and all the Q&A can be moved here now..Great job
Issue I had with RC2:
-3G not functional, I didn't realize this until a few hours later when I wasn't at home enjoying my network; tested phone signal, was able to make calls, was in a bit of a cellular black hole but others on the same, and other networks, were able to access data easily,
-Restored my APN's from b/u to address 3G connectivity and at this point I lost all signal, no IMEI, phone number, etc... and would get an FC if I attempted to open the dialer, this was back at home where I have no data issues ever,
-Restored a nandroid b/u and all was good; did not try restoring EFS prior to this.
Just curious what the issue might have been; EFS corrupted (seemed to be a step wise loss), other?
And yes, at this point I realize I should learn a lot more before testing betas, etc... it's on my list Other than that I was thoroughly impressed with the lulzactive governor.
dragon546 said:
Did you just install Rc3 without wiping dalvik? Just want to check . I always do a dalvik and cache wipe before I use CWM to apply the kernel update or If I use Odin to apply the kernel I then boot up into CWM recovery and perform a cache and Dalvik afterwards
Click to expand...
Click to collapse
Siyah wipes it all by itself when installing via cwm.
mudferret said:
Issue I had with RC2:
-3G not functional, I didn't realize this until a few hours later when I wasn't at home enjoying my network; tested phone signal, was able to make calls, was in a bit of a cellular black hole but others on the same, and other networks, were able to access data easily,
-Restored my APN's from b/u to address 3G connectivity and at this point I lost all signal, no IMEI, phone number, etc... and would get an FC if I attempted to open the dialer, this was back at home where I have no data issues ever,
-Restored a nandroid b/u and all was good; did not try restoring EFS prior to this.
Just curious what the issue might have been; EFS corrupted (seemed to be a step wise loss), other?
And yes, at this point I realize I should learn a lot more before testing betas, etc... it's on my list Other than that I was thoroughly impressed with the lulzactive governor.
Click to expand...
Click to collapse
What rom you using?
I am on RC2 on Miui as far as I am aware I did not think it would interfere with EFS or change modem. Was there any think else that might have cause the EFS corruption or APN changes.
Corndude said:
Siyah wipes it all by itself when installing via cwm.
Click to expand...
Click to collapse
You tried clear data on the app manager and reboot the phone?
i have this problem whereby UV settings are applied during boot. am using init.d scripts. it sticks for 5-10mins and then it automatically reverts back to stock values. anyone else facing this prob?
am running gingermod 0.7
dragon546 said:
What rom you using?
I am on RC2 on Miui as far as I am aware I did not think it would interfere with EFS or change modem. Was there any think else that might have cause the EFS corruption or APN changes.
Click to expand...
Click to collapse
I'm on DlevROM (XXKI4 based); Siyah 2.0 does back up EFS, so there must be a chance for corruption somewhere along the line.
dragon546 said:
You tried clear data on the app manager and reboot the phone?
Click to expand...
Click to collapse
Just wiped manually and restarted - works, thanks a lot

Kernel - cm7-bull / archos -- for test/fun - oc 1100-1150-1200-sio-bfq - 5 steps freq

New UPDATE 13-07-2012: Youtube fixed, CleanCache include, Gov Optimisation, include Interactive Sched., remove SIO Sched (unstable ATM) => PLEASE REPORT
Hi guy,
I would like to share my work and try to see if my hardware is limited to OC.
I can OC with great stability to 1080 and 1100 with little crash (after 2 days of use). 1150 and 1200 no boot.
Kernel include:
-Based on 2.4.83 Archos kernel
-SIO - BFQ Schedulers include - BFQ by default
-Lagfree and MinMax CPU Governor include Conservative by default
-OC to 1100/1150 with 300/600/900/1010/xxxx step Frequency
-OC to 1200 with 300/600/1000/1100/1200 step
-Ext4 - you can applied WhoDunnit's tutorial
-Jenkins hash support update (less CPU consumption)
-Completely Fair Scheduling (CFS) upgrade better stability
-Others tweaks (I don't remember all ^^)
You can choose step, SIO, CPU Gov. with Voltage control.
The kernel is compatible with A43 - A70S/H/IT/IT2 - A101 and works well on BULL RC or Original Firmware from Archos. I CANNOT TRY IT WITH URUKDROID (My device hasn't same partitions :s).
You can download Kernels here:
V0.1 => 1100MHz: http://www.mediafire.com/?421uilfwbhx2em3
V0.1 => 1150MHz: http://www.mediafire.com/?u9bx28132jwln0c
V0.1 => 1200MHz: http://www.mediafire.com/?ta2f7m64d7aor4j
UPDATE:
V0.2b => 1000 Swap is useless on ours devices and compcache need more ram. I upgrade the voltage of CPU, and try to oc to 1200
UPDATE:
V0.3 => SEE LAST POST (kernel are attached on it)
How to use:
Just rename it to zImage and install it with your favorite initramfs.cpio.gz ( Bull or Archos) on SDE Menu.
I AM NOT RESPONSABLE IF YOU BRICK YOUR TAB. Thanks .
Kernel works fine on my tab, but i can't assure that's similar on others tabs.
Sources:
https://github.com/bizcuite/Archos_GEN8_OC_KERNEL_5STEP_FREQ_TWEAKS.git
Bizcuite
WORK IN PROGRESS ACTUALLY:
-GPU OC => think that the freqs are hardcoded by register (see OMAP3630 doc)
-GPU OC => BUS MEMORY OC, but don't know if it works in reality.
-STABILITY IMPROVE => Clean the code!!!!!!
-YOU TUBE WORKS
For PowerUser:
[email protected]:~/WORKING_DIRECTORY# make CC=gcc-4.4 CXX=g++-4.4 -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full_archosg8
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76K
============================================
Thanks mate, been looking for OC for a long time.
Mavasilisk said:
Thanks mate, been looking for OC for a long time.
Click to expand...
Click to collapse
Say me if you have any pb at 1150 and 1200Mhz please
I must clean the code and undo modifications to oc gpu (it is oc to 230Mhz and memory bus but it doesn't worked).
I find the 3d perf bad.
Bizcuite
Sent from my openAOS Build of Android 2.3 (cyanogenmod edition) using xda app-developers app
Are you planning future improvements? I can help you testing it. Glad to see improvements for our devices.
I will try it later and tell you the results, going to try all of the kernels and check the stability.
EDIT: The device didnt boot with 1200 zImage.
EDIT #2: A question out of the topic. Is using swap going to kill my SD card faster?
Mavasilisk said:
Are you planning future improvements? I can help you testing it. Glad to see improvements for our devices.
I will try it later and tell you the results, going to try all of the kernels and check the stability.
EDIT: The device didnt boot with 1200 zImage.
EDIT #2: A question out of the topic. Is using swap going to kill my SD card faster?
Click to expand...
Click to collapse
I have made this kernel because archos stop dev of ours devices. I am not a great dev lol, i haven't developped code since 10 years . But i have a brain, and try to use it
I would like port LiveOC code to our device, it exists for i9003 equiped with omap3630 but the code to select frequency is very different, i don't know if i can do this.
And port Smartass2 governor. The code is included in the kernel but desactivated i have lot of errors.
I try to oc gpu ATM, without result...i think that the freq is cable in the hardware...
My purpose is to know if ours devices can go up to 1100Mhz with the actual code. I need tester :thumbup: !
OC stability can changed for each devices.
Edit: Is it stable with 1150? I have crashed when i used wifi strongly. Like a big dl.
Verify that you have all frequency active with voltage control.
Edit2: i think that you will have changed of tablet before the sd die
Bizcuite
Sent from my openAOS Build of Android 2.3 (cyanogenmod edition) using xda app-developers app
I will check 1150 when my tab is fully recharged. When I disconnect it when its half charged the calibration goes crazy.
Thank you very much for this.
john9 said:
Thank you very much for this.
Click to expand...
Click to collapse
Can you make me a report of your experience with the kernel please?
Thanks in advanced!!
Bizcuite
I tested all the zImages as I said and the results are:
1100 is stable without any problems.
1150 isnt stable with many problems, the first time the boot hang on OpenAOS logo. The second time I couldnt enter settings. The third time it hang when I entered settings.
1200 doesnt boot at all. Reboots on OpenAOS logo.
Keep up the good job, dont get disappointed.
@bizcuite:
What vsel's are you using for the frequencies?
I know from the Milestone that we had a wide variation of vsel's that where working on diff devices.
If you look into the oc posts here you see that ( when we had that on from sibere ) vsel=80 was working for many at 1200MHz
fzelle said:
@bizcuite:
What vsel's are you using for the frequencies?
I know from the Milestone that we had a wide variation of vsel's that where working on diff devices.
If you look into the oc posts here you see that ( when we had that on from sibere ) vsel=80 was working for many at 1200MHz
Click to expand...
Click to collapse
I use 64 (0x40) ~= 1.38v. I will try differents steps to OC to 1200 my Tab.
I have seen a table of vsel by freq on TI website, i must find it again!!
Thanks for information
Edit: i have tried it with 75 and 80, no boot at 1200....
Bizcuite
First its nice to see a dev taking care of our tablet
And thank you so much for that !
I've just formatted my tablet (was having lags and lots of crashes) and installed your kernel over OpenAOS (the last non-official build) and wahouh !!
So smooth !
I've installed the 1100MhZ, I'll run it for a day and after I will test 1150 and 1200
Thanks again dude !
NEW UPDATE: CompCache and Swap Enable
NEW UPDATE - SEE FIRST POST:
CompCache and Swap enable by default
1 GHz ONLY FOR TEST
1000 - 1100 - 1150 - 1200 - released later if test are good!!
EDIT: if you want to see if Swap is active just download terminal emulator on android market and tape: free
PLEASE REPORT IF IT WORKS ON YOUR TAB.
Edit2: swap doesn't work and is useless :thumbdown:
Bizcuite
Thank you Bizcuite for your kernels. I tested your 1100 kernel on my A70 running cm7-bull and the speed was very good. I have found the kernel seems to break something with video streaming apps. TvCatchup, Vulkano and Youtube (LQ and HQ video) all fail to work but work fine with the original cm7-bull kernel.
darren1 said:
Thank you Bizcuite for your kernels. I tested your 1100 kernel on my A70 running cm7-bull and the speed was very good. I have found the kernel seems to break something with video streaming apps. TvCatchup, Vulkano and Youtube (LQ and HQ video) all fail to work but work fine with the original cm7-bull kernel.
Click to expand...
Click to collapse
Ok. Ty for te report, i will clean the code and redo the gpu modification. I have too lag on game or bench.
Bizcuite
Sent from my openAOS Build of Android 2.3 (cyanogenmod edition) using xda app-developers app
is the swap reall needed if we have VM and CompCache?
Mavasilisk said:
is the swap reall needed if we have VM and CompCache?
Click to expand...
Click to collapse
Right!!
After read this article from Wiki, we don't need this: http://wiki.cyanogenmod.com/wiki/Swap_and_Compcache.
Swap and compcache are disable and code is erase.
I will upload a new version with better VSel values and original GPU driver (It was a test with i9003 driver and OC :silly: ).
Bizcuite
Ok. Waiting for you to upload the updated zImage as it seems I have a day off.
EDIT: Lets reach 1.5GHz
Bizcuite could you upload your sources to github please?
And what does that mean ? (on hte build config)
PLATFORM_VERSION=4.0.4
Click to expand...
Click to collapse
minidou-77 said:
Bizcuite could you upload your sources to github please?
And what does that mean ? (on hte build config)
Click to expand...
Click to collapse
I will do that when i know how do this LOL (don't bite me please ). I have never used Git or gitorious to upload the code by lake of time (My familly and work takes lots of time ^^ ).
4.0.4 because of i try to compile ICS 4.0.4-R2.1 for A70S2 from google source
I must again clean the fu**ing code before upload it
UPDATE NEWS: Kernel doesn't work well, the return of deep sleep take lots of time (5 sec)... I have modify the boot frequency, and i think that's the pb...wait, maybe tomorrow.
Bizcuite

[10/10/13]neXusKERNEL v4.0 with Sweep2Wake ALPHA [JB]

Presenting...
neXusKERNEL
with SWEEP2WAKE (alpha)
by neXusPRIME
CHANGELOG:
V4.0
1. Sweep2Wake........ do you want anything else??? :highfive::highfive:
It is in alpha mode, so dont blame me for bugs, use v3.
Click to expand...
Click to collapse
V3.0
1. USB Fast Charge. For details see: http://forum.xda-developers.com/showpost.php?p=45743315&postcount=65
Click to expand...
Click to collapse
V2.0
1. Added "BFQ Scheduler", my favourite
2. Added experimental GPU OC
Click to expand...
Click to collapse
V1.0
1. HTC Write protection disabled.
2. Enabled swap support.*
3. Added scheduler "sio"
4. Added Smartassv2 governor
5. HTC perflock disabled
6. Enable KSM support (Flash zip in link to enable KSM http://forum.xda-developers.com/showpost.php?p=38569436&postcount=8)
7. No modules needed, everything inside boot.img
8. Init.d supported. Use app in link to verify init.d support http://forum.xda-developers.com/showthread.php?t=1933849
Click to expand...
Click to collapse
Click to expand...
Click to collapse
DOWNLOADS (JB):
V4:
http://d-h.st/j9E its ALPHA, you have been warned
V3:
http://d-h.st/84i
V2:
http://d-h.st/zuB
V1:
http://d-h.st/3UP
Click to expand...
Click to collapse
OLD ICS VERSIONS:
V3: http://d-h.st/7C6
OLD VERSION: V2: http://d-h.st/HcS
OLD VERSION: V1: http://d-h.st/dOq
SOURCE:
https://github.com/ProtoU/neXusKERNEL
CREDITS
atis112 - for My 1st ClassRoom
cybojenix - for S2W
galaxyfreak - for S2W
helicopter88 - for S2W
zarboz - for S2W
franco-c - for USB Fast Charge
cute_prince - for OC attempts, not final yet
KonstaT - for general performance patches
and maybe a few others
Click to expand...
Click to collapse
@neXus PRIME
Thanks for your great effort.
Here is my findings :
Features:
1. HTC Write protection disabled.
This works great Removed both wp_mod2.ko & init.d script to load it... I can confirm the HTC write protection now disabled.
Updating busybox with no problem
2. Enabled swap support. (if you make a swap partition, it should get used. But need testers)
I don't need this feature, so I don't test it.
3. Default scheduler "noop" (I've always liked noop better then all others)
"noop" as default is shown in the attached screenshot
4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)
No idea how to test this
5. Default Min set to 245 Mhz (My liking)
I like 245 Mhz too but I don't see it in both No Frill and CPU Spy (see attached screenshot)
6. Enable KSM support
Don't really need it but will test later with my old KSM init.d script
7. Default governor "ondemand" (later you can select whatever you like e.g
smartassv2)
"ondemand" is shown as default.
8. Ext2/ext3 file system support. (testers needed)
Don't need this so I do not test
9. Aren't above enough ???
Well... it's enough for now... maybe later s2w feature ? Maybe you can contact maxwen (One V kernel dev) for assistance.
I maybe wrong but I see that the init.d support is not enabled in your kernel. All the above test I ran it with my own ramdisk.
ckpv5 said:
@neXus PRIME
Thanks for your great effort.
Here is my findings :
Features:
1. HTC Write protection disabled.
This works great Removed both wp_mod2.ko & init.d script to load it... I can confirm the HTC write protection now disabled.
Updating busybox with no problem
2. Enabled swap support. (if you make a swap partition, it should get used. But need testers)
I don't need this feature, so I don't test it.
3. Default scheduler "noop" (I've always liked noop better then all others)
"noop" as default is shown in the attached screenshot
4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)
No idea how to test this
5. Default Min set to 245 Mhz (My liking)
I like 245 Mhz too but I don't see it in both No Frill and CPU Spy (see attached screenshot)
6. Enable KSM support
Don't really need it but will test later with my old KSM init.d script
7. Default governor "ondemand" (later you can select whatever you like e.g
smartassv2)
"ondemand" is shown as default.
8. Ext2/ext3 file system support. (testers needed)
Don't need this so I do not test
9. Aren't above enough ???
Well... it's enough for now... maybe later s2w feature ? Maybe you can contact maxwen (One V kernel dev) for assistance.
I maybe wrong but I see that the init.d support is not enabled in your kernel. All the above test I ran it with my own ramdisk.
Click to expand...
Click to collapse
The default min freq is 245 but.... i forgot to modify CPU freq tables so once you try to move the slider, the 245 Mhz freq is lost. And also, smartassv2 somehow becomes default. Maybe i'll fix, maybe not. Coz atis is already hard at CM work, so thought maybe ppl could test the ksm/ext2/3/swap features.
Regards
neXus PRIME said:
The default min freq is 245 but.... i forgot to modify CPU freq tables so once you try to move the slider, the 245 Mhz freq is lost. And also, smartassv2 somehow becomes default. Maybe i'll fix, maybe not. Coz atis is already hard at CM work, so thought maybe ppl could test the ksm/ext2/3/swap features.
Regards
Click to expand...
Click to collapse
If you used my sources for smartass it becames default because i add it as a default governor. You can modify it in the config. Just use "make menuconfig" and set the default things what you would like. (but first load the original config). Your new modified configuration will saved to "kerneldir/.config"
Just cause I saw your post in the atis's thread, I thought I'd check this out. I have a suggestion for you, instead of using swap, try zram. zram uses part of ram as a compressed swap device. You can get about a 3 to 1 compression ratio and it's much, much faster than swap on a disk. It can be enabled in menuconfig under drivers/staging/zram. Download any of my kernels (in my signature) if you need an example of an init script to start zram.
And, once more, added to Index.
Keep up the good work.
Re: [Kernel/modded] neXusKERNEL v1.0
Who has atis112 kernel can flash this other kernel safely ?
It should work right ?
neXus PRIME said:
The default min freq is 245 but.... i forgot to modify CPU freq tables so once you try to move the slider, the 245 Mhz freq is lost. And also, smartassv2 somehow becomes default. Maybe i'll fix, maybe not. Coz atis is already hard at CM work, so thought maybe ppl could test the ksm/ext2/3/swap features.
Regards
Click to expand...
Click to collapse
Maybe a fix to 245 Mhz is great. The governor not necessary to fix as user can choose what they prefer.
Tested the KMS support... it runs great. With KMS enabled, I have more free RAM available at anytime with no performance decrease.
Anyone want to try, you need init.d script with below command
Code:
echo "1" > /sys/kernel/mm/ksm/run
Or just flash attached kms script that I'm using
Good job neXus PRIME :good:
ckpv5 said:
Maybe a fix to 245 Mhz is great. The governor not necessary to fix as user can choose what they prefer.
Tested the KMS support... it runs great. With KMS enabled, I have more free RAM available at anytime with no performance decrease.
Anyone want to try, you need init.d script with below command
Code:
echo "1" > /sys/kernel/mm/ksm/run
Or just flash attached kms script that I'm using
Good job neXus PRIME :good:
Click to expand...
Click to collapse
Linked your KSM script post to OP. Plus, im doing the 245 Mhz fix right now.
Regards
Updated. Changelog in OP.
@neXus PRIME
Here my finding so far:
Version 2:
1. Freq Table fixed, (Min 122, then 245 just after it)
:good::good:
2. ZRAM support added. (Testers needed)
With zram support added but not enable at default, I find that my ROM lags a lot.
Code:
C:\Users\ckpv5\Desktop\fastboot>adb shell
[email protected]:/ # busybox free
busybox free
total used free shared buffers
Mem: 620984 521988 98996 0 13236
-/+ buffers: 508752 112232
Swap: 0 0 0
[email protected]:/ #
with zram enabled, there is no lag but the smoothness/performance is less compare to v1. Maybe this is due to minfree is default value and cannot be changed with init.d script, will test with lower minfree (as suggested by flar2 in his thread) thru ramdisk change later.
Anyway.. maybe it's my own wrong doing; maybe other user with other ROM can have better result.
Code:
C:\Users\ckpv5\Desktop\fastboot>adb shell
[email protected]:/ # busybox free
busybox free
total used free shared buffers
Mem: 620984 523556 97428 0 13576
-/+ buffers: 509980 111004
Swap: 102396 25600 76796
[email protected]:/ #
Problem...
neXus PRIME said:
Hi,
I'm not making a thread in dev section as i'm not gonna maintain this over time. I just added a few things in atis's config and modified some others to my own liking.
DOWNLOAD:
V2: http://d-h.st/HcS
OLD VERSION: V1: http://d-h.st/dOq
NOTE: Flash zip in below post to enable KSM
http://forum.xda-developers.com/showpost.php?p=38569436&postcount=8
NOTE: Use this excellent app for enabling and verify init.d support
http://forum.xda-developers.com/showthread.php?t=1933849
Features:
Version 2:
1. Freq Table fixed, (Min 122, then 245 just after it)
2. ZRAM support added. (Testers needed)
Version 1
1. HTC Write protection disabled.
2. Enabled swap support. (if you make a swap partition, it should get used. But need testers)
3. Default scheduler "noop" (I've always liked noop better then all others)
4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)
5. Default Min set to 245 Mhz (My liking)
6. Enable KSM support
7. Default governor "ondemand" (later you can select whatever you like e.g smartassv2)
8. Ext2/ext3 file system support. (testers needed)
9. Aren't above enough ???
Guys, atis had a huge role in teaching me how this all works, so major credits to him. The sources are available on my git as well so all are free to fork and try out their own combo of settings.
I'll need a few reports about above features.
Just download n enjoy !!!
Regards
Yasir
Click to expand...
Click to collapse
The min cpu frequency is 122 and i cannot set it to lower no 98MHZ available...
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v2.0
SaadCrackz said:
The min cpu frequency is 122 and i cannot set it to lower no 98MHZ available...
Click to expand...
Click to collapse
Yeah that's what I did. I don't like 98
Sent from my HTC Desire X using xda app-developers app
neXus PRIME, can you tell me what do you mean with "4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)"? I mean, I have flashed your kernel and I have SetCPU installed but I don't know what is that "magic". Also, if you want, I can test or see what does happen with it enabled (so far, I see no issues).
I have selected: min 122, max 1008, smartassV2, sio.
Thank you very much!
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v2.0
gbueno6 said:
neXus PRIME, can you tell me what do you mean with "4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)"? I mean, I have flashed your kernel and I have SetCPU installed but I don't know what is that "magic". Also, if you want, I can test or see what does happen with it enabled (so far, I see no issues).
I have selected: min 122, max 1008, smartassV2, sio.
Thank you very much!
Click to expand...
Click to collapse
I don't know what setcpu does that's why I called it magic.
Btw, I heard v2 is laggy, so v3 won't have zram enabled.
Sent from my HTC Desire X using xda app-developers app
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v2.0
neXus PRIME said:
I don't know what setcpu does that's why I called it magic.
Btw, I heard v2 is laggy, so v3 won't have zram enabled.
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Ok then! I've found laggy my phone (1.18 deodexed ROM) while it's starting, may be more than with atis's kernel but other than that, I find it great.
Also, may I ask you which are the settings you'd recommend me to set?
Thank you very much!
EDIT: About SetCPU, according to the author through the app, Perflock disabler must be activated in the app if you have a kernel that prevent SetCPU from setting frequencies correctly (stock kernel for example). BUT with neXus PRIME kernel that has perflock disabled, you won't have a single issue using it and you don't need to set on boot Perflock disabler.
Sent from my HTC Desire X using Tapatalk 2
Here you go:
ZRAM is off for ppl having lag
v3
http://d-h.st/7C6
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v2.0
I can confirm that loop back devices work. I successfully chrooted Ubuntu using Complete Linux Installer...
Sent from my HTC branded muffin...
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v2.0
Stereo8 said:
I can confirm that loop back devices work. I successfully chrooted Ubuntu using Complete Linux Installer...
Sent from my HTC branded muffin...
Click to expand...
Click to collapse
Me too..
Sent from my HTC Desire X using xda premium
Re: Updated 28/02/13 [Kernel/modded] neXusKERNEL v2.0
By the way, @neXusPRIME change the op title to v3.0
Flowed from my HTC branded muffin...

[MOD] BlackenedMod v3.0 (Pixel / Pixel XL)

Introduction:
This modification / custom kernel configuration for Pixel and Pixel XL is optimized and made with the focus on bringing several, carefully tuned behind-the-scenes enhancements & adjustments that improves overall critically needed performance, system responsivness and battery life to the highest possible level. The seed to this project can by the way be found here, for anyone that is interested of its origins.
Note: This script is not recommended to be modified or customized by the user.
The latest release can be found here.
Disclaimer:
This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes/modifications/addons/tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.
Features:
Reduced battery consumption
Device specific enhancements for best possible balance between battery life & performance
Enabled, and fully configured, Boeffla generic kernel wakelock blocker
[
Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)
CPUSet improvements & optimizations
Schedtune tweaks (Improves responsivness)
Power efficiency enhancements
Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
Possibly other miscellaneous things I've forgotten to write down here, both big and small.
Requirements/what you need for getting this script fully working:
An unlocked bootloader
Your own specific choice of kernel
Latest Magisk
Busybox for Android NDK Magisk Module by @osm0sis
Patience
Installation/How-To use & abuse:
1) Download the attached ZIP
2) Extract the script
3) Move the script to the following location;
/data/adb/service.d and give the script the following permissions (0755)
4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes a few seconds before the scripts is fully up and running around behind the scenes)
5) Enjoy!
Note: If you still are unsure how to do for making my kernel configuration / modification work & be up and running behind the scenes, then please read @Phalanx7621 phenomenal guide here or check out @Phalanx7621 in-depth video here. The installation method is the same for both the first generation as well as the second generation of Pixels!
Credits:
@nathanchance for his contributions with his Flash Kernel
@franciscofranco for all the information on which kernel wakelocks that is safe to block
@Phalanx7621 for his phenomenal how-to guide
@Lord Boeffla for his awesome generic kernel wakelock blocker
@pkgnex for inspiring me walking into this partially unknown territory from the beginning
@flar2 for his excellent EXKM application and ElementalX Kernel
@osm0sis for his Magisk Busybox module
Everyone that I've forgotten to mention here
Telegram:
If you want to try out betas / previews of my script before they are officially released, or just hangout and chat a little, then join the official Telegram group here
To-Do list:
Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance
Contributors:
@xFirefly93
Created: 2018-10-08
Last updated: 2019-01-04
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Edit: sorry for stealing the first post btw hehe
EDIT: My changelog dedicated post have exceeded 30000 characters, so I have decided that the changelog will only be included in the respective update posts from now on!
So you all know how the situation is.
shagbag913 said:
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Click to expand...
Click to collapse
I'll do whatever I can on the first generation Pixels for giving you guys & girls the same awesome experience.
And thanks btw.
:highfive:
Update!
v1.1 (Minor release)
- Made a few more (hopefully) battery conserving adjustments to the Sched governor.
Enjoy!
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Core control screenshot
Phalanx7621 said:
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Click to expand...
Click to collapse
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
xFirefly93 said:
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Click to expand...
Click to collapse
I can confirm that the same happens to me.
Thanks for the work!
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
Old Man Dave said:
I can confirm that the same happens to me.
Thanks for the work!
Click to expand...
Click to collapse
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
xFirefly93 said:
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
Click to expand...
Click to collapse
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Phalanx7621 said:
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Click to expand...
Click to collapse
I will compare how my Marlin / Pixel XL performs with it disabled respectively enabled and see which "solution" that is giving best battery life with less performance tradeoffs, and then I will include the best overall compromise in v1.2 of my kernel configuration / script.
For anyone else interested in this, this is how I went about it:
1) Downloaded Flash Kernel from his thread over here https://forum.xda-developers.com/pixel-xl/development/marlin-flash-kernel-1-00-t3788300
2) Downloaded the latest version of this mod
3) Downloaded the Magisk module required, which you can find by searching Magisk for "busybox" and choosing the "Busybox for android NDK" version
4) Flash that Magisk module, reboot into recovery, flash the Flash kernel (no need to reflash magisk, it's automatic), reboot back into system.
5) Check to make sure Magisk is functioning properly, for me I had to reboot due to an error in the application but that may have been on my end.
6) So now you have Flash kernel and the Magisk module required to be able to properly run this script. Extract the script from the .zip file you downloaded to a folder.
7) Ok so these next steps if you aren't familiar with this stuff could be tricky, but it's actually simple it just sounds tricky. I use Mixplorer for this, I highly suggest using it, it's free and it's on XDA Labs here. https://labs.xda-developers.com/store/app/com.mixplorer But any file explorer w/ root access will do. Inside the folder you extracted the script into there are two versions, choose the Public Release version and copy that file. Navigate to root ( / ) and go to /data/media/0 and paste the file there. The reason for this is you have to change the permissions to allow it to be an executable script and this folder allows that. (there are other ways to do this, FYI but this works just fine for me) You want the permissions to be 755, so it would look like this: (see attachment) To change permissions in Mixplorer, just long press the file and hit the little i (for information) in the upper right. Then click on the permissions you want to change.
8) Now all you have to do is copy that file you just changed the permissions to and paste it into: /sbin/.core/img/.core/service.d | | Now you won't be able to SEE .core unless you have hidden files on, in Magisk it's in the upper right hand corner 3 dot menu. Click Show Hidden. After you paste the file there, reboot and congratulations, you have achieved greatness.
Phalanx7621 said:
.. FYI..
Click to expand...
Click to collapse
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
xFirefly93 said:
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
Click to expand...
Click to collapse
Oh ok cool, just wanted anybody else to be able to use this awesome mod too, it works wonderfully!
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
It's there.... I'm on the same rom. You need to start at root and not device storage, as well as show hidden folders
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
Use X-plore file manager adn give Root permissions and in settings Show hidden files or folders something.
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
xFirefly93 said:
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
Click to expand...
Click to collapse
Hi, which release from Public and Maintenance we have to use. Thank you for your hard work.

Categories

Resources