How to know the model name of one device name and vice versa?

PDF at this link may help you List of all devices supported by Google Play

There is also .csv available

Devices are listed in the following format - Marketing Name (Build.os.DEVICE/Build.os.MODEL)

Against your query of Nexus 7 2013, it returns two occurrences

Retail Name : Asus

Marketing Name: Nexus 7 (2013)

Device : deb

Model : Nexus 7

and

Retail Name : Asus

Marketing Name: Nexus 7 (2013)

Device : flo

Model : Nexus 7

Source: https://stackoverflow.com/questions/17718532/a-complete-list-of-all-android-devices

Please do update your question if you locate alternative

Edit

This post
mentions a couple of git-hub sources which have device name information listed and this may help (I don't know how to get information from there )

https://github.com/mataanin/android-devices and
https://github.com/meetup/android-device-names


Sometimes you need to lock and unlock the tablet to have it connect. If you are running any sort of task manager, disable it. Can you post some screenshots?


Try forgot password and enter your email and password that is connected as play store id they will unlock it and sends the password on your gmail as recovery or as reset it.


How do I specify a different PIN than 0000 when pairing a bluetooth device on android

To fix your speaker problem - Go to Settings > Bluetooth > Turn On and wait for your list of devices to populate. Locate your speaker and Long Press it (press and hold) and then select Un-pair. You'll be free to attempt to pair it again with the proper PIN!

If your device isn't paired with the phone, but it's still not connecting, you can try clearing your Bluetooth cache. Turn off Bluetooth, then Go to Settings > Applications > All > Bluetooth Share and tap "Force Stop," then "Clear Cache," then "Clear Data. If the device was ever paired or a pairing ever failed, it may have stored those credentials regardless of success. This should give you a fresh chance at it.

As for why you can't specify what PIN your speaker provides your phone - it's because the default PIN is assigned to the device when it's made, and can't be changed by the average consumer. Most 'dumb' Bluetooth devices have no way of changing the PIN it comes with.


Can android device issue adb commants to itself?

Adb is a two-part system, the "ADB" command that runs on your computer, and a daemon that runs on the device to receive the commands you send to it.

To run it on the device you need a version of ADB that is compiled to run on the device. There are several of these on the play store (Search "Adb Shell") on Google Play, such as Adb Shell.

There is also an "ADBLib" by Cameron Guzman on GitHub that can be compiled into an Android App and allow run Adb Shell commands from there.


Nougat downloaded but now not in notifications

If you don't want to sideload it I believe you will get it with the next OTA wave. Also, I remember people were forcing OTA with Google Service Framework disabled back when 5.0 came out, but I havent tried it so I really don't know if that works or not. Here are the steps if you want to give it a try:

Find Google Service Framework in the Apps section of your Settings menu
Force stop it.
Try the System Update option now.


How can I remove the default browser favorites?

Doing a full Clear Data on the default browser ("Internet" on the Incredible) worked for me. Just make sure you have your other bookmarks backed up (for example, using an app such as Backup Bookmarks could be used to back them up to SD). The steps should look something like this:

Settings > Applications > Manage Applications > All > Internet > Clear Data

EDIT: As mentioned in the comment below, Bookmarks Manager allows users to delete the default browser favorites/bookmarks. Note that the crossed-out portion of this answer would erase things such as history, entered text, etc. however, apparently not the default bookmarks.


Can anyone recognize this app (toggles WiFi, GPS, Sync, BT, etc.) in the notification bar?

Thanks a lot everyone, I found it, it's a custom ROM called AOKP http://www.forum.aokp.co


I need to backup my contacts & information

If you are talking about contacts, you can go to https://contacts.google.com.
Under "More" press "Undo changes" to restore any changes you did to the contacts.


These guys recommend iSyncr as a solution. Cons: It's not free, and it won't sync copy-protected content.


Why does Kies say that there is no official release for my Samsung Galaxy Mini (GT-S5570)?

If Kies tells you that you have a unofficial release it usually means that you have an unofficial release. :) This is usually the result of flashing the device with heimdall/odin and an prerelease firmware that was never official released for you device and/or region. But there can be other reasons for this too.

You could flash an offical ROM, which can be obtained for example from samfirmware.com. Instructions on how-to flash and what release is the current offical for your region can be found on this site too. Be aware that flashing can leave you device in an unusable state and it will do a factory reset, so save your data prior flashing. Also you may lose your warranty.


Does "Draw over other apps" permission allow the app the see the content of the background app?

The official developer docs do not mention any such possibility with Draw over other app (SYSTEM_ALERT_WINDOW) permission. Apps with that permission can only receive touch feedback, like other apps.

See:

TYPE_APPLICATION_OVERLAY
ACTION_MANAGE_OVERLAY_PERMISSION
SYSTEM_ALERT_WINDOW

However, any app with Accessibility Service enabled can read the content of the active window.


Default Music Player randomly playing while headphones are plugged in

How long have you had your phone? One common cause of intermittent headphone connections like this can just be that after carrying your phone around in your pocket for months, it has picked up "pocket fluff" in the headphone socket. At first this just squashes down out of the way when your headphones are plugged in, but after a while so much builds up that it stops the headphones plugging in fully and making a secure connection.

Removing this fluff can be as simple as just pulling it out with a straightened paper clip (be careful when you stick it in there). This is what I found by in my headphone socket a little while ago with a paper clip.

There are also some slightly more complicated ways to give the socket a good clean.

This fluff problem is far more common with smart phones, than with stand-alone MP3 players or old-fashioned walkman-type devices, as you'd commonly leave the headphones permanently plugged into those older single-purpose devices, whereas people usually leave the headphone socket empty on general purpose smart phones most of the time, and slip them in and out of fluff and lint filled (and generating) trouser pockets.


New Android maps - how to show navigation without destination

You just need to access "My Location" in Maps.

Click the "location" button  in the bottom right corner to have the map scroll to your location. (Obviously you need to have Location Services turned on.) The button will turn blue and there will be a glowing blue dot at your location.

Tap the button again and the view will change to "compass mode", a partial-3d view with 3-d building outlines and pointed in the direction you're facing. The button will change to a compass. Tap again to get back to the top-down view.


How to create a symlink after I rooted my Samsung galaxy w GT-i8150?

Your external SD card is presumably (in pretty much every case) formatted as a FAT32 filesystem. FAT32 does not support symbolic links. Linking from a ext2/3/4 filesystem to a FAT32 filesystem would work, IIRC, but linking from FAT32 isn't possible.


Cheating KNOX by cracking stock ROM certificate

If it was that simple it would have been broken long back. Knox is almost fool proof and prevents any such attempts

  Samsung KNOX addresses security using a comprehensive, hardware-rooted trusted
  environment:

  • Hardware Root of Trust

  • Secure Boot and Trusted Boot

  • Security Enhancements for Android (SE for Android)

  • TrustZone-based Integrity Measurement Architecture (TIMA)

  • TrustZone-based Security Services

Source: White paper on Knox by Samsung

You can see the technical details but to summarise any changes made trigger a fuse that would flag tampering

  (Fuse is)...one-time
  programmable memory area (colloquially called a fuse) is written to indicate suspected
  tampering.

Next, hardware root of trust is specific to each device and that  verification would fail

Even flashing an older version of  stock ROM would trigger the fuse

  Rollback prevention fuses are hardware fuses that encode the minimum acceptable version of Samsung-approved executables. These fuses are set at manufacture time in the Samsung factory. Because old images may contain known vulnerabilities that can be exploited, this feature prevents approved-but-old versions of boot executables, from being loaded.

To summarise, you would see that it won't work


Notification icons did not appear on status bar in Oppo F1s

Here i confirmed from Official customer care office of oppo mobiles that recent update of marshmallow in oppo f1s have this issue . and can't be resolved in marshmallow. They suggest me to downgrade your phone back to lolipop 5.1 to remove this issue. So i personally suggest that don't update your oppo f1s to mashmallow .


Can't unlock pattern on a MediaPad 7Lite!

Go to https://www.google.com/android/find and Lock the device. You will be able to set a new password for the phone and now use this new password to unlock your device. Make sure you are connected to the internet on your device or else this won't work.


I use "UB reader" on my galaxy s5 and It has alot of customisation with epubs such as, font size, background/text color, index, bookmarks ect. Seems as I can change the font size i find it comfortable at 9pt witch for an average size book is 2 screens to one book page. hope this helps.


Most of the apps crashing after editing platform.xml

Ended up resolving the issue by doing a factory reset and restoring all the apps from an old backup. Some loss but everything works at least.


Will my Kindle Fire still work the same with GO Launcher?

The only way I've found is from the ugly old Carousel.  I keep a link to it accessible on my new launcher and go there to open a book or document.  It's not as graceful as, say, a direct link to the book, but it works.


Factory reset

For some reason, my device was on slot b:

$ fastboot getvar current-slot
current-slot: b
finished. total time: 0.001s

After changing to slot a,

$ fastboot set_active a
Setting current slot to 'a'...
OKAY [  0.009s]
finished. total time: 0.010s
$ fastboot continue
resuming boot...
OKAY [  0.319s]
finished. total time: 0.319s

I got a menu offering a factory reset, after which the phone booted into the OS.


CyanogenMod on Xperia Z1 compact: Amami or Yuga

You are running an unofficial build/port of the rom. If You must use official N build of the CM rom you should first change to official CM rom.
 You can't simply jump from some xyz rom( that's what UNOFFICIAL rom is) to official CM Nightly(N) or stable (Milestone, M) rom.
 Also if you are happy with your current non-CM rom, you may continue using them. You have to get updates for it from the developer whose rom you are using. Check for updates at XDA-Dev or whatever other development site from where you got your rom.
 If you wipe and load official CM nightly for your 'amami' you will be able to receive and install updates from CM.


Why hasn't my Galaxy Nexus received the latest OTA update?

I have the same problem for about half of a year. I've tried entering "checkin" secret code in phone Dialer many times, many weeks in a row, tried to clear data of Google service framework - no luck.

But yesterday I've finally get updated to Android OS 4.1.1! Here is how I did this:

open phone Dialer, enter *#*#2432546#*#* (numbers is representing word "checkin")
wait for message "checkin succeeded" in status bar (you need active internet connection, WiFi or mobile - doesn't matter)
open system Settings -> Apps -> All -> Google Services Framework
click "Force stop" button, wait few seconds
next click "Clear data" button
when open Settings -> About -> System updates. You should see something like "Last checked for update on 1/1/1970"
click "Check now" button
if you didn't receive update yet, repeat this procedure from first
step few more times (I've succeeded after second attempt). You could also try to replace step 7 by step 1.

All this sounds very strange for me, but I've tried some separate parts of this sequence many times before and it didn't work. Yesterday I've repeat all 8 step exactly as them written above, two time in a row - and I've finally get Jelly Bean on my Galaxy Nexus (I have yakjuxw firmware).


Does the google play store not provide updates for frozen apps?

Based on one of the comments in an AndroidPolice article about Google Play Store v3.7.15, you can't update frozen / disabled apps anymore.


How can I install Cyanogenmod on an up-to-date LG G2?

I booted into Windows, and again attempted the most recent "Newest Root Method for LG devices". Similarly to when I tried it in Linux, this did not work, with the terminal freezing on the Send_Command.exe step. However, I cancelled this (with Ctrl+C) and tried this step again. This time it worked and I was able to root my phone. (Possibly, if I had tried it multiple in Linux it may have worked.)

I could then install Cyanogenmod as per the wiki, with a few caveats.

FreeGee did not support my device, so I used AutoRec instead.
The latest nightly cm-13.0-20160108-NIGHTLY-d802.zip refused to boot, so I used the latest release build cm-12.1-20151117-SNAPSHOT-YOG7DAO1KI-d802.zip instead, which is working fine.


Can we stop Gmail from calling home to google before resolving a url?

Try to long press the URL in email and open it in new tab
But I suspect you are making your data private because Google already knows the content of your email and has it cached also
Try and use gmail on firefox with Clean URL and adguard extension installed ,although I suspect it will work but one can hope.
 P.S. ... you can't stop a data mongering company from intruding in your privacy while using its services


"Avoided poor internet connection" LG G5

You must have updated to a system that includes Avoid poor connections in WiFi setting's !

Just navigate to your WiFi settings via holding on the WiFi icon in the quick drop down menu of your status bar, or open your Settings app and go to WiFi > Settings/Advanced --- Scroll down and un-tick [ Avoid poor connections ]

If you don't have this setting in your WiFi app, then it's compulsory to have it switched on ( Maybe for battery life or better user experience )


It actually depends on what is being changed in the update. It may or may not affect xposed.

AFAIK Xposed works by integrating itself through patching of a framework library app_process (I am no xposed developer, so I may slightly deviate here from what actually happens).

To go in detail, every app and task is started as a "fork" (or copy in simpler words) of a base process called zygote. This is started by an /init.rc script through app_process inside /system/bin.

In other words, xposed creates an extended app_process of its own.

Ok, but what does it mean?

Simply said, unless the update provided replaces or patches out the app_process or similar to a very large extent, it will affect xposed; else it won't.

Now normally, updates have fixes to system apps and internal framework for bug fixes/new features. app_process is something which is generally not changed much by custom ROM builders and its code still highly resembles original google code (many times there isn't any change at all). So an update affecting xposed is likely rare (as its the system apps/components like systemui or framework-res that contain code for almost all extra features and are hence most common elements to get updates). Especially since its delta update, the chances of xposed being affected reduce even more.

Again, it is not a guarantee that xposed would not be affected, especially when it comes to individual modules' compatibility. As I said, it depends on what and how is being updated. Always have a backup first.


How to allow ADB on phone if there is a Lock Screen and Screen is not responding + black

theres no way to do it.

only if your screen on, you could broke-lock with a ByPass and then allow it


Browse photos on a network drive and delete bad photos

Ghost Commander has this functionality.

(OK, it's not 100% full screen, there is a little menu space showing at the top and bottom - see screen shot)

Depending on your setup, you might need the SMB plugin for Ghost Commander to get to your network drive.


How can I know which file system is used for my internal storage?

For this you need either access via adb (adb shell) or a terminal app. At the prompt, execute

mount | grep "/data"

The output will have something like

/emmc@usrdata /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0

The third column tells you the file system used (in the example above: ext4).

Of course there are also several 3rd party apps offering you such insight :)


Depending on where the phone app icon is on your screen, it’s can be very easy to tap it twice. Once to start the phone app and a second time to select the phone instead of contacts, call logs or groups. One more time at the same position will dial the last number in the call log. This is most likely what’s going on try it as see. Just tap that the little green phone icon a couple of times.


Stuck with draconian security restrictions after adding and removing corporate e-mail account

My response is specifically in respect to Exchange based device administrators.

What you should find is, dependant on some security policies device administrators cannot be removed without a device wipe. This is to protect company data and is set at the exchange level and conformance is met by Android.

I have followed the process on android 4.2.2 and it works however, dependant on which company exchange account I use (i work as a sysadmin contracted to many companies managing many exchange servers so different policies) i can see different behaviours.

If you have not been asked to wipe your phone when device administrators were removed, then I'm shocked. I've not seen this behaviour on any exchange server I've tested with.

I'm sorry to say that generally once you admit an exchange administrator you are stuck with a factory reset.

That does not mean all YOUR data is lost though. You may do a SMS backup, Application backup and if you have root and recovery, a system backup. Do these to your internal SD or external SD as these will not be wiped in a factory reset. If you are concerned about encryption depending on which file systems you encrypted (usually it's just system, not internal or external SD cards) you may want to copy these backups to another device.

Now do your wipe.

Restore your backups and find your applications, sms's and all your photo's etc should be exactly as they were. All that will be missing is the exchange accounts.

This is tedious I'm aware. However this is becoming more common in a BYO device oriented corporate world.


Android Emulator: Failed to sync vcpu reg Error

Do you have HP SureClick running? I had the same problem on the Zbook Studio x360 G5 until I disabled it.


Yes

Galaxy Note Edge SM-915G user manual says

  Your device accepts memory card with a maximum capacity of 128 GB

Also in this review (S6 Edge+ does NOT)

  Samsung does offer a 128GB option for its Galaxy S6 and Galaxy S6 Edge


How to use Private DNS on Android Pie for tethering?

DNS has traditionally been part of libc. Android's Bionic libc depends on netd for traditional DNS as well as Private DNS (DoT) implementation. See this answer for more details.
Since every app runs in its own stance of Virtual Machine (ART) forked by zygote, so when an app creates a new connection to a remote hostname, DNS queries are made by the VM on behalf of the app, which makes use of DNS resolution in native code. So the whole thing is handled by Java runtime.

When using tethering, a DNS server needs to be run on Android device which listens to DNS queries received from connected hosts. These queries are then resolved as per configuration of DNS server. dnsmasq is current implementation of DHCP/DNS server on Android up to Pie. It's a native daemon, which receives nameservers from TetherController (a part of netd) or /etc/resolv.conf (if no-resolv argument is not passed) or /etc/dnsmasq.conf (using server= option).

So dnsmasq works independently and doesn't depend on libc or netd for DNS resolution. In other case if the tethered device is using some other public nameserver and not dnsmasq, the DNS queries are forwarded to internet as per routing policy and NAT rules. In each case the queries don't pass through Private DNS.

That said, you can use third party solution for encrypted DNS. Go for a robust solution: dnscrypt-proxy on rooted device. See this answer for an advanced setup.
Or use some VPN app like this. But VPN doesn't redirect hotspot traffic through VPN network as far as I have tested on Pie ROM. You have to modify routing table and forwarding rules. This works for me:

~# iptables -t mangle -I PREROUTING -i wlan0 -p udp --dport 53 -j MARK --set-mark 2
~# ip rule add fwmark 2 lookup 5000
~# ip route add default dev tun0 table 5000
~# iptables -I FORWARD -o wlan0 -i tun0 -j ACCEPT
~# iptables -I FORWARD -i wlan0 -o tun0 -j ACCEPT

Additionally NATing might also be needed for some situations. So it seems there isn't a non-root solution.

PS:
Most probably Android Q will have DoT on tethering too because dnsmasq is being replaced with a DHCP service inside Java runtime.

RELATED: How to share VPN connection with devices on hotspot?


Updated to CyanogenMod 12.1, tablet now stuck in bootloop with TWRP

I got the answer.

I installed Odin, then flashed the correct TWRP archive, from Download mode. When it restarted, it booted into CyanogenMod without any issues. I will only need to install GApps again because I did a factory reset, but that isn't an issue (I hope). I can only assume that the update messed up TWRP, causing it to loop.


Find lost acer android tablet without a tracker installed

If you have a Google Account configured at your tablet try Plan B. You can install it throug Google Play store.


Can I change which SIM a phone is using for its LTE interface using ADB?

This post didn't get much attention, so I don't know if it's worth posting the answer, but I did find a solution.

I didn't know when posting this that the solution is dependent on the version of Android. In my case, the phones have Android 9 (Pie).

The command that I found to turn on/off SIM cards is:

adb shell service call phone 180 i32 X i32 Y

where X is the SIM card number (1 and 2, in my case) and Y is 1 for enable and 0 for disable.

If anyone is interested, I found the solution by digging through source code on android.googlesource.com. Once I found the interface for ITelephony (it was a .aidl file), I had to count the functions, because the number 180 in the command meant the 180th function in that file. I also derived the arguments i32 X i32 Y from the arguments to that function. The answer here helped me a ton: https://stackoverflow.com/questions/20227326/where-to-find-info-on-androids-service-call-shell-command.


fb_temp not appearing on orca/cache folder

Do I have to root my phone first?

Yes, you need to root the phone to see apps' private data files in internal storage.


How do I screen pin several apps to Lollipop?

To pin an app to your screen, go to settings->security->pin windows->on.

Then turn on 'Use screen lock type to unpin' there is no option to choose the code for this action. It will simply use your lock screen code for this.

Now open the window that you would like to pin, and press the recent apps tab, and press on the 'pin' icon.
To un-pin the app, hold down the recent and back buttons at the same time. This will bring you to your lock screen where you could unlock it using your regular unlocking method.
(More detailed directions here)

Unfortunately there is no way to pin multiple apps at once.


how to install Samsung apps on other androids

Samsung devices have not only just a GUI that is a little bit different but the changes Samsung makes go deeper. This goes down to the available libraries and APIs an app can use. They add proprietary features and libraries and if a Samsung specific app uses those features you simply can't install it on a non-Samsung phone unless you have heavily modified the ROM.
The app "Samsung Voice Recorder" is a Samsung specific app that only works on Samsung devices.
I have checked version v21.1.06.11 as provided by ApkPure. This app defines in it's AndroidManifest.xml that it requires the following Samsung specific features:
<uses-feature android:name="com.samsung.android.feature.resopt" android:required="false"/>
<uses-feature android:name="com.samsung.feature.device_category_phone"/>
<uses-feature android:name="com.samsung.android.api.version.2801"/>
<uses-feature android:name="com.samsung.feature.samsung_experience_mobile"/>

Only one of those features is optionally (require=false) but the other three are mandatory.
Note that features are device/ROM specific features, you can't just pretend that your device has those features.
Therefore to make this app work on non-Samsung phones you would have build a custom ROM that includes these features (usually special Java/DEX libraries plus the native libraries and potential device drivers, ...).


why do all sound apps get  bluetooth button events, all at once

The app Media Button Router is just what you are looking for. The app allows you to choose the media app you wish to control with the Bluetooth forward/reverse buttons using voice prompts.

The app doesn't work perfectly with all media apps, but I find that by playing with the settings you can usually overcome problems. But when it works it is magic!


Can't add second google account to google calendar app

So the solution for me was:

First activating Device Information in my Google Activity Settings.

Second I deleted the account from the phone and added it again. There was the toggle for syncing the calender.

Third I needed to allow google calendar to have access to the calendar storage, which was prohibited by default from the Privacy Guard in CM. This solved the sync error problem.

Now all my calendars and events show up on my phone.


Firstly, soon after uninstalling KingRoot be sure to get another SU management app, to protect your device against malicious attacks since it has elevated privileges than a non rooted device,

A checklist just in case;

Check if KingRoot is enabled as device administrator (under settings≥security), sometimes it's difficult to uninstall apps with such privileges
Try to uninstall the app from  within itself, rather than dragging to uninstall (you will need to reinstall su binaries with this method, but if your goal is to just get rid of KingRoot for another SU app it's worth a go)
Navigate directly to /system/app/ and search for a package with name com.kingroot.kinguser and delete the contents.

If the app is still stubborn, then try the PC method

Connect your device via  USB with debugging enabled,

On your PC open ADB terminal and type the codes one by one

# mount -o rw, remount /system

# am kill com.kingroot.kinguser

# pm uninstall com.kingroot.kinguser

Check if the app is removed


Have you synchronized the contacts ? I mean can you see your contacts in your dial ? Also make sure you enable the "recognize contacts"( it may be a little different option) in google now


Whatsapp sync issue in Google Nexus 5 its not deleting the contact

you might be having merged contact which you are trying to delete. To delete the whatsapp from the contact, you would have to delete the contact from phone list and then delete the contact from whatsapp. Obvisouly, you and again save the numbers in the contact list.


Navigate to Settings > Device Care > Battery > App power management > Apps that won't be put to sleep.  Add Gmail to this list to prevent it from being put to sleep for battery optimization. You could also disable this feature entirely by disabling "Put unused apps to sleep."


How can I de-brand my phone? (install vanilla Android?)

You have two options I know of to 'de-Orange' the San Francisco. You can use something like Titanium Backup (requires root) to remove the Orange apps, or install a custom ROM.

On my San Francisco I rooted the phone (see first part of this video, full details and file downloads here, or alternatively you could use Super One Click) and then used Titanium Backup to uninstall the Orange apps (list in this thread). If in doubt, TB lets you 'freeze' apps so you can make sure everything still works before uninstalling fully.

Alternatively, you can install a custom ROM (see full video) which I haven't done yet (waiting to see if FroYo ROM becomes available).


LineageOS encryption not working dispite being told it is

Most probably, you have default encryption where the password is default_password. You need root privilege for ADB.

Issue command in shell:

adb root
adb shell vdc cryptfs verifypw default

to check that.

You can always change the encryption password from UI and require that password at boot (preboot authentication) or much secure, define different lock screen && encryption passwords


How to sync ONLY some specific Picasa albums in Gallery app?

I believe there is no such feature available. You can either enable the sync which will sync all your albums or to not to sync at all.


Every now and then (and it's getting more and more frequently), I get a notification that some app tried to install itself (!) but was blocked because it's from "unknown sources", and it's prompting me to disable the "block install from unknown sources" check from Settings.

It's not a notification but a dialog and it looks like this:

(Click image to enlarge; image courtesy of Piyush)

  At first I though these might be system updates and was tempted to disable the "unknown source" block, but now I am worried I might have some malware on my phone.

Yes, never enable that Unknown sources setting if you're in uncharted waters.

  Where should I search for the APK that is trying to install itself (or the APKs)?

It's a bit difficult to find the app. I recommend finding the cause for the effect. In our case, the effect was the dialog hinting that the Unknown sources setting was blocked. That dialog is shown by Package Installer (a system-cum-core app). Package Installer is used by user or system apps which do not have the permission android.permission.INSTALL_PACKAGES to install an app. Since you did not attempt to side load an app, it stands to reason that an app called Package Installer without your consent. Our imminent goal is to find out that particular app.

The system service activity logs many important details. Among other things it shows the called package which in this case is Package Installer app with package name  com.google.android.packageinstaller or com.android.packageinstaller. It also shows the calling package or the package which launched an another package.

Find the package name

Now, using adb in PC execute the command:

adb shell dumpsys activity activities      # this command should be executed only when that dialog is in foreground

Demo output: notice the highlighted line:

In the highlighted line, the string after launchedFromPackage= and before userId is the package responsible for launching Package Installer app. In your case it would be a different package name. Note down that package name (henceforth denoted as <pkg>).

Locate the apk

Now that we know the immediate cause we can hunt down the home or in other words, the apk. Execute the command:

Note: Finding the location of apk is required only for forensics. If you're not interested in that, I recommend you don't bother with this step and immediately jump to the heading Uninstall/Disable/Hide the app.

adb shell pm path <pkg>

Demo output:

bash-4.2# adb shell pm path com.estrongs.android.pop
package:/data/app/com.estrongs.android.pop-1/base.apk

The string next to package: is the location of apk. You can also find the same information inter alia through the command:

adb shell dumpsys package <pkg>

Uninstall/Disable/Hide the app

If you know the label of the package or can get to know it through any means (such as with AppXplore) then go into the application manager under Settings app which typically comes down Settings → Apps → All apps in stock Android, find the malware app and uninstall it.

Things to note

If Uninstall button is grayed out and so as the Force stop button then your app must be a device administrator. In that case, go into the Security settings, choose Device administrators option and revoke the administrator privilege from the app. Come back and attempt to uninstall the app.
If you don't find the Uninstall option then your malware app is a system app. Whether your vendor shipped it or the app exploited your system or tricked you to install itself is another matter to deal with. For a system app, the button Uninstall is replaced by Disable.

If both Force stop and Disable buttons are grayed out then the app may be a device administrator as well. In that case, revoke that privilege and then attempt to disable the app.
If the Disable button alone is grayed out, then:

For a rooted Android: use adb to disable the app through the commands:

adb shell
su
pm disable <pkg>

To enable the app, replace disable with enable in aforesaid command.

You can alternatively use an app, such as Titanium Backup, to disable/freeze the malware app. You can also consider removing the apk using a file manager app.
For a non-rooted Android: provided that you're using Android 4.4.x or above, use the commands:

adb shell
pm block <pkg>      # for Android 4.4.x
pm hide  <pkg>      # for Android 5.x and 6.x

To unblock/unhide the package replace block by unblock and hide by unhide in appropriate aforesaid command. In this particular case, hiding the package would achieve the same result as disabling would.

The package would remain disabled or hidden until you revert the changes.

Note for readers

It has been confirmed by question's author that the malware app in their phone has the package name com.android.tools.callassistant. I found its label as Caller ID and it has been reported as a malware by AVG.


How do you backup your stock recovery from an unrooted Android device?

Afraid there is no such thing:

stock recovery itself doesn't offer any backup options
other means of backing up a partition (and we're speaking about the /recovery partition here) always require root, as no other user has the required low-level access to file systems

Creating a real complete backup of a virgin device before attempting any system modifications (such as root, flashing custom recovery) is a hen-and-egg issue: you cannot create images of the device's partition without root – and the partition ends being "virgin" as soon as you root the device:

to create images from partitions other than /recovery, you'd need a custom recovery (to run dd or do a nandroid backup)
to create an image of the (stock) /recovery partition, you'd need to root the device (in order to run dd from within the running Android system)

To sum up: if you want complete stock images, you'd need two similar devices. One you root to obtain the stock recovery – and the other you flash a custom recovery to obtain images of the other partitions. Hen and egg get a little bit smaller only, though, as in many cases1 installing a custom recovery again requires a rooted device.

1: there are exceptions to that, but I can't give you a complete list. To my knowledge, e.g. Samsung kies seems to permit flashing alternative ROMs and recoveries. Plus some stock devices seem to accept update.zip files to flash from recovery even if those are not signed with the manufacturer's key.


What causes Link2SD to not automatically link apps?

There is option in settings ( auto link apps)  check that option. Your apps will be linked automatically after install.


How can I transfer a playlist straight to my PC?

There is no straightfoward solution as far as I know, but I solved this with the help of 2 free apps (with Android 4.1.2 on a Samsung S3 mini):

Total Commander
Playlist Backup

Install them from the Google Playstore, then continue as follows:

With Playlist Backup, export the Playlist as text file. Store it in a temp folder on your mobile.
To copy the MP3 files contained in the playlist, open the playlist in Android's built in player, then select "Send via" in the context menu. Select all files. Then, a list of apps is shown. Select Total Commander. In Total Commander, pick the local temporary folder (on your mobile) to copy the files into.
After Total Commander has copied the files, connect the mobile with your PC and copy the temporary folder to the PCs harddisk (containing the playlist text file and the MP3 files)

Finally edit the playlist file to adapt the paths in it so the MP3files are found by the PC player software (e.g. WinAmp or any other MP3 player which supports playlists).


I finally went ahead with a full reset. It was solved, but caused some other issues on the side.

Trying out various approaches to reproduce the issue, I found that disabling the Google Wallpapers app can cause it. I do not know how it was disabled in the earlier case, or if at all that really was the cause.


Opening an .apk on Android shows a file list instead of installing

The issue happens with an incorrect HTTP header.
If the request has the right Content-Type header: application/vnd.android.package-archive, the APK will be installed correctly.


Where can I get TWRP for my Lenovo Tab M8 FHD Tablet?

I have found This guide on XDA to be a great help in porting TWRP to this device. I downloaded option C as my basis to use to port and it worked great.
You can download my port here.


Samsung lists the HDMI Smart Adapter on their website as being compatible with the Galaxy Note.


Is it possible to migrate apps and their data from one unrooted Android phone to another?

Helium has never been, nor ever will be, compatible with any device running anything less than Android 4.0

First things first: What you want cannot be achieved on not-rooted devices running a lower version of Android. Only with ICS (4.0), permissions of the ADB daemon have been alleviated to enable this (see: Full Backup of non-rooted devices).

For compatibility: What Helium does directly on the device, can be achieved from a computer connected with the device via USB, using the ADB tools: You can use the adb backup and adb restore commands, as described by answers to the linked question. There should be no compatibility issue, as long as your computer recognizes the device.

I have just had a similar issue: My main device needed to go for repair, so I had to migrate stuff to one of my "backup devices". Completely different brand, even different Android version. The above mentioned worked fine (working app-by-app, only "moving in" those ones I required). Just to ease the process (which I might need once more, or others might need), I wrote myself a little helper: If you're using Linux (or some other *nix coming with Bash), you might wish to take a look at Adebar – which not only creates you the scripts needed for backup/restore, but also to "re-freeze" apps you might have frozen on the original device, and additionally creates you a little "device documentation". Feedback welcome – and again the disclosure: I'm the author of that script.


Android app not working in Reliance JIO 4G connection

Had the same problem.

First sign up on the MyJIO app.
Then restart your device.
This did the trick for me.


just tick the reset at boot box and reboot your phone,i switch between the state you in and original state all the time.


How to remove google acccount from my LG 4X HD/ P880

There should be an option to remove non-primary Google accounts if you go to Settings -> Accounts & Sync -> (the Google account), tap the three-dot menu in the top right corner and select Remove Account.


Oooo also download pem it generates passwors for when you extract the tar file in mobile odin other way is twerp flashing it


Why does TitaniumBackup not allow me to restore apps after upgrading to 4.3?

To fix this issue, set TitaniumBackup to use the legacy path. The easiest way to do this is to go into TitaniumBackup, press "Menu" and then "Preferences". "Backup folder location" a bit down and click it. Click "DETECT!" and TitaniumBackup will ask you where to scan for backup locations. It's very important that you here choose to scan your whole device and not just the SD card.

After scanning is complete, you might as in my case see that TitaniumBackup presents two paths that seem almost identical (in fact they sort of are). Choose the path that has the string /legacy/ in it, in my case it is /storage/emulated/legacy/TitaniumBackup — which should replace a path similar to /storage/emulated/0/TitaniumBackup.

After TitaniumBackup has been reconfigured to use the legacy path, restoring apps will work as normal. Thanks to necropuppy for this solution.


Knox official warranty statement from Samsung

Your warranty is void. But try this:
http://forum.xda-developers.com/showthread.php?t=2740340
 Its a howto for resetting knox.


Apparent duplicate folders/files accumulating on external SD card

Files are only showing on your laptop but not in ES File Explorer because those file names have a dot before their names such as .Aptoide, .wynk, etc. This means that they are hidden files and explains why they are not showing.
If you want to see them, go to ES File Explorer and enable `show hidden files in the left toolbar.


How to use GNU Root Debian from android terminal emulator?

GNURoot Debian run script in /data/data/com.gnuroot.debian/support/launchProot when app started. In termux I run it script and java works!


How can I replace the apps in the SGSII's stock launcher dock?

If you have the Ice Cream Sandwich update, pretty much all you have to do is hit the Menu button from the home screen, select Edit, and then long press the application you want to change.

For Gingerbread, click the Applications icon, then follow the same procedure (Menu button, edit, etc.)


Xiaomi blackshark android 8.0 can't connect to LAN Ethernet

If or if not external USB device like an USB2Ethernet adapter works is device dependent, not Android dependent.

If it is supported you will find some mention of "Ethernet" in the Android network advanced settings. If not it may work or not. If it does not work your device is most likely not capable to use such devices.

Unless you plan to root your device and install a custom ROM that has USB2Ethernet OTG support there is nothing you can do.


Disable autocorrect from specific application

There is no built-in way to do this, but you could probably do it with Tasker and root.  You can create a trigger on application foreground/background to turn auto-correct on or off depending on which app it was.  I am not sure of the specifics since I haven't used Tasker but hopefully you can figure it out.  This Reddit comment is for a similar task (switching keyboards) and might be a good place to start.

AutomateIt might be able to do this as well.


Installing APK file causes the screen to just flash and returns to previous page

Your google play library become unstable.. Please uninstall your google account and or reset the account may be helpful.

Or you can also try to update the google play service from play store , but please uninstall the previous one if that is already installed.


Google Play : An error occurred while getting the status of your purchase

Silly me, I was trying to purchase the app with the same Google account as the one I use for publishing apps, which is clearly forbidden by Google's policies :

  Please note that it is against Google’s policies to purchase your own
  application. You will receive an error message when you try to
  purchase your own application.

Pitty that the error message wasn't a bit more helpful, but the mistake was mine anyway.


Nexus 10 not recognized on Debian Wheezy/mac OS/Windows 8 with adb

Have you tried changing between MTP and PTP. Tap the USB debugging sybol and it gives you the option.


Samsung galaxy S3 GT-I9300 4.3 Jelly Bean to 5.0-lollipop

Yes, it's a good idea.
Yes, your phone will support it. I've seen ROMs for the S3 (i9300) up to 5.0.2.
Benefits include: security fixes, better stability, improved battery life, new features and a lot more!

To update your phone, I would suggest

rooting it (there's a lot of information on rooting over at the XDA Developers Forum,
flashing a custom recovery like CWM, and
installing a custom 5.0.2 ROM. There are lots of them on XDA, so I'd spend a little time having a read up on the various functionality available.

As for why your friend got the update: it's possible that he has flashed a custom 5.0.0+ ROM also.


android 4.1.1 network connectivity issues

As the OP didn't add the solution as an answer himself...

OP found the answer to the issue himself, strange as it might sound:

  noticed that the device date and time is not correct. corrected it and it worked.

On a second thought, this is a very plausible reason, considering the questions hint about except for SSL sites: If the local date is too far in the past, SSL certificates are "not yet valid" -- and if it's too far in the future, they are "no longer valid". In both cases, establishing a secured connection must fail.


Inputting katakana on Google Japanese Input

Google Japanese Input only has 2 modes: kana/romaji.

There is no hiragana-only/katakana-only compared to other IMEs. However, in kana mode, the suggestion box provides hiragana (normal/small), katakana (normal/small and full/half), kanji, and recently used words as possible conversion.

Note: sometimes you need to scroll to the bottom for katakana conversion.

Screenshot resized. Click to view the full-size


How can I ignore an incoming bluetooth connection/pairing request? Major Android Flaw

Unfortunately, I think it's not your phone, but the other device. When you tried to pair with it, it remembered that (I can almost tell for sure you did not only try, you succeeded to pair with it). So now, when the other device sees yours in range, it automatically fires up request to pair. That's how Bluetooth works, and that's why the protocol is so convenient.

Check if this thread works for you:
Ignore / stop incoming bluetooth connect/pair requests


Installing CM 13 OTA causes so many app crashes that I can't do anything on my phone. Can I save my data?

Try booting into recovery mode and enabling MTP, and then get your data from there.

What happened was that the Gapps were incompatible with your OS, since you were using Lollipop gapps on Marshmallow. Once you flashed Gapps, it was already too late, since they need to be flashed on first boot.

Once you have your data, factory reset and flash the packages in this order: CM -> Gapps -> Whatever else (SuperSU?). Make sure that they are flashed one after each other. Do NOT reboot until Gapps is flashed.


How do I transfer the calendar entries from Windows Mobile to Android?

Easy if you have a google account.

Open google calendar on your PC and import the CSV file.

Calendar import functionality is in settings > calendar settings page.

Depending on your sync settings your android device will autosync entries.


Move viber to another device without activation?

So i did it! Here is how:

Both phones need to be rooted.
Install Titanium Backup on both phones (I used the pro version). Also install Device ID on old phone
On old phone back up Viber with Titanium
On new phone install Xposed framework and the module Xprivacy
Move the backup file from old phone to new and restor it (dont launch Viber)
Open Device ID on old phone and Xprivacy on the new one.
In Xprivacy open settings, and there you can enter the fake info you want to send to apps. We need to copy from old phone Hardware serial, Android ID And advertising ID (advertising ID can be found in Android Settings→Google→Ads). After that tap on viber icon, find Identification and check the first box.
If all done right the viber app will launch in same condition as on old phone. After that you need to uninstall Xprivacy for better stability of viber.


to solve your problem you need to flash the Gapps again follow this steps

Download the minimal Gapps from here this zip is for 5.0.x roms and contain the needed apps (including google play services) and libraries every thing else you can get it from the play store.
reboot to recovery and flash it like you flash any other mod or rom (no wipe needed)
after installation the first boot may take a while since android system needs to update the dalvic cache (now its art and it takes a little longer) so be patient :D .
Now the google apps should work just fine.


Running older windows versions on Android

I guess you could try running windows 95 or older versions inside DosBox.

Of course this would require some knowledge on MS-DOS stuff and some patience and skill..

Here's a good tutorial on how to boot win95 on DosBox. http://vogons.zetafleet.com/viewtopic.php?t=24936 I would suggest you try this first on a desktop machine with dosbox.

Another way would be to run it using QEMU for android http://www.mobilephonetalk.com/showthread.php?63990-QEMU-for-Android-Runs-Any-OS


How can I change SELinux from Enforcing to Permissive on Samsung Galaxy Note 3?

If you're rooted, install Android Terminal Emulator from Play Store and open a root shell. Also make sure you use latest (>2.00) SuperSU to handle SELinux. Then type: su 0 setenforce 0 and see what happens. Check with id. If that doesn't work, also try with: su system setenforce 0. In AOS >4.3, it's not enough to just be "root" (uid=0), you also have to use the right context.

EDIT: 2015-11-06

Apparently, since AOS >4.4, Google started using a permanent enforcing mode which actually enforces the SELinux policy. These phones have disabled the Permissive option through the DCONFIG_ALWAYS_ENFORCE=true kernel config flag in their Kernels. You need to flash an insecure Kernel (e.g. CF_Root) or a brand new kernel where this flag has been disabled.

Google writes here:

  In the Android 5.0 (L) release, Android moves to full enforcement of SELinux. This builds upon the permissive release of 4.3 and the partial enforcement of 4.4. In short, Android is shifting from enforcement on a limited set of crucial domains (installd, netd, vold and zygote) to everything (more than 60 domains). This means manufacturers will have to better understand and scale their SELinux implementations to provide compatible devices. Understand that:

Everything is in enforcing mode in the 5.0 release
No processes other than init should run in the init domain
Any generic denial (for a block_device, socket_device, default_service, etc.) indicates that device needs a special domain

For more info how to recompile your Kernel, look here.


I just figured this out accidentally.

Go to contacts to display option
Select customise option (spanner icon)
Under your google account, select only my contacts and uncheck other options. Repeat this for other accounts that show duplicates.


App/shortcut to quickly change screen lock type?

From what I've read, Tasker should be able to do this.  You can turn on or off the screen lock mechanism based upon whatever criteria you want, including the value of a variable.  You can also change the value of a variable via a widget.  Combine the two and it should work.

Caveat Lector: I've researched Tasker, I've read about what it can and can't do, but I've never tried it (yet).  So take this as speculation.


How can I watch movies offline on my Android tablet?

Android comes with a basic video player called "Movies", although it might not show in the application list for some devices. To use the built-in player, you need to use the Gallery or a file manager to invoke the Movies app on the movie file you want to play.

Alternatively there are many alternative movie players on the Market. Here are a few threads to get you started:

MX Video Player
MoboPlayer
RockPlayer
QQPlayer
VPlayer


How do, or can you hide account contacts on the Galaxy S III?

Same issue here, That particular option was in CYM7.5 on my Dell streak. was a nice addition IMO.

Only thing I can suggest, unless there's some sort of third party app for it, is to install a custom rom such as CYM or any other AOSP ROM, I doubt any of the Customized samsung rom's will give you this.

You will lose all the official Samsung junk with an AOSP rom, but at least it'll be stock ICS rather than the crappy samsung replacement apps.

(I like some of the samsung mods such as palm swipe to screen grab, but the SMS app and Contacts app suck)


To root a Lenovo A1000 smartphone (Android 5.0), go to kingroot.net and follow their directions to download, install, and run KingRoot.  I downloaded the Android .apk to my Linux laptop and copied it to the phone via adb, but I'm sure downloading directly to the phone (they provide a QR code) would also work.

By the way, add SuperSU to the list of ones that do not work on this phone.


Can I get more RAM in emulator while still having a Google Play image?

The UI does not allow to change the RAM size neither when creating a new virtual device nor later when editing the virtual device.
However on file level you can simply open the configuration file of the AVD and change the RAM size.
Use an text editor and open ~/.android/avd/<avd name>.avd/config.ini.
Search for the line
hw.ramSize = 1536

and change the amount of RAM, for example to
hw.ramSize = 4096

Then boot the virtual device and you will have 4096 MB RAM as shown in this screenshot:


Turn screen off without Android sleeping

Credit goes to Firelord for the basic method. Here is a time-delay shell script that turns off the backlight for my device, and apparently others' as well.

Create a file named "lcdoff" and copy the following into it:

#!/system/bin/sh
if [ -z "$1" ]; then
    echo "usage: `basename $0` delay"
    exit
fi
su -c 'echo getsu > /dev/null'
echo "Tap power button 2x quickly to restore"
sleep $1
su -c 'echo 0 > /sys/class/leds/lcd-backlight/brightness'

Make sure:

The device is rooted.
The script permissions are set to executable, e.g. by chmod 755 lcdoff.
The script is located in /system/bin (scripts cannot be executed from /storage).

Then open a terminal app and enter lcdoff 10, to turn off the screen after a 10-second delay, lcdoff 30 for a 30-second delay, etc. To ensure that the processor stays on, simply enable the Android developer option "Stay Awake". Edit: Stay Awake only works while plugged into a power source -- see this answer for an alternative.

If you don't want to type the command in a terminal, you can launch the script as a custom action in:

Total Commander
Tasker
Xposed Additions
your app of choice


ADB does not recognize device (LG X Charge)

changing the USB Mode to Photo Transfer worked

C:\Users\Downloads>adb devices
List of devices attached
LGM322c17168b6  device


Internet fast when sharing via hotspot or tethering but slow on the device itself

So, I have discovered the cause of this problem... the darn chinese brick is riddled with vendor's own poorly written system level adware. It constantly opens connections to it's servers which turns into a DoS attack on the device itself, akin to shooting your neighbor's house with a bazooka through your own door's keyhole. The device's own network gateway is differerent from the gateways for wifi and bluetooth hotspots, so those are unaffected.

Installing a firewall app solves the issue.


Is there a way to resume music after finishing a call

I removed "Viber " application and now it resumes music after phone call


I want to remove credit card information from Play Store

Go to payments.google.com, sign in with the same account you used to set up the Play Store, select Payment Methods, click the Edit or Remove link next to the card you want to edit/delete

For more info, refer to the Google Payments Help Center


What is this Phone/Eye Icon in my notification bar on LG Volt?

This icon seems to be some "user is active" icon that notifies you when the device captured you looking at the phone, but not actively using it.

There is a similar icon I know from my Samsung device that is meant to do this. It will prevent the display from becoming dark/locking the device so you can read your article, book etc. without tapping on the screen to keep it bright and unlocked.

If you like you may be able to disable that feature (active camera uses quite some battery) in the Display settings under Smart Screen.

Reference: How to Enable Smart Screen on LG G2


Powered USB hub not charging phone. Kernel options?

Got it running. The max77803 chip in the SM-C115 was also used in the S4 but the driver my kernel had did not support the ET-UP900 device. So I searched for newer kernel driver and found danielpanzella/P900-kernel-source. In this driver they call the device LANHUB. If you have a look at the code there are a number of other devices, too. The driver detects depending on resistor on the signal pin what type of devices is connected.

I searched the repository for LANHUB and merged those code lines into my kernel, build the kernel, installed it with odin and it worked!

The USB hub, it's network card and attached USB devices are working while I get power from the hub charging the phone.

Update

Some steps to reproduce this. I used Vagrant as enviroment to get a clean linux box running. Download NDK and the source code of the kernel and setup a cross compiler see any Kernel Tutorial:

sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2
export CROSS_COMPILE=/home/vagrant/android/ndk/android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-
export ARCH=arm

Next you need to pick the right config file for your device:

cp arch/arm/configs/whatever .config

Edit the config to add a driver:

make menuconfig

For the ET-UP900 adapter goto in "Device Drivers" > "Network Device Support" > "USB Network Adapters". Select "Multi-purpose USB Networking Framework" and "SMSC LAN95XX base USB 2.0 10/100 ethernet devices"

If charing is not working look at "Device Driver" > "Misc". Enable settings with "SUPPORT_LANHUB" in it.

Now save and exit menuconfig and build the kernel:

make bzImage

Your new kernel will be arch/arm/boot/zImage. Now you need to pack this togther with a ramdisk (Android kernel kitchen) into a boot.img and flash it to the device (Odin).

With the new kernel and the adapter attached bash command netcfg should show you eth0. Run dhcpcd -k eth0 to get an IP.

To see if something is not working have a look at dmesg.


Although not exactly what I was after, I have found a way I can get hold of them for now.

Stupidly, I didn't even think to have a play with desktop Maps. I followed the image URL for an icon when using directions on the desktop app which gave me a PNG with, what seems to be, all of the icons - maneuvers-2x.png

May be of use to anyone else interested


is it possible to get app code from apk and customize it?

There are decompilers out there, but it's very likely that what you get out of it will be a garbled mess. If the developer used Android's ProGuard, you may not be able to reverse engineer the resulting code. The only site I know of for decompiling is this one.  Be careful and keep it legal.  Source code is intellectual property.  If the developer has a website or says their code is open source, contact them to find their github repo.


What audio file formats does Android support?

The Supported Media Formats page of the Android SDK documentation (under the "Core Media Formats" subsection) outlines all of the formats that vanilla Android supports. Audio codecs specifically noted are:

AAC LC/LTP
HE-ACCv1
HE-ACCv2
AMR-NB
AMR-WB
FLAC
MP3
MIDI
Vorbis
PCM/WAVE

As the documentation also notes, manufacturers can provided decoders for additional media formats, meaning that this can potentially vary by device a bit. I'm not aware of any simple way to determine which extra formats are supported by a device aside from simply copying a sample over and attempting to play it with the stock music player.

Similarly, specific apps can potentially provide software decoding for additional codecs. MX Player provides codecs in the Play Store, for example.


How to fix this bug or something in Facebook messenger

Because your your text messages sms mms voicemail and all emails are being forwarded to someone you live with or close to you that has access to your cell phone that can make changes to your settings . Please don't take me as a vigalanty or some terrible person  but this happen to me for a very long time and I thought I was being ha led as . A result. Till Google and Facebook saidI was being abused.


PIT stands for Partition Information Table. A PIT file is basically a set of instructions defining the phone partition layout. You should use a it if you want to re-partition the phone with Odin.

You only need this file when repartitioning the device and you don't need to repartition it unless you mess up the partition table to begin with, or when downgrading/upgrading.

There are tools (commercial) that can genarate PIT files using ADB commands.


Is it possible to change my wearable device voice recognition language?

Unfortunatelly, the Answer is No. You can't switch recognition language in progress.

But you can switch default recognition language for entire phone (and wearables at once).
Launch google search app. Go to settings-Languages and check Spanish and English languages there.
after that TAP AND HOLD on Spanish language and then Save.

This will force your android device to recognise Spanish language by default.

Additional info from 2015 Summer:
You still can't set you default wearable language separately from your phone. But it looks like Android Wear finally started recognise not only your default phone language but your additional phone language(s) too. Thats pretty cool IMO.


Android Facebook Version 3.4 - Sort News Feed

Tap the "hamburger" menu in the upper left. (Looks like three short horizontal lines.) That opens a menu.

Next to "News Feed" is a gear icon. Tap that.

Your two choices are "Top Stories" and "Most Recent". A checkmark will indicate the current setting. Tap the one you want.


will that erase anything on the phone

Rooting itself should not erase anything (except for, maybe, temporary files created during the process). However, on some devices rooting requires to first unlock the bootloader -- and that usually includes a factory-reset (which means: all data and user-installed apps are gone -- which you can work around on Android 4.0+ performing an adb backup –apk –shared –all –f /path/to/backup.ab before performing the unlock, and adb restore /path/to/backup.ab afterwards, as Compro01 pointed out in below comment).

  Will it change anything other than the ability to run app(s) as rooted?

Yes.¹ As the necessary binaries (usually su, SuperUser.apk/SuperSU.apk, and busybox with all its symlinks) are pushed to the /system partition (which otherwise is mounted read-only), it will change that partition. Might sound trivial now, but the thing is: some ota-updates (and other updates shipping directly from the manufacturer/provider) first compare the partitions checksum. If that doesn't match (and it won't after rooting), updates might be refused/failing.

On the other hand: if those updates wouldn't fail, you might lose root when they are applied. If they include a full /system image, that is.

¹ Update: With Magisk the changes described here are not applied to the system partition.


Build.prop modifies okay. But not updates in system (e.g. About Tablet in settings)

I found that there are a lot of other build.prop, ex: build.(...).prop
I deleted all except the last one and it works.


how can i repair samsung galaxy s duos 2 GT-S7582 no sim card/no service

I also faced that problem. After changing the motherboard it rectified. Since it was done during warranty period, I did it free of cost. Many peoples suffer this problem and it is clear that it is manufacturing defect.


Dismiss messages on lock screen on cyanogen

You can slide down when you get a type of message, press it for 2 seconds and press the info icon, and than you can disable persistent notification on lock screen.
When looking at this question(Why are some lollipop notifications able to be swiped away on lockscreen?) Doesn't seem like you can change the type of notification.


Is possible to charge device and provide data transfer using a single USB port?

It is depending on your device. Some Samsung Tablets can be charged while using OTG with special adapters. The cable you post in your question don't work.
Some devices have a special mode for USB Host and changing at the same time. Most devices can only charge OR host.


Send fax directly to or from phone without going through a web-based service?

As others have noted, this is not any more secure than email.  But yes, it is possible.  (See http://navasgroup.com/attwireless/fax.htm for an ancient example).  Has anyone written an app to do this with an Android phone? That's incredibly unlikely.


Xperia Z2: SD Card not being shown as mounted under Storage, but is accessible from file manager

After a lot of research and browsing the XDA-Developers Forum, it appears that the problem lies within the stock kernel I'm using, so I flashed this custom kernel instead http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841 which appears to solve the issue.
I rebooted my phone a few times, and my SD card is being mounted properly after each reboot.
A word of caution though, don't flash this kernel if you're using XZDualRecovery, you must uninstall it first (there are detailed steps in the post I linked above).


Widget (or similar function) to unmount a USB OTG device?

I use an app called more shortcuts

It enables you to make system deep shortcuts and has widget functions.

Andy


Control your smartphone using your laptop

Since your screen is smashed and touch screen capability is gone, you may not be able to use apps like AirDroid, as VarnerBeast14 has suggested. Instead you can use a service like Droid@Screen. Follow the steps below to view your screen.

Install Java JRE (or JDK), version 6 or later
Install Android SDK
Run its SDK Manager and install the Platform Tools
Set the environment variable ANDROID_HOME to point to the
installation directory of the Android SDK
Install USB drivers for your own Android device, by getting it from
the vendor’s support web page
Download and install the latest version of Droid@Screen
Configure your device to allow USB Debugging (Settings-> Developer
options -> USB debugging)
Plug in the USB cable between your device and PC
Launch Droid@Screen


Update text files on Android and sync to Dropbox

I use an app called Epistle to create/edit textfiles within my Dropbox repository. It even supports Markdown.

There are other similar apps in the Market. If you've embraced todo.txt for your to-do management, Gina Trapani's Todo.txt Touch is helpful. It also syncs to Dropbox.


WhatsApp Messenger zero-day exploit: How to upgrade?

In cases of proprietary software vulnerability coupled with a lack of proof-of-concept and detailed technical information about the exploitation you have to rely on the word of softwares' developers, follow their instructions, and be content that you are safe.
If your WhatsApp shows that you are on v2.19.134, than it must be that. I understand that there are discrepancies in the versions shown to users on Play Store and WhatsApp's website. On Play Store, it shows 2.19.134 as the last version to me as well, and that too updated on May 10, 2019. On APKMirror, there is no stable 2.19.139 as of now, and Appbrain agrees with you here with 2.19.134 as the last update on May 10 it tracked.

Should I just not worry because I'm at the safe version (about which I have now contradictory information).

You do not have contradictory information. Your Play Store shows 2.19.134 and so as the app itself. It would have been contradictory if these two mismatched.

Should I just wait until WhatsApp Messenger updates itself (which presumably will happen soon, or maybe can be explicitly triggered).
Should I install the version at https://www.whatsapp.com/android/ instead of using the Play Store (I'm not even sure that would work).

The Facebook advisory clearly mentions that versions prior to 2.19.134 are affected. As long as you have 2.19.134 or above you are safe (according to Facebook). There is no need worrying about why the official website has some higher version available. You can always try installing that one. If the signature mismatches with the sideloaded version the app won't install, and you should put this matter to rest. If it matches you would have the latest app and that should definitely work.


Can I make the browser stop autmatically refreshing pages that haven't been displayed for a while?

I've noticed this with Dolphin as well, but in my findings it is not actually refreshing the page, rather I think it is reloading the cached content of the page. I'm pretty sure this is whats going on because at work we have a guest wireless system that requires authentication. When I connect my phone to it and browse I have to login with credentials at a landing page. This page doesn't come up right away after opening Dolphin browser, even though I sit and wait for Dolphin to load up the page. I have to hit refresh and then I am redirected to the landing page to login.

I hunted for a cache setting that may improve this annoyance, but didn't find one. We might have to wait for an update to the app.

Update:

This should HELP solve the problem for root users, I say help because there still may be some refreshing that occurs.

The problem:

Android is set to offload the browser cache from memory to the local partition (where apps are stored) when you leave the browser. This is because most android phones still don't have much space in the partition where apps and such are installed. My Evo only has 400mb of space.

My best guess is that Android was set to work this way because originally phones didn't have much space to work with. No that is becoming less of an issue.

Possible Solutions:

For rooted users only: Download Swapper2. From what I have read in other forums, this makes a huge difference in how often the browser offloads cache to the local partition. And users have reported it makes a big difference.
Set Dolphin browser to store cache on the SD card. Maybe if the browser doesn't have to wait for cache to be shuffled around it wont refresh as much, or if it does still refresh, maybe it will take less time.

What did I do? I installed Swapper2 and wow. It really works. Now I can open Dolphin and not have to wait for refresh. Finally!!


Any way to assign startup apps manually?

Try uninstalling and then re-installing said app - be forewarned though that most RAM boosters / memory cleaners are absolutely redundant in Android. Due to the nature of pre-loading your most used apps in order to give them better latency, there's little to no point of running these memory cleaners. In fact, by running them, you lose a bit of your battery as the OS has to run the processor to select and pre-load other apps.

Yes - moving an app to the SD card usually prevents it from starting up at boot - this is also why widgets or apps that have some sort of notification / reminder / push message need to remain in internal memory.

You can run a script (if you're rooted) or you can use an app like Tasker / Llama to run an app depending on a particular set of conditions.


"Hangouts (replaces Talk)" -- can I replace Hangouts with Talks if I don't like it?

As far as Android is concerned, they're the same app, and Hangouts is just a new update for Talk which happens to change the user-facing name. (Apps also have a package name, which is how Android decides if they're the same app.) It works like any other update: it completely replaces the old version in your phone's internal storage. Like any other update, once you've updated, you can't go back to the version you had before.

But in this case, Talk is an app that's built into your ROM (assuming you're not on a custom ROM: if you don't know, you're not). Like any other app from the ROM, you can uninstall all updates and go back to the original version. To do this, go to the Settings app, go to the Apps page, find Hangouts in the list of apps, and click Uninstall updates. This won't restore the version you had before the update: it'll go back to the original version that was on the phone last time you did a system update. (If you've never done a system update, that's the version that was on the phone when you took it out of the box.) There's no guarantee that such an old version will continue to work.


How can I recover from flashing broken ROMs on my HTC One X?

Download the latest recovery image for your device:

International HTC One X
AT&T HTC One X

Connect your phone to computer via USB cable. Boot your phone into bootloader and issue:
fastboot flash recovery path/to/your/recovery.img
Boot your phone into recovery. Mount SD Card to USB in TWRP Recovery or use adb push to copy your custom ROM .zip file to phone.
Install your custom ROM from .zip file in TWRP.
Extract boot.img from root of your ROM .zip file to your computer.
Connect your phone to computer via USB cable. Boot your phone into bootloader and issue:
fastboot flash boot path/to/your/boot.img
Restart your phone to see if it can boot okay now.


HTC One M8 resets some settings every time battery dies

Firstly, letting the battery run dry and then charge (deep discharge) is harmful to the life of battery and is never recommended in normal usage
Perhaps, this has caused the battery reset logic to go awry. I am not sure how this would cause the reset of your device, but as an interim measure resetting battery logic as recommended  below may help

This was the reply to user whose device would not turn on after deep discharge on ifixit

  Have you tried to reset the charging logic of the device, first you must charge your M8 for a minimum of 10 minutes using a wall charger. With the power off, press down and hold the volume up and down button with the power button for approximately 2 minutes. After 2 minutes, release all of the buttons. After the release the charging logic should be reset. Then charge your phone to 100% using your wall charger.

After doing above, use your device and charge the battery when it falls to 20℅

This may help fix the issue, if it doesn't, at least the battery connection with your problem is ruled out. From the information supplied by you it appears to be linked to battery only


Privacy/Security concers for setting up business email using Gmail app on Nexus devices

The gmail app is just a client and nothing is stored on Google's servers. The use of IMAP simply means that the email is stored on your company's servers and your phone, as compared to the older POP where the email is pushed to your phone and deleted from the server.

The emails might show up "mixed" if you show all inboxes but you may be rest assured that they do not reside on Google's servers.


GT-I9001 (galaxy S plus) not recognized in Windows 8.1

Make sure you're using the latest Samsung drivers. Uninstall all previous Samsung drivers, and try to use a lower windows version like W7. W8.1 is still full of weirdness, especially when mixing 32bit and 64bit software.


How can I speed up image transfer from my Android to the internet?

The speed of an upload, or download, is determined by more than one factor, and can not simply be "increased". If the network connection is weak, there is little you can do about that. The speed will be determined by your upload speed, the receivers download speed, and how the communicating devices handle it all. As you are likely using wireless on your phone, things that can interfere with the wireless signal has also a lot to say. The more clear space is between you and the router, the better. Even then, other wireless devices can cause disturbance in the signal.

So the answer is, you really cam't, unless you know exactly what is slowing the speed down, and even then it is a gamble. What you can do is of course connect the phone to a computer, and upload the pictures manually from there. If the computer is connected to the net with wire, your pictures should take no time to upload/download ... unless you are on a 20 year old net line, that is...


In Android versions <= 4.4 (KitKat and older) the APK file is simply copied into /data/app folder, a cache file is generated for it and installed on the cache partition. When Android is booting, it checks if cache files for any APKs are missing and generates them if necessary. And that's it.

In newer Android versions (>= 5.0 so Lollipop and newer) it's a bit more complicated because of the new ART virtual machine. A new folder is created in /data/app for every app and the APK is placed there. Libraries are extracted from APK into /data/app/<app_folder>/lib and code is piped through ART's ahead-of-time compiler. That's why installing apps takes much longer in ART-based Androids.

Other files aren't extracted from the APK unless the app itself does it.


I believe this is impossible.
The headset requires power from the device. Android versions before 3.1 state that they can not support powering the usb bus.
From the developer guide:

When the Android-powered device is in host mode, it acts as the USB host and powers the bus. When the Android-powered device is in USB accessory mode, the connected USB hardware (an Android USB accessory in this case) acts as the host and powers the bus.
USB accessory and host modes are directly supported in Android 3.1 (API level 12) or newer platforms. USB accessory mode is also backported to Android 2.3.4 (API level 10) as an add-on library to support a broader range of devices. Device manufacturers can choose whether or not to include the add-on library on the device's system image.

unless there is a custom android OS that supports usb host mode, I believe what I'm trying to achieve is impossible


How do I refresh/rescan the SD memory in Android 4.4 KitKat

It won't work to detect deleted files, but I just put an app up on the Play Store that will work on new and updated files: https://play.google.com/store/apps/details?id=com.gmail.jerickson314.sdscanner

It uses a workaround inspired by Dan Hulme's answer: by using the API that is only for a specific file, but manually generating a recursive list of files on the card.  This requires only the read permission on the SD card, not root, and has the nice side effect of allowing a reliable progress indicator.


How do I remove stocks from the stock card settings in Google Now?

In Android 4.4:

Open Google Now.
Press the Options button in upper right corner of the Stock Card.
Press the Right Arrow to cycle through options for the card.
When asked about "Interested in the stock UNWANTED-STOCK-NAME?", tap "NO".

In older versions:
This should do it for you:

Open Google Now

Press the menu button

Press Settings

Press Google Now

Scroll down and press Stocks

Press the stock you want to remove

Press Remove


Gifted Android Huawei Media Pad hard reset not working, what to do?

HardReset.info:
Afterwards press and hold the Volume Up + Power button at the same time for a few seconds.Wipe data on HUAWEI MediaPad T3 7

Relase held keys as soon as the Huawei logo appears on the screen.
Use the Volume buttons to scroll to "wipe data/factory reset" and confirm that option with the Power button.Format HUAWEI MediaPad T3 7
Once more choose "wipe data/factory reset"  from the menu and accept it with Power key.Restore HUAWEI MediaPad T3 7

Now accept option "reboot system now" by using Power button.Master Reset HUAWEI MediaPad T3 7
The factory reset will be completed as soon as the HUAWEI Welcome Panel shows up.
Congratulations! You have just performed the hard reset operation


How to disconnect a Wifi connection instead of using "forget" connection

There is a Simple way to achieve this.

we have two cases in our hand.

Case A: When The Wifi connection 'B' is already in the Remembered (Saved) List in your Device, then you have to just Open the Wifi -> Just Click on the Wifi Connection 'B' from the list. and it will automatically get connected to it.

Case B: When The Wifi connection 'B' isn't already in the Remembered(Saved) List in your Device, then Open the Wifi -> Just Click on the Wifi Connection 'B' from the list, and you will be asked for the password and then If the Signing process goes well. you are now connected to the Wifi connection 'B'.

Hope this help you.

Izzy's note:  Whenever you connect to WiFi B while a connection to A is active, the latter connection will be canceled (disconnected) automatically as there only can be one WiFi connection active.


Making lock screen notifications show only in drop-down menu

Go to Settings -> Notification -> Tap on settings icon on right top and click "On the lock screen" -> Don't show notification at all.And for second one (app icons on the top right) is not possible with default lock screen in OP3. Instead you can use LED notification light for the apps or use a custom lock screen app which will disable smartlock.


Enable On-screen navigation in CM12 (Lollipop) using shell?

I experimented and found that when On-screen nav. is enabled, the value for dev_force_show_navbar changes to 1 from 0... Both names are under Settings.db (Table:secure).

You actually mentioned the key to the answer but somehow (I suppose) didn't know how to use it. Many thanks to Andrew T. and DavisNT for this answer since it would lead to a solution for your problem.

I myself is a owner of OnePlus One running stock CM12 so you may now expect a working answer.

From the shell, be it adb, or a Terminal app, or Tasker's "Run Shell" action, enter the following command with root privileges:

settings put secure dev_force_show_navbar 1

You would now see that On-screen navigation bar is enabled just like in your pic posted here.

Don't worry about button_brightness since the changes in its value would be reflected automatically by the above command.

I tested that command in Tasker by manual execution of action "Code -> Run Shell -> command" with "Use Root", and its working good.

The changes are exactly same as doing it from "Settings -> Buttons" so nothing to worry, i.e. only Soft-keys are visible and Hard keys are disabled. Coolest part -- no reboot needed.

You can revert back by using 0 in place of 1 in the aforesaid command.


How can I stop the camera from switching back to the launcher?

As an alternative to this answer from beeshyams, if you cannot afford to replace your preferred camera app than try screen pinning that app.

You can pin an app's screen to keep it in view until you unpin it.
For example, you can pin an app and hand your phone to a friend. With the screen pinned, your friend can use only that app. To use your other apps again, you can unpin the screen.

Alternatively, you can use a kiosk-mode app from Play Store to temporarily restrict usage of the device to your camera app.


advanced hotspot settings in android 5.1

Aparently this is a known bug in the latest Cyanogen (12.1) which should be fixed in the next release.

http://forum.cyanogenmod.org/topic/116964-hotspot-disabled-due-to-sim-subscription-change/


Is there a way to detect that SMS text messages have been deleted, or is there a text message deletion history?

I heard a while back that all of the text messages you send get kept on your SIM card. I just did some quick research and I guess it is true:

http://www.pimall.com/nais/phonefilepro.html
http://hiddencameragear.com/cellphone-sim-card-file-retriever-recover-calls-texts-history-and-more

These devices will allow you to see the contents of the text messages and also the sender and receiver. If you are looking for a way to do it through your Android device, then it would be a lot more work. You would have to try to do a data recovery on your hard drive (which is a lot of messing around). Even if you did do a data recovery, the chances of you getting any of your text messages back are slim, and if you have encryption enabled forget it.


Soft-Bricked Samsung Galaxy S5 - "Set Warranty Bit: Kernel"

Samsung phones require a special version of Xposed -  the regular one just won't work as you experienced.

Since you can still get into TWRP, the situation is still under control. Uninstall the current one with the uninstaller from the official Xposed thread, try booting up, and if it returns to normal, download and install the special version.


How can I make direct phone-to-phone VoIP calls without Internet (on LAN or Wi-Fi)?

While I've not tried to use my phone like this myself, I found the question interesting enough to do a little googling.  The best search term seemed to be android wifi|bluetooth walkie talkie.

The most promising free candidate I found looks to be Android Intercom - direct phone to phone communication over wifi or BT without an intermediary server or telco.  The most promising paid for app seems to be WiFi Talkie.


Can play store in-app purchases be transferred among devices if I use the same Google account to make the purchases?

I don’t know about Minecraft or Xbox accounts but as far as Google accounts go, anything purchased on one devise is available on all of the other devices registered to that account.


As your question you install twrp recovery and did you perform wipe after that ? If not try this might work or try the following

Turn power of your phone in twrp recovery option by reboot\power off or hold the power button till it shuts down.
Now load stock rom in sp flash tool.
Now click on download button.
it will dectect your phone if your phone is power off and if battery is removable please remove it before connecting
now connect your phone with usb in one end and to other end with pc.
if it didn't dectect install the right mtk drivers.
after successful install your phone turns to stock os with stock recovery and will boot normally.

Alternative

Find custom os for your device.
move it to sd card.
flash it through twrp recovery.
then perform wipe and clean cache and boot normally.

Hope it works.


I don't know about this but I can provide alternative solution for stay awake...

Stay Awake - Play Store

Try this... And if not working you may find other similar apps on store... :-)


What might cause my phone to spontaneously stop booting into its custom ROM and only reboot into recovery mode?

The problem was that the ext3/ext4 filesystem on /dev/lvpool/system, normally mounted at /system, had a corrupt superblock.  The fix was to connect to the phone with adb and run e2fsck manually, like so:

# ./adb shell
# e2fsck /dev/lvpool/system
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Superblock invalid, trying backup blocks...
Backing up journal inode block information.

/dev/lvpool/system: clean, 11/25600 files, 3310/102400 blocks
# exit

After doing this, the reboot option in ClockwordMod recovery brought CyanogenMod back up with no issues.

A large amount of googling provided no guidance in this direction, so I'm posting this Q&A in the hopes that it saves someone else the chore of digging through forums and/or reinstalling their recovery and/or ROM in vain.


So, as the night progressed, and I tried various fixes such as what Nathan suggested and restoring from Titanium backups and such, my problems simply got worse.

I ended up simply backing up my application data and restoring from a nandroid backup.  That seems to have fixed it.  It may have been a virus, or I might've corrupted something somehow.  After I restored the backup, the contacts are syncing just fine.


Make whatsapp prompt security code each time

That code input shows to help you remember the 2 Step Verfication code and Yes it is random. So it can't replace your applocker.


Image App which does not hide the directory structure

I suggest you use the X-Plore file manager. It has the exact features of what you have expressed. The other file operations on it are also a lot easier and faster once you get the hang of it. You can read a review before installing from http://reviewlagoon.com/x-plore-file-manager-android/


Root Android virtual device with Android 7.1.1

How to root android emulator (Android 7.1.1/ Nougat)
I’m pleased to inform the community of  an easier way to root android emulator (run from standalone Android SDK)
Requirements:

SuperSU app (chainfire) latest version 2.82

Recovery flashable.zip (contains su binary)  (Here is alternative mirror link for flashable zip if the main link is not working : Flashable zip super su 2.82 for all roms)

Note: SuperSU is now deprecated, but this method still works to root the emulator, and more updates will be given for newer rooting methods.
Instructions

Install the SuperSu.apk

Install the SuperSu app firstly, just do drag and drop (if running latest emulator version or sideload through adb i.e adb -e install supersu.apk)

After installing it, when you run it shows a screen as shown below indicating “There is no SU binary installed..”. This error just confirms the device is not yet rooted.

Make emulator’ system partition writable

As it suggests, we need to give the emulator permission to write system files.

Type the following code to accomplish this: emulator.exe -avd {emulator_name} -writable-system

Note: Navigate to the tools folder where Android SDK is installed and open command prompt there by pressing shift and right clicking.

Pushing su binary in system directory

Extract the Recovery flashable.zip (containing the su binaries of different architectures)

Important! Only use the su binary that matches your avd architecture e.g x86, arm etc.., and note the path where you extracted these binaries.

Make sure you are running adb as root and also you need to remount.
Just enter these codes

adb root
adb remount
Now its time to push the su binary:
This is the code I successfully used:  adb -e push C:\%USERPROFILE%\Desktop\rootemu\x86\su.pie /system/bin/su
(nevermind about my specific location of su binary, any location is okay as long there is no white space)
If this fails try this pushing to this directory instead /system/xbin/su. Also for emulators running android 5.1 and below use the su and not su.pie

Change permissions of the su binary

Next let’s do a bit of modification of the permissions of su binary. We have to do this in emulator device through adb:
adb -e shell
su root
cd /system/bin
chmod 06755 su

Important!! Take note of su binary path (mine is /system/bin)

Setting the install directive on su binary and set a daemon

Type the codes:
su --install
and for setting up daemon:
su --daemon&
Important!! Take note of spacing

Setting SELinux to Permissive(i.e turning off SE Linux)

Finally turn off selinux through this code:

setenforce 0
That’s pretty much it!! Open SuperSU app and it may ask to update binaries, you can use Normal method.
Open any app requiring SU permissions just to double check and indeed SuperSU ask if you wish to grant it su permissions.

Remarks
Most content in reference was for older android versions and hence the reason for different commands and paths which I modified.
Special acknowledgements;
Special gratitude to Irvin H, whose tutorial inspired me to create this guide after myself having failed countless times, and also after seeing the need for many users to root their emulators too. I hope this will also benefit a lot
Irvin H: Rooting the android emulator –on Android Studio 2.3((Android 4.4)
#Update
As commented by SaAtomic,

This approach is still viable with Android Studio 3.0.1

After upgrading to emulator version 27.2.9 and above it now makes preserving root much easier through snapshot feature (if copying the system.img method isn't working):
Ideally it is more like hibernating the virtual device with config intact, hence everything is preserved.

Snapshots
You can now save multiple AVD snapshots for a given device
configuration and choose which of the saved snapshots to load when you
start the emulator. Starting a virtual device by loading a snapshot is
much like waking a physical from a sleep state, as opposed to booting
it from a powered-off state.

This implies the only requirement to start the emulator is adding the -writable-system parameter to the normal emulator -avd [avdname] command to start the emulator. (Running the emulator just with emulator -avd [avdname] doesn't launch the rooted version/copy or may lead to some error)
Tested on API level 22


I'd use Greenify for something like this. It doesn't kill all running apps (as this is counterproductive to Android itself for many reasons), but you can select apps for Greenify to hibernate each time you turn the screen off.

For me this was nice because there were several apps like random game that would run all the time, and Greenify helps this.

Also, where Greenify used to be root-only, it now works in non-root mode, (need to be enabled in experimental features setting, Android 4.1+ required). If you have secure key-guard enabled, try "Hibernate and Lock Screen" shortcut or "Pull up" gesture on Home soft-key. - Greenify description from Play store app page


Google Play Music offline files cannot be found

So I figured this out. Somewhere along the line, Google moved the offline music/cache to /data/data/com.google.android.music/.


You should use

zipalign -f -v 4 my.apk output.apk

Do remember that if you zipalign before you sign, the signing will undo the alignment.


How to prevent applications from discovering my phone as being Rooted

To detect rooting status of device, an app issues su command. If exit status is 0, it means device is rooted.. otherwise, not.

To prevent this, you can simply Deny the root access using SuperUser's pop-up (Provided its allowed from SuperUser settings, a pop-up appears when an app issues su command). After this, the app will get non-zero exit status & it can't determine rooting status.

Update:
Some apps can use other ways to check root status (like checking the su binary file existence). I'd like to admit that none are perfect methods without false-positive result, but sometimes they are successful with luck.

The best universal method to prevent detection: Restrict the permission of app's daemon. I can't suggest exact permission limitations because I don't know functions of the app. It can mess up with app's functionalities.

In the last, I'd like to say: Technically, there's no way to prevent detection by 100% success rate. In case of permission limitations, the app can still suspect that something is wrong.


Where can I see in the Revolut Android application on which day of the month my amount of currency exchange is reset to 0?

It currently isn't possible to see in the Revolut Android application on which day of the month my amount of currency exchange is reset to 0. One has to go through the customer service chat to know the information.


Cannot edit contacts in Marshmallow / Gmail contacts sync

Figured it. I was browsing the Apps list and I had Google Contacts Sync app disabled, thinking I wouldn't use it. The edit pencil icon is now visible.


it can be from the emulator and you can search for it on youtube or you can change it to bluestacks / nox or tencent gaming buddy if it has the game or you can use an android os besides your current os such as phoenix os / prime os :)


Since it's a day, return it back and get another one is the best solution, AFAIK.

Update

It's a battery issue and AFAIK, nobody in this forum is going to put fixes on battery issues. And if I were in your shoes, then I would definitely return that phone and bring back a new one from the seller.


What is an Android dock? When is a phone considered "docked"?

Preface: I am not an expert in the kernel and hardware driver-related topics. This answer is based only on finding and my limited understanding. I possibly use many wrong terms since I am not really familiar with them.

What is a dock?

A docking station is a device that is capable to communicate with the Android kernel to fire docking-related events and/or modify the docking file state.

How does the phone decide if it's plugged into one, and which kind it is?

The Android system is observing the docking-related events and the docking file state. When a device is docked, the kernel driver fires an event or modifies the file state, which make the Android system notice it, then it will broadcast the event to the apps system-wide.
The docking mode may depend on how the kernel is programmed, for example:

Using a single state file with multiple values (e.g. 0: undocked, 1: desk, 2: car)
Using multiple state files (e.g. /whisper/state for car dock, /smartdock/state for multimedia dock)

What can docks do - play music? Can they do other things?

A docking station can make the system and apps do anything that is programmed. One example is showing a different layout on docked state. It may also open a music player app and play music automatically on desk mode if it is programmed as such, or open a map/navigation app on car mode, etc.

Is there some sort of open standard defining how an Android phone talks to a dock (if that's even possible)?

The standard is mostly based on Linux kernel driver using uevent (event-based) and state file (polling) as previously mentioned. However, the responsible kernel and Android code can be customized, also as previously mentioned.

To put simply:
[Docking station -> microcontroller] -> USB -> [device driver -> kernel -> event/state file -> dock observer -> apps]

Additional references:

Kernel source code for a dock driver

Another kernel source code for hardware consumer? (HWC)

GitHub - slayher/CM7_Mecha_issue - Does not switch to desktop dock mode

Unix & Linux Stack Exchange - What is the difference between kernel drivers and kernel modules?


My network on the android phone isn't working what is the problem now

You may need to clean your cache, or if you are using CWM, try cleaning up DALVIK Cache