text:
Restore IMEI for Samsung Galaxy SL (GT-I9003) when there is no backup
Well I was on phone and suddenly I lost IMEI and my SIM card is not detected.
So I tried flashing (to some firmware and I flashed back to original I9003XWKPG) and nothing.
I don't have any backups. I have Samsung Galaxy SL (GT-I9003).
How can I restore my IMEI?
(Click image to enlarge)

Comment by user90492 (lacking the rep): If your device is rooted, get an app called root explorer and go to /system/efs and see if your imei is in there.

Comment by myself: Please check these search results from our site :)

Were you messing around with poweruser settings because most of us don't suddenly "lose IMEI"  but in that case if you are rooted get an app called root explorer and go to the following directory /system/efs and see if your imei is in there. otherwise you will have to buy a new phone.

Welcome to the Android Enthusiasts! This is a question-and-answer site, not a forum: please don't add comments as answers. Invest some time in the site and you will gain sufficient privileges to upvote answers you like, or to add actual comments when seeking clarification of any issues. For the moment I've added the comment for you, and I'm flagging this post for deletion.


text:
How to use OTG cable in Motorola Moto G2?
Recently, I purchased an OTG cable model S-K07 to use with my Moto G2 mobile. When I connected the OTG cable with 4GB pen drive, FAT32 formatted, it did not work.  After some time, the pen drive got heated up and I removed the pen drive from OTG cable.  When I plugged the pen drive into my laptop, it was not recognized by the computer.
How can I use the OTG cable with my mobile?

The device should be visible to use on any file manager that supports OTG (eg. Solid explorer). If your flash drive is not usable anymore, maybe your otg cable, phone or flash drive has/had an issue and burnt the flash. Its usually plug and play unless its an ntfs partition, in which case if your OEM/file manager does not support it properly you may have issues.

"maybe your otg cable, phone or flash drive has/had an issue and burnt the flash" -- I'd like to see sources backing your claim (all should be related to Android).

maybe. I came to this conclusion because the OP stated that the flash drive got warm. IF you send power on signal line, it may burn the flash/NAND chip inside. A faulty, poorly engineered OTG cable, which are fairly common can have such issue.

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
How to transfer data from android device using MTP and having the ext2/3/4 file format to computer on Windows XP
I'm trying to learn. I have an android tablet from Kocaso. Apparently to transfer files from my computer to the tablet you need to use MTP.
This seems to imply that I need something for Windows XP to detect the file format ext/2/3/4 of the device so I can transfer stuff like a good old usb key.
So what do I need exactly?

This is one of the reasons MTP was introduced for: independency of the file system format used "behind it". You can compare it to using "standard SQL" to retrieve data from a database via an ODBC driver: your application does not need to know whether there's a MySQL, Oracle, PostGreSQL, or whatever database behind it. As long as it sticks to standard SQL commands, it simply works.
Similar issue with MTP. Other than with using UMS, your computer doesn't access the file-system directly, but uses a kind of "command layer". On the Android device, MTP then plays the role of our above ODBC driver, translating everything to the underlying file system.
So as long as your computer knows how to deal with MTP, you don't have to even think about what file system is used. It should simply work.
But on the other hand, MTP has proven tricky sometimes: it requires extra drivers on Windows, and doesn't work out of the box on MacOS or Linux systems (also extra installs and adjustments required here). So there are alternatives you might wish to take a look at for file transfer, such as using apps like Airdroid, FTPServer, DavDrive, or similar.

This reads as chinesse language to me hahaha , all i know is i cant transfer files to my android device like a good old usb key and theres no simple way around it!

OK, so let me put it into simple terms: Using MTP, you don't need to care about the underlying file system, the "driver" on the device will deal with that. And even if your OS would understand the underlying file system, the device wouldn't give it direct access with MTP.

Why did they make this so much more complicated usb keys NTFS file format wasnt good enough jeez.

I wasted my time understanding the interface of the Wifi transfer app, then tried and payed for the pro version which ironicly does not work, hope those programs you recommanded arent a waste of my time.Thank you for your answer.

At least they are all available for free. Everything else is quite subjective. So if they solved your issue, please don't forget to "accept" the answer by ticking the check-mark next to it :) Besides: Android never used NTFS (that's a Windows-specific file system) but rather FAT for the cards. And yes, FAT has a bunch of restrictions. I only wish they'd left the choice to the user, and not force MTP on us: though I see its advantages, it doesn't come without trouble.

Airdroid seems to be read only, cant tranfer files with that. DavDrive and ftp server, oh boy, so now i have to learn how to use FTP from scratch....seems time consuming.Got a link to a complete tutorial?     For future referance if you get a Kocaso tablet and dont have windows 7 or 8 and/or extra money to get a micro sd card, your basically screwing yourself over, no simple way to transfer files to these android device!

Take a look at FileZilla, which is a graphical FTP frontend. Works like any file manager you might be used to, so no need to "learn FTP commands" (though it doesn't hurt doing so I've heard ;)

let us continue this discussion in chat

People who designed MTP and those file formats had in mind that in the future, it woudnt be cheapsakes like me with a android device.i mean windows XP and no sd card im a cheapsake indeed.
Answer to my question is using the wifi transfer app from the playstore.
Then using this method refered here How can I split files on the computer and then assemble them on android device?.
Now i will be able to transfer whatever i want on my android Kocaso tablet.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
How do I get emoticons to show as images rather than text in SMS messages?
I've got a Motorola Droid X running Android 2.2 (Froyo), and when sending and receiving SMS/text messages in the default text messaging program, I don't see the Android emoticon images in the message.  I instead only see the text representing that emoticon.  For instance, I only see :-) rather than the smiley emoticon image.
Is there a setting somewhere that turns that feature on or off?

See also this question that's from someone trying to turn the robot emoticons off http://android.stackexchange.com/questions/2916/is-there-any-way-to-change-the-emoticons-in-the-standard-android-sms-app no one's found the setting there yet but if they do it could help you out too.

I did some research and was not able to find any way to do this on a stock device. However here is a link for you root users that allows you to remove the stock emoticons and replace them with standard ones, I'm sure it will let you do other emoticons as well.

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/2.5/


text:
What is the dominant factor for evaluating performance for TTS & ASR?
We know that CPU speed ("MFLOPS") alone is not the only factor that determines the performance of an Android device.
Other factors include the I/O subsystem, memory speed and, of course, the software that drives this hardware.
But in the case of evaluating various phones in terms of TTS and ASR performance (e.g. minimal delay from the moment you say a word, until it is recognized, given the default built-in engine), can we say that MFLOPS is the dominant factor?
In other words, do you happen to know whether TTS & ASR involve mostly CPU cycles with relatively little memory and I/O transfers? Or is it the opposite?

I would expect TTS and ASR to be very memory-intensive as they process input (which needs to be stored and transformed) and generate output.  So slow memory would probably be a limiting factor with a fast CPU.  There should also be a little I/O -- loading voice samples for comparison and playback -- but I would not expect it to be as much of an issue.  I can't get any more specific since I don't know how the default engine works (I suspect few people outside Google do).
You might get a better answer on StackOverflow, since this is more of a question about the specifics of an algorithm and not really about Android use.

Thanks and +1 for your answer. It's a good idea to post this question on StackOverflow.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/2.5/


text:
Does the alarm work when my phone is turned off?
Will the alarm still go off if I turn off the phone before?
Example: when I have low battery, I have to go to sleep and wake up at X o'clock, and there is no charger around. Should I turn off the phone?
Note: If it makes any difference my phone is Galaxy S running froyo

Star this issue if you're interested in Google adding the necessary framework for a hardware alarm: http://code.google.com/p/android/issues/detail?id=1942 However, due to the open nature of Android, in the end, it is up to manufacturers to include the necessary hardware for powered-off alarm, and it is impossible for Google to force all manufacturers to do so.

Actually, it works on OnePlus One (https://forums.oneplus.net/threads/power-off-alarm.300539/)
The phone will start itself up, to trigger the alarm!
(Probably more brands have this, but experienced it on my OPO.)

Cyanogenmod has this feature. Its installed on OnePlus One. You can install it on Galaxy S though.

No, if the phone is off, it can't do anything.  If it's in sleep mode where the screen is off and it's not in use then the alarm will still function as will other types of notifications.  I have never tried this specifically on a Galaxy S but I am fairly confident this is a universal rule.

I'll confirm this as a Galaxy S owner.  When the phone is off, it's actually off.  Not a powered-down mode.

In the motorola razr d3 it's works when the phone is off :)

In motorola 2nd gen(2014) when the phone is off..no alarm rings..:(

I'm using Lenovo K5+.
Phone power off but the alarm clock automatic power it on.

This answer is not correct as a general rule, my galaxy s advance did support this feature on android 4.1.2, and some other phones do as well. It's disappointing that it is not widely implemented though.

My Samsung J5 did - up until a point in time. Then, an update disabled it.

As a universal statement, this answer is likely incorrect.  See: Alarm is working even when the phone is powered off

Unfortunately, it doesn't work when phone is powered off as some have already suggested.
My suggestion: put it into Airplane Mode - this way, the phone almost consumes zero energy (due to not having any network connection and so on), and you have a good chance that the battery will last until the morning where the alarm shall go off!

But I like to have a soft reset of all the phone ram and components and co over night by turning it off. My Lenovo K6 automatically turned on when the alarm time came, why don't the more expensive phones support it...

I have a OnePlus2 and I got a new phone to replace it. I turned the OnePlus2 off and left it unplugged overnight but didn't disable the alarm. It automatically powered on and rung the alarm in the morning twice for me so far.
So, depending on your phone model, this does seem to be a thing these days.

Can somebody explain how this works?

It looks like for OnePlus it’s an added feature: https://forums.oneplus.com/threads/power-off-alarm.300539/ . The closest thing in Android API I can see is RTC_WAKEUP, but that only works when the device is on (the wakeup refers to the device being in sleep mode such as a locked screen). So, the way it probably works on OxygenOS is that the proprietary alarm app stores its state in a file which OxygenOS reads when shutting down and sets a power wake thing in hardware somewhere.

No
Tested it. It didn't go off when the phone was off.

The feature you are talking about is available in mobiles of companies that use their own custom roms like OnePlus, Huwaei (Honor Series) and Xiaomi [ I know about these only because that's all I have tried].
Although you could try using some kind of Automation or Scheduled Power ON and OFF (if your mobile support this feature}.
These two are the only workarounds. (In my knowledge!)

the feature does not only depend on roms. it also requires hardware support.

Most phones have, or could easily include, the hardware to support it, but most mobile OSes that just don't use it, and if you do use it, it has to be the stock alarm app. Xiaomi, OnePlus, and Huawei are all confirmed to have this feature. Your phone should say in the documentation if it can do this, if it doesn't mention, you will have to assume it doesn't, but you can test it. Google Pixel, Samsung Galaxy, and Apple iPhone devices do not have this feature currently.
If you do not have the feature, you can set your phone in battery saver mode, and it will work. Some phones, like Samsung Galaxy and Xiaomi, even have a "super" battery saver mode, that makes the screen black, restricts apps and background processes even more.
It is quite simple, and most computers have the option to do this in the firmware too. Most all our devices have to keep time even when it's off, so that clock has a battery, and the device can set a time to turn it on, though this may require extra circuitry connecting to the power supply.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
How to install a custom keyboard in Android?
I read this article which says that I can "can install any custom keyboard as the default keyboard on Android". How can I do that? Does it require rooting?

No it doesn't require rooting.

In case somebody is interested in a command-line way, you can refer to my answer here.

Yes you can. I've used Swype as well as TouchPal Keyboard as alternatives.
Once you install any new keyboard, just go to Settings > Language & Keyboard to set your keyboard/text settings.

None of the links work.

Thanks. The question I linked to has been removed, so I removed the link. I fixed the link to Swype and added one to TouchPal.

I found that even after changing the setting it didn't use the new keyboard.  I had to do a long press in a text field.  That showed an option for which input method to use.  Once selecting the new keyboard it worked all the time.

+1 I don't recall Swype requiring this, but great point!

It also allows you to switch back if you're having a tough time getting used to the new keyboard.


text:
How can I configure my phone for MMS?
I can not send or receive MMS-messages (containing an image) on my Nexus One phone. And I can't find many settings to set for it.
I have set an adress for APN. But there is also an IP-address, a proxieaddress and a port number that I should set.
How do I set up MMS on Nexus One?

You will need your operator's APN details (hint: ask the operator's customer service or search on Google), which you can enter through Settings > Tap "Wireless & network settings" > Tap "Mobile networks" > Tap "Access Point Names" > Press "Menu Button" > Tap "New APN" (eclair/2.1).
Alternatively, many operators can send a special service message that will automatically configure the correct APN settings. You might need to contact your operator's customer service or send an SMS/text message to a special number before they send you the autoconfigure service message.


text:
Weather app that displays "feels like" temperature?
I have a HTC Evo and while I like the stock weather app, it doesn't show the "feels like" temperature. I know the Weather Channel app has this but it was completely unusable with null errors for me (refer to the marketplace reviews for more on this), and the free Weatherbug app I also tried didn't have "feels like" temps. Does anybody know of any other apps that have this feature?

Do you mean "Wind chill"?

@Arda Probably includes that and humidity effects.

"Feels like" is Accuweather's proprietary wind-chill +/- secret sauce value.

Accuweather has two apps that give you "RealFeel" - Accuweather and Accuweather Quick.

Accuweather Quick did it for me. Accuweather doesn't work at all with GPS turned off.


text:
Can Tasker/Locale tell me what BT device is connected?
I want to change the phone's state dependent on which specific bluetooth device is connected -- can Tasker or Locale do that?  Thanks!

Yes. Tasker will do this. When you're setting up the state, choose "bluetooth connected", then click the magnifying glass next to the "name" field. It will search for paired bluetooth devices. Choose the one you want and configure states/actions. Then do it again for the other BT device.

It should be noted that it's not "bluetooth connected" but rather "BT Connect".  I couldn't find it initially :-)

I am the developer of Locale.
Locale has a plug-in architecture, and there is a free plug-in available on the Android Market called "Locale Bluetooth Plug-in" which provides this functionality.

I have just released a new Bluetooth plugin for Locale - which looks for BT devices by Profile (A2DP (audio devices) or Headset/Hands-Free) - optionally you can select a specific device to look for as well.
Check it out @ Google Play: Locale Bluetooth Audio Plugin


text:
Why is my Samsung Galaxy S constantly dropping its wifi connection?
When I attach my Galaxy S to my home wifi network it will stay connected for about 1-2 minutes. After this the wifi icon will be enabled, however no connection seems to actually be there.
I've tried a few wifi re-enablers on the marketplace but they haven't been successful.

Is it possible for you to check the logs on your home wireless router? I wonder if there's some wireless protocol issues causing your device to be disassociated. One thing to try if it's available to you, change your wireless router to 802.11g mode only (i.e. if you supported 802.11n then force it to g only)

It's a linksys wireless-n

I would start at the router and look there first. Do a reboot of the router and see if it still happens. if it does, there should be logging in the admin of the router that you can turn on (if its not already) and maybe you can see something causing the drop.
Try getting Wifi Analyzer from the android market (free) to check if your router is on the same channel as other networks around you. try to put your router on the "clearest" channel.

That's a very useful app, I tried it and it seems to be the phone as I'm exclusively on Channel 12.

I think that is the way to go. Try another network or router. I had a Linksys Router that was always dropping the connection on my iPod Touch and I never really found any solution other than changing the router. Since then I didn't get any disconnection.

It appears to be my router after getting a new one. But wifi analyzer helped out a lot

Is it dropping while you're actively using it?  Then is probably a router problem, or possibly a defective phone.  Try on another network.
Otherwise, try using RyanZa's One Click Lag Fix.  You don't need to actually use the lagfix, just open the app and change the WiFi Timeout value to something higher.

If you have JPY firmware then it might be causing problems.
Try JPU/JPX
And try also other modem.
Hopefully it will help!


text:
adb can find device but fastboot cannot
Context
I can run adb commands on my Nexus 4 and they work fine but when my device is in the bootloader and I try to list the device with,
fastboot devices

my device is not listed. I was having problems with adb on my Windows 7 VM due to driver issues, so I switched to OSX because it does not require any drivers.
I think I may have corrupted my bootloader and recovery in my previous attempts to root my phone with a toolkit(I know I should have done it manually).
Question
Is it possible to reinstall my bootloader or a recovery using just adb i.e. without using fastboot?

That might be possible if you find some images to load via the revocery's install update.zip from sdcard feature (just as a hint what you might want to look out for; I don't have a Nexus, so I'm not 100% sure).

My recovery was corrupted too, I couldn't reach it. Anyway, the problem resolved itself. I didn't do anything different other than add the adb and fastboot commands to my bin folder.

You might want to add that as an answer (so others can see there's a solution), and accept it lateron.

The problem with my device not showing up with the fastboot devices command resolved itself. I was then able to flash a custom recovery.
The only thing I did different was, I rebooted my computer and symlinked the adb and fastboot commands in my bin folder.


text:
Sony Xperia ZR wifi problem: wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT
I have a strange problem with Wi-Fi with my Sony Xperia. I can't connect to most of the networks I have tried, but the list of networks is ok (but somehow slowly loaded). It stopped working suddenly after a week. My previously used networks are all marked as "Saved", but when I try to connect the following happens:

Saved (doesn't even change when tapped)
Connecting -> Saved
Connecting -> Authentication problem -> Saved

This is what I have tried to fix it:

Restart phone
Restart phone, take out battery, SD card and SIM card
Restart wi-fi router
Connect to another network (sometimes works with some networks)
Forget network -> Type password again
Connect another Android device to the same network
Connect another non-android device to the same network
Change the router wireless settings to WEP, WPA and unsecured
Factory reset of the router
Sony Companion -> Repair
Factory reset of the phone

Router: D-Link DIR-615
Phone: Sony Xperia ZR C5502
Android version:
4.1.2
Baseband:
9x15A-ACEFWMAZQ-30110041-29

Build number:
10.1.1.A.1.310

Kernel:
3.4.0-g6df7905-02327-g1aa3092
BuildUser@BuildHost) )
#1 SMP PREEMPT Thu Apr 11 11:17:13 2013

Log after turning on the wifi and trying to connect:
09-18 09:10:08.116: I/WifiManager(2391): Process ndroid.settings enabled Wifi
09-18 09:10:08.186: E/WifiHW(571): File "/data/misc/wifi/WCNSS_qcom_cfg.ini" exists, not copying
09-18 09:10:08.497: I/wpa_supplicant(3838): nl80211: Don't connect to APs with RSSI < 0
09-18 09:10:08.497: I/wpa_supplicant(3838): rfkill: Cannot open RFKILL control device
09-18 09:10:08.497: I/ActivityManager(571): No longer want com.google.android.onetimeinitializer (pid 1747): hidden #51
09-18 09:10:08.637: I/wpa_supplicant(3838): wapi_supplicant_init: Init WAI packet p2p0
09-18 09:10:08.637: I/wpa_supplicant(3838): Own MAC address: (Here's phone MAC address)
09-18 09:10:08.637: E/wpa_supplicant(3838):  Initialization: WAPI:set Staues=1
09-18 09:10:08.657: E/Diag_Lib(3838):  Diag_LSM_Init: Failed to open handle to diag driver, error = 13
09-18 09:10:08.757: E/wpa_supplicant(3838):  QMI_UIM_EVENT_REG_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.777: E/wpa_supplicant(3838): QMI_UIM_GET_CARD_STATUS_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].card_state: 0x1
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].error_code: 0x0
09-18 09:10:08.777: E/wpa_supplicant(3838): card READY
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].app_type : 0x2
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].app_state : 0x7
09-18 09:10:08.777: E/wpa_supplicant(3838): card found
09-18 09:10:08.797: I/wpa_supplicant(3838): Reading GSM home network domain configuration file '/system/etc/wifi/gsm_domains.conf'
09-18 09:10:08.877: I/wpa_supplicant(3838): nl80211: Don't connect to APs with RSSI < -83
09-18 09:10:08.877: I/wpa_supplicant(3838): rfkill: Cannot open RFKILL control device
09-18 09:10:08.917: I/wpa_supplicant(3838): wapi_supplicant_init: Init WAI packet wlan0
09-18 09:10:08.917: I/wpa_supplicant(3838): Own MAC address: (Here's phone MAC address)
09-18 09:10:08.917: E/wpa_supplicant(3838):  Initialization: WAPI:set Staues=1
09-18 09:10:08.957: E/wpa_supplicant(3838):  QMI_UIM_EVENT_REG_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.977: E/wpa_supplicant(3838): QMI_UIM_GET_CARD_STATUS_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].card_state: 0x1
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].error_code: 0x0
09-18 09:10:08.977: E/wpa_supplicant(3838): card READY
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].app_type : 0x2
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].app_state : 0x7
09-18 09:10:08.977: E/wpa_supplicant(3838): card found
09-18 09:10:09.037: E/WifiConfigStore(571): Failed to look-up a string: W
09-18 09:10:09.037: E/WifiConfigStore(571): Failed to look-up a string: SMS4
09-18 09:10:09.037: E/WifiConfigStore(571): Failed to look-up a string: SMS4
09-18 09:10:09.077: I/WifiManager(2391): Process ndroid.settings requested an active scan
09-18 09:10:09.087: E/Parcel(334): Reading a NULL string not supported here.
09-18 09:10:09.087: E/Parcel(334): Reading a NULL string not supported here.
09-18 09:10:09.097: E/Parcel(334): Reading a NULL string not supported here.
09-18 09:10:09.097: I/SuperStamina-WifiAnalyzer(571): WiFi is ON.
09-18 09:10:09.117: E/wifidirect(3726): onStartCommand 1
09-18 09:10:09.117: E/wifidirect(3726): Exitting file transfer service.
09-18 09:10:09.117: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:09.117: W/wpa_supplicant(3838): p2p0: Failed to initiate AP scan
09-18 09:10:09.127: E/wifidirect(3726): onStartCommand 1
09-18 09:10:09.127: E/wifidirect(3726): Exitting file transfer service.
09-18 09:10:10.128: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:11.119: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:12.130: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:12.811: I/wpa_supplicant(3838): wlan0: Trying to associate with (here is my router MAC) (SSID='smartus@unifi' freq=2427 MHz)
09-18 09:10:14.023: I/wpa_supplicant(3838): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=(here is my router MAC) status_code=1
09-18 09:10:19.088: I/WifiManager(2391): Process ndroid.settings requested an active scan
09-18 09:10:22.812: I/wpa_supplicant(3838): wlan0: Authentication with (here is router MAC) timed out.

These lines will later repeat:
09-18 09:10:12.811: I/wpa_supplicant(3838): wlan0: Trying to associate with (here is my router MAC) (SSID='smartus@unifi' freq=2427 MHz)
09-18 09:10:14.023: I/wpa_supplicant(3838): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=(here is my router MAC) status_code=1
09-18 09:10:19.088: I/WifiManager(2391): Process ndroid.settings requested an active scan
09-18 09:10:22.812: I/wpa_supplicant(3838): wlan0: Authentication with (here is router MAC) timed out.

Any ideas what could cause CTRL-EVENT-ASSOC-REJECT? I believe this is usually happening when the network is congested (there are only 3 devices, 2 of them work. The phone won't work in the network alone neither).

Usually that event is sent by the router (as you wrote, when the network is congested). Googling a little also showed cert problems as possible reason. Only thing you did not yet factory-reset is your Android device; maybe something got messed up there? As connecting to other networks only "sometimes works", this is a more likely cause than all of those APs being "broken". If there's nothing else left, you could try to factory-reset your Xperia.

Factory reset doesn't help neither. Also I did the repair using the companion before which flashes the rom. That should be equal to the factory reset, right? Certificates problem, hm, I am not aware of using any certs...

Also I strongly believe that the problem is in the phone (HW or SW). I am trying to find the problem so when I get to the service centre, I can give them not just the device, but pinpoint the problem exactly...

Certs are used by WPA automatically if I understood that part correctly, i.e. I take it they refer to the "key files" exchanged. And yes, I fully agree the culprit must be on the Xperia, whether hard- or software. As you've already tried a factory-reset, the service centre is a very good idea: they should have a WiFi AP, and with some luck can reproduce the issue (unless that's one of those few networks where it does work, you know Murphy's Law ;)

I did not get any definitive answer what is wrong from the service centre. They tried flashing some special ROM they had, but same result. They closed the issue with the conclusion it is a HW problem in the phone.

@NikhilKhandelwal Full story here: http://android.kul.is/2013/09/sony-xperia-zr-wifi-problem.html

This is an official solution I found after weeks of testing and research. In the end, the driver is not loaded properly or by default, custom ROM created the havoc.
I noticed that when running ADB GUI, there is this file missing from /system/data/misc/wifi called WCNSS_qcom_cfg.ini .
I'm using ADB Helper Version 4.2.0.0, under build.prop Viewer tab, choose wlan.driver.config it points to that location. I downloaded it from somewhere on the Xperia developer forum website. Then I modified and modified until I found the solution.
In this file I modified the line gDotMode=3 (which is running in N mode only) to either 1 or 2 which s "a" or "b" mode.
I rebooted the device and the wifi works and N mode is disabled meaning you wont be able to connect in 5GHz mode anymore. But you will be able to connect to all the CURRENT 2.4GHz AP.
I read somewhere where ICS android allows you to Enable or Disable 5GHz scanning of AP. But was removed from later versions.
Now, my phone can connect to any 2.4GHz WiFi.


text:
Is there any way to know the cause I cannot install app from Google Play
I'm using Sony Xperia S (also I have old SE Xperia X10 Mini) and want to install mytaxi app. But Google Play says that I'm not eligible to do this and I do not understand why! I've found an apk in the internets and it works fine, but I want to know the reason and have updates.

Doesn't it give any reason along – such as "not compatible with any of your devices" or "not available in your country"? What is the exact wording?

@Izzy it says "This app is incompatible with all of your devices."

Contact the developer and let them fix it.

This problem is rather frequent and only the developers can fix it. Reason is probably that the app wants features like GPS, certain screen sizes or a minimum Android version. One of those requirements is not met although it runs just fine. Tje devs need to relax that declaration...

Thank you guys for the comments! I've send them a mail. Also my phone have GPS module. Never saw Androids without it. @ce4 you can make it an answer - I'll be glad to accept.

@ce4 - Probable reason is forgetting to include android:required="false" in a  declaration.  It defaults to true if not included, making the feature mandatory rather than optional.

Sorry, I'm only using my mobile atm, hence the qick comments. Answer comes in a minute. See also: http://android.stackexchange.com/questions/53460/incompatible-devices-with-my-newly-released-app-why

This problem is rather frequent and only the developers can fix it.
Reason is probably that the app wants features like GPS, certain screen sizes or a minimum Android version. One of those requirements is not met although it runs just fine.
So the obvious way to get this fixed is to contact the developers and have them relax that declaration..


text:
Restore Samsung Galaxy S II via PC
Sadly during a bad TWRP update my Samsung Galaxy S II was bricked.
The TWRP comes from a SlimSaber rom with a custom kernel.
What i can actually do is put it in download mode, so via a PC it should be reflashed.

What are the steps to reflash the original or a compatible ROM?

In short try booting into recovery, by pressing and holding home, power and volume down. Wipe user data. Then use Odin to reflash. The OEM firmware can be downloaded from Samsung.
Follow the guide on this link. https://www.cnet.com/how-to/how-to-recover-a-bricked-samsung-galaxy-s2/


text:
Issues with gmail not recognising Google Play services
I have a tablet that came with no Google (suite) applications however I  managed to install them manually and are working pretty fine. The only issue is with Gmail application which seems to have problem with Google play services.
Everytime I open the Gmail application it shows a rather awkward, uncommon error meassage that reads: Gmail relies on Google Play services, which is not supported by your device. Contact the manufacturer for assistance` and I can't sync new emails or send new mails.

In my opinion this is a false alert, since other Google applications, work well and seem to interact well with the Google play services.
Previously to solve this issue with reference to Gmail, I have ditched Google play services in support of microG which works well with Gmail (version 6.4120760496) (as in I can sync new inbox messages and send mails from within the app).
However microG still misses some important aspects which is why I tried to switch to using default Google Play services implementation.
Things I have tried to resolve the issue:

clearing cache/data for Gmail, Google Play services, Google service framework
factory rest
ROM flashing (initally works but after some period of use the error shows up again)
Updating to latest Google Play services
Wiping cache
Unistalling and reinstalling Gmail (initially works but error starts showing after some time)

Any way to fix this?

This isn't really deserving of an answer but why not try EasyMail or some other client.  I don't particular care for the default Gmail interface anyways.

Thanks William, I also have been considering alternatives even Outlook mail if doesn't give me problems

I believe it might not be a false alert... Your tablet may not be certified for Google Play, and that's probably why you are seeing this message.
Try this:

On your computer browser, go to the Google Play Services app page on the Play Store: https://play.google.com/store/apps/d...roid.gms&hl=en. Click the Installed button, and see if you can select your RCA tablet to install to.

Got it from here

But then other apps work fine,also I have already installed google play services on my device and only gmail is problematic


text:
Only 1 arrow flashing when connected to wi-fi
Recently when I connect to my companies  wi-fi network, it  says I'm connected with 1 bar the up arrow flashes white but the down arrow does not flash at all and I can not use any apps internet, nothing! (I never had this problem before)
Can someone please help. I have reset my phone, turned it off and on 100 times , clicked forget network and retyped in password etc.. says I'm connected to network but no internet?
I use Samsung galaxy note 2

Is anyone else facing this issue or only you? It probably is a firewall that is preventing you from connecting to the internet.

Sounds like a problem with your work Wi-Fi network. You should ask the IT support helpdesk.

Here's your solution to the only one arrow of wi-fi is blinking issue

long press your wi-fi network, an option will appear 'modify network' click this.
Go to advanced setting and change your Ipv4 address from 'static' to 'DHCP'.
After this also if your problem is not solved then contact to wi-fi owner.

your firewall is preventing your phone to access or connect to the internet.check your firewall settings. or may be this happen due to some problem in your router.

Welcome to the site! It's great that you're trying to help, but I wonder how much use a suggestion to "check your firewall settings" is. If the questioner didn't already realise that, they probably need more specific advice about what settings to check.


text:
Why is there no option for USB INTERNET in WIRELESS & NETWORK SETTINGS on my Nexus 5?
I own a Nexus 5 with Android KitKat 4.4.2. I have been trying to do reverse tethering without root as is supposedly possible from Settings → Wireless & Networks → More → USB Internet. But I can't see any USB Internet option in Wireless & Networks. Why not ??
Can someone assist me with this ? I am having a PC with Windows XP.

So you are basically trying to use the computer's internet connection on phone or you want to browse the internet on comp using the phone's data network?

I am trying to use internet on my mobile after connecting it to PC (reverse tethering) .... And i want to do it without rooting the phone ... This should be possible with USB Internet ... But that option is not visible ... why ???

This option is called "Internet Pass-through". I think is only present in HTC devices by default. I don't remember this option on my nexus when I had KitKat. Do you have any screenshot of where you have noticed this?

See this question. This option should be visible in my Nexus 5, but it isnt

Hmmm, as I said those are device specific. This is the first time I'm noticing it on a Micromax device. It is not present in Google's KitKat or any other Android OS by default. Chcek this - http://forum.xda-developers.com/showthread.php?t=1371345&page=155

In Android 4.4.x you should be able to find the USB Internet option under:
Settings --> More... --> Tethering & Portable Hotsport --> USB Tethering

If you want to later on configure your network sharing settings so that your device can benefit from the shared internet connection, please read this stack answer.

OP asked for reverse tethering – you showed "tethering". Please follow the link to see what's the difference and why your post doesn't answer the question. Hint: it's the direction.


text:
What are the command line options of Genymotion's player
Can someone give me a list of the cli options of Genymotion's player command.  I see that I can get a  list of the devices via VituralBox's command:
$ VBoxManage list vms

Then I can start the desired device with:
$ ./player --vm-name "Samsung Galaxy S2 - 2.3.7 - API 10 - 480x800"

Now I'm looking for player command option to start the Genymotion from the last run state.  In other words have it resume where it was when the device was closed.
There's a chance the option might be in one of the possible cli arguments.  I've searched for a list, but so far my results are to how to start a VMS but not the full list of options that are available.
I also used -help and --help as a parameter, but it just gives and error.  Not the full usage options of the player command.
This is the list that I have compiled so far (found by running player without argument):
--vm-name
--quiet

It may be that those are the only options of the player command.  If it is I'd appreciate knowing so that I can stop searching.

When you use player inproperely it writes help info into the log file. Eg.
siciarek@siciarek ~ $ ~/bin/genymotion/player --help
Logging activities to file: /home/siciarek/.Genymobile/genymotion.log
siciarek@siciarek ~ $ tail -n 6 /home/siciarek/.Genymobile/genymotion.log
2018-01-18T18:28:13+01:00 [:8281] [debug] Usage: player
2018-01-18T18:28:13+01:00 [:8281] [debug]        --vm-name|-n <device name>
2018-01-18T18:28:13+01:00 [:8281] [debug]        [ --no-popup|-s ]
2018-01-18T18:28:13+01:00 [:8281] [debug]        [ --poweroff|-x  ||
2018-01-18T18:28:13+01:00 [:8281] [debug]          --startadb|-a  ||
2018-01-18T18:28:13+01:00 [:8281] [debug]          --stopadb|-z ]
siciarek@siciarek ~ $


text:
Dialog boxes only work when tablet is tipped! DDouble letterss?
One of my Samsung Galaxy Tabs v10.1 will not accept certain dialog input unless the tablet is some other direction than right-side up (left portrait, right portrait or upside down all work fine). For example hold the power button to turn it off, it asks "are you sure you want to shutdown?" It ignores all touches including "Ok" or "Cancel".
Also when you use the keyboard it often inserts two letters on one key push.
Thinking that this HAS to be a software issue I rooted and installed clockwork Mod ROM manager and restored an image from another working tablet. No change. This is the weirdest issue to date with my tablet adventures. Any idea what is going on?
UPDATE: Samsung repair said the screen was bad. They didn't elaborate but at least I have a working tablet now!

That sounds like a screen problem, and gravity is affecting whether or not a connection is being properly made.  I would guess a loose ribbon cable or something like that.

no because the tablet works fine other than the two issues i mentioned above and you can lay it flat on a table and depending on the image orientation it will either work (upside down image) or won't work (right side up image) with the tablet in the same position

Ah, I misunderstood.  That's really weird!

further testing reveals the double letter issue only happens when tablet is right side up as well.

@Michael: Since the solution was a Samsung repair, please leave that as an answer and "accept" it.

Samsung replaced the screen (it was under warranty)

I'd suggest a full wipe, maybe it's a glitch. Otherwise it sounds like a hardware problem. By the way, I have understood that it's a bad idea to use a Nandroid backup from another device since some device-specific information could be moved as well.

I had already done a wipe...nothing seemed to change it so I sent it back to Samsung. Also, I've had no issues restoring from other identical devices. If some device specific data is moved I haven't encountered any issues as of yet.

At least older Samsung phones had a /efs partition which contains the IMEI and MAC addressses for WiFi/BT. This is not supposed to be copied, messes up networks if two devices with the same details are active. Don't know if this is present on tab10, haven't rooted mine.


text:
does it really work? rekey.app claims to protect agains Master Key vulnerabilities
The android app rekey claims that it can protect android device against "Master Key" vulnerabilities
on their website they have a test/proofOfConcept
To verify that your device has been patched, you can
attempt to install a [PoC APK] to test whether it is properly
blocked by ReKey."

I first installed rekey (version 1.0.4 dated July, 21th 2013) and then PoC APK but got no warning that PoC is not ok.

Does that mean does rekey does not work at all?
Or does it not work on my rooted android 2.2 smartfone?
Or is PoC APK not a proove of concept?

What is your experience/option?
Can you confirm that it is working or not working on your device?

I'd be extremely worried there!
The MasterKey vulnerability exploit works in the handling of ZipEntry (see below - Bug 8219321), which is buried deep in the ROM itself, its used in the PackageManager layer as well.
For such an application claiming "to patch" it, is misleading and false, because it is a user application and not at system level.
The real cure to get around the vulnerability is to modify the source code in Android in itself and rebuild the ROM.
The vulnerability exploits ROMs from Donut (1.6) right up to Jellybean (4.2).
In the FAQ of the app's website - this made my hairs stand up:

Can I trust ReKey with root access on my device?
Did you see those seals up above? They look pretty darn official and
  trustworthy. They have Latin phrases and everything.

I really do not know whether to laugh or cry!
Dynamically patching the bytecode in the Android's Java DalvikVM (Runtime engine to the uninitiated) is unheard of.
Verdict:
I would take those so-called "claims of a user-level app" patching in Masterkey exploit, with a pinch of salt and not get fooled by it.
Source:

Masterkey Exploit (I) - Bug 8219321
Masterkey Exploit (II) - Bug 9695860

Patches:

Bug: 8219321 - Remove duplicate entries in Zip.
Bug: 9695860 - unsigned Zip Entries.

+1 thanks for the info. Maybe ReKey uses "patch" as a metapher.
For example the app LBE Privacy Guard for android
really protects my android: I can decide at runtime if an apps is allowd to access internet/contacts. This also looks like a patch.
ReKey irrites me because i got the info about reky from the german heise security which has a good reputation in germany.

There is a module for the Xposed framework that "patch" the bug, and it is at runtime...

Xposed Framework - that looks like a breeding ground for malware ... I extended the /system/bin/app_process executable to load a JAR file on startup. The classes of this file will sit in every process (including the one for system services) and can act with their powers  Another thing, its for ICS or later, and the author has refused to backport to older Androids...

authors: Надежда Петрова


text:
How to connect to a Windows PC through SSH from an Android phone?
I have connectbot in my Android Phone (GT-N7000). How can I access a PC through that app ? I tried to use putty to establish ssh in my PC but it didn't work well. Can anyone give my a solution to this problem?

You didn't really provide enough information to enable us giving good answers: what OS is running on your PC? What are you trying to achieve?

My OS is Windows 7 x86

OK, that's already one point (I've added the corresponding tag to your question). Still lacking: What are you trying to achieve? Windows doesn't run an SSH server by default, so you won't have much luck with ConnectBot here without taking care for a counter-part on your PC. Maybe a different solution is more suitable?

Glad to read I was able to help! So maybe I should make that an answer with some more details?

I guess there's some trouble in your conception: Connectbot is an SSH client, while Windows does not ship with an SSH server pre-installed. So unless you've installed some SSH server there yourself (details on that part are beyond the scope of this site), you won't have much luck connecting.
You didn't exactly write what you want to achieve, but there are different solution to connect your Android device to control your PC. As shipped, Windows supports the Remote Desktop Protocol (aka RDP), for which several Android clients exist. The page behind this link lists up some of them. Other than with Connectbot, this will be in graphical mode, not command-line.
A general solution (valid for other OSes as well) could also be using VNC. Again, this would require a server software to be installed on your PC, a corresponding client app on your Android device (also to be found on the mentioned list), and it would be in graphical mode.

WSL brings OpenSSH to Windows 10.

An easy solution is to use TeamViewer
Easy to setup if you want a quick working solution. Plus it works with Mac/Windows/Linux.


text:
How to limit data download when tethering
When I connect my android mobile to my laptop, I use the 3G data via USB tethering. Several background activities on my laptop (win 8.1) such as regular updates continuously occur. This drains the monthly package and the allotted download/upload limit is exhausted in no time.
Is there a way to monitor the tethered connection and deny/block background downloading, say of any file(s) larger than 5-10MB?

Windows 8(.1) has an option to flag a WiFi connection as "limited connection" in Settings -> PC Settings -> Network then click on a network.

Sorry, I couldn't locate such an option as you specified.

It's ugly and it's in french, but it should be at the same place : http://imgur.com/3W2OaYz

Shywim, thank you for the detailed explanation. When I use USB tethering, the connection type is ethernet. The "set as metered connection" is not available for my internet connection. Upon searching, here is what I found at the Microsoft website: Ethernet network connections can't be set to metered.

No, that is not feasible. When tethering a connection, your Android device has no idea what the tethered device is doing. It could be downloading a large file, or it could be browsing a bunch of web sites or streaming an audio file. It does not know any useful metadata about the ones and zeros going through its tethering pipe.
Now, you may be able to set up rate limiting so that a tethered laptop can't run faster than X/bytes per minutes, for example. Or, like any firewall, you could block certain services (such as torrenting) using simple port blocking/limiting or other more in-depth packet inspection. You may even block certain domains or IP addresses by firewalling the address.
However, these are all very advanced operations that are far more specific to firewalls than they are to Android. And they would not help at all in your specific example of blocking a download of a file larger than 10 MB.
You are better off looking for a client-side solution. You could get a Download Manager for your laptop and tell it not to download if the laptop is currently on your phone's network connection. Or maybe there's a plugin for your browser that does something similar.
In any case, there is no Android-specific way to handle your specific issue.

Your answer is useful, which is why I opted for re-opening of the question. I was considering something like 3g watchdog to limit data usage. Most solutions in mind, involve rate limiting download speeds on target computer.

On Android 4.0+, there is a section in Settings named Data usage:

When data is enabled, you will see an option to limit your data. Once ticked, two markers labeled 'Limit' and 'Warning' will appear. You can drag them up and down to set their values.
Tapping Menu will give you this:

As you can see, you can toggle background data from there.

Thanks aureljared, there are two problems here. 1. Android version on my mobile is 2.4. 2. This option as shown here will reduce the background data of the mobile, but my concern is of background data in laptop.

@sridhar There is no Android 2.4! For the laptop, you might want to look at this and this.


text:
Help with this ADB REVERSE Tethering Script?
I added the functionality to automatically turn on reverse tethering after many fails:
Now i only enter t into terminal
alias t='r && sz $tether && r && sz $n'
tether='am start -n com.android.settings/com.android.settings.TetherSettings && input keyevent 66 && input keyevent 66'
n='netcfg rndis0 dhcp'
alias sz='ad shell'
alias de='ad devices -l'
alias r='ad kill-server && ad start-server'
alias ad='adb'
alias pu='adb push'

The issues with the above are: (2 is most important)

This only works with the screen on and when notification bar isn't pulled down
This doesn't simulate wi-fi/other wirelessnetworking or make apps actually try to connect to net instead of checking if wifi/other wirelessnetworking is enabled
This code can most probably be much shorter/optimized (but at least it works)

To understand the background better please see my original question:I can reverse tether now by using alias but it stops on adb shell command

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
adb.exe android gives me error with su
I rooted my device (lenovo 2107a) and then updated new custom firmware with below instructions:

Downloaded new firmware into sdcard/clockworkmod
booted to CWM
selected "backup and restore" -> "advanced restore from internal
sdcard"
and chose my custom ROM
Then i selected "system restore"

So i saw an error that said cannot restore and restore goes to break. now when boot my device i see a screen that wants to select country code and after select device will reboot again and i see same screen.
so i decided to restore my old backup, but even old backup restoring gives me the error that cannot restore.
i find the problem, when i open shell with this command:
adb.exe shell
$su
su
segmentation fault

the problem is that all of data in /system is read-only and i cannot even root with su. i tried everything like re-rooting device, but still i cannot shell as root.
mount cannot be run (operation not permitted)
adb.exe remount (cannot be execute)
fixsu.sh cannot be executed because has not access to /system (everything is read-only)
psneuter gives (failed to set prot mask (inappropriate ioctl for device))
is there any way to delete /system and re-upload that or something that can solve my problem?

If I understand correctly... You tried to install a custom ROM, but instead of choosing "Install from zip...", you choose "Advanced restore..."...?

yes i did, your right

did you tried adb root then adb shell?

I got a tip from XDA dev's under Android-General Developing: give the custom ROM a new name by renaming "update.zip" on the SD Card. Under CWM, pick this "update.zip" under Update setting.
This was tested with Moto Defy+ 2.3.6 stock ROM and HTC One V GSM with a Sense 5.0 custom ROM when I tried to install MIUI 5.

Perhaps a link to that particular thread would be nice


text:
How can I prevent the signal and 3G icon from turning it to white icon when my connection to Google server is lost?
I have a limited plan for mobile data usage(only 100MB per mounth) so I use mobile data for sending/recieving MMSes and for browsing only. I have mobile data turned off 99% of time. White signal bars are hard to see, so I would like to know, if there is any way to turn the "icons goes white while not connected to Google servers" funtcion off?

You have to edit your Framework-Res.apk. Its a bit complicated and differenct on every phone. So I can't simply provide a guide.
But I suggest you, to ask in your phone forum on xda-developers.

My first instinct is to tell you to find a theme where the "not connected to Google" bars are painted the same color as the connected bars.  Of course that only works if you have a theme manager on your phone and can find one you like.
Or hell, make one.


text:
Reset battery status after changing battery?
If I plug in the charger of my Galaxy Nexus, I'm able to replace the battery without switching the phone off. However, the battery status does not adjust to the new battery. For example, if I replace an empty battery with a fully charged one, the phone still shows an empty battery symbol.
Is there any way to adjust the battery status to the new battery?
When changing the battery while the phone is running, do I risk breaking the phone or the battery in any way? For example, if the phone thinks the battery is empty while it's actually full, do I risk to overcharge the battery if I connect the phone to a charger?
Edit:
I just noticed the following:
If I enter *#*#4636#*#* and select battery info, it displays a charging state of 100 after changing to a new battery. So the phone notices that the battery was changed. I'd just like to see that as well in the battery icon in the notification bar.

You might need to reboot. Your battery won't be damaged by hot removing it. It has an internal circuit to prevent overcharge. Removing it while (dis)charging doesn't matter.
See this post from Android developer Dianne Hackborn.

Thanks for your answer. The link doesn't work for me, it looks broken...

link is fixed now


text:
How to get dumpstate logs in samsung galaxy grand?
While working on my app, I have faced app crash. But I can't get any dumpstate log from data/log folder. So what is the solution to get dumpstate. Or I have to create any folder on my app name in data folder?
Advance thanks for your help..

Maybe you want to check that on SO: writing dumpstate to file android? (also see: dumpsys and dumpstate) I think this is rather development related. We cover the end-user's view-point here, development questions are better asked at SO.

You don't need an adb shell to get dumpstate logs in this case.
Every Samsung device has a built-in tools like SysDump, just follow these steps:
1) Open the Phone app in your device and type: *#9900#
2) Depending on how much detailed logs you would like to get change Debug Level and Silent log options (by default Debug Level is Disabled/LOW and Silent Log is turned Off)
3) Click on Run dumpstate/logcat/modem log (should be first option) wait until process finishes
4) Click Copy to sdcard(include CP Ramdump). This is important step because by default collected logs will be stored in /data/log directory, which is under root permissions so you can't access to it without root permissions
5) Your logs will be stored in /log directory on your DEVICE STORAGE.(this means that you don't need root access to find it just use file manager).

If the device doesn't have a dialer, enter (+30012012732+ into the calculator and then proceed entering *#9900#

Still working on Samsung Galaxy Tab S8 Ultra. The file itself is a ZIP named like: dumpState_<deviceid>_<datetime>.zip

If you want to create the dumpstate file from a PC (using adb), run this command from a shell:
adb shell dumpstate > dumpstate.log

This will create the file dumpstate.log in the current directory on your PC. You can use this as part of a bug report.

Could not get this to work on Samsung Galaxy Tab S8 Ultra: /system/bin/sh: /system/bin/dumpstate: Permission denied. Not sure if one can get around that permission issue without root.


text:
command line mtp android sync with pc
I'd like to be able to sync a directory on my android phone with a directory on my pc from the command line over a usb cable without installing anything on the phone.
This can be done using adb shell ls will give you a list of files on the phone, push will copy files from pc to phone, pull will copy files from phone to pc and rm (or rm -rf) will delete files (or dirs) from the phone.
However, adb push is slow (it takes me 5x to 10x as long to copy files to an android phone using adb as it takes to copy files to an iphone using itunes).
There are pc apps which will sync (e.g., pure sync or, for ebooks, calibre), but that's not command line. Calibre seems to include python source for an mtp driver, but it's overly complex (for me).
Is there anything better?
BTW, there are many similar questions on various stackexchange sites, but I haven't found any which answer this question.

Is there any reason why you prefer command-line over apps, given that you know adb push is slow?

I can run a command line program from another program, so I can incorporate it into something I write. Android apps all seem to work over wifi, which tends to be slower than a wired USB connection.


text:
Run android on windows 7
All I want to do running Android on Windows 7 is using whatsapp for certain group discussion.
I tried BlueStacks, but it causing keyboard issue, at many times, certain key act like got stuck, keep repeating, and when this happen, I have to restart my windows.
quit the bluestack won't help.
now I want to try other (free) option, any recommendation?
youwave is not free.
I come across this androvm, but the file type is ova , no idea how to run it at present.
just to re-clarify:
I already running WhatsApp over BlueStack on my Windows 7 64 bits.
But it comes with a side effect, very bad. At time, my keyboard seems like got 1 key stuck, and keep repeatively pressing it unstopped.
the keyboard is absolute fine. I kill/quit BlueStack if I don't plan to use the WhatsApp, which is auto-start whenever i login.
when the funny keyboard issue happened, the only way to resolve it is reboot, quit the BlueStack won't help at all.

android-x86 perhaps?

You're probably wasting time if you're doing this just for WhatsApp. WhatsApp won't let you run it on anything without an active phone connection. Try taking the SIM card out of your phone and rebooting it and WhatsApp will complain and fail to work even if you have a wifi connection. They do all of their authentication based on your phone connection details.

Why not try Genymotion?

I already runnning WhatsApp over BlueStack. It's working. The problem is with the buggy keyboard behavior.

what's the downvote about?

I re-upvoted. You really could have worked harder on the grammar and capitalization though. I also added an answer. Please try Andy emulator. Excellent software and super easy to install

You could simply unplug the keyboard and plug it back in. Works for me every time.

How do you unplug a software keyboard? His keyboard problem is in software

You could install the Android SDK and run an instance of Android through the emulator. Probably not the simplest solution but the emulator usually runs pretty well for developers.

While this will let you install APK's, it still won't work with WhatsApp, which requires a cellular connection and a phone number.

Thanks for the precision, I was not aware of that because I don't use this app.

Absolutely. You can use Andy for Windows. It's heavy software but extremely powerful for testing or just having fun!
Andy is definitely the simplest option.

You can use Bluestacks; works as emulator.

You did see that the Asker has already said he tried Bluestacks and that it didn't work out?

actually, it worked. but it has a side effect, funny keyboard issue.


text:
Would it be possible to sandbox apps with SELinux?
Many apps require too much permissions that they do not need to function
Most apps needs internet connection to talk to some API (let's say updates checking or notifications.. etc) and need to access SD Card (for buffering/caching). But if we grant them this they can take all of my data.
It would be great if the OS is structured in a way so that we can grant apps access only to specific directories that only belong to it (think of browser cache, youtube buffer ...) and when the user promptly and consciously want to pass files (eg. upload file throw a web browser) they get staged/promoted/linked to that area accessible by the app.
till that happens, we have SELinux in many android phones can we use it to sandbox apps (the idea is there since 2009 see http://danwalsh.livejournal.com/28545.html)
here is the question: can we define a policy that says (if yes how)

those apps are not allowed to access my gallery directory (DCIM)
those apps are allowed to access my gallery but are not allowed to use network connection

in desktop Linux it was successfully applied (here it was applied on firefox http://danwalsh.livejournal.com/31146.html)

AFAIK, SELinux requires a file system that supports extended attributes, and in most devices, SD card are formatted as FAT which cannot store extended attributes.

Android already has this kind of sandboxing of apps. Each app gets its own data directory (and optionally another on the SD card), and only that app can read that directory. Apps can't read other apps' directories directly.
When an app (such as the gallery) wants to make its content available to other apps, they can offer an interface for the other apps to use. In fact, there are two kinds of interfaces apps can offer.
The first is via the intent mechanism. This is used when you get (for example) a "Choose image from" dialog, with different apps to choose. The intent mechanism allows the app that owns the image to grant the calling app temporary access to only the image(s) you choose this way.
The second mechanism is for the app to act as a content provider. The app then acts like a server, allowing other apps to browse and find content, and access it directly without your interaction. When an app acts this way, it's up to the app that owns the content to choose what security mechanism to use. The app might require that the calling app have a particular permission (even a new permission specially created for this purpose). For example, access to contacts is provided this way. Only the built-in contacts provider app has direct access to the contacts database. It also acts as a content provider, to allow other apps access, but only if they have the appropriate permission (such as "read my contacts").
So, as you can see, the mechanism you describe - to sandbox apps, and to pass files from one app to another only through the user's choice - already exists in Android. It's way ahead of desktop operating systems in this respect. It's up to apps to use these mechanisms to control the content they own - and there's always going to be a trade-off between granularity of control (using lots of permissions) and making things easier for the user to understand (using fewer permissions).

But that doesn't work for the parts the OP explicitly named: those apps are not allowed to access my gallery directory (DCIM): this is located on the SDCard, where no "ownership" applies, and are not allowed to use network connection: there's no (native) way to accomplish that. Which means, you'll have to trust the apps – or root your device and use LBE/PDroid/XPrivacy/...

@Fuzzy: That's because the camera folder is decidedly a shared folder. If you don't want this, you'll need to find a camera app that stores its images in the internal private storage or encrypts the images while in external storage.

as I stated in the question many apps require both "full access to SD" and "full internet access" upon installation. We can only accept or else it won't be installed. It's not opensource to change it. so the only option is to sandbox it

@fuzzy can you tell me more about LBE,PDroid,XPrivacy

Yes' there is but some apps crashes when they see that they are throttled. Xprivacy module for xposed framework and also app settings. Search and you will find threads at xda pages.


text:
Partial adb restore
ICS devices support creating backups using adb backup, and restoring them using adb restore. Using adb backup, one can select that everything should be backed up, or only a certain package.
However, adb restore lacks all the options of adb backup. When I call adb restore backup.ab, where backup.ab is only the backup of a single package, the phone shows me a warning dialog saying that all settings are going to be lost after restoring the backup. Is it true that restoring a single package backup wipes all data on the phone? If yes, is it somehow possible to restore a single package using adb restore?

I'd say the warning just relates to the settings of the app being restored, as they would be replaced by those from the backup. But I cannot tell for sure, as I have no ICS device (nor the SDK installed).

Izzy should be right-
However, just to be sure, in the future, you could backup your apps and app data with
' $ mkdir ~/backupdir/ && cd backupdir/ && adb pull /data/app/ && adb pull /system/app/ && adb pull /data/data/ && adb pull /system/data/'  - and then adb push it all back over.

@Bob did any of the suggestions get you any further? If so, maybe we could sum it up and place it as answer, which then would be useful for other community members as well.

No, sorry. rm-vanda's comment doesn't work like this on non-rooted devices.

I thought so. But maybe another hint might do: How do you extract an App's data from a full backup made through “adb backup”? -- extracting the backup at least let's you know what the "replacement" looks like. You still could make another backup before restoring from the old, just in case, which you then could extract as well.

Picking up my comment on the question:

Is it true that restoring a single package backup wipes all data on the phone?

No. As I suspected in my comment, the warning just relates to the settings of the app being restored, as they would be replaced by those from the backup. I used adb backup to backup a single app on one device, and restored it to multiple devices. I didn't miss anything afterwards, all other apps (and data) remained untouched.
It wouldn't make any sense the other way, either. And Carbon - App Sync and Backup couldn't offer to restore a single app, as it itself would be gone then as well :)


text:
Disable cookies for specific sites in Firefox
Firefox on my PC allows me top disable cookies for specific sites by clicking on the website's icon. When cookies are disabled generally, I can enable them the same way in the menu behind the icon. Firefox on Android doesn't show this menu when I click on the icon. How can I disable/enable cookies for a specific site on Firefox for Android?

Do you've root access? Firefox for Android doesn't have in-built permissions manager interface neither it gives per-site option to change some settings. However, it does have the permissions.sqlite which holds permissions related to cookies. I guess you would need to manually edit that file to get the job done.

Yes I have root access. But does Firefox need additional permissions to modify its own cookies? It somehow must be able to access them, otherwise, I couldn't delete all cookies.

With Firefox 57 support for extensions not using the WebExtensions API was dropped. Before that, you could whitelist specific sites using the Cookie Whitelist for Fennec addon. The WebExtension API currently doesn’t offer a way for an extension to modify cookie permissions. Adding an API for that is discussed in Mozilla bug 1291841.
This leaves you with the following options:

Try to find an older version of Firefox for Android and use the old addon (not recommended due to missing security updates and because you could find an APK containing malware)
Wait for the API to be added
Try to modify permissions.sqlite manually as suggested by Firelord in the comments
Use another browser for sites needing cookies. I use Firefox Focus when I encounter a site needing session cookies. For sites needing permanent cookies to stay logged in you would need another browser.


text:
Loss of Image quality when set as lock screen or home screen wallpaper
This is my original wallpaper:

After setting it as Lock Screen wallpaper, its quality got reduced and this is how it looks:

Even when set as homescreen, the image quality is reduced.

How to improve the quality of the lock screen/home screen wallpaper?

Nice pic -- and you are right, the original looks far better.

That simply appears to be the "effect" of the lockscreen (dimming and blurring the background?). Have you tried a lock screen app replacement such as WidgetLocker?

@BryanDenny no its not the effect. Check the edit for the homescreen wallpaper. Its quality also is reduced.

I have found the solution. The original image size was huge (about 2600 pixels wide). So I used Photoshop and transformed this image to 960 x 480. Now the image looks the same way when set as lock screen or home screen wallpaper like below:


text:
What is the default resolution of a wallpaper that fits the homescreen exactly in an Android phone?
On an Android phone the wallpaper spans across all of the home screens.
So what size should pictures be to fit properly as custom wallpapers?

Lifehacker just published an article about this. Found here: http://goo.gl/iWan

That article has a good explanation.  FYI, the answer you marked as correct does not in fact give the correct dimensions.

Here are the correct wallpaper dimensions for the phones cited in Leimi's answer:

480x320 for devices like the HTC Wildfire
640x480 for devices like the HTC Hero or Legend
960x800 for devices like the Nexus One
960x854 for devices like the Motorola Droid

If you device isn't listed there is an easy way to figure out the dimensions of the wallpaper based on your particular phones resolution:

2x the width and 1x the height

so for example my Moto Droid has a screen resolution of 480x854 so I want my wallpaper to be 2x the width (480 pixels) and 1x the height (854 pixels) = 960x854.
Here is a chart with most devices specs to help find the resolution.
Also check out this Lifehacker article that explains Android wallpaper sizing well.

HTC Evo 4G is 960x800

This does not work on T-Mobile G2 (800x480).  I open a JPEG resized to 960x800 in the Gallery app and when trying to set it as wallpaper, I am forced to crop it.

How many home screens do you use?  Are you using an alternative homescreen app? I have seen it reported that 960x800 works just fine on some G2s so there might be some other reason it wants a different size.

@florin Are you really forced to crop it, or merely asked to select what will be displayed?  In other words, can you expand the selection rectangle to the full size of the image, thus performing no crop at all?

It depends on your screen resolution :

480*320 for devices like the HTC Wildfire (QVGA)
800*600 for devices like the HTC Hero or Legend (HVGA)
960*800 for devices like the Nexus One (WVGA800)
950*856 for devices like the Motorola Droid (WVGA854)

edit : in fact some of this dimensions work but are not the correct ones (they fit because of the same aspect ratio). Matt's answer is better !

This is a thorough answer so I'll only comment to add one detail -- The basic formula for wallpaper resolution is screen height * 2x screen width.

These dimensions are not correct (except for the dimensions quoted for the Wildfire).  Saiboogu's comment is correct.

Well.. my bad !

Np. Just curious, where did you get your numbers? Miscalc or do you know something about wallpapers I'm missing?

I take this from an active wallpaper maker on a french Android forum. I don't know where my head was when I copied those values though : in fact his big screens values are 950856 (wvga854) and 960800 (wvga). In the end, his resolutions work aswell because they keep the same ratio as the correct ones (for example the 800*600 for the HTC has the same ratio as the 640x480). But to make something perfect I see that your values are the ones to take, so my bad :D

I think you shouldnt look at resolutions, but aspect ratio.
Resolutions are device-specific, but all devices, regarding their screen resolution use the same aspect ratio for scrollable wallpaper.
As I recall, the ratio is 5:4, because this aspect is good for having a wallpaper that scrolls a bit while you scroll through your homescreens.
Its been a while since I got that info so something might have changed, but as long as you keep that ratio (and the resolution higher than your devices resolution) you will have a nice crispy-clear image.


text:
How to move contacts and other data from Symbian to Android?
I am changing my mobile from Symbian (Nokia 5800 XpressMusic - S60v5) to Android (Samsung Galaxy SII).
I want to move the following data from my old mobile to the new one somehow.

Contacts
Calendar Entries
Bookmarks
Notes
SMS, if possible

Other data like images, videos etc I can transfer using my memory card.
I have synced my contacts,notes already to Ovi Sync and calendar entries to Google calendar via Mail for Exchange.

As devnul3 has said, using Google for the contacts and calendar (I was using Google as an Exchange account, so I didn't have to do anything special). Just set your Android up with the same Google account.
Moving SMSs can be done with SMS Migrator, which can be found in the Android market. There's also the SPB migration tool, which looks like it can do everything but notes.

For contacts and calendar entries, move the contacts to the google cloud with google sync, then activate the android device with the same account.
Note:if you created more than one google calendar, you will need to make sure they're all selected for sync on the phone (open the calendar app, menu > more > calendars).
Not sure about notes/SMS/bookmarks, although if you can get the bookmarks off of symbian and into chrome you can use chrome marks or chrome to phone to move them to android.


text:
The size of the MMS message
What is the maximum size for an MMS message that any Android phone can handle? and is there a way to increase this size?

Short Answer:
The maximum size for MMS is rather carrier-dependent, and usually is set to 300kB. For your second question, you might want to check Manually edit your max MMS size limit.
More details:
As for changing the limit, there are several consideration to be taken. Sure one can alter any limits, but usually there's a good reason for their presence. As Zuul pointed out (see comment below), you may then be able to successfully send a message of, say, 1MB size -- but that doesn't necessarily mean the recipient is able to receive (let alone read) it. Consider the 300kB limit as "smallest common denominator" between your phones capability, your carriers capability/configuration and the receivers capability.
So if you are pretty sure what you are doing (say, you know your phone can handle 500k at least, the recipients phone can do so as well, and both your carriers support it), increasing the limit might enable you to exchange MMS up to 500k with that recipient -- while failing to do so with others.
To me, this was never a question. If I need send some message, I use email. It's cheaper than MMS, and works between phones and PCs and Macs and... Exception: the recipient has an "older phone model" without email capabilities. But then chances are good it cannot handle MMS either -- so I have to stick to 160 chars with SMS telling him to lookup his mail :)

Manipulating the size limit is an "wasted effort", since you may increase your limit, but and about the person who sends you an MMS or the person who will receive an MMS from you? (I'm just pointing out some important considerations)

@Zuul You are absolutely correct with that -- there's a good reason for such limits. I thought it too obvious to mention it (see also my comment on the question itself). But thanks for mentioning it -- I will include it with my answer.

Basically the size of an MMS message depends on:

The size that the operator can handle;
The size that the phone can handle.

From Wikipedia:

Although the standard does not specify a maximum size for a message, 300 kB is the current recommended size used by networks due to some limitations on the WAP gateway side.

There's no definitive answer to this subject due to the dependencies mentioned above. You can contact your operator and try to get a more accurate answer from them. Alternatively you can always test ;)


text:
Was it my rooting that caused my Android to malfunction? Or what was it really?
I finally rooted my phone around a week ago, amidst all those battling feelings, and I used it for around 4 days.
While the phone was charging through the USB port of my computer, I remember like putting the computer on suspend and then removing the phone. Thereafter, it never turned on! Except sometimes, where it came to the boot screen and got stuck, or it went just past the boot screen and got stuck again, or where it didn't even turn on the screen but just kept vibrating.
It was only charging through the USB, so I had not enabled file sharing or anything where I would have to disconnect the phone from the computer first before unplugging, so I'm quite sure that it's not anything to do with corruption of data due to just unplugging.
My Android (ICS) is yet under warranty, although rooted, so it's currently at the company service centre getting repaired. Their warranty card has got a whole bunch of terms and conditions that void warranty, but nothing to do with rooting thankfully. I only rooted it, and went NO further into flashing another ROM.
So my question, what happened to my Android? Was it some application that required root, misbehaving? Or was it due to overcharging? It can't be due to overcharging since when I plugged in my phone it was only about 60-80% charged, and I was at the machine for only a few minutes before disconnecting it from my computer.
Whatever the reason is, please help me figure it out. The phone comes back this coming up Wednesday, and I want to be knowledgeable enough to understand what's going on and whether I should root it again if the company has unrooted it (hopefully not! ;) ).

What model is that?

It's an Eon 3i, Zigo, would it have gotten bricked by any chance? I didn't try to flash any new ROM though...

I don't know that one. Have you read http://android.stackexchange.com/questions/1184/how-do-i-root-my-android-device ?

Yep, I did read it, and since it hadn't much info on how to root the Eon 3i, I had to look on Google: link. Actually, the instructions aren't meant for this phone, but because it's from the same family of phones I followed it.

Received a call from the service centre, it was a motherboard problem : ). Getting a replacement. Now do I root again...

It's pretty unlikely that rooting will ever cause hardware to malfunction--software maybe, but even then unlikely.
In the event that you think a rooting process has caused your device software to malfunction it is advisable to attempt a full factory reset--since you had a hardware issue the device would still be malfunctioning.
Edit: As Dan correctly notes below this is not the same as a 'Factory data reset' that you can find in the phone menu, it is more akin to flashing a stock rom including the recovery and often bootloader(and sometimes specialized software will be required). It looks like the device mentioned might be OEM by ZTE, maybe this thread would have a stock rom http://forum.xda-developers.com/showthread.php?t=1353526 )
One thing: It might be good to know what is actually happening with the root(maybe try to find a 'manual' root process) as some root procedures are more invasive/risky than others.

This is very vague, and a factory reset wouldn't make any difference, because rooting changes the system partition, which isn't affected by a factory reset.

A proper "factory reset" will infact include the system partition, some devices call this a RUU, often this will have to be run from the computer while the device is in download mode, samsung devices might use a program called odin for example--Note this is not the same thing as resetting the device from within the android software.

Yes, that's what a proper factory reset would be, but as you've noted, it's not what happens when you press the "factory reset" button on the phone, so it's important to make it clear that that you mean flashing the stock ROM.

Yes, 'flashing a stock rom' maybe that's a better way of describing what I was hoping to convey.


text:
How to stop Google's Play Store from auto-updating itself (without rooting)?
I have a problem with my tab. With the new version of Play Store, My tablet PC keeps restarting. So, I restored Google Play to the Factory Default. Soon after, it updated itself, causing the device to restart repeatedly when in standby. I am running 4.1.1 on my Karbonn ST10. I, at the time of posting the question, do not have any intention to root the tab.
Thanks,
Oxylibrium.

Instead of trying to stop Google Play from updating, maybe you should try stopping your tablet from restarting or get it replaced if it's under warranty. Since it's not rooted, you should be under warranty..?

If I try to give it for service, they say "We no longer support this device." Hope that explains it.

I also found these four possible methods of preventing the Play Store from updating itself. I haven't tried any of these methods myself, though. http://skyblue2779.blogspot.nl/2012/03/how-to-disable-auto-update-for-android.html

Go to Setting--> Data Usage
under the usage graph there is list of apps with usage specified on right side.
Go to Google Play and at the below you will find Option Restrict  Background Data
click on that check box..
and here you go.
Though you cant install any apps from Play store with these setting, but you can always enable background data whenever needed.

Thanks, but this option is not available in my tab's settings.

This is no longer a valid solution as Google Play enables background data itself if it detects they are disabled

This is pretty simple solution for Android 7 (1GB/8GB (sys 4 + usr 4)) system.
Wifi started to clog and some apps to misbehave because of shortage of RAM and/or RAM cache.
The user storage free space was only 100 MB.

Disable apps autoupdate in Play Store.
Uninstall updates for Google App and Google Play Store.
In the new (old) Google Play Store disable apps autoupdate again.
If Play Store/Google App starts to update itself cancel it.
Find or record a "dummy" video of about 50 MB
Copy that video to user storage as many times as needed to leave about 200 MB free space.
Android cleans about 100 MB of user storage to enable at least one of the bloated apps to autoupdate.
Cancel the autoupdate if needed and fill the extra space with 2 additional copies of your dummy video.
Free space is now about 200 MB again, but there is no room for cleaning anything any more.
Android gives up and your phone works fine. There is much more free RAM because the Google App and Google Play Store are the factory versions (with some "missing" features, of course). There is enough RAM cache because user storage free space is about 200 MB (hold it on that level by adding/removing copies of your dummy video if needed).

Your phone must be rooted to try the following steps:

Go to data/app/.
Enter the command chattr +i /data/app/com.android.vending-1.apk (this is partial info and you need to Google for more) .

I could've considered it a partial answer but I cannot because there is virtually no reason mentioned or the amount of success achieved. It's simply of no use as it's is currently written. Consider explaining what you're trying to do, and try to post when you've completed the job.

Also chattr +i /data/app/com.android.vending-1.apk changes the attribute of that APK file, making it immune from any future changes. It doesn't create an APK!


text:
Cannot access library e-resources on campus
I own a Samsung Galaxy 10.1 tablet(Wi-fi only model) featuring Android 4.1.2. My problem is that I cannot access and use library e-resources on campus although I have my tablets MAC address registered at the computer center in our university and connect via the wireless network available in campus. I consulted the library staff but that did not resolve my issue as I already had VPN and proxy disabled (they told me to disable any proxy and/or VPN). From the same wireless network on campus I can access the e-resources on my laptop and its MAC address is registered in the same database. May this problem caused by lingering VPN and/or proxy settings since I had Tunnelbear installed for some time. I am looking forward to hearing your response and suggestions on this matter.
Edit: I think that it may also have something to do with DNS settings. Can these settings be changed for a particular network without modifying other settings such as IP, Gateway etc.?
Edit 2: The problem is exclusive to Google Chrome, I can browse using Firefox without major problems. Which setting in Chrome might have to do with this?
Thanks

While I cannot answer the main part (first paragraph), the second one is easy: Settings→WiFi, check for the AP, long-press its entry, chose to edit, enable "advanced". Now you can change all that; but it might require you to use a fixed IP address.

Yeah it requires me to use a fixed IP address and also specify the IP of the gateway which I do not know.

You can use some diagnostics app (to be found e.g. in the network section of this app lists to show the DHCP settings applied currently, including your IP and Gateway. If you enter those values in "fixed mode", it should at least work temporarily (until your IPs lease-time runs out), so you can test settings.

@Izzy Well thanks for pointing that out, I will try it tomorrow when I am on the campus.


text:
What's the best way to switch from Stock Android OS to Cyanogenmod on Galaxy S3?
I would like to switch my Stock Android OS to Cyanogenmod with the least trouble possible on my Samsung Galaxy S3.
So basically I would like to keep:

My data (files, contacts, sms)
My apps
My apps data (progress of games)

Is this even possible?
What is the best approach to do this?

If your device is not yet rooted, an alternative to Alex's suggestion of Titanium Backup (which I'd second otherwise) would be to use adb backup (creating a backup file for each app separately is important here, as adb restore just works per backup file, not per app), or one of its frontends. There's also the possibility to do that directly on the device, using e.g. Helium Backup.
Please also take a look at the backup tag-wiki for more information.

You can do it with Titaniun Backup, thought it's not sure that everything will work as expected. Apps are the most problematic.
Some apps and games now store their data on Google's servers, though I don't think there are many that do that yet.

Titanium Backup is the gold standard for backup apps. However... a note: You need to be rooted in order to get Titanium Backup. For many phones, gaining root for the first time involves a factory reset. Therefore this may not be the best option.


text:
Market won't show some apps on custom rom
I installed cyanogenmod 10.2 on my samsung galaxy s3 and asus tf101g, and it looks like both of them have one problem with apps showing in play store.
For example I have buyed Mantano Reader Premium and it's showing on "All" section, I can install it and it'll work, but it wan't show in "installed" section, so i'm not getting any update notifications or such. I tried to restore market links with Titanium backup, but it did nothing. In fact, i think the links are ok, because it was installed from market. App reinstall obviously not helping too.
Searching solutions i got some varians:
1) Use Market Helper by Jummy: com.jrummy.apps.google.play.api
Didn't help. I tryed to delete market cache and data, modify device properties in Market helper and reopen market. Nothing helped
2) Modify build.prop and set ro.build.fingerprint to some "good' value.
Didn't help. Actually i found that cyanogenmod already have some value from samsung s3 stock rom, and I also tried to modify it to something from other devices, remove data and cache from market and restart device. Also got nothing.
So, is there any good solution? What exactly is restricted:

Device name?
Android version?
Region?

How I can find and fix that?
For example here is some affected applications:

Facebook
Mantano reader premium
Whats app

They appears in "all" tab, u can install, but it wan't came on "installed". Wan't appear in search also.
I'm using market 4.4.21.
Thanks for helping.


text:
Red notification light on Nexus 4, won't power on, device unresponsive
This morning my Nexus 4 wouldn't turn on, so I plugged it in, but the white battery recharging icon doesn't show up when I press Power, and holding Power doesn't turn on the phone. Instead the notification light blinks a deep red. The screen was totally unresponsive.
Lots of websites have plenty of doom and gloom hinting that red light = device is bricked, but I see no official source for this. What does this light mean?

This does not necessarily mean your phone is dead. Your phone will flash the red LED light briefly when the battery is completely drained. When I got this I left the phone in the charger for a while, and eventually the white "charging battery" icon appeared again. Upon turning on the device it had 0% battery. It was in fact so drained that it died while on the charger (at 0%), so I left it to charge for longer. After it regained 30% of it's battery I took it to work and it seems to be draining, charging and working normally.
I'm not sure why lots of sites claim this means your phone is dead, lots of them just say "what else would a blinking red light mean", but definitely leave your phone plugged in for a while and attempt to turn it on again before you attempt to get your phone repaired.
Also if a normal microUSB doesn't seem to be working, try the original charger + wall wart that came with your Nexus 4. My dad had this issue with the N4 and other chargers didn't seem to work. Not sure if the volt/amp/something just isn't enough from other cables or what, but Google recommended it and it seemed to work.

What about a solid red light, no flashing?

@DavidCaunt I haven't gotten that one; device doesn't work at all? Leaving it on to charge doesn't do anything? That's not the red light I got, anyway, so it may well mean something different

Solid red seems to indicate serious problems with the battery; the red light fo death. Fortunately, I left the device to charge overnight for several nights and managed to power it on after several days. Some users at xda have speculated that the on red it will use a very slow trickle charge but I don't think the problem is fully understood.

I put in Charger but after some time solid red light went. And i dnt know whats going on now in device. I can not able to start device. I should wait for couple of hours to get it charge.?

I think it could be possible that the mobile equivalent of BIOS selftest uses the red LED to signal that the power-on selftest had failed. In the good old times there was an exhaustive manual explaining the conditions when the LED could be red... ;-)

I just saw it. It was a simple case of 100% discharged. To fix it use the power socket charger and not the usb charger from your laptop or desktop. The red light first goes down, then it will blink and then the white charging icon comes. Let it charge at least 10 minutes after that before you switch it on, otherwise it would shutdown again (but won't go to red light mode).
In most cases the red light is not the light of death.

Yes, "power on" can use significant batter power, and that could be the last 5 or 10 percent of battery power.

I just had the same issue with my Nexus 4, phone suddenly died, press the power button and it would flash the white Google then turn off. I tried several times use the power button and even hold both volume buttons and power at the same time, nothing. So I plugged it in the charger and saw the blinking red light, thought, "Oh no this is not good."
Then I came here and read, "This does not necessarily mean your phone is dead. Your phone will flash the red LED light briefly when the battery is completely drained," so I left the phone in the charger for a couple minutes and the white battery indicator finally came on after a couple minutes. I now realize the battery was completely drained and I did not have a glass brick for a phone. All hail the forums!

This should be a comment, not an answer.


text:
How do I change phone number in Viber from SIM1 to SIM2, when I only have data on SIM2?
How do I change Viber phone number in a dual-SIM phone from SIM1 to SIM2, when my current Viber account's phone number corresponds to SIM1, but I only have data on SIM2? (e.g. when I have moved to a new network)
(The Viber doc does not say how to)

In Android > Wifi & Internet > SIM & network, Enable both SIM1 and SIM2. Set 'default SIM for mobile data' to SIM2.

Apparently Viber needs to see old SIM1 as well, to verify it corresponds to your account, before it will allow changing phone number. But SIM1 is disconnected and doesn't need roaming; all your data is now coming via SIM2. While you are in this in-between state, you will not be able to receive any calls or messages with Viber - but neither Viber nor Android won't actually tell you 'No network on SIM1'. Viber will not notify you it's offline (oh no, proper notification would be too easy...), it will appear as if it's online, except when you try to send a message it will just get silently delayed, or when you try to make a call you get a 'No Service' dialog (but it won't say which SIM, and even if you  do have service on SIM2 and SIM2 is enabled as default).

Close and reopen Viber. Go into Settings > Account > Change phone number > New phone number > Continue > Continue (to prompt about spamming your contacts with your new number)

Type in the new phone number (from SIM2) and press Continue. Viber will attempt to message all your contacts but fail with 'No Service'. Ignore that. (Actually it's desirable to prevent Viber spamming your entire contact book)
Viber will send the confirmation code to the new SIM2 number. This should succeed. This is the crucial step.
Verify it worked by checking that the phone number at the top of the 'More' profile page (under your picture) has changed to the new one.
If this step didn't work, do it again till it works. Make sure you actually have data connectivity on SIM2.

In Android > Wifi & Internet > SIM & network, disable SIM1. (At this point you could power down and remove SIM1 from SIM tray, if you won't need to reactivate it again/soon).
Now, you apparently have to reboot your phone. (Quitting Viber and deleting its cache don't seem to be enough. Although the Viber doc implies this is never needed.)
Restart Viber and everything should be fine under SIM2.

(None of this procedure is described in Viber doc > Change phone number but should be. Possibly because dual-SIM phones are not very common in Europe and US.)


text:
Samsung Galaxy S3 4G notification center NFC button doesn't work
UPDATE: This was fixed in the 4.3 update that came out for my phone lately. No need to think about it anymore, also I can't give any further details.
I have a quite new Samsung Galaxy S3 4G (GT-I9305). It is running an unmodified & unrooted version of Android 4.1.2. It works mostly perfectly fine, but there is a slight problem with NFC.
I have edited the buttons visible in the notification center. I have added the NFC switch to the buttons. My problem is, the button is not working. It is disabled, and has no green/gray indicator.

However, when I tap the S Beam button S Beam and NFC get enabled.

After this, if I tap NFC with S Beam either enabled or disabled, System UI crashes. When the UI reappears the buttons are as before tapping NFC, but now I can successfully turn off NFC, and also turn it on and off again. Restarting the phone brings the problem back again.
Another way to get NFC turned on while the button is disabled is to go to Settings > More Settings and turn NFC on. This also turns NFC on in the notification center, but again, trying to turn it off causes System UI to crash.
What could be causing this behavior?

Have you tried a factory reset?

@ScottOdle Not yet, as I'd like to keep my data.

It's probably your best bet to back up your data and do a factory reset.

@ScottOdle Thanks. I will however probably not reset it because the problem is not worth the effort. My question here was what might be causing this, if anyone happened to know.

What happens if you change the button order?

@LiamW Tried it, no effect.

@Pietu1998 does the device have NFC support? I have a strong feeling it's an issue with the actual device ROM.

Yes, it does. I have used an actual NFC sticker with my S3 while this issue has been ongoing.

S Beam is an app for NFC, could that be why?

@TheDoorkeeper S Beam uses NFC and Wi-Fi Direct, so it turns NFC on. This doesn't explain why the NFC button is broken. Also, I am looking forward for the upcoming 4.3 update, maybe it'll fix it.

@Pietu1998 If updating solved the problem, please write that as an answer and then accept it, so other visitors can see your question is answer.

This was fixed in the 4.3 update that came out for my phone lately. All done.