Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,798 Members 49,286 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Samsung Galaxy S4 LTE (I9505) - Update to 4.4.2, wifi problems remaining

Tip us?
 
MisterXtm
Old
(Last edited by MisterXtm; 6th March 2014 at 04:12 PM.) Reason: Wrong firmware version
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2014
Question [Q] Samsung Galaxy S4 LTE (I9505) - Update to 4.4.2, wifi problems remaining

For a month I've been having issues with my phone, because the wifi stopped working. It wouldn't turn on (turning dark green, then off again). Since I didn't want to root my phone, I was waiting on the new Samsung update (4.4.2), hoping that it would fix the problem. Yesterday the update went online and I was able to complete it, but the wifi remained off.

In the meantime I was looking for ideas on how to solve the issue (turning on and taking out the battery, taking out the battery for a longer time, etc.) but nothing helped. I saw a post (http://forums.androidcentral.com/sam...e-wi-fi-4.html), that seemed to be plausible and I thought I would give it a try.

Yesterday I rooted my phone (with Odin and CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5), loaded the newest SuperSU-app and was able to actually see, what the problem was. Logcat showed this, when turning wifi on:

03-05 21:52:36.347 I/WifiManager(1215): setWifiEnabled : true
03-05 21:52:36.347 I/WifiService(830): setWifiEnabled: true pid=1215, uid=10266
03-05 21:52:36.357 E/WifiHW (830): ##################### set firmware type 0 #####################
03-05 21:52:36.357 I/WifiHW (830): module is murata FEM1
03-05 21:52:36.357 E/WifiHW (830): ==========[WIFI] Station firmware load ===========
03-05 21:52:36.357 E/WifiHW (830): ==========[WIFI] MURATA FEM1 MODULE ===========
03-05 21:52:57.207 E/WifiHW (830): return of insmod : ret = -1, No such device
03-05 21:52:57.207 E/WifiStateMachine(830): Failed to load driver
03-05 21:52:57.247 E/WifiStateMachine(830): sendErrorBroadcast code:10
03-05 21:52:57.247 D/STATUSBAR-NetworkController(1215): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
03-05 21:52:57.257 E/WifiController(830): Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET
03-05 21:52:57.267 I/WFMonitorService(4771): WIFI_STATE_UNKNOWN

This happened also after deleting or renaming the wpa_supplicant.conf (both in system/etc/wifi and in data/misc/wifi) and restarting the phone. I also tried deleting or renaming the whole wifi-folder (in both directories), without success. Renaming the file worked, but it wasn't recreated upon restart, which seemed pretty strange. Upon renaming the wifi-folders only one was recreated (the one under data/), but the .conf-file was still missing. I continued getting the error message cited above.

I searched for the "device not found" issue and found the following thread (http://forum.xda-developers.com/show...php?p=50535766), but this didn't help either. Even setting permissions for the files and folders that I thought would be important didn't help.

Today I wiped my phone clean in recovery and tried flashing the stock firmware I9505XXUFNB8_I9505OXAFNB8_I9505XXUFNB8_HOME.tar.md 5 on, but wifi was the same. I even tried flashing only the modem with files I found here: http://d-h.st/users/DjeMBeY/?fld_id=15780#files. Something changed, because when I turned wifi on it turned itself off right away, so it didn't last in the dark green status for a few seconds as it used to. I also recall seeing this error message, as opposed to the one above and it was running slow with different other errors (no sound, apps crashing, etc.):

E/WifiHW ( 793): return of insmod : ret = -1, Exec format error

I really don't know what to do with it anymore. Since bluetooth is working I don't think it is a hardware issue and I should be able to resolve it somehow. Since I rooted it I don't know if I can use the warranty and I didn't want to send it in for 2 weeks.

I would be very happy about any ideas on how to resolve this issue. I hope there enough information. Thanks in advance!
 
beowulff
Old
#2  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Aug 2008
Hi, a have some problem...
 
qtwrk
Old
#3  
qtwrk's Avatar
Senior Member
Thanks Meter 802
Posts: 2,483
Join Date: Sep 2011
Location: Barcelona
Flash latest bootloader and modem, that should solve your problem, worked out on my case, but KNOX will be triggered
if my words are useful or helpful to you , i will appreciate it you click thanks button
GT-i9023 Nexus S
GT-i9250 Galaxy Nexus
GT-i9300 Galaxy S III
GT-s5830 Galaxy Ace
GT-i9300 Galaxy S III
GT-i9506 Galaxy S IV 4G+
GT-i9505 Galaxy S IV (current)
 
MisterXtm
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2014
Quote:
Originally Posted by qtwrk View Post
Flash latest bootloader and modem, that should solve your problem, worked out on my case, but KNOX will be triggered
Could you be a bit more specific, please? Maybe a link?

Thanks
 
qtwrk
Old
#5  
qtwrk's Avatar
Senior Member
Thanks Meter 802
Posts: 2,483
Join Date: Sep 2011
Location: Barcelona
Quote:
Originally Posted by MisterXtm View Post
Could you be a bit more specific, please? Maybe a link?

Thanks
first try this: flash KT kernel and follow the instruction about TW version

and in general section , find the latest modem , XXUFNB8 in my case.
if my words are useful or helpful to you , i will appreciate it you click thanks button
GT-i9023 Nexus S
GT-i9250 Galaxy Nexus
GT-i9300 Galaxy S III
GT-s5830 Galaxy Ace
GT-i9300 Galaxy S III
GT-i9506 Galaxy S IV 4G+
GT-i9505 Galaxy S IV (current)
 
MisterXtm
Old
(Last edited by MisterXtm; 7th March 2014 at 10:23 AM.) Reason: Update
#6  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2014
Quote:
Originally Posted by qtwrk View Post
first try this: flash KT kernel and follow the instruction about TW version

and in general section , find the latest modem , XXUFNB8 in my case.
Unfortunately it seems I have the new bootloader (with Knox) installed and it doesn't let me install any custom kernel: it gets stuck on "..warranty bit: kernel" and doesn't boot. Prior to that I installed the stock ROM 4.4.2 and rooted it, removing Knox afterwards. I am not able to bypass the kernel warranty bit message.

Any idea on how to fix it for the stock ROM?


EDIT:

There are some updates regarding this issue. I managed to install a custom rom (Omega V24 for 4.4.2) on the rooted installation. Everything seems to work fine, except for the "warranty bit: kernel" that now is bypassed on startup and the wifi issue. This time I get other errors, though:

03-07 11:06:46.772 E/WifiHW (846): ##################### set firmware type 0 #####################
03-07 11:06:46.772 E/WifiHW (846): Cannot open "/data/.cid.info": No such file or directory
03-07 11:06:46.772 E/WifiHW (846): ==========[WIFI] Station firmware load ===========
03-07 11:06:46.902 E/WifiHW (846): return of insmod : ret = -1, Exec format error
03-07 11:06:46.902 E/WifiStateMachine(846): Failed to load driver
03-07 11:06:46.912 D/STATUSBAR-NetworkController(1062): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
03-07 11:06:46.912 E/WifiStateMachine(846): sendErrorBroadcast code:10
03-07 11:06:46.922 E/WifiController(846): Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET

I have searched for this issue, but couldn't find anything helpful. As I understand it the file should be created automatically, but that obviously doesn't happen. Furthermore the wpa-supplicant.conf, that should be under data/misc/wifi/ is not there either.

At the moment I have following versions running:
AP: I9505XXUFNB8
CP: I9505XXUFNB9
CSC: I9505OXAFNB8
 
MisterXtm
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2014
I reverted to XXUFNB8 (modem) and flashed it successfully, just to get some new errors:

First:
03-07 11:41:25.940 E/WifiHW (839): Supplicant not running, cannot connect
03-07 11:41:26.941 E/WifiHW (839): Supplicant not running, cannot connect
03-07 11:41:27.932 E/WifiHW (839): Supplicant not running, cannot connect
03-07 11:41:28.002 D/WifiDisplayAdapter(839): getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=1, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
03-07 11:41:28.123 D/WifiDisplayAdapter(839): getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=1, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
03-07 11:41:28.243 D/WifiDisplayAdapter(839): getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=1, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
03-07 11:41:28.933 E/WifiHW (839): Supplicant not running, cannot connect
03-07 11:41:28.933 E/WifiMonitor(839): startMonitoring(wlan0) failed!
03-07 11:41:28.933 E/WifiStateMachine(839): Failed to setup control channel, restart supplicant
03-07 11:41:29.134 D/WifiHW (839): Unable to unload driver module "dhd": Device or resource busy
03-07 11:41:29.134 E/WifiHW (839): ##################### set firmware type 0 #####################
03-07 11:41:29.134 E/WifiHW (839): is_wifi_driver_loaded() is true !!!
03-07 11:41:29.134 I/WifiHW (266): wifi_change_fw_path(): fwpath = /system/etc/wifi/bcmdhd_sta.bin
03-07 11:41:29.194 E/WifiStateMachine(839): Unable to change interface settings: java.lang.IllegalStateException: command '24 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 24 Failed to set address (No such device)'
03-07 11:41:29.194 E/WifiHW (839): supplicant_name : p2p_supplicant
03-07 11:41:29.214 D/WifiMonitor(839): startMonitoring(wlan0) with mConnected = false

Then again:
03-07 11:41:44.228 E/WifiHW (839): Supplicant not running, cannot connect
03-07 11:41:44.228 E/WifiMonitor(839): startMonitoring(wlan0) failed!
03-07 11:41:44.228 E/WifiStateMachine(839): Failed to setup control channel, restart supplicant
03-07 11:41:44.428 D/WifiHW (839): Unable to unload driver module "dhd": No such file or directory
03-07 11:41:44.428 E/WifiHW (839): ##################### set firmware type 0 #####################
03-07 11:41:44.428 E/WifiHW (839): Cannot open "/data/.cid.info": No such file or directory
03-07 11:41:44.428 E/WifiHW (839): ==========[WIFI] Station firmware load ===========
03-07 11:41:47.912 D/Finsky (5732): [1] CheckWifiAndAutoUpdate.cancelCheck: Cancelling auto-update wifi check.
03-07 11:41:48.913 D/Finsky (5732): [1] CheckWifiAndAutoUpdate.scheduleCheck: Scheduling auto-update wifi check.
03-07 11:41:59.483 E/WifiHW (839): return of insmod : ret = -1, No such device
03-07 11:41:59.483 E/WifiStateMachine(839): Failed to load driver
03-07 11:41:59.483 E/WifiStateMachine(839): sendErrorBroadcast code:10
 
MisterXtm
Old
#8  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2014
I am starting to believe this issue is incidentally caused by the information provided in the .cid.info-file. I don't really understand why, like the wpa_supplicant.conf, this file is not being created or why it contains false information, but the device information is not provided.

Strangely, after doing a factory reset yet again and flashing with stock rom the file is also not there.

Can anyone provide the correct contents of a .cid.info for a I9505 (German)? I found one example online (content: "murata"), but that didn't work.

Thanks!
 
Selin G�ng�r
Old
#9  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2014
Default Similiar problem but no solution

Hi,

I have nearly same problem about my galaxy s4 GT-I9505

First i want to write all the information in my "about device" page to here (since i am new about this deep tech and i dont know wihch one is useful for you while you are replying my answer)


Model Number
GT-I9505

Android version
4,3

Baseband version
I9505XXUAMDE

Kernel version
3.4.0-2869009
se.infra@SEP-106#1
Sun Oct 13 18:47:33 KST 2013

Build number
JSS15J.I9505XXUEMJ5

SELinux status
Enforcing
SEPF_GT-I9505_4.3_0010

Secure boot status
Type: Samsung



---------------------
Secondly, i want to tell the story of my problem. I bought my device from Iraq (i am from Turkey by the way). At first there was no problem. About one an half month ago, i came from there to my homeland, Turkey. I went to a local phoneshop and did that imei registration thing.

I cant recall the date of 4.3 update, thats why i cant make any connection about that. But at least for 20 days i was using android 4.3.

And there was a problem about my wifi. When i touch the button, it becomes light green (not normal bright green, as if it will be open soon) and there is nothing for a long time like an hour etc.

After that, i started to digging over the web about my problem. Yesterday i did exact that: And nothing changed.

Pre-requisites

1) Install USB Driver for Samsung Galaxy S4 to transfer files between the Android device and the computer.

2) Enable USB Debugging Mode on phone to connect it with computer and use Android SDK with it. [Press Menu>> Settings>> Applications. From there navigate and click on Development option and check USB Debugging Mode.]

3) As the tutorial might wipe out all data of the phone, create a backup. If the device is having any custom recoveries such as ClockworkMod/TWRP already installed, backup data using the recovery.

4) The Galaxy S4 should have above 80% battery charge.

5) The phone should be factory unlocked and not locked to any particular carrier.

6) The device will lose manufacturer's warranty once it is rooted. However, users can reclaim the warranty back by unrooting the handset later.

7) The CF-Auto-Root files work only on Samsung Galaxy S4 GT-I9500 and GT-I9505. As applying these to any incorrect variant might brick the device, verify the model number of Galaxy S4 by navigating to Settings>> About phone>> Model number and install the root package accordingly.

Steps to root Samsung Galaxy S4 I9500/I9505 on Android 4.3 Jelly Bean

Step-1: Download CF-Auto-Root file for Galaxy S4 to computer

Download links

For GT-I9500- CF-Auto-Root-ja3g-ja3gxx-gti9500.zip

For GT-I9505- CF-Auto-Root-jflte-jfltexx-gti9505.zip

Step-2: Extract the downloaded root zip using Winzip, 7zip, winrar or any other extracting tool to get a file with .tar.md5 extension

CF-Auto-Root-ja3g-ja3gxx-gti9500.tar.md5

CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5

Step-3: Download Odin3_v3.07. Extract the Odin zip to get Odin3 v3.07.exe file

Step-4: Switch off Galaxy S4 and wait for five to six seconds for vibration to confirm complete power off

Step-5: Place the phone in Download Mode by pressing and holding Volume Down, Home and Power buttons together until the construction Android robot icon with a warning triangle appears on the phone's screen. Then press the Volume Up button to enter Download Mode

Step-6: Run Odin3 v3.07.exe as Administrator

Step-7: Connect the phone to the computer using USB cable while it is in Download Mode. Wait for some time until Odin detects the device. When the phone is connected successfully, an Added message will appear under Odin message box. Additionally, the ID: COM box in Odin will turn blue with the COM port number indicating successful connection

Note: If the Added message does not appear, then try another USB port, try the one located at the back side of the computer. In case Odin still fails to recognise the device then reinstall USB driver.

Step-8: In Odin, click the PDA button and select CF-Auto-Root-ja3g-ja3gxx-gti9500.tar.md5 or CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5 file according to the variants

Step-9: Ensure Auto-Reboot and F.Reset Time checkboxes are selected in Odin

Step-10: Click the Start button in Odin. The installation process should begin now and would take few minutes to complete

Step-11: When the installation process is completed, the phone will restart and soon a PASS message with a green background in the extreme left box at the very top of Odin. Once the home screen appears, unplug the USB cable from the phone to disconnect it from computer

Samsung Galaxy S4 I9500/I9505 running Android 4.3 should now be rooted successfully. You can now install any app that requires root permission. To verify the root method is installed and working properly, install Root Checker app from Google Play Sore.


Then i did this: (from a post)
"1. Root your phone
2. Download Root Explorer.apk, put it on your phone via USB, install it
3. navigate to either /data/misc/wifi or /system/etc/wifi
4. rename or delete wpa_supplicant.conf
4.5. reboot
5. ???
6. PROFIT!"


Actually i choose deleting both file, now i think that was one of my wrong choice. Becouse after that something has changed.
When i touch the wifi button, it turns open sıtuatıon (grey) for a while, for an half second, and turn itself off again immediately.

Then i did something written at this site (now i couldnt find the url). It was about root and unroot. i downloaded two zip file named "unroot.zip & update.zip". And did the recovery root with volume up home and power. Select both and checked if anything changed about wifi.

All these happens after 2 am at last night. I can remember and i dont know what to do.

I wısh ı had written here before doing all these things but unfortunately, this is it.


Sorry for my language, English is not my own. I will be very happy if anyone can solve my problem. Thank you very much.

Selin
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-03-10-18-49-27.png
Views:	299
Size:	180.9 KB
ID:	2623560  
 
basheermp1
Old
#10  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Mar 2014
Quote:
Originally Posted by Selin G�ng�r View Post
Hi,

I have nearly same problem about my galaxy s4 GT-I9505

First i want to write all the information in my "about device" page to here (since i am new about this deep tech and i dont know wihch one is useful for you while you are replying my answer)


Model Number
GT-I9505

Android version
4,3

Baseband version
I9505XXUAMDE







Kernel version
3.4.0-2869009
se.infra@SEP-106#1
Sun Oct 13 18:47:33 KST 2013

Build number
JSS15J.I9505XXUEMJ5

SELinux status
Enforcing
SEPF_GT-I9505_4.3_0010

Secure boot status
Type: Samsung



---------------------
Secondly, i want to tell the story of my problem. I bought my device from Iraq (i am from Turkey by the way). At first there was no problem. About one an half month ago, i came from there to my homeland, Turkey. I went to a local phoneshop and did that imei registration thing.

I cant recall the date of 4.3 update, thats why i cant make any connection about that. But at least for 20 days i was using android 4.3.

And there was a problem about my wifi. When i touch the button, it becomes light green (not normal bright green, as if it will be open soon) and there is nothing for a long time like an hour etc.

After that, i started to digging over the web about my problem. Yesterday i did exact that: And nothing changed.

Pre-requisites

1) Install USB Driver for Samsung Galaxy S4 to transfer files between the Android device and the computer.

2) Enable USB Debugging Mode on phone to connect it with computer and use Android SDK with it. [Press Menu>> Settings>> Applications. From there navigate and click on Development option and check USB Debugging Mode.]

3) As the tutorial might wipe out all data of the phone, create a backup. If the device is having any custom recoveries such as ClockworkMod/TWRP already installed, backup data using the recovery.

4) The Galaxy S4 should have above 80% battery charge.

5) The phone should be factory unlocked and not locked to any particular carrier.

6) The device will lose manufacturer's warranty once it is rooted. However, users can reclaim the warranty back by unrooting the handset later.

7) The CF-Auto-Root files work only on Samsung Galaxy S4 GT-I9500 and GT-I9505. As applying these to any incorrect variant might brick the device, verify the model number of Galaxy S4 by navigating to Settings>> About phone>> Model number and install the root package accordingly.

Steps to root Samsung Galaxy S4 I9500/I9505 on Android 4.3 Jelly Bean

Step-1: Download CF-Auto-Root file for Galaxy S4 to computer

Download links

For GT-I9500- CF-Auto-Root-ja3g-ja3gxx-gti9500.zip

For GT-I9505- CF-Auto-Root-jflte-jfltexx-gti9505.zip

Step-2: Extract the downloaded root zip using Winzip, 7zip, winrar or any other extracting tool to get a file with .tar.md5 extension

CF-Auto-Root-ja3g-ja3gxx-gti9500.tar.md5

CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5

Step-3: Download Odin3_v3.07. Extract the Odin zip to get Odin3 v3.07.exe file

Step-4: Switch off Galaxy S4 and wait for five to six seconds for vibration to confirm complete power off

Step-5: Place the phone in Download Mode by pressing and holding Volume Down, Home and Power buttons together until the construction Android robot icon with a warning triangle appears on the phone's screen. Then press the Volume Up button to enter Download Mode

Step-6: Run Odin3 v3.07.exe as Administrator

Step-7: Connect the phone to the computer using USB cable while it is in Download Mode. Wait for some time until Odin detects the device. When the phone is connected successfully, an Added message will appear under Odin message box. Additionally, the ID: COM box in Odin will turn blue with the COM port number indicating successful connection

Note: If the Added message does not appear, then try another USB port, try the one located at the back side of the computer. In case Odin still fails to recognise the device then reinstall USB driver.

Step-8: In Odin, click the PDA button and select CF-Auto-Root-ja3g-ja3gxx-gti9500.tar.md5 or CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5 file according to the variants

Step-9: Ensure Auto-Reboot and F.Reset Time checkboxes are selected in Odin

Step-10: Click the Start button in Odin. The installation process should begin now and would take few minutes to complete

Step-11: When the installation process is completed, the phone will restart and soon a PASS message with a green background in the extreme left box at the very top of Odin. Once the home screen appears, unplug the USB cable from the phone to disconnect it from computer

Samsung Galaxy S4 I9500/I9505 running Android 4.3 should now be rooted successfully. You can now install any app that requires root permission. To verify the root method is installed and working properly, install Root Checker app from Google Play Sore.


Then i did this: (from a post)
"1. Root your phone
2. Download Root Explorer.apk, put it on your phone via USB, install it
3. navigate to either /data/misc/wifi or /system/etc/wifi
4. rename or delete wpa_supplicant.conf
4.5. reboot
5. ???
6. PROFIT!"


Actually i choose deleting both file, now i think that was one of my wrong choice. Becouse after that something has changed.
When i touch the wifi button, it turns open sıtuatıon (grey) for a while, for an half second, and turn itself off again immediately.

Then i did something written at this site (now i couldnt find the url). It was about root and unroot. i downloaded two zip file named "unroot.zip & update.zip". And did the recovery root with volume up home and power. Select both and checked if anything changed about wifi.

All these happens after 2 am at last night. I can remember and i dont know what to do.

I wısh ı had written here before doing all these things but unfortunately, this is it.


Sorry for my language, English is not my own. I will be very happy if anyone can solve my problem. Thank you very much.

Selin



you try this, 100% working

1->>rooted device >>
2->>install root browser >>
3->>with root explorer edit "system/build.prop" (text editor)
4->serch this line ro.securestorage.support=true change ro.securestorage.support=false

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes