I'm running cm7 on a bootable SD card from this thread,
http://forum.xda-developers.com/showthread.php?t=1000957
But the wifi had to be enabled each time I reboot. Is there a setting it can remember and turn on wifi automatically after reboot?
Thanks.
this happens if you turned on airplane mode at some point. Its a bug in cm7. so, even if you turn off airplane mode, it stays on at startup (for wifi).
You can use a sqlite to turn it off.
Open a shell..and run the following commands..
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
delete from system where name = 'airplane_mode_on';
.exit
Click to expand...
Click to collapse
don't turn on the airplane mode again. If you do, you have to run the above commands.. till a perm fix is in place.
If you want it always on, you go to wifi settings and hit menu to get advanced options.
Warning tho, there is reports that always on wifi tends to cause SOD with certain aps, i.e. lattitude.
good to know that, thanks both
Related
Just installed Elelinux-7.1.0-Hero-v2.1, poked around in Dev Tools, and apparently turned on some debugging feature I should not have. Now my phone goes into a reboot loop. It isn't a full reboot... only the Android boot animation is shown, not the initial HTC splash screen. It makes it up to the lockscreen and the phone is responsive for about 10 seconds before it freezes up and reboots.
This isn't enough time for me to unlock the screen, open the app drawer, run Dev Tools, and change back the setting before the phone reboots. Is there another way of manually clearing the Dev Tools settings without having to do a factory wipe?
Since I can't get into Dev Tools now, I cannot say which options were enabled. I turned on one that shows the touch coordinates, and I think another that shows the running processes (trying to track down battery drain issues). There may have been a couple of others, but due to the delay in the reboot, it's hard to tell exactly which one is the culprit.
So I'm hoping there is some way to bring up the phone in single-user mode, edit or delete a settings file, and then rebooting the phone. I'm using the AmonRA recovery console, if that helps.
I'd just reflash...
Yeah, there isn't much on the phone yet, so I could do a wipe and not lose anything, but I'd rather see if there is a way to recover in case something like this happens again in the future.
I did find an issue tracker page on Google that describes the problem, and a couple of proposed fixes. I'm not allowed to post links yet, so demangle this to bring up the page. I'm going to try editing the settings.db file and hopefully that will fix things:
ht tp://code.google.com/p/cyanogenmod/issues/detail?id=1026
Hooray, editing the settings.db file worked! I followed the suggest posted by cryptographrix in post #14 of the code.google.com thread:
Code:
$ [B]./adb shell[/B]
/ # [B]mount /data[/B]
/ # [B]mount /system[/B]
/ # [B]/system/xbin/sqlite3 ./data/data/com.android.providers.settings/databases/settings.db[/B]
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> [B].header ON[/B]
sqlite> [B]select * from system where name="show_processes";[/B]
_id|name|value
109|show_processes|1
sqlite> [B]update system set value=0 where name="show_processes";[/B]
sqlite> [B]select * from system where name="show_processes";[/B]
_id|name|value
109|show_processes|0
sqlite> [B].quit[/B]
/ # [B]reboot[/B]
Hello,
To start off, I have a USCellular S4 w/ CM10.1, currently the 7/9 nightly. I am running baseband version R970VXUAMDL and have not modified the kernel.
I am unable to enable WiFi at all on CM10.1 and haven't been able to since initially flashing CM10.1.
Under the Settings menu, I am unable to enable WiFi - it's greyed out.
Under the WiFi menu, I can enable the toggle but it does nothing.
Under the Advanced menu, MAC address shows 'unavailable' and the Wi-Fi region code is set to 'Europe' and will not remember changes.
sylvisj said:
Hello,
To start off, I have a USCellular S4 w/ CM10.1, currently the 7/9 nightly. I am running baseband version R970VXUAMDL and have not modified the kernel.
I am unable to enable WiFi at all on CM10.1 and haven't been able to since initially flashing CM10.1.
Under the Settings menu, I am unable to enable WiFi - it's greyed out.
Under the WiFi menu, I can enable the toggle but it does nothing.
Under the Advanced menu, MAC address shows 'unavailable' and the Wi-Fi region code is set to 'Europe' and will not remember changes.
Click to expand...
Click to collapse
Have you tried removing the .cid.info file ?
Using a terminal app type the following:
Code:
su
rm /data/.cid.info
On some ROM's have have to do this after every time I have rebooted the phone, not quite sure why but it works for me.
TrallaP said:
Have you tried removing the .cid.info file ?
Using a terminal app type the following:
Code:
su
rm /data/.cid.info
On some ROM's have have to do this after every time I have rebooted the phone, not quite sure why but it works for me.
Click to expand...
Click to collapse
Hello,
Thanks for the suggestion. I fired up Terminal Emulator, su'd, and it doesn't look like there is a .cid.info in /data/. There is a .psm.info, though, and .npswifi_stream - I don't know if they're related at all.
sylvisj said:
Hello,
Thanks for the suggestion. I fired up Terminal Emulator, su'd, and it doesn't look like there is a .cid.info in /data/. There is a .psm.info, though, and .npswifi_stream - I don't know if they're related at all.
Click to expand...
Click to collapse
Here's the 'ls -a' output for /data:
Code:
[email protected]:/data # ls -a
.container_1
.container_2
.container_3
.layout_version
.mtp_stream
.npswifi_stream
.pcsync_stream
.psm.info
.socket_stream
.ssh
anr
app
app-asec
app-lib
app-private
audio
backup
bcmnfc
bluetooth
cam_socket0
cam_socket1
container
dalvik-cache
data
dontpanic
drm
fota
hostapd
local
log
lost+found
media
misc
nfc
property
qcks
radio
resource-cache
security
shared
ssh
system
time
tombstones
user
wiper
wpstiles
Bump.
I have the same problem......
ninne1 said:
I have the same problem......
Click to expand...
Click to collapse
Bump again.
i think it's missing IMEI and EFS. Try this http://forum.xda-developers.com/showthread.php?t=1264021
r47z said:
i think it's missing IMEI and EFS. Try this http://forum.xda-developers.com/showthread.php?t=1264021
Click to expand...
Click to collapse
I dunno about EFS, but I know the IMEI is already correct - *#06* is showing the same IMEI as the label on the back of my phone.
My phone is work well after flashing CM, but no WIFI.
No /data/.cid.info file!
*#06# - show IMEI.
Did we ever get to the bottom of this?
Im having exactly the same problem, so bump. Its been like that for 6 months, my workaround so far was getting a bigger data subscribtion since 4g is working fine
sylvisj said:
Hello,
To start off, I have a USCellular S4 w/ CM10.1, currently the 7/9 nightly. I am running baseband version R970VXUAMDL and have not modified the kernel.
I am unable to enable WiFi at all on CM10.1 and haven't been able to since initially flashing CM10.1.
Under the Settings menu, I am unable to enable WiFi - it's greyed out.
Under the WiFi menu, I can enable the toggle but it does nothing.
Under the Advanced menu, MAC address shows 'unavailable' and the Wi-Fi region code is set to 'Europe' and will not remember changes.
Click to expand...
Click to collapse
Hi sylvis,
I realize that this is an old post. However. perhaps this thread will help someone else:
I flashed a Samsung Galaxy S4 (T-mobile SGH-M919) to CyanogenMod (CM11) this weekend. It worked ok for a couple days. The owner then said that they can't get any WI-FI. I found your post here and read with optimism that I might be able to fix this problem. Our problem was exactly "word for word" the same problem as you described in your original post. (Well almost exactly; we couldn't get "USA" to stick as the region code)
Before flashing the phone, I did install Philz ClockworkMod and did do a backup of the OEM ROM before flashing to CM11. That said, I found that I did not have to go down the road of restoring a missing IMEI file (as other threaders here describe). Here's what worked for me:
I dialed *#06# on the phone to see if there was an IMEI number present, and there was. I wrote down that number. So I decide to see if that number matched the printed number on the phone, that we can find under the battery.
Before I do a power off of the phone, I recall that I had turned OFF both Bluetooth and Mobile Networks. WI-FI was still turned ON, but in it's non-functional "greyed out" state like you and I both experienced.
Now I power off the phone, take off the back cover, and take out the battery to have a look at the printed IMEI number. Yes, it does march the number that I saw via *#06#.
I had to get up to do something, then returned a couple minutes later. I popped in the battery and restarted the phone. To my utter surprise, WI-FI was back up! In "Advanced" I now see the MAC address and the region is locked on USA
I turn on Mobile Networks, and WI-FI's still working. Being the fool that I am, I have to test this further. So I power off the phone again and just let it sit there for a couple minutes. I power back on and there is still JOY. Problem resolved and happy customer.
In closing: I don't think that the removal and reinsertion of the battery was the total solution, because the owner had already tried that. However, the owner did not let the phone sit with the battery removed for very long. They just popped it out, waited a couple seconds, then popped it back in. I think the total solution was having WI-FI enabled, Bluetooth and Mobile disabled, then doing a power off, with an extended wait time before reinserting the battery.
Hope that helps.
Regards,
Brcobrem
OK i seem to have this extremely bizzare wifi issue.
I can connect to wifi access points fine, if i turn off wifi and turn it back on i am unable to auto connect and have to re-enter credentials for it to connect. Before doing so i checked my wifi ap to see if my ap were listed and they were not.
If i re-enter everything is fine but having to do this to wifi ap is annoying. After i have entered and check the wifi ap files i can see the credentials are saved etc.
If i do not re-enter the credentials and restart the phone with wifi enabled it connects to AP fine.
If i leave wifi connected and connect to to wifi aps that require certs its fine also without the need to re-enter creds.
At first i thought maybe i had a corruption in the wifi config files but i dont see any, no duplicate aps at all, no fancy characters i can see.
Does anyone have any thoughts as my wifi config with aps is many years old and has a massive amount of APs listed.
It doesnt matter what ROM i try as soon as i restore all my APs the issues start, is there a way to bulk export, wipe wifi aps and re-import them all again?
Do wifi aps with spaces in or length cause issues with 5.1.1?
1 root ur phone if you are unrooted 2 download any build prop editor from playstore 3 change this line ro.securestorage.support=true to false in /system/build.prop 4 if it doesnt work try a different build prop editor cz the changes might not be sticking 5) hit the thanks button if it helped
dork997 said:
1 root ur phone if you are unrooted 2 download any build prop editor from playstore 3 change this line ro.securestorage.support=true to false in /system/build.prop 4 if it doesnt work try a different build prop editor cz the changes might not be sticking 5) hit the thanks button if it helped
Click to expand...
Click to collapse
ro.securestorage.support=false
already
Hi all,
I've been having this issue for 1 week now, and can't seem to solve it.
My device wifi, bluetooth and wifi hotspot stopped working out of the blue. Wifi is stuck on "turning on".
I've already tried the following:
1. rooting the device
2. Removing the battery while it was on
3. Changing date to 3 days before and reboot
4. Changed Power Saving to Off and reboot
5. Removing SD Card and reboot
6. Tried putting it into the refrigerator for 3 hours
7. Tried using a magnet on its back
8. Tried whacking it
9. Airplane mode -> reboot -> left it for 3h in airplane mode -> setenforce 0 -> reboot
10. Spoofing the mac address
11. deleting the folder /data/misc/wifi/
12. deleting the folder /etc/wifi/
13. deleting and recreating the folder /persist/wifi
14. Tried WiFix
15. Wipe Cache Partition
16. Rebooting into safe mode
17. leaving the battery run dry completely, charging it to 100% and turning on.
18. uninstalled recently installed apps prior to the issue.
19. cleared dalvik cache
Many of those solutions were from this post:
http://forum.xda-developers.com/google-nexus-5/help/wifi-stuck-t2721643
I also tried other options that i dont recall right now.
Aaaaand I had no luck at all with any of these solutions.
Though I havent tried flashing a new rom and starting from scratch, many people said it didnt work anyway.
Also I can't run a custom ROM since some apps I use don't allow it.
What I've noticed is that, every time I tried to copy the .macaddr file into /persist/wifi and reboot, the next time i go to that folder again, it is empty. Somehow the system is deleting the files.
Also, when I deleted the files inside the folder /data/misc/wifi/ , the system should be creating new files, but it doesn't.
Please, can someone help me solve this issue? I dont have warranty anymore and I can't really buy a new phone right now, plus, I use it to work.
Thanks in advance.
Hello XDA community,
Im a noobie when it comes to rooting, thats why i need help...
I deleted some files that i want to recover on my Samsung S7 Edge 2-3 years ago, this device has Android 7.0. (Never updated)
There is a lot of apps such as Disk Digger that offer you to recover every single file but the device must be rooted to access 100% on the internal memory.
Right now my Samsung S7 Edge is not rooted but i need to root to recover this files, so my question is, there is anyway of rooting without factory reset, or there is anyway of doing a fully backup of the internal memory of my device without touching the partitions so then i can try recovering my files later with this apps?
I hope someone can help me...
Regards
It's pretty disappointing that nobody ever responded to this considering how big is a community it is and how popular the S7 Edge was. I know this is pretty old and hopefully you were able to resolve this before this message but I'm going to respond to this just so you don't feel like your question wasn't acknowledged at all. I have an S7 Edge through Verizon which uses the Snapdragon processor. And I will find a link to post for you that although the method says it's discontinued I rooted my phone through this method and it works fine. The only reason that you would have to wipe your phone is if you're changing firmware as far as I know. I've rooted my phones and did not have to wipe them. I kept all the data and everything.
Before I lift this you are also asking about an application that you could use to back up your phone and that would be Samsung smart switch. It has a companion app for the desktop and it sinks to the phone and it'll make a backup of your data.
Now on to the root method all props and praise goes to the people that worked to give this to the people I'm not good at doing all this **** and I'm not meaning to step on any toes I'm just trying to help you since nobody did for two ****ing years.
To root
1. Download PrinceComsys Odin
Odin.Prince.Comsy.zip
drive.google.com
2. Download the engboot.
Engboot Download
Nougat_S7_Edge_EngBoot.tar.md5
drive.google.com
3 make sure you have adb and fastboot installed on your computer (goggle them)
4. Root file
Download the file below.
Nougat_S7_Root_2_82_All_Carriers_V2.zip | by jrkruse for Galaxy S7 Edge
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
BELOW IS THE ROOT AND MOD FOR THE PHONE!!!!!
Follow this method to root:
1. Shut off the phone and boot into download mode (volume down, home, and power). Use Odin And Flash Nougat_S7_Edge_EngBoot.tar.md5 In AP Slot
2. When the phone reboots, unlock developer options by going into the phone settings scroll down to 'about phone' find the build number and tap on it repeatedly after several times it will unlock Developer Options then back out once and in your settings you should have a new option on the very bottom called developer options go into that and enable USB debugging and Disable Verify Apps Over USB.
Plug the phone into the computer and make sure you have adb and fastboot installed to this location
C:\Users\YOUR PROFILE\AppData\Local\Android\Sdk\platform-tools
go to that folder and inside it hold shift and right click then click on 'open command window here'
then in command prompt type
adb devices
then hit enter.
The computer should automaticly detect and run adb
3. Unzip the Nougat_S7_Root_2_82_All_Carriers_V2.zip and hold shift and right click then click on 'open command window here'
In the command window type root.bat then press enter from your PC.
4. This will install root when done phone will reboot
5. The process wipes dalvik cache so it will take a few minutes to reboot
6. If having problems getting Grant SuperSU dialog to come up you can delete the SuperSU app and root will be granted instantly to all root request
Give phone a few min to settle open developer options set animation scales .05 and others to .05
Give phone a few min to settle open developer options set animation scales .05 and others to .05
ODIN FAILED TO WRITE ERROR
Did you get this Failed To Write Message in Odin?
----------------------------
Odin Error Message:
<ID:0/003> FAIL! Model dismatch fail
<OSM> All threads completed. (succeed 0 / failed 1)
SOLUTIONS
Did you:
? Open Odin as Administrator?
? Try the Prince Comsy version?
? Enable Developer Settings?
-Open Settings > About Phone > Tap Build Number 7 Times
? Enable OEM Unlock?
-Go Back to Settings > Tap Developer Options > Tap OEM Unlock
? Enable USB Debugging?
-Tap Developer Options > Tap USB Debugging
NOTHING WORKS
Did you try every single thing but nothing works?
Well, did you right click "Odin" each time you go to open it and then click "open as administrator"?
Sometimes you have to try several different versions of Odin.
But I have found that Odin3 v3.12.7 was the one that would work when the others had not.
I always would forget to also open Odin as Administrator.
It's a pain in the neck to have to remember to open as admin every time.
But you usually have to do it.
Did you check that ADB had started? Maybe that might be the reason it won't work?
But I doubt it! But you just never know and I am just trying to help you get it flashed.
It's a very quick flash and you can see that the PDA load was very quick as well.
But as far as the errors, you just have to keep trying...
Which I mean, you sometimes have to open, close, reopen Odin when it doesn't work.
Sometimes that helps, sometimes it doesn't.
It's all about the right Odin version at the time
making sure the cord is good
Opening Odin as Admin
And keep trying again after restarting your phone by holding the download mode button sequence again.
============
Congratulations! You are ROOTED but you're not done
Follow these instructions next
On your phone, open the SuperSU app (installed during the root process) and tap on Settings. Half-way down under Security, tap on "Enable su during boot".
This option will ensure that startup scripts that are installed during this process get to do their job correctly.
Download the fix or fix+debloat script flashable ZIP package appropriate for your model of phone and copy this file to your device:
S7_VOLTE_ICON_FIX_ALL_VARIANTS or S7_or_S7Edge_Fixes_V15.zip (MD5 hash F15CD9BDC35382A8F48FFBEDBB1BCDF0) (any Samsung Galaxy S7 or S7 Edge)
turn off auto update of time and date in your phone settings, then set your year to 2013,
Launch FlashFire app on the phone and click the (+) button in the lower right to add a step. Select a 'Flash ZIP or OTA' flash step.
Locate the flashable ZIP package and select it. For options, check on 'Mount /system read/write' and leave the rest of the options unchecked.
Tweaks to Root
Debloat and fix several issues with the phone (CPU lag issues, poor battery performance, phone becoming too hot, Wi-Fi not saving passwords, hotspot/tethering not working,
VoLTE icon appearing, searching for service issues, MMS not working, unauthorized security nag notification, etc.):
Full notes on what this flashable update does:
Adds a rotate button to the native gallery app
.
Adds a shortcut call button in the call log next to each logged call.
Adjusts several CPU tunables, which fixes phone lag and battery life issues.
Disables "No SIM" popup when no SIM card is present.
Disables roaming data by default.
Disables secure storage support, which fixes Wi-Fi passwords not saving issue.
Disables Verizon provisioning for Wi-Fi tethering/hotspot (will still use your data plan, of course).
Enables ADB to run as root by default.
Enables CPU idling/sleeping, which fixes phone heat issues.
Enables mock GPS locations.
Enables native call recording feature in the dialer.
Enables native Wi-Fi calling feature in the dialer.
Enables RIL power saving features.
Enables scheduled messages in the native messaging app.
Enables the camera during calls.
Enables unlimited contact merging.
Enables using the new 3GPP2 Profile ID (Verizon exclusive).
Fixes various 'searching for service' and other cellular network connectivity issues (SMS/MMS not working, calls not working, etc.)
Knox apps, drivers, and data are removed (fix+debloat version).
Prefers LTE network.
Raises the contact name length limit to 1,280 characters.
Raises the maximum SMS recipient limit from 10 to 90.
Remove nagging 'unauthorized actions' security notification (fix+debloat version).
Removes VoLTE icon.
after you flash your stuff change the date back. and you're good.
I know this all seems like a lot and it seems very confusing but it's pretty easy if you just follow the directions this will not wipe your data. Please do research, read through the forms and just tried to get as much knowledge as you can before you go about doing this it's an easy process but it's better to go in with more knowledge, I hope this helps. If you have to reinstall the firmware make sure that you install CSC home so you don't lose your data