Android won't let me change configuration file

/proc does not contain actual files, and it's not part of the /system directory. It is, as described by the Linux manual:

  The proc filesystem is a pseudo-filesystem which provides an interface to kernel data structures.  It is commonly mounted at /proc.  Most of it is read-only, but some files allow kernel variables to be changed.

In other words, it is a "virtual" filesystem that allows for file like access to certain kernel data. You cannot modify these handles by editing them the way you are hoping to.

If the data you need to change allows for modifications through /proc, it generally needs to be done using something like cat or echo to write a new value to the handle. However, according to the ALSA documentation, both /proc/asound/cards and /proc/asound/pcm are read-only structures.

You'll need to find another way to accomplish your goal, perhaps by changing some underlying configuration file that controls ALSLA on your device. On traditional Linux desktops, it's typically/etc/asound.conf, but your device's ROM may not expose these configuration settings in the same manner, or it may be hard-coded to populate the /proc entries without actually using a config file. Based on what I've seen, if your device does support the config file, it's generally in /system/etc/asound.conf.


Do I have to buy or need a 3D-enabled phone to use Google Cardboard?

I'm able to use the YouTube VR 3D app to view 3D YouTube videos on my Samsung Galaxy 4S.  I can also view Cardboard specific content with the Cardboard app on this same phone; as I understand it, Cardboard is designed to work with ordinary smart phones.


unable to connect samsung galaxy s3 via usb cable

So there are several things that could be happening.

Bad cable: it happens, not too often but often enough. Try a different cable if you can.
Improper drivers: you don't have the necessary drivers installed on your computer. Look here: http://www.samsung.com/us/support/downloads
Phone is in the wrong mode. When the phone is connected, there may be a notification telling you that it is connected, touch the notification and change the mode from MTP to PTP (or visa verca).

If those aren't it leave a comment with a few more details and I can try to help you out


messages with no tick will not be delivered to the recipient as it is not moved from your device to server.

However if it have single tick that means it is delivered to server but still if you delete that message than it will be deleted from your device as well as from the server as it is not delivered to the recipient.

If message is delivered and have two ticks that it is delivered to the recipient and you have to delete that message for both to remove messages from both devices, but that is limited to some time frame, limited to 8 seconds i guess from the time it is delivered to the recipient device.


How do I install Google Pixel Launcher on HTC U Ultra?

Google Now Launcher was Google's first public launcher, and it was shipped on Nexus phones as well as millions of other devices, which was a simpler launcher for Android Ecosystem.
The Google Now Launcher is now listed as incompatible with almost every Android device in Play store.
Google announced retirement of Google Now launcher in Feb 2017.
The current default launcher by Google is Pixel Launcher, which released for Pixel devices.

You can download google now launcher from apkmirror website, and try to install it. The last build available is of Dec 6, 2017 [link].

Pixel launcher is available on Play Store, but not available for every devices(mostly for pixel devices). But, you can download Pixel Launcher from this link.

Download apk from apkmirror website which suits with your device's  android version, architecture, screen DPI. This FAQ link may help you to find right apk for your device from apkmirror website


Android Bluetooth profiles missing with paired devices

It seems that my old Sony Xperia J phone does not have this feature: either by hardware limitations or by carrier modifications.


Try uninstalling it and instead install Wine-3.0-arm.
Wine 3.2 is a "development" version, Wine 3.0 is a "stable" version.


You can download and flash a factory image from here: https://developers.google.com/android/nexus/images#razorktu84p it also includes instructions at the top on how to do it. This will restore it completely to stock.


Is there a way to perceive vibrations more effectively when device rings?

You can try MissedReminder. It's free.

  Hate missing txt messages?This will keep notifying of new unread text
  messages

  Do you hate it when you are away from your phone or in a loud place
  and miss a text message? This app will keep notifying you when you
  have a new unread text message so you don't miss it. It is
  customizable to notify as often or as long as you want. The default
  settings will notify you every 5 minutes.


4G mobile data being used even when mobile data setting is off?

This has been happening throughout the world and is caused by a technical feature of 4G LTE. Most people don't even notice it because of the small amount of data that's used off their data plan. This is what happens: every time your phone receives or makes a voice call, it automatically switches from 4G to 3G mode due to the fact that LTE is a data-only technology. When the voice call is ended, the phone switches back to 4G mode. You may have mobile data disabled and restricted and yet this switching back and forth from 4G to 3G uses small amounts of data each time. You can prevent this from happening by setting network mode as WCDMA/GSM. So it seems that tech support guy knew exactly what he was talking about after all.


Heimdall is a open source tool, used to flash firmwares for Samsung devices. Heimdall works some kind of different from Odin.Heimdall flashes individual files where as Odin flashes a package files. PIT file in Heimdall is used to tell your device how to boot.

It is general format and are considered one of the original formats for Macintosh file for compression. (.PIT) are MAC OS files. To open file this on Windows OS use 'Smith Micro StuffIt Deluxe 2010'.


Cant change phone account on contacts android 2.3.6

I Just deleted all accounts, like facebook and dropbox. Added again and resync. Worked


Does android, specifically the HTC Incredible, support headphone volume buttons?

Definitely supported by Android, and I'd be incredibly surprised if the Incredible didn't support volume control.

I had no problem using the volume control buttons in the headset I bought for my G1. I bought mine on eBay for $7, it has no branding but was marketed as explicitly for the G1. It uses the USB plug, not the 3.5mm plug.

You might need a USB headset.

There is something specific about apple's 3.5mm jacks that doesn't play well with non-apple devices. Something about the placement of the insulating plastic bands. It is described in the answer to: Why can't I use my iPhone Headphones with my HTC Thunderbolt?

So it wouldn't surprise me if a headset from your iphone with a 3.5mm jack would not work on your Incredible. But if you buy a headset manufactured for the incredible (Ebay and Amazon appear to have plenty) and the volume controls still don't work, the problem is probably your device.


Check OpenSSL version in Android with Java runtime or shell command

grep doesn't really like binary files, but you can extract the strings from the binary and grep those using strings. This binary is not available on most stock ROMs, but you can use Busybox or a similar tool to use it on most devices.

On my device the following command lists the correct OpenSSL version used by libssl.so:

strings /system/lib/libssl.so | grep -i openssl

This gives me the following output:

OpenSSLDie
OPENSSL_cleanse
OPENSSL_DIR_read
OPENSSL_DIR_end
external/openssl/ssl/bio_ssl.c
external/openssl/ssl/d1_both.c
external/openssl/ssl/d1_enc.c
external/openssl/ssl/d1_lib.c
external/openssl/ssl/d1_pkt.c
external/openssl/ssl/d1_srtp.c
external/openssl/ssl/s23_clnt.c
external/openssl/ssl/s23_lib.c
external/openssl/ssl/s23_srvr.c
external/openssl/ssl/s2_clnt.c
external/openssl/ssl/s2_enc.c
external/openssl/ssl/s2_lib.c
external/openssl/ssl/s2_pkt.c
external/openssl/ssl/s2_srvr.c
external/openssl/ssl/s3_both.c
external/openssl/ssl/s3_cbc.c
external/openssl/ssl/s3_clnt.c
external/openssl/ssl/s3_enc.c
external/openssl/ssl/s3_lib.c
external/openssl/ssl/s3_pkt.c
external/openssl/ssl/s3_srvr.c
external/openssl/ssl/ssl_asn1.c
external/openssl/ssl/ssl_cert.c
OPENSSL_DIR_read(&ctx, '
external/openssl/ssl/ssl_ciph.c
OPENSSL_malloc Error
OpenSSL 1.0.1j 15 Oct 2014
external/openssl/ssl/ssl_lib.c
external/openssl/ssl/ssl_rsa.c
external/openssl/ssl/ssl_sess.c
external/openssl/ssl/ssl_txt.c
external/openssl/ssl/t1_enc.c
external/openssl/ssl/t1_lib.c
external/openssl/ssl/t1_reneg.c
external/openssl/ssl/tls_srp.c
DTLSv1 part of OpenSSL 1.0.1j 15 Oct 2014
SSLv2 part of OpenSSL 1.0.1j 15 Oct 2014
SSLv3 part of OpenSSL 1.0.1j 15 Oct 2014
TLSv1 part of OpenSSL 1.0.1j 15 Oct 2014

I can't confirm that this works for every device, but I see no reason why this would fail.


Where does Android get these email addresses from?

I found where they came from. I traced those emails to my google account. Basically they were stored as login information (chrome autofill)


No , you don't need to worry at all. As mentioned if there are no scratches/ cracks on your device it proves how tough these devices are in reality.

Here is an example which shows how much of actual force is required to damage any device. Taking the case of a pencil:

Think about how tough your device is ? Galaxy S4 can handle pressure of more than 130 lbs whereas this pencil was just at 80 lbs.

So, no worries your device should be absolutely fine. In this case you also had extra protection with additional hardshell case to it.


You can go into recovery mode and wipe the phone from there.

1) Make sure that you already powered off your phone before you take any further step.

2) Press and hold “Power button” and “Volume Down button” for several seconds until LG logo appear on the screen.

3) When LG logo appear, release the buttons then press them again until recovery mode loads.

You can move around in recovery mode by pressing the volume up and down buttons. There should be a wipe/reset option in recovery mode which can be used to set the phone back to default factory settings.


HTC One X - recording filters high frequencies

It doesn't say it on HTC's website under the specs for the One X, but this review points out that the phone has dual-microphones, used for sound cancellation during phone calls. My guess is perhaps your recording app is recording from the wrong microphone? Or using both to cancel out the pitch you're looking for?

I'd look for settings in your recording apps about using the dual-microphones. I don't have a phone with two, so I can't test that for you :/

Good luck though!


SELinux is a security mechanism which stops unauthorized access of processes to other processes, actions and filesystems (UNIX's "file" includes all regular files, directories, block devices, character devices, sockets etc.). Every process, file, directory and action is labeled with an SELinux context, then a policy is defined what a context can do to other context. Policy is loaded by kernel or init on every boot, and anything not defined in policy is denied by kernel. For more details see this answer.

Filesystem contexts are also generated along with policy. On Android both sepolicy and file_contexts are saved in rootfs / or /{system,vendor,odm}/etc/selinux/ directories. Filesystem contexts can be manually changed using chcon or from file_contexts using restorecon. Process can be run with a given context using runcon. init also starts all processes with a predefined seclabel in *.rc files. Some filesystem contexts are also set on every boot by using restorecon command in *.rc files.

Fix Contexts in TWRP fixes filesystem context labels from a saved /file_contexts file. But if this file is for different device or contains wrong or outdated or incomplete contexts, device may get into bootloop. Better avoid using "Fix Contexts", instead use chcon or restorecon manually if necessary. Or replace file_contexts in recovery ramdisk with an updated file from your current ROM.

EXAMPLE:

I have around 40000 policy rules on my device, one is:

~# sesearch --allow -s init -t system_data_file -c dir /sys/fs/selinux/policy
Found 1 semantic av rules:
   allow init system_data_file : dir { search read open ioctl write create getattr setattr relabelfrom relabelto mounton add_name remove_name rmdir } ;

Out of 2000+ filesystem contexts, one is:

~# grep system_data_file /system/etc/selinux/*contexts
/data(/.*)?    u:object_r:system_data_file:s0

SELinux context of init process:

~# ps -p 1 -o pid,cmd,label
  PID     CMD             LABEL
    1     /init           u:r:init:s0

SELinux context of directory containing system settings:

~# ls -dZ /data/system
u:object_r:system_data_file:s0   /data/system

So if /data/system is labeled with wrong context, init won't be able to perform search, read and open operations on the the directory and the device may bootloop.

DAC vs MAC:

SELinux is an implementation of Mandatory Access Control (MAC). Discretionary Access Control (DAC) achieves the same goal in less aggressive way by assigning UIDs/GIDs to processes and files:

~# ls -ld /data /data/system
drwxrwx--x   41 system   system        4096 Oct 21 17:40 /data
drwxrwxr-x   21 system   system        3488 Nov  9 13:36 /data/system

Permission mode and ownership explains that only processes running with UID or GID 1000 (system) will be able to read and write to the directory and normal apps (with UIDs/GIDs in range 10000 to 19999)  are not allowed to read system settings.

A drawback of DAC is that it's allowed by default and has a Super User (root  user with UID 0 is allowed to do anything). While MAC is denied by default and there is no Super Context, so it's less prone to exploits. Root user's authorities are also divided in capabilities to follow the principle of least privileges. Combined together, both DAC and MAC provide a more robust isolation, protection and sandboxing.


Does syncing gallery means sending all photos to internet?

Yes they are, but in your own Samsung Cloud Account. It is necessary for backup in case you lose/delete these pictures.


Why is a suspicious program draining my battery with GPS usage?

It's the UID of a removed app.

For such a number like 10118, it is the Unix UID for a user app (u0_a118).

There must have been a power-intensive app like a big game and you uninstalled it. Then there's nothing but its UID left, which is used in system logging.

Android does not log by app (for user apps), but its UID instead. So when you view battery usage, Android tells you the list by process UIDs, which contains one that has no app associated to it. Android cannot determine what app that UID is for, so it chooses to give you the UID directly, and that's the number you see.


How do I block packet data for background programs?

If your device is rooted you can use LBE Privacy Guard to allow/deny network access based on a per-app setting (and much more). Since I couldn't find the version I use (and shown in the screenshots) on the market minutes ago I think there's a new version of it available. But I didn't get an update via Android Market on my phone.


The reason for "phone calls" might be quite easy: Looking at the app requirements, they list "Android 1.6 or higher". With that, this permission is automatically set -- whether the developer wants it or not. Reference: Android 1.6 Changelog.

An interesting discussion on this permission can be found at StackOverflow: Android permissions: Phone Calls: read phone state and identity.

Of course this might not be the only reason. If the app e.g. lets you take "call notes" for an ongoing phone call, it might want to connect it with the contact or at least the calling number. To get the contact, it needs the number. To get the number, it needs... yes, READ_PHONE_STATE. Not using EverNote, I cannot say if it offers such a feature.

Personal Information: A possible reason for Contacts I just explained. Some additional reasons, taken from the app description, could be:

Email notes and save tweets to your Evernote account (Email taken from contacts)
Share notes with friends and colleagues via Facebook and Twitter (again, your friends data is probably stored with your contacts)
Take meeting and class notes (meetings are probably among your calendar entries, so they could be connected)
Plan a trip: keep track of travel plans, plane tickets and passports (again a clear candidate for calendar: Travel plans)

As for accounts, pick reasons from above: How to share on your Twitter and/or Facebook accounts without accessing them?

So all mentioned permissions could be easily explained. Could, as it takes some guess-work. You may be able to tell my assumptions are true if you investigate the described features. But the devs should be able to confirm or deny -- and IMHO it is their responsibility to explain.

My suggestion to developers always is: If there are sensitive permissions involved, split the connected functionality into addons/plugins. My standard example: Locus Maps. It needs internet access to load maps, that's crucial to the app. Being a navigation app, you might want it to navigate you to your friends -- so accessing your contacts makes sense. But that together with internet, well... you might be concerned. So Menion (the dev) moved this part to a (free) addon. Choice is up to you: Trust him (and install the addon), or enter all addresses manually.

And for another thing I agree with a point mentioned here a couple of times: A 4.7 star rating with almost half a million downloads, I'd say if that app were malicious, we'd have heard about.


Why does SIM toolkit not work with most custom ROMs?

Well, the SIM toolkit is initialized in 2 modes, dedicated mode and raw mode. SIM toolkit also depends on the modem you are using. If the modem does not support the dedicated mode, you won't be able to see the SIM toolkit in your UI as it sends raw data to the upper layer (URCs) in raw mode.


How do some android apps remember that this is not the first time they are being installed?

There are multiple ways to identify a unique device or its user:

Keep a file in some (non-default) directory: You already said this; apps can often write to the internal storage of a device. This method is easy, works offline and is not the easiest to spot (place the file in some system-like directory and nobody will bother deleting it).
Keep track of a devices unique ANDROID_ID (unique per fresh installation): this method is simple but requires internet access, at least on the first use. It's not very intrusive and does not persist in case of a factory reset. It's also unique per user. See this information.
IMEI: Very intrusive, unchangeable but requires a SIM-capable device. The IMEI is unique for each device, cannot be changed and doesn't follow the user, meaning that if you sell your device, the new owner will be greeted with a screen telling him that the app was already on the phone.
Follow a user's Google account: This is pretty much the same as the ANDROID_ID approach but requires explicit permission (Android 6.0+) from the user to access. Apps that take advantage of the Google account ecosystem (e.g. highscores and achievements in games) can thus follow a specific user and gain more information than just whether the app has been installed or not.

2, 3 and 4 require a network connection and a server on the side of the developer.


That is not the correct procedure. After you get the firmware you need to unzip it and from that folder run the following commands, assuming that you're on Linux:

sudo fastboot flash partition gpt.bin
sudo fastboot flash motoboot motoboot.img
sudo fastboot flash logo logo.bin
sudo fastboot flash boot boot.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img_sparsechunk.0
sudo fastboot flash system system.img_sparsechunk.1
sudo fastboot flash system system.img_sparsechunk.2
sudo fastboot flash system system.img_sparsechunk.3
sudo fastboot flash modem NON-HLOS.bin
sudo fastboot erase modemst1
sudo fastboot erase modemst2
sudo fastboot flash fsg fsg.mbn
sudo fastboot erase cache
sudo fastboot erase userdata
sudo fastboot reboot

I needed the sudo because I messed up the permissions on my USB, so maybe you won't need it. Also, I think the windows equivalent to fastboot is mfastboot.


Sync Google contact photo to Android phone

After some playing I figured it out.

I went to the App Manager - found Contacts and Contact Storage (cleared the cache from Contacts and cleared all data from Contact Storage)

After recreating my profile an automatic sync took place and all my contacts came back with associated Gmail contact photos


Google location( Find my device not accurate) can High Accuracy option cause it?

Missing out places like that is nothing to do with location accuracy and everything to do with battery life. Every time the phone has to start up a process, get a location fix, and record that position in some database or send it to the cloud, it's running your battery down a teensy bit. This might be OK for an app like Strava where users run it deliberately, and are willing to spend some battery life on getting accurate results, but it's not OK for something that's always running in the background.

For this reason, your location history doesn't actually update very often, so it's very common for arrival or departure times to be inaccurate, or even for it to miss a short visit entirely.

Changing location mode won't affect this. One solution if it's really important to have a good GPS log is to use an app specifically for this purpose. It will run down your battery if you run it for a long period. Another option is to use a dedicated handheld GPS. As a purpose-specific device, it's optimized for just this task, and doesn't have to wake up your whole phone just to record a position.


Phone makes sound when waving a credit card near it

Does your credit card have an NFC chip? The phone can read and write NFC data. It is probably activating Android Beam or S Beam.


Where to find it when it was downloaded
If you have been able to "download" the file, the most likely location to find it is either /sdcard/download or /sdcard/downloads.
It wasn't downloaded, but "saved for offline reading"
But as it turns out, the stock browser didn't give you that option, and you had to "save for offline reading" -- which is something different. In this case the file probably is stored on internal storage (below /data/data/com.android.browser). Without root you've got not many chances to access it there. So you could either try with a different browser -- or simply copy-paste the text file into some note-taking app / editor (e.g. Jota Text Editor or AmbleLink Notepad Basic Ed.).
Alternative download options
If you have to do this more often, or formatting gets lost on copy-paste, you're probably much better of with some "downloader tools". I just know about Tasker, which offers HTTP_GET actions. Depending on your ROM, the shell might provide wget (stock ROM on my Milestone 2 had this), so all you need in that case is a terminal app (e.g. Android Terminal Emulator), and there simply execute
# change to the directory where you want to store the downloaded file in
cd /sdcard/download
# get the file
wget http://www.example.com/textfile.txt

Adjust that to your needs, of course :)
Special downloader apps
Other alternatives would include special "Downloader Apps", like e.g. Download All Files or Easy Downloader, which you might want to give a try.


You can use an alternate Dialing app like Dialer One or GoContacts. What you're looking for is a T9 dialer.


Does adb backup/restore still work because it says it's deprecated?

Deprecated means it is fully functional but may be removed in future versions. Google of course prefers that their cloud is used so that they still control access to the backup data.
However adb backup has a problem with app that disallow backup via it's AndroidManifest.xml. The main problem you don't get any warnings or errors for such apps. hence it is totally unclear if a backup was successful by just looking at the messages printed on the console while creating the backup.
From an app perspective there is also the way to allow only partial backups. By a configuration file the ap can specify certain paths or file types to be included or excluded from backup.
Therefore my recommendations is to backup only single apps without APK. Based on the size of the created backup archive you can see if the backup was potentially successful or not.
An alternative is to create a full backup (with or without APKs) and in the end convert the created backup archive using Android Backup Extractor to a tar archive and check that archive for the most relevant apps what files have been backuped.


SP Flash Tool | Error. Status_preloader_invalid

The problem was the scatter file. Using a correct one fixed the problem.


Android phone discharges when it has 20%

There are rumours on bad battery stats being able to cause this, and recommend "battery calibration". If your device is rooted, you could try that (it certainly cannot hurt or cause damage) -- though other sources doubt that theory, there are several apps on the market to help you with the calibration process (e.g. Battery Calibration).

Background: The system learns about the battery state, to understand it better with the time. So if it learned wrong, it might think "hm, battery should still be good, 20%" -- while it's already empty. Then the battery suddenly does not provide enough juice -- and the phone turns off.

It also works the other way around, according to reports, where the device kept running for 2 hours on 1% charge...

Edit: You might also want to check battery - Why does my Nexus One power off with 15% power remaining? - Android Enthusiasts


The people over at XDA-developers.com will tell you: you don't need a task killer!

Why? Well you see RAM only uses up energy when you change what's in it, so actually the act of 'cleaning' up costs you more than keeping it in memory.

The only apps I would recommend closing are those that require internet access and/or sync often. This includes various games, social networks and your email.

Update: I would add GPS apps to the list of ones you want to keep an eye on, although these generally have explicit "exit" options, and so don't require killing either.

For the rest, it's best to let Froyo decide for you!


use this app to check pesent logging apps on your phone http://forum.xda-developers.com/showpost.php?p=17612559
if your phone is not a htc only one or two should show up, tombstones (crash dumps for kernel panics and such) and, flash Player (if installed)
possibly google services would show up but that would be googles av scanner built into google services

for htc devices another would show up for htc usage logs


Can I ensure an installed application only runs when I open it?

So you want to ensure that certain apps do not start themselves automatically. There are several apps available to control auto-start behavior. The currently best ranked app is Brevent – available in the Playstore as well as in my F-Droid repo. Other than most other apps, this app does not require root to do its job.

Ensuring the app doesn't start unless you tell it to also makes sure it does not consume any resources (except for space on storage) unless you explicitly run it.


How to set Android home screen grid size to 6*6

You can try using another launcher. Nova Launcher for example allows to set 6x6 grid.
After installing, long-press on the home screen, select settings. When the settings open, click Home Screen -> Desktop grid, set it to 6x6.
There are other launchers that can also do it. Just search on your favorite app store.


How can I install Skype on my Acme tablet?

If you don't want to/can't install the market on your tablet, you can download the .apk file for an app either directly from a website on your tablet or download it on your PC and then transfer it to your tablet.  After that you can use any file manager to navigate to the APK and then click on it to install it (you have to have third party app installation turned on).

I usually get my APKs at Android Community for Devs


How can I run an installed system application that doesn't appear in the app list?

Is there a way I can just run these apps instead?

If I were you and see such apps that are not in the Apps list, then I would take a look at AndroidManifest.xml inside the .apk (Extract by touch holding file under Es File Explorer → More →Open →ES Zip Viewer → Select .xml file and Extract, and view using Axel).

I would first try to see the activities registered under action.intent.action.MAIN e.g. for a file named Galaxy4.apk the associated activity name is .Galaxy4.

Relevant output from Axel:

<activity
    android:theme="@id/0x01030006"
    android:label="@id/0x7F060000"
    android:name=".Galaxy4"
    android:launchMode="3">

   <intent-filter>
     <action android:name="android.intent.action.MAIN"/>
   </intent-filter>
</activity>

What's next to do? Fire up ADB or a terminal app and type:

am start -a android.intent.action.MAIN -n com.android.galaxy4/.Galaxy4

This command launched the app with its default activity. What's more? I realized that this .apk was actually a live wallpaper native to Android and can be accessed inside Wallpaper settings. Now it makes sense why it isn't needed in the Apps list.

Your case probably would differ and so, type am to see various parameters that it has. You may also take a look here and here.


How to see additional email folders from corporate account email?

The folders are already there, by default your Inbox is shown, while inside your Inbox, choose Menu => Folders and you will see a list of all your corporate folders.  Pick one to switch to viewing it.


How to see if Knox is tripped on Samsung S6 Edge?

Turn off the device.  While device is off, Press the Power button, Volume Down, and Home buttons and hold until you see a Warning screen, press Volume Up (continue).  At the top left of the screen you'll see "Knox Warranty Void: X (0x000X)" where X is the number of times Knox has been tripped.  Your screen will say Do Not Turn Off Target, to reboot your phone safely at this point, hold the Power and Volume Down keys until your phone screen goes black and starts to reboot.


How to enable Samsung Galaxy Tab S3 Back Button Gesture

I found what is almost what I want at:

Read https://beebom.com/how-get-iphone-like-swipe-back-gesture-android/ and follow the instructions.

But I would like to hear a better answer which is for Samsung, or someone, to simply re-enable the S-pen gesture support in the newer tablets as the old tablets had.


Where can I find my Android applications?

The /data/app-private directory is another location of 3rd-party protected apps.  System apps that come pre-installed with the ROM are stored in a read-only /system/app directory.

/data/dalvik-cache contains optimized bytecode for each installed app, which allows the system to launch it faster.  These ...@classes.dex files get generated at installation/update time, or during the first boot-up for pre-installed apps.

Also, with Android 2.2 Google introduced ability to move apps to the SD Card.  When you do this, a new virtual mount point is created under /dev/block/dm-X (where "X" is a sequential number starting with 1) which points to /mnt/asec/xx.yy-1.

/data/data/ folder contains settings, preferences and cache for all apps, each within its own folder named after the package name.  E.g. /data/data/xx.yyy/.


How are Googles OTA (over the air) updates delivered/notified?

So I tried to "Clear Data", instead of just "Clear Cache" in the Google Service Framework (and Forced Stop).

I then ran the checkin again (Dial *#*#2432546#*#* in the phone app), and now I'm being shown the new Android 4.3 System Update.


Cleaner asks to delete some files. How do I know what these files are?

Well, each of these things mean something. I hope. Its an app, right? ;)

Well,

Cache is, well, your device's cache. Too frequent cleaning this is a tad counter-active, as most apps will immediately fill this back up. Its like trying to dry a towel. Outside. In a heavy rain.

Junk, Memory junk, AD junk - Stuff you dont need, and is an actual waste of space. Its like rubbish piling up in a bin, and apps will fill this back up, but not very quickly.
To elaborate:

Junk Is general backfill of files that are not needed often, but may not necessarily be cache. For instance, You may need a backup script once every years its used that rarely, it may be considered junk. Keep in note many apps have different meanings for junk.
Memory Junk is basically the Cache-again. I don't know why, really, it may be a double wipe, which is still a tad pointless
AD Junk is a rarer one. Normally, ad's (or adverts, for those who are not fans of acronyms) are downloaded as needed, then removed from the system after. Some apps, however coughapitoidecough like to clog up the storage by saving every AD (and thumbnail) it has available.

Residual Files are files that were useful, but not anymore. For example, residual files can include your minecraft worlds file AFTER you uninstalled MCPE. Wipe them unless you are planning to re-install the app they belong to.

System Temp Files is stuff like logs and such which can be useful to a modder or debugger, but otherwise can be a tad space-hogging. Never by much though. As the term "temp" suggests, these are files that were of temporary interest to some system app but obviously forgotten to delete afterwards.

Obsolete apks. Oh boy. When Your cleaner app (It sounds like Avast Cleanup, but this still applies regardless) says this, it means apks that you have already used to install an app, so ASSUMES they are no longer needed. If you backup your apps, however, It will probably think they are obsolete and delete them.

Big files are ALL files on the internal storage that pass a certain size, which is either 10Mb or 30Mb (so not that big). Dont worry, this is disabled by default, so you will have to tell it what to wipe exactly here. (Or just tell it to delete all big files, and do a pseudo-factory reset.)

Hope it helps!

Credit to Izzy, who reminded me that obsolete apps can mean backups to cleaners(and polishing the answer) (Izzy did NOT add that bit) and to the Death Mask Salesman, for pointing out how pointless cache cleaning can be.

The answer is tagged as community wiki, so feel free to tweak and modify it!


How is my friend bypassing Applock application

One possible answer can be that he is killing the application process that is protecting your device. One possible way is that he goes to Settings->Apps->[applock_application] and then Force Stop it.

Go to this link for more detail.


There's an app here that allows you to do that according to the description (along with many more things): https://market.android.com/details?id=com.androidlost&hl=en

If you want to code your own application then you'll want to check out this Intent and the two Intents below it (ACTION_BATTERY_LOW, ACTION_BATTERY_OKAY):
http://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED

And this class which has what the Intent contains:
http://developer.android.com/reference/android/os/BatteryManager.html

You could have your application pick up the ACTION_BATTERY_LOW Intent and then send a message to you warning you about the status.

I'm assuming you've done some Android development before, if not then get the basics down before coming back and trying to code your battery app.


I've heard of this tool. It doesn't seem to be complicated to use.

Also, I've heard of this one that requires rooting the phone.

Just to let you know, I didn't test them, so I can't say if they meet the expectations. I would choose the first one, because it apparently does not require root (and, the second one is not available in my country). However, since you have already rooted your phone, you can try either one (or maybe any other different app).


There are some possibilities, however both a far beyond scripting and falls more into the development section:

Check the network traffic. If it is an online game it has to receive and send data to the server. If you can sniff that data you know in what state the game is
An app with root permission can get access to the memory of another app. If you know where to look you can find all the data the app contains in it's memory and therefore get info on the game state.


In using a VNC to control a computer, is it possible to have the cursor go to where you touch?

The app has multiple input modes. In the default, tapping the display moves and clicks the mouse. In another mode, the display acts like a trackpad, so dragging along the screen causes the mouse to move accordingly on the remote system. See the "input modes" sections of the documentation for details. You can change the input mode from the app menu without disconnecting.


Can any computer connect to a SSH server running on an android phone connected to a wireless mobile network?

For running a SSH server on a Smartphone connected via mobile data to the Internet you need a public IP address on the mobile network interface.

You can simple check if your IP is a public one: Enable mobile data and disable Wifi on your phone and check the IP address you have (Phone status in Android settings). If the IP address starts with 10.x.x.x or 192.168.x.x it is obviously a private IP address. If not open your web browser on the phone and go to https://www.whatismyip.com. Compare the IP address shown there with the one one in your phone settings. If they match your IP is a public one.

Unless you have a special mobile data plan, the majority of mobile network operators (MSO) will not assign your device a public IP address. Instead you are getting a private IP address that needs to pass a NAT gateway running in the MNO's network. The main reason for this situation is that the IPv4 addresses are rare - most MNOs don't have enough IPv4 addresses to assign every mobile device a public IPv4 address.

Some MNO offer special data plans with a public IP address - usually only for business customers and with higher prices.

The whole situation is similar to a Smartphone connected to a Wifi in a network with a NAT router that is connected via DSL/cable to the Internet. But in difference the NAT router is not accessible so that nobody can open up ports (port forwarding) to make a service accessible running on a system in the network behind the NAT router.


Change input from analog to digital clock in Google apps

Sadly, it's not possible to use a keyboard with this new type of time picker, because it is not a feature of this mode ("clock", right image) of the control. But if the developer of an app showing the time picker uses the classic mode ("spinner", left image) which is still present in newer APIs (21+), you can use the keyboard.

Maybe if you give feedback about this annoyance to Google, they will enable the use of keyboard as an alternative to manually selecting the numbers in the radial clock for newer versions of Android.


DroidX data encryption - which algorithm and how strong?

Apparently, DroidX uses ecryptfs

Following are mount options on /data/data:

rw,nosuid,nodev,noatime,nodiratime,ecryptfs_sig=****************,
    ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_passthrough

I would imagine this means that encryption key here is 32 bytes, which is 256 bits, which seems pretty good to me.


I can't get any of the Android Virtual Devices started

user3262360,

Try the following:

Configure the AVD to have 512k RAM
Assign 8 GB to SD space.
Keep internal storage at 200MiB.
Uncheck the box for GPU accelaration.

Start the AVD and wait at least five minutes to give enough time for the new AVD device to load and display the Android unlock screen.


YouTube 360 videos will play but the view is stationary

To watch 360° videos your phone should support a gyroscope sensor. A gyroscope gives the phone's pitch tilt and yaw, which is needed by the YouTube app to properly rotate the view on display.


How can I make sure I've quit a specific app?

That's the thing about the Android OS. A "quit" or "exit" button is not really necessary.  Why? Because the operating system automatically kills applications that are no longer used. For this same reason, there is no need to install a task killer or similar. When you're done with an application, the OS will clean things up for you so you don't have to worry about it.


First - as you  are probably aware now.  You NEVER click on a link from an unknown source. I repeat - NEVER. Next time, just close the window without clicking on any links Second - if you can't figure out which malware app was installed , you need to consider doing a factory reset on your phone to eliminate all threats.   A factory reset will erase the data (Text messages, photos, videos, settings, everything on your phone will be removed in the reset process.).... I would do it anyway just to be certain that I got it all.  You may be able to backup any pictures or video.  The easy way to reset is to go to Settings -> backup and recovery -> Reset Device -> Erase everything.


What counts as "Connected Media" for the Music player?

From the HTC Support Page:

What is Connected Media and how do I use it?
This is a new application that allows you to play pictures, music and videos stored on your phone or on a media server to DLNA supported device such as a TV, Music player or even speakers. To access Connected Media All programs (button on the lower-left of the screen) > Connected Media.

So, anything that is DLNA compliant should show up as a connected device.
Here is more information on Connected Media from HTC.


A friend of mine told me, each app is running inside its own Dalvik instance (Sandbox) also apps may use additional libraries, but this memory is not shown in the list of running or cached apps. Hence the size given their must be interpreted carefully. He also said, that in case more memory is needed, Android should close some of these apps to free some memory.


To get into recovery mode for this Samsung device. The correct button combination to push is

  Power button + Home button + volume Down button at the same time

The same combination but with volume up instead. Will take you into Odin/Download mode.


I believe this XDA forum post will give you a good head start.  Note: this is written for the Sapphire.

Compiling and flashing a Kernel for the N1.

Another guide from XDA forums.

Compiling systems apps.


I Think you can't disable this.But if you search for the code "who" is start that on pc or as root user can be a way tó disable this.Sorry for my errors i am in hungary country/Magyarország
Have a nice day!


Why do so many applications try to get the SIM and network operator name?

I have read that Android applications created through a standard method are set by the creating software to ask for certain permissions by default, even if the developer did not pick them. The permissions you mention may be among those. So the developer might not be interested in them at all.


Upgrade android 4.2.2 to 4.4 (MHTMID-B718DC8 DualCore-A23)

There are a lot of custom Android ROMs out there, you need to find one that was made for your specific device. XDA-developpers and FreakTab are good places to look. Flashing requires a few utilities, but it is a fairly straight-forward process. Whomever made a custom ROM for your device would tell you the specific flashing procedure and utilities for your tablet.

Your first step is to find a custom ROM that was made for your specific tablet. I still run custom KitKat ROMs on a couple of old phones.


I accidentally started the download/install process for the Android 11 beta, can I cancel it?

I kept my android 10 phone off for some time. Finally, now that Android 11 is official, I found that the phone is still on Android 10, and now it only provides an option to upgrade to Android 11, but has not forcibly upgraded my phone.
So I guess one answer to my question would have been: Just wait till Android 11 comes out of beta, and then the download process for Android 11 beta would automatically stop.


I fixed the libusbx error
libusbx: error [op_set_interface] setintf failed error -1 errno 71 by following these instructions:

 echo "blacklist cdc_acm" >/etc/modprobe.d/cdc_acm-blacklist.conf
 rmmod cdc_acm # ignore ERROR is not currently loaded

After that the "Setting up interface..." step passed well for me.


Allow "unknown sources" from Terminal without going to Settings App?

As mentioned in the comments by OP, SQLite Editor is fit for the job. Following solutions tested on Stock Android 4.2.1 and 4.4.2.

Instructions for  root users:

Install and launch SQLite Editor from Play Store.
Under APPS, tap Settings Storage → settings.db → global.
Tap install_non_market_apps  → click pencil icon (at the top) to edit it and change the Value to 1.
The changes took effect immediately in my device. Otherwise, restart and Unknown Sources would be found enabled.

(Source)

Instructions for non-root users:

Install ADB in your PC, connect your device, and enter:

adb shell settings put global install_non_market_apps 1

Unknown Sources would now be enabled. (Source)
Change the last command's value to 0 to disable the Unknown Sources.


How to stream audio from PC to Android Device over Bluetooth

Dev0 and hello are correct - no you cannot connect using your Android device as a A2DP sink given the standard Android bluetooth stack. Stack Overflow user Dennis Mathews explains why:

  You may not be able to [create an A2DP connection] manually between 2 phones also because to stream one device needs to be A2DP sink and other other A2DP source; phones are typically only source devices (source of the stream that can stream to sink devices), sinks are headsets or Bluetooth speakers.

He and the OP briefly discuss options for replacing the stack but their conversation dies without a concrete answer...as it seems several other similar questions around the web do. XDA user zelendel, in general, isn't very hopeful about the matter - when asked if it was possible to replace the bluetooth stack he responded:

  Simple answer is no. You can try a CM based rom that gives you those options but the stacks can't be swapped due to driver problems. It is a give and take. The Default has better strength and range but is missing a few unneeded option (PO), while CM uses Bluz stack which gives you the option but you lose some BT signal strength and range.

Sorry, it seems to me you're out of luck.


This sounds like a hotspot, not a usual password-protected network. If, once you connect, it doesn't tell you to sign in but you know you must pass the registration for the further access to internet, open any internet page... and it will redirect you to the signing screen, if the network is really protected.


How to clear blank entries from Titanium Backup (pro)?

Your screenshot suggests you simply uninstalled those apps. In TB, hit the menu button, select "batch processing", scroll to the end of the list. There you'll find "Delete Backups". Second item in that section should read "Delete backups of uninstalled apps" (or the like -- I run a localized version, was just back-translating). That should get you rid of those "striked" entries.

For more details (as well as solution to other TB-related issues), you might want to visit the Titanium Backup Knowledge Base, which provides you with a user's guide, FAQ, troubleshooting tips, How-Tos, and more.

As for the one circled entry, the linked knowledge-base a.o. states:

  You can easily remove orphan data by running the “Remove orphan data” batch job.


Android mail client not deleting emails on IMAP server

Unbelievably this bug is still outstanding as of Android 4.0.4.

http://code.google.com/p/android/issues/detail?id=1029

The only fix for this is to use a different email app. Most people end up switching to GMail.

Not happy. I miss my Nokia N900.


According to the web page that you linked, your phone has the following specs:

mtk6516 416 MHz CPU
512 MB ROM
256 MB RAM
Screen HVGA 800 x 480

The Skype FAQ says:

  What do I need to run Skype on my Android phone?

  To run Skype on your Android phone, you will need a supported phone
  running Android OS version 2.1 or above with least 27MB of free memory
  space on your handset and 600Mhz or more processing power. The
  supported screen resolutions are 320x240, 240x400, 320x480, 800x480
  and 850x480.

So it looks like the app doesn't support your phone's CPU (which oddly seems to be slower than the very earliest Android phones like the G1).

There is more than one official Skype app, it's possible that the one you're using isn't compatible with your phone, but another one might be. See the links in this question to find the Skype apps Can I install Skype on my xperia?


What's the default Nexus 4 indicator LED behavior?

99% of the time the LED means "new, dismissable notification". I am unsure exactly how the LED color is chosen, but it seems to be based off the homescreen icon of the app; IMO has a blue icon/LED, Messanging (texts) has a green icon/LED, and Gmail has a while icon/LED. The color is consistent each notification from the app, so you will learn which color means which sort of notification.

You can also apparently control it via applications (and presumably by tinkering with system settings somehow): Light Flow can set the colors for Nexus 4 notifications per-app. I haven't tried it myself, but it claims Nexus 4 support.

You can see (I believe) all the colors the LED can show in this (surprisingly long) video. Most of the colors chosen are easily distinct to anyone with typical color vision. If you have partial colorblindness or apps with overlapping notification colors, the notification color changing apps might be of use to you.

The LED can also Flash red when the battery is extremely low and the device won't otherwise turn on.


Disable screen lock on samsung galaxy pocket gt s5300

Simple way to remove the screenlock : No Lock

If you have forgotten your screenlock, there is an option on the loack screen for it where youc an verify your google ID that was used to setup the phone and your google id password! It will take you to reset from there. Just remember you need internet for this.

UPDATE: I realised it doesnt answer your question on how to disable it!
To disable it you would need to enter current pattern!


How can I exclude an App (camera) from the recent Apps list?

You can remove it from the list by just swiping it off. I don't know how to permanently remove it from the list, though.


How to remove duplicate phone numbers within one Android contact

It is highly recommended to use the ''Google Contacts App'' on your browser instead of the third party apps.

You can find the Google Contacts within your Gmail account as well. Else, you can just search Google contacts.

The feature allows to remove the duplicate entries of the contacts in your Google Contacts. Also, it prompts you to merge the contacts with the same name.


Is there a way to adjust the memory allocation to increase the allocation for apps?

as it stands your internal memory is unable to increase. Adding a SD card will only increase space for music, pictures and some apps.
My assumptions are that your phone is a lower end affordable device. These are plagued with smaller memory, that are almost always maxed out right out of the box. Your solutions are limited to your device and the applications you install.

One solution would be to move as many apps to your SD card as possible. The problem lies with many apps not supporting this feature.

Second solution would be to run only the apps your phone came with and not update them. Of course this is not what a user would want, and is not recommended.

The last option would be to buy a new phone with internal space of at least 4GB to not run into this trouble, of course the more internal space the better.
Also note that alot of apps use more space because higher end phones have the ability to have them installed. This leaves lower end phones in trouble because they can no longer run the apps they use to.
Sorry to be bearer of bad news, I hope this information was of help.


apps(tasks) restarting even after killing them

No, these tasks are services. And I think the developer starts the service START_STICKY which means, the service get every time restored if killed (normaly not through a taskmanager, only on low memory).
I would suggest you, to remove the task manager. Android is not designed, that the tasks get killed.  If Android need memory, the system frees the ram on it own.


Google Account Sign in atempt prevented! Cannot sign in to play store

Try heading to https://www.google.com/settings/security/lesssecureapps and seeing if you can turn on access to the application.


modify the HTC unlock system on an HTC Android 2.3.5 phone?

Long tap in your main launcher window --> (Personalize menu pops)--> click on "Display" --> Lockscreen --> Settings.

You can only switch between application, but you cannot have more than 4.


How can I get Kies to detect my Galaxy S GT-i9000 on Windows 7?

This answer doesn't seem to apply if you have a Galaxy S running the official Froyo, and the latest Kies as they seem to have fixed many of these issues now, this is mainly for if you're running an older phone OS or Kies version.

For prior versions of Kies and the Galaxy S (I don't know which upgrade is the one that fixes it) there were quite a few problems Kies had seeing phones.

Some of these problems were driver problems, you can generally fix these by using the reinstall drivers option in the Kies menu at the top-left of the Kies screen.

Kies had problems connecting properly to phones that had files on them with long file extensions (I think the problem was  if they were 16 characters or longer, but I couldn't be sure).

To get round this problem, firstly if you have an SD card in your phone, unmount, eject and remove it for the moment, this saves a lot of messing around with the contents of that card, you can plug it back in after you've done everything you need to in Kies.

Next attach your phone to your PC in Mass Storage mode, and have a hunt round on the internal SD card and internal memory for groups of files with long names and long file extensions (one particular culprit is often the pictures' thumbnails cache which sits under Android\Data\com.cooliris.media on the internal memory; you can safely delete everything in that folder, it'll get automatically regenerated next time its needed). Once you've done this, disconnect from the PC, run the My Files app, and go in and re-delete that folder if it has regenerated (if you haven't got My Files you should be able to find it in the Samsung Apps listing, if not you can use something like Astro File Manager).

Finally make sure you are actually connecting to the PC in Kies mode. depending how your phone's set you may get a list appear on the phone's screen when you plug it into your PC asking what mode to connect in, make sure you select Kies mode. If you're not seeing that menu and its automatically connecting in one mode or another, then you can go into your settings and re-enable that menu. On a Froyo Galaxy S (it was somewhere slightly different on Eclair but I can't remember where) go into Settings -> Wireless and Network -> USB Settings, and select "Ask on connection".

Of course this all depends what you want to use Kies for, if you want to backup files from the phone, look up contacts, send/manage text messages, etc then it might be worth trying out the Kies Air app that Samsung released into the Samsung store recently, this runs a website on your phone that you can connect to from a PC using your web browser over the wifi connection, this smooths out almost all of the connection problems and is actually quite a nice, handy piece of software.


I just tested my own phone by loading Dylan Reeve's web page and to my surprise the Lookout app I have installed stopped it. I guess Lookout also functions as a dialer. According to this page there is a version that supports 1.5 (although I'm not sure if that version does include protection from USSD attacks).

I haven't tried it myself but, according to this post you can download apk files from the play store to your computer. If you succeed just copy the apk to your phone manually and install.


What would it take to turn my Android phone into a full-fledged TV gaming console?

Nice idea, now I think about it, too.

I found a little list here (please feel free to edit/add):

GTA3
Muffin Knight
Pool Break
Riptide GP
ShadowGun
Shine Runner
Sonic CD
Soulcraft THD

If I find some time, I will add controller support to my game Orc Genocide. ATM, it's playable head-on-head with multitouch (useless for TV, but awesome for tablets). I will let you know.


Hy Try these links
http://forum.xda-developers.com/galaxy-nexus/help/galaxy-nexus-rebooting-t1591304
http://forum.xda-developers.com/galaxy-nexus/development/gnex-toolkit-v11-1-0-drivers-backup-t1392310
regards
Stalin
www.memorylines.tk
www.facebook.com/memorylinesblog


On Nexus devices, at least:  CF Auto-Root works by unlocking the device's boot loader via fastboot (if it isn't already unlocked), then sending the device a custom boot image (kernel and ramdisk) that it should run instead of booting from the built-in system or recovery partition.  It's analogous to booting your PC from a CD or USB drive instead of from the hard drive.

(This is a supported feature of the fastboot program included in the Android SDK; it doesn't involve any exploits.  If you look at the script that comes in the CF Auto-Root package, you'll see that it really just runs fastboot oem unlock and fastboot boot commands.)

Once the custom boot image is running, it has full access to the device (just like the built-in system software does), so it copies some files (the su program and superuser APK) into the system partition.  On recent Android versions (5.0+), it also makes some changes to the kernel's SELinux configuration that are needed to allow the root account to be functional.  Then it reboots the device so that it'll boot from the (modified) kernel and system partition.


messaging push notifications won't work after 4.3 update?

Could it be, that for some reason--aliens, loch ness, etc.--that some of the apps have "show notifications" checkbox unchecked? To check, go to Settings->Aps->whatever SMS app and see if you have a Show notifications checked.

Also, have you tried using Hangouts as a replacement for texting?


GPS readings: why is altitude inaccurate by 50m, while longitude and latitude are more precise?

It's likely due to the fact that GPS is simply not very well suited for getting precise altitude measurements, and never has been. Certainly not typical consumer-grade chips. Garmin suggests that variances of up to 400 feet are to be expected in their devices, for example. It's just a geometry problem.

With that in mind, I would doubt that Android has much of a meaningful impact here. Any GPS device will struggle to get a particularly accurate altitude reading. I suppose some apps may appear to be "more precise" than others by taking windowed averages of the altitude data or something (rather than directly surfacing the raw data to the user) but they'll all be getting the same values from the GPS chip.


Issue with Lollipop upgrade on Micromax Yureka: calling interface

Use Call recorder. I'm using Yureka and have upgraded to v5.0 and it works, as expected.


I finally figured out how to fix this.

What I did

I did a double factory reset: Nothing happened.
Downgraded to Android 4.2.2: Nothing happened.
Downgraded to Android 4.1.2: Nothing happened.
Upgraded to Android 4.3: Nothing happened.
Factory Reset: Gallery appeared!
Upgraded to Android 4.4.2: Gallery didn't disappear!


My GT-I9192 device keeps rebooting to "GALAXY" logo, even when trying to go into Recovery Mode

That happened with me too, sorry, but your phone is probably bricked. I fixed my S3 by purchasing an un-bricking device off ebay/Amazon. They look like so:

(If your phone is rooted, make sure you have the right root file (International or For a carrier) I corrupted mine because I had the international root file when my phone was sprint.)

Hope this helps!


How to run `chmod` command on boot on Android 10?

echo "chmod 666 /dev/diag" >> /system/etc/init/cameraserver.rc won't work. You need to provide an init trigger as well. For instance:

~# echo "on boot" >/etc/init/dev_diag_chmod.rc
~# echo "    chmod 666 /dev/diag" >>/etc/init/dev_diag_chmod.rc
~# chown 0.0 /etc/init/dev_diag_chmod.rc
~# chmod 0644 /etc/init/dev_diag_chmod.rc
~# chcon u:object_r:system_file:s0 /etc/init/dev_diag_chmod.rc

But even simple approach is to edit the ueventd.rc file (which is read and executed by Android's device manager) provided by vendor (since /dev/diag is a hardware specific interface) which creates the device node. Replace the relevant statement inside that file to set whatever permission mode, owner and group you want. E.g. you can replace:

/dev/diag    0660    system    system

With:

/dev/diag    0666    system    system


Keep sound from video playing in background

I personally use MX Player, and it does what you say very well. It has support for locked screen audio playback, background play of audio from videos, pop-up videos and others. Downside is that the free version is ad-supported. Also, it needs a plugin for DTS/AC3 audio.

The background play setting is not enabled by default, and has to be enabled by the user, however, the background playback of audio is enabled by default.

Click images to enlarge

The background play notification:

The background audio playback setting:


It depends on the actual android version of the ROM you flashed. it the ParanoidROM and Cyanogenmod ROM are both Android 4.2 then you don't need a new set of gapps, if there aren't then if might just be safe to get a new set of gapps


I don't think it's a bug. Google have un-intuitively moved it around in ICS. Try this.

Open Gallery> select menu button > tap "select items" > select a photo > now tap the share icon. All the sharing options should now be visible.


Swiftkey is free and works inside and outside Knox


Why does my Samsung GT-i9000 not detect USB connectivity (not a driver problem)?

How do you know it is not a driver problem?

You've tried different cables? hopefully one that is confirmed to work with another phone.

Have you tried a different computer?

If its still dead to USB- then it sounds like a hardware issue with the phone, if you're under warranty then take it back!


I had the same issue with a company I'm working with now.  I'm a consultant, and my current client has given me a corporate email address, which I synched to my phone so I'm able to view and respond to messages when I'm not at the client site.  They have a script that runs when your contract expires to send the remote wipe command.  However, I've been extended several times, and their system treats extensions as a brand new contract, thus wiping my phone every time.

Touchdown worked like a charm... it keeps your data completely seperate from the rest of your phone.  That's really the only negative, as you can't view all of your appointments (personal and corporate) on one central calendar.  This applies BOTH to the pin code AND to the remote wipe command... Since I've been extended several times, they've sent the wipe command each time and touchdown is simply wiped, not the rest of the phone.  Best 20 bucks I've ever spent.

On a social note though I do agree since this is my personal phone, they shouldn't be able to wipe ALL of my data unless the command is coming from me.  I think this is a huge miss within the native email client.


On my phone permissions and ownership looks like:

ls -las /data/misc/wifi/
12 drwxrwx---  4 wifi   wifi    4096 2017-08-14 16:30 .
 8 drwxrwx--t 39 system misc    4096 2017-08-12 20:54 ..
 8 -rw-rw----  1 system wifi      21 2017-08-14 16:30 entropy.bin
48 -rw-rw----  1 system wifi   43098 2017-08-12 22:36 hostapd.conf
 8 -rw-------  1 system system  3136 2017-08-12 23:27 ipconfig.txt
52 -rw-------  1 system system 44517 2017-08-14 16:30 networkHistory.txt
 4 -rw-rw----  1 wifi   wifi     186 2017-08-14 16:30 p2p_supplicant.conf
12 drwxrwx---  2 wifi   wifi    4096 2017-08-14 16:30 sockets
 8 -rw-------  1 system system    20 2017-08-12 22:36 softap.conf
12 drwxrwx---  2 wifi   wifi    4096 1970-01-10 00:56 wpa_supplicant
16 -rw-rw----  1 wifi   wifi   10957 2017-08-14 16:30 wpa_supplicant.conf


If you can't get into Settings, most phones have a way to factory reset with hardware buttons. You can probably find it with some googling.

If it's a Samsung phone, depending on the model, you can use Smart Switch to do an "Emergency software recovery and initialization", which completely reinstalls the phone's most recent software and firmware. Maybe other brands have something similar.


Formatted Micro SD Card as internal storage, after flashing a new build the card is unusable with any device

Use DISKPART utility to create new partitions and reformatting them. I suggest using the below procedure by inserting the card into an adapter and then into the PC.

This is the part which has no Android, but is done on Windows PC. Here we go.

First open a command prompt window with administrative rights.
An Administrator command prompt will open. Type in diskpart.
Then enter this command "list disk" without the quotes to display all active disks on your machine.
Now choose the disk which is your SDCARD using Select command "Select disk 1".
Type "clean" with no quotes. Hit enter.
Type in "create partition primary", partition will be created.
Type "Active", this will mark the partition as active.
Now, the formatting of partition in format you like, usually SDCARD is FAT32. Type "format fs=fat32 label="NAME THE CARD" quick".
Then type "assign" and then "exit".

Now you have a formatted SD CARD!


Are lower-end phones just as moddable as flagships?

You should avoid some Flagship device's...
Samsung's use a security feature called Knox, that'll make thing's harder.   Some newer androids 5.1+ will have extra security to stop system modifications...

In my opinion you are better off looking for a device that's running below Android 5.1 and uses an MTK Cpu, this is because most of the new security features to stop modifications hadn't been implemented yet.

Theirs practically no difference in the actual Android system when comparing manufacturers, if its using Android 4.4 it's the same on a more expensive device running 4.4, however their is differences when it comes to each device, some ( Samsung's use Knox ) to lock things down even more...

You should definitely be open to device suggestions because some devices are simply better for modifications.

Main Price Difference Causes

OGS - (One Glass Solutions) Screen Thickness
IPS - Viewing Angle Of Screen
CPU Capabilities - Speed & Support for games
RAM - Obvious price impact
OTG - On The Go Support - Usb Device's
Dual Camera - (Tri Camera) - Face, Back, (Focus Assist)
Back & Front Camera MP - Size of photos
Finger Print Support - Security
GPS
Gyroscope
Mobile network radio band support
Full HD - 4K Screen Definition ( Retina Display )
Full screen width ( Edge to Edge )
Other non essential enhancements....

If you don't mind about support or inclusion of any thing above and some other's, the price doesn't really matter.


I just ran into this same issue.  I think it's because I had a contact for myself in gmail that didn't match the capitalization that the gmail app (or maybe just android) uses for your personal email address (all lower case for me).

In any case, here's the steps I took that fixed it for me.  I am running Jelly Bean, so it may be a little different for you.

  Open the gmail app
  Tap the gmail icon in the top left corner and take note of the capitalization of your email address on the top left
  open an email that you sent
  Tap on the place where your picture would be (it should be a picture of the first letter of your first name)
  Tap on your profile picture in the popup to go to the contact details
  Choose "Edit" from the setting dropdown in the top right corner (the 3 vertical dots)
  Change your email address to all lower case (or maybe whatever showed up in step 2.  If one doesn't work, try the other.)
  Tap "Done" at the top left.

This fixed it inside my email.  In order to also fix it in the email list, I had to also do the following.

  Go to gmail's "App Info" page. (under Phone Settings -> Apps -> "All" tab for me)
  Tap "Clear Data" once the numbers finish calculating (and ok on the warning popup)
  Open the gmail app and wait for your emails to re-sync
  Enjoy your face you handsome devil.

Hopefully this works for you or anyone else that stumbles across this thread.


Phone wasn't used in 6 months. Is there a way to unlock it?

You can reset the device from the recovery mode. So, you will have to give up your saved data inside the phone to get rid of the pattern which you have forgotten.


How to list all major partitions with their labels?

As existing answers already show, there seems to be no "unique way" to achieve that. So I started combining ideas from allover, joining them into a script (or rather a "script library") to have them checked sequentially (until a good hit was made), and integrated that into my "Device Documentation Tool" named Adebar. Those interested can find it in the lib/partitions.lib file. As Adebar is open-source (GPLv2), feel free to copy and use it – or fork the project and improve it.

The full solution is a bit long to post here (as said, you can grab it at Github), but as our policy is to include at least the general part in the post, here's what it does:

Different sources provide different sets of details, so it tries the "best ones" first – and then recurses down until at least something was found.

/proc/dumchar_info gives the most details, so this is tried first. Happy MTK users will get this.
/proc/mtd is the second best source.
/proc/emmc should have almost as much as the previous candidates, but is a bit tricky to use
/dev/block/platform/*/by-name, cross-checked with …
/proc/partitions cross-checked with /proc/mounts gives us at least the partitions mounted

So the script I've built basically walks the sources in this order, stopping as soon as it was able to collect details (e.g. if /proc/dumchar_info was found, no need to parse all the others). All of them put into separate functions, returning data using the very same structure, one could even merge results from all of them.

If someone can come up with a better solution, I'm of course always open for the idea :)


Insufficient Storage Available when installing Google Play Services

First, turn off power on and off your phone and see if the problem still exist . If so,
Go to your storage usage located in your settings and try deleting one unimportant app
If steps #1 or #2 didn't work or go through, just simply unmount the SD card the correct way. Don't just pull it out. If you have been doing this, it is probably why it's doing that now.
If you have done these steps, it should work. If not, go to a little side store that fix phones or the mall. You can also go to your service provider and see if they can fix the problem. Otherwise, go to amazon.com and look up SD card installment kit and you should be able to pick which one you want from them.


Set up and install non play store apps to multiple devices?

Indeed there is something to make your task easier – though not in the way of "remote control all of them at once", but working sequentially. Here's a "simple approach":

Prepare your first device (let's call it "master" here): install all the apps you want to have it, set them up if needed.
Create a full ADB backup of the "master" (for details, please see Full Backup of non-rooted devices)
Now, for each device, restore that "master backup"

This should definitely work, but with a few restrictions:

it works best if all devices are of the same brand and model, running the same Android version. It might work for devices not fitting (all) these criteria, but then special care must be taken (e.g. better not include "system stuff")
limitations come up concerning some data, such as SMS, which are protected against being backed up (don't ask me why)
limitations apply to apps protecting themselves against backups (by setting the ALLOW_BACKUP flag to FALSE in their manifests)

You might be able to work around the latter two limitations by rooting the "master", installing the Xposed Framework, and use the Backup All Apps module. You then would need to fine-tune step 2 to have the backup only include the packages you want (i.e. explicitly specify/include them on the command line).


Can I use Google Cardboard with non-NFC phones?

NFC is used to auto-launch the application when inside a Google Cardboard device.

It's a way of the app to know that it is inside a cardboard device and it can launch the application in VR mode. When in VR mode, the display is split into two parts.

So, in short you can directly launch the application normally and select the cardboard demo app and then insert it inside the device.


Unable to get in Recovery Mode in AllWinner A23 tablet

Repeatedly click the power button once you have done the long press to turn device on. This should give you boot options.


You can use kingroot. It doesn't work the first time you try, it need several tries.


UDP streaming in VLC on android is supported. UDP is not a good way to stream over wifi. You will get a lot of packet loss. If you can't change that in DVB Dream, there are other applications (like TVersity for example) that can stream to android (and other devices) with no problems (or little problems) and they even transcode the video so it is in a format that is "native" to the device.


CM-14.1 compilation error on Ubuntu 32 bit

Try using a hardware debugger connected to the CPU, it will allow you to see the problem (if any) at the specific location in the memory


Navigation Bar Becomes Transparent in Recent Apps Panel

Check your styles/theme it may be u chose the full screen activity layout or the color scheme of your nav bar is set to a transparent background e.g #aa000000


Fake security message playing continuously on Galaxy 7

Find the app in Settings -> Applications, and force stop it. That should stop the app from doing anything. Restarting the app should hopefully allow you to continue using it without issue.

Sometimes apps will continue playing audio in the background, and unfortunately this applies to ads as well.


Reverse tethering via Bluetooth: How to share PC internet connectivity with android phone via Bluetooth

This is a good question which myself  couldn't get a satisfactory solution. This solution posted here seemed promising although I found out the bluetooth stack supports fewer bluetooth adapters and also some link was taken down.

Having said that, since you are running Windows, Microsoft seems to have at least provided a solution to that issue, but it supports newer editions of Windows (should be Creators update IIRC):

  Open the Settings app either by clicking its icon on the left side of the Start menu or simultaneously pressing the Windows logo + R
  keys.
  In the Settings app, go to Network & Internet  > Mobile Hotspot page.
  To turn on mobile hotspot, turn on the option labelled Share my Internet connection with other devices.
  Under share my connection over, choose bluetooth option.

Simply pair the two and enjoy the connection

Credits (and photo) Mobile hotspot or Wi-Fi hotspot in Windows 10

Windows feature are most buggy for me, that's why I prefer to try other workarounds first.


You can simply remove that account and again add it in your account. Then it will again sync all your contacts to your Gmail.


As a Google Voice number user, what app should I use for texting now?

Hangouts still works for texting to and from Google Voice only, and I don't think that is supposed to go away (at least not anytime soon)... it doesn't work as your default SIM carrier's SMS/MMS app anymore. I use it daily and just updated yesterday and it still works with the Google Voice number.

I had the Google Voice app installed, but saw no advantage to it over Hangouts so I continue to use Hangouts and the Hangouts Dialer app and have had no issues so far. That may change later, but for the foreseeable future it is working with Google Voice only.

  Google Voice users will also be affected, but not as much as
  Hangouts-only users. The rule only applies to messages sent and
  received with your carrier phone number—all SMS messages sent with
  your Google Voice number will remain unaffected. "For SMS users using
  Google Voice on Hangouts on Android Google Voice users who also send
  carrier SMS messages will need to choose another default messaging
  app. Their Google Voice messages will be unaffected and will still be
  available in Google Hangouts," the e-mail states. "For Google Voice
  users on Hangouts on Android Google Voice users who do not use carrier
  SMS, text messaging will not be affected and no notification will be
  shown."
  - Source


After some research, I finally got some details.

Unlocking a bootloader will generally not change the bootloader of a device.
The locked bootloader somehow ensures that the device should boot up with the OS that is shipped originally with the device or updated by the vendor officially.

Locked bootloader puts this as a security measure so that it can prevent the users
from installing custom ROM's. When the bootloader is unlocked it will simply provide the booting instructions to the device without checking for the stock ROM
on the device. The device will boot with the ROM present in /boot and /system partitions and thus unlocking a bootloader is an essential step if one want to install custom ROM.

Thus overall, locking a bootloader is just an extra built-in security check and
unlocking will just remove this check but will not modify the entire bootloader
of your device.


Is the terminal emulator app essential to CyanogenMod 10?

The Terminal Emulator coming pre-installed with CM 10 (IMHO it is Android Terminal Emulator) is intended to let you access the command line. People using a custom ROM usually have use for such things -- and it is very helpful for certain kinds of troubleshooting, as via the command line you can directly access the necessary Linux tools to check certain things.

Aside from that, I cannot imagine it being "essential" to the system, so removing it should have no side-effects. But it would not bring you any benefit either: residing on the /system partition, uninstalling wouldn't give you more space in the "internal storage" -- and as the app only consumes other ressources when you start it, there's nothing to gain here as well.

It might prove very useful at some future point, so I'd recommend you keep it. If you really want to get rid of it: as with any other app you don't know whether it might be needed, first "freeze" (disable) it and watch carefully for possible side-effects (none to expect here), and after a week or so, if no side-effects appear, you can go ahead and drop it.


Performance gain from upgrading higher class SD card

A higher class card is going to give you faster read and write speeds to your SD card. So any apps that use or write data to the memory card will get a boost (one example would be the camera and gallery apps). Another possible example would be apps saved to the memory card. You probably, however, won't be able to tell a huge difference, or at least it won't be as noticeable as it would on a DSLR camera where high speed cards make a world of difference when taking fast, continuous shots (sports).


Will phone lose pairing if it was paired via WiFi direct and it connected to a WiFi network?

It will not connect the other wifi if you didn't connect it manually.


Is There Any Way To Increase Internal Memory?

No, there is no way to increase internal memory; this is installed at the factory and is fixed.  You can, however, free up existing space on your internal memory by removing apps, cleaning out caches and deleting end user files that are stored there.  Modifying stock apps (ie, removing bloatware) usually requires a rooted device, and will prevent you from receiving over the air updates as well as most likely voiding your warranty.


Installing CM13 Nightly as MultiRom in TWRP fails

Try this workaround:
http://forum.xda-developers.com/showpost.php?p=63431628&postcount=50

"Delete all the lines after "ui_print("Verifying the updated system image...");" until "show_progress(0.020000, 10);". once you have done it save the file and copy it back into the location inside the rom zip file and flash it on your phone."

Worked for me.


How can I change the voice used for the Navigation app on Android?

This is apparently not possible with Android 2.2 on Motorola Droid.


how to backup cell phone contacts to gmail, and view them on pc

Go to Settings > Accounts - Google > Tap on your account >. Now
select the checkbox for Contacts and see what is the last synced
date and time shown below.
Now login to your Google account and go to Google contacts. You will
be able to see all the synced contacts

From Panel:
Make sure you export all your contacts from sim/phone to gmail account via phonebook, then sync contact again through the direction given above.


Following this discussion with Izzy, I think your scenario is the opposite of the described problem in that post, it seems you simply want stick to the 2.4GHz connection because it is associated with better signal strength (although slightly slower when compared to 5GHz).

As such I'd recommend  this tool called, Wifi Band Switcher on this thread. This app has been reverse engineered from the code from that gives advanced wi-fi menu since it essentially uses some standard AOSP hidden APIs. So the developer created an app that uses these same hidden APIs. With this you can force the WLAN band to be always the 2.4GHz.

Note: the app must be installed as system app.

Usage:

Just extract apk and using root explorer paste in system/app set permissions

  rw-r--r-

Not the prettiest interface but could possibly do the job, it is essentially the same implementation found in native android ROMs:

Alternatively you could try using using Wi-fi analyzer by farproc (to analyse the available bands) in conjuction with its open source plug-in Wi-fi Connecter Library to selectively connect to the 2.4Ghz band.

  If you are viewing the AP list of networks in Wi-fi Analyzer which
  shows you both the 5.0Ghz and the 2.4Ghz, with this plugin installed
  you can then tap and connect.

Additionally as suggested by Izzy in that discussion, you could also try
Smart WiFi Selector(trial)


Your contacts might have been synced with the old Google account. You can try doing this:

Login on your computer with the old Gmail. Go to "Contacts" and see if you have all your contacts visible over there. ("Contacts" option will be available on top left, where there is a caption of "Gmail" along with an arrow).
If you find your old contacts in the above step, login to your phone with old Gmail Id. You will probably see all your contacts again.
Export all the contacts to your phone memory.
Login with new Gmail Id.


Restoring purchases made with In App Billing

I asked Google. This was their response.

  Thanks for writing in. I understand you would like to know how to
  choose what account in app purchases are billed to. I apologize for
  any frustration this has caused. When you go to make an in app
  purchase the purchase is going to be billed to what ever account was
  used to download the app the purchase is going through.


Is there any technique for controling a smart phone over another smart phone ( both are android)

You could try Teamviewer or Webkey. Teamviewer is only supported by selected Samsung phones, and Webkey requires root, though. If your phone is not supported by Teamviewer, you are most probably not going to achieve anything without rooting the phone you want to control. (Android only allows an app to inject screen taps and grab the screen in special circumstances: if the app is signed with the manufacturer's key (Teamviewer does this, so it doesn't need root) or the app is running as root.)


App continues to consume battery long after its closed

Ending the application by "closing it" may kill the process, but it may have several services running. I'm on my phone, so I cannot add the references, but having multiple apps in memory isn't that bad- I don't think it really effects the life of your battery.

In this instance, if you think (or know) that a particular application is being a pain, I would suggest you first download the application "Watchdog". This gives detailed information about applications, and then let's you kill them when they become too consuming. Watchdog is very good for analysing the running services. If you do find your application is misbehaving, then you have a problem.

If Watchdog does not mark the application as misbehaving, then we may need to dig deeper. If possible, try to run tasker with an automated script to kill the services of this application, which should in turn kill all instances. Whether this is what you want, or is safe, is another question.

One thing to take into consideration is did the application consume so much when your phone was not rooted? Perhaps SU has removed the restrictions the application once had..


New phone : migrate pictures and videos?

Actually it's not sth in your hand to modify easily, but i've found some tricky solutions you can use.

At first take a look at a pre-asked related question here.

The second way which is a kinda boring is to use File Timestamp to rewrite your own custom time metadata on any file you want.

hope it helps you!


Android Dumpstate Crash Logs Appearing Randomily

It seems you are accidently triggering the generation of a bug reports, as described on this google support site (click on the nexus link):

  Generate a bug report immediately:
  Press Volume (in between Up and Down) and Power at the same time (after a >significant delay -- up to a minute -- the device will vibrate if successful and open a new message in Gmail).

In my case, my device had a case which was triggering the bug report by inadvertently pressing 'volume' and 'power'


The music player keeps displaying deleted songs. How do I remove them or refresh the library?

What I've done in the past (and appears to have worked here, too):

Go to Settings->Applications->Manage Applications
Clear the data/cache for the Media Storage app (it's a system service/app)
Unmount and remount your SD card via some means.

Re-launching a music app after doing this will force it to rebuild the database, which can take a little bit of time but will ultimately refresh the list to reflect the most recent contents of the SD card.


Problem with wi-fi after updating Nexus S to Android 4

I've just manually updated my GSM T-Mobile Nexus S and it connected automatically to my home wi-fi, I had all the previous settings stored, and I'm also detecting all the wi-fis from my neighbours.

Could you give more details about your issue?


Make sure your default Text-to-Speech engine is PicoTTS (from settings). Install and start a sound recording app (there are many in Play Store). Send it to background and use Speaking Pad.


How to flash a custom rom on galaxy on5 pro

Root your device at your own risk!

Check your device model number. (for SM-G550FY/SM-G550T1/SM-G5500T2/SM-G5500 only)
Select TWRP Based on the mobile model number.
Make sure your device battery is charged above 50%
Backup your current files and data, just in case (save them on external storage).
Flash TWRP using odin
Install SuperSU.

For detailed information see https://www.androidinfotech.com/root-samsung-galaxy-on5-sm-g550-lollipop-marshmallow/ and https://rootmydevice.com/root-samsung-galaxy-on5-pro/


Its a pretty useless app if you don't use it (forever). So what you can do is disable it. Go through Settings>Apps/App Manager>All>Voice Dialler>Disable. Thats it. You can enable it again if you wish when needed.


Block all sounds going out through speaker when headphone connected

Currently you can't disable notifications via speakers while still having them via headphones. There's an open issue for that.

You also can use Llama or Tasker to switch profiles when you plug your headphones.


Are settings and accounts (like email) removed when changing the SIM card?

Accounts and data are not removed if you switch the SIM.

For obvious reasons:
Travelling abroad when you don't want to roam, or getting a new phone/data plan from a different carrier, etc. You could guess how mad people would get if their device got wiped by a SIM switch.

You're not safe, unless you also have set up a screen lock (or full device encryption).

All common smartphones act similar here (Windows Phone/iOS/Android):

If the SIM is locked with a pin, it must be re-unlocked each boot if it's present
If the device has a screen lock, it must be unlocked each boot and if you switch on the screen

I.e, a SIM lock is only bound to your specific SIM and it only prevents misuse of your number and phone/data plan, not the device and its data stored within. As soon as the SIM is replaced or removed, one doesn't need the SIM-PIN to to access the phone. Only a screen lock PIN (or password, unlock gesture or full device encryption) will do.


Mails deleted in android gmail app are not deleted from server

Are you using the gmail app or the HTC mail app?

The first one, gmail app, will have everything synced right away.

The other option, using HTC mail will be using a pop/imap account for accessing your Gmail. In that case you can update the pop/imap settings in your gmail account logging in with a browser and going to your settings. There you can choose if you want messages to be deleted or not.


How to use adb over Mobile AP (Portable wifi hotspot)

On Android Device:

Make sure USB Debugging is enabled in Developer Options.
Set adb port prop:

If rooted: Open a terminal emulator (like termux) and run the following commands:

su
setprop service.adb.tcp.port 5555

If not rooted: Connect your device to PC using usb and run on PC terminal/cmd:

adb tcpip 5555

You can disconnect after this and continue on WiFi.

  Note: This step needs to be performed only once, but the prop is reset on boot, so you need to repeat this step after a reboot.

Get IP address:

If using mobile hotspot, the IP address of the device would be 192.168.43.1 by default.
If using an external WiFi, you can get the device's IP address by running in terminal emulator:

ifconfig

This will print a list, one of those would start with something like wlan0, with IP in the second line (mentioned as inet addr):

wlan0     Link encap:UNSPEC  HWaddr ...
          inet addr:192.168.43.1  Bcast:192.168.43.255  Mask:255.255.255.0
          ....

On PC:

Make sure you're connected to the mobile hotspot or the same WiFi as the Android Device. (You might wanna ensure that you aren't simultaneously connected to another network, like ethernet.)
In the terminal/cmd, run:

adb connect 192.168.43.1:5555 # The IP address of android device
adb devices


Huawei ascend p7: no USB connection methods

I have managed to solve my problem. It seems that, due to some reason, my USB port's power limit was exceeded and it froze itself. I'm not fully sure what caused this to occur, but after disconnecting everything and resetting my USB ports it somehow worked again..

The following message occured after trying a few USB ports:

I disconnected my phone and pressed reset after clicking the popup and it seemed to do the trick. A more thorough explanation on what to do in case of this popup can be found here.


Device not accerpting APKs from other android device. (through Bluetooth)

You can download ES File Explorer and change the file's extension to txt, like this:

So when the other device gets the file, you remove the ".txt" and it'll be an APK again.


Change MAC address Android using ip link?

As superuser run:

# netcfg

A list with the interfaces will appear. For example my interface was eth0

# ifconfig eth0 down
# ifconfig eth0 hw ether your:new:mac
# ifconfig eth0 up

Note that not all drivers support this operation, and the Android ifconfig do not support these commands. You will need another ifconfig executable, perhaps that from busybox will be suitable.

After the reboot these changes are lost.


What does it mean if my HTC Incredible's notification light flashes between green and amber?

I believe it means the battery is overheating.


Get To Android Pie bluetooth Settings Without Turning Them Off

Try long press on the shortcut icon, without lifting your finger until the new screen starts to appear.

On my Pixel 2, I was able to get to the Bluetooth Setting screen.


Android Chrome - shortcut icons shown on Chrome home page

You can't edit the shortcut manually. The workaround to add a shortcut is:

Step 1: Remove one that you don't want.
Step 2: Open a new tab, type/paste the URL of the webpage you want, and go to that site.
Step 3: Repeat Step 2 once or twice more. The next type you open the homepage, the webpage shortcut will be added/listed.


How to receive data from Bluetooth OBD-II?

Torque (lite, pro) works with most of the ELM327 Bluetooth OBD-II devices.

Be careful though, some of the "cheap" ones don't work well with Ford vehicles.


If you are using Connectbot: according to an article at XDA-Developers, this is nothing but a cosmetical error:

  Connectbot seems to set shell variable 'PS1' to "$(precmd)$USER@$HOSTNAME:${PWD:-?} $ ".
  It means your shell (the busybox's ash applet) will try to use output from 'precmd' as a part of a command prompt.
  So when 'precmd' was not provided, error messages will be generated wenever a prompt was to be shown.

To fix this, mentioned post says you can use PS1="> " (or simply unset PS1) to work around that error.


The solution for your issue can be found on the app's help page. As I already guessed, you need to install a barcode reader app. But not just "any", ist has to be a specific one. And moreover, even my guess for ZXing Reader was absolutely correct – if you take a closer look at the screenshot taken from that place:

Screenshot from the Google Authenticator help page (click image for original size)

Btw: The name "ZXing" stands for Zebra Crossing, but I doubt it can decode the Zebra's natural barcodes :)

As it reportedly works as well in this context, I recommend using QR Droid if you want to use the QR Reader for additional tasks as well. QR Droid has a much nicer interface, offers additional features, and gives you much more flexibility.


Fix Android stuck on boot animation without deleting data

Stubbornness sometimes pays. Here is what solved the issue for me (and since I did not see this idea anywhere, I'm posting it here): it turns out that the (attempted) backup filled up the internal memory so that there was not enough left to complete the boot process. So I used the file explorer in TWRP 3.0 (Not sure if CWM has one, if not, just flash TWRP) to delete the backup and voilà, the phone boots again.

Obviously, you could also delete something else (make sure you know what you're doing), the point is to free up space on the phone's internal memory. In fact, I actually tried to move the backup to the external SD card but there seems to be a bug that (sometimes) lets the move command fail so what I did was copy and delete instead.


Prevent Screen from rotating in Android VM

I encountered this problem when trying to run QQ on Android 4.4 running in VirtualBox. F9-F12 were ineffective as soon as QQ started. The app "Ultimate Rotation Control" does the trick but does not resize the QQ window. So part of it gets to lie out of the virtual screen. Finally, I ended up redefining the screen size of the virtual Android to 360x640 (portrait) as described here. It seems that QQ detects which side of the screen is longer and rotates according to this. So if you start with a portrait aspect ratio it will not rotate sideways. I do not about pheed, but guess it operates the same way.


Getting text to speech to write a . (period)

Maybe it is your inflection, that is, the rise and fall of tonal character. Saying the word "period" works for me.

I say "PEER-Ee-uhd", falling in tone as I say the word.


Is it safe charging a Galaxy Nexus through a USB 2A port?

Yes, it is fine to charge a device with a higher current charger.

You can think of current like the device pulling rather than the charger pushing.  The device will only take as much current as it wants regardless of how much the charger is capable of supplying.


How do I get the "Change keyboard" notification to go away for more than an hour?

As of now all i can see is there are only 2 possible solutions
1) keep only one keyboard as suggested in 5 year old question
2) or keep all keyboards but disable all except for the one that you use by going to setting->language & input->virtual keyboard->manage keyboards, here disable all except one that you use regularly
Tried and tested on stock nougat 7.0 on moto g5+


How do I enforce charging only on USB and disallow data?

First, don't leave ADB enabled except when you need it,  even though you have to authorize any device that uses ADB, as good safety practice... Other than that, Marshmallow and newer Android do not allow file transfer or other data transfer without authorization on a per connection basis.

In Marshmallow or newer, I think this is generally an unwarranted concern and usb connection in rental cars can safely be used. TBH, I doubt any legitimate rental company car is of concern at all.


If you go to the bottom of the search results page, you will see something like (View Google in: Mobile | Classic), you can click on "Classic" to view the current search result in desktop version of Google, which of course have the 'cached' link.


push and pull command return "push: not found"

By your words, I suppose that you're running adb within an adb shell and that's wrong. See this answer for more details.

In case I misunderstood your question:
On Android, adbd is by default not running as root, so certain files and directories are not visible to the ADB client. Still, refer to my answer for more details.

There is no such command as push or pull on your Android device. All you can do is adb push from your host PC. Whatever non-existent command makes shell tell you aaabbb: not found so it's not a bug.