text:
how to make complete os backup to create update.zip?
how exactly can i create a update.zip file from  an android device that runs on android kitkat? i tried to backup using titanium backup but it needs root access. is there any way to backup the complete rom without rooting?

adb has a built-in backup command. See, eg, this question for details.


text:
Transferring data from SD Card to Internal Memory and vice versa
I have a Smartphone; Sony XPERIA SP with Android 4.3 (updated). While recently updating the apps on my phone, it told me that the Internal Memory was close to full. So I inserted a 2 GB microSD Card (which I found on my drawer by luck) after which my phone prompted a notification to transfer some data to the SD Card. I clicked on the notification and the data got automatically transferred! (I had to select just a few things) After few days someone gifted me a 32 GB microSD Card and so I was thinking of replacing it with my current card. But then to do so I need to transfer the data from my current SD Card to the phone again and then re transfer the data back again to the new SD Card. But how am I suppose to transfer data to the phone again? I found no option to do that. Also is there any other way to replace the new card with the existing one so that no files get deleted or misplaced?

There is no automatic way that you can do this. However if you really want to do it, you will have to connect both memory cards to computer and transfer the files manually by selecting all. And if you don't have computer you cant do by app, es explorer which is freely available in play store this transfer by first placing the files in your sd card and then insert the new sd card and if the system prompts you about the storage full, then you have what you want.

I have a Laptop!

Okay I think I got the answer. What I did is just I plugged the SD Card into an adapter and inserted in my laptop and copied all the files and folders into a folder on my laptop. Then I plugged the other card into the laptop and transferred all the files into it. And it is working without any errors.

source: Stack Exchange

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

sort: votes


text:
Working inside VPN using an unrooted Android device (or Genymotion)
I am trying to use an unrooted Android device (or alternatively, a Genymotion emulator) to run an application that needs to be connected to a VPN. On my PC, I only need to connect via Cisco's AnyConnect, and to use a RSA token generator.
However, I'm finding it quite hard to have VPN access in my device. Here are all the approaches that I've followed.

Installing Cisco AnyConnect for Android didn't work for me, since this can't be done without a token. I can use the generator from my PC, but I don't have a similar software in the device.
StackOverflow's questions about the "Genymotion approach" don't have any answers, unfortunately. For example, this older question and this newer question.
Reverse tethering also didn't work. This seems to require a rooted device.
The last approach I tried was using a laptop as a hotspot, and then connecting to this newly created WiFi network. However, although the network was created, and the Internet connection was succesfully shared, I wasn't able to connect to AnyConnect from the laptop after setting up this network.

Any additional ideas on how to share this VPN access to the device will be highly appreciated. On a final note, the VPN I'm trying to connect to is a customer network, so unfortunately I'm not expecting too much help on they side.
Regards

what os version ? (API)?

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


text:
Android 5 Lollipop block Advertising video in a game
I have a "problem" with a game called Geometry Dash Lite, sometime meanwhile I play an advertisement shows and consume a lot of internet bandwidth...
The advertisement is a video of another game (here's a screenshot)

Click for full size
Here's the "stolen" bandwidth image

Click for full size
There is a way (without rooting) to block it? (leaving aside the possibility to complete disable the mobile internet connection)

Without root, your best options would likely be:

Disable your cellular data while playing (assuming the game does not require it)
Purchase the ad-free version


text:
How to do a factory reset when recovery mode, usb debugging and factory reset don't work?
I have a device called "EXEQ SET": http://www.exeq.ru/produkcija/pristavki/os-android/set.html
It runs Android 4.1.1.
It is spitting out errors like this every other second, making the device almost unusable:
The process com.google.process.gapps has stopped

The process 'Google Play Store Services' has stopped

The process 'Launcher' has stopped

Here's what I have tried to re-flash the device:

I turned off the device, then pressed the key combination to boot into bootloader/recovery mode, which is Home+Power according to "documentation". The power led lights up, but the screen is completely blank and the device doesn't seem to turn on. I have to hold the power button for a few seconds to turn it off from this state.
When I go to Developer options menu and turn it on, it immediately switches the developer options menu off. This isn't instantly visibly, I have to re-enter the menu for it to refresh.
Both adb devices and fastboot devices commands give empty output when the device is turned on and on all stages of boot.
When doing a factory reset from menu, the button simply does nothing.

I suspect this might be because of some malware.
Are there any other ways of doing a factory reset?

What OS are you using?  Do you have the hardware IDs added to adb_usb.ini?  (Side note, this doesn't sound like malware.)

@MatthewRead I use Arch Linux. When I connect my phone (nexus) via usb, it shows up in the output of adb devices. So I assume this other device should "just work" as well.

No, generally the Android SDK comes set up to recognize Nexus devices and sometimes major manufacturers; I'd doubt that EXEQ would be included.  Run lsusb with your device connected to get the Vendor ID, then follow step 3 here.  Then also add that ID (e.g., 0xabcd) to adb_usb.ini, which is usually located in ~/.android/.

Additionally to Matthew's good comment: After adding your vendor to adb_usb.ini you should run adb as root.  adb kill-server; sudo $(which adb start-server)

@MatthewRead Here's the output of lsusb: Bus 001 Device 009: ID 18d1:8301 Google Inc.. I added the following SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" to /etc/udev/rules.d/51-android.rules but the output of adb devices is still empty.

@divided-by-zero Also added 0x18D1 to .android/adb_usb.ini and ran adb kill-server; sudo $(which adb start-server but the output of sudo adb devices is still empty.

That's very strange.  I assume it must be due to the Developer Options not enabling, as you say.  Are you rooted?  I'm not sure if running the adb daemon (/sbin/adbd) manually on the device via a terminal emulator would work.

Maybe it should be ATTRS not ATTR? Something like SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="8301", MODE="0660", OWNER="yourusername" Also try combinations of power+volume up and down for recovery because the documentation could be wrong.  Finally, download the ROM source and see what clues might be there. E.g., if it is a uboot bootloader the source should reveal what the keys are to load recovery. Also, see this.

@fattire Oh wow you are right it's Volumen up + Power button! Docs are wrong indeed. Add it as an answer please.

Use Volume Up + Power to get into Recovery mode.  From there you should be able to perform a factory reset or flash a ROM.

The easiest way would be from fastboot by issuing a 'fastboot erase userdata' command. But booting afterwards might be troublesome because you will have no filesystem on your userdata partition! It is normal that you don't see anything on your screen except the LED when booting into fastboot mode using the key combo.
Just run fastboot as root on your computer (best on a live system with fastboot), then you don't need to mess with the device rules stuff. To me it seems very unlikely that the malware managed to manipulate your bootloader in a way that it still boots the system but does not allow entering fastboot mode.
Please be aware though that most malware cannot be removed by simply doing a factory reset as the factory reset only removes user data, not system stuff. If the malware managed to modify your boot or system partition (which is very likely) you will have to re-flash these partitions back to a stock state. Do you have access to an image of the stock firmware?


text:
Storage and downloading files
I bought a new phone and everytime I save a picture from Twitter, the browser or a bbm profile it always saves in my phone storage not my SD card. I was wondering if there's a way to make them save instantly on the SD card and show in the gallery.
I use a Huawei Honor 3c running Jelly Bean 4.2.2

In your settings, under storage, there should be a option to change your default write disk. If you change that to SD card, it should save your media to the card.

Thanks a lot it helped. But is it going to save media only to sd or even apps. ?

Only media, it does't seem to work for all apps though. If you what to move apps to the SD card it is done in setting/apps(or app management). You will need to tap on the app you want to move, and then there is usually a button to move it to the card. Some manufactures have this feature disabled for some reason, so hopefully it is available on your device.

authors: Карима Жумашева


text:
How do I set my texts to vibrate differently from other notifications?
So I switched from iPhone (4s) to Android (Galaxy S5) recently and I love everything except the sound settings. With my iPhone, I could set the phone to vibrate once for emails, twice for texts, and a very short vibrate for other alerts. This way, I could separate texts, emails, and non-urgent alerts without needing to check my phone. How can I do this on my Galaxy S5?


text:
How do I tether my android tablet to my Huawei U2801-34 phone
I have a Hipstreet Flare 3 Model# HS-9DTB37-8GB, and I'm wondering if there is a way to tether it to my Huawei U2801-34 phone. It's not a smart phone, so it will most likely need me to install drivers to my tablet, but I'm not sure where I would look to find them, if they exist. I am able to tether it to my PC using The Huawei assistant software that the phone installs on my computer.

Install shareIt app on both devices and the phone will do a hotspot tether with the tablet. SnapShare and SFT apps also perform hotspot tether. If you are doing file transfers the Snapshare does fastest with simultaneous dl's.

Could you link the apps here?


text:
Is android kernel same for all devices
I m newbie to building roms. I have Hiawei G630 device with 4.3 kernel. My question is would it work if I use Samsung or other Huawei kernel.
Sorry form my bad english

No, kernels are device specific and contain a lot of code (not only open source Android code, but much proprietary as well) that is compiled specifically for a devices hardware.
There exists a generic Android kernel, but it lacks many features like telephony and such, so device manufacturers have to add proper code that fits their hardware.
So: No, you can't use a Samsung kernel on a Huawei device or vice versa because of the hardware modules of each individual device.


text:
Unable to Install Certificate
I am trying to install this certificate on a Google Nexus 7 tablet.
I have copied the certificate file (from Win7x64) onto its internal storage and opened it in a file manager to install it. This procedure worked for the previous (now expired) version of the certificate (which I have removed on the device before attempting to install the new one).
However, for this new certificate, the following message appears:

Couldn't install because the certificate file couldn't be read.

The same file could be installed flawlessly into various certificate stores on the computer that I connected the tablet to (hence, the downloaded file is not corrupted). I copied the file several times to the tablet and tried again, always with the same result (hence, the copied file is most probably not corrupted, either).
The tablet had Android 4.4.4 at first, then I upgraded to Android 5.0.2. I am getting the same error message on both systems.
The administrators reponsible for providing the certificate had not received any such reports so far, and the certificate seemed to install flawlessly for other people on Android devices of different types.
I could not find many related issues on the web; googling for the error message quickly led to the localization resource files that specify that message (usually a bad sign with respect to frequency of users out there to encounter an error message). The most promising links still seem to be dead-ends:

The error message is mentioned in a Forum post, but the only reaction to it seems to be hmm...not really sure what that is. I'll look into it though (from December 2013). I couldn't find any follow-up to that issue, and the rest of the thread appears to be unrelated chatter.
There is an open SO question citing the same message (though referring to something called "Android Moto G") from March 2014, but no-one has provided an answer so far.

Hence, my questions are:

What issue does the error message actually point to?
How can I install the certificate file?

EDIT: Here is the log output of what happens when I try to open the certificate in a file manager app on the device:
I/ActivityManager(  540): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Download/infcacert.crt typ=application/x-x509-ca-cert flg=0x10000000 cmp=com.android.certinstaller/.CertInstallerMain} from uid 10083 on display 0

E/ActivityManager(  540): Invalid thumbnail dimensions: 720x720

I/ActivityManager(  540): Start proc com.android.certinstaller for activity com.android.certinstaller/.CertInstallerMain: pid=11644 uid=10008 gids={50008, 9997} abi=armeabi-v7a

E/CertInstaller(11644): Failed to read certificate: java.io.FileNotFoundException: /storage/emulated/0/Download/infcacert.crt: open failed: EACCES (Permission denied)

D/OpenGLRenderer(11644): Render dirty regions requested: true

D/Atlas   (11644): Validating map...

I/Adreno-EGL(11644): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/28/14, c33033c, Ia6306ec328

I/OpenGLRenderer(11644): Initialized EGL, version 1.4

D/OpenGLRenderer(11644): Enabling debug mode 0

I/ActivityManager(  540): Displayed com.android.certinstaller/.CertInstallerMain: +362ms (total +453ms)

V/RenderScript(11644): Application requested CPU execution

V/RenderScript(11644): 0xa330c400 Launching thread(s), CPUs 4

D/TaskPersister(  540): removeObsoleteFile: deleting file=7_task.xml

D/TaskPersister(  540): removeObsoleteFile: deleting file=7_task_thumbnail.png

The crucial part of which seems to be java.io.FileNotFoundException: /storage/emulated/0/Download/infcacert.crt: open failed: EACCES (Permission denied). I do not understand this message - I have successfully copied and opened other files to the device the very same way as I did now with the certificate file. Moreover, how would I even set these file permissions appropriately when copying them to the device via Windows Explorer?

If you are familiar with adb can you provide a copy of the logcat output when you try to install the certificate. As there appears to be some logging right before you get the toast. http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/5.0.2_r1/com/android/certinstaller/CertInstallerMain.java#125

@MorrisonChang: I have added the respective log output. I am not sure how to Interpret it (in this particular Situation - under different circumstances, the exception would be entirely clear), or rather, how to fix the issue.

Just had the same issue.
Go to Settings > Security > Install from storage.
Locate your certificate file and install it.
Edit:
If instead of Install from storage preference you have Install from SD card (this is what being displayed when you use API-19 emulator for example), then one extra step required. Because in this case the activity shows only Recent and Downloads menus without simple way to pick the certificate from the sdcard.
The workaround for me was to put the certificate on my desktop's local web server (mongoose for example). Then (on emulator) I used the stock browser to open the web directory, tapped on certificate (see below) and selected Save link. The file will be downloaded and shown in Downloads view and you will be able to pick it successfully.

Another caveat: when installing a certificate via Settings > Security > Install from storage on my Nexus 7, Android 5.0.2 I had to navigate to the file via Internal Storage:

Trying to select the file via the shortcut to Downloads did not work.

Could you please explain how do you do that? I mean, how do you navigate to a file via Internal Storage?

@AlexLipov I've added a screenshot, hope that clarifies.

THANK YOU! I was pulling my hair out on this genymotion 5.0.0 nexus device.

Still had to do this in Android P on my Pixel. Had to go to Pixel, then navigate to Downloads, rather than using the top level Downloads, before it would accept the files.


text:
I absolutely cannot factory rest my Huawei H881C tracfone
Every function on my Huawei H881C tracfone have "unfortunately stopped". I've tried many times to factory reset my phone but it WILL NOT do it. Please help i'm out of options!

Factory reset H881C
warning everything will be erased

Remove battery for a minute, then re-insert
Simultaneously press POWER and VOLUME UP until it vibrates
Release the POWER when Huawei logo shows
Release the VOLUME UP when Android logo shows up
Select WIPE/FACTORY RESET when blue menu shows up
Select REBOOT SYSYTEM

after rebooting, your phone will start up.


text:
HTC One M7 - Unauthorized in adb
After 10 hours spent, it seems that I need to remove /data/misc/adb/adb_key file and restart the phone. But how can I do it if phone is not rooted and adb has no access?
It's a not rooted HTC One M7 Att. I've tried reinstalling drivers many times and reinstalling sdk. I plugged and unplugged usb, changed ports, turned on and off debugging. Nothing helps and rsa dialog doesn't come up. I've also deleted adbkey files in .Android folder on Windows.
I've connected another HTC One and it worked smoothly. So, problem in the phone.
Help?

It looks like you know how this works, but for anyone who may not, normally /data/misc/adb/adb_key contains the public keys of all the computers that have adb access to your device, which on your computer is located somewhere like ~/.android/adbkey.pub.  If you did have root, you could just use su from the Terminal app, then create the file  (say by copying or appending the adbkey.pub file from the /sdcard/ to /data/misc/adb/adb_key).
Without root, it's more challenging.  As you note, the way it's supposed to happen is that connecting a device that's never been seen before will result in you being prompted to accept the key from the RSA dialog on the device.  But if THAT'S not happening, I suspect that something is wrong with the ADB connection itself.  Are you able to verify that adb is working with another device?  The command adb devices issued from your computer can tell if your computer sees the device.  On Linux devices lsusb will also show whether the device is recognized as connected to usb.  Is your computer able to recognize other devices?  You say that you've tried re-running adb-- for anyone who may be reading this, doing an adb kill-server followed by an adb start-server is one way to do this.
If you don't want to root your device, you may consider installing a custom recovery instead such as TWRP2, which will allow you to boot into recovery mode as root temporarily to make the change without having to actually touch the /system partition directly.  When you're done putting your key into place, you can always re-flash the original recovery and should be good-as-new.  Looks like on the HTC One you can use fastboot to flash to the correct partition via the command:  fastboot flash recovery recoveryfilename.img.  Fastboot is part of the SDK, and it's in the /platform-tools directory.  You may need to run it with root privileges.

Thank for the input. ADB connection works just fine with another identical phone using same cable and it brings up the dialog. Both phones are brand new..
I couldn't root or install custom recovery, because fastboot was not unlocked yet, if I understand how it works correctly.
I should have done original recovery, but haven't thought about it lol. I ended up using my friend's mac and dialog came up.
I have no clue what's the reason, but my win works with other phone. And that phone works on other computer. Must be something with adbkey.. but I couldn't figure it out.

Hmm.  That is strange... maybe your RSA key had been cached as not accepted or something.  Anyway, glad you got it working :)


text:
How can I cancel an ongoing OTA update download?
Edit: Apparently this question was marked 'popular', so I thought I would mention that I found my solution, which has worked without issue: An app called DisableService which let me disable the Motorola OTA Update service. Root is required.
I've been trying to avoid my phone updating for about a week now. Every few minutes I'm switched away from whatever app I'm using to an update screen. Originally there was an option to update later, but now it's gone and I simply switch back to the app I was using. Obviously, this is quite disruptive.
Unfortunately, I tapped the 'Okay' (something to that effect) button and now it's attempting to download the update in the background. I've been able to mitigate this by stopping the MotorolaOTA app, and disabling Wi-Fi.
I'll be clearing out all my Wi-Fi connections in case my phone connects to one and continues the update.
I'll also see if I can introduce something which blocks the update servers.
How can I cancel this so I don't have to worry about the update completing? I have compatibility concerns.
How else can I battle this OTA terror? Please, you're my only hope!
I have a Motorola Moto G, XT1031.
Edit: I have multiple ideas.
One is to, and I don't yet have extensive knowledge of how SSL certificate authorities work, but to introduce a custom root CA, with a CRL including the update server.
Cruder methods include:
running a nameserver to use when on Wi-Fi, which blocks the update server, or a proxy/VPN which could filter requests.
Maybe I could create a fake update server which says, "all good, no updates" and make my phone talk to it with a custom root CA certificate.

Disabling Motorola OTA should do the job. Just go to the Apps section in your Android preferences and find the Motorola OTA entry under the 'All' tab. Disable it from there and you shouldn't get any more update prompts.
(Click image to enlarge)

Unfortunately, my phone prevents me from disabling it. I don't have root permissions. But if the Disable button were not grayed out, yes, that would likely work!

That's strange. Unrooted here and it works. Might be a provider-specific restriction?

I don't know, but I've finally given up, my provider is complaining about how I'm only using 3G and no Wi-Fi.


text:
Recover deleted app data
I'm having some trouble with an app, it is an app for a service provided by my local bank. Apparently for security purposes it is not on the Play Store and when you subscribe they send you an SMS with credentials and app download link.
I downloaded the app and used it. First time you launch it asks for credentials and activates your account, no login Activity, just the Activation Activity and then it goes straight to usual interface every time.
So I accidentally deleted the app data (meant to delete cache) and now every time I launch it I have to activate my account, which won't activate because it is already activated !!
I spoke to the bank customer service and they said I can only cancel subscription first before they send new credentials which is supposed to be done from within the app. So I'm stuck unless I can recover the app data. They are charging me for the service by the way.
I am using a rooted Galaxy Note 8.0, is there any way I can recover the data ? Preferably for free?

Your going to have to follow the way they want this done, which is uninstall and reinstall. Look at it this way, as inconvenient as this may be, they are keeping your banking information safe (which is in your best interest) this way. Otherwise anybody could access your banking data. That being said, there is an app called UNDELETER from an XDA developer (sorry not on a good connection to provide you the link) that could work, provided you haven't had the data overwritten.  That means don't add anything new, update, or anything else that might corrupt the erased data.

The thing is their way is just checking whether my data is correct or not and once they find that the account is ok they think my problem is solved, apparently they hired some dev for the app and it's not their responsibility to fix his mistake and I don't blame them, an app with no login interface and just activation the first time with an error if the account is already activated? That's really stupid imo, secure if the bank knows what's going on but not like this !!! I'm switching to another bank anyways.  Thanks a lot for your answer,  I know it's the only one but I thought maybe it wasn't

Finally did it ! They said they hadn't encountered this situation before and customer service is seperated rrom tech support so no one I spoke to knew what to do and they wouldn't let me speak directly to tech support. Had to chek with my software engineering colleagues on how it might work and eventually tricked them into cancelling the service and subscribed again a few days later. Apparently they only hand out credentials once per account so they had to completely delete it. I knew alresdy that it would come to them but looks like they have this policy about not  letting customers leave :D

Glad you got to work. Kudos for thinking "around" the box.


text:
I recently performed a factory data reset on my device and now the play store is not working. No app is being downloaded
Play store is not working at all. The downloading of an app starts and never actually shows 1% and only the box shows null download.

We need more information. What device? What Android version? Your tag says you're running Gingerbread, is that accurate? Custom ROM, or stock? What, if anything, have you done with it since the factory reset?

How long ago did you reset? Did any of the Google (not regular apps) apps show (notification or anywhere) that they were upgrading? Also add some more detail as TurboFool suggested.

I'll take a shot in the dark....
IF Google apps (including google settings, WhatsApp, youtube, etc.) in general, are not working/are missing (perhaps you are even trying to re-acquire these),
and/or IF settings > accounts and sync no longer shows your Google account & you can't just add it.
THEN
    I may know what's going on (from personal experience, also in GB)....
Your problem may be that Google doesn't recognize your phone without the Google apps and *especially* without the Google account it expects to be on/associated with that phone. This despite that your device's ID #s haven't changed.  (pretty sure this is a safeguard against 1) spoofed device-id numbers, 2) the fact that the usual reason to factory-reset a phone is that the phone is going to be returned/sold to someone else)
Your solution (in only the case I have guessed) would be to acquire a "gaaps" package (yes, that's short for 'google apps') from a release date, platform appropriate to your device. (i.e. don't try to install the current lollipop apps on your GB device). This should include Google's sync and account settings background app and one-time-init (for initial set up upon purchase).
 If this sounds like your situation, just search for gapps or gaaps.zip.
 If this **doesn't** sound like your situation, just follow the advice above and provide more details. (did you just root/switch ROMs would also be relevant)
    good luck
    **-R**


text:
How to uninstall app installed on non-present SD card
I've got a Samsung 10.1 2014 which recently stopped recognizing the card in the SD card slot.  Card is recognized fine by a PC, but in the tablet, nothing.
Apparently, some of my apps installed themselves to this SD card.  At least that is my impression; all these apps now have lost their default icon which has been instead replaced by a transparent default Android icon with "SD" next to it.  If I try to open them I get a toast message which says "Application not installed".  I don't know anything about how to install or move apps to the SD card, so I assume it was done automatically by the Amazon app store, which is where all these apps were from.
Android itself doesn't recognize that these apps are installed.  However, the icons are still there and I assume there must be some traces of them still present on the device (not on the SD card).  I would like to get rid of all that by uninstalling.  The Amazon App store says on device but not installed by amazon appstore but for some reason which is beyond me, Amazon chose not to implement any way to uninstall an app.  I never knew there was an OS way to uninstall apps before this, as I always uninstalled directly from the app store that I installed it from.  So Amazon's behavior is puzzling to me.
I have read this related question asking how to uninstall but the answers which don't talk about how to do it from Android directly (which won't work for me) mention how to delete the app, which is not what I want.  When I try to delete, it tells me that if I delete the app I will lose it and have to repurchase it from the store again later if I want to install again, which is not what I want.
I thought about maybe trying to re-install the app on the device (although, not sure what it would do since it may want the SD card present!), and then uninstalling, but the Amazon app store doesn't provide any way to install the app. Since it thinks it is already installed, it only provides an "open" button, which does nothing.
How do uninstall the remnants of these apps from my device?

It seems like you might be mixing up some terminology here. Do you have two Amazon accounts, or two accounts on your device? Which account are you trying to remove the app from: your Amazon account or your device's user account? The answer you appear to be referencing on the other question provides instructions for deleting an app from your Amazon account's purchase history, but if you just want to uninstall the app from a user account on your device that would be completely unnecessary. That answer is not related to the uninstall process.

@eldarerathis I have two accounts on my device. I want to remove the app from one of the user accounts on my device. The Amazon AppStore on my device doesn't seem to provide this capability, and the OS itself doesn't list the app as installed.  But the Amazon AppStore says it is installed, but not by the AppStore.

What device do you have? What version of Android? Device accounts, and Amazon accounts, have nothing to do with the process you're describing, and the uninstall process is handled entirely from the device, not the account. This is a really messy question to understand.

@TurboFool Samsung Galaxy 10.1/2014, Android 4.3. I'll try to rewrite it tomorrow to make it less messy.

@TurboFool Ok, after a bit more troubleshooting, I have rewritten the question based on my latest understanding of the problem.

Okay, makes more sense now, but unfortunately leaves me without a clear answer, too. FYI, Amazon Appstore can't uninstall apps because it doesn't have system-level rights like Play Store does. Not their fault, just a limitation of Android. Normally the fix IS to reinstall the app, then uninstall it, but I see where that's failing you. I'm coming up blank on the rest. Maybe backup the data from the card, reformat in device to be readable, then transfer it back and see if it becomes readable?

@TurboFool Thanks, I'll try that as soon as I can get another card to back it up on.

Actually, I was referring to backing it up simply to a folder on your computer. Since you can mount it there, simply copy every single file (might want to consider a third-party utility to help guarantee it's a perfect copy) off of it onto a folder on your desktop, then format the card in the tablet. If the tablet can't see it to format it, format it on the PC, then put it back in and see if it can read it to format it. Then take it back out and put everything back on it.

1. If the app is available from your launcher, simply drag it onto the "Uninstall" button like you would normally do when uninstalling an app.
2. If the app isn't available from launcher
Navigate to Settings->Applications and find it. Tap it then tap Uninstall.
3. If it's not showing up even in Settings
Get a terminal emulator or connect to it on your computer via adb shell, and run
pm list packages -f

and from its output, you'll be able to identify apps on removed SD card because their associated file paths are shown. Take down its "package name" which comes after the equal sign (looks like com.example.foo) and type
pm uninstall <package name here>

Hit Enter and it's ultimately uninstalled. No more troubles!

Wanted to note that I had a similar issue with the Netflix app (which was on an SD that was removed). I was able to uninstall it with adb, but then I still couldn't reinstall with Amazon Appstore (the install kept failing).
I had to download the appropriate apk and install via adb install. Then I was able to uninstall and reinstall via Amazon Appstore, which finally got everything back in sync.

I had a similar problem, I solved it by opening the amazon app, going to my apps, then tapping and holding the app I can't use, and pressing uninstall. If the app isn't actually installed, it will disappear from the list in a few seconds, and then you can go over to the cloud tab to reinstall it.
Hope this helps,
Adam

Go to Settings > Applications/Apps
Find the App you want to Uninstall,  then Clear Data,  and Clear Defaults,  if any.
Try and Uninstall it.


text:
"Locking" a Samsung Bootloader
In order to prevent cold-boot attacks against an encrypted Android filesystem, it has been recommended to keep your bootloader locked at all times with the original factory recovery installed.
The original question primarily addresses Nexus devices, which use fastboot to control bootloader access and feature a command fastboot oem lock by which to prevent unauthorized flashing.
My workflow on my Nexus devices has been to keep a PGP-signed version of the stock recovery around on the device, flash a recovery to the recovery partition while the phone is still running (dd if=openrecovery.img of=/dev/block/.../recovery), boot into recovery, backup, flash away, then reboot. If everything is well, verify the signature on the stock recovery and flash it similarly to how we flashed the recovery.
This process makes sure that cold-boot attacks are impossible, unless I forget to reflash the stock recovery, which I haven't failed to do yet.
How does this process work with Samsung phones? I have a Samsung Galaxy S5 (G900T) with a custom recovery installed. I can easily get the stock recovery. However, how do I "lock" the bootloader, for lack of a better term? There's nothing I know of in Odin which would allow me to lock the device.
Is this possible with Samsung phones?

AFAIK if you don't have a specific carrier's model of the phone (most notably Verizon), the bootloader is always unlocked (very special as Samsung is the only manufacturer I know that is doing so). fastboot also doesn't simply work for Samsung devices, you have to use Odin/Heimdall on order to flash an image to the phone.

@GiantTree That's exactly what I was thinking. When did insecure by default come into vogue? I understand that locking a bootloader indefinitely is bad (trust me, it's awful), unlocking a bootloader indefinitely is also bad, albeit in a different way. It's strange that they don't have a built-in mechanism which at least factory resets the phone on a flash no matter what.

You have to manually reset through recovery/the running system. Kies (Samsung's software) uses the flash method to upgrade the software on your phone and it would be bad to reset the phone every update.


text:
Does deleting a Google account also remove his/her installed apps?
I have the HTC Wildfire S. My friend gave it to me and it already has a Google account on it. Now she forget the password. I was just wondering, if I delete the account, will it delete all apps that she already put on the phone? If I don't want to get them deleted, is there another option?

It will not delete the apps but unless you actually want the apps, I would recommend making a different Google account for your own security and your friends' security.Once you remove the email address, you will lose all progress or saved data on those apps though. So as long as you do not care about the saved data with that Google account, you should be fine.

Removing the Google account doesn't remove the apps installed over the device until or unless you uninstall them manually.

No. It won't delete all the apps. However, the app accounts which are directly linked with the google account will lose their data as well. So, if you don't worry about the data, go ahead and set it up as a different user.


text:
Green screen/freeze during videos/gifs
Since a few days, I've some troubles when I watch gifs/videos on my nexus 4.
The phone freeze at the beginning of the video, then the screen turn green, and during 4/5 minutes I can't do anything. I must wait until the application crash.
Anyone have an idea ?
I'm using Android 5.0
Thanks !

What app are you using for watching GIF/video?

I've noticed the problem using 9Gag, Chrome and Snapchat

Same here, haven't found a solution yet


text:
Is it possible to find the full SELinux ruleset for OEM's stock ROMs?
I'm writing a root app following Chainfire's documentation, but I found I've to run some command in another SELinux context.
Using that context on my device (OnePlus One with CM12 nightly), I've no problem, but when I try to run it on another device (HTC One) the command fails. If I temporarily disable SELinux (setenforce 0), the command runs without problems.
The analysis I made revealed that some file on the HTC One has a different SELinux domain than the OnePlus One. I used ls -Z and id -Z to figure out where the problem was and I verified the output of supolicy --dumpav, too.
Is it possible to find the SELinux policies definitions of the flagship devices from all the major OEMs?
It could be sufficient a supolicy --dumpav output of each device.

Yes, but it depend where these policy files are stored. Many manufacturers like to move stuff around, thinking their own security solution is better. On top of that depending on you AOS version, things may have changed again, since SEAndroid is a quite recent implementation.
One place to look for these files is at the Android Census site. There you can navigate to each device policy/context file. For example:
/seapp_contexts:
isSystemServer=true domain=system
user=system domain=system_app type=system_data_file
user=bluetooth domain=bluetooth type=bluetooth_data_file
user=nfc domain=nfc type=nfc_data_file
user=radio domain=radio type=radio_data_file
user=_app domain=untrusted_app type=app_data_file
user=system name=com.sec.knox.containeragent domain=knox_system_app type=system_data_file
user=system name=com.policydm domain=knox_system_app type=system_data_file
user=_app name=com.centrify.mdm.samsung seinfo=knox_untrusted domain=knox_untrusted_app type=app_data_file
...

Hey wonderful resource!
So I can download the sepolicy file and inspect it with a GNU/Linux box and the command sesearch -A sepolicy, too. Great.

@m-chinni Yeah, but if we could find some Android binary to do the same, that would be awesome. It's a real PITA to have to transfer the files to a linux box, just to see what's inside. Apparently Chainfire has some tool to inject policy files with. That would be great to have, since Samsung are doing a great job at supplying broken SE policies...

Chainfire's supolicy can live patch and dump SELinux policies. The command supolicy --dumpav I wrote in the question can be run on the device itself.


text:
Can't see email older than 30 days
I have a Galaxy S4 Active and I cant find emails that are older than 30 days. How do i get them back? I didn't delete them.

What app? GMail? Email?

There is a value which can be either in your Setting App, or Mail application for the days to Sync. GKRAEIEC has stated this. If you have any issues please update your question with what application you're using.

There is an option in settings for your email account where you select how long to cache email locally. It works on a per label basis so you can store starred emails for longer than inbox (or whatever you like).

This was a good answer, but for someone who is unsure perhaps provide an example. Something as simple as this may aid your answer: Go to Settings - Mail (May be called Accounts) - Select your Mail Account - Sync and then alter the value here. If you're unable to find this here, go into your Mail application, settings and look for sync. Your answer is correct, however if you go that extra mile you'll be able to improve your answer, better help someone and also get it marked as correct.

authors: عمرو العبداني


text:
Disable headphones external microphone
My headphones have external mic, but the problem is that it doesn't works.
When I catch a call, I have to unplug them for picking up an incoming call.
Are there an ability to force android to use internal microphone?

Is your device rooted?

@RahulBasu yes, rooted


text:
Any way or app to enable vibrate only mode in Lollipop?
I have a Moto G and earlier the Moto Assist used to have a setting to put phone in Vibrate only mode while in meetings. On updating to Lollipop, I don't have this option.
I know that it's possible to manually set phone in vibrate mode. But I have to this each time, instead of Phone automatically going to Vibrate mode checking my calender meetings.

You can use something like IFTTT (If this then that) app + the online service to connect to your calendar.
Here is a sample recipe.
https://ifttt.com/recipes/165618-mute-phone-when-calendar-event-starts

Motorola assist already checks my calendar puts it in mute. I need it to be in vibrate only

I just showed you the example, you can create a new recipe and use vibrate mode only. You can also use an app like Trigger for the same thing.

Looks like the linked IFTTT recipe has gone...


text:
APK won't install
I have a Moto X running Android 5.0.1 and can't install an APK that i've received on my e-mail from a developer on my company.
I already researched a bit about this and none of the similar problems nor solutions worked for me.
What happens in my case is that i downlaod the APK from the e-mail, then go to the Downlaod section and try to install it.

I can touch the "Install" button normally (no screen dimming app installed here) and the progress bar of the app being installed appears normally, as if the app was being installed.
The option that allows me to install APKs from unknowns sources is also activated (in fact i managed to install other apps on this same smartphone the same way before).

After the progress bar screen i get a message that says "The app wasn't installed" (the original message is in portuguese, this is the most literal translation) and that is it. There is no feedback, no error message, no nothing.
When i try to install the same app but from the Android Studio (running the project on the smartphone) it runs sucessfully, but when i compile it into an APK and send it to be downloaded and installed, it doesn't work.
Any thoughts?

Maybe some issues with your mail software/provider? If compiling and installing works locally (from Android Studio) then the app/apk is not the issue. I know from issues with Outlook (every attachment is a winmail.dat) as well as other mail providers.

This is similar to Google Play Store error code 505 regarding duplicate permission with different keystore on Lollipop, except you didn't get the error code since you installed the APK manually.

After further exploration I found out what the problem was. It has to do with the permissions declared inside the app.
I plugged my phone into PC for Android Studio and checked the logcat looking for the moment where the error appeared. Here it is:

02-05 15:38:50.828      929-970/? W/PackageManager﹕ Package motoboy.yellowlab.com.br.motoboy attempting to redeclare permission com.startPoint.gmap.MAPS_RECEIVE already owned by br.com.belaapp.profissional

It seems that since both apps want to use the same permission (com.startPoint.gmap.MAPS_RECEIVE) they can't be installed at the same time.
I just performed a test: I uninstalled the belapp.profissional app, then tried to install my APK from Downloads and it worked.
I also found this thread: Issue 1668:  Unknown error code during application install: 505. It seems to be an error with Android 5.0 where you can't have two apps which require the same permission, which is absurd.

Download from a website
If you downloaded the APK from a website and merely doesn't open in the File Manager, nor the browser see this issue,

Can not install apks from File Manager or browser?

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


text:
Android won't let me change configuration file
So, because of some hardware issues I'm having, I need to disable Android's HDMI Digital Audio Output and let only the analog sound card of my A10 chipset work.
Just for info - the issue is that there's no cable plugged into the HDMI output of my tablet, but the Android is recognising that there's something plugged into the port and as soon as I wake up the tablet, it redirects the audio output through HDMI Digital Audio out.
Now for my actual problem..
I'm trying to change
/proc/asound/cards or /proc/asound/pcm
The filesystem (/system) is mounted as rw, I do have root access, ES File Explorer is with "Root Explorer" turned on and as soon as I click Save, it backs up the old contents of the file. Also, the folders and the files that I'm trying to modify are with 777 permissions and owned by root.
Of course, I tried through ADB push and the same shi* happens.
What it can be?

/proc does not contain actual files, and it's not part of the /system directory. It is, as described by the Linux manual:

The proc filesystem is a pseudo-filesystem which provides an interface to kernel data structures.  It is commonly mounted at /proc.  Most of it is read-only, but some files allow kernel variables to be changed.

In other words, it is a "virtual" filesystem that allows for file like access to certain kernel data. You cannot modify these handles by editing them the way you are hoping to.
If the data you need to change allows for modifications through /proc, it generally needs to be done using something like cat or echo to write a new value to the handle. However, according to the ALSA documentation, both /proc/asound/cards and /proc/asound/pcm are read-only structures.
You'll need to find another way to accomplish your goal, perhaps by changing some underlying configuration file that controls ALSLA on your device. On traditional Linux desktops, it's typically/etc/asound.conf, but your device's ROM may not expose these configuration settings in the same manner, or it may be hard-coded to populate the /proc entries without actually using a config file. Based on what I've seen, if your device does support the config file, it's generally in /system/etc/asound.conf.

Ok' I don't know that. So do you have some ideas where I can change the config. The android version is 4.0.4

Well, like I said, typically you'd look for /system/etc/asound.conf. If that file does not exist, then your device may be doing something nonstandard, in which case it will be hard to know without getting a hold of someone with expertise regarding your specific device.

Hm, there's no asound.conf...
My device is cheneese, so there is no chance someone to know something more(even when I deep search the net for this model, it doesn't appear anywhere). Thanks, I'll try with CyanogenMod 10.


text:
How to perform system upgrade using 3G instead of WiFi?
I use my android device as my home internet service - for the most part it works ok with occasional dropouts which was a known issue with my phone (Moto G 2nd gen 4.4.4) so was pleased to find out there is a new update available (5.?.?).
Problem is my phone refuses to do the upgrade until I connect it to a Wifi network - and since its a 300+ MB download the local McDonalds free wifi isn't gonna cut it (i'm in Melbourne, Australia and were pretty stingy with our public wifi)!
Is there a way to bypass this idiotic restriction? I have plenty of GB available to download via 3G, also is this an android thing in general or specific to this model?

I eventually ended up swapping my SIM into an old android phone and using that as the wifi connection.. Still see no logical reason for making the user have to go to such lengths when the data connection was obviously already present.

You can always sideload the upgrade. So download it over your 3G into a folder and then sideload it. You can download directly from google and you can find instructions on sideloading for your phone/os all over the web.

Interesting - but where can I find the link to download?

it will depend on your phone brand/model. Its a different upgrade image file for each phone. For example, here are the images for the Nexus family of phones. https://developers.google.com/android/nexus/images


text:
How to move Android folder to SD Card in LG P760 to install big games?
I want to install Wolfs Among Us on LG P760 which  requires 2.5GB of space. I don't have that much space to even download the game, but I do have 3GB of free space on SD card.
Game installs itself only in Android folder ( Android\obb ) which is located in internal memory card. Back on my old phone, HTC Desire S, Android folder was default set on SD Card so I had no problem installing heavy games as long as I had memory on SD card. But my LG P760 has Android folder in Internal storage, so I can't install the game.
If you folks find me a way to set Android folder on SD card, or just install game in SD card, I will be really thankful to you! Here are few things I've tried :

About Link2SD, I haven't really tried it. I think it just moves folder after game is installed. I don't have enough storage on internal memory to even download the game, so I can't use that option. Correct me if I'm wrong, but it only moves folders, not changes default install directory.
Unsuccessfully tried the steps mentioned here. I get stuck every time I try to search for my device using the command 'adb devices', and my phone doesn't show up even after I have enabled USB debugging.
Rooting - I didn't do it yet, but if process requires rooting, I'll do it. I have never done that before, so I would thank you if you could show me which rooting program to install.

As for ADB, depending on your OS there might be either driver installs or configuration steps required. You can check with our adb tag-wiki for a starter on that. Apart from that, I'm afraid there's no way without rooting. I've heard of a way (FolderMount if I remember correctly) you could map a directory on your card to internal storage, but I've never tried that myself.

@Izzy I'll try it, thank you for replying. EDIT : What program did you use to root phone? I've never done that so I don't know and I don't trust those applications that I find from internet, I'd rather hear someone's advice than downloading all stuff from internet.

@Izzy I've tried the way using command prompt and ADB settings, I set my 'Set Install Location' to 2 (External). Also, I checked location by 'Get Install Location' it said to external, but still, applications install on Internal memory only... Can you help me pick a good app to root my phone?

Check with How do I root my Android device? if it's already listed with a solution. If not, check the methods listed below the devices. If that doesn't work, please open a new question, giving your device specs, and include methods you've tried (and failed) – or, if one worked out, even answer your question yourself with the solution, and link that back to the list :)

Root your phone using the following link and steps: How do I root my Android device?
After you are done, you'll have special permission to edit your Android settings as super-user, so then download Folder Mount from Google Play
After installing, enter FolderMount and find the option to change folder directory (I don't remember this part well, I am sorry)
Install the game, enter Folder Mount, and change destination.
Enjoy the game

P.S. I was setting up my phone while I was in hurry, so if some steps are inaccurate or missing, I am sorry.


text:
Android picture naming convention
I am using Samsung Galaxy S5 from T-Mobile.
I noticed that pictures are named as
YYYMMDD_ABCDEF.jpg
where the first part represents date and the last purt I suspect represents time in military format. This is very convenient but it would be more convenient if I could choose to name my files like
YYYY-MM-DD_ABCDED.jpg
automatically.
Does anyone know how to change default picture file naming convention in Samsung Galaxy S5 / Android ?

AFAIK, this cannot be changed. The naming pattern is dependent upon the camera app. For example, I use the Google Camera app and the files are named YYYY-MM-DD HH.mm.ss.jpg

I can confirm this. Having used different camera apps, file names were specific to them (and patterns different).


text:
How to configure smartphone/tablet to have no data connection?
Before going on a trip overseas with no data plan, I need to check how well my Google Nexus 7 tablet works to geolocate me with just GPS + Glonass + GSM towers.
From experience, I know that just relying on GPS with no data connection pretty much doesn't work: Even after being outside in open skies for hours riding a bike, my GPS-only smartphone had a very hard time geolocating me, and wouldn't follow after it did, while it did work in just a few seconds when connecting to the Net through wifi.
So, I'd like to experiment while I'm still home: Is it possible to configure an Android device to have no data connection and only rely on other means to geolocate the user?
If needed, I don't mind moving to different ROMs such as CyanogenMod.
Thank you.

Edit: I found the reason why GPS wouldn't work even after hours standing outside: In Settings > Location, the option "Download GPS assisted data only over Wi-Fi networks" was disabled; Once enabled, geolocalizing through GPS alone works OK, although it works faster and better with the Nexus 7 tablet that has GPS + Glonass.

This is incorrect. You can just use GPS without needing to connect to network. Otherwise, there's no point in using offline maps. Check also the related question.

Thanks for the link.
Theoretically yes it should work, but experience showed that it pretty much doesn't work on the Galaxy Nexus: Like I said, even after being outside in open skies the whole day, it could barely show where I was. Maybe that phone relies heavily on AGPS to work, hence the lack of signal when no data connection is available.

Airplane mode should do what you want.  If you want to turn off just the mobile or just the wifi, you can do that in CyanogenMod anyway from the pull-down notification-- just click on the wifi icon to turn wifi off, or the mobile icon (usually labeled with your carrier) to turn mobile functions off too.  You can always pull your SIMcard to be absolutely sure you're not using your mobile network.  If by the way, you want to use mast-based positioning/triangulation without using your mobile connection-- that may be a bit more difficult.  Try using an app like llama which I believe uses cell towers signal strength to triangulate your position.

Thanks much for the infos. I'll experiment this week-end while on a trip in a neighboring country.


text:
Swapping External to Internal Memory
I have swapped my external to internal memory by using the app external2internal after rooting my Samsung Galaxy Core i8262. And it went wrong! I want to revert back my previous original state. Is there any option? How to get my original previous condition, Not to swap anymore! Please help me anyone!

just tick the reset at boot box and reboot your phone,i switch between the state you in and original state all the time.


text:
How fake gps works?
I saw this video on TEDEd about how your smart phones knows your location. How your smart phone know your location?
If it is determined using atomic clock, how does fake gps manage to fake the location?

You can't fake GPS. What you can do is tell your Android to tell apps that you're in a different location than you really are.
This is useful for development. If I need to test that my app can tell what speed I'm traveling, I can do one of two things:

Run around outside.
Tell the Operating System to simulate my location.

The advantage of #2 is that you can be sitting inside your office debugging your app.
The thing is you still have to simulate your travels. For this, Android has a "fake my location" API which lets you write an app which will feed your app (as well as all others) fake location.
This is the reason the the app tells you to enable "enable mock locations" (and is also why this feature is in "Developer options", as it's mainly written for them).
tl;dr
Your app doesn't get GPS signals. The OS does. The OS only passes the coordinates (along with some other data) to the app. Fake GPS tells the OS to fake the location it's sending to the app.


text:
CyanogenMod browser displays only a white screen
I just installed CyanogenMod (11-M12) on my Galaxy S3 I9300. Now after some days, web browser only displays a white screen, not page content, not address bar, only a full screen white page (only taskbar on top).

Have you tried clearing the cache/recent apps? Try going to settings->apps->browser->clear cache


text:
Does Wunderlist store data in the server in encrypted form?
How secure and private is Wunderlist? For example does it only transfer data in encrypted form but stores it unencrypted? I would like to be able to store passwords relating to work on my phone but am not sure this is safe enough.

Do you have any references to such claim? This question would probably be answerable only by Wunderlist's developers themselves, unless someone do experiments on this. (Still, there's no way to know if it's stored encrypted or not).

"Data are transmitted to the respective terminal using SSL encryption so that your data are transmitted securely" from https://www.wunderlist.com/privacy-policy/ but doesn't say how safe data is on servers

@AndrewT. I'm thinking of how lastpass only stores encrypted data on the server and only once it's on your device and you enter the master password is it decrypted, so no one else (even the owners of the servers) can get to it.

Point taken, but LastPass is made specially to handle passwords, thus security is the most important feature. Wunderlist, on the other hand, seems to be a general task/to-do lists. Securing data seems not their first focus. Anyway, why don't you try to contact their developers first, since I think it's easier to do that at the moment?

Wunderlist is safe for all kind of data storage.

Data is encrypted in transit by 256-bit SSL encryption.
Passwords are encrypted through the same protocol in transit and at rest.
Data put into Wunderlist is stored specifically on 6 Wunderkinder servers, operated by Amazon Web Services in Ireland.
As such, 6 Wunderkinder abides by EU and German data/privacy protection requirements, traditionally stricter than US requirements.
Those maintaining the servers operated by Amazon Web Services are trained and screened to the utmost standard. Their site on compliance: http://aws.amazon.com/compliance/
Lastly, 6Wunderkinder’s practices passed through a 3rd party audit, performed by Stratum Security in 2013.
If you have any more questions, especially regarding industry-specific compliance, please reach out to use via business@wunderlist.com

This answer does not say anything about encryption at rest or who has access to keys.

Where did you get this information?


text:
Operator Data not working post the Lollipop Update
I have a Moto G first gen,
Post the lollipop update the operator data is NOT working. Its just WiFi which is working.
What I have done:
Updated to Lollipop - Thru WiFi
Checked - Operator Data Not Working
Solutions which I did, which was recieved from Google Plus community & Moto Care Agent (Live Chat)
1. Cleared Cache
2. Did a soft reset & rebooted With Sim & Without Sim
3. Did a hard reset & rebooted with Sim & Without SIM
PS: My first SIM slot is tampered & not working. I just have the SIM 2 which is working.

"Moto G first gen" / "I just have the SIM 2" - Only the Moto G 2nd gen has 2 SIM card slots?

Check your APN settings :
Settings -> wireless & networks -> more -> cellular networks -> access point names.
Theses settings are provided by your operator, or you'll easily find them by internet.

This didn't help..Checked the APN settings re installed the APN too.

I have just upgraded my Samsung to OS 5.0.2 and lost my mobile data.
All other features are still working.
I have a dual SIM phone and I was able to resolve this by going to the SIM management settings and changing the setup to use the SIM active SIM slot and the upgrade led the phone to use the empty slot for the data.
I hope that you will find this useful

I'm sure you've already sorted it out, but in case someone else has the same problem,
I struggled to get access to mobile internet myself, and what helped, was deleting all the other APN profiles and leaving just the needed one. After reset, it got back to normal.

With Lollipop upgrade, you systematically lose the 3G or 4G configuration! All you have to do is call your operator provider. They will send you an SMS with new settings for APN. Doing this fixed my problem.

Nothing of the above said worked, i went to the local repair shop and got the SIM 1 fixed, post which the internet started to work on SIM 1 slot. Till date SIM 2 slot for net is not working

I'm with T-Mobile (US) and had a similar issue. I resolved it by updating the APN information as per T-Mobile instructions.

Welcome to Android Enthusiasts! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Otherwise, your answer becomes useless in case the link dies. For further hints, please see: How do I write a good answer.

Go to sim card manager(on Samsung) and select the sim you want to use data of from the data service network. It should start working again.

I also faced the similar problem. This simple change in settings did the trick:
Go to Settings →  SIM Card manager → Data service network →
Select the SIM 1 or SIM 2 depending on your choice for the data network.

I just found an answer to this.
I had inserted another sim on the vacant sim slot and the data services started. After removing the same sim now, the mobile data services is working perfectly.
So just borrow another sim for 5 mins and do this. Hopefully it'll work this way

I have just installed a custom (nameless) rom on my samsung note 2 and ecountered this issue (mobile network/internet not working even though I have just recently recharged)
The solution for me was like this:
Settings -> Mobile Network -> Access Point Names
I changed from Zain BH WAP to Zain BH Internet.
I expect this solution to work for all other operators / ISPs.

My solution: enable flight mode, then disable it. It worked for me.

I found an easy way. Go to Settings -> Mobile Settings -> APN -> Restore to default
this will solve it.

I Uninstalled Updates on Google+
Settings → Apps → Google+ → Uninstall updates


text:
WiFi network in range, but could not be connected!
In my mobile phone (CyanogenMod 11-M12, Galaxy SIII I9300), in WiFi section my WiFi SSID is shown and under its name is Save, secured with WPA/WPA2. WiFi is ON. If I press SSID, a pop-up ask me to Cancel, Forget or Connect. and if I press Connect no connection is established!
I was connecting to this SSID without any problem before this. It seems that this problem occurred after installing "Google Apps" or after changing some privacy setting in Privacy Guard section. But I did not remember changing any system application's privacy settings, I just limited Google Apps privacy access.
Update 1:
I tried Factory Reset from recovery mode. It solved the problem, but after few hours of working with the device, the problem repeated. After that, Factory Reset did not solved the problem. I tried reinstalling CM from zip file. I installed CM11 zip file and did wipe (Cache, System, Internal Storage) partitions from recovery, but the problem persists. In the second try, I did wipe (Cache, System, Data, Internal Storage) partition and installed CM zip file after that. This solved the problem. But I am not sure if the problem will occur again or not?
Update 2:
The problem occurred after a while again, it seems that the problem occurs after installing some Google Apps!

When you try to connect what is displayed in the status ? Something like "connecting..." then "getting IP Address" or nothing at all ?

@ChtiSuisse Nothing at all!

I Tried entering wrong password for the SSID, but ot does not changes any thing. It seems that the device does try to connect to WiFi network, so it does differ if I enter correct password or wrong one!

Where you get the selection "Cancel/Forget/Connect", try "Forget". Then wait until the entry is updated, and this time chose "Connect". You should be asked for the credentials again, provide them. Does this enable you to establish a connection? If not: Any message this time? What about signal strength?

@Izzy I tried "Forget" and creating new connection (system finds my SSID again and asks me for password). But it seems that it does not even try to connect to my SSID. Because if I enter wrong password there will be no difference!

OK, that asks for deeper investigation. Could you check the Android system logs for some pointers?

I tried Factory Reset. It solved the problem, but after few hours of working with the device, the problem repeated. This time Factory Reset did not solved the problem. I tried reinstalling CM from zip file. I installed CM11 zip file and did wipe (Cache, System, Internal Storage) partitions from recovery, but the problem persists. In the second try, I did wipe (Cache, System, Data, Internal Storage) partition and installed CM zip file after that. This solved the problem. But I am not sure if the problem will occur again or not?


text:
Exclamation sign on network bars
Why do I get bang sign on network bars and WiFi option... Pls tell me what's this all about. Earlier I was using Android KitKat 4.4.4 on moto g2 and I had nonsuch issue there however since I updated to Android lollipop I usually get these bang signs over network bars and WiFi option (if I turn on WiFi)

I think it means that you are currently using cellular data. if using wifi data then bang sign dissappears. a new feature on lollipop

Appreciate your response dear, i found it appears when v r not connected to either of the two (neither WiFi nor data).... Bt question remains question again, if I am using SHAREIT app from lenovo then the bang sign appears on both WiFi n on network bars.... This is bothering me as I am unable to understand y is it happening.

If its showing exclamatory symbol it means your mobile is loading network or no network on your SIM

It may be the problem in Android or in your network connection.
Make sure you are using Official Android.
It happens mostly in Unofficial Android on Rooted Devices..!


text:
Can't find a single custom ROM for my tablet?
I own a Samsung Galaxy Tab 4 8.0 (SM-T330) and I cannot find a single custom ROM for it. I'm getting really frustrated.. What can I do??? The device is rooted with a TWRP custom recovery installed and fully functioning.

I've looked on XDA and can't find anything non-stock for that device. You can't do anything really. You could install XPOSED framework and tweak nearly everything on your stock ROM. Do you need to do anything? Alternatively you could build your own ROM but that's a huge amount of work really, and probably not what you'd want to do.

Thank you, I think I'll try XPOSED framework. I appreciate your help :)

You can request for a custom ROM to be made at Android Forums or XDA, if Xposed is not fully functional.

There does seem to be an unofficial version of Cyanogenmod 12 (Android Lollipop 5). Here is the first article I found:
http://www.android.gs/update-samsung-galaxy-tab-4-8-0-to-android-5-1-1-lollipop-with-unofficial-cm-12-1-rom/
Here is the most up to date version:
http://forum.xda-developers.com/tab-4/development/rom-cyanogenmod-12-1-t3097152

authors: Антон Говрилов


text:
Can't reach internet via wifi when wifi-direct printer is connected
Maybe I didn't understand at all the concept of wifi-direct, but, can an android be connected in the same time to a wifi for internet and a printer via wifidirect ?
When i'm connected to my printer, i lose the ability to reach the internet via "normal" wifi.
This could be a duplicate of this question, but it has no answer and is marked as duplicate of that question, which does not cover that subject (we're talking about 2 wifis, not 3G + wifidirect).

You only have one WiFi chip so you can only either connect to a hotspot or host one, not both at the same time. (WiFi direct uses a hosted hotspot for connection so your phone acts like one) With two individual WiFi adapters it would be possible to do.

Thx GiantTree ; so if I want my app to be able to print, i have to programmatically switch connexion in-app ?
(could you put your comment in an answer so i up it ?)

According to SO this should be possible:

Can WIFI direct and WIFI station work simultaneously? says it should work if the driver supports multi-role.
Explicit for Android: Android running Wifi Lan and Wifi Direct simultaneously describes Simultaneous wifi direct and network wifi is an optional feature for devices. Some devices allow this and some do not, with a pointer to the last item on this FAQ.

That "last item" no longer is the last item, though – so let me quote that "official reply":1

All devices certified under the Wi-Fi Direct program allow the user to connect to an infrastructure or a Wi-Fi Direct-certified network. Some devices certified under the Wi-Fi Direct program support connections to both an infrastructure network and Wi-Fi Direct-certified group at the same time (e.g. a laptop may support an infrastructure connection while also belonging to a Wi-Fi Direct-certified group). Simultaneous connection to a Wi-Fi Direct-certified group and an infrastructure network is an optional feature.

1: That site belongs to the Wi-Fi Alliance®, see Who we are

standard or not, should work or not: It will work in most devices simultaneously, but not in all. Implementation of Wifi-Direct differs from device to device, there are even major differences between devices from the same manufacturer.

You only have one WiFi adapter so you only can either connect to a hotspot or host one, not do both at the same time. This is so because WiFi-direct is basically acting as a hotspot for others.
With two individual WiFi adapters it would be possible because you would have two individual network connections.

Wifi can be used for single operation only. You can use either wifi or hotspot.


text:
How to root Sony Ericsson Xperia Mini Pro with linux computer
I have found a lot instructions, but most (or all) of them use a Windows GUI application to root the device. The Linux scripts, that I found did not work.
My telephone:

Model: Xperia Mini Pro (SK17i)
Android-Version: 4.0.4
Kernel-Version: 2.6.32.9-perf
Build-Nummer: 4.1.B.0.587

How can I root this phone with a linux computer?
HINT
This is not a duplicate question, because I want to do it from Linux (not Windows) and second the alleged solution does not contain an answer for my phone!

possible duplicate of How do I root my Android device? - Once you look at that, take a look at Update Xperia Mini Pro (SK17i) to Jelly Bean

This is not a duplicate, because the linked answer does not contain a possibility for this phone (although linked to another answer, but which has no solution!).

I've just updated the main rooting answer to point to this question as the previously linked 'answer' for this phone was not actually about rooting.

It worked with Wine and the windows variant of this: cydiaimpactor.com using this instructions from here: forum.xda-developers.com/showthread.php?t=2399464

install wine on linux, then run windows program and root
download link :

or install windows on vmware.

It worked, see my answer.

You could install CyanogenMod on it, their instructions have worked out on Linux for me.


text:
Powered USB hub not charging phone. Kernel options?
I got a powered USB 2.0 hub (ET-UP900). As power source I am using the phones charger. But if I connect the hub with my phone (SM-C115) it does not charge. If I connect the charger directly it works.
My first thought was the hub does not provide enough power. But if I do the same thing with a tablet (SM-P905), which requires more power, it does work.
Also strange: If the hub is powered it does not work. If the hub is not powered it works just fine.
As I am using a custom build kernel I am looking a dmesg and fiddling with kernel options and driver to find the correct setting.
Maybe someone can give me a hint what might work?
Alternative: Any cable I can plugin in between to charge the phone and use the USB hub? I got a OTG charging cable but it would power the USB hub instead of the phone.
UPDATE
I found something about a special cable with a resistor to get into a special AUDIODOCK mode. I did found this AUDIODOCK in the source code of a related driver I saw in dmesg drivers/misc/max77803-muic.c. Maybe I can change the driver to force this mode all the time or something like this...
UPDATE 2
In drivers/misc/max77803-muic.c I saw the CONFIG_MUIC_MAX77803_SUPPORT_OTG_AUDIO_DOCK option needs to be set and the driver I got here does not support this anyway. I guess I try to use a updated driver. With AUDIO_DOCK support implemented.

Also strange: If the hub is powered it does not work. If the hub is not powered it works just fine. what do you mean by "powered" here?

@LieRyan The USB hub has a power plug. It is optional to plugin power here. This USB device type is named LANHUB in the driver it has a 80.07K ohm resistor on the signal pin. If I am able to get this updated driver working the problem would be solved I guess.

Got it running. The max77803 chip in the SM-C115 was also used in the S4 but the driver my kernel had did not support the ET-UP900 device. So I searched for newer kernel driver and found danielpanzella/P900-kernel-source. In this driver they call the device LANHUB. If you have a look at the code there are a number of other devices, too. The driver detects depending on resistor on the signal pin what type of devices is connected.
I searched the repository for LANHUB and merged those code lines into my kernel, build the kernel, installed it with odin and it worked!
The USB hub, it's network card and attached USB devices are working while I get power from the hub charging the phone.
Update
Some steps to reproduce this. I used Vagrant as enviroment to get a clean linux box running. Download NDK and the source code of the kernel and setup a cross compiler see any Kernel Tutorial:
sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2
export CROSS_COMPILE=/home/vagrant/android/ndk/android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-
export ARCH=arm

Next you need to pick the right config file for your device:
cp arch/arm/configs/whatever .config

Edit the config to add a driver:
make menuconfig

For the ET-UP900 adapter goto in "Device Drivers" > "Network Device Support" > "USB Network Adapters". Select "Multi-purpose USB Networking Framework" and "SMSC LAN95XX base USB 2.0 10/100 ethernet devices"
If charing is not working look at "Device Driver" > "Misc". Enable settings with "SUPPORT_LANHUB" in it.
Now save and exit menuconfig and build the kernel:
make bzImage

Your new kernel will be arch/arm/boot/zImage. Now you need to pack this togther with a ramdisk (Android kernel kitchen) into a boot.img and flash it to the device (Odin).
With the new kernel and the adapter attached bash command netcfg should show you eth0. Run dhcpcd -k eth0 to get an IP.
To see if something is not working have a look at dmesg.

Hello do you think the same can be done for Samsung Galaxy Tab 3 10" P5200. I would really love if this adapter could provide me with LAN and USB ports.

How do I go about adding these to my kernel?

Looks like it. I download the source code, unpacked the kernel, and there is a drivers\net\usb\smsc95xx.c driver. I update my answer with some details...

@JoelDean Ok, I posted some steps that might help you. Basically you only need to compile a new kernel and enable the driver. In my case the got it working but it did not charge. For charging I needed to patch the charging driver with a newer version. That would be difficult...

Okay. I dont know how to modify kernels. Would you be able to do it for me if I paid you. I really need this adapter to work with my tablet. You could give me an email and we talk through there.

@JoelDean At the moment I don't have the time to do it for you. Try to build the kernel and enable the driver in the menuconfig. Maybe you don't need to change anything else.


text:
Automatically setup network config ifcfg-eth0?
After I connect a USB network adapter to the phone I can configure it using ifconfig:
ifconfig eth0 up 192.168.1.2

Problem is that eth0 is not aviable until the USB device is connected. How can store the network config or apply it as soon as it's mounted?
Or is there any way I can set the config in kernel build process?
I know this is normally defined in ifcfg-eth0 that can be found in /etc/sysconfig/network-scripts/ or /etc/network/interfaces but it looks like android does not have this. As we use netcfg in android I looked up the netcfg profiles manual but /etc/network.d/${profile_name} also does not exist.

I thing this will work:
In /init.rc add
service ethernet /eth0.sh

and create /eth0.sh
#!/system/bin/sh

netcfg eth0 up 192.168.0.2

Still got problems chainging the ramdisk but that should work.
See http://elinux.org/Android_Networking

I was not able to change the ramdisk so I made a simple app the does run the netcfg command after boot and after USB device is attached.
Here are the key points for this:
<manifest ...
  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  <uses-feature android:name="android.hardware.usb.host" />
  <uses-permission android:name="android.permission.USB_PERMISSION" />
  <application ... >
    <receiver
        android:name=".MyBroadcastReceiver"
        android:enabled="true"
        android:exported="true" >
        <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED" />
            <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
        </intent-filter>
    </receiver>
...

and the sudo function in the receiver:
public static void sudo(String...strings) {
    try{
        Process su = Runtime.getRuntime().exec("su");
        DataOutputStream outputStream = new DataOutputStream(su.getOutputStream());

        for (String s : strings) {
            outputStream.writeBytes(s+"\n");
            outputStream.flush();
        }

        outputStream.writeBytes("exit\n");
        outputStream.flush();
        try {
            su.waitFor();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        outputStream.close();
    }catch(IOException e){
        e.printStackTrace();
    }
}


text:
Does switching user accounts in Lollipop affect battery life or performance?
I recently updated my Moto G2 to Android
Lollipop via OTA update. I've successfully
installed the update(around 500mb i
guess). I saw the new feature of adding
new Guest and New user acccounts just
like the one in PC's so that one user
doesn't get access to other user apps or
data.
So, say if I have some 10 apps running in
my owner account and it drains battery
while running in background. But then if I
wanted to switch to a guest account to
lend my phone to a friend or some
stranger, I cannot see any apps running in
the guest account in the recent apps
section that was open in the owner
account. So my question is,
Will those 10 apps that are opened and still
running in the background in my owner
account drain my battery while the phone is
in Guest mode?
or only the app that runs under my guest
account will have an effect on my phone's
battery usage.

Good points. Basically the question behind is: What happens to running apps when switching users – do they keep running (in background), or will the "originating user's" session be "frozen"? I have no LP device to test this out myself. Is your device rooted? Do you have ADB available?

No my device is not rooted..i just updated through motorola ota.

OK, that most likely rules out my idea for investigation. // As I find it pretty interesting, I've mentioned (and linked to) your question in our chat room as well. Some of our "power users" are actually devs who might be able to answer this question (and probably will, given some time to see it). Good luck(y) – and I'm curious for the answers as well!

A pointer might be found in this answer, which states at least for the guest account: The current session is suspended before switching to the new user profile. If that's a general rule, it would mean the "suspended profile" should not eat any battery – as it's suspended (i.e. inactive).

@Izzy thanks for the link. But by suspending do you mean the apps don't stay in the memory(RAM) and the state of the app is not saved. If it does stay in the memory, then switching to other account and playing a HD game in other account will have any performance issues. Because I can see the apps still in the recents tab even after switch accounts. But I don't know whether it runs in the background and eats up the RAM. I noticed no lags with 1GB of memory and some small apps running in both accounts, but curious just to know android does managing multiple user account app sharing in the RAM.

First, I was just pointing to another answer – so the "idea" is not mine. Second, the exact meaning of suspending was not given there; thinking of the "sleep modes" a laptop/computer has, it could be "suspend to RAM" or "suspend to disk". Both had in common that no CPU cycles, network traffic, etc. would be caused by the "suspended session". Third, an app even stays in the "recent list" when you closed it from somewhere else: "recent" means "recently used", not "currently running". Last, "suspend" would mean the state of apps saved to be restored later.

Related: http://android.stackexchange.com/questions/105069/do-applications-run-in-user-profiles-that-are-not-active-run-in-background-pro/105071#105071

From what I can tell, the multiuser feature DOES drain quite a lot of battery. Here is a screenshot of my battery stats - I have not logged in as the other user since my last full charge.

Click image for larger version

@stringray Is this the phone's default Battery settings? What version do you use? because the Battery usage in my LP 5.0.2 looks different and displays a graph at the top..and the strange thing is I'm currently using my main account(Lucky) which doesn't even show the User: Guest in my batter usage list..so i'm not sure about this behaviour..

@Lucky Yes, I have not changed anything specific in my setting. My phone is an LG G3 with LP 5.0. I do have the graph at the top, I just scrolled down to the app-specific battery usage. I tried to log in to the other account and stop all running apps now, I'll see if that makes any difference. Worth noting is that I don't get User: Guest in the list either, just my other account that my girlfriend uses from time to time.

I noticed that owner account and new user account runs concurrently and their by consuming more battery, How did I know, first I installed some apps on my owner account like bbm, Whatsapp and imo, I got these apps connected to internet and working, I switched the account to another user account and install other apps and have it working. Finally I switched to the guest account and send messages to the apps running on the owner account and new user account. I switched off the internet to make sure the messages I send to the bbm and Whatsapp won't get there while am switching the account. To confirm my curiosity, the messages were already there when I switched the accounts.
With that I conclude that dual user consumes more battery.

First of all you must understand that the smartphone actively manages all the apps and accounts without interruption. That means if you are creating multiple accounts then your smartphone will have to manage all accounts actively. That is the reason why your smartphone is draining more battery.
Try the following things:

Clear cache of Phone.
Always close the background running apps if not required.
Close the unwanted applications that are running anonymously without your permission. To do this go to Settings >> Apps and select the app you do not want to use or run and simply click on stop.

These are the few things to remember for long life of battery.

This doesn't authoritatively answers "Will those 10 apps that are opened and still running in the background in my owner account drain my battery while the phone is in Guest mode? or only the app that runs under my guest account will have an effect on my phone's battery usage?"


text:
Can I edit auto-complete dictionary?
Currently my LG G2 Swype-style input with the LG keyboard gives me boneheaded suggestions like tho for to (and actually prefers them). I see elsewhere that user dictionary editing is not available, but some of these entries are five years old already. Any progress on this front?

You can change the words in the user dictionary by going to Settings > Language and Keyboard > User dictionary. From here you can edit as you wish. There is another way mentioned here that may be easier for you: How to remove misspelled words from your Android Dictionary
"Maybe this is more obvious to everyone else, but the dictionary is accessible from the speech-to-text button. The gear icon actually means something! Long-press the microphone to get to the Touch Input settings menu. From there, click User Dictionary and edit out all your "well, crap, I did it again!!!" entries. You can also add entries (at the top), you can long-press an entry to edit, or click the red X to delete."
This is a good article that I have read before. Hope it helps!

have you seen word-prediction exist outside of mobile in any word processors or email clients?

I'm afraid that is not possible for the stock LG keyboard on the LG G2. You can only edit words that you have added yourself using Jimmy's method above (or below?), that is, words in the personal dictionary; but you cannot delete words that came with the standard dictionary. Sadly tho came with Lucky Goldstar's stock dictionary. At any rate, I commend you on your choice of phone, Sir.
(My suggestion would be to switch to Swype, which is free and better anyway. In Swype, you can long-press a suggestion to delete it from the built-in dictionary. I do believe that Swype's dictionary cannot be easily exported to other keyboards in case you want to switch later, but I haven't looked into it.)


text:
Drawer button to toggle enable/disable lock screen
I am looking for a way to enable the addition of a button in the android drawer which acts as a toggle for enabling/disabling the lock screen. I want to use it to toggle lock screen on when I have to put the phone in my pocket, and lock screen on when I leave the phone on my desk.
Thanks.

Finally! Someone developed an app which enables you to lock the screen by tapping a notification drawer entry or in several other ways. The app can be found on the play store. Here it is:
Screen Lock
Screen Lock Pro
Regards.


text:
Incorrect button mapping when using Xbox 360 wireless controller on LG G3 running Android 5.0 Lollipop
When I plug in the Xbox 360 wireless controller dongle to my LG G3 running Android 5.0 Lollipop and load up a game such as Goat Simulator or Stranger Oddworld, the triggers are mapped to the right analogue stick.  This means my view constantly rotates and moves upward. This is because the inputs are registering -1.0. When I move the triggers toward the centre of movement, the view stabilises.
Can the triggers be remapped?

It seems as if the LG G3 doesn't support the wireless controller. Upon plugging in a wired controller, it worked perfectly

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


text:
How to find what model of Galaxy Nexus I have?
I cannot determine what version of the Google Nexus I have. I purchased the phone from the Google Play store in 2012. In the phone "settings" menu, the model says "Galaxy Nexus" and the Android Version is 4.3. It lists the serial number but appears to be useless when trying to look up on Samsung support site.
How do I know if I have Nexus 4, Nexus 7, etc? I want to look up the exact hardware specifications for this exact phone. I tried searching the Samsung website by the IMEI but nothing could be found. The phone was manufactured by Samsung (SAMSUNG logo on the back of the phone). The Google Play store purchase receipt just says "Galaxy Nexus HSPA+".
Is there some other way I can find the exact information for this phone?

possible duplicate of How to find out the variant of my Galaxy Nexus?

"Galaxy Nexus" is the full name of your model. The Nexus 4, Nexus 7, etc are all different models entirely. The only portion of the naming convention that is shared is Nexus; the "Galaxy" moniker is one that Samsung likes to use for its phones, and thus they applied it to one of the Nexus phones that they produced. If you were to refer to the line of devices as a group, you would therefore call them Nexus devices, not Galaxy Nexus devices, as the Galaxy Nexus is simply one model in the Nexus line.
This Wikipedia article has a list of all Nexus devices released to date, along with links to pages specific to those devices. As you can see, "Galaxy Nexus" is listed between its predecessor (the Nexus S) and its successor (the Nexus 4). The HSPA+ variant sold on Google Play was given the codename "maguro". There are also other variants of the Galaxy Nexus for other carriers, so you can generally know which variant you have based on which carrier you use it with (or purchased it from).

authors: Динко Маринов


text:
I can't remove my lock screen
I cannot disable lock screen. When I try to go to settings -->security-->screen lock the none option is not there it has just been disappeared.
I have a nexus 5 with android 5.1 build number lrx2cc

Is your device encrypted? Do you have a VPN or an Exchange Server account set up?

Try Factory resetting your phone.
Switch off the phone and power on by holding volume up key and power key at once,this will take you to other setting something like bios of the phone, hope you find something usefull there

Factory reset for something like unable to remove the lock screen seems a bit extreme. I feel factory reset should be "last resort"

I think this is a duplicate of How can I disable the screen lock password in lollipop?
Basically, you should be able to go to:
Settings -> Security -> Deactivate Administrators. Then deactivate anything listed.
Next, go to:
Settings -> Security -> Clear credentials.
It should work now.


text:
PTP but not MTP
I have a Samsung Galaxy Express with Android 4.1.2. When I connect my phone over USB, it connects as a media device. The only option I see is Picture Transfer Protocol (PTP): I cannot choose MTP (Media Transfer Protocol). Is that expected, and if not what could fix it?

I haven't found any solution so far.

So I am still interested if someone has any idea.

Similar: http://android.stackexchange.com/questions/93101/unable-to-write-to-internal-storage-through-mtp

Maybe https://www.xda-developers.com/install-adb-windows-macos-linux/  "Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode".  So maybe an option called "File Transfer"?  On my android phone it has "File transfer,  USB tethering, MIDI, PTP, No data transfer"


text:
Tasker profile always get loop
im new to tasker and want to set a profile. I made a profile when 8pm to 10pm + open android central app, will run task to launch filter app. In the filter app run shell to hit on button and hit "back" button to AC app. But when back to AC app my task always loop and open filter app again. Any suggestion how to make this profile stay untill im done using AC app? Sorry for my bad english.

Two possibilities: set the Cooldown Time for the profile to greater than two hours. Or, have the task which controls the filter app set a variable when it's done, set the profile to ensure that variable isn't set, add an exit task to the profile that clears the variable.


text:
Reject carrier calls, accept SIP calls
I've gone the route of a data only plan (tablet plan) on my smart phone and am using the services of a VOIP provider. Things are going nicely, just trying to iron out a few details.
When you order a mobile data plan, you get a SIM card and matching phone number. On a tablet you can't receive calls or texts, but on a phone you can. If you do, you pay the premium price.
Android natively provides a SIP client in the phone app. Android also provides a Blacklist option and the use of wildcards. Allows me to block some or all calls and texts. However, it doesn't allow me to distinguish between a call to my SIP account or to my mobile number (unless somebody here knows how).
Nobody knows my mobile data plan number, but I do get the occasional "wrong number". I imagine that I could also receive an occasional SMS (also wrong number or for advertising).
So, does the Android Phone allow me to block calls and sms from the carrier, but allow calls from the SIP client? As in: block incoming calls that are to a number, not from like in a blacklist.
I know I could block all calls and sms with the phone app and use a separate VOIP app for SIP calls. However, I wish to know if this is possible with the native applications.

On incoming calls, do you get charged even if you don't pick up the phone?  How about inbound SMS, does your carrier charge you for inbound ones?  Does your plan offer call forwarding (and if so, is it free or paid?)

No I don't get charged if I don't pick up. However, when I'm not paying attention I might pick up. A SIP call shows the account, a normal carrier call does not. Thats how you distinguish the two, but you have to pay attention. Not always the case. I don't know if I'm charged for incoming SMSs, but would be great if I could block them too since that number "doesn't/shouldn't exist".

Does your carrier offer call forwarding? If so, will they charge if you forward all calls to your SIP number?

I don't know, but I wouldn't want this anyway. The number I get through the plan is not a number I wish to share. I already have a number. Moreover, if I do get a call on that number, it is most likely a wrong number. So forwarding wrong numbers is out of the question.

You could forward the calls to another SIP number that doesn't ring through to your phone.  If you're in the US, Google Voice gives you a free number, and is by far the easiest to set up.  Alternatively, there are a myriad other SIP services that offer a free number.

Oh, now I understand where you were going with that. Good idea! I could forward the number to the carrier's voicemail service -- which in fact doesn't exist on my plan, but would give me the desired outcome. However, I get a call forwarding icon in the task bar. Wish I could hide it since this is a permanent solution.

Thought it was a good idea at first, but it seems that Android is forwarding ALL calls received (carrier + SIP calls).

It may be because you are doing it via settings in your Phone app. Try activating the forwarding by dialing a special access code. E.g. on Verizon it's *72. Open dialer, dial *725551231212 and press Send. (where 555 is the area code, and 123-1212 is the number)  I think that may even get rid of the "Forwarding" icon from notification bar.

It is indeed *72 + number, but there's a message saying I must do this from the phone menu (rolls eyes). I also called the carrier and asked to block incoming calls. No dice, but they were able to block incoming SMS.

You can call the carrier to block the voice and SMS on the SIM card

Yes I realize that, but was wondering if Android could do it for me. That way it's always blocked even if I change carriers. I might revert to that solution in the end if no other options are presented. Cheers.

Just checked with the carrier, they say they cannot. I will be trying with another carrier, but nonetheless would love to do it myself :-)