FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[ROM][KQB][ODIN] - broodROM RC5 Rev2 (RC6 in development) -

4,992 posts
Thanks Meter: 10,199
 
By broodplank1337, Inactive Recognized Developer on 17th December 2011, 12:34 PM
Post Reply Email Thread
18th April 2012, 08:54 PM |#3651  
Senior Member
Flag Orsova
Thanks Meter: 39
 
More
Quote:
Originally Posted by broodplank1337

Sure ^^


btw guys what do you think of my configuration file? I will add more options and functions ^^

Code:
#!/system/bin/sh

# Initialize Virtuous OC
/system/xbin/virtuous_oc

# ==================================
# broodROM RC5 Configuration File
# created by broodplank(1337) @ XDA
# ==================================

# ================================== 
# Quick Configuration
#
# >>> CPU Governor (Awake/Sleep) <<<
#
	AWAKE_GOVERNOR="smartassV2";
	SLEEP_GOVERNOR="powersave";
#
# >>> CPU Min/Max speed (Awake/Sleep) <<<<
#
	MIN_SPEED_AWAKE="245760"; # 245MHz
	MAX_SPEED_AWAKE="1401600"; # 1.4GHz 
	
	MIN_SPEED_SLEEP="122880"; # 122MHz
	MAX_SPEED_SLEEP="245760"; # 245MHz
#
# >>> I/O Scheduler <<<
#
	SCHEDULER="sio";
#
# ==================================

# ================================== 
# CPU Governors (for awake state)
# uncomment a line to activate gov. 
# ==================================

#AWAKE_GOVERNOR="interactiveX";
#AWAKE_GOVERNOR="minmax";
#AWAKE_GOVERNOR="conservative";
#AWAKE_GOVERNOR="ondemand";
#AWAKE_GOVERNOR="userspace";
#AWAKE_GOVERNOR="smartassV2";  # Default
#AWAKE_GOVERNOR="performance";  # Best results in Antutu

echo " "
echo ">>> Awake CPU Governor and CPU Frequencies <<<";
echo $AWAKE_GOVERNOR > /system/etc/virtuous_oc/wake_governor;
echo "Setting Awake Governor to: $AWAKE_GOVERNOR" 

# ================================== 
# Set min cpu speed of awake state
# ==================================

#MIN_SPEED_AWAKE="122880"; # 122MHz 
#MIN_SPEED_AWAKE="245760"; # 245MHz (Default) 
#MIN_SPEED_AWAKE="368640"; # 368MHz 

echo $MIN_SPEED_AWAKE > /system/etc/virtuous_oc/wake_min_freq;
echo "Setting min CPU freq (awake) to: $MIN_SPEED_AWAKE"

# ================================== 
# Set max cpu speed of awake state
# ==================================

#MAX_SPEED_AWAKE="1401600"; # 1.4GHz (Default)
#MAX_SPEED_AWAKE="1516800"; # 1.5GHz  
#MAX_SPEED_AWAKE="1612800"; # 1.6GHz 
#MAX_SPEED_AWAKE="1708800"; # 1.7GHz 
#MAX_SPEED_AWAKE="1804800"; # 1.8GHz 

echo $MAX_SPEED_AWAKE > /system/etc/virtuous_oc/wake_max_freq;
echo "Setting max CPU freq (awake) to: $MAX_SPEED_AWAKE"
echo " "



# ================================== 
# CPU Governors (for sleep state)
# uncomment a line to activate gov.
# ==================================

#SLEEP_GOVERNOR="conservative";
#SLEEP_GOVERNOR="ondemand";
#SLEEP_GOVERNOR="powersave";  # Default

echo ">>> Sleep Governor and CPU Frequencies <<<";
echo $SLEEP_GOVERNOR > /system/etc/virtuous_oc/sleep_governor;
echo "Setting sleep governor to: $SLEEP_GOVERNOR"


# ================================== 
# Set min cpu speed of sleep state
# ==================================

#MIN_SPEED_SLEEP="122880"; # 122MHz (Default) 
#MIN_SPEED_SLEEP="245760"; # 245MHz 

echo $MIN_SPEED_AWAKE > /system/etc/virtuous_oc/sleep_min_freq;
echo "Setting min CPU freq (sleep) to: $MIN_SPEED_SLEEP"


# ================================== 
# Set max cpu speed of sleep state
# ==================================

#MAX_SPEED_SLEEP="122880"; # 122MHz  
#MAX_SPEED_SLEEP="245760"; # 245MHz (Default)
#MAX_SPEED_SLEEP="368640"; # 368MHz 

echo $MIN_SPEED_AWAKE > /system/etc/virtuous_oc/sleep_max_freq;
echo "Setting max CPU freq (sleep) to: $MAX_SPEED_SLEEP"
echo " "


# ================================== 
# Set I/O Scheduler
# ==================================

#SCHEDULER="noop"; 
#SCHEDULER="deadline"; 
#SCHEDULER="cfq"; 
#SCHEDULER="bfq"; 
#SCHEDULER="sio";  # Default
#SCHEDULER="vr";  # Best results in Antutu

echo ">>> I/O Scheduler <<<";
echo $SCHEDULER > /sys/block/mmcblk0/queue/scheduler
echo $SCHEDULER > /sys/block/mmcblk1/queue/scheduler
echo "Setting I/O scheduler to: $SCHEDULER"
echo " "
echo "Done..."

With RC4 I had some trouble with the powersave gov. for sleep.If I was playing music when I would turn the screen of it gets laggy.I personally used smartassV2 both for awake and sleep, of cours on sleep I would set the CPU the same as you did.

L.E:You can PM me the download link for the ROM when it is ready
 
 
18th April 2012, 08:58 PM |#3652  
dagothe9's Avatar
Senior Member
Flag Genova
Thanks Meter: 56
 
More
Quote:
Originally Posted by broodplank1337

Here, use my edited init.qcom.post_boot.sh script (which is actually included in RC5), put it in /system/etc and set permissions to RW-R-R, now it will never change back to ondemand again


And about the WiFi, it has always worked for me so I will let some people beta test it. since i cannot test it myself

Ok i will use your file, but how i set RW-R-R permissions? And what i do of my init.d folder? i delete it? sorry for my poor knwledge
Please count me in for testing RC5 and his wifi connection if you do not find a more experienced person to do that!
Many thanks for the ultra-fast answer!
18th April 2012, 09:13 PM |#3653  
broodplank1337's Avatar
OP Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,199
 
Donate to Me
More
Quote:
Originally Posted by silviu_iliescu

With RC4 I had some trouble with the powersave gov. for sleep.If I was playing music when I would turn the screen of it gets laggy.I personally used smartassV2 both for awake and sleep, of cours on sleep I would set the CPU the same as you did.

L.E:You can PM me the download link for the ROM when it is ready

It could become laggy at a low cpu frequency, so that's not so weird, you could try my new settings with listening music in sleep mode but I cannot guarantee that it will be non-laggy. If it's laggy just switch to smartassV2 with low cpu frequencies (not 122Mhz, but 245MHz). And I don't care if a tester is experienced, the wifi part is easy to test, it works or it doesn't


Quote:
Originally Posted by dagothe9

Ok i will use your file, but how i set RW-R-R permissions? And what i do of my init.d folder? i delete it? sorry for my poor knwledge
Please count me in for testing RC5 and his wifi connection if you do not find a more experienced person to do that!
Many thanks for the ultra-fast answer!

In root explorer you can long-press the file and then press permissions then do it like this:

Code:
[x]  [x]  [ ]
[x]  [ ]  [ ]
[x]  [ ]  [ ]
in adb you could do:

Code:
adb root
adb -d shell chmod 644 /system/etc/init.qcom.post_boot.sh
And you don't need to wipe init.d for that, you need to keep the screenstate_scaling file else it will fail to boot probably.


btw I added this to the config file:

Code:
#
# >>> Media Scaninning <<<
#
	MEDIA_SCANNING="enabled";  # enabled/disabled

# ==================================

# ================================== 
# Set Media Scanning
# ==================================

if [[ "$MEDIA_SCANNING" == "enabled" ]]
	then pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver;
else
	pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver;
fi;

Anyone has suggestions for more configurations?
The Following User Says Thank You to broodplank1337 For This Useful Post: [ View ] Gift broodplank1337 Ad-Free
18th April 2012, 09:21 PM |#3654  
Junior Member
Flag Wolfsburg
Thanks Meter: 1
 
More
Quote:
Originally Posted by dagothe9

It is not, you have to flash the older modem in order to fix that, the guide is in the Q&A section in first page of the thread, anyway a thread search would have you told so.
Hope this help you

i followed the guide in the Q&A section, but didn.t worked.
Tryed other wifi settings, no chance.
one time it was connected, but only for 30 seconds
18th April 2012, 09:24 PM |#3655  
Senior Member
Flag Orsova
Thanks Meter: 39
 
More
brood you could try as an alternative launcher instead of GO launcher the ICS 4.0 Launcher on the market.It's more ICS-ish if you know what I mean.It was just an opinion
18th April 2012, 09:31 PM |#3656  
dagothe9's Avatar
Senior Member
Flag Genova
Thanks Meter: 56
 
More
Quote:
Originally Posted by broodplank1337

It could become laggy at a low cpu frequency, so that's not so weird, you could try my new settings with listening music in sleep mode but I cannot guarantee that it will be non-laggy. If it's laggy just switch to smartassV2 with low cpu frequencies (not 122Mhz, but 245MHz). And I don't care if a tester is experienced, the wifi part is easy to test, it works or it doesn't




In root explorer you can long-press the file and then press permissions then do it like this:

Code:
[x]  [x]  [ ]
[x]  [ ]  [ ]
[x]  [ ]  [ ]

Thanks i managed to do that and rebooted it works! thanks!!

Quote:
Originally Posted by Freaki81

i followed the guide in the Q&A section, but didn.t worked.
Tryed other wifi settings, no chance.
one time it was connected, but only for 30 seconds

Have you tried to put static IP in the wifi settings? And also if you can configure DHCP lease time of your access point do that and configure that at the highest possible level!
19th April 2012, 12:22 AM |#3657  
xeGox's Avatar
Senior Member
Flag Bari
Thanks Meter: 80
 
More
What about two Kernel options?(vitally and sky high)
scroll cache disabled?
Big photo in call?
And the rotate animation like the ics one?(it's GREAT)

EDIT: you had said that in rc5 there is Swype notification...but the notification window is trasparent or not?
I LOVE the transparent one!

Sent from my Sgs+ Gt-i9001
The Following User Says Thank You to xeGox For This Useful Post: [ View ] Gift xeGox Ad-Free
19th April 2012, 12:57 AM |#3658  
Senior Member
Flag Bremen
Thanks Meter: 77
 
More
Media scanning feature is great

But I think the screenoff cpufreq is to low:
Music can be laggy as someone already said AND (this is the most important thing for me) the phone needs to be longer awake to do his work before it can go into deepsleep. When the min/max cpufreq are about 200 the music is fine and the cpu can go fast into deepsleep because it can handle processes faster

Send from my SII
19th April 2012, 01:34 AM |#3659  
broodplank1337's Avatar
OP Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,199
 
Donate to Me
More
Quote:
Originally Posted by xeGox

What about two Kernel options?(vitally and sky high)
scroll cache disabled?
Big photo in call?
And the rotate animation like the ics one?(it's GREAT)

EDIT: you had said that in rc5 there is Swype notification...but the notification window is trasparent or not?
I LOVE the transparent one!

Sent from my Sgs+ Gt-i9001

Well, I'm keeping skyhigh, that's for sure, users can always change kernels, but I build the rom designed for skyhigh, so that's what it will keep

scrolling cache disabled is included

Big photo's during call returned to much crappy photo's because of the resolution, so won't use that.

And yes swipe notification is included, but it's combined with the extended status bar, so that's probably the cause, will look how to make it transparent ^^


Quote:
Originally Posted by Delacor

Media scanning feature is great

But I think the screenoff cpufreq is to low:
Music can be laggy as someone already said AND (this is the most important thing for me) the phone needs to be longer awake to do his work before it can go into deepsleep. When the min/max cpufreq are about 200 the music is fine and the cpu can go fast into deepsleep because it can handle processes faster

Send from my SII

Thanks, I would like to add more features but i cannot think of one right now, I might add some profiles as in: "Good battery life", "Casual user" and "Performance".
about the screenoff cpu freq, yes that's true, but you know how much people want a good battery life, you can always easily change the sleep governor / min,max cpu speed so I think it won't be a problem. (or switch from profile )

#MAX_SPEED_SLEEP="122880"; # 122MHz
#MAX_SPEED_SLEEP="245760"; # 245MHz (Default)
#MAX_SPEED_SLEEP="368640"; # 368MHz

#MIN_SPEED_SLEEP="122880"; # 122MHz (Default)
#MIN_SPEED_SLEEP="245760"; # 245MHz

#SLEEP_GOVERNOR="conservative";
#SLEEP_GOVERNOR="ondemand";
#SLEEP_GOVERNOR="powersave"; # Default


So really easy to change
The Following User Says Thank You to broodplank1337 For This Useful Post: [ View ] Gift broodplank1337 Ad-Free
19th April 2012, 01:38 AM |#3660  
Senior Member
Flag Orsova
Thanks Meter: 39
 
More
Hey brood is the ROM ready to test or can I go to sleep :P

Sent from my GT-I9001 using xda premium
19th April 2012, 02:01 AM |#3661  
broodplank1337's Avatar
OP Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,199
 
Donate to Me
More
Quote:
Originally Posted by silviu_iliescu

Hey brood is the ROM ready to test or can I go to sleep :P

Sent from my GT-I9001 using xda premium

You can go to sleep it won't be ready to test this day :P

btw I made some profiles


Code:
# =================================================
# CPU Profiles:
# =================================================
#
# 1. >>> Battery Saving Profile <<<
#    ( Performance: +- | Battery: ++ )
#
# 2. >>> Balanced Profile <<<
#    ( Performance: + | Battery: +   )
#
# 3. >>> Performance Profile <<<
#    ( Performance: ++ | Battery: +- )
#
#    Please choose your profile:
     PROFILE="2"  # Default is 2
#
# =================================================

Code:
# =================================================
# CPU Profiles:
# =================================================

if [[ "$PROFILE" == "1" ]]
	then AWAKE_GOVERNOR="smartassV2" && SLEEP_GOVERNOR="powersave" && MIN_SPEED_AWAKE="245760" && MAX_SPEED_AWAKE="1209600" && MIN_SPEED_SLEEP="122880" && MAX_SPEED_SLEEP="245760";
fi;


if [[ "$PROFILE" == "2" ]]
	then AWAKE_GOVERNOR="smartassV2" && SLEEP_GOVERNOR="smartassV2" && MIN_SPEED_AWAKE="245760" && MAX_SPEED_AWAKE="1401600" && MIN_SPEED_SLEEP="245760" && MAX_SPEED_SLEEP="245760";
fi;


if [[ "$PROFILE" == "3" ]]
	then AWAKE_GOVERNOR="interactiveX" && SLEEP_GOVERNOR="smartassV2" && MIN_SPEED_AWAKE="245760" && MAX_SPEED_AWAKE="1612800" && MIN_SPEED_SLEEP="245760" && MAX_SPEED_SLEEP="368640";
fi;
The Following User Says Thank You to broodplank1337 For This Useful Post: [ View ] Gift broodplank1337 Ad-Free
Post Reply Subscribe to Thread

Tags
android, broodplank1337, broodrom rc, criempie, custom rom, easy install - fast - clean, fastest rom, gingerbread, gsg+ configurator, i9001, odin one package, pedobear, penthouse, pussy, wet nijmegen girls

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes