Hi all, This is my first post at XDA so please kindly correct me if there are something wrong.
I have purchased SSGS around 3 week ago and found that there are some minor problem with my device. The phone still usable but some of these problem are quite annoy. Below are some problem with my device.
1.) There are some lag when opening/closing apps
2.) If I turn on "Use wireless network" in Location setting sometime my Wifi automatic turn itself on and fail to automatically turn off (The wifi status at notification bar turn green and said "turning off" forever and the only solution i get is to restart)
3.) After restart sometime my EDGE connection will not working properly (the "E" symbol is appear at notification bar but the data is not flow, can not connect to the internet) the solution is to restart again or connect to Wifi network that can access to internet and then turn the wifi off.
4.) GPS seem to be very slow.
5.) When turning off Wifi sometime EDGE connection is not auto reconnect (need to turn on and off flight mode to reconnect the EDGE)
After reading this forum for some time. I decide to try to solve those problem permanently however I would like to have some advice from all of you who have experience first.
My device is running on Asian stock firmware I9000DXJF4 and already rooted. Below are my plan for modifying and also some question.
1.) Backing up all of my apps and data. Which backup apps should I use? Titanium backup?
2.) Flash to European firmware via ODIN. Which firmware is the most stable JG5, JM2 or I should advance to Froyo JP2? Are there any problem flashing from Asian to European firmware?
3.) Rooted and installed busybox
4.) Restore my apps and data. After restore, my apps still be able to updated via market or not? Especially some paid apps
5.) Apply Mimocon's Lag fix.
Does above procedure seem to be ok? Am I forgot something?
Thank in advance for your advice
about GPS position, pls do following to optimize
*#1472365#* -goto GPS setting mode
Application Settings :
Operation Mode : Standalone
Accuracy : 30
Use Skyhook: ON
SUPL/CP Settings JM2 no need change this)
Server: Supl.google.com
Server Port: 7276
/System/etc/gps.conf
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
change first line: NTP_SERVER=3.tw.pool.ntp.org -----NTP_SERVER=tw.pool.ntp.org
(or use you country code)
reboot
make sure you internet connective when you first open GPS positioning.
Thank for the information about the GPS fix.
Still need some advice before flashing new firmware
2.) If I turn on "Use wireless network" in Location setting sometime my Wifi automatic turn itself on and fail to automatically turn off (The wifi status at notification bar turn green and said "turning off" forever and the only solution i get is to restart)
Click to expand...
Click to collapse
I have this problem too. I'm on stock XXJF3(?) firmware. I'm thinking about switching to XXJP3 froyo firmware.
I have read some where around here that this problem have been fix in new firmware but my problem now is that I don't know which one should be used.
Sent from my GT-I9000 using XDA App
I often use *#*#4636#*#* to enable/disable data connection and it works great for me. But in a nice day, I also disabled auto sync and background data in [Account and sync] settings then I can't enable the data connection via *#*#4636#*#* any more!! .
pressed [Enable data connection] but nothing changes, so I cant use 3G though Wifi still works!
anyone has this issues before? Please give me advice.
Captivate | 2.2.1
ur not the only one
i am in the same boat as u
nothing seems to get it back
wifi works fine
There is a use packet data checkbox under settings, wireless and network, mobile networks. It should be checked.
Huexxx has included this feature in his Zeus ROM v4. With Zeus, there's no need to install WiFi TX Power apps from market and we have one less app running in background. Go to Zeus thread for more info.
In quest to get longer battery life in Zues ROM (which is already awesome, btw), I remember an important feature in openwrt firmware that is transmit power. I search around for tweaks and then tried it on our OB. I found that our OB's wifi driver is capable of adjusting WiFi's transmit power. This is a good feature to decrease power consumption. Many of us have their WiFi router broadcasting signal in close proximity and for those who use portable hotspot most of the time the phone is sitting close to the laptop. In both situation, we can turn the power down thus give us longer uptime.
I'm not sure about the original GB but in Zues (v3.2b) there's no "iwconfig" which we need to configure the wireless interface. I found a post here : http://forum.xda-developers.com/showthread.php?t=1465750 and at the bottom of the first post there's link to download "iwconfig", http://www.mediafire.com/?r1uu73tr5q8fsoj. Thanks to the original poster, full credit goes to him.
I've done this via adb, can also be done via terminal (basically copy iwconfig to /system/xbin/):
1. Download iwconfig from the link above to your pc (if you got iwconfig with .txt extension, remove .txt from it)
2. Connect the phone and run adb push iwconfig /system/xbin/
3. adb shell and cd to /system/xbin/
4. chmod 755 iwconfig
type iwconfig wlan0 in adb shell to see current wlan0 interface configuration. This is what I got:
Code:
wlan0 IEEE 802.11-DS ESSID:"TL-WR1043ND" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-25 dBm Noise level=-91 dBm
Rx invalid nwid:0 Rx invalid crypt:7 Rx invalid frag:0
Tx excessive retries:114 Invalid misc:0 Missed beacon:0
As you can see the default Tx-Power is a whooping 32dBm (1496mW), I'm not sure if this is a correct value reported by the driver but this is definately too much.
We can change the transmit power directly with iwconfig by command iwconfig txpower but that's not very convenience. So, download WiFi TXpower from market here: https://market.android.com/details?id=rubberbibpepper.WiFiTxPower&hl=en . As we've already have iwconfig in the system, this app will run fine. Set the power to 4dBm first and see if it's ok for your usage.
Note that this is not final. I'm still monitoring power consumption if it has any effect (which it should if the txpower has been reduce). So far so good.
Edit: I've run a simple test by setting up a few routers around, checking the signal quality on the router and using wifi analyser on the phone itself. I can confirm that the phone driver did honour the txpower setting. Reducing the power also has improve the noise level making it more efficient and less prone to transmission error.
if you tried this, post your opinion/result.
I just changed it, put iwconfig with es explorer and removed file extension. And it worked, changed TX Power from 32 to 11 and still gets the same coverage in the furthest point from my router ( 5 walls) , download speed and ping doesn't seem affected. Well evaluate and see if wifi consumption will go down .
Fingers crossed
Nice... maybe huexxx can incorporate this and make a script or .sh to set a default value/or configurable via zeus script.
Yeah. Hope he can add it and make it configurable via his script or app he plan to develop.
Sent from my LG-P970 using XDA App
sorry if i'm ot..there's a tweak to minimize battery consumption even with 3g connection?? or is related with wifi one??
Thanks!
vincevince55 said:
sorry if i'm ot..there's a tweak to minimize battery consumption even with 3g connection?? or is related with wifi one??
Thanks!
Click to expand...
Click to collapse
This is for WiFi only. But it should also reduce power consumption if you're tethering using your 3g connection or using portable hotspot because the reduced power on WiFi's side of connection.
Sent from my LG-P970 using XDA App
adxgrave said:
In quest to get longer battery life in Zues ROM (which is already awesome, btw), I remember an important feature in openwrt firmware that is transmit power. I search around for tweaks and then tried it on our OB. I found that our OB's wifi driver is capable of adjusting WiFi's transmit power. This is a good feature to decrease power consumption. Many of us have their WiFi router broadcasting signal in close proximity and for those who use portable hotspot most of the time the phone is sitting close to the laptop. In both situation, we can turn the power down thus give us longer uptime.
I'm not sure about the original GB but in Zues (v3.2b) there's no "iwconfig" which we need to configure the wireless interface. I found a post here : http://forum.xda-developers.com/showthread.php?t=1465750 and at the bottom of the first post there's link to download "iwconfig", http://www.mediafire.com/?r1uu73tr5q8fsoj. Thanks to the original poster, full credit goes to him.
I've done this via adb, can also be done via terminal (basically copy iwconfig to /system/xbin/):
1. Download iwconfig from the link above to your pc
2. Connect the phone and run adb push iwconfig /system/xbin/
3. adb shell and cd to /system/xbin/
4. chmod 777 iwconfig
type iwconfig wlan0 in adb shell to see current wlan0 interface configuration. This is what I got:
Code:
wlan0 IEEE 802.11-DS ESSID:"TL-WR1043ND" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-25 dBm Noise level=-91 dBm
Rx invalid nwid:0 Rx invalid crypt:7 Rx invalid frag:0
Tx excessive retries:114 Invalid misc:0 Missed beacon:0
As you can see the default Tx-Power is a whooping 32dBm (1496mW), I'm not sure if this is a correct value reported by the driver but this is definately too much.
We can change the transmit power directly with iwconfig by command iwconfig <interface> txpower <value> but that's not very efficient. So, download WiFi TXpower from market here: https://market.android.com/details?id=rubberbibpepper.WiFiTxPower&hl=en . As we've already have iwconfig in the system, this app will run fine. Set the power to 4dBm first and see if it's ok for your usage.
Note that this is not final. I'm still monitoring power consumption if it has any effect (which it should if the txpower has been reduce). So far so good. My only concern is if the setting didn't have any effect on the actual value which is quite difficult to determine without proper equipment.
if you tried this, post your opinion.
Click to expand...
Click to collapse
If it worths, i 'll include it!
Sent from my LG-P970 using XDA App
Hi,... If Iam using es file explorer and copy iwconfig to /system/xbin/
do I have to change file properties too ? and can I still reduce the wifii power using WiFi TXpower from market ?
and how can I know the default/current wifii power without using ADB ?
note:
- I have copy the iwconfig to /system/xbin/
without changing properties ( rw-rw-rw)
- Open Wifi TX Power:
There's 5 button at the top that has number: 4dBm, 11, 18, 25, and 32
and then: "Name of lan interface": Default is wlan0
and there's unchecked "use iwmulticall command"
- and it has information that:
iwconfig
sh: /system/xbin/iwconfig: Permission denied....
so what do I do then ?
Note agan : case closed
Im searching for chmod 777 at google
and I just know that chmod 777 is for: change the permissions of the file file to read, write, and execute for all.
so I change the properties to: rwx-rwx-rwx-
then voila... it works...
thanks man... now Im using 4dbm power wifii and testing battery life...
That's file permissions problem. Open terminal, type:
# su
# chmod 777 /system/xbin/iwconfig
(don't include the #), that should fix it.
To get current setting just type in terminal:
# iwconfig wlan0
Or the first time you open the app it run the same line and will show the current wlan0 interface setting.
Edit: ok. Glad you found it. Google is our friend.
Sent from my LG-P970 using XDA App
adxgrave said:
That's file permissions problem. Open terminal, type:
# su
# chmod 777 /system/xbin/iwconfig
(don't include the #), that should fix it.
To get current setting just type in terminal:
# iwconfig wlan0
Or the first time you open the app it run the same line and will show the current wlan0 interface setting.
Edit: ok. Glad you found it. Google is our friend.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
thanks man... I really should learn the ADB
or unix command
adxgrave said:
We can change the transmit power directly with iwconfig by command iwconfig <interface> txpower <value> but that's not very efficient. So, download WiFi TXpower from market here: https://market.android.com/details?id=rubberbibpepper.WiFiTxPower&hl=en . As we've already have iwconfig in the system, this app will run fine. Set the power to 4dBm first and see if it's ok for your usage.
Click to expand...
Click to collapse
Hi, why is using that Market app more efficient than setting the parameter in the system ?
I would (of course) want to have as less applications open just for keeping an eye on a certain aspect of the system. If there are reasons to keep that application, than I would understand, but I would like to know - if you care to share.
Thanks anyway for the tip. I have also noticed that the most of my battery goes when surfing the net, maybe you just found a cure for that.
Dan
That's not what I mean. Infact, setting the parameter via script/manual is the preferred method. "Efficient" here mean that one can easily change the parameter using the app without the need to use terminal/adb shell. If you've found the correct power for your usage, ditch the app or just kill it. The correct term should be "convenience ".
Great, then I will remove the app. Will get back with results about the drain of the battery.
Dan
Sent from my LG-P970 using Tapatalk
Market app has trigger for changing WiFi state, so its persisting settings. But I don't know if txpower changes to default after state of WiFi changes.
Could somebody check if txpower stays the same if you turn off and on WiFi?
You are right, if the setting is done via adb shell and iwconfig command, after the WIFI is disabled, by the next enabling the setting is gone.
However the Wifi TxPower application keeps the setting (applies it on ever enabling of the WIFI).So I guess it is needed after all (if we cannot persist this setting somewhere).
Dan
Remove the app only if you've a script to set it back after on off WiFi (not sure if can be done via script). Without it txpower will be set back to default value. But once you've set the power it's ok to remove it from running process.
Sent from my LG-P970 using XDA App
dflt said:
Market app has trigger for changing WiFi state, so its persisting settings. But I don't know if txpower changes to default after state of WiFi changes.
Could somebody check if txpower stays the same if you turn off and on WiFi?
Click to expand...
Click to collapse
TX power stays the same value (mine is 4dbm) if we turn off and on Wifi
Even stays the same value if we power off our OB and put back to on again...
I think it's a great app and I should have it
I'm pretty sure that the maximum allowed in Italy is 20Db, probably is the same in EU. I changed that parameter on my old optimus one to 10 DB and it worked fine.
Inviato dal mio LG-P970 usando Tapatalk
I've already modified zeus to automatically set it on boot, and to automatically reset it when wifi on-off-sleep, etc...
You can use it on next zeus v4...
But, does it works??? Does it saves battery?
Huexxx said:
I've already modified zeus to automatically set it on boot, and to automatically reset it when wifi on-off-sleep, etc...
You can use it on next zeus v4...
But, does it works??? Does it saves battery?
Click to expand...
Click to collapse
Awesome man. I've run some test and the WiFi driver did honour the power setting. It should work. Just don't hard coded it, give user options to turn it down, up and default value.
Sent from my LG-P970 using XDA App
Symptoms:
Mobile network is available and is 100% stable with mobile data switched off. (Does not lose Mobile network)
When switching on mobile data it connects without any issues and works.
After a random amount of time the phone reports, no network available. Signal triangle appears empty. RIL Crashed. Copsdaemon causes the battery to discharge very quickly.
No manual interaction (eg. Flight mode on/off, Mobile network on/off, Manual search for network) makes any difference, phone must be rebooted.
Update: Mobile data off, during voice call I pressed volume +. RIL died, phone reports no network available (same as mobile data)
I will attach 2 complete radio logs I have captured in the hope that someone can fix this.
I have found this to be a problem in the Novafusion (McClaw) Roms (tried CM10.2, CM11.0 and also Carbon latest roms available 19102014)
It would seem to be working for some people?, or maybe they just do not use mobile data.
Please share experiences.
Some Documentation on understanding the RIL
http://www.kandroid.org/online-pdk/guide/telephony.html
http://www.slideshare.net/dpsmarques/android-ril
http://stackoverflow.com/questions/9298750/how-to-connect-to-rild-socket
https://github.com/ferjm/b2g-dialer-test
https://gitorious.org/rilspy/rilspy
znh said:
Symptoms:
Mobile network is available and is 100% stable with mobile data switched off. (Does not lose Mobile network)
When switching on mobile data it connects without any issues and works.
After a random amount of time the phone reports, no network available. Signal triangle appears empty. RIL Crashed. Copsdaemon causes the battery to discharge very quickly.
No manual interaction (eg. Flight mode on/off, Mobile network on/off, Manual search for network) makes any difference, phone must be rebooted.
Update: Mobile data off, during voice call I pressed volume +. RIL died, phone reports no network available (same as mobile data)
I will attach 2 complete radio logs I have captured in the hope that someone can fix this.
I have found this to be a problem in the Novafusion (McClaw) Roms (tried CM10.2, CM11.0 and also Carbon latest roms available 19102014)
It would seem to be working for some people?, or maybe they just do not use mobile data.
Please share experiences.
Click to expand...
Click to collapse
Copsdaemon is part of our blobs, sometimes crash and need a reboot for get a network again.
tenshi_xp said:
Copsdaemon is part of our blobs, sometimes crash and need a reboot for get a network again.
Click to expand...
Click to collapse
Copsdaemon is still running, it kills the battery ( perharps RILD died as the java code threw an runtime exception, socket gets closed)
I gathered 2 crash logs please have a look
From lots of reading it seems like: LibRil -> Rild -> sends a unsolicited call to RIL.java (which throws an Exception see extract from logfile)
Code:
I/use-Rlog/RLOG-RIL_MAL(15810): NETLNK_LIB::(fn: netlnk_socket_recv)::SUCCESS
I/use-Rlog/RLOG-RIL_MAL(15810): NETLNK_LIB::
I/use-Rlog/RLOG-RIL_MAL(15810): Received message payload: 5: ret = 1024
I/use-Rlog/RLOG-RIL_MAL(15810): NETLNK_LIB::Exiting function netlnk_socket_recv
E/RILJ ( 2451): Exception processing unsol response: 11020Exception:java.lang.RuntimeException: Unrecognized unsol response: 11020
D/use-Rlog/RLOG-RILClient( 1678): processUnsolicited(): resp_id (11020), len(12)
D/use-Rlog/RLOG-RILClient( 2151): processUnsolicited(): resp_id (11020), len(12)
E/RILJ ( 2451): Hit EOS reading message length
I/RILJ ( 2451): Disconnected from 'rild' socket
D/PHONE ( 2451): [ServiceState] setNullState=1
i have the same problem. i got no carrier after rom flashing. i had to reboot my phone to get network back.
my country is denmark and i'm using the latest version of baseband.
And i have the same problem.
Can someone from the developers to help us make sense of this?
Maybe even build/modify the necessary files from the source.
Android Marshmellow + rooted.
I'm using (like so many) a few profiles/taks to switch from Mobile Data to Wifi when i get home and back when i leave home. Works pretty nice but... not all the time.
The reason behind this is the difference on how Wifi and Mobile Data are activated.
If changed both manually (via the drop down menu) both act as a toggle.
But within tasker this behaviour changes. Wifi has an On / Off option, Mobile Data has to but that doesn't work anymore since Google changed the activation for Mobile Data which means that you can only set it with the help of Active Input and that turns it into a toggle.
And this creates a syncronisation problem between Wifi and Mobile Data.
I'll explain the difference:
If i set Wifi to ON Wifi goes ON.
If i set Wifi again to ON, Wifi stays ON. It will only go OFF when i set it to OFF.
It behaves as a physical switch.
Mobile Data however does not.
If i activate Mobile Data through Active Input and it's OFF, it will go ON. And when it's ON it will go OFF.
It behaves a toggle.
Now this works OK as long as everything is in sync.
If Mobile Data is ON and i reach home, Wifi is turned ON, i get the connected signal and Mobile Data is turned OFF. Same goes the other way, if i leave home, Wifi connection is lost and Wifi is turned Off. When the connection is lost Mobile Data is turned On again. Works nice.
But this can get out of sync because of the switch/toggle behaviour.
Example:
If i'm home, Wifi is ON and Mobile Data is OFF. If i turn Wifi OFF manually , the connection is lost and Mobile Data comes ON. If i turn Wifi back ON, Mobile Data goes OFF again.
But the other way there is a problem. If i'm not home and turn Mobile Data OFF somewhere and reach at home, tasker sees this, turns on Wifi and "toggles" Mobile Data to be OFF but since it's a toggle action, Mobile Data will come ON instead and both are then ON. And from then on the nice syncronisation between Wifi and Mobile Data is gone.
This manual override (like i like to call it) also doesn't update the variable i use which is logical since the Mobile Data wasn't "toggled" through Tasker.
I tried to solve this with a double variable check together with a variable i set when Mobile Data is connected (2G,3G,or 4G) and then toggle Mobile Data according to this and set/reset the variables but while this should work better in theory, it still doesn't work all the time because indoors, Mobile Data connection can be lost and then the Mobile Data toggles again to a state i don't want again setting a desyncronisation between Wifi and Mobile Data. In fact, due to this the syncronisation has become more unstable. So i removed the Mobile Data connected part again.
Questions:
- Is there a way to make Mobile Data work as a switch instead of a toggle?
- If not, is there a way to detect is the Mobile Data button has been touched (which i could then use in a variable)?
I'm using shell commands to switch mobile data on/off.
If your selinux is permissive, simply run a shell command with this:
Code:
svc data enable;
or
Code:
svc data disable;
If your selinux is enforcing, you need to add two lines, so it looks like this:
Code:
setenforce permissive;
svc data enable;
setenforce enforcing;
and respectively
Code:
setenforce permissive;
svc data disable;
setenforce enforcing;
Needless to say, you need root access for this.
I'm afraid that's currently above my head...
To add a shell command:
Code > Run Shell
Tick "root"
Put the codes from above in "Command"
Sukarn said:
To add a shell command:
Code > Run Shell
Tick "root"
Put the codes from above in "Command"
Click to expand...
Click to collapse
Exactly. [emoji106]
If i do that, can you then explain at least what it does exactly?
I guess it will turn on/off mobile data but on what basis?
How do these commands know when to turn it on or off depending on my wifi state?
What does " if your selinix is enforcing" means?
Edit: Got it partly working with the shell commands. Mobile data doesn't always turn off when wifi comes back on and is connected. It still can get out of sync.
It does not check the state of the mobile data if i interact and turn it on/off manually because it doesn't seem to know in what state is after playing around with it manually.
Also, tasker sometimes seems to get stuck somewhere in the middle of the code for disabling the mobile data.
Need to look a bit more into why tommorow...
Update:
Got it fully working with the shell commands and sync between Wifi and Mobile Data seems OK (for now at least).
I'm using the settings get global mobile_date command to put the status into a variable and then work with this and the wifi status variable to toggle Mobile Data on and off.
One thing i haven't found yet is what the settings get mobile_data exactly returns, the state of the toggle button in the notification screen or the state of the mobile data being connected?