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..
Related
APK Manager Lite BETA 0.1
This is a script written with my ideas of easy modification of apks,
and with references of some script codes from APKManager by Dameshm90
so I would like to thank Dameshm90 for the great codes.
Features:
This is a script simplifying your life of android app modding, with a UI that is even simple when comparing to APKManager, with some options that is difficult to understand being absent, and so stop you from wandering around the functions.
You may also have fastboot options found in this script.
Plans: portable-ize, can work on a computer without java jre and admin rights (for apktool install framework)
The script is in BETA stage!
I am unable to test the compatibility of different vendor apps and different android version. All suggestions are welcomed for improving the script and my own skills.
v0.1 BETA Download link: https://www.dropbox.com/s/vbvc0ulcrawtm3z/APKManagerLite.zip
v0.2 BETA Download link: https://www.dropbox.com/s/4e20qz8gayvbehy/APKManagerLite v0.2 BETA.zip
Change Log
v0.2 BETA
Flash kernel via fastboot option
New sign APK by drag and drop option
v0.1 BETA
Initial Release
OS X is my native OS of choice and everytime I wanted to use ADB i needed windows for QuickADB because I'm lazy. So, today i coded this up. It's not as nice as QuickADB as this is all terminal based but i went with the philosophy of functionality over looks.
V 1.0 : [Removed]
- Set up ADB Path.
- Push & Pull files from phone.
- Source Included in Zip in txt file.
V 1.0.1 [Removed]
- Added adb from sdk into its own folder so user does not have to have sdk installed to use. (Just make your path point to the folder adb is in)
- Working on a small bug that adds extra spaces when directories are dropped into terminal causing user to have a bad time (as of right now check to make sure there are no extra spaces.)
V 1.0.5 [Current]
- Updated Source File
- Fixed the space bug that was present in previous version.
- Code clean up.
- Provided new screenshots.
feel free to modify as needed and keep in mind that this is OS X specific and all the code is C++. :highfive:
Bump
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....
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
The init.d simulator
Simulates init.d compatibility, for kernels without it!
INTRODUCTION
Init.d scripting and modding is an essential part of the android modding community, and devices without that feature buildin or without even 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 an 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 eecutes all files inside /system/etc/init.d.
It also prints a log file into /system/etc/init.d/INTILOG.log so the user can see what files were executed.
HOW TO USE & REQUIREMENTS
All you need to do is to download the script and run it as root. Smanager from PLayStore is recommended.
Also you need busybox installed for the script to function properly
THAT'S IT!
DOWNLOAD & CHANGELOG
Version 1.2 Click me!
Changelog:
Code:
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
Thanks to for my tester:
- @pbedard
Ask before using my work in yours and add proper credits
Donations aren't expected, but are appreciated
XDA:DevDB Information
Init.d Simulator, Tool/Utility for all devices (see above for details)
Contributors
_Bon_Bon
Version Information
Status: Beta
Current Stable Version: 1.0
Stable Release Date: 2015-10-05
Created 2015-10-05
Last Updated 2015-10-05
please specify the instruction to install.. I try run used script manager but failed..
afeeq said:
please specify the instruction to install.. I try run used script manager but failed..
Click to expand...
Click to collapse
Did you run it as root? It will say Done when it's installed
And if the script gave an error please tell me what error
_Bon_Bon said:
Did you run it as root? It will say Done when it's installed
And if the script gave an error please tell me what error
Click to expand...
Click to collapse
what do you mean run it as root? any specific apps?
Moderator, please delete this project