[12.16.14][MOD] GAFT Scripts [Tweaks][WIP] - Android General

GAFT Scripts --
Code:
,##### ### ,#############
### `## ## ## ### ##
,## ## ## ###### ##
### ##### ######## #####' ,##
### ###### `##### ###
`#########' #### ####
| kermage | PrivaTech -- GAFT | iMUT |
Copyright 2014 Gene Alyson F. Torcende
Email: [EMAIL="[email protected]"][email protected][/EMAIL]
INFO:
Project started since 07.21.14 for personal experiment.
Based on some common/popular tweaks/scripts out there, but wrote on my own implementation.
More on scripting effectivity rather than tweaks. So, do not expect a 360-degree change in performance.
Tested on MyPhone a919i (MTK6589), MyPhone Agua Rio (JB/KK) (MTK6582), and Starmobile UP+ (MTK6582).
Pushed to GitHub. See here for full information and functionality of the scripts.
NOTE:
As of 12.13.14, nothing else does how GAFT Scripts work; from its simple output and logging to its unique style of tweaking and implementation.
Though some of the scripts integrated are already existing and available out there, I took it up and spent some time modifying it to somewhat give a cleaner, nicer, and probably improved codes. ^_^
So, if you encounter any sign of GAFT Scripts floating around without proper credits given and/or not provided a link here, please let me know. Thank you!
Script Features/Signature: (One of its kind )
*** Not your favorite promising battery/performance-related list.
Readability and with functions
--- Code tells you how, comments tell you why.
--- Should be more cleaner and less horror.
Better script output and logging
--- More details on what is being done.
Uses integrated BusyBox
--- BusyBox is not a requirement to install GAFT.
PID Checking
--- Skips another execution if script is already running.
Conflict Checking
--- Skips tweak and/or action if conflicting apps is found.
Screen-state Checking
--- Not the very usual and common way by using cat utility at wait_for_fb_wake and wait_for_fb_sleep.
Colorful UI (Console)
Many more . . . Check for yourself! ;D
Requirements:
Root Access (Who doesn't need root nowaday?)
Custom Recovery / Terminal Emulator
BRAIN! ^_^
HOW TO's:
Install? Use? Risk?LOL!
Download "GAFT v#.##.######.zip"
Choose an install method
Manual Mode
* Recommended, in order for init.d enabler to check at all possible hooks
Extract the "setup" folder from the zip file
Run "Installer.sh" in Terminal as root
Flash Mode
* Advanced, if you are already sure that your ROM support init.d scripts
Go to recovery mode
Flash the zip file
Reboot
Check? Inspect? Verify?
--- Use any root file manager, check the logs at "/data/GAFT", inspect what the scripts have done to your device, and verify if it's working.
Control? Monitor? Uninstall?
--- Execute "/data/GAFT/Console" or open Terminal Emulator then type "GAFT", and follow on screen commands.
TERMS:
Modification - You can totally tweak and/or modify the scripts to your personal liking.
* Understanding the scripts will not be that hard as I already wrote it in a professional way.
Distribution - You are free to include the scripts and/or use it as baseline to your packages as long as PROPER credits are intact.
* I'd be happy to review and test your code touches, tweaked values, and additional scripts derived from GAFT Scripts, but DO NOT SIMPLY DISASSEMBLE AND RE-BRAND.
Disclaimer - FLASH AT YOUR OWN RISK! Absolutely no gurantees.
* Constructive FEEDBACKS are very much appreciated.
** DO NOT MIRROR! If you want to share, just link here.
*** THANK YOU for your COOPERATION!
CREDITS:
Google for overall HELP and Android tools
kobridge @xda for WI-FI idle time before sleep
lambgx02 @xda for Seeder
Ipy @xda for LoopySmoothness
XDA:DevDB Information
GAFT Scripts, Tool/Utility for all devices (see above for details)
Contributors
kermage
Version Information
Status: Stable
Current Stable Version: 1.00.101214
Stable Release Date: 2014-12-16
Created 2014-12-14
Last Updated 2014-12-15

FAQs
Q: Can I use it on my YYY Phone with ZZZ Android version?
A: GAFT Scripts are only tested on the devices mentioned at INFO #4 in first post, but surely it is not device specific. Also, it has thorough checking and verifications before proceeding its defined tweaks and/or actions. So, YES! Give it a try.
Click to expand...
Click to collapse
Q: Is it working? I can't feel/see much difference from stock.
A: First, read HOW TO's #2 then INFO #3 in first post. GAFT Scripts are not advertised as a total game changer, but somehow it should show some noticable effects.
Click to expand...
Click to collapse
Q: Can I use/flash another init.d tweaks on top of GAFT Scripts?
A: Yes, no one restricts. But I assume you know what risks you are taking, and do suggest to first thoroughly check out for common scripts that are already included here like SQLite, Zipalign and LoopySmoothness to minimize the redundancy.
Click to expand...
Click to collapse
Q: Why am I getting lower Antutu score than before? XXX is better. and/or
Q: Why create such useless scripts? Can't even give some performance like XXX.
A: GAFT Scripts are not for you, sorry to disappoint. If you rely much on Antutu, go with XXX.One thing, GAFT Scripts are GUARANTEED working compare to such promising set of tweak scripts.
Here is a very common list of features to check on: (Do all checks at Terminal Emulator or adb shell without quotes)​
Better RAM management - services.jar should be patched first in order to match the tweaked LMK values and acheive the said feature.
Check: "cat /sys/module/lowmemorykiller/parameters/adj" vs. the script's defined tweak value
Script runs every ## min/hr/day - all init.d scripts are only initiated every boot, not just by defining a RUN_EVERY variable (LOL!).
Unless script is run using cron scheduler, is run in background with sleep as intervals, or is using (stat)istic of its own log file (time of last modification) for interval check between executions.
Smoothness of {insert.app.name.here} using renice. Ex.: renice -20 `pidof com.android.systemui`
Check: "ps -p | grep com.android.systemui | awk '{print $7}'" vs. the script's defined nice level.
XXX Tweak for/in/using XXX (echo or sysctl) - not all tweaks are available and supported by every device/kernel/ROM
Ex.: echo NO_NORMALIZED_SLEEPERS > /sys/kernel/debug/sched_features ; echo 11000 > /sys/class/touch/switch/set_touchscreen
Check: "[ -e /sys/kernel/debug/sched_features ] && echo VERY GOOD! Available || echo EPIC FAIL! Unavailable"
Click to expand...
Click to collapse
Always focus on every REAL and REPORTED output rather than those EXAGGERATED features.​

Downloads
Direct (GitHub)
Direct (XDA)
Mirror (MediaFire)
Includes:
Installer Script (Installer.sh)
- Version checking //skips install if newer or equal version is present
- BusyBox Installer
- GAFT's init.d Enabler
--- Checks init.d required commands at all possible hooks (ramdisk .rc files, /system/bin/sysinit, and /system/etc/install-recovery.sh). If no required commands found, hook init.d run-parts to /system/etc/install-recovery.sh.
- GAFT's Prop Tweaker
--- Only adds the build.prop entry if not yet existed and not set to the preferred value.
--- Existing entries with different set value is commented out with #GAFT# first.
- Setting up GAFT files and required binaries.
GAFT init.d Console (GAFT)
- Colorful UI to control and monitor scripts, and uninstall.
zZGAFT_init (Launcher)
- GAFT's init.d Launcher
--- Ensures no redundant execution of GAFT scripts at boot.
--- Execute scripts in background to minimize boot time.
zZGAFT_Booster
- GAFT's System Tweaker
--- Only tweaks the system setting if it is available and is not yet set to the preferred value.
- GAFT's DB Setter
--- Creates the settings.db entry if not yet existed and only update the value if not yet tweaked.
- Optimized mount options, proc/sys, read_ahead, and LMK values
--- Aims for a smoother UI, better battery and memory management, faster read and write speeds, and COOLER system //feel it! ^_^
- Wi-Fi idle time before sleep (Inspired by kobridge @xda )
--- Wait 10mins before Wi-Fi sleeps //after the screen is turned off
zZGAFT_Charger
- Seeder Entropy Generator (Created by lambgx02 @xda )
--- Lightweight profile //just enough to keep entropy level high.
--- Skips if conflicting entropy generator is found.
- GAFT's Hotplug Tweaks and Profiler
--- Better battery backup by scaling down CPU's max frequencies based on battery percent and screen state profiles.
--- Skips if conflicting overclocker is found.
zZGAFT_Cleaner
- Data junks cleaner
--- Cleans most of data junks.
- Battery calibrator
--- Runs every 3days if battery is max level.
- Obsolete dalvik-cache remover
--- Scans for unused *.dex every 3days.
zZGAFT_Smoothie
- GAFT's System Smoothie (Inspired by LoopySmoothness of Ipy @xda )
--- Automatically checks for available launchers and inputmethods.
--- Continually renice all defined processes with its nice level, especially after it's removed from the memory which resets their priority.

Nice work sir!
I will try this as well.

sir pls update the link...i cant download it...bcoz the link is down...
sir pls update the link...i cant download it...bcoz the link is down...

ZaIjEn20 said:
sir pls update the link...i cant download it...bcoz the link is down...
Click to expand...
Click to collapse
Files re-uploaded, kindly revisit links. Thanks

Related

Ayintis (personal tweak android system) No bash problems anymore!!

{
"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"
}
Foreword:
I am not the owner of this tweak only one tester.
The owner (dev) is Redmaner.
Together with Redmaner I test Ayintis for months, now it´s time to publisch it!!
All credits go to:
Redmaner
Ayintis for Android
Copyright 2012, The Ayintis project
This product includes software developed by
Google Inc. (www.google.com)[libncurses.so, zipalign].
This product includes software developed by
Sqlite (www.sqlite.org)[sqlite3].
This product includes software developed by
The CyanogenMod team (www.cyanogenmod.com)[fix_permissions.sh].
This product includes software developed by
Koushik Dutta (www.koushikdutta.com/)[update-binary].
This product contains code written by Hardcore [mount_no_atime.sh].
The original software is available from
http://forum.xda-developers.com/showthread.php?t=813309
This product contains code written by Brainmaster.
Including various modifications by zacharias.maladroit [read_ahead_kb_x.sh].
The original software is available from
http://forum.xda-developers.com/showthread.php?t=1010807
This product contains code written by Wes Garner.
Including various modifications by doctorcete and oknowton [zipalign_boot.sh].
This product used documentation provided by The Linux kernel archives.
The original documentation is available from
http://www.kernel.org
This product used documentation provided by Knzo.
The original documentation is available from
http://forum.xda-developers.com/showthread.php?t=1227269
First a word of Dev himself why he himself does not publiseerd:
I decided to not release Ayintis on a public forum. There are two reasons for that:
1.) I have a very busy private life (currently busy with my study) which gives me no time to give proper support all the time on forums.
2.) Besides that I am not really active on forums, becaues of old expierences which I don't want to recall.
Official site and bug reports
Downloads:Ayintis
What is Ayintis:
Ayintis (pronounced as: aii-in-tis), before known as Engengis, is an easy to use tool for Android devices.
Ayintis allows the user to tweak his Android system in a fast, simple, easy and secure way.
Although it isn't anything new it still provides a rich collection of tweaks, 100% configureable by the end user.
The goal of this project is to generate an open-source platform which is offering an easy to use interface and a wide range of tweaks.
Support
Ayintis is builded in mind that it must be capable to run on every Android device.
Even if the device is old or new, low-end or high-end it doesn't matter.
Ayintis is using busybox applets which makes it possible to run ayintis on every system.
This goal isn't achieved yet, not every device is 100% supported. Although most of the devices will. On our support page you can find information on how to get full support for your device.
Supports....
- Android 1.6 till 4.1 (Need a kernel which is atleast 2.6.xxx)
- CPU up to quad-core
- Various partition tables (BML-MMC-MTD-STL-TFSR-ZRAM)
Interface
Easy to use
With an easy to use interface you tweak your system in no time.
Just type in the number with your keyboard and Ayintis does the rest.
Possible to use ayintis on your Android device with Terminal emulator.
Or use your computer instead with ADB.
Customize it!
Not only the tweaks are configureable also the interface.
Including headercolors, show and hide various options.
Tweaks
Ayintis offers a wide range of (popular) tweaks. All tweaks can be found within the Android community (XDA-Developers, Rootzwiki ect.). All tweaks are configureable. There are tweaks you can enable and disable and there are tweaks where you can choose serveral options.
Sysctl configurator
The feature everyone is searching for within the Android community is the ultimate ramscript.
Serveral developers took up the challenge to find the ultimate ramscript, with great results!
There are lots of devices and users so there are lots of ramscripts too.
It's impossible to integrate all the ramscripts in Ayintis, so we invented a system where the user can create his own ramscript.
This feature we call the sysctl configurator. The user can create it's own ramscript or use already existing ramscripts.
The system works pretty simpel, there are 26 parameters the user can configure (more in the future).
By typing in the values you generate your own ramscript!. See the instructions page for detailed information.
List of tweaks
Application tweaks:
- Fix permissions
- Optimize sqlite db's
- Enable/disable zipalign during boot
build.prop tweaks:
- Set dialing out delay
- Set display density (dpi)
- Set JPEG quality
- Set scrolling responsiveness
- Set VM heapsize
- Set WIFI interval
CPU tweaks:
- Set CPU governor (Support up to quad-core)
- Enable/disable lionheart governor tweaks
Kernel tweaks:
- Enable/disable IPv4/IPv6 security tweaks
- Sysctl tweaks (kernel, cfs, lmk, net, vm) (26 parameters)
Partiton tweaks:
- Set IO scheduler (Supports BML-MMC-MTD-STL-TFSR-ZRAM)
- Enabled/disable IO tweaks
- Set read_ahead_kb
- Enable/disable mount no-atime
Tools
Ayintis is not offering only tweaks, it also offers a set of tools the user can use.
Make logcat
You know that developer that is always asking for a logcat but you have no idea how to get one?
Problem solved! Ayintis offers a tool to make a logcat very easily. Locats supported are: main, radio and event.
Read everything about the android logcat here
Online nandroid backup
A new tool in the android community is online nandroid backup.
This feature is not integrated in Ayintis but you can easily make an online nandroid backup if you have the tool installed (/system/bin/onandroid).
We chose to not integrate this feature because this feature is really unique, we want people to choose if they want to use it or not.
So if you want to use this feature from the Ayintis menu you have to install it yourself. Online nandroid backup can be found here
Script manager
Ayintis offers a wide range of tweaks, but it doesn't have all features it can offer.
There are lots of scripts that can be found on android forums that are not integrated in Ayintis.
This is because these scripts are really device specific or very experimental or you name it!
Actually Ayintis is all about scripts, that's why script manager comes in.
It fills the gap of features that are missing, restores your scripts after an update and manages your init.d folder.
Script restore
Every tweak you enable or disable and every tweak you set with Ayintis will be saved in a tweak file.
It remembers your tweak settings after an update. This gives the possibility to restore your scripts after an update.
This feature is very handy if you are an extreme rom flasher.
Script installer
There are a lot of scripts within the android community that are not integrated in Ayintis.
There are several reasons for that. That's where script installer comes handy.
It offers you an very easy interface to run and install scripts.
It fills the gap off missing features from Ayintis.
Script remover
Script remover gives you the oppurtunity to remove scripts from the init.d folder.
Pretty useful if you don't have a root-explorer and want to get rid off pre-installed scripts.
And there must be a way to remove all those scripts you install with script installer.
Open source
All this awsomeness is open-source! Everyone can see and use the source.
You can compile your own builds, improve the code or just have a look.
Source is available at github
Instructions on how to compile and requirements to compile are within the sourcecode.
Features
Ayintis features
- Ayintis image (vfat) [Reduces effect on system and data partition]
- Running on /system/bin/bash
- Using busybox applets (busybox 1.19.4+) [Possible to run on every Android system]
- Advanced logsystem to debug Ayintis to the bare metal
- Various security checks to prevent device (software) damage
- Easy to use interface working with terminal emulator and ADB
- Possible to tweak the User Experience (UX)
- Various tools (create logcat, online nandroid backup)
- Scriptmanager to restore/install/remove scripts easily
- OTA updater
List of tweaks
Application tweaks:
- Fix permissions
- Optimize sqlite db's
- Enable/disable zipalign during boot
build.prop tweaks:
- Set dialing out delay
- Set display density (dpi)
- Set JPEG quality
- Set scrolling responsiveness
- Set VM heapsize
- Set WIFI interval
CPU tweaks:
- Set CPU governor (Support up to quad-core)
- Enable/disable lionheart governor tweaks
Kernel tweaks:
- Enable/disable IPv4/IPv6 security tweaks
- Sysctl tweaks (kernel, cfs, lmk, net, vm) (26 parameters)
Partiton tweaks:
- Set IO scheduler (Supports BML-MMC-MTD-STL-TFSR-ZRAM)
- Enabled/disable IO tweaks
- Set read_ahead_kb
- Enable/disable mount no-atime
Requirements
To run and use Ayintis properly there are a few requirements:
- Android device with Terminal emulator or a computer with ADB
- Root (SU binary on /system/bin or /system/xbin)
- Busybox 1.19.4+ to work with all functions (Busybox binary on /system/bin or /system/xbin)
-----> Busybox 1.19.3 and lower will work too, only OTA updater won't work
- data partition mounted as /data with +- 3.0mb free space
- system partiton mounted as /system with +- 1.0mb free space
- Kernel with init.d support (get init.d support on every device here)
- ClockWorkMod (CWM) recovery to install
How to install
This method requires a device with ClockWorkMod recovery installed
1.) Download the latest CWM version of Ayintis from the download page
2.) Put the CWM zip on the root of your internal SD-Card
3.) Reboot your device in recovery mode (CWM)
4.) Select "Install zip from SD-Card"
5.) Select "Choose zip from SD-Card"
6.) Select "Ayintis_Vx.x.x.x_x_x.zip"
7.) Select "Yes - Install Ayintis_Vx.x.x.x_x_x.zip"
8.) Wait till operation is done and go back to the main menu of CWM
9.) Reboot your system
Usage
1.) Start Terminal emulator or ADB
2.) Issue the following commands:
su
ayintis
3.) Issue the numbers and letters shown by Ayintis
4.) Follow the instructions on the screen to start using Ayintis
Using arguments
Ayintis has some arguments to do fast assignments.
1.) Start Terminal emulator or ADB
2.) Issue the following commands:
su
ayintis --help
3.) This will show all the supported arguments and what they do
Tweaks explained
Application tweaks
Fix permissions
Fix permissions mostly used to fix FC's, read everything about it here
Optimize sqlite db's
Optimizes sqlite db's for higher read/write speeds.
Zipalign during boot
Optimizes .apk files during boot for less RAM usage.
build.prop tweaks
Dialing out delay
Increase or decrease dialing out delay
DPI
Set display density
JPEG quality
Increase or decrease JPEG quality percentage. (Must be between 0 and 100)
Scrolling responsiveness
Increase or decrease scrolling responsiveness
VM heapsize
VM Heapsize; higher the RAM, higher the hp can be
Mostly steps of 8. (eg. 24m, 32m, 48m, 56m, 64m ect.)
WIFI scan interval
Time between WIFI scans in seconds. The higher the value how longer it takes.
Can save batterylife.
CPU tweaks
Set CPU governor
Set your desired CPU governor. Read everything about governors here (thanks: stempox)
Lionheart governor tweaks
Works only with conservative governor. Let's conservative governor behave like performance governor. Works best with deadline I/O scheduler.
Kernel tweaks
IPv4/IPv6 security tweak
Improves IPv4/IPv6 security. Including protection against ms-dos attacks, syncookie protection.
Sysctl tweaks
Use the pre-configured sysctl configuration with fair performance or create a configuration yourself.
Including 26 popular parameters. All parameters explained here
Download popular configurations here.
Partitions tweaks
I/O Tweaks
Tweaks diffrent I/O scheduler for more performance and batterylife.
Set I/O scheduler
Set your desired I/O scheduler. Read everything about I/O schedulers here
Set read_ahead_kb
Set cache size to increase SD-Card read/write speed.
No-atime mounts
Mount all partitons with no-atime (fastest mount).
This version runs well CM10. Tomorrow testing cna
Sent from my I9250
CM10 / CNA 3.8.0
Ayintis® v.1.0 by Redmaner
New build is out
Changelog:
Ayintis 1.1-RC1 (experimental)
- ayintis_core: Switched to tar environement
- ayintis_core: Many changes and improvements to work with the new tar environment
- ayintis_mounter: Update mounter help
- ayintis_settings: add runlevel and logscr options
Release notes:
We switched to the tar environment with this build.
That means we no longer use image formats, that also means that Ayintis is no longer mounted as a loop device.
We chose to rebuild the perspective to tar to be more open-source and use less CPU but keep the fast OTA-updates and data compression.
This also gave the opportunity to do some directory changes, which we did.
/data/ayintis/mount is now /data/ayintis/core
/data/ayintis/tmp is now /data/ayintis/core/tmp
I9250
CM10 / CNA 3.8.0
Ayintis v.1.0® (by Redmaner)
I'll have a look, just because it is you and Redmaner, looks interesting. Why did Red choose this form over an app?
On a side-note, isn update-binary a cyanogenmod one, or even a google thingy?
Edit: from the FAQ:
Wye isn't this an application (.apk)?
There are a few reasons for that.
First shell is an easy language = more contributors.
Second, letting the user interact with shell is more educational.
Third some stuff is impossible to do in an android application.
Click to expand...
Click to collapse
EditEdit: fixpermissions is indeed a Steve Kondik product, didn know that!
New build v1.1
Ayintis 1.1
- ayintis_core: Switched to tar environement
- ayintis_core: Many changes and improvements to work with the new tar environment
- ayintis_mounter: Update mounter help and updated reconfigure option
- ayintis_settings: add runlevel and logscr options
- compiler: auto-generate updater-script
I9250
CM10 / CNA 3.8.0
Ayintis v.1.1® (by Redmaner)
quadrant score really high with the new version. And yes it says nothing but still fun. System runs like a train!
I9250
CM10 / CNA 3.8.0
Ayintis v.1.1® (by Redmaner)
I turn now tweak a few days with Codename. Even with this rom I get the utmost out. No bugs encountered.
I9250
CM10 / CNA 3.8.0
Ayintis® V.1.1 (by Redmaner)
http://forum.xda-developers.com/showthread.php?t=1982538
New build:
Ayintis 1.2.0-4
- ayintis_core: new data layout
- ayintis_core: various improvements to the tar environment (added -w switch)
- ayintis_core: big set of code cleanups, bugfixes and improvements
- ayintis_core: more busybox applets are now used to fix compatability issues
- ayintis_core: install_bash and install_busybox added
- interface_parts: updated all interface parts
- ayintis_configuration: recoded ayintis_configuration
- various other cleanups, bugfixes and improvements
I'm not familiar with terminal emulator,but I wanna try this,after flashed it using twrp,I can't configure it in terminal emulator..bash not found..here I provide screen shot..
I'm using gsm galaxy nexus,purity ROM with ak purity kernel..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
I'm not familiar with terminal emulator,but I wanna try this,after flashed it using twrp,I can't configure it in terminal emulator..bash not found..here I provide screen shot..
I'm using gsm galaxy nexus,purity ROM with ak purity kernel..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Just type install_bash
I've done it,now its return like this
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
I've done it,now its return like this
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Step 1: open terminal type
su
ayintis
Step 2:
You get a message bash bla bla bla
Type now:
install_bash
Step 3:
Type now
ayintis
Step 4:
Confire config
Get it??
Followed all instruction,still getting same error..already install_bash..ayintis --help is working though..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
Followed all instruction,still getting same error..already install_bash..ayintis --help is working though..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hmmmm what rom do you use. Had it busybox in bord? U need have busybox install
I see this when I open
su
ayintis
Im gonna try this on other rom..ill post result later..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
Im gonna try this on other rom..ill post result later..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Normal with busybox its works well. So not I help so far I can
I already installed stericson busybox..still not working in this rom..will try on other rom tonight..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
I already installed stericson busybox..still not working in this rom..will try on other rom tonight..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hmmm
beast1980 said:
Hmmm
Click to expand...
Click to collapse
Normaly it works with all roms. Strange problem

[Experimental] U8150 Gingerbread Kernel and Tweaks

I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 9 (New & Final Version):
http://d-h.st/SGx
Download Test 8:
http://d-h.st/gSD
Download Test 7:
http://d-h.st/72f
Download Test 6:
http://d-h.st/oFd
Download Test 5:
http://d-h.st/pO8
Download Test 4:
http://d-h.st/3bA
Download Test 3:
http://d-h.st/Q1k
Download Test 2:
http://d-h.st/gOu
Log Test 9:
- Fix USB Tethering (need change dnsmasq_dhcp patch & make run dnsmasq_dhcp when USB Tethering running)
- Fix segment fault when zipalign script execute
- Add dnsc binary to ping url address and this binary function to know when you online or not. If you online crossbreeder script run/execute
- Remove sqlite3 and system server binary (not stable and broken something)
- Change value of scripts
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Recommend kernel and everything look like stable for me. May be this final version if i don't found any bugs again
Log Test 8:
- Fix dnsmasq dhcp only need 1 process and previously version i got trouble connection issue while tethering
- Change path dnsmasq_dhcp binary to crossbreeder folder (from /system/bin/* change to /system/etc/CrossBreeder/*)
- Fix Clean Dalvik script and now work with schedule
- Add dalvikvm binary and system_server binary from jellybean (may be can boost performance)
- Use some value of tweak from ThunderBolt/Pikachu01
- Change some value of tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 7:
- Fix crossbreeder (low RAM because duplicate dnrd process and dnsmasq_dhcp process. Fix in this version)
- Fix haveged script (need link /dev/random to /dev/urandom). Entropy always stay in 4096. To check this you can type in terminal emulator
Code:
su
entro
- Remove extendedmenu and rngd
- Use only two dnsmasq_dhcp/dnsmasq process. If you check in terminal emulator with
Code:
su
ps | pgrep dnsmasq_dhcp
or
Code:
su
ps | pgrep dnsmasq
You'll found only 2 process running and always got 2 dnsmasq process everytime (in other version you'll get many dnsmasq and make low RAM).
- Fix build.prop tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 6:
- In this version you can choose use haveged or rngd (default use haveged)
- Add build.prop tweak in init.d (can disable in extended menu)
- Tweak now 80% complete for get maximal performance for this phone (i don't have any idea again to get more better than this. Thank you )
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 5:
- Fix script init.d
- Fix Crossbreeder more better and less aggressive to check DNS and IP Address
- Fix hosts and save more memory
**) For flash this need clean rom and this kernel CAN update from previously kernel test 4. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 4:
- Use GCC 4.4.3 to compiler kernel (much more stable)
- Remove unnecessary module
- Add random optimize in kernel (3 commit github)
- Remove haveged and use rngd
- Combine crond script to one script and run every 45 minutes. Save more ram for this (script are Fast Engine Flush, Fast Engine Swap and Reduce Wifi TX Power)
- Add script Read Write Partition tweak and I/O Scheduler Tweak
- Update CrossBreeder. Much more save ram and now use blank gif for ADBlock (every things work).
- Boot more faster than before (optimize script more efficient) and more performance
**) For flash this need clean rom and can't update from previously kernel test (a lot of difference things)
Log Test 3:
- Fix All CPU Governors source code (i hope it)
- Try with difference egl.cfg value
- Change Fast Engine Flush script run every 60 minutes
- Change Fast Engine Swap script run every 45 minutes
- Change Haveged script run every 20 minutes
- Add Reduce TX Power script and this script run 30 minutes after you turn on your wifi/wifi tethering
- Add CrossBreeder script and script little difference with original (give me more ram with all feature from CrossBreeder work and run without problem).
And you can use AdAway apps to enable or disable hosts file (It will be work together with AdBlock CrossBreeder)
- Add Audio Lag Reduction in huawei extended menu :laugh:
- Fix huawei extended menu and make all feature can be enable or disable it
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Pikachu01
Other???
FAQ
How to know my script in init.d work?
You can see all log in /data/*.log
Why first boot so long?
Be patient. Because 3 script do it a job first time (SQLite database vaccum Script, Automatic ZipAlign Script and Clean Dalvik Cache and Cache Script).
The second boot will fast.
How to know rngd or haveged run?
You can type in terminal
Code:
su
extendedmenu
How to make/create Odexed framework file?
You can type in terminal, use adb or qtadb
Code:
su
dexo
And your phone will reboot if the script finish do a job
How to know CrossBreeder AdBlock work?
You can try to view file /system/etc/hosts and try one url in that file. Try it in your internet browser and you can get [ADBLOCK] (in NEW VERSION you'll got blank gif).
Can I disable ADBLOCK CrossBreeder?
Yes, you can. Try to enable or disable with huawei extended menu or use AdAway apps to disable hosts file and reboot to see result
Can I enable or disable feature of this all tweaks?
Yes, you can. Try to enable or disable with huawei extended menu
reserved
You should probably provide a link to your kernel source.
tulangabol said:
I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 2:
http://d-h.st/gOu
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Other???
Click to expand...
Click to collapse
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
aorth said:
You should probably provide a link to your kernel source.
Click to expand...
Click to collapse
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
ep690d said:
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
Click to expand...
Click to collapse
I'll try to fix it :fingers-crossed: and add more feature :laugh:
Sorry for my poor English
tulangabol said:
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
Click to expand...
Click to collapse
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
psyke83 said:
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
Click to expand...
Click to collapse
That truely i don't have enough bandwith to upload.
I don't have enough knowledge about kernel too. I'm learning alone to compiler that and my teacher is google
My Thread may be close i think
I'll learn more about that. Thank you

[DEV][TWEAKS][SCRIPT].::The Great Dash-M™::.DiamondEdition::.[RC5]

Hello People And Welcome to Dash-M™ Official Thread
Advantages
✔ Available For All low specification Phones
✔ Easy Installation
✔ Easy to Remove
✔ Faster Data/Wifi Buffering
✔ Increase LCD Senaivity
✔ Lag Killer
✔ Faster SD
✔ Ram Optimization
✔ Optimizes APPs
✔ Entropy/rngd Binaries More Lag Killing
✔ Cleanes Temp/Unneded Files In System Automaticaly " Wont Harm any Thing Personal"
✔ Decreases booting Time
✔ Very Clean Mod
✔ Hardest Multi-Tasking U will ever see
✔ Battery Remains More"Dies Hard"
ChangeLog
Code:
[CENTER]15-6-2014[/CENTER]
-Fixed available bugs
-removed build prop dependancey
-new file Dash.Prop replaces build.prop
-added Dash_Smooth
-Added Dash_VM
-Added Dash_IO
-Separated 88Dash_Engine To give All scripts chance to work
-Fixed Syctel
-Checked :
*Dash_battery
*Dash_BatteryCelep
*Dash_mainfree
*Dash_IO
*Dash_VM
*Dash_sd
*Dash_networktweeks
*Dash_SquilteOptimize
*Dash_touchscreen
*Dash_zipallign
*Dash_zipalligndata
*Added A Missing Bin
-Configured Updater-Script
Scripts
-zipaligndata:
Zipalligns data every 24 hours
-zipalign:
zipallign system every 24 hrs
-touchscreentweeks:
improves touch sensevity
-sqlite_optimize:
optimizes Apps Databases
-SD Read Ahead:
Configures sd speed and sets read ahed to 2048
-netwroktweeks:
Some improvements to netowrk
-mainfree:
Configures your device for Hardest multitasking
- cleaner:
Cleanes Unnessecary ..tmp..thumb etc(safe wont touch sd)
-batterycelebration:
Celebrates battery
-batteryTweeks :
Die Hard Battery Mod
-Syctel.tweeks:
A Part Of DieHard Battery And Nwtwork Improvements
-Smoothnes.tweeks:
Makes yoyr device very smoth
-I/O Tweeks:
Configures your I/O Sheculders
-VMtweeks:
Takes part in improvements
Terms Of Sharing/Usage
Wanna share??
-U can share it but dont give download links Just Link to That Thread And They Come To Download it from here
Wanna Include In Your Rom?
-u can ,but give me a credit and Link to That Thread
NOTES (MUST READ ALL)
-Flash on your own risk
-be respectful when u post here or ur post will be removed
-dont try on device which has 2GB or more Ram
-the installed trimenal emulator
Mightn't work with all keyboards
-u must have busy box installed
-always leave Feed Back
-if u like dash please share it or hit thanks
Instructions
-The Mod will try to remove previus scripts But not all So U might need to remove them ur self
-Boot Into CWM/TWRP >do all mounts
And:
For New dash users
-Flash Dash-M_DiamondEdition
For Dash Users
-Apply Uninstaller Then Flash Dash-M_DiamondEdition
- You may need to replace your current build.prop with your installed rom's original one
RNGD/ENTROPY Guide
Activate Rngd (Lag Killing)
Code:
su
Dash
Disactivate
Code:
su
undash
Test Dash-M
Code:
su
Dash-M
Downloads:
>Dash-M_DiamondEdition- Here
>Full Uninstaller -Here
XDA:DevDB Information
Dash-Mod, Script for low specifics devices (Week Ones ) (see above for details)
Contributors
myaservip
Version Information
Status: Stable
Current Stable Version: 5
Stable Release Date: 2014-06-02
Created 2014-06-02
Last Updated 2014-06-15
CREDITS
-Naddict
-xda servers
-Chainfire
-JynAlek
-Rhievaldo
-Pikachu01
-Lenarox's
-TWR Team
-Juwe11
-Imbawind
-slaid480
-darky
-Every Dash User
-zeppelinrox
i used your dash mod rc2 and i must say it was smooth but gaming was bad as games lagged a lot
so now would give a try to this1
Dash rc 3 is lagging with my phone because of minfree values.
Sooo i had to uninstall it, hows this op ?
Iam updating it now
PS: what kernel
Savie#2 sir
Updated OP
very good collection of the best tweaks ever,but where is the difference from normal;gold and your new diamant?
I edited them line by line now all tweeks run well
As it was buggy i asked the mod to lock thread untill i re edit my mod
U can see change log its for diamond
sir, for now I'm using DaSh-M-v0.3,,and i want to try this tweaks,,,do I have uninstall DaSh-M-v0.3 with uninstaller in page one?? thx and i'm sorry for my question and my bad english....

MOAR | fully recommended for legacy & old devices <3 | 11/1/15 | sched_tuner v1.0.8

MOAR | fully recommended for legacy & old devices <3 | 11/1/15 | sched_tuner v1.0.8
this MOD is VERY COMPATIBLE with any other MODs.
have fun!
n00bs, READ OR GTFO!!
this is my final stance of trying to make a quality mod compared to other all-in-one package "MOD"z (basically just simple all-in-one tweakz and crap)
hope you appreciate my work. -hoholee12-
pretty much most of these mods here will be more compatible if your device is older, or has older(or outdated) Android versions!
i originally designed it for Galaxy S(yes, the 2010 phone xDDD) in mind....these engines dates back to 2012-2013 on theory & small implementation, now repackaged as full version for better use!
if you get the necessary api missing error message before the menu shows up, you should NOT use wakelock sheriff and scaudiofix. they are likely to glitch out and cause havok!!
you need a "properly" working busybox and BASH interpreter to run this MOD.
you can get BASH from here.
you can get busybox from here.
for whitelisting apps on wakelock sheriff & stuff about thread booster and how to apply it, please read the end of the manual on the 7th option. :3
TL;DR how to:
download the sched_tuner_updater.zip and flash it.
type in terminal:
Code:
su -c bash
sched_tuner
all done.
Click to expand...
Click to collapse
latest revision can be found here!: https://raw.githubusercontent.com/hoholee12/avcore/master/sched_tuner.sh
new update bypasses debugfs limitation. users can now use extra boot tweaks and engines without debugfs.NOTE: two 'not supported' lines will occasionally appear instead of lists.(its not a bug, it means your device dont support debugfs.)
screenshots
{
"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"
}
Galaxy Note II running wakelock_sheriff, look how much this thing saves battery!!(it wasnt like this before)
My older Galaxy S(5 yrs old with almost degraded battery!) running wakelock_sheriff. before this, it would go off in 6 hours, now it stays almost at the same level while going for more than 13 hours!!
what does it do?
-scAudioFix: this is a new engine i have developed since v0.0.6(released as a working state on v0.0.7). it controls cpu clock speed to avoid throttling when mediaserver process bursts out for resources, therefore it has an effect of killing audio skipping, or audio stutters when playback.
do NOT get confused over its name, its more than just lagfixing audios. it also saves battery by monitoring mediaserver process in realtime!
-rtmixman: continuation of my older project that has been widely used and loved by android community.
it adjusts minfree values so that heap allocation will be faster and supposedly boost general performance.
mpengine entry was replaced by rtmixman in v0.0.9
-boot tweaks: literally boot tweaks. these are the tweaks that cannot be done after boot.(such as changing system_server priority)(i am the only one who discovered this exploit, yay me!)
you will have to make the script to run on boot in order to make boot tweaks work.
-wakelock sheriff: a relatively new engine, introduced in v1.0.0(at the time i wrote this)
when your device goes to sleep, this will detect any processes that are hogging up the cpu and end them silently. thus prolonging battery life.
it has similar mechanism as scAudioFix. its algorithm is much faster than scAudioFix.
even if the cycle is fast enough, cpu may wake up periodically from this engine too.
its recommended to set a longer sleep time(default: 1min)
-thread booster: continuation of my older project(thread priority booster beta: http://forum.xda-developers.com/showthread.php?t=2076101)
this will boost foreground applications to have more cpu resources than any other, resulting in smoother and less laggy performance!
Click to expand...
Click to collapse
Recommended for use with other disk I/O tweaks.(the only area this mod doesnt cover.....)
(new version)v0.0.3(and up) now installs extra bootup tweaks when set on boot.
boot time may increase(since it changes boot priorities on zygote process), but in exchange, smoothness scrolling speed will last much more.
Click to expand...
Click to collapse
v0.0.6 now has MPEngine13 built-in for better performance and stability!(removed in v0.0.9)
v0.0.7 now has scAudioFix built-in for better performance and stability!
v0.0.8 now fixes mpengine compatibility on ALL DEVICES!!
v0.0.9 now has rtmixman built-in for better performance and stability!
v0.0.9 update2 is completely bugfree!
v1.0.0 now has wakelock sheriff built-in for longer batterylife!
v1.0.2 fixes all the critical compatibility problems on newer Android systems!
v1.0.3 adds whitelist functionality on wakelock_sheriff!
v1.0.5 now has thread booster built-in for better performance!
how to install = guide on installing a mod installer
STEP1) download the attachment posted below-->sched_tuner.pdf
STEP2)remove the extension name(and you can change the file name to whatever you'd like)(mine's 'sched_tuner'.)
P.S. you can also change the file name itself to something YOU would like to name it with. e.g.) iloveyou.sh
STEP3)put it in /system/bin, /sbin or /system/xbin(any folder that contains posix applets) = recommended for speed
Or... you can rename it to 'sched_tuner.sh'(extension 'sh' means its an executable script) and install the script like this-->(open the terminal emulator first and then...)
Code:
$ bash sched_tuner.sh --install -s /system/xbin
found it!
please wait...
program file already exists. overwrite? (y/n) y
copying files...
================================================================================
install complete!
type 'sched_tuner' to run the program!
$
all done! now you can go to the 'how to use' section.
if you are too stupid to follow the instructions and would rather want to flash the zip instead, download sched_tuner_updater.zip and flash it.
Click to expand...
Click to collapse
NOTE: this will basically copy itself(the installer) to the directory where it should be installed.
how to use
(if you have done the "how to install" correctly,) open the terminal, and do this:
Code:
sched_tuner
you will be greeted with this:
Code:
scheduling features tuner v0.0.3
current scheduling features list:
GENTLE_FAIR_SLEEPERS [COLOR="Red"]is ON.[/COLOR]
START_DEBIT [COLOR="Red"]is ON.[/COLOR]
WAKEUP_PREEMPT [COLOR="Red"]is ON.[/COLOR]
AFFINE_WAKEUPS [COLOR="Red"]is ON.[/COLOR]
generally, [COLOR="Lime"]GREEN[/COLOR] is considered OK, while [COLOR="Red"]RED[/COLOR] is NOT OK.
-------------------------------------------------------------------------------
select an option:
1)disable everything(speedhack!)
2)set the tweak on boot(init with few extra tweaks)
3)backup list
4)restore list/uninstall
5)refresh list
6)exit
you want to test the performance improvement before installing it to your device?
then the first thing you would want to do is select 1st one: disable everything(speedhack!)
--> this is the fastest way to see the performance improvement on the fly!(also temporary.)
you should see:
Code:
scheduling features tuner v0.0.3
current scheduling features list:
GENTLE_FAIR_SLEEPERS [COLOR="lime"]is OFF.[/COLOR]
START_DEBIT [COLOR="lime"]is OFF.[/COLOR]
WAKEUP_PREEMPT [COLOR="lime"]is OFF.[/COLOR]
AFFINE_WAKEUPS [COLOR="lime"]is OFF.[/COLOR]
generally, [COLOR="Lime"]GREEN[/COLOR] is considered OK, while [COLOR="Red"]RED[/COLOR] is NOT OK.
-------------------------------------------------------------------------------
select an option:
1)disable everything(speedhack!)
2)set the tweak on boot(init with few extra tweaks)
3)backup list
4)restore list/uninstall
5)refresh list
6)exit
and then, if you want to install it for daily use, go ahead and press: '2)set the tweak on boot(init with few extra tweaks)'
you will have to reboot your device in order to see extra improvements after that.
after you reboot, you will see:
Code:
scheduling features tuner v0.0.3
current scheduling features list:
GENTLE_FAIR_SLEEPERS [COLOR="lime"]is OFF.[/COLOR]
START_DEBIT [COLOR="lime"]is OFF.[/COLOR]
WAKEUP_PREEMPT [COLOR="lime"]is OFF.[/COLOR]
AFFINE_WAKEUPS [COLOR="lime"]is OFF.[/COLOR]
[color="yellow"]looks like the mod is already installed.[/color]
-------------------------------------------------------------------------------
select an option:
1)disable everything(speedhack!)
2)set the tweak on boot(init with few extra tweaks)
3)backup list
4)restore list/uninstall
5)refresh list
6)exit
it means the setup was successful.
NOTE: more and more mods will be included on newer versions.
Click to expand...
Click to collapse
NOTE: -do NOT move or delete the installer when a mod was applied on boot. sched_tuner_task will fail to find the installer location and fall in endless loop, resulting in a battery drain.
-also remind that installing(or moving) the mod installer to any location inside system(or data) partition will speed up the modding process every boot.(if you had the installer located on sdcard while applying the mod on boot, the task will have to wait till the sdcard gets mounted on every boot.)
how to self-troubleshoot
if nothing shows up on terminal screen except things that looks like an error such as: "error code 1",
don't freak out and just do what i say:
Code:
sched_tuner --bbpass
if it still don't work, do:
Code:
sched_tuner --verbose
or do:
Code:
sched_tuner --verbose --bbpass
and post the output right here.
Click to expand...
Click to collapse
clicking thanks button and constructive feedback is appreciated!:good:
TIP: works great with http://forum.xda-developers.com/android/software-hacking/script-flag-tuner-1-0-t3039223
changelogs
-first release (v0.0.1)
-added init.rc support(v0.0.2)
-minor typos fixed
-new bootup tweaks and bugfixes added(v0.0.3)
-added debugfs mount point(hoping it works)
-added rootfs mount point
-revamped alot of code
-future-proof bugfixes(v0.0.4)
-more boot tweaks added(v0.0.5)
-mpengine added for performance(v0.0.6)
-scAudiofix added for single core devices(v0.0.7)
-API update #3
-scAudioFix updated!(v0.0.7 update1)
-cleaned alot of gibberish codes
-more bugfixes
-scAudioFix updated for less battery drain.
-API update #4
-API minor bugfix
-API update #5, #6
-very smart scAudioFix(v0.0.8 PREVIEW)
-API update #7(v0.0.8)
-tweaked Android startup(v0.0.8 update1)
-removed mpengine(v0.0.9)
-added rtmixman(v0.0.9)
- tweaked Android startup(v0.0.9 update1)
- tweaked rtmixman(v0.0.9 update1)
-rtmixman heapgrowthlimit support(v0.0.9 update2)
-few bugfixes
-wakelock sheriff added for battery life (v1.0.0)
-description update & potential bugfixes (v1.0.1)
-mostly critical bugfixes(v1.0.2)
-API update #8(v1.0.3)
-more error msgs for debugging(v1.0.3)
-wakelock_sheriff whitelist enabled(v1.0.3)
-API update #8 minor bugfix(v1.0.4)
-more clear descriptions on whitelisting apps added.(v1.0.4)
-API update #9(v1.0.4)
-thread_booster added for performance(v1.0.5)
-API bugfixes(v1.0.5)
-tweaked a few things on v1.0.5(v1.0.5)
-API update #14 & thread_booster improved(v1.0.6)
-thread_booster_hell improved(v1.0.7)
-thread_booster_hell improved & boot tweaks improved(v1.0.8) - FINAL VERSION
Click to expand...
Click to collapse
if anyone would like to contribute code to this project, you can find the git page here.
Is this universal?
Yes it is.
https://img.bi/#/KbV2uqR!YdAtN1zEn5Ifu2xuf7ldAtGVXLImRcfo05iLjcIc
Same location as busybox
https://img.bi/#/ETKmp3n!1gdXECQ443woGPXFDBKFZkyUR1Wrt0DWPVwBxF8T
Sent from my GT-I9505 using XDA Free mobile app
Does it modify any system files? Or just installs itself in the init.d folder? Any requirements do I need before installing the mod? If possible, how do I remove it? Sorry for asking so many questions, want to be sure before flashing this on MIUI rom.
alexbrian21 said:
Does it modify any system files? Or just installs itself in the init.d folder? Any requirements do I need before installing the mod? If possible, how do I remove it? Sorry for asking so many questions, want to be sure before flashing this on MIUI rom.
Click to expand...
Click to collapse
you can read the description on how to install the mod.
as for removing, you can uninstall the mod by choosing 4th option'restore lists'.
new update!
-new bootup tweaks and bugfixes added(v0.0.3)
Click to expand...
Click to collapse
Getting ready to install and try this out. Thanks for the effort.
hoholee12 said:
new update!
Click to expand...
Click to collapse
Can you put extra detail on how to install this? I'm getting a bit confused. The terminal can't find the file that I want to install. Maybe a video guide would help? And does it conflict with other mods?
alexbrian21 said:
Can you put extra detail on how to install this? I'm getting a bit confused. The terminal can't find the file that I want to install. Maybe a video guide would help? And does it conflict with other mods?
Click to expand...
Click to collapse
i managed it with stericson busybox installer and smanager. first looked where busybox is located, moved file to it, Renamed as .sh and selected as executable with su rights + install arguments. Then use terminal to start
Sent from my GT-I9505 using XDA Free mobile app
I still think a video guide would be better. HeathenMen can you make one? It'll be very useful for people with installing problems.
Questions
A few questions I'm confused about in the OP. You're referring to CPU Schedulers so is this tweak adjusting i/o schedulers or cpu governors. I usually dont see terminology as "CPU scheduler" Or is it not doing anything with either of what I mentioned. Reason being I'm running a performance gov with screen on and don't want slow that down as with greenify and screen dim, etc I have amazing battery life with screen on performance gov. But I of course want more performance out of my phone.
Thanks
Josh
alexbrian21 said:
I still think a video guide would be better. HeathenMen can you make one? It'll be very useful for people with installing problems.
Click to expand...
Click to collapse
Had some problems myself but it worked. As soon as ive got time for it, why not
Sent from my GT-I9505 using XDA Free mobile app
It's only for samsung device or all?
Well, i cant run, because not such directory on sys/kernel/debug/ bla bla :silly:
HeathenMan said:
Had some problems myself but it worked. As soon as ive got time for it, why not
Sent from my GT-I9505 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks a lot. I myself am having problems installing it as well.
---------- Post added at 04:16 PM ---------- Previous post was at 04:15 PM ----------
ZeroDroid said:
It's only for samsung device or all?
Well, i cant run, because not such directory on sys/kernel/debug/ bla bla :silly:
Click to expand...
Click to collapse
I asked in the first page. It's universal.
alexbrian21 said:
Thanks a lot. I myself am having problems installing it as well.
---------- Post added at 04:16 PM ---------- Previous post was at 04:15 PM ----------
I asked in the first page. It's universal.
Click to expand...
Click to collapse
Yes universal but not all kernel have sched feature
Run : my error /sys/kernel/sched_features: no such file or directory
I see with root explore and yes file not found
i added a fix. please redownload.
some kernels dont have debugfs mounted at boot. this might fix it
Not able to create init.d folder or create scripts within folder b/c read-only. I'm using custom AEL kernel with init.d support, folder already there with several scripts, used root explorer making directory r/w, but still read-only error. This error happens in terminal after typing su, then sched_tuner, then option 2. Option 1 works, just can't stick on boot. Script works great, thanks for help.

[MOD][SCRIPT]BonBon's Init.d Simulator

The init.d simulator
Simulates init.d compatibility, for ROMs / KERNELs without it!​
INTRODUCTION
Init.d scripting and modding is an essential part of the android tweaking community, and devices without that feature build-in or any replacement ROMs / KERNELs build for them, are missing out.
Luckily there's many apps out there that allow files to be executed during boot-time, some even made for the soul purpose of simulating the init.d feature. But they all take space, maybe even a lot of it, and slow down the boot process. This script doesn't.
It installs a script into android that will be called during bootup.
If the init.d folder doesn't exist for some reason, it creates it, otherwise it executes all files inside /system/etc/init.d.
It also prints a log file into /system/etc/init.d/INTILOG.txt so the user can see what files were executed.
HOW TO USE & REQUIREMENTS
- You need busybox installed for the script to function properly
If you lack one, use mine from here
To use the script, you have to run it, either by terminal:
Code:
su
/directory/where/you/downloaded/the/script/Initd_Simulator
And let it do its magic.
Or, you can use Smanager, from PlayStore [Recommended]
Navigate to where you downloaded the script using Smanager and run it with root enabled.
THAT'S IT!
DOWNLOAD & CHANGELOG
Version 2.1 Click me!
Changelog:
Code:
Version 2.1
- Fixed mounting
- Fixed small bugs
- Improved root check
Version 2.0
- Rebuild the whole script
- Cleaned the code
- Made init.d status checking more accurate
- Made the user-interface better looking and more convenient
- Implemented error free init.d simulation
- Implemented non-destructive init.d simulation
- Improved logging
Version 1.2
- Fixed Logging
- Fixed file executing
- Fixed a bug that prevented the whole script from running
- Fixed installing and updating
Version 1.0
Initial release
Ask before using my work in yours and add proper credits
Donations aren't expected, but are appreciated
XDA:DevDB Information
_Bon_Bon's Init.d Simulator, Tool/Utility for all devices (see above for details)
Contributors
_Bon_Bon
Version Information
Status: Stable
Current Stable Version: 2.1
Stable Release Date: 2016-03-01
Created 2016-02-27
Last Updated 2016-03-01
Reserved
_Bon_Bon said:
Reserved
Click to expand...
Click to collapse
in line 50 etx=etc
52 -f1=-d\ -f1
125 .sh is missing...
These three are main mistakes in your script sir..

Categories

Resources