Requesting an over clock kernel at 528 standard - Hero CDMA Q&A, Help & Troubleshooting

Hi i have one of those phones that wont boot at 710 standard kernel and i was wondering if someone would post an overclockable kernel that defaults to the standard 528. Thanks in advance to any sort of help

What?? Just flash a ROM that isnt OC'd.

can't you just set OC widget to not start at boot? I know there's a setting that mentions load at boot.

kbizzle said:
What?? Just flash a ROM that isnt OC'd.
Click to expand...
Click to collapse
tatonka_hero said:
can't you just set OC widget to not start at boot? I know there's a setting that mentions load at boot.
Click to expand...
Click to collapse
I think what he wants is an OC kernel that is overclockable but because his phone can't handle 710 (which most OC kernels default to) he'd like to start at 528 and see what he can push it up to.
-Daryel

Why don't you just use a OC widget and set the clock speed there?

derekwilkinson said:
Why don't you just use a OC widget and set the clock speed there?
Click to expand...
Click to collapse
Probably because he can't get his phone to load in the first place?

i am experimenting with this exact thing let me know what rom you plan on useing and i will see if i can work it out for you.

my phone will boot with the standard clock then it will work fine when it boots i just get the endless bootloop with kernels starting at 710

yeah mine doest that as well i have tried several different roms. has your phone ever gotten hot while useing it?

Yes it has i think if i find a kernel that defaults to 528 and you can use over clock widget to over clock it will boot all im looking for is the old kernel that they used to over clock with

working on it is my first time with mixing and matching a kernal to a ramdisk.

I appreciate the help
Sent from my HERO200 using XDA App

http://forum.xda-developers.com/showthread.php?t=684838&highlight=kernel
this kernel looks like it might work but i dont no how to sign it to make it a flashable zip

bycoo222 said:
Hi i have one of those phones that wont boot at 710 standard kernel and i was wondering if someone would post an overclockable kernel that defaults to the standard 528. Thanks in advance to any sort of help
Click to expand...
Click to collapse
Modified a boot image with the lower default speed is possible, but it's involved adding the default clock in the init.heroc.rc in the Ramdisk of the boot image. There are many ROMs in this forum each has each own ramdisk. If you can decompile your current boot image, you add the 2 lines below to your init.heroc.rc under #power management
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 245000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 537600
-You can use this (read this and install on your system): http://forum.xda-developers.com/showthread.php?t=633246#
That is a tool to cook your own basic ROM or use it to decompile the boot image, edit the ramdisk, recompile and sign your own flash zip.

roadster92 said:
Modified a boot image with the lower default speed is possible, but it's involved adding the default clock in the init.heroc.rc in the Ramdisk of the boot image. There are many ROMs in this forum each has each own ramdisk. If you can decompile your current boot image, you add the 2 lines below to your init.heroc.rc under #power management
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 245000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 537600
-You can use this (read this and install on your system): http://forum.xda-developers.com/showthread.php?t=633246#
That is a tool to cook your own basic ROM or use it to decompile the boot image, edit the ramdisk, recompile and sign your own flash zip.
Click to expand...
Click to collapse
Thank you I will try and create my own

do they have that for mac or just pc

bycoo222 said:
Yes it has i think if i find a kernel that defaults to 528 and you can use over clock widget to over clock it will boot all im looking for is the old kernel that they used to over clock with
Click to expand...
Click to collapse
Which rom are you using? I'll make you a zip set to 528 default, clockable up to 768 using OC app.

urushiol said:
Which rom are you using? I'll make you a zip set to 528 default, clockable up to 768 using OC app.
Click to expand...
Click to collapse
currently im using blue echo 2.1.3 i would like to try the new version of that but i cant boot with their default kernel i would like one that will work with that and maybe one that will work with some of the new roms out that default to 710 thati havent seen yet

obviously you failed to read the post. its all linux stuff, to run on windows you have to use cygwin. so yes it runs on a mac
bycoo222 said:
do they have that for mac or just pc
Click to expand...
Click to collapse

bycoo222 said:
currently im using blue echo 2.1.3 i would like to try the new version of that but i cant boot with their default kernel i would like one that will work with that and maybe one that will work with some of the new roms out that default to 710 thati havent seen yet
Click to expand...
Click to collapse
Ok Blue echo is fresh based so this should do the trick!
http://www.4shared.com/file/ZYi4whQW/Fresh_547.html
LOL I see i named it 547, but default is
245760-537600
Be sure and nandroid. I also removed the "on_demand" tag, i have had a suspicion that it may cause a problem with some phones. If you want to use on demand scaling, or any mhz higher than 537.6 use SETCPU to change it.
EDIT: Please let me know the result.

Related

Tips for building kernel and modules

Hi there
I'm mostly a silent forum reader because my english isn't very good .
But I didn't find any discussions for building the Legend Kernel and I don't know what I'm doing wrong.
The sources are from http://developer.htc.com.
Trying the google toolchain 4.4.0 and the one from codesourcery both won't work.
No errors while building but it always hangs in splash
Comparing file size with original kernel is a difference between 200 and 700 bytes depend on taken toolchain.
I called make with ARCH=arm CROSS_COMPILE=arm-eabi-
Any ideas or hints?
i'm interested to compile the kernel too..
can you link me what guide/howto did you use?
thanks!
I used hxxp://www.cianer.com/androidg1/28-building-android-kernel-images
replacing toolchain version 4.2.1 with 4.4.0 because dmesg returns it.
You don't need to grab the .config from the phone.
make ARCH=arm CROSS_COMPILE=arm-eabi- msm7227_defconfig creates exactly the same.
Same problem here.
But even if I extract the kernel from shipped HTC images (using perl scripts found somewhere), the boot.img build by AOSP doesn't work.
I guess it's not a problem with the kernel alone.
ali ba said:
But even if I extract the kernel from shipped HTC images (using perl scripts found somewhere), the boot.img build by AOSP doesn't work.
Click to expand...
Click to collapse
Oh... Thank you ali ba! That was the hint I needed: You have to add --base 12c00000 to mkbootimg
So I guess 0x12c00000 is the kernel base? Will add that to my scripts.
Btw, does the kernel work for you now?
So does this mean that creating custom (overclocked ) kernels is now possible?
ali ba said:
So I guess 0x12c00000 is the kernel base?
Click to expand...
Click to collapse
Yes it is.
ali ba said:
Btw, does the kernel work for you now?
Click to expand...
Click to collapse
My Legend currently runs on a Kernel compiled by myself.
But I'm interested in the patches for the last update (2.03 from htc). It seems there are some changes on the kernel...
Anybody knows how we can get it?
This night I will try to compile the tun.ko and look for information about overclocking...
Help is welcome
c1nu5 said:
This night I will try to compile the tun.ko and look for information about overclocking...
Help is welcome
Click to expand...
Click to collapse
Check out this topic. Although it is for Droid Eris, I presume that the procedures apply for the Legend too.
c1nu5 said:
Oh... Thank you ali ba! That was the hint I needed: You have to add --base 12c00000 to mkbootimg
Click to expand...
Click to collapse
Yep! It works! Thanks!
In kernel configuration you can set the minimum frequency of the cpu with screen power on.. now i'm going to try to build it with that configuration!
I think that htc will not release that source unfortunately..
It could be interesting update git sources and try to add htc stuff..
schpinn said:
Check out this topic. Although it is for Droid Eris, I presume that the procedures apply for the Legend too.
Click to expand...
Click to collapse
Thank you for the link! This topic is great!!!
@Neon87 I think I've seen this parameter too... Looking forward to hear from your results
c1nu5 said:
Thank you for the link! This topic is great!!!
@Neon87 I think I've seen this parameter too... Looking forward to hear from your results
Click to expand...
Click to collapse
It works! now when the screen is wake up cpu go to 247 mhz (that is htc's minumum with power off screen)..
Wifi is a little bit lazy and it doesn't want to work right now..
Neon87 said:
Yep! It works! Thanks!
In kernel configuration you can set the minimum frequency of the cpu with screen power on.. now i'm going to try to build it with that configuration!
I think that htc will not release that source unfortunately..
It could be interesting update git sources and try to add htc stuff..
Click to expand...
Click to collapse
and what is the default configuration, for this minimum cpu frequency?
setcpu tells me mine runs at 480mhz min, but to show the value the screen needs to be on. maybe it goes lower with screen off but I don't know that
Now:
│ [*] Change Cpufreq Policy while Screen OFF
(245760) Minimum speed while screen on
(600000) Maximum speed while screen on
(245760) Minimum speed while screen off
(245760) Maximum speed while screen off
Click to expand...
Click to collapse
Before
│ [*] Change Cpufreq Policy while Screen OFF
(480000) Minimum speed while screen on
(600000) Maximum speed while screen on
(245760) Minimum speed while screen off
(245760) Maximum speed while screen off
Click to expand...
Click to collapse
System panel seems to agree with that freq
From where did you have your posted output? Is this from an app? I didn't see something like that on dmesg or logcat
into the folder source: make menuconfig
Problem with wifi still there.. I don't know why i just modify that configuration.. now i'm going to try with vanilla configuration (maybe some idle frequency problem?)..
---
not a frequency problem..
I tried in a million different ways with no results..
If i build my custom kernel wifi stop working.. any idea?
Neon87 said:
I tried in a million different ways with no results..
If i build my custom kernel wifi stop working.. any idea?
Click to expand...
Click to collapse
Yeah... Sorry, thats my fault...
You have to add EXTRAVERSION=-e3993620 when you call make to use the tiwlan module
EDIT: look to software info when you have installed the original kernel to know what you have to add to EXTRAVERSION
c1nu5 said:
Yeah... Sorry, thats my fault...
You have to add EXTRAVERSION=-e3993620 when you call make to use the tiwlan module
EDIT: look to software info when you have installed the original kernel to know what you have to add to EXTRAVERSION
Click to expand...
Click to collapse
Thanks!
It's perfect now!
Now i'll take a look to desire/n1 forum to see what patch i could add..
Anybody interested in tun.ko for openvpn?
EDIT:
needs kernel version e3993620

[MOD] IncrediControl - Easy GUI undervolting!

Please read this post through thoroughly before downloading.
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
NOTE: The settings in the general tab are only functional in kernels that have implemented the simple sysfs interfaces for usb fast charging and audio boost. If you toggle them, its not going to break anything, but they won't work and the app may crash. If you would like your kernel dev to implement the interfaces, please direct them to these two commits:
https://github.com/Chad0989/android_kernel_common/commit/a7c21fa0391c225900f93960362535179c0cecc9
https://github.com/Chad0989/android_kernel_common/commit/41dc138bae23dc7582de72a4d9895aaa8e1f8b2d
NOTE2: It is a requirement of the HAVS adjustment that the kernel you are using has the HAVS sysfs interface implemented. If it does not, it will not work.
NOTE3: Before using, please delete any boot scripts you may have in /etc/init.d that toggle any of the settings this app controls.
Get it at http://www.incredikernel.com
Restore script - use this if you went too low and find yourself in a boot loop. Flash through recovery:
http://www.incredikernel.com/?p=229
8/1/2011:
IncrediControl v1.0!
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
thanks, but it cannot change the voltage in VU ROM.
zjmdp said:
thanks, but it cannot change the voltage in VU ROM.
Click to expand...
Click to collapse
What kernel are you running?
chad0989 said:
What kernel are you running?
Click to expand...
Click to collapse
Rcmix vivo 2.2 and original kernel of VU are both not supported
zjmdp said:
Rcmix vivo 2.2 and original kernel of VU are both not supported
Click to expand...
Click to collapse
I recommend requesting to the dev that he implement the sysfs interface for SVS adjustment. I believe Tiamat 1.0.4 is the only inc S kernel that currently supports it. Your kernel dev should be able to pull the commit from the tiamat site.
zjmdp said:
Rcmix vivo 2.2 and original kernel of VU are both not supported
Click to expand...
Click to collapse
RCMIX Vivo kernel for Inc S is supported. I tested it and klquicksall confirmed that RCMIX is a single core SVS kernel.
Master Darko said:
RCMIX Vivo kernel for Inc S is supported. I tested it and klquicksall confirmed that RCMIX is a single core SVS kernel.
Click to expand...
Click to collapse
I flashed RCMIX kernel on VU rom, but there is no interface to change the voltage. Only see General tab with audio boost and usb fast charge
zjmdp said:
I flashed RCMIX kernel on VU rom, but there is no interface to change the voltage. Only see General tab with audio boost and usb fast charge
Click to expand...
Click to collapse
Redownload the package. There was an issue with the one on the site, it somehow got crossed with an old version. It should be fixed on the site now.
Or you can grab it from the market.
Is it same with vipermod but with a GUI?
zjmdp said:
I flashed RCMIX kernel on VU rom, but there is no interface to change the voltage. Only see General tab with audio boost and usb fast charge
Click to expand...
Click to collapse
I probabaly did not give enough details. RCMIX kernel 2.2 with ARHD 1.1.3 works. Interface and all is there.
geeti said:
Is it same with vipermod but with a GUI?
Click to expand...
Click to collapse
Yes it is like vipermod with an easier to use interface.
Master Darko said:
Yes it is like vipermod with an easier to use interface.
Click to expand...
Click to collapse
It's cool. One quick question, I see in vipermod it relies on init.d file to have it effective after reboot. The advantage of this is if I set the voltage too low to work, I can pull the battery and reboot, and the voltage values will be as last time because it's not saved.
I saw you attached a restore zip file, so wondering if I set voltage too low to work, do I have to restore it by recovery?
geeti said:
It's cool. One quick question, I see in vipermod it relies on init.d file to have it effective after reboot. The advantage of this is if I set the voltage too low to work, I can pull the battery and reboot, and the voltage values will be as last time because it's not saved.
I saw you attached a restore zip file, so wondering if I set voltage too low to work, I have to restore it by recovery?
Click to expand...
Click to collapse
No, the only time you can have an issue is if you set the voltage too low AND check set on boot before you hit apply. This is why set on boot is always unchecked when you start the app (even if there are current boot settings, which will be shown by the text box by restore defaults). So you can adjust the voltages all you want, click apply and they will be set in the current session only. Once you decide you want to set those voltages on boot, you check the set on boot box, and click apply.
The restore script is for the rare occasion that somebody sets their voltages way too low and checks set on boot before hitting apply.
chad0989 said:
No, the only time you can have an issue is if you set the voltage too low AND check set on boot before you hit apply. This is why set on boot is always unchecked when you start the app (even if there are current boot settings, which will be shown by the text box by restore defaults). So you can adjust the voltages all you want, click apply and they will be set in the current session only. Once you decide you want to set those voltages on boot, you check the set on boot box, and click apply.
The restore script is for the rare occasion that somebody sets their voltages way too low and checks set on boot before hitting apply.
Click to expand...
Click to collapse
Thanks man.
chad0989 said:
No, the only time you can have an issue is if you set the voltage too low AND check set on boot before you hit apply. This is why set on boot is always unchecked when you start the app (even if there are current boot settings, which will be shown by the text box by restore defaults). So you can adjust the voltages all you want, click apply and they will be set in the current session only. Once you decide you want to set those voltages on boot, you check the set on boot box, and click apply.
The restore script is for the rare occasion that somebody sets their voltages way too low and checks set on boot before hitting apply.
Click to expand...
Click to collapse
Does the "set on boot" generate a boot script in init.d?
geeti said:
Does the "set on boot" generate a boot script in init.d?
Click to expand...
Click to collapse
No, currently it generates a script in /etc (called either /etc/havsvdd or /etc/svsvdd) that is run by the incredicontrol service at boot. This is part of the plan to migrate away from boot scripts and rely on database storage of the frequencies/boot settings. Database storage will make it easier for one to retain their settings when they back up/restore from titanium backup or flash a rom update (especially important with roms that have nightlies that people flash all the time, i.e. cm7) since everything will be stored in the app data instead of a system folder.
chad0989 said:
Redownload the package. There was an issue with the one on the site, it somehow got crossed with an old version. It should be fixed on the site now.
Or you can grab it from the market.
Click to expand...
Click to collapse
Thanks. It works!
Master Darko said:
I probabaly did not give enough details. RCMIX kernel 2.2 with ARHD 1.1.3 works. Interface and all is there.
Click to expand...
Click to collapse
New version does work!
IncrediControl v1.3
Major changes include:
Ad Free has now been turned into a key that removes the ads from the free version. This allows donors who have downloaded the ad free version from the site to update through the market.
HAVS voltage checking. Minimum voltages can no longer be set higher than maximum voltages.
Boot voltages are now stored in the application’s data directory. Boot settings will now persist if you update your ROM or restore the application and data from a backup.

[RAM Script] Tweaking Juwe11's RAM script for O2X, good for all ROM support init.d

======
Preface
======
The script is actually Base on Juwe11's RAM script
which you can found here... http://forum.xda-developers.com/showthread.php?t=1111145
==========
Main Content
==========
The adj value of his script is a bit too tight for Our O2X...
so the Launcher is killed quite often if many apps opened in the background.
Here's the adj value changes I made, originally, Juwe11's values are..
"0,1,2,4,6,15" and I change it to, "0,1,2,7,8,9"
the forth value is for HIDDEN_APP_MIN_ADJ, which including the Launcher (I'm using LauncherPro) belongs to this category when you open some foreground application.
the default android value for this is also 7, and I find the OOM value for Launcher is 6 usually... so Juwe11's "4" will lead to our Launcher being Killed, keep it at 7, never tried to have mine killed yet.
The last 2 vaule just make sure the last category EMPTY_APP_ADJ is kill earlier than the previous..
About the minfree vaule...
I change it to "1536,3072,4096,7680,8960,10240" which actually the same values of "Moderate preset" of autokiller
which is enough to ensure most RAM being use before killing for faster task switching...
=====
Credit
=====
!! Credit goes to Juwe11 for his mighty RAM script~ !!
Backup your RAMscript and remove it to somewhere before install this...
install via CWM, it will put the script into your /etc/inti.d/ that's it, boot and try
i just installed it,
i will let u know what are the results,
u are correct, the original script kills the launcher and apps specially XDA
will try this configuration on auto killer memory seems good m8 to set it to moderate
shpapy said:
i just installed it,
i will let u know what are the results,
u are correct, the original script kills the launcher and apps specially XDA
Click to expand...
Click to collapse
I'm not sure if other Launcher would have a different OOM value~
I have Autokiller memory optimizer which I paid before...so I can view OOM value easily..
But with this Script... I guess really no task killer needed for our 2X already.
antec123 said:
will try this configuration on auto killer memory seems good m8 to set it to moderate
Click to expand...
Click to collapse
so, just edit the minfree value according to the values inside AutoKiller if you find some other setting suits you more
but about the adj value... I guess that part is already good enough
now I find my phone already got around 60-90 free RAM at any time...
Multiple games running at the background while web browsing...
and the Browser usually got a higher OOM, which tends to kill earlier than Games..
it is reasonable.. as the WEB you can load again with the same URL..
while the game got killed, you lost the state... android is doing it's work nicely I guess.
best memory managment script i have tryed is v6supercharger http://forum.xda-developers.com/showthread.php?t=991276
I think its the best of the best.
orlox said:
best memory managment script i have tryed is v6supercharger http://forum.xda-developers.com/showthread.php?t=991276
I think its the best of the best.
Click to expand...
Click to collapse
I tried both V6 and Juwe11's before...
and I manage to be patient enough to follow step by steps...
for installing so many things... and it just put a script in init.d at the end...
And I found it do not contain adj value in it, so I come back to Juwe11's
but anyway, this is your choice...
thanks for that script
just a quick question
would this script also work on a sgs2, running oxygen aosp stock rom?
pa.pn2 said:
thanks for that script
just a quick question
would this script also work on a sgs2, running oxygen aosp stock rom?
Click to expand...
Click to collapse
same as Original Juwe11's version.
it was suppose to work on any ROM which support init.d
but the values may need some tweaking accordingly.
squide said:
I'm not sure if other Launcher would have a different OOM value~
I have Autokiller memory optimizer which I paid before...so I can view OOM value easily..
But with this Script... I guess really no task killer needed for our 2X already.
Click to expand...
Click to collapse
Sorry to let you down. But the results are the same......
Sent from my LG-P990 using XDA App
squide said:
I tried both V6 and Juwe11's before...
and I manage to be patient enough to follow step by steps...
for installing so many things... and it just put a script in init.d at the end...
And I found it do not contain adj value in it, so I come back to Juwe11's
but anyway, this is your choice...
Click to expand...
Click to collapse
adj values are in /data/SuperChargerAdj while minfree values are in /data/SuperChargerMinfree.
it's just a script in init.d at the end, you only need to follow it step by step...
squide said:
so, just edit the minfree value according to the values inside AutoKiller if you find some other setting suits you more
but about the adj value... I guess that part is already good enough
now I find my phone already got around 60-90 free RAM at any time...
Multiple games running at the background while web browsing...
and the Browser usually got a higher OOM, which tends to kill earlier than Games..
it is reasonable.. as the WEB you can load again with the same URL..
while the game got killed, you lost the state... android is doing it's work nicely I guess.
Click to expand...
Click to collapse
i set the preset to moderate and get about 126-128mb on free ram pretty impressive and the stock browser don't get close so quickly nice! i use v10e ESA and neoblaze kernel
Works on CM7?
_Vegas said:
Works on CM7?
Click to expand...
Click to collapse
it should work on all ROM supporting init.d
in case you don't like it, go to /etc/init.d to remove the script and reboot.
it wont modify your file system..
it just override some system value on boot.
if you removes the script.. your phone would back to the state before you install this.
so, just try see if u like, if not, delete it, reboot, that's it.
Works really nicely on CM7 nightly.
Sent from my Optimus 2X
Bit of a Dumb question but my phone still has the Stock rom and doesn't have the init.d Folder
if I created /system/etc/init.d and copied the script into that would this work?
waynefox said:
Bit of a Dumb question but my phone still has the Stock rom and doesn't have the init.d Folder
if I created /system/etc/init.d and copied the script into that would this work?
Click to expand...
Click to collapse
Sorry, no. You need a custom rom of some sort to get init.d support.
TrymHansen said:
Sorry, no. You need a custom rom of some sort to get init.d support.
Click to expand...
Click to collapse
You need a Custom Kernel supporting init.d to be more accurate.
and NeoBlaze is a good one to try with.
if you really need to keep your stock ROM..
First of all you still need to root your phone
Install ROM manager from market
flash the Clockworkmod via ROM manager
install NeoBlaze Kernel, then you're ready.
if warranty is your concern, take a look to the Nvflash thread..
O2X is ALMOST unbrickable, almost.
squide said:
You need a Custom Kernel supporting init.d to be more accurate.
and NeoBlaze is a good one to try with.
if you really need to keep your stock ROM..
First of all you still need to root your phone
Install ROM manager from market
flash the Clockworkmod via ROM manager
install NeoBlaze Kernel, then you're ready.
Click to expand...
Click to collapse
I'm pretty sure that won't work. You need ROM-support as well. (A Ramdisk script which starts the init.d. thing to be even more accurate.) Feel free to prove me wrong.
TrymHansen said:
I'm pretty sure that won't work. You need ROM-support as well. (A Ramdisk script which starts the init.d. thing to be even more accurate.) Feel free to prove me wrong.
Click to expand...
Click to collapse
Ramdisk is a part of the kernel, so if you bung a kernel that supports init.d on (any) rom it'll run what's in there assuming it's eXecutable.
You can do it on the stock rom even, as long as you have a init.d kernel (and create the entries in ../etc/init.d/).
Although I can't "prove" this to you at the moment...

[KERNEL]G Tab2 7" (GT-P3113)[Add AOSP/CM Support: 05.31.12]

Okay, here's what you get:
[Update 5]
Change 150MHz fuse for stability at that speed
Reset mpu vdd to proper max
Remove touchscreen msgs from dmesg
Added OMAP_C4_MPUOSWR for GPU power down
Added OMAP_IPU_DEEPIDLE
Added Google Snappy compression and a jillion ZRAM tweaks
Added USB fast charging - See below for instructions. Look for a homescreen toggle some time tomorrow.
[Update 4]
MinMax Governor
memcpy and memmove tweaks (hopefully for speed!)
ZRAM Swap - You need to enable this. See below.
InteraciveX Governor.
[Update to Version 3]
SLQB Memory Manager
Random Tweaks/Cleanup
Change OC range to 150MHz-1.35GHz
Bump OC on GPU to 448 (I tried 512, it didn't like it when I ran stress tests.)
[Version 3 Update]
Lulsactive Governor
Lazy Governor
Pegasus Governor
BFQ Scheduler
Updated VR and Simple Schedulers
Fixed Lagfree Governor
[Version 2 Update]
CIFS Support
NTFS Support
init.d support - you need to create the directory (/system/etc/init.d)
Overclock up to 1.3GHz
Various I/O Tweaks
dm-cache
VR Scheduler
Simple Scheduler
Smartass2 Governor
Lagfree Governor
External SDCard mounted to /sdcard2
I do not know how much more I will do on this, it runs very nice for me now.
This is a stock kernel, it will not run AOSP/AOKP/CM. Sorry.
May contain one or more of the following ingredients: Metallice, Ziggy, imoseyon, faux123, xoomdev, peanut products, hainesca, Ezekeel, milk products, chad0989, DerTeufel, zachariasmaladroit, and various other non-allergenic components.
Enjoy!
D
Dev-Host: Stock Kernel
Goo.im: Stock Kernel
MD5: 17fa1d6d7c6878a26416e88801854021
Dev-Host: AOSP/CM/AOKP Kernel
Goo.im: AOSP/CM/AOKP Kernel
MD5: 3e4645e8c3117bc56dbd1fb058a0d472
To enable ZRAM: Go into adb shell and issue this command: zram enable
To enable fast charge: In adb shell: echo 1 > /sys/kernel/fast_charge/force_fast_charge - THERE IS NO PC CONNECTION WHILE THIS IS ON!
To disable fast charge: In terminal emulator: first: su, then: echo 0 > /sys/kernel/fast_charge/force_fast_charge
.
My Git
awesome!! quick question tho....theres anyway we can add native cifs support for this kernel? thanks
Sent from my GT-P3113 using XDA
statuzz said:
awesome!! quick question tho....theres anyway we can add native cifs support for this kernel? thanks
Sent from my GT-P3113 using XDA
Click to expand...
Click to collapse
I'll see what I can do.
D
.
your awesone
Thank you soo much for this. Your hard work is greatly appreciated.
Thanks for your work! Also, is NTFS support for the microsd card possible or kernel related? Please reply. Thanks!
Any chance of clocking the gpu at 512 MHz. It makes my nexus more responsive and I don't notice any negative effect on battery.
Sent from my Galaxy Nexus using xda premium
Thanks for all your hard work! I look forward to seeing what else you come up with!
One thing I desperately need is mass storage support. However, I am not asking that of you (IDK for sure if that would involve the kernel or the ROM or both, anyway). I would like some help with my ad hoc solution. I have this program NetDrive that can mount an FTP connection as a local drive, which is great in conjunction with FTPDroid as a replacement for mass storage. My only problem is that I cannot use FTPDroid where there is no Wi-Fi, so at home I have to use cyansmoker's Alt Mounter, which only sets up FTP for /sdcard. So, is there any chance you could set the kernel to mount the external SD card within the /sdcard folder (I know there are some ROMs for other devices that mount it under /sdcard/sd)?
Do we use Odin or CWM to load the kernel? Which app do u use to overclock. Just receives my tab today
Sent from my SPH-D710 using XDA
I flashed this kernel and all works well. But my tab is running hot, I guess I should have asked before flashing.
------------------------------------------------------------
"init.d support - you need to create the directory (/system/etc/init.d)"
"Overclock up to 1.3GHz"
-----------------------------------------------------------
Do I create a file called init.d under /system/etc or a folder called init.d under /system/etc
I have the paid version of Tegrak installed, is this how I would change the OC parameters or do I use another method.
Without doing anything Tegrak reports that I am running at 1.3GHZ.
Thanks in advance...
toanau said:
Do we use Odin or CWM to load the kernel? Which app do u use to overclock. Just receives my tab today
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Clockwork, I use system tuner.
D
bark777 said:
I flashed this kernel and all works well. But my tab is running hot, I guess I should have asked before flashing.
------------------------------------------------------------
"init.d support - you need to create the directory (/system/etc/init.d)"
"Overclock up to 1.3GHz"
-----------------------------------------------------------
Do I create a file called init.d under /system/etc or a folder called init.d under /system/etc
I have the paid version of Tegrak installed, is this how I would change the OC parameters or do I use another method.
Without doing anything Tegrak reports that I am running at 1.3GHZ.
Thanks in advance...
Click to expand...
Click to collapse
It is a folder. There are many program, I use system tuner.
D
.
Added CIFS and NTFS.
D
.
dsb9938 said:
Added CIFS and NTFS.
D
.
Click to expand...
Click to collapse
thanks for your hard work @dsb9938!! can u also provide the cifs.ko as well?? thanks again and really appreciated what u doing
statuzz said:
thanks for your hard work @dsb9938!! can u also provide the cifs.ko as well?? thanks again and really appreciated what u doing
Click to expand...
Click to collapse
Modules are built in.
D
.
My friends, let me congratulate this dev for his awesome work.
I got my tab today, rooted it, flashed this kernel with CWM and the gadget is running great . I am using SetCPU-
I also installed Nova Launcher.. running great
Im amazed we can do all this the first day with a $249 tab
BTW, somebody asked for storage support. I am using the media connection and transfer files this way. No big deal .. you can see both SD´s.
Cheers
bark777 said:
I flashed this kernel and all works well. But my tab is running hot, I guess I should have asked before flashing.
Click to expand...
Click to collapse
Mine runs warm along the left side (holding in portrait) even with the stock kernel.... curious to feel this kernel after.
So I installed the kernel and my microsd is not mounted as /sdcard2. What am I missing?
slopokdave said:
Mine runs warm along the left side (holding in portrait) even with the stock kernel.... curious to feel this kernel after.
So I installed the kernel and my microsd is not mounted as /sdcard2. What am I missing?
Click to expand...
Click to collapse
What does it say for kernel version under About Device?
D
.
dsb9938 said:
What does it say for kernel version under About Device?
D
.
Click to expand...
Click to collapse
Nevermind! I see it now. Had to backup a couple directories, I was looking at the old mnt/extSdcard, it's still there.
So how does this help with using it for app storage? Or, does it? Thanks!!!!

[krn.modules] intellidemand governor for Arc / Arc S stock Kernel (ICS)

Upon request from fellow member ascariz on the smartassV2 governor, I've compiled intellidemand module for Arc 4.0.3 stock kernel.
Since the firmware I use is the Arc S one (ICS 4.0.3) - I believe this module will also work for Arc S.
To fully configure / install the module, please check this page for a similar module I did for X10 back in the days - page.
Some things are different, but if you want to hand customize all possible parameters after phone starts up, the path to check is
Code:
/sys/devices/system/cpu/cpu0/cpufreq
Download:
Use it at your own risk!
cpufreq_intellidemand_arc_ics.zip
Enjoy!
Awesome. Not trying to be greedy but can we have BoostedAssV2 too ? xD
viulian said:
Upon request from fellow member ascariz on the smartassV2 governor, I've compiled intellidemand module for Arc 4.0.3 stock kernel.
Since the firmware I use is the Arc S one (ICS 4.0.3) - I believe this module will also work for Arc S.
To fully configure / install the module, please check this page for a similar module I did for X10 back in the days - page.
Some things are different, but if you want to hand customize all possible parameters after phone starts up, the path to check is
Code:
/sys/devices/system/cpu/cpu0/cpufreq
Download:
Use it at your own risk!
cpufreq_intellidemand_arc_ics.zip
Enjoy!
Click to expand...
Click to collapse
OMG. you really do it?! tq mate!
After a day of testing, I'm switching back to smartassV2.
With smartassV2:
a) the time in state shows me about 16-17% at 1Ghz, and the others at 122MHz. Intermediate frequences are rarely used.
b) battery was about 40% at the end of the day with my usage (4 email accounts doing sync at 15 minutes - I'm not using push, but k9 connects) - also half of the day in an area where 3G signal is weak and phone swiches back and forth.
With intellidemand:
a) the time in state is 6% for 1GHz which might look better in comparison with smartassV2.
BUT:
b) the phone is sluggish and you can feel it needs a bit of time (1 second ?) to pick up speed, UI animations are choppy.
c) it does make use of the intermediate frequencies - but battery was about 20% when I got home, identical usage as previous day with smartassV2.
In both cases, screen was always kept at 25%.
Now my conclusion is that:
a) intermediate (but high) frequencies have similar battery usage as maximum frequency.
b) spending more time in an intermediate frequency makes things slower to finish and thus, based on point a) drains battery more.
Also, the code of intellidemand is more complex (.ko size is +20Kb more) as opposed to smartassV2 - and thus I guess it also takes more time (energy) to compute the correct frequency. In itself, a complex algorithm to compute the next state takes its toll.
smartassV2 does perform better with my usage pattern - and I'm curious why this governor is claimed to be advanced I mean algorithmically it surely is, but phone is more sluggish + more battery drain (not significant, but about 20% in my basic, 1 day test).
I will focus my attention on other *ass governors
flashable intellidemand. auto load on startup. all credit to viulian.
ascariz said:
flashable intellidemand. auto load on startup. all credit to viulian.
Click to expand...
Click to collapse
Can you make a flashable smartassv2 too ?
Dark Fable said:
Can you make a flashable smartassv2 too ?
Click to expand...
Click to collapse
errr...im not a module compiler like viulian. honestly, i dunno. but to make it autoload on boot & flashable, yes, as long as i have that .ko file.
ascariz said:
errr...im not a module compiler like viulian. honestly, i dunno. but to make it autoload on boot & flashable, yes, as long as i have that .ko file.
Click to expand...
Click to collapse
The .ko was already made by viulian, here ya go.
Dark Fable said:
The .ko was already made by viulian, here ya go.
Click to expand...
Click to collapse
this is intellidemand and smartassv2 modules that you can load in 2 way.
1) for those who use stock kernel that not support init.d, use script manager to load MODULELOADER script at start up. after flash, browse at system/etc/init.d folder and you will find the script.
2) for those who use kernel with init.d supported (e.g. Cobrato kernel), do nothing. just flash it and you ready to go.
ascariz said:
this is intellidemand and smartassv2 modules that you can load in 2 way.
1) for those who use stock kernel that not support init.d, use script manager to load MODULELOADER script at start up. after flash, browse at system/etc/init.d folder and you will find the script.
2) for those who use kernel with init.d supported (e.g. Cobrato kernel), do nothing. just flash it and you ready to go.
Click to expand...
Click to collapse
Doesn't work man. :/ The new governors aren't showing up in No Frills CPU..using Cobrato's kernel.
First you must use the stock kernel from Sony's official 4.0.3 release for Arc S (even if having the Arc).
Any other kernel will not work ... (or very slim chances to work).
Second, please check using Module Loader app (but only activate the boot time loading of the module after you are sure the things work).
viulian said:
First you must use the stock kernel from Sony's official 4.0.3 release for Arc S (even if having the Arc).
Any other kernel will not work ... (or very slim chances to work).
Second, please check using Module Loader app (but only activate the boot time loading of the module after you are sure the things work).
Click to expand...
Click to collapse
I have the ARC S lol, and Cobrato's kernel is Stock 4.0.3 kernel with init.d support.
http://forum.xda-developers.com/showthread.php?t=1591279
Hmm...I thought you didnt have to use module loader for the flashable zips ? :/ Because the module loader shows 'Starting modules...' in the middle of any game (Like Temple Run) and it begins to lag horribly, this pisses my friends off. I want to show them how great a phone Arc/S is. :/
Ok, if it has the same version number then it will load the modules ok (as well as having the same binary kernel image).
I think the OS kills Module Loader to regain some memory, then starts it back when memory level gets better (kills it when game / heavy app starts, then as memory becomes available, it starts it back). But Module Loader has a bug and when started also loads the modules
Another solution is to use Script Manager ( http://www.androidsoftware.us/Applications/Script-Manager.html ) to run a script at boot (a small script that just do the insmod).
Hope it helps...
viulian said:
Ok, if it has the same version number then it will load the modules ok (as well as having the same binary kernel image).
I think the OS kills Module Loader to regain some memory, then starts it back when memory level gets better (kills it when game / heavy app starts, then as memory becomes available, it starts it back). But Module Loader has a bug and when started also loads the modules
Another solution is to use Script Manager ( http://www.androidsoftware.us/Applications/Script-Manager.html ) to run a script at boot (a small script that just do the insmod).
Hope it helps...
Click to expand...
Click to collapse
Thank you for your quick response. [: I know about script manager, can you please provide me with the script to use with it for the modules and a how to ? If not too much trouble that is.
Nvm, got it, thanks.
Dark Fable said:
Doesn't work man. :/ The new governors aren't showing up in No Frills CPU..using Cobrato's kernel.
Click to expand...
Click to collapse
err...it should work man..i used JJ hybrid rom, and the modules shows up in the rom control..maybe you should try app other than no frills..

Categories

Resources