yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 General] adriansantos:
Strange enough, when my phone rebooted, it also got stuck on android screen. :O What's wrong sir g_BonE?:(

PS: When I tried to set the permissions to rw-r-r, it didn't get stucked on Android screen. But when I changed it to rwe-rwe-rwe, it got stuck on android screen.. :(
[Galaxy Ace S5830 General] pyronia:
Bcoz when permission set to rw-r-r, the script is not working lol

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] adriansantos:
Yea, but how do I make the script work? Have you tried to run it pyronia?:) I also tried rwe-re, still stuck on android screen. :)
[Galaxy Ace S5830 General] iandol:
Set permissions to rwxrwxrwx to be extra sure ;) (you only should need rwxr-x--- but android security doesn't seem to care too much about careful permissions)

Oh, and engengis also installs separate small init.d scripts for each type of tweak, so the SD card optimisation is a module, the I/O schedular tweaks is another, internet speed, internet security; all modules. These big all-in-one scripts seem more error prone, and failure at any point in the large script causes all subsequent tweaks to fail.

pyronia: the default for engengis dirty_expire is also 500, and the commandline options are to range from 200-1000. The original Lagfree seems to change it so many times, line 38, line 169, line 367 and line 567 setting it to 3000, 1000, 500 then back to 3000!!!

EDIT: however, surely the larger this number, the longer the kernel takes to check for old data, the smaller the number the more often the kernel considers data as dirty, i.e. the more work the kernel does: http://www.cyrius.com/debian/nslu2/linux-on-flash.html
[Galaxy Ace S5830 General] slaid480:
Who gives you the right to play with My script??Clened Up or Not the script perform the Same Effect!!!
[Galaxy Ace S5830 General] itasoulas:
I smell WAR...:D...Nice to hear from you again slaid!!! I download g_Bones script and it gives you the credit in it. He just mod it a bit, it's not a bad thing. I mean who doesn't know that LagFree is yours?

Peace!!!
[Galaxy Ace S5830 General] iandol:
Well, it is not only "cleaned" up, it was to fix significant errors (the newline breaking the sqlite3 command for example, the mangled hashbang) that caused the script to fail!!! ;)
[Galaxy Ace S5830 General] pyronia:
Aggreed!!! Too much repeat lines and lines that actually not exist in ace, slaid not fix it but all he said is his script working...dunno if u shy to admid it slaid, but yes the script u make is actually too messy with multiples repeat lines :)

Ps: i think slaid will make a report to moderator to closed this thread dude :P

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] iandol:
Make love!

Well, I hope not; I hope slaid takes it as a compliment that his work is well used by many users and people are willing to help fix bugs; this can only be good for everyone. :cool:

We should all work together, respect each other and have fun. :D:D:D
[Galaxy Ace S5830 General] jrxtepan:
Engengis :)

ENGENGIS Rules!! :D :D
[Galaxy Ace S5830 General] itasoulas:
As I read this script needs to be configured by user after installation, right? If we don't mess with it after install is done then it doesn't do the job?
[Galaxy Ace S5830 General] iandol:
Yes, engengis puts the power of the tweak into the users hands so you need to run it via terminal emulator or adb shell. There are sensible defaults for most things set up when you first run it, so you will have a nice system just running through the defaults. For the uninitiated:

1) systemtweak -> HSS systemtweak for starters (no need to configure)

2) enable zipalign

3) enable drop caches, internet speed and security tweaks

4) I/O scheduler -- noop works best for me.

5) Governor -- smartassV2 seems to be very well balanced -- http://xdaforums.com/showthread.php?p=22127033 has the best benchmarks I've seen so far, with some relevance to Ace too

6) build.prop tweaks: play around, I have most of them enabled.

I set up OTA updates, which means whenever a new version of engengis comes out, you can just run update and there is no need to reflash any zips, very very sleek!!!
[Galaxy Ace S5830 General] Bakuron:
How so? Also, do you know what version of Busybox Engengis is compatible with?
[Galaxy Ace S5830 General] iandol:
Well, as most things, it was using noop and simple for a few days each, after reading:

http://xdaforums.com/showthread.php?p=19846319#post19846319

http://code.google.com/p/engengis/wiki/ExplanationIOSchedulers

using noop has been very smooth, I think better than sio I was using last week, but that is subjective and probably prone to influence by other changes on the phone!

I didn't benchmark, because benchmarking, unless you are willing to be diligent and understand statistical inference (if two values are different by X but the standard deviation is large, then X difference is not significant), is often misleading. I don't have time to clean install, reboot many times over a set of different parameters. bedalus did just that on the nexus s, and he found smartassV2 and noop work well together, though I think sio works well over some of the other governors better:

http://xdaforums.com/showthread.php?p=22127033

Abnout busybox, I've run it on gingerreal 2 which uses 1.17 and CM7.2vo-1 which has 1.19.3
[Galaxy Ace S5830 General] Bakuron:
Excellent, and thanks for the links.

You're right, unless you're prepared to do some sort of double blind test there's no way to make an intelligible interpretation of the scores.

I've not yet tried NOOP on my stock rom, because there are some other tweaks I'd like to try first with DEADLINE on.
[Galaxy Ace S5830 General] pyronia:
Does engengis wipe dalvik? Coz i read in the zip there a line to wipe dalvek, there are problem if i wipe dalvik coz i use link2sd i guess....

Edit: but engengis with setcpu? How to use setcpu ir engengis take control of governor?

Edit2: if u guys read carefully, lagfree and turboboost is actually the same, the different is turboboost make a saperate single script while lagfree combine it into 1 single script!

But, both touchscreen tweak are not working coz the lines not exist in ace...believe or not who use it is actually experience the great placebo effect :D but who made it is shy to admit it :)

The script will not ever working if u just flash the zip file that sets the permission to rwx-r-r dude...

I know, they will get angry with my statement, but it is the truth! Please set permission to rwxr-xr-x or set to full rwxrwxrwx to feel the different! If not, enjoy the placebo dude :D

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] g_BonE:
Alright so it looks like this thread became pretty busy after all. Nice ;)

For the permissions settings problems some people are experiencing: I can only tell from my own experience and seeing that all my scripts in init.d have 777 permissions i thought that'd be the right way to go.

As for using or not using it: At least it doesnt apply the same tweaks over and over again and performs some sanity checks if the files to write to do exist at all and/or are writable.

Seeing that there are lot of people preferring Engengis over the LagFree: Guess i migt have a look and switch to this script too.

For script devs: Does anybody know how the exact boot process of android works ? I'd like to know how those init.d scripts run - parallel or sequential. If they run sequentially a long script would not make a difference to a number of short scripts in the folder. Looking at DDMS output suggest that multiple scripts run in parallel however.

Thanks for Your patience and suggetions ;)

To roll Your own startup scripts i found this thread, it also explains what permissions to use and the overall functionalty of init.d : http://xdaforums.com/showthread.php?t=1476400
[Galaxy Ace S5830 General] pyronia:
Lagfree sucks if not of this re-editing...

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] acceleratus:
Found this in some thread about the tweaks linked before:

Order of executing init.d scripts are in the increasing order of ASCII values that corresponds to their names. For ex: among two scripts named, "Ascript1" and "Bscript2", "Ascript1" will be executed first. If there is a particular reason that we need one script to be executed before another, make sure you name it properly.
[Galaxy Ace S5830 General] itasoulas:
confused with 777 permissions, can someone post how they look...rwrx something? or all ticked?
[Galaxy Ace S5830 General] pyronia:
Thanks dude :D u have found my thread!

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] pyronia:
Yes! Ticked all for 777!

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] iandol:
no, engengis doesn't wipe dalvik, the cache script is for os cache, not android JIT cache.

here is the code:

#!/system/bin/sh
# Copyright (c) 2012, redmaner
# Copyright (c) 2012, pikachu01 << it's his idea

# Drop caches
sync;
sleep 1;
echo "3" > /proc/sys/vm/drop_caches;
sleep 1;
echo "1" > /proc/sys/vm/drop_caches;

i use engengis to set default governor on boot, and cpu tuner to then modify this according to what battery state i'm in, that works fine together! :)

p.s. there is a ninja mode call terminal which you can run particular commands and one allows you to wipe dalvik, but that is emergency use and manual typing via shell only.
[Galaxy Ace S5830 General] ZN6:
i have try this script

to much lag on my phone and cpu alway load at high frequency:(
[Galaxy Ace S5830 General] pyronia:
Help...

regards,

•ƒγяύs ργяσ™• Line id: pyronia
[Galaxy Ace S5830 General] iandol:
Hm, I think there are some problems with some busybox versions of wget, do you have another busybox version to symlink wget to?

wget -q http://dl.dropbox.com/u/26139869/engengis/updater.sh -O /sdcard/updater.sh

If that command fails, you have a problem somewhere with your wget...

Or try installing in CWM from the ZIP -- I build my own zips from github, very easy to do...
[Galaxy Ace S5830 General] ssDen_lol:
I'm using a LagFreeV3 script and have no problem
[Galaxy Ace S5830 General] iandol:
ssDen -- yes as lagfree errors out you won't see anything unless you are examining your logcat logs :p
[Galaxy Ace S5830 General] tossan:
That's exactly the main "problem" of most of the users: You can't diagnose a problem or error, if you've never been aware of it. Actually, even stock roms still have some bugs implemented by the manufacturer, which you will not see by only using the provided interface. ... :D

^^
[Galaxy Ace S5830 General] pyronia:
True dude, when i was first get this android stuff i was exited to use any flashable script and enjoying the placebo :P but then i realize after do some googleling, damn! :D

regards,

•ƒγяύs ργяσ™• Line id: pyronia
[Galaxy Ace S5830 General] adriansantos:
I'm still on this "enjoying the placebo" stage.:(:(:( I still don't know how to really check the errors you guys have been saying.:( Sad to say, but I'm still using the flashable scripts.:( hahaha Hopefully I'd be pros like you guys, I'm starting off with editing my build.prop.lol But I still don't know if it's working or not.:confused: damn.haha
[Galaxy Ace S5830 General] iandol:
Install the android SDK, a great set of tools not only for developers, but end users! Then use adb shell / logcat to see the startup logs. You can edit scripts to add your own log comments to the startup log. Step by step... :)
[Galaxy Ace S5830 General] g_BonE:
Given that there's Engengis which provides a "user customized" approach to applying tweaks i dont think i'll further refine this script.

I'd still like to hear from anybody experienced with the android boot process - especially init.d processing during boot being sequential or parallel. This might push me towards reworking this script once more ;)
[Galaxy Ace S5830 General] tossan:
How about just opening a thread, which is dedicated to Engengis with full customization for SGA? You'll than never have to bother with some guys trolling around insisting on license fee, permission begging or super correct credits linking for their hard work of just copying, cutting and false formatting of various genuine script sources, but forgetting to test it on the device to see, if it really works without any errors. ... :D

The pseudo init.d process is done by the "busybox run-parts" command. You can search on your device for the script file where it is called upon. The executing order is the alphabetic order of the script file names contained in "/system/etc/init.d/". To test this, just add this line at the beginning (but after the first line beginning with "#!.../sh or .../bash or .../busybox") of every script in init.d

echo "a_script_name executing... @`date`" >> /data/initd_call_order.log

(replace a_script_name with the name of the script you're currently editing and adding this line)

After a reboot you can examine "/data/initd_call_order.log" for the actual order of execution.

^^
[Galaxy Ace S5830 General] adriansantos:
okok. will try this tomorrow, or the next day. thank you!:)
[Galaxy Ace S5830 General] S3BL104:
Eh,how to install it?Is it a flashable zip?
[Galaxy Ace S5830 General] g_BonE:
hi tossan,

thanks a lot for this suggestion on how to look "inside" the init.d process. Going to try this ASAP.

@ S3BL104: the zip-file contains installation instructions. you just copy the script to your etc/init.d folder and give it 777 permissions. oh, and you need to delete the original lagfree script (S95LagFreev3) too.
[Galaxy Ace S5830 General] itasoulas:
g_Bone...giving 777 permissions (all ticked) the phone stucks on android screen. Tried that myself, other users too. Permissions should be rw-r--r-- for phone to start. Even turboboost permissions are set to rw-r--r--

Only script that has all ticked that I have come accross so far is loopy smothness tweak which is posted on galaxys forum I think.
[Galaxy Ace S5830 General] tossan:
The reason you're not stucked up, is most probably because the script in question never get to be executed on boot.

The X in the permissions tells the system that the file is an eXecutable binary (windows: .EXE or .COM) or shell script (windows: .BAT). You can proove me wrong with this assumption by simply edit one of the TurboBoost scripts after this method and report back what you do actually see in the log after a reboot.

On the other hand: If you're getting stucked somewhere means, that one of the scripts, which is executed on boot, does not work the way it should be! ... :D

^^
[Galaxy Ace S5830 General] adriansantos:
Logically this is true, how can something work if it is not executed.lol Anyway, so how do I make this script work guys?:confused: I badly want to delete lagfree v3 and turboboost v8.5.
[Galaxy Ace S5830 General] CallMeVentus:
Tried rwxr-xr-x ?

Herpderp Defy.
[Galaxy Ace S5830 General] adriansantos:
I have not tried rwx-rx-r, but I have tried rwx-rx. Still got stucked on android screen. Will this have any difference master EmoBoiix?:) I tried the rwx-rx permission last Feb 10, my post can be seen on page 3 or 4 of this thread I guess.:)
[Galaxy Ace S5830 General] Mikee.H:
i tried to flash with cwm and i got Installation Aborted, Im running cm7.2 KANG. No other Details were provided ?
[Galaxy Ace S5830 General] CallMeVentus:
It must be something wrong then

Herpderp Defy.
[Galaxy Ace S5830 General] adriansantos:
You're not supposed to flash it. You should manually copy it to your init.d folder.

I think so. Have you tried running this script EmoBoiix3? Did it work for you?:)
[Galaxy Ace S5830 General] Mikee.H:
thanks :) just 1 question, when it says to mount r/w.. whats that? :) cause i couldnt find the S95LagFreeV3 file in init.d .. so im guessing i dont have it? so what do i do now?
[Galaxy Ace S5830 General] adriansantos:
Maybe you don't have lagfree v3 installed by slaid. Regarding the "mount r/w", I don't know what that means.lol Maybe that's the mistake I made that's why it won't work for me.:confused: I don't know, you need the pros on this one Mikee.H. Sorry.:(
[Galaxy Ace S5830 General] Mikee.H:
I tried moving the file to the init.d folder, then set all 9 permissions at the top. Rebooted phone and i was stuck at Android logo :rolleyes: Just my luck? maybe its not ment for me :P

btw i found out the r/w thing :) it was at the top when your in Root Explorer ;) No idea what it actually is though :D
[Galaxy Ace S5830 General] adriansantos:
Same thing happens to me!:confused: Maybe something's wrong? Most of us got stucked at the android screen I guess. Regarding r/w, I also don't know what it is.lol :D
[Galaxy Ace S5830 General] iandol:
By default the /system/ partition that /etc/init.d/ exists on is a read-only file system, which means you cannot edit anything on it. You need to remount it as (r)ead/(w)rite so you can actually add things! ;)

Why people are having problems I have no idea. As long as you have execute bits set those scripts should run.
[Galaxy Ace S5830 General] das.dian24:
I installed this on my phone..ticked all permissions, now im stuck on android logo..

what to do bro?:confused:

Edit: gonna go to restore option (-_-)

Edit: 3rd attempt with rwx--rx--rx permissions still fails to boot..will gonna come back and subscribe here to watch closely..
[Galaxy Ace S5830 General] adriansantos:
OHHHHHHHHHH okay, this clarifies why I can't edit the scripts on Carbon Sunday before. Then when I switched back to TheEnd2.5, I can edit the scripts.lol thank you!:D

Regarding the problem being stuck at android screen, I don't know bro. I did exactly what the instructions said. Clearly a lot of people are having with this.:) Hopefully the next update will be a flashable zip to make sure that it will perfectly work.:)
[Galaxy Ace S5830 General] g_BonE:
@all having the "stuck on android logo" problem: i have no idea how this could be caused by the (a) script. it's basically the same as every other script that gets run from /etc/init.d. I just double checked on my phone and the init.d folder contains 9 scripts which are all "rwxrwxrwx" (777).

Standard CM7 scripts in there are: 00banner, 01sysctl, 02cooper, 03firstboot, 04modules.

Then i have 05apps2sd, 20userinit and 99complete (darktremor App2SD)

And of course S99_LFv3gB

i guess the scripts would also run if permissions are "rwxr-xr-x" or even "r-xr-x---" : just at least one "x" needs to be set, else the script would not be executable.

What permissions are set on the original LagFree_v3 script ? If in doubt, just copy the permissions exactly the same as other scripts in the etc/init.d folder have.

I can only recommend using RootExplorer as its pretty intuitive when it comes to copy/paste'ing files or setting permissions.

For people still stuck on android screen: You could have a look at the syslog/DMesg using DalvikDebugMonitor which is part of the Android Development Kit. You can see exactly where the phone stops. As a nice side effect, most of the problems can be fixed using ADB (also part of the Android Dev Kit) and the Recovery mode of the phone.

On creating a flashable zip: I have NO idea how to do this YET but i give everyone willing to do so my "Go ahead" on wrapping this script into a flashable zip.

Oh, and to clarify this: I waive copyrights, copywrongs and whatever/whatnot on this script. It's just a reroll of Slaid480's script. Everyone do whateveryone wants with it ;)
[Galaxy Ace S5830 General] adriansantos:
Thank you g_BonE! Going to study on this one, it looks like a very complicated process.lol Sorry for the noobness here.:(

follow up: I have 00banner,01sysctl,02cooper,03firstboot,04module,05mountsd,06mountdl,20userinit,87calibration,s95lagfree,s95zipalign,s98cfsk,s98systemtweak

All are set to rwx-rx--- (the default permission of the original lagfreev3). I believe that I should delete the last 5, did that before. Then copied your new script > moved it to init.d > set permissions to rwx-rx > then reboot. Got stuck at android screen.:(
[Galaxy Ace S5830 General] tossan:
"stuck on android logo"

Tried it. NO "stuck on android logo" over here.

chmod 777 /system/etc/init.d/S99_LFv3gB
busybox ls -al /system/etc/init.d/S99_LFv3gB
-rwxrwxrwx 1 0 0 11.3K Feb 15 14:12 /system/etc/init.d/S99_LFv3gB

Added this

#!/system/bin/sh

#### redirecting all output to "/data/ToS_initd.log" (stderr & stdout)
LOG=/data/ToS_initd.log
exec >> $LOG 2>&1
set -x
echo "~~~~ S99_LFv3gB executing... @`date`"

at the beginning of the script and this at the end

echo "~~~~ S99_LFv3gB ... ENDED! ~~~~ @`date`"

And this is the log result -> ToS_initd.log (see attachment)

^^

Once again: congratulations to the ones enjoining the placebo effect! ... :D

^^
​
[Galaxy Ace S5830 General] das.dian24:
uhm what are the other scripts you've installed/deleted?

is it possible that the turboboost is making the conflict?i also have turboboost installed..
[Galaxy Ace S5830 General] g_BonE:
@das.dian24: thanks a lot, this logfile gave a DEEP insight on which tweaks work and which don't. also i can see a few problems with commands not being found etc. Sweet.

Speaking of "Placebo Effect": Yes, maybe those scripts have little to no effect. im beginning to doubt myself aswell. Is there a way to prove a performance increase if there is any at all ? Can the system settings changed by the script benchmarked somehow ?

Well well... guess i'll install a benchmark app like AnTuTu and do some comparisons with and without but i guess as this is just a syntetic benchmark the results might not be very revealing.
[Galaxy Ace S5830 General] das.dian24:
sorry bro the logcat is not mine..Its tossans <-- all credits and thanks goes to him ;)
[Galaxy Ace S5830 General] tossan:
Actually, this is the first script I've ever installed on my device. Reading about you guys having problems to get it properly working, I've installed it out of pure curiosity to see the main cause of the problem (if there has been any to begin with).

My advice is now:

You should only enable a script package (with many single scripts contained ) by selecting individual scripts one by one first. Than check, if it is working as advertised. After that you can still proceed with content to the next one. Otherwise you will run into a problem, which you will have no chance to track down the root of the cause.

In the case of a carefree package like this Lagfree-all-in-one-package, you should troubleshoot the whole script or divide it again in several scripts to confirm, if a tweak does really work as intended.
[Galaxy Ace S5830 General] adriansantos:
Damn tossan, I've downloaded your zip file. I closed it 2seconds after opening it, it's like reading Chinese!:eek::eek::eek: LOL Anyway, you seem to be very meticulous with these scripts. Any chance that you could be building your own and share it with us?:D
[Galaxy Ace S5830 General] rjyama:
Flashed the script, not stuck on the android boot but status bar is gone :D

Im using ics final by jusada :)
[Galaxy Ace S5830 General] pyronia:
If u want to test which line cause trouble...make a saperate script to it...1 line/tweaks for 1 script...

Put in init.d 1 by 1 on each reboot...put permission to all script to 777..

U will notice which tweaks are not mean for your phone...i will make a saperate script with it if i have times... :(

regards,

•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9
[Galaxy Ace S5830 General] pyronia:
Update: lagfree from OP saperate by me

http://db.tt/N2oEXtp5

Test it one by one...charge your phone first as u need 16 reboots to try it :)

regards,

•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9
[Galaxy Ace S5830 General] Prashanthme:
Stuck at android logo!!!!

After applying this tweak using ROOT EXPLORER... I rebooted the phone.. Stuck at ANDROID boot logo....
[Galaxy Ace S5830 General] pyronia:
Look at my post above u...i make a saperate script to it, try one by one...

regards,

•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9
[Galaxy Ace S5830 General] Prashanthme:
Phone not booting only.. wer to try?
[Galaxy Ace S5830 General] adriansantos:
I'm sorry to ask this, is this a flashable zip?:) Or should I extract it and copy and paste one by one?:) I see 16 files pyro.:)
[Galaxy Ace S5830 General] pyronia:
No...u need to extrack, and if u see the file extention .txt just rename then delete .txt on it..

regards,

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