[Galaxy S Advance I9070 General] Grady22:
PROJECT DIRECT INJECT

This mode is incompatible with some devices\firmwares or create various system problems! Make a nandroid backup before installing.

General Q & A Section:

Q.) How can I tell if this is actually working or not?

A.) Open Terminal Emulator and type this command...

su
directinject

Q.) How can I see if rambooster work properly?

A.) Open Terminal Emulator and type this command.

su
rambooster

Q.) How cand I see if entropy working properly?

A.) Open Terminal Emulator and type this command...

su
entro

Q.) How can activate RNGD and entro binaries?

A.) Open Terminal Emulator and type this command...

su
entropy

Q.) How do I turn on entropy?

A.) Open Terminal Emulator and type this command...

su
entropy_on

Q.) How can I stop entropy?

A.) Open Terminal Emulator and type this command...

su
entropy_off

Q.) How do I uninstall it?

A.) Download the uninstall, you put on your card and then flash the file.

su
uninstall
reboot

Q.) Can I use DirectInject and Crossbreeder?

A.) Yes, you can.In the first time disable entropy (on DirectInject) then install Crossbreeder.

Q.) How do I install NOS Control?

A.) NOS Control installs like any .apk

Q.) How can I get CPU Tuner on my device?

A.) Open Terminal Emulator and type this command...

su
cputuner

GENERAL WARNING: Do NOT I repeat DO NOT use ANY other tweaks with this package. There are only two approved scripts that are compatible with this,

Seeder Entropy and Cross breeder

. If you choose to do so after reading this you do so AT YOUR OWN RISK. If you ask bout other tweaks in my thread

YOU WILL BE IGNORED

.

WHAT IS NEEDED TO INSTALL Project Direct Inject:

1.) Root access (su binary required)

2.) Busybox v1.20.4+ w/ run-part support (busybox required)

3.) Need to be on 2.3.3+ gingerbread or higher

4.) Terminal Emulator app app installed

5.) Enough space in your /system partition (10 mb available minimum)

If you do not meet these requirements then DO NOT USE IT!!!

WHAT IS NEEDED FOR CPU TUNER:

1.) Need a fully unsecured boot.img (Look inside "default.prop", if it says "ro.secure=0" then your kernel meets this requirement, if it says "ro.secure=1" then cputuner WILL NOT work!!!)

2.) Your need a kernel that supports max overclock freq of 1.3ghz and a min freq of 384mhz.

3.) Need a kernel that has these 3 governors (Conservative, Ondemand, and Performance)

4.) On HTC Sense ROMs you need to disable per flock (Setcpu will do this for you)

If you don't meet ALL these requirements then do NOT attempt to use CPU tuner!!!

Installation

1.) Make sure you meet the requirements above

2.) Download the latest version of Project Direct Inject

3.) Boot into recovery (TWRP or CWM doesn't matter)

4.)

Make a nandroid backup

5.) Flash inside cwm recovery

6.) Reboot

7.) Press thanks button me and Exit_Only

APK Direct Inject Control

What i need to install this app:

Terminal Emulator

Project Direct Inject

Direct Inject is an application that gathers in one place all orders of Project Direct Inject

Download Direct Inject Control: Click Here

About the Tweaks:

8 init.d scripts total (11 init.d scripts if you opt for NOS Entropy, zRAM, and Int2Ext)

Zipalign /data & /system apps on each boot ( With detailed Logging of Activities)

Calibrates Battery automatically (make sure your battery is at 100% before flashing)

NOS Entropy with Light, Moderate, and Aggressive Governors (Optional during install, Moderate is default governor)

Ext4 Tweaks

Zero UI Lag

Maxed out speed & Performance

Disables most logging activities

GPS enhancements (USA/CANADA/MEXICO/ALASKA Only)

Sqlite3 for Jellybean (Complied from CM10.1 Source)

4.2.2 Binaries (Better app processing, Complied from CM10.1 Source)

Disables logcats

Get your Privacy back (No internet redirects)

Lots of kernel tweaks (Disabled most kernel sleeps and Adjusted Linux values)

Extended Reboot Commands

VM heap tweaks

Net speed tweaks

Ext4 Perfect Remount

Outstanding battery life

Sqlite3 Reindexed and Vacuumed (If you see errors in db files please ignore, this is normal operation)

RAM booster and Media Server Killer binary (Very Aggressive RAM Recovery tool)

4Cyl Turbo Binary (Exit_Only Exclusive)

Stable relase:

Download v.3.2.6: Click here

Fixed the three remaining bugs in v3.2.5_t9 and removed the touchscreen tweak as it was causing screen issues on some devices!!!

Download v3.2.4: Click Here

v3.2.4 - Fixed ALL bootloops on ALL devices
Added seperate flashable zips for Sqlite3 Binaries in SECOND POST BELOW OP
Removed Max Freq mod in CPU Tuner
Removed needed interactive Gov and now using Ondemand Gov
Updater script now backups and restores CronMOD int2ext scripts by default
Updater script now backups and restores CM init.d scripts for Selinux and Userinit
Fixed ALL remaining bugs
Added new entropy scripts for on & off Functions
Updater no longer removes Crossbreeder during install process
Added Sqlite3 Database Optimizer Script (YOU NEED TO FLASH THE REQUIRED SQLITE BINARY IN THE SECOND POST BELOW THE OP)
Fixed Deepsleep script to work correctly without errors
Much more im sure I am forgetting!!!

Download v3.2.2: Click here

v3.2.2 - Fixed All Boot Looping issues on ALL DEVICEs
Fixed Bootlooping on HTC Sense Devices
Removed Zipalign on boot script and binary
Added BRAND NEW Cpu Tuner script and binary
Pick between three different profiles (Battery, Performance, or Balanced)
Fixed Battery drain on single core devices
Adjusted Minfree values to be more aggressive
Fixed Assert Error from test releases
Read Ahead set to 3072kb
Updated Logging engine
Plenty more I am forgetting!!!

Download v3.2.1: Click here

Lots of upgrades to cputuner with new CPU core log engine
Added brand new move dalvik script
Much more coming later!!!

Download v.3.0.0: Click here

v3.0.0: Started over with complete rebuild
Must lighter and much faster
Installs correct busybox to /xbin
Only 2 binaries now 'directinject' & 'rambooster'
Updated rambooster + added init.d script to run ram booster every 45 minutes
Auto runs zipalign every 2 days or 48 hours
Patched rngd binary for better entropy generation without killing battery life
Adjusted Linux values
Brand new interval script
Brand new iptable rebuild script
Much much more!!!

Download v.1.0.2: Click here

v1.0.2: Fixed image issue
Added newest code to entire project
Added new functions to sqlite scripts
Added new warnings during install

Download v.1.0.0: Click Here

v.1.0.0. A new world, a new script
[B]FIRST RELEASE OF PROJECT DIRECT INJECT[/B]

Download v0.7.0: Click here

v0.7.0: Added new and improved DNS caching (Similar to crossbreeder)
New init.d script that automatically activities DNS caching
Added new DNS tweaks for build.prop
My new custom 'dnshelp' binary that will help you use dnsmasq binary
Modified rambooster (Two custom options 'Moderate' & 'Aggressive')
Fixed Adj minfree script to work right
Much much more I am forgetting

Download v0.6.0: Click here

vo.6.0. Adjusted sysctl values
Made sysctl tweaks optional
Updated 4cylturbo binary to include optional install pieces
Updated install.sh with new code and new backups
Added bash and nano binaries along with bash, nano, & terminfo folders for /etc (Two diff versions)
Added sqlite3 and script (Two diff versions)
Fixed bash and nano not working correctly
Updated uninstall.sh to restore more stock items and delete more stuff
Adjusted hedge values
Added in optimized RAM tweaks (much better ram management vs v0.5.7-r2)
Fixed multiple script errors and adjusted values
Full zip size is much bigger (7.03mb)
Other stuff I'm sure I am forgetting. THIS IS A MAJOR UPDATE.

Download v0.5.7r2: Click here

v0.5.7r2 Adjust sysctl.conf correctly this time
Removed disable vsync
Removed cron (These newer versions of busybox don't support "ENABLE_CRON" so script is useless)
Fixed logging on scripts
Adjusted vm values slightly

Download v0.5.7r1: Click Here

v0.5.7r1 - Added extended reboot scripts
Fixed root issues
Fixed greenify issues
Updated install script
Added uninstall script (This will remove nos 100% from your device)
Updated directions inside zip file
Removed some sysctl commits
New performance boosters added

Download v0.5.6: Click her

v0.5.6: - Reverted back some scripts
Removed Fix Permissions script
Fixed up install.sh script (Thanks Poo)
Fixed root issues on Samsung Galaxy S Advance

Download v0.5.5: Click here

This version should solve problems with freezes and root loss.

Download v0.5.4_r1: Click here

v0.5.4_r1: - Fixed random reboots some people were having (myself included)
Made more stuff optional during install
Fixed root access issue some users experience (I never had this issue so I need feedback)
Updated ad blocker
Updated logging engine
Much smoother and zero lag

Download v0.5.4: Click here

v0.5.4: - THIS IS ONLY EXECUTIBLE VIA TERMINAL EMULATOR OR SCRIPT MANAGER.
THIS IS NOT NOT NOT RECOVERY FLASHABLE
Added init.d script to add init.d support if your ROM/Kernel does not support it already (Optional during Terminal install)
RAMBooster Binary is now much more Aggressive at clearing RAM
Updated 4Cylturbo binary with code changes
Fixed ALL Logs and Script Errors
NOS Entropy Governor is moderate by default instead of light
Removed All Code Errors from Sysctl Config
Added 'S' to beginning of all scripts to support Samsung Galaxy S 1 Owners (You guys are so old skool :P )
Added int2ext script (Thanks to Cronicory for original)(WARNING: YOU MAY HAVE TO FORMAT YOUR SD CARD TO USE THIS SCRIPT. YOU CAN OPT OUT OF THIS DURING INSTALL)
Logcat disabling script is now 100% Optional during install (YOU CAN NOW KEEP LOGCATS ACTIVE)
Added Bash and Nano Shell Binaries (COMES IN HANDY FOR BASH SHELL SCRIPTS LIKE CRON)

Download v0.5.2: Click here

v0.5.2: - THIS IS NOW A FLASHABLE ZIP AGAIN
Fixed /data logs for scripts
Fixed most script errors
Adjusted a few things here and there
More to come later

Download v.0.5.1: Clcik here

v0.5.1: - Fixed logging errors
Fixed ALL install.sh errors
Added Team Kernelizers build.prop injector script (Thanks RErick & Decialman)
Build.prop injector is now a option in install.sh
Added auto reboot to install.sh (SOME DEVICES WILL NOT ALLOW THIS TO WORK, SOME WILL HAVE TO REBOOT MANUALLY)
Fixed all init.d script errors
Updated 4cyl turbo engine logger
Added new directions to README_users.txt
Will add more as I remember it

KNOWN ISSUES & BUGS:

1.) WiFi tethering DOES NOT work when using this tweak package!!! There is no solution to this problem and I am not trying to find a solution, sorry for the inconvenience!!!

CURRENT WORKARUND: Flash the newest crossbreeder!!! This will fix your borked tethering!!!

Uninstal

su
uninstall
reboot

Standard Disclaimer: Flash at your own risk. Myself nor XDA is responsible for any damage this thing may cause you.

For this wonderful work we must thank Exit_Only

Original thread: Click here