Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

 Samsung Galaxy S II Official Thread V28, A smart phone, a smart user.

views
     
pikachu01
post Feb 27 2012, 06:28 PM

Regular
******
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 >.<
pikachu01
post Feb 27 2012, 06:49 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(antt00 @ Feb 27 2012, 06:42 PM)
Same here. No problem with the device sleeping on red pill.
*
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.
pikachu01
post Feb 27 2012, 07:39 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(ellimist @ Feb 27 2012, 07:35 PM)
How many hours were you/forumers on in general? As a reference point so probably the rest of us could check in on our up times as well smile.gif
*
Should be more than 48 hours at least. I remember that I didn't restart it over the weekend.
pikachu01
post Mar 4 2012, 03:04 PM

Regular
******
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.
pikachu01
post Mar 4 2012, 03:12 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(TheLaptopDudeGuy @ Mar 4 2012, 03:09 PM)
Limit with scripts?
*
Nope, limit with governors like lulzactive or ondemandX. You can limit with ThunderBolt! as well actually.
pikachu01
post Mar 4 2012, 03:15 PM

Regular
******
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).
pikachu01
post Mar 4 2012, 04:16 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(ellimist @ Mar 4 2012, 04:09 PM)
I'm on ondemand for Siyah, how do I go about setting a screen-off limit to 200mhz unsure.gif

Not particularly versed in script, can briefly walk me through it? tongue.gif
*
Siyah's ondemand already limits it to 200MHz actually. No need to do anything from there.
pikachu01
post Mar 4 2012, 04:29 PM

Regular
******
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?

I reset CPU spy and immediately turn off screen. I still get frequency readings in the other ranges. Over 10 seconds in 500mhz unsure.gif

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  rclxub.gif

But thanks for the tip smile.gif lulz in siyah has 200mhz cap for screen off too?
*
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).
pikachu01
post Mar 4 2012, 06:26 PM

Regular
******
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 laugh.gif

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
*
You can tweak from ThunderBolt!'s script smile.gif
pikachu01
post Mar 4 2012, 06:30 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(hykho @ Mar 4 2012, 06:28 PM)
using the latest 2.6.13 with cr6. but im facing hugh wakelock, any one face the same problem?
*
Battery Monitor Widget?
QUOTE(ellimist @ Mar 4 2012, 06:29 PM)
Ah ok.

Can I use text editor in root explorer to edit values in the scripts?
*
Yes smile.gif
pikachu01
post Mar 4 2012, 07:46 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(antt00 @ Mar 4 2012, 07:44 PM)
Maybe can ask pika to make thunderbolt 2.5.2 with this line included.
*
Having a suspend frequency of 500MHz is alright. 200MHz might be too low causing devices to keep being awake for a longer time when doing a task.
pikachu01
post Mar 4 2012, 08:01 PM

Regular
******
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?

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? rclxub.gif
*
-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.).
pikachu01
post Mar 4 2012, 09:20 PM

Regular
******
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 laugh.gif

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? tongue.gif

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 tongue.gif
*
If you just stick it without the if, it will run for ondemand governor, however it will error out (skipped) for other governors.

The indent is something I need to fix (some are inconsistent).
pikachu01
post Mar 5 2012, 10:30 AM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


Posting here just in case tongue.gif

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.
pikachu01
post Mar 5 2012, 10:54 AM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


There are updates for the addons too wink.gif
pikachu01
post Mar 5 2012, 11:14 AM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


Yup. You can do that too smile.gif
pikachu01
post Mar 5 2012, 02:11 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(yehlai @ Mar 5 2012, 02:09 PM)
Aww.. I found it all.. long time didn't reflash thunderbolts rclxub.gif
*
You found a typo. tongue.gif

Thanks. Corrected it.
pikachu01
post Mar 5 2012, 02:54 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(yehlai @ Mar 5 2012, 02:30 PM)
But this is what I got after reflash Thunderbolts
user posted image

icon_question.gif
*
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 rclxub.gif

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 rclxub.gif

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.
*
The error is kernel dependent. It's ok.

QUOTE(yehlai @ Mar 5 2012, 02:41 PM)
Suppose will get this, like last time..

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]
*
The 90/75/1 is when screen is off. Screen on is 80/40/10.

QUOTE(ellimist @ Mar 5 2012, 02:43 PM)
First one I'm missing vfs

Second one I'm getting those values.
*
Same explanation above.
pikachu01
post Mar 5 2012, 03:06 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(ellimist @ Mar 5 2012, 03:01 PM)
Ok thanks smile.gif

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
*
Check the sysctl again?

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.
pikachu01
post Mar 5 2012, 03:14 PM

Regular
******
Senior Member
1,510 posts

Joined: Dec 2006
From: Penang


QUOTE(yehlai @ Mar 5 2012, 03:08 PM)
I have flashed the LMK 8mb other vers.
*
I made a mistake here. Reuploading the fix. Sorry about that. sad.gif

2 Pages  1 2 >Top
Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0516sec    0.39    7 queries    GZIP Disabled
Time is now: 6th December 2025 - 05:21 PM