Can android device issue adb commants to itself? I made a simple shell (actually windows batch) script that automates a task on android phone. It can be ran on any computer. I thought that if I convert the batch to linux sh script, I could issue the commands without adb shell before them.

So this (.exe added for clarity):

adb.exe shell sleep 1

becomes this:

sleep 1

Well it works with sleep in particular, but not with sendevent. I made a script to press and release focus button:

#!/bin/sh
# Simply send two key events to see if it works (spoiler: it doesn't)
sendevent /dev/input/event0 1 212 1
sendevent /dev/input/event0 0 0 0
sleep 1
sendevent /dev/input/event0 1 212 0
sendevent /dev/input/event0 0 0 0

But I cannot execute the sendevent commands:

That's ridiculous. Obviously my phone is capable of executing the commands from external source, so why the hell not from itself? Am I going to need a computer to work with the shell?

What can I do to issue adb commands to my own phone? (I am not using rooted device. Android developers made it too much painful to achieve.)

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

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

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


Unable to upload file to mediafire 2.70 I am trying to upload a .Rar file to mediafire version 2.70 from my Acer liquid z120d dualsim. I use the share with mediafire feature and it gives the popup that the file is placed in the "Upload" folder. But it's not, infact the upload folder isn't displayed within the apps folder browser.

Where is it then? Is it even uploaded? and most of all: how do I find my file?

Accordingly your file should be placed in the 'uploads' folder. But it is'nt happening.

Try to check following solutions.

Clear the app data and cache from app info in settings, and log in to the account and try again.

If it isn't working, What is the size of the file that you are uploading? If its to large, try to upload in modules. According to my experience large files are uploaded but it takes time and meanwhile it doesn't even show you the progress for very large files. So if its in gb or some 500 - 700 mb try to upload in modules.

If still it doesn't work try to upload a simple image file using the same procedure that you used before just to counter-check. If this small image is uploaded then the problem persists in the app in the form of a bug which do not uploads a large file.


Nexus 4 flash stock kernel when it's stuck in bootloader I screwed myself over when I flashed broken files to the recovery and kernel partitions. I want to get back my stock kernel, but I can only get it to either the bootloader or Download Mode. Adb and Fastboot can't find it, and LGNPST says the dongle is not connected. I tried from Windows 7 and from Linux Lite 1.0.8 (basically Ubuntu 12.04). My bootloader is unlocked. What should I do?
The only solution I can come up with is to take it apart, desolder the rom chip, flash to it from something else, and put it back in. Help me please!

Use wugfresh's great kit, you can also flash from a bootloop with it and it will find the stock image you select for you

Does a massive amount of other stuff too, root, TWRP recovery etc. I have flashed several custom roms with it

www.wugfresh.com/nrt/

Edit:

Flash from a softbricked/bootloop state


How can I determine what is transmitting data? Recently I noticed that even while no applications are actively running (at home screen), the up and down arrows under the WiFi status bar item are turning on/off.  This is a recent change, and seems to have started after some automatic updates.

I've gone through and killed all the running processes (that allow you to kill them), and the behavior continues.  I'm assuming it must be a system process that's causing this, but I can't for the life of me figure out which one or why.

I have a Samsung Galaxy S4 with KitKat 4.4.2, if that matters. And I've already tried restarting the device.

How can I determine what is causing the WiFi indicator to signal data is being transferred? I'm comfortable creating simple android applications, so a programming solution is an option.

I use an application called “App Snitch” which monitors all network access and let’s you know what each app is doing. The Play Store link is HERE.


insufficient storage - df - sufficient conditions? I know there're lots of questions about insufficient storage, but no real answer so far ! In particular about /data/app, which has plenty of space in my case. So why can't I install any new app ?!
What are the precise conditions that make install fail ?
(I don't want tricks like clearing cache or /data/app, which are both fine in my case..., but I'm more interested by a dev answer about how the install process proceeds)

Thanks !

shell@wiko:/ $ df
Filesystem               Size     Used     Free   Blksize
/dev                   235.3M   128.0K   235.2M   4096
/sys/fs/cgroup         235.3M    12.0K   235.3M   4096
/mnt/secure            235.3M     0.0K   235.3M   4096
/mnt/asec              235.3M     0.0K   235.3M   4096
/mnt/obb               235.3M     0.0K   235.3M   4096
/system                787.4M   687.4M   100.0M   4096
/data                    2.5G     1.0G     1.5G   4096
/cache                 221.5M     4.1M   217.3M   4096
/protect_f               8.8M     4.1M     4.8M   4096
/protect_s               8.8M     4.0M     4.8M   4096
/storage/sdcard0         2.3G     1.0G     1.3G   4096

logcat gives:

I/PackageManager(  672): Apk copy done
I/PackageManager(  672): Checking for more work or unbind...
I/PackageManager(  672): Posting delayed MCS_UNBIND
V/PackageManager(  672): + starting restore round-trip 16
V/PackageManager(  672): No restore - queue post-install for 16
V/PackageManager(  672): Handling post-install for 16
V/Provider/Settings(  672): get setting for user 0 by user 0 so skipping cache
V/Provider/Settings(  672):  from settings cache , name = sys_free_storage_log_interval , value = null
V/Provider/Settings(  672): get setting for user 0 by user 0 so skipping cache
V/Provider/Settings(  672):  from settings cache , name = disk_free_change_reporting_threshold , value = null
D/dalvikvm(  672): GC_EXPLICIT freed 579K (8856), 21% free 15405K/19324K, paused 5ms+10ms, total 125ms
I/Finsky  (14148): [15066] com.google.android.finsky.packagemanager.impl.h.a(9): Package install status for fr.smoney.android.izly.REC is -4
W/Finsky  (14148): [1] com.google.android.finsky.installer.a.aa.a(37): Install failure of fr.smoney.android.izly.REC: -4, Exception: n/a

There's a related thread on XDA describing a work-around. Adapting it a little so you don't need that "specific tool" (LP):

Set the install location explicitly to internal storage:

pm set-install-location 1 # (0=auto (default), 1=internal, 2=SDCard)

Clear the Play Store settings

Now your install should go through.

As the comment in the code line shows, by default Android is set to automatically chose the storage the install should go to. It seems something is messed up in that evaluation. So by making your wish explicit, that "auto evaluation" routine is skipped, and thus the error avoided. If that's what's behind the issue, it should work as well setting your preferred storage to 2 (SDCard) if you prefer that.

Reading your comment, the culprit might have been a little different at least in your case: If you had set the install location to 2 and then removed the card, it's pretty much clear why there's "insufficient storage" on the empty slot :)


Internal memory (sdcard0) not writable - Android 4.3 - Xperia T (LT30p) After a bootloop that I experienced after messing around with Android, I flashed a stock ROM to my LT30p using FlashTool.

Everything went smoothly, except for the fact that I can't create files in the internal memory (/storage/sdcard0) with any file explorer. This includes trying to download files from browsers, they fail instantly. So I figured it's a read-only situation going on.

I also flashed another stock ROM, clearing all data, but the problem persisted.

The funny part is that the mount command gives me this:

rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/platform/msm_sdcc.1/by-name/System /system ext4 ro,seclabel,relatime,
discard,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/Userdata /data ext4 rw,seclabel,nosuid,no
dev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/Cache /cache ext4 rw,seclabel,nosuid,node
v,noatime,discard,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/SDCard /mnt/int_storage ext4 rw,seclabel,
nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/apps_log /mnt/idd ext4 rw,seclabel,nosuid
,nodev,noexec,noatime,discard,nobarrier,data=ordered 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=2800,gro
up_id=2800,default_permissions,allow_other,allow_utime_grp 0 0

so, from this

/dev/block/platform/msm_sdcc.1/by-name/SDCard /mnt/int_storage ext4 rw,seclabel,
    nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0

I conclude that I should be able to create files/folders as normal (since it says rw).

What am I missing? I googled this in many ways but to no avail.

Thank you for any help in advance!

PS. Phone is rooted, of course.

I finally fixed it. In case someone has the same problem in the future, here's what I did:

After googling here and there about how to completely wipe an Android phone, I read that to do that you must encrypt your data first and then do a factory reset.

So, I still don't know what caused it, I only know that now it's fixed.


Several exchange accounts on one device I'm thinking about replacing an iPhone with Android device, but before I do that I'd like to know which versions of Android support multiple Exchange accounts? Are all main features (Mail/Calendar/Contacts) supported when several accounts are set up?

From Android 2.0 Exchange support was added and this included multiple exchange accounts.
http://developer.android.com/sdk/android-2.0-highlights.html

The highlights there mention "Handset manufacturers can choose whether to include Exchange support in their devices." But all the the higher end devises (Galaxy S, Nexus One, HTC Desire etc) will most certainly support it.


If an app requires no permission, can I be completely sure that it is safe to install? I have an app that requires no permissions whatsoever. Please note that this app does not come from an official source.

Given that the app requires no permissions:

Can I be completely sure that it is safe to install?
Are there still ways in which this app might be harmful or malicious to my device, even though it does not have any permissions?

In an ideal world, an Android app that has no permissions would mean that the app can not seriously harm your device.

Unluckily we are not living in an ideal world, especially on Android where the device manufacturer often does not provide the newest security updates to each and every device.

Therefore running a malicious app without any permission on an Android device can end up in a permanent device infection if the device is vulnerable to an exploit that allows the app to get root permissions. Those exploits can work independently if your device is rooted or not, then work even on stock rom devices.

Therefore the risk executing an app without any permission depends on large parts if your device has the very latest security update (see patch level date in Settings -> System -> About -> Security patch level).

If your device has the most recent patch level and the app is not brand new the risk is low that the app is able to harm your device. However if your device has a security patch level months or even years ago even an app without permissions may cause serious harm to your device.

What is possible on different Android versions

There is an old article (2012) on AndroidPolicy: Security scare of the week: What can an app with no permissions do? which lists a few facts about what apps can do without any permissions. Lets try to check some of the facts and check them regarding modern Android devices:

Read data on your SD card

By default on devices prior to Android 4.4 apps had by default read access to the sd-card section:

  This permission is enforced starting in API level 19 (Android 4.4). Before API level 19, this permission is not enforced and all apps still have access to read from external storage. You can test your app with the permission enforced by enabling Protect USB storage under Developer options in the Settings app on a device running Android 4.1 or higher. [source]

But even on newer versions there is still the possibility to get sd-card access "for free" in case the app defines that it was developed for some very old Android version. In such a case Android implicitly grants the sd-card read permission (untested: is this still true for e.g. an Android 10 device?)

  Note: If both your minSdkVersion and targetSdkVersion values are set to 3 (Android 1.5) or lower, the system implicitly grants your app this permission.

To avoid misuse of those "implicit permissions" Google enforces a certain targetSdkVersion when uploading an app to Google PlayStore [source]. Hence if you have an app from Google PlayStore that has been published in 2018 or later (latest update) those implicit permissions on the sd-card are impossible.

Read installed apps via /data/system/packages.list

-> TBD

Miscellaneous data from /proc

Android ID, kernel version, and ROM version

-> TBD


Tethering an Android 2.2.1 (Froyo) using Wifi I'm trying to get tethering to work. I've used the built-in functionality, setup my phone as an AP and connected to the wireless network.

I get an IP (192.168.43.26) and I can ping the gateway (192.168.43.1), I also got a dns server (192.168.43.1). However, I can't access the internet (e.g. surf or ping 8.8.8.8).

Any ideas on what may be wrong?

netstat -r (restricted to en1, the wireless interface)

Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.43.1       UGScI           0        0     en1
192.168.43         link#6             UCS             2        0     en1
192.168.43.1       4:18:f:40:41:7c    UHLWI           0       16     en1    925
192.168.43.255     ff:ff:ff:ff:ff:ff  UHLWbI          0       12     en1

Some more info

Using WPA2 Personal (since I can ping the phone/gateway/router I should be beyond the encryption layer in the OSI model, so I don't think encryption is the problem)
Wireless AP
No third-party tethering (using native)
Samsung Galaxy
No custom ROM
Don't know if it's rooted (I guess the fact that I don't know means it isn't)

If you are on linux, check up the kernel routing table by
typing route at terminal.

if you do not have a default entry in the list it won't work.
For example my kernel routing table reads:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.137.0   *               255.255.255.0   U     2      0        0 eth1
link-local      *               255.255.0.0     U     1000   0        0 eth1
default         192.168.137.1   0.0.0.0         UG    0      0        0 eth1

Type in this command at terminal and see if it works:

sudo route add default gw 192.168.43.1 wlan0

where wlan0 is your wireless interface....

also you could try rechecking the dns server on your machine
and add the following lines to your etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4


Can't authorise android lenovo tablet in USB debugging mode I have Lenovo YOGA Tablet 2 830LC X86.
Rescue and Smart Assistant tool is a software to work with this tablet.
When i activate USB-Debugging in tablet i face the error below in Rescue and Smart Assistant tool.

Unauthorized is because after activating USB-Debugging mode in tablet and connecting my tablet to PC, there is no popup asking me if i want to trust this PC, which i have to agree (permanently).
By deleting the adbkey file found in C:\Users\[Username]\.android folder the permission dialog did n't appear on my device.
What should i do to fix this issue?

Edit after comment :

I am using USB charging cable.
I have windows 7
USB OEM driver for Lenovo > When i connect
lenovo tablet to pc a pop up shows up on pc to install usb driver.
So i installed it & after that i can see tablet folders.
But i did n't install any other things.
Have you reset the USB authorization on
the device too (usually inside Developer options) > Is this your
mean revoke USB debugging authorization? If yes i did it several times.
Is the device detected by ADB (call adb devices on command prompt)
I found a adb.exe in this path : C:\MagicPlusMini\app
After enter adb devices command it founds : Baytrail6F284E37 offline
I found another adb.exe
Here is the command prompt :
C:\Program Files (x86)\Rescue and Smart Assistant>adb devices
List of devices attached adb server is out of date. killing...
daemon started successfully
Baytrail6F284E37 unauthorized

Resolution
Possible solutions if adb devices shows a device as unauthorized:

C:\Users\JohnDoo>adb devices
List of devices attached
17310D821D  > unauthorized

Disconnect USB between PC and device
Stop adb server by entering adb kill-server in command window
On device use Revoke USB debugging authorizations in Developer Options
On PC delete adbkey file in user directory, for example C:\Users\JohnDoo\.android
Reconnect the device to the PC
Open a command window and enter adb devices. Watch the device's screen for any Authorization message and allow the connection.

The device should now show as device:

C:\Users\JohnDoo>adb devices
List of devices attached
17310D821D  > device

If the above does not help, re-installing adb and or USB drivers may help.


How do I reduce Haptic feedback intensity in CM9? I use a CM9 rom in my Samsung Galaxy i9001. The intensity of haptic feedback is annoying, especially while unlocking the phone. I can't find an option in the settings.
Is there any related setting in Developer options / by using Terminal emulator for CyanogenMod9?

In CM10.1, Settings > Advanced > Haptic.


Dialog "Amazon AppStore Required" - apps prevented from starting Many of my apps were downloaded from the Amazon AppStore as part of their "Free App of The Day" (henceforth FAoTD) program. This program was recently discontinued in favor of Amazon Underground - an all-encompassing shopping app, similar to any number of their other shopping apps for Android. Since I was not interested in continuing with Android Underground, I uninstalled the Amazon App, AKA Amazon Shopping, AKA Amazon for Android apk.

The next time I tried to run one of the apps from Amazon from the FAoTD, I encountered a dialog and immediate shutdown of the app when acknowledged with the OK button:

  Amazon Appstore Required

  It looks like you no longer have an Amazon AppStore on your device. Please install an Amazon AppStore and sign in with your username and password to use this app.

The solution is as stated, though it was not easy: re-install Amazon AppStore. Amazon Appstore is not distributed from Google Play any longer (though it was when I first installed it). It must be installed from amazon.com (as a 3rd party app - Settings > Security > Unknown Sources must be enabled), and updated to the latest version - Amazon Underground for the dialog to stop appearing when starting "Free App of The Day" apps. This left the device with an unwanted app with necessary space consumed unnecessarily.

After the installation, I was able to test the correct opening of certain apps I got through the FAoTD program. I tested starting them both ways: from the "Your Apps" list from within Amazon Underground, and outside that environment, directly from the launcher:

2Do (which had a lot of checklists for Books and Movies I would have lost),
DoggCatcher,
mSecure,
Monument Valley, and, I presume, the re-enabled startup of
Nearly 2 dozen other apps and games.


Is there a way to flash a boot.img from recovery without a computer? Is there a way to flash a boot.img on your SD card without having to connect to a PC?

Is there an equivalent of the fastboot command?

I'm on a HTC Amaze 4G currently.

Once you have S-OFF you should be able to flash a custom recovery.  Just flash one that supports IMG files, such as ClockworkMod (ROM Manager).


How to display the console logo during recording of a gameplay I am using the Google Play Games app for creating recordings.
During recording of a game play, there is a console logo which gets recorded, too, as well as notifications.

How to avoid that?

The console logo when using Google Play Games appears when you are only recording the screen and not yourself. You can't remove it. It's either the console logo or your face (unless you block the front camera, then it will be a black circle that will be shown on your videos).

Your alternative is to record games using the screen recorder that comes installed with your phone (check if yours has one) or download a screen recorder apps from  Play Store.


Does Skype video work on a Samsung Galaxy 10.1? Can Skype be used for video calling on a Samsung Galaxy 10.1?

I have been googling, but the results are not clear, for example, the official Skype Blog says that Skype 2.1 supports the Samsung Galaxy Tab, but it is not clear if this means that it works with both the 7" and 10.1" versions.

Update: as of early 2012, Skype does work on most Android tablets.

The official Skype app currently does not support video on NVIDIA Tegra 2 chipsets, according to their FAQ:

  * This specifically does not include some tablets that use the Tegra 2 chipset (e.g. Android tablets and Motorola Atrix do not support video calling).

From what I read on various forums, a test version that does work on Honeycomb tablets sporting Tegra 2 has been seen floating around in Youtube videos, so it should be coming to official channels shortly.


Unable to get output buffers (err=-38) when attempting to screen-record emulator from ADB I am attempting to capture a video of my emulator device screen using the screenrecord feature in ADB. When I run the command adb shell screenrecord --verbose /sdcard/demo/capture.mp4 I get the following response from ADB;

Main display is 1440x2560 @60.00fps (orientation=0)
Configuring recorder for 1440x2560 video/avc at 4.00Mbps
Content area is 1440x2560 at offset x=0 y=0
Unable to get output buffers (err=-38)
Encoder failed (err=-38)
Stopping encoder and muxer 218|root@generic_x86_64:/ #

From ADB documentation :

  "Some devices might not be able to record at their native display
  resolution. If you encounter problems with screen recording, try using
  a lower screen resolution."

Documentation link :
https://developer.android.com/studio/command-line/adb.html#screenrecord

Try to use the size option :

  --size widthxheight

  Sets the video size. The default value is the device's native display resolution (if supported), 1280x720 if
  not. For best results, use a size supported by your device's Advanced
  Video Coding (AVC) encoder.


This item cannot be installed in your device's country I bought my phone in Germany, used it for a while in several different countries, then recently moved to the US. For several mainstream apps (e.g. Google Wallet, Google Voice, Yelp, my bank's app) I get the warnings "This app is incompatible with your device." and "This item cannot be installed in your device's country":

This happens when I navigate directly to the app page; normal search doesn't even show them. The result is the same in browser on laptop, browser on phone, Play app in phone.

I have doublechecked that:

I have a US sim card (GoSmart), and I am on a US mobile network
geoip sites resolve my IP address to the US (tried with multiple different connections)
I have a US credit card as default in Google Wallet
I have a US billing address as default in Google Wallet
my main address and shipping address in Google Wallet are in the US
I have a US address in Google+
my home and work location in Maps is in the US
my account recovery phone number is a US one
language is set to English in all my Google products (you can see I am getting desperate...)

Any ideas what I might have missed?

The answer to your question most likely relates to this question "How do I change the Google Play country?". It details what you should do but read through the whole thing because the first answer requires you to make a purchase, but the second says how to do it without making a purchase.


Can I transfer pre-installed apps from a device with a broken screen to a different one? So I have an Ematic Funtab Mini running Android 4.0 (Ice Cream Sandwich) OS that now has a broken screen that is totally unresponsive. I also have a Craig 7" TouchScreen Tablet running Google Android 4.0, Flash 11.1. I can't access anything on the Funtab, or find any place that can replace the screen. It came with a bunch of kids apps including a full versions of Angry Birds, Cut the rope, Where's My Water and a few more. Is it possible to transfer those apps (and maybe the data, but particularly the apps) to the Craig? I didn't have the Funtab long enough to use Google Play to back up the apps. So, any help in finding out if it's possible to transfer the apps would be greatly appreciated!

You can't transfer system apps (that is, the apps that came preinstalled) to another device or back them up. The apps will be built into the Funtab's ROM (or system image), and even if you could extract the files, they almost certainly will have copy protection to stop you using them on a different device.

To make an analogy, imagine you bought a PC and it came with PowerDVD. Now imagine you were to break the PC and buy a completely different one from a different manufacturer. You wouldn't have an install disk for PowerDVD, and the old installation would have copy protection so you can only use it on that specific model of PC. If you wanted to install PowerDVD on your new PC, you'd have to go out and buy it. Preinstalled apps on Android are no different.

If you'd downloaded Angry Birds from Google Play (or most other marketplaces), you'd be able to install it on any device with your account. You wouldn't need to back it up: Google would know that you'd bought it, so they would let you download it again for free. Preinstalled apps don't work that way, though.


Does Android have a "device driver" architecture? Since 1990, when a new version of Windows comes out, the (only) thing that stops PC owners from upgrading is whether there are compatible device drivers for their hardware (network adapter device driver, display adapter device driver, printer device driver, etc.).

Does Android have "device drivers" that Acer, Archos, HTC, Huawei, and other phone manufacturers can publish on their website such that Android device owners can, if they want, upgrade their phone's OS and afterwards (download and) install the appropriate drivers?

Android does not have "device drivers". If you were to think of the entire Android ecosystem within your handset, split into 3/4, using the Java Programming language, the remaining 1/4 is the kernel written in C/Assembler. It is there within the kernel is where the drivers are embedded. That is part of the kernel's job to interact with touchscreen, accelerometers, compass, etc, and certain interactions with the hardware gets delegated to the Android side of things. That is a summary in abstract form for the layman to understand.

On to hardware manufacturers such as Acer, Huawei, HTC, Samsung, Sony, Zte, to name but a few, what each of those companies do, is publish the sources to the kernel, so that it can be built. Although, having said that, some are not exactly GPL compliant, some provide sources, which may not be fully complete, quite possibly, due to the restrictions on certain closed-source for a particular hardware, or others just flagrantly violate the GPL and not publish it at all. Perhaps, some do distribute the source in which the process of rolling your own kernel can fail due to malformed errors in the code or missing extra code.

That applies to, generally older kernels, version 2.6.x, in which a mix-and-match of the appropriate sources gets merged in manually, to create a build, this is where it can backfire quite horribly, the build breaks, kernel refuses to boot and lots of hacking to get the build to work.

Atheros, is one very classic example of a wifi chipset found in quite a large majority of handsets, notably, the sources for the device driver, are quite hard to find, which has resulted in broken builds of the driver, in turn, when integrated with the kernel, as a whole, Android refuses to start the wifi. Due to obscurity of the source, hackers have attempted to get the appropriate wifi driver from other stock ROMs thereby exacerbating the gambling on the functionality of the wifi which either work or break.

The newer kernel versions 3.1.x, have most of the device drivers employed for usage with Android, merged into the main kernel sources thereby minimizing the chances of mix-n-matching, merging the source manually for a hardware, be it a new compass, acclerometer etc.

If there's anything amiss feel free to comment, and amend this accordingly.


How do you fix "adb locksettings not found"? I have a J3 Eclipse running Android 7.0 plugged into my computer and try to view the locksettings by typing adb shell locksettings. This returns /system/bin/sh: locksettings: not found. How can I fix this?

I tried updating the phone to Android 8.1 and 9.0 and the issue seems to have been solved in both releases. If you're facing this issue try updating the OS and see if the problem still persists.


Is there a way to override notifications that don't let me dismiss them? I have a Galaxy Nexus that's running 4.2.2. Certain apps, like Words with Friends, occasionally send spammy notifications for trying out a different game or something like that. They won't dismiss when I press the dismiss all button, and I can't manually swipe to remove them. I have to actually press the notification which takes me to the app.

Obviously I don't want to have to bother opening and immediately closing an app to remove a notification. The simplest solution of course would be to not install apps that do this, but in general, is there a way to have more control over your notification bar?

AFAIK, with Android 4.2+ you can regulate on a per-app-base whether you want to see notifications or not. Long-pressing a notification should open a menu, from which you can navigate to the corresponding place, and define you don't want to see notifications from that app anymore. (As I have no device with 4.2+, I cannot check myself).

On the other hand, "spammy messages" sound like they come from some advertizement module, such as Airpush or Leadbolt. You can verify that with Ad-Scanners (I recommend AppBrain Ad Detector). If I guessed right with that, you have two ways to react on this: for Airpush, there's a way to Opt - out, same seems to apply for Leadbolt (Opt-Out). AppBrain Ad Detector clearly shows you which network is involved, see below screenshots.

AppBrain Ad Detector (source: Google Play; click images for larger variant)

Or you consider avoiding apps using such an aggressive advertizement, uninstall yours, and watch out for a less offensive alternative -- that's what would be my choice. I have full understanding for devs to fund their fremium apps using ads -- but please, leave those adds where they belong: inside the app they are funding. Pushing ads to the notification bar, or adding "funny shortcuts" to the user's homescreen, is intruding the user's privacy, and has no connection to the app at all (in most cases, users even have no clue where that "stuff" comes from).


Same phone number with different code problem There is a strange bug/issue with almost all phones (non-android phones too). If two different contacts have same numbers with different starting code they appear as one contact.

In call log both numbers show under one contact
When any one of them calls, phone shows just one contact

For example, my brother (03331234567) and father (03311234567).

I dial 03311234567 manually and press call, on screen it appears as "brother 0331123456789
I dial number of my father from contact list same happens.
Father calls me but on screen Brother appears

How to solve this issue. I am using froyo

Update:  I posted it as a new issue
http://code.google.com/p/android/issues/detail?id=18684

I don't think you can solve this issue. (For what it's worth I have the same issue when my wife calls me from our home phone. It looks like I'm calling myself.)

What's happening is the phone is comparing the phone number (being called, incoming) against the list of contacts and selecting the first one it finds. Certainly it can't tell who's on the other line on an incoming call. It also doesn't keep track of which contact you came from when you're calling out. (The likeliest explanation there is that the Contact app is handing off just the phone number to the calling app, which then does a lookup with just the number to get the contact to display on the screen.)

As you say, this isn't just an Android issue. I also saw it with my Palm Centro.


Dual SIM sound, vibration and notification settings I have a Huawei P20 Pro. This might be a quirk with their software, but I thought I should ask either way.

Let's say you have two phones with two numbers. One is your private phone and one is your work phone. During the day you can put your private phone on silent and your work phone with sound on. When you go home for the day you can put the work phone on silent and turn the sound on for your private phone.

If you put both SIM-cards in the P20 Pro, you cannot choose to have one SIM with sound on, and one on silent. You can choose that one SIM should vibrate and one should not. This only works with sound on. If you put the phone on vibrate, it vibrates for both SIM-cards. If you put it on silent, it is silent for both sim cards.

I also have the problem that I can set the notification sounds to "None", but I can't seem to turn off the vibration for notifications. I want the notifications for all apps in the notification bar, but I do not want sound or vibration no matter the settings for calls. So to sum up, this is what I was hoping to be possible. Is there an app for this?

Individually control sound, silent mode, and vibration on/off for both SIM-cards
Turn off sound and vibration for all notifications from apps like Facebook, Messenger, Instagram, SMS Messages, etc. regardless of silent mode, vibration mode or sound volume, etc.

Is one of these or both of these possible, with or without an app? I may root the phone if I can keep the stock firmware, it is safe, and possible to reset.

Go to setting / sound and notification / General / phone ringtone. Select second sim card / select ring tone. Now you need to add ringtone with no sound. You can modify existing ring tone to no sound.
You need to root mobile. There is ringtone and ringtone_2.
You can find under media/ internal / audio / media / here are the list of ringtone. Change it to silent ring tone.
This is the only way. There is no setting to silent one sim card on android.


Micromax A88 too many pattern attempts issue? My CellPhone MicroMax A88 locked and it is showing

Too Many Pattern attempts
To unlock, sign in with your Google account.

My 'WiFi' is Off and my Mobile Data is also not enabled. I am not able to start internet on this phone.

Then I press Volume Key Up + Power Button + Home Button and reset my phone but still same issue.

I already saw this question but nothing worked. Can anyone tell me is their any other alternative to solve this problem

I found the solution What I did?

1- Press Volume Up+Power+Home Button it show three option

Fast Boot
Normal Boot
Settings

2- Then i clicked Settings then it have lots of option i selected Factory reset/Delete and click on Menu button ,this button you can see with Home Button then it again show Delete User Data then again Menu Button Some more option and then Ok to delete User Data.

It Resolved my Issue.


Auto focus not working on Galaxy Nexus I seem to have lost the auto focus capability on my Nexus. The phone is stock, only one update done (so it's XWKL2). I don't use the camera much, but I think I had auto focus when I first started using the phone. Now I have to manually focus by tapping the screen.

I'd rather not clutter my phone with 3rd party apps for camera since I don't use it much, but I'd like to have AF for my random quick snaps.

Any tips?

These suggestions might seem odd and they might not yield any results but they're worth a shot:

Try using the panorama and video settings in the stock camera, and I do mean actually use them.  Don't just switch to them and switch back to picture mode.  If you're lucky changing modes, taking a panorama/video, then changing back to normal picture mode will reset whatever needs to be reset.
In normal picture mode long-press the shutter button.  Try this twice, one time release the screen as normal and the next drag your finger away from the shutter button before releasing the screen.  I'm not sure if doing it these two ways will have different results, but I know that if you drag your finger away no picture will be taken.


Phone PIN visible to keen observers? I acquired a S8+ earlier this week. One thing I noticed is when I enter my PIN, the number will only vanish after I hit the next number in the sequence. At best, a keen observer will only see the last number. At worst, someone will get my PIN by watching over my shoulder, etc..

Is there a fix for this behavior on the phone?

As pointed out by @user452820, there is a security setting in settings for that.  Go to Settings > Lock screen and security > Other security settings and change the slider on Make passwords visible.

The blue slider should be greyed out to stop it.


Is there an app that associates a certain action to a arbitrary NFC tag? I'm using the NFC Task Launcher for launching actions stored on my own tags. This works fine.

What I'm searching for is an app that associates a certain action with an arbitrary tag. An example: my company ID card has an NFC tag. This tag cannot be changed by me. But I want to activate a "At Work" profile when I scan that tag.

So, the actual action is NOT stored on the tag but on the phone and gets triggered by reading that tag.

Is there an app that I could use for that?

I've been looking at llama. You can set actions based on conditions, and one of the selectable conditions is NFC tag detected. I haven't tried this myself yet, but the program is pretty well thought out. Highly recommended!


What are validated connections? The FairEmail client has the option to use only "validated" connections. The only explanation given in-app is that a VPN might prevent synchronising from working if this option is enabled, but what does this actually mean? Is this about not using the very weak 2G/3G encryption or open/WEP WiFi?

In the source code I see this sets a preference which is later read and enables the checking of NET_CAPABILITY_VALIDATED. This capability is documented as "Indicates that connectivity on this network was successfully validated." which tells you absolutely nothing. However, an example is given for "a network with NET_CAPABILITY_INTERNET, it means that Internet connectivity was successfully detected." Digging into when that capability is set: "Indicates that this network should be able to reach the internet."
So if it expects that a connection should reach the internet, some part of the OS will check it, and then apps can check that the check was successful, and only then they will try themselves to talk to the internet. That's what this switch does.
Presumably this will prevent custom setups from working, such as when you change routes after making a WiFi hotspot (without mobile data enabled) where it wouldn't expect to be able to reach the internet regardless of whether it can. Or if you, indeed, have a VPN where the email server is reachable but the internet in general is not.


Samsung Champ (GT-3303k) to be converted to Andoid? I have a Samsung Champ. Model number GT or CT3303k. I want to convert this phone to an android system. Can this be possible for my phone specifically ?

Nope sadly you cannoy convert it to Android.


Android Wear odd behavior after factory reset I did a factory reset on both my phone, and my smartwatch, which has now left me with a few problems, and I'm hoping someone can assist me in resolving them, or help me cope with the agony :(

The watch is a Moto 360 Sport running Wear 1.5. The phone is a Xiaomi Redmi Note 3 with Android 6.0.1.

The first problem is the button on my watch, normally, you'd press it to exit an app or switch to/from ambient mode. But currently, it only turns my screen on and opens the app drawer when held down. It does not turn off my screen or take me back to the previous activity like it did prior to the reset. It's not a faulty button, if it was, it would not have worked at all. It's never behaved like that and it's not the first time I did a factory reset on my watch.

EDIT: My watch doesn't inform me of incoming calls anymore either. Normally it would've showed the incoming call and allow me to answer but now it's just not doing anything when I receive a call so I tend to miss them when my phone is on silent, which is pretty much all the time since I got the watch. Another problem is that my WiFi and Bluetooth menu items are missing, and when I googled the issue, someone had similar problems with an iPhone but according to that forum post, it's an iPhone only issue: https://www.reddit.com/r/moto360/comments/3ousbu/wifi_settings_missing/

The other issue is my Google Play Music app. Normally it would've shown a card on my wear device during playback that allows me to pause, play and when opened, it allowed skipping etc. But currently a card only appears when I pause the playback, and when I open that card, it's not the same interface that I had prior to the reset, but it's the same version of the app though.

Hopefully, someone has experienced and resolved these issues before and can point me in the right direction.

Thanks in advance.

Ok so after a few days of trying various things and communicating with Motorola support I managed to resolve all the problems. They suggested I do another factory reset on my watch by un-pairing it with my phone, which then left me unable to connect to my watch again using the Android Wear app on my phone.
I then found that even though I unpaired my watch, it was still shown under my bluetooth devices. I removed it and cleared the app data for the Android Wear, Moto Connect and Moto Body apps, and then when I tried pairing, it was successful with all the above issues resolved.


What is this "Vo LTE" notification bar icon? This icon  started showing up in my Android notification bar last week. I think it was after I used the Google Drive app for the first time (I had never opened this app before and was just curious).

Now the icon is there all the time, occupying valuable notification bar real estate – and not providing any useful information in return, as far as I can tell.

What is this icon? What is it supposed to be telling me?

Can I make it go away? If so, is there a reason not to?

VoLTE means Voice over LTE. The icon notifies you that you are now able to phone over LTE. This means, it's not necessary in order to make a phone call to switch back to 3G (You cannot phone over normal LTE).
In short it's new and better. As far as I can tell you could disable VoLTE altogether, but I recommend you to simply live with it.


Can open an HTML file with Browser but not HTMLViewer I have an HTML file on my SD card.  Opening it with "Browser" works as expected. However, if I try to open it with the built-in app "HTMLViewer", I receive the following error message:

Web page not available
The Web page at File URI could not be loaded:
The requested file was not found.

Obviously the file is there since I can open it with Browser.  This was not a problem on Android 2.2.1.
Why can't HTMLViewer open an HTML file?

The HTMLViewer mentioned does not like spaces in the file name. Rename the file with underscore or throw them out.


Tasker/Security Settings 2G switch not working on OnePlus X CM13 I'm stuck with my planned automatization with tasker and security settings. My idea is to automatically switch to 2G/GSM when I connect to a WLAN. When disconnecting I want to switch back to 3G/4G.

I'm on Sultans CM13 on my OPX (rooted). What i did so far: Installed tasker and security settings (SS) and configured a tasker profile with a task using the SS plugin (based on this XDA tutorial).

Under Actions --> Device Setting I picked global as table and set the value of preferred_network_mode1 to 1 (I also tested 0). I also configured the shell script described in the tutorial. But my phone is not switching to 2G when activating the WLAN although the profile is active. #edit: I just saw that there is also a parameter called preferred_network_mode followed by a 10 digit number, but it is not working either. No switch to 2G or from 2G to 3G.

Now I wanted to check if my phone/provider has another value perhaps, but when I'm executing:

sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SELECT name, value FROM global;

as su I get the message that the table global is not existing. Does anyone has an idea how I can access this database or how to configure Tasker/Security Settings on my OnePlus X (with CM13) in Germany (T-Mobile)?

So here is the way I solved it: After discovering the right place to edit the preferred network mode I tested to change it:

adb shell settings put global preferred_network_mode 1
adb shell settings put global preferred_network_mode1 1
adb shell settings put global preferred_network_mode2456921 1
adb shell stop ril-daemon
adb shell start ril-daemon

The problem was that the changes were not reflected and with the restart of the ril-daemon they were reset (preferred_network_mode 9).

So I used Gravity Box (Xposed module) to change it and with this it's working fine:

Send Intent [
Action: gravitybox.intent.action.CHANGE_NETWORK_TYPE
Extra: networkType:1
]

Sadly it was not working without it (so I could have saved the money for Security Settings but however.

So if you want to try it with tasker I would recommend to use it with Xposed and Gravity - that's probably the easiest way actually.


What's the secret behind super durability of latest ADW Launcher EX? Update of ADW Launcher EX is back again after a long time. It brings lot of visual tweaks as well as performance boosts. After few days of experience, I have encountered one even more interesting thing: I am unable to kill it by increasing system load (which is a very good thing).

When foreground apps are launched, Android kills background apps based on minfree values. The apps having running services and notification get higher priority than normal background apps, but get lesser priority than foreground apps.

Latest version of ADW Launcher EX has a running service (but no higher priority running notification) which is same as old versions and other launcher apps. I have used Go Launcher EX, LauncherPro, old version of ADW Launcher EX etc. All get killed when heavy foreground apps are launched, but latest version of ADW Launcher EX isn't getting killed. Instead, foreground apps are being killed when system load is high.

Previously, hot reboot was also able to kill ADW Launcher EX, but now even that one fails.

What's the magic behind all these? I am just curious...

Apps can obtain higher privileges. For example 3G watchdog (a data usage monitoring app) requests users for higher privileges so that it cannot be killed. It may be the same case with ADW launcher.


How to set silent alarm on htc one X In the alarm settings, there is no "silent" ringtone. I only want the phone to vibrate in the morning.

Any hints?

If you have Clock app available in your Android Jelly Bean, Open it and set alarm with silent ringtone and you chek the box to vibrate.

In Jelly Bean 4.2.1 the silent ringtone is there. If you don't have, install ES file explorer, record some silent ringtone and set it with ES explorer.


How to browse American Express in desktop mode on Android? It's seemingly impossible to browse American Express www.americanexpress.com in desktop mode on Android.

I've tried Chrome and Dolphin browser, also tried searching for a button on the site that would bring desktop mode.

Install Firefox browser by Mozilla.
Visit American Express
Click the three vertical dots near address bar and select "Request Desktop site".

Screenshot - (Click to enlarge image)

You may also try to use their Android app "Amex Mobile" available on Play Store.


What should I do before I try advanced troubleshooting Are there any generic troubleshooting steps and tips to be followed before I search for problem specific troubleshooting options? Then what are they?

I only have a general knowledge on Android and not familiar with flashing, shell commands, etc.

There are several steps/things you can do before you do advanced troubleshooting. Most of the problems can be solved following these steps.

Backup your data. Backup your data first (of course, if possible). You don't need to risk it. Keep it somewhere else. It is better to have backups for personal data and app data separately.
Try rebooting your device. You can use your power key or a third party reboot app
Keep your device switched off for a while. Make sure you remove your SIM card (and the battery and SD card as well, if they are detachable) and wait about 30 minutes.
Try freeing some space. You must always have some free space. It is better to have more than 50MB free so that the apps can work smoothly. (Some say it should be 2% of total memory)
Try re-installing apps. If you believe your problem is caused by a specific app, try uninstalling and re-installing that app. Also you can try clearing the app cache. It will give you some more space.
No hardware fixes. Do not attempt to quick hardware fixes unless you have clear understanding of what you're doing. And keep in mind that you'll lose your manufacturer's warranty by doing such fixes.
Update your OS. Make sure that the relevant updates are compatible with your device, referring to your manufacturer's website.

If you are still in the problem, you can try searching help for your problem or contacting your manufacturer's customer support personnel. Remember to do this before you go to factory resets.


Updating any app is retaining its older version? I am using android 4.4.2 on my Asus Zenfone 5 (not rooted). It seems that when I am updating any app from play store, it is installing a newer version without removing the older version.
Before updating total space occupied by all apps was around 400MB, after updating all the apps successfully the occupied space for apps increased to 1.1GB. As my internal memory is limited, I am little worried.
Is this behaviour normal? Can I get rid of old versions of those apps? What is the way to avoid such situation in future?
Additional question after reading the answer

Can the default apps be removed?
What if one tries to install the same app after removing the default app in /data?

From your description, it sounds like the problem might be due to built-in apps. Built-in apps (that come with the phone) don't take up your storage space, because they don't live in the data partition (where your apps and data are stored), but in the system partition. However, they can't be updated in the system partition, because it's read-only. Updating a built-in app is done by installing the new version to the data partition and ignoring the old version. The effect of this is that the whole size of the app occupies the data partition. Subsequent updates don't keep taking up more space: once the app is on the data partition, the package is simply replaced with newer versions in the usual way.

For instance, say the YouTube app is 17 MB. When it comes with the phone, it occupies no space on the data partition. It takes 17 MB in the system partition, but since you can't use that partition for anything else, that doesn't matter. Now you update YouTube from Google Play. The new version takes 17 MB on the data partition, as if it weren't a built-in app at all. The old version is still on the system partition, inactive, but it still makes no difference.

If you were to update a lot of built-in apps at once, then the effect would be much bigger.

This only applies to the app itself (the APK file), not its data and cache, which are always stored on the data partition.

Other than in the case of system apps like this, two versions of the same app (identified by their package name) can't coexist on the same device. Installing a newer version always removes the older version.

On a rooted device, or if you install a custom ROM, you can make the system partition writeable and update built-in apps directly on the system partition, so they still won't take up space on the data partition. This is quite a risky business, though: it's easy to accidentally change files you shouldn't change, and lose all your data or make the phone unusable. There's a reason the system partition is normally read-only!


How can I make my emulator load faster? I just installed eclipse along with the tools for developing android apps tonight; so I'm new to both of them. Anyway, my emulator takes about 5 or more minutes to load each time, and generally comes up with errors. And it is always really big, like as tall as my laptop screen, and about half as wide.. Any help?

If you're doing development in Eclipse, you don't need to turn off the emulator. If the debug/run button in Eclipse is set up properly, then Eclipse will close the current instance of your program inside the emulator, install your new program to the emulator, and start the program on the currently running emulator -- all without rebooting the emulator.

Yes, the emulator booting still takes 5 minutes, but it's not that bad since you only boot the emulator once a day (and booting up Eclipse at the start of the day takes roughly the same amount of time anyway).


Premature editing interruption and keyboard disappearance when typing text I have noticed a few times today an unusual behavior of the built-in virtual keyboard on my Nexus S with Jelly Bean 4.1.1. When I type text in different apps (e.g. Google+ Messenger, Google Drive), the keyboard suddenly and unexpectedly disappears, and text editing mode is terminated.

This premature interruption is triggered at apparently random moments after typing a different amount of text each time (from a couple to a few tens of characters), but approximately after the same amount in the same session. Rebooting the phone fixed the issue the first time, but had no effect in subsequent instances.

Some context and details. I use the device in Italy and the system language is Italian. I switch between using two languages with the keyboard, Italian and English. The premature interruptions seem to happen mostly when using the keyboard with Italian, and when typing fast. This issue never happened before today.

What causes this problem? How can I fix it?

I found a Google Mobile Help Forum thread reporting the same problem. A Google employee suggested a fix: deleting and reinstalling all the installed dictionaries. This worked for me.


Alarm is working even when the phone is powered off I just discovered that if I set the alarm clock and then power off the phone (by holding the power button and then selecting "Power Off") the alarm will still go off when the time comes.

Is this expected behavior? It makes me feel like "power off" doesn't actually power off the phone.

I have a Huawei Y530-U051 running android 4.3.

That is expected behavior. It allows you to turn the phone off if you need to ensure the battery doesn't drain (or whatever other use-case you can think up) and still have a usable alarm clock. It's not new, many Android devices do something similar, and every iPhone since the first-generation models also had that feature. I can also recall an old Nokia 3310 I had back in the early 2000's which did the exact same thing.

Turning the phone off does shut down the OS, so don't worry about that. Android supports the setting of "hardware alarms", which let the phone boot automatically at a predetermined time. Not every manufacturer included support for them, but yours obviously did.

Edit: The hardware alarm feature has been deprecated by Apple and isn't useable any longer.


Export bookmarks from Android 4.1.2 Stock Browser for use in PC Browser How can I export bookmarks from my Android 4.1.2 Stock Browser, for use in Chrome and Firefox on my PC?

I've checked the stock browser thoroughly, but could not find anything like the Export feature found in desktop browsers.

Would appreciate some help, since I have a ton of book marks on my phone, and need them on my PC.

probably you need this app: Import/export browser bookmark . as mentioned in google play, this app backups your bookmarks from your android browser (stock browser, firefox, etc) and restore them in your browser in PC.. hope it helps you.


Disable "DeX on PC" notification each time S10 connected to PC Since a recent update (I can't say exactly which or when) each time I connect my Samsung S10 to my PC, I get a Samsung DeX notification...

I don't want DeX, but I do want to get rid of the notification every time I connect my phone.

Is it possible disable/remove the notification?  The app notifications is not giving me the slide-switch option to disable it...

If you would rather remove Dex from your phone instead of disabling it, and you have ADB and USB debugging setup, you can remove it with this command:

adb shell "pm uninstall -k --user 0 com.sec.android.app.dexonpc"


Are these two different phones listed in Google Drive's Backups? The following screenshot is from Google Drive's Backups.

SAMSUNG-SM-J327A backup

Apps: 30 apps
Call history: 94 KB - Last backup: Oct 13, 2019
Device settings: 4 KB - Last backup: Oct 14, 2019

Samsung SAMSUNG-SM-J327A backup

Apps: 32 apps
Call history: 101 KB - Last backup: Oct 13, 2019
Device settings: 4 KB - Last backup: Oct 13, 2019

They are listed as the same phone but one seems different with the number of apps.
How can I tell if these are two different phones?

You need to check whether there is another phone (in this case with the same model) that used the same account by going to Google Dashboard. From there select Android. The number of devices using the account will be shown and listed.

If there are 2 Samsung SM-J327A models, to differentiate between them, you can go here to use Find my device and compare the IMEIs of both devices by clicking on the info button.


Can I run an Android emulator on a computer with an AMD processor? I was trying to create an Android emulator on my computer but the AVD Manager is telling me that my computer doesn't support a required feature for the "VT-x or SVM." My computer has a AMD A6-5350M processor with radeon graphics with 8GB of memory. I was wondering if there was any way to run an emulator with this configuration.

VT-x is the Intel virtualization technology while SVM is its equivalent for AMD.

I think either your computer doesn't have such feature or it is not enabled.

Go to the BIOS and see if it is supported.

If the feature is not supported, you can test your app with ADB though.


Bind one directory to another I would like to bind one directory to another in order to extend the storage capacity of the first directory.

In linux you can execute:

mount --bind /path/to/directory1 /path/to/directory2

However, the Android shell doesn't understand the "--bind" and "-B" params.  This could also be accomplished through fstab, but I'm unsure of the syntax.

I need to perform this operation because my Samsung Galaxy S (SGS) has /data/data symlinked to /datadata, the latter of which resides on a partition that can only be 115 MB, and is constantly full as a result. I'd like to extend the space by binding a directory from somewhere else with more room.

Thanks in advance, I've been looking around for two days for some ideas.

From @eldarerathis --

  Do you have busybox installed? Have you tried mount -o bind /path/to/dir1 /path/to/dir2 (I think the busybox version supports that on Android)?


Send data via Bluetooth to Serial I have an application running on Win that the JavaScript would capture the string from a webpage and wake up the cmd, cmd would have the parameter as below.

  bridgetool.exe -c serial -p com1: -b 384000 -s string_from_webpage

bridgetool.exe is software that transfers the string into the RS232 String and sends the string via comport which defined in the CMD line.

-s is the string parameter from the webpage.

I want to do the same thing on Android. But instead of sending it via Serial, it would send the information via Bluetooth. And use a Bluetooth to the serial module to transfer this order.

I am not an Android programmer so before I start to work, I want to make sure that Android can do:

Is it possible to call terminal and pass the parameter in Android?

I understood that I can use some app to run a terminal command and send information via Bluetooth. But is it possible that an APP/Script can call the Terminal APP and pass the parameter? Like what I did on Windows. So the Terminal can transfer the parameter into an RS232 String and send it via Bluetooth?

No.  Android does not really have a commandline environment intended for use by Apps.  There is to a limited extent one available for development, and launching subprocesses from an App is highly discouraged but technically possible, however applications run under highly restricted user accounts which cannot do much on their own, and most systems services are only provided by Java APIs that make requests through interprocess communication.

So you'll basically have to do this in the Java-level code of an application.

A little web searching will find you examples for how to interact with bluetooth devices from Android application code.  Do note that there are many varieties of
bluetooth target, so that aspect of your question would be too broad, but additionally stack exchange sites are not a code writing or code finding service - you will have to do your own research there.

Android does often utilize a principle of delegating tasks to something else, but the utilized mechanism is not invoking a subprocess as a terminal command would, but rather sending an "Intent" - an Android-unique mechanism for making a request for a particular action, which Application components can either make, or register their ability to handle if made by other components.  There are no standard Intents for doing what you want to do, but it would be possible to create a component which sends bluetooth messages upon receiving an Intent request to do so, and then utilize that either within the same Application or in a different one.


How to disable TouchWiz Easy Home mode and enable TouchWiz Home? I've accidentally enabled TouchWiz Easy Home on my Samsung Galaxy SIII Neo (Android KitKat 4.4.2). Now I'm not sure how to get rid of it and get back to TouchWiz Home. I've tried rebooting the phone but I don't see an option. How do I switch?

Here's how I got it to work on my S4.

There should be an entry on your apps (swipe to the right) called Easy Settings, which will have an Easy Mode button.  If not, click More Apps, scroll to Settings, click "My Device", and then click Easy Mode.

From either of those, you can change it to Standard Mode.

If for some reason you can't access your settings or this doesn't work, one other option would be to download another home screen app from the Play Store, like Nova Launcher.  When it installs, your phone will ask you which home screen you want to use when you press the home button.  TouchWiz Easy Home and TouchWiz Home will be two separate options.  You want TouchWiz Home.


No keyboard after factory reset. Can't install keyboard on phone with bluetooth, google play, sd card, etc I have a Coolpad Quattro with Gingerbread 2.3. I didn't like the keyboards that came with the phone so I deleted them and got another one from the app store.
Because my phone was running slowly, I did a factory reset. This is the second time I did it.
Only this time, it didn't restore my keyboards. Now I have no keyboard to use, and I cannot sign into the play store on my phone, so I can't install a keyboard from Google Play. I have tried to send a file via bluetooth, but that doesn't seem to work either. I really need to use my keyboard, and I have reset the phone three times now. What can I do?

You just created a nice chicken-and-egg problem: to install a keyboard via the playstore, you need to configure your Google account on the device first. To do that, you need a keyboard. Note: never delete the (last) keyboard app from the system apps; a factory-reset removes all user apps, so if there is no keyboard app as system app...

Here's what you can do -- provided you've got some keyboard as .apk file:

enable USB Debugging on your device
use adb install keyboard.apk to install the keyboard app

If you don't have ADB installed on your computer, either install the Android SDK -- or see Is there a minimal installation of ADB? for an "ADB lite" variant.


SD Card as a Network drive in Wi-Fi Network? Please help me to emulate my Phone's SD card as a network drive in my Wi-Fi network. I am able to mount it as a Media device which will only help us to play music with Windows Media Player. But I want my SD card as a network drive.

A good application to do that is the Samba Filesharing. It shares your sdcard, making it easy to transfer files from/to your phone.
Settings
After installing the application from Google Play, open it and fill a password by touching the password menu. The default username is SDCARD and the default Workgroup is WORKGROUP. You can leave it that way or change it in a way that suits you.

I'd recommend enabling and selecting your WiFi in the WiFi White List . That way it only enables Samba sharing when connected to your preferred Network.

That done, you only have to go to your Network Shares and look for a device called ANDROID.
Login

Name: SDCARD
pw: (the one you defined earlier)

Open the shared folder and it will ask again for credentials, and you're done.
Here you have a video that completes this information.


How to hide (to my carrier) the use of VoIP? I plan to use Voice over IP with my android phone (Android 2.3 via Skype, Fring, JaJah, Line2 etc.). As I've read that my carrier is filtering VoIP protocols, I wondered if there are some protocol wrappers available as a workaround of packet/protocol filters? Thank you for any suggestions.

You could use a VPN to "mask" all your traffic. This way your provider would still be able to count the amount of data transfered -- but he would no longer be able to see its contents.

VPN requires a client (which comes already integrated with recent Android versions -- but additionally, there are a lot of apps available for this on the Google Playstore) and a server. The latter you can establish on your own hardware (software is available for most operating systems -- even some routers have this capability built-in). Alternatively, there are providers available offering VPN as a service.

The TechRepublic has a quite detailed article on this topic: Securely connect your Android smartphone via VPN. It describes what can be done this way, and also includes the necessary steps to set up everything. So if this approach sounds good to you, follow the link for more details.

Other good sources can surely be found following the vpn tag here on ASE.


Why are apps not loading anything after a while of use (Nexus 5 | 16GB)? Well the title says it. It happens to most apps that need an internet connection.
(Instagram, Youtube, Play Store, Whatsapp etc.) The browser works fine though.

But for example when I'm looking at my Instagram feed, after a while nothing loads anymore. Like wifi turned off or something. Or on Youtube after watching a few videos If I click on another video it starts not/infinite loading.

The solution to this is reopening the app, but this can be annoying as you have to find where you were again.

I couldn't find anything on Google and never heard anybody experiencing the same.
Is it because of my phone ? My wifi ? (3/4 connection most of time | 60mb/s) I do think other people didn't have this in my house but I'm not sure.

Thanks in advance!

EDIT:
I now have the Nexus 5X (Same simcard) and I got the same problem.

EDIT:
I noticed reconnecting to the WiFi is a solution as well, but this is still annoying.

Try wiping the cache and data of that app in settings .


Hiding System icons in Notification area? Does anybody know a reliable way to remove system icons from the notification area? I have a smaller screen on my (rooted, default ROM) Optimus T and I find some of the system notifications icons unnecessary. I would prefer to find an app to do it rather than have to do it myself, I'm always nervous about changing framework pieces by hand in a text editor.

For instance, I work full time and use my phone as my alarm clock. I will, for the entire life of my device, have an alarm set. I do not need an icon telling me I have an alarm.

Also, I have no need to know if headphones are plugged into my device. If they're plugged into my device, they're plugged into my ears, and that's an easier indicator while not taking up screen space.

Lastly, I keep my phone on vibrate. I never want my phone to ring because if I'm talking to somebody and my phone goes off, if I answer, I'm rude to who I'm face to face talking to. If I don't answer, then the person I'm talking to knows that I blatantly ignored a call; I'm worried if they call me, they'll think I didn't answer because I did the same thing. On vibrate, I'm the only one who knows what calls I answer/ignore.

Does anybody know an app to let me turn off these system icons in the notification area?

Here is an excellent thread on XDA on how to do this the really hard way (manually, with de-compiling and recompiling the framework.) I would highly recommend not flashing the different mods from that thread because they are based on files from a different device. Also, backing up the files you will be playing with is a must.

I have not found any 3rd-party apps that can do this. Could be because this mod requires edits to system files that are very device-specific.


Nexus 4 does not ring for calls on google talk or viper when screen is locked Nexus 4 does not ring for calls on google talk or viper when screen is locked. Directly when the screen is unlocked, I see the caller calling, even if he already long time ago stopped ringing!

The Nexus 4 is running 4.2.2.

So after some search and posting on some other forums, it turns out that it is a bug.
I'm quoting here from  Rizy7 @ Android central forums:

"Known problem with Nexus 4 WiFi.. Google have been made aware but nothing has happened so far.. Hopefully in the next update it will be fixed. To get around the problem you either need to get a new router, set a static arp on your router or you need to change some system files which means you need a rooted device."

Source : http://forums.androidcentral.com/google-nexus-4/267885-nexus4-wont-ring-when-calling-google-talk-screen-locked.html#post2699201


How do I make a backtick with a bluetooth keyboard? My android bluetooth keyboard doesn't have a backtick, but it has function buttons.

Figured it out: finally:

hold Function + L


Galaxy S7 stopped working - Want to retrieve files I have a Galaxy S7 whose screen died. I can connect the phone to a PC using a USB cable, and the PC recognizes the device. However, since the device is in "USB Charge" mode, I cannot access the directory structure on the phone to access files.

Is there a way to send a command to the phone via USB cable to change the settings?

If I can change the USB settings, I will be able to see the phone's file structure, and I will be able to retrieve pictures on the phone. (I do not have any extra storage card on the phone.)

Thanks!
Jon

The screen is black. Nothing on the screen. There is no sign of life whatsoever, other than when I plug a USB cable in and connect it to a computer, the computer does recognize that there is a device connected and installs the drivers. Thanks for your inquiry and interest in helping out!

Jon


Phone crash caused my app icons to dissapear? My phone crashed a few minutes ago and when I turned it back on, the majority of my app icons were gone. I could open then from the app store and it said they are installed but the icons are just gone? Most of the app icons that disappeared were saved to my 32GB San-disc SD card but both the SD card and my phone are relatively new.

Phone: Motorola Moto E3

You can do 3 things:

Restart your phone.
Try another launcher like Nova Launcher or if you can, find your launcher in System Apps and clear defaults, so that it prompts you to set it as the default launcher again. This may recover your icons.
Try an icon pack.


How can I tell Google Play Music to store the audio files on the removable micro SD card (and not on the internal storage)? How do I set the Google Music Play app to store the local "offline" music on the SD Card? I've used up about 90% of my internal storage.

I've looked in the app Settings and don't see any options for that.

If your phone is rooted you can solve this via a shell command:

  mount -o bind [Path to new Location] /mnt/sdcard/Android/data/com.google.Android.music/

(Replace [Path to new Location] with a Folder on your external SD-Card)

It will basically redirect every access to the default folder to the Folder which is specified.

You probably need to do this every time you reboot your Phone, so you may be interested in putting a script which does that into Autostart.

Source: http://forum.xda-developers.com/showthread.php?t=1785245&page=2


Asus Transformer : no more sound after update to Ice Cream Sandwich I updated my Asus Transformer TF101 to Android 4.0.3 last weekend and I have no sound anymore. Is this a known issue? How can I solve this problem?

Looks like you aren't the only one with this problem. A simple reboot seems to be working for most people, with some having to do a factory reset. If you have to do that, don't forget to use an app such as Titanium Backup to back up your apps first.


Where is the "Search" menu coming from? On my Pixel 2 XL,  select some text in Chrome.  I get a Web Search option that uses Google.  However I also get a "Search" option that uses Bing.

I don't have any Bing apps installed.  I've got Google as my default search engine.  Where is this Bing search option coming from?

Figured it out.  I installed the Microsoft Edge browser.  That was inserting the menu item in Chrome.  Once I uninstalled Microsoft Edge, the menu went away.


Will a firmware update erase my personal data? A friend of mine has a Samsung Galaxy S5.
It is actually prompting to update the firmware. But the updatetext (its actually in german) reads ambiguous. Translated it says something along the lines

Initalize the latest Version.
All configurations will be initialized and saved data will be erased.

The problem with the german text is it isn't distingtive this means just the Configurations data or ALL data. I wasn't able to find someone having this problem by googling (I'll just get spammed how to delete/erase the updateprompting...)
SO I'm asking here:
What kind of data is meant to be erased for a Samsung Galaxy S5 when performing the latest firmware update? (If it matters, current version: PDA:OJ1 / CSC:OJ1 / PHONE:OJ3(XEF))

Do a backup of your phone's important files, don't risk it, if the phone reinitialises it isually resets it to its factory version, erasing all the data. Also your apps are very likely saved in a list so that you can reinstall them after the reset, so don't worry about them. Use google drlive or some other service, take the SD card out, and do the firmware update, if you want. Just don't risk it.


Microsoft Outlook.com app notification Some information:

I have 1 gmail account for my business/work related emails only I
have an outlook.com account for my personal emails
I have another gmail account for non-important things i.e. newsletters and freebie
sites and other 'spam' type mail.

I would like to use the gmail app on my phone for the business emails only and
I want to use the outlook.com app to take care of both personal and non-important emails.

Steps taken so far:

I have installed the outlook.com app on my nexus 5, running the latest android.

I have then added a secondary account to it, via the web interface on my computer. This is my second gmail account that is used for non-important things and is linked via the POP3 settings, and shows up as a separate folder next to the inbox/outbox in the outlook app.

The app is configured to notify me by both sound and vibrations (both options checked in the settings) - and it is configured to receive push notifications.

However, the app behaves quite strangely. For the main account (my @outlook.com address) the push notifications are pretty instant and the phone vibrates/makes a noise. For my secondary account (gmail linked via POP3) there is no notification, I see these updates when I open the app (it shows unread count). How can I make the phone notify me of ALL messages that appear in the outlook.com app.

You can't have email push notifications over POP3. It's an old protocol and simply doesn't support push. It doesn't matter what client you use or what kind of mail server.

If you can set up Outlook to access Gmail through IMAP instead of POP3, and if Outlook supports IMAP IDLE for push notifications, then you'll get push notifications. Otherwise, you might have to use a mail client that does support IMAP IDLE, such as K-9 Mail.


What is AwesomePlayer? In looking in my logs I see AwesomePlayer running. I am currently not playing any media, so I'm wondering what it is, and why it's running. My device is a Samsung Galaxy S3.

AwesomePlayer is the built-in media player, part of Android's media playback engine.  It's also referred to as the Stagefright player.

You may be seeing the player's entries in the log while not playing any music or videos, because it handles all media playback, including ringtones and notification sounds.


Galaxy Nexus charges but is never seen by a PC when connected via USB I run Linux (Ubuntu 12.04), and I have a Galaxy Nexus running Android 4.0.4. (Purchased in December 2011.) When I plug the phone in to the PC via USB there is no detection whatsoever. Tailing /var/log/syslog when plugging or unplugging the phone there is ZERO activity in the logs.

The phone however will charge.

Plugging the phone into a Windows 7 machine, same deal. Phone charges off USB but Windows never prompts to say the device has been detected. Also same on MAC.

Using the same micro USB cable, and an HTC One X. Linux, Windows and Mac all detect the HTC phone AND the phone charges.

I have been to Settings -> Storage and changed the phone from PTP to MTP, still no change.

From memory this is the first time I have ever wanted to plug the phone into the PC. So it may have never worked.

Is there something I am missing (like a setting or something?) or can I assume that the phone is faulty?

If you've installed the kernel mod for "fast usb charging" it will not be able to connect as long as that feature is enabled.  You don't mention being rooted, but that is a side effect of the fast charging.


Does a nandroid backup contain the hboot? If I restore a nandroid backup will it restore the hboot and the corresponding partition tables?

I'm on bravo-stock hboot now and I want to try the CM7 hboot. Will I be able to switch back to stock hboot just restoring a nandroid or do I need to flash the stock hboot first?

Generally speaking, no, ClockworkMod (and other custom recoveries) do not backup your bootloader. You can physically look at your backup directory to verify this, but I have never seen a custom recovery that included a bootloader in the backups. What you typically get is:

Boot partition
System partition
Data partition (also /sdcard/.android_secure depending on the recovery/version)
sdext (if you have it)
WiMAX partition (if you have it)

The general rule is to make sure you have the correct HBOOT version before you restore a nandroid backup, and you'd have to flash it separately.


Amazon Fire TV stick adbLink Device Unauthorised When following the tutorial to disable the annoying 20 minute Amazon Stick sleep timer and using the method that changes the sleep time value in the core shell, you might not be able to connect to the amazon stick using adbLink with the error: Device unauthorised press refresh or see help.”

The tutorials that you will find will be completely useless, they will be a horrible video of the developer pressing the refresh ADB button, and a badly written developer tutorial that tells you to delete some files somewhere on some device.

The issue is easily resolved by connecting the amazon stick to the correct primary WiFi channel, usually that is 2.4GHz channel by default. If your stick is connected to the 5GHz channel of your network it might not be discoverable by the adbLink.


Lg Aristo 2 Fastboot flash recovery - FAILED (remote: 'unknown command') I've recently been trying to flash twrp on my Lg Aristo 2, when I ran the code to OEM Unlock a device it came out with the same "FAILED (remote: 'unknown command')".
I started my phone back up and it came to a set up screen, I set up my phone and it said it was OEM Unlocked. When I try to flash a custom recovery, or run any command with fastboot at the beginning  i get "FAILED (remote: 'unknown command')" and it doesn't work. Can someone please help?

Seems fastboot is broken or disabled since Oreo.
First you have to downgrade ROM to Nougat. You can flash *.KDZ files with LGUP or LG Flash Tool.

Then it should work as usual:

Make sure you have enabled
System Settings > About Phone > Developer Options > Enable OEM unlock,
and
System Settings > About Phone > Developer Options > Enable USB debugging
check adb is working

adb devices

check fastboot is working

adb reboot bootloader
fastboot devices

WARNING: Factory reset, all data lost!

unlock the bootloader (one of these should work)

fastboot oem unlock
fastboot flashing unlock

if unlocking was successful, you can test recovery without flashing

fastboot boot <path>/recovery.img

then reboot into bootloader and flash recovery

adb reboot bootloader
fastboot flash recovery <path>/recovery.img


What is the default Kernel Governor in Stock Samsung Galaxy Mega Android ROM? I have rooted my phone recently and just installed ROM Toolbox which has several Governors available. It is using OnDemand by default, but I switched to Interactive. I just need to be as close to default settings in order to maintain stability.

Btw, when I am using a third party app to change CPU Freqs, ROM Toolbox in this case, It seems to be a bit laggy. Is this normal?

I don't know the default governor for the Galaxy Mega. However, there's an easy way to determine your current governor. Rebooting the phone (Unless you ticked the option in ROM Manager and/or other apps to persist governor selections through reboot) will reset it back to its default setting.

You can find your current governor by running the following command in an adb shell or terminal emulator:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Chances are your default governor is indeed ondemand. It is commonly used as the default governor on many Android devices, and seems like one that Samsung would like to use.


Black screen, but the phone is working (Moto G LTE) I have a Moto G 4G (with Lollipop) with the following problem. As soon as the boot sequence completes the screen turns black. It is not broken because the boot animation is shown, and I can take screenshots by pressing the power button and VOL DOWN. I can also see the screenshot animation (a white square that shrinks on the screen) and hear the shutter sound. By holding the power button the "Shut down" dialog appears and it can be touched, resulting in the phone shutting down.

I have tried running the phone in Safe Mode. Nothing changes (except from the Safe mode text in the lower left corner). I have also tried wiping the cache from the recovery twice to no avail.

Can you help me diagnose the problem? Or at least, is there a way to backup the data from the phone before attempting an hard reset? Please notice that the phone is locked, unrooted and the usb debug is not active, so I can't use ADB.

This is likely a factory reset situation unless there is a known vulnerability in the recovery image or bootloader that could allow you to either flash your own recovery or at least use some means of ADB to access the phone.

As a long shot, try ADB backup from within recovery. Some recovery images tend to keep adb accessible to some extent.


Unable to send attachment from Gmail using browser I want to send PDF, and DOC file using Gmail on Sony Xperia. But there is no option to add attachment on Google Chrome, Firefox or Dolphin. Also, when I open Gmail on stock browser with desktop version, there is an option to add an attachment, but it doesn't actually add the attachment, and only text data is sent. How to send attachment using Gmail on phone?

You are right, I tried your way just a while ago and I am unable to attach file in Gmail.

If it is possible for you, instead of using Gmail from browser, download Gmail app from Play Store and your problem will be solved.


can i change my battery with other mAh batteries My phone is ikon 787.its battery was recently damaged so i decided to change its battery. The original battery is 2600 mAh . I likes to change it with a 4100 mAh battery.Is it have any demerits. Do it have any problem on changing the battery with other specs.

Technically you can because all have the same cell voltage.
But it is not feasible as 4100 mAh battery will be of larger size and it will not fit in the phone with 2600 mAh.

If it can hold a larger battery then manufacture would have done this already.


Can't remove bloatware after rooted After my phone is rooted (confirmed by Advanced Root Checker*) using this tutorial, I can't remove bloatware. Normally this can be done by System app remover pro, but now the removal keeps failing. Do you know why is that?
*It says that I don't have "Read/Write Path". I don't know what this mean and am not sure if it's relevant here.

You don't have to root your device for debloating.
System apps can be "uninstalled" from adb shell
adb shell pm disable --user 0 <pkgname>

(actually that will disable the app. Do this again after each factory reset)

If your device is rooted with Magisk you can remove apps from system (overlay).
Just create some empty files for the file/directory you want remove
/data/adb/modules/DEBLOAT/system/app/Bloatware/.replace
/data/adb/modules/DEBLOAT/system/app/Bloatware.apk

where DEBLOAT is the id name of your Magisk module and module.prop is the module info
/data/adb/modules/DEBLOAT/module.prop

id=DEBLOAT
name=my first module
version=0.0.0 pre alpha
versionCode=000
author=my name
description=just remove some of my system apps

If you want you can create a Magisk flashable zip for your module, so you have it handy in case you need it again.

Additional explanation quoted from the Magisk Developer Guides:
Module Tricks

Remove Files
How to remove a file systemless-ly? To actually make the file disappear is complicated (possible, not worth the effort). Replacing it with a dummy file should be good enough! Create an empty file with the same name and place it in the same path within a module, it shall replace your target file with a dummy file.

Remove Folders
Same as mentioned above, actually making the folder disappear is not worth the effort. Replacing it with an empty folder should be good enough! A handy trick for module developers is to add the folder you want to remove into the REPLACE list within customize.sh. If your module doesn’t provide a corresponding folder, it will create an empty folder, and automatically add .replace into the empty folder so the dummy folder will properly replace the one in /system


DLNA device is requesting access to media files on your phone I got home from the airport today and I keep getting this "Grant access" pop-up ...

Did my phone get hacked? Did some device in my house get hacked? Or am I just paranoid?

Very likely nothing at all got hacked. DLNA is a standard used for devices like phones, smart hard disks, smart TVs, and PCs to browse and share media files (videos, photos, and music).

It looks like your phone came with a DLNA server to make it easier for you to play/show media files on (for example) your TV. Normally, you'd go to a menu on your TV of connected DLNA media sources (devices offering media sources), and select your phone. Your TV would then connect to the phone to get a list of what media files it has, and this warning would come up before the phone responds, to check that this is a device you were expecting (and not, say, someone's laptop on the Wi-Fi network in Starbucks).

If you've identified this device as your laptop, then it must be some software on that that's making the request. It's possible that it is malware running on the laptop, but more likely, it's some normal media-player or photo-manager software. Even if you haven't explicitly told it to scan for files on your device, it simply be trying to connect to your device when you are browsing for an unrelated media file, or indexing in the background to help you find files more easily in future.

If you've left the DLNA server in your phone turned on while travelling, then you certainly aren't paranoid about security. It defaults to on to make it easier to use - most people would never realise it was there to turn on - but it's safer to leave it off until you actually want to use that feature.


Inaccurate time? How to fix it? Sometimes the time on my phone (X10 mini pro) is a little late while in sleep mode. I've experienced differences from 1 to 3 hours. My guess is that the clock system component (if there is such a thing in Android) doesn't get enough CPU time for some reason. This is not a big problem yet, since the clock will show the correct time just a few hundred milliseconds after I turn the screen on. The problem starts when I'm in sleep mode too and the phone is supposed to wake me up, because that way I have to wake up first to wake up my phone to wake me up.

So the question is: is there a way to force my phone's clock to always refresh it's time, even in sleep mode?

Update:
I think I've found a pattern which might be relevant. Looks like this behaviour never occurs while charging the battery.

You can use an app called ClockSync, which fetches time from NTP servers and updates the device's date and time.  Rooted users can make this app to update time at configurable interval.


How can I install Spotify on a Samsung Galaxy Tab 8.9? Spotify's installation page forwards me to the Play Store, but the app is not available for my Galaxy Tab 8.9 in the store. Is there any another way install the app?

(It's a European Galaxy Tab with data service, but the app is not blocked based on region since I can install it on my phone without issues.)

I contacted Spotify's customer service. Their answer

  Hi Sami,

  Thanks for your email, I am sorry to hear you are experiencing
  problems installing Spotify.

  At present Spotify is not compatible with European Samsung Galaxy Tab
  8.9.

  If you have any other queries, please feel free to contact us and
  we'll be glad to help.

  Many Thanks.

  Best wishes,

  Oggy

  Spotify Customer Service

So not supported.
I demanded them to mail me when they get the support.
I will post here when I receive the possible mail.


Samsung (Galaxy S4) does not show Authorize USB debugging dialog box I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option.

On the PC side, adb devices shows that the PC see the device, but it is listed as "offline" and I cannot use adb shell to talk to it.

Moreoever, if I unplug the device, adb devices does not list it at all, so I assume that the adb server is able to see the phone and simply cannot talk to it.

How can I force the "Allow USB Debugging" to appear on the phone?

I have already tried restarting both devices and disabling and enabling USB debugging on the phone.

I have had this happen multiple times on multiple Android devices. Solved every time by putting the device in Photo transfer (PTP) mode.

ADB will not work for me when my device is in MTP or any other mode.


4.4 Update (Sprint Galaxy S3) disabled pattern lock, can i reenable? This morning I applied the 4.4 update on my Galaxy S3 (Sprint). I noticed that I can no longer use a pattern lock. The message: "Turned off by administrator, encryption policy or credential storage" is shown for Pattern, Swipe, Face unlock, Face and voice, and None.

I thought that this might be related to my work email, which I get on my phone and is exchange, but i removed all device administrators and nothing changed.

How do I re-enable pattern lock?

Go to Settings
Select Security
Under Credential Storage select 'Clear Credentials'


GT-i9195I not recognized by USB I was not able to boot into system and thought it was a good idea to format the
sdcard and flash a new firmaware.
Unfortunately I can't find a working rom. So I decided to Flash stock rom or update twrp (hoping this will fix my flash problem).

When plugin my phone to my pc it will be recognized fine (when in TWRP) by adb.
But when I boot into bootloader nothing happens.
Linux and Windows do not even recognize that there is a device plugged in. I tried several Drivers on Windows. On Linux I did nothing because I do not get the vendors ID form fastboot (because the device is not recogniced by the pc).
I tried several cables and different PCs. But I don't get it working.

Because of formatting the sdcard and not be able to boot into system I can't enable USB Debugging.

If you need more information please ask.
I am glad about every help / hint I can get.

Thank you very much and Kind regards
j0chn

Samsung devices don't have fastboot, except for Samsung Nexus devices. What you call fastboot is Download mode in which no fastboot commands is recognized.

I think the computer is detecting the device but not as a fastboot device. On Windows,  go to the Device Manager, you should see Samsung Mobile USB modem which is used as flashing interface. No USB Debugging needed here.

Flashing stock firmware on Samsung devices is easy. Just download the firmware and the flasher (Odin for Windows or Heimdall for Mac).


Customizing the reminder. Currently, the reminders are carried out by a one-time vibration (which is too easy to miss)

What settings do you go to to make them say, do 5 loud beeps or something?

This is for note 3.

You can add more reminders for one single event.
If you want something more "loud" you should edit the notification sound to something like a longer notifications sound so that it will vibrate for all the sound duration.


Android phone not recognized when connected to Ubuntu, by 'adb devices' Upgraded my HTC Slide to Froyo. Connecting Ubuntu 10.10 via USB.

As per instructions here, http://developer.android.com/guide/developing/device.html

    $ cat /etc/udev/rules.d/51-android.rules
    SUBSYSTEM=="usb", ATTR{idVendor}=="0BB4", MODE="0666", GROUP="plugdev"
    $ ls -l /etc/udev/rules.d/51-android.rules
-rw-rw-rw- 1 root root 72 2011-10-23 20:57 /etc/udev/rules.d/51-android.rules
    $ adb devices
    List of devices attached
    ????????????    no permissions

Had this very issue earlier tonight myself.

The 51-android.rules needs to be world read-execute, and it's probably best to run service udev restart (or reboot) after changing this, then re-plug your device.

If it still doesn't work, double-check the vendor ID you've supplied; with your Android device connected, run lsusb. HTC also use the vendor ID 18d1 on newer devices.