[MOD] Various Tweaks for your Galaxy S2G
I would like to start to develop for this phone even without a phone (but I hope this fact is changing soon ^^ I saved 200euro by myselfe to buy a phone maybe you can help me with the rest
Doesn´t matter here´s a flashable zip (untested because of the no device point) that should work and includes the following tweaks. Download it and flash it through CWM. I played abit with your device´s files
Detailed explanation of what is included below. Of course other Devs can use this in their Roms without asking.
Please report Bugs if you´ve found any!
GPS Boost (Credits to Crescendo Xenomorph for your brilliant idea, I played a bit with the values that are in the file you found):
To come to a better GPS and faster capture of location I edited /system/etc/sirfgps.conf
If you change EMC_ENABLE, SENSOR_AIDING and FREQUENCY_AIDING
there will be a big improvement but also more battery consume when you use GPS. (Of course already done in the .zip).
To enable a faster boot I edited the script /system/etc/init.goldfish.sh
# disable boot animation for a faster boot sequence when needed
case "$boot_anim" in
0) setprop debug.sf.nobootanimation 1
You have to make sure that setprop debug.sf.nobootanimation 1
will be done in every case, you will now boot very faster. (Also done in the .zip).
Higher IdleTimeout (Bluetooth):
It´s not really a Tweak I just increst the IdleTimeout time because I always use it at this level, it seems more logical to me. Edited in /system/etc/bluetooth/input.conf
Longer DiscoverableTimeout (Bluetooth):
# Configuration file for the input service
# This section contains options which are not specific to any
# particular interface
# Set idle timeout (in minutes) before the connection will
# be disconnect (defaults to 0 for no timeout)
When I want to transfer files via bluetooth I always anger about the low time the phone is by default in a discoveryable mode (so that your device can be seen by other devices). So I also cahnged this from 180 to 300
# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 300
You can find the lines in /system/etc/bluetooth/main.conf
Set PairableTimeout (Bluetooth):
Samsung invented the DiscoverableTimeout but doesn´t use the pairablemodeTimeout to save battery
# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0
So I set a PairableTimeout at 1000 by default. You can find the lines in /system/etc/bluetooth/main.conf
If you have any problem feel free to post your question below. I will add some other tweaks when I found some new If you like my work, please thank, may consieder a donation and line my facebook page. Thanks! Happy flashing