yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] edgarzonjr:
I can confirm that even if you do everything right on Shooter 5.4 it won't let you smurf out your phone. You have to do it manually. You'll notice that the Shooter build.prop already has some of these values set so you'll want to remove the duplicates.

Since then I've switched over to MIUI and it works great. Although I used version 4.0 i believe and manually changed the camcorder settings because it sounded like there were other issues with 4.1. 4.0 was defininately the most stable in my opinion you just have to manually changed the one setting, but it's worth it.
[EVO 4G Android Development] macpat83:
Had to uninstall became to tedious switching from 4g, 3g and wifi. I'll give the next version another shot.
[EVO 4G Android Development] -EViL-KoNCEPTz-:
I'm running one of the v3 variants on my evo along with some tweaks of my own runs pretty well

We are legion, for we are many

Sent from my Anonymous DeathStar in the depths of GalaXy S2
[EVO 4G Android Development] Papa Smurf151:
V 4.5 ready for use. Try it out..Im noticing huge changes so far

Please see changelog for changes. Im gonna start making specific changelogs starting on the next version

FYI

Please go to /Data/Data before you use this script and locate the name of your Launcher. It will be in the form of com.something.something or org.something.something. I have listed a few examples of popular launchers in the script that you can use but if your using an off the wall launcher please find the name of it. Also I can add the launcher to the examples if you post it in the thread for me to add.
[EVO 4G Android Development] ngh55:
Can you send me the 4.0 untouched one? I deleted mine by mistake, ty

---------- Post added at 06:36 PM ---------- Previous post was at 06:34 PM ----------

Line 792:

echo "# From http://www.speedguide.net/a" >>/system/etc/init.d/01smurfed;rticles/linux-tweaking-121

Is that correct?

Isn't it supposed to be :

echo "# From http://www.speedguide.net/articles/linux-tweaking-121" >>/system/etc/init.d/01smurfed;
[EVO 4G Android Development] DatDude123:
Thanks dude, good to go here.

D
[EVO 4G Android Development] ss12108:
So what do we need this for? Is it something we need to edit in the build.prop or something?

Edit: nevermind
[EVO 4G Android Development] Papa Smurf151:
Lol I just fixed that. Damn can't believe I missed that. Btw I don't have v 4.0 anymore. I haven't been keeping to many backups. Sorry
[EVO 4G Android Development] jeraspie28:
I got constant FC on com.phone.com after applying and rebooting. Any ideas?
[EVO 4G Android Development] Papa Smurf151:
Not really sure why. And did u mean com.phone.android
[EVO 4G Android Development] fasteddie5:
No need to un-smurf coming from 4.1 correct?
[EVO 4G Android Development] jeraspie28:
Yes. com.phone.android. I'm going to clean up a little and try again.
[EVO 4G Android Development] fredrik949:
ok thanks, any eta on the work around?
[EVO 4G Android Development] jeraspie28:
This is a screenshot from the uninstall. Why would it try to /system/bin/build.prop?
[EVO 4G Android Development] ss12108:
Smurf - 4.5 seems to have borked my wifi. It was good on initial reboot but now I just get "error" when toggling on. Any idea of settings I can try tweaking to fix this or should I just unsmurf?
[EVO 4G Android Development] Papa Smurf151:
some phones have build.props in their bin folder. That script checks that when u install and if its there it backs it up and puts the tweaks in there. When u unsmurf it reverses the checks and if there it restores it. The script does the same thing with the /data/local.prop. as for the android.phone FC I'm not sure. There is a tweak built into the 01 smurfed that uses the loopy smoothness to pre load it into memory and make it run faster but I don't think that would cause a fc.

Try booting to recovery. Then wipe dalvik and cache. If that doesn't work id say unsmurf. If that doesn't work then go into ur build prop and look for a setting that I applied. The last part of the tweak read a52 and the other is a53 they r set to 0. Try setting them to 1 and then reboot and wipe dalvik and cache.
[EVO 4G Android Development] ss12108:
Wiping the caches had not worked so I unsmurfed and it's fine again. Do you want me to resmurf and test changing the setting you mentioned?
[EVO 4G Android Development] Papa Smurf151:
Ur free to try. U can open the script and change the settings prior to smurfing. Look for where it says echo then the string
[EVO 4G Android Development] dragonsofcp:
Man papa smurf every version just a little better. I am however still seeing issues with the wifi/3g toggle on 4.5 (at least on aokp m4).

Thanks again for the hard work!

Mmmh... Ice Cream Sandwich :-P
[EVO 4G Android Development] ngh55:
I don't know what you guys do to your phones, I have been running every smurf script since 3.x and never had any issues, only one was the video setting I changed from false to true.

I am running a MIUI 2.3.2 modified by myself with swiperrat as base with smurf 4.5, running flawless here.
[EVO 4G Android Development] jeraspie28:
I do a LOT of tweaking and such but I also do a lot of clean installs. Complete wipe and everything. I'm guessing most of the issues do come down to what ROM you are using and where the ROM came from. I.e. Who compiled it.

I haven't tried MIUI on this phone yet. I might give it a shot.
[EVO 4G Android Development] shinesthru:
4.5 is screwing with my radios like 4.0 did. Wiped caches, fresh downloads, etc. Running Deck's 1.3d with tiamat 3.3.7 and CoD tweaks.
[EVO 4G Android Development] CRXspeed:
Well I love how fast it is but I'm still having the wifi error and mobile data doesn't work at all so right now I have to be unsmurfed;( Is there anything I can do to fix this? I'm running kwikys aosp and the Lee kernel with no other tweaks
[EVO 4G Android Development] Papa Smurf151:
Yes if ur having issues with 3g go into ur build.prop and then find the two lines that end with a52 and a53. Change the values to 1 instead of 0 and c if that works.
[EVO 4G Android Development] CRXspeed:
Cool that seems to have worked. Do you know of a fix for the wifi?
[EVO 4G Android Development] Papa Smurf151:
What error r u having with wifi?
[EVO 4G Android Development] CRXspeed:
It just says error when I try to connect. Is there a log I can find that explains the error? Changing a52 a53 worked untill juice defender turned off data on screen off then data wouldent come back on.
[EVO 4G Android Development] jeraspie28:
I just flashed a 2.3.5 version of CM7, ran 4.5 script and have no errors and everything is running smoothly! Woohoo!!!
[EVO 4G Android Development] Papa Smurf151:
Yeah it seems juice defender and battery XL and such r messing things up. I had to uninstall battery XL cause it kept turning data off and I would have to go into system and toggle data on and off. Also for wifi try wiping cache and dalvik in recovery. I'm on aokp and data and wifi turn off and on with no issues
[EVO 4G Android Development] CRXspeed:
Ok ill just turn off jd. As for the wifi I have a few ideas ima mess with. Any how you've done a great job with these tweaks keep up the good work! Looking forward to the next update. Thanks for the help!
[EVO 4G Android Development] drose1976:
Papa, 4.5 is working brilliantly on MikG 3.1. Thanks for all the hard work bro.
[EVO 4G Android Development] oodork123:
Ran it on my ics rom kang aokp and my phone wouldn't even start up at all, I should of backed up but ill try again later on
[EVO 4G Android Development] Papa Smurf151:
I'm on aokp and that's all I run so I know for a fact that it works on that. I've run it on b23-27 and now milestone 4.
[EVO 4G Android Development] ss12108:
FYI I changed those wifi values from 0 to 1 and it fixed the "error" message, but then I was out running errands and realized even though the 3G icon was showing, I in fact had no data connection and had to reboot and wipe the caches to get it back. I can't win!
[EVO 4G Android Development] shinesthru:
I also have a problem where my notification drawer data/wi-fi toggles don't match the corresponding check boxes in settings or the signal strength indicators in the satus bar.

Papa, I would love to use these tweaks, but I can't until this is fixed. Any help? I've posted my set up a couple times in this thread if that helps.
[EVO 4G Android Development] tommytomatoe:
v4.5? Jeez man moving fast! Good job!

And let me point out something to everyone.

The section for props. That is a very respectable thing to include in a thread. You did good smurf!
[EVO 4G Android Development] -EViL-KoNCEPTz-:
He must have put all the smurfs to work :-)

We are legion, for we are many

Sent from my Anonymous DeathStar in the depths of GalaXy S2

Coming soon to an Evo4G near you?: [AoSP]EViL-MoD_FReEvO v0.1[Free your phone]
[EVO 4G Android Development] Chronus88:
wifi issue

Does anybody know a workaround for the wifi issue some of us are seeing? Whenever I turn Wifi on it just says error. I changed the values of A52 and A53 and then wiped cache and dalvik but still no luck. I was hoping there might be another work around before I have to un-smurf.
[EVO 4G Android Development] jelive:
Usually use 3G Turbocharger which mods build.prop. Can I still use with this and if so does it matter what order I run them?

Edit: Same issue as others with wifi (error)...also made changes to a52 and a53...cleared cache and dalvik and still no go. Even tried reflash of kernel just for grins. Guess not for me. :(
[EVO 4G Android Development] -EViL-KoNCEPTz-:
Just a fyi smurffarino v4.5 changed my baseband to unknown although my radios still work just don't register the build number :-\

________________________________

{We are legion, for we are many}

>Sent from my Anonymous DeathStar in the depths of GalaXy S2<

-Coming soon to an Evo4G near you?: [AoSP]EViL-MoD_FReEvO v0.1[Free your phone]-
[EVO 4G Android Development] v5HMeca:
if [ "$smurfy" -le 2 ]; then
echo $line
echo " Applying or Removing Smurfed Out Settings REQUIRES A REBOOT!"
fi

Results in a warning because it's expecting $smurfy to be an integer.

I don't know if it's because of the double-quotes or if it's because $smurfy is undefined. If it's because it's undefined, try using "${smurfy-n}" instead. That will tell it to use the $smurfy variable, but if it doesn't exist, then use the number n. (Use an actual number, of course.)

---------- Post added at 02:38 PM ---------- Previous post was at 02:35 PM ----------

on an unrelated note, the command to run from terminal emulator is...

su
sh /sdcard/Smurfed_Out.sh

first line gives superuser permissions to terminal

second line executes the script
[EVO 4G Android Development] unit713:
Getting the wifi issue as well
[EVO 4G Android Development] Papa Smurf151:
That line is supposed to be if u press 2 or 1 and let u know to reboot phone cause u changes ur settings. If u look above that if statement it tells the user to enter a number 1-4 and then under it it says read smurfy. If the user enters a number over 4 or under 1 then it gives the responce that that number is not correct and repeats the question to enter a number again. So with that being done there should be no need to preset the smurfy variable cause it should be set before that line ever hits. Hit me up on gtalk if u want to chat. Id love to pick ur brain cause I'm still learning bash scripting and would love to continue learning the right commands to use. Cbarlan@Gmail.com
[EVO 4G Android Development] Papa Smurf151:
OK guys I'm not gonna be on my computer to try and fix the wifi issue for the next day or two. I'm going into surgery tomorrow to get my port and filter taken out from when I had cancer last year. Ugh
[EVO 4G Android Development] unit713:
Wow man good luck with the surgery, your health is the first priority!
[EVO 4G Android Development] fasteddie5:
+1...Good Luck!
[EVO 4G Android Development] Papa Smurf151:
Hey can someone with the wifi error post a logcat of them getting the error so I can see what's causing it. Just post it in this thread or a link in this thread to like pastebin. Hopefully I can narrow this down soon. I'm getting help also so don't pm me just post it here
[EVO 4G Android Development] Diablo67:
Hey guys check this out.... http://xdaforums.com/showthread.php?t=1542879
[EVO 4G Android Development] SpaceToast7:
Sorry if this problem has been solved earlier in this thread already, but the first thing I notice is that Nova Launcher is buttery smooth. The second thing I notice is that I drag my finger across the screen, little fragments of icons are scattered across the screen - it's hard to describe.

Is it possible that I just did something wrong? Or is it a bug in the script? Or maybe it has to do with being on kushdeck's ICS Alpha 8?
[EVO 4G Android Development] unit713:
http://pastebin.com/6qUHmeaT

Here you go, logcat of the wifi error. I'm running CM 7.2, and this logcat is from me trying to turn on Wifi. I tried to turn it on twice, both times getting the error.
[EVO 4G Android Development] ngh55:
I wanted to replicate the wifi error and installed juice defender, apparently something happens because now I have also the toggles issue, wifi and data don't turn off

EVO4G powered by FherraZ-Mod
[EVO 4G Android Development] v5HMeca:
When the script is first launched, you'll see a warning about line 176 because smurfy is not defined.

This is because the $smurfy variable isn't created until later when the user is prompted.

if [ "$smurfy" -le 2 ]; then
echo $line
echo " Applying or Removing Smurfed Out Settings REQUIRES A REBOOT!"
fi
echo $line
echo
echo "If coming from any version before 4.0 then it is"
echo "recommended that you Un-Smurf first"
echo
echo -n " Please Enter Option [1 - 4]: "
read smurfy

i.e.,

line 176: if [ "$smurfy" -le 2 ]; then
[...]
line 186: read smurfy

The problem is resolved and everything works as expected if line 176 is changed to

if [ "${smurfy-0}" -le 2 ]; then

I use 0 so that it will coincide with the value defined in $smurfy's default switch.

case $smurfy in
[...]
*) echo " Invalid entry... Please try again..."
echo
sleep 2
echo " 1 <= Valid Option => 4 !!"
echo
sleep 2
echo -n " Press the Enter Key to continue... ;)"
read enterKey
echo
smurfy=0;;
esac

i.e.,

smurfy=0;;

Or perhaps you were intending for the conditional statement with the message about rebooting the device to show up after the user input? I'm figuring that's probably the case, but I didn't want to be presumptuous. lol
[EVO 4G Android Development] jrollercoasters:
i can use custom cpu controls and customize govenors with this script right, or should i remove cause it controls cpu, pretty much dose this control cpu stuff for battery?
[EVO 4G Android Development] Diablo67:
Hes getting out of surgery right now,give the guy a little time to recover and he will answer your questions respectably.
[EVO 4G Android Development] Zzz73:
i'm smurfed out! looks like mah EVO is on crack! great work. "this my take a while, go make me a sandwich and chill" dude i wanna meet you. you're a loon! thank you very much.
[EVO 4G Android Development] shinesthru:
Have you heard anything about how he's doing?
[EVO 4G Android Development] Papa Smurf151:
I'm good u guys. Very sore very groggy still. Can't believe their support I've gotten today. Thanks Diablo and thank u everyone else...

Fyi I'm working on wifi error and also adding in some new governor tweaks to get even better battery life.
[EVO 4G Android Development] shinesthru:
Take it easy. We can all wait. Plus, I'm not sure I trust your code writing skills while you are high on pain killers. Seriously, glad to hear you are alright.
[EVO 4G Android Development] Papa Smurf151:
Dude seriously my drs sucked. First I found out that I was gonna be wide awake during surgery instead of anestsia and then they told me to take advil. F those *****es lol
[EVO 4G Android Development] unit713:
Holy sh-t man that sounds hella intense...Good to hear you are doing OK
[EVO 4G Android Development] v5HMeca:
Them local anesthetics are gnarly. You don't feel pain but you can still feel. It's hard to describe unless you've gone through it. I remember feeling the doctor digging at all the meat in me when I had surgery done as a kid.
[EVO 4G Android Development] Papa Smurf151:
Yeah I was awake when they put the filter in and semi awake today. They gave me conscious sedation so it wasn't so bad. But yeah def a crazy feeling and u also get to hear them talking bout the procedure. Kinda creepy actually
[EVO 4G Android Development] v5HMeca:
The scariest is eye surgery (if you're feeling especially daring, look up videos of it on YouTube). They have to keep you awake for it. And they tell you, "Do. Not. Move. Your. Eye." as they're about to zap it with a laser. That's just nuts. You gotta have balls of steel to go through that.
[EVO 4G Android Development] jrollercoasters:
i still didnt get an answer... idc if its by papa smurf or whoever, but dose anyone know if i can use my own CPU tweaks with this script, or dose it set them for you? also is get the FC for weather normal?
[EVO 4G Android Development] dzee206:
yo smurf your a f*cking beast. fresh out of surgery and your already putting in work, damn i dont know how you do it but keep up the great work.
[EVO 4G Android Development] unit713:
How about you stop acting like a petulant child and wait for the dev to finish rehabbing from surgery?
[EVO 4G Android Development] jrollercoasters:
I didn't care if papa smurf answered it or not... I was just hoping some one knows the answer.. no one here besides me... Tweaks thier CPU..

sent from my EVO EXPRESS 4g
[EVO 4G Android Development] shinesthru:
@jrollercoasters, changing min/max CPU and scaling governors will not affect or be affected adversely by this script, to the best of my knowledge.
[EVO 4G Android Development] jrollercoasters:
thank you man, thats all i wanted was an answer, idk why people have to get mad at me, for asking when i said in post idc if dev answers, but thanks bro, i appericiate that =]
[EVO 4G Android Development] thenewguy821:
I noticed in the OP, for the changelog for build 4.1, it mentions that minfree values removed from init.d (can make GB and ICS versions). I kmow papa smurf is/was running AOKP. Are there ill effects from running this in a GB rom? Tried looking back a few pages but didn't see anything...
[EVO 4G Android Development] cityneversleepz:
really got myself in a mess unsmuffing. Last night I smuffed the new Express rc1.0.1. did an nand back up and flashed a nand backup of Kwiq and unsmurffed to so that I could smurff the Kwiq rom. When I unsmurffed, I got a message that it was smurffing? Then I rebooted and everything looked fine. I went back to script manager and was about to smurf it, but the sd card was forbidden. I went to recovery and got this message when I tried to test zip files - E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0). So I tried to wipe everything and no luck all I have now is recovery and fastboot. Anyone have a way out of this?
[EVO 4G Android Development] shinesthru:
Try mounting in recovery.
[EVO 4G Android Development] cityneversleepz:
Wow, I actually tried everything and nothing would work. I'll tell you that having a current backup of my sd card is probably the only smart thing I did. Knowing that, I grabbed my kid's evo and re partitioned my card. I booted back into recovery and the card mounted and the error message is gone. I'm copying everything back to my card and I think I am going to be ok now. I wish I knew why this happened. Anyone have a way of checking the health of the sd card? It partitions fine and seems fine, but I get strange behavior from it once in a while.
[EVO 4G Android Development] Papa Smurf151:
OP Updated to the latest version. V 4.6

I hope this fixes any 3g and wifi issues. Also added in Governor tweaks as well as a few other tweaks. See Changelog for all changes.
[EVO 4G Android Development] cityneversleepz:
Thanks papa Smurf! Btw, I fixed my sd card mount problem. I don't think it was three script that did it because I ran it again and it was fine. However, it did break the wifi and 4g, so I removed it again. I will try 4.6 later today and report.

Stay well.

CNS
[EVO 4G Android Development] Papa Smurf151:
Good to hear u fixed it. Sometimes SD cards can be a *****.

This should fix 3g and wifi I hope. I'm using more conservative numbers this time. They were set really high last time
[EVO 4G Android Development] unit713:
I'm still getting the Error when trying to turn on Wi-Fi. :(
[EVO 4G Android Development] bigjoexxl:
I assume with double 01s I need to do something right? Or this ok?
[EVO 4G Android Development] Papa Smurf151:
Yeah just renumbered the smurfed file
[EVO 4G Android Development] Papa Smurf151:
Make sure ur wiping the dalvik cache and the regular cache in recovery if ur getting the error
[EVO 4G Android Development] edgarzonjr:
Not necessarily a solution. I'm on MIUI 2.3.2 and tried all others after 4.0 and wifi doesn't work with them. I stuck to 4.0 since it seems to be the most stable and manually changed the camcorder settings in the build.prop.
[EVO 4G Android Development] Papa Smurf151:
Yeah I've seen the issues and am working on a solution. Hopefully I have it fixed in next version which should be out today as well
[EVO 4G Android Development] Papa Smurf151:
I made one more Update for the day. New update is V 4.7

Check changelog for changes.
[EVO 4G Android Development] thenewguy821:
PapaSmurf, I noticed in one of the changelogs, you mentioned possibly making a gingerbread version as well. Will the new updates work on both GB and ICS?

Thanks in advance.
[EVO 4G Android Development] Papa Smurf151:
Yeah in latest update once u get to the init.d creation it asks u if ur using ics or gingerbread and also asks if ur using sense or aosp. It only matters for a few values right now but in future it will matter for a lot more
[EVO 4G Android Development] shinesthru:
I guess I am going to have to give up on this script. I have tried everything and it still doesn't play well with my 3g, wifi, or wimax. Wifi is totally broken, as in I get an "error" message when turning it on. The notification bar toggles for the radios don't work, and even the ROM settings for the radios don't match the actual status of the radios. Fir example, if I check mobile data it will turn on, but when I uncheck it, it stays on in the status bar. Same with wimax. It might just be my phone.
[EVO 4G Android Development] deepsouth06:
ok so in one of the steps it ask that you look for ur launcher in the /data/data directory. Well in that directory it seems as i have two. com.android.launcher and com.anddoes.launcher so which one should i choose?
[EVO 4G Android Development] unit713:
wifi still won't work for me either...oh well. #firstworldproblems
[EVO 4G Android Development] Papa Smurf151:
Which one do u use. In the script I give examples and what launcher it is. Com.android.launcher is stock and com.anddoes.launcher is apex. If u use apex type in that one. If u use stock use that one
[EVO 4G Android Development] Papa Smurf151:
I'm also at a loss to the issues some have with data and wifi. Mine has worked for both for awhile. I might try one more fix for it then have to do some serious rebuilding and figure out whats going on
[EVO 4G Android Development] tuscolavol:
4.7 just blew up Tommy's Classic rom. I mean it is one of the snappiest roms I've used and now it's blazing. Unbelievable! Makes me think I'll be keeping my OGEVO for a while longer. Thanks Papa Smurf! By the way, wifi working fine for me.

Sent from my EVO
[EVO 4G Android Development] deepsouth06:
Cool...I'm using apex. Thanks for the help and I hope your recovery is coming along well.
[EVO 4G Android Development] shinesthru:
It should be noted that Deck's 1.3d is my daily and it's the only one I've tried this script on. I occasionally run AOKP, Deck's ICS, and Classic, but I haven't tried it on any of these.
[EVO 4G Android Development] Papa Smurf151:
Try going into ur build.prop and lowering ur wifi scan interval to 100 or so. I've got it set to 300 and that's very aggressive.
[EVO 4G Android Development] shinesthru:
Well, that's only one of my problems. I am @ work for the rest of the night away from wifi anyway. I use 3g pretty much all day while I'm away from home.