4/20/2017 [] 7.1.1 UPDATE [] One Plus 3 (msm 8996) [] CPU, VM, RAM, IO "Tune"

theduke7

Senior Member
Apr 8, 2011
1,604
1,109
143
Cairo
Hello.. Thanks for your mod.
I'm using freedomOS OB13 with francos kernel with his app. Already did all the steps in this thread.
Now, I Just wanted to know if it's just for stock phones or will it improve for everyone?
And how to check if everything is as it should?

Thanks in advance!

---------- Post added at 10:27 AM ---------- Previous post was at 10:22 AM ----------



Hey.. How did you check if the write protection is still disabled?
I'm on OB13 as well and my phone just restarted after the command and I thought that's it!
It stays on, you'll not be able to replace the file .
It can be changed from twrp with the file explorer
It restarts because the command given on the opportunity doesn't work with op3/3t , you'll have to do it from twrp .
.
I'm on ob14 now, I will recomend it, good battery life despite few more bugs than ob13
 
  • Like
Reactions: Jerjawi

Jerjawi

Senior Member
Jun 20, 2016
82
16
0
will test it for a couple of days and report...
Heads Up...
the adb command doesn't work for me on OB13, it reboots the phone and doesn't disable Write protection, i went around that by deleting and replacing the file from TWRP...
It stays on, you'll not be able to replace the file .
It can be changed from twrp with the file explorer
It restarts because the command given on the opportunity doesn't work with op3/3t , you'll have to do it from twrp .
.
I'm on ob14 now, I will recomend it, good battery life despite few more bugs than ob13

I renamed the file adding (backup) to it, and placed the modified file in the same folder. Wouldn't that work?
 

thedropdead

Senior Member
Nov 15, 2013
65
36
0
Yeah, I'd give this mod a go. Toss it in init.d and drop the .sh off it. It will work if your ROM and kernel have init.d support.
I am currently using RR with the LOS Base, so the file described in the first post is not there.
I followed your suggestions and moved it into the init.d folder, removed the extension, set permissions to 755.
How can i check that the new values have been set or the file has been loaded?
 

warBeard_actual

Senior Member
Mar 27, 2016
363
1,130
0
I am currently using RR with the LOS Base, so the file described in the first post is not there.
I followed your suggestions and moved it into the init.d folder, removed the extension, set permissions to 755.
How can i check that the new values have been set or the file has been loaded?
Navigate to /proc/sys/vm

There is a file in there named “swappiness”

Open it up as read only. The value should be 1.
 
  • Like
Reactions: thedropdead

thedropdead

Senior Member
Nov 15, 2013
65
36
0
Yeah, I'd give this mod a go. Toss it in init.d and drop the .sh off it. It will work if your ROM and kernel have init.d support.
Navigate to /proc/sys/vm

There is a file in there named “swappiness”

Open it up as read only. The value should be 1.
Thank you very much, the file is there with the value 1.
Really good work, thank you! :)
 
  • Like
Reactions: warBeard_actual

AlkaliV2

Senior Member
Jun 12, 2012
1,459
1,658
153
¯\_(ツ)_/¯
@warBeard_actual in the OP guide, do you think you could replace the line:

Code:
rm init.qcom.post_boot.sh
to

Code:
mv init.qcom.post_boot.sh init.qcom.post_boot.bak
So that the original file remains intact as a backup on the device for those who want to fall back to the original? Obviously this would only be for those who can do a direct replacement in the /system/etc directory, but it is good practice to have the original in case it needs to be recovered.

The tweaks do a very good job of optimizing the OOS beta builds as I installed it almost immediately on our new OB15 software release. Thank you for the updates and for the work you put into the tweaks; they are excellent.
 

patster98

Senior Member
May 27, 2015
97
14
0
Hey guys I tried this on latest open beta 18 on op3, I did it through root explorers and TWRP, hence my "swappiness" value persists to be 0... Any idea?