[Script] Smurfed Out V 6.6 (ultimate build.prop/init.d tweaks)

Papa Smurf151

Member
Jun 13, 2010
6
5
0
Visit site
Welcome to Smurf Land.......Where you are whisked away to a smurfalicious place!

LA LA lalalala LA LA LA LA LAAAAAA....

Alright enough with the cuteness of all this.

Basically I have created a script that prompts you (the user) to answer some vital information them based on your answers the script will inject specific tweaks to your build.prop and also to a file in your init.d folder. These tweaks include battery tweaks, memory tweaks, speed tweaks, governor tweaks, 3g and wifi tweaks, SD card tweaks, and a bunch of random tweaks. Some collected from a bunch of different phones tweaks and others created by me.

The script will search out every line in your build.prop and remove any line that is there that I am adding and remove it first to reduce duplicate codes. It will remove a whole list of other init.d files that conflict with it. Will also create a few other files and folders to add functionality and speed optimization to your phone.

What if you do not like the tweaks that I added.....well the script creates back-ups for you and you can choose the option to Un-Smurf and it will set you back to before you installed.




CREDITS

zeppelinrox for his excellent scripts.
tommytomatoe for answering all my ridiculous questions and also the space in which to post my work
Lpy for his loopy smoothness
eoghan2t7 for his tutorial on loopy smoothness
knzo for his collection of tweaks
st@matis for his collection of scripts which I pulled some tweaks from
metalspring for his explanation of a lot of tweaks and some build.prop and init.d tweaks
scottypeterson for his ultimatescript
cwc3 for his collection of scripts which I borrowed settings from
tazzz811 for his thread on some great init.d tweaks
droidphile for his incredible guides and some great governor tweaks and I/O scheduler tweaks

Each persons name has a link attached to it to show their work and threads which to thank them.

These Settings are all over the Internet across multiple forums and presented by more than a dozen people. If any setting in here was initially created by you and you did not get credit please PM me with your Info so I can add you to the credits. No work here has been stolen or taken on purpose. If you created or founded any of these setting and do not wish for me to use them then again please PM me and I will remove them as soon as possible. Please do not start a flame war on this thread due to my ignorance. I am just trying to get these settings out to as many people as possible to bring the smoothest experience to Our phones.




Instructions

1. Download Smurfed Out script.

2. Open up Script Manager found here if you don't have it

3. Scroll Down to the Smurfed_Out.sh file and click on it. This could Possible be in your downloads folder.

4. Click on the su key, the skull and crossbones, or run as root depending on which version of script manager you have then click run

5. Follow instructions on the screen.




!!! Warning !!!

By using this script you acknowledge that it could possible break your phone. In other words don't come running to me when you phone burst into flames and or it leaves you for someone as sexy as it has now become.





Download

arrow.png
arrow.png
arrow.png


Smurfed Out V 6.6






Other Phones

Please feel free to post a thread in other forums or other site but please link back to here for the downloads. I am trying to give the user the best experience possible and if dl links are made all over the place then there is possibility for them to not get updated when I release a new version. Plus the info in the first three post here explains alot.




Developers

If you would like this baked into your ROM the PM me and I can help. I already have a ZIP file created with he exact files that you need and instructions with how to implement. I need to make a few corrections based on your specific Rom but it is an easy fix and would rather do it or help you do it so there arnt any conflicts at all. I have already helped a few other DEV's bake it into their Roms and it works great.




Thank Me

If You Find this post USEFULL and ENJOY using the SMURFED OUT Script then Please take the time out to THANK ME. I'm Not asking for Donations but this does take countless hours to put together. Also you can click the links in my sig to see my working in the google market(PLAY) follow me on my Twitter and Facebook sites





Info


I/O Scheduler descriptions

Different Governors <---Half way down page!

LMK Settings (Low Memory Killer)/ADJ & MINFREE Values




ICS USERS

IF running ICS then go here to auto patch your SERVICE.JAR for new OOM settings.
FYI your services.jar can be found /system/frameworks/services.jar.





Seriously

If your coming from a version before 4.0 I Highly recommend Un-Smurfing First





Highly Recommended

If you want to make sure the settings stick....go into your /system/etc/init.d folder with script manager and set the 45smurfed file to run as root and run at boot. Some say this makes the setting stick others see no effect.





MUST READ

If your launcher does not show up in the auto detector then please inform me of the package name (found in /data/data) usually looks like this blah.blah.launcher. I will add it to the database and update the script rather quickly.





Change log

V 6.6

  • Added Instant Smurf-Power option which will clear out caches and give your phone an oh so fresh feeling (kinda like restarting your phone without having to)
  • Added in half a dozen build.prop tweaks
  • Fixed Some issues with the 45smurfed file
  • Added in ability to choose how much you want your Dalvik heapsize to be
  • Rearranged the Loopy Smoothness Tweak
  • Added in EXT4 Tweaks (convert your sd card over to ext4 and answer the question in the script for it to go into effect)
  • Added in swap support
  • Added in some new checks
  • Added in some permission sets so settings dont get overwritten
  • I'm sure there are more but can't think of any

Highly recommended that you UN-SMURF before you run the newest version as some of the files that the script removed in last version are needed in this version.

V 6.5.1

  • Fixed name of Launcher not being correct
  • Fixed wifi and 3g not switching, addition of last minute build.prop tweak jacked it all up

V 6.5

  • Fixed some syntax errors
  • Corrected names of a few launchers
  • Added in redundancies to back up everything the script removes so when unsmurfing there is no residual effects and everything is returned to Pre-Smurfed conditions
  • Everything is now backed up to a folder created on your SD card now instead of spread all over. File is called SmurfedBackups
  • Tried to fix Launcher Detector not reading some Launchers but cant get pm list packages to sent list to a file with out getting a segmentation error...any suggestions would be helpful
  • If your launcher is not found and you know the name of it try it out cause its saved in the detector as a launcher just isn't being autodetected
  • On AOKP and roms based off of it some of the init.d tweaks you find in rom control startup tweaks will not work anymore as i removed them becuase my script does it for you now. They will be restored if you Un-Smurf
  • Updated HTML doc with latest build.prop edits
  • Changed a few settings in build.prop

V 6.4

  • Fixed launchers not being found
  • Reorganized code
  • Added the google dns servers to the resolv.conf file
  • Added in check for HWA and if there it removes cpu rendering to speed up os
  • Fixed some syntax errors in init.d file
  • Added in a few new build.prop tweaks
  • Added in regroupings of OOM Settings into the build.prop

V 6.3

  • Added Miui Launcher
  • Added Lightning Launcher
  • Changed the way the I/O Schedule List shows up
  • Changed the defraging database process. Should be a lot cleaner now.
  • Added a few extra build.prop tweaks. If you look at them the values are
  • supposed to be blank.

V 6.2

  • Fixed problem with Cron files not copying over correctly

V 6.1

  • Fix syntax error

V 6.0

  • Added checks to make sure no typing error occur
  • Added info on which settings you are using to menu
  • Added more options to the menu that allows you to
  • Change your Launcher
  • Change your LMK Settings
  • Change your I/O Scheduler
  • Changed LMK settings names (Spaceballs Reference now)
  • Added adj actual numbers to LMK settings so user knows the values
  • Added CRON to wipe different cache every hour ever day and every week
  • Script now Auto finds your Launcher(s) and has you select from a list (If
  • yours doesn't show up tell me in this thread and I will add it. I already have over 60 different launchers presearched)
  • Fixed init.d file (some variables wernt getting sent correctly
  • Removed some build.prop edits as to fix 3g and wifi issues
I think that's it. But im sure I missed something

V 5.0

  • Changed delivery of the init.d file
  • Changed the numbering of the init.d file
  • Took away 3g/wifi tweaks that were interfering with wifi connecting and toggles not working
  • Added in checks to remove some conflicting init.d scripts
  • Added in checks for Selection of aggressivness of OOM (adj & minfree) settings
  • Added in an option of what I/O scheduler you want to run
  • Added in a few other build.prop tweaks
  • Cleaned up some code

V 4.7

  • Added OOM levels
  • Added Min free values
  • Added Min KB values
  • Added option to choose from AOSP or SENSE
  • Added Option to Choose from ICS or Gingerbread
  • Lowered the Wifi option to normal levels for connection issues

V 4.6

  • Changed ro.ril.enable.a52=1
  • Changedro.ril.enable.a53=1
  • Changed net.tcp.buffersize.default=6144,87380,1048576,6144,87380,524288
  • Changed net.tcp.buffersize.wifi=524288,1048576,2097152,524288,1048576,2097152
  • Changed net.tcp.buffersize.umts=6144,87380,1048576,6144,87380,524288
  • Changed net.tcp.buffersize.gprs=6144,87380,1048576,6144,87380,524288
  • Changed net.tcp.buffersize.edge=6144,87380,524288,6144,16384,262144
  • Changed net.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144
  • Changed net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
  • Changed net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576
  • Changed net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
  • Added ro.media.enc.hprof.vid.fps=65
  • Govenor Tweaks for Interactive, Ondemand, OndemandX, SmartassV2, Lulzactive, and Conservative
  • Changed kernel.msgmni=64000
  • Cleaned up Code even more

V 4.5

  • Added a few more tweaks to the 01Smurfed file
  • Added a few more build.prop tweaks
  • Hopefully fixed the wifi->3g->wifi issue
  • Cleaned up the code a little

V 4.1

  • Changed picture and video settings...camcorder works now
  • Increased and decreased a few values
  • Added a huge amount to the init.d file
  • Removed the minfree values from the init.d (if you want them back I can release one for Gingerbread and one for ICS)

V 4.0

  • Removed some tweaks that were causing issues
  • Added in some new tweaks
  • Changed a few Settings for better response
  • Script now checks to see if your using a local.prop and if so copies settings to it as well
  • Now script creates a file in you init.d folder called 01smurfed. This has many new tweaks that will run on every boot
  • Comments put into script to explain what exactly is going on
  • Credits given in OP

V 3.3

  • Removed some setting that were either not necessary or we causing issues for some
  • Added in some new tweaks I figured out
  • Fixed 3g not connecting right after turning off WiFi
  • Fixed WiFi not connecting sometimes
  • Script now wipes dalvik-cache and requires a restart. Restart will take a little longer due to rebuild of dalvik
I HIGHLY recommend UN-SMURFING before you apply the newest script. I have noticed huge improvements from this last update

V 3.2

  • Added a few more tweaks
  • Fixed a typo
  • Made sure system was remounted as read/write before settings took place

V 3.1

  • Removed super user check. (Giving errors to some)
  • Fixed my bad spelling (lol)

V 3.0

  • Added 10 new edits
  • Cleaned up code
  • Made sure temp files were being deleted correctly
  • Change a number of setting for better tweaking

V 2.0

  • Huge code change. Now with options.
  • Now scans and removes duplicate lines

V 1.0

  • Initial release
  • Over 30 build.prop edits with more to come.
For a detailed list of settings that this script copies to your Build.prop go to /sdcard/SmurfedBackups/Smurfed_Out.html





!!! WARNING !!!

This Script now interferes with alot of other scripts. I'd recommend unsupercharging and removing some other scripts as well...Tweaks, Read Ahead SD card tweaks, Governor Tweaks, and I'm sure there are a few others. This script searches for some of the scripts mentioned and removers them if found.




Un-SMURF

During the Smurfing process a copy of all removed files is sent the the SmurfedBackups folder on your SD card. When un-smurfing your phone will be restored back to the exact way before Smurfing.





Future Releases

1. Adds in as many battery saving, speed, and responsiveness tweaks as I can find throught out many different forums.
2. removes any other script that is previously installed that may be using same tweaks....if not removing the script itself it will search out each line of each script and remove the lines individually.





FEEDBACK & BUG REPORTS

Please leave feedback after you run so others know how well this script works. I will try my best to help with any bugs that are found. If found please report in this thread with the following info
  • What Rom are you running?
  • What Phone are you using?
  • What settings did you choose in Smurfed Out script?
  • What Governor are you running?
  • What kernel are you using?
  • What things did you try before reporting?
  • What issues are you running into?
  • What is your Name and Social Security number? (lol)
  • What is your Blood Type? (LMAO)
  • Have you ever thought about donating an organ? (LMFAO)





Syntax Errors or Suggestions

If reporting syntax errors or suggestions to improve the script then please put them into code brackets so I can easily read them and also line number if you happen to remember helps as the script is over 2500 lines now. I appreciate all help with these errors and suggestions to improve the script.






Troubleshooting

My WiFi or 3G doesn't work or wont switch?
Go into recovery and wipe dalvik-cache and cache and reboot.
Check to see if data is enabled in your settings.
Check to make sure if your using a battery saver app like battery xl or juice defender that is not turning off your radios

My camcorder isn't working?
Make sure your using the most recent script. The fix was made available on V 4.1

Does this script work for other phones?
Yes in theory it does. Let me know if it works or not and I'll put it in the OP so others know

I can't get this script to run in script manager?
Make sure you are opening the script with superuser rights within script manager

Can I run this in terminal emulator?
yes type this is command line. also make sure that Smurfed Out is on root of your sd card
Code:
su
sh /sdcard/Smurfed_Out.sh

After running the script and rebooting Im getting a blank black screen?
First scroll down and read just in case and follow those instructions then follow Bug Reporting procedures

My phone got up and ran away from me?
Well this can be a problem....On one hand that would mean that this script really works...on the other hand it means your just not cool enough for you phone anymore and it found someone better.





Just In Case

Build.prop.zip attached is a flashable zip in case of emergency. It has the build.prop of aokp rom in it. If your not running that rom...download the zip. open it up. go into the system folder. Replace the build.prop with the build.prop from the Rom.zip that you are running. Put on your sd card. Flash in recovery. I am putting this here cause in the past there were issues with the script causing a freeze after boot and some people had to nand back or reflash their rom. This will fix that. Enjoy.
 
Last edited:

CaMelGuY1337

Well-known member
Feb 22, 2011
1,276
137
0
Visit site
Man, I came across your script on XDA but I.can't post in the dev threads yet so I couldn't tell you thanks. This script is awesome hands down!!!! I'm running CM7.2 right now and even my boot time is significantly faster after I smurfed my EVO. Grerat work man, can't wait for the newest release. :D:cool:

Sent from the greatest HTC EVO 4G ever made!!!
 
Last edited:

cedtrek

Member
Jun 4, 2011
15
0
0
Visit site
Re: [Script] Smurfed Out V 4.6 (ultimate build.prop/init.d tweaks

Even with the reported wifi 4g issue affecting my phone I cant give up the speed and funcionality imporovments of this script. I'm running on cell data alone until Papa Smurff gets it fixed.
 

CaMelGuY1337

Well-known member
Feb 22, 2011
1,276
137
0
Visit site
Gonna download Decks new pre-beta5 and give it a whirl with this. Should work out nicely I'd say. :)

Sent from the greatest HTC EVO 4G ever made!!!
 

Papa Smurf151

Member
Jun 13, 2010
6
5
0
Visit site
Re: [Script] Smurfed Out V 6.6 (ultimate build.prop/init.d tweaks

OP Updated to V 6.6

Recommended to UN-Smurf before running newest version

Check changelog for upgrades
 

AzzleDazzle

New member
May 5, 2012
2
0
0
Visit site
Re: [Script] Smurfed Out V 6.6 (ultimate build.prop/init.d tweaks

Hey guys, Im trying to make my own ROM for the very first time,, Do you think this will be compatible with the HTC One S ?? I see its working on a large amount of HTC phones,

Im a noob at ROM making i really need some assitance, Also, Is it possible to add this into my ROM and make it run as root and at boot without script manager ? I.E using terminal in ubuntu or something similar...

Thanks,