New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
loSconosciuto
Old
#21  
Senior Member
Thanks Meter 1609
Posts: 571
Join Date: Nov 2011
Quote:
Originally Posted by noypi_ako View Post
would it work if we chmod 644 those file?
No, but there's no need to. You can write it, but you can't read it. It's a "trigger file":
Quote:
/proc/sys/net/ipv4/route/flush
Writing to this file results in a flush of the routing cache.
The Following User Says Thank You to loSconosciuto For This Useful Post: [ Click to Expand ]
 
noypi_ako
Old
#22  
Senior Member - OP
Thanks Meter 25
Posts: 127
Join Date: Apr 2012
Location: cagayan de oro
Quote:
Originally Posted by loSconosciuto View Post
No, but there's no need to. You can write it, but you can't read it. It's a "trigger file":
oh i understand now the error in his screenshot was because of his grep
i was thinking he got those errors because the script itself was trying to access those files that was why i was asking if we could give it chmod 644 access instead
 
tomjoad2
Old
#23  
Member
Thanks Meter 9
Posts: 74
Join Date: Nov 2007
Quote:
Originally Posted by loSconosciuto View Post
Code:
ls -l /proc/sys/net/ipv4/route/flush
--w-------    1 root     root             0 Apr 28 14:26 /proc/sys/net/ipv4/route/flush
That means no one can read the content of this file, even 'root'. That's why you get
Code:
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl tries to read it, but it can't.


Are you sure your sysctl.conf is correct? Did you remove all the ";" and "'"?
yes, copied your post exactly...
 
noypi_ako
Old
#24  
Senior Member - OP
Thanks Meter 25
Posts: 127
Join Date: Apr 2012
Location: cagayan de oro
maybe leave it as it is for test?
 
pancit
Old
#25  
pancit's Avatar
Member
Thanks Meter 33
Posts: 52
Join Date: Oct 2011
net.ipv4.tcp_syncookies
kernel.sched_features

both returned an error, unknown key
 
loSconosciuto
Old
#26  
Senior Member
Thanks Meter 1609
Posts: 571
Join Date: Nov 2011
Quote:
Originally Posted by pancit View Post
net.ipv4.tcp_syncookies
kernel.sched_features

both returned an error, unknown key
You are right. This sysctl.conf is not so universal, we can't change these values, but it's not a problem.
The main problem were the ";" and "'" in sysctl.conf.
The Following User Says Thank You to loSconosciuto For This Useful Post: [ Click to Expand ]
 
ilcorsaronero
Old
#27  
Member
Thanks Meter 25
Posts: 75
Join Date: Dec 2011
Location: Mori
Since noone was updating it, I provide a working flashable zip basing on this mod. There were more than one problem in the zip, but now I fixed them. Please report:
* if you notice a battery performance improvement
* how much is this improvement
* which MOD are you on
* which KERNEL are you on. This mod works only on init.d featured mod/kernels.
thanks.

Flash this through CWM recovery!
Attached Files
File Type: zip Sysctl-conf-updated-i9003.zip - [Click for QR Code] (201.4 KB, 508 views)
Samsung Galaxy S SCL i9003 with
I9003XXKPU
XDA_BAM kernel
Night Pack
governor: interactiveX @ 1.2 GHz OC
I/O: sio
Auto-rotation always on
More details here:
http://forum.xda-developers.com/show...9&postcount=67
The Following 4 Users Say Thank You to ilcorsaronero For This Useful Post: [ Click to Expand ]
 
bscraze
Old
#28  
bscraze's Avatar
Senior Member
Thanks Meter 697
Posts: 2,453
Join Date: Aug 2011
Location: Singapore
Quote:
Originally Posted by ilcorsaronero View Post
Since noone was updating it, I provide a working flashable zip basing on this mod. There were more than one problem in the zip, but now I fixed them. Please report:
* if you notice a battery performance improvement
* how much is this improvement
* which MOD are you on
* which KERNEL are you on. This mod works only on init.d featured mod/kernels.
thanks.

Flash this through CWM recovery!
Is his considered universal, meaning foe all firmware versions?

Cheers

Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
Member on xda? This is a must watch

 
ilcorsaronero
Old
#29  
Member
Thanks Meter 25
Posts: 75
Join Date: Dec 2011
Location: Mori
Quote:
Originally Posted by bscraze View Post
Is his considered universal, meaning foe all firmware versions?

Cheers

Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
Yes, it's kernel-level tweaks, should work on any MOD/KERNEL (miui & CM included), just make sure init.d is supported. If you want to verify if it's working after installation you can also make a check:
* open terminal emulator
* type: sysctl fs.nr_open
it should read 1053696.
Samsung Galaxy S SCL i9003 with
I9003XXKPU
XDA_BAM kernel
Night Pack
governor: interactiveX @ 1.2 GHz OC
I/O: sio
Auto-rotation always on
More details here:
http://forum.xda-developers.com/show...9&postcount=67
The Following 3 Users Say Thank You to ilcorsaronero For This Useful Post: [ Click to Expand ]
 
loukalok
Old
#30  
loukalok's Avatar
Senior Member
Thanks Meter 75
Posts: 748
Join Date: Nov 2011
Location: Macao
Any one can feedback after using this mod??

Sent from my GT-I9003 using xda premium