Root Changes not sticking in files

JayBondzeWell

Android Enthusiast
So, im trying to edit the phone to optimize it without the need of creating init.d files, where instead of forcing the phone to fight with stock files. The changes will be stock,
[for example /proc/sys/vm/swappiness 20, is how its set and im trying to set it to 0. ]
i go through the correct folders and change it to 0, it saves, and i also change it in the init.gt.rc file, but it constantly changes back to the original. i have tried flashing it as well to get it there and the same issue occurs once i reset the phone. Can anyone help in with making these changes, it'll be much appreciated.
 

zimlokks

Android Expert
So, im trying to edit the phone to optimize it without the need of creating init.d files, where instead of forcing the phone to fight with stock files. The changes will be stock,
[for example /proc/sys/vm/swappiness 20, is how its set and im trying to set it to 0. ]
i go through the correct folders and change it to 0, it saves, and i also change it in the init.gt.rc file, but it constantly changes back to the original. i have tried flashing it as well to get it there and the same issue occurs once i reset the phone. Can anyone help in with making these changes, it'll be much appreciated.
You have to build a custom kernel to implement those changes, best way to avoid that is to use init.d.
 

Krlypumaa

Android Expert
So, im trying to edit the phone to optimize it without the need of creating init.d files, where instead of forcing the phone to fight with stock files. The changes will be stock,
[for example /proc/sys/vm/swappiness 20, is how its set and im trying to set it to 0. ]
i go through the correct folders and change it to 0, it saves, and i also change it in the init.gt.rc file, but it constantly changes back to the original. i have tried flashing it as well to get it there and the same issue occurs once i reset the phone. Can anyone help in with making these changes, it'll be much appreciated.
You can use fauxclock.app
 

JayBondzeWell

Android Enthusiast
Thread starter
the issue is init.d is basically a cover up and doesn't necessarily stick all the time. it works during certain cycle sbasically. willl that app completely replace the originals?
 

Brian9285

Newbie
You can edit or i think create the proper command line for the swappiness in init.qcom.post_boot.sh .... That is also how u could achieve that.
 

zimlokks

Android Expert
the issue is init.d is basically a cover up and doesn't necessarily stick all the time. it works during certain cycle sbasically. willl that app completely replace the originals?
What do you mean you go thru the proper folders? What exact file are you trying to modify?
 
Top