[KERNEL] SpeedMod SGS2 ICS [K3-32 CIFS ROOT / NO-ROOT CWM5] - Galaxy S II Original Android Development

Hi guys,
This is the SpeedMod kernel for Android ICS for the Samsung Galaxy S2 GT-I9100.
This kernel only works with Samsung ICS based ROMs.
SpeedMod's core features are:
- Super stable: No undervolting, overclocking or potentially unstable modifications
- Fast and smooth: Compiler and code optimizations
- Excellent battery life: Remove unecessary logging and debugging
>>> CLICK HERE for more info and the DOWNLOAD links.
>>> CLICK HERE for the Frequently Asked Questions list.
Current features:
Root and CWM:
- Automatically installs root (su) but can be disabled
- CWM recovery 5.x
Screen and misc tweaks:
- init.d, TUN, CIFS, IPV6 Privacy support
- MMC_CAP_ERASE disabled to fix the hard-brick bug (this kernel is "safe")
Performance:
- CPU governor tweaks: increase responsiveness
- IO tweaks
- Read ahead tweaks
- Compiled with optimizations using Linaro GCC toolchain
- Switched to SLAB instead of SLUB
- Multi-core aware scheduler SCHED_MC
Turned off unnecessary logging for better smoothness and efficiency:
- Disabled Android Debug Logger / logcat
- Disabled Samsung debug
- Disabled various kernel debugging, statistics and tracing options
>>> CLICK HERE for the CHANGELOG.
Instructions on how to enable logcat and disable auto-root are in the 3rd post (below).
>>> CLICK HERE for more info and the DOWNLOAD links.

Source code patches are here.

Here is how to change some of the kernel configurations:
[HOW TO ENABLE LOGCAT]
If you are a developer or want to re-enable logcat for whatever reason, do this:
adb shell
su
mount -o remount,rw /system
echo ANDROIDLOGGER >> /system/etc/tweaks.conf
mount -o remount,ro /system
[HOW TO DISABLE AUTO-ROOT]
Create a file called ".noautoroot" in either /system or /data. This will disable the auto root installation. This example, shows how to remove root completely:
adb root
adb shell
mount -o remount,rw /system
rm /system/xbin/su
rm /system/app/Superuser.apk
rm /data/app/Superuser.apk
touch /system/.noautoroot
mount -o remount,ro /system
sync
reboot
[HOW TO RE-ENABLE AUTO-ROOT]
adb root
adb shell
mount -o remount,rw /system
rm /system/.noautoroot
mount -o remount,ro /system
sync
reboot

thanks hard!

nice to see another kernel for ics!.
cheers!

Know, I have to find a ICS rom... Thank you
Sent from my GT-I9100 using Tapatalk

Wait for a long time...
Look forward to it!! Thank you!!

Awesome
waiting this for long...
Will it be aosp compatible?

OMG OMG hardcore you made my day!
Fap fap fap fap
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my little monster GS2

Anyone can sell me a F5-only keyboard?
Sent from my GT-I9100 using xda premium

Jizz in my pants

Hardcore you know the score
K2-21 remains the best ever kernel for the SGSII (obviously before ICS)
So as soon as CheckRom - GC and Leo are finished their work and it is updated i will undoubtely be flashing only 1 kernel and it'll be this one
---------- Post added at 02:06 PM ---------- Previous post was at 02:05 PM ----------
bervin said:
Jizz in my pants
Click to expand...
Click to collapse
have you just been watching porn
relax mate it's only a kernel not some hot babe

My bad day just got a whole load better
Sent from my GT-I9100 using xda premium

Great !! Finally i'll update to ICS soon
Any ROM/Build released actually ?
Sent from my GT-I9100 using xda premium

Nice.... Now I have more option on ICS kernel..
Thanks Hardcore..

Good to see you back!
I was a bit afraid that you made the sensible switch to Galaxy Nexus as well. Looking forward to see your SGS2-ICS kernel

Alright guys, download links are up on the first post.
This should be a stable version, but it does not have CWM yet.

hardcore said:
Alright guys, download links are up on the first post.
This should be a stable version, but it does not have CWM yet.
Click to expand...
Click to collapse
I'm happy download
Inviato dal mio GT-I9100 usando Tapatalk

hardcore said:
Alright guys, download links are up on the first post.
This should be a stable version, but it does not have CWM yet.
Click to expand...
Click to collapse
sorry mate could not read anywhere as to what ICS roms you support. what i mean does this flash fine with cm9 or any aosp roms? many thanks

Just samsung roms.
Sent from my GT-I9100 using XDA

Related

[krn.modules] interactive governor for X10 GB

Hello guys,
Introduction
I've managed to compile the interactive governor (supported by SetCPU!) for X10 2.3.3 GB kernel (2.6.29-00054-g5f01537).
It was difficult to find a source that worked. This module is a compiled version of the code from here.
Screenshot. It oscillates between 245Mhz and 384Mhz while playing music!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installing
After unpacking the zip into the folder of your choice, execute the following commands:
Code:
adb push "cpufreq_interactive.ko" /sdcard/cpufreq_interactive.ko
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/lib/modules
cp /sdcard/cpufreq_interactive.ko .
insmod cpufreq_interactive.ko
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Then you can fire up SetCPU and see that it actually detects the interactive governor and frequency changes. Reboot will reset the settings - you will need to modify your startup scripts to activate it on each reboot, or use SetCPU for this.
Settings
Although the initial interactive module only supported one setting, the min_sample_time, this one supports an additional one:
Code:
# pwd
pwd
/sys/devices/system/cpu/cpu0/cpufreq/interactive
# ls
ls
go_maxspeed_load
min_sample_time
#
which is go_maxspeed_load.
SetCPU only supports the initial setting that the module came with, the min_sample_time. By default, it is configured to 80000 here, but 50000 could also be a good value.
The settings default values and explanations:
Code:
/* Go to max speed when CPU load at or above this value. */
#define DEFAULT_GO_MAXSPEED_LOAD 85
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
#define DEFAULT_MIN_SAMPLE_TIME 80000;
To modify them, just echo the desired value into the sysfs files:
Code:
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
Download
Use it at your own risk!
cpufreq_interactive.zip
So glad you have got this!!!!
Loved it in DooMKernel
going to try on TripNMiUI now!!!
Regards
Really great dude! I can't wait to use it!
Sent from my X10i using EWJet GB and XDA-App
Omg!!! Another booster to my x10.... Thanks...
Sent from my X10i using XDA Premium App
Oh, can't believe it. You did it. Another governor. GREAT!
Excellent work. Got it installed on WB's 3.9 and cpu master recognized the new governor. Will test throughout the day and report back any issues. Thanks again for your great work.
Edit: Reboot looses the governor due to tweaks in install-recovery.sh, will continue to test and find a work around.
Edit again: Added insmod & echo line in install-recovery.sh and interactive governor can be selected again without affecting Z's 'OC' tweak. Still need further testing though.
Really hope Z and wolf adds this to their roms.
Sent from my X10i using XDA Premium App
I will but im busy at work now again. Vacation is over
Sent from my X10i using XDA App
Thanks viulian, I included it in EWJET rom! It's awesome! Nice work!
interactive governor \o/
it was tricky to make it start on boot but i managed to do it, now time to test it
I will but im busy at work now again. Vacation is over
Click to expand...
Click to collapse
Hah, you have vacation like aZuZu lol. How about it?
Nice governor, should try this.
EDIT: can't install. Error: cannot stat 'cpufreq_interactive.ko': no such file or directory.
I copied that file to sdcard.
silveraero said:
EDIT: can't install. Error: cannot stat 'cpufreq_interactive.ko': no such file or directory.
I copied that file to sdcard.
Click to expand...
Click to collapse
Make sure the file is really where it has to be - the error says that is not found.
Yeah I know the error. I copied that file to sdcard and C:\Windows\ (where I put adb in) too but the error keeps appearing.
EDIT: Can I do this?
- Copy cpufred_interactive.ko to system\lib\modules
- Insert "interactive" to sys\device\system\cpu\cpu0\cpufred\scaling_gorvenor
I think this will need one more step to interact the cpufred_interactive.ko with the scaling_governor but I don't know how
Lockon Stratos said:
Excellent work. Got it installed on WB's 3.9 and cpu master recognized the new governor. Will test throughout the day and report back any issues. Thanks again for your great work.
Edit: Reboot looses the governor due to tweaks in install-recovery.sh, will continue to test and find a work around.
Edit again: Added insmod & echo line in install-recovery.sh and interactive governor can be selected again without affecting Z's 'OC' tweak. Still need further testing though.
Click to expand...
Click to collapse
Can u please give the commands on how to do this?
Extract cpufreq_interactive.ko to system/lib/modules and then add following to install-recovery.sh
#modules & thanks viulin
insmod /system/lib/modules/cpufreq_interactive.ko​
#cpufreq governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time​
Installed on stock 2.3.3, and get incredible battery life with great preformance, much more usable than smartass one. Thanks for the module!
Looking forward to see more settings available for that governor.
first time seen the other frequencies being used. thanks.
btw, is there any limitation of not going to deep sleep while charging?
can any body explain me how to do it plzzzzzzzzzzzzzzzzzzzzzz
awesome...........,
tayub said:
can any body explain me how to do it plzzzzzzzzzzzzzzzzzzzzzz
Click to expand...
Click to collapse
the ans is rite here...as WB mention
Wolfbreak said:
Extract cpufreq_interactive.ko to system/lib/modules and then add following to install-recovery.sh
#modules & thanks viulin
insmod /system/lib/modules/cpufreq_interactive.ko​
#cpufreq governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time​
Click to expand...
Click to collapse
the install-recovery.sh is at system/etc.
Anyway...is it possible to use smartass AND this together?

[FIX] Run init.d scripts at startup (corrected sysinit along with run-parts)

[ info ]
the reason i created this thread is that many custom kernels for our X10 are having the feature of running init.d scripts at startup, BUT the problem is that some ROMS dont have the necessary/correct files in place for executing those scripts...
so i am attaching a easy to flash update.zip which contains these missing files required for full functionality of executing startup scripts...
use the following files only if u are not able to execute init.d startup scripts on ur current ROM
[ requirements ]
rooted device with recovery installed
kernel/other modifications which support init.d script execution (via sysinit) [exec /system/bin/sysinit]
[ download link ]
update.zip flashable via xRecovery-0.3-GBready (amend syntax)
init.d-autorunner-v01.zip
[ additional info ]
i have added the following things in the update.zip:
corrected /system/bin/sysint file
run-parts binary in /system/xbin/run-parts (which is basically busybox 1.16.2 binary)
test/example script /system/etc/init.d/99test
CM7-FreeXperia ROM already supports this execution so no need to flash it on that ROM
if ur startup script is not correctly working then u need to make sure that u have the correct permissions on the script (just tick all 9 boxes using RootExplorer permissions pop-up)
let me know how it goes!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ENJOY!
reserved reserved
Hey Doom, Is this already implemented in Z's CM7 2.3.5 rom?
Aphex33 said:
Hey Doom, Is this already implemented in Z's CM7 2.3.5 rom?
Click to expand...
Click to collapse
i dont remember...
test it out...
if init.d scripts are getting executed w/o using this FIX then its already implemented
This solves the issues with wolf v4.0.4 with Doomkernel??
So i will retain back my init.d files...
Hey doom and other devs
How many copies of busybox we will have in roms
I mean why not just add special folder rtm ( run-time module ) and place our busybox there...
That would ensure that it is not overwritten and replaced by market or some external thing...
If you take look now we have devs placing busybox in /recovery/sh /xbin/sh /bin/busybox etc, etc ...
Let's not forget busybox has size 700 kB that is like almost 1 MB of wasted space per copy...
And all sh scripts can run using #!/path_to/busybox sh and let's not forget that run-parts are created by update-script in xbin or bin folder so making new copy of busybox as run-parts not needed
And sysinit can be as service in init file
service sysinit /path_to/busybox run-parts /system/etc/init.d
Hi Doom,
Thank you
aZuZu said:
Hey doom and other devs
How many copies of busybox we will have in roms
I mean why not just add special folder rtm ( run-time module ) and place our busybox there...
That would ensure that it is not overwritten and replaced by market or some external thing...
If you take look now we have devs placing busybox in /recovery/sh /xbin/sh /bin/busybox etc, etc ...
Let's not forget busybox has size 700 kB that is like almost 1 MB of wasted space per copy...
And all sh scripts can run using #!/path_to/busybox sh and let's not forget that run-parts are created by update-script in xbin or bin folder so making new copy of busybox as run-parts not needed
And sysinit can be as service in init file
service sysinit /path_to/busybox run-parts /system/etc/init.d
Click to expand...
Click to collapse
aZuZu u will have to check all busybox binaries... wht i found was NOT ALL busybox binaries support run-parts (u can check it ur self)...
there are symlinks created using update-script which are wrong... u should be using busybox --s -install command always...
anyways the problem is that some devs use busybox in /system/bin /system/xbin
some include busybox in ramdisk (/sbin)...
so simplest solution for run-parts is to use a small "<400kb" binary which handles this well...
BTW i already use the sysinit service for my other kernels (Arc/Play/etc...) [which is much more advanced]
the solution posted here is a generic one which should work for MOST kernels...
P.S.: having a small 400Kb file is not going to waste 350MB+ space of ur /system partition
DooMLoRD said:
aZuZu u will have to check all busybox binaries... wht i found was NOT ALL busybox binaries support run-parts (u can check it ur self)...
there are symlinks created using update-script which are wrong... u should be using busybox --s -install command always...
anyways the problem is that some devs use busybox in /system/bin /system/xbin
some include busybox in ramdisk (/sbin)...
so simplest solution for run-parts is to use a small "<400kb" binary which handles this well...
BTW i already use the sysinit service for my other kernels (Arc/Play/etc...) [which is much more advanced]
the solution posted here is a generic one which should work for MOST kernels...
P.S.: having a small 400Kb file is not going to waste 350MB+ space of ur /system partition
Click to expand...
Click to collapse
Hi my friend,
I think your idea is also based
so I want to try this script
Cheers,
tkymgr
thanks for your such nice information sharing with us in this forum so keep it up
@DooMLoRD: This does not seem to work on ICS.. any suggestions?
is sysinit 0755 or 0777 (chmod) ?
Is this supported for fera lab v20?
Sent from my Xperia X10 using xda premium
Works on any android device ?
Enviado desde mi GT-I9300 mediante Tapatalk

[MOD] 1.8GHz+ overclock module for HTC EVO 4G LTE

EDIT: Perflock really doesnt allow the settings to stick. Sure you can change them in Set CPU or a similar app, but after using CPU Spy and realizing that the phone does not clock to above 1.5GHZ unless Set CPU is open this is considered pretty much useless until a custom kernel comes that disables perflock. Sorry.
First I want to say thanks to Haus for showing me how to do this, his thread is here. This is not my own release but rather I modded coolbho3000's original module to work with our phones. The rest of the post will be word for word verbatim of his post.
Instructions
Install the overclock (only once):
1. Push the kernel module to your device, make sure it is the krait_oc.ko file, not the krait_oc.ko.bak file:
Code:
adb push krait_oc.ko /data/local
2. Install the new thermald.conf, making sure to back up the old one, and reboot. The thermald.conf is included in the download. If you want to target a frequency other than 1809000 KHz, you should edit the thermald.conf and replace "1809000" to whatever frequency you want to target.
Code:
adb push thermald.conf /data/local
adb shell
su
mount -o rw,remount /system
cp /system/etc/thermald.conf /system/etc/thermald.conf.bak
rm -r /system/etc/thermald.conf
cp /data/local/thermald.conf /system/etc
reboot
Load the overclock (every time you reboot):
1. Load the kernel module (replace pll_l_val and vdd_uv with your desired voltages and L value as explained above. It defaults to 67 and 1300000 if you don't give it any parameters):
Code:
adb shell
su
insmod /data/local/krait_oc.ko pll_l_val=67 vdd_uv=1300000
2. Bring core 1 temporarily offline so it gets updated with the new max frequency:
Code:
echo 0 > /sys/devices/system/cpu/cpu1/online
3. You'll now have an additional CPU frequency! SetCPU can configure your maximum frequency up to this speed. You can also choose to keep running at 1.5GHz at any time - this method doesn't eliminate any available frequencies. Set the max at 1.8GHz to verify it's stable here.
4. Restart thermald by running "ps". Look for "thermald" in the list, and find thermald's pid (it's usually a number in the low hundreds, higher up in the list). Run "kill [thermald's PID]" in adb shell. The kernel does not currently have kernel-level temperature throttling turned on, so thermald is important for now.
Remove the overclock by restoring your backup of thermald.conf:
Code:
adb shell
su
mount -o rw,remount /system
rm -r /system/etc/thermald.conf
cp /system/etc/thermald.conf.bak /system/etc/thermald.conf
rm -r /system/etc/thermald.conf.bak
reboot
Rebooting clears any kernel modules that are loaded, so you're now clean. You can then delete anything left over in /data/local, but it doesn't matter.
Download
Link to Modded Krait_OC Modules for HTC EVO 4G LTE
Whaaa? Thanks!
Sent from my EVO using Tapatalk 2
This is amazing. We can overclock before kernel source drops... Thank you devs once again for exceeding my expectations!
Sent from my EVO using xda app-developers app
yeZZZZURRRRRR!!!!! sweet nice work brA!!!!!!!! THANKS :victory::highfive:
Nice work
Sent from my EVO LTE
Seems a little complicated for me but can't wait to see how this thing does oc'd so we know what to expect when Kernel source is released ..
Code:
echo 0 > /sys/devices/system/cpu/cpu1/online
I get permission denied at this point.
utnick said:
Code:
echo 0 > /sys/devices/system/cpu/cpu1/online
I get permission denied at this point.
Click to expand...
Click to collapse
Are you running it as root?
Sent from my LTEvo
locked and loaded running at 1.8 nice :good: have it set to 1.8 ondemand
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i hope someone makes a video on this..im still a noob pretty much!! so i plug my phone in to my desktop and then what?? what to i have to put my phone in??
I'm working on making this an app fyi
Sent from my EVO LTE
what do i do what the zip??? lol sorry i know flash it but whats it do ?? i dont understand?? do i just flash the zip over my rom then do all that abd stuff???
evo401 said:
what do i do what the zip??? lol sorry i know flash it but whats it do ?? i dont understand?? do i just flash the zip over my rom then do all that abd stuff???
Click to expand...
Click to collapse
This is definitely not a flashable zip. Everything you need to do is in the OP, step by step.
Gibson.Dubs said:
Are you running it as root?
Sent from my LTEvo
Click to expand...
Click to collapse
Yes, yes I am.
evo401 said:
i hope someone makes a video on this..im still a noob pretty much!! so i plug my phone in to my desktop and then what?? what to i have to put my phone in??
Click to expand...
Click to collapse
If you are a newbie I would hold off on this. I don't consider my self a newbie and there is just something that scares me about messing with the kernel unless I'm 100% sure of what I'm doing.
It may need to be tweaked a bit. I crash a lot a 1.8. I'm not sure how you ran a qruadrant.
sracercelica said:
If you are a newbie I would hold off on this. I don't consider my self a newbie and there is just something that scares me about messing with the kernel unless I'm 100% sure of what I'm doing.
Click to expand...
Click to collapse
i never used abd shell ect.. all i kno how to do is flash radio's.. roms..kernels.. recoverys.. and root my last 3 evo's.. lol i never had to do anything like that?? im deff a noob to that!!:laugh: quess ill just have to wait till we get kernels!!
---------- Post added at 12:57 AM ---------- Previous post was at 12:53 AM ----------
Dread 7us said:
I'm working on making this an app fyi
Sent from my EVO LTE
Click to expand...
Click to collapse
that would be super sweet! :good:
this is similar to how we oc the E3D prior to kernel release, when we just had temp root. We used terminal emulator.
this does not play well with dual core mods. if you're running one then disable it.
the dual core mod won't let you turn off the second core to let it update the frequency.
dual core mod back to stock
Art2Fly said:
Code:
adb push thermald.conf /data/local
adb shell
su
[B]mount -o rw,remount /system[/B]
cp /system/etc/thermald.conf /system/etc/thermald.conf.bak
rm -r /system/etc/thermald.conf
cp /data/local/thermald.conf /system/etc
reboot
Click to expand...
Click to collapse
Shouldn't that be "mount -o remount,rw /system" ?

[JB][KERNEL] Omega Kernel [16-1-13]

So i am back with a basic custom kernel for our Galaxy S Advance.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The features :
Support for USB OTG.
LZMA compression
INIT.D support
Swap support
Changed deep sleep state to 4
Many new governors
Fixed modules
Many more tweaks from Cocore mini
How to flash :
Extract the file. Password is 'shaaan'.
Place the extracted 'kernel.bin.md5' in the internal sdcard
Open terminal emulator or adb shell and execute the following commands
Code:
$ su
# dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
# reboot
Please test and report back..
Download :
Version 1 : Omega Kernel
Version 2 : Omega Kernel 2
Credits :
My entire S Advance team consisting of :
Diego-ch
Adi_Pat
Cocafe - for getting the kernel booting
To backup the original kernel and restore it,
Backup
Code:
$ su
# dd if=/dev/block/mmcblk0p15 of=/sdcard/boot.bin
# reboot
Restore
Code:
$ su
# dd if=/sdcard/boot.bin of=/dev/block/mmcblk0p15
# reboot
Protip : After first boot, let the device run for 2-3 minutes. Do not use it. Then reboot the device. After the reboot, use the device.
Kernel Source :Kernel Source
Changelog :
Version 2 :
Many more tweaks from CoCore
Fixed adb reboot issues
Added governors
SmartAss2
SkyWalker
PegasusQ
InteractiveX
Click to expand...
Click to collapse
Version 1:
Booting
Experimental USB OTG support
Init.d working fine. Just tried test script. Thanx for kernel!!!
Congatulation on your Team.
Short time we have a new kernel. :good:
Dont use the SWAP! Its not needed for devices with more than 512MB RAM! SD speed always slower than internal mmc, so you cant get faster overall rom speed!
odin isnt working?
seems not
m4kl4 said:
odin isnt working?
seems not
Click to expand...
Click to collapse
Did i say it's Odin flashable?
Sent from my GT-I9070 using xda premium
I got 0 bytes transfered, is that right ?
Sent from my GT-I9070 using xda app-developers app
This is Nice... hope you can add more features like Support for more Governors, I/O, Mali tweaks for better gaming performance, some "under-the-hood" tweaks to help improve the phone's speed, performance and battery life at the same time
I will try it once I flash JB
Keep up with the Good work!
(Post Added)
Any progress on Over Clocking our phone..?
Shaaan said:
Did i say it's Odin flashable?
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
do you need to be so unkind every time you answer someone?
btw ... something with the brightnesslevels isnt working i need to turn of autobrightness every time and turn it on again... screen much to bright
I did the commands at the terminal emulator cus I do not have the usb cable right now, and it did nothing. Still same kernel.
lot of thanks,hope the kernels will be improved
somehow,any bugs detected? thx in advance :laugh:
lucasleal said:
I did the commands at the terminal emulator cus I do not have the usb cable right now, and it did nothing. Still same kernel.
Click to expand...
Click to collapse
Did you reboot? And did you used "su" in terminal?
shut_down said:
Did you reboot? And did you used "su" in terminal?
Click to expand...
Click to collapse
Problem solved, was unzipping issue.
lucasleal said:
Yes and Yes, tried now with adb shell, same result.
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
$ su
su
# dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
0+0 records in
0+0 records out
0 bytes transferred in 0.001 secs (0 bytes/sec)
#
Click to expand...
Click to collapse
I think your download is corrupt. Because of the 0 bytes
Confirming some problems with brightness. Even when it is on manual on 0 - sometimes it is bright when I unlock phone.
shut_down said:
Confirming some problems with brightness. Even when it is on manual on 0 - sometimes it is bright when I unlock phone.
Click to expand...
Click to collapse
+1 yeah at unlockscreen but tipping auto 2 times helps
Mine USB OTG does not work, not even power usb devices (kingston flashdrive does not blink the led), and the cable is OK working at my boss Galaxy Note2.
And there is a bug with USB:
- If I connect with PC, the connection works, notification about usb connected keep at notification area even after disconnect, and anything USB related only works again after reboot (excluding charging).
- If it was anything OTG, nothing happens, and anything USB related only works again after reboot (excluding charging).
========edit===========
I do not want to do right now, I want to help test the kernel, but ...
How can I revert the installation ? Reflash ?
shut_down said:
Confirming some problems with brightness. Even when it is on manual on 0 - sometimes it is bright when I unlock phone.
Click to expand...
Click to collapse
Aware of it. Its a light sensor problem. Don't have time to work on it currently. A bit busy with college work. Perhaps diego or cocafe will provide a new version. In this i wanted to try if otg works.
Can someone please confirm if otg works?
Sent from my GT-I9070 using xda premium
m4kl4 said:
do you need to be so unkind every time you answer someone?
btw ... something with the brightnesslevels isnt working i need to turn of autobrightness every time and turn it on again... screen much to bright
Click to expand...
Click to collapse
You make me reply in such a manner. There isn't a single mention of Odin in the op. Then why to even try using it in the first place?
Sent from my GT-I9070 using xda premium

[KERNEL MODULE] For ICS .587 Stock Kernel with Locked Bootloader [SMARTASSV2/SIO]

First of all,
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM/kernel/mods
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
now this is for anyone with stock kernel and can't or wont unlock bootloader due to certain reason only they knew.
but for anyone who already unlocked bootloader don't bother with this, u got many choices of great kernel to flash
anyway for now i've compiled smartassv2 cpu governor and sio disk io scheduler as module that can be loaded onto stock kernel. tested by anerik on his locked bootloader phone. module is compiled using .587 kernel source, against lww/coconut defconfig but since all xperia 2011 shared the same source i assume this would work on all xperia 2011 running .587 stock kernel.
requirement:
- rooted
- busybox installed.
- cwm recovery for flashing.
- rom support init.d sysinit to load the module script automatically on boot, or smanager installed for u to load the script using it yourself.
- running stock .587 kernel
howto:
just flash via cwm and reboot. then use nofrills cpu control to change to smartassv2 or sio.
changelog:
smartassv2 update1:
- added fix for sysfs interface by M66B. should be able to tune smartassv2 via setcpu in governor tab.
- modify init.d script to calculate kallsyms_lookup_name address automatically.
credits:
AnDyX who originally posted thread on neo v forum and giving source on his github
anerik for testing this on his phone.
another placeholder.
another one just to be sure
Re: [KERNEL MODULE] For ICS .587 Stock Kernel with Locked Bootloader
The 'NEW' Module-Man was born
:thumbup:
yes, i sent from my phone using Xda Premium, so what?
Click to expand...
Click to collapse
Can I put more than one governor? And how?
pojhe said:
Can I put more than one governor? And how?
Click to expand...
Click to collapse
don't quote whole op. Maybe if you got files and change the commands... That's what common sense tells me, but annonymus is dev here, just tryin to help
anerik said:
don't quote whole op. Maybe if you got files and change the commands... That's what common sense tells me, but annonymus is dev here, just tryin to help
Click to expand...
Click to collapse
sorry, thanks for remind me.. another one, I put the script in init.d but it not work after I reboot the device.. any advice?
Edit : Its working! thanx!!
pojhe said:
sorry, thanks for remind me.. another one, I put the script in init.d but it not work after I reboot the device.. any advice?
Click to expand...
Click to collapse
have you got init.d support?
anerik said:
have you got init.d support?
Click to expand...
Click to collapse
yes, I have it. I mistakenly copy the wrong script, and now its working. thanx for your concern..
added sio disk io scheduler module
hi there,
tried to add this to the LT18i of my wife, but i´ve got an error message right after the first command, that grep was not found any other way to find that number without this grep thingy?
thanks in advance
probably the phone doesn't have busybox installed.
grep is one of busybox applet. so no busybox=no grep.
ok i´ll check that, it is at least rooted so shouldn´t be a problem
if its already rooted then just install busybox installer from market eg this one
Works perfectly on my SK17i. Thanks! :good:
unable to chmod [...]/sio-iosched.ko: read-only filesystem
which is weird, as I'm already using your smartassV2 module.
edit: so I just opened /system/lib/modules/ and I set the file's permissions manually to 755 (aka rwx-rx-rx) and then typed:
su
insmod /system/lib/modules/sio-iosched.ko
Click to expand...
Click to collapse
and it worked, I made the init.d the script and the sio scheduler sticks, so everything's well. just two commands instead of four, so less geeky way but the most important thing is, I'm on locked BL with smartassV2 and sio!
honest question
Just an honest question guys,
i Admit im noob.
how can i create the init.d script.
im done in doing the smartass governor and it really works.
BIG thanks for that.! :thumbsup:
but i dont know how to create the init.d script. need more help!
thanks again more Power!
doesnt work for me when I write the lines on terminal emulator nothings happens
Edit: For a simple synthax error didn't work! Good job!! but y didnt undertand how to make for got always this governor!
in reply to above 2 posts
how to make init.d script, so that you'll have smartassV2/sio after reboot:
1. copy the text from OP which is said to be put in the script
2. paste to notepad
3. choose "Save as...", type any name and select "all files (*.*)" in file type, so your file won't have any extension
4a. if your ROM has got init.d support or if you enabled it, put the script in /system/etc/init.d and set permissions to... I'm not sure, ----rwxr-x seems to work fine for me, while when using rwxrwxrwx or rwx-rx-rx the modules didn't want to stick.
4b. if you don't have init.d support and for some strange reason you don't want to enable it (how to? SEARCH), download Script Manager from Google Play, open your script with it and in popup windows tap "su" (the icon turns green) and "boot" (this one turns blue),
5. reboot and check if the modules stick
I have tried with all methods to install init.d and couldn't do it.

Categories

Resources