yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] sivarticus85:
I'm having trouble getting the OOM values to stick on CM7, I removed all tweaks in the init.d folder, but nothing happens. I don't even notice any performance enhancements. Any ideas why?
[EVO 4G Android Development] Registerforwhat:
Sorry for my noobness, I have a few questions if anyone cared to lend a hand.

Running mIUI build on my EVo with Salvagen kernel and really don't want to mess this up if I try.

3. I see no mount r/w button in file explorer ES. I can't copy/move folders, maybe related to me not seeing this option anywhere.

4. Do I delete everything from the init.d folder? Or just the first one?

I see the following:

01sysctl

04apps2sd

05modules

06defaulttheme

07internalsd

Thanks for the help in advance!
[EVO 4G Android Development] Mr nerd:
Love this thanks makes my cm7 with savage Zen run way smoother going to try to make a gaming rom

"I am always one of many."
[EVO 4G Android Development] scottypeterson:
What version did you download? Make sure you delete the init.d ram scripts or tweaks, reboot your phone. Once its booted back up, reboot again but this time into recovery and flash the tweaks

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
When you open es file Explorer, hit menu button on your phone, go to settings, scroll all the way down to bottom, allow root settings, check mark the mount as writable box (it says something like that anyways lol). Only delete the 01sysctl since that's a ram script.

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
Werid

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
Did you get them to stick yet?

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] bigjoexxl:
Okay, I deleted the s97script with root explore and then rebooted. The s97script was gone after the reboot. Then I flashed the new script. Everything seems fine but after a few hours the s97script shows up again in the init.d folder!! I don't understand??? Any ideas??
[EVO 4G Android Development] scottypeterson:
That's because the S97ramscript is part of the the niftyconiptionstweaks.zip. It's different cause i edited it

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] bigjoexxl:
Okay,lol. so do I just flash again?
[EVO 4G Android Development] scottypeterson:
If you flashed it once and the scripts are working, then there's no need to flash it again.

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
It's not the same s97script that you had before, the values are a little different.

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] Registerforwhat:
Ok I just flashed this, and my VFS Cashe Pressure is at 10 not 50 is that due to ASOP? Also my auto memory manager values are not what was listed, I followed every step, did I do something wrong? Those values are 14 16 24 28 30 32, completely different...

Could my kernel effect this or my scaling settings?
[EVO 4G Android Development] scottypeterson:
Cache pressure needs to be 10 for AOSP. For it not sticking, it could be because your kernel won't allow it to be deadline. Also go back and make sure you followed the instructions exactly as I put them.

Edit: I just reread that, if you did everything the instructions show, it could be your kernel. What version of the tweaks are you using?

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] ageesm:
I didn't have the V6 scripts running or any other tweaks, and I deleted the necessary files.

Your scripts are properly placed in /init.d from the zip, but the OOM values aren't being properly echoed on boot, I don't know why. I went to the minfree file to check it to make sure the apps weren't reading it wrong. I even went through the script to double check if there were any errors too, but couldn't find any :).

I can obviously get them to stick with Rom Toolbox or any other app that can change them, but I was intrigued by the one zip flash and it's all set.
[EVO 4G Android Development] Registerforwhat:
Hmm let me try another Kernel, I did do it exactly line by line.

Anyone else have success on MIUI?

I'm currently on build 112090

Running SalvagedZen 2.2.1 CFS-Havs+
[EVO 4G Android Development] coffeehandle:
yep. love MIUI

EDIT:

The tweaks are working for me just fine. Reads the correct values and sysctl.

On MIUI w/ tiamat 4.0.1 sbc

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

What are their Permissions?
[EVO 4G Android Development] ageesm:
When flashed they are copied as rwx for everything, but I also tried changing it to what every other init.d script has rwxr-x---
[EVO 4G Android Development] coffeehandle:
nooooo you want all of those 9 boxes checked
[EVO 4G Android Development] ageesm:
Doesn't really matter, it didn't work that way either. RWX for owner is the key one anyway.
[EVO 4G Android Development] scottypeterson:
Doesn't make sense to why it's not working

Sent from my Nifty Shooters E3D 4g while sick with Anthrax. Hit that thanks button if I managed to help.
[EVO 4G Android Development] ageesm:
Yea, probably just something with my setup. Seems to be working for everyone else so I wouldn't stress over it ;). I'll give it a shot on a clean rom at some point and see what happens.

Thanks for your help and hard work.
[EVO 4G Android Development] nan239:
Anyone on decks 1.3d tried this out yet?
[EVO 4G Android Development] Rocklee99:
Which one of these am I supposed to delete?

and how do i make your script stick?
[EVO 4G Android Development] scottypeterson:
Like I said in the op, delete any ram scripts or tweaks. Delete the 00sysctl, 06tweaks, and 99supercharge. You may need to run the supercharger script and choose one of the options to un-supercharge it. They should automatically stick If you do everything right.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] Rocklee99:
What if I'm on sense 2.1 and I have a built it ram manager?
[EVO 4G Android Development] ianmb:
I have a .userinit script at the bottom that has system/etc/init.d 99supercharger and something else I deleted that was that correct?
[EVO 4G Android Development] Diablo67:
Thanks Scotty,works great.
[EVO 4G Android Development] scottypeterson:
Delete it.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
Yup

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
Glad you like it!

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] Rocklee99:
I feel like I don't have as much memory as before when I had v6, it feels like once in a while it'll lag for a sec now, and yes it did stick
[EVO 4G Android Development] scottypeterson:
It'll be different for each person but maybe it'll work a little better after it settles in, but maybe not cause people's phones are set up different and it won't work the same for everyone. But glad it stuck and is set up properly

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] coffeehandle:
It should be the same since its the sane values as option 6. Maybe v6 with that whole hard to kill launcher thing makes a difference?
[EVO 4G Android Development] scottypeterson:
Sorry, I meant it may be smoother for some people and some others it won't help as much

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] officiallytook:
Nicest combo for evo 4g and less hassle good ups +a mill to the OP
[EVO 4G Android Development] Rocklee99:
so whats the difference in this than v6? i see you have three scripts and v6 is one
[EVO 4G Android Development] scottypeterson:
V6 isn't one of the scripts used in the tweaks. The kickasskernelizer is though

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] coffeehandle:
The kick ass kernel script says that "you're not running as root..." idk if that matters on if it will apply or not?
[EVO 4G Android Development] scottypeterson:
It's applies. Something I did to check was to get the original kickasskernelizer script and run it. I didn't apply it, just verify it, it says "no it ain't" but the values it shows that applied to the phone are the values that are supposed to be applied. It's different than the original values that kickasskernelizer would normally apply because I changed those values in the script to be like Car-o-Dopes. I hope that made some sort of sense lol

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] coffeehandle:
No I gotcha. I'm on XDA App most often so it doesn't show me a donation link. Can you post one?
[EVO 4G Android Development] kendallc123:
Hey! This sounds awesome! I just flashed a new Sense Rom, so I'm going to give it a try. One thing, do I flash a kernel before or after? :o Sorry, new to scripts lol
[EVO 4G Android Development] scottypeterson:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E4V4J394RKUAW

Here ya go :) thanks a bunch!
[EVO 4G Android Development] scottypeterson:
Your flash a kernel after you flash the rom. Boot up after the install of rom and kernel and make sure you have no scripts installed. Then go back and flash these tweaks. Basically just follow the directions as they are and you'll be good ;)

Edit: make sure you don't flash this right after you first flash a rom, always reboot your phone and get rid of the ram scripts in the init.d folder because they will interfere with the niftyconiptionstweaks.zip

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] Registerforwhat:
Ok, I am still not able to get this to stick for the life of me... Am now using Tiamat 4.1.0 sbc and same problems.

One last question before I give up.

When I un-mount, it goes into the choose mount item sub-screen and does nothing, so i hit return to go back to reboot. Is this correct? In the sub-screen I have option to unmount the cache/data but simply go back is that correct? It doesn't appear to think or do anything in Amon RA.
[EVO 4G Android Development] scottypeterson:
There's no reason to be mounting or unmounting anymore with the updated tweaks

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
All you need to do is remove old scripts that you have then flash the niftyconiptionstweaks.zip

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] Registerforwhat:
Well I followed instructions exactly so you mean I should ignore step 9 and 11?

Ok, I'll try again. I'll delete the script files in Init.D and flash the zip again.
[EVO 4G Android Development] Registerforwhat:
Still nothin, wonder if I should do a clean ROm install then this, ughh thanks for trying.
[EVO 4G Android Development] scottypeterson:
You downloaded the updated version right?

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] Registerforwhat:
Yeah, this guy

AOSP Version

http://dl.dropbox.com/u/40376256/Upd...tweaksAOSP.zip
[EVO 4G Android Development] scottypeterson:
Is the only thing not sticking the vfs cache pressure?

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] ianmb:
ok...so i am running Radiance R5 uninstalled all scripts needed, rebooted, installed these scripts, they stuck. Problem i am having is that with these scripts my phone will keep processes running and not kill them off when memory gets low...example, last night i was doing something (game i think) when phone bacame very laggy and touch responsiveness was almost nill. Checked built in Task Manager to see what was running...had three processes still active and only 28mb of RAM so phone was having a hard time keeping up. should this kill off non active tasks or how does the OOM work. but when i am just using phone normal it really does fly with these scripts. so am i doing something wrong or is it just the phone?
[EVO 4G Android Development] Adam1422:
How would I...

revert back to stock settings? This makes my phone unusable when I do anthing on my phone! Its very laggy and freezes all the time. please help!
[EVO 4G Android Development] ianmb:
did you save the files you deleted to your sdcard? if so just delete the new script files reboot, put old files back into your system/etc/init.d w same permissions and reboot. Or nand restore if you backed up your ROM

hit thanks if helped
[EVO 4G Android Development] scottypeterson:
If you followed the instructions exactly as they are written then you shouldn't have the problems but then again it won't work for everyone. Sounds like something is interfering with the scripts because your ram should be around 100. Which version are you using?

Edit: When you deleted the original scripts for your rom, did you reboot once and then reboot again to recovery and flash scripts? Because your phone will not know you deleted the original scripts until you reboot because the phone loads the init.d folder on bootup

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] Registerforwhat:
No I'm not getting any of the memory levels to save per ROMToolbox

VFS pressure is showing correct for ASOP

I don't have to change my init.d folder back to read only do I?
[EVO 4G Android Development] scottypeterson:
That's only if you are editing, moving, or deleting files.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] oOflyeyesOo:
I think SOME of the tweaks went through, but i noticed that the values in the auto memory section do not math, much lower in all aspects. The sysctl tweaks section has all of the same besides the VFS cache, but I thought I remembered that I read that the ASOP version has a different value on one of the sections.

So to try again, do I just deleted everything in the init.d folder and reflash?
[EVO 4G Android Development] Rocklee99:
No, see, I was asking how are these three scripts different than v6?
[EVO 4G Android Development] Rocklee99:
Same
[EVO 4G Android Development] scottypeterson:
I just thought of something that didn't come to mind before, if you are having problems with getting the settings to stick even after you've done all the instructions right, delete the scripts out of init.d and download busybox installer off of the market and change your busybox to 1.18.2, reboot, reboot again into recovery and flash the scripts again and see if it sticks.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] oOflyeyesOo:
I deleted all the files and im still getting 14,19, 25, 33, 38 in the auto memory manager, everything else sticked I think. I flashed the ASOP one in the original post, then I flashed a mirror someone posted on the 5th page when I flashed it again.
[EVO 4G Android Development] coffeehandle:
ROM and kernel?

and unless they are MAJOR RAM/memory scripts it shouldnt effect the OOM vlaues outcome.

Like i still have 01sysctl, which so far is ok. But like 06sysstcl, V6, etc, that might effect it
[EVO 4G Android Development] jjenkins09:
Hey! Im running miui 1.2.9 (something like that) and using tiamats 3.3.8 kernal on smartass gov. Would need to change the files any or could just straight flash it?
[EVO 4G Android Development] ReppinTheSouth:
I couldn't get any of the scripts to delete. I had V6 and un-supercharged. That removed that script. I still had the 01sysctl file and I couldn't delete it for the life of me. I still applied this mod and I can see the scrpts in the init.d. The VFS cache pressure stuck but the auto memory manager values did not. I just manually made them stick using ROM Manager. You may want to look at doing that if you can't get it to work.

I am running CM7..........
[EVO 4G Android Development] coffeehandle:
whatdid you do to try and delete them?

---------- Post added at 08:48 PM ---------- Previous post was at 08:47 PM ----------

Yeah i think youll be ok to just flash. double check though
[EVO 4G Android Development] scottypeterson:
You need to delete any ram tweaks or scripts that are in the init.d folder because they may interfere with these tweaks and cause the settings to not stick.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] jjenkins09:
Thanks ! Worked perfect!!
[EVO 4G Android Development] BioAndriod:
Excellent find. Thanks for taking the time in putting it together.
[EVO 4G Android Development] oOflyeyesOo:
Im on drews ICS P7
[EVO 4G Android Development] coffeehandle:
ICS may not work

---------- Post added at 10:41 AM ---------- Previous post was at 10:40 AM ----------

Just for conformation..

Scripts work on MIUI w/ Tiamat and Savaged Zen
[EVO 4G Android Development] jdbiggles:
Same here... after reading every page on the thread I think I may have figure out the issue. After deleting the RAM scripts that are loaded with Shooter ROM, I rebooted into recovery and flashed this zip. I missed the part about rebooting, then rebooting again after checking if they were actually gone.

As it stands now, my phone is only usable for about the first 30 minutes or until I have more than 2 apps running at once. Once I have ~3 apps running, it's basically a guaranteed freeze and have to pull the battery.

I will see if rebooting after deletion of RAM scripts, then reboot again, then flash this works... *fingers crossed*
[EVO 4G Android Development] scottypeterson:
Weird. Even though I switch roms quite a bit, I had the shooter rom installed when I first started with these tweaks and I never had a problem with it.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] officiallytook:
Only difficulty I am having is when battery gets below 30% phone moves drastically slower and sometimes phone freezes and I have to reboot....anyone else seeing this
[EVO 4G Android Development] scottypeterson:
Never heard of that happening just because your battery gets low. Do you by chance have a battery profile on an app like Setcpu that slows your cpu when the battery gets lower?

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] DreamingWolf:
I'd be curious if anyone explores this (before I get around to it this weekend ;) ) because I'm also on P7 and CoD settings work. It is, after all, built around a Tiamat 4.1.0+ kernel so I'm thinking it just might.

If no one reports sooner I let you know what I find this weekend.
[EVO 4G Android Development] JDM Civic EG8:
This works with jtg ics as well used it yesterday. Well technically I didn't flash the zip I just used Romtoolbox to put the settings in.

Sent From My Evo 4G Amped Up On Verizon Tower Power!
[EVO 4G Android Development] wtf911:
Running CM7 with tiamat 4.1.0 I flashed and the romtoolbox auto memory and sysctl did NOT stick for me...no clue why to be honest. I did have a 01sysctl script already but is just had a line for "sysctl -p"
[EVO 4G Android Development] scottypeterson:
Never know, it could've messed with it somehow

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] coffeehandle:
May not have worked for me cause I had a lower end busybox. Ah ha!
[EVO 4G Android Development] officiallytook:
Only the power saver setting that came with express rom if so makes some sense...
[EVO 4G Android Development] wtf911:
While other init.d scripts work fine I'm unable to get one to work to change the minfree memory values...

I've tried a few different scripts, making it the only init.d script, changing permissions and double rebooting.

Any suggestions?
[EVO 4G Android Development] scottypeterson:
Are these the only ram scripts you are currently using? What about ones that are built into your rom? What rom/kernel are you using?

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] omair2005:
has anyone used this on MikG 3.0?

I have the following.. what should I delete?

00sysctl

04apps2sd

05zipalign

06tweaks

98read_ahead_kb

99complete

.. i noticed Nifty has sdcard tweaks as well set to 4mb? So should I also delete 98read_ahead_kb which sets it to 2mb?
[EVO 4G Android Development] scottypeterson:
I use it on MikG and it works perfect. Delete the 00sysctl, 06tweaks, and I couldn't ever get the sdcard tweak to stick for me, you can try it if you want. If sdcard read ahead works then keep It if you want, delete the sdcard script you are not using cause they may cause problems with one another.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] wtf911:
I'm using the CM7 latest nightly and tiamat 4.1.0 sbc ...

My ROM does not have the COD minfree values and I would say there aren't any other ram scripts built in.... I tried removing all the scripts from the init.d folder and leaving only the minfree ram script...***also if you didn't know the init.d scripts get ran alphabetically and thus other scripts shouldn't be a problem anyways as long as your script is named so that it gets run last***
[EVO 4G Android Development] Blazin Chaos:
I just installed these tweaks for my MIUI 2.1.13 build and I can definitely see the difference! However, I've lost the function of being able to hold my home button down and select from my recently opened apps. Any suggestions?
[EVO 4G Android Development] scottypeterson:
That shouldn't have anything to do with these tweaks. I'd check with your rom developer

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
Seems like it could be your rom, maybe the version, but then again others have had success with these scripts while using cyanogenmod

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
Gettin ready to upload a new tweak and I updated the old niftyconiptionstweaks to hopefully work better for those who had problems.

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] scottypeterson:
The new tweaks are uploaded onto the second post. Hope you all enjoy them!

Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.

Hit that thanks button if I managed to help.
[EVO 4G Android Development] bairds1:
Loving that you set this up!

In regards to the 2 different tweaks, legit and nifty, it's just a difference in preferences in OOM, right?

Is your favorite legit?

Hit the "thanks" button :)