Asking permission and Scripts - EVO 4G Q&A, Help & Troubleshooting

I have two very separate questions.
1. What would happen if you took a .sh script file, renamed it without the .sh, and stuck it in the init.d folder?
2. Would anyone let me use their rom as a base? The more stock the better. Preferably ICS. Full credit would be given. Tia!
Sent free-falling from space

1 depends on what script it is and what it does
2 do that in pm and pick a rom yourself then ask.
XDA Moderator

The script I was thinking of was yours and zepplinrox.
And thanks for your response.
Sent free-falling from space

Flashdot said:
The script I was thinking of was yours and zepplinrox.
And thanks for your response.
Sent free-falling from space
Click to expand...
Click to collapse
Both of our scripts must be run in script manager and they ask questions. Then create scripts that go in ur init.d folder. So the .sh scripts can't go like u ask, also zep and my scripts can't be run at same time. They conflict.
XDA Moderator

Related

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

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

[Q] Trying to enable init.d tweaks = Fail.. Help me?

Me and a buddy are going to begin our development on an custom GB ROM and right now, we're stuck in the development process thanks to impossibility to enable init.d tweaks. I've followed the guideline on this one (first post, first page) but I can't understand how to make init.d tweaks work on Arc S..
So, someone that can help me with this problem ASAP?
Google "enable init.d".
Sent from myushi
XperienceD said:
Google "enable init.d".
Sent from myushi
Click to expand...
Click to collapse
Already done it. The guide is simple but confusing because I can't make it work.. /:
Sent from my GT-I9300 using xda app-developers app
Destroyedbeauty said:
Already done it. The guide is simple but confusing because I can't make it work.. /:
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
There are two guides, what you've linked to is a collection, which of the two showing how to enable it isn't working?
Sent from myushi
XperienceD said:
There are two guides, what you've linked to is a collection, which of the two showing how to enable it isn't working?
Sent from myushi
Click to expand...
Click to collapse
This:
" Init.d
(needs ROM with init.d access and busybox, open empty file, insert header #!/system/bin/sh and put these there, save in /system/etc/init.d and name it something like 77tweaks) "
I'm trying to do it the same way as this guide are telling me but after entering the init.d folder - I am lost, totally. Create / open empty file? How? And what shall I type down in that file? Help me.. I am stuck atm.
Sent from my GT-I9300 using xda app-developers app
Destroyedbeauty said:
I'm trying to do it the same way as this guide are telling me but after entering the init.d folder - I am lost, totally. Create / open empty file? How? And what shall I type down in that file? Help me.. I am stuck atm.
Click to expand...
Click to collapse
Those instructions are just explaining how to create an init.d file, NOT how to enable init.d on your ROM. Your answer is here - how to enable init.d
XperienceD said:
Those instructions are just explaining how to create an init.d file, NOT how to enable init.d on your ROM. Your answer is here - how to enable init.d
Click to expand...
Click to collapse
Okay, after some further checking of the linked thread - I can't still get it in my mind how-to create an init.d file, neither how I should paste and make those init.d scripts come alive.. Here is the problem, and searching on Google isn't helpful at all.. /: help me, please, give me a quick guide on:
1. Create own init.d file
2. Make and enable init.d scripts.
Destroyedbeauty said:
Okay, after some further checking of the linked thread - I can't still get it in my mind how-to create an init.d file, neither how I should paste and make those init.d scripts come alive.. Here is the problem, and searching on Google isn't helpful at all.. /: help me, please, give me a quick guide on:
1. Create own init.d file
2. Make and enable init.d scripts.
Click to expand...
Click to collapse
More reading then as the way to enable it is at my second link and the way to create files is at what you've been reading already.
Sent from myushi

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

Categories

Resources