[T-Mobile, Samsung Galaxy SIII] TheDriller:
Re: [Team Kernelizers][How To][TK Mod 1.0.1] Updated 03-23-13 KT747 Kernel Tweaks

Kernel Information​

General Installation Instructions (for both TW and AOSP):​

1. Download correct version of kernel for your device and rom. This is important as you may brick your phone is you use the wrong version.

2. Flash kernel using your preferred recovery

3. Do the following AFTER installing the kernel and BEFORE you reboot your phone:

a. Clear cache

b. Clear dalvik

c. Fix Permissions

4. Reboot your device.

TW Specific Kernel Instructions:

(can be used with AOSP too)​

There are some files on your TouchWiz phone that need to be renamed in order to maximize the battery life of your phone. There has been some debate on whether or not this is necessary, but for now we would recommend renaming these files to ensure that there is no chance of excessive battery drain.

Part 1:

These steps are only necessary on TouchWiz ROMs, however you can also do this on AOSP as well:

1. You must have ROOT. You will need to have a root enabled file explorer on your phone (ES File Explorer works very well and you can get it from the play store (https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en). When you get it, open it up and go the the settings and scroll all the way down until you see the Root Settings. Go in there and enable ALL of the root settings.

2. After that is done, navigate to your root folders using the Folder Up icon at the top. Once you are in your root folders, navigate to /system/bin and locate the following files. You will need to rename them with a ".bak" at the end of the filename

gsiff_daemon --> gsiff_daemon.bak

mpdecision --> mpdecison.bak

qosmgr --> qosmgr.bak

smd --> smd.bak

smdexe --> smdexe.bak

Renaming these files will not harm your phone. Many users rename these files every time they flash a rom, and no damge is done.

Also, some ROMs come with these files renamed or deleted entirely, so if you don’t find a file, don’t be alarmed.

You have to do this every time you flash the ROM and/or Kernel.

If you feel uncomfortable doing this yourself, you can use the TK-MOD (see Downloads section) and it will handle this for you.

Part 2:

Stopping mpdecision from being called:

1. Open terminal emulator and type the following code:

su

2. When terminal emulator asks for root permission hit 'Grant' or 'Allow'.

3. At the # prompt type:

stop mpdecision

Using Rom Toolbox (https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox) we will make a script that will stop mpdecision from being called at each boot so you don't need to use terminal emulator each time

1. Open Rom Toolbox and scroll down to the Scripter option

2. In the scripter, click the “+” button in the top right corner, then select 'Create'

3. Type a name for our new script, lets call it “stop mpdecision”

4. In the commands enter the following text:

#!/system/bin/sh

stop mpdecision

5. Hit the disk icon to save it

6. Select the script that you just created and a dialog box should pop up, select set at boot

Were done here

AOSP Specific Kernel Instructions:​

When coming from a 3.0 Kernel to a 3.4 Kernel there is a new method with kernel updates. Skipping these steps will cause phone instability, due to some bad data left behind. This is a flaw in the Android OS, not the application. You must follow the instructions below (Thanks ktoonzs for the new method of the ktweaker app)

1. Go to Settings on the phone

2. Go to app manager then all apps

3. Scroll down to ktweaker app n open it

4. Once open hit FORCE STOP and then hit CLEAR DATA

5. Reboot and flash your new update of ktoonzs kernel

6. Repeat steps 1-4 in the above “General Installation” section

You should be good to go after that

Resources & Useful Links​

[*]Rescan Media Root (click link on phone and be sure to select launch link with play store)

https://play.google.com/store/apps/d...diascannerroot

[*]Kill Media Server (thanks for the link Jcdominguez)

http://www17.zippyshare.com/v/77111471/file.html

[*]Lux Auto Brightness (set brightness lower than stock minimum brightness on any rom)

https://play.google.com/store/apps/d...d=com.vito.lux

[*]Rom Toolbox Lite by Jrummy

https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox

[*]Build Prop Editor free by Rom Toolbox maker Jrummy

https://play.google.com/store/apps/d...ld.prop.editor

[*]Swipe Pad (thanks Naddict) make a easy to launch multitask launcher from anywhere a shortcut to Developer Options (great for aosp Hwoverlay)

https://play.google.com/store/apps/d...ipepad.android

[*]Known Wakelocks thread (Thanks T. J. Bender)

http://xdaforums.com/show...php?p=31974989

[*]DS Battery Saver Pro (manage radios like juice defender with less overhead) (thanks for the link AdamDelozier)

http://xdaforums.com/show...php?p=35046431

[*]Battery Review Thread including extended batteries (Thanks Rlatjs17)

http://xdaforums.com/show...php?p=30478980

[*]Fast Reboot (closes/restarts apps and services similar to rebooting without a reboot)

https://play.google.com/store/apps/d...streboot&hl=en

[*]Better Batter Stats (track all forms of wake locks) (Thanks Sven Knispel)

https://play.google.com/store/apps/d...erbatterystats

[*]Carat (track and discover battery drain prone apps)

https://play.google.com/store/apps/d....carat.android

[*]Seeder 2.0.0b1 (Thanks Lambgx02)

http://xdaforums.com/showthread.php?p=592

[*]Cpu Spy (check used mhz and deep sleep usage) (Thanks Brandon Valosek)

https://play.google.com/store/apps/d...valosek.cpuspy

[*]Universal Initd Support APK (Thanks RyuInferno) (enable check for initd support)

http://xdaforums.com/show....php?t=1933849

[*]Lag Fix(fs-trim) (use trim to trim blocks labeled deleted from storage where blocks are still full) (thanks AuxLV)

http://xdaforums.com/show...&postcount=122

[*]CrossBreeder Combo MOD (combines three discussed entropy lag/lockup tweaks)

http://xdaforums.com/show...php?p=37062006

[*]Flashable Recoveries (please thank Naddict for this amazing resource)

http://xdaforums.com/show...php?p=35741601

[*]If you flashed the KT747 kernel separate from your ROMs installer, you can enable the boot animations by following the directions in this thread:

http://xdaforums.com/show...22&postcount=4

[*]This is a link to the Better Battery Stats thread. This app is only free to XDA members, but I strongly encourage you to donate. And please hit the thanks button while you are there.

http://xdaforums.com/show....php?t=1179809

[*]Schedulers and Governors explained:

http://xdaforums.com/show...php?p=19846276

http://xdaforums.com/show...php?p=26884853