[Init.d Script] [2k16-07-05 New Scripts] Init.d Support for G FLEX 2 [All-Variant] - LG G Flex 2

Init.d Script Support
CONFIRMED WORKING!! (POST YOUR FEEDBACK BELOW!)
Credits to @bountyman334
He is the reason this script is possible and also check out his G Flex 2 Flashable Mods.
I only made a shell script to bring this to you all.
check it out Flashable Mods for G flex 2
Code:
[CENTER][B][U][SIZE="4"]WARNING![/SIZE][/U][/B]
[SIZE="3"]I am not responsible for brick devices.
Shell Script at your own risk.
And have a backup of system img at your internal storage!![/SIZE][/CENTER]
Instruction :​
[*]Extact the zip and copy the .sh file to internal storage
[*]Open android terminal app / adb shell
[*]grant superuser 'su' first
[*]Navigate to SDcard
[*]Type in :
Code:
su
cd /sdcard
sh gflex2-init.sh
[*]Follow the screen instructions
[*]Reboot then check for init_test.log in internal storage
[*]Delete the init_test.log on boot and reboot again
[*]If init_test.log shows up
return "it is working"
else
Run the script again from terminal emulator and check last two steps
[*]You must have init.d support now
GUIDE TO USE INIT.D SCRIPTS
--> There is a folder named init.d in /system/etc/
--> You can create scripts that you want to run at boot.
--> Scripts need not have ' .sh ' extension.
--> Copy scripts to this folder via root explorer.
--> Set permission of file to rwx-rwx-rwx : 777 and reboot to see your script working
--> Scripts can be made in 3rd-party apps like Kernel Auditor (Recommended), 3C-ToolBox(android tuner).
--> Kernel Auditor has init.d section where you can modify existing script but don't know about creating new.
--> In 3C-Toolbox we can set init.d instead of on boot .. this app is useful if you want to limit CPU frequencies etc.
--> You can Zipalign, Optimize apps, Run temp/cache cleaners, Tweak Cpu and Governor, etc.
also check the below link for creating and using init.d scripts
Take a good read at here about init.d​
Few tweaks
View attachment powerTweaks.zip Derived from OnePlus 2 SD810 Tweaks (Reported to increase SOT and performance significantly)
KCAL can be applied to run on every boot so that COLOR tones are applied immediately
New tweaks (2016-07-05)
Giving me less heat .. 0 throttle .. more SOT (4+ on normal usage)
--> 91fixoverlays - set GPU for Screen Composition (Less CPU Loads) : credits to : titanic_fanatic
--> part_fstrim - trims the partitions (Optimization)
--> sysctlTweak - Swappiness 0 + some minor change
--> tweak_cpu - Under Clocks 0-3 at 1.4GHz & 4-7 at 1.85GHz (also remove thermal config file not the default one for better result)
--> Entropy increase
--> Refer to post 18 for changes!!
Copy paste anyone you like !! tweak_cpu and fixOverlay recommended on Stock/rooted/init.d
​
Do thank us :laugh::laugh:
Uploaded on:
2016/06/15
Updated on:
2016/07/05​_

Will do!

Thanks for your work,
Unfortunately it isn't working for me.
Edit: i did something wrong. Trying again
Edit: Nope. Still getting this:
#Init.d Support for LG G flex 2 [all Variants]
#Script by : adds08 [Thats me]
#Init.d port by @bountyman334
#
#Init.d script extracted from @bountyman334 's
gflex2-init.sh[224]: no closing quote
1|[email protected]:/storage/emulated/0 #

michele955 said:
Thanks for your work,
Unfortunately it isn't working for me.
I tried with terminal emulator, root explorer and script manager.
Getting this:
#Init.d Support for LG G flex 2 [all Variants]
#Script by : adds08 [Thats me]
#Init.d port by @bountyman334
#
#Init.d script extracted from @bountyman334 's
storage/emulated/0/gflex2-init.sh[224]: no closing quote
1|[email protected]:/ #
Click to expand...
Click to collapse
Try the new fixed script and do confirm
need su and busybox properly installed inorder to work !!
cheers :good:

Fixed script works properly.
Init.d is working !!! Hurrayy !!!
Thanks

michele955 said:
Fixed script works properly.
Init.d is working !!! Hurrayy !!!
Thanks
Click to expand...
Click to collapse
I checked with Universal init.d app init.d support and it says kernel doesn't have init.d support. What does it mean? Script works or not?

michele955 said:
I checked with Universal init.d app init.d support and it says kernel doesn't have init.d support. What does it mean? Script works or not?
Click to expand...
Click to collapse
Delete test_init.log file and reboot the device.. If you see the file again then init.d is working ... Don't worry about the universal init.d app ..
Use kernel auditor to put some init.d !!!

Deleted and rebooted. There is no new log.

adds08 said:
Delete test_init.log file and reboot the device.. If you see the file again then init.d is working ... Don't worry about the universal init.d app ..
Use kernel auditor to put some init.d !!!
Click to expand...
Click to collapse
hi, how to Use kernel auditor to put some init.d??

I ll fix it and post some tweaks and tutorial later when i get home...
But it is strange why it worked for the first time and later did not.. I'll look into it later ...

michele955 said:
Deleted and rebooted. There is no new log.
Click to expand...
Click to collapse
maybe re run the script via terminal
after reboot look at the log file
then delete that log file and reboot
UniversalInit app will show no init.d support no matter what!
But it is there and working ...
i am also posting sd810 related init.d tweaks and scripts later on along with how to use them and where to place them..

adds08 said:
maybe re run the script via terminal
after reboot look at the log file
then delete that log file and reboot
UniversalInit app will show no init.d support no matter what!
But it is there and working ...
i am also posting sd810 related init.d tweaks and scripts later on along with how to use them and where to place them..
Click to expand...
Click to collapse
Stange thing happened.
I reapplied the scrip as you said and got this:
Execution : Process - 4
Initd must have already been running!!!
Or some error has occurred!!
Let's wait and watch! Termination : Process - 4
Press enter to continue....
After reboot log file was successfully created.
I deleted log file and rebooted several times and now it appears at every boot. Guess it's working now

adds08 said:
Init.d Script Support
CONFIRMED WORKING!!
Credits to @bountyman334
He is the reason this script is possible and also check out his G Flex 2 Flashable Mods.
I only made a shell script to bring this to you all.
check it out Flashable Mods for G flex 2
Code:
[CENTER][B][U][SIZE="4"]WARNING![/SIZE][/U][/B]
[SIZE="3"]I am not responsible for brick devices.
Shell Script at your own risk.
And have a backup of system img at your internal storage!![/SIZE][/CENTER]
Instruction :​
[*]Extact the zip and copy the .sh file to internal storage
[*]Open android terminal app / adb shell
[*]grant superuser 'su' first
[*]Navigate to SDcard
[*]Type in :
Code:
sh gflex2-init.sh
[*]Follow the screen instructions
[*]Reboot then check for init_test.log in internal storage
[*]Delete the init_test.log on boot and reboot again
[*]If init_test.log shows up
return "it is working"
else
Run the script again from terminal emulator and check last two steps
[*]You must have init.d support now
GUIDE TO USE INIT.D SCRIPTS
--> There is a folder named init.d in /system/etc/
--> You can create scripts that you want to run at boot.
--> Scripts need not have ' .sh ' extension.
--> Copy scripts to this folder via root explorer.
--> Set permission of file to rwx-rwx-rwx : 777 and reboot to see your script working
--> Scripts can be made in 3rd-party apps like Kernel Auditor (Recommended), 3C-ToolBox(android tuner).
--> Kernel Auditor has init.d section where you can modify existing script but don't know about creating new.
--> In 3C-Toolbox we can set init.d instead of on boot .. this app is useful if you want to limit CPU frequencies etc.
--> You can Zipalign, Optimize apps, Run temp/cache cleaners, Tweak Cpu and Governor, etc.
also check the below link for creating and using init.d scripts
Take a good read at here about init.d​
Few tweaks
View attachment 3784960 Derived from OnePlus 2 SD810 Tweaks (Reported to increase SOT and performance significantly)
KCAL can be applied to run on every boot so that COLOR tones are applied immediately​
Do thank us :laugh::laugh:
Uploaded on:
2016/06/15
Updated on:
2016/06/16​_
Click to expand...
Click to collapse
Hi, just copy powerTweaks.sh to init.d folder and set permission, right?

edwardsiow said:
Hi, just copy powerTweaks.sh to init.d folder and set permission, right?
Click to expand...
Click to collapse
Yes.
Extract the zip and copy the file with no extension over to init.d folder and set permission..

Have you had more sot with the power tweaks?
Thanks for letting me know about it

adds08 said:
Yes.
Extract the zip and copy the file with no extension over to init.d folder and set permission..
Click to expand...
Click to collapse
The OP2 folks has 4hrs SOT to 6-7 hrs SOT increase.. For me however it did seem to give 1/2 to 1hr more in normal usage but so.etimes seem like a placebo.
It may work for some i guess.
I had 3hrs before and after this with normal usage i did manage 4+ hrs max once..
Sent from my LG-H950 using XDA-Developers mobile app

adds08 said:
The OP2 folks has 4hrs SOT to 6-7 hrs SOT increase.. For me however it did seem to give 1/2 to 1hr more in normal usage but so.etimes seem like a placebo.
It may work for some i guess.
I had 3hrs before and after this with normal usage i did manage 4+ hrs max once..
Sent from my LG-H950 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks for the honesty.
I can't do anything to break that four hour sot

After applying new scripts
deleting thermal-engine.config (not thermal-engine-default) file.. (backup recommended).
After few reboots and benchmark and letting battery discharge and recharge full ..
Good results !!
:angel:

Can you tell me why this wouldn't load on startup?

soosoolhastam said:
Can you tell me why this wouldn't load on startup?
Click to expand...
Click to collapse
when i loaded it
it is working for me except there is a missing 'Y' .
the msm_thermal enabled parameter is missing ..
is the init.d script working in yours? check if it is working or not / rerun the my script..
did you set the permission 777 ?
also the post in your thread .. i am really sorry but i just wanted some credit to my research too (you can implement them aagain cuz they do significantly increase SOT)
if you want to , could you also implement your gov_tweaks via init.d (safer)..

Related

[FIX] [kernel-cm7-miui-stock] Battery Drain

This script can be run on:
2.2.X, 2.3.x, 4.0.x
This script was tested on Froyo [CROM] and Gingerbread [Stock, MIUI, CM7]
Prerequisites:
- I9003 xD
- Busybox
- Root
- CMW or equivalent
- Terminal or ADB
How to use:
- Unzip the zip
- Copy the file [.sh] into the phone
- Open the terminal
- Login as root
- Give execute permissions to the script
- Launch the script as "sh fix_battery.sh"
- Reboot in recovery
- Wipe battery stats
- Reboot and wait 5 minutes before using
F.A.Q
- Recommend making a backup of data to avoid losing files
- I disclaim all liability for damages or problems caused from the use of my script
- This software is licensed under: GNU GPLv3
- If you have problems with the path you can edit my script and replace the present one with your correct.
- In some cases it is better first format the sd card, copy the old file and then run the script
- This script can also improve a few hours the battery life, but does not solve bugs related to the kernel
- For best results take at least 2 cycles of charging
- If you have problems with the part relating to the control of the root user, remove it
I hope that my work is useful
Special thanks to:
http://www.tabletroms.com/forums/general-discussion/4789-fix-battery-drains.html
No offense, but the only thing it does is deleting thumbnail and temp files, i doubt it fixes battery drain
Inviato dal mio GT-I9003 con Tapatalk 2
Yes, that is true!
but in my case i have around 2 hours of battery in plus...
But i have written in the faq:
"- This script can also improve a few hours the battery life, but does not solve bugs related to the kernel "
lol, we'll see if this fixes anything...
i am sorry, i am not understand this steps,
-Give execute permissions to the script
- Launch the script as "sh fix_battery.sh"
can u tell me more details?what the code need to type?
quan815 said:
i am sorry, i am not understand this steps,
-Give execute permissions to the script
- Launch the script as "sh fix_battery.sh"
can u tell me more details?what the code need to type?
Click to expand...
Click to collapse
Yes of course
if you download (e.g. in /download)
unzip the zip that you have downloaded
open terminal emulator (if you don't have download from market)
write this commands:
- cd download (this is an example)
- su
- chmod +x fix_battery.sh
- sh fix_battery.sh
- at the end go to recovery, delete battery status and reboot in normal mode
dont know how to apply it
Areanetwork said:
This script can be run on:
2.2.X, 2.3.x, 4.0.x
This script was tested on Froyo [CROM] and Gingerbread [Stock, MIUI, CM7]
Prerequisites:
- I9003 xD
- Busybox
- Root
- CMW or equivalent
- Terminal or ADB
How to use:
- Unzip the zip
- Copy the file [.sh] into the phone
- Open the terminal
- Login as root
- Give execute permissions to the script
- Launch the script as "sh fix_battery.sh"
- Reboot in recovery
- Wipe battery stats
- Reboot and wait 5 minutes before using
F.A.Q
- Recommend making a backup of data to avoid losing files
- I disclaim all liability for damages or problems caused from the use of my script
- This software is licensed under: GNU GPLv3
- If you have problems with the path you can edit my script and replace the present one with your correct.
- In some cases it is better first format the sd card, copy the old file and then run the script
- This script can also improve a few hours the battery life, but does not solve bugs related to the kernel
- For best results take at least 2 cycles of charging
- If you have problems with the part relating to the control of the root user, remove it
I hope that my work is useful
Special thanks to:
http://www.tabletroms.com/forums/general-discussion/4789-fix-battery-drains.html
Click to expand...
Click to collapse
How can we apply this???
Please include the commands for applying this .. I know I'm still a noob here..
EDIT: OK I knew it.. it just deletes the following:
- /sdcard/android/data/com.android.providers.media
- /sdcard/android/data/com.cooliris.media
- /sdcard/android/data/com.google.android.gallery3d
- /sdcard/android/data/com.android.providers.media
- /sdcard/androidthemes (its only a backup, not required if your rom is fine)
- /sdcard/android/dcim/.thumbnails
- /sdcard/android/dcim/100andro
- /sdcard/lost.dir
Click to expand...
Click to collapse
Silentkiller101197 said:
How can we apply this???
Please include the commands for applying this .. I know I'm still a noob here..
EDIT: OK I knew it.. it just deletes the following:
Click to expand...
Click to collapse
When you delete that files reboot your phone... this is important!
Inviato dal mio GT-I9003 usando Tapatalk
If I delete this file manualy, it's work ?
Because I don't understand how execute the script, even with this :
- cd download (this is an example)
- su
- chmod +x fix_battery.sh
- sh fix_battery.sh
- at the end go to recovery, delete battery status and reboot in normal mode
Click to expand...
Click to collapse
Ryryoku said:
If I delete this file manualy, it's work ?
Because I don't understand how execute the script, even with this :
Click to expand...
Click to collapse
Yes, of course!
I create the script only to speed up the process and make it free from possible errors
sorry for my phrases,
but it's simply stupid and not sense, cm7 battery drain is caused by RIL and its lib, not from gallery thumbs
anyway its not fix and doesn't work,
battery is consequence by governor, voltage, and cpu usage, delete cache of gallery will only drain battery for re build, two hours plus in your cases doesn't depend from this but, maybe from coherence in your use
Sent from my GT-I9003 using xda premium

[How-To] Turn off - Softkey light - keeps off after reboot - [17/3]

I wrote a little Script to turn off the Softkeylight for our O3D because the Apps i could find doing so don't keep the settings after a reboot.
I'm not responsible for any damage on your Phone using this Script.
Just copy the file inside the .zip("softkeylight") with a file manager, eg. Root Explorer,..., to "system/etc/init.d" reboot and enjoy.
If you wanna get back the Softkeylight, then simply remove the file("softkeylight") from "system/etc/init.d" and reboot.
For everyone who uses a stock Kernel then follow this Thread for enabling init.d support.(You'll need at least the device rootet and busybox being installed).
what exactly does this Script do does it turn of the Led buttons ? and does it work on CM10.1
sioxz said:
what exactly does this Script do does it turn of the Led buttons ? and does it work on CM10.1
Click to expand...
Click to collapse
Yes, it simply turns off the Backlight of the Softkeyleduttons on boot. Yes it works on CM10.1
(It actually pushes the value 0 to the file "/sys/devices/platform/keypad_led/leds/button-backlight/brightness" gives permissions to it, because when you change the value inside manually, it will not stay after reboot. The Script does this on every boot.)
Re: [How-To] Turn off - Softkey light - keeps off after reboot
This won't work on any ROM without init.d enabled or custom kernel with init.d enabled .
Init.d scripts (as yours) is just a Unix commands that will be exaused on every reboot .
You can make it as a flashable zip with the needed files for init.d (you can find them for any android) .
However , Thanks , will be useful .
Sent From My LG-P880 (O4X) .
By Pressing "THANKS" You Will Help Me .
OS_Hacking said:
This won't work on any ROM without init.d enabled or custom kernel with init.d enabled .
Init.d scripts (as yours) is just a Unix commands that will be exaused on every reboot .
You can make it as a flashable zip with the needed files for init.d (you can find them for any android) .
However , Thanks , will be useful .
.
Click to expand...
Click to collapse
Thanks for the suggestion, but i put a link inside post#1 to a good Thread for enabling init.d support instead because you'll need the device rooted and busybox installed and there're too many threads here on xda for this. Am not gonna make another one. I just wanted to share what i've found out and couldn't find anywhere. It's not that difficcult to move a file manually.

[MOD] Project Direct Inject (v3.2.6) (CPU Tuner*RNGD*Speed) (2.3.3 - 4.2.2)

{
"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"
}
PROJECT DIRECT INJECT
Exit_Only said:
Welcome to the world of direct injection, Its been unavailable for your android smartphone...UNTIL NOW. This tweak package takes your android device to a whole new level of awesomeness by direct injecting high octane scripts into your turbocharged engine.
This is a collection of scripts from multiple developers repacked into one package. Big thanks to all the developers involved.
Click to expand...
Click to collapse
This mode is incompatible with some devices\firmwares or create various system problems! Make a nandroid backup before installing.
General Q & A Section:
Q.) How can I tell if this is actually working or not?
A.) Open Terminal Emulator and type this command...
Code:
su
directinject
Q.) How can I see if rambooster work properly?
A.) Open Terminal Emulator and type this command.
Code:
su
rambooster
Q.) How cand I see if entropy working properly?
A.) Open Terminal Emulator and type this command...
Code:
su
entro
Q.) How can activate RNGD and entro binaries?
A.) Open Terminal Emulator and type this command...
Code:
su
entropy
Q.) How do I turn on entropy?
A.) Open Terminal Emulator and type this command...
Code:
su
entropy_on
Q.) How can I stop entropy?
A.) Open Terminal Emulator and type this command...
Code:
su
entropy_off
Q.) How do I uninstall it?
A.) Download the uninstall, you put on your card and then flash the file.
Code:
su
uninstall
reboot
Q.) Can I use DirectInject and Crossbreeder?
A.) Yes, you can.In the first time disable entropy (on DirectInject) then install Crossbreeder.
Q.) How do I install NOS Control?
A.) NOS Control installs like any .apk
Q.) How can I get CPU Tuner on my device?
A.) Open Terminal Emulator and type this command...
Code:
su
cputuner
GENERAL WARNING: Do NOT I repeat DO NOT use ANY other tweaks with this package. There are only two approved scripts that are compatible with this, Seeder Entropy and Cross breeder. If you choose to do so after reading this you do so AT YOUR OWN RISK. If you ask bout other tweaks in my thread YOU WILL BE IGNORED.
WHAT IS NEEDED TO INSTALL Project Direct Inject:
1.) Root access (su binary required)
2.) Busybox v1.20.4+ w/ run-part support (busybox required)
3.) Need to be on 2.3.3+ gingerbread or higher
4.) Terminal Emulator app app installed
5.) Enough space in your /system partition (10 mb available minimum)
If you do not meet these requirements then DO NOT USE IT!!!
WHAT IS NEEDED FOR CPU TUNER:
1.) Need a fully unsecured boot.img (Look inside "default.prop", if it says "ro.secure=0" then your kernel meets this requirement, if it says "ro.secure=1" then cputuner WILL NOT work!!!)
2.) Your need a kernel that supports max overclock freq of 1.3ghz and a min freq of 384mhz.
3.) Need a kernel that has these 3 governors (Conservative, Ondemand, and Performance)
4.) On HTC Sense ROMs you need to disable per flock (Setcpu will do this for you)
If you don't meet ALL these requirements then do NOT attempt to use CPU tuner!!!
Installation
1.) Make sure you meet the requirements above
2.) Download the latest version of Project Direct Inject
3.) Boot into recovery (TWRP or CWM doesn't matter)
4.) Make a nandroid backup
5.) Flash inside cwm recovery
6.) Reboot
7.) Press thanks button me and Exit_Only
APK Direct Inject Control
What i need to install this app:
Terminal Emulator
Project Direct Inject
Direct Inject is an application that gathers in one place all orders of Project Direct Inject
Ryuinferno said:
Behold.....
THE NOS Controller!!! Since many of you find it troublesome to key in commands every time, I wrote up a damn simple app to save those finger punches!!! Well, I am currently limited by my knowledge of Java, this is the best I can do for now (Requests? Be prepared, I won't attend to any as I can't add more features yet...more learning to do...sorry... )
But, take note that you will need to install the latest version of 4cyl Turbo v0.5.7_r2 w/ 250 shot NOS first and have Terminal Emulator installed before using this app! Do not be silly and think that this app is gonna do everything for you!
The app is very simple and straightforward, so no instructions will be given here...enjoy!
Click to expand...
Click to collapse
Download Direct Inject Control: Click Here
About the Tweaks:
8 init.d scripts total (11 init.d scripts if you opt for NOS Entropy, zRAM, and Int2Ext)
Zipalign /data & /system apps on each boot ( With detailed Logging of Activities)
Calibrates Battery automatically (make sure your battery is at 100% before flashing)
NOS Entropy with Light, Moderate, and Aggressive Governors (Optional during install, Moderate is default governor)
Ext4 Tweaks
Zero UI Lag
Maxed out speed & Performance
Disables most logging activities
GPS enhancements (USA/CANADA/MEXICO/ALASKA Only)
Sqlite3 for Jellybean (Complied from CM10.1 Source)
4.2.2 Binaries (Better app processing, Complied from CM10.1 Source)
Disables logcats
Get your Privacy back (No internet redirects)
Lots of kernel tweaks (Disabled most kernel sleeps and Adjusted Linux values)
Extended Reboot Commands
VM heap tweaks
Net speed tweaks
Ext4 Perfect Remount
Outstanding battery life
Sqlite3 Reindexed and Vacuumed (If you see errors in db files please ignore, this is normal operation)
RAM booster and Media Server Killer binary (Very Aggressive RAM Recovery tool)
4Cyl Turbo Binary (Exit_Only Exclusive)
Stable relase:
Download v.3.2.6: Click here
Code:
Fixed the three remaining bugs in v3.2.5_t9 and removed the touchscreen tweak as it was causing screen issues on some devices!!!
Download v3.2.4: Click Here
Code:
v3.2.4 - Fixed ALL bootloops on ALL devices
Added seperate flashable zips for Sqlite3 Binaries in SECOND POST BELOW OP
Removed Max Freq mod in CPU Tuner
Removed needed interactive Gov and now using Ondemand Gov
Updater script now backups and restores CronMOD int2ext scripts by default
Updater script now backups and restores CM init.d scripts for Selinux and Userinit
Fixed ALL remaining bugs
Added new entropy scripts for on & off Functions
Updater no longer removes Crossbreeder during install process
Added Sqlite3 Database Optimizer Script (YOU NEED TO FLASH THE REQUIRED SQLITE BINARY IN THE SECOND POST BELOW THE OP)
Fixed Deepsleep script to work correctly without errors
Much more im sure I am forgetting!!!
Download v3.2.2: Click here
Code:
v3.2.2 - Fixed All Boot Looping issues on ALL DEVICEs
Fixed Bootlooping on HTC Sense Devices
Removed Zipalign on boot script and binary
Added BRAND NEW Cpu Tuner script and binary
Pick between three different profiles (Battery, Performance, or Balanced)
Fixed Battery drain on single core devices
Adjusted Minfree values to be more aggressive
Fixed Assert Error from test releases
Read Ahead set to 3072kb
Updated Logging engine
Plenty more I am forgetting!!!
Download v3.2.1: Click here
Code:
Lots of upgrades to cputuner with new CPU core log engine
Added brand new move dalvik script
Much more coming later!!!
Download v.3.0.0: Click here
Code:
v3.0.0: Started over with complete rebuild
Must lighter and much faster
Installs correct busybox to /xbin
Only 2 binaries now 'directinject' & 'rambooster'
Updated rambooster + added init.d script to run ram booster every 45 minutes
Auto runs zipalign every 2 days or 48 hours
Patched rngd binary for better entropy generation without killing battery life
Adjusted Linux values
Brand new interval script
Brand new iptable rebuild script
Much much more!!!
Download v.1.0.2: Click here
Code:
v1.0.2: Fixed image issue
Added newest code to entire project
Added new functions to sqlite scripts
Added new warnings during install
Download v.1.0.0: Click Here
Code:
v.1.0.0. A new world, a new script
[B]FIRST RELEASE OF PROJECT DIRECT INJECT[/B]
Download v0.7.0: Click here
Code:
v0.7.0: Added new and improved DNS caching (Similar to crossbreeder)
New init.d script that automatically activities DNS caching
Added new DNS tweaks for build.prop
My new custom 'dnshelp' binary that will help you use dnsmasq binary
Modified rambooster (Two custom options 'Moderate' & 'Aggressive')
Fixed Adj minfree script to work right
Much much more I am forgetting
Download v0.6.0: Click here
Code:
vo.6.0. Adjusted sysctl values
Made sysctl tweaks optional
Updated 4cylturbo binary to include optional install pieces
Updated install.sh with new code and new backups
Added bash and nano binaries along with bash, nano, & terminfo folders for /etc (Two diff versions)
Added sqlite3 and script (Two diff versions)
Fixed bash and nano not working correctly
Updated uninstall.sh to restore more stock items and delete more stuff
Adjusted hedge values
Added in optimized RAM tweaks (much better ram management vs v0.5.7-r2)
Fixed multiple script errors and adjusted values
Full zip size is much bigger (7.03mb)
Other stuff I'm sure I am forgetting. THIS IS A MAJOR UPDATE.
Download v0.5.7r2: Click here
Code:
v0.5.7r2 Adjust sysctl.conf correctly this time
Removed disable vsync
Removed cron (These newer versions of busybox don't support "ENABLE_CRON" so script is useless)
Fixed logging on scripts
Adjusted vm values slightly
Download v0.5.7r1: Click Here
Code:
v0.5.7r1 - Added extended reboot scripts
Fixed root issues
Fixed greenify issues
Updated install script
Added uninstall script (This will remove nos 100% from your device)
Updated directions inside zip file
Removed some sysctl commits
New performance boosters added
Download v0.5.6: Click her
Code:
v0.5.6: - Reverted back some scripts
Removed Fix Permissions script
Fixed up install.sh script (Thanks Poo)
Fixed root issues on Samsung Galaxy S Advance
Download v0.5.5: Click here
Code:
This version should solve problems with freezes and root loss.
Download v0.5.4_r1: Click here
Code:
v0.5.4_r1: - Fixed random reboots some people were having (myself included)
Made more stuff optional during install
Fixed root access issue some users experience (I never had this issue so I need feedback)
Updated ad blocker
Updated logging engine
Much smoother and zero lag
Download v0.5.4: Click here
Code:
v0.5.4: - THIS IS ONLY EXECUTIBLE VIA TERMINAL EMULATOR OR SCRIPT MANAGER.
THIS IS NOT NOT NOT RECOVERY FLASHABLE
Added init.d script to add init.d support if your ROM/Kernel does not support it already (Optional during Terminal install)
RAMBooster Binary is now much more Aggressive at clearing RAM
Updated 4Cylturbo binary with code changes
Fixed ALL Logs and Script Errors
NOS Entropy Governor is moderate by default instead of light
Removed All Code Errors from Sysctl Config
Added 'S' to beginning of all scripts to support Samsung Galaxy S 1 Owners (You guys are so old skool :P )
Added int2ext script (Thanks to Cronicory for original)(WARNING: YOU MAY HAVE TO FORMAT YOUR SD CARD TO USE THIS SCRIPT. YOU CAN OPT OUT OF THIS DURING INSTALL)
Logcat disabling script is now 100% Optional during install (YOU CAN NOW KEEP LOGCATS ACTIVE)
Added Bash and Nano Shell Binaries (COMES IN HANDY FOR BASH SHELL SCRIPTS LIKE CRON)
Download v0.5.2: Click here
Code:
v0.5.2: - THIS IS NOW A FLASHABLE ZIP AGAIN
Fixed /data logs for scripts
Fixed most script errors
Adjusted a few things here and there
More to come later
Download v.0.5.1: Clcik here
Code:
v0.5.1: - Fixed logging errors
Fixed ALL install.sh errors
Added Team Kernelizers build.prop injector script (Thanks RErick & Decialman)
Build.prop injector is now a option in install.sh
Added auto reboot to install.sh (SOME DEVICES WILL NOT ALLOW THIS TO WORK, SOME WILL HAVE TO REBOOT MANUALLY)
Fixed all init.d script errors
Updated 4cyl turbo engine logger
Added new directions to README_users.txt
Will add more as I remember it
KNOWN ISSUES & BUGS:
1.) WiFi tethering DOES NOT work when using this tweak package!!! There is no solution to this problem and I am not trying to find a solution, sorry for the inconvenience!!!
CURRENT WORKARUND: Flash the newest crossbreeder!!! This will fix your borked tethering!!!
Uninstal
Code:
su
uninstall
reboot
Standard Disclaimer: Flash at your own risk. Myself nor XDA is responsible for any damage this thing may cause you.
For this wonderful work we must thank Exit_Only
Original thread: Click here
enricogrim said:
Hi,
I have an old version of NOS, before installing a newer version it's better I uninstall the old one or install the new one directly?
thank you very much
Click to expand...
Click to collapse
You can just install the new one (through recovery or terminal depending on the release version) since the installer replaces it's own old/invalid files
Sent from my GT-I9070 using xda premium
enricogrim said:
Hi,
I have an old version of NOS, before installing a newer version it's better I uninstall the old one or install the new one directly?
thank you very much
Click to expand...
Click to collapse
Exactly what he said. 4cyl turbo has implemented a script that deletes all files init.d that you have and replaces them. For a new installation, whether it is installed by CWM or Terminal is not required before uninstallation, just install the new version.
Did what u said...follwed every step..said yes to every promt...still after rebooting when i type su 4cylturbo or rambooster..it says doesnot exist..where did i go wrong...
PS I'M A USER!!
Sent from my GT-I9070 using xda app-developers app
kanidevil666 said:
Did what u said...follwed every step..said yes to every promt...still after rebooting when i type su 4cylturbo or rambooster..it says doesnot exist..where did i go wrong...
PS I'M A USER!!
View attachment 1959685
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
this mean don't install this mod correct
just try again and put the folder install on SDCARD or SDCARD0
kanidevil666 said:
Did what u said...follwed every step..said yes to every promt...still after rebooting when i type su 4cylturbo or rambooster..it says doesnot exist..where did i go wrong...
PS I'M A USER!!
View attachment 1959685
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Try v0.5.2 instead since it's flashable and see if it works.
Flash it in TWRP/CWM and I suggest you mount system first before flashing the zip. Also, as always don't forget your nandroid backup If it did work, then you can proceed to install the latest version through terminal if you want to.
Damn mounting/unmounting always confuses me...By mounting the system do u mean mount or unmount..
Coz i think in cwm it shows like this
"A Blue Tick and it shows unmount storage...and a blank box when its shows mount storage"
So just tell which 1 should i go with, tick or untick
And after flashing it, will the terminal command "4cylturbo" respond??
Sent from my GT-I9070 using xda app-developers app
kanidevil666 said:
Did what u said...follwed every step..said yes to every promt...still after rebooting when i type su 4cylturbo or rambooster..it says doesnot exist..where did i go wrong...
PS I'M A USER!!
View attachment 1959685
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
For v0.5.4 follow these instructions
Code:
1.) DOWNLOAD NEWEST VERSION, IF YOU WANT TO USE NOS ENTROPY THEN PLEASE REMOVE SEEDER OR CROSSBREEDER FIRST, YOU CAN FIND THE NEEDED UNINSTALL SCRIPTS IN SEEDERS OR CROSSBREEDERS THREAD. USE XDA SEARCH TO FIND IT.
2.) DOWNLOAD TERMINAL EMULATOR APP FROM GOOGLE PLAY STORE... (IF YOU ALREADY HAVE IT THEN SKIP THIS STEP)
3.) EXTRACT "install" FOLDER FROM /sdcard FOLDER INSIDE ZIP AND PUT IT ON YOUR ACTUAL "/sdcard"...
4.) EXIT OUT OF WHAT EVER FILE EXPLORER YOU ARE USING...
5.) OPEN THE TERMINAL EMULATOR APPLICATION...
6.) TYPE THIS COMMAND IN TERMINAL EMULATOR...
[B]
su
sh /sdcard/install/install.sh
^
There is a space here!!![/B]
FOLLOW THE PROMPTS AND CHOOSE WHAT YOU WANT INSTALLED!!!
7.) REBOOT YOUR DEVICE FOR ALL MODS TO TAKE AFFECT... (Rebooting is a REQUIREMENT, Failure to reboot WILL cause random app force closings)
8.) ENJOY THE SPEED AND PERFORMANCE :D
This script hangs phone and creates problem in phone UI
Sent from my GT-I9070 using xda app-developers app
ramansehra said:
This script hangs phone and creates problem in phone UI
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
What ROM and what version of 4cyl you use?
Very good, Great job
Enviado desde mi GT-I9070 usando Tapatalk 2
I'm currently using LightJB 1.2 with co core 6.0.
. 0.4.2 version of 4cylturbo works good with me, but this version hangs my phone to black screen while using.
Sent from my GT-I9070 using xda app-developers app
kanidevil666 said:
Did what u said...follwed every step..said yes to every promt...still after rebooting when i type su 4cylturbo or rambooster..it says doesnot exist..where did i go wrong...
PS I'M A USER!!
View attachment 1959685
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Have you updated your busybox?
Sent from my GT-I9070 using xda app-developers app
v5.2
not able to flash through recovery method
Bhaji eh recovery naal ni hona,
Tuhanu terminal emulator te jake command type karni paini aa
Sent from my GT-I9070 using xda app-developers app
sarabjit singh said:
not able to flash through recovery method
Click to expand...
Click to collapse
The file is named 'NOT FLASHABLE'.You have to install it via terminal emulator.
Sent from my GT-I9070 using xda premium
flash
ramansehra said:
Bhaji eh recovery naal ni hona,
Tuhanu terminal emulator te jake command type karni paini aa
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
v0.5.2: - THIS IS NOW A FLASHABLE ZIP AGAIN
read 1st page carefully
---------- Post added at 06:57 PM ---------- Previous post was at 06:53 PM ----------
rushilkr said:
The file is named 'NOT FLASHABLE'.You have to install it via terminal emulator.
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
v0.5.2: - THIS IS NOW A FLASHABLE ZIP AGAIN
IF USING FLASHABLE VERSION Find the flash able zip file on your sdcard then flash it.
7.) Boot out of recovery [ONLY FOR FLASHABLE VERSION]
read 1st page carefully
sarabjit singh said:
v0.5.2: - THIS IS NOW A FLASHABLE ZIP AGAIN
read 1st page carefully
---------- Post added at 06:57 PM ---------- Previous post was at 06:53 PM ----------
v0.5.2: - THIS IS NOW A FLASHABLE ZIP AGAIN
IF USING FLASHABLE VERSION Find the flash able zip file on your sdcard then flash it.
7.) Boot out of recovery [ONLY FOR FLASHABLE VERSION]
read 1st page carefully
Click to expand...
Click to collapse
Read the title of this thread.Its about v 0.5.4 .It is NOT flashable.
Sent from my GT-I9070 using xda premium
Datico said:
Very good, Great job
Enviado desde mi GT-I9070 usando Tapatalk 2
Click to expand...
Click to collapse
ramansehra said:
I'm currently using LightJB 1.2 with co core 6.0.
. 0.4.2 version of 4cylturbo works good with me, but this version hangs my phone to black screen while using.
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
I had the same problem too. A new version came out, hopefully all issues resolved. Check OP!
sarabjit singh said:
not able to flash through recovery method
Click to expand...
Click to collapse
Only version v0.5.2 is with flash method.
Flash method:
Code:
1.) Make sure you meet the requirements above
2.) Download the version of NOS FLASH
3.) Boot into recovery (TWRP or CWM doesn't matter)
4.) Make a nandroid backup
5.) Find the flashable zip file on your sdcard then flash it.
6.) Boot out of recovery
To me it worked without problems.
0.5.2
Grady22 said:
I had the same problem too. A new version came out, hopefully all issues resolved. Check OP!
Only version v0.5.2 is with flash method.
Flash method:
Code:
1.) Make sure you meet the requirements above
2.) Download the version of NOS FLASH
3.) Boot into recovery (TWRP or CWM doesn't matter)
4.) Make a nandroid backup
5.) Find the flashable zip file on your sdcard then flash it.
6.) Boot out of recovery
To me it worked without problems.
Click to expand...
Click to collapse
i tried 0.5.2v dude but not succeed

[SCRIPT][MOD] FPS boost + Flag tuner

Hello XDA fellows,
Today I'm going to share with you some awesome stuffs that will improve FPS on your device and Flag Tuner wich will make it smooth as butter. This will also increase you battery life and no one should miss this!
-It works on any rom
-It's stable
-Saves battery
-Boost performance
-General disclamer-
XDA and I are NOT responsible if anything wrong happens to your device by using this mod. Always make sure you have a backup ready if needed.
1:
Flag tuner is a script that removes any multitasking restrictions set by oems, such as samsung, sony, htc & lg.
-on my galaxy core duos running touchwiz it showed noticeable improvements in touch latency, eg touch home button and you go home faster. (i tested it on few other launchers and it shows a drastic diference)
-this also saves some battery as well as improving performance
Click to expand...
Click to collapse
Installation:
1. download script from attachments (right click > save link as)
2. rename to flag_tuner and copy to internal storage of device
3. from device copy to /system/xbin and set all permissions to yes (you can use Root Explorer or ESF wich is free)
4. open terminal emulator and type: su -c flag_tuner
5. follow scripts instructions
6. reboot and then enjoy!
Download HERE
2:
***Increase FPS***
Here is a very simple mod that I wanted to share. This is what has been labeled in the past as the build property to remove a FPS cap on all android devices. This doesn't actually do that but you will see an increase in frames per second by adjusting the EGL swap interval.
Click to expand...
Click to collapse
-requirements-
Must be rooted with recovery
Have init.d support (kernel)
Instalation:
1. Download HERE
2. Flash in recovery.
3. Reboot.
Here is a modded Google Play services with less wakelocks. (will improve your battery life)
Download HERE
To install, flash the zip in recovery
Click to expand...
Click to collapse
-It works on any rom
Credits:
-razz1
-DiamondBond
-you and me

[APP] Xinit.d init.d for Any Rooted Device running Any Android version

Hi.
My Rom/Kernel don't have init.d support , so I made small simple application
with Tasker App Factory. I know there a lot of apps like Androguide.fr Pimp my Rom, but my app run faster then others , because it run only one shell script . Also it don't have autorun, so you can run your init.d scripts when you want .
Its zip archive not installer, don't try to flash it.
Extract archive content , install the app.
If you don't have /system/etc/init.d folder , run mi app, it will create it.
Copy your scripts to this folder and launch my app other time and it will set correct permissions too all of your scripts before executing them .
I also added my script for O3D(P920) .
Script Features :
1) Mount LINUX SWAP PARTITION.
2)Create SWAP File and Mounting it like Virtual Ram Memory .
3)Dalvik VM and Kernel Tweaks.
4)Mounting EXT4 External SD Partition.
This init.d script optimized for Optimus 3D(P920) , but its possible to run it on any device .
To change script parameters open it in text editor, like Notepad++ or similar,and you will understand everything
My app and script will create logs on Internal SD card.
Sorry now don't have much time , but later will add more instructions and will make the thread better

Categories

Resources