FlightMode and SDcard issues - HTC Incredible S

Hi,
I'm having a bitof a trouble with flight mode recently - it worked as expected till January, but now when i deactivate it I don't get the PIN dialog and the SIM won't unlock consequently. Only way to solve this so far seems to be a reboot.
On reboot I get the message that the SDcard cannot be accessed and that I should check it - a little later on it works quite nicely
My IncS runs VirtuousAffinity 2.05 plus one UOT mod. Apps: Cerberus, LBE Privacy Guard and CF lumen are those who interfere closest to hardware level - none of these are activated when the sdcard message appears, they are loaded later on.
Anyone else having similar problems? Or maybe some hints about how to solve it?

Do you really need to use flight mode? I don't know your circumstances but data can be switched off and the phone can be set silent without using this mode.

Yes, I need it, 'cause I need to be at places where networks are shielded off and the phone keeps trying to connect while not in flight mode, thus sucking the battery empty.
But thx anyway for reminding, that may help a little.
Any other hints anyone?

Related

[Q] Wifi is turned off after reboots.

I started having so many wifi issues with Nookie Froyo 0.6.8 that I decided to just blow it away and reinstall the ROM.
However this time I'm having a totally new problem. Everytime I reboot or power on the Nook Color, the wifi defaults to turned off. Before it would always default on.
Is there a way to make the wifi default to turned on without me having to go into settings and turning it on all the time?
I installed Spare Parts and change the policy to never sleep, however that isn't helping with reboots.
I also faced wifi issue on Nookie Froyo 0.6.8. NC kept on turn on/off the wifi. Need to wait for a certain period of time to have the wifi work. Which ROM are you using to improve the wifi issue?
running cm7... i had this problem before... could not find the root cause. I was able to fix it by doing a clean install.
I heard it's an issue with airplane mode being turned on one time. Once you turn it on, it stays on (until you enable BT or WiFi) and is defaulted to on when you turn on your system, even if it doesn't say so in the settings. Somewhere on these forums is a fix, although I don't mind it being off when the nook boots up bcuz it saves power if I'm not going online.
I have so far only used NookieFroyo on SD (no airplane mode, no apps, no eMMC boots), and while I don't think I have this exact problem, I would like a fix for the WiFi issues. From boot it takes so long to enable the WiFi that I just go in and do it manually anyway.
More troubling to me is the wake up time -- still the WiFi takes forever and/or never comes back. This is no problem for me as I'll just go to Settings and toggle it, but others in the household aren't as technical and I'd really rather the thing reassociate on its own. Is that "Spare Parts" app the correct solution?
xdabr said:
I have so far only used NookieFroyo on SD (no airplane mode, no apps, no eMMC boots), and while I don't think I have this exact problem, I would like a fix for the WiFi issues. From boot it takes so long to enable the WiFi that I just go in and do it manually anyway.
More troubling to me is the wake up time -- still the WiFi takes forever and/or never comes back. This is no problem for me as I'll just go to Settings and toggle it, but others in the household aren't as technical and I'd really rather the thing reassociate on its own. Is that "Spare Parts" app the correct solution?
Click to expand...
Click to collapse
Although it's not a fix, you should have a Wifi widget on the home screen so that you can easily toggle it from there (and teach others how to). That's what I do.
I had a similar problem in that the WiFi would be off upon boot and/or when I try to manually control the WiFi it began looping on/off/on/off (you get the idea). I had a "Beautiful Toggle Widget" for this very reason (to give WiFi a kick in the pants). When the WiFi cycles, the widget did also. Could not correlate this with anything in particular.
This was so annoying that I bailed on Nookie Froyo 0.6.8 for the time being (playing with CM7 on a dual boot setup).

[Q] Reboot using Airplane mode

Sometimes I'm in areas where I don't get the best reception (i.e. some lecture halls during school hours) and I choose to put my phone in airplane mode so as to conserve battery when the class is over. However I find after trying to come out of Airplane Mode my Revo always reboots. As far as I can remember this issue has also happened in Decrapped 1.0. The same thing happens when I turn on GPS and choose to go to Google Navigation I get rebooted. After the reboot occurs I can turn on the gps/airplane mode etc without any problems. But does this issue happen to anyone else or is it perhaps just my phone? Thanks!!
I find that my revo does the same thing with google nav beta, it will sometimes hang and reboot too. I am running stock rom with a root. When I rotate phone the landscape view is sometimes corrupted with tiny blocks instead of the maps drawn correctly. I have to exit nav app and reload
I've had the same thing happen with airplane mode. I don't really use it often so I figure I can live with it.
Same here. The Revo doesn't seem to like hardware mode changes at times. I get reboots when switching into Bluetooth occasionally.
[I'm Revolting -- are you? Beamed directly into your brain by Revolt 1.3]
I'm happy to hear I'm not the only one this happens to. Do you think LG will possibly release a fix? (or more people will have to raise concern about it) or possible for a dev to take a crack at it in their free time? Thanks for the feedback guys!
Cryofalcon said:
I'm happy to hear I'm not the only one this happens to. Do you think LG will possibly release a fix? (or more people will have to raise concern about it) or possible for a dev to take a crack at it in their free time? Thanks for the feedback guys!
Click to expand...
Click to collapse
I'm only adding this due to the fact that I was constantly having issues when tethering with the Verizon 4g Hot Spot app. When running it, I found myself needing to reboot because the data connection would get lost and sometimes go into 3g, causing all sorts of headaches with doing things on my computer, such as redesigning websites, including my own.
What I found, though, related to this post, is using the airplane mode to kill the data connection and restart it, was getting me 4g and a few minutes to a few hours of Internet again until the next glitch.
Overall, modded, ota updated, downgraded, whatever, using that method never rebooted my phone. My thoughts are that it's possible some app might be causing that. I don't use Nav anymore, except as a last resort because it is so buggy, it would cause my phone to crash over and over, and rebooting. So, as for LG or Verizon coming up with a fix for this issue, I don't know if they would see it as one because it's not something everyone is experiencing and with as much as I use(d) that method, it never once happened to me. Please don't take that wrongly, just wanted to point out that it might be a certain app and allow those having this issue to seek another solution, maybe comparing apps installed to see a common denominator.
And, because I see a lot of posts relating to tethering issues with Internet freezing or dropping out, I found, on my LINUX machine (so far), that setting the MTU to 1300 seems to have solved that issue. I know this last part isn't directly related to the original post, but is the reason I kept using the airplane mode method and thought this added information might help someone doing what I was...
-Cybie
Sorry for the bump, but as of flashing Revolt 1.5, the issue in my original post seems to have been corrected as I was able to go from airplane mode to google nav multiple times and didn't reboot at all. so whatever the issue was seems to have been corrected. Thanks MT!!

[Q]fix msm_serial_hs_dma wakelock? overlay/frameworks/base/core/res/res/values/config

Hello,
yesterday i have flashed my friends Samsung galaxy i9001 with an Android 4.0.4 Rom.
I have tested it of functionality and found out that the device wouldnt go into deepsleep.
BBS shows me two fulltime wakelocks:
msm_serial_hs_dma
bluesleep
which refere both to bluetooth. But playing around with bluetooth on/off etc. did not help.
After searching the web for a solution i found this about someones HTC wildfire:
I’ve had the problem that the device didn’t want to switch into deep sleep mode if radio was on. What is deep sleep? To make it simple we break it down. Your device has 3 modes. The fisrst is “Screen On and Awake”, “Awake” and “Deep Sleep”. If you use your device it you’re in the first mode and you need a obviously a lot of battery. The second “Awake” means it is doing some background work. Checking for calls, checking Emails, syncing contacts. The last one means it goes for some time into a mode were it uses almost no battery, and this is Deep Sleep. If you don’t do anything and your phone is in your pocket you want that it is in the Deep Sleep mode most of the time.
My HTC Wildfire S didn’t want to go into the “Deep Sleep” mode at all if radio was turned on. It worked with Airplane mode. I thought this has something todo with RIL but I was wrong. Actually it was a bluetooth wakelock. The wakelock “msm_serial_hs_dma” was held all the time. The problem is that the msm7227 platform doesn’t supports quick switch-on/off of the bluetooth module and you need to deactivate it with an overlay else ICS always tries to trigger it.
So adding
<bool name="config_bluetooth_adapter_quick_switch">false</bool>
to overlay/frameworks/base/core/res/res/values/config.xml fixed the problem and the wakelock was gone.
Click to expand...
Click to collapse
Source: http://blog.cryptomilk.org/2012/05/
So i would like to add the mentioned line to the config.xml file but i do not know where to find this file.
Could someone lead me to the path?
Regards
Hi there,
I freshly registered because I have the same problem, I9001 with remICS rom 1.3a.
Edit: Updated to Version 1.3.1 of the ROM followed the instructions but problem is the same.
If I go in flight mode the mobile can enter Deep Sleep without problem. As soon as I turn off the flight mode it stops going in this mode.
I tried to put the rom again with all the wipes and cleans and stuff, I took out the battery a few times, I tried to boot with flight mode switched on already but nothing helped.
I also searched this config.xml file but there is nothing like it on the phone.
Any help? Any app which manualy switches off and on the bluetooth will help?
Thanks
I'm having the same issue with CM10 for the Evo3d.
When bluetooth is enabled, those components wake lock the phone.
yes please how i can fix it ?? i am not dev...
Follow this thread to decompile: http://forum.xda-developers.com/showthread.php?t=1752201
Find config.xml in overlay/frameworks/base/core/res/res/values and change or add in
Code:
<boolname="config_bluetooth_adapter_quick_switch "> false</bool>
Someone please help where is config.xml??
this issue kills my battery after update to kk. on jb idle consumption was 5x lower than on kk. the reason was bluetooth always on and this bug which prevent system to switch to deep sleep. @username1234321 you can more likely find it in /system/framework/framework-res.apk . you need to extract it from your current rom, decompile using apktool, modify, recompile, prepare update package zip and then install it using cwm recovery install option.

[Q] WIFI is dead after 'crash'

I have a serious problem with my Galaxy Note. All of a sudden Wifi is not working anymore (cannot be turned on anymore at all). Any ideas as how to get it fixed?
Background: I was playing a online game, put the device on the table (waiting for a timed task to finish). About 5 Minutes later I was picking it up again and noticed that the phone was shut off. Turned it on again and noticed that WIFI was greyed out. Other bugs noticed: The game data was wiped and all device administrators have been unselected (I use a tool that needs device administrator privileges to turn on the phone by swiping over the motion sensor). I don't know if WIFI was turned on or off at the time of crash. Anyhow - seems like some files that were in use (or recently in use) were deleted/corrupted. Probably including some WIFI components.
Stuff tried already: Turning Flight mode on/off. Rebooting Phone. Removing Battery. Various service codes found on the net like *#232339#, *#526# and *#528# all which do noting (do not open anything; seem to be invalid).
Phone is running on Stock Android 4.1.2, it is NOT rooted.
Any advices how to fix the problem (I'd really really really like to keep my app data, so factory reset is something I'd like to avoid). Found a tool called "fxr wifi fix and rescue" but dunno if it would be aplicable in this case or if it could make things even worse. Anything else? Any log files that can be checked? Anything to determine if this is hardware or software related?
Thanks for any help....

Signal problem. Update: Info for others with issue and solutions.

After searching extensively on the whole Nexus 6 signal debacle. I've gotten some observations and studies to share and a couple questions.
I recently obtained a Nexus 6, which I already knew had the ! no data connection problem. (I tried to help the previous owner with the issue before, calls/texts would work, but data wouldn't) They were naturally on T-Mobile, so I assume it was related to the project Fi launch. Googling the issue recently states mostly T-Mobile and Sprint users having the issue, so I decided eh can't pass up a good deal! A like-new Nexus 6 for only $70, who can resist? I figured even if I get the no data issue, I can just turn on airplane mode, use as a mini-tab.
Here's where it gets interesting: I use Cricket (which is AT&T of course), popping the sim in results in good signal, LTE, etc as expected. Randomly (sometimes within 2 minutes) instead of the "!" on service problem, it drops to No Service completely. A reboot and it comes back fine, this wouldn't be too much of an issue except it happens EVERY 2-10 minutes. The only way to get it back is a reboot, airplane mode toggle doesn't help.
Which leads into the second part of the conundrum: Airplane mode doesn't help.
I figured I might just keep it in airplane mode and use as a tablet... The phone said no, Was fully charged before going to bed, by morning 17%. In airplane mode no less, which is of course is abnormal. Looking into it, it seems the phone never went into Deep Sleep, which I immediately delved into the cause. At this time I was running CM13 latest nightly, naturally I went for a fresh stock flash... Same issue. I even stock flashed to 5.0.0 and the same issue... Looks like hardware, but the randomness is the confusing part and you'd think if it was hardware a simple reboot wouldn't fix.
The phone never slept because when it would "No service" on me, I'd get wakelocks for "msm_hsic_host" which would keep the phone awake EVEN IN AIRPLANE MODE, which also in the battery settings showed the red bar for "bad" signal. This happens with AND without a sim, airplane mode or not. I'm currently on Pure Nexus and Franco's kernel to disable hsic wakelocks, and I'm seeing another one for "qcril_pre_client_init" when the issue happens. Which would be the Qualcomm radio interface layer, by the name, I'm assuming android is trying to turn on the radio and keeping the phone awake. This shouldn't happen in airplane mode, I've also tried "Toggle Cell Radio 5.0" to directly turn off the cell radio; Issue remains.
The randomness of when it happens, how it's "resolved" by a simple reboot, and the fact that airplane mode has zero effect on when it happens basically cripples it as a tablet as well, it never sleeps so the battery life is pretty crap (about 18%/hour screen off). After a reboot the thing is great as long as the thing has signal, runs cold, great life, charges fast, sleeps deep. Befuddled that it still does it without a sim card and airplane mode...
My question to the users here: If anyone else has any insight on this, and if anyone knows how to completely disable the cellular interface and literally turn it into a tablet. Is there any rom or such that doesn't try to wake/use the cellular radio and keep the thing awake.
EDIT: Yes, I've run the factory images from google, 5.0.0, 6.0, and 6.0.1 during testing.
The sim card is new, I've already changed it.
Yes the device is actually an XT1103, not a knockoff.
Sorry if any of this information wasn't clear enough.
Further Observations:
During the night I had zero reboots (It's setup to reboot on signal loss, so from here reboot == signal loss), then after taking it off of charge and turning the screen off, then back on after about 5 seconds the signal was lost and it rebooted.
This got me thinking, so on the way to work, I streamed music and had zero problems, not on the charger. After reaching work, I moved some offline music onto my phone and it acted fine as well. The phone never reboots if the screen is kept on as well.
This tells me it's something about how android switches to low-power on the cellular radio. Perhaps the radio cannot wake up properly from the low-voltage sleep state.
tl;dr
When phone is 'active' and not sleeping, problem doesn't arise.
Acts normal with screen off: Streaming music, Regular music, Plugged in.
Acts normal with screen on always.
If doing nothing and phone sleeps: reboots, usually on wake up (i.e. turning screen on to check time)
Likely issue with sleeping/low-power to the cellular radio.
Current bad "solution" play music with phone muted.
However, this doesn't seem to be too bad an impact on battery life, music player has used a total of 1% in the last two hours, screen is top again, where it was android os.
EDIT: Went all day without dropping signal by keeping music playing muted. At 52% after about 12 hours, 3 hours screen on, an hour VOIP call, wifi on the entire time. Not the best solution, but it's livable.
Further testing: I've tried a couple "keep awake" apps that set wakelocks and they do not seem to help, but this might be that they are not designed for marshmallow.
I've also "unoptimized" anything related to phone/cellular in the battery settings to prevent doze from sleeping them, no effect, double the apps directly hit the radio.
first off, first thing that I would do is fastboot flash the latest 6.0.1 factory image(then root it). as the issue sounds like a software problem. if it is, this would fix it. if it still is broken, then I'd root it for sure, then disable the cellular connectivity issue with my root access. without root, you are stuck with airplane mode, only.
simms22 said:
first off, first thing that I would do is fastboot flash the latest 6.0.1 factory image(then root it). as the issue sounds like a software problem. if it is, this would fix it. if it still is broken, then I'd root it for sure, then disable the cellular connectivity issue with my root access. without root, you are stuck with airplane mode, only.
Click to expand...
Click to collapse
I mentioned that I stock flashed... I tried 6.0.1 and even 5.0.0... Also I'm on a custom rom + kernel, so I kiiiinda have root access as well. I don't mean to sound uppity or anything, but did you even read my entire post? If you have a way to completely disable the cellular radio, by all means share. Only other thing I can think of to try tomorrow when I get time is to flash an incompatible baseband, but I can see it causing the same issue with I/O problems.
Skreelink said:
I mentioned that I stock flashed... I tried 6.0.1 and even 5.0.0... Also I'm on a custom rom + kernel, so I kiiiinda have root access as well. I don't mean to sound uppity or anything, but did you even read my entire post? If you have a way to completely disable the cellular radio, by all means share. Only other thing I can think of to try tomorrow when I get time is to flash an incompatible baseband, but I can see it causing the same issue with I/O problems.
Click to expand...
Click to collapse
By saying what you did that doesnt say if you went completely stock with the google images or some of the roms floating around. There is something in the background trying to force the device to connect to cell netowork. I would completely erase the device and make sure to format everything with the flash all bat file. You will ose everything on the device.
Also could be a lose connection in the hardware.
zelendel said:
By saying what you did that doesnt say if you went completely stock with the google images or some of the roms floating around. There is something in the background trying to force the device to connect to cell netowork. I would completely erase the device and make sure to format everything with the flash all bat file. You will ose everything on the device.
Also could be a lose connection in the hardware.
Click to expand...
Click to collapse
When I said stock, I meant the factory images from google... I've completely wiped the device several times. I'm not new to the entire process... That's why in my original post I stated possible hardware, but curious as to why it does it even in airplane mode when it shouldn't poll the cell radio at all. Further testing seems to say that disabling location access (I generally use battery saver, gps only for navigation), it holds signal longer. Potentially something wrong with how the system requests location.
Skreelink said:
I mentioned that I stock flashed... I tried 6.0.1 and even 5.0.0... Also I'm on a custom rom + kernel, so I kiiiinda have root access as well. I don't mean to sound uppity or anything, but did you even read my entire post? If you have a way to completely disable the cellular radio, by all means share. Only other thing I can think of to try tomorrow when I get time is to flash an incompatible baseband, but I can see it causing the same issue with I/O problems.
Click to expand...
Click to collapse
like was said, kinda sounded like you flashed a stockish kinda ROM. if not factory image, I recommend it.
Skreelink said:
When I said stock, I meant the factory images from google... I've completely wiped the device several times. I'm not new to the entire process... That's why in my original post I stated possible hardware, but curious as to why it does it even in airplane mode when it shouldn't poll the cell radio at all. Further testing seems to say that disabling location access (I generally use battery saver, gps only for navigation), it holds signal longer. Potentially something wrong with how the system requests location.
Click to expand...
Click to collapse
Are you sure it is a legit device? I have seen some knock offs have this issue.
You know we are all kinda dumb here. Myself included.
Run a logcat and see what is trying to connect.
zelendel said:
Are you sure it is a legit device? I have seen some knock offs have this issue.
You know we are all kinda dumb here. Myself included.
Run a logcat and see what is trying to connect.
Click to expand...
Click to collapse
Yes it is a legit device directly from tmobile. I'll do more testing tomorrow.
Maybe try a new sim card,only thing I can't think of
holeindalip said:
Maybe try a new sim card,only thing I can't think of
Click to expand...
Click to collapse
Already got a new sim, updated info in original post.
Attached a screen with battery info, from testing it's pretty accurate.
After implementing my "solution" for a couple days, it seems to sleep fine now without losing signal. Remember, I have tasker setup to reboot on signal loss so this is informative that it actually sleeps now...
Was the phone ever wet? The signal loss is common on my Nexus, as with my previous, always have missed calls etc, got a voicemail but no missed call notification. However it doesn't really describe the radio issue your describing. I'm almost certain the mother board is malfunctioning. The radio turns to low power mode in doze, but never returns to full power state. Seems to me that it's a communication issue from the motherboard. Neat idea for your "solution".
Sent from my Nexus 6 using Tapatalk
Jnewell05 said:
Was the phone ever wet? The signal loss is common on my Nexus, as with my previous, always have missed calls etc, got a voicemail but no missed call notification. However it doesn't really describe the radio issue your describing. I'm almost certain the mother board is malfunctioning. The radio turns to low power mode in doze, but never returns to full power state. Seems to me that it's a communication issue from the motherboard. Neat idea for your "solution".
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Phone has never been wet or suffered any trauma such as a drop or high temps. It's an odd little thing.
Try flashing a different modem?
dcrews said:
Try flashing a different modem?
Click to expand...
Click to collapse
I have, I think it's a hardware problem where the modem can't wake up from low power state similar to some cpus unable to wake if set too low.
Seemingly a breakthrough
Did a few more things and testing and I seem to have gotten onto something. I've attached screenshots showing just over 3 hours deep sleep and included battery info page. As a recap I couldn't get 10 seconds of deep sleep before tasker would wakeup the phone because it lost signal, then wait 30 seconds before rebooting it to get signal again, unless I was playing music (which kept the phone awake and thus never lost signal). You may notice on the upper left the carrier symbol, I'm on Project Fi and using Signal Spy to show which carrier I'm currently on. After doing my tests today it swaps carriers fine without ever completely dropping the radio and requiring a reboot to regain signal.
I'll do more tests and see how long, if it does to act up. If I seem to have actually found a real solution, I'll post what I did to resolve the issue just incase any other Nexus 6 users are experiencing problems.
Edit: Small note worth mentioning, wifi seems more stable as well. I'm able to keep AndroIRC connected with the screen off whereas I was having issues with it disconnecting randomly. This MAY just be due to something else, but still noting it here.

Categories

Resources