Not sure if anyone notices this, but on RedPill, sometimes it doesn't go to deep sleep >.<
Samsung Galaxy S II Official Thread V28, A smart phone, a smart user.
Samsung Galaxy S II Official Thread V28, A smart phone, a smart user.
|
|
Feb 27 2012, 06:28 PM
Return to original view | Post
#1
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
Not sure if anyone notices this, but on RedPill, sometimes it doesn't go to deep sleep >.<
|
|
|
|
|
|
Feb 27 2012, 06:49 PM
Return to original view | Post
#2
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(antt00 @ Feb 27 2012, 06:42 PM) Actually it's the first time I got it. Might be related to the device not restarting after some time. Weird thing is, some people on Siyah and Redpill forum also posted about this as well. I'm now trying Siyah again and will try not to restart. See if it gets the same issue. |
|
|
Feb 27 2012, 07:39 PM
Return to original view | Post
#3
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
|
Mar 4 2012, 03:04 PM
Return to original view | Post
#4
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
Just found out a piece of knowledge. Limiting frequency on screen off really does wonders for your battery. Hence why I was able to last a few days when using lulzactive (as I was limiting it to 200MHz). And now with ondemand for Siyah (which is actually ondemandX with all the goodness of ondemand and intellidemand), I find that I'm getting the same good battery life as well.
|
|
|
Mar 4 2012, 03:12 PM
Return to original view | Post
#5
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
|
Mar 4 2012, 03:15 PM
Return to original view | Post
#6
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(TheLaptopDudeGuy @ Mar 4 2012, 03:13 PM) Oh ok, thanks for heads up! I guess i'll switch to lulzactive now. Which one u prefer, lulzactive or ondemandx? Both are ok to a certain extent. Just switch to any when you feel that it is laggy. For me, I'm currently using OndemandX (which is ondemand on Siyah). |
|
|
|
|
|
Mar 4 2012, 04:16 PM
Return to original view | Post
#7
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
|
Mar 4 2012, 04:29 PM
Return to original view | Post
#8
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(ellimist @ Mar 4 2012, 04:18 PM) Hmm schedulers won't affect it right? Maybe it's not 200MHz but 500MHz. I forgot. Lulzactive needs to be tuned for that. It's the screen off min step (which is tuned in ThunderBolt! to be 200MHz or 500MHz, I forgot).I reset CPU spy and immediately turn off screen. I still get frequency readings in the other ranges. Over 10 seconds in 500mhz I'm on siyah .13 Edit : Hmm I'll go test it properly again. Did off secure mode so I don't waste time entering pattern and all to unlock device and get to CPU Spy. Did it over few mins and did get some readings in 500 and 800, but a little less. Maybe when I on and press CPU spy I guess (I offed the screen in apptray, so press on and terus press CPU Spy) Further edit : Got more than 10 seconds after 5 mins off procedure above on 800mhz. Hmm doubt pressing on and hitting CPU spy takes more than 10 seconds. Not too sure But thanks for the tip |
|
|
Mar 4 2012, 06:26 PM
Return to original view | Post
#9
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(ellimist @ Mar 4 2012, 06:10 PM) Hmm not sure where my 800mhz is coming from though. Lol I'll see if I can set it somewhere. Hmm maybe I'll try lulzactive since that has an app and makes it easier for me You can tweak from ThunderBolt!'s script But if ondemand and I wanna tweak it, where do I go to? Added on March 4, 2012, 6:11 pm Wow no updates from him in ages tiba tiba muncul |
|
|
Mar 4 2012, 06:30 PM
Return to original view | Post
#10
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
|
Mar 4 2012, 07:46 PM
Return to original view | Post
#11
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
|
Mar 4 2012, 08:01 PM
Return to original view | Post
#12
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(ellimist @ Mar 4 2012, 07:59 PM) Ah add to the section where ondemand script is? Like below this? -e means if the file exists. I added that so that the script won't generate errors if the file is missing (as in the case the user chooses some other governors.).CODE if [ -e /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold ]; then  echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold; But that's if up_threshold something (don't know what -e is), not related to suspend freq. But assuming that script looks for the value, executes script, then guess adding it below there is fine as well, since it'll run anyways? |
|
|
Mar 4 2012, 09:20 PM
Return to original view | Post
#13
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(ellimist @ Mar 4 2012, 08:03 PM) Ah was just about to edit and guess that it means exist If you just stick it without the if, it will run for ondemand governor, however it will error out (skipped) for other governors.Yeah, so I could add the line below that right, if I want 200mhz for ondemand, since the file would exist. Or if I add it right at the end of the file without the "if" function, it'll run for all governors, something lidat? Edit : Oh wait, code was to push into ondemand/suspend_freq, so won't happen for other governors. So should stick back to the if method to avoid script generating errors Added on March 4, 2012, 8:06 pmOut of curiosity, why are some parts of the script indented inwards, as in necessary or just to make things neater/ easier to amend K I should stop asking, not exactly a scripting for dummies thread here The indent is something I need to fix (some are inconsistent). |
|
|
|
|
|
Mar 5 2012, 10:30 AM
Return to original view | Post
#14
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
Posting here just in case
News Updated ThunderBolt! to v2.6.0 with major changes to the RAM as well as governor settings as well as moved everything to /system partition. This means /sdcard/bolt_scripts is now in /system/etc/bolt_scripts. Removed kernel panic related settings (use kernel defaults instead).Also updated LMK to only use the /system partition. Moved zipalign script to bolt_scripts as first boot will slow down if a lot of APKs are not zipaligned. Zipalign manually or move it to init.d if you want to. Updated ThunderBolt! to v2.6.1 with fixes to the main CWM updater script as well as moved S98bolt_siyah to bolt_scripts. Move it to init.d if you want to use ThunderBolt!'s hotplug/cpuidle/brightness settings for SGSII kernels. Changelog: 3/5/2012 (2.6.1) - Fixed updater script for main CWM. Just removing obsolete lines (no feature impact) - Moved S98bolt_siyah to /etc/bolt_scripts as Siyah currently has a tweak app called ExtTweak by xan In order for it not to be override it. you can move this file to the init.d or run it with Script Manager if you want ThunderBolt!'s settings to override it. 3/4/2012 (2.6.0, screenstate_scaling 1.6.0, LMK 1.0.6, Restore 1.1.0) - Less aggressive RAM tuned at screen on. Same aggressiveness when screen is off. - More battery centric governors at sleep (with 99 up_threshold on most of the governors at screen off). - Ondemand is at 95 up_threshold if io_is_busy is set. - Removed kernel panic settings. Leave it at kernel defaults (whatever that is) - Updated LMK to not use /data/local.prop. Instead it uses /system/default.prop - Updated main CWM to not use /sdcard. bolt_scripts is now located at /system/etc/bolt_scripts. Be sure to point your Script Manager settings there now. - Moved the zipalign script to bolt_scripts to ensure first time boot is faster. First time boot for some people might be slow as they might have a lot of unzipaligned APKs. You can move the script to init.d and give it rwx-rwx-rwx permissions if you want to. |
|
|
Mar 5 2012, 10:54 AM
Return to original view | Post
#15
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
There are updates for the addons too
|
|
|
Mar 5 2012, 11:14 AM
Return to original view | Post
#16
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
Yup. You can do that too
|
|
|
Mar 5 2012, 02:11 PM
Return to original view | Post
#17
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
|
Mar 5 2012, 02:54 PM
Return to original view | Post
#18
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(yehlai @ Mar 5 2012, 02:30 PM) The vfs,dirty_* has been changed. I updated it in the first post. The _ADJ is stock it seems. You didn't flash the LMK?QUOTE(ellimist @ Mar 5 2012, 02:33 PM) Hmm just checked and I got the same error on the first command. This one need pika to help us, no idea myself The error is kernel dependent. It's ok.For second command, I get HOME_APP_ADJ as 3 Added on March 5, 2012, 2:40 pm And help with this if anyone has the same situation. Like contact A has email of contact C, etc etc So it's fine in general, but kinda affects my gmail usage. Affects SMS usage too (i type contact A and I see numbers of both contact A and C as option) if they entered mobile into FB. QUOTE(yehlai @ Mar 5 2012, 02:41 PM) Suppose will get this, like last time.. The 90/75/1 is when screen is off. Screen on is 80/40/10.dirty_ratio = 90 dirty_background_ratio = 75 vfs_cache_pressure = 1 [ro.FOREGROUND_APP_ADJ]: [0] [ro.VISIBLE_APP_ADJ]: [1] [ro.PERCEPTIBLE_APP_ADJ]: [2] [ro.HEAVY_WEIGHT_APP_ADJ]: [4] [ro.SECONDARY_SERVER_ADJ]: [5] [ro.BACKUP_APP_ADJ]: [6] [ro.HOME_APP_ADJ]: [3] [ro.HIDDEN_APP_MIN_ADJ]: [7] [ro.EMPTY_APP_ADJ]: [15] QUOTE(ellimist @ Mar 5 2012, 02:43 PM) Same explanation above. |
|
|
Mar 5 2012, 03:06 PM
Return to original view | Post
#19
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
QUOTE(ellimist @ Mar 5 2012, 03:01 PM) Ok thanks Check the sysctl again?I still have s70 darky_zipaling in my init.d, should I delete that since it's running from etc/bolt_scripts now? Not sure if that comes with siyah or checkrom or somewhere else Paste the screen on and screen off. Make sure that you installed LMK for the _ADJ values. You can remove the init.d if you did the Script Manager one. |
|
|
Mar 5 2012, 03:14 PM
Return to original view | Post
#20
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,510 posts Joined: Dec 2006 From: Penang |
|
|
Topic ClosedOptions
|
| Change to: | 0.0516sec
0.39
7 queries
GZIP Disabled
Time is now: 6th December 2025 - 05:21 PM |