How to track down an app that shows ads on smartphone screen?

Android 4 & 5

When the advertisement shows up, press the app switch button to display the recents menu (if the advertisement is full-screen and cover your soft buttons, swiping down from the top of the screen will make it appear).
It will show the name of the app displaying the advertisement.
From there, long press on the app and chose "app info"
Uninstall the app.

Android 6
For Android 6 the process is similar, however the recents menu looks a bit different. In this step you now have to long press the app icon in the title bar:

Android 7
For Android 7 the process is similar, however the recents menu looks a bit different. In this step you now have to long press the app icon then an info icon appears in the title bar that opens the settigs dialog of the app the screen belongs to:


No we cant. BOCHS is a single thread program. And till now, individual processor cores aren't that strong for any android till today to run any modern OS as intended.

Infact, even you you managed to install just the os, the hardware wont be enough t or run any app and interface will be far too pain.

You can install older OSes like windows xp (on phones like s5-s6 or similar) or windows 98, but again, no real softwares could be run. Forget games, even mugen doesn't run properly. Even if the android hardware is good enough, BOCHS hasnt developed to that level yet.

So until BOCHS supports multi-threading and some other things, its almost useless to try that. Plus you can install only older OSes. New ones will hang a lot. I have personally tried Ubuntu 12.04 and a stripped off version of windows xp. But they were no use.

The only thing its good for is that you can say "Hey look! I got windows in my phone". But other than that, there's no purpose, atleast for now.

  Will running virtual machine on Android completely turn my Android
  into Windows phone

Its not what you think it is. As I already said, you wont be able to make use of any major function. Its like using virtualisation programs like virtualbox on pc. Your pc wont turn in to that os, but both OSes will run simultaneously. SO no, your android wont be replaced. And android and that OS will both run together until you exit the app. Thats all it is to it.... The article is over-exaggerated. Infact, you will get bored of this in less than a day.

Again, feel free to try.

Finally, its not the os from windows phones. Instead, it is the actual windows we run on pc. You can imagine what it would be like in such a small sized screen like phone right?


How to hide my Android WiFi hotspot from being detected?

Don't waste your time trying to hide your hot spot - you can't really.

What you CAN do however is to require a password to allow a connection TO your hot spot.

In some cases, not sure here as I do not have your device, it is possible to lock the hot spot and only allow connections from one (or more, if there are others who also need to connect) specified MAC addresses only.


Can I use installed apps from unknown source even if I turn off "Install from unknown sources"?

Yes
Because enabling the option install from other sources , turns off the security checks carried out by Google Play  during installing only. It has no bearing on running the apps thereafter. So you can safely disable that and run the employer apps without any problem. This is true for all versions of Android ( I haven't come across anything to contrary in Nougat)
Download from sources other than Google Play says :

You can let your device download apps from sources other than Google Play by turning on the "Unknown sources" feature.
IMPORTANT: Your phone and personal data are vulnerable to attack by apps from unknown sources. If you download apps from unknown sources, be aware that your phone may be damaged or lose data.

There is no mention of running apps but you can turn app verification on to:

The "Verify apps" feature regularly checks activity on your device and prevents or warns you about potential harm.


How to find in which folder / app group is an app icon?

If you search in apps, locate the icon in the results and then press and hold on that button you will get a short pop-up menu which includes "Locate" that does the job nicely, (not sure which version introduced this feature).


adb shell remove directory with patenthesis windows

The problem is that the quotes are being interpreted twice: once by the Windows shell when it parses the adb command, and again by the Android shell. Remember that adb shell foo opens a shell on the device and runs the foo command there. When you run

adb shell rm -r "sdcard/music/SomeArtist - (good stuff)"

Windows is using the quotes to see the whole path as one argument, and then removes them. The command that actually gets sent to the device is then

rm -r sdcard/music/SomeArtist - (good stuff)

and the shell on the device interprets the ( as a special shell expansion. There are two ways to avoid this. One way is to double the quotes, so that there's still a set left when the command gets to the device:

adb shell rm -r "\"sdcard/music/SomeArtist - (good stuff)\""

The second, and more generally useful, is to avoid trying to do everything at once. Use adb shell to open an interactive shell on the device, and then

rm -r "sdcard/music/SomeArtist - (good stuff)"

inside that shell to run the command you want. You can use ctrl-d to exit the shell when you're done.


If just for your phone - you can simply put files manually via root explorer, reset permissions and reboot.


Can't get in recovery or normal boot HTC One M7

The first problem was that fastboot didn't connect to my PC.
This was solved by changing computer to one with a USB 2.0.

The problem I had with my recovery was solved by flashing the recovery partition again and cleaning the cache (forget that the first time).

fastboot flash recovery clockworkrec.img
fastboot erase cache

After this I was able to get into recovery mode.

I then had a problem where Android Revolution HD did not install and my HTC One M7 was stuck in a bootloop.

This was solved by installing TWRP instead of CWM recovery, and by changing S-ON to S-OFF.
I was then able to install Android Revolution HD.

Thanks for the comments and many thanks to "bored_stupid" on XDA-Developers who solved the installation problem for me.


Silencing notification of scheduled quiet mode (LG G2)

What application do you use to enable quiet mode? Is it standalone application or a system app?

If it's a standalone application then you could try turning off notifications for that app however note that this will disable all notifications coming from the app, not just the silent one.


Why one cannot download the drivers of the Android OS like we do in our pc's

sadly if it was an application like on the PC there would be billions of pirated versions and you would have to bother to search through all of them to find the official one. If there is an update for your phone it will appear as a notification and it will inform you that it is available.


How to sync an Android phone with anything other than Google?

Finally, I can Sync Android contacts & calendar plus notes & tasks on other platforms...

I've tried all sorts of ways to sync my rooted Android HD2 with Outlook but nothing seems to work, not even HTC's Android sync works particularly well, and it's complicated by the fact that I have other devices (Nokia etc) that I also want to sync and often the software clashes or records get deleted or duplicated....

And then I stumbled across Funambol (http://www.funambol.org) which is a free server that runs on Linux (in my case) and I think there might be a windows version too.  I think there is also a hosted version (http://www.funambol.com) if you don't want to go to the trouble of hosting your own server, but I don't have any experience of that.

So I downloaded the funambol server binary, ran it on a CentOS system and that was pretty much it!  I then downloaded the android client from market place and the symbian client (for my Nokia) from the Ovi store and grabbed the Windows Outlook client.

The installation of these clients was straightforward and now all 3 systems (PC Outlook, HTC HD2 on Android, Nokia on Symbian) all sync up against Funambol with no problems and the phones sync over the air!  And yes, there's a client for iPhones too.

This has really been a life saver for me so I hope others out there discover it and find it as useful! It's a shame it doesn't yet support notes and tasks on Android but hopefully that will come and in any case I sync tasks using Toodledo and GotToDo so no biggie.


Colored output in adb, e.g. for ls command

As you can see from the screenshot, you can definitely get colored output in ls on android.
(side note - I've got some bashrc magic running so the default ls output is ls --color=auto)
Probably you're either running ls in a sh shell and not bash, you've got a watered-down OEM version of ls, or there's some strange magic happening between ADB on Windows and the linux terminal.

What device/android version/ROM are you running? What output does ls --version give?


How can I add a Shared partition that Anbox can access?

I managed a limited workaround using ES File Explorer installed on Anbox and adding a shared folder via Network → LAN


Nexus Player 5.10.31-leanback developer options

After speaking to support at Google and Asus it seams the folks at Google removed it. However, if you hard reset the device you'll get the original Asus software and Developer Mode can be entered.


Google agenda question (Still need help)

You can hide all Skype contacts in Contacts to display settings.


No /system/build.prop in Nexus 7 (2012 / Wi-Fi) + Android Lollipop 5.1.1 after fresh installation

The /system partition wasn't mounted; I've noticed this only manually browsing the /system/bin/ folder, which was empty.

I mounted the partition within the recovery mode by browsing to "mounts and storage" and by selecting "mount /system"; afterwards I've been able to run adb pull /system/build.prop ., edit the file and upload it again running adb push build.prop /system/build.prop.

To unmount the partition afterwards, one might browse to "mounts and storage" and select "unmount /system".


Why don't we get the root key for "our" android?

Security - imagine someone got hands on bunch of those keys for root access. It would be your device that someone else freely controls. Someone connects remotely, takes all your data, makes a huge bill or just destroys your phone - and the OEMs say it's not their problem that you got hacked, this is not their device anymore. Imagine blaming the WiFi card manufacturer because you were hacked online.

Basic users - they don't want to think about or even know how to secure their device - they expect it to be secured by the OEM and that all is taken care of.

Profit - some devices cost less than or equal to their production cost (like PlayStation) and OEMs rely on purchases you do through their services to make the device itself profitable. By allowing you to easily remove all their services you deny them their expected income, otherwise we would pay double the money for todays devices.

Bussiness - there's a reason that bussinesses use highly secure devices, firewalls etc. A phone that comes with a key that bypasses it all won't really sell in those circles.

I don't want to say that I don't agree with you, and I would also love some easy way to root and use my device however I want it, but there are so many reasons why such a thing shouldn't be done.

If you want something like that, you can use an HTC or Sony device (you can request a bootloader unlock key) or you buy a development device, that is not for mass production, but for developers only, but of course, they cost way more and are harder to get.


My google fu improved today.

micro usb standard type b data cable extender  yields multiple options.


This hasn't been a stock Android feature. Some sources including this Missing "Scheduled Power On/Off" option in Android 5.0.2 on Swipe Elite Plus phone talk of it being on Lollipop but I jumped that version so can't comment

For sure, it's not a stock feature from 6.0 to 8.1. You can use some automation app to schedule power off not power on


What does "protect this backup" in Titanium Backup do?

Good question. Discovered one more feature of TiBu. Wiki (Titanium track) does not explicitly mention what it does and searching net gave clues pretty much aligned to Izzy's comments
Most likely use case

.... protect backups of certain apps that have gotten worse with an update. This keeps my "good" backup from being overwritten when my schedule runs.

Implementation of this seems to have a troublesome history as can be seen here and here apart from the above post which quotes the use case and several others of similar nature. Cursory reading reveals that:

It was initially meant only for devices not having external SD card

Initially worked only on FAT 32

Above coupled with read- write permission changes across Android versions made the implementation shaky

There were issues at different points of times in protecting and unprotecting app

Change log of app reveals, it was dropped as added later, and modified

As it stands it works on my device (rooted), running 6.0.1 with backups stored on external SD.
What does it do?
TiBu permits you to have a maximum backup history ranging from 1 to 50 (Preferences → Maximum Backup History ). On my device it is configured to 7. When I protect any version of an app it creates a kind of master version which is not counted for the 7- that means the protected version stays and with subsequent backups, old backups are deleted new ones added subject to ceiling of 7
Edit I just noticed (27/12/19) that one can have more than one protected backups! I was somehow under the impression that protected backup can only be one but with version 1.3.2, I was able to create 3 protected backups of an app whereas the maximum backup is set to 2
Protecting App
Select the desired app by short pressing and follow steps below

Unprotecting App
Simply the reverse of above


Can't mount Android device in recovery mode using MTP

While in recovery, connect your phone to PC and you can transfer files to and from phone using ADB Commands, provided it is installed in your machine.

adb push and adb pull are the commands to send and receive files.

Instructions to install ADB on Ubuntu.

ADB commands to transfer files.


How do I disable the triple vibrate of Viber?

In version 5.3.0 for Android, on my HTC one m8 I couldn't find ANY option to disable vibrations, exept for the "incoming Call" one.
So my phone sounds one time and vibrates 3 times when I receive a message...

Later edit: Just wrote Viber, they answered that a fix will be available shortly !


How to determine the boot order of auto-starting apps?

you can exec ps -A | grep com.tencent.mm, pid is start order
but Wechat isnot impossible to boot up before Xposed


Getting the Europa notification tone off my old phone

Any idea how to get that sweet Europa tone?

I'm not sure if you can get it off your old phone without rooting. But there is no need for that, as you can download the tone online. Here's an xda thread, where the main poster posted zip files of all Nexus 5 notification tones. I imagine that the Europa tone in the 5 would be the same as in 5x.

Instructions:

Open the link
In the main post, you'll see a few links. One of them will be for notification sounds. Download that one.
extract the file, and you will see the Europa tone.


Do all devices (that can connect to PC) power up when connected to PC?

This must be specific to some devices/kernels as I have just tried this and my Nexus 7 2012 briefly showed a "charging" battery animation before the screen going off - device then stays off. My HTC One X didn't show any charging animation, or power on but is showing the charging LED.


Recover files from a Pixel 2 stuck in bootloop

I have used ADB on a Mac before, so it should be possible. I would suggest trying to pull specifically the emulated SD partition using the full path shown by your ls command: adb pull /storage/self/primary

I have seen a variety of "real paths" across different phones/versions of Android. Its actual location may be in emulated or mnt.

If it is stuck in a loop and never booting to Android, then there is little ADB can do.


How to get rid of this orange highlighter

Settings > Accessibility > Enhanced Web Accessibility > Don't Allow.


Mod for Jelly Bean Nav bar on Kit Kat Tablet?

For continuity across all Android device sizes, from phones to tablets, the Android team completely removed the old tablet layout from 4.4 going forward. It is no longer there so it isn't something that can just be switched on.

It would have to be built back into the ROM, so you may ask your ROM developer or look to see if a ROM has already done this.


Hangouts can't connect to server - Android phone

This problem seems to have resolved itself over night.
This is only speculation, but my guess would be that some of the processing involved in converting a non-gmail Google account to a gmail Google account happens overnight. I woke up this morning and everything seems to be working perfectly again.


It's more or less a backup version of the Gingerbread release for the Nexus One. HTC manufactured the Nexus One, so they host a copy of the kernel, drivers, system images and so forth that are released for it, just like they do for the other phones they made.

You can use it to flash back to a stock ROM if you own a Nexus One, but if you have a different HTC phone it won't do you much good. You might be able to flash it, but it would most likely either not run properly or brick your phone. I certainly wouldn't recommend it.


just got a galaxy few hours ago and have two questions

Go to Menu -> Settings -> About Phone and in the list you should see Android Version
You would have to root in on order to do that since they're built into the ROM.


I can't take screenshots on Galaxy S3 mini

I would recommend trying the other way to make a screenshot on the SGS3. Simply swipe with your palm from left to right over the screen. If that does not work, ensure that the gesture is enabled in your device's settings menu.


Cannot add owner info to Lock screen - HTC One M9

The Android 7.0 Nougat release has added the lock screen message functionality.


Don't use adb sideload...instead, I use the following method ;

Open recovery (latest version of twrp recommended) but do not enter fastboot mode, stay  in main recovery screen
run cmd and enter the following codes under fastboot folder > adb push rom.zip /data/media/0   with this code we copy rom.zip into main folder in phone storage.

!!! You can rename your ROM.zip whatever you want, but in this case you should use its new name in command.

Flash your rom.zip by using your recovery


USB Internet is not working in sleep mode

I use the WakeLock app when transferring data, to prevent my device going to sleep. It's simple but effective.


Printing documents from secure online system w/ controlled page breaks?

Android 4.4 (KitKat) has a built-in printing system. It uses "Cloud Print", which can print to a "Cloud Print ready" printer, or to a normal printer accessible from an Internet-connected PC running Google Chrome. In either case, the target printer doesn't even have to be on the same network, if both the printer and your tablet are connected to Internet. You can also use this system to generate a PDF from the content you're trying to print.

I haven't tried using Chrome to print a web page with CSS rules as you describe, so I can't say for sure that you'll get exactly the results you'd get on desktop, but I'd expect it to work the same way.


You could install XBMC on the linux box then use the XBMC Remote app on your Android device to control the media playing through XBMC.


I'm using LBE Security Manager for a while now (as the "lite version", LBE Privacy Guard, is no longer continued and soesn't work with Android 4.1 and above). I first felt it a bit, umm, over-loaded – but it runs decently (no battery drain or performance issues), and after disabling half of its features I don't need, I'm pretty satisfied with it.

While my primary taget was its privacy protection (revoking app permissions), LBE-SM ships with a load of other features. One of them watches over app installs, and places a note in your notification area when one happened. You then can follow that (tap the notification), and blacklist the app. LBE-SM then blocks all future installations of it.

There are a bunch of additional features, many of them primarily targeted at the Chinese market (cloud anti-virus, call blocker, etc), a basic firewall (block internet-access per app and interface, i.e. separately for WiFi and mobile data), plus more.

It's a closed-source app of Chinese origin, which might sound suspect at first. But there's a huge follow-ship at XDA (and Xposed, and elsewhere), so it can't be that bad ;) Unfortunately, the app version available at Google Play is Chinese only (you won't be able to understand a thing if you're not used to Chinese). But there are ways, like localized English, Vietnamese, German, and other language's versions at XDA - or the LBE Xposed Module to be used with the playstore version, to get a usable installation. I'm using the linked English variant from XDA for a while, and already found it updated a couple of times.


Copy a ROM from your PC to your phone. Flash the ROM in recovery. You may have to reinstall the Samsung drivers on your PC.

Don't worry about this. You still have recovery intact. Keep yourself a SD card with a ROM and GApps on it.

*Always Do a Backup*


Do any OS upgrades (between major versions) NOT require wiping data?

I must admit that I'm a bit confused by this post. Granted, I haven't been an Androider from the word go (my first device was a Nexus 7 running Jellybean), but every major update I have done has not required a factory reset (unless of course it has got stuck). This is true for all three of my devices: my Nexus 5, my Nexus 7 and my Nexus 9.

The biggest update I have done was on my Nexus 5 and Nexus 7, going from KitKat to Lollipop and that kept all my data. And of any update, KitKat to Lollipop would be the most likely to require a reset - they're very different.

Mind you, they are pure Android devices. So I'd say that if you have an official Google device (be it LG, HTC, etc.) with vanilla Android, you're pretty safe.

(Also, it would not be in the best interests of the vendor to require a factory reset before an update because then there would be less of an incentive to update.)


This happened to my S3 and I got told to uninstall YT, reboot and install it again.

Try that maybe?


This is still just my best guess, but I would definitely check to be sure that Google Voice is linked to your cell number and that it is set up to forward your calls. You should see something like this in your settings:

If that's all set up properly then you might want to consider starting a discussion thread over at Google's support forum.


Installation of Jellybean or Kitkat on Micromax A89?

After searching in XDA, I found few roms which are ICS based but jellybean or kitkat themed, I think there is not enough devs to port jellybean or kitkat rom for a89. You can try various roms to taste the look and feel of jellybean or kitkat.

Here is the link of various rom available in XDA.


Memory reported as full without being full

See What can I do to manage my phone's internal storage? and install the app DiskUsage. On my phone, it made clear that the system itself takes up 1.2 GB, while this is not shown in the overview (settings > storage).

A possible explanation for why you get a message that internal storage is full, is that Android always keeps up free space equal to the size of the largest app you installed. So if you install the XyzApp that takes up 100MB, android wants 100MB free disk space in case it needs to update and download the new version.

You can try to move as many apps as possible to your external sdcard. That frees up space, and if by accident the biggest app can be moved, android will need less free space.

Hope this helps!

(And thanks to Izzy!)


Background image in lock screen on Lollipop

Last but not least, the Lollipop lock screen shows full-screen still
  images from multimedia content being played from the device -- so you
  might see a graphic from a TV show or cover art from an album,
  depending on what you're streaming. In my experience, however, the
  images don't seem to clear properly when the content is no longer
  being played. I frequently saw images from a show I had stopped
  streaming long ago -- both when something different was being streamed
  and when the streaming app was no longer even active.

Found at Android 5.0 deep-dive review: Exploring Lollipop's many layers

In order to fix it I launched some streaming audio and locked the screen to verify the image changed.  Then I unlocked the screen and stopped the stream.  Locked the screen and the image was set back to default wallpaper.


I have a workaround that leads to a solution but not a direct solution:

If you have Chrome tabs as separate entities in the Overview (Recent Apps) section, then undoing the closure of a tab is not possible. However, if you open Chrome and tap on the three-dotted menu in the right-hand corner and then tap Settings and navigate to Merge tabs and apps and move the slider to off then your tabs will appear under a seperate tab switcher inside Chrome (this is, I suspect, how your previous phone handled tabs). When you now close tabs, the option to undo the closure is visible.


Bootloader unlock failure "Command not allowed" of a Huawei Honor 6x

It is because Huawei has completely terminate the unlock code application service on July 25th, 2018.
You can refer to the following link where Huawei has officially mentioned it.


How to get rid of OTA software update notification?

You can disable these notifications by unchecking the notifications for Google Play Services [Not Framework]. This fixed my problem on the LG G3 and I assume it will on all other devices.

The best option is to click and hold the notification and then select 'App info', which will take you to desired app info for that update notification. Then uncheck the notification option there.


These things helped a lot :

Looking at which apps drained the most power. Performance improved a lot after uninstalling Facebook and a few other apps I had downloaded over time.
Upgrading to CyanogenMod 10.1-M3 helped. They fixed a nasty memory leak, which probably accounted for parts of my issues.
A little before the first 10.1-RC candidates, the CM team tweaked memory settings that had changed without warning in one of the releases.
If you're running low on storage, you might want to run fstrim /data on a root shell. It seems to be a technical limitation of SSDs when they're low on space.


Why do some processes block when my Android phone is connected?

Did you set the phone to charge only after plugging it in? If not go into settings and there should be an option like "Connet to PC". Click that and change the default setting to charge only. See if that helps. If not power off the phone and computer and disconnect cable. Then power both back up and wait for both to fully boot. Then plug in phone. See if that helps.


This happened to me once and I just made a factory reset. However this did not work for a friend.


How to install stock android on Huawei P9?

willingly destroyed such a great phone with such a bad UI. It
  especially hurt, since I was coming from a Nexus device.

  Due to the above, there is no remedy other than installing stock
  android. But, is it a working remedy? Am I able to find stock android
  installation, which supports fingerprints and double back camera?

Your best hope is that some one creates a AOSP-ROM for your device. But looking in http://forum.xda-developers.com/p9 forums there is none. Since you say you came from nexus device I can only hope next time you make some  searches in XDA or get.cm where you can find most popular devices. For the moment P9 has some ROMs in xda but not as clean as AOSP.


Galaxy S3 Active Sync is not working, any help?

I had the same problem and downloaded Touchdown for Smartphones, which worked.  Will Send the phone back as clearly the bundled app that came with the phone isn't working but another program with the same settings worked.  Only bought the S3 a week ago, first phone the WIFI and the Bluetooth wouldn't switch on, 2nd phone no exchange e-mail, third time lucky?


There is "Simple Dialer Widget" on the Play Store. By description and some popular blog posts it fits the bill perfectly, up to KitKat.

After install Simple Dialer can be configured to all or a portion of:

Dial number pad
Favourite Contacts, Contacts with numbers, or All Contacts
Call history (log)

...on a home screen widget.

From Android v4.2 to v4.4 KitKat the widget can be added to the lock screen as well, but in v5 Google did away with lock screen widgets altogether.

Caveats: Simple Dialer was acquired by My Color Screen and there hasn't been an update posted since 2013. Some reviews in 2014 report excessive CPU use and battery drain; perhaps an interaction bug with newer android versions.


How can I fix Xperia x10i application crashes under CyanogenMOD 6?

I would recommend going back to the Sony official firmware.

This thread has step-by-step instructions for reverting Xperia X10 handsets to stock ROM.  You might want to search the thread to confirm that the process is the same for your X10i model before starting.

Keep in mind that flashing to the stock firmware will erase all of your settings and installed apps, so back up the important bits.


Install Spare Parts.  Open it and click on "Battery History". Select the drop down list at the top and from it choose "GPS Usage". It will show you what apps have been using the GPS.

Note that you'll need to have your device unplugged at the time as it's actually looking for battery usage as used by apps accessing GPS.


No-name i.onik android tablet not recognized by adb -- adb devices empty

Izzy’s answer is misleading. Two unrelated things were mixed up (the vendor ID list in adb on one side and the permission setup in Linux on the other side).

1) devices considered by adb:

Adb has a hard-coded list of USB vendor IDs it tries. E.g. HTC mobile phones use 0xbb4, which is listed (source file usb_vendors.c), while 0x2207 is not.

The only way to add to this list (without patching the source) is to put vendor IDs in the file $HOME/.android/adb_usb.ini, line by line. (HOME is set up right?)

No special cable is needed.

2) permission setup for non-root access:

The udev-fiddling is to give user-access to e.g. /dev/bus/usb/002/009 (bus number/device number change; see lsusb for current values).

The details of this are not relevant to the original poster’s question, as he ran adb as root.


DNAT iptables rule on rooted Android phone?

According to this question on Stack Overflow

iptables is available in Android source distribution.
Users of retail Android devices cannot access iptables binary. Even Android OS itself cannot access that binary. This is hard-coded in Android. Many devices also don't have iptables at all.
The only way to access iptables binary is to build your own Android images. Check out http://randomizedsort.blogspot.com/2010/08/building-android-and-linux-kernel-for.html. Once you get comfortable with that process, check out http://randomizedsort.blogspot.com/2011/03/porting-iptables-1410-to-android.html.

iptables is a default module in aosp, you can use netfilter to write c code to handle that.

For example, you can create an android project, and write a JNI file, use ndk-build to compile that, and then adb push the executable to the android file system to execute. And in the mobile end, you can adb shell to it, directly use iptables command as a root user, just like in Linux.

To check if your device supports iptables:

Issue the following command in ADB shell or in Terminal Emulator:

iptables -L -t nat

Alternatively you could try the beta of  IP Tables app on Google Play to see if it does what you want.

There is also Droid Wall that you could try. It supports scripts that may help, e.g.

$IPTABLES -A "droidwall" --destination "192.168.0.1" -j RETURN


Forcing apps on Marshmallow to use external sdcard (not internal /sdcard)

There are many apps that can do that. Search for App2SD: All in one Tool (root version) on Google play. But you need to get root first in order for the app to work. Try Chainfire SuperSu, works fine on Marshmallow


Cannot install apps from Google Play Store due to insufficient space

Try clearing cache for your internal storage and transfer "unimportant" files to your memory card, this will create some space for your apps to be installed.


Google Apps crashing, Play services crashing

Ryan Radford found a fix for this. Kyocera forgot to include libpredtm.so in system/lib, which causes these crashes. Ryan took the time to upload his copy and another user posted his fix on Android Forums. You need to root your phone then add Ryan's libpredtm.so to system/lib. That's it.


Automatically adjust ringtone volume Marshmallow

It still possible with Automate to dim the screen and change the volume.

In the Connectivity section, select "Wi-Fi connected". Click on it, enter the Network Name (or click on Pick network to select a Network (the WiFi must be on, if not the list will be empty)). Click Done.
In the Settings section, select "Screen brightness set". Click on it, enter the Brightness level (expressed in percentage). Click Done.
In the Camera & Sound section, select "Audio volume set". Click on it, enter the Volume level (expressed in percentage), then in Audio Stream, select Ring (System is for system-wide sounds). Click Done.
Steps 2 and 3 parameters are for when the phone is connected to a selected Wifi network. Repeat steps 2 and 3, but change the parameter to reflect brightness and volume values when the phone is disconnected from the selected Wifi network.
Link the blocks as seen on the picture below. Save the flow and give it a name. Give the appropriate permissions (some maybe installed). Click Start.
Optional - If you want, the flow to run at boot, in the settings, select Run on system startup


Install custom rom ACE PLUS without voiding warranty

Sum-up from the comments:
Warranty
First, at least as of today and outside the EU, it is not possible to install a custom ROM or even only root your phone without voiding your warranty. Even if it can be done in a way not increasing a (possibly existing) "flash-counter": In case your device "bricks" for some reason, not giving you a chance to restore to "stock", your custumizations would be found in the service center.
Existing Custom-ROMs
As said, here you might want to take a look into the question Where can I find stock or custom ROMs for my Android device?, which lists a lot of ressources where to find different Custom ROMs. A good choice might be CyanogenMod, which is e.g. dealt with in the XDA-Developers thread about CyanogenMod for Ace Plus. To find more details, you can simply use this Google Search.


Install TWRP to only one slot or offline boot.img file, not both

So this way, I ended up creating a script on my own.

Lucky enough, installing TWRP to boot.img isn't hard at all. The install script in TWRP just replaces ramdisk.cpio with the one ramdisk-twrp.cpio provided in the ZIP.

The effective part of the script is as following, root is of course required.

ln -s /system/bin/linker64 /sbin/linker
cp <path-to-magiskboot> /sbin/magiskboot
mkdir /data/local/tmp/twrp
cd /data/local/tmp/twrp
/sbin/magiskboot --unpack <path-to-boot.img>
cat <path-to-[ramdisk-twrp.cpio]> > ramdisk.cpio
/sbin/magiskboot --repack boot.img
cp new-boot.img /sdcard/new-boot.img

Now the TWRP-installed new-boot.img is located at /sdcard/.

To install to a single slot, dd the boot image out and apply the same process as shown above and dd the new image back.


problem installing Xprivacy : where is the install button?

Your device need to be rooted for Xprivacy to work, be installed properly. Even before installing it, you must install Xposed framework which requires root.

From Xprivacy Github page:

  XPrivacy is built using the Xposed framework, which it uses to tap into a vast number of carefully selected Android functions.

  Root access is needed to install the Xposed framework.

The process is:

Root your device.
Install Xposed installer.
Install Xposed framework.
Install Xprivacy.


How can I see how much internet bandwidth each process is using at the moment?

Simple System Monitor does that

Relevant feature from app description

  View list of active apps and processes and their CPU usage, RAM usage, network activity, PID and UID.

If you monitor the Active Processes tab you can see the change in data usage. You can order the view based on parameters as shown in the second screen shot. The default update interval in settings is 3 seconds which can be varied as per need. If you worried about battery consumption , you can pause the app from the menu option on top left


How safe is it to upgrade my galaxy s2 phone to Ice Cream Sandwich?

If it is the official ROMs, then it is very easy and chances of anything going wrong are slim-to-none. You should just do it.

Downgrading should also be pretty straightforward if you want to stick with official firmwares - it would be a case of downloading PC Odin and the firmware you want from a site like sammobile. I have done this with a Galaxy Note which is from the same family of handsets.

Many people who have problems find that they can solve them with a wipe and just re-installing what they want. This has resolved battery issues for some.

ICS is worth the risk. Yes, there are UI changes and you will probably notice the phone being a bit faster to respond, but there are many other changes as well. For instance, some real-world useful features include Wi-Fi Direct, improved web browsing and proxy support. If you plan on keeping the handset long enough you may see some applications will require ICS as a minimum version as this is the first unified phone + tablet version of Android.


Google Play keeps asking for an account (new or existing) and does not start anymore

This worked for me.

go to settings -> apps -> Google play.

Disable the app, uninstall the updates and re-enable it.


Where have all my wifi credentials gone?

This might be the case if the update had included an update for the Android WiFi driver, which might have caused incompatibilities with stored configuration data for networks. Try to retrieve this file (you will need to be root):

/data/misc/wifi/wpa_supplicant.conf

This file contains the configuration data for all WiFi networks which had been saved.

If this file is missing or blank, you will have to reconfigure the WiFi manually.


I encrypted my phone (samsung S4) of which i dont remember the password. Need help to unlock it and save the data

Master reset with hardware keys

Turn Off the Device
Press and Hold the Volume Up, Home, and Power Button
When the phone vibrates release the Power Button, but continue to hold the other two
When you see the system recovery screen release the other two buttons
Using the Volume down, select "Wipe data / Factory reset"
Press Power Button to select it
When the reset is complete, choose Reboot system now and press power button to reboot the phone.

Disclaimer: THIS WILL ERASE EVERYTHING ON YOUR PHONE.  This does not solve the question about how to recover data that is encrypted.  It only answers the question about factory resetting the phone.


Softbricked, locked bootloader, no recovery

You need to flash a stock firmware to get everything working.
You can follow this tutorial on how to flash a stock firmware on your phone. Download your phone's ROM here.


Why do Samsung Apps not support the Galaxy S?

The Galaxy S is fully supported by Kies, and it runs Google's Android OS so I'm not sure what that's all about.

Samsung does not support Samsung Apps on the Galaxy S, however.  They made that choice for some business reason I am sure.  They list supported phones on this page.

The best way to get apps is through the Android Market, which is already on the Galaxy S.  Samsung Apps has very few apps and they look sub-par to me.


Tasker: Conditionally End Calls for Contact Group

Part 2 should be easy depending on the way you't want to log the calls. I would recommend using the writing a csv file then you can use the call in related variables to keep track of who call and when the call started but you'll need to create a timer for the duration of the call. You can find these variables by searching the webpage I've linked for Call Name. Don't use the variables that start with CO they are for outgoing calls.

The timer would be triggered when you pick up and end the call. You could then subtract the beginning time from the end time to get the duration. You don't need to write these time in the log in order to get the duration but you might want to at least log the start time to give you a better frame of reference.


How can I share a post from Facebook on Android with other apps?

Have you tried sending it to yourself via messenger? since the facebook can actually make you send yourself a msg... try doing that, that might be the answer.

P.S. I can't comment cause I still don't have 50 reps.. hate that kind of thing here...


From what I've read, this is not possible without a rooted phone.  Other than that, you can you only control the lights' on/off state by how much ambient light is hitting the sensor.


What happens to a running program when "home" button is pressed in Android phone?

The Android Development document Tasks and Back Stack actually covers this pretty nicely. A relevant excerpt:

  A task is a cohesive unit that can move to the "background" when users
  begin a new task or go to the Home screen, via the HOME key. While in
  the background, all the activities in the task are stopped, but the
  back stack for the task remains intact—the task has simply lost focus
  while another task takes place, as shown in figure 2. A task can then
  return to the "foreground" so users can pick up where they left off.
  Suppose, for example, that the current task (Task A) has three
  activities in its stack—two under the current activity. The user
  presses the HOME key, then starts a new application from the
  application launcher. When the Home screen appears, Task A goes into
  the background. When the new application starts, the system starts a
  task for that application (Task B) with its own stack of activities.
  After interacting with that application, the user returns Home again
  and selects the application that originally started Task A. Now, Task
  A comes to the foreground—all three activities in its stack are intact
  and the activity at the top of the stack resumes. At this point, the
  user can also switch back to Task B by going Home and selecting the
  application icon that started that task (or by touching and holding
  the HOME key to reveal recent tasks and selecting one). This is an
  example of multitasking on Android.

  Note: Multiple tasks can be held in the background at once. However,
  if the user is running many background tasks at the same time, the
  system might begin destroying background activities in order to
  recover memory, causing the activity states to be lost. See the
  following section about Activity state.

Summary: The task is moved to the background when you press Home and sits in memory, not really doing anything and retaining its state. This means that (generally speaking) you can switch back to the task and it will pick up where it left off. However, the Android system can - and will - kill background tasks if it needs to reclaim memory. When and if this happens is entirely up to the system, and is probably why you see inconsistent behavior when resuming.

If the task is destroyed by the system, it will have to be re-created when you launch it again. So unless the application author has taken measures to save the application's state during the destroy process, it will be lost (and saving exact state in things like games is fairly impractical).

Another good (but also verbose) document is the one covering the Activity Lifecycle (there's a nice flowchart if you scroll down a bit).


Thanks @mnd I found solution for the problem.
The following app works smoothly. It disables only display

https://forum.xda-developers.com/android/apps-games/app-screen-backlight-off-xda-exclusive-t3037380

Thanks stackexchange family.
Source: How to make an app behave the same way with screen off, as with screen on?


What is the APK (and package) name of the Google App?

Answering my own question, thanks to the method found on this View app's full package name? thread and the hint provided by Google App's URL in Google play.

I typed:

 adb shell 'pm list packages -f searchbox'

And received:

package:/data/app/com.google.android.googlequicksearchbox-1.apk=com.google.android.googlequicksearchbox


Can I upgrade My Xperia Arc S To Jelly Bean after the rooting

Sony stopped with ICS, it didnt release Jellybean for Arc S. If you are rooted and installed CWM recovery you can install Jellybean Custom rom. There are plenty of rom available here. Just read the instruction before installing the roms. There are roms which are only for unlocked bootloader.


How to connect to adhoc wifi on Nokia XL

I would wonder if the Nokia XL makes an exception here – but as you can find out by other questions tagged ad-hoc and our ad-hoc tag-wiki, Android itself doesn't support this type of networks by default. Usually, solutions involving this require root access on the device (which again does not ship by default) – and rooting in most areas voids your device's warranty.


32-bit and 64-bit Android: how to tell before buying a phone

One way to know that the OS is 64-bit is to check the RAM. 32-bit OSes have (see/utilise) a maximum of 4GB of RAM while 64-bit devices see more.
Devices with more than 4GB of RAM will be using 64-bit Android.

Limits are as followed:

32-bit:  2^32 = 2^2 * 2^30 = 4GB. A 32-bit OS will go 1 bits up to 4GB.

64-bit:  2^64 = 2^4 * 2^60 = 16EB. A 64-bit OS will go 1 bits up to 16EB.

Up to 4GB, the RAM won't help differentiating whether it is 32 or 64-bit. More than 4GB, then it is more than likely to be 64-bit.

Large Physical Address Extension(LPAE) was implemented to allow physical address up to 40-bit. But as @Irfan as inferred, it is not known (at least publicly) if there are devices in the market which have taken advantage of it.

Conversion table
-----------------
2^10 = 1 KB
2^20 = 1 MB
2^30 = 1 GB
2^40 = 1 TB
2^50 = 1 PB
2^60 = 1 EB


No way to restore apps and data from Titanium Backup

Here is what worked for me. I booted into TWRP recovery. From there I copy pasted my backup files from my usb drive to internal memory. Then and only then I was able to access and restore my backups from Titanium Backup.


Security model when asking access to photo, media and files

Preface

Given that you mention the appearance of a popup asking for the permission to access the Storage, I feel safe to assume that your Android version be 6.0 or greater.

The Storage permission

The Storage permission gives an app access to the contents of the /storage/emulated/0 path. This means that an app would then be able to read and write any file under said location, be it created by you or any other app. It is worth mentioning that this permission does not allow for manipulating an external SD card.

In plain English, /sdcard tends to contain any file you download, any photo you shot, any music you listen to, and so on.

The internal data

Any installed app has a private directory containing its data. These directories are located at /data/data/, and are named after the package name of each app. Since any app is sandboxed by means of an user id and a group id, any app can only access the data it owns, and the previously discussed Storage permission has no effect whatsoever. These directories should concern no one but expert users, as they're vital for apps to work.

There is, of course, an exception. If your phone is rooted, any app requiring root privileges will potentially be able to read and write from and to any location in your device. This means that, if rooted, you should always have a filter such as Chainfire's SuperSU or Phh's Superuser to be notified when an app requests such privilege, in order to be able to deny it.


Problem viewing SD card contents while connected to PC

While the phone is connected as a USB mass storage device, it's giving the PC sole access to the SD card. The phone can't access the card at the same time because of how the USB mass storage protocol works. That's why newer Android phones use MTP instead: a different protocol that lets the phone and the PC access the SD card at the same time.

To keep the SD card available on the phone while it's connected to a PC, change the USB connection settings so that the phone is not acting as a USB mass storage device. I don't know exactly how the settings work on that phone, but if you click on the Connected to PC (or similar) notification it should take you to the appropriate settings page. There you can switch to MTP if your phone supports it, or to Charge only if it doesn't.


How To Prevent Uploading From Interrupting When Screen Is Off?

Settings -> Wireless & Network -> Wi-fi settings.
Press the [Menu/Options] button, and select Advanced

Now choose in the Wi-fi sleep policy : Never

Keep in mind that your battery is going to drain faster (because the wifi will never be turned off unless you manually do it), and is easy to forget that you changed the sleep policy.


How can a rooted Android phone generally get bricked?

Doing exactly what you are doing is probably the biggest chance of bricking your phone - experimenting without proper knowledge and understanding of how things work. Go into xda-developers and find your phone's forum. Then start reading - how to install a ROM and a Recovery, change kernels etc. Read the threads and follow the steps exactly as they are shown and you won't be having any problems. All it takes is for you to mess up a single step, to brick your phone - may it be you download wrong file, not for your model or you type in wrong command etc. Still Android these days (not like back in 2010 for example) are quite resilient. It's not too difficult to recover from almost all kinds of bricks.

TLDR Read how other people did it before you on accredited sites like XDA-Developers and be careful.

Story time: I've been doing this (rooting, installing roms etc. - being power user)  for 5-6 years now so I know my stuff. I started unlocking my LG G4, then rooting, then installing recovery. What I did here was really stupid. Instead of installing a recovery I booted into it - so I had access to it only once. But I didn't notice right away. I installed my files, and the installer required a restart, and to boot back into recovery. But since I didn't install recovery the first time, as soon as I restarted my phone I literally messed up. I went into semi-soft brick. No access to fastboot, couldn't hook up my phone to my PC to execute commands, and the phone was in bootloop, only going as far as the logo.
Well I panicked a bit, went into the forum and started reading for solutions. At the end, something written for totally different thing allowed me to push some commands, and salvage my phone.

Also on your comment: And in general, don't root if you don't know what it is. Many people do root exactly for your reasons "people say its cool" I rooted to install xposed and get some modules I need.


Contacts from removed Google account still appear in Phone app - Android 9

Ok so, moments after I posted this I found the answer and I am posting it in case someone else struggles for some days like I did. I went to the Contacts app, and on the menu I selected All contacts. This way everything appeared and I could just select all that I didn't need and delete them.


Emulating Sony devices for Android Studio

Android Emulators are based off the Google Android Studio SDK Emulator and don't contain any Manufacturer proprietary code/API.
The general properties to change when creating a hardware profile are screen resolution, screen size and RAM. If needed there are additional hardware properties you can configure.
If there is a particular model you need to duplicate, creating an emulator with the same screen resolution, screen size, RAM and OS version would be a good place to start.


How to move apps from internal storage to SD?

Yes, it is possible to move apps to SD but only for some applications. To move the apps just head towards

Settings>Application Manager

Open the app which you want to move to SD and there will be an option to move it to External Storage. Just click it (Remember that you can't move your inbuilt apps to external Storage). For your 97% internal storage, just move all your things like music, photos, videos, etc., to your external storage.


Is there a way to format numbers' font in Nexus One/Nexus S?

Android stores its fonts at /system/fonts/ using TTF (TrueType) format. If you have a program that can edit TTF files (e.g. FontForge), you can replace the number fonts in these .ttf files with your preferred number fonts to change the glyph used for numbers globally. If you're rooted, you should be able to replace these font files with your own modified version.

Note that I have never tried this, note as well that some applications' layout may rely on the system fonts being of a particular size or shape, and this modifications may break the layout in those applications.


Here's some ways to update your firmware, from easiest to harder (not necessarily hardest).

OTA (Over the air) update. Trigger it via Settings > About > Software update.
Kies. Install Kies on your PC, run Kies, and connect your mobile phone to your PC using USB cable. There is an update function in the Kies software.
Odin (Windows). This is a 3rd-party tool that you use to flash (or install, in layman's terms) a stock (or default) ROM or custom ROM on your phone. You will need to download Odin and the custom ROM or stock ROM from somewhere. There are several guides on Google on how to flash a stock / custom ROM for Samsung Galaxy S2. For Linux, you can use Heimdall.


Can I put a 128Gb micro sd card in a Samsung Galaxy s2?

Officially, 128GB Card is supported for the Samsung Galaxy S5 and onwards devices in Samsung releases. But technically, SanDisk’s 128GB card should work in any device that supports the MicroSDXC standard (buy/use at own risk). Check out list of supported devices. You can also verify your device at official SanDisk website here.

What if it shows an error ?

This video should help you change your mind to really go for higher storage space.
https://www.youtube.com/watch?v=JA9fp863d-o

How much of Battery life

Galaxy S2 has only 1650 mAh Battery, but i think if you just use it as music player then it should claim for more than 1 day battery life. you can also keep it in flight mode to give you less battery drain on networks.


How to port-forward internet using Android Hotspot to PC?

In most cases you won't be able to make inbound connection when using Mobile Data because of CGNAT and firewalls at ISP level, as explained by acejavelin in comment. To know the problem in detail and how it can be worked around see How to connect to Android through SSH over 3G/4G public IP?

However if you can reach your phone from internet, extending this access to a connected host (PC in your case) is not a problem. Port forwarding is done with routers, and when being used as a Wi-Fi hotspot (or with USB tethering), your phone is in fact acting as a router.

ROOT SOLUTION:

In order to forward port, you need to do Destination Address Translation (DNAT) using Linux kernel's builtin firewall userspace tool iptables.

First make sure that kernel is configured to forward internet traffic (already set when hotspot is ON):

~# echo 1 >/proc/sys/net/ipv4/ip_forward

Let's say the IP address assigned by hotspot to PC is 192.168.43.10 and you want to forward SSH default port (22):

~# iptables -t nat -I PREROUTING -p tcp --dport 22 -j DNAT --to 192.168.43.10

This is the simplest form of Port Forwarding.

If default POLICY of FORWARD chain in FILTER table is not ACCEPT, define rules explicitly to accept the forwarded packets:

~# iptables -I FORWARD -p tcp -d 192.168.43.10 --dport 22 -j ACCEPT

Also accept outbound forwarded traffic if needed.

NON-ROOT SOLUTION:

On non-rooted devices you can use adb or some other minimal TCP/UDP server like netcat or socat for port forwarding. Note that this won't work for ports under 1024. To forward port 2222:

~$ adb reverse tcp:2222 tcp:2222

Or on phone:

~$ nc -lk -p 2222 -e nc 192.168.43.10 2222

* nc is a busybox applet. But make sure that you get the right binary, there are multiple implementations of netcat.
* Use -u option to forward UDP port.

However nc accepts only a single connection at a time. Use socat or ncat for more advanced options, e.g. from Termux:

~$ socat tcp-l:2222,fork,reuseaddr tcp:192.168.43.10:2222

See Using netcat for port forwarding.

There are also apps like Fwd (it's open-source, I have no affiliation) meant for port forwarding.

SOURCE:

NAT-HOWTO


Associate a file type with an application

Go to Settings -> Applications -> Manage applications -> Music player -> Clear defaults. This will clear the association between the Music player and MP3 files. Now, if you open an MP3 file, it will ask you what app do you want to use to open it, and you have the option of setting a new default app.

PS: This works with any application you have installed


Why my Android mobile (Samsung Galaxy Young Duos) is vibrating even if it is not in vibration mode?

May be a bug or something. Restore factory settings after making a back-up of important files.
Note - Check the settings once again. You might have turned on the vibration.


OnePlus One (CM 13.1.2) persisting boot loop

After contacting OnePlus they set up a remote session.
During this session they also flashed the phone using their own files.
This, however, did not solve the problem.

The phone was still under waranty so they arranged it to be send for repair.
They found the motherboard to be faulty, which has been replaced and the phone works perfectly fine again.


Flashing a stock firmware should solve your problem.

Firmware download links from here.
Additional instructions, guide from here


It would depend on the device. Some devices have/had some real serious issues with their GPS. The Galaxy S is one of them. It can take 10 seconds for it to get a GPS lock or it could take a minute (or even more).

If you never have any issues with your device, then I wouldn't recommend running an application like this. If you can get a GPS lock within a few seconds or so and it is accurate, then I would say just leave it alone.


How to rate an app in Android Market on a tablet?

The first versions of the Android Market on Tablets didn't have an option to rate an App. Rumors are that Google wanted to prevent bad ratings on Apps, because they weren't optimized for tables (yet).

Some say that they received an Market Update that enabled the rate function. My Lenovo Thinkpad Market hasn't got it yet. But it seems just a matter of time.

Until then, you can rate Apps on the web version of the Market.


I see Calendar and Calendar Storage in my "All apps" list in Settings.

If I open either of them, I also see the old, familiar Clear Data and Clear Cache buttons.


How to remove a widget from the home screen on Oreo

You can remove a widgets by long clicking on it and dragging it to the top of the screen where a text is saying remove.


Where does the gmail app save the previewed files?

Gmail app stores those previewed files under its data directory. The file location would be /data/data/com.google.android.gm/cache/<YOUR_EMAIL_ID>/<ATTACHMENT_NAME>.

It seems that Gmail app doesn't have an in-built preview functionality so it gives the option to choose an installed app to open that file. If you did that then very likely, your file was also saved in the cache of that app. So now, there are at least two locations to get hold of that file.

E.g. WPS Office would have cached the file at /sdcard/Android/data/cn.wps.moffice_eng/.cache/KingsoftOffice/file/download/<ALPHA-NUMERIC-NAME>/<ATTACHMENT_NAME>.

Inbox by Gmail  app also saves the previewed file in its data directory. The file location is /data/data/com/google.android.apps.inbox/files/downloads/<ALPHA-NUMERIC-NAME>/attachments/<ALPHA-NUMERIC-NAME>/<ATTACHMENT_NAME>.

Inbox by Gmail doesn't allow adb backup so you most likely can't get your hands on that file if the device is not rooted.

Gmail app does allow backup but I couldn't get a working backup file for some reason, so you're on your own about it.


Smartphone laggy and slow: when a factory reset is ineffective

I am passing by to post a possible solution to those who have similar issues.
Although I cannot say it is definitive/long-term (I did it only yesterday) the device is really much more responsive now, and the hangings and crashes seemed to disappear.
The steps were (without deep details):
In my computer:

Downloaded a stock ROM from a reliable source (mind the exact version);
Downloaded Odin v3.13;
Installed Samsung USB drivers;

In my Samsung S6:

Wipe Cache (recover mode), then reboot.
Started it in Download Mode.

After that, plug the USB cable between the phone and the PC, and flash the firmware using Odin.
I followed these steps. It may help someone too: https://www.youtube.com/watch?v=UEnm5TU5KMw
In my case, I needed a factory reset after the flashing because the new FW did not erase the data. Now everything seems fine. I wish I had discovered that before buying a new smartphone. However, no problem... I'll give this one to my father. :-)
Hope someone finds this useful.
See you guys!


Conventional Way
This is what you want if you have a Nexus device but you've never heard of/don't use MultiROM. You should have an unlocked bootloader. If you don't have this, take a look at the useful CM guide to unlock your bootloader.
Also, make sure you have adb and fastboot installed and know how to use it. Backup any and all data beforehand (doing a nandroid backup is probably best)

Grab the Marshmallow factory image from here. The Nexus 5's codename is hammerhead and you're looking for the 6.0.0 (MRA58K) file.
Check the checksum of your downloaded file against the one listed on the page just to be safe. This ensures the download went smoothly and you don't accidentally flash corrupted version onto your device
Untar the downloaded file, extracting recovery.img, bootloader.img, system.img, etc.
Connect your phone to your computer via the microusb cable. Use adb devices to make sure  adb is working fine (turn Developer mode and USB debugging on first).
Use adb reboot bootloader to enter fastboot mode
In Linux/OSX, cd to the folder containing the extracted files and run sh ./flash-all.sh to flash everything. If you're running Windows, double-click the flash-all.bat file.
Your device should automatically reboot to your new Marshmallow system. (Note that the first boot might be agonisingly long)

MultiROM
Here's what you want if you use MultiROM. This method has the benefit of allowing you to keep your old system and all your existing data. You can then easily switch between Marshmallow and whatever you were running previously.
You should have an unlocked bootloader and a custom recovery like TWRP installed, of course.

Grab the MultiROM-flashable zip from this XDA thread. (You may also want to grab and flash the radio.img if you didn't install the Developer Previews.)
Reboot to your custom recovery and add a new ROM in the MultiROM menu.
Use adb sideload hammerhead_mra58k.zip (or adb push beforehand) to transfer the zip file to your device
After installation, reboot and choose the Marshmallow ROM to boot into


You could try CyanogenMod 9 (there's a release candidate now):

CM9 has support for the Motorola Xoom (wifi), and the Motorola Xoom (Verizon) at this point.

Here's CyanogenMod's update guide from their wiki for the Xoom.

You have to backup your device in advance, of course (using TitaniumBackup for example).


Can you grant superuser privileges to an application?

Your device needs to be rooted first
You can only grant SU permissions when the application asks for it in a rooted environment. Forcing the app to ask for permissions is not trivial or likely to succeed . For details, see related question linked below
If you are not rooted, you can't bestow super user privileges to any app

Related How to add root permission to some app by myself?


Is xperia Ultra charger dock compatible with xperia Z?

I use the charging dock for both Z Ultra and Z1.


cannot find uninstalled Android application at Google Play Store

I checked the Play Store and I can't see the app either. It must have been hidden or removed. Don't worry, though. You can get the .APK file here.


How to perform a full system dump/backup with a broken screen?

Not a full-fledged answer, as even an excerpt would make it a rather long post, but here are some things you could try:

An XDA article describes How To Backup and Restore using tar on adb shell. The article holds complete scripts for both. Still you should not execute them straight ahead as they are, but first use e.g. the mount command (without parameters) to make sure the mount points are correct, as they might differ between devices.
Use AndroidScreencast1 to "transfer the display to your PC". This way you see what you are doing, and might be able to backup using apps like Titanium Backup or Helium Backup
GadgetsDNA has a useful article with 15 Useful Android Terminal (ADB Shell) Commands2, including how to restore a Nandroid backup via fastboot. Unfortunately, nothing to create such.
A German Tutorial at Android-Hilfe.DE (GoogleTranslate Variant) describes a tool named ADBRecovery, including download links. This should enable you to do a Nandroid backup as well as restore.

I hope one of these hints proves helpful to you.

1: original code seems no longer maintained; yankee found this maintained fork working fine
2: links to Archive.ORG as the original page is gone; you can also find it at Slideshare


This is different in different roms, but in most cases apps will initially be sorted alphabetically and then by last used. The last used options will be at top.

Is there a specific reason you're asking this?


Canot enter TWRP recovery because of "fastboot erase userdata"

I had the same problem but from a different reason. I was trying to unlock the bootloader, and I think my phone erased all the existent data for protection.

After I installed TWRP custom recovery, then my phone started booting, showing those errors every time TWRP appeared and restarting it again.

In my case, I solved the problem selecting recovery mode, then formatting the partitions from TWRP wipe screen. I took me a while to realise that my phone was displaying TWRP, but the phone wasn't in recovery at that point.


Nexus 7 (2012) Omni 6.0.1 Install failure

Using TWRP 3.0.2 (with WugFresh Nexus Root Toolkit 2.1.9) instead of Clockwork worked.


How can I set different notifications sounds for different WhatsApp groups?

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


Not all google logins should be equal on my phone

You can try to deactivate google-s " find device"  device manager from settings(usually in the security tab)...but this will also block you to reset it remotely..


Package manager has died while checking permission

A DeadObjectException can occur if two Android processes are communicating with each other and one of them dies while transferring data to the other. The other process will then throw a DeadObjectException.
In your case the "other" process was the PackageManager process which was communicating to a second process - may be a system service for listing packages?
There is not an easy solution how to prevent such an error. The only chance you have is by checking the adb logcat output for errors when you access the package manager.
The reason why the other process (whatever process it is) fails may be corrupt data.


What is HTTP and socket in opera mini and what is the difference between them?

The socket connection keeps the connection to the sites. The HTTP selection will search for the site, each time searching for the site's IP address.

If you can't get a connection through the socket then switch to HTTP.
This choice is available when you’re using extreme-savings mode; use the "O" button and go to the savings summary.

The Socket/HTTP browser setting is faster and more cost efficient,
whereas HTTP is a fallback when your operator does not support socket/HTTP.


(Why) is it required to flash in order to install Google Play on CyanogenMod?

As can be seen here, an answer has already been found. It appears that the only thing that justifies an installation as system app, for the Google Apps, is to make them unable to be uninstalled via the package manager (since you need root privileges to alter the System partition). As Firelord pointed out in the above answer, there appears to be no further difference in terms of functionality.

If you're wondering about why you're asked to flash CyanogenMod and the GApps separately, instead, I can respond that, due to license issues, the developers aren't allowed to include the GApps directly in a CM package.


Maybe you could try webdav with apache, and davfs2 on the client side. This should be about the same speed as FTP.

NFS is also an option, if your kernel supports it. However, if you want some security (neither of these options has encryption (ok, webdav can run over http), but at least authentication), nfs authentication is pretty hard to set up compared to webdav.

If you want some real security, you can use SFTP/sshfs, and fiddle with the SFTP's encryption settings, namely the set the Ciphers and MACs options (you have to set these client-side). There is probably a combination that is significantly faster, and any is still much more secure than nothing.

And for any of these, I would use some chroot-ed linux with native code, e.g. debian (it's quite easy to install with Lil'debi).


Your friend is on Instagram notification

The notifications indicate people who are friends with you on Facebook. If you used "Sign in with Facebook" option or used the e-mail address to sign up on Instagram that you used to sign up for Facebook too. Instagram is owned by Facebook, so they can know.


Where are the downloads from the Amazon Appstore stored?

From what I can tell, they are stored in /sdcard/Android/data/com.amazon.venezia/cache

I have a lot of apks in that directory. I downloaded the one from today and I now have a new file in there dated today with the time stamp of when I purchased the application.

The files in there seem to use some "identifier" that amazon uses for the application. Cleaning out this does not affect the amazon app store in any way, but if you want to install an application that you previously purchased, you will have to redownload it, which it does with out any issue. I just cleared my directory out and tested this.


How Google Play programs family is updated?

Google Play Store is the only one capable of downloading and installing apps. All apps including Store itself are updated via Store. As I've already answered, the update is automatically downloaded and installed as soon as it's detected by Store.


Android System problem - Unable to share files, do factory reset

Apps that can't be uninstalled are apps that come hardwired in the ROM of your Android device. These are typically vendor specific apps or the Google apps.

"Android System" is pretty crucial to your device, so it's weird it's even possible to uninstall it's updates. Every Android device as this, but normally it's not listed. You can see it pop up in your battery usage statistics however, which is totally normal.

To fix your problem you probably need those updates to be installed again, but I doubt that will be possible using the Google Play Store app update system.
You can check, but I doubt it'll be there.

Another possibility is by checking for system updates for your device.
How you can do that depends on the tablet/os version etc, so I can't help there.
On my phone it's in the settings under "About my phone", which has an update check option.


Android virtual keyboard app that support physical keyboard language and layout change

The following software have independent physical keyboard layouts not tied to the OS layout in any way.

ruKeyboard software. It's a software+hardware keyboard initially made for Android smartphones with qwerty keyboard. It supports Android 2.3-9 and allows to add your own software and hardware layouts for different languages (you need to modify the XML files inside apk, but it's not that hard). It's abandoned and not open source, but still works fine. Software and physical keyboard layout switching is independent. You can configure your own switching combination on physical keyboard.

AnySoftKeyboard is what you can call a modern alternative to ruKeyboard. It's a software keyboard with support for physical keyboards. You can define your own layouts just as in ruKeyboard, by editing xml files inside the apk. Layout swithing is unified: if you switch the layout on software keyboard, it would switch on hardware keyboard as well. It's open source.


It is possible recover a deleted contact?

I has recover some contacts and the call historical  with a software "Android Data Recovery", i am amazed for this, it has some other functions.

Now, the joke, or in other words the irony i has not  recover the contact that i need, it is from a girl.
Greetings ;)


Looking for software to create an exact copy of the memory card

The best tool for dumping partitions and devices is a unix tool called dd, which is also available with almost any Linux distribution, like Ubuntu.

If you're running windows then you might want to try dd's counterpart for Windows - WinDD.

It's usually:

dd if=[source_inputfile] of=[sink_outputfile]

Warning!

These tool can do harm to your drives if used incorrectly (if you mix up data source and sink, the source will be overwritten). A quote from Wikipedia:

  It is jokingly said that dd stands for "disk destroyer", "data destroyer", "death and destruction", or "delete data", since when used for low-level operations on hard disks, a small mistake, such as reversing the if and of (input and output) parameters, could result in the loss of some or all data on a disk.

So please, be cautious.


Error reflashing Nexus S to stock Jelly Bean

what I found was that flash_all.sh actually updates the baseband version with the radio image. but rebooting from fastboot to fastboot again does not show the update in the baseband version.
so manually reboot the phone to normal boot, and try one more time going to fastboot and do the update.


Wearing down battery as fast as possible

Enable your GPS and use navigator to some location you are not going to that is far away. Then watch a movie on your phone with brightness on max.

This will get the job done.


Will updating an app with a sideloaded apk delete app data?

No. If you don't uninstall the existing app, and you use adb install to install the new APK, the existing app data will be preserved.

Note that you can only do this if the package names match and the old and new APKs are signed with the same developer certificate:

If the package names don't match, then both versions will be installed side-by-side, and the new one won't have access to the old one's data. This might happen if the developer has slightly different variants for the app depending on the distribution channel (e.g. a variant for Google Play, and another for direct APK download).
If the signatures don't match, then installation will fail with an error message telling you that's what went wrong. The only way to fix that is to use an APK signed by the original developer.


How can I add and edit bookmarks within a PDF on Android?

Direct editing of PDF content is something hard to achieve. As far as I know, the only solution for this is Qoppa PDF Notes. However: bookmarks (create & edit) and annotations (also create & edit) are possible.

The best eBook-Reader on Android, also known as Moon+ Reader Pro, supports this not only for PDF (Pro only!) -- but also for EPUB and other formats (Pro & Free). Another popular solution (PDF only) is ezPDF.

For more solutions, you might consult the Playstore, and check with the descriptions. The keywords are "bookmark" and "annotation".

Another Q&A here which might prove interesting to you is: Is there any software for Tablets to edit PDF or PS -files?


How to fix "mount: 'remount'->'/system': No such file or directory"?

You  have added a space between the two options you passed: rw and remount. You need to remove space after the comma , and then repeat the command like this:

mount -o rw,remount /system

This should work. Tested on OnePlus 6.


How to create a link on Android without installing a 3rd party app?

That "thing" is called "Homescreen" or "Launcher" (depending on what aspect of it is addressed). And you can long-press an empty space on it, then select to add an app, shortcut, or widget. Selecting "app" should list up all available apps, so you can pick the one you want on your homescreen. That's it, you should now find an icon on your homescreen to launch the app.

A second way to achieve the same is to open the app drawer, and long-press the icon of the app you want to add to your homescreen. Usually, the drawer then "blends out", and you should see your home screen(s). Still holding the icon pressed, move it to the place where you want it to be, then let it go.

One more hint: The homescreen cannot be handled via "symbolic links" from within the file system. Which shortcut exists on which screen and at what position etc. is stored in the app preferences of the homescreen.


Homemade update Sony Xperia to Android 6.0 Marshmallow and DRM restoration

If you have a backup of your ta partition running a specific firmware it is for that specific firmware. Firmware in this case means the specific version of your firmware (e.g. build number). You cannot restore it.


Unable to reach Google Play does not recognize my device

The following worked for me, but requires root:

install Total Commander
open it
browse to /system/etc
look for a file named hosts
long-press the file, then chose to edit it via the CMD editor
comment out the second line (place a # in front of the digit)
save the file (approve superuser request for Total Commander when asked for)

Now the problem should be solved!


Basically, it involves exploiting some vulnerabilities(for example, a buffer overflow) in Linux kernel to gain advanced privileges. The exact technique used varies with devices and Android versions. This Stackoverflow answer should give some idea. Androidcentral has a page that gives more information on root.


Android Wear smartwatch Samsung Gear Live won't turn on, while charging

most of the time they will charge from a laptop usb and not an outlet.Also if you take it apart and disconnect the battery it will fire up 90 percent of the time.


I too have a HTC DNA but did not want to root my phone so I just did it the "non-root" way with https://play.google.com/store/apps/details?id=burrows.apps.busybox.

This way I am not voiding any boot-loaders or warranties.

Required:
✔ Android Terminal Emulator Application
After having a rooted phone for years, I know that there are plenty of applications that allow users to customize their phones; however, when I recently bought a brand new phone this year, I decided not to root it and I realized the main reason for rooting my phone was simply to obtain more linux tools. I made this simple application in order to help users simply install BusyBox without the hassle of being rooted!
All binaries are installed in: /data/data/burrows.apps.busybox/app_busybox/
In Terminal Emulator, Preferences: Initial command: export PATH=$PATH:/data/data/burrows.apps.busybox/app_busybox/
Provided extra Binaries:
✔ add-property-tag
✔ backup
✔ bash
✔ btool
✔ check-lost+found
✔ dexdump
✔ drm1_func_test
✔ hcidump
✔ hcitool
✔ iwmulticall
✔ latencytop
✔ librank
✔ micro_bench
✔ multitouch
✔ nano
✔ opcontrol
✔ openvpn
✔ oprofiled
✔ procmem
✔ procrank
✔ rawbu
✔ run_backup
✔ run_restore
✔ sane_schedstat
✔ scheduler
✔ scp
✔ showmap
✔ showslab
✔ sqlite3
✔ ssh
✔ ssmgrd
✔ strace
How to use BusyBox Non-root:
✔ Step 1: Click on "Install" to install BusyBox
✔ Step 2: Open your Terminal and change directory to the path!
Permissions requested:
✔ Internet: Download BusyBox (make sure you are on WiFi!)
✔ Script: Add PATH to Terminal

Regards,


Where does Lollipop stores notification log?

The historical record is stored in memory, and is not directly available in the service API (as far as I'm aware). The Settings activity accesses it through the NotificationService.getHistoricalNotifications() method, but this method is not exposed in the NotificationManager API (only getActiveNotifications() is). You might be able to do it through reflection (not tested) but you definitely will not be able to find a file with this information. My understanding of most apps that display these records is that they actually keep their own list somewhere, and add new items as they are posted. Hence, they would not be able to access your historical record from before the time of installation.

All of the logic for managing the queue is in the NotificationManagerService$Archive inner class. The gist of it is that when a new notification comes in, the system sends it to the the service which then calls Archive.record(notification). By default, AOSP has the configuration set so that the Archive will hold a maximum of 100 records, then it will start popping the front item from the queue each time a new one is added.

Your only real option here is likely going to be polling the output of either adb dumpsys or the NotificationManager.


Moving Chrome saved passwords to Brave browser

So far, not yet. The Brave Dev team said it's on the roadmap, there are several overlapping issues (with sync, bookmarks, general browser data and specific password import/sync) but there has been no feedback from the Devs on an implementation timeline. Very frustrating. Brave is a great browser and has lots of potential, but if it's to compete with the other browsers it has to include basic features that users expect. Password sync, or at least import and export on mobile/laptop/desktop, is one of them. Payment, Address and other browser data would actually make it comparable to other browsers...


First, avoid downloading APKs of the apps, always install from Google Play. To access the downloaded APK, open your phone's file manager or install one (like ES File Explorer). Navigate to the path where you have saved the APK file, and just tap the APK file. It will take you to the installation process.


Display screen keeps waking up when locked

It seems like others have had this problem as well:

http://www.reddit.com/r/GalaxyNexus/comments/19y0a9/galaxy_nexus_screen_turn_on_durring_lock_screen/
http://productforums.google.com/forum/#!topic/mobile/PA5JZH-Oj4o
http://code.google.com/p/android/issues/detail?id=39625

It is a bug in Android 4.2, specifically with the Samsung Galaxy Nexus. I imagine you recently updated your phone, which is why it has only been occurring as of late.

It looks like the cause is from app notifications being pushed to the device and waking it up. Here are some common apps that have been known to cause this problem:

WeChat
Sleep Mode apps
MX Player
DropSync

Disabling auto-sync has also been known to solve this problem:

  settings> data usage> and disable auto sync and restrict background data

Some people have also had success just doing a factory reset.

A lot of people have had a lot of success getting rid of this problem by reverting back to 4.1.2.

Others have followed this approach and had a lot of success:

  I had this same problem and I tried disabling apps, uninstalling apps, and factory resetting all with no success.  What fixed it for me was taking a very small flat-head screwdriver and gently bending the pins of the micro USB connector up (towards the screen side).
  Over time and through usage, those pins got bent downward, away from the screen side.  I think this created some kind of electrical short.  I tried this because when the phone was plugged in, the screen stayed asleep.
  My GNex is now working perfectly again.  I hope this helps someone!

  HOW TO FIX PROBLEM
  The problem is that the hooks inside your charging port are too close to the bottom. Therefore with a small knife or needle, life the middle part up nearer to the screen and Voila! Your problem should be fixed. Its not the software. Its the hardware .

This seems to be a very weird problem with a lot of different causes. Some people have had success with removing or modifying the software, other people think that it's the pin problem. If you get any of these solutions to work, let me know. Hope this helps!

John


Why does the Nexus 7 have a notification bar?

Apparently, in the SDK the 7" form factor has the phone layout and tablet apps. The 10" form factor will still be tablet layout and tablet apps. I also heard that in 4.1 they expanded the functionality of the notification area so that notifications can do more (e.g. Reply to sms from notification area). I don't know how true that is though.


Android 6.0 Marshmallow SD Card Not mounting

I had to do factory reset , after this the sdcard was mounted


In my keyboard, is there a way to advance or backup the insertion point?

I don't know about the stock keyboard but in Swiftkey and Kii keyboard(a wonderful and free alternative to stock keyboard and Swiftkey) you and enable arrow keys, ie → ← ↑ ↓. I think this might be what you're looking for.


SAMSUNG GALAXY S DUOS 2 (GT-S7582) turning on for 2 second only

I found a solution - I just cleaned the battery node and it's working 100%

After removing the battery, on top you will find three battery charging points (nodes), take a pin or any screw driver (or similar) and scrape on the three points and then clean the surface.

Now insert the battery on mobile then switch ON.


Upload contacts from Nokia to LG Optimus L5: phone numbers in notes field

I had manually exported contacts to Google CSV, uploaded to Google Spreadsheets.
Edited manually table by copying comments column to phone number column, deleted extra text, upload CSV to contacts again


Geometry Dash custom songs download location

You'll need root access to find the folder.

Steps:

Root your phone
Install an application like ES File Explorer that has the root explorer function.
Go to /data/data/com.robtopx.geometryjump/files
Paste song, name of song must be song ID (Newgrounds)

Note: If you don't see the folders after /data/data, then either the file explorer doesn't support root explorer or your device is not rooted.


Increase 30 seconds lock time after incorrect attempts

As suggested by others in their previous comments, there is currently no application which would do that for you without requiring your phone to be rooted first.

LockScreen Tweakbox (which is a module for the Xposed framework) can do this for you. However you need your phone to be rooted, plus, you will also need to install a custom recovery.

(Xposed Announcement for Android v5/6 + FAQ)
http://www.xda-developers.com/xposed-framework-for-android-lollipop-is-here/

(Download Xposed Framework for Android v5/6)
http://forum.xda-developers.com/showthread.php?t=3034811

(The actual module, which can only be installed an used once the Xposed Framework is installed and setup properly)
http://forum.xda-developers.com/xposed/modules/mod-lockscreen-tweakbox-various-t2843945

However, if you choose to root your phone and go through this solution, remember to take a proper Nandroid backup and a backup of your current "boot.img". This is important and will save you a headache later on, in case something goes wrong during the process, which sometimes does happen, unfortunately.


How to find what model of Galaxy Nexus I have?

"Galaxy Nexus" is the full name of your model. The Nexus 4, Nexus 7, etc are all different models entirely. The only portion of the naming convention that is shared is Nexus; the "Galaxy" moniker is one that Samsung likes to use for its phones, and thus they applied it to one of the Nexus phones that they produced. If you were to refer to the line of devices as a group, you would therefore call them Nexus devices, not Galaxy Nexus devices, as the Galaxy Nexus is simply one model in the Nexus line.

This Wikipedia article has a list of all Nexus devices released to date, along with links to pages specific to those devices. As you can see, "Galaxy Nexus" is listed between its predecessor (the Nexus S) and its successor (the Nexus 4). The HSPA+ variant sold on Google Play was given the codename "maguro". There are also other variants of the Galaxy Nexus for other carriers, so you can generally know which variant you have based on which carrier you use it with (or purchased it from).


How can I do a screen recording on the S3?

Most screen recording applications require rooting your phone, unfortunately.

You can try EASY screen recorder NO ROOT (paid version here): it is the most well-rated screen recording application that does not need root I am aware of.

A few other applications:


Ignored 5.0 OTA update on nexus 4 now can't get it back

I have found sources {1} {2} {3} that say doing the following can force an OTA, but YMMV.

Go to Settings > Apps
scroll down to Google Services Framework
select that app

Clear data
Clear cache
Force stop
Now go in to Settings > About > System Update and check for an update.


How do I enable Mobile Data only for select apps on a rooted phone?

As you are rooted, you can use DroidWall to control network access on a per app basis.

From the Market page:

  Front-end application for the iptables Linux firewall.
  Allows you to restrict which apps can access the network.
  This is the perfect solution if you don't have an unlimited data plan, or just wants to see your battery lasting longer.


Try Shift + Space Bar
It works with Samsung TabS on Logitech Keyboard


How to install US/European ROM on Chinese Galaxy S7 Edge?

European/US ROMs have to be ported in order to work, but there isn't one that I know of, since the majority of us Chinese value Samsung Pay heavily, and with a non-stock ROM Samsung Pay capability is bombed.

However, at the same time, the G9350 variant is also sold in Hong Kong, which has GAPPS, is more internationalized (presumably with English), and with no hardware difference. You could try out one of its factory firmwares by flashing it via Odin. Brief guidance is on the download page.

EDIT: I've seen your screenshot - from the baseband version, it's quite obvious that your device is not a G9350 - rather, a G935V (Verizon variant) flashed with ported G9350 firmware (see what I said about ported firmwares?). In this case you need to go with G935V factory firmwares.


Change predefined SMS messages as a reply to being busy

You can edit them by going to:

Dialer (Phone app) -> Settings -> Quick Responses

I have tested it on Android 4.0.4 CyanogenMod 9.


The error clearly tries to write a JSON file and chokes on it. The question is now where the JSON file is located and to which app it belongs.

My first guess would be to clear the data and cache of the system app "Media storage" (com.android.providers.media). Hopefully the JSON file belongs to this app and clearing the data resets it so that it can start again from zero size.

BTW: The "memory" here means RAM - not flash memory. Therefore clearing data/caches of unrelated apps will not help in this case.


Using Apple Lossless with Google Play Music

First are you talking about storing the music on your Android device or on the Google servers?

If you are planning on streaming music to your device from the Google Music Play servers then you can't store your music in a lossless format see this page about formats on Google Play Music, and notice this line:

  FLAC, ogg, and aac files are transcoded to 320kbps mp3

However, if you want to store the music locally on your device then your question makes more sense.

There are a few ways to put ALAC music on your Android device in FLAC

Keep your library in ALAC and convert songs to FLAC as you want them. Then move the new FLAC files to your device.  A program like Max should be able to handle the conversion for you.
Convert all of your ALAC files to FLAC in place and then use fluke to enable FLAC playback support in itunes.

What option you select depends on how much you like to keep your OS free of plugins like fluke and how ofter you are moving music to and from your device.


It works as expected. After wiping data partition and rebooting to system I made encryption of data partition as I always do. Then again reboot to recovery. I copied encryption key for sdcard (with the same content, I didn't format sdcard) to /data/misc/vold and make sure that file belongs to root.

After rebooting to system again I didn't have any notification about formating sdcard. One thing I had to do: move data to sdcard. And after this step, I can see all my content on sdcard, which was mounted as adopted storage.


The answer to the question seems to be: no, there seems to be no built-in terminal, at least not in the stock Android that comes with the Nexus 6P. You'll have to install an app for that. (I've asked on our SoftwareRecs.SE sister site which got at least one great recommendation.)


With Google Now, can I ask for directions to one of my contacts?

This feature isn't available as of now. But you should frequently check the Google Now app page for such updates. This feature is available on Siri though, but that's probably irrelevant right now. In the meantime, you can still get turn by turn navigation to take you home by saying " directions to home". It'd be a good app feature though.


OnePlus 6T Did "fastboot boot" just delete all my encrypted data?

Full credit to alecxs for this answer. Posting incase anybody else has the same problem in the future.

Download stock image(Mine was oneplus.com/uk/support/softwareupgrade/details?code=9)
Use extract_android_ota_payload-master to split the payload.bin inside the zip
(Method for step 2 https://pastebin.com/RfEHuvu7 , I did this on linux because my linux machine has python2 installed, no other reason)
Flash the boot.img and boot with twrp
(Step 3 https://pastebin.com/Gp9aJq36)


Chrome error **ERR_SPDY_TRANSPORT_SECURITY** only on mobile device

SPDY is a protocol of chrome browser developed by Google. It was designed to load web pages faster and to improve web security.
However this protocol has been deprecated in favour of the HTTP/2 Standard.

  Google’s servers will likely support SPDY quite a bit longer than its
  browser, but in the long run, it will likely completely shut of SPDY
  support there, too.

Possible reasons may therefore be an outdated browser, or perhaps firewall settings (if you have installed a firewall on your device etc)

Possible ways to resolve this error:

Updating the browser

First and foremost, update the browser and check if the same error shows. Usually latest build would have fixed bugs from previous builds.

Flush sockets in your browser:

Visit this url in your Chrome browser: chrome://net-internals/#sockets
Select "Flush sockets" in top right screen (drop down arrow)

Clearing hosts  cache

To clear hosts cache of chrome, visit this url; chrome://net-internals/#dns and tap on Clear host cache button


Restore SMS icon in default home lancher?

On ICS, click on the applications icon, then select menu > edit. You can now drag-and-drop any application icon you want to the row with the default icons.

Note that you can remove the phone and contacts icons, but not the applications icon.

I'm not sure if there is a similar feature in the TouchWiz launcher on Froyo, but alternatively you can look around and install a different launcher that does allows you to customize everything. You may want to start by reading this article


/data/system/packages.xml does not update after install/uninstall of apps. Is that expected?

As per stock android code. (AOSP) packages.xml needs to have the entry for installed packages for retaining any fancy priv-app kind of configuration/overrides/updates that we do.


Even if you store Youtube video in internal, You can't use it without youtube app.

Youtube app is not a video pleayer. It is Video Streaming app.

It streams packets and The video is splitted to parts and stored in Youtube data files.

When you open it, it is actually getting Streamed rather than played.

So, if you store it in sd card, youtube won't detect the files and will not play the video at all


(Android) Launch app activity shortcuts from the command line?

Looking for an intent interceptor I came across IntentTask which is helpful for your objective. I installed Tasker, that app, setup a Task with action:

Plugin → IntentTask → Launch Shortuct → Configuration: tap pencil icon → your app → the profile.

The intent auto-populated there was:

#Intent;action=org.strongswan.android.action.START_PROFILE;l.org.strongswan.android.VPN_PROFILE_ID=1;end

You can now attach your task to a boot profile in Tasker now.

As for the command-line I tried the same intent in the command-line and it works too.

am start -a org.strongswan.android.action.START_PROFILE --el org.strongswan.android.VPN_PROFILE_ID 1

Replace 1 with the your profile's ID.


Old contacts show on my partner's phone despite erasing it on mine

It is possible that you have deleted your contacts on your phone, and not on your Gmail account.

Log on to your Gmail account at google.com, click the button at the top right, and then click more, then contacts.

From there you should be able to delete all of the contacts you no longer wish to have. Afterwards restart any devices, and refresh/sync any affected accounts. It might take a day (guessing) before the change is represented on every device.