Rooted Kindle Fire - Mounting Filesystem from Ubuntu

Turns out it was the micro-usb cable I was using to connect the kindle to my laptop.

Once I found my uber quality ASUS cable, progress began...

Now the OS atleast properly detecting the device, and loading it as a mass USB storage device.

dmesg:

[ 5516.756143] usb 1-1: new high speed USB device using ehci_hcd and address 125
[ 5516.824377] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 5517.216091] usb 2-1: new full speed USB device using uhci_hcd and address 21
[ 5517.355193] usb 2-1: not running at top speed; connect to a high speed hub
[ 5517.383505] usb 2-1: configuration #1 chosen from 1 choice
[ 5517.405589] scsi4 : SCSI emulation for USB Mass Storage devices
[ 5517.411906] usb-storage: device found at 21
[ 5517.411919] usb-storage: waiting for device to settle before scanning
[ 5522.409318] usb-storage: device scan complete
[ 5522.412282] scsi 4:0:0:0: Direct-Access     Am       File-CD Gadget   0000 PQ: 0 ANSI: 2
[ 5522.415038] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 5522.433234] sd 4:0:0:0: [sdc] Attached SCSI removable disk

However, adb devices now gave:

List of devices attached
????????????    no permissions

to get ADB to properly list the device, and be able to connect to it, please see this solution on SO:

https://stackoverflow.com/questions/5510284/adb-devices-command-not-working


Flashing CM 10.2 to 11 TWRP flash not working

You can install it,

First of all try to update to a new TWRP version if possible like you installed it before.
Or you might want to go to the bootloader/fastboot on Samsung devices you need to press

Volume up + home + power

On other devices you must press

Volume up + power

and connect your phone to your PC and install the drivers if not done before, you can install the naked Adb drivers from twrp's site.

This is the link for your device:
https://twrp.me/devices/htconexplusinternational.html

You also can connect it to your PC install the drivers and type

adb reboot bootloader

You can find more info on TWRP's site.

put the Gapps/Google apps on the SD card, you might want to use

adb shell push gapps.zip /storage/sdcard0/
Downloads

All after each other.

Or setup mtp for TWRP.

You can do this at the settings mount and enable MTP.

Then push the update zip to your device which is the same as above.

Install the update and wipe the caches.

Then you're all set.


How can I tell whether I am booted into the A or B partition?

The right-most way (bootctl)
The command to provide this information is bootctl. As root (having run adb root), you can use this like this,
$ adb shell bootctl get-current-slot

Note this is the slot's number, you resolve that to the letter with,
$ adb shell 'bootctl get-suffix $(bootctl get-current-slot)'

See also: How can I boot to a specific partition with ADB?, which also uses bootctl
Using getvar
$ adb shell /bin/getprop ro.boot.slot_suffix
_b

Other ways
From /proc/bootloader_log
This command from adb shell
$ grep -i 'DEBUG: boot_' /proc/bootloader_log

Or like this,
adb shell "grep -i 'DEBUG: boot_' /proc/bootloader_log"

It return output like this,
avb_slot_verify.c:325: DEBUG: boot_b: Loading entire partition.

I believe that's in reference to the b partition that it's booting from.
From /proc/cmdline
You can also parse this out of /proc/cmdline
$ adb shell 'cat /proc/cmdline | tr " " "\n" | grep -i slot'
androidboot.slot_suffix=_b


Where to find diagnostic information as to why mobile data won't turn on

While in this case it turned out to be a carrier issue (and solved on the carrier's end, see this comment), in other cases one of the test menus might prove helpful. for a starter, you can find a lot of "secret codes" in this list for the SGS, together with a short explanation. But use them on your own risk :)


Where can I find out when I installed an app?

Many apps available from Play Store show the install and update time of the installed apps. I've tested three of them and have given instructions to use them appropriately.
AM (Pre-release)
Install it → tap on three dots line in upper-right area → Sort → Last update.
If you click on an app entry there you can also see its Installer name in the App Info (scroll down to the bottom) section.
Applications Info
Install and launch the app → tap your app's entry.
Solid Explorer
Install and launch the app → from the left sidebar select Applications → User apps → tap on your app's entry.
(Click an image to enlarge it; order of images: Elixir 2, Applications Info, and Solid Explorer)

Command-line
If you want a command-line way, follow these instructions:
Setup adb in PC and execute the command:
adb shell dumpsys package

You might end up with overwhelming information about all the installed packages including the  date/time stamp you're seeking. If you want the said stamps for a specific package whose package name you're aware of, then enter:
adb shell 'dumpsys package PKG_NAME | grep -e "firstInstallTime" -e "lastUpdateTime"'     # replace PKG_NAME with the package name of your app

Its output possibly would be like,
firstInstallTime=2015-07-04 15:49:50
lastUpdateTime=2015-07-04 15:49:50
Note that the info is originally available in the file /data/system/packages.xml.
Alternatively, if you've Google Play Store installed, then take its backup using ADB, extract the backup to locate the database localappstate.db. Open that file in PC using an SQLite database viewer like DB Browser for SQLite or on Android using apps like SQLite Editor / aSQLiteManager. The said apps may need root access so I recommend to stick with the SQLite viewer for PC.
The table appstate in that file has the columns first_download_ms delivery_data_timestamp_ms. The latter shows when the app was installed and the former shows when the download was initiated by Play Store.
Limitation: Play Store wouldn't show date/time stamp for side loaded apps.


Streaming a movie from Windows (Media Center??) to A500

I use TVersity to stream to my Android device, Logitech Revue, Original Xbox, Xbox 360, etc. TVersity can transcode the video on the fly.

I have, in the past, been able to get Matroska container files to play, but not always and with varying results. Sometime they don't play at all, sometime they played fine, and sometimes they play, but the video is choppy and out of sync with the audio.

Being able to stream the video to your android device will depend on the video codec used to encode the video. If the device does not support the codec, it will not play. AFAIK, android, out of the box, does not support the matroska container, actually, there are a lot of formats that android does not support. Using something like TVersity on your "Media Server" allows you to transcode these videos in a format that the device will understand, and can play.


Heimdall errors, "ERROR: Partition "recovery" does not exist in the specified PIT."

This is because the command you used to invoke heimdall was,

heimdall flash --recovery

And, heimdall is caps sensitive, try this instead.

heimdall flash --RECOVERY ./clockworkmod_6.0.3.2_jfltespr.img --no-reboot


Cannot access any files on Samsung Tab 4 7"

Figured it out! Turns out I had failed to install busybox, my mistake!


How to prevent someone from powering off an android device?

You cannot (barring any hardware tweaks.)

If you root your phone and install a custom ROM, you may be able to remove the "Turn off" and "Reboot" options from the Power menu. However, Nexus 5 (as do most modern phones) has a hard-wired feature, where holding the power button for 10 seconds shuts the phone off.  This is done so that you can restart the phone if it freezes up.  Since Nexus 5 doesn't have a removable battery, this hard reset would be the only way to shut it off without having to wait for the battery to drain.

If you are technically inclined, you can always make hardware modifications to the phone which would prevent the Power button from functioning normally.  However, such mods are not for the novices, and will certainly void your warranty.


Is full device encryption possible on LG Optimus L5 II (LG-E460)?

You probably can encrypt your device by installing CyanogenMod, and entering the following command in the Terminal Emulator app:

vdc enablecrypto inplace PASSWORD

where PASSWORD is replaced by your password. If that command won't work, try replacing inplace with wipe although be careful, since that will wipe all of your data.


Android version updates for Motorola and Nexus phones

Motorolla has already started rolling out lollipop updates for Moto X(2nd gen) and Moto G(2nd gen). Nexus updates will be coming soon as well. Moto X (2013) is going to get an update, but it might be 1-2 months down the lane.


Installing CM 11 (KitKat) on an S II without USB

Yes it's possible. You don't need the USB connection to do this. You need to flash a rooted kernel like Philz which is specific to the S2, and you need to do this from the stock Android recovery which you can access by holding power+home. The rooted kernel must be on the SD card.


Vi-style text editing method for Android UI

Is something like this available somewhere?

Not at the moment, although there are a couple vim-style text editor:

Vim Touch
aVim Editor

however these are currently implemented as an application, not as an IME.

  What would it take to develop it? What places in Android must be modified? Is there some easy plugin framework where you just fill in some functions and you provide a new text editing method?

Android provides the framework for creating custom keyboard (officially known as IME). Anyone that is interested in creating a vim-style IME for Android should check out Creating Input Method.


Your phone (Karbonn A10) doesn't have storage space available. It has 512 MB available only for the system and the applications binaries (and their data). You can't store media files or any file that applications want to put on a sdcard on this memory.

So, for this phone, you need a sdcard for all functions to work. (but it is not true for all Android phones)


It may be because it came out on an earlier android version, requiring less power and battery to run. If you have a newer android version, e.g KitKat or Lollipop, it may be more intensive both visually and in terms of the power required to run it. Battery Doctor is a good application, (available on the play store), which might solve you issue.


Had the same problem. Took me a bit to figure it out.

Go to messages, tap on the thread for that contact, tap on their name in the top left corner, this will take you to conversation settings, turn notifications on.


Delete individual cookie on andriod phone?

The cookies form the default android browser are stored in /data/data/com.android.browser/databases/webview.db. The problem is that other applications, for security reasons, do not have access to this file.

Since the Browser application hasn't implement this functionality, it is not possible.


Okay, to address the points here:

Marshmallow doesn't have the option of Scanning Always Available as it was in Lollipop.

So, what to do?

Marshmallow still has these options, only now they are fragmented and redistributed. It is now under:

Settings → Google → Services → Location → 3-dot menu → Scanning → Wi-Fi scanning

Also, there are:

Settings → Wi-Fi → 3-dot menu → Advanced → Keep Wi-Fi on during sleep

and

Settings → Wi-Fi → 3-dot menu → Advanced → Network notification,

if you are paranoid about battery.


Simply remove the account from the phone settings.

Depending on your model and Android version, the location will slightly vary. Try this:

Settings > Users & Accounts (Or only accounts) > That Google work account > Remove account.

Once removed, you should get rid of the notification in your tray.


How does one enforce a secure lockscreen on Android mail clients?

Seems the answer is, "it can't be enforced", despite the non-answer that user157947 gave. (Seriously, did you actually read the question?  You certainly didn't read or respond to my follow-up queries.)

The closest one might come to this is to use custom CA certificates for signing the TLS key used by IMAP, as installing the requisite CA certificate (for server verification) in the phone more or less enforces the key lock.  Another option is to issue client certificates for each device to be connected via IMAP: this too enforces a secure screen lock.

Microsoft Exchange is able to enforce it by means of proprietary extensions in the protocols used it seems, it is not done over IMAP/SMTP.


Force Sony Music app to refresh album art from MP3 files

I had the same problem. I solved it by playing a track from the album that showed the 'old' art, went into update music info and deleted the album art. All of a sudden it displayed the 'new' art. This seems to clean up the image cache for that album. Whether this clears the whole cache, I am not sure, but now all albums show updated art.


What are the alternatives for Xposed framework on Pie? Preferably without triggering Safety Net?

There are significant changes in Magisk /EdXposed drivers which are updated here How to install EdXposed on Android 10 without triggering safety net
Please refer to updated installation instructions.

*Alternatives to Xposed (rovo89) are:

Virtual Xposed - a rootless Xposed and therefore far less capable. I didn't investigate further for this reason but I read that development on this has stopped (unconfirmed).

Tai-Chi Xposed by the same developer of Virtual Xposed and supports Android Pie. Said to be close sourced and likely to be paid module per some reports.

Edxposed. This is the alternative I chose.

Disclaimer: I am not a developer nor am I affiliated to any app or module.
Is it safe?
Yes
For an average user like me, two factors help decide:

Open Source Vs Close Source Edxposed is  Open source. I have no understanding of code and cannot draw any conclusion from looking at code. But yes, being open source means it is subject to scrutiny by knowledgeable folks and therefore safer (Please don't drag me into open source discussion, rather post an alternative answer :).

Provenance or trust attached

The last  Xposed update by rovo89 is also close sourced (as against earlier versions which are open source). This being close source would not have detracted people from using it purely based on developer's reputation.

In the case of Edxposed, my trust lies with Marcel (aka M66B) who has developed several privacy centered modules / apps such as NetGuard, Xprivacy, XprivacyLua and FairEmail. For me, when a staunch privacy advocate like Marcel starts development using EdXposed(edit-completed development), that's pretty much sovereign guarantee despite some warnings about close source (Incidentally, this claim is incorrect and a Reddit user informed XDA portal. To clarify again, it is open source)

Is it as good as Xposed and can I use all Xposed modules?

It is not (yet) as powerful as Xposed because it lacks support at this stage for resource hooks but it may get added hopefully.

It is still in beta stage but a lot of modules work already. See [Updated] List of Xposed modules for Android Pie working with Ed Xposed Framework for a list of working and non-working modules which is being updated. Take this list with a pinch of salt - it may mean anything from doesn't crash and works partially to fully works. See last question below.

For me XPrivacy Lua works and works far better on EdXposed than on the beta version of Xposed on Oreo. Another must module for me is Maxlock which works fine. Only one I want is GravityBox and C3C076 , developer of GravityBox is considering development for EdXposed and it is likely others follow suit.

Does it pass Safety Net?
Yes :)
OK, how do I install it?
Check for updates from corresponding links below as they would change being a beta. Valid as on 12 Feb 19 and will not be updated in this answer. See How to install EdXposed on Android 10 without triggering safety net for a more recent method
Source Android 9.0 uses xposed solutions as updated
Use Magisk order to install these modules in the same order ( You won't find them in the magisk repo. Download them and from Magisk Downloads option click on the + to install and they will appear as Magisk Modules)

Magisk-riru-core-arm-arm64-v10.zip

Magisk-EdXposed-arm-arm64-v x.x_beta-release.zip

Don't reboot yet , install XposedInstaller_by_dvdandroid_19_10_18. apk or from XDA

magisk-EdXposed-v0.2.9.8_beta1-release.zip (check for updates in subsequent releases)

Reboot.

Does it work on modded UI's like that of Samsung , MiUI, Poco etc?
Traditionally XPosed always had a problem with such devices but EdXposed seems to fare better. Issues with some devices are reported so YMMV (check out the linked XDA thread)
List of  modules that are  fully optimized?
Developers would need to upgrade their modules for working with Pie AND EdXposed. As of now, the following modules meet these requirements

XPrivacy Lua

Xposed Edge Pro

Gravity Box Beta released on 08 Mar 19.

Notes

You may need multiple reboots.

Ignore the warning on the installer Xposed not yet compatible ...with SDK 28...or your Android architecture (see pic below).

You may find at times that installer is disabled - reinstall and reboot to fix. For some , soft reboot from installer fixes the problem (root permission needs to be given for installer).

Whenever Installer is upgraded, it is better in my experience to uninstall the earlier installer and install the newer one to prevent instability

Your device may be noticeably slower to respond - that's a price to pay till things stabilize.

Some modules may work with earlier versions of Edxposed and not with later versions or vice-versa.

Pro-tip Just in case you land up installing a module that ends up in a boot loop or creates some other problem , it is handy to have [Tool][2018.8.1] Magisk Manager for Recovery Mode (mm) installed so that you can disable or uninstall the Xposed modules from Magisk.

Screenshots are from my MiA1 (Android one) running stock OS with latest Magisk 18.1

(Click to enlarge)
Happy Xposing !


Google Keyboard (gboard) adds word fragments on backspace

Gboard keyboard settings-> text correction-> disable auto correction.


How I can downgrade from U3 to U1 "oreo to nougat"

How I can downgrade from U3 to U1?

The short answer is you cannot. the u# is the bootloader version. The bootloader is protected by rollback protection fuses:

Rollback Prevention (RP)

  Rollback Prevention blocks the device from loading or flashing an approved but old version of
  boot components. Old versions of software may contain known vulnerabilities that
  attackers can exploit. Rollback prevention checks the version of the bootloader and kernel
  during both boot and updates, and blocks these processes from continuing if versions are
  unacceptably old. The lowest acceptable version of the bootloader is stored in secure hardware
  fuses when the device is flashed, and the lowest acceptable version of the kernel is stored in the
  bootloader itself. Whenever a vendor-applied update occurs, the lowest acceptable version can
  be incremented in the fuses. Because this value is kept in fuses, it cannot be decremented even
  through physical tampering.
  Rollback Prevention fuses are set at manufacturing time in the Samsung factory to prevent old
  firmware versions from overwriting newer ones.

This is from Samsung technical notes but it is a .pdf Download.

Flashing back to stock will not help either since it an issue with Samsung Knox securities. It will most likely end with a fatal error like:

SW REV. CHECK FAIL(BOOTLOADER) DEVICE: 3, BINARY: 1

Mixing and matching stock firmware files maybe be possible but is an increase risk to bricking your device. If you try I would make sure to have multiple devices or multiple reports of success. Also double check to make sure if a workaround is found that it has not been patched or you have the firmware version it works for.

There might be an exploit to bypass this though I have not seen one for your specific device to downgrade oreo to nougat.

Another possibility could be a custom ROM downgrade to the android version you want that does not downgrade the bootloader.


Alternative "File Open" (not stack "DocumentsUi") for WhatsApp?

May be this is not exactly the answer to you question because I don't have any of your version of Android and WhatsApp to test. But on my Pie ROM with WhatsApp v2.19.53, I can pick attachments with any File Manager that registers one of its activities as a preferred activity for some implicit intent action; android.intent.action.OPEN_DOCUMENT in our case. I use MiXplorer, so:

# /data/system/users/0/package-restrictions.xml

[...]
<preferred-activities>
    [...]
    <item name="com.mixplorer/.activities.BrowseActivity" match="600000" always="false" set="0">
        <filter>
            <action name="android.intent.action.OPEN_DOCUMENT" />
            <cat name="android.intent.category.OPENABLE" />
            <cat name="android.intent.category.DEFAULT" />
            <type name="*/*" />
        </filter>
    </item>
    [...]
    <item name="com.android.documentsui/.picker.PickActivity" match="600000" always="false" set="0">
        <filter>
            <action name="android.intent.action.OPEN_DOCUMENT" />
            <cat name="android.intent.category.OPENABLE" />
            <cat name="android.intent.category.DEFAULT" />
            <type name="*/*" />
        </filter>
    </item>
    [...]
</preferred-activities>
[...]

When I tap on attachment icon in WhatsApp, it opens WhatsApp's own DocumentPickerActivity from where I can pick files:

ActivityManager: {cmp=com.whatsapp/.DocumentPickerActivity (has extras)}

Or I can opt to choose some other File Manager by tapping Browse other docs on top. This way Android's internal resolver goes through configurations and opens up available options for me:

ActivityManager: {act=android.intent.action.OPEN_DOCUMENT cat=[android.intent.category.OPENABLE] typ=*/* cmp=android/com.android.internal.app.ResolverActivity (has extras)}

To pick attachment, I can choose MiXplorer app:

ActivityManager: {act=android.intent.action.OPEN_DOCUMENT cat=[android.intent.category.OPENABLE] typ=*/* cmp=com.mixplorer/.activities.BrowseActivity (has extras)}

Or Files / DocumentsUI app:

ActivityManager: {act=android.intent.action.OPEN_DOCUMENT cat=[android.intent.category.OPENABLE] typ=*/* cmp=com.android.documentsui/.picker.PickActivity (has extras)}

First thing to check is if Files / DocumentsUI app is not set as default app (always="true"):

# /data/system/users/0/package-restrictions.xml

[...]
<preferred-activities>
    [...]
    <item name="com.android.documentsui/.picker.PickActivity" match="600000" always="true" set="2">
    [...]
</preferred-activities>
[...]

If this is the case you need to reset its defaults (App info > Open by default > Clear defaults).

You can also try with a different File Explorer app and different WhatsApp version to test if it works. I'm not sure if there are any changes in implementation of com.android.internal.app.ResolverActivity across AOSP updates, so consider updating Android version if possible.

RELATED: Why WhatsApp is suddenly unable to open any APK shared by users?


Moto X 1st gen. microphone does not work in calls but does elsewhere

Try turning off noise cancellation in dialer settings


Browser to use in 3G with optimized (in size) content retriaval

Try using the Opera browser. It compresses the webpages before sending to your phone.

EDIT: Here's a test done by PC World that Engadget featured showing the Skyfire browser being slightly faster than Opera Mini.


What do Android application permissions mean?

This is all the available permissions that an application can require. Of this list, there are some that can only be "requested" by "System" applications. Applications that are not system applications will not be able to request permissions to "System Permissions". Only applications that are in the /system/app location and signed with the System key can request these specific system permissions.

These are the names that are used by the developer of the application to request the permission, but the name that is displayed when installing should have some similar wording to the name.

Permissions

ACCESS_CHECKIN_PROPERTIES

Allows read/write access to the "properties" table in the (Unix security)
checkin database, to change values that get uploaded.
Group: LOCATION
Level: SYSTEM

ACCESS_COARSE_LOCATION

Allows an app to access approximate location derived from network location
sources such as cell towers and Wi-Fi.
Group: LOCATION
This permission is usually used by applications that display location based
ads by publishers like Admob (Google).

ACCESS_FINE_LOCATION

Allows an app to access precise location from location sources such as GPS,
cell towers, and Wi-Fi.
Group: LOCATION
This permission can be used by applications that display location based ads
by publishers like Admob (Google). It is also used by applications that want
your exact location. Examples would be Navigation applications, "Check-In"
apps like 4square.

ACCESS_LOCATION_EXTRA_COMMANDS

Allows an application to access extra location provider commands.
A good example for poor documentation, as even books on Android application
development state: The Android documentation doesn’t tell us
which location commands are “extra,” so we’ll ask for all of them.
Group: LOCATION

ACCESS_MOCK_LOCATION

Allows an application to create mock location providers for testing, and is
intended for development use in e.g. the Android Emulator (to save the dev
from having to run around to check if positions are displayed correctly).
Cases where this is needed in an app ready for endusers should be rare.
This allows an application to fake the location information.
Group: LOCATION

ACCESS_NETWORK_STATE

Allows applications to access information about networks.
Information including if a network is available (or just connecting), what
type of network the device is connected to, if any (WiFi, 3G, LTE), if it's
in Roaming, and also reasons for a failed connection attempt (if any).
Good use: The application may check the state of your connection before
trying to access the internet, and e.g. restrict itself to WiFi for some
actions.
Bad use: Only in combination with other permissions (e.g. data collection for
profiling).
Group: NETWORK

ACCESS_SURFACE_FLINGER

Allows an application to use SurfaceFlinger's low level features.
SurfaceFlinger is part of Android's media framework. It provides a
compositor which takes care for rendering in frame buffers (so this has to
do with graphics).
Group: SYSTEM_TOOLS
Level: SYSTEM

ACCESS_WIFI_STATE

Allows applications to access information about Wi-Fi networks
Group: NETWORK
This could be requested by any application that uses internet access. The
application may check the state of your connection before trying to access
the internet.
Good/Bad use: See ACCESS_NETWORK_STATE above.

ACCOUNT_MANAGER

Allows applications to call into AccountAuthenticators. Only
the system can get this permission.
An account-manager is the service working behind the scenes and taking care
everything works as expected.
Group: ACCOUNTS
Level: SYSTEM
This permission is reserved for system apps.

ADD_VOICEMAIL (4.0+)

Allows an application to add voicemails into the system.
Group: PERSONAL_INFO

AUTHENTICATE_ACCOUNTS

Allows an application to act as an AccountAuthenticator for the
AccountManager
Group: ACCOUNTS
This is for applications that would authenticate you to their service.
An app using this permission usually provides an interface to deal with a
certain account type (which is not known by the pre-installed Android
system), such as Dropbox. As shipped, Android does not know how to login to
Dropbox and how to deal with a Dropbox account – so the Dropbox app provides
the mechanism. Additionally, an "account authenticator" might restrict the
actions an app can perform with the account (so it would e.g. be possible to
administrate this via some web interface offered by the service).

BATTERY_STATS

Allows an application to collect battery statistics
Battery widgets and other battery information tools use this permission
Group: SYSTEM_TOOLS

BIND_APPWIDGET

Allows an application to tell the AppWidget service which application can
access AppWidget's data.  The normal user flow is that a user picks an
AppWidget to go into a particular host, thereby giving that host application
access to the private data from the AppWidget app. An application that has
this permission should honor that contract. Very few applications should
need to use this permission.
Group: PERSONAL_INFO
Level: SYSTEM

BIND_DEVICE_ADMIN (2.2+)
Must be required by device administration receiver, to ensure that only the
system can interact with it.

Group: SYSTEM_TOOLS
Level: SYSTEM

BIND_INPUT_METHOD

Must be required by an InputMethodService, to ensure that only the system
can bind to it.
Group: SYSTEM_TOOLS
Level: SYSTEM

BIND_REMOTEVIEWS (3.0+)

Must be required by a RemoteViewsService, to ensure that only the system can
bind to it.
Level: SYSTEM

BIND_TEXT_SERVICE (4.0+)

Must be required by a TextService (e.g. SpellCheckerService) to ensure that
only the system can bind to it.
Group: SYSTEM_TOOLS
Level: SYSTEM

BIND_VPN_SERVICE (4.0+)

Must be required by a Vpn Service, to ensure that only the system can bind
to it.
Group: SYSTEM_TOOLS
Level: SYSTEM

BIND_WALLPAPER (2.2+)

Must be required by a WallpaperService, to ensure that only the system can
bind to it.
Group: SYSTEM_TOOLS
Level: SYSTEM

BIND_*

many more like the above for different services, like NFC, PrintService, and
others

BLUETOOTH

Allows applications to connect to paired bluetooth devices
Group: NETWORK

BLUETOOTH_ADMIN

Allows applications to discover and pair bluetooth devices
Group: SYSTEM_TOOLS

BLUETOOTH_PRIVILEGED (4.4+)

Allows applications to pair bluetooth devices without user interaction. This
is not available to third party applications.

BRICK

Required to be able to disable the device
Group: SYSTEM_TOOLS
Level: SYSTEM

BROADCAST_PACKAGE_REMOVED

Allows an application to broadcast a notification that an application
 package has been removed.
Group: SYSTEM_TOOLS
Level: SYSTEM

BROADCAST_SMS

Allows an application to broadcast an SMS receipt notification
Group: MESSAGES
Level: SYSTEM

BROADCAST_STICKY

Allows an application to broadcast sticky intents.  These are
 broadcasts whose data is held by the system after being finished,
 so that clients can quickly retrieve that data without having
 to wait for the next broadcast.
Group: SYSTEM_TOOLS

BROADCAST_WAP_PUSH

Allows an application to broadcast a WAP PUSH receipt notification
Group: MESSAGES
Level: SYSTEM

CALL_PHONE

Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed.
Group: COST_MONEY
This will allow the application to "prompt" you to place a call. You will not have to enter the number, but you will have to place the "call" button. You will be able to see the number that is being called.

CALL_PRIVILEGED

Allows an application to call any phone number, including emergency
numbers, without going through the Dialer user interface for the user
to confirm the call being placed.
Group: MESSAGES
Level: SYSTEM

CAMERA

Required to be able to access the camera device.
Group: HARDWARE_CONTROLS
Any application that uses the rear or front cameras.

CAPTURE_AUDIO_OUTPUT (4.4+)

Allows an application to capture audio output. Not for use by third-party
applications.

CAPTURE_SECURE_VIDEO_OUTPUT (4.4+)

Allows an application to capture secure video output. Not for use by
third-party applications.

CAPTURE_VIDEO_OUTPUT (4.4+)

Allows an application to capture video output. Not for use by third-party
applications.

CHANGE_COMPONENT_ENABLED_STATE

Allows an application to change whether an application component (other than
its own) is enabled or not.
Group: SYSTEM_TOOLS
Level: SYSTEM

CHANGE_CONFIGURATION

Allows an application to modify the current configuration, such
 as locale.
Group: SYSTEM_TOOLS

CHANGE_NETWORK_STATE

Allows applications to change network connectivity state
Group: SYSTEM_TOOLS

CHANGE_WIFI_MULTICAST_STATE

Allows applications to enter Wi-Fi Multicast mode
Group: SYSTEM_TOOLS

CHANGE_WIFI_STATE

Allows applications to change Wi-Fi connectivity state
Group: SYSTEM_TOOLS

CLEAR_APP_CACHE

Allows an application to clear the caches of all installed
applications on the device.
Group: SYSTEM_TOOLS

CLEAR_APP_USER_DATA

Allows an application to clear user data
Group: SYSTEM_TOOLS
Level: SYSTEM

CONTROL_LOCATION_UPDATES

Allows enabling/disabling location update notifications from
 the radio. Not for use by normal applications.
Group: LOCATION
Level: SYSTEM

DELETE_CACHE_FILES

Allows an application to delete cache files.
Group: SYSTEM_TOOLS
Level: SYSTEM

DELETE_PACKAGES

Allows an application to delete packages.
Group: SYSTEM_TOOLS
Level: SYSTEM

DEVICE_POWER

Allows low-level access to power management
Group: SYSTEM_TOOLS
Level: SYSTEM

DIAGNOSTIC

Allows applications to RW to diagnostic resources.
Group: SYSTEM_TOOLS
Level: SYSTEM

DISABLE_KEYGUARD

Allows applications to disable the keyguard
Group: SYSTEM_TOOLS

DUMP

Allows an application to retrieve state dump information from system
services.
Group: SYSTEM_TOOLS
Level: SYSTEM

EXPAND_STATUS_BAR

Allows an application to expand or collapse the status bar.
Group: SYSTEM_TOOLS

FACTORY_TEST

Run as a manufacturer test application, running as the root user.
Only available when the device is running in manufacturer test mode.
Group: SYSTEM_TOOLS
Level: SYSTEM

FLASHLIGHT

Allows access to the flashlight
Group: HARDWARE_CONTROLS
Allows application to control the LED flash from the camera and have it act like a flashlight.

FORCE_BACK

Allows an application to force a BACK operation on whatever is the top
activity.
Group: SYSTEM_TOOLS
Level: SYSTEM

GET_ACCOUNTS

Allows access to the list of accounts in the Accounts Service
Applications that require some type of authentication from accounts that are
"connected" to the device. A list of the accounts are ususally displayed so
you can choose the account to use with the application. To really use those
credentials, the USE_CREDENTIALS permission is required.
Group: ACCOUNTS
also see: What does “discover known accounts” permission mean?

GET_PACKAGE_SIZE

Allows an application to find out the space used by any package.
Group: SYSTEM_TOOLS

GET_TASKS

Allows an application to get information about the currently or recently
running tasks: a thumbnail representation of the tasks, what activities are
running in it, etc. Bad cop: spy for possible security leaks (vulnerable
apps), data collection. Good cop: check whether the app's own service is
running, show recently used apps (task-switcher), provide app-specific behaviour (eg orientation manager tools).
Group: SYSTEM_TOOLS

GET_TOP_ACTIVITY_INFO (4.3+)

Allows an application to retrieve private information about the current top
activity, such as any assist context it can provide. Not for use by
third-party applications.

GLOBAL_SEARCH

This permission can be used on content providers to allow the global
search system to access their data.  Typically it used when the
provider has some permissions protecting it (which global search
would not be expected to hold), and added as a read-only permission
to the path in the provider where global search queries are
performed.  This permission can not be held by regular applications;
it is used by applications to protect themselves from everyone else
besides global search.
Group: SYSTEM_TOOLS
Level: SYSTEM

HARDWARE_TEST

Allows access to hardware peripherals.  Intended only for hardware testing
Group: HARDWARE_CONTROLS

INJECT_EVENTS

Allows an application to inject user events (keys, touch, trackball)
into the event stream and deliver them to ANY window.  Without this
permission, you can only deliver events to windows in your own process.
Very few applications should need to use this permission.
Group: SYSTEM_TOOLS
Level: SYSTEM (or APPLICATION ONLY)

INSTALL_LOCATION_PROVIDER

Allows an application to install a location provider into the Location Manager
Group: LOCATION

INSTALL_PACKAGES

Allows an application to install packages.
Group: SYSTEM_TOOLS
Level: SYSTEM

INSTALL_SHORTCUT (4.4+)

Allows an application to install a shortcut in Launcher (Homescreen)

INTERACT_ACROSS_USERS (4.4+?)

Allows an application to call APIs that allow it to do interactions across the users on the device, using singleton services and user-targeted broadcasts. This permission is not available to third party applications.
Group: SYSTEM_TOOLS
Level: SIGNATURE_OR_SYSTEM
also see this answer

INTERNAL_SYSTEM_WINDOW

Allows an application to open windows that are for use by parts of the
system user interface.  Not for use by third party apps.
Group: SYSTEM_TOOLS
Level: SYSTEM

INTERNET

Allows applications to open network sockets.
Group: NETWORK
Any application that accesses the internet for any reason will have to
request this permission.

KILL_BACKGROUND_PROCESSES (2.2+)

Allows an application to call killBackgroundProcesses
Group: SYSTEM_TOOLS

LOCATION_HARDWARE (4.3+)

Allows an application to use location features in hardware, such as the
geofencing api. Not for use by third-party applications.

MANAGE_ACCOUNTS

Allows an application to manage the list of accounts in the AccountManager
Group: ACCOUNTS
This permission allows an application to add/remove accounts in the account
manager. Like when you log in to facebook, it adds your account to the
Account Manager accounts. For further details, see: What does permission
“MANAGE_ACCOUNTS” mean?,
and also the AccountManager Documentation on the Android Developers site.

MANAGE_APP_TOKENS

Allows an application to manage (create, destroy, Z-order) application
tokens in the window manager.  This is only for use by the system.
Group: ACCOUNTS
Level: SYSTEM

MANAGE_DOCUMENTS (4.4+)

Allows an application to manage access to documents, usually as part of a
document picker.

MANAGE_USB

Allows an application to manage preferences and permissions for USB devices
Group: HARDWARE_CONTROLS
Level: SYSTEM

MANAGE_MTP

Allows an application to access the MTP USB kernel driver.
For use only by the device side MTP implementation.
Group: HARDWARE_CONTROLS
Level: SYSTEM

MASTER_CLEAR

Level: SYSTEM

MEDIA_CONTENT_CONTROL (4.4+)

Allows an application to know what content is playing and control its
playback. Not for use by third-party applications due to privacy of media
consumption

MODIFY_AUDIO_SETTINGS

Allows an application to modify global audio settings
Group: HARDWARE_CONTROLS

MODIFY_PHONE_STATE

Allows modification of the telephony state - power on, mmi, etc.
Does not include placing calls.
Group: PHONE_CALLS
Level: System

MOUNT_FORMAT_FILESYSTEMS

Allows formatting file systems for removable storage
Group: SYSTEM_TOOLS

MOUNT_UNMOUNT_FILESYSTEMS

Allows mounting and unmounting file systems for removable storage
Group: SYSTEM_TOOLS

NFC (2.3+)

Allows applications to perform I/O operations over NFC
Group: NETWORK

PERSISTENT_ACTIVITY

Allow an application to make its activities persistent. deprecated
Group: SYSTEM_TOOLS

PROCESS_OUTGOING_CALLS

Allows an application to monitor, modify, or abort outgoing calls.
Group: PHONE_CALLS

READ_CALENDAR

Allows an application to read the user's calendar data.
Group: PERSONAL_INFO

READ_CALL_LOG (4.1+)

Allows an application to read the system's call log that contains
information about incoming and outgoing calls.

READ_CONTACTS

Allows an application to read the user's contacts data.
Group: PERSONAL_INFO
Check the app permission.READ_CONTACTS to see what informations can be obtained with this permission.

READ_CONTENT_PROVIDER

Access mail information
Group: MESSAGES
This is primarily for access to information on Mails in Gmail. Developers can use this content provider to display label information to the user.
also see: What lurks behind these Gmail/GTalk permissions?

READ_EXTERNAL_STORAGE (4.1+)

Provides protected read access to external storage. In Android 4.1 by
default all applications still have read access. This changed with
Android 4.4 (API level 19), which now requires that applications explicitly
request read access using this permission. If an application already
requests write access, it will automatically get read access as well.
Group: STORAGE

READ_FRAME_BUFFER

Allows an application to take screen shots and more generally get access to
the frame buffer data
Group: SYSTEM_TOOLS
Level: SYSTEM

READ_GMAIL

also see: What lurks behind these Gmail/GTalk permissions?

READ_HISTORY_BOOKMARKS

Allows an application to read (but not write) the user's browsing history
and bookmarks.
Group: PERSONAL_INFO
Check the app READ_HISTORY_BOOKMARKS App. to see what information can be obtained with this permission.

READ_INPUT_STATE

Allows an application to retrieve the current state of keys and switches.
This is only for use by the system.
Group: SYSTEM_TOOLS
Level: SYSTEM

READ_LOGS

Allows an application to read the low-level system log files. Log entries
can contain the user's private information
Group: PERSONAL_INFO
No longer granted to user apps starting with Android 4.2+ (user apps can now only see their own log entries). Work-arounds are possible on rooted devices.
For details, see: Read logs from all apps on android from within an app for android 4.2+

READ_OWNER_DATA
READ_PHONE_STATE

Allows read only access to phone state.
Group: PHONE_CALLS
This permission gives access to your device's identifiers (IMEI/IMSI),
SIM ID, voice mailbox number, your phone number and, if a call is in
progress, the remote number. It's not required for things like
call state (whether a call is in progress/pending), network operator, or
the network provider used – according to the app permission.READ_PHONE_STATE, which shows what this permission is needed for (and what not)
automatically granted to apps targeted at Android 1.6 or before
good use: ???
bad use: you can be tracked across networks via your IMSI/IMEI/phone number
neutral use: targeted ads (service can see what ads have already been
displayed on your device, and don't need to be displayed again, for example)
See also:

Read phone state and identity
Why do so many applications require permission to read the phone state and identity?
Can Phone Calls application permission allow developer to read my contact book?

READ_PROFILE (4.0+)

Allows an application to read the user's personal profile data.
Group: PERSONAL_INFO

READ_SECURE_SETTINGS

Allows an application to read the secure system settings.
Group: HARDWARE_CONTROLS

READ_SMS

Allows an application to read SMS messages.
Group: MESSAGES
Check the app permission.READ_SMS to see what information can be obtained with this permission.

READ_SOCIAL_STREAM (4.0+)

Allows an application to read from the user's social stream.
Group: PERSONAL_INFO

READ_SYNC_SETTINGS

Allows applications to read the sync settings
Group: SYSTEM_TOOLS

READ_SYNC_STATS

Allows applications to read the sync stats
Group: SYSTEM_TOOLS

READ_USER_DICTIONARY (4.1+)

Allows an application to read the user dictionary. This should really only
be required by an IME, or a dictionary editor like the Settings app.
Group: PERSONAL_INFO

REBOOT

Required to be able to reboot the device
Group: SYSTEM_TOOLS
Level: SYSTEM

RECEIVE_BOOT_COMPLETED

Allows an application to receive the
ACTION_BOOT_COMPLETED that is broadcast after the system
finishes booting.  If you don't request this permission, you will not
receive the broadcast at that time. Though holding this permission does not
have any security implications, it can have a negative impact on the
user experience by increasing the amount of time it takes the system to
start and allowing applications to have themselves running without the user
being aware of them.  As such, you must explicitly declare your use of this
facility to make that visible to the user.
Group: SYSTEM_TOOLS

RECEIVE_EMERGENCY_BROADCAST

Allows an application to receive emergency cell broadcast messages,
to record or display them to the user. Reserved for system apps.
Group: MESSAGES
Level: SYSTEM
Pending API council approval

RECEIVE_MMS

Allows an application to monitor incoming MMS messages, to record
or perform processing on them.
Group: MESSAGES

RECEIVE_SMS

Allows an application to monitor incoming SMS messages, to record
or perform processing on them.
Group: MESSAGES
also see: Can the RECEIVE_SMS permission be used to intercept SMS messages?

RECEIVE_WAP_PUSH

Allows an application to monitor incoming WAP push messages.
Group: MESSAGES

RECORD_AUDIO

Allows an application to record audio
Group: HARDWARE_CONTROLS

REORDER_TASKS

Allows an application to change the Z-order of tasks
Group: SYSTEM_TOOLS

RESTART_PACKAGES

deprecated - No longer supported

SEND_RESPOND_VIA_MESSAGE (4.3+)

Allows an application (Phone) to send a request to other applications to
handle the respond-via-message action during incoming calls. Not for use by
third-party applications.

SEND_SMS

Allows an application to send SMS messages.
Group: COST_MONEY

SEND_SMS_NO_CONFIRMATION

Allows an application to send SMS messages via the Messaging app with no
user input or confirmation.
Group: COST_MONEY
Level: SYSTEM

SET_ACTIVITY_WATCHER

Allows an application to watch and control how activities are started
globally in the system.
Group: SYSTEM_TOOLS
Level: SYSTEM

SET_ALARM (2.3+)

Allows an application to broadcast an Intent to set an alarm for the
user.
Group: PERSONAL_INFO

SET_ALWAYS_FINISH

Allows an application to control whether activities are immediately
finished when put in the background.
Group: DEVELOPMENT_TOOLS

SET_ANIMATION_SCALE

Modify the global animation scaling factor.
Group: SYSTEM_TOOLS

SET_DEBUG_APP

Configure an application for debugging.
Group: DEVELOPMENT_TOOLS

SET_ORIENTATION

Allows low-level access to setting the orientation (actually rotation) of
the screen. Not for use by normal applications.
Group: SYSTEM_TOOLS
Level: SYSTEM

SET_POINTER_SPEED (3.2+)

Allows low-level access to setting the pointer speed. Not for use by normal
applications.
Group: SYSTEM_TOOLS
Level: SYSTEM

SET_PREFERRED_APPLICATIONS

deprecated No longer useful
Group: SYSTEM_TOOLS

SET_PROCESS_LIMIT

Allows an application to set the maximum number of (not needed)
application processes that can be running.
Group: DEVELOPMENT_TOOLS

SET_TIME (2.2+)

Allows applications to set the system time
Group: SYSTEM_TOOLS
Level: SYSTEM

SET_TIME_ZONE

Allows applications to set the system time zone
Group: SYSTEM_TOOLS

SET_WALLPAPER

Allows applications to set the wallpaper
Group: SYSTEM_TOOLS

SET_WALLPAPER_HINTS

Allows applications to set the wallpaper hints
Group: SYSTEM_TOOLS

SIGNAL_PERSISTENT_PROCESSES

Allow an application to request that a signal be sent to all persistent
processes
Group: DEVELOPMENT_TOOLS

STATUS_BAR

Allows an application to open, close, or disable the status bar and its
icons.
Group: SYSTEM_TOOLS
Level: SYSTEM

SUBSCRIBED_FEEDS_READ

Allows an application to read the subscribed feeds ContentProvider.
Group: SYSTEM_TOOLS

SUBSCRIBED_FEEDS_WRITE

Allows an application to write to the subscribed feeds ContentProvider.
Group: SYSTEM_TOOLS

SYSTEM_ALERT_WINDOW

Allows an application to open windows using the type
TYPE_SYSTEM_ALERT, shown on top of all other applications.
Very few applications should use this permission; these windows are intended
for system-level interaction with the user.
Group: SYSTEM_TOOLS

continue here
too many characters (Body is limited to 30000 characters), so it had to be split


How do android check for apps notifications? Can I change the frequency between checks?

There is more than one kind of notification.

Poll: IMAP email normally uses polling. Your mail application checks for mail periodically, and if there is a new message it displays a notification. The polling interval is configurable, but this is on a per-account basis.
Push: Your Android device maintains a connection to Google's cloud messaging server (Firebase or GCM). All applications use this single connection. When an application server sends your device a message, it is relayed through the cloud messaging server and given to the corresponding application, which handles it immediately. As far as I know, there is no way to limit when this occurs short of disabling the data connection.

In summary, you can change poll notification frequency as the applications allow, but not push notifications.


How to select a Non OEM USB Type C charger or cable for my device?

USB C Chargers/ Cables are a minefield - In implementation

The standards (as they should) are said to clear and consistent but implementation has been shoddy causing multiple problems and even burnouts. One Plus pioneered Type C on Android (One Plus Two) and set a wrong precedent by saving few cents, maybe, with a non- standard resistor . They are not the only ones, Apple and Google too , to an extent ( not to forget laptops )
Coming to Google, sample this, quoted from reddit post Please ELI5:Chargers, charging cables, and safety for my Pixel
where Nathan K  , says :

On buying USB cables having USB_IF certification (USB C )

  USB-IF Certification testing costs money -- lots of money. $10,000 per product. So a lot of generic manufacturers simply do not do it. Instead, they make products by the seat-of-their-pants. Others, like Apple and Google say "Screw the USB-IF, we know better than them. We can self-certify." So products you buy in an Apple Store or from Google may not have a USB-IF logo, but are (mostly) good. (There are some exceptions I've discovered, noted in my list.)

(Emphasis supplied)

On Chargers

  ...Google sells people on buying a $35 USB-PD charger its own product doesn't even utilize. The only time it would be used is with expensive peripherals like charge-through hubs.

( I am not sure what exactly is not utilized, haven't researched further   )

So, whom to trust ?

Nathan K is an independent tester, not affiliated to anyone (Google Plus ). Benson Leung is a Google software engineer ( Google Plus ). Individually and collectively, they carry out tests of practically any USB Type C equipment , chargers and cables and publish them on Google Plus.

They are doing a yeoman service by advising users on choosing right USB Type C accessories and their testing has at times forced prominent brands to remove products from sale (Anker, for example, see their blogs for more examples

Browse their blogs for the right accessory for your device and you may reach out to them on reddit / Google Plus

For Pixel users

You have it on a platter ! Nathan and Benson together they have curated a list of accessories that are tested for your device (details here ). Consider buying charger and cable based on the recommendations linked above (make sure look at the column titled "IR Drop compensation" (should have that). That is a very important feature to correctly charge

You will notice that some negatively or low  rated accessories include OEMs like LG, google and Huawei !

Disclaimer: Haven't owned any device with Type C charging and nor I am affiliated anyway with Nathan or Benson

Additional Information

USB Type C over Power Delivery (PD) , is different from Qualcomm Quick Charging. Qualcomm's Quick Charge will not work on a Pixel. The charger will default to a spec-standard current and voltage
What are USB PD Power Rules?
Can Qualcomm QC and USB Type-C coexist on the same connector?- No. Type C specs forbid that (though you will find cables that claim to do this on market- avoid them like plague). For the same reason,  Nexus 6P and 5X do not support QC
USB-PD can only work with a C-C USB cables. A to C cables - (pic here ) cannot charge as per specs (max current possible is 1.5 A)


How can I flash back to the stock rom for HTC EVO 4G/Supersonic using just the phone and clockwork mod recovery and/or rom manager?

http://goo-inside.me/evo/stock/ruu/ provides a straightforward guide, reproduced below, of how to revert to a stock ROM, and it looks like all you need is ClockworkMod.  You probably want the newest Dec. 15th software linked on that page.  Heed the warning!

  WARNING! RUU'ing your phone will wipe all data on your phone, and if done incorrectly, can BRICK your device permanently!
  Performing an RUU entails completely wiping your user data, removing root, removing your custom recovery, and switching to the specified radio, hboot, and stock Sense ROM version that's in the file name.

  Instructions:

  Download the UnrEVOked Forever S-ON tool and flash from ClockworkMod or Amon_RA recovery.
  Download ZIP file for whatever software version you want to restore to. Note that you may not be able to downgrade, depending on your current software version.
  Check MD5 (Windows: HashCheck, Linux/Mac: Use md5sum comand from Terminal).
  Rename file to "PC36IMG.zip" (ensure that you do not have file extensions hidden, aka, that the file is not now "PC36IMG.zip.zip")
  Place file on the root of your SD card.
  Boot into hboot by powering off phone, then holding down Volume Down and Power until you are taken to the white screen with the skating Androids at the bottom.
  When asked if you want to flash the file, press Volume Up to confirm. The remainder of the prompts should be self-explanatory after that.


Forgot unlock-pattern of android device without registered Google account. Will factory reset work?

A factory reset will work for this issue. But you may lost your data.

I repeat you may loss because some cyanogen device didnot delete all data in a factory reset(including my device).

So try it.


Remap Bluetooth Headset's media key [Android 9]

I solved my issue by using a app called AutoVoice in combination with Tasker.

In Android Settings, Apps, Default Apps, Assist & Voice Input I selected AutoVoice.

In Tasker I created a Profile which is a Event triggered by Plugins > AutoVoice > AutoVoice BT Pressed and the connected Task contains only Media Control, Switch Pause, Simulate Media Key is activated and I selected a music app as App, in my case Spotify.

This works just fine.

Let me know if you have the same problem and have issues with my solution.


Does the Android web browser support x509 certificate user authentication?

I can't tell you for sure, but the Android OS supports x509 so I would assume the browser does as well.


Samsung Galaxy Note 10.1 went from functional to completely dead in 12 hours

You could try changing the battery, but that might not solve the problem.
When I had similar problem, there was nothing I could do about it, because the charging unit inside the device was dead. But I'm sure it has something to do with the battery, your best option would probably be sending it to a help / service / repair center...


64gb SDXC Cards in Galaxy S2, or 64gb SDXC cards where only 32gb supported

The Solution: Thanks to the guys on This Thread I figured it out. I also used the same tool they described, Minitool Partition Wizard, though I'm sure you could use any partition tool.

In windows on an SDXC card you can only format in ExFAT and NTFS. With a third party tool, you can make the card a FAT partition. Once you do this, the card is recognized in my S2 with no issues. I assume this will work with other phones that have "grey" support for large capacity SDXC cards.

Hope this helped y'all!


How do I get my Nexus 7 to show up in the adb devices list?

What fixed it for me was clicking on the "Connected as a media device" up at the top left corner, de-selecting Media Device (MTP) and then checking Camera (PTP).   This essentially made it show up as a different kind of USB device with different options and allowed the process to work perfectly.


permission denied on files created via adb in recovery

For some strange reason (even on my AOSP 6 Xperia S) actual "fully booted system" reported permissions are a lie.

I eventually ran ls -l from recovery, and discovered not only they were different, but also owner was another one (in this case root, instead of media_rw).

chown 1023.1023 and chmod 770 did the work and made the file "normal".


Samsung Galaxy S2 'Not Registered on Network'

From what I understand of SIMs, it's the SIM that is "not registered on network" since I'd guess you haven't kept up the payments on it when not using it, having moved to a new one.

If the phone works with your active SIM, it should work with a new activated SIM bought by the new owner, or an active SIM moved from the new owner's old phone.

Mind you, I have a phone with a useless SIM slot that's on a non-SIM network, so I might not have the right grasp of this, but that was what I had gathered about SIM phones - that for all intents and purposes your account was as portable as the SIM, and you could toss it into a phone and your account would follow; or get another SIM and have another account (ie, a country-local one when traveling.)


Problem while trying to sideload ROM to my nexus 4

Try to use "push" ADB command instead of side-loading to transfer the files.


Unable to get Vodaphone GPRS settings for Samsung Galaxy Young GT-S6312

Try sending a text message "VL" to 52586. If you get the same error message as a reply, you'll have to call the customer care and they'll guide you to set up gprs on your phone manually.
This happened to a friend of mine and he fixed it by calling the CC.


Sometimes Market update gets stuck downloading. How can I cancel?

On the "downloads" screen, long press the app in question and click "Cancel download."  Then try to update the app again and see if it'll complete this time.


I see repeated annoying pop-up messages claiming I have viruses. When I click "Remove Virus", I'm sent to the Google Play store. What should I do?

Visit a different site (and avoid this one in the future). That's a fake warning wanting to trick you into some download. Definitely do NOT hit that button labeled "Remove virus now" – if you do that, you'll have your device infected with some malware for sure. Don't get irritated by the Google logo, this is not a message from Google (they have other ways for "desinfection").

Never trust any such popup if it says your Android device has viruses – there are no viruses on Android (malware yes, but no viruses – there's a subtle difference). Second proof: a website cannot scan your device for malware, so how will it know?

One more pointer is the "countdown" in the second screenshot, which clearly identifies the message as Scareware: No sincere and trustworthy software would issue an ultimatum to the user. The only intention here is forcing you to "switch off your brains in panic".

So either that website got infected – or it's even an intentional malicious site. Your device is fine.


Seems surely the problem of hardware i.e. microphone. I have Pixel XL, and there are no software compatibility issues that i found yet. Still if u are very much sure, then you can factory reset the phone(it clears all the phone data and fresh start the Android) by going to Settings -> System -> Reset Options -> Erase All Data.

Note: It is recommended by many tech experts to Factory Reset the phone after installing an Android Version update as it clear unused previous OS caches.


How to switch from camera mode to media device?

These steps can be follow in android: kitkat version to switch from media Device to Camera or vice versa...

Connect your Device with the computer.
It will automatically detect the USB connection. There are two ways to redirect to settings of Media device/Camera. In case of no usb Connection detect please check the cable or driver for device.
From Notification . There is notification at notification  screen.
Connected as Camera/media Device . it will redirect to USB computer connection.
Or in another Settings--> Storage-->navigation right button -->USB computer connection > Media device (MTP)/ Camera PTP.

Hopes it will help you.


How do websites know if the device being used is an Android phone?

Generally, a browser will have what's called a User Agent which will tell the web site what browser is currently accessing the site.
These user agents will generally tell the website whether they are a mobile device or not.

A website can then serve up different pages or make pop ups show up when the browser that is accessing the website identifies itself as a mobile device.

Depending on the browser, you can tell the browser to present itself as a Desktop browser rather than a Mobile browser. On Chrome for Android, this can be done by tapping the menu button and ticking "Request Desktop Site"

Check out the this wiki article for some more indepth information - http://en.wikipedia.org/wiki/User_agent


Okay, from the above comments, hinting toward SELinux blocking acces to the files that are being copied around to the /data/data/ directory of apps. Yes it is SELlinux blockibg the access, you need just to set it to permissive mode with SELinux_switch and dont forget to set the user and group to the app's one. Thank you.
[Edit]
Okay so copying the files from termux with the options -pZL keeps everything in place and once you set the correct owner ans group it will work, I have not tried having a symlink from the droidc includes and libs folder to termux's ones.
If you missed fixing permission while copying files, you cén use /system/bin/restorecon -R (recurse) one both include and lib folders.


Stuck in recovery while doing factory reset

Your device is currently in either:

(Non-Samsung) Fastboot Mode

or...
(Samsung) Download Mode.

In this case, because you're not actively transferring files, you should be able to safely reboot it.


App not installed error on Huawei Mate 9

There's 'App not Installed' Error on Android on Stack Overflow.

For my case, Google Protect was on, so I was unable to install app.


Why isn't there any encryption application on GSM calling?

There are two levels of technical reason why this wouldn't work.

Not all mobile phones allow the software to control the audio that gets sent over a voice call: the microphone feeds directly into the cell radio. This is the same reason that apps to record calls or play sound over calls don't work on every phone.
GSM lossily compresses the sound signal using methods that are specifically designed to work with voice. If you were to try to send arbitrary data (such as an encrypted signal) over GSM, it would come out garbled at the other end.

If you want to make a phone call that your carrier can't eavesdrop, there are apps available to do this, but they work over wireless Internet, not over GSM (i.e. they use data not voice).


Application To Set Default Calendar Reminder

I found an app: Business Calendar Beta (free) that support default reminder.


What happens if you manually remove every launcher from your phone?

Launcher is an app which gives interface between user and other apps.We can delete default launcher by root access.If default launcher is deleted (Assuming no other launcher is installed on phone), then OS will work but we can't access any other apps from phone and it is looks like crashed phone.

So when you reboot without a launcher it will not go to any home page because there is no launcher at all.
So

1> It may show a blank screen
2> It may show company symbol with sound
3> Some times it shows "system stopped working" message

In this situation if you factory reset the phone (using boot loader) then also you will not able to get the launcher because the default app in the ROM is deleted.

To solve this you have to install ROM again you can also take necessary data backup(Using custom recovery).

You can also switch on phone and install launcher from Play Store using laptop/computer.Go to Play Store in PC and hit install on any launcher and it will install on phone.(You have to connect your phone to internet and signed in from same Google account)

You can install launcher app using a zip file. Flashing a proper zip file (which contains launcher app) in custom recovery.


Video Streamer that can connect via proxy

Make sure your proxy server is not blocking video streaming. If connectify is broadcasting an internet connection which is already established thru proxy, Android has got system-wide proxy connection. So, there's no need to setup proxy in particular player.
Sometimes, proxy servers limit the speed of video streaming & even block it. So, get this info first if proxy server is not managed by you.
Then, try using Real Player & let me know..


Were the apps developed using Above Air for Android? There seems to be a distinction between the two SDKs. Look at this tutorial for all the info on getting started. Even if some of the info is redundant, it does have a section on deployment to the phone.


Nexus 7 32GB - Cannot mount as a drive in Windows but USB cable still charges

I've had similar results with my Samsung Galaxy Nexus.  It will be charging fine when plugged in to the PC, but the PC will be oblivious to any device being connected.  And it worked fine the day before.

My first thought was also software fault.  But it happened with multiple USB cables on multiple PCs.  What I did notice was that sometime, especially when I plugged it in slowly, it will flash with a "Could not install device" prompt on Windows.  Which means it did find something, even if only briefly.

I managed to successfully connect by plugging it in only 50% on the device.  Obviously this was not ideal, so I investigated further.  Turns out my usb micro slot on the device was not exactly straight.  The tongue inside the receptacle was just a fraction too close to the side,  very nearly touching the bottom.

What I did to fix it was VERY GENTLY insert a toothpick between the tongue and the bottom of the receptacle and lift it up, just a tiny fraction.  I cannot overstate how gently you need to be.

That solved it and it has not given me any problems for the past 6 months.


How to block specific URL instead of whole domain

i'm sorry to tell you, it wont work.

In the hostfile you can only set an IP-Adress of an domain manually.
For example:
I dont want that my pc always looks for IP-Adress for ilovethis.net.

Or a better one:
I have many photos, videos and audio on my homeserver. But i dont want to always type 192.168.178.178 (etc.) in my Browser.
Yes! I would add an entry to my hostfile which says: Domain home.server should go to 192.168.178.178 (looks like: 192.168.178.178 home.server)

I hope you know what i mean.
This was not made for specific url,
its for local DNS manipulation.

Greetings,
Fischmaster


Firstly, Li Polymer has the same charge/discharge characteristics as Lithium ion, the underlying chemistry being the same. For more information see Li-Ion vs Li-Poly, plus how do Lithium batteries work anyway?
When the phone is marketed, manufacturers, typically charge the battery to around 40% as you may have noticed. This is good for battery longevity and ensures battery degradation does not occur on storage. See BU-702: How to Store Batteries for better understanding
There isn't a valid reason for charging the batteries for xx hours before first use or to charge till 100%. It is yet another charging myth , see misconception # 6

So, not charging for 8 hours does not matter and your battery is pretty much in the same shape as it was.

See BU-415: How to Charge and When to Charge? for a general understanding of charging "do's and don'ts)

Additional information on this site that would help you care for your batteries

Does constant charging harm my Android cellphone?
What can I do to increase battery life on my Android device?
When should I start charging my Lithium battery? (thanks to Izzy for pointing out)


Missed calls log not showing in Lenovo A7000

Today I was checking my phone for call log but didn't find anything, but after while I open securezone from statusbar on home screen all call logs are visible. So turn on secure zone.


I found out that the last system update had been downloaded, but not installed. After installing it, the error disappeared.


cannot change languange on external keyboard

What you have to do is pair your external keyboard then

Go to Settings -> Language & Input -> Physical Keyboard
Then tap on your keyboard and a dialog for choosing the keyboard layout should appear.
Choose the layouts you want (note that you have to select two or more to be able to switch) and then press back.

Near the bottom of the dialog a label saying "To switch, press _____ " which, in my case, is

CTRL + SPACE

Hope this helps!


Last Android update removed icons from several apps

Go into Applications, click on the app affected, force stop, then select the storage, then click change. Force stop may restore the icons, but if you prefer you can move the apps back to internal for safety.


Gallery isn't saving my pictures or videos

This isn't the perfect answer I couldn't comment so that's why writing it in answer. First of all tell that do you have SD Card in your phone, if so then first try removing your SD Card and check again. If that fixes your issue then install back our SD Card to phone and then navigate to File explorer, from there Goto SD Card then click on settings and then un-hide the hidden files and delete them. This happened to me once and the trick worked. Hope it helps you also


Unable to locate the android SDK tools error

its easy with the new versions of Android Studios(2.0 or higher), all you need is good internet connection.

First you will open the AVD manager, then you attempt to create a new device.
You will be diverted to new window where you will pick a hardware and navigate using a "next button" to a page where you will see all the API and you can download and install directly from there. Just click on Download and it will download and install automatically.


Can a thief unlock my stolen phone that is secured with a pattern?

It is very possible for someone to unlock it, especially with the right skills.

Here is what I don't like about pattern unlocks:

I once sat next to someone at school who wiped his 'friends' phone screen off, and then waited for him to unlock it. He then stole it and looked at the smudge on the screen to get the unlock pattern. In my personal experience, number combinations are a lot safer than patterns.

Now lets say that you had a really good unlock pattern that was really long that nobody could just brute force hack. Then your data is still a little bit more protected, but you can still get into it. All somebody has to do to get your data off of your phone is to root it and then they have access to everything.

If I were you I wouldn't be very worried. Your phone doesn't (or at least shouldn't) have credit card info stored on it. If you use a credit card for google play, then it is stored (and encrypted) on a google server. Basically if someone were to 'hack' your phone here is what they could look at:

Text Messages
Emails from accounts synched with phone
Pictures
Videos
Music
Google Calendar
Phone specific settings (IMEI ect.)

Here is what I would do

I would go to my cell phone carrier and tell them to deactivate my sim card and (if possible) deactivate the phone. I know there are some carriers in Europe that can actually wipe the phone completely. See if theft is covered by your carrier's warranty (it usually isn't but its worth a shot). Then get a new Android powered device and move on.

If I were you I wouldn't worry about the data on your phone. I don't think anyone would take the time to go through all of your stuff on your phone because to you it's important but to them it's junk.

You can try some simple Android apps like:

Lost Droid Finder - Apparently you can remote-install this app to your phone and it will help you find it. I've never tried it but maybe its worth a go.

Wheres My Droid - This app is similar to the last one. What I like about this one is it can wipe almost anything on the phone (SMS, Pictures and even the SD card). It can also remotely lock your phone if you didn't already have a password on it.

Both of these apps are free. It's better to prepare for something like this before it happens, so if you are a person who frequently loses their phone, these apps might be something you might want to have just in case.

So to directly answer your question:

  Would it be possible for a thief to unlock [my phone]?

Yes, will they? Probably not. They will probably just factory reset it and just do what they do.

Hope this helped you out!


Can I connect a keyboard via micro-usb to a smartphone which doesn't support OTG?

A keyboard with micro-USB connector is simply the combination of a keyboard with an OTG adapter, therefore this will not help you if your device has no USB OTG support.

If you want to connect a keyboard to your Android phone instead you may try to use a Bluetooth keyboard.


Is there an app or setting available to increase video recording duration?

Try Magisto. I just tested it initially and managed to record for almost 2.5 hours before I stopped it.


yes... definitely it should work. If you have any doubt u can check on this link. Not just Oneplus u can check any devices. If u find this as helpful u can give a thumps up.

https://willmyphonework.net/


I have something called mdnsd draining my battery, but I don't have firefox, I just use the basic browser what other apps cause this issue?

Following the discussion here, mentioning mdnsd as a bug associated with firefox, it now tends its not firefox alone
being attributed to this massive power drain through mdnsd.

A more detailed explanation of this "mdnsd bug" has been offered:

  mdnsd is actually an Android daemon process that provides DNS
  services, as well as local device discovery service for the local
  network (multicast zero-config networking) and the purpose is to
  translate a qualified name into an appropriate IP address for the
  service or device.

It is believed that this multicast zero-config networking works by responding with a mapping dump when it sees a query for a local
local service or a known local device, thus it can generate a lot of network traffic.

Now the suspicion is, in a situation where there are too many responses from other services/devices, a local mdnsd gets overloaded with too much traffic coming in all at once,
such that the system starts dropping response packets and consenquently runs out of buffers.

  When other applications are running e.g Facebook, Ping&DNS etc, it contributes to
  packet loss and utilisation of packet buffers, worsening the
  situation. At such a time when the local system eventually runs out of
  buffers, it goes into a loop trying to write responses. At this point,
  the loop causes the full utilisation of one of the CPUs and draining
  the battery.

In an another attempt to troubleshoot the issue, one user did some packet sniffing on the Wi-Fi network, and noticed  different mdnsd packets coming from the phone, ironically found a certain packet that was sent in bursts every few seconds and seemed to correlate with this bug.

Some important findings:

After reboot, these packets do not occur.
As soon as OP launched facebook (and no other app does this), the mdnsd messages started, and continued even after shutting down facebook until reboot.
Unstalling facebook, appeared to have solved the problem
Reinstalling facebook brought back the issue.

Conclusion

The main issue to note has to do with multicast dns services not appropriately able to handle requests, and an overload triggering the loop which subsequently affect the CPU viz battery.
One author also mentions the bug titled "Fix mDNS socket leak during network configuration changes" (2014) but from the look of thing it didn't (or hasn't) addressed all android versions.

Some workarounds

In the case that you have Facebook, try sacrificing Facebook mobile, for Desktop version (i.e unistalling Facebook from your android device)

Edit

Also as suggested by @DocSalvager:

In any browser, go to m.facebook.com to use the mobile version. To regain the ability to share to Facebook after uninstalling the app, install something like Tinfoil for Facebook or Swipe
Root device and run a script that restarts the mdnsd service every 30 mins (#setprop ctl.restart mdnsd) Thanks to timinaust.
Regulary restarting device.

References

What app is using mdnsd if I don't have Firefox and draining my battery on samsung galaxy s3


How do I prevent my GPS-tracking app from stopping?

The Android OS intentionally tries to prevent applications like this from running to prevent battery drain. For Android 6 specifically, you need to know about the doze and app standby features. Doze prevents applications from running when the device is not in use. App standby defers network activity for seldom-used applications. Both of these are likely affecting your usage.

Running GPS (actual GPS, not just location services), is a huge power drain.

If you don't care about power, you can try:

Keep device on with your application in foreground.
Whitelist your application for doze and app standby (see above link).


Restrict background data for those apps..


Music player seekBar doesn't begin from 0

your system has a bug, try to go on impostation(on the new dedicated section of the new miui version for system apps) and cancel all data of the application. If don't work go on PlaySotre and download another playmusic


How exactly does "root" work? Do all applications run as root on my phone after rooting?

When you start your phone, does that mean a "user" account (like I
  have on at Linux/Mac, '/home/myself') is used? Does '/home/myself' or
  similar exists in Android phones?

No. Android was designed for a single-user system, and a lot of the design decisions were made such that /home/myself no longer exists. In Android, Linux kernel's multiuser capabilities is used to enhance security instead, by running each application as its own user; therefore isolating each application's data from each other.

  If I "root" a phone, will I start the phone as root when I turn it on?
  Will all applications now run as root? Or when they try to be run as
  root, I will need to permit them so?

No, No, Yes. In modern rooting methods (which is basically every rooting methods except for the earliest ones), there is an application called "Superuser" which is used to manage applications which are allowed to gain root access.

  Since Android is a Linux, I'm interested in having access to a
  terminal and some unix utilities (ssh, rsync, etc). I don't mind
  having to use a bluetooth keyboard and vi (to edit /etc/hosts for
  example) if needed. Is this possible? Can I have a terminal with a lot
  of unix utilities (I know busybox is available)?

Yes, a shell exists (but it's not the bash shell). You may need to install Terminal Emulator to access it (some custom ROM installs it by default) or use it as a remote shell using ADB. Because it doesn't use bash, the terminal will be slightly different from what you're used to seeing in regular Linux distros (notably it doesn't have autocompletion) and most shell commands that you consider "standard" does not exist or only exists in extremely barebone form.

If you're using the terminal a lot, it is possible to install busybox and bash for a more familiar terminal experience; you can also install GNU userspace utilities, but you'll need a fairly high-end phone with heaps of disk space for it.

In short, what you want is possible; although a lot of the tools aren't installed by default on manufacturer ROMs. It takes a fair bit of work to install all those tools yourself, the easiest and fastest route is to install a custom ROM that provides those tools like CyanogenMod.

  If Android is essentially a Linux

Android uses Linux kernel, but it is not a GNU/Linux and does not use the typical GNU userspace programs. Instead it uses the toolbox userspace, which is a very minimalist userspace (even smaller than busybox, toolbox doesn't even have a cp, you have to use cat instead to copy files). Some custom Android ROMs installs busybox by default.

  to backup my device, shouldn't I just be able to connect to root it,
  do a full tar -cvzf / and them a scp to somewhere? Why would I need to
  have Nandroid and these full blowns solutions?

which is essentially what Nandroid does (strictly speaking, Nandroid backup is more like backup with dd rather than tar though), except with a much more convenient GUI. Most people, even power users, don't like typing complex commands on the small keyboard or having to connect an external keyboard every time they want to backup (and 99% of the world has a Terminal-phobia). It's much easier to just start an app and click a button and have all those done for you.


Because Android 7 only shows space occupied from /data.

This is my phone [OnePlus 5]. Using the same app AOSP Keyboard as example.

In settings it shows as 260KB, and

# du -sh /data/data/com.android.inputmethod.latin
24K     com.android.inputmethod.latin
# du -sh /system/app/LatinIME
19M     LatinIME

Personal guess: A normal user can't alter how much space an app takes in /system, so Android chooses to directly ignore it.


Two options depending on the status of your phone.

If you are rooted and have a custom recovery (and backup), simply reboot into recovery and restore a backup of your original rom.
If you are not rooted, then you will need to download the original firmware file (try SAMMOBILE.COM) and then flash it using Odin - There are lots of tutorials on how to flash using Odin, so I won't go into detail. Once you have successfully done this, then re-download the updated firmware, as it sounds like your original download is corrupted.


Force MarshMallow to keep a Wi-Fi without Internet access

This shell command works on marshmallow:
type su to enter superuser mode.
Then type the following command: settings put global captive_portal_detection_enabled 0

^^ it disables the "drop wifi if no internet connection" functionality.


How do you set up internet pass-through (reverse-tether) on linux?

The following works for a while, but only for the browser.

When you plug in your phone via usb and choose Internet pass-through, you should get a new RNDIS device (usb0 or usb1).
For ubuntu, edit /etc/network/interfaces and add the following lines:

iface usb0 inet dhcp
iface usb1 inet dhcp

This will assign an IP automatically when the device is added.
If a network address is not assigned automaticly to usb0 or usb1 you have to do it manually.

Then you need to set up NAT on your linux computer. Something like:

sudo iptables -A POSTROUTING -t nat -j MASQUERADE
sudo echo 1 > /proc/sys/net/ipv4/ip_forward

You also need a DNS server:

sudo apt-get install bind9

This works for a few minutes, but after a while the phone gives up looking for HTC Sync and disconnects.

For rooted phones

You can connect permanently if you have a rooted phone (fre3vo worked for me).
Execute the following with adb.

Enable usb mode for network and adb:

adb shell echo 6 > /sys/devices/platform/msm_hsusb/usb_function_switch

Assign an IP to the usb0 device on the phone:

adb shell ifconfig usb0 192.168.99.5 netmask 255.255.255.0 up

Add a default route. The IP should be the IP assigned to usb0 in linux:

adb shell route add default gw 192.168.99.1 dev usb0

Set the DNS server. This is google's open DNS server, but it can be the IP of your linux computer if you have a DNS server:

adb shell setprop net.dns1 8.8.8.8


Swipe up. You're used to swiping from the left to right to unlock from pre-Lollipop. The Lollipop home screen lets you swipe from left to right to unlock to the phone, right to left to unlock to the camera, or up from anywhere to just unlock.


Turn off the notification sound when I turn the phone on

Why not just turning notification sound off completely then?

Go to Settings › Sound
If it exists and is switched on, switch off "Use same volume for ringtone and notifications"
Now set the notification volume level to zero.

In case the system changes that back to default on reboot, you could use some automation app like tasker (might be a bit overkill) or any other simpler solution (see my app listings on Automation (Profile Switching and more) for possible candidates). Several of them should support actions on-boot (Tasker does), or alternatively let you have a profile valid from 0:00-23:59 (i.e. always) you could assing the task "set notification volume off".


ADB has stopped working for me; *** LOCKED *** is at the top of the fastboot screen

You need to unlock your bootloader. You'll need to go to the HTC dev website and select your device in the menu on the right, and then follow the instructions it gives you. (Note that this might void your warranty)


Unable to download apps from google playstore via wifi

I faced this same problem a while ago. I could think of two things here.
1. In my case, I had problem with my router. Other devices connected to the same router had no issues. I had to reset the router and everything worked fine after connecting the device back to it.
2. Then, you say you have 'Clear cache data from playstore app' but have you cleared the cache of all applications? try something like 'cc cleaner'. May be some old installation files/folders of the app you are trying to download, in this case chrome browser, might be causing this problem.


how to configure number of app-icons panels?

Unless Motorola have significantly changed the way the homescreen works from stock Android, it only creates as many panels as it needs to show the icons. To add a new panel, press-hold-and-drag an icon to where a new panel would be, then drop it on that new panel. Now you should have one more panel than you did before.


You should never try and flash software from a different device, or a different model of the same device. You could end up bricking your phone.

Regardless, d2mo has official CyanogenMod support. You can use the CyanogenMod installer or download a flashable zip from here.


I'm trying to factory reset a phone. How do I erase "downloaded SIMs"?

The "downloaded SIMs" here refers to embedded-SIMs (eSIMs).
According to the AOSP source code, looks like the error message happens when the Factory Data Reset fails to erase eSIM data.

<!-- Factory data reset erase eSIM failure text [CHAR LIMIT=none] -->
<string name="fdr_esim_failure_text">Please reboot the device and try again. If you continue factory reset, the downloaded SIMs may remain on the device.</string>

To erase eSIM data, try resetting the network settings first. For Google Pixel series,

Tip: To reset all your network settings, in your phone’s Settings app, tap System  Advanced  Reset options  Reset Wi-Fi, mobile & Bluetooth.

Otherwise, to retain eSIM data through the Factory Data Reset, it should be possible to just continue the process when prompted.


How to correctly identify your phone model and version?

Go into settings then About Phone and it should display everything you need


Option 1:

Go to device manager in Windows and delete anything having to do with your phone (LG, Google, Android etc)
Plug in your phone, the drivers should install automatically

Option 2:
Download Airdroid on your phone....you can transfer files over WiFi


How do I make Android continue playing the ringtone music instead of restarting it as peer calls again?

I haven't tried doing this yet; but I believe you might be able to do it with this app called Automated Device, you can setup some rules to change the ringtone, and by cutting your song into chunks, and then using the flag functionality to define which rule is active at each moment, you could setup a rotation of ringtones that together play the full song.

Something like (pseudocode):

If phone is ringing, and the flag "ringtone step" is zero;
then change ringtone to cut 2 but only after 29 seconds,
and set the flag "ringtone step" to 1.

If phone is ringing, and the flag "ringtone step" is 1;
then change ringtone to cut 3 but only after 29 seconds,
and set the flag "ringtone step" to 2.

If phone is ringing, and the flag "ringtone step" is 2;
then change ringtone to cut 1 but only after 29 seconds,
and set the flag "ringtone step" to 0.

The 29 seconds thing is so it won't skip to the next chunk without completing the current one (if an action is delayed and the conditions stop being true, it won't execute). I'm not sure what happens if you try to change the ringtone while the phone is ringing though.

.

For doing anything complex with it, it is a bit like programming, but a lot more awkward. But simpler stuff is quite easy.

Perhaps there might be other apps; I haven't looked for an alternative in quite a while; this one is what I'm familiar with.


Change maximum number of notification icons?

Number of icon to show on status bar depends on programmer how he wrote that status bar application code . We really can't do much here.
You should be contacting customer support of developers of CyanogenMod 7.1
they might consider your request and change it to your needs.


how to make my usb storage or sd card the default instal location

Settings

Storage

Preferred installed location. Select SD card

In Storage you can also set the SD card to Primary Storage.

Try the steps an see if your device has the function.


Get common name of an app given its package name

If you haven't given up on Android apps yet, you can use Titanium Backup. It lets you search either by app name or package name.

Screenshot of Titanium Backup (click image for larger variant)


Can you run 'normal' Java programs on Android?

Generally this is not possible as although Android-flavored java has the same syntax and semantics as typical java, it does not run on the same virtual machine (Google has its own VM that android phones all ship with and which has a different byte code format than conventional java VMs) nor does it use or have access to Oracle's java standard library. Google reimplemented most of the important elements (e.g. Google has its own implementation of HashMap, ArrayList, etc.) and ditched a lot of other stuff (e.g. there's no swing package in Google's library).


How to pipe output of dd to a computer via adb shell?

This functionality has not been implemented in ADB yet.  However, there are workarounds that some users have come up with.  Check out this thread on XDA Developers for more information on how you can work around this limitation.


As far as I understand your question, you have successfully created an adhoc network on your Nexus and your laptop is able to connect.
Now you want to create an adhoc network on your laptop and you want to connect your Nexus to it.
After doing some research, I've found out that Android does not work (well) with adhoc networks.
There are some custom ROMs which have enabled the Ad Hoc function.From what I've been reading, mako bb-8 and AOKP will be able to do Ad Hocs.I think CyanogenMod has also a modified wpa_supplicant to support Ad Hoc networks.
If you don't want to flash a custom ROM, you could try to rip the wpa_supplicant (from the same Android version you are using) from one of the custom ROMs mentioned before. You could also try to install WiFi Ad Hoc enabler for Android, which might work for you.If that doesn't work, you could try another method, which is harder. Check it out here.

I also found this, I don't think it'll work, but worth mentioning:
http://forum.xda-developers.com/showthread.php?t=1591207


How to search "My apps" on google play or show a text listing?

I had a similar problem. Have note found better solution then:
list all the apps on the google play may apps website (with repeated clicking show more)
selected all site content with CTRL A
copied it
pasted into text document
search for the keyword there


TL;DR Set device to silent. Tape it over.

If you're able to open the case, you can easily find the speaker attached to the back (or somewhere near the bottom) where gold contact pins are visible. Tape over the pins and the speaker will stop working totally without getting damaged.
If it's not possible for you to open the case, then set your device to silent mode is your primary option. Taping over the speaker hole helps this to some extent, but not as effective as turning off sound. Because sound is a kind of mechanic vibration, it propagates via (almost) all kinds of media, including solid, liquid and gas (air) so you can't simply block it.


Can I install a ROM made for a different device?

Short answer:
You can only install ROMs compatible with your device
Longer version
Different Android devices use different hardware, which requires special drivers (e.g. the camera). Those drivers are sometimes/often proprietary (take e.g. Sony, which almost made it into the AOSP project -- but had difficulties due to those proprietary parts and thus had to back-out again: AOSP only allows for non-proprietary, Open Source code, like its name suggests: Android Open Source Project). Installing an incompatible ROM, in the best case, makes components of your device unavailable (they are simply not working). In the worst case, you might "brick" it (it won't even start up).
You might want to check the question Where can I find stock or custom ROMs for my Android device? to find ROMs compatible with your device. Most times, there are several choices available to meet the user's requirements: Less "bloatware" but more performance, more fancy stuff, custom enhancements... So you still can make your pick.
Other recommended readings on this topic:

Are the custom ROM different for different phones?
Is there an official Android “Google” ROM?


Can I flash my phone with another region firmware?

If the firmware are made for your device you can flash it independently that it was made for a different country.

Take in mind that some countries have specific regulations regarding mobile devices, so some firmwares limit for example the wifi potence, the volume and/or the frequencies that the phone uses to work.


Different notification tone only for one contact

You can define a specific ringtone as detailed below. For message notifications you will need to find a messages app that supports that option.

To define contact-specific ringtones:
From the contacts app open the Groups Tab. Create a new group with the phone numbers that belong to the contact (home, work, cellular, etc.). Select Ringtone and choose the tone you want for this contact.


SMS thread message total doesn't increase past 201

It's because there's a threshold beyond which it starts deleting old messages. Go into messaging, hit the menu button & go to settings. The first option is Delete old messages (checked by default), and the next is Text message limit (set to 200 by default). So you've just hit that threshold & it's deleting your old messages.


How can I install .jar files on my Android?

Although Android uses java, it doesn't support normal JAR files. Instead it uses an Android specific format called APK. The main difference is that Android does not use the normal Java Virtual Machine, but contains it's own Dalvik Virtual Machine that's optimized for Android.


Upgrade Android to a new major version in Virtual Box

You don't find an Android x86 9.0 image because now (2019-03-03) they are still working to get the Android 8.1 release finished.

As far as I know the Android x86 project does not provide the possibility to upgrade an existing installation. The recommended way to get a new version whilst keeping the existing app data is to use two partitions, one system partition and one data partition.

Therefore an "upgrade" can be done by creating a new virtual machine, with an empty system partition and the existing data partition for the old installation:

https://groups.google.com/forum/#!topic/android-x86/5XrE2lo7uac


Which version of Active sync does every Android version use?

As with most Exchange ActiveSync clients Android implements a sub-set of features from various versions of ActiveSync.

According to the Android 4 (Ice Cream Sandwich) Platform Highlights, the Email client supports EAS v14 (scroll down to the "Improved email" section), in a comparison with Gingerbread (Android 2.3.x) though you also need to take into account the Android 3 (Honeycomb) changes which while they don't specify EAS changes did add support for policies for encrypted storage, password expiration, password history, and password complexity, all of which are EAS features.

There are probably more differences between versions than it's practical to keep up to date here, the Wikipedia page Comparison of Exchange ActiveSync clients has a pretty good table comparing feature support.


Quoting from the Locale's feedback forum regarding the Backup/Restore functionality:

  AUTOMATIC BACKUP/RESTORE
  Locale has
  automatic backup and restore using
  Android 2.2's cloud-based backup
  mechanism. There are no configuration
  options within Locale--it just works!

  To use this feature, simply make sure
  that backup/restore is enabled by
  going to the Android Settings ->
  Privacy and verifying that the
  checkboxes for Backup and Restore are
  both checked. Whenever Locale is
  uninstalled and reinstalled, the
  device is factory reset, or you
  upgrade to a new device, the
  situations will be automatically
  restored as long as Android is set up
  with the same Google account.

  Locale's backup and restore is
  designed to work correctly across
  different devices with different
  hardware and software capabilities.
  For example, let's say a backup was
  made on a device with Wi-Fi and
  restored to a device without Wi-Fi.
  Locale will properly handle that
  transition.

  Automatic backup and restore requires
  Android 2.2 or later, as well as a
  handset supporting Google's backup
  manager. If there are no options for
  Backup and Restore under Android
  Settings -> Privacy, then the device
  does not support backup and restore.

  Since backups are tried to a Google
  account, be sure to always use the
  same Google account when setting up
  your Android devices.

  MANUAL BACKUP/RESTORE
  In addition,
  there is a beta manual backup/restore
  feature to create a manual backup to
  the SD card. This feature is disabled
  by default, and must be manually
  enabled. After backups are enabled, a
  new Backup menu item will appear under
  the menu of the Locale home screen.
  From that menu item, you can create a
  backup to the phone's SD card. When
  Locale is re-installed, it will
  automatically detect any existing
  backups and ask whether you'd like to
  restore them. Because manual backups
  are a beta feature, we are unable to
  offer any support. To enable manual
  backups, please follow these
  instructions:

  Allow installing apps outside of the Android Market
  a. Go to the Android Settings
  b. Tap on Applications
  c. Tap on Unknown sources
  Install Backup Enabler
  a. Open the web browser on your phone
  b. Go to this address: www.twofortyfouram.com/backup.apk
  c. Once the download completes, tap on the download
  d. Follow the instructions to install
  Perform backup
  a. Open Locale
  b. Choose Menu -> Backup