DISCLAIMER: ROOTING YOUR DEVICE WILL PROBABLY VOID YOUR WARRANTY FROM BOTH THE CARRIER AND THE MANUFACTURER. IF YOU DO NOT WISH TO ACCEPT FAULT FOR ANY ADVERSE EFFECTS OF ROOTING, THEN DO NOT READ ANY FURTHER. HERE BE DRAGONS.

Questions?

Before rooting, you might have some questions about it.  Fortunately, they've already been answered!  Refer to the handy list below:

What does "to root a phone" mean?
What is the difference between: Rooting, Jailbreak, ROM, Mod, etc.?
Are there any risks to rooting a device?
What do I gain from rooting?
Do all applications run as root on a rooted phone?
See the sidebar to the right for more potentially relevant questions!

How do I do root?

Note there is no known method that will root all devices, nor is there any guarantee that any mentioned program or method will actually work. This is because there are many variables at play and device OEMs have no incentive to make the process easy.

A final caution: Your warranties may be voided, you may screw up your device, and there may also be other adverse effects. If you do not want to risk it, stop now. If you are not confident in what you are doing, please do not deviate from the guides and read carefully.

The easiest way to root your device is via "one click" methods, most of which are developed for more popular devices. Examples include applications (.apk files) you can run on your device, or software you have to run on a PC while connecting the device with USB. Other methods may involve many steps or manual editing of files.

Methods typically vary between models and even between firmware versions of the same model. Check your rooting method is compatible with:

Your device model/brand (e.g. Samsung Note)
Your Android version (e.g. 4.4 KitKat vs 5.1 Lollipop)
Your firmware version (e.g. European vs. USA vs. Verizon telecom provider)
Your hardware version (e.g. 32GB model with antenna vs. 16GB without one)

Rooting Guides Index

These are links to questions on this site that have been asked for specific devices.  If the question for your device hasn't been answered, don't post a duplicate — you can attract attention to the question by offering a bounty on it, sharing the link, posting in our chatroom, etc.

Acer

Iconia A100
Iconia A500
Liquid Mini
Liquid Z630S
Liquid Zest

Amazon

Fire TV
Kindle Fire Version 6.x / 10.x
Kindle Fire 5th gen (aka 2015)
Kindle Fire HD

Archos

Archos 70 Xenon Color (Android 5.1)
Archos 97b Platium HD
101 XS Tablet

Asus

Eee Pad Transformer
Fonepad 8
Fonepad K004 (post deleted (aka ME371MG))
Memo Pad HD 7
Nexus 7
ZenFone 3 Max
ZenFone 5
ZenPad S 8.0
Zenfone 2 ZE551ML

HTC

Amaze
Desire 300 (aka "Zara Mini")
Desire 500
Desire 625
Desire
Desire Bravo
Desire Z
Dream (aka G1)
Evo
Evo 4G
Gratia
Hero
Incredible 2 (Verizon)
Incredible S
Legend
Magic
myTouch 4G Slide
myTouch Q
Nexus ONE
One S
One V
One X
One XL
Salsa
Thunderbolt
Wildfire

Huawei

Ascend Y330
Ascend Y530
G330D U8825D
Mate 8 (aka Ascend Mate8)
Mediapad S7-301U
Nexus 6P
P1 U9202L
PLDT Telpad QS S7-961WD
STREAM X GL07S
U8160 (Vodafone 858)
X3 U8510
Y210

Karbonn

A7 + Smart Tab 7 (possibly same for A5)
Titanium Mach Two S360
Titanium S5

Lenovo

A660
A1000 Smartphone
A7000
S920
Thinkpad

LG

Escape
G2
G3
G4
Motion 4G
MS 330 (aka K7)
MS 690
Nexus 4
Nexus 5
Optimus 2X
Optimus 4X
Optimus L7 II - P713
Optimus L7 II - P715
Optimus L70™ LGMS323
Optimus Logic
Optimus M
Optimus Slider VM701
P500

Micromax

A089 Bolt
A25
A65 Bolt
A87
Canvas A1 AQ4501
Canvas A116 (Canvas HD)
Canvas 2 A110
Canvas 2 Plus A110Q

Motorola

Defy
Defy XT
Droid 3
Droid Maxx
Droid Razr
Droid Razr M
Droid Razr Maxx HD
Droid X
Droid X2
Fire XT316
Flipside
Moto G
Moto G XT1032/XT1033
Moto G 2014 2nd Gen (XT1063, XT1064, XT1068 and XT106)
Moto X stock Kitkat
Moto X Play

Nook

Nook Color
Nook HD

OnePlus

OnePlus One
OnePlus 3
OnePlus 3T
OnePlus 5

Prestigio

MultiPad PMP3670B
PAP 7500

Samsung

Admire R720 (Also known as Samsung Vitality)
Captivate
Epic Galaxy 4G (SPH-D700)
Fascinate
Galaxy A3 2016 (SM-A310F)
Galaxy A5
Galaxy Ace Plus
Galaxy Ace S5830i
Galaxy Alpha SM-G850A
Galaxy Attain 4G
Galaxy Chat B5330
Galaxy Core i8262
Galaxy Fit
Galaxy Grand Duos
Galaxy Grand Quattro
Galaxy Note 2
Galaxy Note 3
Galaxy Note N7000
Galaxy Player
Galaxy Precedent
Galaxy S
Galaxy S Advance/S II Lite i9070
Galaxy S2 GT-i9100, GT-I9100P, GT-I9100G
Galaxy S2 plus
Galaxy S3 i9300, i9305
Galaxy S3 Duos3
Galaxy S3 Lite (S6790)
Galaxy S3 Mini GT-i8190
Galaxy S4 GT-I9500 (Android 4.4.2) (build XXUBMH1)
Galaxy S4 GT-I9505
Galaxy S4 Mini GT-I9195
Galaxy S4 SCH-I545
Galaxy S4 SGH-I337
Galaxy S4 SGH-M919
Galaxy S5 SM-G900V (Verizon) on Lollipop
Galaxy S6 / S6 Edge / S6 @ Sprint / S6 Edge @ Verizon (S6 Edge is S6 but has curved screen)
Galaxy S7 / S7 Edge (us carriers)
Galaxy SL GT i9003
Galaxy Star Duos S5282
Galaxy Star Pro (S7260)
Galaxy Stellar
Galaxy Tab
Galaxy Tab A (SM-P550)
Galaxy Tab 10.1
Galaxy Tab 3 10.1
Galaxy V
Galaxy Young 2 (SM-G130HN)
Infuse (i997)
Infuse 4G
J5
Nexus S | on Gingerbread
Spica
Xcover3 (SM-G388F)

Sony

Xperia Arc S
Xperia J
Xperia Mini ST15i
Xperia Mini Pro SK17i
Xperia Neo V (MT11i)
Xperia P
Xperia Play
Xperia Pro MK16a/i
Xperia Ray ST18i
Xperia S
Xperia Sola (MT27i)
Xperia SP (C530x)
Xperia Tipo
Xperia Tipo Dual
Xperia T2 Ultra Dual
Xperia T3
Xperia U
Xperia X8
Xperia Z1
Xperia Z2
Xperia Z3

SpreadTrum

SC6830
SP8810 (Wynncom G1)

Xolo

Xolo One
Xolo Q1010i

ZTE

DL 800
Fury
Score
Optik
Origin
Prestige
Zinger (Z667T)

Other

Alcatel OT-997D
Alcatel One Touch Mini Idol 2
Android Emulator
Arnova GBook
Azpen A727
Casio Commando
Celkon A95 Pro
Chinavasion TechPad
Cruz Tablet
Dell Streak 5 / Mini 5
Doogee Voyager2 DG310
Emdoor EM79 c
EPad MX1014
Freelander PX2 tablet
General Mobile e-tab 7b
Gionee P5W
HP Pro Slate 12
Innos A35
Kyocera Echo
Lava Iris 504q
Mpie MP707
Oppo N1
Pandigital Novel
Pantech Crossover P8000
Prizma VSGK845
RealPower MT65515-C910
TCL Idol X (S950)
Teac TC-7120
Teclast tPad
Toshiba AT100
Viewsonic gTablet
Xiaomi Mi A1
Wileyfox Swift
Yarvik tab 411

Methods/Apps

Chainfire's CF-Autoroot (follow link for a list of supported devices). Supports plenty of Samsung devices, plus some Motorolas and the Nexus line
Droid X Recovery Bootstrap (Motorola Droid/Droid2/Droid X, probably Android 2.x only)
Framaroot - One-click rooting and unrooting; supports a number of devices using Qualcomm, MTK, Exynos, Omap and other SOCs (Android 2.x to 4.x)
Gingerbread exploit app - Works on 2.1 and 2.2, as well as early 2.3 releases (hence the name).
Gnex Toolkit - Software for rooting and handling your Galaxy Nexus phone.
Google Nexus 7 Toolkit - Software for rooting and handling your Nexus 7 tablet.
iRoot a One Click Root (see here for supported devices
Kingoapp Root: Pratically roots most androids in 1-click and supports Android 4.1 to 6.0. Even unlocks some bootloaders. Also see Wikipedia.
KingoRoot: Android 6
Kingroot: Easy to use and fast rooting. Works on almost every Android phone.
Magisk: requires custom ROM to be installed. Also see this guide at AndroidPolice.
Ready2root collected a lot of available rooting methods
Root Many Android (ICS/JB devices)
ROOTx supports a selection of devices produced prior to 10/2014
SRSRoot One Click Root for Android (SuperUser) lists supported devices on their page. Download is an .exe file, so it probably requires Windows. Android 4.1 to 6.0 (?)
SuperOneClick
Towelroot should support all phones with a kernel built before June 3, 2014
Universal Androot - Read the page to see what devices are supported.  Mostly pre-2.2.1 versions of Android
Universal One Click - Make sure your device is support by reading the whole first post (probably not, last release was 10/2010 – so most likely 2.x devices only)
Unrevoked: some older HTC devices only
vRoot: Android 2.2 to 4.2
XDA Developers: The biggest resource for rooting, mods, etc.
Also check out the CyanogenMod wiki for other ways to root your device.

Here is a guide on how to root Android without a computer, naming each of the apps listed above and in-depth guides on how to use them.

I've rooted my device. Now what?

We have another question about that!
If you have another method or know how to root a device that's not listed, feel free to add it to the list!  Just follow the same format.


How to find how many hours an Android phone has been used?

Go to Settings → About phone → Status,
scroll to bottom and you will be able to see Up time.

I think this feature is available on Android 4+.


Galaxy Nexus always rotates a picture - portrait instead of landscape and vice versa

I have not faced such a issue with my GNex yet(running stock Android 4.2.2)

The orientation of the settings also depend on the orientation is set. Suppose he wants to take a photo in portrait, ask him to take the phone in portrait mode and then make the setting as portrait mode.


There isn't a way on the stock Calendar app. However you can do this by using two different Calendar apps.


Can the Nexus 7 LTE connect to 3G networks?

Depends on network provider.

From Nexus 7 2013 LTE Variant Available Now for $349:

  Keep in mind that you won’t be able to fall back to Verizon 3G at any time, but you can fall back to AT&T and T-Mobile HSPA should you choose their service.

From Google's Nexus 7 with 4G is now available in the UK:

  Buying from O2 is a different story, however. The mobile operator is selling the new Nexus 7 for £319.99, complete with a free SIM and 2GB of 3G data.


It is likely due to mount namespace separation being unchecked in SuperSU app settings

For an explanation of what it does and how it could possibly affect storage not being read see Mathew's answer here, also the link referred to therein

Aside, sometimes TiBu also asks you to do the same if SD is not recognised


How to install apps with adb shell and how to backup device settings and restore to an identical device?

I want to share with you some tips from my research:
On how to copy your device settings and your Apks from one device to another, but its only for ROOTED devices (in my case, I did that to identical Android devices without issues).

Tips:

First, you have to download and setup ADB (it’s not difficult search at google-youtube)
If you want to do this procedure for a lot devices, you can use a 7-port usb hub with switches(ON/OFF). ADB, for example, can’t execute commands simultaneously. If you want to save some time and don’t want to plug and unplug devices, you can use a hub like this in order to be able to choose in which device will the commands run.

1)How to copy almost every device setting?

At your 1st device:

Download ROM Settings Backup from Playstore.
Install it  and prepare your settings. Next, select a ROM
(I test every ROM options and all were the same except if you create a new one.
Do not create a new).
Just pick one from the existing ones and backup your settings.
(If you are using an Android box, use a keybboard and try arrows, Touchpad or mouse will not work).
Try to find the path, for example …/SettingsBackup/Backups/omniROM....
and copy the folder with your backup settings.

Save this file to your computer. Connect your 2nd android device to your computer [First you have to install “Rom Settings Backup” , then open command prompt and paste the following command but not exactly that, try find the path on your device(**).

adb push yourbackupfoldername /storage/emulated/0/SettingsBackup/Backups

(**) Find the path that you will push your backup folder to your new device (if you cant find it , download "ES File Explorer File Manager" and you will figure out the exactly path)
If you want you can open Notepad > paste the command :
adb push yourba.../… /Backups and save the file as settings.bat
(When you double click the .bat file or if you type the command to cmd, the folder that you choose  will be copied to the right path at your new device).

Then open "ROM Settings Backup" at your 2nd device and Restore your backup.
At my device the timezone wasn't right and if it's not for you too, then  you have 2 options:

You can change it manually from your device settings or
Do the following: paste the command below to cmd or to a new bat file (your device will reboot after this command, so you can add this command to a new raw at your previous .bat file  or create a new .bat file).

adb shell "su -c 'setprop persist.sys.timezone Europe/Madrid; stop; sleep 5; start'"

2)How to install automatically with commands as many application you want ?

You can just paste at cmd:

adb install –r “Nameofyourapk1.apk”

and repeat this for every app
but it’s faster if you have a lot of devices to do the following:

First, download your applications as Apks from a trustworthy source.
Then copy them to a folder and create a new installapps.bat file (from Notepad) at the same folder and with the following commands:

adb install -r "Nameofyourapk1 .apk"
adb install -r "Nameofyourapk2 .apk"

Paste these commands, rename your .apk  name for every app that you want to copy.
(Change raw for every new app.)

When you run installapps.bat file the apks will be automatically installed to your new device. Then continue and open these apps at your 2nd device in order to finish installation.

Do not hesitate for further information.


How to save Facebook and Skype information to Google contacts?

Yes you can, as far as Facebook you need to use an external agent. Here is what I mean:

Because Facebook does not work with Google very well you have to sign up for Yahoo! Mail.
In the contacts option you will be able to import your contacts from Facebook. Once you do that you can then export them as a spreadsheet and then once again import them into Google Contacts using the import feature.

Skype would be different as you would have to class their Skype username as a note rather than a phone number or email, you would have to do that manually.


Moto G 1st Gen - Mobile Data not working after upgrade to 5.0.2

Okay, so here I am posting an answer to my own question.
I finally visited a Motorola service center today to get the problem fixed and I was told that they are aware of the issue and that they'll be rolling out an update with a fix in 5 days.
Hopefully everything will turn out well after that.


I know this may not be an exact answer, but I ultimately switched to Android Firefox web browser (or your favorite browser), with desktop homepage link to outlook.offfice.com and... it behaves perfectly. That is, assuming your email account is served there...
MS actually did pretty good job with their mobile web page rendering and functionality, and so far I do not miss any functionality (email, calendar...) from my bloated Outlook for Android app (800MB unmovable local storage!).
Hope this helps somebody.


This doesn't belong here, but that aside...

You don't really "install" the drivers. The framework needed for USB OTG is often found in custom kernels, you should be looking there.

This question is also probably best asked on the forum thread of the custom ROM you flashed. A quick look at your device's forum on XDA shows a fully working stock-based Custom ROM that supports USB OTG out of the box.

http://forum.xda-developers.com/showthread.php?t=2204384

I'd start with that.


Sleep Tracking App connected with google health

There's Sleep Bot Tracker Log and Sleep Logger.  They don't seem to directly connect to Google Health, but they let you export data (one does CSV, the other doesn't specify).


Recovery mode wouldn't show up after installing cyanogenmod 13

I solved it by enabling developer options and enabling the android debugger so then when you need to go to recovery option, you will just have to press the power button and tap on restart you will get multiple option just choose recovery, device will boot up into recovery mode.


How do you "Share via" email & wifi option from gallery ? It's missing

After some mucking around, I discovered Google (un-intuitively) changed the way you can share photos in the gallery for email and wifi. You now need to do this

Open Gallery > Select Menu button > select "Select Items" > select the share button at the top of screen. All the icons should appear now in the share dialog window.


Turn off Snapchat camera sound in Android

First of all snapchat will access your mobile camera application because it has the permission given by the developers,one thing you can stop this by those following statements...
 Go to setting
         Then apps
                   Then Snapchat
                           Then click on launch button
                                    Then go to running apps
                                             Then just choose Snapchat and select stop, by this u can stop service of this appp.


Troubleshooting why my Android phone is rebooting (Nexus S)

Engadget has just reported that the Nexus S is having issues with random reboots (http://www.engadget.com/2011/02/15/nexus-s-suffering-from-random-data-loss-reboots/) and apparently fixes are coming.

To see the log you can get the following app:

aLogCat


is it impossible to know a Wifi mac address of an android phone via a link?

An IP logger captures the IP address and the browser user agent string, the browser user agent only contains information like phone model and browser, no uniquely identifying information like MAC addresses.

So no, this iplogger (or any other that uses similar techniques) cannot determine if the phone is actually your's, only if it is the same model, but thousands of that model are sold so that is not considered evidence.


How can I view SSL certificate information (the padlock popup in Chrome desktop) in Chrome Mobile?

The page info was simplified as the security information was cryptic for "most users":
https://code.google.com/p/chromium/issues/detail?id=302561

A subsequent issue has been raised to reimplement more detailed connection info:
https://code.google.com/p/chromium/issues/detail?id=425158

The latter issue has reportedly been started/assigned, so hopefully this will be fixed soon.

EDIT: Chrome 44 for Android has now been released (as stable). This reintroduces the connection info.


The solution I'm using to control this behavior is App Settings Xposed module. If you've never used Xposed before, it's fairly easy to install, you just flash a zip, install an app, and you're ready to go.

App Settings enables you to control the immersive behaviour of your app, on per-app basis.


Why do launchers not support all widgets?

Some of the below is speculation, or given to me by sources I can't cite so take it as is.

Some (many) of the OEMs (manufacturers) like LG and Samsung embed their propitiatory widgets within their own launcher. This (allegedly) is down to them not wanting you to emulate their own look and feel in someone else's launcher.

Samsung, beside Android, have their Tizen Operating System. It is almost identical to their Touchwiz overlay on Android. So if a user has a Samsung, they can use this device without porting over any knowledge, to all intents and purposes they don't know what OS it is running as the interface is consistent. Keeping Touchwiz and those things their own, and unique is a way of retaining their customer base and keeping the UI the same across a range of devices makes it an easier decision to 'get the LG' or whatever to keep what you are used to. The Galaxy Gear 2 Smart Watch actually runs Tizen, not Android as a real world example.

It's a business decision, not one I am a fan of as I believe in customisation and options. Any UI (ala Touchwiz) that deprives me of choice is one I quickly abandon.

It is worth pointing out that there are thousands of Widgets on the play store, many of which bear an uncanny similarity to those of the OEMs.

Last point I'll add, HTC are currently rolling Blinkfeed (their launcher/news stream) onto the Play Store. This may be the beginning of OEMs splitting onto the Play Store as Google did a while back (calendar, keyboard, etc). This may be a way to get some of the widgets you love, without owning the device. However, the locked widgets remain an issue.


What is the point of a locked bootloader if a deep flash cable can bypass it?

Qualcomm 9008 mode is for emergency repairs as a last resort - without it your phone could remain bricked under certain situations.

However, in case of Xiaomi phones, even if you flashed the phone under this mode, the account lock (if there is any) will still be persistent and you won't be able to use any services related to it (i.e. Cloud). The original user will also still be able to lock the phone based on the IMEI.

Additionally, Xiaomi is well aware of the security risk, and a recent MIUI8 update has patched this (Chinese sources, can't cite), putting an end to the loophole people are using.


You device does not support VoIP call recording

I don't think you can change it by settings. If you see the list of compatible devices listed in the app description, you will find that your device does not figure . Only one plus one from your OEM is compatible

Also if you read app reviews, on other devices which are not compatible, developer says it's due to hardware or firmware incompatibility


Flashed BTU from sammobile but is still EVR

Not sure if it is an error on your end or Sammobiles. You did however appear to have flashed EVR firmware variant instead of Blu firmware variant.

Carefully check and re-download the Blu firmware variant and flash again through Odin.
Thinking about it though, as long as the CSC you are changing it from is not included in the CSC you are flashing, otherwise it will just default back to the phones original CSC.
You will need to flash CSC and not HOME_CSC in order to change though, which will reset the phone back to factory.
If the problem persists, contact Sammobile customer support to inform them of issue.


Possible to purchase (buy) an Android app from the Google Play store web site without installing it on any device?

As far as I know there is no way to buy an app without selecting a device and triggering automatic installation on that device. If the device is offline as far as I know the installation will be performed the next time it comes online.
The only workaround would be to add the Google account on a device, enable Airplane mode, remove the account and reboot the device. Then the device is still listed in Google Play Store for a few months and can be used to buy apps but they will never be installed as the devices comes never online again.
A similar option are "virtual devices" devices that do not exist in reality (or as emulator) but are registered in PlayStore. App download tools like Raccoon are capable of creating such virtual devices. But if those devices are not used for a time they also loose functionality.


Send a notification (or just vibrate) to phone via ADB/shell

You can setup a Task in Tasker which you can invoke from command-line. The task can be setup with actions of your liking in combination, such as show a notification and vibrate with XYZ pattern. When setting up a task in Tasker, setup the action like this: Alert → Notify

Fill up the fields as you like. Make sure to enable Allow External Access setting under Preferences →  Misc, accessible from three-dots line on the right edge of top bar in Tasker's homescreen.

As for invoking the task from command line, run:

su -c am broadcast -a net.dinglisch.android.tasker.ACTION_TASK --es "task_name" "YOUR_TASK"

Replace YOUR_TASK with your task's name.

Tip: you can setup Tasker to show text of your liking in your notification  by a bit more tricks. Setup a task to watch for a file for changes and assign an action to change the value of a tasker variable to the contents of that file. In your aforesaid vibration/notification task, when filling up the field for "text", assign that local variable instead. So next time, when invoking the task, change the contents of the file for a custom text notification before sending that command.

Tip2: it is also possible that send variable directly to a task using command-line, but I don't have much experience with it so you've got to ask uncle web.


Why can't I link2sd the Play Store and Maps apps?

The author of an app can set a flag in its manifest (the package description) to say whether it can be moved to external storage or not. If you try to install a package to external storage, and its manifest says it cannot be installed there, you get the error code you describe.

Google's developer documentation provides a list of kinds of apps which should set the flag to prevent themselves being installed to external storage, because of undesirable side-effects if the external storage is removed.


How to give root access to apps that don't request it?

The application needs to request root access. If it is not developed to use root access, it cannot be given the root access. in  order for it to work how you want it, you may have to change the permissions to /data/app-private, like you mentioned.


Watch and download youtube video simultanously

There are apps like TubeMate or EasyTube that let you download Youtube videos to your phone internal storage or to the SD card in order to allow you to see these videos whenever you want wherever you want.

Maybe this is what you are looking for.


Samsung Galaxy S3 phone - typing additional symbols

Originally I had 3 pages of symbols, including the degree symbol. There was an "update" and it's gone. I use it a lot and miss it.

I just downloaded the GO keyboard and it has a degree symbol °. Yay!


Data recovery on boot-looped Samsung Galaxy S II GT-i9100

Firstly it may be useful to merge this with your other question as they are very related.

I have already explained to you how to root your S2 so I won't repeat those instructions.
And yes it is possible to recover the /data.
What you need to do from here is to first complete what I said about rooting it. From there, you should get a new rooted recovery (CWM). Within that recovery you will find options to backup the phone and to mount it over USB. It should be simple enough to just backup the /data partition from the rooted recovery and copy it over to your computer.

Not sure if you know this but you can easily navigate the backups to recover whatever there is of value to yourself, there are various programs that do this but first things first get that phone rooted and get into the CWM recovery and make that backup. The options to do so should be very clear in the recovery. You can also create backups from the stock recovery but I wouldn't recommend this as you still need to be able to mount the phone via USB.


How do I root my Chinavasion TechPad 7" Tablet android tablet?


Can I safely delete .facebook_cache folder if I don't have a Facebook app installed?

Quoting from Mathew Read's answer here

  Cache is temporary files. One example might be thumbnails for contacts in a social media app. These can be cleared without any major effect — the app can just download them again when it needs to — and if space is low the Android OS may remove cache files itself.

You don't even have the app installed , so it can do no harm

The reason for it being of likely the Google Backup, since you never installed the app

You can also use the SD maid app mentioned here, which I find very effective in removing corpses and cleaning system How to clean up related files from deleted apps?


Xperia XA2: Stuck on "Sending 'boot.img'"

Apparently the XA2 doesn't play well with Linux and USB 3 so I solved it by using an old laptop with USB 2.0
https://together.jolla.com/question/193348/xa2-flashing-issues/


Sold her phone but forgot to uninstall her whatsapp

Please tell your friend to ALWAYS DO A FULL WIPE of the device before to sell it. This is very important for your privacy!

Anyway, please refer to the official whatsapp FAQ to solve your problem: https://www.whatsapp.com/faq/en/general/24460358

  If you are not ready to activate WhatsApp on a new phone with the same
  number, we can deactivate your account. Email us the phrase
  "Lost/Stolen: Please deactivate my account" in the email body and
  include your phone number in the full international format as
  described here. Please note that we are not able to help you locate
  your phone. Remote WhatsApp deactivation from another device is not
  possible.


Couple options :

Use the swap file feature of your RAM Manager.  That'll give you more (up to 256MB more) memory to play with and might be enough to stave off the music player kill.
Toss the RAM Manager and use something (Like MinFreeManager or manually edit the values in /sys/module/lowmemorykiller/parameters/minfree1) that will let you manually specify the Low Memory Killer's parameters.

For the latter, since your priorities aren't the usual ones (kill foreground before killing background, rather than the other way around), you want to toss the presets (which assume "the usual priorities") and set the values as such.  Specifically, you want to set the VISIBLE_APP (an app that is not on screen, but is doing something, in this case, cranking out tunes) value to be lower (and thus lower on the kill list) than the FOREGROUND_APP (exactly what it says on the tin) value.

Further information on what the LMK does and what all these values mean can be found on my answer to this question, which is probably more relevant to your question than the one it was an answer to.

1As I mention in my other answer, values in this file are in pages, which are 4KB.  8192, for example, is 32MB.


Tmobile my touch 3g (HTC Magic) doesn't give option to mount USB storage anymore

Try installing the official drivers from the Android SDK.


What is the difference between swiftkey and swiftkey x?

The SwiftKey website no longer lists anything called "SwiftKey" only "SwiftKey X". I have to assume this means "SwiftKey" was an earlier product, possibly a beta?


How to set default call audio output to earpiece when connected to bluetooth?

I was in need of doing this exact thing today. I was forced to figure it out on my own after I couldn't find an answer online. As it turns out, it's easier than I expected.

Open your bluetooth settings, find your device, and click the settings icon for that device. You should see some options for the device. Uncheck the "Phone audio" option.


How to update a text file using both a desktop text editor and an android phone?

Create an account with Evernote and download that app. on your phone. It will synch whatever you enter on any piece of kit you have it on.


How ever does one log off the Kik app on an S3?

If it uses push notifications, it doesn't drain your battery. That's the whole point of push: the app doesn't need to be running at all. Instead, the app is started by Android (specifically, by the Google Cloud Messaging service) when a message arrives.


Disable priority inbox on Android Gmail application?

Menu button -> More -> Settings -> Priority Inbox.  I have it enabled on the web and that option unchecked to disable it in the app.  Latest Gmail v2.3.4.1.


How can I view and easily delete pictures?


Why phone sometimes (often) goes crazy and constantly lightens up its locked screen?

Try uninstalling some applications. The same thing happened to me and I fixed it by uninstalling my most recently installed app.


Any regular web browser including the default ROM one should be able to do this natively, provided you have said app set as default for that type of link. Unless I misunderstand what you mean.

Just copy the link text from wherever and paste it in the address bar of a (new) tab. If a default application has been set for this type of link it should redirect it there automatically.


Isolating pocket casts from scrobble for last.fm

Last.fm picks up the intents apps like Pocket Casts and Google Music send to bluetooth devices, and hacks that into their scrobble implementation. I guess they figured Google were never going to support them explicitly so that was their only way in. To stop Pocket Casts from scrobbling you'd un-tick the Google Music option in last.fm.

The fine people of Pocket Casts (read: us) are planning to put in a setting that turns off that bluetooth data, which would also turn off scrobbling. We looked into the last.fm API and there's nothing extra we can send to tell them to ignore us, which would be a better solution, since it would mean keeping the blue tooth meta data as well.


MicroSD cards (Virtually) do not increase performance. They only increase the amount of data you can store. Your phone can go up to 32Gb but most people will not need that. Go with the cheaper one since you will not notice a performance hit.


Are there benefits to using Greenify with Android Nougat?

In my personal experience and opinion, no. I have tried using it for about a 3 weeks, and haven't seen any improvement. Maybe it works for rooted or custom Rom devices, but generally Nougat does a pretty good job.


Turn Bluetooth on so it stays on even when trigger app is closed

You can add an exit task that will turn on Bluetooth. And being that Bluetooth is already on, it will stay on till you manually switch it off.

To set an exit task, long press on the task and select "add exit task" there, select Bluetooth on as the task.


Need Root For Asus Zenfone 5(T00J) 8 GB(Kitkat ROM)

For Android 4.4.2
I've tried solution here with success. Just need to run bat file to root or unroot.

Notes:

Need windows pc
Needs to rename "recovery-ww.img" to "recovery-root.img" (look
comment section of link given above)
Only for android version 4.4.2


Is there any way that can EXTEND (not mirror) my phone screen to another phone? Half-Half

I haven't tried it (yet), but this might help, if you have the "dongle": http://www.displaylink.com/downloads/android.

There is also this: https://play.google.com/store/apps/details?id=com.andromium.os. But again, I haven't tried it.

Martin


Can you install custom kernels on DroidX running CyanogenMod?

No, The DroidX can not run custom kernels.

"It is still impossible to flash custom kernels on the Droid X, but the ROM developer community has matured to a point where they’re able to make great things happen on this phone without having to rely on changes to the kernel."


Control an Android phone remotely from the computer

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


There are already answers for all parts of your question, so let me sum up:

Android Folder Hierarchy has some general information
Confused by the many locations of the virtual /sdcard/ should answer the last part of your question
The /sdcard direcory and other directory conventions: how is the Android filesystem structured? might also be helpful

If you take a closer look at /sdcard from a terminal (or via adb shell) using the ls command, you will see it is a symbolic link (the Wikipedia article explains it in detail), usually created for at least two reasons:

make it easier for you to find it
have a "canonical place" for it, regardless of where it is physically

There's of course more to it, but that would become too lengthy for an answer here :)


Failed to start emulator: No such file or directory

Change the sdk directory path from eclipse settings to the root of your sdk path. Also, chmod the files to executables


I don't know what happened but, when the "APN protocol" and "APN roaming protocol" are set to IPv4/IPv6 from IPv4, all the problems went away.


Android and Network attached storage server

I have a NAS that uses standard Windows shares (SMB) and I use the Image Transfer app to push all my new pictures and videos to my server over wireless (it's a paid app but very cheap and in my opinion worth the small fee).

Also see this previous question: App to sync photos to a network drive over wifi? which has a few alternatives and where Image Transfer came top.

My device comes with a web-page interface, which is how I do most viewing of pictures, files etc


Annotate HTML files without editing raw HTML

First convert the HTML file to a PDF file, using a conversion app like Convert web to PDF. Then annotate the PDF file using a PDF app that supports adding and editing annotations, such as Adobe Acrobat Reader.


How can there be two separate Android System under "Running services"?

Technically, there is only one Android System running in your device. The other one is deceptively named by Verizon.

If you check the process name, it starts with com.vzw.*. That package name convention can also be found in this app from Verizon.

I'm speculating this based on the process name that it gathers data (can't say what and why) and sends it to Verizon.

If you're concerned about that process or the corresponding package, you can disable it using adb.

adb shell pm disable-user com.vzw.qualitydatalog

Note that this may destabilize your system with factory reset left as the only fix, so proceed at your own risk and with backups already taken and stored outside the phone.


As far as I know this option is present in 4.4.2.

So you want the device to be ready as soon as you enter your car and have a good power consumption. you probably want to use the "QuickBoot mode"  (not the same as fastboot mode) which doesn't really turn the device off if you choose "shutdown", but gets it into some sort of power saving mode. on my mobile phone it will be there after ~1 second.

In order to enable this feature:

Enable Developer Options: Go to device info and hit the "Build number" few times

(Click image to enlarge)

Enable the QuickBoot setting: You can find this option under the "Developer options" nearly at the top.

Shut down your device: Hit the shutdown button and wait until the device will vibrate. It's now in the power saving mode. (All apps would be disabled)
Turn on the device: Push and hold the power button, after around 1 or 2 seconds, the mobile phone should be usable again.

Note: I know I'm using CyanogenMod 12.1 but it's not that different and I found this feature in my stock Android 4.4 ROM too. The screenshots looks different because of a theme in place.


What package name should I use for a Cyanogenmod theme?

I don't know about CM themes in particular, but Android app package names are based on Java packages, which means they have to start with a web domain you own, in big-endian order. That is, if and only if you own the domain mikroskeem.eu, you can use any package name starting eu.mikroskeem.

There's no way to enforce this convention, but following it makes sure that package names are unique.


Usually a smartphone can't corrupt an SD-card by using it. The only possibility to degrade an SD-card would be by a large number of writes over a long time (I am talking about months or even years).

Are you sure that the SD-card is really broken? May be you simply need to re-partition it.

In case the card is really dead I see two possibilities:

The SD-card you have is a fake, claiming to have more memory than actually available on the flash chips inside. If the SD-card was new and the price was cheap compared to the size than this is the reason for a very high probability. I strongly recommend to test every new SD-card on your PC using a program that allows to identify SD-card fakes like H2Testw
The quality of the SD-card was so poor that something went totally wrong (e.g. overheated) so that the SD-card is now defect.


My phone keeps clicking on things that I'm not even clicking on?

My phone had same issue, this touchscreen issue got me my phone replaced which was under valid warranty.

You should take it to the respective mobile service centre.


On a rooted device, go to /data/system/netstats/ and delete all the files there. Reboot the device and the data history would be gone. Worked on Android 4.2.1 and 5.0.2, and maddisonj and Beygi reported it works on 4.4.2 and Android 8.0 as well. It clears both SIM data as well as of Wi-Fi.

This would not reset the current cycle you would be having. I believe /data/system/notification_policy.xml manages it, so you can edit it out if that cycle also bothers you.

(Click image to enlarge; image order: before and after deleting the files)

On a non-rooted device, factory reset seems to be the only choice.


Missing "Download offline speech recognition" Setting Option on Nexus 9 Lolipop

For some reason, the offline speech recognition is not on Google Settings (usually on Google Settings - Search & Now - Voice), but on device Settings:

Open device Settings
Go to Personal
Go to Speech
Select Voice Search
Locate Download offline speech recognition

Reference: Menu tree: Google Nexus 9


Can I configure my device or computer to stop trying to install software when I connect them?

Don't have a windows machine handy but look in the microsoft site advises, (for windows 7):

  AutoPlay lets you choose which program to use for different kinds of
  digital media, such as music CDs or pictures from your digital camera.

  Show all To turn AutoPlay on or off

  When you turn AutoPlay on, you can choose what should happen when you
  insert different types of digital media into your computer. For
  example, you can choose which digital media player is used to play
  CDs. When AutoPlay is turned off, you are prompted to choose what you
  want to do when you insert digital media into your computer.

  Open AutoPlay by clicking the Start button Picture of the Start
  button, and then clicking Control Panel. In the search box, type
  autoplay, and then click AutoPlay.

  Do one of the following:

  To turn AutoPlay on, select the Use AutoPlay for all media and devices
  check box.

  To turn AutoPlay off, clear the Use AutoPlay for all media and devices
  check box.

  Click Save.

N.B. It is almost always a good idea to turn this off as it stops malicious code on CDs/DVDs/USB keys/etc from being able to run.


This may be more than a year late to this question, but...

You can use Google Takeout to download a json file of your Android Chrome history.

You can also download your bookmarks, along with a lot of other Google data.


Installing/updating apps over mobile data

I think I found it, as I had the same problem:

In the Settings go to Mobile Data.
Scroll down to item "Media" and tap it.
Scroll down and see if "Limit background data" is checked. If so, uncheck

This was the cause in my case, because for the Play Store app the same setting was not active. The problem with Android in this situation is, that there is a global setting "Limit background data" and there's a per app setting. Unchecking the global setting does not uncheck the per app setting. Doh!


Hide buttons overlay (e.g. 5 second burst) on Google Camera

I recently had the same issue with my 6P, running 6.0.1 and the latest Google Camera version 3.1.021. It turned out to be a result of having the Screenwise Trends Panel app installed on all my phones. Enabling it in Accessibility Services causes the buttons to show up. From my searching there is no real solution other than to disable the Accessibility Service toggle for Screenwise. Then the buttons go away.


How to access functions previously assigned to the hardware Search button on HTC Sensation XE

The Sensation XE (which is externally identical to my Sensation barring colour) does have a hardware search button, located immediately below the touchscreen, furthest to the right:

I haven't noticed a setting on android 4.0 to allow you to customise the behaviour of the button, however.  The default behaviour is to launch the Voice Search App.


How to fix crashes on "Checking info" screen when trying to add a Google account?

Although several months too late for OP, the problem described is exactly the same as one I just had to solve on my Mum’s tablet yesterday.

Note that there seems to be at least a couple of different problems that people are reporting that relate to the “Checking Info” screen. The problem I’m referring to is where the Checking Info screen just crashes and disappears, NOT the problem where it freezes.

The symptoms being seen were:

Almost none of the Google apps were able to run. The only exception to this was Chrome, which was working fine.
When trying to access Google Play Store, I was asked to sign in, but then the Checking Info screen was displayed briefly before it crashed and returned me to the sign in screen.
A number of other apps (a seemingly random selection) were crashing as soon I tried to open them.

What I did to fix it:

In Settings > Apps I selected the Chrome app and chose the “Uninstall all updates” from the 3-dot menu.
I was then able to successfully open the Google Play Store, login, and get past the Checking Info screen.
Finally, in the Google Play Store, I found the Chrome app and selected “Update”.

All the affected apps then worked correctly.

Why does this work?
The Checking Info screen has an embedded web browser window in it (called WebView). If Chrome is installed then it provides this capability. I think that during a Chrome update something happened to cause WebView to break. Taking Chrome back to its factory default version removed that fault. Not sure why updating Chrome back to its most recent version then doesn’t cause it to break again - perhaps some error in one of the earlier updates.


Samsung Galaxy S3 stock email app - Load more details

There's a "Message format" setting located at Settings > [account] > Sync settings > Message format. The choices available are "HTML" and "Plain text." Not sure whether that will necessarily solve your particular problem, but perhaps try giving that a shot.


How to remove the white frame around icons on Mi Pad 2 running MIUI 8.5?

You can download this ROM here (http://en.miui.com/thread-358607-1-1.html), it does not have any frame. Use DNX fastboot method to flash.


Installing CyanogenMod 11 on Karbonn A52+

your device is not officially supported, and I did not find an unofficial build. also there is no custom recovery available. if you really want to use cyanogenmod, buy another phone.


How does Titanium Backup work? When will it not work?

I advise you to read thoroughly the following resources before taking any step to make changes to your OS, so you can be sure if you're doing things right with Titanium Backup:

Titanium Backup User’s Guide: The Titanium Backup manual.
Titanium Backup Technical FAQ: The most frequently asked questions.
Titanium Backup Troubleshooting: In case you have problems…
Titanium Backup Cryptography: All about encrypting and decrypting your backups.
Titanium Backup Tips & Suggestions: Some useful tips.
Titanium Backup HOWTOs: This can help you get some specific jobs done.
Titanium Backup Licensing: If you have questions or problems with license keys for the Donate version or the PRO version on the Market.


Native SIP client in Samsung Galaxy S2 Android version 4.1.2

Go to phone > menu > call settings > internet call settings > accounts


My PC no longer recognizes my android phone

Try enabling usb tethering mode in Settings>Connections>More Networks> Tethering & Hotspot>USB Tethering.
 If your pc detects a RIDNS device, it means that you are able to send/recieve data through USB connection
else
You can try plugging in another pc or laptop
Also find your device drivers online and reinstall them


How to change photo storage path for LineageOS 16's Camera app?

As of right now it is not possible for you to change the path. Android Pie does not allow apps to write/read SD Card public area and only allows apps to access the application private area.
That being said inside of Lineage OS Gitlab Repository there are several discussions to fix this problem. Maybe it will be fixed in the future with an update of Lineage or the integrated camera App.


How to turn on notification light at N4?

Notification light turns only when there is a notification for say Facebook or Gmail etc not for charging and all.

There is no option of turning on the notification light at the time of charging in stock so if you need it then you can use Light Flow
It allows to put custom LED color at different events.


This looks like the media scanner messed up its database. I recommend to:

clear the media storage (see the middle of this page for details with screenshots):

go to Settings › Apps › All
find "Media Storage" and tap the entry once to open the app details
chose "clear data" (to empty the media scanner's database)

reboot

On device startup, the media scanner will be triggered to run, and should – this time cleanly – build up it's database.

Note: If you've customized ringtones/notification/alarm sounds, you might need to redo that afterwards as the association might be lost.²

² Applications identify those sounds by an ID, not by directory and file name. With the new buildup database, those IDs no longer match.


Prevent mobile data from automatically turning off after a while on Xiaomi Mi 4

this solved my problem

developer options > Networking > Cellular Data always active

toggle this option on


Why is Bluetooth tethering disabled in a lot of Android devices?

Because some Android phones/tablets ECT sometimes needs a better Wi-Fi connection if that isn't the case then the Android is either not picking up the signal or...
Your Android s not compatible with that Bluetooth


How to sync calendar with android without google?

If you use a CalDAV server such as SOGo or DAViCal with Lightning, you can then use CalDAV-Sync on your Android device to sync your calendars there as well. SOGo also has CardDAV support, and CardDAV-Sync will keep your contacts in sync as well.


How to get back accidentally deleted `wpa_supplicant` file?

The wpa_supplicant.conf resides at the location /data/misc/wifi/wpa_supplicant.conf. Since it is inside /data/, rest assured that it is not lost for eternity. It would take factory reset to bring it back from scratch.

Also, that file contains device specific and your once connected Wi-Fi's specific information. So, there is no point for us to upload it for you.


How to automatically launch android Acess Point on startup?

The WiFi password IMHO is only setup once, when you configure your device's hotspot. Lateron, you simply activate/deactivate it.

To automate the latter, you could e.g. use Tasker:

Profile "AutoHotspot":

Condition: "Device Boot"
Task: "WiFi Tether" → set On

With this profile activated, your Hotspot would be automatically be enabled as soon as the device has completed booting up.

For the "bonus point" you mentioned: There's a free 7-day trial available on the Tasker Homepage. You can download the .apk to your computer, and use ADB to install it on your device (adb pm install)...


Getting unwanted message "There are trespassing signs. Check it in Observer Settings screen."

It is caused by the app Smart App Protector that maybe you installed and activated an option called Observer. Just check the observer and watch who wanted to enter your apps.

Good luck.


How to determine which app is causing vibration?

In addition to the dumpsys method explained in the other answer, you can use Android's hidden (kind of) permission manager appops to get recently allowed vibrator requests, e.g. in last minute. From adb shell:
for pkg in $(pm list packages | sed 's/package://')
do
    echo "$pkg $(appops get $pkg VIBRATE)" | grep 'time=+[0-9]*s'
done

pm is the package manager which lists all installed packages. appops determines when last time each package made a vibration request and if it was allowed or rejected.
Result can be further filtered by piping output through awk '{printf "%-12s%-20s%s\n",$3,$4,$1}':
allow;      time=+15s659ms      com.termux
allow;      time=+6s458ms       com.google.android.inputmethod.latin

Termux made a vibration 15 seconds back. Also the request can be denied:
~$ appops set com.termux VIBRATE deny

Now the output will be like this:
deny;       time=+9s500ms       com.termux
allow;      time=+6s392ms       com.google.android.inputmethod.latin

And a shameless self-promotion. If not comfortable with CLI, you can use my open-source app Permission Manager X to get and set AppOps:


USB Debugging: PC doesn't recognize that my Moto E (2nd Gen)(Upgraded to Marshmallow) in on debugging mode

The USB Mobile Monitor allows you to connect your Android mobile phone
  or tablet to your PC with a simple USB Cable. All that is required is
  the download of the USB Mobile Monitor App on your device and the
  installation of the USB Mobile Monitor software on your PC.

  The USB Mobile Monitor allows you to replace the keyboard, mouse and
  computer screen of your PC with a single device.

Source: http://www.usbmobilemonitor.com/home.html

This is a kind of built-in system shipped with your device I guess. So,I think you need to install the APK version to get this works. It can be found here. Then follow the usage on this page.

After that, try enabling USB Debugging again.

For the rooting part, follow this guide on XDA Developers.


MTP selected but PC doesn't show contents of external SD card

The simple way (for Lollipop and older versions): power down the Android device, remove the micro-SD, and connect it to the computer via a memory card reader.  Once you're done with whatever you're doing (copying music/photos, for instance), put the card back into the device and power back up.

As noted in comments, however, on Marshmallow, this only works if the storage is being used as "external"; if it's been "adopted" as internal storage, its contents can't be read except by the adopting device.


Maybe you are missing udev rules for the other device manufacturers?

A rule for samsung is probably included by default.

Look here for instructions http://developer.android.com/tools/device.html


Window animation scale of 0.25 on OxygenOS 5.0.4?

If there isn't option in developer settings for that value of animation scale then there is this app. App doesn't require root but you'll have to grant some permissions via ADB, you have guide how to do that when you launch app.
Now when you do that under miscellaneous section there are animation speeds where you can set it to any value you want. Keep in mind that when you restart the device in most cases all modifications you made with app and permissions you granted are gone so you'll need to do it again. I say in most cases because to me sometimes happened that everything is fine and sometimes I needed to do it again.


Wi-Fi of Galaxy S2 is not working after ICS update!

I was having the same issue for the last 2 days. After upgrading to ICS wifi was working but stopped working suddenly after a day. This is how it got fixed:

selected the network and clicked forget
turned off wifi
turned wifi back on
connected the wifi network again


Downgrade Nexus 9 running lollipop to KitKat

It is unlikely, since the Nexus 9 was a Android 5.0 Lollipop launch device. There are no official (Google developed & distributed) versions of Android 4.4 KitKat for the Nexus 9.

Third party roms would be the way to go - but I have found no KitKat roms for the Nexus 9, and I personally doubt one would be developed unless there was a massive interest in it.


You cannot in general.  Images are arbitrary data; they come from different sources, in different formats, over varying protocols, with or without encryption.

The best you could do is to figure out what domains the images are coming from and block those domains.  I use Shark to sniff app traffic and discover the domains.  For example, i.stack.imgur.com hosts the images uploaded for questions and answers on the Stack Exchange network.  There are various apps to do the blocking, or you could manually edit the hosts file.

Browsers like Opera can also compress images when browsing (supposedly Chrome can now as well), and might even have options to not load them at all.


How to disable startup and shutdown sound on Samsung Galaxy S?

In System -> Sound and Display -> System volume
you can set it, unfortunately the power on/off sound is also tied to the touch feedback sound (ie you press a button, hear a sound). If that's not a problem, turn it all the way down and problem solved..


How can I delete backed up Google+ photos off of the phone?

Using the Photos app, tap the hamburger menu (the three bars in the upper left corner), scroll down and choose On Device. You should be able to delete these without touching the backup. If you are prompted Delete Everywhere, select cancel, you are in the wrong place.

You could also use a file explorer app, such as ES File Explorer. Your photos are stored in DCIM>Camera. You should be able to select all and delete.

But if you are asking for something that will auto-delete them as you go, there doesn't seem to be a way to do this with Google Photos. Since they have recently been integrated with Google Drive, a new solution may arise soon.


How to check what file formats Google Docs app supports?

Google Docs app can handle a large number of office text format files (.e.g MS Word .doc .docx .rtf ...).

If you try to open such a file format using an app that can't read those format itself it sends the document to another app that supports this format. Which app is used is not app-specific, the association is saved for each document type system wide. Therefore there is no such thing like a setting for apps that are "using google documents as a default".
You can see see and mange the file associations in the system settings.

Also any app can make use of Google Docs, e.g. a mail program that uses an external program to view attachments. Therefore there is no way to detect apps that can make use of Google Docs. Therefore theoretically any installed app can make use for Google Docs. To narrow it down you can say that any app that handle files (from file-system, mail, chat, file sharing, ...) can make use of Google Docs.


Stock Rom is basically the software which is provided by the vendor or You may can say that the software which was installed by the manufacturer of the phone is Stock Rom. the other type of the Rom is Custom Rom which advance users installed after flashing it as per they desire.

And Yup in your scenario you have Stock Rom of "Lollipop 5.1". You may install any custom Rom as per your own risk. if you know well how to flash custom Rom.


How can I block all incoming connections to my phone?

I don't know how Android Firewall app worked, but it's simple to achieve with iptables; thanks to Linux kernel. Since Android uses default policy ACCEPT, drop any unwanted packets:

~# iptables -I INPUT ! -i lo -m conntrack ! --ctstate ESTABLISHED,RELATED -j DROP
~# iptables -I FORWARD -j DROP

This will also block incoming connections from tethered devices on hotspot network. You can exclude those, see this: Is There A Mobile Hotspot App With A Firewall to Block Incoming Connections?


Intrusive ads on Google Chrome for Android

My suspicion is adware. You should delete all settings in chrome, and including cache, cookies, history, etc. These kinds of spam happen when you think you are clicking something, but an invisible link is clicked instead, leading you to popup sites. Be careful about what sites you visit and what you click.


Best practice for backing up /data/media?

I recommend directly copying files from/to /sdcard.
The sdcard service will handle all the permissions and SELinux contexts for you.
The /storage/emulated/0, /mnt/shell/emulated/0 and /storage/emulated/legacy are all shadow reflexes of /data/media (typically /data/media/0). In the /init.rc file you can find out that the /system/bin/sdcard is a service that controls all of them, so you can just copy the files in /storage/emulated/0 with ease. All other directories like /sdcard and /storage/sdcard0 are symbolic links. They don't matter at all.


replaced screen now having issues :( galaxy s4 i9505

Your display issue is almost certainly a bad connection on one of the ribbon cables that connect the display to the circuit board.  One of the two cables you had to disconnect didn't get fully seated in the connector, leaving some traces intermittent.  Assuming the connector wasn't damaged when you disconnected the old screen, you may be able to restore correct operation by disassembling to the point where you disconnected the screen and digitizer cables, then carefully following instructions to reconnect those ribbons, followed by completing the reassembly.

You should also be able to install the battery and power up the phone to check things before fully reassembling, which will save time if you have to take several tries to get a good connection.


Does GBWhatsapp's back up feature restore media/images INSIDE all the chats?

Tested it, it does. A normal backup backs up all media within a chat too.


What special privileges "/system/xbin/su" does have w.r.t. root access?

Since Android is based on Linux kernel, getting root access by executing /system/xbin/su - like one can do on a Linux system - used to work in good old days but not now. The story is a bit twisted.

WHAT IS SUID?
Special thing about /system/xbin/su isn't that it's in /system partition, but the set-user-ID-root (SUID) bit set on this binary makes it special. SUID  (Set owner User ID up on execution) is a special type of permission on Linux kernel that grants the permissions of the file owner to the new process rather than inheriting permissions from parent process who runs it. Since the owner of /system/xbin/su is root (UID 0), it can switch the effective UID of process to 0 when executed, hence enabling calling process to have root access.
This is a part of Discretionary Access Control (DAC); one of Linux kernel's security features.

MANDATORY ACCESS CONTROL (MAC):
Implemented since KitKat, SELinux can control who executes su binary, by defining Access Vector rules.

On userdebug/eng build of a ROM, adb shell (by executing su, as you have mentioned) and adb daemon (1) can make transition (2, 3, 4, 5) to run as root with unrestricted context u:r:su:s0 (6). But adbd can't be run as root on final user builds (7, 8), neither su binary is included. So, /system/xbin/su is intended only for developers to debug engineering or userdebug builds of a ROM, not for end user (9). And second special thing about it is its SELinux context u:object_r:su_exec:s0.

See Why “adb root” does nothing? for more details.

HOW ANDROID RESTRICTS ROOT ACCESS?
Keeping SELinux aside, on user build of a ROM that is intended for end users, placing su under /system won't give any advantage, even with set-user-ID-root. A normal app can't elevate its privileges to root by executing su because:

Starting with Jelly Bean, Android switched to file capabilities (a capability is a subset of root privileges) instead of relying on set-user-ID type of security vulnerabilities. A more secure mechanism: Ambient capabilities has also been introduced in Android Oreo.
System daemons and services can make use of file capabilities to gain process capabilities (see under Transformation of capabilities during execve) but apps can't do that either because they run with process control attribute NO_NEW_PRIVS set, ignoring set-user-ID as well as file capabilities. SUID is also ignored by mounting /system and /data with nosuid option for all apps.
UID can be switched only if calling process has SETUID/SETGID capability in its Bounding set (one of the 5 capabilities categories a process can have). But Android apps are made to run with all capabilities already dropped in all sets.
Starting with Oreo, apps' ability to change UID/GID has been further suppressed by blocking certain syscalls using seccomp filters.

ADB daemon, however runs with CAP_SETUID and CAP_SETGID (to allow switching to UID/GID shell???). But adb shell too can't get us capabilities by executing a SUID-root su binary because NOROOT and NO_SETUID_FIXUP security bits are set on adbd process. Contrarily on a debugging build, no capabilities are dropped from bounding set (10), so executing /system/xbin/su (with set-user-ID-root bit or cap_setuid,cap_setgid+ep file capabilities) would get us full root access.

Syscalls used in these sandboxing methods: cap_set_proc, setresuid, setresgid, sys_seccomp, prctl (CAPBSET_DROP, SET_NO_NEW_PRIVS, SET_SECUREBITS, SET_SECCOMP) are all part of Minijail.

Summarizing the above lines, DAC and MAC would only allow adb root and executing /system/xbin/su from adb shell on userdebug build of ROM. To have root access from apps and on user builds targeted for end user, we need to root the phone as explained below.

HOW TO GET ROOT ACCESS ON ANDROID?
So if we want to have privileges with UID 0 and all 38 capabilities of Linux kernel, we need a rooting solution that can deal with all above described security measures. Since the standalone su binaries stopped working with the release of Jelly Bean, a transition was made to su daemon mode.

Now on a rooted phone, a fully privileged daemon runs from the very start of booting process (in fact init is replaced). When an app needs root access, it executes su binary provided by the rooting solution. This su doesn't change UID/GID on its own, but just connects to super user daemon through a UNIX socket and asks to provide the requesting app a root shell with all capabilities. In order to interact with user to grant/deny su requests from apps, su daemon is hooked with an app that can display user interface prompts. A database of granted/denied permissions is built by su daemon for future use.
In addition to that, SELinux denials are also handled by defining SELinux policy allow-rules when rooting the phone.

New methods of root like Magisk work in system-less mode i.e. without modifying /system partition. Only boot partition - that contains kernel and initramfs - is modified to inject su daemon service and new SELiux policies. A locked bootloader won't boot modified boot.img, so bootloader needs to be unlocked. For more details regarding this, see Unlocking Bootloader. However there have been some rooting hacks that worked by bypassing above described security implementations without going for proper way of rooting. Most of such exploits and vulnerabilities in Android OS have been fixed over time. Here is a good write up on this subject.

So to conclude, placing su binary under /system or any other location won't give any benefit.

Also see How Magisk works? for more details.

PS: Please ignore so many links, they are for my own future reference.


Pie 9.0 Low Battery Notification Not Working (Moto G7)

TLDR; You either get battery saver, or notifications; not both.

There seems to be an issue with the Android Pie release, or a subsequent patch. When the "Battery Saver" function is turned on, it automatically disables the "Low Battery Notification" features. Or, the battery saver fires and prevents the low battery notification from firing by default. "Save the battery" instead of making noise, popping up a message, and vibrating. I turned off the "Battery Saver/Turn on automatically" function and now my phone interrupts whatever I'm doing to let me know I need to plug in soon.


I am stuck on the verify your account Google on a ZTE TracFone

With the phone in that orientation, you'll need to scroll down to see the box where you can enter the login details of the Google account you used before resetting the phone.


Copy a complete chat from whatsapp to PC

Open the conversation. Enter options menu -> more -> export chat -> with media -> send via email
Check your email. Save all attachments to disk.
Open the text file with Wordpad. Press CTRL + H. Replace string - Name 1: with the string |Name 1| and repeat for Name 2. Save it.
Open spreadsheet, and use | as separator, when importing a text file.


Android apps not working with HTTP proxy

Possibly you are trying to use apps over HTTP proxy which causes many apps to show connectivity error.
Try a VPN over proxy.
Connect as usual you connect to the internet through your HTTP proxy. AS chrome supports proxy, the internet works fine in it even with a proxy.
Then Search for Surfeasy VPN.
I have tried many VPN's and only this and OpenVPN got success in establishing a connection with HTTP proxy. Try this, it works great. It even bypasses the restrictions over proxy if set up by Colleges, schools, Cafes.


It depends on how the Android image you're using was built. When you build a ROM image from the Android sources, you set what drivers are included in the image, according to what target hardware you're expecting to use it with.

If you got the Android image from the manufacturer of the TV box, it should have drivers for all the hardware in the device. (At the very least, it should say if anything is missing.) If you're using a third-party image that was created for that device, again, the author should tell you which hardware is supported. If you're using a third-party image that wasn't created for that device, it probably won't work at all.

If you're building your own Android image, then you should look in the sources you're building from, to see if the HDMI driver is included; if you don't already know how to do this, you probably shouldn't be trying to build your own ROM.

You might also find Can I install Android on my non-Android device? useful reading.


Phone call quality suddenly choppy, even though signal is good

Appears to be a Sprint issue - call quality's good again today. The lesson here is that there's always more to call quality than cell signal bars.


Does Nexus 6 sold by AT&T differ from one sold on Google Play in any way?

Nexus 6 models sold via AT&T are reported to have these differences (source 1, source 2, source 3):

It is SIM locked to AT&T
There is an AT&T logo on the back of the phone
The phone displays an AT&T branded boot animation/sound on startup
It performs a check to ensure your current plan allows tethering before it will allow it to be activated
Several AT&T ringtones have been added
After the initial setup, if an AT&T SIM is inserted/activated, it will download and install several AT&T apps automatically. These can evidently be removed, without root.

It has been speculated that updates will still be received on-time because the AT&T extras are on a separate partition (mounted at /oem), but this has not been confirmed, to my knowledge. With root, you can remove the ringtones/boot animation from the /oem partition. You would need to obtain an unlock code in order to use it on a different network.


Introduction:

Heres what seems to have worked for me:

Warning !!! : The following has the potential of doing damage to your phone. Please make a full backup of your phone first and only do this if you understand what each command is doing!

The following requires some understanding of the use of ADB (Android Debug Bridge) and sqlite3 databases as well as linux permissions.

The error message I was getting in the Notification Area is similar to: Message not sent. Touch to review the message and try again.

Steps to Fix:

Reboot your phone into recovery mode. And connect your phone to your computer via USB cable.
Copy the mmssms.db sqlite database from your phone by using ADB :

adb pull /data/data/com.android.providers.telephony/database/mmssms.db

adb pull /data/data/com.android.providers.telephony/database/mmssms.db-journal
Download install "DB Browser for SQLite" on your computer from http://sqlitebrowser.org/
Open mmssms.db using "DB Browser for SQLite" (make sure the mmssms.db-journal file is in the same directory as mmssms.db).
Select the Browse Data tab.
Select pending_msgs table and then select and delete all records in this table with the Delete Record button. Repeat this for the sr_pending table.
Select pdu table, then insert 0 in read filter, then select and delete records with Delete Record button where the read column is 0. repeat this on sms and threads table.
Select Write Changes from the File menu.
Now use ADB to push the modified mmssms.db file back to your phone. But first check the permissions that have been set on the original mmssms.db:

adb shell

ls -la /data/data/com.android.providers.telephony/databases/

-rw-rw---- radio    radio      900000 2015-01-17 21:33 mmssms.db
-rw-rw---- radio    radio       30000 2015-01-17 21:33 mmssms.db-journal
-rw-rw---- radio    radio      170000 2015-01-17 21:30 telephony.db
-rw-rw---- radio    radio        8000 2015-01-17 21:30 telephony.db-journal

exit
Copy the modified mmssms.db database back to the phone:

adb push mmssms.db /data/data/com.android.providers.telephony/database/mmssms.db
Change permissions and delete old database journal file using ADB Shell

adb shell

chmod 660 /data/data/com.android.providers.telephony/databases/mmssms.db
 chown radio:radio /data/data/com.android.providers.telephony/databases/mmssms.db
 rm /data/data/com.android.providers.telephony/databases/mmssms.db-journal

exit
Disconnect your phone, reboot and see if this solved the problem.

References:

[1] http://puremon.egloos.com/m/2145353


It's routed by the carrier so even if your phone is off it will get appropriately routed to Google Voice.  With non-android phones you have to type the carrier specific activation code into the keypad and hit send to make the change at the carrier level.  The Google Voice Android App takes care of this for you with a simple toggle in the settings menu.


How to install Android apps without having Google Play?

What you're referring to here is called sideloading - this is a term used when loading an app on to a device without using the/a market store.

It is possible to get APK files for apps, but there're generally good reasons why most developers don't make these publicly available - some developers will make these available thought, it depends on the individual.

I would email the developer in question and ask if you could have an APK version of the app.  I wouldn't imagine that they would have any issues with this if your request is legitimate and above board.


Access an Android purely via VNC enabling Tablet resolutions

No, you cannot change the resolution of Android in VNC in a standard way. However, some Android phones have additional functions to support HDMI (which results in running Android at a higher resolution). If you can somehow tap into that functionality in conjunction with VNC, then you might be able to get a 480p, 720p, and 1080p option. But this is something that would be highly customized to a single phone as all of the different HDMI implementations seem to vary tremendously. One other option that would be yet another one-off possibility (with some custom work) would be if your phone supports WebTop functionality. If so, perhaps you could tap into this.

However, there is no third-party app that does what you're wanting. To do this, you'll have to develop or find somebody to develop this highly-customized solution.

As other have suggested, you're probably not going to get much better than changing the LCD Density, which clearly isn't what you're after.


Where can I find a factory image for the Moto X 2nd Gen 2014?

Email Support.

(No im serious. I couldnt even get mind until I did)


It is not built into Android, but is built into the bootloader. Not all Android devices have it.

As said by @GiantTree, the easiest way is to boot into the bootloader and checking the screen output. Asus devices in general, don't have any such counter.

Samsung uses a flash counter or the Knox counter, which is triggered when any changes are made to the stock partitions. Knox is tough to reset, but apps like Triangle Away can reset the flash counter.

Rooting usually does not trigger any flash counter, except in cases where you have to install the SuperUser (su) binary manually by flashing it. A clean unroot will, in most cases, restore the counter if it is triggered.

For more information, please see this link : http://www.kingoapp.com/help/samsung-knox-counter.htm

Although the above link contains material related to the Kingo Root App, it contains well-explained information regarding this topic.


Is it possible to force a phone to use USB for data but not charge from it?

Considering usb C can send power in both directions, I'm assuming you can set the phone to power an external device using in phone settings, and this way you would avoid it pulling power from your source.

A side note though : 2A is quite a number, unless you're running rpi hot or powering something else my educated guess is that it should be enough for both.


It could be that the new update needed an extra permission. If that is the case, your app won't update automatically. It needs yo to accept the new permissions first.


Can Gmail be uninstalled on Android 5.1.1 (Lollipop)?

If it's built into Android as a system app (built into the system, uninstallable by normal means), no, not unless you have root or unless your device has some rare functionality which will allow you to (I don't even know if such a device exists). If it's an app you installed yourself and isn't a system app, then yes.


'Authorization Failed' toast message at startup

Improvising Firelord's comment, if you are using  Linux, execute in terminal

adb shell dumpsys window > log.txt

and then,

cat log.txt | grep 'TOAST'

Now, you can find the package name and app causing the problem.


You can delete cloud printers through this page. I've never been able to tell how defaults occur, though. It seems to mostly do it by what was used last, but randomly it doesn't. Sorry I can't give you a good answer on that part.


Nope you cannot only selectively disable video calls. The least you can do is disable incoming invites from the app settings.


What do I type in PATH variable for ADB server to start from CMD?

I have solved my own problem. Those search paths are all messed up!

I checked the installation path and it's installed in C:\Program Files (x86)\Android even though I do have a 64-bit version of Windows. But nevertheless, this is the default installation location.

So I updated the PATH variable with following line.

C:\Program Files (x86)\Android\android-sdk\tools\;C:\Program Files (x86)\Android\android-sdk\platform-tools\

And now I can start ADB server from CMD regardless of where the prompt is at.

I have no clue why they are referring to AppData\Local\ folder in the guide for the 64-bit systems. That makes no sense at all. If anywhere, the installation location should be in "Program Files" folder for a 64-bit system. They actually put this in for the 32-bit systems... like I said, it's all messed up.

I should point out that adb.exe has been moved from C:\Program Files (x86)\Android\android-sdk\tools\ to the new location C:\Program Files (x86)\Android\android-sdk\platform-tools\. This has been done in later versions of Android SDK.

So if you are reading this in year 2013 then you can probably just get the latest SDK and use only this last search path. You don't need them both. At least not for ADB and Fastboot. If you're a developer then you maybe need to access tools from both directories, although if you're a dev then you probably won't need to read this at all.

How to edit a system variable

Here's a short how-to for the newbies. What you need is the Environment Variables dialog.

Click Start (Orb) menu button.
Right click on Computer icon.
Click on Properties. This will bring up System window in Control Panel.
Click on Advanced System Settings on the left. This will bring up the System Properties window with Advanced tab selected.
Click on Environment Variables button on the bottom of the dialog. This brings up the Environment Variables dialog.
In the System Variables section, scroll down till you see Path.
Click on Path to select it, then the Edit button. This will bring up the Edit System Variable dialog.
While the Variable value field is selected, press the End key on your keyboard to go to the right end of the line, or use the arrow keys to move the marker to the end.
Type in ;C:\Program Files (x86)\Android\android-sdk\tools\;C:\Program Files (x86)\Android\android-sdk\platform-tools\ and click OK.
Click OK again, then OK once more to save and exit out of the dialogs.

That's it! You can now start any Android SDK tool, e.g. ADB or Fastboot, regardless of what your current directory is in CMD. For good measure here's what the dialog looks like. This is where you edit the Path variable.


Setting the status and navigation bars to have the transparent gradient is handled by applications/launchers themselves in stock 4.4. Some apps and launchers provide a setting to turn the gradients on and off.

The AOSP launcher always uses opaque bars, Google Now launcher always uses transparent bars, and certain 3rd party launchers such as Nova give you a toggle. Regardless of the launcher's setting, apps can and will override it.


Did you root your phone or have you installed custom recovery and such on it? Like the notification says, it throws such errors when the phone is detected to have been modified.

If you really haven't touched the phone in aforementioned ways, then you might have to resort to manually upgrading by using OTA zips, which has some prerequisites and is more complicated to do.


Can't switch/close tabs in the Chrome browser on my Android tablet

Click the three dots, choose "Settings", then turn off "Merge tabs and apps". Now tabs will work like they used to.

(This solution was improperly proposed as an edit by an anonymous user.)


TWRP fails to decrypt data on OnePlus One

This can happen due to many reasons ! A common issue is the fail in the boot order sequence which indeed is stored correctly in the TWRP from which you booted into.  Now, Are you able to boot through the normal method ?  . If not, then boot to bootloader and select the normal startup option. Try fixing permissions from TWRP and see if it fixes the problem.  Good Luck!


How do I get a windows xp laptop to be able to use the internet via droid X?

There are two options, but they both require connecting to the Android device via WiFi:

Root the phone and use Wireless Tether - (unofficial method) Warning: this may void your warranty, so don't blame anyone if it causes you an issue, least of all me!  Proceed at your own risk.  Once the phone is rooted (you can search via Google for rooting your device and it usually not the most complicated thing to do), you can install Wireless Tether from the Android Market.  This will basically turn your Android phone into a mobile router that you can connect to with your PC.

or

Pay for the 3G Mobile Hotspot option from Verizon - (official version) This is the carrier provided method for tethering your device (getting a computer to access the internet using a wireless device).  I believe that it is currently $20 per month and there is a limit to the amount of data that you can use.


3rd party messaging apps with random silent notifications problem

The same issue on Galaxy Note 9, observed this issue in Nov 2018 but no resolution. The same issue in One Plus also. Very difficult to say whether it is an Android issue or applications issue.

Found this issue in Android Issue Tracker, Google is working on this, although I have observed this issue in Android 8, 9, 10.


Android Gmail App deleted my email when I swipe left on a IMAP email account

Read the full article here.

Open the Gmail app.
In the top left, tap on Menu.
At the bottom tap Settings.
Under the General Settings, go to Swipe Action and change as per your preference.

Hope it helps.

Thank you.


How to change the way joined contacts are displayed

Open joined contact > menu button > mark as default > chose account, name, phone.

Thats all.


Is there a way to see what application is performing a sync?

You can check the Accounts & Sync in the settings. This will show you what is syncing.

I am going to throw out a guess that you have the Official Twitter client installed and have sync data enabled. I used to get the "lock up" you describe all the time.

The lock up is not really just from the app that is syncing, but it is causing it... Samsung decided when they designed the Galaxy S that the file systems that existed were not good enough for them. So they decided to use a proprietary file system that was developed by Samsung called RFS. This file system is slow, like, Really Fricken Slow. It is the cause of the "Galaxy S Lag".

Even Google decided, with the Nexus S, that they were not going to use RFS on the device, it uses ext4. There are "fixes" out there to convert the RFS to ext4, but they do require you to have root access, a custom recovery (like clockworkmod) and to flash a ROM or a kernel.

Voodoo is one of the best. Roms like Nero3 from TeamWhiskey have voodoo built right in to their ROM.

Now if you don't have root access and don't want to, there is really nothing that can be done to "correct" the lag that you are experiencing... except to disable the syncing of data that cause the lag.


Alcatel One Touch S'Pop remap power button

Try with the file mtk-kpd.kl and change these values. First, make a backup of that file.

key 116 GRAVE
key 212 POWER      WAKE
Key 211 POWER      WAKE


SD Card keeps getting unmounted on my HTC Desire

I had a problem with cheap sd cards from ebay doing this, I spend a little more these days on them.

There isn't much you can do here if you don't intend on rooting the phone or anything. If it was mine I would wipe the thing and re-install a fresh stable rom and test that for a few days.


You can delete that file safety, but it will be recreated soon. I have not tried to prevent its recreation, but the method described in this article might work... Let us know if it does!


How can I "right click" with a USB mouse on Android 3.1?

Unfortunately there is currently no way to get the right mouse button working as a right mouse button. Long press is the only way to do it. Sorry.


Disable auto-app switch on Xperia Z3 when headphones are plugged in

It's the Smart Connect app. You can simply toggle it off under the Events tab.
Smart Connect starts up any app or action that you have associated with specific accessory such as Headphones.


My phone doesn't always charge at full speed, even with certain 2-amp chargers. What are the necessary conditions for it to charge at full speed?

The OS isn't relevant to charging speed, but the internal hardware differs heavily between phones. One thing you'll experience is that nearly all chargers that advertise themselves as 2.1A are optimized for iProducts, which require a different grounding scheme in the charger to reach their full speed, and that same scheme limits Android devices to 500mA. So counter-productively you'll find that most 1A chargers will charge your Android device FASTER than 2.1A chargers. You'll also see a lot of multi-chargers that have one port dedicated to 2.1A, and if you move your phone to the other port it'll charge faster. Most label these ports as A and NA, for Apple and Non-Apple.

The way around this is to buy a charger that's specifically designed to adapt to whatever device you're using. One example, which I've used myself, is the Anker 4.8A 2-port charger. Unlike most two-port chargers which dedicate one port to Apple and one to non-Apple, this uses Anker's PowerIQ tech to sense, on either port, what your device wants from it and adjust accordingly. This charged my device at full speed quite easily. I've since switched to one from Choetech that's a 4-port simply because my Nexus 6 supports Quick Charge 2.0, and that one had a port for that, but it advertises their own version of the same concept as PowerIQ for the other ports. Both companies make a ton of wall/desk chargers with the same technologies in them, and I have multiple Anker chargers and external batteries. Aukey seems to be another supplier who's probably using the same OEM as those other two companies, with similar results. And they all seem to give good warranty support via Amazon.

The other factor, as mentioned in the other answer, is the cable. I used to think "USB is USB," and that's true for data, but not for power. Cable quality, and unknown factors, will change what you can pull off. I've had two cables of the same length produce as much as an 800mA difference from the same charger. Also, some just combine with certain chargers better. The cable I've had the most consistent luck with, across all devices, is the Cable Matters Premium Gold-Plated cable. I used to buy the MonoPrice-branded ones, but they stopped making them, and I found these identical ones on Amazon. They're quite cheap, and they've worked exceptionally well for me. They give me over 2A on Quick Charge 2.0, and 1.2 on everything else when all other conditions are optimal and I'm using a good charger. Length matters, too. The shorter the cable, the better it can hold onto its current.


Why can't I shoot in raw on my galaxy s7 after upgrading to nougat?

You can shoot in raw. They just changed where it is placed on the Nougat upgrade. It is the last option under picture size and can only be accessed when using the pro mode.


How to fix Sync Browser not working on ICS

I had a similar issue.

Eventually, I disabled the following:

auto fill forms; sync via USB an developer tools. It worked!

Oh also I cleared data (settings..content settings) for Google sites.


Can an Android device  play ALAC and WAV files?

I use Poweramp as my player on an S3 and it works fine for AAC, AIFF, FLAC, and apple lossless, even for FLAC HD files from HDTracks.  I simply use Android File Transfer to transfer music from my MAC to the S3.  The only problem I fine is static in the music, if I use the EQ or The Tone controls.  I am still trying to find an answer for that, but with those controls off, sound is fine.


Try looking in the applications settings and finding the entry for iWnn IME in there and disabling it. I've also heard there's a second binary with keyboard appended to it. Go ahead and try that and report back.


How to switch(not only on or off) the mobile data and wifi using adb?

By knowing the state I suppose you meant whether at X point of time the Wi-Fi or mobile data is enabled or disabled. This information can be obtained from the dump of connectivity service.
Run this command to get the status of mobile data and Wi-Fi:
adb shell dumpsys connectivity | sed -e '/[0-9] NetworkAgentInfo.*CONNECTED/p' -e '/Tether state:/,/Hardware offload:/p' -n

Example output:

  1 NetworkAgentInfo [WIFI () - 178] CONNECTED/CONNECTED
  5 NetworkAgentInfo [MOBILE (LTE) - 191] CONNECTED/CONNECTED
Tether state:
  rndis0 - TetheredState - lastError = 0
  wlan0 - AvailableState - lastError = 0
  Upstream wanted: true
  Current upstream interface(s): [rmnet_data1]
Hardware offload:

Here:

WIFI means device is connected to a Wi-FI
MOBILE means mobile data is enabled
rndis is interface name of USB tethering
wlan is interface name of Wi-Fi hotspot
TetheredState means tethering for the respective interface is enabled

In your output:

if WIFI term with CONNECTED status is missing, than device is not connected to a Wi-FI
if MOBILE term with CONNECTED status is missing, than mobile device is disabled
if TetheredState is shown for rndis or wlan or both, than respectively, it means USB tethering and Wi-Fi hotspot is/are enabled.

To check whether Wi-Fi radio is enabled or disabled, run this command:
adb shell dumpsys wifi | sed -n 1p

Example output if Wi-Fi is enabled:

Wi-Fi is enabled

enabled would shows as disabled if Wi-Fi radio is disabled.

Similarly, to check if cellular radio has telecom network access, or if it is disabled, run this command:

adb shell dumpsys telephony.registry | grep mServiceState | grep -o "mDataRegState=[()0-9A-Z_]*"

Example output:

mDataRegState=0(IN_SERVICE)
mDataRegState=0(IN_SERVICE)

Here:

IN_SERVICE means your cellular radio or radios (if multiple SIM cards are supported) is connected to a network.
OUT_OF_SERVICE would mean not connected to telecom's network
POWER_OFF would mean device is in Airplane mode.

Combining all these information would help your fully ascertain:

the state of Wi-Fi radio and its connectivity
the state of cellular radio and its internet connectivity
the state of USB and Wi-Fi tethering

Now, you already know how to enable/disable mobile data, USB tethering, and Wi-Fi using svc utility. While I don't know how to easily turn on hotspot, disabling the hotspot is pretty easy. First, enable the Wi-Fi using svc, and then disable it with svc too.
The aforesaid two commands should be sufficient to ascertain the connected status of mobile data, Wi-Fi, Wi-Fi hotspot, and USB tethering.
Note: this solution was tested on a OnePlus 6 running Android 10.


I have an answer for you.
Cyanogenmod should implement a simple solution!
The fix can be found on the final post of this page:

http://forum.cyanogenmod.com/topic/87482-critical-flaw-in-whisperpush/

You'll need android studio installed on your PC to use "adb" in terminal/command-line.

These are the steps that are suggested on that site:

  You could try to unregister manually:

pc:$ adb shell
phone:$ su # (enable root for ADB first)
phone:$ cat /data/user/0/org.whispersystems.whisperpush/shared_prefs org.whispersystems.whisperpush_preferences.xml
# take note of pref_push_password and pref_registered_number
pc:$ curl -v -X DELETE --basic --user $pref_registered_number:$pref_push_password https://whisperpush.cyanogenmod.org/v1/accounts/gcm/
# add -k to skip the certificate warning

  The HTTP response code should be 204.

Source: http://forum.cyanogenmod.com/topic/87169-disabling-whisperpush/#entry448596


Any way to reboot device programmatically without root?

You could use AutoInput with Tasker.
AutoInput can create list with recorded screen touches for reboot, and with Tasker you can schedule action at the time you want, without root access.


SGS3 I-9300 Android 4.2 - why can't I disable these system apps?

"Why" is not a question well suited for our site, as it probably is a speculative question and such off topic (see our [FAQ]). Although, a short technical explanation: The company building your ROM decided such.

"How can I disable them" would be better fitting, and even has answers:

If you cannot disable them from Settings→Apps→Manage Apps, you will need to root your device. Having done that, there are several apps available allowing you to "freeze" unwanted system apps. The most well-known of them is Titanium Backup which, as a side-effect, provides you with a powerful backup solution. Another candidate for that is App Quarantine ROOT/FREEZE.


The Android version running on these is probably not supporting OEM and DRMs codecs / encryptions. You should check the manufacturer for more details about this.


Sony Xperia Arc S, changing the "my number" in contact list?

If you have not done a Factory Reset, the Android operating system is still in the same state as it was when whoever owned the phone installed it. Do the following to completely wipe the phone and thereby force the phone to recognize what phone# is relevant for the sim card inserted:

From the main home screen, tap menu
Tap Settings, then Privacy
Tap Factory data reset
Tap Reset phone
Enter your password if required, then tap Erase everything to confirm


Why do I not get the new YouTube ui on my tablet?

The latest YouTube update has enabled it :-D


How does the phone know it has been docked

Typically, the phone knows whether it has been docked by the placement of a magnet on a certain area on the back of the phone.  You can therefore create your own cheap dock using a magnet and some sort of stand.  Here is an example with the Droid.


Help with rooting lollipop, Verizon branded phone

You need to do a couple of things to get your phone rooted, not temp root.

There is a step-by-step guide on Instructable. Just follow it.

If the above doesn't work, try this one.


does a wireless adapter work in my tv android box to boost wifi signal

Probably not. I'd expect the Wi-Fi transceiver and antenna in your TV to be higher-gain than that in a USB Wi-Fi adapter, simply because the TV has more room for a large antenna and more stable power. Using an external Wi-Fi adapter would only improve things if

the TV is in a fully enclosed case, and you can mount the adapter outside the case; or
the TV was very cheap and badly designed.


how can I prevent apps from immediately connect upon wifi connection

Since Android 8 there's built-in option Block connections without VPN in VPN settings.

In other case you may use AFWall+ (root required) from F-Droid or Google Play to allow apps to connect to internet only through VPN (only paid version supports VPN).


My Android device with USB host does not recognize my WiFi Adapter dongle. Is there a way I can install a driver or do anything else?

You need to find a WiFi dongle with a chipset the device supports. Each chipset requires different drivers, so you'll have to find one that's supported. There a discussion thread on the site you linked to about exactly this.


ClockworkMod Recovery pops up during phone turn on

Fixed it by rooting the phone with a different kernel version. Installing in appropriate kernel was the reason for this problem.