text:
Bypass Internet in mobile
ur college provides wifi,but it cannot be used by mobile devices.. Wifi is connected.. Only app notification are received.. Whatsapp works(images/videos can't be downloaded.. Only text ) have tried many vpn and proxy apps.. Lately tried using psiphon.. For pc authorities have provided us with proxy: port to access Internet..tried those on mobile as well.. Doesn't work. Any solution to use the campus wifi?

I am not sure, but try using apps like tunnelBear (VPN or tunneling) app. You can browse internet as you are using it from outside your country.

Sorry that comment wasn't intended to you.. But thanks.. I have tried all vpn apps..But all in vain

Depends on how is the "protection" implemented. Unless we know that, we can only speculate here. More thorough testing is required and this testing would most likely be if not illegal, at least very shady.

@mikky you got any ideas on how I could it?

I've got many. But I'm not sure which one you could use since I have no idea what is your networking proficiency. What is your computer networking experience?

I'm doing IT Engineering in the college of which I'm talking abt.. We are allowed net access in out lab.. And we are provided proxy: port for it i.e 10.10.0.23:8089 using this we can access Internet.. Further many sites are also blocked.. But we have listed out certain lesser know proxy sites for that purpose.. But I need to know how could we use that Internet in mobile, on using the provided proxy : port only play store is accessible and app notification are received(football scores,whatsapp(only text) ).Tried various vpn apps.. Those were even unable to connect to server.  Any solution now?


text:
How do anti theft apps deal with the thief simply turning off phones?
https://bestidtheftcompanys.com/2014/top-20-free-apps-to-protect-your-android-device/
There are so many anti theft apps and devices out there, however, all of them can be defeated by a simple trick—just turn off the phone. Any apps that make the phone scream when stolen will just be silent. How do anti theft apps work with turning off phones? Do they make the phone scream when being turned off while being locked?

Yup! :) , you are right about this.But in XPosed Installer there is an app known as APM+ ( Advance Power Menu Plus ). This has a feature known as Fake Power off. By this your phone can pretend to be off, but in reality it would be working stealthily and every approach from real owner can be done.
Like this there are also other option which comes in handy.
As requested:
Anti-theft Helper™
Note: Actual effect of anti-theft is NOT guaranteed.
• Stop anyone from turning off your phone, enabling airplane mode, etc. when the device is locked by hiding any power menu items when the device is locked. In this way no one can stop device trackers like Android Device Manager from locating your phone by turning off the phone, disabling mobile data and so on(removable battery not taken into account)
• Show a warning to deter thieves.
• Fake Power Off - When you have this option enabled, trick your thieves by "apparently" turn off the phone, but the phone leaves running so you can still track the device (various options and strategies available for fine tuning the effect. Result may vary on different devices)
• Password protection - Lock power menu items and/or the app itself with a password. Apart from thieves, it is also ideal when your phone is on display.
Xposed Module Repository For APM+

+1 for a solution. Can you please  quote other options mentioned in your answer? If would  help those  who  don't want to root their devices and link them as well

this requires root? And pressing the power off button for a long time will still turn off the phone?

Nope. It will reboot. I tested it. And as described in NOTE. Any security has weakness and it should be so, because if it won't be then owner even can miss its requirement and a great drawback of that security system will emerge.

source: Stack Exchange

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

sort: votes


text:
How to factory reset my phone via my pc when i cannot get a start up logo on the screen on my phone
When I dropped my phone the screen showed some weird colours on upper right corner. I replaced the screen.  Now by using the recommended three button sequence the led in upper left corner comes on for a few seconds as well as the home button and the other two lights up and then go out. I call the phone and it vibrates but screen remains black. Can I reset the phone using my PC? How can this be done when I cannot get any response from the screen OR is the mother board at fault?

A factory reset won't do you any good. This is hardware damage somewhere else in the phone and it needs to be brought to an electronics repair shop or sent to the manufacturer.

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


text:
ADB is causing kernel panics in OS X
The following question is irrelevant. While MDM is problematic in many other ways, it is not responsible for the kernel panics.
I also learned that Motorola mistakenly cites that its drivers must be installed to use ADB, this is not the case for OS X, which is the OS in question.

I have a Motorola X 2013 Developers edition. The ADB drivers for the phone are part of another software provided by Motorola called the Motorola Device Manager, and it caused 3 kernel panics on my laptop today, and more than I can count over the last week before I isolated the responsible package. I linked 2 kernel panic logs below, but this is the last line in the console before the crash every time.
12/22/16 8:13:16.000 PM kernel[0]: stalling for detach from Motorola ADB Interface
Then all hell breaks loose. It appears that the driver crashes when the computer enters sleep mode while the phone is plugged in. And no, it doesn't matter if the ADB is activated or not.
I've contacted Motorola about it and they said that they have never heard of this happening before, but they'd look into it. I have no expectations of them fixing it any time soon.
http://pastebin.com/yBHzWK2E
My question is, is there any alternative that would allow me to use the Android Debug Bridge with my phone?
Thank you in advance.

Try this : http://forum.xda-developers.com/moto-x/development/recovery-unofficial-cwm-recovery-moto-x-t2406409

@esQmo I'm using a Mac and that driver is for Windows. Also, the download page is hosting viruses. My anti-virus goes nuts. I'd recommend removing the link from this page.

What like has viruses?! XDA Developers is a serious website !  And you didn't specify which OS your computer was running.

The link provided to the drivers on the page is what I'm talking about, not the site you linked. I know I didn't provide the OS, sorry about that. That's not your fault, but mine. However, interestingly enough, I uninstalled the software and the drivers appear to be unouched. Hopefully this stops the panics.

adb does not require any extra drivers to work on Mac besides the generic Apple USB driver.

just FYI: the Motorola ADB Interface string in the log does not come from any software on your computer - it is just a string from the phone's USB descriptor.

I learned that this morning. I completely uninstalled the Motorola Software and the kernel panics continue. This goes deeper than the Motorola Software.

would you like to edit out all that unbased and misdirected hate towards Motorola from your question then?

It's still problematic in many other ways, but sure.


text:
How can I know the directories used by an application
I've been testing some dictionaries the last few days and right now I've my SDCard with plenty of directories with many MB of data that belongs to those dictionaries.
How can I find out for a particular application (may be other than a dictionary) the list of directories it's using?

I removed the application-space tag and denied your edit to its wiki because all other uses have been for the space available for installing applications, not the space belonging to an application.

@Matthew: ok, I thought its meaning was what I'm asking here. No problem!

You can't, unless the particular app provides a way.  The Android OS doesn't manage or keep track of where apps decide to write on the SD card.

You can always try emailing the developers and asking nicely.


text:
How to share internet among 2 android devices?
I have in my possession a G1 and a new Android tablet (the Kmart one, the Gentouch).  The Gentouch uses wifi to access the internet;  the G1 uses a T-Mobile cellular connection.  Ideally, I'd like to somehow cause that G1 to emit a wifi access point, so that whenever the G1 and the Gentouch are in close proximity, the Gentouch can piggyback off the G1's internet connection and reach the internet itself.  Assuming I am willing/able to root both devices if necessary, how would I accomplish such a task?

There are apps on the market that can do this on most rooted phone. Barnacle is pretty popular for this and people seem to like it. Actually the first review for the app is someone doing exactly what you want to do just with an Ipad. Just search for "barnacle wifi hotspot" on the Market, good luck.

"Any" is a little strong ;)

@Matthew Read: That's fair, absolutes are probably not appropriate when it comes to rooting. I'll change it to a more flexible, "most".

@Kyle An upboat for you good sir

Problem:  Android seems to have trouble connecting to Ad-Hoc networks, and the Barnacle supplies.... an ad-hoc network.

All of the wifi enabling apps that circumvent the carriers WAP service use adhoc.

I was able to get it to work by modifying the configuration files for the wifi on the tablet itself.

Nice, good to see you got it working.

Link to the config file needed on the tablet:  http://android.stackexchange.com/questions/4117/how-to-share-internet-among-2-android-devices/4147#4147

For completeness, now I got the tablet to connect to adhoc:
wpa_supplicant.conf edit

ctrl_interface=/data/misc/wifi/wpa_supplicant
ctrl_interface_group=1010
update_config=1
ap_scan=2

#added ap_scan=2 so it scans all networks including ad-hoc
#this causes priorities to be ignored below.
#it just goes through the networks one by one.
# this can really slow things down.
#I recommend putting a simple file like this with the ad-hoc network at the top
#on your sdcard and then just copy to /data/misc/wifi directory when needed.
#I sure someone could write a script to backup current and swap in adhoc one.

#added my ad-hoc network.
network={
   ssid="YourSSID"
   key_mgmt=NONE
#wep_key0 only needed if you use wep.  "" if ascii / no "" if hex
   wep_key0="1234567890123"
#mode=1 needed to indicate ad-hoc
   mode=1
   priority=25
}

#normal access point network
network={
   ssid="exampleAP"
   key_mgmt=NONE
   auth_alg=OPEN SHARED
   wep_key0=01234567890123456789012345
   priority=8
}

Is this an update to your question or the solution that you've discovered?

It's a solution to make the previous solution work.. not sure what that would fall under. +1 for the details.

It was too long to fit as a comment, so I put it as an answer.

I think its great you added it. I was actually going to ask what changes you made just for future reference.

Originally from user "Junk00" at http://www.slatedroid.com/index.php?topic=3598.15

I ran into the same problem with my archos tab not being able to see an adhoc wireless connection. I was able to effectively connect my unrooted archos (running 2.2) and my rooted droid (also on 2.2) via the bluetooth tether option of the "wireless tether for root" app.  To be clear this allowed me to access the web on my tab through my phones 3g connection. I wasn't able to get it to work when the tab was on 2.1, but I had read about others that had.

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


text:
Is there a way for me to run Adb shell as root without typing in 'su'?
Is there a way for me to run Adb shell as root without typing in su? I want to be able to have root access without going into the shell.

If I'm understanding your question correctly, you're asking how to get root access automatically when you run adb shell, so that you don't have to go into the shell and type su to execute a command as root on your phone.
This is controlled by a flag in your boot partition, which most custom ROMs have modified to allow root permission by default. If you get dropped to a $ when you use adb shell then you have two permanent options and one temporary one (temporary meaning that it doesn't stick if you reboot):

Flash a ROM that includes the modification
Create a custom boot.img and flash it to your phone
Restart adbd on your device with root permissions

Number 2 is actually not that difficult, but it can be somewhat dangerous if you're careless. There is a wiki article here which explains the process and includes a couple of Perl scripts to help you. These instructions assume a Linux/Unix environment. I have personally used these instructions on Fedora Linux and can tell you that they work, but I do not know about other *nix environments like Macs. I also do not know of any similar Windows instructions, but I could try to track some down if you are on Windows. The exact commands will vary somewhat from phone to phone since different devices use different partition tables.
Generally speaking, though, you need to pull your current boot.img from your phone, unpack it, extract the ramdisk, and find the default.prop file. This is a plaintext file, which you need to open in a text editor and then find the line that contains the value ro.secure. If the line says ro.secure=1 then you need to change it to ro.secure=0. After that you can re-pack the ramdisk and boot.img, then flash it to your phone. Once you reboot, you will be greeted with a # prompt whenever you perform adb shell without having to run su.
Alternatively, if you are using a custom ROM but it doesn't have this modification, you can just unzip the ROM and modify the boot.img that is included with it using the above steps. Then you can zip up the ROM with the newly modified boot.img and flash the zip file as you normally would.
This probably goes without saying, but be careful when doing this. Messing with your boot partition can quite easily wreck your phone and force you to recover via HBoot. I would highly recommend testing Fastboot to makes sure you can use extended Fastboot commands and perform a recovery. This varies a bit based on your model, but most phones have some sort of desktop software that can be run to reflash the phone as well.

The third option is that in many cases it may be possible to restart adbd on your device with root privileges. One possibility is to execute adb root from a PC terminal, although this will not work on all ROM configurations (the ROM must be built as a "userdebug" one). You can also try Chainfire's adbd insecure app. This will not persist across a reboot, so you would need to use either the app or adb root again any time you restarted your phone.

Does the phone also boot with root permissions? Could be a security issue.

@Matthew: AFAIK, it only allows adbd to have root permission on the phone by default. There's a post from a member of the Android team that implies this, but does not say it explicitly. This commit to the AOSP also implies that it is simply a flag that adbd checks on startup (I don't see it elsewhere in the source). As I mentioned, the majority of custom ROMs that I've seen (CM included) have it set to 0.

I will say that I'm not 100% on the above, though. I can't find any official documentation related to the default.prop file, though perhaps my Google-fu is just weak tonight...

Just discovered the adb root command to restart adbd in auto-su mode, apparently it relies on this.  I do think you were right about it being just a flag, though.

@MatthewRead: The source code in the commit I linked to actually has a comment to that effect :) // ... except we allow running as root in userdebug builds if the service.adb.root property has been set by the "adb root" command". Incidentally, that's how the first version of BurritoRoot for the Kindle Fire worked, IIRC.

With the defult.prop edits, what is need to be allowed in sepolicy so adb root can work in permissive allowing for a root shell

@eldarerathis, the link you posted for the second option you listed looks broken. However, I've found an XDA thread with the same title, which I guess is the same article as the one you linked, so I'm editing your answer to update that link.

Well if you phone is rooted you can run commands with the "su -c" command.
Here is an example of a cat command on the build.prop file to get a phones product information.
adb shell "su -c 'cat /system/build.prop |grep "product"'"

This invokes root permission and runs the command inside the '  '
Notice the 5 end quotes, that is required that you close ALL your end quotes or you will get an error.
For clarification the format is like this.
adb shell "su -c '[your command goes here]'"

Make sure you enter the command EXACTLY the way that you normally would when running it in shell.
Give it a try, hope this helps.

For example you can use adb shell -t "su -c 'sh'" to run a shell as root.  The -t is needed to get the prompt.

Simply install adbd Insecure.

As an alternative, you could write your script on the phone and simply have adb execute it, for example:
adb shell sh /sdcard/myscript.sh

The script can elevate itself without your intervention (assuming SuperUser is set to remember the approval), for example:
su
pm setInstallLocation 1

I just did this on my phone with success, the only problem being that I haven't quite figured out how to cleanly end the adb shell session.  I have to Ctrl-C in my Windows shell to return to the Windows command prompt -- otherwise adb just sits at the # prompt and doesn't accept input.

What are you trying to run as root for?  You're saying that you want to run ADB shell with root but you don't want to use ADB shell?  Can you clarify?
If the application requests for root access, then the SuperUser application on your phone should handle giving it permission or not. The process in which you rooted your phone should have included a SuperUser application.

I want to run adb shell gdbserver from my terminal instead of going into shell to run it

@Hank: a terminal almost always need to be connected to a shell to do any useful work; perhaps you should clarify your definition of "terminal" and "shell" since you seems to have a different idea of what they were than in standard Linux/Android parlance

so you can do adb shell ps or adb shell and then ps to get the running process list. So somethings require root access, I want to be able to do the former.

The reason  "why" (especially where gdbserver is concerned) would be to be able to use the capability in a script running on the development machine.  However, it's possible for a script to pipe commands into what adb thinks of as an interactive shell, so having adb default to root really isn't necessary for that reason.

You can also set the suid bit on your 'sh'.
I'm using BusyBox so instructions may not match your setup:

adb shell
su
mount -o remount,rw /system     (or: adb remount)
ls -la /system/bin/sh
lrwxr-xr-x root     shell             2012-11-10 15:20 sh -> mksh
chmod 4755 /system/bin/sh
ls -la /system/bin/mksh
-rwsr-xr-x root     shell      157520 2012-11-10 09:54 mksh
(notice the suid bit is set)
^D
adb shell

and you should have the root prompt

-1 from me. This is insecure and opens a huge hole. Any APP could become root and wreak havoc.

Absolutely do not do that, this is a catastrophic security hole. (Disclaimer: I’m the mksh maintainer.)

i use for repair home button issue failure

adb devices
adb shell su -c commands
or
adb root shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
adb kill-server

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

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


text:
Will the Samsung Fascinate work without a battery?
Can I use a Samsung Fascinate with no battery powered only by the power cable?
(I'm assuming this is a handset specific question, but let me know if I'm wrong and the answer applies to all Android handsets and I'll edit the question to be more general)

It's definitely handset-specific, unless Google has some sort of bizarre requirement about it.

No.  I have another SGS model and it works with no battery for a second, as long as the battery's in when you start it up, but quickly shuts off.

Any way you could try it without the battery all together and let me know?  I have the opportunity to buy one cheap with no battery or battery cover which would make a great gps/media player for the car but I don't want to have to buy a replacement battery.

Yeah it won't boot without the battery.  I got a second battery for myself on eBay for $15 new though, no issues with it.  I also have to amend my answer -- I just tried my phone again and while it stayed on with the battery out, it shut off when I started an app.

Same guy is still selling them: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=300453894480&ssPageName=ADME:X:AAQ:AU:1123


text:
Charging over USB can be harmful?
Considering that charging over USB can take around 5 hours (to only 1-2 hours it would take from the wall mounted plug), can it be harmful for the smartphone battery if it's always charged from USB?

Charging from a computer over USB may actually be better than fast charging from a wall socket. Reason1) Batteryuniversity has shown that Lithium Ion batteries that are charged too fast will die sooner. Reason2) Charging slower will not heat the battery as much, which can prolong battery life

I don't see how the duration of the charge would relate to whether or not it's harmful to the smartphone.  I have never seen any documentation that keeping a phone plugged in perpetually (whether plugged into USB, AC or DC) would cause any harm to the phone itself.  An argument could be made that it's harmful to the battery.
Constant charging is not generally a problem for Lithium Ion Polymer batteries (which most new cell phone batteries are).  It is in fact better to frequently charge them, and not let them fully discharge.
One factor that does degrade the battery life of all Lithium Ion batteries is heat.  The more heat it's exposed to the faster it will lose capacity, so I can see how keeping it plugged in may keep it warmer longer and theoretically degrade the battery life.
Here are a couple good resources discussing battery life:

http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
http://www.droidforums.net/forum/tech-issues-bug-reports-suggestions/1974-understanding-battery-life.html

Excellent answer, thank you. I meant battery as well.

I believe the slower charge from USB would keep the battery temp lower than a faster charge, so it may actually be beneficial.

The issue is to not let the battery specifically lithium battery be full changed and not let it completely discharge . let it be between 40 to 80 percent. by using USB is more suitable because it let the battery to be slowly charged with significant absence of heat to damage the battery. Thanks


text:
Using same google account on multiple devices
So I have a digital signage application installed on my android tv devices, which I install at various offline stores, which show ads at their stores (remotely configured by me) with my apk (preinstalled from play store). Now this will be across many stores, and I would be using the same gmail account to sign in to play store on those devices. This causes a popup on other devices showing did you login on another device? How to prevent this and solve this problem which I am facing? I doubt even G-Suite allows this.

Disable Device Information after logging into your My activity and see if it fixes

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


text:
Apps missing from Usage Access menu?
I installed Avast Anti-theft on to my Moto X running Resurrection Remix on Marshmallow, and I'm having a strange issue with the accessibility settings. Apps are missing from the usage page. When I search the page for the app, it just isn't there. Is there a way I can manually grant usage without using the settings menu? I'm rooted.
In the app...

And in the accessibility page...

See if you can detect shortcut to this activity using this app. You can then place that on desktop as a widget to trigger without going through settings

@beeshyams take a look at the images I attached. I think you're  misunderstanding the problem.

Indeed this is different.


text:
Can i use NFC for File Transfer in Motorola X?
My friend is using Motorola X with NFC, but he can't transfer files through it. How do you transfer files through NFC on Android?

Please edit your question so that it is more clear about what you are asking

@EthanZ...now can you tell me?

You're asking how to use NFC to send files?

Yes you can, but you have to use Android Beans
Check this forum if you would like more info

got it...thanx!!


text:
How do I clear all recent apps using ADB in one command?
I am looking for a one liner solution that make use of adb to clear all recent apps, similar to clicking the overview button the click 'clear all'. Does anyone happen to know one?
My guess is that it must have something got to do with the com.android.systemui/com.android.systemui.recents.RecentsActivity

Try these steps, it's already answered.
https://stackoverflow.com/questions/33898029/adb-how-to-tap-close-from-recent-apps-to-completelty-through-adb-one-liner-comm

Try these steps, it's already answered. https://stackoverflow.com/questions/33898029/adb-how-to-tap-close-from-recent-apps-to-completelty-through-adb-one-liner-comm

Thanks for the reply munsoft004. Unfortunately the solution given is not what I am looking for. I want a solution that does not simulate keyevent but clear ALL recent apps in one command. Does anyone knows if this can be done?


text:
Where is the wallpaper image saved?
I had an image from a website which I set as my wallpaper inside the browser. I am wondering now where I can find the image in the file system, because I can't find it online anymore. I am rooted.

I'm not sure if it's there, but did you check /sdcard/downloads/?

No. It's not in there.

There may be a change on Jellybean: http://android.stackexchange.com/questions/27692/where-is-current-wallpaper-stored-on-jellybean

I found mine by searching for "wallpaper" in the stock browser.

I'm not sure if it's the same on older systems, but on ICS it appears to save directly to /data/data/com.android.settings/files/wallpaper. I set mine from the browser, pulled that file, then changed it to a .png extension and voilà - it was the image I had set.
It also appears that this file simply gets overwritten when you change your wallpaper, so I don't see a way to recover one once it's changed unless you have a copy of the image somewhere else.
This also appears to be where it's saved on CyanogenMod 7, so it's possible that this is the "standard" location (certainly a good place to check, at least).

I was annoyed by the exact same problem, so I have programmed an app that automatically saves your wallpapers and your live wallpapers too. It makes it easy to revert to a previous wallpaper. It is called Wallpaper Saver, by Appdictive, and it's free in the Play Store. (It does not require root access.)

Works, but does not find wallpapers muzei app sets each day. It finds only the default muzei background

In Android 7.0, it's located in /data/system/users/0. You'll have to use a file explorer to rename it to a jpg or whatever it is. The folder also contains your lockscreen wallpaper so that's a plus.

This is a slight twist on the original question's context but may be useful to some who land here...
The location of the stock wallpapers is in an apk file that you should find on your device at /system/framework/framework-res.apk. Pull that file to your computer and then browse its internals. A search for a file with wallpaper in its name should prove fruitful.
The apk also contains other goodies such as stock icons.

I have checked in my Android 9 and that file has many instances of the stringwallpaper in it which seems irrelevant. Would you mind being more specific as to how that string should look like / where / so on

In my case, I have found the default_wallpaper.png file in the res\drawable-xxxhdpi-v4 folder (inside framework-res.apk).

In Android 7.1.2, I found them here, but they do not have an extension:
/data/data/com.android.wallpaperbackup/files
    wallpaper-lock-stage
    wallpaper-stage

and here too as suggested on SiriusXM's answer:
/data/system/users/0
   wallpaper
   wallpaper_lock
   wallpaper_lock_orig
   wallpaper_orig

Image extension can simply be added to those files.

You can use Root Browser, ES File Explorer, or other root folder browsers for this. Go to the root path using Root Browser (or ES File Explorer), and then:
data/data/com.cmcm.locker/cache/Volley/dat

When you try to open it, it won't open. To open it:

Copy the images with high size (maybe more than 80 KB since they got a quality) and paste them into a folder that is not in a root directory. (Just copy it to your "Downloads" folder or to your SD card)

Rename it. But when you do this, don't forget the ".jpg" at the end of the name you type. E.g. If I rename it to, "Sukkoth.jpg"

Open it using Gallery or any image viewer app.

in Android 9 (my S10+), wallpapers (lock & regular) are stored in:
/storage/emulated/0/Android/data/com.android.systemui/files/backupwallpapers/

This is correct for me. Also using an S10.

I found my wallpaper in the location \Internal Storage\WhatsApp\Media\WallPaper after a search for "wallpaper" in Windows Explorer after connecting the phone to the computer.

This might be different from one device to another, and you will probably need root for this.
However, you can also use an app to fetch it, and all it needs is storage permission (why? because Google decided it). Here's one app that can do it, that I've created, which can also backup other things:
https://play.google.com/store/apps/details?id=com.lb.backup_plus
https://apkpure.net/backup/com.lb.backup_plus

Try here: Internal Storage/Android/data/com.android.systemui under internal storage.


text:
dlopen failed: library "/system/lib/libhoudini.so" not found
My Android game is built with cocos2dx 3.0, and it works well on my Nexus 5. However, my friends who have Galaxy S4 says the game crashes when opening.
Edit: tested with more devices. Works on Nexus 5 Lollipop and Nexus 7 Lollipop. Doesn't work on Galaxy S4 KitKat, Galaxy Note 3 KitKat and Nexus 5 KitKat. Seems like it works on API 21 but not on 19. However, I set both minSDKversion and target version to 19 which is KitKat)
So I downloaded Genymotion emulator to simulate on Galaxy S4 since Android SDK emulator didn't seem to have Galaxy S4 on the list. Then I found Genymotion doesn't work with APKs build for ARM. Therefore, I added the line APP_ABI := armeabi armeabi-v7a x86 on application.mk so that the APK supports all three architecture.
Also, I modified the cocos2dx code to treat Genymotion as emulator.
if (product != null) {
    isEmulator = product.equals("sdk") || product.contains("_sdk") || product.contains("sdk_") || product.contains("vbox");
} // vbox part is the added part

Now, when I install and run the APK on the S4 emulator, it crashes with error saying
12-22 22:22:34.502: D/Cocos2dxActivity(1280): model=Samsung Galaxy S4 - 4.4.4 - API 19 - 1080x1920
12-22 22:22:34.506: D/Cocos2dxActivity(1280): product=vbox86p
12-22 22:22:34.506: D/Cocos2dxActivity(1280): isEmulator=true
12-22 22:22:34.510: D/dalvikvm(1280): Trying to load lib /data/app-lib/com.DoomChitGames.LittleSnake-2/libcocos2dcpp.so 0xa508c970
12-22 22:22:34.514: E/dalvikvm(1280): dlopen("/data/app-lib/com.DoomChitGames.LittleSnake-2/libcocos2dcpp.so") failed: dlopen failed: library "/system/lib/libhoudini.so" not found
12-22 22:22:34.514: D/AndroidRuntime(1280): Shutting down VM
12-22 22:22:34.514: W/dalvikvm(1280): threadid=1: thread exiting with uncaught exception (group=0xa4d00b20)
12-22 22:22:34.514: E/AndroidRuntime(1280): FATAL EXCEPTION: main
12-22 22:22:34.514: E/AndroidRuntime(1280): Process: com.DoomChitGames.LittleSnake, PID: 1280
12-22 22:22:34.514: E/AndroidRuntime(1280): java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libhoudini.so" not found
12-22 22:22:34.514: E/AndroidRuntime(1280):     at java.lang.Runtime.loadLibrary(Runtime.java:364)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at java.lang.System.loadLibrary(System.java:526)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at org.cocos2dx.lib.Cocos2dxHelper.init(Cocos2dxHelper.java:94)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:84)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.Activity.performCreate(Activity.java:5231)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.ActivityThread.access$800(ActivityThread.java:135)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.os.Handler.dispatchMessage(Handler.java:102)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.os.Looper.loop(Looper.java:136)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at android.app.ActivityThread.main(ActivityThread.java:5001)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at java.lang.reflect.Method.invokeNative(Native Method)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at java.lang.reflect.Method.invoke(Method.java:515)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
12-22 22:22:34.514: E/AndroidRuntime(1280):     at dalvik.system.NativeStart.main(Native Method)
12-22 22:22:38.490: I/Process(1280): Sending signal. PID: 1280 SIG: 9

Does anyone know what the problem is?

Houdini is a library provided by Intel to convert ARM NEON intrinsics to the corresponding SSE instructions at run-time.  It appears that cocos (or your game) is still using NEON even though you're compiling for x86 now.
It may be as simple as doing a full rebuild to make sure all object files are recompiled respecting your change to the ABI:
ndk-build -B <your_normal_parameters>

Also make sure that any other Application.mk files are updated with the new ABIs as well.
If that quick fix doesn't work, I'd try creating a normal x86 emulator using the Android SDK and HAXM.  If you're still running into problems, then your issue may be a little harder to diagnose given the information you've provided.
However, I think you may be making more work for yourself than is necessary.
Ask your friends with an S4 to enable "Power menu bug reports" under Settings / System / Developer Options.  Have them run your app, and after it crashes, ask them to hold the power button and select "Bug report".  When it's finished they can email it to you, and you'll have the full stack and lots of other information that will help you determine the actual problem on their S4.
Another option is to extend the Application class in your app, and set an uncaught exception handler.  When your app crashes due to an uncaught exception, you can then do something with the exception - save the stack to a text file on the SD card, email it, etc.  But if your crash is in native code, you may not get much useful info out of the exception.
HTH.


text:
Why does Terminal Emulator for Android has completely different commands comparing to GNU/Linux?
I installed Terminal Emulator for Android hoping I could easily get root access, install apps via terminal, etc. So, thinking Android is a Linux distribution, I felt that it must have a terminal emulator (to really feel I'm using Linux), but when I tried some commands, none of them worked!
Why? What commands are used on Android?

What commands did you try? Android is not your usual Ubuntu. Commands like pm(PackageManager) are used to (un)install applications and do various things with the packages. am(ActivityManager) is used to launch activities, i.e. a specific part of an app, and do various things with those activities.
If you like to gain root access su is the way to go. Depending on if your device is rooted or not; also sudo may work but this is ROM dependent.

Android is based on the Linux kernel, but as GiantTree suggests, it is not a GNU/Linux distribution like Ubuntu. There are some commands in common (cd, cat), but some really obvious ones are not there (cp for example). As to why I suppose the main reason is that Android is not trying to be Unix-like so the common Unix commands are not needed by most applications.
If you are interested in getting more command line tools which will be familiar to you from your GNU/Linux distribution you have a variety of options. On the Google Play look for "Busybox (No Root)" or "GnuRoot". The former will give you some familiar commands (cp for example), the latter a choice of full command-line GNU/Linux distros, without the need to root.
If you do root your phone you have even more options, but just having the terminal emulator app installed will not help you to root your phone in itself. How to root your phone depends on your exact model of phone, and goes beyond your query here.
I'm sorry if this is bad news for you. I sympathize as I was just as surprised as you a year ago when I made the move from GNU/Linux to Android.


text:
My moto x wont turn on or charge
So my Motorola X will not turn on or charge. Some other people have told me to connect it to a 5 volts 2.1 amps charger but that wont work for me. If any of you know a way that can work for me I would love it.

What caused it to not turn on or charge?

Well that's what I don't know but I guess it would be helpful to know that it was on and was at around 40-50 % charge then just shut down and wouldn't turn on

If you're sure you're using a known good charger, It's possible your phone just needs a reset. Try holding first the volume down button, and then the power switch at the same time for several seconds. If that doesn't work, try volume up and then the power button for several seconds. A few devices require all three be pressed at once. Do this after the charger has been connected for at least a half hour leaving it connected while you try the button combinations.
If that doesn't work, and you're certain you're using a known good charger and/or cable that work on other devices, your phone is very likely dead. It could be the battery or another hardware problem.
And, for future reference, it's very hard on LiIon batteries to run them completely dead and especially to leave them that way for very long. Phones will shut themselves down when the battery is too low but they continue to draw a small amount of power even while off. And that small drain can eventually destroy the battery.

In other words, don't let devices sit around dead.

I was having the same issues.  Check out https://support.sprint.com/support/article/Troubleshoot-when-your-Moto-X-Pure-Edition-doesnt-turn-on/WTroubleshootingGuide_542_GKB89625-dvc9560007prd
For me, all I had to do was hold the power button for 30 seconds and boom, phone is on now. :D

phone stopped responding properly so I turned it off and it wouldn't turn back on when I tried, even plugged up and holding volume button..
Solution:
Held power down for 10-30 seconds after leaving phone charging for over an hour and now it's restarted at 100%.
Moto X 2nd gen

My Moto X Play died completely after I plugged it in to my camera charger when the normal charger went walkabout. Retrospectively, I found it had charged up to 100 % and hibernated to protective mode to avoid damaging the battery. After lots of Googling I held the Volume Down and Power On Buttons until lots of gobbledook appeared on the screen about initiating a hard re-start or whatever and everything has worked fine since.

tried everything plugged in laptop charge port and is no charging. before it wouldn't charge power up or restart just come on long enough to tell me that it was at 0% charge. charging fine now. Try laptop port to charge first may save a lot of time, up to 20% charge in 5 min.

Moto X Style:
Costed me 60 seconds (stopwatch check) before I got into the bootmenu again, by holding Power and volume up button. Old phone but still happy with it, live another day!!!


text:
Simple volume control on Lollipop
Is there some way to have a simple volume control on Lollipop? It was bad enough when each media stream had it's own volume, but the addition of notification priorities has made the overhead with Android volume management impractical.
With this in mind, is there some utility, app, Tasker profile, etc that will make it so when I press the "volume down" key on my phone, all streams will get quieter, and when I press the "volume up" key on my phone, all streams will get louder?
I would like this to be completely context agnostic; if I try and decrease the volume while media is playing, I'd like it to also decrease the ringer volume, and visa-versa.

Your best bet is probably to root and install the xposed framework. From there, you can install gravitybox or some alternative that offers unified volume controls.

A root tweak is one option but if you don't want to do this, SoundHUD (avaliable here) will bring more traditional volume controls back to Lollipop. The app has lots of configuration options too.

It has has been pulled from the play store.  Simple Volume might do the trick.


text:
Phone switches to watch interface when put against a specific side of my laptop
Not a very annoying bug, but quite mysterious:
I noticed that when I put my LG G2 (running v4.4.2, with NFC turned off) against the top left edge of the lid of my laptop (ASUS Zenbook UX303LN running Linux Mint), whether closed or open, so that the phone's power button (on the back on LG G2) is aligned with the edge, my phone magically switches its interface into a tiny watch screen, in which I can unlock the screen (difficultly), switch watch designs, view the weather forecast and play music. As soon as I take the phone out of that spot, the regular interface comes back.
I would be glad if someone could tell me he could reproduce it, and was wondering if anybody had witnessed such an odd behaviour and/or could explain it?

This is just a guess, but I 99% believe it's similar to [tag:smart-cover], where magnets on some covers are used to detect if the covers are closed/opened.... which mean there's a magnetic field near the lid of your laptop.

You may be right. Just asked a friend of mine who has a zenbook and on his phone (Galaxy Note 2), it locks his screen

And there does seem to be a magnet on the left side of the lid (and not the right side, for some reason) to keep the laptop closed.

The tiny watch screen is a feature of LG G2 named QuickWindow when put on a smart cover (a cover that uses magnets to detect if it's closed or opened).

(LG G2 showing tiny watch when put on smart cover)
That indicates there's a magnet field on a particular spot on ASUS Zenbook, and LG G2 reacts to that on a very specific position. (As already confirmed by OP, there's a magnet on the left side of the lid to keep the laptop closed)


text:
Change input from analog to digital clock in Google apps
So Google changed their alarm clock and calendar a while ago so that instead of entering exact numbers with a numpad (left image), you have to start searching for the exact spot to touch in a radial clock (right image).

Anyone know of a way to get rid of this thing and use a normal numpad to enter hour & minutes?

Sadly, it's not possible to use a keyboard with this new type of time picker, because it is not a feature of this mode ("clock", right image) of the control. But if the developer of an app showing the time picker uses the classic mode ("spinner", left image) which is still present in newer APIs (21+), you can use the keyboard.
Maybe if you give feedback about this annoyance to Google, they will enable the use of keyboard as an alternative to manually selecting the numbers in the radial clock for newer versions of Android.

After playing around with bloated annoying software, I use Simple Alarm Clock Free instead. It has a digital entry, much like KitKat. It is not tightly integrated with the clock; but it is lightweight and simple.


text:
Is there some SSH server for android-x86?
I am using Android ICS x86 build for debug purposes in VMware Workstation, but I can't find any ssh server, so how can I install ssh server on it? I've tried SSHDroid, Dropbear SSH and some others - all they doesn't work, because they request ARM architecture.

You are likely going to need OpenSSH, ported to ICS x86. Someone may already have tried this. See: http://www.openssh.org/

Dropbear SSH is FOSS. You should be able to generate a IA32 binary from the source and run it under android-x86.

You can have a look at Servers Ultimate on Play. The SSH server itself works on all devices and command line works on ARM and x86.
https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimate

Thanks! Servers Ultimate is the only SSH server that works for me on Android x86 emulator

Not working on my Android 5.1. Possibly due to 64-bit platform.


text:
Using Google Voice with Android phone and a SIP appliance (Obi)
I just purchased a Galaxy Nexus HSPA+ with Jellybean(4.1), and have an Unlimited account with Straight Talk. I would like to use Google Voice to handle voicemail for the phone.
Currently, I am using my Google Voice account as a SIP provider for my Obi100 internet phone appliance, but I am using the phone's aswering machine rather than GV to handle missed calls, and I have the Google Voice account set up to act as the phone's voicemail (activated through AT&T, which is Straight Talk's SIM provider.)
The problem is, missed calls to the android phone number, not the GV number, triggers the answering machine at home - calls ring to both the Nexus and the Obi100 device! I have "Go straight to voicemail" checked off under advanced options for missed calls, rather than "ring my other phones first."
Do I need to port the mobile phone number (which I've had for ~10 years) to GV, request a new number from Straight Talk, and use the new Straight Talk number as the "physical phone" for both accounts? Am I missing something in the phone or the GV configuration to make this work as-is?

I figured it out, but it was ugly getting there. I posted a write-up below to help others avoid the same headache.

If you are using your Google Voice for another purpose, such as a SIP service for an ObiHai appliance or as a VOIP system on your PC, you will encounter problems with Voicemail not picking up. You will need to disable Google Voicemail on your phone, create a new Google Voice account, with a new number, and add your Android phone to that account. Then select "use Google voicemail" and follow the instructions for your provider.
(If you use Straight Talk, select either T-Mobile or AT&T as your provider, depending on the SIM you purchased from Straight Talk.)
The number on the new Google Voice account does not need to be used for anything other than voicemail - calls to your cell phone will be forwarded to the GV number after 4 rings, and since there is no VOIP device listening at that number on the new account, voicemail will pick up.
You will need to log into the new account in the Google Voice app, and go through the setup wizard again.


text:
What is the /config file in the android root directory used for?
In the / directory of an android device is a file called config what is this file used for?
I am assuming it is used for configuration files and other things but my Google searching has not been able to turn up anything useful.
When I look in the file (on rooted device), it is empty!
Are the files hidden? Or is there nothing there? thanks

Are you referring to default.prop?


text:
Disable WiFi-discovery notifications on the LG G6
How does one turn off "WiFi Network Available" notifications on the LG G6? It's a mite spammy in cities.
I could turn off notifications for the app entirely, but that would hide "sign in" and "incorrect password" notifications.
This question is LG G6 specific because its interface does not admit the more general solution.

Possible duplicate of Nearby wifi networks causing notification

Does not apply. The LG G6 interface does not have that setting in the same place.

Can you provide a screenshot of the Advanced menu under Settings > Wi-Fi?

Did you ever find a solution for your question?


text:
How does WiFi in android detect if the device has to sign in or not?
When the device tries to connect to an access point or router, it has to sign in on the captive portal page with the message saying

"Sign in to Wi-Fi network".

How does the access point/router identify that a sign in is required for the device and what is the process behind it?

The detection url differs between different Android versions.
For Marshmallow, it uses connectivitycheck.gstatic.com/generate_204, check the code here AndroidXRef - Marshmallow 6.0.0_r1
For Kitkat, it uses clients3.google.com/generate_204
check the code AndroidXRef - KitKat 4.4.4_r1

I didn't want to hijack the answer by editing it, so I'll just leave a comment. It took me a while to realize that the detection URL triggers the notification if it cannot be reached. In addition, I needed my access point to respond to this request with some kind of content - in my case I returned a 200 code as well as the index page of my web server when /generate_204 is requested. Without content in the response, regardless of the return code, I would get a "Wi-Fi has no Internet access" notification.

@ubomb Seems odd, since http://connectivitycheck.gstatic.com/generate_204 actually returns a 204 with no content, and obviously works. Maybe you just left out the Content-Length: 0 header.

This technology is called "Captive portal". There are several implementations. As I know, Android tries to reach a file named generate_204 on one of the Google servers and if it is not possible, a notification in generated.
Further reading on Wikipedia: Captive_portal

Actually i know about captive portal. But i know the specific URL for check it. I want to know How it is work. Not what it is.

What do you mean - "how it is work"? Android sends a request, and if there is no positive response, it means that there is no connection to the internet, and notification is generated. That's how it works.

Which is the specific URL on which android request. I have mention in question.

In your previous comment you said that you know the specific URL. I think it's https://www.gstatic.com/generate_204

The URL seems to be http://clients3.google.com/generate_204 . Information taken from this site for chromium which is probably the same for android. https://www.chromium.org/chromium-os/chromiumos-design-docs/network-portal-detection

@Alex.S: I am not sure if it's relevant to ask this here, but I couldn't find a suitable place. Question is:  As you said 'There are several implementations' of captive portal. Some returns a redirect URL with a HTTP status code as 200/3XX/511 and some returns HTML page as such. These are known to me, but I wanted to know if you did find any link describing the types/methods of captive portal implementation. Are you aware of any test suites to verify if the captive portal detection covers all types of portals.

A captive portal is generally implemented by directing all traffic to a valid HTTP response (200). This HTTP response is what appears in the captive portal.
This can be done with tools like iptables or dnsmasq.


text:
Samsung keyboard in a Galaxy tab just got changed to white by Lollipop
I use the built in Samsung keyboard in a Galaxy tab. It just got changed to white by Lollipop. How rude - I HATE it!  I've tried Swift Key and Google keyboard and dislike them both (no delete key, among other reasons). So am I just stuck with this unwanted white color, forced on me without asking?
Thanks

Your questions isn't really a question, though. Kinda more of a rant. Can you edit so other users can know if you're looking for alternative keyboard app suggestions or if it's possible to change the settings in the stock app...? Thanks!

I just started using a new keyboard app last week and totally love it. Multiling O Keyboard can be configured any way you like including colors as well as adding and removing keys (like delete). The app can be a bit confusing at first, but if you mess with the settings for a while you'll find it to be great. Plus, it has almost no permissions and takes up hardly any memory.


text:
Where should I place iptables update on Android at boot time?
I need to write specific values in the routing system using the iptables command for Android.
The overall idea is that the user can navigate only using the provided DNS configuration.
I've tried to invoke them inside an script through the init.rc, but the script is never called:
service update_iptables /system/bin/update_iptables.sh
    start update_iptables

When I plug the phone to the computer and execute the following sequence, it works without problems:
adb root
adb remount
adb shell /system/bin/update_iptables.sh

Obviously, when restarting, this configuration is lost. That's why I need to run this as part of the start boot sequence.
Any advice on where in init.rc (or any other configuration file) can I place the script?

Any file that resides under / is reverted during boot. Your best bet would be to create a script that does your bidding, and place it under /system/etc/init.d. Note that the phone's kernel needs to support init.d, else this won't work.


text:
init.rc doesn't start my service on boot completed event
I've added the following snippet to the end of /system/core/rootdir/init.rc file.
on property:dev.bootcomplete=1
    start bootcomplete_handler

service bootcomplete_handler /system/bin/bc_handler.sh
    class main
    user root
    group root
    disabled
    oneshot

And /system/bin/bc_handler.sh:
#!/system/bin/sh
echo hi > /data/hi.txt
monkey -p com.example.package 1

What I'm trying to achieve is to run an app when device boots up. That echo is just for test, as I check existence of /data/hi.txt, it won't be created when device boots up. Could someone help me? BTW, I'm using bullhead if matters.

Your service name is too long (or contains invalid characters).
Service names can be at most 16 characters long, and can contain
  alphanumeric characters, "_", and "-".
https://android.googlesource.com/platform/system/core/+/android-4.2.2_r1.2/init/init_parser.c#411

attribution: https://stackoverflow.com/a/33088141/1841194


text:
Google Music eating battery life while idle
Device: X9076 Find7, Nameless ROM 5.1
gMusic is hammering my device. Normal battery burn is about 4.8% per hour. Fine, I can live with that no problem. I've used GMAA since it became available but problems only for the last little while. Actually listing seems fine most of the time, battery use is a little elevated but nothing major. But then idling battery just plummets. I'll take my phone out of my pocket and it'll be on the verge of overheating while doing nothing. If I freeze gMusic then its fine, but obviously regular freezing-defrosting is a pain.
I've uninstalled, re-installed, wiped data etc. Problem persists.

At one point BetterBattStats found it had used 1GB on LTE and 350MB on wifi over the space of 5.5hrs which is really excessive. The usage then "disappeared" from the list 10 mins later.
Any suggestions as to how to resolve it? Interestingly the gMusic chrome plugin has a bug at the minute that causes excessive CPU usage and with the plugin removed you get major memory leaks. On the verge of cancelling my sub now.
UPDATE: Regarding answer below, blocking wakelocks resolved it, blocked loads without and behaviour issues.

Are you currently using Android Lollipop?
If yes then go to Privacy guard in Settings and  revoke all permissions of Google Play Music.

That may just have solved it! Cant believe I missed that setting. Will report back tomorrow.

Back down to 6%/hr while extensively listening and not freezing it. Will add image to question for clarity. Thanks @Hrushikesh

To necro this, moving to marshmallow has removed permissions controls, any suggestions?


text:
(Galaxy Note 1) Can I use custom ROMs and Recoverys made for the GT-N7000 on a GT-N7000B?
The GT-N7000B is the Samsung Galaxy Note 1 sold in Thailand and Australia.
Wikipedia: Note 1 Variants
I am wondering, if I can use custom Recoverys and ROMs like Cyanogenmod made for the International GT-N7000 on the GT-N7000B.
Specfically I am interested in this one.

It worked for the Nightowl ROM.
Now the device just identifies as a GT-N7000.
I reporter this to the developer and he added the info to the OP.


text:
Changing android password remotely
I have Nexus 4 with Android 5.1.1, lock with a PIN code.
Somehow the right 3 vertical dots don't response for touch, therefore I can't unlock my phone.
I want to cancel / change the password.

I don't have root
I don't remember if the Debug Mode is turn on or not, but my computer usually recognize the phone just after I unlock it - just connecting the USB do nothing.
In addition, the command "adb devices" show nothing.
Inserting 5 times the wrong password just locking me out, without giving me the "Forgot Password" option.
Using the "Lock" option of the Android Device Manager put black shade on the screen with a chosen lock message, but I can't find the place to enter the new lock password I chose. I only see the 2 soft keys (circle and triangle) and when I touch them the screen move to the regular lock screen with the PIN code... [See Edit]

I'll appreciate any help!
Thanks in advance.
EDIT:
When I try to set new password through the Android Device Manager (ADM), after 2 seconds the website says: "Since Google has verified that a screen lock is already set, the password you entered won't be needed.", it's mean that my new password that I chose will not set, and that the reason I couldn't use it from the first place. Still looking for help!

Try clearing cache from your stock recovery. Report whether it works."Sometimes happens to me - Pattern to unlock does not show me as trying to unlock the device.
In order to put my pattern in to unlock the device I have to click on the Google Now short cut and I am then allowed to input my pattern to unlock the device. " some user posted this see if it works "https://code.google.com/p/android/issues/detail?id=42319"

Hi Daksh,
How do I clear the cache from outside?
The link you provided doesn't work.

My findings(Posted Above) says that swipe up from your navigation bar to invoke google now and after that close it and it will allow you to  enter Pattern. I didn't confirmed, This is what a user shared on google forums. Check and report if it works.Wish you Luck :)

i forgot to tell you how to clear cache.Press and hold the Volume Down button, then press and hold the Power button at the same time until the phone turns on. You'll see the word "Start" with an arrow around it. Press the Volume Down button twice to highlight "Recovery mode."Press the Power button to restart into Recovery mode.You'll see an image of an Android robot with a red exclamation mark and the words "No command."
While holding down the Power button, press and release the Volume Up button once. And then just clear cache and reboot your system.

Thanks for the detailed description for cleaning the cache. Unfortunately it didn't help. If I understand you well, the second advice you mentioned is for case I don't see the PIN code dots. Sadly I see them all the time. Thanks for trying.

Then you need to do full wipe my friend. Wait for 1-2 days if someone comes-up with better method or a trick. Or if want to format system you can wipe the whole system with fastboot mode. Set up adb binaries with fastboot invoke the cmd if you use windows or terminal if you on linux and type "fastboot format userdata" and you'll get factory reseted device. and to go in fastboot use method above but select bootloader instead of recovery. Regards:Daksh :)

It might be a bit late but I had a similar issue and found a genius idea that might help others.
If you have an OTG cable, you can plug in a mouse and use that to unlock the phone, then cancel / change it as you normally would.
Hope this helps!

in your phone, go to recovery, wipe/ clear cache then reboot the phone. wait for 5 minutes, then through this link to lock the pin with new pin https://www.google.co.in/android/devicemanager
use the newly entered pin in the above link to unlock ur device
i forgot to tell you how to clear cache.Press and hold the Volume Down button, then press and hold the Power button at the same time until the phone turns on. You'll see the word "Start" with an arrow around it. Press the Volume Down button twice to highlight "Recovery mode."Press the Power button to restart into Recovery mode.You'll see an image of an Android robot with a red exclamation mark and the words "No command." While holding down the Power button, press and release the Volume Up button once. And then just clear cache and reboot your system

just try to enter wrong pattern or pass code for 5 or 6 times,then one dialog will appear saying you have entered wrong code and bla bla. Hit the ok button. then at the right bottom corner you will find one option called "Forgot Password?". Tap on that, then it will going to tell you to enter the email and password. Enter your gmail id and password. It will unlock your phone.

Quoting from the question: Inserting 5 times the wrong password just locking me out, without giving me the "Forgot Password" option.

This thing has been rolled out from roms after update to lollipop version.


text:
What does the "Aggressive Wi-Fi to Cellular handover" option in Developer Settings do?
In Android Lollipop 5.0, I noticed that "Developer Options" features a checkbox for "Aggressive Wi-Fi to Cellular handover" that is unchecked by default. Does anybody know what this setting does and why it's disabled by default and hidden under developer options?

Judging by the name of the option it seems that checking this option makes the phone be more happy to use cellular data when WiFi signal is bad

The code for shouldSwitchNetwork() best explains what it does.  It just artificially reduces the WiFi RSSI (received signal strength indication) to encourage the WiFi state machine to decide to switch the connection from WiFi to cellular network.  Around line 3559 of WifiStateMachine.java (line 4262 for Android 6.0.1_r10):
int rssi = mWifiInfo.getRssi() - 6 * mAggressiveHandover
        + (homeNetworkBoost ? WifiConfiguration.HOME_NETWORK_RSSI_BOOST : 0);

The variable mAggressiveHandover is an int that is set to 0 or 1 by the Developer Settings:
private void writeWifiAggressiveHandoverOptions() {
    mWifiManager.enableAggressiveHandover(mWifiAggressiveHandover.isChecked() ? 1 : 0);
}

The rssi variable goes on to influence how the connection is classified: isBadRSSI, isLowRSSI, or isHighRSSI.
As to why it's hidden under the developer options, I'd say that is because it seems a little hackish, with a seemingly arbitrary scalar (6) that some dev came up with to nudge the behavior in the desired direction.  Google is probably uncertain about the consequences of this setting and the optimal way to adjust rssi.  If I'm wrong and this is somehow meaningful, I'm happy to admit it and explain here why.
Turning this setting off does NOT turn off cellular handover altogether.  The WiFi connection still gets a score and is disabled if the score is too low.  But hey, the initial score is set arbitrarily too.

Wifi to Cellular Handover is a feature in phones that automatically switches to cellular data when you do not have a strong WiFi connection.  You would want to enable this for a few reasons:

It will save battery - If your phone doesn't switch to cellular data when it can't connect to a Wifi connection, your phone will continue to search for WiFi, thus using battery.
You won't have to turn off WiFi when you leave your house or when you don't have a connection in order to use data.

So does having "Aggressive Wi-Fi to Cellular handover" turned off turn off the feature completely? or does it simply alter the behavior to have a higher cutoff for when to switch from wifi to cellular?

No it does NOT turn off the feature completely, nor will it turn it ON by enabling it, it can ONLY be turned ON/OFF in settings → Wi-Fi → Wi-Fi Advanced menu (The three dot icon in the upper right hand corner) and then checking the box next to "Smart switch" (Verizon Samsung Galaxy Note 4 Android 5.1.1), otherwise the only thing that you're honestly doing via the developers menu is simply forcing this same exact option to work if/when your phone is experiencing any type of network "hiccup", and it in a way forgets to change the network type. I suppose you could think of it as a blunt or abrupt reminder to the system to change its internet connection from Wi-Fi to cellular data, and/or vice-versa.

Thanks for trying to help the OP, but this was asked 1 year ago, and your answer is hard to follow along for readers. Can you edit your post to properly use bullet points and/or code markings?


text:
Where are the resource (/res) files used by an app stored?
I'd like to know where in the file system the /res folder of an APK archive is unpacked upon installation?
If the /res folder is not unpacked upon installation, I'd like to know how an application is able to access the resources in this folder? For instance, does the system unzip the APK file upon execution?

A signed apk is a  zip aligned file. You can get the apk file on your computer, rename it to zip and try a zip file manager to extract content. If the programmer chose to use encryption algorithms for resources and embedded decryption inside application code, even you are good on reverse decompile, you can get "era" or bigger time to decrypt this or you may never be successfully. Some programmers chose to put files in some "fake" extension file, for example, rename an executable as .png file, so for trivial user it should be enough to not touch that file :) Just practice and remember reverse decompile is not the worse part of programmer life, it is the poor. As for your question, think tha apk as an executable and think for resources as loaded files in memory. In this way, you may never find explicit resources files written on device. As for memory dump, you should know the information there is very scrambled, so making a dump does not guarantee you get clear resources (files). I think what I wrote is enough to answer your question.


text:
How to create an "if found" wallpaper for Android?
This is where I saw the terminology "if found wallpaper".

Make an "If Found" Wallpaper
However, if you do use a password or pin and lock your phone by default, be sure to update your wallpaper to include contact info.

Basically, since we're all locking our phones, you want a wallpaper that contains contact information, in case it's lost. Is there such a wallpaper for Android?

It's a pity that the built-in lock screens don't have a way to do this. Blackberrys have had a setting for years that allows you to set an "Owner Name" and "Owner Info" text that shows up when the device is locked. As my Blackberries have always been company devices, I just have my initials and an if found ring company switchboard text. The company also puts a sticker on the inside of the battery compartment door with a serial number and the company switchboard number.

Well, they DID add this in on Honeycomb. My tablet (Acer Iconia a500) has it built in on the lock screen. Did they cross-port this to ICS? I don't have it yet.

Android OS versions 3.x and above (Honeycomb, Ice Cream Sandwich) actually have a setting that allows you to specify "Owner info" text that will show up when the device is locked.
There are also many 3rd-party locks-screen replacement apps that allow for much greater configuration flexibility than the stock one, including the ability to specify any text on the locks-screen.
For the "unlocked" state, you can always modify an image to include the "if found..." text, copy it onto the device's SD Card (or internal storage area), and set that as the wallpaper.  You can use one of the myriad of free image editing software (e.g. Paint.NET) to add the text.

CyanogenMod also has it too (or it used to in CM6).

The setting is missing from the front-end on CM7.x, but if you edit the settings database manually and add the text, it will show up ;)

Makes me long even more for Galaxy Nexus' release on AT&T! meantime, can you guys explain how to back-end this in in CM7? I tried googling, but I only found something that looked like it was specific to Verizon phones.

@eidylon: The exact statements you need to execute are here: http://forum.xda-developers.com/showthread.php?p=11132463#post11132463

@BryanDenny: And also the toggle to turn it on: http://forum.xda-developers.com/showpost.php?p=11144146&postcount=13532

To expand on Chahk's answer: go to the Settings app, and from the Personal section, choose Security (on a Samsung phone, choose Lock screen instead). Then tap Owner info, and enter your name, room number, phone number (though not of the same phone, obviously), or whatever.


text:
How can I explore my Android from my computer?
I'd like to explore the content of the internal memory. I have a rooted phone with a terminal emulator which allows me to navigate through it.
The problem is that it's quite hard to use (small screen, no physical keyboard) and I cannot transfer files from internal memory to my computer to examine it (maybe memory -> SD and then SD -> computer but not the easiest).
Is there a way to have an SSH daemon (I've ConnectBot but it's only a client) on the phone, control it with a USB cable (with USB debugging maybe), install a backdoor (maybe no), or something like this?

For which operating system?

If you are looking for a GUI you should take a look at Droid Explorer. Basically, it is a graphical frontend for ADB especially developed for rooted phones.
I know that it runs under Windows (.NET) but AFAIR, it also runs Linux using Mono.


text:
Stereo mix functionality in Android?
Is there any way/app for Android that mimics the functionality of stereo mix in Windows?

Android does not have such a functionality.
Audio streams/pipes are very closed source and only the system itself has access to their data. There are some apps that can stream your audio output to your PC, but they require additional software.

The problem is: You can only write to the audio output (add your sound to the mix) and
only read the microphone input (listen to what comes in).

You may go the easy way and connect a male-male audio cable to your phone's audio jack and your PC's microphone jack. That way you get your audio as easily as possible to your PC (assuming you use Skype on your PC).
There are some apps that require a rooted phone to access the system audio pipes and then will stream the audio output to AirFoil Speakers or similar (requires additional software), but because of the way they do that (rerouting all audio) you won't be able to hear what is coming out of your phone.
Also, they are quite delayed (up to 5 seconds even in good networks) and require you to buy the full version just a few minutes after using them.
My suggestion:
If your device is not rooted: Try the audio cable method.
If you have a rooted device: You can try finding an app that allows you to stream the audio output to your PC.
The problem is: Audio streams are deeply embedded into the system. Normal apps can't read the audio stream of the system, except for their own data before it is played.
Worth noting: some headphones with TRRS jacks result in stereo mix recording if playing music through the headphones and recording. Even if the extra wire is not for a mic but a switch.


text:
Twitter asking to "Authorize SNS to use your account"?
I've installed the latest version of the Twitter client for Android and logged in. To my surprise, the screen displays the message (also shown in the screenshot below), asking me to authorize the SNS (Social Networking Site/Service) to use my account? I don't understand this question. Assuming SNS is used as a synonym for the Twitter service itself, then what is the "account" they are referring to.
Obviously, the Twitter service automatically has access to my Twitter account, so are they talking about my Android account on my Android device, or perhaps the Gmail account corresponding to the email I provided, which I doubt as such account uses a different password. It seems like Twitter is being intentionally vague here.
If someone could kindly explain what the app is asking for in the screenshot I would be happy to know this.

I'm voting to close this question as off-topic because it is about an Android app.

This question is the same as your other question basically.

OK, I figured out what the app is asking. It's asking to create an account in the Settings > Accounts section on my Android device. This enables other applications, including stock applications and user-installed applications, to find out that I have a Twitter account and possibly use it to post to Twitter (provided I give consent to such apps to do so).
The following screenshot shows that after clicking the Allow button, the details pertaining to the user's Twitter account are stored on the Android device:


text:
Control an Android phone remotely from the computer
I have a Nexus 4, I've had it for 2-3 years running in Cyanogenmod rooted with no problems. It fell many times but nothing bad ever really happened to it until yesterday.
It fell and had a tiny crack in the screen, then the screen was no longer responsive. I've seen many people with cracks in their screen able to use their phones but I guess that wasn't the case for the Nexus.
Now since there's nothing wrong with the phone beside the screen, is there a way to control it from my PC? I find a screen replacement would cost as much I bought it.

Have you tried the app called AirDroid?.

How to control your Android via PC - CNET is the key to follow.

@GulamMohammed I can't control the phone at all to install apps on it.

Well, Softonic provides desktop app of AirDroid

@GulamMohammed OK, I'm going to try airdroid. I'll update you to know if everything works. Phone doesn't work but usb adb is working so ill push the apk there.

airdroid does not solve the problem as it requires me to actually have set it up on the phone before installing and i've never installed airdroid until today. I can't set up airdroid remotely.

I have found another app called Droid Explorer on GitHub. Download the required setup (x86 or x64) and install it.
After installation, follow the video of ANDROID Controlled from PC (How-To Remote Control ANDROID Phone) by MobileTechVideos. The video shows the complete procedure of using Droid Explorer.
Requirement: Android SDK

This is a very nice solution, however, I also found a similar one here:http://marian.schedenig.name/2014/07/03/remote-control-your-android-phone-through-adb/ which got the job done  exactly as I wanted last night I used it on Linux and just had to modify the config file to my adb location which was /usr/bin/adb.


text:
Getting notifications for new TV seasons even though notifications are turned off in Google Play
I get notifications for new TV seasons even thought I have turned the following notifications off in Google Play Movies & TV:

About TV Shows
About watchlist
About rewards

Here is what the notification looks like:

I would expect that deactivating "About TV Shows" would stop me from getting them, but they keep popping up. How to I exorcise them?
I am using an LG G6 with Android 7.0.


text:
Google Keyboard Esperanto Dictionary
My goal
To have Google Keyboard predict Esperanto words.
Current Status
As of posting date, I am using the most updated Google Keyboard app, on Android L.
The Esperanto keyboard is present and enabled, but it does not suggest or correct words. There is a personal Esperanto dictionary, but the personal dictionary is empty of words and no Esperanto dictionary is available in the addons menu, even after refreshing.
Possible Resolutions
According to posts on Duolingo in early 2015, Google Keyboard used to support an Esperanto dictionary. It is possible that I have not performed the necessary steps to have this dictionary available on my device. Enabling a Google-supported Esperanto dictionary would be ideal.
If the Esperanto dictionary has been deprecated or is otherwise not available, I would like to be able to add an Esperanto word list to my personal dictionary. However I do not see how to add more than one word at a time.

Have you tried Settings - Language and input - Google keyboard - Languages - Turn off Use system language and turn on Esperanto ?

Yes. The Esperanto keyboard is active. It's just that the dictionary is empty.

Personal dictionary is the one which you add words to it manually. So it will be empty.

Yep. I think we're on the same page.

Can you reproduce this state, or does the Esperanto keyboard have a populated (non-personal) dictionary by default for you?

I've tried it and the suggestions didn't work for me either. It gives me some unrelated word suggestions in English. It's just that the Esperanto's Keyboard has some special letters included.

That mirrors my own observations. Thank you for the repro.


text:
Android 4.04: Default Silent Mode to Mute
I just upgraded Galaxy S2 (Epic 4G Touch) to Android 4.04. In the previous version, I could change the Default Silent Mode to Mute instead of Vibrate in the Sound settings. I believe this was under Vibrate settings; this could be changed to Never.
In this version, if I hold down the power button and choose Silent Mode it always goes to Vibrate mode instead of Mute. I can change the setting to Mute by going into the Sound settings, but it is much faster to hold down the power button (particularly when the phone is locked).
Any thoughts?

Please see the following Q&As, which cover your question: http://android.stackexchange.com/questions/25816/completely-mute-my-android-phone / http://android.stackexchange.com/questions/13352/is-there-a-one-click-widget-to-make-my-phone-completely-silent / http://android.stackexchange.com/questions/8573/what-is-the-fastest-way-to-turn-the-phone-into-silent-mode

Izzy, those posts apply to the old version of the software. My question is based on the new version, which doesn't contain those features.

Ah -- thanks for pointing this out. I couldn't tell so from your question, hence the suggestions. Neither having a Sammy nor ICS, I cannot help further -- so hopefully someone else tunes in (one of those who had the problem formerly, see the links, might have upgraded, too).

Gotcha, I edited the title of my question to make this a bit clearer. Thanks for the suggestions.

Perhaps it is a change from 4.0.3 or earlier to this version 4.0.4 to make its way into the 4.1 code base as in Jellybean. Somone else asked this similar question about it on Jellybean and was enquiring that the sound functionality was changed from ICS to JB.

Here's the question pertaining to my comment above ... http://android.stackexchange.com/questions/26476/ringer-and-notification-volume

This works better on my SG3 on 4.1.2. One can easily mute by holding down power button while phone is locked.

It's not possible using the power button long press for the Device Options menu in 4.0.4 on SG2. It always reverts back to "Vibrate" when changing Silent mode, albeit it is possible to press the volume down until it goes into vibrate, and then press volume down again. This takes a bit of time, though, and doesn't work unless you're past the screen lock. IMO, in a perfect world, this should only take one action.
Conclusion
Wait for a version update above 4.0.4 and hope they fix this BS. (Also, I friggin' hate people who think their phone is silent during meetings or seminars, and their phone just keeps buzzing and buzzing and buzzing. It's #*@!ing Android trolling!)
Hack
The only hack I've found to make it work with the power button long press is going to Setting > Sound > Vibration intensity and setting ringtone vibration to zero. However, I'm pretty sure that turns off vibration globally, and you'll still see that annoying icon for "silence with vibration" when you use Silent mode trough the power button. :(
Fastest way to mute
Wipe off the screen lock. Flip down the curtain of the notificaions menu, then double tap the sound icon. That will bring you from sound to vibrate, and finally to mute. Or get a widget for muting.

I agree with the fastest way to mute, double tapping the sound icon from within the notifications menu. Again, in previous versions of my OS on the SG2, this could be done without unlocking the phone, which was handy.

I own a Xperia phone with ICS 4.0.4, and have no problems going into silent mode (mute).
Quick ways to go into silent mode (muting the phone):

holding the volume down until vibrate mode, then releasing the volume down and pressing it again once more until silent mode (mute)
holding the power/lock button until a screen appears, then selecting silent mode (mute)

Other ways of muting the phone:

going into the Settings > Sound and selecting Silent Mode > Mute
going into the Settings > Volumes and completely sliding down the volume bar for calls via Ringtone & notifications

if you scroll down the menu bar you can switch from sound to vibrate to silent to sound. THis is easy enough for me, isn't it?
Andreas

What menu bar are you referring do? Can you be more specific?

This feature isn't available on every Android device

If by menu bar you mean the side button, yes, I agree when the phone is unlocked. When the phone is locked, the button does not behave that way.
In the previous version, the Disable Sound function, enabled when holding the power button, would respect the setting regarding Vibrate.


text:
Messages for web not updating with new texts and statuses
I am trying to use Android Messages for web. I am able to connect to the phone using the QR code, but after the initial connection, I do not get new messages automatically or any notification – I have to reload the page to see them.
When I send the message, the “Sending…” status remains and is not updated to “Distributed” either.
I have tried in Firefox and Chromium. I am using Ubuntu. The computer and phone are on the same network, and I tried with the computer using a cable or WiFi. The phone is a Samsung Galaxy S9 and the app is allowed to run in background (no battery optimisation).
I have also tried on Windows with Chrome on the same computer, and I have the issue as well. I would thus assume it comes from either the phone or the network.
I have had the problem for quite some time now, I couldn't say if it used to work in the past.

I don't know what changed, but the issue seems to have solved itself magically.


text:
How can I watch for uninstalled app updates?
What is the best, non-manual, way of checking to see if an app that I do not have installed has an update?
For example, I do not have Google Camera installed, but I may want to install it when a new feature I'm looking for has been added to it.
Is there a site place such as Google play or Playboard that I can get an rss feed, email or another way of notification for certain apps?
EDIT: I am now aware of the defunct app "Changelog Droid" which is no longer maintained since January 2014. "The app is currently not maintained. There is an (unlikely to be fixed) issue with paid apps. Please don't contact me in this regard." So a solution beyond that would be greatly appreciated.


text:
Is it possible to change Device's location?
I want to change my device location (lat,lang, etc) to a different place. I don't want to mock. I want it to function like If I open Google Maps, it points to my desired location not the real location.
Is it possible?
If yes, does it require root?
Suggestions are welcome.

No mock locations? Requires root. Easiest would be any of the GPS spoofing apps using Xposed but there are many out there that only need root acess.

Yes You can do it if you have root access first you must Download the FakeGPS the link for the one i suggest is Download Form Here and Change Location Mode to Device Only(preferred) and turn on Mock Location from Developer options
and set the location in the app this will spoof the GPS and its Working Fine !! :)


text:
Fall back to pattern lock if fingerprint not recognised
Can I make my phone fall back to pattern lock (instead of password) if the fingerprint isn't recognised? I've got a Samsung Galaxy S6 with the stock rom, Android version 5.1.1. Ideally I'd like a way of doing this without rooting the device.

If you're willing to fall back to pattern, why use the fingerprint at all? Is it more convenient? (I'm assuming you know that if you did do this, you'd be giving up any security benefit of fingerprint locking).

As you have seen yourself, that is not the standard procedure. Hence, if you like to have that I would suggest to have a look at Trust Agents (Smart Lock feature uses them). You probably could write your own Trust Agent app that checks for failed fingerprint authentications and then call the pattern authentication.


text:
Preventing the uninstall of an app - samsung tab
I know that in android 5.0 there was a package system file named "package installer" , I used to delete it so I could prevent users from uninstalling any application.
WHO knows what is the file name of the same file for android 6 - 7 for the samsung tablets?
Same question for the settings.apk for android 5 - what did it become for android 6 & 7??

Now it's called "GooglePackageInstaller" and it's located in root/system/priv-app/GooglePackageInstaller/
Settings app is called "SecSettings2" and it's located in root/system/priv-app/SecSettings2/
The screenshots are from an S7 running 7.0, should be the same for the tablets as well.

Thank you, yes & the package is com.googlepackageinstaller but the problem is that in lollipop you can simply delete it & the system continues working, while on android 7, the system fails. Any more tip?

I'm sorry, haven't tried removing it..so can't say.


text:
Disable any OTG from USB on Samsung
is there a way I could stop any flash OTG from accessing the tablet?
    I don't want the user to read or write anything to it
I don't want to use the OTG anymore, the tablet is rooted. It's a samsung tab A 2016 with Android 6.
Thank you

What tablet is it, and what Android version are you on? Do you still need other USB-OTG devices (such as a mouse) to work? Is rooting the tablet or installing a custom ROM an acceptable solution? Please [edit] your question to add these details.

Edited sir..it's version 6 & i won't need it.. It can be rooted.. Any help is greatly appreciated..


text:
Does Samsung have a tool similar to Rescue and Smart Assistant Tool of Motorola?
My Motorola smartphone would not boot after an update and then I used Rescue and Smart
Assistant Tool of Motorola to reinstall a new Android OS on my phone. Now, I am considering to buy a Samsung Galaxy smartphone and I am wondering if Samsung has a similar tool so that in case of an update failure I can easily restore the device.

I guess Odin/Heimdall is the comparison. Not sure how easy to use it since I never had Samsung phones.

Odin can bring back device to factory state, but there exist no tool to recover userdata


text:
How to enable unsafe volume warming in android 7?
I have a Huawei P9 lite smartphone with android 7. I disabled the unsafe volume warning by accident and I cannot find any settings to enable it again. I checked settings and then sounds, however, I cannot find an option to enable it again.

How did you disable it?

I got a notification that had two options, "Cancel" and "O.K". I chose O.K and then it was disabled.

Phone model? We can not help much without some basic informations

I added the smartphone model.


text:
Unable to send attachment from Gmail using browser
I want to send PDF, and DOC file using Gmail on Sony Xperia. But there is no option to add attachment on Google Chrome, Firefox or Dolphin. Also, when I open Gmail on stock browser with desktop version, there is an option to add an attachment, but it doesn't actually add the attachment, and only text data is sent. How to send attachment using Gmail on phone?

You are right, I tried your way just a while ago and I am unable to attach file in Gmail.
If it is possible for you, instead of using Gmail from browser, download Gmail app from Play Store and your problem will be solved.


text:
Unknown apps/processes with number only are shown in data usage
A mysterious app named "10102" shows up in my data usage. It bears only the standard Android app icon (the Bugdroid logo with a cube on its torso). From what the graph tells me, it has used 36 megabytes of data in the background and zero on the foreground.
I think I haven't uninstalled anything for months.
Is it malware? I haven't sideloaded anything and only authorized my laptop as a USB debugger. If it's malware, how do I remove it? I have no idea how to find its package name and 10102 isn't in the list of downloaded apps in settings.
I'm running stock & never-been-rooted Android 4.4.4 on Nexus 4.

I'll let it sit for a few days. If it stops using data, it's probably some uninstalled app. Otherwise, it's most likely a malware. Either way, I'll get back to you guys and upvote and pick an accepted answer.

I just realized that I am having this case too. In my case, it's 10120 with only background usage of 40 bytes. I also tested uninstalling an app, but it just removed the entry in "Data Usage". On the other hand, there is a "Removed apps" entry inside that page too, which I think uninstalled apps' data go into there. I'll monitor this issue for a while.

Here's my list - 10926, 10266, 2021, 2030, 12161 and there are much more in my Data Usage. I usually install and uninstall apps all the time. May be these numbers belong to them.

http://android.stackexchange.com/questions/46431/what-are-these-numbers-in-the-data-usage-and-battery-usage-screen-in-jellybean  Seems to have been confusing a few people over the years, though there's no definitive answer.

Day 2, the app haven't used any more data. I'll check again tomorrow. Malware or not, I want it to disappear completely from my data usage graph. It doesn't feel right.

UIDs ranging between 10000 and 19999 are assigned randomly to installed apps (system and user). If you do a factory reset or reinstall a user app, the assigned UID will be changed.

It's probably an uninstalled app. It happened on my phone a few times.

Looks like this is a bug or something.


text:
Lollipop's Trusted Face can be bypassed by camera
I have enabled Trusted face, also it comes with pattern lock if face is not recognized.
But it has a flaw, anyone can unlock the phone with camera/phone call shortcut on lock screen. As shown in attached screenshot, is it possible to prevent this?

I tried what you're saying a few times, and after you close the camera, you're back on the lock screen.
Unless you were actually looking at the phone, it recognized your face and it unlocked itself milliseconds before opening the camera.
You can notice that the "symbol" in the middle goes from that of a person to that of an unlocked lock when it recognizes you

i think that was the case. When i tried it 2-3times with wrong camera direction it prevented me. I did the imrpove face recognition settings too.

Just as Kushtrim mentioned, I also suspect that it's due to "Trusted face": maybe it's too sensitive, or the face you provided is.. still too general that everyone's face is detected as yours.
Some suggestions that I could think of:

Turn off "Trusted face". It's an obvious solution, but you cannot enjoy this new feature.
Improve the "Trusted face" recognition. It might be a hit-or-miss, but it's worth a try:

Go to Settings - Security
Choose "Smart Lock", confirm the saved pattern
Choose "Trusted face" - "Improve face matching"
Follow the instruction, and do it a number of times to further improve it.


text:
Problem importing server certificate to CyanogenMod 9.1
I am having trouble importing a self signed server certificate to my Sony Ericsson Xperia Arc S running CyanogenMod 9.1. I have tried everything that came to mind.
First, the usual method:

downloaded certificate in PEM format as cert.crt using FireFox on the SD card root
opening Settings on the phone, then Security, install from SD card.
phone asks for name, I give it and then the phone shows message that the certificate was successfully installed
if I go to Trusted Credentials -> User, certificate is not there and the site I downloaded it for still shows as untrusted
I also tried importing by uploading the certificate on the site and downloading it in the Android browser - same result - success message and now certificate imported.

Second, I tried to get it into the system certificates

first, the conversion with these commands (first command shows the hash used in the other two):
openssl x509 -inform PEM -subject_hash_old -in root.crt | head -1
cat root.crt > 5ed36f99.0
openssl x509 -inform PEM -text -in root.crt -out /dev/null >> 5ed36f99.0

then I moved certificates on the phone, remounted /system with write permissions, moved certificate to /system/etc/security/cacerts/ and changed its permissions to 655. Reboot.
After reboot, certificate shows itself correctly in trusted credentials system tab, but the website still appears untrusted.

The question is, is there another option to install the certificate, or to disable certificate check for site system-wide (I need an application to access this site also). Or does someone have a similar problem?
I should add that I also own an Xperia Arc (without S) running CyanogenMod 9.0, where the certificates are actually working via the first two methods.

I'am having trouble importing a self signed certificate to my Sony Ericsson xperia Arc S running Cyanogenmod 9.1...

AOSP/Android does not support self signed server certificates for the system's Trust Store, and they make it (nearly?) impossible to import them. I know you can't import them for use in, for example, com.android.browser. Also see this related stack exchange question: Self-signed certificate install claims success, but android acts as if cert isn't there.
If you want to certify one of your servers, you have to become your own CA. You will be able to import your own CA's certificate. Also see Work with certificates on Google's Android help. Notice they work with CA and client certificates; but not self signed server certificates.
The browser's unwillingness to use self signed server certificates will be a pain point for the Internet of Things (IoT), where you try and connect to your refrigerator or thermostat to program it. The W3C's working group has not even begun to tackle the problem. See Proposal: Marking HTTP As Non-Secure on the W3C mailing list.
If you want to become your own CA, then see questions like How do you sign Certificate Signing Requests with your Certification Authority? and How to create a self-signed certificate with openssl?.

I tried to get it into the system certificates ....

The system Trust Store is burned into the ROM, so you really can't do anything with it. When you modify the Trust Store, you are actually tweaking /data/misc/keychain and one of two files: cacerts-added and cacerts-removed. See Nikolay Elenkov's ICS Trust Store Implementation.

Thank you! I was actually able to import the certificate CA and it shows itself in the credential storage. The app that I needed the certificate imported for still doesn't work, but I guess that it is a different problem. Thanks again