• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Kernel][Linaro][O/C][GPL][31 JAN] A-kernel v3.3-r9-fix JB

wanted to say thanks for the new update..with that being said i have another question also..is there a way to get a 1.4ghz or factory speed back? i have the 1.6 1.8ghz kernel and running jbs 2.4 on my phone. im having problems with phone getting hot often lately and dont want to risk frying this poor phone. once again thank you for all your work i just want to back the o/c down a tad. also have trickster mod kernel app and i set it to 1.4 but cpu app still says 1.8..
 
wanted to say thanks for the new update..with that being said i have another question also..is there a way to get a 1.4ghz or factory speed back? i have the 1.6 1.8ghz kernel and running jbs 2.4 on my phone. im having problems with phone getting hot often lately and dont want to risk frying this poor phone. once again thank you for all your work i just want to back the o/c down a tad. also have trickster mod kernel app and i set it to 1.4 but cpu app still says 1.8..

Trickster mod does actually set the frequency correctly. I did a lot of testing last night with it because I was seeing the same thing (other CPU apps reporting still 1.8ghz), but if you set the frequency with trickster, then look at the CPU times, you'll see that only the highest frequency you set is being used.

I recommend setting the frequency you want, then select "Set on boot > Enable".
And uninstall any other CPU apps as they will possibly mess with the frequencey.

If you do set on boot and reboot your phone, you will see the highest frequencey is used only for 20 seconds or so while the phone boots, and once the phone is booted and script executes it will only use the max frequencey you set :-)

A bit confusing I know..
Also the new build I put up is only 1.4Ghz, and yeah I'm sorry it took so long to get a 1.4Ghz build up. Let me know if you need any help with trickster mod
 
I had a similar minor overheating problem.
Kernel versions 1,2,1.5,and 1.6 seem to have an overheating issue.
Versions 3 and 4 didn't have this.
But it isn't even too serious, it actually helps me regulate my phone use. Lolz
Anyway thanks for all the work man.
:D
 
I had a similar minor overheating problem.
Kernel versions 1,2,1.5,and 1.6 seem to have an overheating issue.
Versions 3 and 4 didn't have this.
But it isn't even too serious, it actually helps me regulate my phone use. Lolz
Anyway thanks for all the work man.
:D

It's just the high frequency shift up to 1.8GHz, I've experienced this as well. Only thing it can be is the high frequencey, but I notice it on 1.4GHz also which our chip is designed to handle.

It could be voltages actually too though. I'll try tweaking the voltages a bit to see what I can come up with.
 
Trickster mod does actually set the frequency correctly. I did a lot of testing last night with it because I was seeing the same thing (other CPU apps reporting still 1.8ghz), but if you set the frequency with trickster, then look at the CPU times, you'll see that only the highest frequency you set is being used.

I recommend setting the frequency you want, then select "Set on boot > Enable".
And uninstall any other CPU apps as they will possibly mess with the frequencey.

If you do set on boot and reboot your phone, you will see the highest frequencey is used only for 20 seconds or so while the phone boots, and once the phone is booted and script executes it will only use the max frequencey you set :-)

A bit confusing I know..
Also the new build I put up is only 1.4Ghz, and yeah I'm sorry it took so long to get a 1.4Ghz build up. Let me know if you need any help with trickster mod

Thank you for clearing that up for me...:) I will see if phone cools off a bit
 
I put the b2 build in the OP finally. New build is coming probably this weekend with interactive gov and some other small things.

Also Slayer72 sought some info from PlayfulGod in the Oudhitsquas IRC chat about the live OC issue and gave me a link to some source to check against :-)

So yeah I wanted to comment on the live OC issue. Like I had observed with trickster mod the frequency did seem to stay on what I set but now going back and testing again, it seems like its not working... What's weird is we can set the min frequency, but not the Max. So now I have no idea if the frequency is getting set or not, you can do your own testing of course and report back if you have something.

I'm going to compare the source Slayer sent me from PlayfulGod and see if this will do anything for us but if not I'll just keep doing the 1.8 and 1.4GHz builds.
 
Any chance in adding the badass governer? I don't know if its a placebo effect but it seemed more responsive and fast between switching screens and scrolling apps.
 
I liked a lot of the functionality that the custom kernel had on the Transform Ultra, maybe you could get a copy of their kernel from over on that forum, have a look and maybe have a way to add a lot of additional functionality to ours??

Basically the things I like most are UMS functionality, Being able to set the Max Freq through an app in the OS, and I'm not sure if this is kernel related, probably not, but I'm still waiting for an Extended Power Menu to come onto the scene that actually works for Stock Deodex, since that's what I'm running at this point... Also I finally got Link2SD to work on my phone, you havta create an ext2 partition on the MicroSD Card then mount it as FAT32 in Link2SD, that's the only way I could get it to work at that point, I don't know if it has anything to do with me creating a 3rd partition of 512 MB or not, but it's working anyway...

I need source code to look at really, though the thread to the kernel that has this would be good enough.
So might I request links to the original kernel thread that has this functionality or a link to the source code on github etc, if requesting a feature to add :-)
Just to help cut down on the time I spend looking for these kernels. A lot easier, if its possible, to link to the thread for me.

I found lots of source for swipe2wake so I'm working on that btw. I really like swipe2wake idea' I'd never heard of it before.
 
I need source code to look at really, though the thread to the kernel that has this would be good enough.
So might I request links to the original kernel thread that has this functionality or a link to the source code on github etc, if requesting a feature to add :-)
Just to help cut down on the time I spend looking for these kernels. A lot easier, if its possible, to link to the thread for me.

I found lots of source for swipe2wake so I'm working on that btw. I really like swipe2wake idea' I'd never heard of it before.

correct me if i'm wrong, but are you talking about the option to wave your hand in front of the screen to wake or lock the device, and also switch between browser tabs, etc.. the fuction the gs2 has?
 
It wakes the phone up by sliding your finger across the hardware buttons on the phone so in our case it would be option to back button then to sleep it would be back to option
 
Just an update guys. I've been sick the past few days and extremely busy at work with email migrations, plus I'm moving soon, and I've got to change my struts/shocks on my car this weekend. Busy!

Anyway, I should have more time (back to normal, kinda) next week.
Learning more on the Git tool also which makes it so much easier to merge code.. Github is awesome. :-)

If I have time I'm going to do a build Sunday with some extra CPU governor's added back in and Interactive finally added also. Interactive is great for battery life and decent performance.

Have a good weekend guys and gals.
 
Will we also have the ability to set the max frequency in the OS?? Was that source I PMd you any help at all??

That source was exactly the same as ours Slayer :-(
Only difference is the 2 lines with DVFS stuff added by Samsung, which I can disable in the kernel config but then everything crashes when the phone boots.

A lot of other devices have DVFS enabled also but can change clock after some modding, Nexus 7 for example, but the Nexus 7 has a Tegra so the code they've changed is a lot different. So still nothing.
 
New build up when I get home; already tested :-). Added all cpu gov's back and changed the default IO_Scheduler back to deadline. Seems to be better for me.
 
Could the issue with not being able to change the frequency be due to /etc/init.qcom.post_boot.sh?
#!/system/bin/sh
# Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Code Aurora nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

target=`getprop ro.board.platform`
case "$target" in
"msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627a" | "msm7627_surf" | \
"qsd8250_surf" | "qsd8250_ffa" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "qsd8650a_st1x")
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
;;
esac

case "$target" in
"msm7201a_ffa" | "msm7201a_surf")
echo 500000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
;;
esac

case "$target" in
"msm7630_surf" | "msm7630_1x" | "msm7630_fusion")
echo 75000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo 1 > /sys/module/pm2/parameters/idle_sleep_mode
;;
esac

case "$target" in
"msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627_surf" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "msm7627a" )
echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
;;
esac

case "$target" in
"msm8660")
echo 1 > /sys/module/rpm_resources/enable_low_power/L2_cache
echo 1 > /sys/module/rpm_resources/enable_low_power/pxo
echo 2 > /sys/module/rpm_resources/enable_low_power/vdd_dig
echo 2 > /sys/module/rpm_resources/enable_low_power/vdd_mem
echo 1 > /sys/module/rpm_resources/enable_low_power/rpm_cpu
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/idle_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/pm_8660/modes/cpu0/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu1/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu0/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu1/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu0/power_collapse/idle_enabled
echo 1 > /sys/module/pm_8660/modes/cpu1/power_collapse/idle_enabled
echo 1 > /sys/module/pm_8660/modes/cpu0/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/pm_8660/modes/cpu1/standalone_power_collapse/idle_enabled
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
chown system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
chown root.system /sys/devices/system/cpu/mfreq
chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
chmod 664 /sys/devices/system/cpu/cpu1/online
;;
esac

case "$target" in
"msm8960" | jaguar* | M2* | m2* )
stop mpdecision
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/module/rpm_resources/enable_low_power/L2_cache
echo 1 > /sys/module/rpm_resources/enable_low_power/pxo
echo 1 > /sys/module/rpm_resources/enable_low_power/vdd_dig
echo 1 > /sys/module/rpm_resources/enable_low_power/vdd_mem
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled
echo 0 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
echo 0 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/idle_enabled
echo 1 > /sys/module/pm_8660/modes/cpu0/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu1/power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu0/standalone_power_collapse/suspend_enabled
echo 1 > /sys/module/pm_8660/modes/cpu1/standalone_power_collapse/suspend_enabled
echo 0 > /sys/module/pm_8660/modes/cpu0/standalone_power_collapse/idle_enabled
echo 0 > /sys/module/pm_8660/modes/cpu1/standalone_power_collapse/idle_enabled
echo 0 > /sys/module/pm_8660/modes/cpu0/power_collapse/idle_enabled
echo 0 > /sys/module/pm_8660/modes/cpu1/power_collapse/idle_enabled
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
chown system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
chown root.system /sys/devices/system/cpu/mfreq
chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
chmod 664 /sys/devices/system/cpu/cpu1/online
# set scheduler as CFQ after boot complete.( scheduler is set as deadline at defconfig file )
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
# Disable ETB tracing and turn off QDSS clocks
# must be prior to start mpdecision
# echo 1 > /sys/devices/system/cpu/cpu1/online
# echo "1\0" > /dev/msm_ptm
# echo "0\0" > /dev/msm_ptm
# echo 0 > /sys/devices/system/cpu/cpu1/online
;;
esac

case "$target" in
"msm7627_ffa" | "msm7627_surf" | "msm7627a" | "msm7627_6x")
echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
;;
esac

case "$target" in
"qsd8250_surf" | "qsd8250_ffa" | "qsd8650a_st1x")
echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
;;
esac

case "$target" in
"qsd8650a_st1x")
mount -t debugfs none /sys/kernel/debug
;;
esac

chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

emmc_boot=`getprop ro.emmc`
case "$emmc_boot"
in "1")
chown system /sys/devices/platform/rs300000a7.65536/force_sync
chown system /sys/devices/platform/rs300000a7.65536/sync_sts
chown system /sys/devices/platform/rs300100a7.65536/force_sync
chown system /sys/devices/platform/rs300100a7.65536/sync_sts
;;
esac


# Post-setup services
case "$target" in
"msm8660")
start mpdecision
;;
"msm8960" | jaguar* | M2* | m2* )
start mpdecision
;;
esac

case "$target" in
"msm8660")
start thermald
;;
esac
 
Back
Top Bottom