Moto G6 not charging, not connecting via USB and battery indicator frozen at zero, not enetering battery saving mode Here is how problem came about:
I unlocked my moto G6's bootloader and fastboot flashed twrp-3.4.0-0-ali.img in it. I opened TWRP trough the recovery option in fastboot, and enetered my PIN, but TWRP was unable to decrypt my storage. I noticed that TWRP was showing that the CPU temperature was at 34ºC and battery full. Then, I clickend on "cancel" the operation, kept TWRP read only and rebooted to delete the fingerprint recognition in system settings, which I thought could have been causing the failure of TWRP to decrypt. That didn't work, but this time I shut my phone down with power button. I am unsure if I did so before or after cancelling the operation, but I didn't choose the option to keep TWRP read only. I also noticed TWRP showing a ridiculously high CPU temperature before turning off. Regardless, it disappeared. I can now boot normally but I am having the issues described in the title. I tried a factory reset from moto but it solve this problem.
I performed a full adb backup before unlocking the bootloader with the command

adb backup -apk -shared -all -f C:\Users\

However, I may not be able to restore this backup via USB, given that my phone is not connecting via USB.
Any ideas of what to try?

After factor resetting through fastboot (so called hard reset), rather than factor resetting through the settings (i.e. soft reset), I got my phone in order again.


Samsung sending SMS automatically on Idea Cellular (although no charge) I have two Samsung Galaxy Young Duos (GT-S6312) mobiles, both have Idea Connection. I noticed from last few days that my both mobile suddenly send SMS to some number at same time. The SMS log does not shows anything and sent SMS does not charge anything. But the popup dialog of charges comes which says "Last call charges 0.00, duration 60 secs".

This is strange as I checked all application, antivirus, backup, nothing is enabled related to tracking or something. I don't play games also, so my mobile is game free. Still my mobile suddenly gets up from sleep and send two SMS continuously everyday 2-3 times.

Not sure where SMS is going and as far as charges, it is not charged anything so that is relief but still bit worried on information leaking from my cell.

Please let me know if someone facing same issue and fixed on their mobile.

I feel it is related to Idea Network, but not sure. Interestingly the Avast virus scanner does not find any virus related activity.

It is IDEA Maharastra network, I checked with IDEA customer care, they denied for any such thing.

Hope someone will help.

First check Settings → for any app called Idea Power or Idea Portal or anything that you suspect is closely related to the cellular operator.

Mostly in Android devices with Idea SIM lock (CDMA) they install Idea Power system app. It is not visible in app manager especially for postpaid subscribers.

Not only Idea even other operators also do the same thing, but in Uninor and Airtel it will be too much.

2 of the most common signs are reduced battery life and while browsing sites too much of pay links and worst ads and operator ads, etc.

See when this operator app is installed it accesses your:

Phone information
Contacts
Rootkit
Send email without consent of host (user)
Read and write logs
Read memos
Directly call numbers and send msgs

THE LIST HAS SO MUCH MORE.

Finally in android 99.99% apps can be turned off except these operator injected secret code or app.

So I hope user only has to decide:

If its a second hand phone check if it is secured with mobile tracker of factory default or any tracking app preinstalled.

In AVG antivirus there are mobile tracking installs in hidden form and send email hidden even root format can't erase it which I once also used and got fed up with samsung galaxy young star pro, I guess its model no. is gt5372.


How do I dismiss just the next occurrence of a recurring alarm? Tomorrow is a Bank Holiday in the UK so I don't want my "Work" alarm to go off. I could turn the whole alarm off, but then I'd have to remember to turn it back on again before I go to bed on Monday night. Or I could turn off Monday's occurrence, but again I'd have to remember to reinstate it before next Monday.

So what I'd like to do is just dismiss the next occurrence of the alarm. A Google search came up with this help page - https://support.google.com/nexus/answer/2840926?hl=en-GB :

  Dismiss next alarm

  If you have an alarm that's set to repeat, you can dismiss the next instance of the alarm. That way your alarm will still be turned on for future instances.

Which describes exactly what I want to do. It goes on to list the procedure as:

  Open the Clock app.
  At the top, touch the alarm clock iconalarm.
  Under the alarm you want to dismiss, touch "Dismiss Now" dismiss alarm.

However, I'm not seeing the "Dismiss Now" option.

Where is it or what am I doing wrong?

As far as I know, you can't, and I'm afraid there's a misunderstanding/mistake by Google.
I checked the help support in English (US), and for the same topic, it instead mentions,

Dismiss next alarm
If you have an alarm scheduled to go off within the next two hours, you can dismiss the next instance of your alarm. If your alarm is set to repeat, your alarm will still be turned on for future instances.
(Emphasis mine)

It only means that you can dismiss it if it goes off in 2 hours (like for other alarms), but for repeating alarm, Android will set the next alarm automatically.

I have posted this issue on Google Product Forum. Hopefully they will correct it.


Are the apps safe? How can I make my Android more secure? Are the apps on the Android Market checked or audited?

If I search Google for "hardening Android", the best hit I can find is Google Android Hardening Checklist.

What's your opinion regarding this? Is there a way to make Android safer or more secure?

It only takes a one time fee of $25 for a developer to start putting apps on the market.  No hoops to jump through.  $25 and you can publish as many applications as you want, instantly.  No waiting, no queues, no approval process, nada.

However, there have been a few cases of malicious applications. When these problems arise, Google usually pulls them from the Market (and from user's phones).  It doesn't happen very often.

Android was designed to to keep yourself protected: all applications have to ask for "permissions" to do certain things: make calls, read contact data, access the internet, etc.  Read the permissions before you install an application.  Make sure you know and understand what it is going to be doing.  Does it seem to have a dubious "permission" that it asks for access to?  However, at the same time: don't berate the developer because of certain permissions.  Some ads ran in apps require at least the internet permission and sometimes some other ones (about the phone state, I believe). Be sure to have a thorough understanding of why a developer would need certain permissions.  Most importantly, read what other people are saying about the application in the market.  Read some of the comments (although beware that the comments on the Android market are the same level as Youtube in terms of quality) and see what the app's rating is.  Have you heard of the app before?  Has a blog mentioned or reviewed it?

Worse case scenario: if you aren't rooted, then no single application should be able to damage your phone as every application is sandboxed from each other (technically, each developer's set of applications are sandboxed from each other. Apps signed by the same developer key can have access to other apps signed by the same developer). They could potentially steal your data, depending on the amount of permissions the application is given. The rarest scenario I can think of is if an application uses an exploit to enable root access on your phone and then does something malicious (e.g., delete everything).


Photos missing in both gallery and google photos This morning i stupidly formatted my SD card (J2 prime lack of storage issue), and after noticed that photos were missing from both my gallery AND google photos, that were taken over the last few weeks.

After i noticed that my camera was set to store photos on the SD card rather than device. I definitely don't remember putting my camera to store photos on the SD card so not sure what happened there?

Also whenever i delete a photo in gallery it also removes it from google photos.

Will formatting the SD card remove photos from google photos?

I've since taken a photo to make sure it was uploading images so i hope that doesn't mean the images are not recoverable from the device?

I'm only using the phone on 4g.

Any ideas on getting the photos back?

Thanks for any help.

Formatting your SD card shall not delete the synced items from your Google photos account.

Google photos app also shows your offline photos. So, unless they were uploaded to the cloud drive, they are now gone and cannot be recovered.

Please check once by logging into your account at photos.google.com. If your photos appear there, then they are in the cloud and you can safely get them back on your device.


Can android collect info about wifi routers even if Google Play Service is disabled? Androids newer versions have changed the 'GPS' button into a 'Location' button which now offers 3 options for determining your position (recording wifi router information and comparing it to a google database, using the devices GPS, and doing both) each of those options prompt a disturing and annotying popup each time you turn the GPS on, "advising"/badgering the user into sharing his information with Google.

The only solution which was suggested to me for this popup problem (without installing any 3rd party apps or rooting the phone) involves disabling the Google Play Service- it worked great exept that it created something strange which I'm not sure about... If previously the user could choose which way of locating he wants and the device remembered it- now every time the GPS is turned on it is automaticlly goes into "local device&wifi tracking" mode (the first option).

I want to know if a)Does the device indeed monitors that information (even if it can't send it anywhere with google services being disabled)? b) any way to stop it? c)can this default be changed so that only the local GPS chip will be used?

Thank you very much!

Android collects information about WiFi routers through the normal course of WiFi operation. You cannot get around this fact if you want to use WiFi. During normal WiFi operation the device listens for management packets like beacons that are sent from WiFi access points, and this information, which is used to communicate with WiFi APs, can be used to estimate location with an appropriate database (Google, Apple, Skyhook, etc.).

In some older versions of Android, it was actually possible to read the AP information with network permissions only and estimate the location using this information with a custom query to a database (not directly through Google's service). In more recent versions (maybe starting at 6?), I think this loophole has been fixed, so that the results of a wireless scan no longer give AP information that can be used to compute location. See https://stackoverflow.com/q/34957118/4107809.

I don't know anything about the default settings.


COVID-19 contact tracing API stats? Is there a way to see how many unique contact tracing IDs my phone has registered via BLE?

Nope.
As part of the joint Apple/Google initiative, a great deal of emphasis is placed on the privacy of the data. Authorized Covid-19 Exposure Notification Apps are the only ones that can use the API. Even the Apps themselves have no way of asking such a question.
On Android the Google Play Service is the one sending out identifiers and recording nearby identifiers.
From Architecture section of the documentation:
https://developers.google.com/android/exposure-notifications/exposure-notifications-api
Google Play Services:

Manages daily random keys
Manages Bluetooth broadcast and collection
Identifies whether the user was in close contact with a confirmed case
Presents permission requests to user for scanning/reading beacons and submitting user keys on diagnosis.

The Exposure Notification App submits a set of suspect identifiers (presumably from a secure medical source, i.e. those who have tested positive) into the Google Play Service API and that returns a risk score on that identifier.
You as a user won't know anything beyond what the app will tell you and the app is limited to the data in ExposureSummary/ExposureInformation or ExposureWindow as found in the Exposure Notification API data structure documentation. Wether all of the detail in available in exposure datasets is presented to the user is determined by the App authors presumably in conjunction with local health authorities.


How to Restore Phone App in CM13? I disabled Phone application and set force stop in CyanogenMod 13.
Now, I cannot find the phone application anymore.
The phone crashes if I try to call.

How can you restore Phone Application in CM13?

It must be a problem with the ROM if it is not showing the app disabled through Settings app like this:

(Click image to enlarge)

Anyhow, if the Settings app doesn't show it then I see no way to solve this problem without root. If the following steps do not work then your ROM is faulty because they worked for CM13-snapshot in my Nexus 6. In case you do not know, root access can be enabled in CM13 from Developer options.

A disabled app is a user specific restriction and the restriction ends up in the file /data/system/users/USER_ID/package-restrictions.xml. USER_ID for primary user (owner) is always 0.

Find the entry responsible for disabling your app using the app's package name and either remove the whole line or make tweaks there. I'm instructing with a tweak. Here's how the restriction originally looked like:

For the case in question: In the line depicting the cursor and containing the string com.android.dialer, integer to enabled represents the state of the package and enabledCaller is the caller which instructed the package to be disabled. You can either remove the whole line or change enabled=3 to enabled="1". (Source)

Do a full or soft reboot and you would find your app enabled.

The alternative method is to use a terminal emulator app or adb with adb shell command to execute these:

su
pm enable PACKAGE   # PACKAGE refers to package name of the app to be enabled

If you don't know the package name of your app, follow View app's full package name?

Another alternative: While I didn't try, I've full faith that Titanium Backup
 would offer the option to unfreeze your app. There may be other similar apps that can help you out.

If the said solutions make no effect on the app's status, ditch the ROM.


Are .smi or .srt files more compatible with the S3? I've been using .srt files exclusively on my phone thinking they must be the most compatible as all the apps that use sub files generally say use the .srt file format but today I came across an app that chose .smi files as the only option so I was wondering whether the "sub-community" in the Android world has moved toward .smi?  Now on an Android phone which type of sub file is easily converted to another sub format? And, if one is stuck just using a phone which of the two formats are much more flexible?

OS: 4.1
S3

This question is probably opinion-based.

I'm not familiar with the trend in subtitles, but I use them a lot since I am hard-of-hearing. Most of the subtitles I get from SubScene are .srt files. Occassionally, I'll encounter a .sub and .idx combo, but RARELY an .smi.

A lot of media players support .srt; a lot others also support other formats. My guess on the app that you found which supports only .smi - which you didn't even mention its name - is that it may have been a niche app to play videos that have .smi subs. There may have been no other app that played .smi when it was made. I am just speculating.

But one thing for sure, .srt is not going away any time soon.


New keyboard app not listed in Language & input settings page I downloaded and imported Android SDK's Softkeyboard example (an app) to Android studio and installed it into my Sony xPeria Z3 running Android 5.1.1. That said, I do not see the app name in Language & input settings page.

I checked the list of installed apps on my phone and I see that SoftKeyboard is installed and in Android Studio, there is no error.

Can you show me a way to fix this problem?

Note: the commands in this solution requires adb setup in PC and the solution is tested on Android 4.2.1, 5.0.2 and 5.1.1.

Whenever an app equipped with an IME service is installed in the system, in order to connect its IME to the system, the device's owner must explicitly allow the app to become part of enabled input methods.

So how does it happen? We know that we can use command-line but that's not what ordinary users do.

It happens this way. When you launch that app, you're or would be asked to enable its keyboard. You  are then redirected to a sub-activity of Settings app. In ROMs close to stock Android, a user can access that sub-activity from Settings → Language & input → Current Keyboard → Choose Keyboards. This is how it looks like in some devices:

(Click image to enlarge; image courtesy of OP)

You can use command-line as an alternative to show that sub-activity

adb shell am start -a android.settings.INPUT_METHOD_SETTINGS
adb shell "am start 'intent:#Intent;action=android.settings.INPUT_METHOD_SETTINGS;end'"  # alternative to above command

For an app, the moment you turn the slider towards right in that sub-activity, its IME's id is appended into the value of enabled_input_methods - a secure setting. The app then gets listed under Settings → Language & input, among those already enabled as input methods.

Since only one IME can remain as a default IME in system, the app then shows you a dialog to select a keyboard app as default. That dialog can be accessed from Settings → Language & input → Current Keyboard. Whatever entry you choose there becomes the default keyboard in the device.

Now that you know the details, you can now easily add a keyboard into enabled input methods, including your example keyboard app.

Enabling keyboard using command-line

There's an another way too. All the enabled input methods can be listed by this command:

adb shell ime list -s

Example output

com.android.inputmethod.latin/.LatinIME
net.zhdev.ctrlvkeyboard/.CtrlVKeyboard

All the available (enabled or not) IME services can be listed through

adb shell ime list -a

Example output

com.android.inputmethod.latin/.LatinIME:
  mId=com.android.inputmethod.latin/.LatinIME mSettingsActivityName=com.android.inputmethod.latin.settings.SettingsActivity
  mIsDefaultResId=0x7f070000
  Service:
    priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
    ServiceInfo:
      name=com.android.inputmethod.latin.LatinIME
      packageName=com.android.inputmethod.latin
      labelRes=0x7f08003a nonLocalizedLabel=null icon=0x0 banner=0x0
      enabled=true exported=true processName=com.android.inputmethod.latin
      permission=android.permission.BIND_INPUT_METHOD
      flags=0x0
net.zhdev.ctrlvkeyboard/.CtrlVKeyboard:
  mId=net.zhdev.ctrlvkeyboard/.CtrlVKeyboard mSettingsActivityName=null
  mIsDefaultResId=0x0
  Service:
    priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
    ServiceInfo:
      name=net.zhdev.ctrlvkeyboard.CtrlVKeyboard
      packageName=net.zhdev.ctrlvkeyboard
      labelRes=0x7f0b0015 nonLocalizedLabel=null icon=0x0 banner=0x0
      enabled=true exported=true processName=net.zhdev.ctrlvkeyboard
      permission=android.permission.BIND_INPUT_METHOD
      flags=0x0
com.touchtype.swiftkey/com.touchtype.KeyboardService:
  mId=com.touchtype.swiftkey/com.touchtype.KeyboardService mSettingsActivityName=com.touchtype.settings.TouchTypeKeyboardSettings
  mIsDefaultResId=0x0
  Service:
    priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
    ServiceInfo:
      name=com.touchtype.KeyboardService
      packageName=com.touchtype.swiftkey
      enabled=true exported=true processName=com.touchtype.swiftkey
      permission=android.permission.BIND_INPUT_METHOD
      flags=0x0

The highlighted strings next to mId= are the IDs of the keyboard apps available in my system.

In any ID, the string before / is the package name of the keyboard app. Example: for Swiftkey keyboard, the mId is:

com.touchtype.swiftkey/com.touchtype.KeyboardService

The string com.touchtype.swiftkey is the package name of Swiftkey app. Package name is what will help you to find the appropriate mID that you should use to enable a particular keyboard app.

To know the package name of an app, follow View app's full package name?

In order to add or remove an IME into enabled input methods, do

# replace ID with mId of the keyboard app which you want to add or remove

adb shell ime enable ID
adb shell ime disable ID

To make an IME the default IME of the system, do

# Note that it doesn't matter whether the IME is added into enabled input methods or not. Consider this a direct override.

adb shell settings put secure default_input_method "ID"
adb shell content update --uri content://settings/secure --bind value:s:"ID"  --where "name='default_input_method'"  # alternative to above command


Battery Status problem I recently updated my Note 8.0 Wifi from 4.1.2 to android 4.4.2, and shortly after that rooted it (But kept the stock 4.4.2, NO custom ROMs or anything...). Of course, as I knew, the battery consumption was probably going to be a bit higher that 4.1.2... and it was.

But one day i left my tablet to charge for a while (around an hour and a half) and hoped that it will charge from 25% to 100% for that time. But when woke the screen what I saw was not normal... the battery had charged only to 60%. I was worried, as I thought that it might be a battery problem, but then I turned off the device (my mom recommended me to do so) and it showed that big green battery indicator at 100%.

I was relieved, as I thought that it might be just a one time problem, and as I rebooted the device it showed 100% again. But my worries didn't end there, as this problem has now occurred at least 5-6 times.

Is it a battery problem, or a battery indication problem, and how should I fix it?

You have to calibrate your battery.

Go to Play Store and install Battery Calibration from NèMa.

Then follow in app instructions to calibrate your battery....  :)


Which IMEI number should I use to unlock my Motorola DROID 2 GLOBAL (A956) IMEI or IMEI SV? I recently bought an unlock code from Cell Unlocker.NET to unlock a Motorola DROID 2 GLOBAL which was locked to the Verizon Wireless network.

Navigating to the about phone section

Menu - > Settings - > About Phone -> Status

I saw  two IMEI numbers.

I used the top one  (IMEI) as the code to complete the unlock process however when I tried to unlock the device it rejected the code.

Should I have used the IMEI SV?
I have Android 2.3.4 but this device is normally equipped with 2.2, could that be the problem?

You should probably use the IMEI.  The IMEI ends with a checksum, whereas IMEI SV ends with a Software Version number which shouldn't be relevant.


Save offline Google maps to SD card I found nice feature in google maps for android - save maps for offline use. But looks it saves maps only to internal memory. How to save maps to SD card?

It is definitely possible to do what you want, although it needs a couple of things done, which may or may not be viable to you.

You will need to use Link2SD to link all data related to Google Maps onto your SD card (or just the data(ext) in your case should do the job).

However, using Link2SD requires (1) your phone to be rooted, and (2) a second partition on your SD card, which will be used to store "linked" applications.

Complete details can be found within this answer:

https://android.stackexchange.com/a/145591/167026


Google Maps, copying GPS coordinates, getting plus codes This question explains how to get the GPS coordinates

How can I copy GPS coordinates from a marker in Google Maps app?

I did all that but I come up with a "plus code", this doesn't work for me.  How to get the coordinates instead of plus code?

I answered the question you referred to and  checked the reason

Your GPS is off

Switch on your GPS ( wait for the faint blue circle to show up indicating your location) and then drop marker ; you can't get GPS coordinates keeping the GPS off ! (not to sound snarky )


Listing all apps that updated at once When multiple apps update in one batch they trigger a single system notification saying X apps updated and listing about two of them. Then it takes one to Google Play app where "recent" updates are listed - but this list includes multiple last update batches so even more than X apps are listed. Is there a way i can see the real X app names that updated in the  very last batch only?

There is no way to do it via the play store, but there are other ways to do it.

You can use something like AppMonster or Titanium Backup (if rooted) to display the list of apps ordered by last update date. This will show you the order in which all apps were last updated, as well as the date of the update. To me this a lot more useful than the recently updated list in the play store.

It's not a perfect solution, but it gets the job done :)


Note 7 WiFi keeps turning itself off I really hope someone can help me, this is becoming infuriating. My Samsung Galaxy Note 7 keeps turning wifi off all on it's own. I have searched until blue in the face trying several things I've seen suggested on various forums. Nothing works. I wasn't able to track down another case of this happening on the Note 7, although I'd seen other phones from samsung as well as other manufacturers, but none of the fixes I came across worked for me.

I don't know what's triggering it, I've tried to watch it closely and see what the problem may be but can't seem to pinpoint it. Power Save mode is off, I set a static IP for it, turned off the smart switch feature which swaps between wifi and mobile network to "make sure you have the best signal", nothing works!!

Looking forward to any suggestions or fixes anyone may know of! Thank you in advance!

First of all: return your device, it is at risk of exploding. See this page.

About the WiFi, Samsung has declared that it will turn off radios on Note 7s to prevent people from using them. See the post on this blog: https://9to5google.com/2016/12/07/samsung-note-7-radio-disable/.


How to set WIFI proxy via adb shell? Genymotion 2.2 & Android 4.0

I want to set a global HTTP proxy in Android, and all Apps will go through this proxy.

Now I can only do this in GUI as following way: Wi-Fi -> WiredSSID -> Modify Network -> show advanced options

Is there any way to set the WIFI proxy via adb shell?

I've Googled and tried several ways such as:

 1. export http_proxy xxx
 2. setprop net.gprs.http-proxy xxx
 3. sqlite3 /data/data/com.android.providers.settings/databases/settings.db; INSERT INTO system VALUES(99,'http_proxy','xxx.xxx.xxx.xxx:xxxx')

and nothing worked.

On my Android 7 and 8 devices:

adb shell settings put global http_proxy <address>:<port>

Seems the setting is lost at reboot, however.


Unlocking Droid XT912 with a Fully Broken Screen/Digitizer I am trying to pull data off a Droid Razr XT912 with a broken digitizer and screen from last summer which has been under pattern lock since then. I purchased a Micro-to-HDMI cable, which successfully displays the phone's unlock screen on my TV. I also purchased a Mini-to-USB cord so I could enter the pattern on the screen with a USB mouse. The phone, however, is not recognizing the mouse, regardless of whether it is wired or wireless.

Interestingly, plugging the Mini-to-USB into my XT907 which I got to replace the old phone makes the mouse boot right up, even though that phone has its own pattern lock.

I'm completely lost as to why the newer model cannot recognize the device when the older one can. My only guesses are as follows:

The operating platform has been updated since last year to support the USB mouse connection. The XT907, having been in operation until April 2014, would have received the update while the XT912 was locked with no SIM since August 2013.
The phone does not support a simultaneous connection to the HDMI (via Micro) and the USB Mouse (via Mini).
The phone does not supply adequate power to the mouse.

Any thoughts on how I might solve this riddle? If #3 is the culprit, does anyone know which adapter do I need to supply external power to a USB mouse in "on-the-go" mode? Last, is this a fool's errand and should I just ante up for a new digitizer?

Thank you in advance!

In case any one had similar problem and unable to use the mouse, I saw an article while working to find a solution for my colleague's same type of phone. It indicated that the xt912 won't provide power to the mouse so you need to connect the mouse through a powered USB hub.  You can find it on Amazon easily but make sure it is powered with a power supply. Good Luck!


How can I add a photo to a contact? It seems like this should be possible - how can I add a profile photo to a contact that I manually created? At the moment they're all boring silhouettes.

In my Contacts, the only ones with photos are ones from Google or Facebook, and I can't find any option to add a photo for a contact.

I keep my contacts on the SIM, but when I copied one to the phone to see if that made a difference, it didn't, at least as far as I could tell.

Open the stock People app (i.e. navigate to your contact list) > select the contact > select Edit contact > select the camera icon in the top left corner. Your options are Gallery (find an image already on your phone) or Camera (take a picture of the contact). Hope it helps!


Android Market Stopped Working Possible Duplicate:
  Sometimes Market update get stuck downloading, how can I cancel?

I have Android 1.6 on original G1. I tried to install Last.FM application and it failed. Since then I always see Last.FM there in process of installation and it can't be canceled or removed or anything.

And what's worse: then installation of new application stopped working at all. Coming back always after a while with "[application] failed to download. Try again later".

Any idea, how to "unblock" the market again?

This might help:
Go to Settings >> Applications >> Manage Applications
Select Market app and in the details page, press "Clear data".

I had this issue a while back and it got resolved after performing the above.


Lost, deactivated phone being used by someone on wifi. Can I track it? The person who found my deactivated phone sent me a threatening E-mail from my own mailbox. He suggests he is has been reading my recent mail and says he found the phone in front of my house, suggesting he knows where I live. I have changed all my passwords so he won't get new mail but can access anything already downloaded.

Can I track this guy through the phone if he's using wifi or by IP address? He likely lives near me.

Yes you can if a) the phone is on
               b) wifi is on
               c) location is turned on (through settings)

As an experiment (using Android Device Manager through Google Dashboard) I tracked my phone with SIM card (cell towers) and with the card removed (WiFi). The wifi results were much more accurate.


How to uninstall Quickoffice from HTC Nexus One Quickoffice 2.0-GEP is listed in my manage application lists and I want to uninstall it. It's not listed in my programs list. I am not even sure what it's used for.

When I click on it from the manage apps list all the options (force stop, cancel, clear data etc.) are greyed out.

To remove any system default applications your phone must be rooted. And using this system app remover you can remove the system added applications. But you have to do this on your own risk.

I have been doing a lot of research on Android mobiles, I can tell that your system might not work properly if you remove any system added applications.
But most of the applications work fine without any issue.

Updated

System App Remover is a paid application. There is one free application called Root App Delete. Have a look at this..


How to scroll screen when using text-to-speech accessibility? Under normal circumstances a swipe will cause controls in the Android UI to scroll. Such as swiping the home screen will get to the next screen. Swiping a list will scroll the list. The swiping functionality is disabled when text-to-speech is on.

My particular situation is that I'm trying to turn off text-to-speech. However to do this, I need to scroll through the settings page to get to the Accessibility settings. But I don't know how to scroll!

So the question is: how can one scroll through screens and lists in the Android UI when text-to-speech is enabled? or more succinctly, how to turn off text to speech in Android?

When text to speech is enabled, two finger swipe will swipe the screen to navigate between screens and scroll lists.


Moto M unable to boot up My Moto M, running Nougat, is not booting up suddenly. It worked fine but after a restart it stopped booting up. It just shows the Motorola Logo and then a blank screen.

I tried Volume Down + Power button Combination and booting it in recovery mode but again the same Motorola Logo and Blank screen.

Never rooted/tweaked in any way.

I have a lot of data in it. Plzzzzz Help.

With the phone powered off, press and hold the Volume Up button and the Volume Down buttons.
Continue to press both volume buttons, and press and hold the Power button until the phone vibrates.
Release the Power button, continue to hold the Volume keys. You should see  a "No command" prompt. (You can release the Volume keys now.)
Press and hold the Power button, tap Volume Up to enter Recovery menu.


Google Search On Screen does not work I have the following problem: when I long-tap home button, a Google Now with search field appears, instead of Search on screen. I've tried to grant all perms to allow it use screen contents, but nothing changes.

I use Xiaomi Redmi 4x with AOSP Extended.

The feature you need is called Now on Tap.

According to Google blog, Now on Tap is available only in English, French, German, Spanish, Italian, Russian and Korean. All you have to do is set one of those as a secondary language in your phone settings to make it work.


Any concerns using LED flashlight apps? I've always wondered with flashlight apps, especially ones that use the LED light(s): Is there any risk of shortening the life of the LEDs?  I noticed one app ("ASettings") gives a warning that doing so can "harm your phone"... which to me sounds even more ominous than burning out the bulb.  I thought LEDs had a crazy long lifespan to begin with, so do I need to worry?

There's a really good thread of discussion about this on AndroidForums here.

In short, LEDs have a long life span (20k+ hours?).  So the concern isn't really the LEDs burning out (although after a long period of time, they will eventually start losing the amount of output and their brightness will dim).

The real concern is to not apply too much voltage to the LED and overheat it.  Another concern would be overheating your battery (due to heat dissipation from draining the battery from powering the LED).

In short, if you're only using the LED for time periods less than half an hour, you should be okay.  If you need to use it longer, go get a real flash light. :)


Installing Ubuntu 14.04 on Sony XPERIA Model C5303 So, I read somewhere recently (I read it here) that you can install Linux (in my case, Ubuntu) onto an Android running phone by rooting the device and overriding the software. I'm going back and forth on whether this would be something I'd like to do, as I have a Sony XPERIA Model C5303 that is beginning to fade and will probably be replaced soon.

What I want to know before attempting this is two-fold:

1) Can I ever reinstall the phone software if I choose to do so?

2) Is there a way to avoid rooting the device and booting from an SD card? I have a 32gb micro-SD for my phone that should have no problem with it, but I can't imagine a way to select a different bootable volume without rooting.

Thanks for any help, and if anyone else has done this before, let me know how it went - I'm still debating whether or not to do it. Also, is it possible on my device?

You need to root it and to unlock bootloader to install any custom OS. You can omit the bootloader unlock part if you find OS which will support the locked one, but you will miss the potential custom kernel features, because it will need to use the stock one. To do the actual unlocking, refer to this guide by Sony: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/. Beware, though, you'll probably cause bootloop when you unlock BL, so you'll need to flash ftf to boot into the device again (refer to 1)). Also, as far as I remember, you won't be able to download official software updates until you re-lock BL again.

Regarding Ubuntu, there doesn't seem to be an Ubuntu build available for Xperia SP, so you need to build it yourself. According to the Ubuntu site, that shouldn't be hard considering there is a working Cyanogenmod build, but it's not something I'd consider 'basic'. Because I think it falls out of scope for this community (correct me if I'm wrong), I won't go into details, but I'll leave this here if you'd like to know about the process: https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/. You can find many (if not all) needed sources by following links on XDA forums here. For example, CM12.1 sources (unofficial, could be slightly unstable) are here.

1) Yes, you can download flashtool and flash appropriate ftf file. This will erase all data on phone (SD card excluded) and leave you with factory version of OS with unlocked bootloader

2) Not as far as I know

P. S. Android is based on Linux, just like Ubuntu, it's just that factory versions have some limitations so regular users don't destroy their devices. If you'd just like to unlock 'full potential', you can grab a custom ROM from XDA and enable root. They usually have nice additions, including themes, tethering, terminal emulator and much more other customization options (depending on the selected ROM).


Create 'Add to Home Screen' shortcut for local offline HTML page I have developed a web-based HTML and Javascript app which is distributed to company mobile phones via email or USB transfer as a zip file, which I would like to set up on people's devices with a shortcut on their home screen.

However, I can't get the option in the Chrome browser to add it as a shortcut for the offline page.

The option only becomes available if, for example, I upload the package to my online webspace and then load that URL in chrome. This isn't an option, as the app will load in confidential information which I don't want online.

Are there any solutions or alternative options for this?

1. Using Chrome Browser (without root)
If you are looking for a solution using Chrome app, Chrome isn't associated with Html files, thus you can't associate it with HTML files, but you can:

P.S: Allow the storage permission for the Chrome App

Open Chrome Browser
Type the path of your file Ex: file://mnt/sdcard/Documents/App/index.html
Goto Options Menu (Three dots on the upper right)
Tick the Star on the top to Bookmark the html file in Mobile Bookmarks.
From your launcher put the "Chrome Bookmarks" widget on the desktop to access your bookmarked local file.

2. Using Total Commander (without root)

P.S: First, Allow the storage permission for the Total Commander App

Install & Launch Total Commander - file manager
Locate your "index.html" file.
Tap & maintain on the  index.html file.
From the pop-up Menu, tick the option "Create Link on Desktop"
Select the shortcut name.
Select the app used to open HTML files (I suggest to install Opera or Firefox before this)
Choose an Icon if you want.
Tap OK/ Apply.

3. Using Opera Browser (without root)
Opera Browser is a solution for your situation, maybe other browsers are also fine.

P.S: First, Allow the storage permission for the Opera App

Install Opera browser - news & search
Type the path of your file Ex: file://mnt/sdcard/Documents/App/index.html
Goto Options Menu (Three dots on the upper right)
At the bottom of the Option Menu, tick the option "Home Screen"
Select the shortcut name, and tap Add.


How can I transfer files from PC to Phone or vice versa without internet I am using a cloud service (Dropbox) when I am using internet for file transfer. But how can I transfer files between my PC and my Android device without going via the Internet? and of course without using data cable.

There are multiple solutions available:
Using an USB Cable
If you connect your device to your PC via an USB cable, it shares (parts of) its storage to the PC. With versions prior to Android 4.x your device usually identifies as USB storage (like any external disk/USB-stick attached), never Android versions might use MTP instead, which might require special drivers on your PC to be used.
Once connected, you can transfer files easily between PC and Android device.
Using a card reader
If your device features a slot for sd cards, you could simply remove the sd card from your device (remember to unmount it first via the device's setup menu), put it into a card reader, and attach it to the PC. It should then pop-up on your PC as "USB storage" as described above.
Wireless solutions (Browser-based)
There are a bunch of wireless solutions available -- and this is not the place to list them all. Principially, you can install any FTP/Web server, and configure it to offer the directories you wish to access.
As this might be too complicated for many users, there are quite easy solutions. The probably most well-known is AirDroid, which offers a nice interface to manage almost your entire device from your PC:

As the example screenshot shows, a file browser is included -- and permits you to upload and download files to/from your device.
A second example for an easy-to-use app would be WiFi File Transfer, which -- as the name suggests -- is specialized to transfer files via WiFi:

There are many more possibilities, just check the playstore. A good starting point are the playstore pages of the mentioned two examples, then lookup related apps.
Other Wireless Solutions
There are many more wireless solutions available. As Logos mentioned it in his comment, I will add some examples here for completeness:
Samba
You can use apps like Samba Filesharing to turn your Android device into a Samba server. In short, Samba (or SMB, or CIFS) is the protocol used by Windows shares. Linux also understands this protocol. Using Samba, one thus can access the Android device's file system (without root, this will be restricted to the internal/external sd card) like any Samba-/Windows share.
WebDAV
Several apps like e.g. DavDrive can share the Android device's storage via the WebDAV protocol. This works via HTTP, but can also be accessed like a "shared drive" using the appropriate software on the PC.
Bluetooth
Don't forget that we also have this available -- at least on our Android devices. But also keep in mind this is much slower than WiFi. Nevertheless, it can be facilitated using apps like Bluetooth File Transfer.
FTP
The File Transfer Protocol also is an option. There are several apps available turning an Android device into an FTPServer...
Other solutions
For completeness, let's just name them in short: SSH Server, Web server, File Synchronization tools (like e.g. FolderSync), and probably several other options I'm currently unaware of...


"Wrong Pattern" After Flashing Image I wanted to update my OnePlus 3 to OxygenOS 4 using TWRP but that resulted in an error. I tried again, same error. I flashed the old image again, no error, phone was usable again, updated TWRP, flashed the new image again, different error. I then flashed the old image, again, no error.

However, my phone isn't usable right now because I can't unlock it. I definitely remember my pattern, I had it since I bought my the OnePlus 3 and I bought it right when it came out. I have to enter it every time I reboot so I entered it several times just today and there is just no way I remember it incorrectly. Furthermore, I have a second phone with the same pattern. I drew it on both phones simultaneously and only the other phone unlocked.

How can I log into my phone, again?

Note that @dan-brown seems to be right about the root cause of the issue - it looks like a corrupt install after flashing a new TWRP.

However there is a non-destructive fix, as documented here.

Boot into recovery
Navigate to /data/system
Delete the following files:

password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal

Reboot


How do you move an app shortcut between launcher screens? So I have a few icons and folders on the leftmost launcher screen.  I want to move them to the middle one.  You'd think that you'd do it by dragging the icons to the dots on the lower left/ lower right corner, but that doesn't work.

I know it's possible to do because I've actually done it few times, somehow, but I can't figure out how to do it in any kind of reliable way.

Drag the icon to the edge, not the corners.  It can be a little finicky depending on the particular touchscreen hardware your phone has.


How can I force-stop all user applications that are running? I found that first of all System>Apps>Running is not helpful always and secondly I we stop the services, it may star again if corresponding application is running. The correct way to stop application is force stop. (that's why ram booster may not helpful sufficiently).

I've made an simple script that get the list of all user applications and then force-stop all one by one:

pm list packages -3 -f | sed /jackpal.androidterm/d > /sdcard/tbs/app2fs

while read -r line; do APK=$(echo $line | cut -d ':' -f2 | cut -d '=' -f1); PKG=$(echo $line | cut -d '=' -f2); echo "Forcing to Stop: $(aapt d badging $APK | grep "application: label" | cut -d "'" -f2)"; am force-stop $PKG; done < /sdcard/tbs/app2fs

The draw back of above command is it tries to force-stops all (doesn't matter running or not) third-party applications. But I want to do am force-stop only for the running user apps.

So, How do I get the list of all running user apps (not services)?

You may have better way to do this than my script/command, hence broadly: How can I force-stop all user applications that are running?

Note: I recommend the command-line solution. Because this type application (that can force-stop all running user apps) mostly runs constantly for monitoring which I don't like. If you've a suggestion for an app that can do such job and also favourable (should not run constantly for monitory) , then you can suggest it.

Note: This solution:

is tested on Android 4.2.1 and 5.0.2 (COS12);
requires a rooted device with Busybox installed and latter's applets available under PATH variable. You may see How do I install missing command line tools onto an Android device?

If an app is running (be it in background or foreground) then it must have a process assigned to it. In that case, it should show up under the radar of ps command. We can single out apps' processes from ps command and compare them with the list stored from pm command. Whatever comes out as common can be safely killed.

Here's a basic script to do that:

#!/system/bin/sh

HOME="/data/media/0";
mkfifo "$HOME"/ps "$HOME"/packages;
/system/bin/ps | grep 'u0_' | awk '{print$9}' | sort -o "$HOME"/ps &
pm list packages -3 | sed 's/package://g' | sort -o "$HOME/"packages &
comm -12 "$HOME"/ps "$HOME"/packages | while read package; do am force-stop "$package"; printf "Force-stopped: $package\n"; done
rm "$HOME"/ps "$HOME"/packages;

This script must be run with root privilege.

In that script:

I'm creating two named pipes, namely ps and packages under /data/media/0. (It is optional to do. You can safely remove the lines starting with mkfifo and rm). I'm relying on the output provided by native ps tool. If an app has a process, then its package name would be shown under the column NAME. I'm using grep to filter out processes running under user 0 (your user account has user ID 0) and then using awk to print the 9th field. That field in each line would show a package name.

Note that you can use Busybox's ps tool. It has a feature to show only a particular column. You'll have to tweak the script a bit but you can do away with hard-coded dependency (a particular field in a line).
I'm storing a list of user-installed packages (third-party) using pm tool.
I'm now comparing the content of ps and packages and listing only the common lines. Note that I used sort in earlier commands because comm requires a sorted file.

Each common line then goes through a loop where the line (a package name) is used to force-stop the corresponding package.

Note: am force-stop is useless against a device administrator app.


Locked out of my phone! I'm locked out of my phone and I need to change the password on it how do I reset it and clearing everything off my phone?

You might be able to use recovery mode to perform a wipe and factory reset.


First N sec not played from pulseaudio over HDMI on Android TV I start tv, select input source, set default sink for pulse audio(pacmd set-default-sink 0) and start some playback in mplayer. For some reason, there is like 3-5s delay between command being executed and sound actually coming out from tv(sony). After that, I can immediately turn off mplayer, and if I rerun, there won't be any delay/audio missing. However if I wait for like 30s, it will start over again.

I really don't know what is causing this issue. Is it pulseaudio, android tv, gpu, or it's a some feature of sound over hdmi?  Is it somehow fixable? I mean for initial first connection — not ideal, but OK, but then I'd like to 'hear' all executions of all potentialy launched apps start playing immediately.

Found the cause:

check this question:
https://askubuntu.com/questions/218444/sound-output-starts-delayed

so I commented out this line:

 load-module module-suspend-on-idle

in file /etc/pulse/default.pa, and issued pulseaudio -k waited for restart and now it works without any delay. Hurray!


SGS doesn't go to download, recovery mode nor does it connect via USB after installing a battery MOD I installed some app called "Galaxy s battery icon mod 2" on my rooted Samsung Galaxy S (with a lagfix OCLF), it required rebooting my handset.
Then, it didn't boot up, my handset entered an infinite loop, (after the Samsung galaxy S GT-I9000 then the galaxy S logo appears) it vibrates as it does when some app hangs or freezes, some mouse cursor on the upper left side, and I can't even get it to enter recovery or download mode using the three buttons, but all what it does is restarting the phone and the loop begins again.
Tried to connect it via USB, didn't connect or anything.
Does anyone know what to do before resorting to the jig factory mode method.  Ah, and USB debugging mode isn't activated, and some times I get a recovery screen, guess it got something to do with the app, and it says enter key or something but I can't enter anything or selecvt anything on the screen, it got recover and cancel.

When an SGS won't go into recovery mode, there's a couple things you can try.  One thing is to hold all the buttons to get into recovery or download mode (VolDown + Power + Home, or VolUp + Power + Home, or VolDown + VolUp + Power depending on your model) until the device has reset 2 or 3 times, and then release Power so that the device stops resetting.  Hopefully then it will go into the appropriate mode.  If not, attempt again but this time do it while the device is plugged into USB.

Another thing to try is to remove the battery, then insert it while holding the above buttons.  You may want to try multiple resets combined with this as well, as well as having it plugged into USB.

Once you get it into recovery mode, you can try restoring your backup and/or doing a factory reset and clearing the Dalvik cache.  If you get it into download mode, I recommend using Odin to flash a stock ROM as per this question's answer: Can only access 2.2GB of internal storage from Windows. Just use an i9000 ROM, not the Captivate ROMs linked in that questions.  You can find one at http://forum.xda-developers.com/showthread.php?t=846913, for example the newest Europe/Middle East/Asia one is I9000XWJS8.


Use laptop's speakers from phone i was wondering if there is a way to use my laptop's speakers from my Nexus 5 running android 6.0. Basically i want to create play audio files or music from my phone, that could be linked to the laptop through an USB cable, wi fi or bluetooth.
My Pc has windows 10.
Do i need to download any program on my pc or any app on my phone?

yes, you can download SoundWire from the official site


Downloading and installing the DEBIAN ARM packages and installing them on Termux? Ok, so I was looking for a terminal emulator for android and I found Termux. Then I discovered that it has "apt-get" as a package manager and I played around with it and installed a few packages. Then I had the idea! Debian also runs on a few ARM devices so I should be able to find the URL of the repo where the packages are collected. I searched the internet to  no avail. So now I have two questions:
- What's the URL to the Kali or Debian package repo containig ARM packages?
- How do I install the packages after downloading "package.deb"?

Termux's repository of ARM packages can be found at: termux.net/dists/stable/main/binary-arm/

Additional resources that may be of interest:

Termux Help: Package Management
Termux Help: Termux and Linux


Leaving wi-fi on all the time Does it highly affect the stand-by time to leave wi-fi open all the time on my phone?

Yes, I would imagine leaving WiFi on all the time would drain the battery faster. Even if you're not actively connected to an Access Point (AP), the phone is still constantly scanning all the APs in the vicinity of where you are and that takes energy.


Substratum themes not applying (6P, DU12.1) as pretty much stated above, I have the problem of Substratum themes not applying on my Nexus6P using DirtyUnicorns 12.1 (latest version).

I can choose an installed theme in substratum, choose all the settings I want and hit compile - that's all going well. Substratum tells me it compiled everything correctly, then, when applying, it restarts the SystemUI and boom - nothing. Nothing has changed and when I check back in the Substratum app, it neither lists the theme as compiled nor as applied.

This happens for all themes, I've tried a dozen or two.
It's extremely sad, as themability is THE reason for me of owning an Android device with custom ROM.

Info about DU: AFAIK, DU12.1 has native built-in support for OMS.

Any help would be greatly appreciated :)

Switching off PlayProtect (apperently there is some kind of issue with the recent version of Play Service) and switching on Firebase did the trick.


Is there a shell command to open Ethernet settings? To open the Wi-Fi settings, one can use the following command:

 # am start -n com.android.settings/.Settings\$AdvancedWifiSettingsActivity

Is there a similar command to open the Ethernet settings as following?

The way to launch the Ethernet Activity of the Settings, is to issue:

am start -n com.android.settings/.Settings\$EthernetSettingsActivity

in a terminal.

By the way, the method to obtain an unrefined list of all the activities in an app, is to extract such data directly from the AndroidManifest.xml. Luckily, we can accomplish this with the following terminal commands:

path=$(pm path com.android.settings)
path=${path#p*:}
aapt d xmltree $path AndroidManifest.xml | grep Settings\$. > /sdcard/SettingsActivities.txt

Now, the first line assigns to the variable path the path where to find the Settings apk. This is useful if you need to include this snippet in a script, and you want to make it portable for various Android flavors.

Line 2 sanitizes the path variable, by removing the "package:" prefix set by pm path, thus making it usable for the third line.

Line 3 does the real job: it dumps the AndroidManifest.xml of the app indicated in the path variable. It also filters the output, in order to consider only the lines which contain "Settings$", and then outputs the result, saving it to a file with an arbitrary name (here SettingsActivities.txt), for further examination.


Can't figure out this icon on me status bar This cross in a circle on top.

Goodday,

This icon appears when data saver has been turned on.
I found this under settings - data usage - "right corner 3dots" - data saver.

Android 8.0.0 OnePlus 3t OxygenOS OpenBeta 17


ZTE Prelude 2, cricket wireless change over to tracfone I just bought a used ZTE Prelude 2, a cricket wireless phone, but am trying to change over to tracfone. I followed all of the steps through tracfone, bought a sim kit and installed it, but now the phone is saying it is Perso locked. What does that mean, and how do i unlock so tracfone will take over?

Perso locked in your case means that the phone is locked to cricket wireless, and it can't be used with other carriers unless you unlock it.

To unlock your phone, follow instructions below:

  Our phones work best on the Cricket network, but we'll provide the
  unlock code if you meet the following requirements:

  The device you want to unlock has been active for at least six (6)
  months of paid service.*
  The device you want to unlock is designed for use on and is currently locked to Cricket's network.
  Your device hasn't been reported as lost or stolen. Your device isn't associated with a fraudulent account.

  *The 6 months paid service requirement does not apply to Cricket devices purchased by Unlimited Plan customers before January 4, 2018.

  If you meet these requirements and would like to unlock your device,
  please call (1800-274-2538) a Cricket Support Advocate or visit your
  local Cricket Store

  Source


Can CSS be over ridden on Android the same way userContent.css works on Firefox? This is related to another question I posed recently, but I thought I should keep issues separate and specific.

On a desktop computer running Firefox, one can create a file called "userContent.css" and have the CSS in that file over ride the CSS for specific web sites.

I'd like to be able to do the same thing on my Android 2.2 phone, especially since there are so many sites not optimized for mobile viewing.

I am agnostic about how this is done, whether it's an app, or a setting in the Android default browser, or something else.

PS: I've tried downloading the Firefox beta for my phone (HTC Magic), but it seems that it is not available for my model.

Thanks for any advice.

There is currently no way to apply a user stylesheet with the default Android browser.

If you Firefox isn't available on your phone, you could install the APK manually, but it may not work since it isn't supported.

You could download the Opera browser, connect it to remote debugging using the Dragonfly debugger, and then manually apply the stylesheet via debugging--but there are a lot of steps to that and you would have to add the stylesheet on every page load. This may not be a solution depending on what your needs are for the user stylesheet.


Does 'installation unsucessful' apps occupy space in SD card After downloading some of the apps from google store I get a notification stating phone memory low and subsequently the installation gets failed.My question does these not installed app files get stored somewhere in my SD card and occupy any space?If yes,how can I delete these files.

You can install the diskusage app toy our phone to see what is consuming the most disk usage and if you can free it up. It is a free app, and is only 155kb in size.

I would also recommend ES file manager, but it is a few mb in size. But it allows you to view all the directories on your SD card.

Finally, get dropbox or google+, they will backup your photos over wifi, so you can delete them from your phone to save space.


Android 11 does not trust a theoretically properly imported private CA for WiFi EAP-TLS This question is similar, but unrelated to this one answered two days ago.
I have been using WiFi EAP-TLS at home, for nearly a full year, with multiple desktop operating systems and Android 10 with zero problem.  Android 11 is a different story, Google changed EAP requirements so CAs must be validated. I have always imported the CA and selected options to verify CA on all my devices, the trust chain is important to me.  Unfortunately, it's not working on Android 11, the WiFi bugcheck logs say, "Certificate verification failed, error 19 (self signed certificate in certificate chain)," and points to the private CA.  As far as I am aware, root trust Certificate Authorities, whether public or private, are always self-signed.
Herein lies the problem.  CAs must be self-signed, yet Android 11 does not trust self-signed certificates.  I have the CA supposedly imported properly into the "User" CA store, it is displayed there, and the per-device client certificate is imported into the WiFi store.
I've also asked this question in two places on Reddit, where a couple educational network admins also have the same CA problem, but no answers have been discovered yet.  I'm hoping someone on this forum knows what's up.  Any pointers will be much appreciated!
(I would have also added tags "eap-tls" and "certificate-authority" but I don't have enough reputation yet)

For anyone who doesn't want to trust a public CA for their network: we made this work by ensuring the dnsNme was set correctly on our certificates. We had our CN equal to a domain, and our SAN incorrectly had the DNS field of SAN equal to a string like "Our RADIUS Server". Changing this to a proper domain and setting the "domain" field in the settings made this work.
From the Android SDK docs (what a place to find an answer to this), if an SAN is present, it is preferred over a CN.
https://developer.android.com/reference/android/net/wifi/WifiEnterpriseConfig#setDomainSuffixMatch(java.lang.String)


Can't get GPS Lock on HTC M8 Currently I have an HTC M8. I bought the AT&T version and converted over to GPE without a hitch.

Lately I've noticed my GPS apps have not been working. So, I did some research and downloaded GPS ToolBox to try and refresh the A-GPS Data. When loaded, I noticed that it would not lock on to any GPS satellites. It could see 15+ (which i think is pretty decent.)

I did a complete restore after making a backup to no avail. I am not sure what could be the problem, is there a best route in order to troubleshoot this?

I can provide further detail if needed.

I have identified same problem with the stock firmware 4.4.4 even after a factory reset.  This seems to be an issue with the stock ROM.

Other info: I contacted HTC.  First I was told that my phone would be replaced, now I am told it is a known issue and they are working on it.  But I have found very few reports of this problem online.  I would think that it would be affecting a lot more people.


Installing Android on iPhone 3G Possible Duplicate:
  Can I install Android on my non-Android device?

I read somewhere that someone managed to get Android running on an iPhone 3G. Is there an easy  tutorial on how to do that?

It's just for testing purposes.

Thanks!

There are rater complete installation instructions on the wiki for the main project:

http://www.idroidproject.org/

Also, while you mentioned that it's just for testing, I can't stress enough how "beta" things are right now; this is not in a state suitable for end-users yet, and won't reasonably be until power management is complete. "Easy install tutorial" and "Android on iPhone" don't (at the time of this writing) go well together yet.

You'll have the most useful results with Android 1.6; while 2.2 (Froyo) builds are currently available (and I'm running it today), you'll find that it's a considerable amount of flux, with large pieces of basic functionality not there yet.

For additional questions or to search for common problems, the iDroid forums and IRC channel (#iphonelinux on irc.osx86.hu) are a good place to check.


Galaxy S3 Mini - my provider only offers micro and nano SIM cards I've ordered a [Samsung Galaxy S3 Mini] (hasn't arrived yet) :

http://www.gsmarena.com/samsung_i8190_galaxy_s_iii_mini-5033.php

On the above link, it says that it uses "Mini-SIM".

I've tried double-checking that info on Samsung's site, but there it only sais "Sim Support":

http://www.samsung.com/uk/consumer/mobile-devices/smartphones/android/GT-I8190RWABTU-spec

My problem is, my provider only lets me switch my standard SIM to Micro-SIM or Nano-SIM.

Is there a way to make any of these work with the Galaxy S3 Mini? Anyone who already owns such a phone has had this issue? (and hopefully solved it)?

A Mini-SIM is the same thing as a standard SIM nowadays. The term was coined back in the day when SIM cards were the size of a credit card. Thus, the current-day regular SIM was known as Mini-SIM. Micro-SIM is the next step (used in newer smartphones, examples from GSMArena) and then there is the Nano-SIM (used only in iPhone 5, iPad mini and Asus PadFone Infinity, as far as I know).

See GSM SIM card evolution for graphical representation.


Factory Reset NYX mobile Android 4.0 I have a Nyx Ice Cream Sandwich tablet, running Android 4.0. I need to do a factory reset, but I'm still not able to do it. How do I do it?

I'm able to get the little android man with the red triangle and exclamation mark.

Thank You guys!

Can you still boot normally? If yes, you can just go to Settings > Backup & Reset > Factory data reset.


What emoji combinations are supported in Gboard's "emoji ktichen"? Google released a feature in Gboard where one can combine two emojis to create a sticker in Feb last year, before expanding it in December.
Is there a list of which emoji combinations are supported?

I don't know of an exhaustive list, and I expect it would be a fast-moving target because the hybrid emojis are stickers instead of unicode.  Emojipedia and Google both have blog posts about Emoji Kitchen, and the subtext on both is that Google expects the set to grow over time.


How to customize the notification bar? I don't know even thats possible in case of Xperia mini pro. When I flashed Cyanogen ROM into my Xperia Mini Pro, I was able to customize the notification bar. I mean I was able to change the background color, time color and even was able to show the seconds counter beside the time.

Is there any system level application that does the above job on regular(Original) ROM on Xperia Mini Pro ?

I was under the impression (before stumbling upon this solution) that the notification system was a part of the secured Android system, and would only be available for modification while rooted or modded.

This little application, Notification Toggle, gives you the power of notification power widgets without root privileges!

As far as graphical and design changes, the most likely solution is a custom ROM, and you will most likely not be able to do this without rooting and flashing a ROM.

Note: this app does not seem to enable you to change the lookout of the notification bar, which, upon second reading of the question, sounds like most of what you are looking for. i was excited about this app, so i felt compelled to share it, but i don't believe it allows for cosmetic changes to the notification bar :/ sorry!


How to restore IMEI and get back network functionality? Related, but no solution: How to restore my IMEI on Galaxy S if I don't have a backup of /efs?

My IMEI has turned blank after a nightly update, I can see it is blank when typing *#06# and I have no GSM functionality. Also baseband version is unknown.

I do have a backup of the /efs directory. I have restored the contents. But even before restoring, I checked the md5sum of the mps_code.dat file, and it was the same as the backup, so I didn't have my hopes up.

Nevertheless, I did a full overwrite of the contents with my backup. Rebooted, no change.

I have also tried to do a factory reset, reinstall Cyanogenmod, two different versions, wiped cache, Dalvik. Remove the battery, SIM card, USB cable.

I am willing to install the stock firmware, if I could find it, or patch the modem firmware somehow. Where should I go from here in a situation such as this one?

If you also have "No Baseband" in the about screen, You can try to flash only the modem and see if it help.

e.g With Samsung devices, I usually use Odin with the ROM from SamMobile,
I extract the modem file from the archive and put into a new .tar file, and then flash the new file with Odin.

On Linux i can use Heimdall which allow my to directly flash a specific region like the modem.


Can I open Chrome on Android from command line ? Is there command line alternative to Chrome Remote Debugging ?

Manually, I can open tabs from chrome://inspect/#devices . As well as I can open Chrome on desktop from CLI - e.g. chrome.exe --incognito --remote-debugging-port=9222.

But is there option to open tabs on Chrome on Android, which is connected to PC from CLI ? I need such option to semi-automate tests.
thanks !

Note: You would need root access to run any command mentioned below for Android 4.2.1.

Contrary to traditional desktop OS, apps in Android are called upon using their component, an Activity. While developers can call the activities using the programming, the end-users are left with command-line to do the calling.

Android has an Activity Manager am to manage the activities, and among other things it can do, the most basic thing it does is to call an activity of an app.

Before we proceed,  setup ADB on PC if you haven't since we're going to rely on it. Also make sure that the device is getting detected in PC and by ADB.

The Chrome for Android app's activity responsible for managing tabs is com.google.android.apps.chrome.ChromeTabbedActivity. You can find this activity listed in the said app's AndroidManifest.xml (inside the APK). As for how I came to know about it, I simply launched Chrome, opened a tab, and looked upon the most recent activity using the command:

adb shell dumpsys activity recents

Replace recents with activities for Android 4.2.1.

The real question is:

  [Is] there [an] option to open tabs [in] Chrome on Android?

(Obsolete) Enter the following command to do that:

adb shell am start -n com.android.chrome/com.google.android.apps.chrome.ChromeTabbedActivity -d "<URL>" --activity-clear-task

(Tested on Sept 21, 2015) It seems that Chrome has changed the name of the activity responsible for tabs. The new command is:

adb shell am start -n com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity -d "about:newtab" --activity-clear-task

See step 3. in this answer to know the details of the command, if you're interested.

Replace <URL> with the address you want, e.g.  127.0.0.1, google.com.


Unable to root Motorola g7 Power I have unlocked the bootloader and enabled USB debugging. I can launch TWRP over fastboot and use the interface.

To root the phone, I tried the following:

Push the TWRP zip onto the device adb push ~/Downloads/SuperSU-v2.82-201705271822.zip /tmp
In the TWRP interface do: Install -> Add Zip -> /tmp/SuperSU-v2.82-201705271822.zip > Swipe to continue
Process finishes and Phone reboots
Open Root Checker Basic

  "Sorry! Root access in not properly installed on this device. "

My goal is to be able to run su in adb shell.

What have I done wrong here?

SuperSU is discontinued and shouldn't work as expected on new versions of Android. You should consider using Magisk.

Flash the zip the same way you did for SuperSU. Then remember to launch magisk app and do the necessary additional installation steps.


How to delete downloaded files on Android TV I have a Sony Bravia TV with Android.

When trying to install a new app from the Play store it says I have to free up some space, as my storage is full.
When checking storage in the settings, it says the cca 5.5GB are in the Downloads folder.
But I have no option to delete it, as there is nothing like a file manager.
I also cannot download any file manager, or cleaner etc. as it won't install anything, cause the storage is full.
Any ideas how to solve this?

Although there seemed to be enough space (0.9GB) to install a small file manager app (about 30MB), I had to:
- clear caches from several apps
- deleting stored data from several apps
- uninstall some default app updates
After that I got about 1.6GB of free space, and just then it allowed me to install a File manager, where I was able to browse to the Download folder and remove unnecessary data.

I don't think this is a real solution, there must be another way, but this was the way that worked for me.


How to turn off/mute the USSD notification sound in Jelly Bean? I recently got my Lava Iris 501's OS updated to 4.1.1 and now it even chimes whenever my operator sends me a 'Last Call/SMS/Data Cost' notification. This happens even on the Silent/Meeting modes also.

What can I do so that my phone doesn't bug me at my workplace?

I got an answer , download SliderWidget and reduce the media volume . In short the media volume is controlling the volume of USSD pop up notification.


What is the storage constraint for Micro SD cards on the LG Optimus L7 II What is the maximum capacity of the Micro SD card that the LG Optimus L7 II can accommodate?

According to the following review it's 32GB
LG Optimus L7 II & L2 II available next week

Is this accurate? I would much prefer to put 64GB in there. Is there any disadvantage to using the largest Micro SD card I can find.

I found the following question on this site

Will bigger Micro SD will slow down mobile

The answer to the question states that the phone in question can go up to 32GB, is this a coincidence or do most or all android phones have this limitation.

The product page on the LG site doesn't seem to indicate what the limit is or if there is one.

LG OPTIMUS L7 II

32GB is the maximum capacity for a card following the SDHC standard found in version 2.0 of the SD standard.  Cards larger than that are SDXC cards.

Unlike the compatibility issue between SDSC and SDHC, An SDXC card is likely to work on an SDHC device, especially if you reformat the card to use the FAT32 file system, rather than the default exFAT, though a high performance card (e.g. UHS) will be limited to SDHC levels of performance.


HTTPS websites slow on Phone I am trying to investigate why our Phones are experiencing slow browsing to HTTPS sites.

It happens only the first time after the phone in question has been locked for a couple of minutes or more.
So when browsing to a https site after unlocking it, it takes over 1 minute.
Then, suddenly everything works until the next time we lock the phone screen and leave it for a while.

We are on my company wifi, and it is only happening there it seems.

I have tried everything when it comes to the router, and it is not an ISP fault.

Tried to use packetcapture app while connecting to a https site after unlocking phone, seems to be port 443 used by the https websites.

If I open for example BBC.COM (which seems to use a non secure port 80) it works fast and normal.

Any ideas?

BTW:
Traceroute and Pinging shows great results to the https sites, and download speeds are great as well.
Happens only on browsers (Both chrome and Stock samsung browsers).

Thx

You may need to update your device. If you have already updated your device, you may have downloaded a bad update. Unfortunately, this happened to me too. After i downloaded my update, my phone kept on freezing on the facebook market place. Sprint suggested that i just bring my device to the store. Hope this was helpful.


Old Chats disappearing from Whatsapp Old Chats are disappearing from my Chat-Overview in Whatsapp. I did not delete them, and they are still there: When I search for a contact and then click on them, I can see all the messages of the chat, but nevertheless this chat is missing from the Chat-Overview.

Now my problem is: One of my contacts has quit whatsapp over a year ago, so their account is not active anymore. And therefore I do not see them in my contacts-list. If only I could click (or tap) on that contact, then all the messages would be there again, I am quite sure.

But how can I open this chat, which is not visible in the chat-overview anymore and does not have a valid contact attachted to it?

My guess is, that you archived your chats. To find your archived chats, scroll down to the bottom of main WhatsApp page and you'll see the archive tab. Open it and your chats should all be there. Long press on any of them and move them back.

You can also try searching for a word that you might have written to a contact. For example, if you search for the word "thanks" in WhatsApps main search bar, that should bring up any chat that the word was written in.


Default contact for a number Is there a way to set a default contact for a specific number, which happens to be bound to multiple contacts?

I.e. for some reason Alpha and Bravo share a telephone number. Currently if I try to send a message to Alpha, it "appears" as I'm sending it to Bravo (the number is the same). Can I make it "appear" as I'm sending it to Alpha, instead?

NOTE: in case someone didn't read carefully, this is the opposite of selecting a default number for a contact (it's selecting a default contact for a number).

I'm using cm7 and cm10.1.2 on two different phones, and they both display this quirk.

If I understand what you're after, this should do the trick:

Add a P (pause) at the end of the phone number for whichever contact(s) you do not want to be the default.  I imagine a W would also work, but I can only vouch for a P.
Ensure the "default" contact (if that's what you mean) has the normal number.

In your scenario, just change Bravo's number from, say, 1-800-555-1234 to 1-800-555-1234P.

I just tested this approach and both numbers dial.  The first thing I tried was adding an extra digit, but that did not work.


Changing app drawer wallpaper in Jelly Bean? I have Galaxy Nexus running Jelly Bean. Is it possible to change the background color or set a wallpaper for the apps drawer? Right now there is just a solid black background color. It's really bleak.

Having the free GO Launcher Ex installed, you can install Go Launcher Jelly Beans Theme, also free, and fully personalize your backgrounds.

  Ultra clean, sharp APP DRAWER with FREE REPLACEABLE backgrounds

  To change App Drawer background:

  Press Menu > Pref > Visual settings > Backgrounds > App Drawer Background > GO Theme background


Can not boot into TWRP recovery - Black screen I am trying to flash TWRP onto a Redmi Note 4X
I have the device's bootloader unlocked.
I tried the following: Boot into fastboot mode on the Redmi (Vol Down + Power). Then type fastboot flash recovery twrp-3.2.1-0-mido.img on my PC. It says

target reported max download size of 536870912 bytes
sending 'recovery' (26868 KB)...
OKAY [  0.625s]
writing 'recovery'...
OKAY [  0.360s]
finished. total time: 0.985s

Then press Vol Up + Power. The mi logo appears and then screen turns black and nothing happens.
When I type adb devices it says

List of devices attached
8dbec68d0604    recovery

So it seems I am in recovery but nothing happens.
I tried alternatively with older TWRP versions available for download. Same result. I also tried fastboot boot twrp-3.2.1-0-mido.img It says

downloading 'boot.img'...
OKAY [  0.617s]
booting...
OKAY [  0.654s]
finished. total time: 1.270s

But also same results.
I can restart and load into MIUI just fine after that.

I tried this with the stock MIUI version that came with the phone, also with the latest Stable ROM and also with the latest Developer ROM. Always same result.

When I choose "Reboot into Recovery" from the MIUI Update Settings, I get to the MI-Recovery which seems to work fine.

Now I am out of ideas. Any help is appreciated. Thanks!

I found a thread over at xda that helped me solve the issue:
https://forum.xda-developers.com/redmi-note-4/help/strange-problem-black-screen-redmi-note-t3716706/page10
Apparently it is some issue with a certain kind of display and the official TWRP can't handle it correctly. The proposed solution is to download an unofficial TWRP version found here:
https://cloud.mail.ru/public/9bcY/3AeSnww5N

Hope this helps anyone with the same problem.


Upgraded my phone from 1.6 to 2.2 Android version, if I restore "Factory Settings", which version it will be? Possible Duplicate:
  Will factory resetting my device remove the Android upgrade?

I upgraded my Galaxy 551 from 1.6 to 2.2 Android version some time ago with Samsung Kies, now I want to make a factory reset due to reset all of my settings and give the phone to my mother.

I'm wondering about wich version the factory reset will bring to me. It is the factory version (1.6) or the upgraded version (2.1)?

Factory Reset doesn't take your device back to factory condition. It just clears all data, settings, etc.

So your phone will not go back to older Android version. It will be on the upgraded Android version (or any ROM that you have installed) with all data cleared!

Watch this video for more help. At 5:30 the guy answers exactly what you are asking.


Chrome browser in Android always renames downloaded file to Download.bin I'm using a Nexus 7 device and whenever I download a file greater than 28MB, the Chrome browser renames it to Download.bin no matter what the name of the file. When I download a file less than 28MB, the type (jpg, for instance) remains intact but the name of the file is changed to "Download". When I use Firefox within android, the files are downloaded as expected no matter what the size. My hunch is that this is some security feature built into Chrome. The site is hosted by IIS 7.5 and I'm using the BOM with JavaScript to download the file. Any idea of a workaround for this so that Chrome downloads the files correctly? It works correctly on the desktop version of Chrome, but not the android version of Chrome. Would appreciate any help!

It's possible there may be a problem with the site itself, or the browser. What you can do is to rename the .bin file to the expected filename. e.g. If you downloaded music.mp3 and the browser renamed it to anotherfilename.bin, just rename it to music.mp3 using a file manager.

You could also try other browsers. Give Dolphin, Boat Browser, or Opera a try and see if you still encounter the same problem.


Auto turn on after power on for an Android-based device If I'm not mistaken, if an Android-based device is turned off (or powers down due to completely exhausted battery) and then is charged up again, it will automatically boot only to battery charging mode1.

Is there anything (configuration switch, external application etc.), that would allow me to introduce such behavior to any other Android-based device? Or is this kind of behavior limited to mods only and I'd have to write my one mod to accomplish this?

1 The only exception, that I'm aware of, is my old good LG 540 with CyanogenMod 7 on board, which (for the reasons beyond my imagination, since I'm rooting or modding newbie) always powers on to full system, when charged up from off state.

It is a kernel (feature known as recovery) and you can't change this, unless you change your kernel with desired option enabled.

Didn't try this out, but Autosleeper Auto power ON-OFF application seems to do, what you want.


In using a VNC to control a computer, is it possible to have the cursor go to where you touch? I don't have an Android device, but I'm thinking of getting a Nexus tablet, and using android-vnc-viewer to make the Nexus an input device to control the PC, and provide faster cursor movement/text editing. Both screens would be a mirror of each other.

From VNC videos that I see on YouTube, such as in this video, after optionally zooming in, you can touch the screen, and slide it to move the view. However, the cursor remains centered. The cursor seems to only move when you touch a button/control.

Once I'm happy with the view, can I lock it? Screen touches would then just move the cursor to where I touch. I already know of text manipulation commands once a cursor is within text such as words, sentences, or paragraphs; I'd rather not have to double tap to move the cursor and select, as I have some RSI (repetitive strain injuries)/Tendinosis.

Thanks for any information.

The app has multiple input modes. In the default, tapping the display moves and clicks the mouse. In another mode, the display acts like a trackpad, so dragging along the screen causes the mouse to move accordingly on the remote system. See the "input modes" sections of the documentation for details. You can change the input mode from the app menu without disconnecting.


Nexus 7 Error: Failed to mount /cache I had a problem with my Nexus 7 (2013, 2nd gen) tablet.

I restarted my tablet and when it was rebooting again, it showed "Google" logo and then stood there.
I wait it (around 20 minutes) but it did not do anything else.

Trying factory reset... [failed]

I have check many videos that suggesting apply a hard reset or factory reset, so I tried to do this.
Once in Recovery mode, I notice that some error messages appear at bottom of screen, they are:

E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
E:Failed closing /dev/block/platform/msm_sdcc.1/by-name/misc (I/O error)
E:failed to mount /cache (invalid argument)

Then I selected wipe data/factory reset option and execute it. It started to formatting /databut then similar errores were flushed (here I copy log):

-- Wiping data...
Formatting data...
E:failed to mount /cache (invalid argument)
Formatting cache...
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
Data wipe complete.
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
E:Failed closing /dev/block/platform/msm_sdcc.1/by-name/misc (I/O error)
E:failed to mount /cache (invalid argument)

Here I show an image of recovery error messages

Trying unlocking device... [failed]

Some pages and forums suggest to flash and install another ROM, I have selected Cyanogenmod and following steps shown inCyanogen wiki page. The first step is unlocking device, this process starts formatting /data and then formatting '/cache', but again it cannot be mounted.

Finally...
How can I fix these issue?

Try booting into fastboot and run fastboot format cache and then fastboot erase cache.


What functionality will I lose by installing CM on my Xperia Z3? I am considering to replace the stock rom of my Xperia Z3 with Cyanogenmod.

What are the functions that will no longer be accessible / installable after doing this switch?

For example I heard that Z3 comes with special DRM protected drivers for the camera, so I assume the camera will be worse after installing CM.

What about the Stamina mode to save battery? Will I still be able to use this somehow?

And what about the PlayStation functionalities of the phone?

in my experience the phone worked really well except for the camera. To take photos I used Google stock camera, shots usually came out distorted (HDR unusable) and except when in perfect light conditions photos where bad, also audio recording of any kind (voice or video) was impossible to achieve. So finally I went back to Sony ROM ... but feels outdated and slow in comparison


Unable to connect to websites which donot start with www I have created hotspot from my Andriod mobile and using Internet on laptop Windows 7 but I'm unable to connect to websites which don't start with www..

The error:

  If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web

Should the settings be done on mobile or laptop? What should I change?

Note I am using mobile data. Websites starting with www. are working fine. The problem doesn't occur on my phone. Also everything is OK when my laptop uses LAN.

Mobile(alone with data) and laptop(alone with LAN) works fine , it is only when mobile hotspot is used in laptop, i am not able to access websites which don't start with www.

How do I prevent Firefox to use: www.foo.bar instead of foo.bar? suggests setting browser.fixup.alternate.enabled to disabled to be a working solution

Steps Involved Source

Turning off Domain Guessing

In the address bar, type about:config and press Enter
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page. (There's no warranty with Mozilla so I suppose this is to just a warning joke)
In the Search field, type fixup.Double-click the browser.fixup.alternate.enabled preference to set its value to false.

Changing the prefix (to www )

In the about:config page, double-click the browser.fixup.alternate.prefix
In the pop up menu enter www.  ( if that doesn't help try www without . )

This is perhaps what was suggested in comment


File-based encryption security and backup/restore considerations I'm evaluating making the move to file-based encryption on my device, but am having trouble finding satisfying answers to the following questions:

Apps can place data in either a Credential Encrypted (CE) or Device Encrypted (DE) storage, but does this necessarily mean all files in /data/ are encrypted? What if I run echo 1 > /data/test.txt from a shell? Is test.txt encrypted via CE?
I want my data to be protected with more than a four-digit PIN. Can a separate boot passphrase still be used to unlock encryption?
To enable FBE, /data/ needs to be wiped. Can I restore a pre-FBE TWRP backup after enabling it to fully restore my data?
Does TWRP still prompt for encryption password at boot as it does with full-disk encryption?
Can I make TWRP not prompt for encryption password so I can run automated backups via OpenRecoveryScript?
If I create a backup without providing my encryption password, is TWRP smart enough to restore the encrypted data as-is on restore?
Are there any other TWRP backup or restore caveats I should be aware of before diving in?

Apps can place data in either a Credential Encrypted (CE) or Device Encrypted (DE) storage, but does this necessarily mean all files in /data/ are encrypted?

What will be encrypted and which key is used depends on the encryption policy. The encryption policy specifies on a per-directory base what to encrypt. Exclusions (no encryption) seem to be possible, too.
The currently used policy us hard-coded in the source code of Android.
There you can read that currently some exclusions are known:

/data/apex
/data/data
/data/lost+found
/data/media
/data/misc_ce
/data/misc_de
/data/system_ce
/data/system_de
/data/user
/data/user_de
/data/vendor_ce
/data/vendor_de

For some of those exclusions there is an encryption policy for a subdirectory specified. However If I understand it correctly placing a files directly into one of those directories means that no encryption will be applied.


How to check if Android app is taking pictures in the background? I have Android app that I found to be loading Camera in the background.
It's one of the most widely used internet browsers - Chrome.
I been trying debug what is actually happening with LogCat in the Android Device Monitor.
Couple of lines that catch my eye:
I/CameraManagerGlobal(24529): getCameraService: Reconnecting to camera service
I/CameraService(331): getCameraCharacteristics: Switching to HAL1 shim implementation...
I/NuPlayer(331): setDataSourceAsync(URL suppressed)
I/CameraClient(331): Opening camera 1
E/QCamera2HWI(331): [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t**): E PROFILE_OPEN_CAMERA camera id 1
I/QCameraHalWatchdog(331): Starting Watchdog Thread...
E/mm-camera-intf(331): mm_camera_open: dev name = /dev/video2, cam_idx = 2
D/QCameraParameters(331): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported pic sizes: 1280x960,1280x720,640x480,352x288
D/QCameraParameters(331): int32_t qcamera::QCameraParameters::setNumOfSnapshot(): nBurstNum = 1, nExpnum = 1
I/QCameraHalWatchdog(331): Stopped Watchdog Thread...
I/CameraClient(331): Destroying camera 1
E/QCameraPostProc(331): int32_t qcamera::QCameraPostProcessor::deinit(): Jpeg closed, rc = 0, mJpegClientHandle = 7900

How would I know if picture is actually taken?
Is this possibly normal behavior to check camera availability?

Checking if one or more camera devices are available is not that unusual as it seems, it is often used to check whether camera-options should be shown or not. It seems unlikely as well that an attacker/spy would generate a log output that could reveal their intention. However, opening the camera as shown in your log seems suspicious and you should investigate it further. My suggestions:

If you got some strings or classnames you can search further in the open source of "chrome for android" (see this post for where to find the code) and check where the strings are used in the code. Maybe you can identify the calls and imports to the Camera API and check how they are used. Depending on the Android version the imports may vary, but here are some examples for the Camera2 API to look out for:

"android.hardware.camera2.CameraManager"
"android.hardware.camera2.CaptureRequest"
"android.hardware.camera2.CameraCaptureSession"

If you want to dig deeper I would recommend you to hook certain API calls with tools like Frida or RMS. This tools allow you to hook java calls when they are executed and you can log some more output if necessary. So you could actually hook the java camera API and see if a picture was taken. In case you have built the code yourself you can as well attach the debugger and set breakpoints to stop the code at certain states.

It sounds weird, but one of the fastest ways is maybe to ask the developers of chrome for android (embedded chromium) directly why there are using the camera and where in the code. Maybe you can open a new discussion on the official project webpage to ask devs to have a look at it.


How do I get back to the regular camera? I hit something by accident and now whenever I use the camera app it's using the front facing camera evey time.

How do I switch it back?

Open the camera app and press the button that looks like a camera with a circular arrow under it.

(original picture from this article about ICS on thetechlabs.com)


Change SM-G530H Memo App Limit of 1500 Characters (rooted phone) I have Samsung Galaxy Grand Prime SM-G540H lollipop version 5.0.2, rooted... I have also Titanium Backup Pro and ES Root File Explorer...
Stock Memo App has limit to characters per each unit, I think 1500 characters...

1- Can I modify or edit something in files with ES Editor to make Memo App support more than that limit?!!

2- I went to root/data/data/com.samsung.android.app.memo but I didnt find where that "limit of 1500 characters" is written to edit it...

3- Also concerning Memo App... one can only each Memo alone share via bluetooth, one can't select all then share via bluetooth.

PS: I am familiar a little with .xml files and csc features

Thanks a lot in advance for everyone :)

I would suggest you to use "Keep" app ( Google app ), It's just same like memo and the advantage of using it is that it is synced with your google account too so you can access note in it from all of your devices and desktop too.

I will be still search for extending the limit of memo for root users if there's. Thanks!


How do I reinstall MediaScannerService? I recently rooted my Samsung Exhibit II. and was going through and deleting some bloatware and accidentally fat fingered and deleted the MediaScannerService not realizing what I was deleting.  Does anyone no how to reinstall the service?  I have tried downloading applications but they are just accessing the service and restarting it.  Since the service has been deleted the applications essentially do nothing.

There are only two ways to get it back:

Flash a (new) ROM. This could be the same you are currently using, or any other one fitting for your device. To find a matching one, please see Where can I find stock or custom ROMs for my Android device?
Find the exact ROM you are currently using, and extract the corresponding files from it. Then copy the extracted files to your device.

For the future, keep in mind to always make a good backup before tampering with system files. A nandroid backup is a very good idea, as with that you are always able to get back to the state before you started with any changes.

See also the comments on your question for other details.


How can I set different notifications sounds for different WhatsApp groups? How can I set different notification sounds for different WhatsApp groups? I can set different notification sounds for different contacts individually, but I want to know whether I can set different notification sounds for different groups.

WhatsApp doesn't support different group notificaion sounds for groups as of now. There's no way to do it.


Removing Youtube app search history I've got a problem with the Youtube app's search history. It contains only two entries and none of the searches done before or after are shown. The app doesn't save the new entries.

I tried removing both cache and data for the app, but that didn't help. The 2 entries are restored soon after I log in again.

I'd like to remove all entries, or make new entries show up again - I'm happy with either solution.

Delete individual searches

You can delete individual searches from your search history when you’re signed in with your account by following these steps:

1.Tap the search icon

2.Tap and hold a suggested search result with the history icon  next to it.

3.Tap Remove on the pop-up asking if you want to remove this entry from your search history.

Clear your entire search history

To clear search history for your account, go to Menu > Settings > Privacy and tap Clear search history.

Source: https://support.google.com/youtube/answer/57711?hl=en