How to AutoRotate in LineageOS With ADB?

Android 4.2

Auto rotate on:

adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1

Auto rotate off:

adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0

Landscape:

adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1

Portrait:

adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0

Android 8

Auto rotate on:

adb shell settings put secure show_rotation_suggestions 1

Auto rotate off:

adb shell settings put secure show_rotation_suggestions 0

introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance:

adb shell settings put secure num_rotation_suggestions_accepted 0


Stop receiving text messages in my Samsung Note 8 that are sent from spammers email address

You receive only spam from one account - you are lucky. Typically is an mail account gets older you receive spam from hundred of spammers once your mail address has been recognized by a spammer.
Spam protection typically a job of your mail provider. Often the "SPAM detection report" is hidden in the mail header. On most mail providers you can use the fields in the mail header to move mails to certain sub-folders, e.g. in this case to a "potential spam" folder in your mailbox. Mail provider can reject spam messages so that they never reach you. I would assume that this already happens if you only receive SPAM from one sender.
Additionally you can check if your mail provider allows you to provide new SPAM samples so that they might get recognized in the future. Sometimes there is an e-mail address you can forward SPAM messages (as attachment) to or you can mark message as SPAM in the mail provider web GUI.
Very few mail clients include a client side SPAM protection based on machine learning. Bt typically such systems are more common on desktop PCs (e.g. in Thunderbird). In Android apps such a self-learning SPAM protection is not that common (I don't know any app that would provide such a feature).


Go to Settings>Mobile Network>Network Mode there will be three modes for you GSM only, WCDM only and both. Just select WCDM only option and then you can use 3G.


what do we do too set the default apps for the applications running on the system?

I assume you meant to ask how to set default apps for certain actions/tasks, such as taking a picture, writing an email, opening a web page etc.

The answer really depends on which version of the Android OS your device is running, and also to a lesser extent, who the manufacturer of the device is.

If you consider a Google Nexus device running the latest version of stock Android (4.4 KitKat), the OS presents you with a picker dialog to select which app you would like to launch to complete the task. In the screenshot below, I attempted to launch a camera to take a picture:

Screenshot (click image for larger variant)

You can select one of the options and then select "Always" or "Just once". As the buttons indicate, your selection will either persist for future tasks or you'll see this picker-dialog every time.

If this list changes because you uninstalled the app that you had marked as "Always" or if you installed new apps that can handle the same task, this dialog will be presented again.

Certain device manufacturers (or OEMs) may choose to modify this behavior as part of their "skinning/customization" of Android. HTC famously changed this behavior for some of their devices (for a slightly technical explanation of their change, read here). You can also see how this dialog picker has changed historically here.

  what do we do too set the default apps for the applications running on the system?

You need to perform an action that multiple apps on your device are capable of handling so that the above dialog presents itself. It's hard to know when this dialog will present itself since apps and their capabilities change all the time. For example, if you installed a new camera app, you can make it the "Default" camera app by trying to launch the camera from elsewhere in the system or other apps (like hitting a button that says "take a picture").

  is there a centralized settings on Android?

Short answer: No (but as of Android 4.4, you can set a default "Homescreen" app from the Device Settings-> Home. Note that you will only see this option if you have multiple Homescreen apps)

However, if you did set an app as the default handles for certain tasks, and you wish you no longer keep it the default, you can navigate to it's "App Info" page (Device Settings->Apps->pick your app) and hit the "Clear Defaults" button.


Email app: how can I change the sender address?

Why not change the account name?

NOTE: This is for Email 4.2. Instead of having something like geffchang, change it to geffchang@email.com. In the Email app: Settings > Added accounts: [account] > Common settings: More settings > Account name.


Flashing it with the same bootimg and system without importing the mmssms.db fixed it. To be sure, I imported it again and it did the same as before.

It therefore seems that the replacing the DB is a bad idea, there must be another way.


Where did you downloaded the app from?.
Is there any pending os update?.
can you retry using USB debugging mode enabled?. Just revert after that.
is your phone rooted or is having su binary on it?.
did you bought it new officially from their website?.
is your phones status official (bootloader, recovery, etc)?.


On Nexus 4, system still "up to date" with Kit-Kat

Okay, Android finally updated. It found the update the instant I tried to connect through my phone service, as opposed to connecting via wifi. The strange thing is that I could not in fact connect via the phone. But apparently, turning on the mobile data switch prompted the message that an update to Lollipop was available, even if there was no mobile data to be used there.


Is A-GPS information downloaded by the OS or by the individual apps?

The OS manage the A-GPS information, but you can ask to force a new data download to update it.

Andorid do it automatically when A-GPS data expires.


Tablet not recognized as removable storage

On Android 4.0+ devices, certain devices without a separate memory partition (i.e. separate sd card) don't have the USB Mass Storage option, rather Android now uses MTP (Media Transfer Protocol) or PTP (Picture Transfer Protocol) to transfer files.

NOTE: If your device supports SD Cards, please make sure that an SD card is available in the device before connecting it to the PC.

To configure between MTP and PTP (and USB Mass Storage if an SD card is available): go to Settings > Device > Storage > Menu > USB computer connection.

To transfer files to your device via MTP, make sure it is in the MTP mode, then connect it to your computer via a USB cable.

On Windows: wait for Windows to install the necessary drivers, then your device will be available in My Computer. (more info)

On Mac: You have to install the Android File Transfer software. Follow the steps on this support page.

On Ubuntu: follow the steps in this article.


How to make a simple bookmark on HTC Wildfire S?

To add the current page as a bookmark, in the browser:

Menu->Bookmarks->Add Bookmark

Then you can long click the bookmark and select 'Add Shortcut to Home' which will add an icon for the bookmark on the desktop. Alternatively, long click on the desktop, then select

Add Item->Shortcut->Bookmark


Missing photos from Google Photos app! Help!

Try looking for them on the bin folder or here.


What is the name of Google Translate's (android) functionality, that with the app I can search for any highlighted text?

In this particular case you are using Google Keyboard which has the "Translate" feature. Such a feature is built into the custom keyboard.

Using Google Keyboard you can see the "Translate" menu option:

Google Keyboard Cut Paste Menu in Chrome:

Other keyboards which can come as default on devices like Samsung have no such feature.

Samsung Keyboard Cut Paste Menu in Chrome:

It is also possible that a custom item will appear in the pop-up menu which would be specific to that particular app. So, if you want to have that feature (or possibly others), you'll need to check if its feature of the app or the custom keyboard.


What is running?

On today's Android phones, Google Play Services samples and records your location occasionally, even if you have "location sharing" (what used to be called Latitude) turned off, in order to support a number of use cases:-

It allows apps on the device to define regions in space, and notifies an app if you go into (or out of) a particular region. This way, only Google Play Services needs to be running and checking location, rather than every location-based app on the phone keeping track of your location separately and using power unnecessarily.
It looks at which Wi-Fi hotspots are visible, and sends them periodically to Google, to support the feature of finding "coarse" (less accurate) location without turning on GPS.
It looks at your speed to determine whether you're stationary, walking running, cycling, or driving. Google Now uses this information to show you a "you've walked five miles this week" card, if you turn that on, and the statistics are also made available to other apps, again so that they don't all have to burn battery by tracking location individually.
It samples where you spend time in office hours and the evening so that Google Now can work out where your home and work are, and when you commute. This lets it offer you relevant traffic and weather information, and it tells it when you're travelling away from home to suggest places to visit &c.

Why only when the screen comes on?

This is to do with the way Android power management works. Usually, when the screen is off, your phone is asleep. Apps can't run in this mode: it only does the minimum necessary to keep the device connected to the phone network. Some devices can save power by even turning off the main CPU of the phone, switching to a smaller, more efficient (but slower) CPU while they're asleep.

In this mode, Android tries quite hard to avoid waking up, because each wake-up costs a lot of power. Most apps that run periodically have their run delayed, and all run at once, so as to wake up only once instead of many times. This includes the location sampling discussed above.

When you turn your screen on, the phone has to wake up, so at that point any periodic background tasks that were held back will run straight away. Google Play Services isn't trying to use the GPS only when the phone is idle: it just runs for that split second when the phone wakes up.


Checking virus/security status of specific app?

Though I know of no definite way, I'd suggest looking them up on AppBrain. Additionally to the "Permissions" tab we had in playstore before their "Win-8 relaunch", that site offers a tab "Permissions & concerns", where some things are pointed out.

It might also be worth taking a look at their search results: Spam apps are "filtered" at AppBrain, so they show up single-line instead of full-heights in the result list.

While all that might only give indicators (and no definite answers), it's one step in the desired direction at least. A second step would be searching the web for reports. Including the app names (with links) in your question might also give you the chance somebody here recognizes the one or other.


Dismiss the popup edit menu on Android > 5

On newer versions of Android all you have to do to dismiss it is, press the back button on the navigation bar. You can also dismiss it by pressing anywhere on the text box.

(The back button is on the bottom left of the screenshot below)


How to install kitkat 4.4.4 over Android 4.2.2

I would give this toolkit a try it might might things a little easier for you http://forum.xda-developers.com/xperia-z/development/tool-flashtool-v0-9-10-1-windows-linux-t2229790


You can use the 'lasso' option for that. It works real cool.


Does anyone have experience wireshark running on Samsung Galaxy Tab? (Verizon)

I run tcpdump command on my rooted Galaxy tab and capture the output onto SD card. When I have captured enough, I pull the captured file from phone onto a Linux box using adb pull  and view the output using Wireshark.


Go to http://www.gsmarena.com/ and search for your device: the site provides several info including Bluetooth version.


Can my phone act as WiFi Access Point while Disabling Celluar Radio?

FWIW I discussed a few ways to disable just the mobile connection here for a different reason but with the same result... depending on your Android version (you didn't mention which you were using), it's as easy as selecting the mobile icon in the notification settings to switch it off, or just selecting an invalid APN under Wifi->Mobile networks->Access Point Names or Network Operators.  But the absolutely easiest and most certain way as I suggested is to pull the SIM card while you're not using it.  As long as your device uses a SIM card for mobile (GSM networks do, Verizon may not), you should be good to go-- though I believe 911 calls will still work.  If you want to get really down-and-dirty, you can also root the phone, rename the binary blobs that work with your cell service, reboot, then do the reverse when you're done.  But I think the SIMcard trick should do it :)


Why is the amount of time needed to turn the screen on not always the same?

Here are your answers:

Depending on how many of the CPU cores are asleep (clocking at less than 200mHz for your phone), the system needs to wake up those. This takes time.
If the device is not asleep (doing background work), the screen will turn on very quickly.
Best way to deal with: Don't use the power button to turn on the screen, but rather use the Home button. The Home button will not lock your phone and thus pressing it more than once doesn't have an impact on usability.
The hardware/electrical designer will tell you that conserving battery is slightly more important than quick screen-turn-on times. The UX engineer can't do anything about it. Making sure the system runs as it should does not depend on the hardware configuration (most notably the minimum clock rate/time until deep sleep ).
Newer phones may have a better kernel wake-up configuration, that turns on the screen faster (custom kernels for your phone can do that, too), but I can't promise anything.

It's a trade-off between battery and user experience.
I must admit that Samsung's TouchWiz has plenty problems like that one, which led me to switch to custom roms.


Android WiFi is being wonky(upload stalls)

If changing the hostname appeared to cause an issue, perhaps changing it back might solve the problem? Worth a shot.


Upgraded to Marshmallow, now I can't merge my conversations in Hangouts

Of course, as soon as a I post this I figure out the answer.

I ahd to go into my SMS settings from within Hangouts and change the "Default SMS messaging account" to my gmail and "Send SMS from" to my carrier number.

Now there are no longer two accounts to switch between in the menu, and all my Google Chat and text messages are in one list. I also have to ability to switch over to the dialer.


how to Install an app and afterwards have the initial configuration screen (as a new phone)?

You can make that app an system app that will prevent your end user from uninstalling this app and even after an hard reset the app is still active, plus the app is installed before the device is given the end user.

ps you must modify the system for that which will mostly cause a loss of warranty.


Android 6 notification drawer width landscape mode

Unfortunately, that's part of the new M layout. I'm not sure if you can change it, even in CM.


how to remove the android device in gmail account

First of all Log in to google in a PC, open gmail and at the bottom you can see Last account activity.

Click details shown next to it > and click sign out of all other sessions.

==========================================================================
Now, if he has added your account in to his device, follow these steps.

Go to google account security in a browser (PC).
Sign in with your google account
Under device activity and notifications click Review devices shown inside a card named recently used devices
Remove access to the particular device.

==========================================================================

Now, (most important) change your password and do not share it with anyone.


Android Wear "Google" app only shows weather info

Google Now on Android Wear can not be customised. It will get all cards from the phone that are "compatible". Here is a list of compatible cards on Android Wear:

Stocks
Weather
Reminders
Sports
Traffic
Flights
Boarding pass
Shipping confirmation for packages
Public transit info on nearby trains & buses
Friends’ birthdays
Public alerts
Reminders to leave on time for upcoming appointments
Hotel & restaurant reservations

For more details: https://support.google.com/androidwear/answer/6056898?hl=en


Turn on Wi-Fi periodically to do a quick network discovery

One solution to this problem: use a tasking program such as Locale or Tasker and create certain conditions that will enable your wifi (essentially writing a script as you described).

For example:  Use GPS and determine if I'm at my home (I believe you can use real GPS, which will consume quite a bit of power, or base it off of which cell tower you are connected to, which you would already know anyways if not in airplane mode).

Or you could even setup certain times of the day you know you will be at home, or work, or wherever you regularly have wifi.


Is it safe to enable to allow apps from unknown sources?

As long as you are getting the file/APK from a reputable source, it should be safe.


How do I disable full-screen mode in Chrome for Android?

I had the same problem, but I saw the exact moment it happened, a message appeared saying "switching to full screen mode". Then I couldn't switch it off. I deleted all data in Chrome, and the problem was fixed. There was no need to uninstall the app, just cleaned the data using the Android built-in Application Manager. It seems some website included code that caused this, and the Chrome for Android simply does not have the settings to revert this. Hope this helps.


My phone suddenly shows an SD-card notification

One of my family members had the same problem, SD card misbehaving, then working for a few days, on and off. After a week or so the phone did not read the card at all and neither did the PC. Fortunately I backed up the content of the card after the first problem. The card worked for about a month after formatting, but died eventually.

I do not know what causes this.
I do not know how to stop it.
I know what you should do: a backup.


Verizon Samsung Galaxy S3...trying to change notification sound

Just go to Settings->Sound & Notifications->Notification Sound and select None or whatever you like.
Samsung's settings application may have renamed some things but in theory that should do it.
If you don't like any notification sound and ring tone then you might want to set your ring tone volume to 0.


Based on your comments, suggest using MacroDroid , since it is free (upto 5 macros) and easy to learn.

Your macro for scheduled priority  mode would look like this

Trigger (when to act ) is 5 days of week at the time and day required - here it is week days. Long press to add constraints, i.e,, schedule

Also, you may need to switch to this mode on demand. You can use this macro for that.
Create this macro and save. Go to widgets of your home screen and drag and drop Macrodroid widget on any screen. Assign this macro to that widget and use it on demand

Edit: Missed (sorry) adding that you would require a second macro in the on demand case where action would be Alarms Only or other options as you wish to get out of priority mode ,say as in the case of meeting at office


An alternative would be to use adb push resp. adb pull to initiate a file transfer between computer and Android device. For this, you don't even need the entire Android SDK on your computer, a few files suffice (see: Is there a minimal installation of ADB?). On a Linux system, you could even mount the Android device using adbfs (see here), and thus access it like a "normal drive" from command line (e.g. via cp/mv) as well as from graphical interfaces.


Since both sets of instructions you link to consist of running some closed-source software that interacts with your phone through the debug interface, only the authors of those programs can tell you precisely what they do.

As ce4 says in his comment, the one on the XDA-Developers website exploits a vulnerability: that is, a defect in the phone's software. The defect lets a program run as root on the phone, and this software uses that to install a program permanently so that it always runs as root.

The other software could be doing anything. If it works for your phone, it probably exploits the same vulnerability, but only the author can tell you for sure.


Do permissions have to be declared in the manifest for an app to have the access they provide?

A basic Android application has no permissions associated with it by default, meaning it cannot do anything that would adversely impact the user experience or any data on the device. To make use of protected features of the device, you must include in your AndroidManifest.xml one or more  tags declaring the permissions that your application needs. At application install time, permissions requested by the application are granted to it by the package installer, based on checks against the signatures of the applications declaring those permissions and/or interaction with the user. No checks with the user are done while an application is running; the app is either granted a particular permission when installed, and can use that feature as desired, or the permission is not granted and any attempt to use the feature fails without prompting the user.

Read more here https://developer.android.com/guide/topics/permissions/overview


How to start AVD emulator without device frame

The following was implemented on a default configuration.

Open AndroidStudio (AS) AVD Manager, click the "pencil icon" to edit the virtual device settings, uncheck the box next to "Enable Device Frame". Click "

NOTE: you may have to click the "Show Advanced Settings" button and scroll down to Device Frame.


How to 'record' a trip - places I visited?

The best option is Google's My Tracks
Follow the link and see the features yourself. Everyhing you want is there. And the best part is it's free!!
Hope this helps


Galaxy S8: Set default app for left swipe?

Currently it is only possible to change the app on left swipe by installing an app called Bixby Remapper.


Nexus 7 is not booting up after android marshmallow update

Download the Nexus Root Toolkit from here.  It has options to restore any Nexus device back to its factory settings, including bricked or boot looping devices, under the Flash Stock + Unroot button.  You should select the option Current status of Soft-Bricked / Bootloop.  The toolkit will walk you through, step by step, restoring your Nexus to working condition.

You may lose any data stored on the device.


Is there an app that can turn off wifi for me when screen goes off?


CaptivePortalLogin crashes every time I try to join a network

Turn off mobile data
Connect to WiFi
Go to this page: http://google.com/generate_204


Can we upgrade AT&T SAMSUNG-SGH-I897 Galaxy S to Android 4.1?

Can we? Yes (But you have to go for a custom ROM)

How?
Well, you can use a custom ROM like CyanogenMod or better, you can use Salty Bean ROM.

Steps:

Backup everything. (including messages, contacts, apps, settings and OS)
Download the ROM
After downloading ROM package & Salty Bean addons, connect your phone to the PC. Enable mass storage mode to access SD card data. Transfer both the files on it.
Disconnect the phone from computer. Now boot into the recovery mode. For doing the same, switch off the phone completely (until it vibrates). Press & hold Volume Up + Volume Down + Power Key together until recovery mode appears (you can release power button after         Samsung logo appears but keep holding other two until recovery mode shows up).
After getting into the recovery mode, take a nandroid backup of your current ROM so that it can be restored back in case if anything goes wrong. To backup your current ROM, select Backup and Restore option from the recovery menu & on next screen, select backup. Now It will make a nandroid backup of your whole system (excluding SD card).
Select wipe data/factory reset & wipe cache partition to wipe all the data & caches from the phone memory respectively.
Now Select install zip from sdcard & then choose zip from sdcard. Select the ROM file from the location where you’ve transferred it earlier & press on Yes to confirm the installation.

All the detailed information can be found here

If your are not sure of what to do, please do not attempt to do this. Get help from someone (as in getting help from someone who can hand your phone over to) instead


Why can't I press the Install button when installing applications from unknown sources?

Looking at your screenshot, I think you are using screen filtering apps like Twilight, f.lux, CF.lumen or bluelight filter. Try to force stop/uninstall or disable the screen filtering apps and it will work again.
If you are not using any filtering app, try looking for your installed apps that have overlay capability, apps that can show their contents over another apps, apps with overlay permission (like- Messenger, Musixmatch, Touch Assistant apps that can float on your screen).
If you are not sure, try disable them one by one in your Settings ⇒ Apps and find which one is causing the problem. You can also look for "Draw over other apps" menu in your android setting where all the apps with this permission will be listed. If you couldn't locate the menu, search for overlay permission + {android version} + {device manufacturer}.


Samsung Galaxy s3 still vibrating when getting notification, even though I'm on silent mode

This is for Galaxy Nexus, but if you long press the power button, it should create a prompt that allows you to switch between Silent Mode, Vibrate Mode, and Sound Mode.


Disable search suggestions based on current page

From 3 dots menu → settings  → Sync and Google services →uncheck Autocomplete searches and URLs
Source: Chrome Privacy Whitepaper


How do I keep others from pairing their compatible device with my Android phone via Bluetooth?

turn off your bluetooth visibility, by this way the media center will not be able to detect your bluetooth, but you will still be able to connect to other devices. For suppose if still showing pairing request means try using some friends phone and connect to mediacenter, so when the other phone is gone from your home, mediacenter might remember that phone and stop sending you connection requests


Why does my Samsung Galaxy S6 show more used space?

Well since no one was able to say anything I guess I should answer this for someone as clumsy as me.

Apparently, I installed an app and that app "removed" everything. Its removal process is apparently moving the files to a folder called ".removed". Everything was in that folder.

Fixed.


Kitkat keyboard no suggestion on text fields

Android doesn't have a distinction between "text fields" and "text areas" like HTML has. One control, called TextView (or EditText, but they're both the same underlying control) handles all text fields, whether they're editable or not, and whether they're one line or several.

That's not to say that every text field behaves the same way. TextView gives the app the opportunity to set hints for the keyboard, to tell it what kind of text is being edited (called the input type). One input type tells the keyboard that the text being entered is a search filter. The keyboard's free to interpret these hints however it likes: in this case, Google Keyboard doesn't show any word completions/suggestions when the input type is a search filter.

You can avoid this problem by using a different keyboard app which interprets the input type and other hints differently. For example, SwiftKey shows word completions for search filters just like for normal text. (I've just tested it on Google Search.) SwiftKey also supports gesture typing like the default keyboard.

If you're interested, you can learn more about the different hints apps can give to the keyboard by playing with my app IM prove. (It's a free app with no ads, so all I get if you use it is a warm fuzzy feeling when you leave a good rating.) With this app, you can set all the hints, and see what effect they have on your keyboard. You can compare different keyboards this way.


marshmallow trouble with internal storage

Did you try cleaning the cache? There might be junk folders and files you can delete also. Don't forget moving all movable apps in the SD Card. I would recommend you install ES File Explorer on Google play to clean your storage.


I had problems on my Samsung Note 2. Photos were being taken where I had to go into gallery and rotate right or left for image too be correct.

Just messed around with settings and fixed it by re-calibrating horizontal and vertical (I think). Hope this works for some of you.


It seems like key repeat lags--not picking up multiple quick keyboard strikes. Is this Android specific or Hardware specific?

Right now my HTC EVO does not have this issue.  However I have noticed from time to time that the typing something in the virtual keyboard can be slower than usual.  Usually though this is due to an app being installed or I'm switching around in several apps really fast and the lag doesn't last more than the first one or two key selections.

If you haven't already I recommend calibrating your virtual keyboard (it may help it may not :)) In "Settings" go to "Language & Keyboard" then select the input keyboard you are using (I have three different ones on mine you will most likely have less).  My guess is that yours will be called "Touch Input".  From there select "Text Input" and scroll to find "Calibration tool".

Quick Summary: To calibrate your HTC virtual keyboard - "Settings" > "Language & Keyboard" > "Touch Input" > "Text Input" > "Calibration tool"

There may be slight differences due to the fact that the device I'm using is different but since they are both from HTC it should be close.

Hope this helps


Samsung s7 password locked - can't get onto phone

If you go through your computer and change the password it makes you able to initialize a new password and unlock it manualy when you do so and log off your computer after turning your phone back on so yes turn your phon.off before changing it on your cpu
. I hacked a phome back to myself this way but i forgot the password and initaly im forever locked out of that phone unless i figure out the newest password that google took away from me! Contact google AFTER! YOU do this so your account dosent get locked due to them thinking its being hacked!


How to keep screen turned off when plugging charger?

SnooZy Charger (also in the Play Store) takes care of this. The free app (as in beer and speech) that lets you manage behavior during charger connection and disconnection.

It requires no permissions, but does require you giving it device admin permissions. These permissions are only used for to control device locking, as verifiable in its source-code. From quickly going through the app’s source-code, it looks totally harmless and benign.

If the app does not behave as you want, make sure to go through the Settings. For example, “Turn off screen only when locked” is enabled by default. This means that the app will not kick into effect if you have an on/off-button-press-lock delay or other related settings.

It works perfectly for my on a wireless charging pad and with micro-USB cable using a LG Nexus 4 device. I am very satisfied.

Update: I documented additional issues here.


What happens if I clear data in download manager?

Not entirely sure what it does. Never really looked into it. But I just cleared data/cache for my download manager on my Nexus 6 and all my downloaded files are still there. Edit Just to clarify, the downloads are still there if you navigate to the folder with a file manager. However they no longer show up in the "Downloads" app.

Device: Nexus 6

Android Version: 5.1.1


This is  a sign that you overuse your battery,frequently leaving your apps on....your battery is damaged and might need to be replaced...but till you can do that...you can always:
1.avoid charging overnight
2.use the correct charger
3.if you aren't using your data or wifi turn it off,to preserve battery life


What are the build.prop settings for a modern tablet?

You CAN'T just change the model number/name. What you have to change is the DPI setting of your phone for this specific app.

For that, follow up this explanation to do so with XPosed:
http://highonandroid.com/android-apps/how-to-run-apps-in-phone-or-tablet-mode-on-any-rooted-android-smartphonetablet/


Do Firebase analytics work without Gapps?

As evident from these FAQs:

  I don't want to use other Firebase products (such as Analytics).

  Google Analytics for Firebase is enabled by default to provide the full range of FCM features. However, it can be disabled. The FCM SDK's only hard dependency is Google Play Services (which was also a dependency in GCM).

The code which creates connection to Firebase servers is part of Play Services. Apps make use of Google APIs to use that code. Without GApps none of Google Mobile Services will work and the apps heavily depending on those will refuse to start or may keep crashing. Developers can explain better.

RELATED:

What is the exact functionality of Google Play Services & Google Services Framework (gapps)?
How do certain apps show new notifications when internet access is restricted to them?


Displaying age of contact on birthday calendar events

First of all, remember that you can only do this with your birthdays and events that are in your google account contacts. NOT phone contacts.

Go to google.com/calendar from a computer.
Under Other calendars in the left pane, click add.
Click Browse interesting calendars
Click More (the More next to Sports).
On Contacts' birthdays and events, click subscribe.
Sync your contacts and calendar with your google account.

After sucessful syncing, the events should appear in your handsets calendar.

If you need to add the event details of your phone contacts, you need to export your phone contacts to your google account (or to your Gmail)

See this link for more info


How to write a script that removes a certain set of apps everytime you flash an update file?

I tried pm disable <app>, pm hide <app>, and pm block <app> – but all of them spew out error messages. But when I tried pm disable-user <app> it works! And the changes persists after reflashing, so that's great! I don't need to write a script after all!


What build of ICS do I need for Nexus S baseband I9020XXKF1

My baseband is ever so slightly different from yours: it is I9020XXKI1 (I think; it's hard to read).  I upgraded by following the steps at http://www.androidcentral.com/how-manually-update-your-gsm-nexus-s-ice-cream-sandwich; I am pretty sure that you can't go wrong doing the same.  At worst, your phone will refuse to install the thing.


"Significant Motion sensor" same as accelerometer?

The significant motion sensor is a virtual sensor using the physical accelerometer. From android.com:

  A significant motion detector triggers when the detecting a “significant motion”: a motion that might lead to a change in the user location.

This means the significant motion sensor will only provide data if a significant motion is detected by the system (e.g. walking). The accelerometer continuously returns the accelerations for each axis.

To check out those sensors you can install one of many sensor apps. I usually use cpu-z.


How to change Google Play country without adding payment method

Source: Change your Google Play country

Unfortunately, you cannot.
Relevant extracts

  To change your country, you need to set up a new country in Google Play. To set up a new country, you must be in that country and have a payment method from the new country.

(Emphasis added)

Now, you have two problems :

By clearing cache and data, you have ensured that you change your country (as explained in the source)
Your stay in Italy is only for few weeks.

  You can only change your Play country once per year. So if you change your country, you won’t be able to change it back for 1 year

To sum it up, you have lost your old country information, you have to set
up new country information and if you do that you can revert to your old country after one year

There is no way out from this awkward situation AFAIK... I feel sorry


Touchwiz and Samsung Cameras and photo quality

I believe modern Samsung Phones use a proprietary camera app called Samsung Camera which requires TouchWiz API extensions. You can see those extensions documented on Samsung's site,

  Camera SDK provides enhanced features and APIs available to users for developing enriched camera-based applications. This SDK offers additional functionalities and capabilities on top of existing Android Camera API2 capabilities. The Camera application interface utilizes the Android Camera APIs. Camera SDK also provides easy-to-use, fast performing APIs for new image processing and computational photography needs.

While it utilizes the default interface, there are SDK-specific capabilities, without which you'll be losing functionality in AOSP roms. I believe the API uses TouchWiz blobs internally.

I can not find those API extensions (proprietary and missing from AOSP)  documented anywhere, but they're explained by a commenter here.

(feel free to answer here with more information and I'll delete this answer).


How to import Yahoo Mail contacts into Google?

If you install the Yahoo mail app from the Play Store, it will synchronize your contacts to your phone's address book, and pull them up in any app, including Gmail.  The advantage of this method is that you will have an ongoing sync, meaning any contacts you add via Yahoo website will automatically appear on your phone, and vice-verse.

If you don't want to install the Yahoo mail app, you will need to use a computer.  First, export contacts on Yahoo website as a CSV file as described in this walk-through:

Go to Yahoo mail website on your computer.
Click on the "Contacts" button, and then go to Actions -> Export...
Select the "Yahoo CSV" option, click the "Export Now" button, select somewhere on your computer where to save this file, and click "OK".

Then you import the CSV file into your Google account as described here:

Sign into Gmail.
Click Gmail at the top-left corner of your Gmail page, then choose Contacts.
Click the More button above the contacts list and select "Import..."
Click the Choose File button.
Select the CSV file you generated from Yahoo, and click the Import button.

This method is a one-time import, and any modifications you make to your contacts via Yahoo website will not propagate to your phone.  Instead, your contacts will appear in your Google account.


A different boot loop after flashing BLU phone

It turned out that repeating the steps, i.e.,

re-flash the phone with BLU_L0070UU_V12_GENERIC
press Power + Volume Up + Volume Down
get two teeny lines: Recovery Mode: Volume Up and Factory Mode: Volume Down
press Volume Up

solved the problem


Yes you will get your memory back.

During the reboot process, Android will have to optimize all apps, so this will take some time. About 15 min. to 60 min. for this to complete, that all depends on how many apps you have. Make sure you device is fully charged.

You also can manually edit the file with runtime values, which is located: /data/property/persist.sys.dalvik.vm.lib

libart.so and libdvm.so are the values.

Command:

  adb shell 'echo libdvm.so >/data/property/persist.sys.dalvik.vm.lib'

Or

  adb shell setprop persist.sys.dalvik.vm.lib libdvm.so


No, multi user feature is not available in Realme 3 containing Coloros 6.And you cannot enable it without rooting. Realme 3 is based on Mediatek chipset, so you will not get good support for third party ROMs. But in future this phone will get RealmeUI update, which may bring multi user feature.


Not really, with a standard Bluetooth device and antenna, there's a lot of really big technical problems, and even physics is against you

You may or may not be aware of BLE and Bluetooth Beacons - there is a BLE Specification called Proximity that allows small bits of data to be sent as Bluetooth Advertisements. Devices can be calibrated and made to interpret these and the RSSIs etc and give a fairly reliable (depends) proximity

There are lots of libraries out there for working with them- and apps. I suggest taking a look at Radius Networks' Altbeacon library, it does all the maths and device specific calibrations that you would otherwise have to do yourself. All the big Beacon Manufacturers have their own though (Kontakt.io, Estimote etc)

Be aware, unless you have a directional mic, BLE should not be considered directional without using some kind of triangulation technique (otherwise you can just say "I am X meters from the device" without knowing if that was up, or behind or whatever)

Also be aware, it's incredibly open to being confounded by other sources of EMF and materials that absorb your waves.

Even more be aware, Smartphone BT Adapters vary wildly, they all log differently, have different nuances and react differently in different situations, but typically it's really good. Some devices like the Nexus 4 should not be used for BT, some hardware kink means the WiFi and BT don't effectively share the Antenna well enough and conflict (also I think the form factor just interferes too)

The best way to position a person or object in a room is by using a mixture of processed and aggregated readings from the device sensors and perhaps even some other hardware in the room. If you look at Google Maps, it doesn't wholly rely on GPS, just like indoor navigation using BLE Beacons shouldn't wholly rely on Bluetooth. Beacons just apply context,

Source: Microlocation developer


Get 850MHz 3G working on Samsung S5 Active

If the underlying baseband does not support 850 mhz it's not going to work.
Also, if you have a very old SIM it probably isn't going to work.

I believe the software can also prevent you to change the preference.

Maybe upgrade your baseband (radio) after rooting your phone. Maybe a factory upgrade will also do the trick, but I'm not sure. See http://forum.xda-developers.com/showthread.php?t=2794087 to root and be able to flash roms.

Personally, I'd try for a refund or return, try to let the store fix this issue. 3G is on the carton after all?


Unlike native apps, web apps can't access low level API of system (to access hardware etc) unless it is supported by web standards (most aren't supported to maintain web app portability). Here, native web apps comes to rescue.

In Native Web Apps, web codes (HTML, CSS & JS) run in a native wrapper code. The wrapper code is native (can use low level API) which contains webview to render the web app. So, it taps the benefits from both worlds (that's why its called Hybrid App).

For example, Facebook app (in Play Store) is a native web app. When you see your timeline, friends' profiles etc in this app, you actually see webpages. But, at the same time, this app can access your camera, Android's system-wide share menu etc.
Another great example is Google Currents.


Any way to have hardware accelerated virtualization without changing HW?

Basically you can't.
Your best bet would be a Virtual Machine in VirtualBox but this is more like hoping for it to work and not break after installing.

The reason is Intel HAXM that is building on Intel's virtualization technology, VirtualBox also supports AMD's virtualization technology and should be better than using no hardware acceleration at all.


How to extract a compressed TWRP backup?

It's not a "paged tar", but each file is a TAR itself.

All you need to do is tar xzf on each file.


Sorry! the process com.android.phone has stopped unexpectedly. Please try again. force close

On samsung devices
Over on the Sprint forums, they've posted a fix for this without needing a reset: Go into Menu -> Settings -> Call settings -> Reject with message. If you have more than 5 messages in there, delete some so you have less than 5.
People are reporting that once they do that, they are once again able to receive calls without the force close happening. Hope that helps!
In case its an HTC device follow this

Go to your facebook app and under synchronize settings choose to delete all facebook data. Afterwards log out of the facebook app.
Go to account and synchronizing settings and remove any facebook entries. Now your contacts should no longer contain any data from facebook and should not be linked with facebook either.
Go to the facebook app, sign in and re-choose the synchronizing settings. Press "synchronize" in upper right corner.
Go to accounts and synchronizing and add facebook for HTC Sense and perhaps also the normal facebook account. It will now start re-synchronizing everything and you have to link all your contacts again, but it now works

If both methods didn't work for you go for an factory-reset that will surely solve your network and call issues.


HTC ONE last update. Bootloader claims tampered

Go to the HTC site and download the official ruu file for the HTC one and run it. There should be an explanation on htc's site or you could ask them to walk you through it. This will fix the security bootloader thing and update your phone.


how do I know if I uninstalled something I shouldn't have

First of all, if you are not 100% sure which system apps you can uninstall, it is better to freeze them first (which is supported by e.g. Titanium Backup and other apps). So if something starts behaving weird, you can simply unfreeze those apps again.

As you probably haven't just frozen the resp. apps, let's move to the second option: You hopefully made a Nandroid Backup before starting to tamper with the system? In that case, you can restore this backup via ClockworkMod. Or if you at least backed-up those apps you uninstalled (e.g. with aforementioned Titanium Backup), you can use this to restore them again.

If this is no option neither, all what remains is to check for a fresh firmware image to flash -- either stock or custom ROM.


Can I customise (limit, reorder) Swype language choices?

As far as I know, Swype only comes in two sets: full (all languages) and a English/Spanish set.

However, there is a hidden feature: you can swype from the Swype key to the Q key to switch between your current language and the last language you used.


Why do phones have default limited user rights (not rooted)?

why root accounts aren't available on Android phones from the beginning?

Standard android apps are subject to Android permission system, which requires apps to declare the permission they require in a Manifest file. An app that have root access can easily circumvent around this permission system.

  Being derived from Linux, why isn't it like on Linux with the root account and other accounts?

It is just like Linux. Even in desktop Linux distros, notably Ubuntu, the standard root account is disabled by inaccessible password.

  I am thinking maybe malware protection, but there are malicious software that can do harm without root account right?

Yes, for example, there are malware apps that can send your contact lists to a shady server in a third world country. In a phone without root, these malicious apps will have to declare the permission to read your contact database in the Manifest, which is read and displayed before installing an app, giving you the chance to cancel installation. In rooted phones, it is possible for an app to read your contact database without explicitly declaring it in the Manifest, by asking for root permission instead. There are many other potential security breaches that can simply be avoided or minimized by disabling root access.

Also, in some systems, root can modify system files; modifying system files can make it impossible to completely revert to factory default (because those modifications would persist after the revert). Without root, one would have to use the bootloader to flash system file; greatly reducing the risk of malicious apps installing itself in a way that will persist over a factory reset.

Shipping phones without root also reduces the cost of customer support, as the number of ways that a customer may shoot him/herself in the foot are greatly reduced.

"With great power comes great responsibility", The sudo Lecture, also Ben Parker.


CM11 Kindle Fire - "Incompatible with other applications(s) using the same shared user ID" with Google Calendar

In order to solve this, I had to install the APK file myself for Google Calendar after downloading it and allowing my device to accept 3rd party apps. Since then I've had no issues!


How does Google find devices for Android Device Manager?

It's not hardware or even firmware.

It's part-and-parcel of Google Play Services, which is what Google is using to try to free Android users from the tyranny of OEMs and mobile carriers which do not provide timely OS updates (if at all).

It's not quite an app, although it installs like one. It's a framework upon which other apps and services can be built.

Since Google Play Services is needed by so many of Google's apps (plus others, such as Twitter) if you've updated any of your apps in the last six months or so you've probably already got it.


Android 9 pie see if device is encrypted

All devices that run Android 5 and beyond (out of the box) are encrypted. That's probably why you don't see a separate status for device encryption as you see for Ext.SD.
Encryption can be Full-Disk Encryption (FDE)  or File-Based Encryption (FBE). The device is encrypted on first boot using default encryption and once the user sets up lock screen mechanism , that is used for encryption. Relevant extracts

FDE was introduced in Android 4.4 and is supported till Android 9.

Android 7.0 and higher supports file-based encryption (FBE).

For devices running Android 7.0–8.1, file-based encryption can't be used together with adoptable storage.

Devices running Android 9 and higher can use adoptable storage and file-based encryption

For new devices running Android 10 and higher, file-based encryption is required.

Your device being Android 9 with secure start up, it's most likely FBE. You can verify ro.crypto.type on Terminal Emulator and it would show file ( See How can I find out if my device uses FBE or FDE?)


You need to follow a guide for the 2012 Nexus 7 instead, which the model is called Nakasi (Grouper/WiFi, Tilapia/3G-WiFi). You're using the wrong image, 2013 Nexus 7, which the model is called Razor (Flo/WiFi, Debian/3G-WiFi), for your device. That's why its not wanting to get past the boot screen. Download from the link below or go to XDA Forum.

Here is the link to the factory images for Nexus devices

Scroll down to the Nexus 7 2012 and select which model you have.

Here is a link for Universal Nexus Linux Toolkit

You can get the image from inside the program. This will run on Linux and Mac OSX. This will take care of all the commands.

Edit
I did see at the bottom of the guide you used that it states for the 2012 model to use a earlier (older) version of TWRP, but it doesn't show anywhere a link to any 2012 images - just to the 2013 image.


When you go to Menu, press view type and select customizable grid. Now you can see an edit button as mentioned by several posts


Ok. I found a even more strange thing. The differences are due to the language.

If I set my browser language to portuguese suddently I see all the comments that I saw on the other account (that I was seeing on an Android device set to Portuguese). This is very strange as all comments are written in Portuguese. I haven't discovered yet how they associate the language to the comment...

My guess:

Comments are only visible on the language that they are added. For example: (this is a guess)

If i add a comment with my browser in Portuguese, only people with
browsers/devices in Portuguese will see it

Shouldn't the market show all anyway, with somekind of language filter (our language vs all) or use Google Translate to translate all from the start?

Does anyone else has a clue about this?!


how to change input method with ime command

The ID of an IME isn't just the class name. Multiple packages, signed by different developer certificates, might use the same class name. That's especially likely in this case where it's a downloaded example. You need to use both parts of the ID, before and after the /. In this case:

shell@android:/ $ ime enable com.thihaayekyaw.frozenkeyboard/com.example.android.softkeyboard.SoftKeyboard

Note, though, that ime enable doesn't select that input method: it merely allows it to be selected by checking its checkbox in the IME list in Settings → Language and input. To select an IME (i.e. to make it the one that will appear when an EditText is focused) you need to use ime set:

shell@android:/ $ ime set com.thihaayekyaw.frozenkeyboard/com.example.android.softkeyboard.SoftKeyboard


Change USB connection mode while on Fastboot mode

You don't need to change the USB connection type of the device due to whenever you boot into fastboot mode your device connection type will be the needed one.

So if your computer not recognize the device in fastboot mode you have driver(s) issue(s).

Try to reinstall your phone's driver and ADB.


Where is Samsung's SIM manager in '/system/app'?

It is very likely that this individual app doesn't exist, instead it is embedded within the setting app. However you can still create a SimSettingMgr folder and put your apk in there and push the folder to system/app or system/priv-app and reboot.


Deleting Auto complete email addresses gmail app

Gmail autocompletes email addresses based both on previous communication and Google Contacts.

You should edit the contact in question to remove the old email address from their contact entry on Google Contacts, or in the Contacts app of your device, and if that doesn't work go into Settings - Apps and find Gmail and Clear Data on the app. Be aware that that this will erase all emails and data for Gmail that are stored locally on your device, it will not delete Gmail on the server, and it will be resynced to the device after you open the app again, but if you use Gmail for POP3 email access those emails may not be stored on the server and should be backed up first.


Can I charge my android cell phone with another usb chager?

The basic answer is that any charger with the right connector should work, so basically you should be able to use either charger with either device.

But note that in order to charge the battery, the charger has to provide power to both the device and its battery.  For this reason, some devices will need a more powerful charger (e.g 2A or more) in order to be able to charge the battery.  Furthermore there are ways for the charger (and cable) to indicate to the device how much power it can provide (since, according to the USB spec, a device is not allowed to consume more than 0.5A, and even for that it first needs to negotiate it), so some devices will not use up all the power provided by a charger simply because it lacks the indication (from the charger and/or cable) that it can consume more.

This is a fairly murky area, in my experience, but the rule of thumb is that the charger of your more power-hungry device will usually work for a more frugal device, while the reverse is not necessarily true.


Flashing factory image - all data still present

The apps and user data (everything that gets erased by factory reset) are contained within the /data partition (in fact, "factory reset" simply formats the /data partition). This partition is independent of other partitions. Android system is located on the /system partition. That means that, as long you don't wipe your /data partition, your apps and data will stay in the phone even when you change your Android version.

It is, however, recommended to wipe your /data partition when moving from one Android version to another, due to incompatibility issues.


Dual active doesn't work in Samsung Galaxy s duos phone

The Galaxy S Duos allows for both SIM cards to be active simultaneously, meaning that you can receive a call on one SIM even while you are on a call with the other. What happens is that calls from your other SIM are forwarded to your currently active SIM's network, which you can put on hold to answer (this might incur additional network charges). You can put the two calls on and off hold as you please.

You can toggle the Dual SIM Always On option on or off for either SIM card. Effectively, this enables call waiting and call forwarding so you can switch each SIM card on and off individually (which can help save battery). During a call, the active SIM gets displayed at the top of the call interface.

You can also pick which SIM is to be used for mobile data - only one can be used at a time. Another option is whether or not the phone should be able to receive calls on the other SIM while using mobile data on one SIM.


Is it possible to reset the compass calibration to factory settings?

Thankfully, it looks like removing the phone from the magnetic case and re-calibrating it fixed the issue.

I've thrown the magnetic case on the bottom of a closet and I'm never using it again.


How to turn Android phone into an USB gamepad for PC?

Have you tried searching for gamepad in Google Play?

Here are some of the results:

Ultimate Gamepad

  Connect through wifi or bluetooth in the most simple way. Install the
  Ultimate Control Receiver program on your computer (PC, Mac or Linux)
  and select it from the list displayed on your phone.

DroidPad

  DroidPad lets you use your phone as a PC joystick or mouse.


I found one. There is an app called microcom that is part of some newer busybox packages. I used the latest busybox (1.9.3) that could be installed by BusyBox Pro (Steven Stericson) from the Android Market. I replaced busybox 1.9.3CM that came with my ROM and which did not have microcom.

With that busybox you just have to open a terminal (I used BTEP) and type microcom. The short help file will be displayed. Using it can be as simple as:

microcom -s 115200 /dev/ttyUSB0

I am still interested in a more full-featured version -- something more like minicom. But at least microcom gets the minimal job done for now.

If no one offers a more full featured app than microcom, I'll accept my answer in a few days.


Check out the marketplace have a look at 'CarUI' similar but not identical.  Might have to root our Heros to get it, as it probably only compatible with 2.2 sigh


My phone dials #3282 (#DATA) by itself. Which app did it?

In my case, the app was Nova Launcher.  I had recently enabled the permissions needed for gestures, and presumably, one of the defaults is to dial #DATA when a user swipes down on the screen.

To disable this gesture, start Nova Launcher, go to Settings, and edit the Swipe Down gesture (or whichever gesture is assigned) and choose None or another action.


Yes. Go the Google Play and download this app. If it isn't exactly what you are needing, get back to me and I'll find something more appropriate for your needs. Is your phone rooted? That helps a lot when you are wanting to customize your device. You can find plenty of info at XDA-Developers.com  Here is your link to the app. If you need any thing else, just ask. https://play.google.com/store/apps/details?id=com.privacylock.guest&hl=enk.


How can I selectively delete hundreds of SMS conversations?

Act fast to get quick results

Use SMS backup and restore and backup all your SMSes to local storage on device immediately.

Go to the app menu and choose restore. It will select the backup you made. Go to advanced options and select only restore backup since and you choose date before you got flooded by all these SMSes.

Assuming you don't have any important messages after the chosen date , you are good. If you have, follow steps in answer here to backup, selected conversations and choose those to be restored. It doesn't restore duplicates and at most you may end up having to manually delete a few messages

Alternatively, you can export the SMS backup file which is in XML format to your laptop, search for the common term in these messages, delete all those, maybe use a script to do that. Transfer the file to your device and restore to device.


This depends of your phone carrier provider because actually I tested it with my orange carrier lines and sent an sms with url .xyz extension and received it. It could be also that your AV is restricting such extension. screenshot


Nexus 7 2012 is almost unusable after upgrading to the latest Lollipop. What should I do?

The official Google Developers site has the full instructions and image repository on how to install a factory image for any Nexus device, including your "nakasi" Nexus 7 2012. I recommend 4.4.4, but you are free to go back as far as you want until you're comfortable with it's use.

Cyanogenmod also has a stable 10.2 version (Android 4.3) - you can download the image file here. You can re-use the instructions found on the Google Developers site to install this as well (just target your CM unzip location instead).

BE AWARE: This will wipe your device, and this is all done under your own volition. Flashing a device - regardless of source or instruction - always comes with risk of damaging or rendering the device useless. We are not responsible for it!


How do I connect Nexus 5 on Lenovo Yoga 2 Pro for USB-debugging

I created a file

sudo nano /etc/udev/rules.d/99-android-mtpfs.rules

and added

# Nexus 5 (alias Nexus 4) "sudo lsusb" shows: 18d1:4ee2
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4ee2", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"

and I added:

echo 0x18d1 >> ~/.android/adb_usb.ini

then I rebooted Ubuntu and it worked!!!


does flashing a kernel ever wipe anything on the phone? + Doing it without CWM?

No, flashing a kernel only wipes the old kernel. Generally, user-space drivers in the system image will be specific to a particular version of the kernel driver, and each kernel driver version will only work with certain kernel versions, so only flash a different kernel if you know that it was built to work with your user-space version, or vice-versa. Usually stock ROMs will only work with the kernel that came with the ROM, and third-party ROMs will say which kernels they work with.

On devices that support fastboot, you can use fastboot flash boot boot.img to flash the file boot.img to the boot partition. This is the one that stores the kernel.


Well, finally, I found an app that can read music from an USB stick.

ES File Explorer

It is a file eplorer which:

1) detects USB sticks

2) comes with a simple music player with basic functions

3) can create a playlist from a specified folder

4) can do this with USB folders

While the player in itself is not exactly the most advanced one (it won't detect id3 tags on USB files, doesn't sort songs by Artist, Album or whatever else than alphabetical order) nor the most beautiful, it has all I need for listening music in the subway (which was my main goal here) i.e. making a playlist from my music folder and being able to shuffle it.

Hope it helps people who had the same problem as me.

Edit

This player has some problems. It crashes, don't detect the stick sometimes and often goes as far as restarting my phone. It does the job, but it does not do it well and the user experience is unpleasant. Therefore, if anybody has a better suggestion, please write an answer !


Some devices have better GPS chips, that are able to get the user's location faster. The best you can do is go to Settings > Location and set it to either GPS Only / Device only or High accuracy and in the overflow menu, tap Advanced, then enable WiFi scanning

Also, to check that it isn't a problem with Ingress, try opening Google Maps and see if your location is correct, i.e. next to the portal. If not, try reinstalling Ingress.

This use to happen with me on my old Samsung SGH-i927 - for $150 the GPS was terrible. When I upgraded to the Nexus 5 and then OnePlus 3, the difference was very noticeable.


How to close all background apps at once in Android 5.0 (lollipop)?

As far as I know : no you can't.

TL;DR :

Closing all background apps is a bad practice. You should close apps that you don't use often or apps you specifically want to close for X reason. IMO, the only good reason to close all recent apps is that you feel like there are too many of them and you can't find an app any more because of the mess it creates.

--

The recent apps feature in Lollipop appears to behave differently from previous versions. First of all, as you noticed, the button to clear all recent apps is gone. Moreover, the recent apps persist through reboot (read on Android Police : The Recent Apps List Now Persists Through Reboot).

Now, you still can clear them by swiping all the cards, which I agree is tedious. But as the top comment on the AP post I quoted above explains :

  Clearing out all of the apps in recents just puts more work on CPU and
  thus your battery because you're essentially having to start from
  scratch the next time you load it. If something stays in your recents
  list and is in RAM, it loads instantly with virtually no battery or
  processing penalty minus refreshing the content via the network
  connection.

Basically, all the Android users (including me a while ago) who frequently clear their recent apps, use task killers, etc. are using their Android device the wrong way.

You can read more about Why you shouldn't use a task killer on Android (a post by cybervibin on XDA), which is roughly the same as killing the apps yourself. In short, unused RAM is useless RAM. If a large amount of RAM is required by an app, the system will stop recent apps by itself to provide the newly launched app the needed resources. No need to stop them yourself, it's the OS's job.

I also recommend the read of this question on Android Enthusiasts about What happens when you swipe an app out of the recent apps list.

--

To conclude, to this day and as far as I know, you can't clear your recent apps all at once on Android Lollipop 5.0. But you shouldn't have to do that anyway, which is surely why Google's teams removed the button.


Can I reset the Kindle Fire HD and power off without going to setup?

Depending on the setup, you may be able to bypass it. This is the case if it is the default Google setup wizard.

If it is not, then there may be no way to bypass it, and you will therefore have to follow it through.

When you wipe the device, it will show again on next boot, so why don't you just follow the setup and then wipe it? This way it will be as if it was never booted for the next person to turn it on.


Root integrity check on Infocus Epic 1 says "System Check FAIL!!"

My reply is built on my assumption that the OP want to ask about his device's root status, and if it's been altered or not

Check Selinux Status:

Selinux defines which process can access a given resource on your device. AFAIK, all Android device manufacturers companies ship their devices with Selinux Enforcing (Default), in some custom ROMs you may find Selinux Permissive or Selinux Disabled, in those cases system will grant any permission requested by any app.

To verify Selinux status, type the following on your command line:

adb shell getenforce

Possible Output values:

  Enforcing
  Permissive
  Disabled

Default Value (general consumer products):

  Enforcing

Check ROM/Firmware signing keys:

Check if you have a ROM/Firmware signed with release-keys or test-keys.
The main difference is that test-keys are available for Public and everyone know them, but release-keys are kept secret by the person who signed the ROM/Firmware, hence those ROMs signed with release-keys are more secure than ROMs signed with test-keys.

To verify your signature, type the following on your command line:

adb shell getprop ro.build.fingerprint

  test-keys
  release-keys

Default Value (general consumer products):

  release-keys

Example (general consumer products):

  samsung/dreamqltevl/dreamqltecan:9/PPR1.180610.011/G950WVLS6CSG1:user/release-keys

Check ROM/Firmware build type:

Check if you have a Production built ROM (or not: maybe a debugging version)

To verify your build, type the following on your command line:

adb shell getprop ro.build.fingerprint

  user Build:       It has a limited access; no su binary and used for production.
  userdebug Build:  It's similar to user build but it has su binary, thus it's root access and debugging capability; it's used to debug technical issues, and it's a bit slower than user build in performance
  eng Build:        It's a development build with lot of debugging tools, and generally it's the lowest in performance compared to other builds, not used for production.

Default Value (general consumer products):

  user

Example (general consumer products):

  samsung/dreamqltevl/dreamqltecan:9/PPR1.180610.011/G950WVLS6CSG1:user/release-keys

Check if your device is Encrypted:

To verify your device encryption, type the following on your command line:

adb shell getprop ro.crypto.state

Possible Output values:

  Encrypted
  Unencrypted

Default Value (general consumer products):

  Encrypted

Check dm-verity Status:

Verity is used to check the integrity of your device, and device manufacturers using verified boot have a their methods for verifying the integrity of the kernel with an unchangeable key which is burned on the device at factory level.

To verify if you're able to change dm-verity status, type the following on your command line:

adb enable-verity

Possible Output values:

  Enabled
  Disabled

Default Value (general consumer products):

  Enabled

Example (general consumer products):

  enable-verity only works for userdebug builds
  verity cannot be disabled/enabled - USER build

Check Security Level Patch Date:

Security Patch Level is another layer of security, to protect users from latest CVEs and exploits, Google works with partners and the public to provide patches for any Android devices to receive security updates at least once every 90 days.

To verify Security Patch Level date, type the following on your command line:

adb shell getprop ro.build.version.security_patch

You may also check SafetyNet CTS Test, but it may be bypassed by Magisk Systemless root.

If your device has it's default values with a user build signed with release-keys then you should not be worried about root integrity check.


Galaxy Pop Gt-S5570 Is Stuck At Samsung Logo After Installing Cynogenmod 10.1

A "release candidate" is not a stable release. You should report this error to the Cyanogenmod developers so that it can be investigated and fixed for the final release.


Does "Not Found" error always mean the app is unpublished or not active on Play Store?

Well here's something that I know since I have experienced it in the recent period. Apparently, it so works that when an app is "unpublished", then the app is still downloadable by existing users (those who own the app, either because they paid for it or because they acquired it when it was free).

The users who already own an app will see it in Play Store (app and web) while logged into the same Google account using which it was acquired.

It would be a different outcome when apps are removed (deleted) due to violations. Deleted apps should no longer be available for installation to any user. But since I know that Flamingo was unpublished because it did hit the API limit from Twitter, it is still there, regularly updated, but not available to the public if they never owned it before when it was live and available for purchase (download).

Screenshots (the flamingo example):

App direct URL - https://play.google.com/store/apps/details?id=com.samruston.twitter

As it is entirely dependent on the Google account and whether the app was owned by the user in the past, there will be no 3rd party api which can tell you if an app is still downloadable from the Play Store. Play Store throws a direct 404 for such apps which are not downloadable unless you are an existing user.

So, I believe you should remove such links because well, these apps are not available for new users to download and these are basically the ones who need the app. Existing users will already have it. With the exception that such apps do not appear anymore in Play Store search, even if you own the app and are logged into your Google account.

And as much as I know, apps locked to certain countries are still browseable in the web version of the Play Store and even within Play Store app. On the mobile app, it is not downloadable and marked as "This item is not available in your country". So, a VPN or location change will not help you to access a Play Store app which throw a 404. You should remove such links without thinking twice.


Add applications to the original Android ROM

NarenderNishad (via comments) is correct. If you have root access, you can convert the apps to system apps (using an app like Titanium Backup). They will be moved to the /system folder. When you do a factory reset, the apps will not be deleted.


No there is no affiliate program for the Android Market.

Some individual apps that need to be side-loaded or have a seperate sign up for paid service offer affiliate programs but nothing through the official market.  Lots of people ask about it at the Google support threads but Google has not announced any plans to start an affiliate program nor have they commented on why they don't have one.

I don't believe anyone is earning money for referrals if they are sending people to the Official Market, Appbrain, Cryket, AndroLib or SlideMe.  If they are a commercial review site they are probably making money with display advertising, which incidentally improves the credibility of their reviews (because their income isn't dependent on you buying what they reviewed).


Is displaying invalid content a violation on the play store

You can report the app to Google. When visiting the app's page in the web version of the Play Store, there's a link for "Flag as inappropriate".
Under "Malicious or inappropriate Android apps" (and I'd say this probably qualifies) you are given two options for reporting the app. One through the Play Store app on your device, the other via a web site.

Application providers must adhere to the Google Play Business and Program Policies. If you see an application that doesn't follow these standards, you can report it by flagging it from the Google Play Store app on your Android device.

Open the  Google Play Store app.
Visit the application's page.
Scroll down and select Flag as inappropriate.

You can also report malicious or inappropriate apps to the Google Play team through the Android Developer Help Center.


ICS supports arabic, and you can add keyboard languages from the settings of the device


This is a device independent answer.
For new comers: Whenever you want to find a CyanogenMod (CM) build for your device, find out whether your device is supported officially by CM or not. You can do that easily. Click here and search for your device's name.
Officially supported devices usually have a separate page for information including flashing instructions, device specifications, name of  maintainer(s) among other things. Click here to know more.
In the event your device's name doesn't show up (i.e. not officially supported), then head to Unofficial Ports page. The entries in the list are -- ideally supposed to be -- added by the respective developer(s) or maintainer(s) of that unofficial build.
If you still don't see your device's name anywhere, then either, the developer didn't add the entry to that last list or nobody has yet ported CM to your device.
For the case when you do not see your device's name anywhere in both official and unofficial devices list, then search the ROM on the web, specifically XDA forum but not limited to that. You'll have to try multiple queries for better results from search engine and possibly, even the Advanced Search if Google is your choice of search engine.
As for flashing the CM ROM -- provided that you do have a build in your hand -- you would probably be able to see the instructions from wherever you got to know about ROM's download link. If not, use web search or our site's search. If nothing shows up, ask us.


why my nexus 6 dosn't open as a folder on my laptop

When you connect the phone using USB, a notification comes up saying USB for charging. You just need to click on it to change the setting. Ankush's comment helped me arrive at the solution.


Nougat: How to use Full Disk Encryption instead of File Based Encryption?

You have a couple of options - regarding device status, ROM origin && course of action -  though every1 of them is focused on changing flags in fstab.qcom.

Basically, while flag in fstab.qcom for FBE is

fileencryption=contents_aes-256-xts[:filenames_aes-256-heh]

and defines options for content && metadata encryption, flag for FDE is

forceencrypt

or

encryptable

U don't need to root.

Because u have nasty Nexus 5X (had very bad experience with that device) u can unlock bootloader, boot custom recovery - TWRP will suffice - format (not wipe!) userdata, push modified fstab.qcom with flag encryptable (or forceencrypt), reboot to bootloader, and boot device.

Not quite sure whether re-locking bootloader after changing fstab.qcom will cause a bootloop (did couple of lobotomies on that devices, but haven't tried this particular scenario).

Either way, if u try to re-lock bootloader && that ends in bootloop, u can always flash a TOT file.

There r modified boot images for that device for same purpose, but with additional code - custom sepolicy for root.


How to force Adobe tracking link in SMS to open Google Play Store app and not the web browser

Instead of linking to play.google.com, make the link point to market://details?id=com.example.android, though you may find that some software will block these links for security reasons. There's no way to force a play.google.com link to open in Play Store.


Cannot access adb shell on emulated x86 phone

I had a similar issue with an x86 emulator sdk 24

Settings -> About emulated device -> click on "Build number" several times (as you do on a real device)
go to Settings -> Developer options -> turn on "USB debugging"

you should be getting a dialog to enable debugging access from the pc

and attempt running again via Android Studio


While creating Virtual device when you select "new Hardware profile" then windows open there is option Input. In front of input there is select box "Has Hardware Button" Unchecked that select box.

If you Already created virtual Device
then edit your Virtual device configuration. There is above mention option when you click Advance settings.
There is an option "hardware back/home keys". Specify the option and set it to "no" when creating the virtual device.


You won't need an internet connection.

Also, when typing the username/email, make sure you have either @gmail.com or @googlemail.com at the end, depending on what it was when you added the account.

If you didn't add anything, the default for android <= 2.3 is @googlemail.com


Google Play not able to sign-in into Clash of Clans app

Have you installed Google Play Games? It should be signed in,  to allow you to log in Clash of Clans to Google Play Games.


Galaxy Nexus won't charge, will immediately reboot if turned off

Removing the battery and putting it back in solves the problem, at least temporarily.  A few days later, I found the same problem was happening, and the same solution worked.


How to update the software of an unrooted device? (Error Message)

did you try with "Smart Switch" program from your PC, and download the update from there? As I saw in the video, you have to download the program, and check the latest update for your phone when connecting via USB. You can check this video, I think you can solve your problem by this way.

  https://www.youtube.com/watch?v=BRDyAlqIrhU


How can I view and examine the Android log?

Android 4.1 and newer
The preferred way is to download the SDK and use adb logcat (requires to activate "developer options" on device).
There are apps available for viewing the full system log, however they only work on rooted devices or require issuing a manual command via adb to make them work. For more information view see this question.
Android 4.0 and older
You can either download the SDK and use adb logcat or get Logcat Extrem from the Google Play Store, which shows the log directly on your phone.


How can I disable auto-rotate on my phone?

if you need easy access to it then

Menu -> Settings -> CyanogenMod settings -> Display -> Interface -> Notification power widget - > Widget buttons -> Toggle Orientation

will add a widget on the notification menu that lets you enable or disable rotation. just about the only time it seems useful is if you are lying on your side and you want the phone to stay in landscape, but it sure is convenient for that.


Is it possible to perform a complete reinstall on an Android smartphone?

Yes, it's very possible. Basically you can flash a ROM (custom or stock) very easily, and this is equivalent to a full format and reinstall.

Basic steps would be:

Acquire preferred ROM and transfer to SD card / internal memory
Reboot into Recovery (Hold Volume Up as you power up the phone)
Flash ROM

This is covered more in depth at these links (XDA is a great resource):

Overall "guides" for the Xperia S

"Guide" to flashing the Xperia S (it's a fairly light-on-detail guide though, it is a very simple process)


Syncing fails after changing Google Apps user's email

I realized last night that since I have 2 factor auth enabled for my account, I might have to generate a new application-specific password in my google account settings.

I generated a new one and successfully synced with my new email using it.


Try this :

sudo apt-get install mtpfs
mkdir ~/NexusDrive
mtpfs ~/NexusDrive
nautilus ~/NexusDrive


Not every device is rooted the fastboot way like Nexus phones do, especially when the device in question is a MediaTek one.

I did a quick search and the result checks out: you'll need MediaTek's scatter flashing tool. Read this: LINK: XDA-Developers

I don't have the device so it's up to you to verify whether this works. Either way, do hang around XDA and other forums often for this sort of info.


vcast media manager huge log files: safe to delete?

Instabug is an app component for bug- crash- and app performance-monitoring.
Therefore it should be safe to delete this file.
I would also send a bug report to Verizon as com.vcast.mediamanager is their
Verizon Cloud app. May be they forgot to decrease the logging verboseness which leads to such a big log file.


Recover soft-bricked wrongly mounted Galaxy S4 gti9506?

Ok fixed the problem by installing firmware from sammobile.com. The Odin flash failed at the hidden.img, but I could recover the thing by running the instructions here:
http://www.s4miniarchive.com/2014/07/solution-what-to-do-when-odin-fails-at-hidden.img.ext4.html

And I have my wifi back but lost root (but that's not a big deal).


Assuming that you still have the old device and it works properly, I'd advise that you use Titanium Backup to migrate your apps. Check out this answer for more details about it.

Honestly, I have never tried to restore app data between different Android OS major versions (such as 4.X to 6.X in your case), but it's worth a shot. By the way, WhatsApp has its own built-in feature to backup and restore data, in case you were wondering. And please let me know how this turned out, I'm curious to know the outcome for myself.


WiFi only working while charging the phone

WiFi consumes battery. With this in mind, the operating system is designed to restrict or lower the strength of using the WiFi, with the basic goal of saving battery juice, to extend the battery life a bit.

In your case, the most likely culprit is your battery. Replace it, and all should be well.


HTC Desire Z key number two misbehave at times

This is very likely to be a problem with the touchscfeen hardware. To test this, try installing a drawing/painting app from Google Play. Open the app, get into painting mode, and leave it for a minute. If you start getting paint appearing at the same point (where the 2 ABC soft key shows up), you know that part of the touchscreen isn't working. In the same way, try painting in the app and check whether any parts of the screen can't be painted on.

If there are any stuck parts of the screen, you can try giving them a wipe with a slightly damp, soapy cloth. Turn the phone off to do that, and make sure you dry the screen before trying to use it again. If that doesn't solve the problem, you're left with sending the phone back to the shop, or making a warranty claim, depending on how long you've had the problem.


Why is it not possible to just install Oracles JVM on a rooted android device?

You simply don't just install something on Android. Installing apps requires a bunch of stuff.
Also: You can't just install ordinary applications, frameworks etc like on a PC (there are apps that allow this in their own container).
There is an ongoing dispute between Oracle (Java) and Google (Android) about Java APIs and code. (https://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google,_Inc.)
You are already running a Java virtual machine that is integrated into the system (DalvikVM, Android Runtime ART) and is able to run basically all non-proprietary Java code (no sun package).
If you really want to run Java code, make a simple one button app that calls the code you want.


Is it possible to selectively limit background data usage?

If your device is running at least Android 4.0, you can use Androids native data management:

Data Usage configuration on Android 4.0+ (source: Droid-Life.com, click image to enlarge)

Here you can setup an overall data volume (a requirement for the second step -- but one can set that rather high, like 4 GB): tick the Set mobile data limit checkbox, and play with the bars.

That done, select the apps to block (tap their entries you can see in the second screenshot at the bottom), and set their limit to 0 (scroll to the end of the app's page, and activate the checkbox labeled "restrict background data"). A popup will inform you that the app might stop when there's no WiFi available, as it will no longer be able to use background data on the mobile network -- plus that there might be additional controls inside the app itself.

Now these apps no longer can "silently eat your dataplan", but only when you actively trigger actions. You find described screens in the system settings, mobile data (the one with the pie-chart symbol -- see above screenshot).

P.S.: If the above is not applyable for you (Android <4.0, or a WiFi-only device with Android 4.3+), please also see my answer here.


Mobile phone internet USB tethering very SLOW

Mobile network carrier often have transparent gateways installed all mobile network traffic have to pass. Such gateways are able to "detect" (smart guessing) if traffic comes from the Smartphone or a tethered PC.

Depending on the data plan contract, tethering may be prohibited and in such a case the carrier can just forcefully slow down the tethered connection.

As only the tethered connections are slowed down you can end up in a situation where identical downloads get a totally different download speed.


Like most SMS, Contacts, or Dialer apps, the contact photos either come from:

Facebook
Google
Other apps
Manually set by User (owner of phone)

In the last case, only YOU can see it. It's not possible to share / broadcast this image since it is your photo that you added to your own local contact.

For Facebook contacts or Google contacts, the photos come from the profile picture of your social media account. This is what is visible to other users, ONLY IF they have shown Facebook / Google contacts, instead of just phone contacts. Otherwise, they still won't see your photo.


No, this is not an option.

Actually this seems like a bug as this should be controlled by the option, Vibrate on Touch under Sound in the settings.  Either that, or the option Vibrate  on Touch should remain visible when setting the screen security option to Slide in the Security part of the settings.

You may want to report this as a bug to the Android team using the Android Issue Tracker.


How to turn-off WiFi when there's no Internet available on the connection?

tasker should be capable of that. It can execute HTTP_GET commands, and it can also deal with data connections; but for the latter, depending on the Android version you're running on your device, you might need root access to toggle data connection.

Tasker uses (combinations of) "conditions" (also called "context") to trigger "tasks" – which both together is called a "profile". So you would need a profile for that. Let's go step-by-step:

Your condition will be a time-based one, as you want to check connectivity periodically. Chose wisely here: checking too often might become a battery-drain – checking to rarely makes the whole thing useless. Play starting with 1 minute, and maybe go down to 30s if that's not enough.

The task then is a conditional one, which could be described as "switch off WiFi if I cannot reach the internet". So let's put that together:

Condition:

Time.
In the fields, define the time frame this should be active in, and the "repeat" interval.
WiFi connected.
I recommend adding that to safe some juice: If you're already on mobile data with WiFi turned off, there's no need to turn WiFi off – right? Alternatively, you could also use %WIFI ~ on – but that could give you a headache when you just switch it on and, failing to retrieve the URL, Tasker switches it off before it connects ;)

Task:

HTTP Get
WiFi (off) IF %HTTPR ~ -1

%HTTPR is a Tasker variable where the response code is stored into. According to the Tasker UserGuide, A response code of -1 indicates a problem making the request. This problem should be a timeout or "network unreachable" error (as a "not found" should be a "404" code), but you might need to play with this.

The above doesn't cover an "automatic return", so you had to enable WiFi manually (though that could be automated by a second "profile", periodically checking if things changed).


Failed to root CM 12.1 and nuked Samsung I9300

Do not fret. Its a simple condition called bootloop.
First things first, root is merely nothing but bootloader unlocked. Rest stuff is just permission managers that interact with root.
So when you installed cm 12.1, you didnt actually loose root, you lost permission manager without which apps cant interact with root (in other simple words). All you had to do was install supersu or any other permission manager again from play store. CF-Root and stuff wasn't needed. Just telling for future reference....
Now for real problem. You can fix it using Odin (the samsung flash tool).
First, download Odin. Then download framework corresponding to your region from here
Install samsung drivers.
Next run odin on your pc and connect your phone while its in download mode (First go into download mode and then conenct it. You actually went into download mode. That "Downloading... Do not turn off target !!" screen is called download mode, so you know how to go into download mode).
Make sure Odin recognizes you phone, it should say something like "com..." in one of the boxes which would mean odin has detected your phone. If it doesnt, your drivers arent proper.
Next extract the firmware you downloaded earlier using winrar.
Then in Odin,
a) Click the PDA button and choose the file with .tar.md5 extension.
b) Click the phone button and choose the file with modem in its name (skip this step if file not found).
c) Click the CSC button and select the file with CSC in its name.
d) Click the PIT button and select the .pit file (skip this step if file not found).
Make sure that the "Auto Reboot" and "F.Reset Time" check boxes are selected in Odin. At the same time, uncheck/disable the "Re-Partition" option. Click it only if a .pit file is being used.
Then click "start" button and wait a while. It may take sometime. After process is done odin should show "success" and then you can restart phone (may take sometime at first boot. Wait atleast upto 20mins by watch). You will be back to stock android rom. Your phone is still rooted, only it doesn't have any permission manager or custom recovery.
First install something as permission manager (like supersu) from play store and set it up.
Next, to install custom recovery, you can use twrp manager or similar.
After custom recovery is installed, you should be able to proceed with custom rom installations and such. Hope this helps :)


How can you measure your battery drain rate?

Comparing your device battery drain to another device battery drain is pointless. There are too many variables at play like Android Verizon, how well the OS is optimised, apps loaded, usage conditions and so on. See the section at end of answer for reasons of Abnormal Battery Drain
Drain rate could be high, even when not used due to Wakelocks. See wakelocks and greenify tags that can help in reducing battery drain. battery-life wiki has pointers as well
See How can I tell if I need to replace my battery? and in particular using the Vbatt app mentioned in my answer. This will not tell you whether you need to change your battery but helps you compare two batteries ( and is time consuming too)

See this study for an interesting infographic


Force stopping bloatware apps on android phone

Yes, WhatsApps runs separately from Facebook, despite them being owned by the same company. You can safely force stop Facebook.

If you don't intend to use Facebook, the more logical solution is to remove it, which will prevent it from doing anything and free up space.


You need to enable Internet Connection Sharing on your lan network. To do so you need to:
1.Go to your network icon after connected your LAN cable. Click on " Open network and sharing center."

2.Then click "Local area connection" > "Properties" > "Sharing" Tab and check "Allow other network users to connect through this computer's Internet connection..." Then click OK > close.


how can I change the contents of /proc/product_name_extra?

/proc isn't a real filesystem, so the 'files' in it can't be changed by normal means. Rather, it gives file-like access to the system state. The only way to change what it reports is to actually change the system: in this case, that means flashing your device with an engineering ROM instead of a production ROM.


Can I use tasker to override "lock on power button"?

I'm not sure if the following will be a perfect match for you, but you always can adjust it once you've got the idea. In my example, I will refer to Tasker only: not having worked with the Secure Settings myself, I can only tell things about it from the hear-say and what I've read.

Basic Tasker knowledge assumed:

Conditions:

State → Wifi Connected, parameter: SSID set to your WiFi's SSID
State → Display is off

Task:

Display → Keyguard off1

This is with plain Tasker, and should solve half of your problem: When connected to the specified WiFi, and the Display is turned off, turn off Keyguard. As soon as you turn on the display, the condition is no longer met -- and Keyguard would automatically be activated again. Problem will be: if you do not take any immediate action, that probably locks your screen again (first action of keyguard). To prevent this, you could try adding an exit task:

Exit Task:

Tasker → Wait, parameter is the time interval (start with e.g. 10s)
Display → Keyguard on1

This would cause the Keyguard re-activation to be delayed by the given time interval. I did not try this -- it might very well be that keyguard still would lock the device, even though you already might do something in another app. But you have already noted the "footnote sign", so let's go for that:

1 Instead of handling Keyguard directly, let Secure Settings do that. I know it has the ability to e.g. have Keyguard only come up once (initially) when a condition is met. This would simplify things greatly: the Task then would be Plugin → Secure Settings, and the Secure Settings parameter should be to set Keyguard as described: "only needed once initially, then no more until the condition is no longer met". Also drop the "Display off" condition: when the display is off, you cannot unlock it either (you see where your problem most likely was). So it should work as you have intended -- after the first unlock.

Not exactly what you wanted (one-time unlock is still needed), but almost. The Exit Task would not be required in this case, as Tasker automatically reverts back once the condition is no longer met. Play a little with this, maybe Secure Setting even allows for something better.


Device not allowing the use of non-English for the screenlock password

In fact, after changing phone language, I should be allowed to set password based on my desired language.

Your assumption here is wrong, at least for stock Android.

Based from AOSP source code that handles the password input for lock screen, ChooseLockPassword.java, inside validatePassword(), here is a snippet that will show the "illegal character" message:

// allow non control Latin-1 characters only
if (c < 32 || c > 127) {
    return getString(R.string.lockpassword_illegal_character);
}

It means that the input only allows characters with code between 32 and 127 (exclusive). They are A-Z, a-z, 0-9 and basic punctuations.

taken from http://www.asciitable.com/

Other than those characters, Android won't accept the password and notify the user there is an illegal character.


usb otg thermal printer interface to android tab with usb device

Did you try this App?  Supports Ethernet, USB or Serial (with serial-USB adapter).
https://play.google.com/store/apps/details?id=qsrtech.posprintdriver

Also, try this app from Opera Mobile Store. If this app doesn't work with your printer, send printer profile to the app server. They might add support.
http://apps.opera.com/en_in/usb_printer_driver_21_developer_edition.html


How can I stream all audio from my Mac to my Android phone?

Airfoil is available cross platform:

https://play.google.com/store/apps/details?id=com.rogueamoeba.AirfoilSpeakers