[Q] init.d tweaks conflict? - Optimus One, P500, V General

Im using V5 tweaks by [email protected] I had some Questions..
Will the script work in my init.d if two scripts have BOTH similar numbering??
for EX:
05mountsd and
05netspedd
06loopy_smothness
06mountdl
--conflict or not?---
is there any conflict regarding about same numbering in init.d??
please if anyone knows about this, kindly reply,
all i can give in return is by hitting THANKS for you..

Related

[SCRIPT] Slaid480's LagFree V3 script -fixed- -optimized-

Update 03-04-12:
This project moved to:
http://forum.xda-developers.com/showthread.php?t=1529746
---
Update 02-18-12:
Just to clarify: DONT FLASH THIS ZIP-FILE !!! It's NOT a flashable zip.
On sidenote, maybe the bootloop problem is caused by traing to flash this zip ? Maybe the .txt file in there confuses android ? I don't know but DONT flash this! Use manual installation.
---
Would any OP be willing to move this thread to the Ace Development Subforum ? Thanks a lot !
---
Update 02-09-12 (number 2):
The touchscreen sensitivity tweak was removed from the script as suggested by the posters here. It did not work anyway as the path to the files was non-existant.
Attached the updated script with short installation instructions.
---
Update 02-09-12:
I went through the LagFreeV3 script and cleaned it up / optimized it so there are no more useless repetitions of the same commands. Succesful startup of the script was tested using DDMS.
Attached the cleaned up script with short installation instructions.
---
All,
longtime lurker - first time poster here. Since i'm not allowed to post into the Ace Development subforum i have to post right here.
Looks like there are some bugs in Slaid480's latest LagFreeV3 script. On my ace running DDM during boot i can see it erroring out right here:
Code:
02-08 14:26:50.239: I/run-parts(100): /system/etc/init.d/S95LagfreeV3: 351: Syntax error: word unexpected
02-08 14:26:50.239: I/run-parts(100): run-parts: /system/etc/init.d/S95LagfreeV3 exited with code 2
so it's not even running to its EOF due to this error. Looking at he script the lines around line 351 look like this:
Code:
echo ${READ_AHEAD_KB} > /sys/block/mmcblk1/queue/read_ahead_kb
for i in \ `find /data -iname "*.db"` do \ sqlite3
$i 'VACUUM;'
done
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_wmem
with " $i 'VACUUM;' " being on line 351. So: i'm not a BASH pro but maybe someone knows what is the syntax error in here and a way to fix it ?
Also by looking at the script there seem to be a lot of lines / functions doing the same things over and over, like setting minfree or readahead_kb - maybe in a community effort it would be possible to consolidate that script into something smaller and more streamlined ?
Just a thought
Yes I think it might have to do with that word.....try deleting the line .
Herpderp Defy.
maybe slaid can give this a clue?
g_BonE said:
...
Also by looking at the script there seem to be a lot of lines / functions doing the same things over and over, like setting minfree or readahead_kb - maybe in a community effort it would be possible to consolidate that script into something smaller and more streamlined ?
Click to expand...
Click to collapse
slaid did exactly that to
One Script To Roll Them ALL
Click to expand...
Click to collapse
I guess while cutting, pasting and reformatting all of known scripts to streamline them, two more newlines were accidentally added here?
Try to edit the above code snippet to
Code:
for i in \ `find /data -iname "*.db"` do \ sqlite[B][COLOR=Red]3[/COLOR][/B] [COLOR=Blue][B]$[/B][/COLOR]i 'VACUUM;'
and see, if it runs till the end. ...
^^
i will give this a try and come back here to post about the results. meanwhile i was also thinking about shuffling through all the parts in the script that essentially do the same thing, dont know if i'd be allowed to clean this up and repost the cleaned version here ?
I'd PM Slaid and ask him. The android spirit is one of openness, as is the spirit of almost all the work on modifying our favourite android ROMs. LagfreeV3 doesn't specify a software licence so it is not clear what slaid's intentions are in terms of modifications to his code. Ideally code should be licenced (and forkable via github) to make these things clearer. I think the broken bits are supposed to be formatted as in the following (the equivalent function in engengis, written more robustly):
Code:
for i in \
`busybox find /data -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
There are other sorts of errors, like the broken hashbang on line 387 (which is just a stock turboboost copy'n'pasted in) -- and yes, loads of places in which lagfreeV3 does something which is then done again by the inline turboboost. As some ROMs include turboboost and lagfree, when they upgrade to V3, things will often be repeated 3 times!!!
Looking at the code a bit is another good reason to try engengis, which combines many tweaks in a flexible system without all the duplication.
iandol said:
...
LagfreeV3 doesn't specify a software licence so it is not clear what slaid's intentions are in terms of modifications to his code.
...
Click to expand...
Click to collapse
There ain't any, because he also only copied it from several sources. You can find there names and "Copyrights" verbatim in there.
iandol said:
...
Looking at the code a bit is another good reason to try engengis, which combines many tweaks in a flexible system without all the duplication.
Click to expand...
Click to collapse
Good find! I'll take a closer look. Like it already, that the options are well explained and documented.
^^
iandol said:
Looking at the code a bit is another good reason to try engengis, which combines many tweaks in a flexible system without all the duplication.
Click to expand...
Click to collapse
Maybe a little out of topic, but what if we want to switch to engengis from lagfix? I have both lagfix and turboboost installed on my stock rom and i'd love to switch to this new tweak, but how? Is removing S95lagfix in /system/etc/init.d good enough?
As i mention in his thread, if u looks closedly u will find more lines actually not working...its maybe taken from other device tweaks
regards,
•ƒγяύs ργяσ™•
Delete S95Lagfree to get rid of lagfreeV3.
87calibration, S95zipalign S98CFSK and S98system_tweak remove turboboost.
Engengis contains the cache dropping (S98CFSK), zipaligning (S95zipalign) and deep tweaks (S98system_tweak) of turboboost, and I delete 87calibration as all it does is delete batterystats the first time it is run which I'd rather not do (and engengis can do this via the commandline control when I choose to).
Engengis also contains the same sqlite3 version as turboboost to optimise the sqlite databases, and performs both a a vacuum and a reindex, which is more thorough optimisation than the lagfree/turboboost combination seems to do...
Alright, after some ~6 hours of fiddling with the lagfree V3 script i managed to get it semi-cleaned up. I'll post the zip-file in my first post of this thread.
Regarding Engengis: I'll have a look at this soon and give it a shot
Touchscreen tweak will not working coz there are no path name like that exist...
regards,
•ƒγяύs ργяσ™•
will try it later on! So still thiscompatible with turboboost? Delete s78touchscreen part from turboboost, right?
Thanks...6 hours is a lot of work dude!
thanks g_BonE -- you still have the touchscreen tweaks in at line250
Reading through the code this is much better than lagfreeV3 original, and should combine better with turboboost...
Thanks for the nudge to the non-working touchscreen tweak. I removed the tweak alltogether and reuploaded the fixed script. See first post
I'll have a go at the turboboost v8.5 script: maybe i can integrate all / most of it into the cleaned LFv3 script. Maybe also the "journaling disabler" script can be integrated as it is just a matter of mount options.
g_BonE said:
Thanks for the nudge to the non-working touchscreen tweak. I removed the tweak alltogether and reuploaded the fixed script. See first post
I'll have a go at the turboboost v8.5 script: maybe i can integrate all / most of it into the cleaned LFv3 script. Maybe also the "journaling disabler" script can be integrated as it is just a matter of mount options.
Click to expand...
Click to collapse
I am really not an expert, not even close, but doing a script with so many lines will probably not have the desired result?
As member pyronia suggested it's better to do small scripts for a specific task than having one for all. Maybe the one for all script would suit devices with more power to process the script?
Anyway, already thanked, glad someone cleaned that script, watching you closely for the updates!
I was used this fix script. But when I check in terminal manager 'a2sd check' the end value min RAM free change to 14xxx, when used lagfixv3 the value is 23xxx.
So actually it's works or not? Thanks
Sent from my GT-S5830 using Tapatalk
Hello g_BonE!
I'm having an issue with your last version (I got stucked in Android Screen). Is there anything I did wrong? I just entered in /system/init.d/deleted s95lagfix and simply copied you s99 with all permissions (with root explorer) and then I got stucked.
What can I do?
Thank you very much for your script!
I knew it there was something fishy with these scripts.LOL Thank you g_BonE for your effort! I'll be hitting the thanks button buddy. Oh and another thing, should I delete V8.5 TurboBoost too?
---------- Post added at 08:38 AM ---------- Previous post was at 08:26 AM ----------
For the people who don't read the instructions:
You should delete S95Lagfree first, located at etc/init.d. Then paste S99_LFv3gB on the same folder (etc/init.d), then set permissions to rwe-rwe-rwe.
I used to think that it should be at rw-r-r sir g_BonE.
itasoulas said:
I am really not an expert, not even close, but doing a script with so many lines will probably not have the desired result?
As member pyronia suggested it's better to do small scripts for a specific task than having one for all. Maybe the one for all script would suit devices with more power to process the script?
Anyway, already thanked, glad someone cleaned that script, watching you closely for the updates!
Click to expand...
Click to collapse
Yeah bro, i test so many script but not all working well coz of too much lines..the devices itself maybe could not read the script properly when too much lines in it, thats why i make a single line script that actually u can see the different...
regards,
•ƒγяύs ργяσ™•

[SCRIPT][android 2.2+]UNLIMITED™BOOST[11.11.2012]

Request:
Guys i would need a little favour.
As you may know im 17 years old.
Next year in august my class is going on school trip.
We dont know destination yet but it will probably be Czech Prague.
We would stay there around a week.
It would cost around 450euros + i need some money to spend 150euros.
Why am I asking for donations?
I would really want to go but i dont want my family to spend that kind of money but they cant even afford it.
My rom is one of most downloaded in this section and manny people use my UNLIMITED™tweaks and UNLIMITED™BOOST and i think i would deserve to get some help from you.
Every donation is helpful and I hope you will make this trip possible for me.
Click to expand...
Click to collapse
◢UNLIMITED™BOOST◣​give your phone amazing performance boost and better battery life​
What is UNLIMITED™BOOST ?
UNLIMITED™BOOST is my script package.
It has almost every script in it combined for better performance and battery life.
Can i use UNLIMITED™BOOST with some other script ?
Basicly you cant. Cause of different values and it wouldt work good but there are some perfect partners for this like:
-- v6 supercharger (recommended)
-- Adrenaline™ Task Manager (recommended if your rom doesnt have task manager)
-- modded services.jar
-- if there is some other perfect partner let me know
What does UNLIMITED™BOOST give you ?
-- Modified v6 super charger script
-- Modified ThunderBolt script (not 100%)
-- Modified Adrenaline Engine
-- Adrenaline Boost (use it with terminal emulator to clear ram)
-- VM Tweaks
-- SD card tweak
-- cache cleared at every boot
-- GPU rendering
-- Zram script
-- loopy smoothness tweak
-- darky zipaling
-- live wallpapers smoother
-- lag fixer
-- kernel tweaks
-- Battery tweaks
-- ext4 smart mounting
-- Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access
-- Increase touchscreen sensitivity
-- internet speed tweaks
-- much of prop tweaks
-- CWM Flashable
-- Less lags through LMK Tweak and Various VM Tweaks
-- sysctl tweaks
-- journalism
-- disable logger
-- some apps open faster due to tweaks (phone, keyboard, messaging...)
-- io scheduler tweaks
-- various tweaks
-- many other tweaks
UNLIMITED™BOOST requirements ?
-- android 2.2+
-- cwm
-- 2mb free on system
-- kernel/rom with init.d support
-- rooted phone
How do I install UNLIMITED™BOOST ?
1.Delete all others script you have installed in system/etc/init.d
2. Copy scripts to your sd card
3. Reboot your phone to recovery
4. Mount /system and /data (important)
5. Flash script
6. Reboot your phone..
7. Done
DOWNLOADS​
DOWNLOAD v2
DOWNLOAD v3
DOWNLOAD v4
DOWNLOAD v5
DOWNLOAD v6
IF U WANT TO MAKE YOUR PHONE EVEN FASTER CHECK MY BUILD.PROP TWEAKS LIST​
FOR VSYNC ACTIVATING:
A)Use this commands in terminal emulator:
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/init.d/20-vsync
echo "#" >> /system/etc/init.d/20-vsync
echo "echo "1" > /d/clk/mdp_vsync_clk/enable" >> /system/etc/init.d/20-vsync
mount -o ro,remount /system
Click to expand...
Click to collapse
B)Flash this with cwm
DOWNLOAD
IF YOU THINK YOU KNOW SOME BETTER VALUE.
SUGGEST ME ANY TWEAK.
JUST PM TO MAKE THIS SCRIPT BETTER ​
* I CANT OFFER SAME EFFECT ON EVERY PHONE.
CREDITS:
-- zeppelinrox
-- pikachu01
-- forever king
-- smokin1337
-- imbawind
-- slaid480
-- smokin1337
-- [email protected]
-- Sandy7
-- darky
-- lpy
--totiadrenalin
-- if you think you should be here send me PM
(bad)
installation aborted
on my lww with Gingercruzt xs r.03(2.3.7) and xkernel.
Equama said:
(bad)
installation aborted
on my lww with Gingercruzt xs r.03(2.3.7) and xkernel.
Click to expand...
Click to collapse
then u can do this
extract script
copy files to folder they have to be in
and set permission
mv_style said:
then u can do this
extract script
copy files to folder they have to be in
and set permission
Click to expand...
Click to collapse
Same happened to me. I will direct your copy. Zip (system / etc) and paste all your script to see if it works. Thanks for the input.
Bluemmanuel said:
Same happened to me. I will direct your copy. Zip (system / etc) and paste all your script to see if it works. Thanks for the input.
Click to expand...
Click to collapse
dont forget to change permission
nice work my friend..ill try it asap.
mv_style said:
dont forget to change permission
Click to expand...
Click to collapse
I forgot XD. If I give all permissions no problem right? bone to give permission for everything (all files)?
Good will use it in. My rom
Sent from my SK17i using xda app-developers app
Bluemmanuel said:
I forgot XD. If I give all permissions no problem right? bone to give permission for everything (all files)?
Click to expand...
Click to collapse
yes u can give for everything
fixed it..
actually sandy7 did
mv_style said:
fixed it..
actually sandy7 did
Click to expand...
Click to collapse
not a problem....anytime...
it work on stock kernel? i have lww with locked bootloader
chikrron said:
it work on stock kernel? i have lww with locked bootloader
Click to expand...
Click to collapse
yes but u need init.d support
ok thanks buddy
Init.d Support
im using a wt19 on stock ics 4.0.4. Does this have init.d support? or is there a way to find out? Cuz i want to try out your tweaks
EDIT : I already have supercharger installed and i found the script in the init.d folder, so im guessing it does have init.d support
bucky747 said:
im using a wt19 on stock ics 4.0.4. Does this have init.d support? or is there a way to find out? Cuz i want to try out your tweaks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1417375
this is what u need
mv_style said:
http://forum.xda-developers.com/showthread.php?t=1417375
this is what u need
Click to expand...
Click to collapse
Thanks bro, will test it out.
looks great.. will add it on my HoneyBreadSandwich.. :fingers-crossed:
Update soon
do i have to do anything to active supercharger or is already active 100%? I am using unlimited rom on my mini pro
(sorry for my english)

Can Anyone Help me Add this to kernel?

Hello guys, can anyone here help me add this line to kernel at init.rc?
Code:
service shelld /system/xbin/shelld
class main
I was trying to port MIUI to my device but sadly launcher and Themes FC because that line is not included at init.rc
Here's the kernel: http://www.mediafire.com/?m88pan88ew8bons
And If you guys can? Can you also include this?
http://www.mediafire.com/?fsn3dl3fez2r4u5
THANKS!!!

Can Anyone Help me Add this to kernel?

Hello guys, can anyone here help me add this line to kernel at init.rc?
Code:
service shelld /system/xbin/shelld
class main
I was trying to port MIUI to my device but sadly launcher and Themes FC because that line is not included at init.rc
Here's the kernel: http://www.mediafire.com/?m88pan88ew8bons
And If you guys can? Can you also include this?
http://www.mediafire.com/?fsn3dl3fez2r4u5
THANKS!!!

Init.d

what is the right permissions for a init.d script? any flashable init.d scripts for GB Xperia U? thankss! ))
AW: Init.d
Maybe this Tweaks-Script-Collection Thread can help you: http://forum.xda-developers.com/showthread.php?p=27389008
There are also init.d tweaks in it.
Hope it helped
Sent from my XperiaU
I believe most files work fine with 755 permissions but 777 is the safest bet The important part is the +xr flag so anything above 5 should be enough for any Group

Categories

Resources