yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 Android Development] iandol:
And how do you know they are starting correctly? Seriously? Have you logged their output yet?

This is the danger of using some app to do this stuff, you don't have to understand

how unix/linux works because the app does it for you. Understanding permissions is the very first thing one learns when learning about file systems in Linux. Learn to use the terminal, read some tutorials on shell scripting and it will help you know what you are doing...

EDIT: never used script manager, but looking at the screenshots on google play -- it does show you the linux permissions so you should still have known that rwxr-xr-x was the default for init.d...
[Galaxy Ace S5830 Android Development] slaid480:
I knew that Script manager lauch Script manually,but I persist that RW-R-R is the Right one and do now how things work on UNIX/LINUX;)
[Galaxy Ace S5830 Android Development] Ex Deus Xien:
Please.. why dont you guys expriment?? Stop spamming shiiitzz.

For init.d folder files

Tried rwxrx-rx/ it runs/works

Tried rwxr-x--/ it runs/works

Tried rwxrw-rw/it runs/works

Ofcourse slaid uses script manager to makes scripts to run on 1st boot.

Try my suggested perms. It wont run without being executed. Lolololol

It boots all the time.

My default perms for my init.d folder are

rwxr-x--

@slaid480

At V2.2, s2e does not mount ext4,newly installed apps does not appear on desktop or broken.

I think it has has something to do on darky align script. Just my opinion since i cant use my pc right now for diagnostics.

Fix on next update.

press thanks if helped!

+LewaROM w/ coloredbars

+slaidyboostV2.1

+chainfire3D

+kernel/blackhawk

+underclocked@240/480mhz

+overclocked@240/902mhz

+governor/badassV2

+scheduler/deadline

+Deadly Performance

+Extreme Life

= Ex|Deus|Droid=
[Galaxy Ace S5830 Android Development] mudkipstar:
ok slaid has make mistakes b4. But who never make mistakes? I dun give a dam about mistakes. He is developing for our Ace thats all it matters and trying to make it better for us. Ok I just rebooted my phone with all his scripts with permission set to slaid suggested RW-R-R. My Sygic (An extremely heavy app CPU and RAM heavily dependent) loaded much faster on initialization. But maybe I could be having friends with placebo so can someone come up with a guide to see if the scripts are running?

PS: I can safety say my sygic has never initialize this fast b4
[Galaxy Ace S5830 Android Development] tossan:
Correct: Nobody is perfect.

But you can improve your skills by learning from your mistakes and change the world. In my case I'm already content, if I could manage somehow changing the current wrong perceptions of some users regarding scripts and file permissions, not only you.

Here goes my last try to educate. Btw, like you, I'm doing all of this for free of any charge. ... :D

Assumption

: A file with permission rw-r--r-- (644) located in init.d folder gets executed on boot.

Prove

: This assumption is wrong.

Test environment

: CM7-rc1

Requirements

:

init.d functionality is provided in cooper by busybox run-parts

terminal_1 : adb logcat for checking the ouput of busybox run-parts

terminal_2 : adb shell to execute commands on the cooper device

Test procedure

In terminal_1 type :

adb logcat

In terminal_2 type :

adb shell

busybox mkdir -p /data/tmp/init.d/
cd /data/tmp/init.d/

busybox echo -e "#!/system/bin/sh \n L=\"log -p i -t cm\" \n \$L 'permission_777(rwxrwxrwx) script EXECUTED!'" >permission_777
busybox echo -e "#!/system/bin/sh \n L=\"log -p i -t cm\" \n \$L 'permission_111(--x--x--x) script EXECUTED!'" >permission_111
busybox echo -e "#!/system/bin/sh \n L=\"log -p i -t cm\" \n \$L 'permission_644(rw-r--r--) script EXECUTED!'" >permission_644

chmod 777 permission_777
chmod 111 permission_111
chmod 644 permission_644

ls -l
#--output of this cmd :
#---x--x--x 1 root root 97 Mar 30 01:19 permission_111
#[COLOR=Red]-rw-r--r--[/COLOR] 1 root root 97 Mar 30 01:19 permission_644
#-rwxrwxrwx 1 root root 97 Mar 30 01:19 permission_777
#--end of ouput

/system/bin/logwrapper /system/xbin/[COLOR=DarkGreen][B]busybox run-parts [/B][/COLOR][COLOR=Red]/data/tmp/[/COLOR]init.d/

In terminal_1 you'll notice this log entries:

...
I/cm ( 2876): permission_111(--x--x--x) script EXECUTED!
I/cm ( 2878): permission_777(rwxrwxrwx) script EXECUTED!
...

NO trace of permission_644 file executtion at all! (The last command line simulates the init.d files execution on boot.)

[q.e.d]

For your reference: Debugging Bash scripts.
[Galaxy Ace S5830 Android Development] VRD1:
@tossan man u r d boss u comes with good example. I really appreciate u I think I have to take training under you
[Galaxy Ace S5830 Android Development] Doo:DAce:
These are the scripts in my init.d tell me which one I need to delete. I'm on Ace of SPades v3

00banner

01sysctl

02cooper

03firstboot

04modules

05mountsd

06mountdl

20userinit

99complete

dtapp

s97ramscript

s99_LFv3gb

Thanks and keep up the good work ;D
[Galaxy Ace S5830 Android Development] CallMeVentus:
Thanks tossan !

And to add onto his point:

They don't get executed also because of who owns the file .

If root (0) and group root (0) don't own the file they can never be used....

I tried it once with another script

Setting 644 , but with chown both set to root .

The script executed , even if not all .

I really don't get why some people underestimate the use of chown .

Herpderp Defy.
[Galaxy Ace S5830 Android Development] Jar3112:
No if you set rwxr-x--- permissions :)

Sent from my Galaxy Ace on Cm 7.2
[Galaxy Ace S5830 Android Development] pyronia:
The script perm does not matter then if u use script manager, coz script manager manage it for u...u just set it to run at boot and the app do it all...

But if u already set perm to rwxrwxrwx, u dont need script manager...

The app is for people who keep wondering how and which perm to set to any script...in a simple word - the app is create for noobs :) just set it to run and its run...simple app for anyone to use it...

Edit: script manager app can be use to kernel without the support of init.d folder....just place the script in sd card...

regards,

•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9

[rOms dOn't KiLL phOnE, nOob dO :D]
[Galaxy Ace S5830 Android Development] areyie9292:
i have set permission for init to rwxrwxrwx for v2.2, but my phone stuck at samsung galaxy ace..
[Galaxy Ace S5830 Android Development] iandol:
There are two methods for init.d -- the first is native kernel support (which at least CM-based firmwares have). This will use standard linux permission format.

The second is to enable /init.rc (the master boot script for the android kernel[1]) to emulate native init.d support by using the busybox command run-parts[2]. tossan showed you how to emulate this method exactly:

/system/bin/logwrapper /system/xbin/busybox run-parts /data/tmp/init.d/

This allows you to understand with what permissions and test how the Linux boot process will execute scripts.

----

[1] http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html

[2] http://www.neopeek.com/viewtopic.php?f=24&t=6801
[Galaxy Ace S5830 Android Development] CallMeVentus:
r--r--r-- also disables the script , because it's disabled to execute even if you own it

Herpderp Defy.
[Galaxy Ace S5830 Android Development] iandol:
Hm, my CM7.2 takes ~20 seconds from init to unlock pattern screen and about 25 seconds further to scan /sdcard/ -- no scripts at all...

The scripts you had installed zipalign, optimise all databases and do lots of other things on boot which slows it down. Removing the old scripts and replacing them with slaidyboost scripts which never run (rw-r--r--) means you have a bootup like I do (without scripts). It feels faster because lagfree and turboboost are not running, not because slaidyboost is :)

---------- Post added at 05:02 PM ---------- Previous post was at 04:47 PM ----------

Yes, so basically with rw-r--r-- script wasn't executing so your phone boots. With rwxr-x--- the script executes and causes a bootloop because there are probably still problems with e.g. setprop (when g_BonE fixed lagfreeV3 to actually run, there were then setprop issues tossan managed to debug).

Slaid should use a bootloop recovery mechanism, please read the g_BonE script:

# bootloop recovery
if [ -e /data/lagfree_recovery ]; then
if [ -s /data/lagfree_recovery ]; then
$L "LagFree ran fine the last time..."
else
$L "LagFree errored out last time --- STOPPING SCRIPT!"
sync
sleep 5
exit
fi;
else
touch /data/lagfree_recovery
$L "LagFree recovery file created..."
fi;

That means if anyone ever gets a bootloop, the next boot the script exits and no problems for the phone...
[Galaxy Ace S5830 Android Development] themountig:
Need advice here - sure some will conflict. I am running Stock 2.3.5 with CF root 84 fixed and a2sd set with all on sd zipaligned via a2sd and all partitions are ext4. Init.d contains:- 01app2sd, 02 kernel_tweak, 05 lagfixer, 11 link2sd and 98 System_tweaks. Which should I leave/remove for best operation of my SGA? All advice would be much appreciated.
[Galaxy Ace S5830 Android Development] AbiDez:
Hello, nice work. It boost my Galaxy Ace.

I use it since 2.0. After installing 2.2 my Galaxy boottime is

5-10 min, to long. After search by Google, i found that when

Scripts crasht, the boottime is long.

I delete your 10S_smoothness_tweak. Actual the boottime

is 30-60.sec.

Greetings AbiDez​
[Galaxy Ace S5830 Android Development] slaid480:
need tester

anyone can test My new version V2.3,It's a CWM flashable Zip,Cause I cant test on Mine
[Galaxy Ace S5830 Android Development] SpaceCaker:
working good :D

( mount system first )
[Galaxy Ace S5830 Android Development] slaid480:
UPDATE

Ok,V2.3 Is Up,Happy Testing!!
[Galaxy Ace S5830 Android Development] acceleratus:
yup. This line is commented in the updater script:

#mount("ext4", "EMMC", "/dev/block/stl12", "/system");
[Galaxy Ace S5830 Android Development] Malherbe:
Hello

I had the random reboot with slaidyboost2.1.

is what I can try this new version without problem ?

Thank you.

ps:Excuse my English, I'm not bilingual like you :p
[Galaxy Ace S5830 Android Development] tomy2590:
flashed your script v2.3.. now stuck on bootloop :(

EDIT: after i think 3-5mins, it went through. and yep i mounted /system before flashing... how can I check if the scripts are working?
[Galaxy Ace S5830 Android Development] jangs_momoi:
Should I delete the old files before flashing 2.3?

Edit: flashed it,boot time 00:4:37. Everything seems to be running smooth and well.
[Galaxy Ace S5830 Android Development] slaid480:
if,it is an old SLaidyBoost no proble the updater scrit will delete ,If it is another script deleted yourself
[Galaxy Ace S5830 Android Development] jangs_momoi:
It was your slaidyboost 2.1 master Slaid.thanks for the update. Pressed the thanks button as well. :D:D:D
[Galaxy Ace S5830 Android Development] AbiDez:
Not good... Mounted systen, mounted all....

Stock 5 min.

Tell me how to do log, and i give it to you​
[Galaxy Ace S5830 Android Development] -RDR-:
slaid can you check this script again (2.3 cwm flashable) ??this caused my phone to get stuck at the "Android " bootscreen :( i waited for a long time but it didnt boot ( i had to reflash my rom again which is cm7.2 by FAT btw) this looks great man and i would love to try it :) please locate the bug and fix it

and thanxx a lot for your work :)

sent from my D®O!D™
[Galaxy Ace S5830 Android Development] Jar3112:
What cm 7.2? Vo-1 or Fat? I'm on vo-1 and i didn't have problems. Did you Mont system before?

Sent from my Galaxy Ace on Cm 7.2
[Galaxy Ace S5830 Android Development] -RDR-:
oops i forgot to add "by FAT" ..yes i did mount system ...

sent from my D®O!D™
[Galaxy Ace S5830 Android Development] makalolo:
Works great for me....boots take time below 1min...thanks slaid....
[Galaxy Ace S5830 Android Development] Pepper95:
Working on cm9 by maclaw :D first boot takes 2-3 minutes

Remember to mount system before :D

Enviado desde mi GT-S5830
[Galaxy Ace S5830 Android Development] slaid480:
Yea,as I said before in OP,It's Working With ICS :)
[Galaxy Ace S5830 Android Development] Farooq95:
Tested on my ace with Myths' ICS v2 and it works awesome ......

Edit:-CRT-off effect doesn't work after installing this...

Sent It From My Ace With Myths' ICS v2™®
[Galaxy Ace S5830 Android Development] Xcutionr:
A.O.S V3: stuck on "Android".
[Galaxy Ace S5830 Android Development] makalolo:
I got 1 problem here....after flashing all works good but my gapps crash..... gmail &google play store crash.....got any solution slaid?

Msg come out from gplay "server error"

Now i i cant use mg gplay...zzz
[Galaxy Ace S5830 Android Development] MrChaosDesire:
Phone fails to boot

CyanogenMod 7.2 Nightly

Stuck on Android logo

Have another script called VenomSide
[Galaxy Ace S5830 Android Development] Jar3112:
I had a random reboot while using version 2.3, so now I'm using only sdcardspeedfix and lagfixer scripts, so far they seem to work well!

Sent from my Galaxy Ace on Cm 7.2
[Galaxy Ace S5830 Android Development] markmu:
Sorry, but version 2.3 is not working with Infinity Rom by nims11. Stuck on android after flashing CWM version or manually, doesn't matter.

Gesendet von meinem GT-S5830 mit Tapatalk
[Galaxy Ace S5830 Android Development] slaid480:
as Montionned in Op you should deleted before you use My scripts
[Galaxy Ace S5830 Android Development] manan001:
bro

works great on my stock base Rom

Samsung galaxy Ace India ddqk8 2.3.6 with cf-root b83 using link2sd
[Galaxy Ace S5830 Android Development] MrChaosDesire:
OK thanks :)

I don't want to delete it because I'm bad at this. But I think this script have the potential though, if it could somewhat be used withother scripts. No big deal though, thanks for the work anyways!
[Galaxy Ace S5830 Android Development] croatist:
same here A.O.S v3

---------- Post added at 05:49 PM ---------- Previous post was at 05:48 PM ----------

stuck on android
[Galaxy Ace S5830 Android Development] Cryss:
100% work for me !

CyanogenMod 7.2-cooper-KANG-RC1-Android 2.3.7
[Galaxy Ace S5830 Android Development] kehur:
100% working for me

Hi,

Great scripts. I mounted system folders as read-write in Ex File explorer first then deleted all scripts inside init.d folder.

Then as per instructed flashed latest scripts after I mounted /system.

Great results so far.

Thanks once again.

:)
[Galaxy Ace S5830 Android Development] eryst:
Oh my got

You are on first page(news). Sh*t just got real.

Good script :)
[Galaxy Ace S5830 Android Development] nvt992:
will it work with other galaxy phone?

like galaxy mini?
[Galaxy Ace S5830 Android Development] Petros601:
Hi

I have Galaxy ace for 2 days. It is my first Android Phone. Can you give me more details how to install this?

Copy the files on SD card?

What means:

Reboot to recovery?

Mount /system ?

Flash via recovery ?

Sorry but i'm a rookie in android.

thank you very much
[Galaxy Ace S5830 Android Development] hell_lock:
I am from other forum.. Will these scripts work on other Galaxy phones?
[Galaxy Ace S5830 Android Development] semiran:
Wow :eek: great script. Made my phone faster. Thanks
[Galaxy Ace S5830 Android Development] itasoulas:
dude, for start welcome to xda and the galaxy ace forums. If you don't even know what does "Reboot to recovery" mean, then you shouldn't mess with scripts. I suggest you get more familiar with your phone, search and find out what those simple things mean and then try to mod your phone. Otherwise you will screw things up and will be asking help of how to make your phone work again.

Peace, John! :)
[Galaxy Ace S5830 Android Development] Petros601:
I think i can handle it but i ned tutorial :)

I shall copy zip file (ver 2.3) to SD card and reboot phone in recovery mode?
[Galaxy Ace S5830 Android Development] dearde4n:
mayb u should install cwm first mate..and make sure ur phone has the criteria mentioned to install this script..

Sent from my PHONE
[Galaxy Ace S5830 Android Development] tossan:
OMG!!!

Guess Nexus users have a bigger phone and also some greater skills for utilization too, i reckon? ... :p

Jah Ja ... "haters gonna hate and noobs will be boobs!!!?" ... see? Even this hard work of trolling, I've taken off your shoulders.

Sorry, but I can't share the enthusiasm with you at this point. ... :D
[Galaxy Ace S5830 Android Development] Petros601:
so it works only on costum ROM CWM with root?

Thanks for the info
[Galaxy Ace S5830 Android Development] makalolo:
For CM9 user please be careful i got that experiences flashing this scripts on my ace running CM9 by Maclaw device can boot normally but suddenly all my Gapps become FC...

cant connect to Google Play and msg pop out "server error" and my Gmail FC...
[Galaxy Ace S5830 Android Development] eryst:
Yeh i know like that 10 minutes at start and other thingies but its good that more people will know about our ace. So maybe some new devs. Time must pass and everything gonna be allright.

Sorry for the english.
[Galaxy Ace S5830 Android Development] tyraelasd:
So is it safe to install on cm9 ( maclaws from )? Will it give a boost in performance and battery?
[Galaxy Ace S5830 Android Development] joshuacul:
thanks! it took like 5 minutes to boot but now its working!.cm 7.2. how do i know if its working? is there a place to see it?
[Galaxy Ace S5830 Android Development] denzel09:
Thanks ........
[Galaxy Ace S5830 Android Development] nishanty13:
Yup.:p

(10 char)
[Galaxy Ace S5830 Android Development] dearde4n:
did u ever read what the requirement for this script anyway? cwm, root, init.d supported kernel, ext4...
[Galaxy Ace S5830 Android Development] Androidnow:
do something for s5830i too !!!! plsss :o:confused::(
[Galaxy Ace S5830 Android Development] manan001:
guys get ready to go with new samsung galaxy ace plus and samsung galaxy ace 2
[Galaxy Ace S5830 Android Development] fonfelix:
the script performance is really great, now my ace accompanies the speed of my thoughts! lol

now, see the battery duration and go back here!

thank you so much slaid ;)
[Galaxy Ace S5830 Android Development] subha632:
Script has bugs...

1. suppose You are playing music, if u touch status bar, music got weird and stops for few micro seconds then starts again....

2, the pulling of status bar is nt smooth...

I deleted all scripts and again install this script but same errors. Hope it gets fixed soon

Sent from my GT-S5830 using Official CyanogenMod 7.2
[Galaxy Ace S5830 Android Development] nishanty13:
Been using all his scripts from beginning. Never experienced something like that.
[Galaxy Ace S5830 Android Development] subha632:
I m using lagfree v3 and it has no issue. Only this script has some bugs, i think
[Galaxy Ace S5830 Android Development] eryst:
Lol read the OP and there is delete other scripts.
[Galaxy Ace S5830 Android Development] LewisGauss:
Slaid, here's a suggestion, take a look at Adrenaline Script. Its really awesome. No offence mate.
[Galaxy Ace S5830 Android Development] danvrez:
yes, i have the same issue, hope will be solved in next version :)
[Galaxy Ace S5830 Android Development] slaid480:
Can you Test the Scripts in the SLaidyBoost package 1 by 1 with Proper permissions to knew the one causing This problem for you??
[Galaxy Ace S5830 Android Development] Enea307:
?

Hi to all. I have a question. Do i need CM 7 or 9.? Mine is G Ace 2.3.6 Rooted. Can anyone help me to istall this? Thnx
[Galaxy Ace S5830 Android Development] slaid480:
You can Use It on any ROM CM7/9/AOSP/MIUI/Stock With of course a Custom kernel Supporting init.d,See OP for More informations
[Galaxy Ace S5830 Android Development] subha632:
Bro i had deleted all scripts before installing this script

Sent from my GT-S5830 using Official CyanogenMod 7.2
[Galaxy Ace S5830 Android Development] subha632:
Sorry sir, i dont understand :-(

Sent from my GT-S5830 using Official CyanogenMod 7.2
[Galaxy Ace S5830 Android Development] joshuacul:
hey how do i remove the scripts? just go to init.d folder? and delete manually everything inside of it?
[Galaxy Ace S5830 Android Development] kmarci:
Exactly. You have to use Root Explorer, mount r/o and than delete the files in system/init.d

Galaxy Ace-ről küldve Tapatalk segítségével
[Galaxy Ace S5830 Android Development] gore_darkside:
Break things

One day after apply these scripts my camera is unable to take pictures, and my galery is unable to play videos. Never happened before.
[Galaxy Ace S5830 Android Development] joshuacul:
ok i have deleted the ones who brought the package. thanks! btw there are others files in it..... do i have to delete them too? main reason i deleted the slaid ones was because i dont notice a diferrence at all and it always takes a long boot if i restart the phone. these are the files:

00baner,01sysctl,02cooper,03firstboot,04modules,05mountsd,06mountdl and 20userinit. looks like these came with the cm 7.2 rom
[Galaxy Ace S5830 Android Development] iandol:
Don't delete those!
[Galaxy Ace S5830 Android Development] joshuacul:
i was waiting for a reply xD. thanks i kinda thought i didnt had to delete those.
[Galaxy Ace S5830 Android Development] `Joc:
Stuck w/ Android Logo :(

EDIT : just waited for 5-10 more minutes and it's now working great .. thanks !
[Galaxy Ace S5830 Android Development] nishanty13:
+1

I have been using these scripts till beginning but after implementing this version(v2.3) my phone takes nearly 5 min to boot up every time but the performance is really boosted. Please help as 5 min boot time is driving me crazy. :banghead::banghead::banghead:
[Galaxy Ace S5830 Android Development] joshuacul:
happens to me too
[Galaxy Ace S5830 Android Development] nishanty13:
@slaid480

Hey man, please help 5 min boot time is really hell slow.:screwy:
[Galaxy Ace S5830 Android Development] mixbox360:
Hmmm I've installed it with cwm and has the same trouble but retry installing the scripts manually and give it permisions r-w-r-r for the init.d files and for the xbin file "zipalign" turned to busybox (rwxrwxrwx) and it olved the problem... Try if it still then erase the "S98CFS" file from init.d itñ must works for you.
[Galaxy Ace S5830 Android Development] slaid480:
if the boot time is Very Long,delete Smoothness Script ;)
[Galaxy Ace S5830 Android Development] freakyfriday:
Hello every1 :)

I m frm mini forums.. Is it suggested to flash this script on my mini ?

also i dont have an sd partition..shuld i continue flashing ?

Has any1 usin mini tried it ?

please help as want to use this..so reply fast.. :D

Already thanked u OP (5times) lol
[Galaxy Ace S5830 Android Development] slaid480:
I will Post It in Mini Development Forum !
[Galaxy Ace S5830 Android Development] freakyfriday:
Thank you very much :)
[Galaxy Ace S5830 Android Development] slaid480:
It's Posted now :p !!
[Galaxy Ace S5830 Android Development] ASHLEY117:
quick question,

are you including these scripts in your nightly rom?

slick rom and really good so far!! keep it up mate!!!:D:D:D:D:D:D:D
[Galaxy Ace S5830 Android Development] slaid480:
no there not included My Nightlies Should be a Clean CM!
[Galaxy Ace S5830 Android Development] XDemianX:
I can use this with Adrenaline Boost? Cuz isn't a script, right? :/
[Galaxy Ace S5830 Android Development] nishanty13:
Yup.
[Galaxy Ace S5830 Android Development] adriansantos:
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaand dead this thread goes again............
[Galaxy Ace S5830 Android Development] Pseudonym:
Because it has bugs. Adrenaline > Slaidyboost. :p
[Galaxy Ace S5830 Android Development] mudkipstar:
Hahas slaid come up with updates!!! Make it more competitive for imbawind. :D:D
[Galaxy Ace S5830 Android Development] adriansantos:
Damn you man, I'm so jealous of you. You own an awesome phone, awesome pc (as you have put your specs on your signature), and an awesome car! Daaaaaaaamn. That's the way to live brotha!haha
[Galaxy Ace S5830 Android Development] slaid480:
About Updates

I will give Updates Here when This Community understand how to respect each Other!
[Galaxy Ace S5830 Android Development] Pseudonym:
Good luck with that dream. :D