Related
I open this thread to know the sysctl config settings for each one of you.
will have this structure:
MFK (min free kbytes)
DR (dirty radio):
DBR (dirty radio background):
VFS (vfs cache pressure):
OAT (Oom Allocating task): Y or N (yes or not enabled)
* and the advantage(s) of the configuration: (more performance, speed up, emulators works better batery life increases, etc.)
for example:
MFK: 32568
DR: 5
DBR: 3
VFS: 0
OAT: Y
* more performance, and speed up in the applications
wat we need to do??
There's already a thread. Go to android development and read the RAM discussion. alfsamsung posted his settings there and im going to post a summary.
Pjay12 said:
There's already a thread. Go to android development and read the RAM discussion. alfsamsung posted his settings there and im going to post a summary.
Click to expand...
Click to collapse
and yours settings???, is the reason of thread, posts the configuration of everyone and benefits.
jiawei0309 said:
wat we need to do??
Click to expand...
Click to collapse
you have to download sysctl from market and test settings to optimize ram in x8, then post your results
SMALLJIM said:
you have to download sysctl from market and test settings to optimize ram in x8, then post your results
Click to expand...
Click to collapse
8192-95-60-OOM enabled
General speed increase.
Please tell me! What values the best's for speed ?
tony-noob said:
Please tell me! What values the best's for speed ?
Click to expand...
Click to collapse
test with the spyder´s settings
But spyder ur setting is incomplete
Sorry my english
Sent from my X8 using XDA App
4096-95-65-10-OOM enabled
this is my best setting
roymouse said:
But spyder ur setting is incomplete
Sorry my english
Sent from my X8 using XDA App
Click to expand...
Click to collapse
It's complete, just that the format is horrible (oops my bad)
MFK: 8192
DR: 95
DBR: 60
VFS: 20
OAT: Y/N (Debatable, recommended is No but I use Yes)
General speed increase and faster loading. Use some settings from this http://forum.xda-developers.com/showthread.php?t=1212396&page=14
to speed up your phone more.
thanks dude
SpyderX said:
It's complete, just that the format is horrible (oops my bad)
MFK: 8192
DR: 95
DBR: 60
VFS: 20
OAT: Y/N (Debatable, recommended is No but I use Yes)
General speed increase and faster loading. Use some settings from this http://forum.xda-developers.com/showthread.php?t=1212396&page=14
to speed up your phone more.
Click to expand...
Click to collapse
thanks spyderx
Is SYSCTL CONFIG backup orginal settings ?
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
### Dark Side ROM V1.3.3 JPKJ2 + Siyah Kernel ### Persian/Arabic/Urdu + ad-hoc support + GPS fix + All The Patches in One
It's fast, Reliable, and Lite
All the Credits goes to: (you might want to consider some donation to them)
- Gokhanmoral for his awesome Kernel
- HyperDroid Team and af974 for Redpill recovery
- Crypted for AGPS patch
- Tapioco2000 for WPA Supplicant
- Pako7 for PUMa patches
Features:
- Lots of bloat wares are removed
- Latest Siyah Kernel 2.6.11 (http://forum.xdadevelopers.com/showthread.php?t=1263838)
- Battery life improvement
- Performance enhancement
- Memory Tweaks
- Fast Battery Charging
- Pre-rooted and Custom CWM compatible Redpill Recovery from af974 (For more info: http://forum.xda-developers.com/show...postcount=9680 )
- Supports VC and UV
- Ad-hoc support (http://forum.xda-developers.com/showthread.php?t=1377321)
- AGPS PATCH - RAPID GPS LOCK (http://forum.xda-developers.com/showthread.php?t=1447599)
- PUMa Patches: (http://forum.xda-developers.com/showthread.php?t=1434946)
- Camera-Video/audio profiles 24-20Mbps/192Kbps_44100Hz
- Camera-Focusing switching at a video shooting with Continuous on Fixed
- Camera-Removing restrictions Video Bit rate to 20 Mbps (used with Video/audio profiles 24-20Mbps/192Kbps_44100Hz)
- Phone-Removing the delay after talk end
- Phone-Disabling increasing the volume level for incoming calls
- SMS\MMS-Disabling auto conversion SMS to MMS
- SMS\MMS-Disabling control the number of contacts for the simultaneous sending
- SMS\MMS-Increase the maximum size of send messages with 300 KB to 1 MB
- System-Increasing the speed of response Automatic Brightness Control (ABC)
- System-Increased speed and smoothness of transitions brightness in ABC
- System-Delete duplicate icons in the status bar vibration for firmware >= 2.3.5
How to install:
- Copy the zip file to root of your SD card
- Get to Recovery mode
- Factory reset is not required (but I advise you to do so!!)
- Wipe cache and Dalvik cache
- Flash it and enjoy ;-)
Note: it does not flash your modem.
- If you don’t like the boot sound use root explorer, go to /system/etc and delete PowerOn.wav
Some advice:
View this thread if you want safe Kernel config (MagicConfig) (helps with performance and battery life): http://forum.xda-developers.com/showthread.php?t=1466017
View this thread for Thunderbolt Scripts (your droid will flies) : http://forum.xda-developers.com/showthread.php?t=1296927
Download link:http://www.sendspace.com/file/3v46ss
IF YOU LIKE THIS ROM PLEASE RATE IT 5 STARE AND PUSH THE THANKS BUTTON IN THE ALL POSTS FROM ME
UP Coming
up comnig !!!!!!!
-In new version:
- will upload odexed and deodexed version
-the stock phone caller will be replaced with ICS caller
-caller with recording ability and well record quality
- will add lidroid awesome 14 buttons Task-bar
- and more ....
reserved for later use
Nice! I think lots of ppl in need of FULL support of persian languages will love this rom.
itskapil said:
Nice! I think lots of ppl in need of FULL support of persian languages will love this rom.
Click to expand...
Click to collapse
I hope so. and still so many others can do
Good luck with this project! And thanks for using the aGPS patch. I hope it helps you and your users!
Will this mods work with ics rom? Ad hoc ?
efrommel said:
Will this mods work with ics rom? Ad hoc ?
Click to expand...
Click to collapse
I haven't tried and don't think will work.this one should work on all of the 2.3.5 versions. But there is no harm to try but first make sure you have copy of original file.
Sent from my GT-I9100 using Tapatalk
Realy appreciate your efforts man. Finally someone did a ROM with native Urdu\Persian\Arabic support.
tipu2185 said:
Realy appreciate your efforts man. Finally someone did a ROM with native Urdu\Persian\Arabic support.
Click to expand...
Click to collapse
Hope you like it.next week I'll upload new version.
Sent from my GT-I9100 using Tapatalk
N00b Problem
Nevermind, all good. Good ROM!
ModeSelektor is a simply app for manage power consumption and performance of redmi note 3.
The purpose of app is create a simply platform that give the possibility to set quickly the kernel parameters that affect the power consumption and performance. For do it ModeSelektor set this parameters:
-cpu interactive governors
-cpubw governors
-min cpu freq
-hmp sched boost
-low power level
-input boost
-touch boost
-stock hotplug
-entropy
-brightness
ModeSelektor is compatible with all N and MM custom rom with stock or custom kernels, but optimised for kernel that use the stock hotplug.
ModeSelektor is also compatible with miui but some users report that the copy from assets sometimes give error then it's possible fix it by manually copying the files. For fix it download the ModeSelktor.zip that contain the files and extract it in /sdcard make sure that the contents of zip are located in /sdcard/ModeSelektor
ABOUT SELEKTOR
Battery:
The perfect mode for medium and ligth use like chat, media reproduction and browsing.
Balanced:
An optimised version of stock cm settings
Performance:
The perfect mode for the players and the users with only a think in mind...kill any lag
Personally I recommend this optionals settings:
Adreno idler on for the Battery and the Balance modes
Zen scheduler set to 2048 kb
Adreno boost low during soft use and medium during game
For more info about script check /sdcard/ModeSelektor or the souces.
CHANGELOGS
Version 2.5.3
New hotplug configuration for battery and changes in targets_loads
New hotplug configuration for balanced and changes in input_boost
Reduce the brightness if battery is enabled
Add others parameters in build.prop tweaks
Version 2.5.2
Add a missed string in Seeder_On script
Fix the copy of assets
Version 2.5.1
Some fixes for the seeder
Version 2.5
Add a Seeder (fast random entropy generator) thanks to @Ryuinferno, @lambgx02
Add splash screen for fix fc related to permission
Remove Auto enable battery
New hotplug settings for all modalities
Fix hotplug permission in some cases
Fix switchs enabled after reboot also with apply on boot disable
New Battery (more use of frequency below 1017)
Remove max GPU freq in the scripts
Tune the entropy if the Seeder is enabled
New icon
New accent color and background
Version 2.4
Added Performance mode QS Tile
Added Build.prop tweak
Tune more parameters of stock cm hotplug
New revision for Battery and Balanced
Fix issue for apply the settings when core 0 or and core 4 are offline
Fix issue with Auto enable battery that sometimes start also if disabled when the charger is disconnected
Remove in the scripts commands that change scheduler, zram, arch power, adreno idler
Remove Ultra Battery and Ultra Performance (now Ultra Performance is Performance)
Version 2.3
Update battery mode (less use of 1017MHz)
Add option for reduce google play wakelock (thanks to @Alcolawl)
Fix phh superuser compatibility (now work on nitrogen os)
Fix fc with miui
Version 2.2
Fix last log not show shell output
Fix toasts apply on boot and auto ultra battery
Add more parameters:
Adreno idler
Zram
Scheduler
Arch power
Entropy
Stock hotplug
Now the app try to change others parameters if they are presents in your kernel. Look the last log for see if they have been correctly applied.
PS I'm not sure that all new parameters work also in miui, I can't test it, so if someone try the app on miui + custom kernel please give me a report. Thanks
Version 2.1
Fix Ultra Battery auto enabled alert text not disappear after enable a other profile
Move about in the menu and add a dialog window with info
Remove the refresh option by menu to action bar
Add confirm dialog window for reset scripts option
Add last log in menu and a new activity that show it
Make Ultra Battery more conservative
Auto update the database after install a new version
Probably fix the compatibility with Nitrogen Os (need confirm of it. If someone can test it, let me know, I would like a lot)
Version 2.0
New black theme
Fix some issue for Auto enable ultra battery feature
Add refresh option in menu
Version 1.2.3
Add menu with links and reset scripts option that overwrites the file in case of wrong edit replacing their with the stocks
Version 1.2.2
Add compatibility with MIUI + custom kernel
Fix database copy need restart after first boot
Version 1.2.1
Fix Fc during first boot
Fix some toast and remove service toast
Delete duplicate string in ultra battery script
Restore last selected mode during charging if ultra battery was enabled by auto ultra battery
Version 1.2
Revert ultra performance change
Ultra battery now is extreme
Add service for activate automatically ultra battery if battery go under the selected level
Version 1.1.1
tune a bit ultra battery and ultra performance
add gpu min and max freq tune
add timer_rate tune
Version 1.1
add apply on boot option
fix replace database every time that app start
fix app not save last selected mode
Version 1.0
Initial release
REQUIREMENTS:
Root permission
Custom kernel for Miui roms
INSTRUCTIONS:
- if you came by old app version before install uninstall old app version
- install the app
- run the app
- give root and storage permissions
- enjoy
FULLY TESTED ON:
Citrus caf
Slim 7
Nitrogen OS
DnD
Aosip
Aocp
All with stock and some customs kernels
DOWNLOAD:
https://sourceforge.net/projects/modeselektor/files/?source=navbar
SOURCES:
https://github.com/lafonte0/ModeSelektor
LICENCE:
GNU General Public License version 3
CONTRIBUTORS:
@lafonte @Stefano 99
ModeSelektor its an open source and free software, so all persons who want to improve it, contribute to the development, port the app on others devices, in compliance with the above license, are welcome. Also because it's my first app, software development isn't my sector, and help is always welcome.
Screenshot:
lafonte said:
Screenshot:
Click to expand...
Click to collapse
Tell me, how your script works?
abhy27 said:
Tell me, how your script works?
Click to expand...
Click to collapse
The app place scripts from internal apk database to /sdcard/ModeSelektor/scripts after when you press a mode the app run the script referred to selected mode, for see what script change you can look into scripts, you can also change the content of one, some or all script and make your personal modalities.
Not working!!!
LogCat attached
SerJo87 said:
Not working!!!
LogCat attached
Click to expand...
Click to collapse
You need to give root permission
I gave
I'm on the NitrogenOS. There integrated phh's superuser. Maybe that's why
SerJo87 said:
I gave
I'm on the NitrogenOS. There integrated phh's superuser. Maybe that's why
Click to expand...
Click to collapse
Sorry but the problem is in the name of directory, what is your internal storage name? it's /sdcard ?
Yes, most likely. I read logcat and saw this:
Code:
01-06 01:43:17.490 E/su (8325): Unknown id: /sdcard/ModeSelektor/scripts/S01_Ultra_Battery
internal storage name /storage/emulated/0
But the scripts are moved to sdcard(screenshot attached). Why is not working?
SerJo87 said:
Yes, most likely. I read logcat and saw this:
internal storage name /storage/emulated/0
But the scripts are moved to sdcard(screenshot attached). Why is not working?
Click to expand...
Click to collapse
Other users report me that app work, and it is strange issue because if the app create the ModeSelektor directory the path its the same when it run the script. The app until now have only one issue it replace all time the script in ModeSelektor folder when start, I forget to add an exception in this build. Last think, you can check if sh file is present in /system/bin?
Yes, sh file is present
SerJo87 said:
Yes, sh file is present
Click to expand...
Click to collapse
Then it must work...
Now I have no idea. All the time I thought that the result of battery only have due to radon 3.5 and the script does not working
SerJo87 said:
Now I have no idea. All the time I thought that the result of battery only have due to radon 3.5 and the script does not working
Click to expand...
Click to collapse
Before report that the app don't work post a complete review, you can't tell that app don't work without specify what mode you try and without post complete statistics about battery.
Ultra Battery with Umang kernel default settings by battrey
Version 1.1.1
https://sourceforge.net/projects/modeselektor/files/ModeSelektor_v1.1.1.apk/download
Testing a new version. Thank you
So i need to put rhe governor to interactive or the app do itself?
Sebaskyclad said:
So i need to put rhe governor to interactive or the app do itself?
Click to expand...
Click to collapse
The app do itself
FC in RR 5.7.4 + radon v3.5
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.