Soilwork: Unified kernel-tweaks V10 [10/10/2017] | Script | MAGISK module - HTC 10 ROMs, Kernels, Recoveries, & Other Developm

Announcement​
For introduction - have a look at these guides first: Advanced Interactive Governor Tweaks (for Nexus 5X) and [AKT] Advanced Kernel Tweaks (for OP3 -> same SoC as our HTC 10). At first, I want to thank @soniCron for his shared knowledge, @Alcolawl for his great scripts and of course @Asiier, @Mostafa Wael, @patalao and @Senthil360 for their AKT scripts for OnePlus3.
So, what is this about? These tweaks are desgined to work for every available kernel on our HTC 10 (or every other Snapdragon 820/1 device), no matter if it's a PnP kernel such as stock kernel, or a HMP kernel without the usage of PnP or an EAS kernel. The scripts detect which kernel you're running and will apply the tweaks accordingly.
So in summary, what are the prerequisites...
Kernel/Rom, which does not use pnpmgr
root access
proper buysbox installation
NO need of any special app besided a terminal emulator, Boot Shell or Magisk - it's up to you!
...and what can you expect?
efficient performance...
....therefore good battery life (->see attachements below.)
EAS, HMP and I/0 tweaks
executeable scripts or Magisk modules
How to install and to use these tweaks? Firstly: The .sh files are executeable scripts. To run them, you have to go to an terminal emulator app, and then you have to type for example, if you saved the .sh file in the ElementalX folder in your internal storage and if you wanted to apply the file called "Soilwork_uni_V10_balanced_Final.sh":
Code:
su
[COLOR="Green"]cd /sdcard/ElementalX/gov_profiles/[/COLOR]
[COLOR="blue"]sh Soilwork_uni_V10_balanced_Final.sh[/COLOR]
or just use a root file manager or Boot Shell, simple as that
or just flash the Magisk module in TWRP or Magisk manager and profit
Known issues: It could be possible that you get some errors like "setting123 could not be applied: permission denied" or "setting123 could not be applied: no such file or directory". This is no problem, all other settings will be applied correctly. This is only a kernel related thing which means that this kernel just does not have this option.
NOTE: If you're running an AOSP Rom and using an EAS kernel, then open EX Kernel Manager -> CPU and enable perfd manually!
Credits:
@soniCron for his knowledge
@Alcolawl for his initial scripts
@Freak07 for his scripts
@Asiier @Mostafa Wael @patalao @Senthil360 for their AKT/OP3 scripts, which work indeed for the HTC 10, when using Nebula Advanced or being on LOS/AOSP-based Rom
@TotallyAnxious for exchange of knowledge and code + for all VM stuff work + for own scripts
@Eliminater74 for Nebula Advanced and Nebula EAS kernels
@ZeroInfinity for HelixKernel EAS and for including my script into his kernel
@Kyuubi10 @ivicask @DeeZZ_NuuZZ for explaining and helping me a lot concerning VM stuff
Status: stable
Unified scripts and Magisk modules: Google Drive
Last updated: 10/10/2017
Spreadsheet about Power Consumption calculations: Google Drive

Thanks for the scripts. How do you apply the regular .txt files. Paste in /init.d/? Do u need to apply both the .txt and the .sh?

ssojyeti2 said:
Thanks for the scripts. How do you apply the regular .txt files. Paste in /init.d/? Do u need to apply both the .txt and the .sh?
Click to expand...
Click to collapse
No the regular txt files are just the profiles for EX Kernel Manager and can only be applied within this app. And generally, if you use the .sh script, you don't need the .txt file. Is just for choice.

Which base script did you use? Or is it a "Franken" script?

TotallyAnxious said:
Which base script did you use? Or is it a "Franken" script?
Click to expand...
Click to collapse
Franken?

RogerF81 said:
Franken?
Click to expand...
Click to collapse
Frankenstein, like a mix of scripts, not a specific port.

TotallyAnxious said:
Frankenstein, like a mix of scripts, not a specific port.
Click to expand...
Click to collapse
Ahh Well the original "structure" of the scripts is made by @Alcolawl for the Nexus 5X. All in all, I have adapted them for my former LG G4. And now it's the same here, but reworked is the HTC 10.:good:

I'm using this currently loaded into ex kernel manager. It is really good. I really appreciate you posting this thank you.
Sent from my HTC6545LVW using Tapatalk

kend0g said:
I'm using this currently loaded into ex kernel manager. It is really good. I really appreciate you posting this thank you.
Sent from my HTC6545LVW using Tapatalk
Click to expand...
Click to collapse
Do I just use a root explorer to move and load in ex kernel manager?
Edit yes that was right..... Hah then had to go in and choose load governor and picked file. Is this step correct. Is it supposed to be loaded in governor settings?
Sent from my HTC6545LVW using XDA-Developers Legacy app

Yeah your right.. the it should say on the dashboard SuD10.txt for your governor profile loaded.
Sent from my HTC6545LVW using Tapatalk
---------- Post added at 07:09 AM ---------- Previous post was at 07:08 AM ----------
Under CPU Gov:
Sent from my HTC6545LVW using Tapatalk

Anyone interested in new test profiles for the new Nebula Advanced Kernel or LOS/AOSP-Rom users?

Well done mate

If I understand it correctly. I just copy them to EX manager folder and then remove ". txt"?

Mostafa Wael said:
Well done mate
Click to expand...
Click to collapse
Thanks Your scripts and your knowledge are very helpful! Thanks for sharing your scripts
AdisCZ said:
If I understand it correctly. I just copy them to EX manager folder and then remove ". txt"?
Click to expand...
Click to collapse
If you mean the files without ".sh", then yes And then of course you have to select them in EX Kernel Manager. The ".sh" files are executeable scripts, which can do more and have more options. To run them, you have to go to an terminal emulator app, and then you have to type:
Code:
su
cd /sdcard/ElementalX/gov_profiles/
sh SuD.sh
for example, if you saved the ."sh" file in the EX manager folder as well and if you wanted to apply the SuD.sh. Perhaps I should add this to OP?

@RogerF81 Good job man!
Keep it up

Asiier said:
@RogerF81 Good job man!
Keep it up
Click to expand...
Click to collapse
Thank you Thank you as well for your great work!
@Asiier Am I allowed to post a link to my thread on your thread?

RogerF81 said:
Thank you Thank you as well for your great work!
@Asiier Am I allowed to post a link to my thread on your thread?
Click to expand...
Click to collapse
Yes you're I'll add it too on the parts I mention the HTC10

RogerF81 said:
Anyone interested in new test profiles for the new Nebula Advanced Kernel or LOS/AOSP-Rom users?
Click to expand...
Click to collapse
That would be nice! Hoping to achieve better battery life without sacrificing performance.

Asiier said:
Yes you're I'll add it too on the parts I mention the HTC10
Click to expand...
Click to collapse
Thank you in advance!
An XDA User said:
That would be nice! Hoping to achieve better battery life without sacrificing performance.
Click to expand...
Click to collapse
You got a PM

I would love to test new profiles. If you still need people
Sent from my HTC6545LVW using Tapatalk

Related

[MOD] Trickster MOD [2012-07-09]

Introducing Trickster MOD, bringing Trickster experience to virtually every ROM out there.
Users using Trickster ROM 1.2.1 or newer can use this MOD to update
This CWM zip include the binaries and scripts I used for optimization in Trickster ROM. What it can do/set:
- Zipalign and sqlite DB optimization at boot
- Some android properties tweaks with mobile network speed tweak
- Screen state optimization for kernel task scheduler and virtual memory management (ch33kybutt)
- Set I/O scheduler, read ahead buffer, CPU scaling governor, min and max CPU speed
Following features are dependent on kernel features:
- Color (applied by default), contrast and gamma tweaks
- Generic hotplug
- CPU Temp limit
- Minimal SmartReflex voltage of Core, IVA, and MPU domains
- Nominal SmartReflex voltage for Core, IVA, and MPU domains
- Regulator voltages
- GLaDOS live OC of Core, GPU and MPU
- WIFI mode for screen off (power saving or full speed)
- Vibrator strength
- Headset volume boost
- High performance sound
- Force fast charge
- Battery live extender
- Touch wake and touch wake duration
- fsync control
Download
Trickster MOD 20120709
Control App​
Changelogs
Requirements:
- CWM
- Someone who understands instructions below​
Installation/Update instructions:
- Reboot to CWM recovery
- Do a nandroid if you're scared (recommended in case you have problem)
- Install zip from sdcard
- Reboot the phone
- If you see /sdcard/trickster directory with configuration files inside then this mod installed successfully​
Usage:
By default Trickster color, some android property regarding UI smoothness and mobile data speed tweaks and screen state optimization are applied. If you want to change additional settings then either use the app or :
- Go to /sdcard/trickster directory, you'll see at most four following configuration files, depending on kernel features:
. color.conf: color related tweak
. general.conf: generic tweaks like zipalign, sqlite, and screenstate optimization
. kern_general.conf: generic kernel tweaks like CPU speed, governor, IO scheduler and readahead buffer
. kern_specific.conf: specific kernel features like sound control, WIFI power, fast charge...​ - Edit any above file to change the settings you want using app like ES Explorer, Root Explorer..., instructions included inside
- Settings are automatically applied when user saves any of these files
- Some changes require restarting your phone
- To check log to see if it works use "logcat|grep Trickster" from adb/terminal​
Reinstall boot service, Reset settings, Removal instructions:
- If you install a new kernel that includes ramdisk (boot.img format like franco or leanKernel), you can either reinstall Trickster MOD, run "tricks install" from adb root shell or terminal, or apply this CWM zip from recovery.
- You can delete a configuration file, files, or entire /sdcard/trickster directory to reset to default settings for a file, files or all configuration respectively
- If you mess up and can't boot, say aggressive OC/UV , use this CWM zip to reset
- If you want to uninstall, use this CWM zip​
Credits:
- Google
- Our great kernel devs
- chainfire for SuperSU and su
- stericson for busybox
- ch33kybutt's for his brilliant idea on screen state optimizations
- Beta testers for your dedication in testing this
- nexus.prime for his unintallation script
- phone_user for init.d CWM zip
- Anyone I learnt from
Disclaimer: This is provided with NO GUARANTY whatsoever. Use your common sense.
Beta test: If you want to test my stuffs, including other things beside this. Contact me through PM.
Flash failed in twrp...getting an error message that it can't open the zip.
Edit--
I fail at reading directions... :/
Sent from my Galaxy Nexus using Tapatalk 2
So what really happened? I haven't tried it with TWRP, but I want to know if it does work with this recovery?
bigeyes0x0 said:
So what really happened? I haven't tried it with TWRP, but I want to know if it does work with this recovery?
Click to expand...
Click to collapse
Worked w twrp on eclipse.
Sent from my Galaxy Nexus using Tapatalk 2
Thanks for your contribution .
Seems to be giving me more battery
Sent from my Galaxy Nexus using xda premium
Gonna give it a go... Gummy 1.2.2 .
V6 super?
Shall I un-super?
vzw GNex
tacosrdelicioso said:
Seems to be giving me more battery
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes and also smoother .
Juiced718 said:
Gonna give it a go... Gummy 1.2.2 .
V6 super?
Shall I un-super?
vzw GNex
Click to expand...
Click to collapse
You should but keep supercharged services.jar|odex if you did that.
Just curious, if you have this installed and install either a new ROM or kernel over the top of this does it need to be reinstalled?
bigeyes0x0 said:
So what really happened? I haven't tried it with TWRP, but I want to know if it does work with this recovery?
Click to expand...
Click to collapse
Yeah, sorry...had a faulty download the first time around. worked fine in twrp after a clean download.
Sent from my Galaxy Nexus using Tapatalk 2
skusa93 said:
Just curious, if you have this installed and install either a new ROM or kernel over the top of this does it need to be reinstalled?
Click to expand...
Click to collapse
a new ROM - definitely
a new kernel - sometimes as some might clean up init.d directory.
When running tricks through term... I'm not quite sure that the changes have taken effect, is there an easy way to verify?
I'm no dev so be nice....
vzw GNex
Trying this with Franco r163 with app removed, running eclipse, will report back.
Sent from my Galaxy Nexus using XDA
Juiced718 said:
When running tricks through term... I'm not quite sure that the changes have taken effect, is there an easy way to verify?
I'm no dev so be nice....
vzw GNex
Click to expand...
Click to collapse
Log is written to logcat, use any logcat reader app or use logcat|grep Trickster from terminal or adb.
smittycg said:
Trying this with Franco r163 with app removed, running eclipse, will report back.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
What's the difference with app removed
Sent from my Galaxy Nexus using xda premium
Obviously because settings from franco app might interfere with this in some cases.
How do you run this app
Sent from my Galaxy Nexus using Tapatalk 2
reggiec74 said:
How do you run this app
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
good job buddy!
on another note..can this be flashed over a MIUI Rom?
SoCalSpecialist said:
good job buddy!
on another note..can this be flashed over a MIUI Rom?
Click to expand...
Click to collapse
The op says anything with root and init.d
Sent from my Galaxy Nexus using xda premium
SoCalSpecialist said:
good job buddy!
on another note..can this be flashed over a MIUI Rom?
Click to expand...
Click to collapse
Common sense by reading requirements say it should.

[MOD] **EZ InitD for the S3 - And Busybox**

This will enable the loading of scripts in /system/etc/init.d without editing the boot.img.
This will work for ALL dual core S3 variants.
There are two versions, one with my ondemand profile and one without. The one that has CPUProfile has it, this is a script that runs at boot setting the ondemand options to favor battery without sacrificing performance. Most user saw a GREAT increase in battery life especially when idle. See the link in my sig to use the full cpu editor. (works on the S3 with this mod)
To add init.d manually to your own rom just open /system/etc/init.qcom.post_boot.sh and add this line to the end of the file:
Code:
/system/etc/init.d/*
This mod also installs busybox which enables alot of tools native to busybox see here for busybox usage.
To install flash in recovery.
Download:
Add init.d ONLY:
EZ_Init.d ONLY
Add init.d and CPUProfile Script:
EZ_Init.d AND CPUProfile
So does this tweak the onDemand governor? Is it safe to use with setCPU? Is it safe with the Sammy kernel?
Nevermind...found the Sammy kernel thread under "original development"
good work man nice another great addition to the gs3
Works as advertised, thanks for this!
Sent from my SPH-L710 using Tapatalk 2
thanx but
Not sure why do you need to mount /system as writable in init.d script. Does that mean regular init.d scripts won't work?
bravomail said:
Not sure why do you need to mount /system as writable in init.d script. Does that mean regular init.d scripts won't work?
Click to expand...
Click to collapse
I do in all my scripts guess Its habit lol. But Its not necessary for most scripts
Sent from my SAMSUNG-SGH-I747 using xda premium
smokin1337 said:
I do in all my scripts guess Its habit lol. But Its not necessary for most scripts
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Then pls fix it if it is not too much trouble. I know publishing is kinda pain.
Mounting system as writable is a no-no.
bravomail said:
Then pls fix it if it is not too much trouble. I know publishing is kinda pain.
Mounting system as writable is a no-no.
Click to expand...
Click to collapse
I'm not trying to be a wise ass here but why is mounting system as writable a bad thing? Every device I've had never gave me a problem when I did it actually makes a few things easier when your in a pinch.
Is it because of Odin?
Sent from my HTC VLE_U using xda premium
Can we see some proof or evidence from users that this does indeed give significantly better battery usage when idling without impacting performance?
smokin1337 said:
This will enable the loading of scripts in /system/etc/init.d without editing the boot.img.
This will work for ALL dual core S3 variants.
There are two versions, one with my ondemand profile and one without. The one that has CPUProfile has it, this is a script that runs at boot setting the ondemand options to favor battery without sacrificing performance. Most user saw a GREAT increase in battery life especially when idle. See the link in my sig to use the full cpu editor. (works on the S3 with this mod)
To add init.d manually to your own rom just open /system/etc/init.qcom.post_boot.sh and add this line to the end of the file:
Code:
/system/etc/init.d/*
This mod also installs busybox which enables alot of tools native to busybox see here for busybox usage.
To install flash in recovery.
Download:
Add init.d ONLY:
EZ_Init.d ONLY
Add init.d and CPUProfile Script:
EZ_Init.d AND CPUProfile
Click to expand...
Click to collapse
Do you flash this in stock recovery or cwm?
Worked at flash... Does this conflict with the CPU disabler script?
Sent from my SPH-L710 using xda premium
---------- Post added at 12:15 PM ---------- Previous post was at 12:08 PM ----------
bgs_piece said:
Do you flash this in stock recovery or cwm?
Click to expand...
Click to collapse
CWM for me...I also added the ramscript to the folder http://forum.xda-developers.com/showthread.php?t=1111145...along with the CPU disabler script too...
---------- Post added at 12:27 PM ---------- Previous post was at 12:15 PM ----------
smokin1337 said:
This will enable the loading of scripts in /system/etc/init.d without editing the boot.img.
This will work for ALL dual core S3 variants.
There are two versions, one with my ondemand profile and one without. The one that has CPUProfile has it, this is a script that runs at boot setting the ondemand options to favor battery without sacrificing performance. Most user saw a GREAT increase in battery life especially when idle. See the link in my sig to use the full cpu editor. (works on the S3 with this mod)
To add init.d manually to your own rom just open /system/etc/init.qcom.post_boot.sh and add this line to the end of the file:
Code:
/system/etc/init.d/*
This mod also installs busybox which enables alot of tools native to busybox see here for busybox usage.
To install flash in recovery.
Download:
Add init.d ONLY:
EZ_Init.d ONLY
Add init.d and CPUProfile Script:
EZ_Init.d AND CPUProfile
Click to expand...
Click to collapse
smokin OP and Dev of this mod.
I copied the CPU Sleeper script (Eugene373) http://forum.xda-developers.com/showthread.php?t=1745517 and the Ram Manager script (Juwe11) http://forum.xda-developers.com/showthread.php?t=1745517 into the flashable you made...can I share it if I give you props?:fingers-crossed:
I flashed this in CWM and found the init.d folder with scripts installed.
When I opened the 99test script, I noted that a test file with "done" should have been created in data/local/tmp. I could not find this file anywhere.
Am I looking in the wrong place or am I correct in assuming that init.d functionality is not working?
Pj
Phoenix, AZ
This may be a noob question, but I didn't see it in the OP. How do I uninstall this??
the links are dead is there another place i can download this file
Bump
Sent from my SGH-I747 using Tapatalk 2
mvaughn12 said:
the links are dead is there another place i can download this file
Click to expand...
Click to collapse
+1
Sent from my SGH-T999 using xda app-developers app
jjlean said:
+1
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Here is a working link
http://sourceforge.net/projects/xquizit/files/T999/Apps/init.d Support.zip/download
Sent from my SGH-T999 using Tapatalk 2
Wildchld said:
Here is a working link
http://sourceforge.net/projects/xquizit/files/T999/Apps/init.d Support.zip/download
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Install fails?????
bradld said:
Install fails?????
Click to expand...
Click to collapse
No he fixed it. Installs fine. You can Odex after running it.
Sent from my SGH-T999 using xda app-developers app
is this still working on stock JB?
cuz I can't get my scripts to work.

[new]VMLagTuner 2.3

[SCRIPTS][TWEAKS][12/31/2012]old LASERdroid scripts(MPEngine9 included!)
active thread here
my first & old sourcehub
feel free to explore & experiment my old codes
you don't need to ask me for permission.(still, you must give me a credit by adding a link on your thread)
source code https://github.com/lenarox/rtmixproject
blog http://blog.naver.com/hoholee12
matcl http://matcl.com/?m=bbs&bid=imbeded&uid=130014
Click to expand...
Click to collapse
new VMLagTuner 2.3 continued by Pizza_Dox available for download!
instructions:
-download this file from attachment below. filename:VmLagTuner_V2.3.sh.pdf
-run this script in smanager.
-you can choose two options for install, temporary or permanent!
-enjoy
see the attachment below:3
Instrutions ? How to run this?
Sent from my GT-I9000 using Tapatalk 2
Use sManager. It's a script.
BlueFlame4 said:
Use sManager. It's a script.
Click to expand...
Click to collapse
No , its a init.d script, i just get it to work, thks
Netmatrix said:
Instrutions ? How to run this?
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
Sent from my GT-I9000 using Tapatalk 2
it's compatible with jb roms?
sorry for the late reply, you can test run with smanager to make sure its working fine,
and then put it in init.d folder for everyday use. Good luck
work in gamerzrom v11 rom ??
Im pretty sure it may work on all roms which has support in init.d scripts.
I'll give it a try.
a NEW version of VmLagTuner V1.5 was released
it is faster than the previous versions, try 'em out!
Just for games?
Sent from my GT-I9000 using xda premium
how to use this script i dont have init.d folder....and should i delete the .pdf ..how should i apply in script manager...?
dhurk said:
Just for games?
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
this script gives a boost to the ui also.
meaning that it is not only for games but also for everything
roshan2989 said:
how to use this script i dont have init.d folder....and should i delete the .pdf ..how should i apply in script manager...?
Click to expand...
Click to collapse
you may first run the script with the smanager and it will automatically save profile of the script.
you can then go to menu>list and search for the profile and enable su and boot options.
this will make the script applied everytime on boot.
oh, and make sure you have su access on the smanager app.
thanx man
works great....awesome
cheers
work on c-rom mix?
Phonerix said:
work on c-rom mix?
Click to expand...
Click to collapse
It should work on every ROM since it only alters some kernel parameters.
BTW: Are there any disadvantages using this?
Hi ! I'm using V6 Supercharger and Thunderbolt Scripts, will this work for me ? Thanks
Starsream88 said:
Hi ! I'm using V6 Supercharger and Thunderbolt Scripts, will this work for me ? Thanks
Click to expand...
Click to collapse
Yes you can use this with v6 supercharger and thunderbolt scripts but to take better effect,
you'll have to disable ALL other scripts like i mentioned in the first post.
BlueFlame4 said:
It should work on every ROM since it only alters some kernel parameters.
BTW: Are there any disadvantages using this?
Click to expand...
Click to collapse
im working hard on it to have almost no disadvantages,
make sure to download the latest one.

[MOD][5/10/13] Add init.d support to your ROOTED S4

First off, I did not come up with this idea but I adapted it from smokin1337 and his thread: [MOD] EZ InitD - init.d the EZ way !!
How to make it work...
Take file in the attached zip and use your favorite root explorer and paste it in /system/etc/ overwriting the file that is there.
Set permissions of the file to be rwx, rx, rx
Create an init.d folder inside of /system/etc and set permisions to rwx, rx, rx
Add init.d scripts and make sure they are also set to rwx, rx, rx.
Reboot and enjoy your init.d scripts!
All credits to smokin1337 for the mod, I just added the line to our postboot.sh.
I tested it and it works as it should :good:
Enjoy!
-Scott
EDIT: Changed the permissions of the scripts to 755 from 777 to guard against possible malware. Info courtesy of jcase.
Just a note, I use ES File Explorer to do this but any root level explorer should work. I just use ES because I am familiar with it.
Some init.d scripts can rely upon the use of BusyBox so install that from the market.
Sorry for the stupid question but what does this actually do.
What can I get out of it if I install it?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
azz72 said:
Sorry for the stupid question but what does this actually do.
What can I get out of it if I install it?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Good question... If you have to ask it then this is not something for you. Haha, Just kidding... But seriously..
Basically init.d scripts are scripts that run when the phone boots up. You can make them do various things like setting system level tweaks, cleaning and purgin databases, and on and on and on...
In the ROMS I build I use an init.d script that remounts the file system more efficiently (in theory anyways) but there are other uses for init.d scripts.
A real popular one is called "V6 Supercharger" Its a collection of scripts that are designed to really tweak out the operating system for the supreme performance (once again, debatable).
There are other things that could be done... If your familiar with old school computing and you know autoexec.bat this is basically that for Android.
-Scott
Gotcha
Ive tried the super charger v6 for my htc inspire a long time ago couldnt tell if it worked or not so I kinda got what ur saying.
Thanks for clearing it up for me
azz72 said:
Gotcha
Ive tried the super charger v6 for my htc inspire a long time ago couldnt tell if it worked or not so I kinda got what ur saying.
Thanks for clearing it up for me
Click to expand...
Click to collapse
Yeah, no problem at all.
scrosler said:
Good question... If you have to ask it then this is not something for you. Haha, Just kidding... But seriously..
Basically init.d scripts are scripts that run when the phone boots up. You can make them do various things like setting system level tweaks, cleaning and purgin databases, and on and on and on...
In the ROMS I build I use an init.d script that remounts the file system more efficiently (in theory anyways) but there are other uses for init.d scripts.
A real popular one is called "V6 Supercharger" Its a collection of scripts that are designed to really tweak out the operating system for the supreme performance (once again, debatable).
There are other things that could be done... If your familiar with old school computing and you know autoexec.bat this is basically that for Android.
-Scott
Click to expand...
Click to collapse
Thanks for the explanation i really needed too before perform this mod thanks
elvin9 said:
Thanks for the explanation i really needed too before perform this mod thanks
Click to expand...
Click to collapse
Yeah, this mod is not your ordinary mod. Most people will never use this type of mod.... Or they do use it in the custom ROM they use and never even know about what it does.
Try using 755 instead of 777, otherwise you are opening yourself up to potential problems.
scrosler said:
First off, I did not come up with this idea but I adapted it from smokin1337 and his thread: [MOD] EZ InitD - init.d the EZ way !!
How to make it work...
Take file in the attached zip and use your favorite root explorer and paste it in /system/etc/ overwriting the file that is there.
Set permissions of the file to be rwx, r, r
Create an init.d folder inside of /system/etc and set permisions to rwx, rwx, rwx
Add init.d scripts and make sure they are also set to rwx, rwx, rwx.
Reboot and enjoy your init.d scripts!
All credits to smokin1337 for the mod, I just added the line to our postboot.sh.
I tested it and it works as it should :good:
Enjoy!
-Scott
Click to expand...
Click to collapse
jcase said:
Try using 755 instead of 777, otherwise you are opening yourself up to potential problems.
Click to expand...
Click to collapse
Responded in updater script thread.
So do we have to find make scripts I'm assuming this just set up the device to work with the scripts
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
DJsCrIBbLe said:
So do we have to find make scripts I'm assuming this just set up the device to work with the scripts
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
Right, exactly.
You can peruse the forums and find your favorite "battery saving" and "super charger" scripts.
Gotcha thanks .
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
I've discovered the same thing you achieve here before, when i was trying to create a swap internal SD for the external, but unfortunately it didn't work, i used your rom on my old Note 2, it was amazing hope to see CleanROM for this one. Thanks for publishing this.
juanyunis said:
I've discovered the same thing you achieve here before, when i was trying to create a swap internal SD for the external, but unfortunately it didn't work, i used your rom on my old Note 2, it was amazing hope to see CleanROM for this one. Thanks for publishing this.
Click to expand...
Click to collapse
Yeah, I am starting to grow frustrated. Hopefully soon!

[MOD][Kernel Turnables]Lightning Blade

LIGHTNING BLADE PROJECT
*Your warranty is now void.*
*I am not responsible for bricked devices,dead sd cards,corrupted partitions or any damage.*
*Please do some research before using this mod.*
*Its completely your decision to use this mod.*
*If you point finger at me for messing up your device,I will laugh at you.*
So if you decide to use this mod then lets talk about the requirements.
1. Moto G4plus/G4 (or SD 617 processor with the same clock frequency as this one)
2. ElementalX kernel manager (for now since i've not yet made this mod for kernel Adiutor,but soon)
3. kernel which allows tweaking (most of them do)
4. Some knowledge
5. Patience.
A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device. Governors are especially important in smartphones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over a charge.For more info and knowledge visit http://androidmodguide.blogspot.in/p/blog-page.html
So after reading the guide you'll know exactly what a governor does.So what does this mod do? It configures the governor to have optimal performance without a large impact on batterylife.
This mod only supports Interactive governor since its the best and most tweakable.
So how to make it work? its simple...
1. Download the file then first extract it.
2. Open the ElementalX kernel manager app
3. Under CPU section go to governor options.
4. There click on save and save the profile as "default"
5. Next go to your filemanager find ElementalX folder.
6. Paste the downloaded file in gov_profiles folder.
7. Open EX manager app again,under governor option click on load and select LightningBlade.
8. Click on apply on boot.
9. Enjoy.
what difference will you see? You'll see that the little cores and the big cores stay at minimum frequency most of the time which results in more juice
SCREENSHOTS​View attachment 4159966 View attachment 4159967 View attachment 4159968 View attachment 4159969
DOWNLOAD:https://sourceforge.net/projects/ke...ightning Blav1.5 Lightning Blade.zip/download.​
This mod is tested with InvictaOS, Ressurection Remix, LineageOs OMS, Pure Nexus, It should work with all the roms but still you tell me....[/CENTER]
Contributors: @Debuffer (of helping me understand and apply the techniques essential for my project)
@tywinlannister7 (for his constant support and help with maintaining the thread)
Credits: @tywinlannister7 for helping me make this thread, @lCrD512
@Jleeblanch @1chrome for testing this mod and bearing with me , @soniCron for his guid on Interactive governor tweaks https://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557, @Debuffer for helping me with kernel adiutor. [\LEFT]
Current Stable Version: Lightning Blade 1.5
Created:24-05-2017
Last Updated:17-06-2017​
Swapney Raul said:
LIGHTNING BLADE PROJECT
*Your warranty is now void.*
*I am not responsible for bricked devices,dead sd cards,corrupted partitions or any damage.*
*Please do some research before using this mod.*
*Its completely your decision to use this mod.*
*If you point finger at me for messing up your device,I will laugh at you.*
So if you decide to use this mod then lets talk about the requirements.
1. Moto G4plus/G4 (or SD 617 processor with the same clock frequency as this one)
2. ElementalX kernel manager (for now since i've not yet made this mod for kernel Adiutor,but soon)
3. kernel which allows tweaking (most of them do)
4. Some knowledge
5. Patience.
A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device. Governors are especially important in smartphones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over a charge.For more info and knowledge visit http://androidmodguide.blogspot.in/p/blog-page.html
So after reading the guide you'll know exactly what a governor does.So what does this mod do? It configures the governor to have optimal performance without a large impact on batterylife.
This mod only supports Interactive governor since its the best and most tweakable.
So how to make it work? its simple...
1. Download the file
2. Open the ElementalX kernel manager app
3. Under CPU section go to governor options.
4. There click on save and save the profile as "default"
5. Next go to your filemanager find ElementalX folder.
6. Paste the downloaded file in gov_profiles folder.
7. Open EX manager app again,under governor option click on load and select LightningBlade.
8. Click on apply on boot.
9. Enjoy.
what difference will you see? You'll see that the little cores and the big cores stay at minimum frequency most of the time which results in more juice
SCREENSHOTS​View attachment 4159966 View attachment 4159967 View attachment 4159968 View attachment 4159969
DOWNLOAD:https://drive.google.com/drive/folders/0B6etzeAaqs4cdkdNTzVlQk9fUHM ​
This mod is tested with InvictaOS, Ressurection Remix, LineageOs OMS, Pure Nexus, It should work with all the roms but still you tell me....[/CENTER]
Credits: @tywinlannister7 for helping me make this thread, @lCrD512 @Jleeblanch @1chrome for testing this mod and bearing with me , @soniCron for his guid on Interactive governor tweaks https://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557, @Debuffer for helping me with kernel adiutor.
Current Stable Version: Lightning Blade 1.0
Created:24-05-2017
Last Updated:24-05-2017​
Click to expand...
Click to collapse
mine
Swapney Raul said:
mine
Click to expand...
Click to collapse
as well
Seems to work pretty well on Invicta.
Good job boy!
1chrome said:
Seems to work pretty well on Invicta.
Good job boy!
Click to expand...
Click to collapse
Thanx man ?? ..
Which theme r u using in SS
dayask said:
Which theme r u using in SS
Click to expand...
Click to collapse
My guess is it's Compound for substratum
https://play.google.com/store/apps/details?id=com.subs.compound&hl=en
I want to try this MOD but drive says it needs permission for accessing the files. Can you grant the permissions or upload to a different server.
Thanks in advance.
Darkness126 said:
I want to try this MOD but drive says it needs permission for accessing the files. Can you grant the permissions or upload to a different server.
Thanks in advance.
Click to expand...
Click to collapse
Mirror added:
https://www.androidfilehost.com/?fid=889764386195901601
This is a zip file, extract it and you'll find the main Lightning Blade file.
tywinlannister7 said:
Mirror added:
https://www.androidfilehost.com/?fid=889764386195901601
This is a zip file, extract it and you'll find the main Lightning Blade file.
Click to expand...
Click to collapse
Thank you very much Sweet gonna have more juice from now on lol
Darkness126 said:
I want to try this MOD but drive says it needs permission for accessing the files. Can you grant the permissions or upload to a different server.
Thanks in advance.
Click to expand...
Click to collapse
Link for Androidfile host added ...
Thanx to my buddy @tywinlannister7 if Downloading from there plz first extract it and then follow the installation procedure.
dayask said:
Which theme r u using in SS
Click to expand...
Click to collapse
Compound as @lCrD512 mentioned.?
Darkness126 said:
Thank you very much Sweet gonna have more juice from now on lol
Click to expand...
Click to collapse
Do report your experience..?
Swapney Raul said:
Do report your experience..
Click to expand...
Click to collapse
I believe that's all i need to do now?
Just gonna wait for few days and i'll post an update
Thanks man:good::highfive:
Darkness126 said:
I believe that's all i need to do now?
Just gonna wait for few days and i'll post an update
Thanks man:good::highfive:
Click to expand...
Click to collapse
Yeah seems it got applied properly..
Yes now wait and observe..??
https://drive.google.com/file/d/0B6etzeAaqs4caXdNZnJORzNIR3c/view?usp=drivesdk. New update up enjoy guys..???
Uploaded just on drive as of yet will be up on AFH later today...
Update added to sourceforge no more AFH thanx to @tywinlannister7
The process will be the same
OP is also updated
Enjoy?
Swapney Raul said:
Yeah seems it got applied properly..
Yes now wait and observe..??
Click to expand...
Click to collapse
Tested.. here are the results.. Let me know if it helps you out.?
A thanks would be helpful but meh?
PS: I do play clash of clans and clash royale on JIO ?
Darkness126 said:
Tested.. here are the results.. Let me know if it helps you out.?
A thanks would be helpful but meh?
PS: I do play clash of clans and clash royale on JIO ?
Click to expand...
Click to collapse
Are you satisfied?????
And plz can you also post CPU statistics from Ex manager?
Swapney Raul said:
Are you satisfied?????
And plz can you also post CPU statistics from Ex manager?
Click to expand...
Click to collapse
I was kidding about the thanks.. Anyways here's the cpu stats..
I noticed that version 1.1 is here, upgraded it will let you know how it goes..
Thanks:good:
Darkness126 said:
I was kidding about the thanks.. Anyways here's the cpu stats..
I noticed that version 1.1 is here, upgraded it will let you know how it goes..
Thanks:good:
Click to expand...
Click to collapse
Big cluster stats as well

Categories

Resources