[MOD] **EZ InitD for the S3 - And Busybox** - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

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.

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.

[Tweak]INIT.D

Not sure as this belongs here or not, but I think this is the best place for it. This will allow you to add init.d to your phone without CWM. I got it working for me, so I hope everyone else will have the same fortune.
Requirements:
1.Root
2.Fully installed Busybox
3. Windows computer
Instructiions:
Download and run runme.bat
Credits:
keunhuvac - http://forum.xda-developers.com/showthread.php?t=1577545
Added the CWM version to the OP - Quick instructions:
Put on your SD card or somewhere you can find on your phone and flash with CWM - done!
Files from his forum - Xperia S - has been edited to remove errors
Please note this will fail if any of the Busybox symlinks are not complete!
popfan said:
Not sure as this belongs here or not, but I think this is the best place for it. This will allow you to add init.d to your phone without CWM. I got it working for me, so I hope everyone else will have the same fortune.
Requirements:
1.Root
2.Fully installed Busybox
3. Windows computer
Instructiions:
Download and run runme.bat
Credits:
keunhuvac - http://forum.xda-developers.com/showthread.php?t=1577545
Files from his forum - Xperia S - has been edited to remove errors
Please note this will fail if any of the Busybox symlinks are not complete!
Click to expand...
Click to collapse
I am not sure it works.
1. the 06dalvik script did not create /cache/dalvik-cache folder.
2. the 99test did not create any file in /data/local/tmp.
does our kernel support init.d?
ganeshbiyer said:
I am not sure it works.
1. the 06dalvik script did not create /cache/dalvik-cache folder.
2. the 99test did not create any file in /data/local/tmp.
does our kernel support init.d?
Click to expand...
Click to collapse
Mine is working, if you got some errors during the load process, I need to know.
If thing to do is check your symlinks and make sure that they are all there for busybox.
Use this to check your symlinks:https://play.google.com/store/apps/...t=W251bGwsMSwyLDEsInN0ZXJpY3Nvbi5idXN5Ym94Il0.
If any one is missing, it could stop the install process.
On the thing about our kernel supporting init.d, the answer is not currently and that is why we have to use this program. It will allow compatibility with our kernel to have init.d.
The busbox is ok.
I can run it rom my terminal on the phone as well as adb shell.
There were no errors during installation.
Edit:
I ran the script again today.
The init.d works. the 99test did create a file in /data/local/tmp.
INIT.D installed. Excellent! Now to look up some tweaks. You da man Popfan.
Here are some
http://forum.xda-developers.com/showthread.php?t=1709836
ganeshbiyer said:
Here are some
http://forum.xda-developers.com/showthread.php?t=1709836
Click to expand...
Click to collapse
Yup, that's the thread I've been reading through.
jeriku said:
Yup, that's the thread I've been reading through.
Click to expand...
Click to collapse
Post the updated build.prop and init.d scripts, when you are done verifying.
jeriku said:
INIT.D installed. Excellent! Now to look up some tweaks. You da man Popfan.
Click to expand...
Click to collapse
Thanks for the feedback. I was starting to wonder if anyone knew what this can do for their phone.
Here is another good site:
http://forum.xda-developers.com/showthread.php?t=991276
A lot of good stuff. I am going to see if I can get the tweaks to run at 100%, here in a few days. I loved it when I ran this on my cappy.
popfan said:
Thanks for the feedback. I was starting to wonder if anyone knew what this can do for their phone.
Here is another good site:
http://forum.xda-developers.com/showthread.php?t=991276
A lot of good stuff. I am going to see if I can get the tweaks to run at 100%, here in a few days. I loved it when I ran this on my cappy.
Click to expand...
Click to collapse
I'll be looking forward to hear how this goes. I was just reading over the thread and I want it.
Sent from Rooted LT28at with ICS.
jeriku said:
I'll be looking forward to hear how this goes. I was just reading over the thread and I want it.
Sent from Rooted LT28at with ICS.
Click to expand...
Click to collapse
Running it at 50% is pretty good also. The script will at least zipalign, check for proper permissions on all apps, clean the delvik-cache, and reorganize the task manager priorities and also your ram manager settings. You should try the battery calibration script that is there also, it is really nice.
popfan said:
Running it at 50% is pretty good also. The script will at least zipalign, check for proper permissions on all apps, clean the delvik-cache, and reorganize the task manager priorities and also your ram manager settings. You should try the battery calibration script that is there also, it is really nice.
Click to expand...
Click to collapse
I'm going to read it through a couple times then give it a go. Did you use script manager or just terminal?
Sent from Rooted LT28at with ICS.
jeriku said:
I'm going to read it through a couple times then give it a go. Did you use script manager or just terminal?
Sent from Rooted LT28at with ICS.
Click to expand...
Click to collapse
Script manager is easiest. Don't forget to use as root for all those scripts.
I did forget that it will also allow for a powershift, so you can change your settings on the fly if you need more multitasking capabilities than power savings or more power.
If you get v6 working please post any differences you notice. esp launcher re-draws. <that to me is one of the most annoying things ever. and would love to know that there is something that can be done about it
killerskincanoe said:
If you get v6 working please post any differences you notice. esp launcher re-draws. <that to me is one of the most annoying things ever. and would love to know that there is something that can be done about it
Click to expand...
Click to collapse
It looks like it is going to be a little tricky, but at 50% I can tell the Xperia Launcher is working better and almost never see any lag. With Nova Launcher, it just flies.
That's awesome news. What exactly do you mean by 50%... The CPU? Or what?
Sent from my HTC Flyer P510e using xda app-developers app
killerskincanoe said:
That's awesome news. What exactly do you mean by 50%... The CPU? Or what?
Sent from my HTC Flyer P510e using xda app-developers app
Click to expand...
Click to collapse
It reads like there are extra manual steps to get ICS fully super charged.
Sent from Rooted LT28at with ICS.
It does not look like the latest CWM that I put will be compatible with the extra mods, after I put the cwm together and flashed it bricked my phone. I have put my phone back to where it was before the modifications for the ICS supercharger (the service.jar and service.odex modded part) and works just fine without the additional mods, but I don't think I am going to try to mod the phone again (wife will get mad at me if I hard brick my phone).

[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!

Soilwork: Unified kernel-tweaks V10 [10/10/2017] | Script | MAGISK module

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

Categories

Resources