[q]Various scripts (init.d) tweaks... which work? - Nexus S Q&A, Help & Troubleshooting

Alright guys was wondering what people use around here as far as tweaks... build.prop and init.d stuff.
Everyone has heard of the loopy smoothness tweak... does it work?
What about reniceing things?
Also what build.prop tweaks are people using.
Thanks.

<DELETED>

sd boost as in making the read ahead value to 2048?
Im talking more along the lines of script packages like these (which seem to have alot of the same scripts)
dynamite33 said:
Tweaks/Scripts
For scripts and tweaks:​
SuperchargeV6: http://forum.xda-developers.com/showthread.php?t=991276
SlaidyBoost: http://forum.xda-developers.com/showthread.php?t=1585774
TurboBoost: http://forum.xda-developers.com/showthread.php?t=1380006
Adrenaline tweaks: http://forum.xda-developers.com/showthread.php?t=1604321
Adrenaline boost: http://forum.xda-developers.com/showthread.php?t=1604315
LoopySmoothness: http://forum.xda-developers.com/show....php?t=1205744
SGYtweaks for battery: http://forum.xda-developers.com/showthread.php?p=22416909#post22416909
TweakzV6: http://forum.xda-developers.com/showpost.php?p=19501492&postcount=1
LightningZap tweaks:http://forum.xda-developers.com/showthread.php?t=1386027
​
ALL TESTED AND WORKS ON ICS_DYNAMITE_V2.0 ​
Download Link:
http://www.mediafire.com/?n1fmnv7a6...fx14pi6x8920k,q2vu5qd9haz85kz,l7q463ab3x55a5n
Click to expand...
Click to collapse

Related

[Package][SCRIPTS][Tweaks][SGS]LagFreeV2.1[Upd:30March]

Introduction:
Well,After Some Devices Like the Galaxy ACE,SGS-SCLD,Fit and Gio today I present to You the Newer version of LagFree For SGS I9000 and It's Variants!
Lagfree Is not Just a RAM Manager It a Complete Script With a lot of Tweaks and Iprovements
Improvements:
-MinFree enabled
-Touchscreen sensivity increased
-Zipaligning apps while Booting
-Less aggressive settings for kernel
-Better VM management
-system tweaks
-Battery Life improvements
-Better Multitasking
-Database Tweaks
-Wi-Fi and NetWork Tweaks
-Kernel Tweaks
-A Lot More!!
Requirements:
-Android Gingerbread 2.3.x or Higher
-Root
-Kernel that supports init.d (like CF-Root,Semaphore,etc...)
-Ext4 lagfix if you want to use the remount script
How to install:
1-you need to have CWM4 or 5 installed
2-Download the flashable Zip
3-Reboot into recovery
4-Install Zip from SD card then choose Zip from SD card then choose
LagFree......Zip
5-reboot
6-Using Root Explorer Go to system/etc/init.d and Fix Permission to All for S91Supercharger and S95LagFree ,then Reboot and Enjoy!!
Credits:
-Thanks to The Great Scripter In SGS and XDA Community:
*Pikachu01
*Zeppelinrox
*Juwe11
-A Big Thanks to broodplank1337 For Helping Me a lot!!!
-Thanks to ChainFire Too for the TouchScreen sensivity Valories
-Any XDA Member That helps Me out in This Project
ChangeLog of All versions:
Changelog of All Versions:
-V1:Initial release of lagFree For SGS
-V1.1:
-Rewritted Script,(Major Update)
-Fixed errors,repetetion
-Optimized
-Reduced script size from 38Kb to 10Kb
-Add LagFree recovery
-V1.2:
-Fixed Issue That Make th script stoping when there is an error
-Fixed More Errors
-Added more Build.prop Tweaks on the Script
-V1.3:
-Compatible With Supercharger V6 and thunderBolt(LMK addon only)Use atteched File Witch is compatible
-Deleted very agressive Parameter in the script
-V1.4:
-Fixed Error:sys/Block/stl* and sys/block/bml*
-adjusted Build.prop Tweaks For SGS and It variants
-V2:
-Major Update
-Version Compatible With SGS and All it variants including SGS+
-LagFree Now is a Package
-Including a Tweaked Version of SuperChargerV6
-Automatic Zipalign Fixed
-SD card readahead is 3072Kb
-TouchScreen sensivity is in a New Script
-Fixed All Errors
-V2.0.1:
-Deleted LagFree Recovery as It was Only an experimental Feature
-Balanced Low Memory Killer Parameter Valories
-Many others Smalls improvements For Speed and Battery life
-V2.1:
-SDCardspeedfix is now on a new Script
-New tweak to remove lag when answering phone calls
-Fixed same small few issue
Reserved 2
Is it comlitable with ICS roms?
id_snake said:
Is it comlitable with ICS roms?
Click to expand...
Click to collapse
yes It's compatible With ICS Roms, If you Just read The OP,I said android 2.3.x or Higher
id_snake said:
Is it comlitable with ICS roms?
Click to expand...
Click to collapse
i agree. is it? haha
darkace007 said:
i agree. is it? haha
Click to expand...
Click to collapse
Yes!It is !!!
Will this make my phone dual core?
(Joke) thanks for the script
Sent from my SGH-I897 using XDA
slaid480 said:
Yes!It is !!!
Click to expand...
Click to collapse
THANKS! will try it out later hehehe. sorry didnt read the previous post haha. thanks man!
Ok I know this is probably a noob question. I apologize.
It's this a kernel? If not how does it work with a kernel like glitch, And ics?
I guess I need a little more info on how it works.
Sent from my GT-I897 using xda premium
shaker2k said:
Ok I know this is probably a noob question. I apologize.
It's this a kernel? If not how does it work with a kernel like glitch, And ics?
I guess I need a little more info on how it works.
Sent from my GT-I897 using xda premium
Click to expand...
Click to collapse
It's not a kernel but these are actually scripts which run when you start up your phone, and contain some code / commands which help your phone perform better. They need a kernel which is compatible with these scripts or is able to run these at startup. The kernel creates a folder called init.d, these scripts when you flash get copied to this folder and are executed at startup.
If you have used Semaphore kernel in any of the GB roms, you may have used the semaphore kernel settings, those settings did the same thing, they used to execute the scripts at startup and make our phones more awesome.
This flashable scripts will do the same thing.
anishmahadikz said:
It's not a kernel but these are actually scripts which run when you start up your phone, and contain some code / commands which help your phone perform better. They need a kernel which is compatible with these scripts or is able to run these at startup. The kernel creates a folder called init.d, these scripts when you flash get copied to this folder and are executed at startup.
If you have used Semaphore kernel in any of the GB roms, you may have used the semaphore kernel settings, those settings did the same thing, they used to execute the scripts at startup and make our phones more awesome.
This flashable scripts will do the same thing.
Click to expand...
Click to collapse
Thanks for Helping Him to understand How scripts Work
slaid480 said:
Thanks for Helping Him to understand How scripts Work
Click to expand...
Click to collapse
Actually thank you sir to bring these for us here.
so is this ok or recommended to use with Glitch Kernel at all?
pchemerys said:
so is this ok or recommended to use with Glitch Kernel at all?
Click to expand...
Click to collapse
Glitch does support scripts, you can use it, but i am not qualified to recommend it to you.
pchemerys said:
so is this ok or recommended to use with Glitch Kernel at all?
Click to expand...
Click to collapse
yes,it's recommended as Glitch Kernel dosn't use any init.d script by default !!
Am on THS B16 with Stock Kernel..
One Thing i wanna say is That my Battery drain has been gone off completely.
B4 i had battery drain rapid from 100 to 90% within 30min, even in standby..
Now 1hr 5min my battery is at 99%
Havent checked more.. Will Keep updating as i see a difference
By the Way. My Ram is about 90~70mb all time.. cant get more than 100
bondarun said:
Am on THS B16 with Stock Kernel..
One Thing i wanna say is That my Battery drain has been gone off completely.
B4 i had battery drain rapid from 100 to 90% within 30min, even in standby..
Now 1hr 5min my battery is at 99%
Havent checked more.. Will Keep updating as i see a difference
By the Way. My Ram is about 90~70mb all time.. cant get more than 100
Click to expand...
Click to collapse
About RAM,You need to Now That alot of apps= Less free RAM
V1.4 is Up
LagFree V1.4 is Up enjoy It!!
I did not think it was possible for my phone to be faster!
You guys continually amaze me!
Even with the vortex animations it's blazing fast!
Sent from my GT-I897 using xda premium

[Tweaks][Init.d] Velocity Tweaks 2.1.1

Velocity Tweaks! "It's Performance"
You can't just call it a tweak, It's more than a tweak! It's Performance, Speed, & Power! Inside a Zip! :silly:​
I present to you VELOCITY TWEAKS! Now Improved!
Browse your file system faster!
Enjoy more free RAM! Play All You Want!
Multitask with no lags!
Surf the internet with no limits!
More Battery life!
More, More, Features you will love!
Lets go advanced to the future (Advanced Features)
Internal RAM Free-Up
Network TCP Tweaks
A unique Zipalign Script
SD R/w Tweaks
System Tweaks
Kernel VM Tweaks
More,More Can't Explain Further Because of its Greatness
Download:
VelocityTweaks_v2.1.1-GT-S5360 | MediaFire | 807KB​
Older Versions:
VelocityTweaks_v2.0-GT-S5360 | MediaFire | 805KB​
PLEASE! PLEASE! DON'T MIRROR MY WORK. IF YOU WANT TO USE MY WORK, PLEASE ASK PERMISSION BY SENDING ME A PRIVATE MESSAGE! IF YOU USE, INCLUDE MY NAME IN YOUR POST/WEBSITE/BLOG/THREAD AND A LINK TO THIS THREAD!​I can't accept donations now, I have no bank acc. yet to receive your donations. For now, if you want to help, click the "News Worthy Thread/Tip Us" UP, Rate, and Advertise this work. Thank you!​
Credits And Thanks:
knzo For the files! & Tweaks
ImbaWind I learned from His tweaks!
zeppelinrox Same above!​
ChangeLog:
Code:
V1.0
Initial Release
V2.0
Improved system tweaks
Fixed overall values
Fixed libs
Minor bug fixes
Reworked Every version
V2.1.1
Fixed A Critical Bug that causes Bootloops on some kernels
Removed Dalvik Cache Lines on system script
Installation & ETC. More!
Installation. Instructions:
Download the .zip
Copy it to your SD Card
Boot into CWM
Mount System
Flash The zip
Reboot!
Enjoy the performance of VELOCITY!
* If you're using a rom with tweaks pre-installed please delete the scripts inside the init.d folder​
Requirements:
A Galaxy Y
Your Brain!!!
CWM Recovery
A custom kernel that supports Init.d Scripts (Kuro,Savie,White,Merruk. ETC.)
Porting
Want this on your device? PM me! I'll try my best to port it for you!
​
Working On My Own Device?
Tested and Reported to be working on:
Samsung Galaxy Y Pro (B5510)
Samsung Galaxy Ace (S5830/i)
Samsung Galaxy Tab 7.0 (Only Ram & SD Scripts)(P1000)
Samsung Galaxy W (I8150)
Samsung Galaxy Mini (Only Ram Script Tested)(S5570)
Samsung Galaxy Pocket (S5300)
hay i m using deodex stockrom & Kernels With init.d Support so which 1 i have to try
maxsan20 said:
Reserved
Click to expand...
Click to collapse
</DELETED>
maxsan20 said:
hay i m using deodex stockrom & kernels with init.d support so which 1 i have to try
Click to expand...
Click to collapse
instructions for custom roms and kernels with init.d support
Do we need to delete other scripts which are currently in our init.d folder?? I am on usr v3 with repencis kernel
Out of all the tweaks I have installed - this one showed effects immediately ! :good:
jaison thomas said:
Do we need to delete other scripts which are currently in our init.d folder?? I am on usr v3 with repencis kernel
Click to expand...
Click to collapse
yes.... exept a2sd and link2sd scripts.......
Xicorified said:
Out of all the tweaks I have installed - this one showed effects immediately ! :good:
Click to expand...
Click to collapse
haha... Thanks Bro! :laugh:
another nob question my system already mounted so can i have to unmount it first & than mount it & after Flashing the Zip unmount it again ?
maxsan20 said:
another nob question my system already mounted so can i have to unmount it first & than mount it & after Flashing the Zip unmount it again ?
Click to expand...
Click to collapse
If It's Mounted It's Already Mounted...
SethDeCode'z said:
If It's Mounted It's Already Mounted...
Click to expand...
Click to collapse
ha ha ha i think its work in my SYG
maxsan20 said:
ha ha ha i think its work in my SYG
Click to expand...
Click to collapse
haha!!!! BOOOOOM!!! That's What I'm Talking About......... :victory::victory::victory::victory::victory:
does this conflict with v6 supercharger?
ianczarina said:
does this conflict with v6 supercharger?
Click to expand...
Click to collapse
yup! Cause This Tweak Works Like V6 Supercharger! :angel:
thanks dude. gonna try this one. :good:
ianczarina said:
thanks dude. gonna try this one. :good:
Click to expand...
Click to collapse
haha....then give me a Feedback! :silly:
a lil bit suggestion from me: delete the run-parts, sysinit, and install-recovery.sh from. reason: the run-parts stuff might ruin busybox installation thus make the init.d won't work. the install-recovery.sh and sysinit is for activate init.d support but this method only work on white's kernel. all of custom kernel here already support init.d with a different method. white's kernel is using different method on init.d support. these file might conflicted and ruin the script execution at boot.
kurotsugi said:
a lil bit suggestion from me: delete the run-parts, sysinit, and install-recovery.sh from. reason: the run-parts stuff might ruin busybox installation thus make the init.d won't work. the install-recovery.sh and sysinit is for activate init.d support but this method only work on white's kernel. all of custom kernel here already support init.d with a different method. white's kernel is using different method on init.d support. these file might conflicted and ruin the script execution at boot.
Click to expand...
Click to collapse
ok... I will update it soon.... Cause Im Using My Friends PC... Right now..
kurotsugi said:
a lil bit suggestion from me: delete the run-parts, sysinit, and install-recovery.sh from. reason: the run-parts stuff might ruin busybox installation thus make the init.d won't work. the install-recovery.sh and sysinit is for activate init.d support but this method only work on white's kernel. all of custom kernel here already support init.d with a different method. white's kernel is using different method on init.d support. these file might conflicted and ruin the script execution at boot.
Click to expand...
Click to collapse
and... its Supposed To Add Init.d Support,,, without kernel modifications... ,,,,,,, BETA

[MOD]enable init.d support

I have tested and it is fully working on my galaxy note 2, rooted odexed ALJ3 firmware. I was doing with terminal method.
http://forum.xda-developers.com/showthread.php?t=1933849
THUNDERBOLT init.d script
http://forum.xda-developers.com/showthread.php?t=1556013
TweakZV6 init.d script
http://forum.xda-developers.com/showthread.php?t=1353903
ALL CREDITS GOES TO Ryuinferno
p.s. im not related to this mod developing just wanted to share working mod for those who wanted to enable init.d support without need of big knowledge on doing it.
I saw it long ago but couldn't find any init.d scripts for our note.
Boot Zipalign was good but later I thought all apks are already zipalligned.
SandeepEmekar said:
I saw it long ago but couldn't find any init.d scripts for our note.
Boot Zipalign was good but later I thought all apks are already zipalligned.
Click to expand...
Click to collapse
Nope...certain apps in the market are not zipaligned yet...
For scripts, try V6 supercharger, Thunderbolt, Adrenaline Engine, Pimp my ROM, Supremancy script, smurfed out script and so on...just search about it..they are all universal scripts...
Hi, excuse me. I own N7100 did install init.d prior/before PIMP MY ROM it works well:victory:, also i run SuperCharger by zeppelinrox using V6_SuperCharger_for_Android-Update9_RC10.sh.pdf and busybox v1.19.4 by wraithdu(CWM flashable.zip) works good.:victory:
http://forum.xda-developers.com/showthread.php?t=991276
http://forum.xda-developers.com/attachment.php?attachmentid=912376&d=1329804462
http://forum.xda-developers.com/attachment.php?attachmentid=1200973&d=1342401278
It works well ! I have installed supercharger but i'm still at 50% i can't get the second 50%.
Sent from my GT-N7100 using xda premium
Works for me: I'm using it to mount my ext4-formatted external microSD, the script runs early enough that the MTP application and the media scanner work seamlessly.
Anyone tried Cronmod a2sd scripts using init.d support? I am not rooted and this would be the main reason for me to root my N2.
Here is the thread
http://forum.xda-developers.com/showthread.php?p=27538212

[SCRIPTs][TWEAKs]Fly-On ModV3.0 RC1/Feel The Smoothness!/Upd:18/6/13

Introduction :
Under the request of some friends of mine, I decided after some time of write, to release this script for public testing.
This package of binaries, scripts and libraries, will fix the lags on your Android smartphone or tablet, and make it smoother and faster!
Features and Improvements :
- Full memory management with 5 different configs.
- Zipalign apps in "/system" at every boot, and apps in "/data" every 48 hours.
- CPU governors tweaks and improvements for better performance and battery life.
- Increased SD Card read-ahead cache to 2048 KB to improve SDCard write/read speed.
- Nos entropy seeder generator engine used to reduce lags.
- Ad blocking.
- Battery life improvements.
- SQLite and database optimizing every 48 hours.
- Network TCP tweaks.
- Kernel, VM and sysctl tweaks and improvements.
- File system speedup.
- Build.prop tweaks and improvements.
- Cleans log files and tombstones at every boot.
- Many other tweaks for better performance and battery life!
Requirements :
- Android 2.3.x (Gingerbread) and higher.
- Kernel with init.d support.
- Root.
- ClockworkMod. (4 or higher)
- At least 4 MB of free space in "/system".
How to install :
1. Download the flashable zip.
2. Rebooting into recovery mode.
3. Install Fly-On RAM manager. (optional)
4. Install Signed_Fly-On_Mod_V3.0.zip stock or CM according to your ROM.
5. Reboot and feel the smoothness!
In the package :
+/etc/init.d/ scripts :
-ram_manager: It's a complete memory manager, with 5 different versions.
-02logdelete1: Cleans log files and tombstones at every boot.
-09sdcardspeedfix: Set SDCard readahead speed to 2048 KB.
-darky_zipalign: Zipalign apps in "/system" at every booting.
-zipaligndata: Zipalign apps in "/data" every 48 hours.
-98fly_core: Contains various tweaks and improvements. (3G/VM/sysctl/kernel/battery life tweaks etc.)
-sqlite_optimize: Optimizing database of apps every 48 hours.
-s78sensitive_touchscreen: Improves the sensivity of your touchscreen.
+/system/xbin/ :
-sqlite3
-zipalign
-Openvpn
+/system/lib/
-libncurses.so (Stock version only).
Compatibility :
- This package will work with all android devices that have init.d support!
- Fly-On Mod works with Gingerbread, Ice Cream Sandwich, Jelly Bean, but in Ice Cream Sandwich and Jelly Bean ADJ Values are hard coded into the services.jar or .odex, that's why for Ice Cream Sandwich and Jelly Bean you will need a patched services.jar, you can follow this great guide by zeppelinrox (thanks to him): Click here.
- You can also use Fly-On Mod with V6 SuperCharger. (If you didn't flash the ram_manager config)
- The ram_manager configs are for phones with 512MB RAM. (Lower and higher than that too)
- If you have 1024MB/2048MB RAM use supercharger instead!
Important informations :
About RAM managers :
+ Balanced version, is for people with moderate apps use.
+ Gamers version, is for people playing HD/3D games.
+ Multitasking version, is for people that use a lot of apps at the same time.
+ Hard multitasking version, is for people with huge amount of apps running at the same time. (Very agressive values!)
+ Nexus version, contains values from Google source used in nexus devices.
Note also that:
- Multitasking version have lesser free ram than Balanced/Gamers/Nexus, but this thing doesn't mean they are the best, choose the ram config according to your use!
- Don't use any Task Killer with this Mod!
- Fly-On Mod main package comes with 2 different versions, CM version is for CyanogenMod ROMS and AOSP based ROMS (like AOKP), then stock version is for stock ROMS and custom ROMS based on stock!
- If you have bad battery life the problem is from an app waking your phone from sleep, it's not my script!
- Don't use Fly-On Mod with any other tweaking script as they will conflict!
- If you want to use Fly-On Mod in your ROM or your Mod ask for permissions first and give me credits!
- If you have any question ask me in the thread instead of PMs or I will not reply!
- Read well the thread before posting any newbie questions and do not ask for an already answered question!
Some users feedback :
l0lh4rd said:
The script is great!!!!!!!!!! Really feeling comfortable at 312MHz-156MHz/Smartass V2/noop, which under these settings without the scripts would make me miserable
Click to expand...
Click to collapse
ronnieryan said:
Version 8 has awesome boot time, only 38 seconds for me
Click to expand...
Click to collapse
KnightlyNinja said:
this version is awesome. ram usage is very low 150 mb only.Superb work haha:victory::silly:
Click to expand...
Click to collapse
KnightlyNinja said:
great. this is one of the best tweak available in xda. it improves smoothness , battery and performance. Almost does the work of a good kernel. Hoping to see more improvements in future.
great work sir.
Click to expand...
Click to collapse
sad25kag said:
╔╦╦╦═╦╦╦╗╔╦╦╗
║║║║║║║║║║║║║
║║║║║║║║║╠╬╬╣
╚══╩═╩══╝╚╩╩╝
Working great and faster on MIUI rom.
░░░░░░░░░░░░▄▄
░░░░░░░░░░░█░░█
░░░░░░░░░░░█░░█
░░░░░░░░░░█░░░█
░░░░░░░░░█░░░░█
██████▄▄█░░░░░██████▄
▓▓▓▓▓▓█░░░░░░░░░░░░░░█
▓▓▓▓▓▓█░░░░░░░░░░░░███
▓▓▓▓▓▓█░░░░░░░░░░░░░░█
▓▓▓▓▓▓█░░░░░░░░░░░░███
▓▓▓▓▓▓@░░░░░█
▓▓▓▓▓▓█████░░░░░░░░██
█████▀░░░░▀▀███████
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
Chemical SidePearl said:
@slaid480
Here is a talking sentence between me and my friend that is watching my phone flying with cm10.1....
Friend: Have you ever heard the definition of INSANITY ???
Me:Yup,it's the new Fly-ON mod by @slaid480.
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
pykfree said:
I put this script in PAC 4.2.2 ROM.. working fine.. it give more performance on my phone.. thank's dude
Click to expand...
Click to collapse
tcris45 said:
Ty man for those awesome tweaks
Click to expand...
Click to collapse
golfgtiedition30 said:
Instaled on rom stocklite v8...no problems its working well :thumbup:
Click to expand...
Click to collapse
nizar.nasani said:
well i test it on the last cm10.1 by biel after new flashing today and still for now no problems and works perfect and thnx btw
Click to expand...
Click to collapse
Credits:
-Thanks to Darky for the base zipalign script.
-Special thank to pikachu01, zacharias.maladroit,collin_ph and juwe11!
-Big thank to zeppelinrox and Exit_Only !
-voku1987 and mcbyte_it.
-My Friend Maroc-OS For the big Help!
-Any XDA Member That helped Me out in This Project!
-Google!
If you liked this mod,please rate this thread to 5 stars and press the Thanks button and if it's possible buy a coffee for me,it will help me to work, support and keep this project up to date!
This Thread is reserved for sharing information about Scripts in Android and how they Tweak the Android system through the Linux kernel and what are requirements of Running Scripts correctly!
Main Goal of Scripts:
Well,Scripts Has a lot of Goals,Such as optimizing,improving and in Some Lines we can say,Scripts can:
-Improve Performance and GUI Smoothness
-Improve Battery Life
-Tweak and Optimize the Android engine!
Requirements of using Some Scripts:
Since Android is Based on Linux,there is a possibility to use Linux Scripts to attempt the Goals Listed before in the thread,and like any Tweak you want to Apply there is some requirements you need to Use correctly those Scripts and some of the mportanst are :
-Custom Kernel that support init.d(Custom Kernel=Modified Linux kernel,for example in GALAXY ACE Forums here we have:CF-Root-All CM kernels,etc...)
-Having ClockWorkMod 5 or above to Flash Scripts
-at Least 2 MB free in /system
-Root Access(BusyBox should be included)
Useful Info About Tweaks:
-LMK(LowMemoryKiller):
The LowMemoryKiller is a constant debate between more free RAM and more multitasking capabilities as free RAM (more than 60MB free) is actually wasted RAM.
The LowMemoryKiller is actually a feature in the Android OS for better memory management.
This is an important feature due to the perennial problem of having low free memory causing lagginess and slowness in launching apps. When you have free memory lingering around the number of 40MB or less, the Android OS just lags like hell.
What this would mean is, you would want to tweak the LMK to not have the situation of it having less than 40MB (or even close to that).
The modern Linux machine in the Android ecosystem relies on a mechanism called Low Memory Killer (LMK) to consistently free up RAM. This is due to Android's internal mechanism of caching apps (and never fully exiting them) when you press the back button. This is to enable faster app switching and provide a seamless experience for apps usage model. Android also, by itself will also constantly look for often used apps to cache them for faster app opening. This will happen even before your system fully boots.
Now, when you mention LMK, the most obvious thoughts that come up are minfrees and Out Of Memory (OOM) groupings. Yes, those two are integral parts when it comes to LMK. The issue here is that no one actually mentioned that there are two LMK systems in Android, that being:
- Linux LMK
- Android Dalvik VM LMK
Journaling/Barriers:
This has been a touchy subject here in XDA for most people who debate about it. Most recently,Some Scripts included a way to disable journaling on these partitions:
/system (System is read only, it's safe to remove journaling. However, you will not see speed increase by removing it as you're not writing onto /system 99.99% of the time unless you're using Titanium backup to remove system apps or copying init.d scripts to it)
/cache (Cache can be rebuilt on the fly. Data corruption on it is not game breaking)
/data (All of your data on your phone is here. Removing journaling can risk data corruption. Read more below)
On whether we need journaling or not, I will pose this situation:
Journaling is required to maintain data consistency in events that could lead to data corruption. Data could get corrupted in a number of situations:
- Misbehaving app that constantly writes without syncing/committing data to the disk
- Power loss due to forced reboots or bootloops when data is partially written/committed into disk
Memory Leaks
If you found out that your Android is laggy after sometime and a reboot will make it faster, then you're experiencing memory leaks. "free" is a command to show your currently free memory. It will not necessarily be the same value as your phone's free memory.
Busybox
Well,Busybox is required to perform all of your superuser activities in your android phone. There are some problems associated with this when ROM developers decide to use a certain version of Busybox that are incompatible with the binaries that we use in our phones. When you found out that after changing your kernel/ROM:
- You still have superuser and Titanium Backup still works but, Root Explorer/File Expert can't copy files correctly to the /system after mounting R/W!!
MinFree:
Minfree is part of the Kernel (present on both Gingerbread and Ice Cream Sandwich) and It an Option available in Linux kernel Optimized for Android to Improve MultiTasking and It differs from a Phone to another because of the RAM available in users space.
The Minfree is hopefully adjustable Like the LMK to optimize Multitasking to a lot of options(like:aggressive,gaming,balanced,etc...)
The Minfree Option can be Found as a part of Linux Scripts for better RAM management!
Network Tweaks:
Well,in Linux Scripts for Android you can find some Tweaks that increase the speed of you Network Download/Upload and those with various types of Netwoks Like 3G,Wi-Fi,etc...
Build.Prop Tweaks
Well,those Tweaks can generally be found in Build.prop in /system and they are for various improvements Such as allowing Phone to Sleep better,changing wi-fi scan interval,changing window animation delay,some network Tweaks,possibility to change density,etc...
SD Card Speed Fix:
This is a Tweaks that Has the goal of increasing the read-ahead speed of your SD Card,and that by changing the valories of SD card readahead Like:
-256kb
-512kb
-2048kb
-4096kb
Smoothness Tweaks
Well with the Linux Kernel there is a possibility to add some Tweaks to the Linux scripts and those to optimize the GUI Smoothness and also Lock Home launcher in Memory!!
Credits:
Well,what I can say is that I shared those useful Info after some research and my experience with Linux/Unix,and those some of My main Target that I use to find some of the useful info:
-XDA Forums
-Goolge
Change Logs:
Fly-On V0.1:(8/4/2013)
initial release.
Fly-On V0.2:(16/4/2013)
-re-writed and cleaned script.
-New zip-aligning script based on Darky's zip-aligning script.
-Adjusted Values to be adapted to this device hardware.
-Deleted touch sensitivity tweaks(useless).
-Corrected Min-free values.
-Many other minor stuff...
Fly-On V0.3:(17/4/2013)
(If you are coming from an old version,below V0.3 you will need to delete all scripts in your /system/etc/init.d folder)
Now Fly-On Mod is a full package of scripts:
-Replaced the main Fly-On script with 3 scripts to avoid any functionality problem and ensure more stability (S98system_tweak,05LagFixer,09sdcardspeedfix)
-Added some useful build.prop Tweaks(for better performance and battery life)
-Fixed the Low memory killer bug with the new Lagfixer script.
Fly-On V0.4:(17/4/2013)
-New SQlite_optimize script .
-New Script For Network TCP optimizations.
-Adjusted Min-Free Values for better Multitasking!
Fly-On V0.5:(19/4/2013)
-Fixed permissions Via Updater-script to Make sure that scripts are properly working!
-Some cleaning to the S98system_tweak script!
Fly-On V0.6:(20/4/2013)
Delete all old Fly-On scripts before installing V0.6!
this update contains various improvements bugfixes and changes with a full new script:
-Deleted 05Lag_fixer script!
-Deleted S97network_tweaks!
-New 08Fly_engine script with a lot of tweaks and improvements:
+Full Memory management
+Sysctl tweaks
+Kernel and VM tweaks
+File system speedUp
+Ext4 tweaks
+Improved Wifi_Idle for better battery Life!
-Updated zip-aligning script for faster zip-aligning and short boot time!
Fly-On V0.7:(21/4/2013)
-added xbin to make sure that zipalign and fly_engine scripts are working properly!
-Now with two versions:
+Stock version for Stock gingerbread samsung roms and roms based on samsung roms!
+CM version for cyanogenmod7/9/10 Based roms and AOSP GB/ICS/JB roms too!
Fly-On V0.8:(22/4/2013)
-Fixed errors on Fly_engine script.
-Added I/O scheduler tweaks.
Fly-On V0.9:(25/4/2013)
-Fixed sqlite3 bin permissions.
-Removed journalism on EXT4 partition(greatly increase I/O).
-added remountCM_fullext4 script for CM version.
Fly-On V1.0:(27/4/2013)
If you are coming from Fly-On V0.9 there is no need to delete the old scripts!
-deleted fly_engine script(contain a lot of errors,I will be working on rewriting it).
-added a new ram_manager script (Full memory fix and management).
-fixed proper permissions for all scripts.
Fly-On V1.1(29/4/2013)
-Deleted swapon tweak as it's only causing troubles!
-heavily modified updater-script to make the /system/etc/init.d folder clean while installing the Mod!(there is no longer need to delete scripts manually)
Fly-On V1.2(2/5/2013)
-added new script 02logdelete1 to delete logs+tombstones!Huge thank to -CALIBAN666- for the idea and the big help!
-updated the updater-script with more scripts to delete in init.d folder
-Fly-on mod is now more stable than before!
Fly-On V1.3(3/5/2013)
-Fixed sdcard readahead speed(need some testing)
-Under the request of some users the ram_manager script is now separated from the CWM flashable zip and It has it's own CWM package!
-Under the request of some users the ram_manager script is now with two version : one for multitasking and the other one for hard gamers!
-Some cleaning to the 98system_tweaks script(deleted unseful stuff)
Fly-On V1.4:(7/5/2013)
-New Ram manager config(Balanced)for people with moderate apps use!
-Tried to fix deletelog script(I'm not sure need testing)
Fly-On V1.5:(9/5/2013)
-Fully Re-writed Fly_engine script ensuring maximum compatibility with:
+I/O scheduler tweaks(choose noop for maximum compatibility).
+File system speedup.
+Various sysctl tweaks - Kernel, VM, file system!
Fly-On V1.6:(10/5/2013)
-Fixed Bug with 02logdelete1 script,thanks to -CALIBAN666- !
-Renamed 085Fly_engine to Fly_engine to provide any invalid argument!
-Added Openvpn binary.
-Some minor fixes to the Fly_engine script.
Fly-On V1.7:(11/5/2013)
-Updated 02logdelete1 script with new features and improvements thanks to : -CALIBAN666- .
-Added Default.prop which contains Extra fly_engine tweaks!
-Deleted some tweaks from Fly_engine script(the ones that could conflict with 98system_tweak script).
-Fixed proper Fly_engine script permissions through the Updater-script.
Fly-On V1.8(12/5/2013)
-New RAM manager config(Nexus)It's the original Google config!
-Updated sqlite3 binary
-Modified the CWM installation package to make It detect your android version and install the binaries according to it!
Fly-On V1.9:(13/5/2013)
-Modified Fly_engine script with some tweaks added:
+tune2fs feature(Disable journalism).
+Disabled normalize sleeper.
+Deleted I/O specific tweak for noop I/O scheduler.(Feel free to use any scheduler with Fly-On)
Fly-On V2.0:(15/5/2013)
-Added new RAM manager(hard multitasking)!
-Added new script to improve your touchscreen sensitivity !
-Delete 02deletelog1 for know(will be back after fixing bugs on It).
-Now you can install It over adrenaline engine/velocity directly(Edited CWM installation script).
-Fixed a small error in 98system_tweak script.
Fly-On V2.1:(17/5/2013)
-Fully reworked 98system_tweak script with:
+Lesser script size(from 23kb to 19kb).
+ Edited many values for more smoothness and better battery life.
-Some few modifications to the Fly_engine script.
-Added many info to the first post!
Fly-On V2.2:(18/5/2013)
-02logdelete script is back and it's working properly!
-Fixed a small error in 98system_tweak.
-Reduced 98system_tweak size from 19KB to 17KB.
Fly-On V2.3:(20/5/2013)
-Heavily Edited 98system_tweak with:
+New governor Tweaks!
+Edited many values for better performance/battery life.
+Deleted few lines that are causing issue on some phones!
Fly-On V2.4:(23/5/2013)
-Fixed 02logdelete1 script!Now It's working properly thanks to :vampire: !
-New script 98fly_core It's the fusion of 98system_tweak and Fly_engine scripts(to avoid any incompatibility/stability issues).
-Removed "Disable EXT4 journalism" feature as It's incompatible with many devices that runs a system partition other than ETX4.
Fly-On V2.5:(27/5/2013)
-Fully reworked 09sdcardspeedfix script(reduced size from 3Kb to 1Kb).
-Some cleaning to the zipalign script.
Fly-On V2.6:(31/5/2013)
-Cleaned up 98Fly_core script.
-Some misc changes to the sqlite_optimize script.
Fly-On V2.7:(1/6/2013)
-Reverted back to old 09sdcardspeedfix script(compatible with more devices).
-Fixed a small bug with the 98fly_core script.
-Deleted s78sensitive_touchscreen script for now.
Fly-On V2.8:(2/6/2013)
-New zipalign data script used to zipalign apps on /data at every 48H.
-New sqlite optimizing system at every 48H.
-Deleted remountCM_fullext4 from CM version (another step to make Fly-On more universal).
Fly-On V3.0:(5/6/2013)
-fixed a small issue in 98fly_core script.
-Reworked the 02logdelete1 script.
-Reworked zipaligndata script.
-Reverted back to old sqlite optimizing script.
-Added partition remount tweaks for I9300 in a single package.
-Added Fly-on uninstaller for Version 2.4+ .
Fly-On V3.0 RC0:(9/6/2013)
-Added NOS entropy seeder generator engine,big thank to Exit_Only.
-Added hosts file for ad blocking.
-Fixed uninstaller(no more need to mount /system).
Fly-On V3.0 RC1:(18/06/2013)
-Added NOS entropy init.d script with light/moderate/aggressive profiles and sets moderate by defaults thanks again to EXIT_ONLY !
-Added new 99logdelete script to execute 02logdelete1 script properly at boot thanks to Erikeleria!
-Many minor changes.
reserved
the detailed information helped me to learn new concepts
thanks
if we flash the zip , won't it overwrite the ones present in etc/init.d ?
Sent from my GT-S5670 using xda premium
What is "zip aligning apps while booting"?
Sent Via XDA™ Premium
So, it's not good for CM10.1?
soham jambhekar said:
the detailed information helped me to learn new concepts
thanks
if we flash the zip , won't it overwrite the ones present in etc/init.d ?
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You should delete them as mentionned on OP
Sent from my GT-I9000 using xda premium
Galaxy_Rohit said:
What is "zip aligning apps while booting"?
Sent Via XDA™ Premium
Click to expand...
Click to collapse
Read the second post!
Sent from my GT-I9000 using xda premium
ZmisiS said:
So, it's not good for CM10.1?
Click to expand...
Click to collapse
No;lol it good for performance/battery
Sent from my GT-I9000 using xda premium
is it work on stock rom DDKT3?
My phone is rooted
n Already flash clockwork recovery ?
SO
FU**ING
SMOOOOOOTH AND FAST!
Thank you very much bro
Tested with Android 2.3.7 CM7!
Abhi04 said:
is it work on stock rom DDKT3?
My phone is rooted
n Already flash clockwork recovery ?
Click to expand...
Click to collapse
You need custom kernel as mentionned in OP!
Sent from my GT-I9000 using xda premium
Hey, thanks for the script can you please explain what does zip-aligning mean?
Sent from my GT-S5670 using xda premium
CoDDeZ said:
Hey, thanks for the script can you please explain what does zip-aligning mean?
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
A apk file consists of various type of data it can be your java code XMLs , images , sounds etc
of these the images and sounds (raw folder) are uncompressed I'm nature in the apk
so What zipalign does is align all the uncompressed data of the apk in certain way ( I read somewhere group of 4 bytes )
we can apply this concept to real world organization .( we would find our things earlier if we organize our room )
thus this enables simple access while running the app thus saving RAM
Sent from my GT-S5670 using xda premium
soham jambhekar said:
A apk file consists of various type of data it can be your java code XMLs , images , sounds etc
of these the images and sounds (raw folder) are uncompressed I'm nature in the apk
so What zipalign does is align all the uncompressed data of the apk in certain way ( I read somewhere group of 4 bytes )
we can apply this concept to real world organization .( we would find our things earlier if we organize our room )
thus this enables simple access while running the app thus saving RAM
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Well said!
Sent from my GT-I9000 using xda premium
Fly-On v0.6 is Up
V0.6 is now Up with various changes and fixes check It out!!!!
Fly-On v0.7 is Up
New version is Up,and now with two versions stock and CM!
Thanks, script made my fit smooth.
slaid480 said:
Fly-On V0.7:(21/4/2013)
-added xbin to make sure that zipalign and fly_engine scripts are working properly!
-Now with two versions:
+Stock version for Stock gingerbread samsung roms and roms based on samsung roms!
+CM version for cyanogenmod7/9/10 Based roms and AOSP GB/ICS/JB roms too!
Click to expand...
Click to collapse
stock kernel too?

[SCRIPTs][TWEAKs]Fly-On ModV3.0 RC1/Feel The Smoothness!/Upd:18/6/13

Introduction :
Under the request of some friends of mine, I decided after some time of write, to release this script for public testing.
This package of binaries, scripts and libraries, will fix the lags on your Android smartphone or tablet, and make it smoother and faster!
Features and Improvements :
- Full memory management with 5 different configs.
- Zipalign apps in "/system" at every boot, and apps in "/data" every 48 hours.
- CPU governors tweaks and improvements for better performance and battery life.
- Increased SD Card read-ahead cache to 2048 KB to improve SDCard write/read speed.
- Nos entropy seeder generator engine used to reduce lags.
- Ad blocking.
- Battery life improvements.
- SQLite and database optimizing every 48 hours.
- Network TCP tweaks.
- Kernel, VM and sysctl tweaks and improvements.
- File system speedup.
- Build.prop tweaks and improvements.
- Cleans log files and tombstones at every boot.
- Many other tweaks for better performance and battery life!
Requirements :
- Android 2.3.x (Gingerbread) and higher.
- Kernel with init.d support.
- Root.
- ClockworkMod. (4 or higher)
- At least 4 MB of free space in "/system".
How to install :
1. Download the flashable zip.
2. Rebooting into recovery mode.
3. Install Fly-On RAM manager. (optional)
4. Install Signed_Fly-On_Mod_V3.0.zip stock or CM according to your ROM.
5. Reboot and feel the smoothness!
In the package :
+/etc/init.d/ scripts :
-ram_manager: It's a complete memory manager, with 5 different versions.
-02logdelete1: Cleans log files and tombstones at every boot.
-09sdcardspeedfix: Set SDCard readahead speed to 2048 KB.
-darky_zipalign: Zipalign apps in "/system" at every booting.
-zipaligndata: Zipalign apps in "/data" every 48 hours.
-98fly_core: Contains various tweaks and improvements. (3G/VM/sysctl/kernel/battery life tweaks etc.)
-sqlite_optimize: Optimizing database of apps every 48 hours.
-s78sensitive_touchscreen: Improves the sensivity of your touchscreen.
+/system/xbin/ :
-sqlite3
-zipalign
-Openvpn
+/system/lib/
-libncurses.so (Stock version only).
Compatibility :
- This package will work with all android devices that have init.d support!
- Fly-On Mod works with Gingerbread, Ice Cream Sandwich, Jelly Bean, but in Ice Cream Sandwich and Jelly Bean ADJ Values are hard coded into the services.jar or .odex, that's why for Ice Cream Sandwich and Jelly Bean you will need a patched services.jar, you can follow this great guide by zeppelinrox (thanks to him): Click here.
- You can also use Fly-On Mod with V6 SuperCharger. (If you didn't flash the ram_manager config)
- The ram_manager configs are for phones with 512MB RAM. (Lower and higher than that too)
- If you have 1024MB/2048MB RAM use supercharger instead!
Important informations :
About RAM managers :
+ Balanced version, is for people with moderate apps use.
+ Gamers version, is for people playing HD/3D games.
+ Multitasking version, is for people that use a lot of apps at the same time.
+ Hard multitasking version, is for people with huge amount of apps running at the same time. (Very agressive values!)
+ Nexus version, contains values from Google source used in nexus devices.
Note also that:
- Multitasking version have lesser free ram than Balanced/Gamers/Nexus, but this thing doesn't mean they are the best, choose the ram config according to your use!
- Don't use any Task Killer with this Mod!
- Fly-On Mod main package comes with 2 different versions, CM version is for CyanogenMod ROMS and AOSP based ROMS (like AOKP), then stock version is for stock ROMS and custom ROMS based on stock!
- If you have bad battery life the problem is from an app waking your phone from sleep, it's not my script!
- Don't use Fly-On Mod with any other tweaking script as they will conflict!
- If you want to use Fly-On Mod in your ROM or your Mod ask for permissions first and give me credits!
- If you have any question ask me in the thread instead of PMs or I will not reply!
- Read well the thread before posting any newbie questions and do not ask for an already answered question!
Some users feedback :
l0lh4rd said:
The script is great!!!!!!!!!! Really feeling comfortable at 312MHz-156MHz/Smartass V2/noop, which under these settings without the scripts would make me miserable
Click to expand...
Click to collapse
ronnieryan said:
Version 8 has awesome boot time, only 38 seconds for me
Click to expand...
Click to collapse
KnightlyNinja said:
this version is awesome. ram usage is very low 150 mb only.Superb work haha:victory::silly:
Click to expand...
Click to collapse
KnightlyNinja said:
great. this is one of the best tweak available in xda. it improves smoothness , battery and performance. Almost does the work of a good kernel. Hoping to see more improvements in future.
great work sir.
Click to expand...
Click to collapse
sad25kag said:
╔╦╦╦═╦╦╦╗╔╦╦╗
║║║║║║║║║║║║║
║║║║║║║║║╠╬╬╣
╚══╩═╩══╝╚╩╩╝
Working great and faster on MIUI rom.
░░░░░░░░░░░░▄▄
░░░░░░░░░░░█░░█
░░░░░░░░░░░█░░█
░░░░░░░░░░█░░░█
░░░░░░░░░█░░░░█
██████▄▄█░░░░░██████▄
▓▓▓▓▓▓█░░░░░░░░░░░░░░█
▓▓▓▓▓▓█░░░░░░░░░░░░███
▓▓▓▓▓▓█░░░░░░░░░░░░░░█
▓▓▓▓▓▓█░░░░░░░░░░░░███
▓▓▓▓▓▓@░░░░░█
▓▓▓▓▓▓█████░░░░░░░░██
█████▀░░░░▀▀███████
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
Chemical SidePearl said:
@slaid480
Here is a talking sentence between me and my friend that is watching my phone flying with cm10.1....
Friend: Have you ever heard the definition of INSANITY ???
Me:Yup,it's the new Fly-ON mod by @slaid480.
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
pykfree said:
I put this script in PAC 4.2.2 ROM.. working fine.. it give more performance on my phone.. thank's dude
Click to expand...
Click to collapse
tcris45 said:
Ty man for those awesome tweaks
Click to expand...
Click to collapse
golfgtiedition30 said:
Instaled on rom stocklite v8...no problems its working well :thumbup:
Click to expand...
Click to collapse
nizar.nasani said:
well i test it on the last cm10.1 by biel after new flashing today and still for now no problems and works perfect and thnx btw
Click to expand...
Click to collapse
Credits:
-Thanks to Darky for the base zipalign script.
-Special thank to pikachu01, zacharias.maladroit,collin_ph and juwe11!
-Big thank to zeppelinrox and Exit_Only !
-voku1987 and mcbyte_it.
-My Friend Maroc-OS For the big Help!
-Any XDA Member That helped Me out in This Project!
-Google!
If you liked this mod,please rate this thread to 5 stars and press the Thanks button and if it's possible buy a coffee for me,it will help me to work, support and keep this project up to date!
REF!
This Thread is reserved for sharing information about Scripts in Android and how they Tweak the Android system through the Linux kernel and what are requirements of Running Scripts correctly!
Main Goal of Scripts:
Well,Scripts Has a lot of Goals,Such as optimizing,improving and in Some Lines we can say,Scripts can:
-Improve Performance and GUI Smoothness
-Improve Battery Life
-Tweak and Optimize the Android engine!
Requirements of using Some Scripts:
Since Android is Based on Linux,there is a possibility to use Linux Scripts to attempt the Goals Listed before in the thread,and like any Tweak you want to Apply there is some requirements you need to Use correctly those Scripts and some of the mportanst are :
-Custom Kernel that support init.d(Custom Kernel=Modified Linux kernel,for example in GALAXY ACE Forums here we have:CF-Root-All CM kernels,etc...)
-Having ClockWorkMod 5 or above to Flash Scripts
-at Least 2 MB free in /system
-Root Access(BusyBox should be included)
Useful Info About Tweaks:
-LMK(LowMemoryKiller):
The LowMemoryKiller is a constant debate between more free RAM and more multitasking capabilities as free RAM (more than 60MB free) is actually wasted RAM.
The LowMemoryKiller is actually a feature in the Android OS for better memory management.
This is an important feature due to the perennial problem of having low free memory causing lagginess and slowness in launching apps. When you have free memory lingering around the number of 40MB or less, the Android OS just lags like hell.
What this would mean is, you would want to tweak the LMK to not have the situation of it having less than 40MB (or even close to that).
The modern Linux machine in the Android ecosystem relies on a mechanism called Low Memory Killer (LMK) to consistently free up RAM. This is due to Android's internal mechanism of caching apps (and never fully exiting them) when you press the back button. This is to enable faster app switching and provide a seamless experience for apps usage model. Android also, by itself will also constantly look for often used apps to cache them for faster app opening. This will happen even before your system fully boots.
Now, when you mention LMK, the most obvious thoughts that come up are minfrees and Out Of Memory (OOM) groupings. Yes, those two are integral parts when it comes to LMK. The issue here is that no one actually mentioned that there are two LMK systems in Android, that being:
- Linux LMK
- Android Dalvik VM LMK
Journaling/Barriers:
This has been a touchy subject here in XDA for most people who debate about it. Most recently,Some Scripts included a way to disable journaling on these partitions:
/system (System is read only, it's safe to remove journaling. However, you will not see speed increase by removing it as you're not writing onto /system 99.99% of the time unless you're using Titanium backup to remove system apps or copying init.d scripts to it)
/cache (Cache can be rebuilt on the fly. Data corruption on it is not game breaking)
/data (All of your data on your phone is here. Removing journaling can risk data corruption. Read more below)
On whether we need journaling or not, I will pose this situation:
Journaling is required to maintain data consistency in events that could lead to data corruption. Data could get corrupted in a number of situations:
- Misbehaving app that constantly writes without syncing/committing data to the disk
- Power loss due to forced reboots or bootloops when data is partially written/committed into disk
Memory Leaks
If you found out that your Android is laggy after sometime and a reboot will make it faster, then you're experiencing memory leaks. "free" is a command to show your currently free memory. It will not necessarily be the same value as your phone's free memory.
Busybox
Well,Busybox is required to perform all of your superuser activities in your android phone. There are some problems associated with this when ROM developers decide to use a certain version of Busybox that are incompatible with the binaries that we use in our phones. When you found out that after changing your kernel/ROM:
- You still have superuser and Titanium Backup still works but, Root Explorer/File Expert can't copy files correctly to the /system after mounting R/W!!
MinFree:
Minfree is part of the Kernel (present on both Gingerbread and Ice Cream Sandwich) and It an Option available in Linux kernel Optimized for Android to Improve MultiTasking and It differs from a Phone to another because of the RAM available in users space.
The Minfree is hopefully adjustable Like the LMK to optimize Multitasking to a lot of options(like:aggressive,gaming,balanced,etc...)
The Minfree Option can be Found as a part of Linux Scripts for better RAM management!
Network Tweaks:
Well,in Linux Scripts for Android you can find some Tweaks that increase the speed of you Network Download/Upload and those with various types of Netwoks Like 3G,Wi-Fi,etc...
Build.Prop Tweaks
Well,those Tweaks can generally be found in Build.prop in /system and they are for various improvements Such as allowing Phone to Sleep better,changing wi-fi scan interval,changing window animation delay,some network Tweaks,possibility to change density,etc...
SD Card Speed Fix:
This is a Tweaks that Has the goal of increasing the read-ahead speed of your SD Card,and that by changing the valories of SD card readahead Like:
-256kb
-512kb
-2048kb
-4096kb
Smoothness Tweaks
Well with the Linux Kernel there is a possibility to add some Tweaks to the Linux scripts and those to optimize the GUI Smoothness and also Lock Home launcher in Memory!!
Credits:
Well,what I can say is that I shared those useful Info after some research and my experience with Linux/Unix,and those some of My main Target that I use to find some of the useful info:
-XDA Forums
-Goolge
Change log:
Fly-On V0.1:(8/4/2013)
initial release.
Fly-On V0.2:(16/4/2013)
-re-writed and cleaned script.
-New zip-aligning script based on Darky's zip-aligning script.
-Adjusted Values to be adapted to this device hardware.
-Deleted touch sensitivity tweaks(useless).
-Corrected Min-free values.
-Many other minor stuff...
Fly-On V0.3:(17/4/2013)
(If you are coming from an old version,below V0.3 you will need to delete all scripts in your /system/etc/init.d folder)
Now Fly-On Mod is a full package of scripts:
-Replaced the main Fly-On script with 3 scripts to avoid any functionality problem and ensure more stability (S98system_tweak,05LagFixer,09sdcardspeedfix)
-Added some useful build.prop Tweaks(for better performance and battery life)
-Fixed the Low memory killer bug with the new Lagfixer script.
Fly-On V0.4:(17/4/2013)
-New SQlite_optimize script .
-New Script For Network TCP optimizations.
-Adjusted Min-Free Values for better Multitasking!
Fly-On V0.5:(19/4/2013)
-Fixed permissions Via Updater-script to Make sure that scripts are properly working!
-Some cleaning to the S98system_tweak script!
Fly-On V0.6:(20/4/2013)
Delete all old Fly-On scripts before installing V0.6!
this update contains various improvements bugfixes and changes with a full new script:
-Deleted 05Lag_fixer script!
-Deleted S97network_tweaks!
-New 08Fly_engine script with a lot of tweaks and improvements:
+Full Memory management
+Sysctl tweaks
+Kernel and VM tweaks
+File system speedUp
+Ext4 tweaks
+Improved Wifi_Idle for better battery Life!
-Updated zip-aligning script for faster zip-aligning and short boot time!
Fly-On V0.7:(21/4/2013)
-added xbin to make sure that zipalign and fly_engine scripts are working properly!
-Now with two versions:
+Stock version for Stock gingerbread samsung roms and roms based on samsung roms!
+CM version for cyanogenmod7/9/10 Based roms and AOSP GB/ICS/JB roms too!
Fly-On V0.8:(22/4/2013)
-Fixed errors on Fly_engine script.
-Added I/O scheduler tweaks.
Fly-On V0.9:(25/4/2013)
-Fixed sqlite3 bin permissions.
-Removed journalism on EXT4 partition(greatly increase I/O).
-added remountCM_fullext4 script for CM version.
Fly-On V1.0:(27/4/2013)
If you are coming from Fly-On V0.9 there is no need to delete the old scripts!
-deleted fly_engine script(contain a lot of errors,I will be working on rewriting it).
-added a new ram_manager script (Full memory fix and management).
-fixed proper permissions for all scripts.
Fly-On V1.1(29/4/2013)
-Deleted swapon tweak as it's only causing troubles!
-heavily modified updater-script to make the /system/etc/init.d folder clean while installing the Mod!(there is no longer need to delete scripts manually)
Fly-On V1.2(2/5/2013)
-added new script 02logdelete1 to delete logs+tombstones!Huge thank to -CALIBAN666- for the idea and the big help!
-updated the updater-script with more scripts to delete in init.d folder
-Fly-on mod is now more stable than before!
Fly-On V1.3(3/5/2013)
-Fixed sdcard readahead speed(need some testing)
-Under the request of some users the ram_manager script is now separated from the CWM flashable zip and It has it's own CWM package!
-Under the request of some users the ram_manager script is now with two version : one for multitasking and the other one for hard gamers!
-Some cleaning to the 98system_tweaks script(deleted unseful stuff)
Fly-On V1.4:(7/5/2013)
-New Ram manager config(Balanced)for people with moderate apps use!
-Tried to fix deletelog script(I'm not sure need testing)
Fly-On V1.5:(9/5/2013)
-Fully Re-writed Fly_engine script ensuring maximum compatibility with:
+I/O scheduler tweaks(choose noop for maximum compatibility).
+File system speedup.
+Various sysctl tweaks - Kernel, VM, file system!
Fly-On V1.6:(10/5/2013)
-Fixed Bug with 02logdelete1 script,thanks to -CALIBAN666- !
-Renamed 085Fly_engine to Fly_engine to provide any invalid argument!
-Added Openvpn binary.
-Some minor fixes to the Fly_engine script.
Fly-On V1.7:(11/5/2013)
-Updated 02logdelete1 script with new features and improvements thanks to : -CALIBAN666- .
-Added Default.prop which contains Extra fly_engine tweaks!
-Deleted some tweaks from Fly_engine script(the ones that could conflict with 98system_tweak script).
-Fixed proper Fly_engine script permissions through the Updater-script.
Fly-On V1.8(12/5/2013)
-New RAM manager config(Nexus)It's the original Google config!
-Updated sqlite3 binary
-Modified the CWM installation package to make It detect your android version and install the binaries according to it!
Fly-On V1.9:(13/5/2013)
-Modified Fly_engine script with some tweaks added:
+tune2fs feature(Disable journalism).
+Disabled normalize sleeper.
+Deleted I/O specific tweak for noop I/O scheduler.(Feel free to use any scheduler with Fly-On)
Fly-On V2.0:(15/5/2013)
-Added new RAM manager(hard multitasking)!
-Added new script to improve your touchscreen sensitivity !
-Delete 02deletelog1 for know(will be back after fixing bugs on It).
-Now you can install It over adrenaline engine/velocity directly(Edited CWM installation script).
-Fixed a small error in 98system_tweak script.
Fly-On V2.1:(17/5/2013)
-Fully reworked 98system_tweak script with:
+Lesser script size(from 23kb to 19kb).
+ Edited many values for more smoothness and better battery life.
-Some few modifications to the Fly_engine script.
-Added many info to the first post!
Fly-On V2.2:(18/5/2013)
-02logdelete script is back and it's working properly!
-Fixed a small error in 98system_tweak.
-Reduced 98system_tweak size from 19KB to 17KB.
Fly-On V2.3:(20/5/2013)
-Heavily Edited 98system_tweak with:
+New governor Tweaks!
+Edited many values for better performance/battery life.
+Deleted few lines that are causing issue on some phones!
Fly-On V2.4:(23/5/2013)
-Fixed 02logdelete1 script!Now It's working properly thanks to :vampire: !
-New script 98fly_core It's the fusion of 98system_tweak and Fly_engine scripts(to avoid any incompatibility/stability issues).
-Removed "Disable EXT4 journalism" feature as It's incompatible with many devices that runs a system partition other than ETX4.
Fly-On V2.5:(27/5/2013)
-Fully reworked 09sdcardspeedfix script(reduced size from 3Kb to 1Kb).
-Some cleaning to the zipalign script.
Fly-On V2.6:(31/5/2013)
-Cleaned up 98Fly_core script.
-Some misc changes to the sqlite_optimize script.
Fly-On V2.7:(1/6/2013)
-Reverted back to old 09sdcardspeedfix script(compatible with more devices).
-Fixed a small bug with the 98fly_core script.
-Deleted s78sensitive_touchscreen script for now.
Fly-On V2.8:(2/6/2013)
-New zipalign data script used to zipalign apps on /data at every 48H.
-New sqlite optimizing system at every 48H.
-Deleted remountCM_fullext4 from CM version (another step to make Fly-On more universal).
Fly-On V3.0:(5/6/2013)
-fixed a small issue in 98fly_core script.
-Reworked the 02logdelete1 script.
-Reworked zipaligndata script.
-Reverted back to old sqlite optimizing script.
-Added partition remount tweaks for I9300 in a single package.
-Added Fly-on uninstaller for Version 2.4+ .
Fly-On V3.0 RC0:(9/6/2013)
-Added NOS entropy seeder generator engine,big thank to Exit_Only.
-Added hosts file for ad blocking.
-Fixed uninstaller(no more need to mount /system).
Fly-On V3.0 RC1:(18/06/2013)
-Added NOS entropy init.d script with light/moderate/aggressive profiles and sets moderate by defaults thanks again to EXIT_ONLY !
-Added new 99logdelete script to execute 02logdelete1 script properly at boot thanks to Erikeleria!
-Many minor changes.
Reserved 1
Reserved 2
The best script there is................ it's Fly-On Mod
mod delete this 'cause the op thinks i'm the op
l0lh4rd said:
RESERVED
Click to expand...
Click to collapse
But why are you reserving this post?your are not the op,please edit It!
Fly-On v1.6 is Up
Here you guys,New update check the change log!
Fly-On v1.7 is Up
New update enjoy!
Click here for the change log.
No one is interested?I'm the only one posting here?
For aokp do I chose cm or stock? BTW, great work here. Will try this after I flash a new ROM since I already have RTMixManager installed. Most probably tomorrow.
Sent from my GT-P7500 using XDA Premium HD app
eushaun99 said:
For aokp do I chose cm or stock? BTW, great work here. Will try this after I flash a new ROM since I already have RTMixManager installed. Most probably tomorrow.
Sent from my GT-P7500 using XDA Premium HD app
Click to expand...
Click to collapse
Use CM version because this version is for CM/AOSP based Roms.
Sent from my GT-I9000 using xda premium
Fly-On v1.8 is Up
New version is Up enjoy!
This initi.d scripts works on Galaxy Note 2?
Linuxx84 said:
This initi.d scripts works on Galaxy Note 2?
Click to expand...
Click to collapse
Yes they will all work in exception of EXT4 Remount and RAM manager scripts!
Sent from my GT-I9000 using xda premium
slaid480 said:
Yes they will all work in exception of EXT4 Remount and RAM manager scripts!
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I'm interested about the script Zipalign. I just push darky_zipaling in system/etc/init.d and Zipalign in system/xbin, right?
Linuxx84 said:
I'm interested about the script Zipalign. I just push darky_zipaling in system/etc/init.d and Zipalign in system/xbin, right?
Click to expand...
Click to collapse
And fix permissions to all!
Sent from my GT-I9000 using xda premium
slaid480 said:
And fix permissions to all!
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I understood. One last thing...Can you tell me the permissions to set for darky_zipalign?
Linuxx84 said:
I understood. One last thing...Can you tell me the permissions to set for darky_zipalign?
Click to expand...
Click to collapse
As I said full permissions(0.7.7.7)
Sent from my GT-I9000 using xda premium
I saw on SGY development this tweaks and it 1.9 version??? sorry my bad english
thepico said:
I saw on SGY development this tweaks and it 1.9 version??? sorry my bad english
Click to expand...
Click to collapse
I didn't update It here because no one cares(only few people)!
Sent from my GT-I9000 using xda premium

Categories

Resources