Hello guys,
I've managed to compile the module from here: http://forum.xda-developers.com/showthread.php?t=1159899 updated by AnDyX for X8 which I updated for X10. Initially the module was offered by erasmux.
It works for 2.3.3 kernel that is: 2.6.29-00054-g5f01537.
You can configure various parameters:
Code:
# pwd
pwd
/sys/devices/system/cpu/cpu0/cpufreq/smartass
# ls
ls
debug_mask
up_rate_us
down_rate_us
up_min_freq
sleep_max_freq
sleep_wakeup_freq
awake_min_freq
sample_rate_jiffies
ramp_up_step
ramp_down_step
max_cpu_load
min_cpu_load
sleep_rate_us
#
Install guide:
Copy the cpufreq_smartass.ko to the root of your SD card and then execute the following commands with the phone connected to the PC:
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/cpufreq_smartass.ko /system/lib/modules
cd /system/lib/modules
insmod cpufreq_smartass.ko
echo "smartass" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
You can confirm that installation works either by SetCPU (it will report scaling "smartass") or by executing the following command:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Results:
Below are my 17 hours run:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was running this governor today and I managed to get 47% of battery in 17 hours (listening to music 2 hours, with screen on at 0% brightness, reading the news in the metro 10-15 minutes, and 4 email accounts syncing every 15 minutes). During the night (6 hours), it only lost 2% of the battery.
As far as I can see, when it goes to deep sleep, it stays there, if you minimally use the phone, it should last a long time. But once you turn on the phone, it will kick into high gear (998Mhz) very fast, to allow for fast response - and won't use any other intermediate frequencies.
Settings:
/*
* The minimum amount of time to spend at a frequency before we can ramp up.
*/
#define DEFAULT_UP_RATE_US 24000;
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
#define DEFAULT_DOWN_RATE_US 49000;
/*
* When ramping up frequency with no idle cycles jump to at least this frequency.
* Zero disables. Set a very high value to jump to policy max freqeuncy.
*/
#define DEFAULT_UP_MIN_FREQ 0
/*
* When sleep_max_freq>0 the frequency when suspended will be capped
* by this frequency. Also will wake up at max frequency of policy
* to minimize wakeup issues.
* Set sleep_max_freq=0 to disable this behavior.
*/
#define DEFAULT_SLEEP_MAX_FREQ 245760
/*
* The frequency to set when waking up from sleep.
* When sleep_max_freq=0 this will have no effect.
*/
#define DEFAULT_SLEEP_WAKEUP_FREQ 998400
/*
* When awake_min_freq>0 the frequency when not suspended will not
* go below this frequency.
* Set awake_min_freq=0 to disable this behavior.
*/
#define DEFAULT_AWAKE_MIN_FREQ 0
/*
* Sampling rate, I highly recommend to leave it at 2.
*/
#define DEFAULT_SAMPLE_RATE_JIFFIES 2
/*
* Freqeuncy delta when ramping up.
* zero disables and causes to always jump straight to max frequency.
*/
#define DEFAULT_RAMP_UP_STEP 220000
/*
* Freqeuncy delta when ramping down.
* zero disables and will calculate ramp down according to load heuristic.
*/
#define DEFAULT_RAMP_DOWN_STEP 160000
/*
* CPU freq will be increased if measured load > max_cpu_load;
*/
#define DEFAULT_MAX_CPU_LOAD 75
/*
* CPU freq will be decreased if measured load < min_cpu_load;
*/
#define DEFAULT_MIN_CPU_LOAD 25
/*
* When screen if off behave like conservative governor;
*/
#define DEFAULT_SLEEP_RATE_US (usecs_to_jiffies(500000))
To update one of the settings, the standard echo command should be executed:
Code:
echo "80" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/max_cpu_load
(in this example, the max_cpu_load will get the value 80, meaning that the CPU should be 80% at least, before a jump in frequency happens.
User biscoitu has a list of settings here http://forum.xda-developers.com/showpost.php?p=16256835&postcount=161 but for X8 I think. They could be a starting point for X10 tuning I will also try to see which settings work best, but it will take a while.
Download:
Use it at your own risk!
cpufreq_smartass.ko
Enjoy!
Special thanks to:
a) wolf which gave me hope with X10
b) all guys that made flashing X10 a reality
c) AnDyX for the source code and the workaround for the missing kernel symbols.
Awesome dude!!! Will have a try when I get home
Regards
Sent from my X10i using XDA Premium App
dude! I want to test it, how do I install it (i mean step by step for a noob like me)
so smartass is not so smart for now... will wait till smartass iq get higher... but nice work dude... btw don't be smartass and give to smartass some more iq soon... thanks!
Thanks for support guys!
Later edit: I've modified first post to include the installation steps.
viulian said:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
better to use
HTML:
mount -o remount rw /system
or
busybox mount -o remount rw /system
lot better and removes the need to selecting mtd block corrrectly coz that differs sometimes.
automatic enabling of smartass
type this in your install-recovery.sh
Code:
insmod /system/lib/modules/smartass.ko
echo "smartass" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
This should make it your setting as needed on every reboot
Can this be made into a zip to.flash ?
Sent from my X10i using XDA Premium App
I'm sorry, I don't have experience in creating .zips to be flashed ... anyway - is faster to copy manually and you don't need to reboot the phone or anything.
Once I finish it (to get it to be configurable over sysfs) then I will investigate this possibility of flashing.
Cant I do it through root explorer?
Sent from my X10i using XDA Premium App
insmod /system/lib/modules/smartass.ko
echo "smartass" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Click to expand...
Click to collapse
Seems that placing these lines directly in install-recovery.sh doesn't work. But placing them into additional script in /etc/init.d/98-smartass and adding 98-smartass to the install-recovery.sh works fine. Even after reboot you still have smartass governor.
Looks like CPU frequency isn't changing.
May be the problem is in acpuclock.o (compiled for Xperia Arc but not for Xperia X10???.
creage said:
BTW, be aware, that this module is not compatible with latest wolfbreak's tweaks. Actually they are just overrides your governor and cpu setup depending on device state.
Click to expand...
Click to collapse
It does not affect wolfbreak's tweaks. Those will reset the CPU state after each reboot. So you can try the governor, and if you don't like it, just reboot and old settings go back. In case you decide to keep the governor longer, then yes, the startup scripts need to be modified (not only to activate it, but to insert the module also). But we're not there yet
Karlson2k said:
Looks like CPU frequency isn't changing.
May be the problem is in acpuclock.o (compiled for Xperia Arc but not for Xperia X10???.
Click to expand...
Click to collapse
How do you expect it to change ?
whats the point of this? as per the cpuspy i think the same problem persist. only 245 and 998 mhz freq's are used.
I think this is a problem with the phone speed. Imagine this scenario:
a) user starts an application, CPU is in deep sleep (or maybe idleing at 245Mhz). Usage goes to 100%
b) application does not finish loading in the very short time (milliseconds) specified for the ramp up period. CPU is still at 100% and thus frequency goes one step higher (384Mhz)
c) application still did not finish loading again, CPU goes again one step higher.
By the time the application finishes (and they are Java, not native so imagine the work needed to load them) CPU gets to max frequency. If it would spend longer time at intermediate steps, you would describe the phone interaction as "slow".
Another advantage, you can put a max limit on the CPU speed on screen off mode (sleep mode).
For more information please check the governor developer opinion: http://forum.xda-developers.com/showthread.php?t=730471.
This module is a a different one compared to the defaults given by Sony (ondemand and performance).
Later edit:
With the new .ko I've just posted, CPY Spy also reports intermediate frequencies as used. I will update the CPUSpy screenshot tomorrow after a day of running with the governor.
viulian said:
I think this is a problem with the phone speed. Imagine this scenario:
a) user starts an application, CPU is in deep sleep (or maybe idleing at 245Mhz). Usage goes to 100%
b) application does not finish loading in the very short time (milliseconds) specified for the ramp up period. CPU is still at 100% and thus frequency goes one step higher (384Mhz)
c) application still did not finish loading again, CPU goes again one step higher.
By the time the application finishes (and they are Java, not native so imagine the work needed to load them) CPU gets to max frequency. If it would spend longer time at intermediate steps, you would describe the phone interaction as "slow".
Another advantage, you can put a max limit on the CPU speed on screen off mode (sleep mode).
For more information please check the governor developer opinion: http://forum.xda-developers.com/showthread.php?t=730471.
This module is a a different one compared to the defaults given by Sony (ondemand and performance).
Later edit:
With the new .ko I've just posted, CPY Spy also reports intermediate frequencies as used. I will update the CPUSpy screenshot tomorrow after a day of running with the governor.
Click to expand...
Click to collapse
Thanks alot for this nice Governor, can i use it in my ROM?
Wolfbreak said:
Thanks alot for this nice Governor, can i use it in my ROM?
Click to expand...
Click to collapse
i want to be your first beta tester
Wolfbreak said:
Thanks alot for this nice Governor, can i use it in my ROM?
Click to expand...
Click to collapse
Me too.
Please your help.
We need your working!
thanks for this tweak
it work well on Trip's latest rom
and here a screen shot shows that diff cpu freq is in use
kinglargo said:
dude! I want to test it, how do I install it (i mean step by step for a noob like me)
Click to expand...
Click to collapse
1. download terminal emulator
2. begin new session in emulator
3. type in code on first post(install guide)
4. go to set cpu and see if it's on
5. enjoy a fast muthafuggin xperia that sleeps balls deep!
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The team:
samuel2706
Scabes24
List of donors:
(Thank you so much guys! I will need the money for renting a server, or so )
linuxis
RalleD
ketpetje
ovigt71
ric242 x2
hhstonecold
droflo2.0
Flyer.michael
iwansuryo
ovigt71
FlyHigh ROM - Features
ROM base: Flyer_Videotron_CA_2.26.1530.3 --> Android 2.3.4
Fully debranded
The ROM recognizes if you have a WiFi only Flyer or one with 3G
FlyHigh custom kernel 1.7GHz see the 2nd post
deodexed
nano
sysro/sysrw
rooted
busybox
The Partitions are being formatted with alignment (Like the zipalign for apks)
Bluetooth headset profile enabled
Enabled hardware rendering
longer wifi scan interval -> better for battery if wifi is on but not connected
unsecured boot image (for root commands via adb shell)
bigger VM Heapsize
Battery with percentage
Very smooth UI
all apk's zipaligned
openvpn support
sqlite3
New Market
Sharper and cooler font
init.d scripts support
zipalign all apk's you installed on boot
no annyoing bootsound
Ad-Free
No-Frills CPU Control
ES File Explorer
Titanium Backup
Other hacks and mods..
Removed:
Amazon MP3
Soundhound
HTC Feedback
Google Feedback
KidMode
Videotron branding
>> All about the FlyHigh custom kernel is in the 2nd post
>> You can find the changelog in the 3rd post
>> Patches, MODs and Themes are in the 4th post
>> Join me and my team on our IRC channel on Freenode
Announcements:
I am looking for team members, if you want and can contribute please contact me.
Please answer this question about the recognition script, that I can see for how many people it worked. Click me!
What you need:
Your HTC Flyer needs to be s-off and a custom recovery must be installed. Follow this topic: [GUIDE][Flyer + View] Revolutionary S-OFF & Recovery & Permaroot
Installation:
Download FlyHigh ROM and place the zip on your SD card
Boot the device in recovery by holding vol-down + power
Optional: Go to backups and restore and perform a backup
Choose the option "wipe data/factory reset" and confirm
Then choose the option "install zip from sdcard", then "choose zip from sdcard" and select the FlyHigh ROM zip file and confirm
After flashing, reboot your device
Download:
FlyHighROM-v1.2.zip
MD5: 940B4DD0EEC23CCBC044E807BC465F8E
"Broken" USB patch
Older downloads
MD5 sums:
v1.0: D5E100614971499FF76243DB6E70F391
v1.1: 15E89800099E8AC0E37B4AA2C776E5C8
NOTE: If you got stuck at the bootup screen because you flashed a corrupt zip, have a look at this post.
Please report feedback, bugs, ideas to this ROM!
FlyHigh Kernel v0.1
First: Thanks goes to LorD ClockaN he showed me everything and did the most in this kernel.
FlyHigh kernel - Features:
OC up to 1.7GHz
more frequencies
patched to kernel version 2.6.35.14
brazilianwax (smartass2) governor (default)
interactive governor
conservatice gevornor
powersafe governor
ondemand governor
userspace governor
performance governor
and more..
LorD ClockaN said:
Governors for NOOBS:
interactive - Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
smartass - Is an improved version of interactive governor
ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.
brazilianwax - Very agresive version of smartass
Click to expand...
Click to collapse
Available frequencies [Hz]:
245000, 422400, 499200, 576000, 652800, 729600, 806400, 883200, 960000, 1036800, 1113600, 1190400, 1267200, 1344000, 1420800, 1497600, 1574400, 1651200, 1728000
git
Changelog:
21. August - v1.2:
updated es file explorer
updated titanium
updated youtube
updated maps
updated Twitter
updated Superuser app and binary
removed “missing simcard” icon for wifi flyers
removed “no signal” icon for wifi flyers
removed wifi tether app for wifi flyers
removed network options in quick settings for wifi flyers
added openvpn feature
added sqlite3
Added No-Frills CPU Control
write an update for blue-panda script
FlyHigh custom kernel
OC up to 1.7GHz
more frequencies
patched to kernel version 2.6.35.14
brazilianwax (smartass2) governor (default)
interactive governor
conservatice gevornor
powersafe governor
ondemand governor
userspace governor
performance governor
and more..
07. August - v1.1:
Rebased ROM on Flyer_Videotron_CA_2.26.1530.3 --> Android 2.3.4
-> Fully debranded
--> Added all CIDs
--> Added all apns
--> Edited build.prop
--> Removed lots of bloatware
--> And other things, I forgot
05. August v1.0:
Initial release
MODs, patches, themes and signature banners:
Patches:
Patch to fix the USB mount issue: fix_usb.zip
Patch to remove the "missing simcard" icon for the WiFi version: remove_missing_simcard_icon.zip
Patch to enable gsm phone calls and text messaging: enable_gsm_phone_calls.zip
Old Market: old_market.zip
Stock fonts: stock_fonts.zip
Stock battery: stock_battery.zip
Signature banners:
If you like FlyHigh ROM, you can add on of this banners to you signature. Just copy the following code and paste it in you USER CP under "Edit Signature":
HTML:
[URL="http://forum.xda-developers.com/showthread.php?t=1205050"][IMG]http://www.andeets.com/signature_user.png[/IMG][/URL]
wow!!! Promising! Will definitely try this weekend
Sent from my HTC Flyer P512 using Tapatalk
looks promising but you should put [Flyer] in the title just so its clear its for Flyer series devices vs the view
does it have a voice call support? can't see in description!
3g sip call
Hello,
Look nice. Any idea if 3g SIP is enabled? (Stock SIP app allows only WiFi calls) I will probably give a try this weekend!
I will try this. It seems not ready to download yet.
Sent from my HTC Flyer P510e using XDA Premium App
The ROM is now uploaded!
You can find the download link in the first post.
Have fun
burry said:
looks promising but you should put [Flyer] in the title just so its clear its for Flyer series devices vs the view
Click to expand...
Click to collapse
Good idea, did that
ovigt71 said:
does it have a voice call support? can't see in description!
Click to expand...
Click to collapse
Yes it has.
Will you please let me know how long the first boot takes? I've been stuck at the white screen with the HTC logo for over 10 minutes now... At first the buttons were dark, now they are on... But still stuck at the logo screen...
10 mins are a bit long...
Have you performed a wipe?
What device do you have? Wifi/3g?
nickiberli said:
10 mins are a bit long...
Have you performed a wipe?
What device do you have? Wifi/3g?
Click to expand...
Click to collapse
Yes, I did full wipe in recovery, then just flashed the rom. I have a 3g Flyer. Tried i00's rom before yours, and all was fine. A bit lost now what to do next.
Did you see the bootanimation?
Hi,
Do you think I can run the HebFix 0.92 on this Rom and fix the Left to right issue for Hebrew and Arabic ?
K.
koko_f said:
Hi,
Do you think I can run the HebFix 0.92 on this Rom and fix the Left to right issue for Hebrew and Arabic ?
K.
Click to expand...
Click to collapse
Hm I don't know this Fix. Can you provide me a link to an english site?
nickiberli said:
Did you see the bootanimation?
Click to expand...
Click to collapse
The first part of the boot with the vibration when the device turned on after the flash was fine. No, I don't think I got to the bootanimation stage...
Hm ok.. would you like to join this irc channel that we can debug this issue?: http://webchat.freenode.net/?channels=NickiB
Does anyone else have this problem? Has anyone flashed it successfully?
romanas2007 said:
The first part of the boot with the vibration when the device turned on after the flash was fine. No, I don't think I got to the bootanimation stage...
Click to expand...
Click to collapse
Damn. Just check the MD5 sum, and it's not what you have in you download post. So, now it's clear why I can't get it boot up. Obviously, a bad download. Is there a way to get the device to the bootloader now?
Hello guys,
Introduction
I've managed to compile the interactive governor (supported by SetCPU!) for X10 2.3.3 GB kernel (2.6.29-00054-g5f01537).
It was difficult to find a source that worked. This module is a compiled version of the code from here.
Screenshot. It oscillates between 245Mhz and 384Mhz while playing music!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installing
After unpacking the zip into the folder of your choice, execute the following commands:
Code:
adb push "cpufreq_interactive.ko" /sdcard/cpufreq_interactive.ko
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/lib/modules
cp /sdcard/cpufreq_interactive.ko .
insmod cpufreq_interactive.ko
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Then you can fire up SetCPU and see that it actually detects the interactive governor and frequency changes. Reboot will reset the settings - you will need to modify your startup scripts to activate it on each reboot, or use SetCPU for this.
Settings
Although the initial interactive module only supported one setting, the min_sample_time, this one supports an additional one:
Code:
# pwd
pwd
/sys/devices/system/cpu/cpu0/cpufreq/interactive
# ls
ls
go_maxspeed_load
min_sample_time
#
which is go_maxspeed_load.
SetCPU only supports the initial setting that the module came with, the min_sample_time. By default, it is configured to 80000 here, but 50000 could also be a good value.
The settings default values and explanations:
Code:
/* Go to max speed when CPU load at or above this value. */
#define DEFAULT_GO_MAXSPEED_LOAD 85
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
#define DEFAULT_MIN_SAMPLE_TIME 80000;
To modify them, just echo the desired value into the sysfs files:
Code:
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
Download
Use it at your own risk!
cpufreq_interactive.zip
So glad you have got this!!!!
Loved it in DooMKernel
going to try on TripNMiUI now!!!
Regards
Really great dude! I can't wait to use it!
Sent from my X10i using EWJet GB and XDA-App
Omg!!! Another booster to my x10.... Thanks...
Sent from my X10i using XDA Premium App
Oh, can't believe it. You did it. Another governor. GREAT!
Excellent work. Got it installed on WB's 3.9 and cpu master recognized the new governor. Will test throughout the day and report back any issues. Thanks again for your great work.
Edit: Reboot looses the governor due to tweaks in install-recovery.sh, will continue to test and find a work around.
Edit again: Added insmod & echo line in install-recovery.sh and interactive governor can be selected again without affecting Z's 'OC' tweak. Still need further testing though.
Really hope Z and wolf adds this to their roms.
Sent from my X10i using XDA Premium App
I will but im busy at work now again. Vacation is over
Sent from my X10i using XDA App
Thanks viulian, I included it in EWJET rom! It's awesome! Nice work!
interactive governor \o/
it was tricky to make it start on boot but i managed to do it, now time to test it
I will but im busy at work now again. Vacation is over
Click to expand...
Click to collapse
Hah, you have vacation like aZuZu lol. How about it?
Nice governor, should try this.
EDIT: can't install. Error: cannot stat 'cpufreq_interactive.ko': no such file or directory.
I copied that file to sdcard.
silveraero said:
EDIT: can't install. Error: cannot stat 'cpufreq_interactive.ko': no such file or directory.
I copied that file to sdcard.
Click to expand...
Click to collapse
Make sure the file is really where it has to be - the error says that is not found.
Yeah I know the error. I copied that file to sdcard and C:\Windows\ (where I put adb in) too but the error keeps appearing.
EDIT: Can I do this?
- Copy cpufred_interactive.ko to system\lib\modules
- Insert "interactive" to sys\device\system\cpu\cpu0\cpufred\scaling_gorvenor
I think this will need one more step to interact the cpufred_interactive.ko with the scaling_governor but I don't know how
Lockon Stratos said:
Excellent work. Got it installed on WB's 3.9 and cpu master recognized the new governor. Will test throughout the day and report back any issues. Thanks again for your great work.
Edit: Reboot looses the governor due to tweaks in install-recovery.sh, will continue to test and find a work around.
Edit again: Added insmod & echo line in install-recovery.sh and interactive governor can be selected again without affecting Z's 'OC' tweak. Still need further testing though.
Click to expand...
Click to collapse
Can u please give the commands on how to do this?
Extract cpufreq_interactive.ko to system/lib/modules and then add following to install-recovery.sh
#modules & thanks viulin
insmod /system/lib/modules/cpufreq_interactive.ko
#cpufreq governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
Installed on stock 2.3.3, and get incredible battery life with great preformance, much more usable than smartass one. Thanks for the module!
Looking forward to see more settings available for that governor.
first time seen the other frequencies being used. thanks.
btw, is there any limitation of not going to deep sleep while charging?
can any body explain me how to do it plzzzzzzzzzzzzzzzzzzzzzz
awesome...........,
tayub said:
can any body explain me how to do it plzzzzzzzzzzzzzzzzzzzzzz
Click to expand...
Click to collapse
the ans is rite here...as WB mention
Wolfbreak said:
Extract cpufreq_interactive.ko to system/lib/modules and then add following to install-recovery.sh
#modules & thanks viulin
insmod /system/lib/modules/cpufreq_interactive.ko
#cpufreq governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
Click to expand...
Click to collapse
the install-recovery.sh is at system/etc.
Anyway...is it possible to use smartass AND this together?
[SCRIPTS][TWEAKS] Init.Doh & Gekoh | Battery & Performance | 0.4.7lb | 3/22/12
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits: Pikachu01, geko95gek, crypted, droidphile, User FeedbackFeatures:
Pikachu01's ThunderBolt! scripts (v2.6.1). (Also extracts the bolt_scripts onto the SDCARD)
80MB LMK Tweaks (v6 SuperCharger Memory Tweaks)
Crypted's GPS.conf for Quick Fixes
Ad Blocking Hosts file (5 of the best merged together)
Undervolted - Safe -50mV on most
Easy to tweak with ExTweaks
GPU Rendered UI Enabled
AFTR enabled, Sched_mc disabled. Siyah logger disabled. Custom Brightness, Touch Sensitivity Parameters, Static Bus Frequencies, Custom Deepsleep Levels, Dynamic hotplug, Logging disabled, Phone / Memory / SDCard / WIFI/3G/4G Tweaks, Hot Plug Thresholds, Sampling Interval & Frequency, Gtalk Wifi Only = False.
CPU set to: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Battery Version:
In this version you will be sacrificing some cpu & gpu performance for a decent amount of battery. Hotplugging checks at a slower rate for battery, Ondemand is tweaked for battery instead of speed. Minimum brightness levels are set lower, our #1 Battery Drainer.
100-1000Mhz
Ondemand/sio
GPU set to: 100/160/200Mhz | 800/850/900mV
Hotplug/Governor Tweaked for Battery
Battery Lite Version:
Experimental Battery future version. No LMK Tweaks, Less ThunderBolt! Tweaks, No Zip Align. Supports Entropy 3/07/12+. Trying to rule out any conflicts with this version.
200-1000Mhz
Siyah: Ondemand/sio | Entropy: Ondemand/noop
GPU set to: 66/133/200Mhz | 800/850/900mV
Hotplug/Governor Tweaked for Battery
Performance Version:
This version you should be noticing a difference in benchmarks/responsiveness. The battery drain should be a little more than stock because of the overclocking. Hotplugging is set to Siyah Defaults, and lulzactive is tweaked for performance/battery.
100-1400Mhz
lulzactive/sio
GPU set to: 100/200/400Mhz | 800/900/1150mV
Hotplug/Governor Mostly at Stock/ThunderBolt!
Requirements:
Most of the Features will not work in ICS - Backup First
SiyahKernel v2.6.13+ | Entropy v3/07+
ExTweaks Installed - If you wish to tweak init.doh
Files installed:
/system/etc/init.d/
S01logger - Disables Android Logging
S02sysctl
S70darky_zipalign - Zipalign
S91SuperCharger - Memory Tweaks
S98CFS - ThunderBolt! Kernel Tweaks
S98system_tweak - Most ThunderBolt! Tweaks
S92init_doh - CPU/Misc Tweaks
/system/etc/
gps.conf - GPS Tweaks
hosts - AdBlocking
SuperChargerAdj - LMK Memory Tweaks
SuperChargerMinfree - LMK Memory Tweaks
SuplRootCert - GPS Cert.
/system/
default.prop - LMK Memory Tweaks
/data/.siyah/
default.profile - Most of CPU/GPU Tweaks (ExTweak Profile)
Init.d scripts deleted each install:
Files Listed Above (Overwritten)
S98gekoh
s91voltctrl
Installation:
Download the latest zip below
Do a Backup in Recovery Mode
Flash Init.Doh in CWM (Recovery)
Reboot
The following steps are not required
If you now have 2 zipaligns scripts, please delete one of them (Keeping the one listed above)
Download Script Manager
Open Script Manager, Scroll down to the "bolt_scripts" on your sdcard
Open "sqlite_optimize", press the Skull/Bones icon "Su" and "Save"
Press Run, this will take a minute or two. Ignore the Errors.
It is finished when you see "Exit code 0", Click Close.
Run this script once once in a while (Whenever you have installed a few apps)
Updating/Changing Version: Just flash the latest zip and all the files are overwritten.
Uninstall: Download the file (uninstall_doh.zip) and flash it in CWM.
Note:
If you have any issues, try clearing your cache/dalvik
Give this script some time to work. At least one full batteries worth.
Some people give up after one SoD, just adjust the voltages up a little. Could also be kernel related (Read your kernels thread for latest issues)
This script changes at least once a week, so let me know if you run into any issues.
General Battery Saving Tips: - Thanks AndroidGX
Never use Tasks killer things or related.
Settings > Display > Touch key light duration : "OFF"
Settings > Display > Auto adjust screen power : [TICK]
Settings > Applications > Samsung Apps > "OFF"
Settings > Privacy > Back up my data > [UNTICK]
Settings > Location and security > Use wireless networks : [UNTICK]
Settings > Wireless and network > Wi-Fi settings > (press Menu button) > Advanced > Wi-Fi sleep policy > "Never" or "When screen turns off"
Deactivate auto sync for accounts
Deactivate GPS (and wifi gps)
Set brightness level to automatic/low
Disable motion
Changelog:
v0.4.6lb: Supports Entropy DD 3/07/12+. Good chunk of ThunderBolt LMK & Performance tweaks removed. No Zip Align. GPU @ 33/133/200. CPU now at 200-1000Mhz (To support DD). ro.telephony.call_ring.delay set to 1000. Can be flashed on top of 0.4.6b, but it will not delete LMK/Zipalign.
[*]v0.4.6b: Upped Hotplugging a little. Disabled Static Bus. Changed back/updated to Crypted GPS v3.1 No-SSL. Smooth Scaling Enabled 2/2/2. GPU Thresholds changed to 90/50/90/50. Wifi/Phone Experiments added to bottom of S92init_doh. Should be a faster release without hopefully any additional battery drain.
[*]v0.4.5b: Lowered Hotplugging values. They were fairly ridiculous. Disabled sched_mc, redundant with hotplugging on. Freq_cpu1on back at 600hz. GPU Thresholds changed to 85/70/85/65 (Thanks droidphile). GPUSTAYCOUNT=2 on all. Upped ondemand/down_differential to 10.
[*]v0.4.4b: Changed freq_cpu1on to 800Mhz. Changed GPS Quick Fix to H3llstorm's. Updated Ad Blocking Hosts file. Uncommented Wifi/Phone Experiments in s92init_doh.
[*]v0.4.3: 2.6.13 Siyah Required. Moved most of the tweaks in init_doh to default.profile for the new 2.6.13 SiyahKernel. This will allow you to edit most of this in ExTweaks app. Added 80MB LMK v6 SuperCharger memory tweaks by zepp & Pika. Cleaned out most commented lines in system_tweak, and a couple AOSP issues. Updated ThunderBolt! scripts. Changed hotplug values / GPU steps for hopefully better battery. Changed scheduler to SIO. Choosing a lower minimum brightness for better battery. Commented out Experimental Tweaks in init_doh script.
[*]v0.4.2b: Few build.prop tweaks again, these from ICScrewD. You will see them at the bottom of init_doh under "Latest Experiments". Could cause AOSP issues. Also extracting bolt_scripts to both /emmc/ and /sdcard/, hopefully fixing some peoples complaints about it missing. Overall, just a small update.
[*]v0.4.1b: Deep Sleep Freq set back to 100-800 @ 400mhz bus. If .4.0 is working fine for you, no need to update.
Q: Where is my init.d folder? A: On your main storage. "/system/etc/init.d/". Find it with File Manager
Q: I want to change stuff like voltages/governor, but how? A: Browse to the init.d folder, open s99init_doh with a text editor such as Jota Text Editor. Trial and error from here.
Q: Cool story bro, but I can't edit/save the file. Wth? A: Calm down. The directory is read only. In file manager go to the directory, then open your menu -> more -> settings, scroll to the bottom and check root and mount. When u are finished, unchecked those two.
Q: How do I boot into recovery (CWM) mode? A: Through your power menu, through the CWM app on your phone, or: With the phone off, Vol-Up,Vol-Down, Power Button - Hold down at same time till your in recovery
Q: I tried hitting my power button recently, but the screen never came on (SOD). Whats up? A: Hard to say exactly, but lets start pumping the CPU voltages up. 25mV at a time. If it continues even at stock voltages, long-press power to reset the phone and then pull /proc/last_kmsg and let me know!A lot of people can push their voltages lower, I can too. Trying to make this script universal for us siyah people. Don't be afraid to increase/decrease your CPU voltages 25mV at a time, never go higher than stock in my opinion.
Undervolting is pretty much a placebo with your screen on. At most people save is 5% more battery with extreme undervolting. If you get one reboot, you may have drained more power than you have saved. If you want to save battery, turn your brightness low and choose a governor that stays away from the max freq the most. Your phone will also save a little more juice if you can handle 100Mhz as lowest state.
Stock CPU Voltages: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Stock GPU Voltages: [email protected] [email protected]
Backup your init.d folder if you want to be safe, this will overwrite all the files listed above. Also if you have a voltage control service, odds are that this won't work (at least the cpu/gpu/voltage tweaks).Go give thanks to: (Click on their names below)
Pikachu01 - 99% of the scripts
geko95gek - CPU/GPU/Voltage Settings, Tons of user feedback
Armisael - Misc Tweaks, User Feedback
stevehkim - Misc Tweaks, User Feedback
GadgetCheck - CheckROM, Misc Tweaks
droidphile - Amazing reference/guide
bedalus - Another Amazing Reference
crypted - GPS Quick Fix
H3llstorm - GPS Quick Fix
I9100 & SGH-I777 Community
To anyone I forgot: Thank you for all your hard workSiyahKernel Only: Download: Battery 0.4.6b | Battery Lite 0.4.7lb | Performance 0.4.3p
Credits: geko95gek & User FeedbackUNIVERSAL | Backup First | Download At BottomFeatures:
Undervolted
200-1200MHz, Conservative/Noop.
GPU set to: 114 267Mhz | 800000 950000mV
[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Init.d scripts installed:
S98gekoh
Init.d scripts deleted each install:
S98gekoh
s98init_doh
s99init_doh
s91voltctrl
Bottom line: This should increase your battery-life & performanceInstallation:
Download the latest zip below
Do a Backup in Recovery Mode
Flash Gekoh in CWM (Recovery)
Reboot
Reboot AGAIN - Important - Settings don't seem to stick first boot
Changelog:
v0.1b: Delete S99init_doh on install
v0.1a: Initial Release
Go give thanks to: (Click on their names below)
geko95gek - CPU/GPU/Voltage Settings, Tons of user feedback
To anyone I forgot: Thank you for all your hard workEntropy/Siyah: Download Gekoh v0.1bPLEASE REPLY IF YOU HAVE ANY ISSUES | THANK YOU FOR YOUR FEEDBACK!
Man I would like to try this. Problem is that I cannot find the init. d folder!
Sent from my GT-I9100 using xda premium
Was this tested on DD's kernels?
---------- Post added at 08:50 PM ---------- Previous post was at 08:48 PM ----------
geomax45 said:
Man I would like to try this. Problem is that I cannot find the init. d folder!
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
/system/etc/init.d
geomax45 said:
Man I would like to try this. Problem is that I cannot find the init. d folder!
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
All you need to do is flash this in Recovery mode. CWM (recovery) comes with the custom kernels available in this forum.
cwc should we or can we merge our scripts. mine has a little overclock and uv but everything else is almost identical.
Sent from my SGH-I777 using xda premium
rav4kar said:
Was this tested on DD's kernels?
---------- Post added at 08:50 PM ---------- Previous post was at 08:48 PM ----------
/system/etc/init.d
Click to expand...
Click to collapse
Don't Have it there. I have init. goldfish. so.
Sent from my GT-I9100 using xda premium
cwc3 said:
All you need to do is flash this in Recovery mode. CWM (recovery) comes with the custom kernels our phone has.
Click to expand...
Click to collapse
Perfecto! I will give this a go.
Sent from my GT-I9100 using xda premium
stevehkim said:
cwc should we or can we merge our scripts. mine has a little overclock and uv but everything else is almost identical.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
I don't see why not. You could actually just download the zip, and place your files in the correct directories. Maybe rename the files so they are the same. That would make your files cwm flash-able.
rav4kar said:
Was this tested on DD's kernels?
Click to expand...
Click to collapse
Will you be my guinea pig? There could be problems just with the bolt_siyah file.
Using siyah This messed up my phone it completely killed my status bar on icescrewed
Sent from my SGH-I777 using Tapatalk
justin860 said:
Using siyah This messed up my phone it completely killed my status bar on icescrewed
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
Odd. How could these scripts mess with your framework?
Sent from my SGH-I777 using Tapatalk
cwc3 said:
Will you be my guinea pig? There could be problems just with the bolt_siyah file.
Click to expand...
Click to collapse
cwc, not at least now, as I'm researching some drain issues with DD 01/30 currently.
akira02rex said:
Odd. How could these scripts mess with your framework?
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
No idea but it did
Sent from my SGH-I777 using Tapatalk
justin860 said:
Using siyah This messed up my phone it completely killed my status bar on icescrewed
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
Strange, I am using both. Clean some cache while your at it.
Alright, so what are the exact steps for installing this?
Copy to SD card, reboot into CWM, flash, reboot?
I tried several times and even wiped dalvik/cache before installing, each time it failed to boot past the exclamation point. I had to restore from backup.
Running Siyah 2.6.11/CM7 Nightly.
Advice?
Schultz_91 said:
Alright, so what are the exact steps for installing this?
Copy to SD card, reboot into CWM, flash, reboot?
I tried several times and even wiped dalvik/cache before installing, each time it failed to boot past the exclamation point. I had to restore from backup.
Running Siyah 2.6.11/CM7 Nightly.
Advice?
Click to expand...
Click to collapse
Oh no. I will look into some cm7 compatibility issues, or maybe I threw in too much. I will make a couple versions tomorrow. One at least without voltage changes.
It work. I saw the volt change in setcpu, btw , i can't find "Open Script Manager, Scroll down to the "bolt_scripts" on your sdcard" , i don't have "bolt_scripts" on SDcard
justbenice said:
It work. I saw the volt change in setcpu, btw , i can't find "Open Script Manager, Scroll down to the "bolt_scripts" on your sdcard" , i don't have "bolt_scripts" on SDcard
Click to expand...
Click to collapse
What hes saying is you have to get a program called script manager from the market its free. The bolt scripts is inside the init.doh zip its in a folder labeled "sdcard" but I think that we don't even need to do that part now. I think all we need to do is flash this in cwm thats it. By the way for any one wondering. This is usable on the I9100 roms too. I'm running siyah 2.6.11 kernel with the Omega rom and it works fine but I will say it did take quite a while to start on first boot. Thanks cwc3!! Oh and homer rules!!
cwc3 said:
Strange, I am using both. Clean some cache while your at it.
Click to expand...
Click to collapse
Strangely it did the same thing to mine - killed the status bar.
Once I rebooted it returned, but I just decided to wipe the cache....just in case.
Weird...
I had problems too. Never got past the boot screen had to restore too . . .
I introduce to you
The EXODUS Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This kernel is ONLY for the USA version of the Samsung Galaxy Player 5.0 (YP-G70).
PLEASE read everything before flashing.
First off, this kernel based off of Entropy512’s Daily Driver kernel sources.
Many thanks to him for his sources and work in developing his kernel.
Entropy512's Daily Driver
I’ve picked up on development and have added, tweaked and removed a bunch of features. My ultimate goal is to make a much more comprehensive gingerbread kernel for this device.
Current features so far –
All from Entropy’s 3/5/12 build (see below)
Swap is ENABLED (see release notes)
Loads of new governors (see below for description)
Added Smartassv2, Interactive, InteractiveX, lulzactive
Added SIO (Simple I/O) Scheduler
Removed Userspace governor – nobody ever uses it.
Ondemand is the new default governor
Lowered minimum allowable screen brightness from 30 PWM to 20 PWM
Updated LZO compression
Patched ondemand governor to make it less jumpy (may have prevented ondemand from going into deep sleep, will look into this further)
Tweaked SmartassV2 governor – set 1Ghz as “Ideal” frequency
1.2 Ghz overclock will be included
Features in the works –
V(R), BFQ schedulers
Ramzswap or something similar
Testing 1.33ghz overclock
Look at updating CWM
Look into using scripts to change governor settings
Features included from Entropy’s Daily Driver –
• coolbho3k's Samsung Sleep of Death patch - allows stable use of screen-off profiles with limits below 800 MHz in SetCPU
• netarchy's conservative governor tuning patch - Reduces the polling interval, allowing conservative to ramp up/down faster. Over in I9100 land they're calling this "lionheart" and it's all the rage. (It makes me sad when people won't accept a governor until it's renamed and hyped up way beyond what it is...) As an example, a GSII would take 0.4 seconds to ramp from 200 to 1200 MHz with the default conservative governor, it can go all the way in 0.1 second with this patch.
• conservative set to default governor - CHANGED
• jhash3
• TinyRCU
• CIFS and Tunneling modules included
• ext4 partition mounting support in kernel and initramfs thanks to rumirand - ghetto Lagfix baby!
• CWM 5.0.2.7 based recovery - Mostly tested, seems working, but may have a few bugs still to work out, rumirand helped a lot on this one
• Insecure kernel - gives you automatic root in ADB shells
• Per-file fsync() disable capability - see "dangerous features" documentation on Entropy’s page
• Standard bootanimation (/system/media/bootanimation.zip) support
• Charginghacks - faster charging at low battery, slightly slower near the end, overall faster charging while trying to minimize battery stress
• CPU core voltage control - use SetCPU or a similar app
• CPU overclock to 1.2 GHz - use SetCPU or a similar app
Feature Explanations -
SmartassV2 –
Version 2 of the original smartass governor from Erasmux. Another favorite for many a people. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.
Kernel is currently set to use 1.0ghz as the ideal frequency, and BLANK for sleep frequency. I also tweaked it to ramp up/down in 100mhz steps. I’m currently still testing these settings, so they may change as needed.
Taken from - http://forum.xda-developers.com/showthread.php?t=1663809
Click to expand...
Click to collapse
Interactive –
Much like the OnDemand governor, the Interactive governor dynamically scales CPU clockspeed in response to the workload placed on the CPU by the user. This is where the similarities end. Interactive is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency.
Unlike OnDemand, which you'll recall scales clockspeed in the context of a work queue, Interactive scales the clockspeed over the course of a timer set arbitrarily by the kernel developer. In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. This can eliminate the frequency bouncing discussed in the OnDemand section. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. This is another pro-battery life benefit of Interactive.
However, because Interactive is permitted to spend more time at maximum frequency than OnDemand (for device performance reasons), the battery-saving benefits discussed above are effectively negated. Long story short, Interactive offers better performance than OnDemand (some say the best performance of any governor) and negligibly different battery life.
Interactive also makes the assumption that a user turning the screen on will shortly be followed by the user interacting with some application on their device. Because of this, screen on triggers a ramp to maximum clockspeed, followed by the timer behavior described above.
Taken from - http://forum.xda-developers.com/showthread.php?t=1663809
Click to expand...
Click to collapse
InteractiveX –
Created by kernel developer "Imoseyon," the InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to better balance battery vs. performance. The InteractiveX governor's defining feature, however, is that it locks the CPU frequency to the user's lowest defined speed when the screen is off.
Taken from - http://forum.xda-developers.com/showthread.php?t=1663809
Click to expand...
Click to collapse
Lulzactive –
Basically interactive governor with added smartass bits and variable (as opposed to fixed amout) frequency scaling, based on currently occuring cpu loads. Has, like smartass, a sleep profile built-in. See link for details on exact scaling.
Lulzactive also has a control app provided by tegrak which is free to download on the market.
See link - https://market.android.com/details?id=com.tegrak.lulzactive
Taken from - http://forum.xda-developers.com/showthread.php?t=1663809
Click to expand...
Click to collapse
Release Notes –
R1- Initial release
Issues - ondemand governor causes device to reboot on sleep. Change the governor and theres no issue. Already fixed for next release.
Kernel seems mostly stable, a few small issues. Please confirm DEEP SLEEP is working on the new governors with your device using cpuspy or something similar. I've been having recovery loop issues on my device over the past few days so I haven't been able to test it 110%.
Governors and schedulers can be changed with SETCPU or a similar app.
Swap is now supported. You can enable swapfiles by using swapper2 or ramexpander. Please use a swapfile and do not make a swap partition unless you know what you're doing. Swap WILL put more wear on wherever you decide to put your swapfile due to increased read/write. I personally don’t think this is a problem, even using a swapfile every day for years you’ll be moving on to a new device long before you wear down the flash memory to the point of failure. If you have an issue with that, don’t enable it. I’ve been using my device with a 128mb swapfile, swappiness at 60-80 and minfrees of 6,8,16,24,32,48 (pretty mild). By taking advantage of the swap you can allow android to keep more programs running and improve multitasking. Also note that putting your swap partition on a slow SD card will slow the system down.
If people are having positive reactions to the swap, I’ll considering making it a more integrated part of the kernel.
Backlight is now supported to go down to 20PWM (which is the level it dims to when below 5% battery). Not too important , but good for people like myself who like watching movies in the dark.
InteractiveX doesn’t seem too responsive, but might work well for people concerned with battery life. It may or may not stay in the build ultimately.
This build DOES have mild overclocking enabled, I WILL NOT be held responsible for any damages it may cause. Chances are very, very slim, but just a disclaimer.
Feedback is very welcomed. If there are any other features or issues you’d like to see dealt with, please post!
FLASHING --
EXODUS R1 is CWM flashable. It can be flashed on top of Entropy's DD Kernel with no problem.
If you don't have Entropy's kernel you can either download it and upgrade to EXODUS, or download the EXODUS file, extract the zImage and flash with heimdall using
Code:
heimdall flash --kernel "C:\path\to\kernel"
Your device must be in download mode for this method (vol down+power), and the SGP5 is only supported on the most recent version of heimdall.
Download the file and place it on your external SD card (/external-sd/).
Power off your device and hold volume up + power (at the same time) to enter CWM.
Select install zip from SD card => choose zip from SD card => EXODUS_Rx.zip => yes
CWM ZIP HAS BEEN PULLED DOWN WHILE I WORK OUT A BUG,
PLEASE USE THE HEIMDALL IMAGE.
CWM zip will be back as soon as the problem is remedied.
And of course, my GIT and sources are located HERE
exodus454 said:
I introduce to you
The EXODUS Kernel
This kernel is ONLY for the USA version of the Samsung Galaxy Player 5.0 (YP-G70).
PLEASE read everything before flashing.
First off, this kernel based off of Entropy512’s Daily Driver kernel sources.
Many thanks to him for his sources and work in developing his kernel.
Entropy512's Daily Driver
I’ve picked up on development and have added, tweaked and removed a bunch of features. My ultimate goal is to make a much more comprehensive gingerbread kernel for this device.
Current features so far –
All from Entropy’s 3/5/12 build (see below)
Swap is ENABLED (see release notes)
Loads of new governors (see below for description)
Added Smartassv2, Interactive, InteractiveX, lulzactive
Added SIO (Simple I/O) Scheduler
Removed Userspace governor – nobody ever uses it.
Ondemand is the new default governor
Lowered minimum allowable screen brightness from 30 PWM to 20 PWM
Updated LZO compression
Patched ondemand governor to make it less jumpy (may have prevented ondemand from going into deep sleep, will look into this further)
Tweaked SmartassV2 governor – set 1Ghz as “Ideal” frequency
1.2 Ghz overclock will be included
Features in the works –
V(R), BFQ schedulers
Ramzswap or something similar
Testing 1.33ghz overclock
Look at updating CWM
Look into using scripts to change governor settings
Features included from Entropy’s Daily Driver –
• coolbho3k's Samsung Sleep of Death patch - allows stable use of screen-off profiles with limits below 800 MHz in SetCPU
• netarchy's conservative governor tuning patch - Reduces the polling interval, allowing conservative to ramp up/down faster. Over in I9100 land they're calling this "lionheart" and it's all the rage. (It makes me sad when people won't accept a governor until it's renamed and hyped up way beyond what it is...) As an example, a GSII would take 0.4 seconds to ramp from 200 to 1200 MHz with the default conservative governor, it can go all the way in 0.1 second with this patch.
• conservative set to default governor - CHANGED
• jhash3
• TinyRCU
• CIFS and Tunneling modules included
• ext4 partition mounting support in kernel and initramfs thanks to rumirand - ghetto Lagfix baby!
• CWM 5.0.2.7 based recovery - Mostly tested, seems working, but may have a few bugs still to work out, rumirand helped a lot on this one
• Insecure kernel - gives you automatic root in ADB shells
• Per-file fsync() disable capability - see "dangerous features" documentation on Entropy’s page
• Standard bootanimation (/system/media/bootanimation.zip) support
• Charginghacks - faster charging at low battery, slightly slower near the end, overall faster charging while trying to minimize battery stress
• CPU core voltage control - use SetCPU or a similar app
• CPU overclock to 1.2 GHz - use SetCPU or a similar app
Feature Explanations -
Release Notes –
R1- Initial release
Kernel seems mostly stable, a few small issues. Please confirm DEEP SLEEP is working on the new governors with your device using cpuspy or something similar. I've been having recovery loop issues on my device over the past few days so I haven't been able to test it 110%.
Governors and schedulers can be changed with SETCPU or a similar app.
Swap is now supported. You can enable swapfiles by using swapper2 or ramexpander. Please use a swapfile and do not make a swap partition unless you know what you're doing. Swap WILL put more wear on wherever you decide to put your swapfile due to increased read/write. I personally don’t think this is a problem, even using a swapfile every day for years you’ll be moving on to a new device long before you wear down the flash memory to the point of failure. If you have an issue with that, don’t enable it. I’ve been using my device with a 128mb swapfile, swappiness at 60-80 and minfrees of 6,8,16,24,32,48 (pretty mild). By taking advantage of the swap you can allow android to keep more programs running and improve multitasking. Also note that putting your swap partition on a slow SD card will slow the system down.
If people are having positive reactions to the swap, I’ll considering making it a more integrated part of the kernel.
Backlight is now supported to go down to 20PWM (which is the level it dims to when below 5% battery). Not too important , but good for people like myself who like watching movies in the dark.
InteractiveX doesn’t seem too responsive, but might work well for people concerned with battery life. It may or may not stay in the build ultimately.
This build DOES have mild overclocking enabled, I WILL NOT be held responsible for any damages it may cause. Chances are very, very slim, but just a disclaimer.
Feedback is very welcomed. If there are any other features or issues you’d like to see dealt with, please post!
FLASHING --
EXODUS R1 is CWM flashable. It can be flashed on top of Entropy's DD Kernel with no problem.
If you don't have Entropy's kernel you can either download it and upgrade to EXODUS, or download the EXODUS file, extract the zImage and flash with heimdall using
Code:
heimdall flash --kernel "C:\path\to\kernel"
Your device must be in download mode for this method (vol down+power), and the SGP5 is only supported on the most recent version of heimdall.
Download the file and place it on your external SD card (/external-sd/).
Power off your device and hold volume up + power (at the same time) to enter CWM.
Select install zip from SD card => choose zip from SD card => EXODUS_Rx.zip => yes
And of course, my GIT and sources are located HERE
Click to expand...
Click to collapse
I have tried to flash it, but i get recovery boot loops
cleve321 said:
I have tried to flash it, but i get recovery boot loops
Click to expand...
Click to collapse
Really? That's strange. Do you have a backup you can restore?
I'm pulling the CWM flashable zip until I can sort that out, heimdall zImage will be in it's place. Try restoring if you have a backup and reflashing with heimdall.
Heimdall is available here - http://www.glassechidna.com.au/products/heimdall/
exodus454 said:
Really? That's strange. Do you have a backup you can restore?
I'm pulling the CWM flashable zip until I can sort that out, heimdall zImage will be in it's place. Try restoring if you have a backup and reflashing with heimdall.
Heimdall is available here - http://www.glassechidna.com.au/products/heimdall/
Click to expand...
Click to collapse
Hmmm nevermind, I flashed the kernal, then a rom and now it boots
Not trying to be rude or anything, but you should try working on a 3.x kernel. Just saying
Sent from my YP-G70 using xda app-developers app
EcHoFiiVe said:
Not trying to be rude or anything, but you should try working on a 3.x kernel. Just saying
Sent from my YP-G70 using xda app-developers app
Click to expand...
Click to collapse
I absolutely will once it's out of super-alpha, I was working on this before any of the recent breakthroughs with it.
Wow that does look pretty nice.
CRAP, I soft bricked the GP5.0 when I tried to flash the kernel with Heimdall.
I used WinXP PC to flash. Put GP5.0 into Download Mode and hooked up USB. Heimdall detected device ("heimdall detect" command). I typed in the commands and flashing started - then it gave several "error -9" then stopped.
When I unplugged and replugged the device, it was no longer detected. When I pressed the POWER button to switch it off from Download Mode, it restarted with the dreaded "Phone - Yellow triangle - PC" icon. Cannot get into anything (no recovery, no Download Mode). Cannot even switch it off (POWER button -> screen goes black for a while then comes back on with that icon).
Thank goodness I bought the USB jig (their website said it was tested with the GP5.0). The guide said you have to take the battery out first but you cannot do this on the GP5.0. I just emailed the seller / builder of the jig for advice. I hope this USB jib gets me out of trouble!
it is still in download mode except this time it is forced mode so just flash a new kernel through odin and you should be fine
slim_thumb said:
CRAP, I soft bricked the GP5.0 when I tried to flash the kernel with Heimdall.
I used WinXP PC to flash. Put GP5.0 into Download Mode and hooked up USB. Heimdall detected device ("heimdall detect" command). I typed in the commands and flashing started - then it gave several "error -9" then stopped.
When I unplugged and replugged the device, it was no longer detected. When I pressed the POWER button to switch it off from Download Mode, it restarted with the dreaded "Phone - Yellow triangle - PC" icon. Cannot get into anything (no recovery, no Download Mode). Cannot even switch it off (POWER button -> screen goes black for a while then comes back on with that icon).
Thank goodness I bought the USB jig (their website said it was tested with the GP5.0). The guide said you have to take the battery out first but you cannot do this on the GP5.0. I just emailed the seller / builder of the jig for advice. I hope this USB jib gets me out of trouble!
Click to expand...
Click to collapse
Relax! You don't need a jig to fix it. It just means the flash got screwed up and you need to reflash it so it can boot normally. That yellow triangle screen IS download mode.
If you're flashing with heimdall, make sure you plug your device in while its in download mode, then go to the "drivers" folder in the heimdall directory and run the program. You should see 'samsung usb composite device' listed in the dropdown. Replace that driver with the WinUsb driver and then flash away. If you still get USB errors, check your cable and try changing USB ports. Once you reflash it should work again.
Sent from my GT-I9000 using xda app-developers app
Been waiting for a kernel w/ alternate gov.s and swap enabled. Thanks a bunch!
btw, just flashed using the meta.inf from Entropy's zip file. worked like a charm.
exodus454 said:
Relax! You don't need a jig to fix it. It just means the flash got screwed up and you need to reflash it so it can boot normally. That yellow triangle screen IS download mode.
If you're flashing with heimdall, make sure you plug your device in while its in download mode, then go to the "drivers" folder in the heimdall directory and run the program. You should see 'samsung usb composite device' listed in the dropdown. Replace that driver with the WinUsb driver and then flash away. If you still get USB errors, check your cable and try changing USB ports. Once you reflash it should work again.
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
I have used Heimdall twice before without problem. I said Heimdall ran but it gave error message ("error -9" - can't find anything on google)
It is not the large "Yellow triangle" icon with the Android robot and says "Downloading now". It is the "Phone - yellow triangle - PC" icon = no Download Mode, no recovery, cannot switch off device, PC does not detect the device, Heidmall does not detect the device. IT IS FROZEN with this icon.
See the attachment picture for the "phone - yellow triangle - PC" icon
Believe me, I've done stupid things and I have seen this "Phone - yellow triangle - PC" icon before - it means soft brick (ie nothing works except the screen is still on). I had to take it to an Android phone repair guy to get it back to Download Mode. This was the reason I bought the USB jig in case I did something stupid again.
ok. possible bug- (or it's just me)
the device consistently reboots instead of going to sleep/idling. have attached logcat during one of these incidents.
With the "Phone - yellow triangle - PC" icon, I tried Power + Volume Down buttons again then hook up the USB cable. The usual Download Mode screen never showed but the PC detected the device (Device Manager showed "Gadget serial" under "USB controller".
Heimdall also detected the device and I successfully flashed the custom kernel - unfortunately when the device rebooted, it was stuck at the "Samsung" screen (not a bootloop). I reinstalled the OEM firmware kernel for now. I'll try again tomorrow because the battery is nearly all drained.
alljokingaside said:
ok. possible bug- (or it's just me)
the device consistently reboots instead of going to sleep/idling. have attached logcat during one of these incidents.
Click to expand...
Click to collapse
Thanks, I'm aware. Just gotta fix it. If you switch governors the problem should go away. Ill have a fix soon.
sent from my sgp5 using xda
You have done exacly what I wanted
good job, gonna try to make own kernel anyway
BTW Exodus
Did you fix the random freezing problem of Entropy's original kernel that both you and me have experienced?
I'll try to reflash this kernel tonight.
slim_thumb said:
BTW Exodus
Did you fix the random freezing problem of Entropy's original kernel that both you and me have experienced?
I'll try to reflash this kernel tonight.
Click to expand...
Click to collapse
I'm working on it. Theres a bunch of compiler warnings related to the video driver when building. I'm trying to chase those down. It could have something to do with how the overclock is patched in too.
On an unrelated note, is anyone else having usb mount issues?
Edit- testing a build from late last night with video drivers from another source, lagging and stuttering is nonexistant so far. My usb mounting still isnt working though on ubuntu or windows and I can't figure out if it's my device or the kernel. All the usb modules seem to be in order.
Once I get this figured out I can release the next version with a few new things.
Sent from my sgp5 using xda app-developers app
Is there any other OC programs that you dont have to pay for? Im using No Frills and it works great without the overclocking support. Im gonna flash it rite now.
Update:
Maybe not........ Love the features youve installed on this kernal
nightfire37 said:
Is there any other OC programs that you dont have to pay for? Im using No Frills and it works great without the overclocking support. Im gonna flash it rite now.
Update:
Maybe not........ Love the features youve installed on this kernal
Click to expand...
Click to collapse
Tegrak overclock works up to 1.3ghz for free
Sent from my GT-I9000 using xda app-developers app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel Architect is some scripts to set your kernel without application and 100% compatible with all Kernels
only if you have a Snapdragon 800 as processor
You can modify :
- governors
- schedulers
- max frequences *
- table of voltages *
* if your kernel have OC/UV options
List of commands
Open an application like Android Terminal Emulator
Start always a session with su + enter ...
Code:
Architect
*that give you some informations and recommandations
Code:
governors
*that will show you all governors available
Code:
name of governor
conservative
interactive
wheatley
ondemand
performance
powersave
userspace
*that will activate the governor of your choice ( say me if you want another )
Code:
schedulers
*that will show you all schedulers availables
Code:
name of scheduler
cfq
deadline
noop
row
sio
fiops
test-iosched
vr
zen
*that will activate the scheduler of your choice
Code:
freq
*that will show you some informations about frequences of your CPU
Code:
freqmax1,3
freqmax1,4
freqmax1,5
freqmax1,6
freqmax1,7
freqmax1,8
freqmax1,9
freqmax2,3
freqmax2,5
freqmax2,7
*That will activate the max fréquence of your cpu : 1,3Ghz to 2,7Ghz
Code:
volt
*That will show your table of voltages CPU
Code:
volt0
*That will set the original table of voltages
Code:
volt-25
volt-50
volt-75
volt+25
volt+50
volt+75
*That will set - or + in mV
that will show you before and after
Warning: the base is volt0
How to have these scripts actived at boot
2 way :
- the folder init.d
- use Script manager
1) init.d
Copy your combinaison, for example :" interactive, deadline, volt-25 and past it in /system/etc/init.d/
Don't forget to be in root explorer and give right permissions *... ( read, write, execute )
You can find all my scripts in /system/bin/
or : Kernel-Architect-scripts.zip
2) Script Manager
Take the application Script Manager on play store
Choose the script, give root access and apply at boot
You can find all my scripts in /system/bin/
or : Kernel-Architect-scripts.zip
*** Kernel Architect-signed.zip ***
Uninstall Kernel Architect-signed.zip
Kernel-Architect-scripts.zip
- Reboot in your Recovery
- Install Architect_Edition-signed
- Enjoy
~~~~~~~~~~~~~~~~~~~~~~~~~
More
Take my TWRP theme :
Our themes1080p
- Download
- Reboot on Recovery
- Install
- Reboot on Recovery
- Enjoy
~~~~~~~~~~~~~~~~~~~~~~~~~
Reserved for OP
Great job man definitely going to try this out
Sent from my SM-N9005 using XDA Premium 4 mobile app
Don't u need custom kernel to run some of these commands?
Sent from my SM-N9005 using XDA Premium 4 mobile app
ahjdmarchi said:
Don't u need custom kernel to run some of these commands?
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You need custom kernel for Overclocking/Undervolting.
For change governors and schedulers just Root acess is needed.
NorthLight said:
You need custom kernel for Overclocking/Undervolting.
For change governors and schedulers just Root acess is needed.
Click to expand...
Click to collapse
Sweeeeet! Thanks! Will be cool to see how this goes.
So this is basically a trickster mod or setcpu without a ui? Altering the build prop instructions for the kernel thru terminal using adb coding scripts?
Or are you actually talking over clocking your stock kernel? Just a little confused about this...why you would go this route vs using setcpu with performance Gov at max clock.
Especially given how hit the 800 architecture runs anyway I would be extremely cautious over clocking, especially using a script alteration that doesn't shut ooff upon reboot as trickster mod or setcpu does. So if you run into an issue a reboot won't do you any good. I've used setcpu at 2.3 ghz at all times and it's plenty fast without running any real risks. Just my cautious 2 cents for an soc that idles in the mid to upper 90 degrees and we'll into the hundreds doing any real processing power.
Mega
megalomanic14 said:
So this is basically a trickster mod or setcpu without a ui? Altering the build prop instructions for the kernel thru terminal using adb coding scripts?
Or are you actually talking over clocking your stock kernel? Just a little confused about this...why you would go this route vs using setcpu with performance Gov at max clock.
Especially given how hit the 800 architecture runs anyway I would be extremely cautious over clocking, especially using a script alteration that doesn't shut ooff upon reboot as trickster mod or setcpu does. So if you run into an issue a reboot won't do you any good. I've used setcpu at 2.3 ghz at all times and it's plenty fast without running any real risks. Just my cautious 2 cents for an soc that idles in the mid to upper 90 degrees and we'll into the hundreds doing any real processing power.
Mega
Click to expand...
Click to collapse
Hi,
I did that because i was tired to search good app ( compatible ) with kernel wanted.
Then this working on every kernel.
Build prop will not modified.
Not need app for apply on boot, use folder init.d, I prefer that than an app opened in cache.
That not applying on boot if you are not using init.d or script manager, then not risks if you are just using Terminal Emulator.
If you get a bootloop, flash uninstall zip in your Recovery.
The only freez I had is with OC : 2,7 and UV : -25mV
Am I clear ? ( I'm French ... )
Dont hesitate to ask me
NorthLight said:
Hi,
I did that because i was tired to search good app ( compatible ) with kernel wanted.
Then this working on every kernel.
Build prop will not modified.
Not need app for apply on boot, use folder init.d, I prefer that than an app opened in cache.
That not applying on boot if you are not using init.d or script manager, then not risks if you are just using Terminal Emulator.
If you get a bootloop, flash uninstall zip in your Recovery.
The only freez I had is with OC : 2,7 and UV : -25mV
Am I clear ? ( I'm French ... )
Dont hesitate to ask me
Click to expand...
Click to collapse
Thats what I was saying I'd be extremely cautious when altering script commands for the kernel as you just mentioned and as posted, script commands apply on boot...whereas you get the same function with trickster mod or setcpu without having to alter your script commands or risk a bootloop...I was just wondering what benefit this would be. Setcpu works on any kernel as well, so does trickster mod. On stock kernels you can max clock speed and alter gov and io, on custom kernel you can oc and uv....On most other devices I wouldn't be as cautious but the note 3 s800 chipset already runs hot which could potentially cause some serious issues if you do get into a boot loop due to overheating. Lastly the risks to the hardware and firmware is so weighted vs very little benefit for running max clock on boot is why I question the necessity. I never set my over clocking to run on boot for any of my devices especially the note 3. That was what made me ask why you went this route vs setcpu or trickster? Same function...no risk...love the development and not knocking your work, as a dev myself, just wondering if you have checked out setcpu you may find what your looking for.
Mega
megalomanic14 said:
Thats what I was saying I'd be extremely cautious when altering script commands for the kernel as you just mentioned and as posted, script commands apply on boot...whereas you get the same function with trickster mod or setcpu without having to alter your script commands or risk a bootloop...I was just wondering what benefit this would be. Setcpu works on any kernel as well, so does trickster mod. On stock kernels you can max clock speed and alter gov and io, on custom kernel you can oc and uv....On most other devices I wouldn't be as cautious but the note 3 s800 chipset already runs hot which could potentially cause some serious issues if you do get into a boot loop due to overheating. Lastly the risks to the hardware and firmware is so weighted vs very little benefit for running max clock on boot is why I question the necessity. I never set my over clocking to run on boot for any of my devices especially the note 3. That was what made me ask why you went this route vs setcpu or trickster? Same function...no risk...love the development and not knocking your work, as a dev myself, just wondering if you have checked out setcpu you may find what your looking for.
Mega
Click to expand...
Click to collapse
You have exactly same risks with an app like setcpu or trickstermod if you are applying on boot.
You can use my script without apply on boot.
If use an app is better for you, well use an app.
I prefer use script.
Can I flash this with safestrap installed?
knanda said:
Can I flash this with safestrap installed?
Click to expand...
Click to collapse
Yes
I have the AT&T variant of Note 3 with safestrap installed. Do I need to flash loki doki after flashing this?
Sent from my GT-P5210 using XDA Premium 4 mobile app
Ideas4ya said:
I have the AT&T variant of Note 3 with safestrap installed. Do I need to flash loki doki after flashing this?
Sent from my GT-P5210 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not need, no incidences.
NorthLight said:
You need custom kernel for Overclocking/Undervolting.
For change governors and schedulers just Root acess is needed.
Click to expand...
Click to collapse
Do you know of any kernel we can install via safestrap, allowing oc?
If so, I could flash the kernel, then flash this right?
Ideas4ya said:
Do you know of any kernel we can install via safestrap, allowing oc?
If so, I could flash the kernel, then flash this right?
Click to expand...
Click to collapse
I don't know if you can install a custom kernel from International version, I would say yes ...
You can flash these scripts before or after, not important.
NorthLight said:
I don't know if you can install a custom kernel from International version, I would say yes ...
You can flash these scripts before or after, not important.
Click to expand...
Click to collapse
I won't chance it now lol. I'll wait to see if someone else attempts to install a custom kernel on the AT&T variant.
Thanks bro.
You cant. dont even try.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
drakeymcmb said:
You cant. dont even try.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Agreed^^^
wish777 said:
Agreed^^^
Click to expand...
Click to collapse
Why?