How to use an external USB keyboard with a Galaxy S II or a Huawei Y201 Pro The background:

I recently learned about OTG USB cables that can be used to connect peripherals to Android devices. I had this idea of using an android device with a usb barcode reader connected (which basically acts like a keyboard) and an in-house developed app, for stock management in a warehouse.

The first step was to buy the OTG cable. The second was to start testing peripherals connected our existing Android devices.

The problem:

When I connect any USB device to a Huawei Y201 Pro (4.0), there is no feedback from the device. No error, no response from the input, nothing.

When I connect mouse to a Galaxy S II, it recognizes the usb cable, then a cursor appears on screen and all works great. However, when I connect a keyboard (I tried around 5 so far), a notification says that the cable was connected but right after that it says that no devices are connected.

My question:

Is there something I'm missing to make this work?

If not, some secondary follow up questions: What are the things I should look for in making this idea work? Is this connectivity more dependent on the Android device? OS version? Peripheral?

Maybe your mobile doesn't support OTG. It may also need to be connected via a powered USB hub in order to provide enough power.


Twrp boot loop after factory reset I recently installed CM13.0 ROM by NovaFusion.
It worked perfectly, I used it for some days. Then I wanted to factory reset the phone and I did. But after booting into recovery it stuck into the twrp loop. I restarted and it was still in the twrp loop. Only download mode works but my laptop doesn't recognise my phone for some reason now ???? (It did before the factory reset)
Now its charging is also finished and now it won't even charge anymore, tried various chargers.
Any suggestion? Is it the end or there still some hope?
Phone: Samsung Galaxy S3 Mini Gt-i8190 rooted.

I assume your recovery partition was wiped out partially during factory reset and I see the only solution here - to make full reinstall via Odin using one of the stock images.
Then you can flash TWRP again and re-root.


USB Drivers for Samsung Galaxy Grand Neo Duos GT-I9060I? I can't find the USB drivers for the Samsung Galaxy Grand Neo Duos, GT-I9060I, on the Samsungs Official site or anywhere else?

Try ADB drivers and see if it works.

The download link is here - http://adbdriver.com/downloads/


how can I transfer nokia lumia 8 data to samsung galaxy 3 how can I transfer nokia lumia 8 data to samsung galaxy 3
I tried Transgo the usb cables would not connect to the PC even after I bought good quality cables.

You can Use this app to share your contacts.

http://www.windowsphone.com/en-in/store/app/qontact/e3404be4-324f-46e3-b47d-5561c676cad6

You Can Also Sync your Contacts between Lumia 820 & Galaxy S4 using your Hotmail ID. Just login your Hotmail ID to your galaxy S4 and Sync.

You Can Export Your Contact from https://people.live.com using your hotmail id in *.csv format then import in your Phone or Google Account Which you are using in Galaxy S4.

From Microsoft Answers


Imported Hebrew vcf contacts come out gibberish I just joined the Android community. I have been using a Nokia E72. I am a bilingual user (Hebrew/English). I have succeeded in importing my address book 838 contacts with the help of this blog http://myhtcdesire.com/tutorials/how-to-transfer-contacts-from-a-nokia-symbian-phone-to-htc-desire

My Android OS came with Hebrew/English pre-installed. The problem is that in the imported address book all of the Hebrew in contacts show as gibberish.

I tried switching back and forth the default language, but that made no difference.

Any help would be appreciated.

Sounds like an encoding problem.  Have you tried importing the .vcf into Google Contacts (on the web) and then syncing your phone with your Google account contacts?  That might provide better results; Android doesn't play nice with multiple languages right now.


S-pen SDK Compatibility Has anyone seen the S-pens SDK in the Play Store or galaxy apps store? What exactly is it for and even if I'm not developing any kind of modifications to the S-pen feature of Samsung phones can I download the app to enable an S-pen to be used with my phone?
My phone is a Galaxy A5 (2015)

Your device does not have S Pen feature
S Pen SDK app on Play Store is for

  This is the downloadable library for the Pen package, which is a part of the Samsung Mobile SDK. With the library installed, your application regarding SPen is able to use the latest Pen package features.

( Emphasis supplied)

So, no, you can't download the app and expect to have S pen enabled on your device, since it doesn't have S pen to start with. Quick search on XDA didn't show any mod / custom ROM which has S pen feature
S pen SDK that can be downloaded from OEM is for developers to develop applications using S Pen


google play services is not supported by kindle fire I installed google play services on my kindle fire 6. Except whenever I try to launch it, it always crashes. And when I try to launch another app, YouTube for example, it says "Google Play Services, which some of your applications rely on is not supported by this device. Please contact manufacturer for more information."
I've tried rebooting, re-installing, installing another version, and installing from another website. I have google accounts and google framework apk installed. And my device is in very good condition. I don't know what to do. Please help.

Use this version. My Fire was working perfectly until this week so the solution seems easy: to move to GPServices previous version.

Google Play services 7.0.99 (1809214-038)

Good luck.


Using Local (private) DNS server on Lollipop I have a website hosted on an IIS server on my network. The DNS for this website on only valid from within the network. The DNS cannot be resolved outside of this local network.

I am using Wi-fi to connect to the network, but I believe my phone is trying to use the google dns servers in order to resolve the website name when I try to access it from chrome in my Galaxy S5.

Are there any workarounds for directing android to use a seperate dns server ?

You can modify the network config to set a specific DNS value.  Find the WiFi network you are connected to, press and hold on the name of the netowrk->Modify Network Config->Show Advanced Options.  From here you can set a specific DNS, after changing the IP Settings to static.

I believe that most devices look at the DHCP for a DNS server, with a google IP as a backup.

There are some handy apps (must be purchased though) that allow you to only change your DNS but keep your IP address dynamic, based on DHCP.  Overrride DNS


Can I backup my HTC Desire to my laptop without a USB cable? I want to backup my HTC Desire, but I don't have the USB cable handy for a while. Any Ideas?

You can backup to your SD card, then use a card reader, the take out the SD card and physically copy the data to your computer. Backing up to the cloud via Drobox is another option.

There are number of apps that will help you with this. This describes a way to manage this: http://www.addictivetips.com/android/clickfree-for-android-backup-all-data-to-sd-card-or-dropbox-cloud/


Widget for controlling tethering Are there any widgets on the market that let me control standard Android tethering? I use it quite a lot and it's a pain to have to navigate through all the Settings options just to check a checkbox...

You can simply install the GoLauncherEX and then install the GO Switch Widget. It is awesome and lets you control lot of other functionality other than tethering.


Prevent Google Music (but not other players!) from scanning local files I'm wondering if there exist other options rather than adding  the '.nomedia' file - this way I'm hiding the mp3s for all the players I have. But I want just Google Music not to see them, not other ones.

BTW, placing a dot in the beginning of the folder name hides the files in all the players as well.

Well, if you are on android 6 and above, you can just revoke "Storage Permission" of the application.


Are PIN lock and lock screen widgets incompatible in ICS? My wife has a Bionic and I've got a Galaxy Nexus. So she has the older Android version and I've got ICS. We both use PIN locks.

On her phone, she first has to swipe-unlock to get to the PIN screen, which means her first screen has lock widgets on it.

On my phone, I only see the PIN screen. This means I don't have any lock widgets, which is disappointing. I have to unlock my phone in order to mess with music that is playing.

My question is: is this an ICS issue or is there a setting I missed that lets me see the lock screen (with widgets) before the PIN screen?

Seems to work for me -- here's what I see:

(Click image to enlarge)


Is there a media player that sorts WMA in track order? I'm using an HTC Desire with 2.2 and the stock media player annoyingly sorts the tracks in alphabetical order.  According to MediaMonkey the files have the correct track order tag in them.

Is there a media player that sorts the tracks correctly? (I've also tried Winamp and btunes at this point).

There is a known bug that disallows sorting of WMA files by track number.

You could try using MediaMonkey or something like MP3Tag on your PC to rename the file as
%track_number% - %Artist% - %Title%.wma or something similar, so it sorts by name.

Also try Meridian Player - you can create a PlayQ (kinda like a playlist and then sort that by Track, I believe.

And be sure to take a look @ Mort Player too.


All of my launchers keep crashing, my only fix is to factory reset. I need help for backing up valuable data I have a Galaxy S2 running on ICS. It is not rooted.

Recently it keeps crashing. No app will start with the exception of lock screen and the notification curtain. My menu button does not work so during my research on this problem the "download GO Launcher and set as default > clear data" solution will not work. I want to keep this post as short as possible so here are some links on my first problem:

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

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

(These two posters fixed their problems due to their menu buttons being able to function).

Looks like my only fix is to do a factory reset (though if anyone has a few suggestions, please post them!).

Unfortunately not being able to access any apps means I cannot do back ups. I want to restore my phone to the pre-crash state as much as possible. I have a valuable memo on the "Memo" app that comes with TouchWiz. Can this be done?

EDIT: Forgot to mention that it's best not to void my warranty by flashing or rooting. My S2 has some screen burn ins that I need to get fixed and they'll be checking.

Basic walkthrough for any phone:

Alternative 1:

Flash a CWM recovery
For Samsung, use Heimdall. download for 'Galaxy S2' or 'SGH-i777', depending on what you own
Heimdall also supports a dump command that can be used to backup all flash beforehand
Command to flash: heimdall flash --recovery CWM-recovery.img
Enter the newly installed CWM recovery
Do a backup in CWM to your external sdcard (be sure there's enough space left)
switch off & check the backup on your PC (it's located in /clockworkmod/backup/ on the sdcard)
If you're sure your backup is OK, enter CWM again and do a full wipe
Reboot your phone, do the first-time-init (Google Account and such)
Install Titanium Backup + its Pro key
in Titanium Backup: extract from nandroid backup

Alternative 2:

Applicable if your fastboot mode supports the extended command 'boot'
Compatible devices: Google's Nexus Line, HTC Desire with patched HBOOT loader and others

Steps:

Enter fastboot mode and load a recovery into RAM (without flashing): fastboot boot recovery.img
Continue with step 3 from 'Alternative 1'

Alternative 3 (Samsung only, but broken on Galaxy S i9000):

not tried yet, see this as an idea as for now. You're on your own with errors on extraction & restore

Heimdall implements a 'dump' and command and a means to print the partition table (PIT):

heimdall dump --chip-type NAND --chip-id 0 --output nanddump.out.img
heimdall print-pit or heimdall download-pit --output nand.out.pit

You may then cut the NAND dump into pieces (one for each partition) and name them accordingly. If successfull, you can then access your data and continue at Alternative 1, step 8 or 4


Automatically Enable Airplane Mode at Home? I have Project Fi and my data connection at home is spotty -- I often miss calls.  I would like to automatically enable airplane mode when I get home (by GPS probably?).  When I leave, I would like to disable airplane mode.

I have a Nexus 5X with beta 7.1.1. Any ideas?

Automation! Yay!

You are going to need four things:

Tasker, either the free trial which lasts 7 days, or the full version on the play store
AutoInput
This script I made!
A few minutes to spare. (At least you do not need root!)

PREMINILARY. Install Tasker and AutoInput, and open them both at least once. Also, ensure you downloaded the script. Also, Go settings -> accessibility and grant access to both Tasker and AutoInput.

Go into tasker, and tap the house, then 'import' then the script I gave you (should be AirplaneToggle.prf.xml) to import it.
Close Tasker while connected to WiFi, and watch to see if it works. It should!

What is that script doing?

Simply put, the script starts up the wireless and networks settings, creates a fake tap to enable airplane mode, waits a little, then returns to your homescreen, and also disables tasker to finish.
Keep in mind:

If you want to have this only apply to Home WiFi, you need to configure the WiFi bit. In tasker, tap the stuff on the left of the green arrow, and add the SSID (The name) of your WiFi hub. For example, I have a sky Hub, so it would be 'SKYXXXXX6' (X's replaced with random characters) that I put into the SSID field.
This task disables Tasker when finished to avoid it looping constantly. You can re-enable it by holding your finger on the grey lightning cog in taskers main menu (top left) OR by adding a widget that let's you toggle it from the homescreen!*
Delays are in place to allow for animations and Lag to finish safely. Also, the script will take you to your home screen when done.
You can still enable your WiFi in airplane mode- just don't enable tasker when on your Home WiFi! (I already said that, right?)
Tweak the task if you want. Not stopping you at all.
Tasker is woring paying for, but free alternatives are available! (Or be an ass, and just trial Hop (backup the scripts before the trial expires, then uninstall and reinstall said trial version)

*Just found out there is no Widget to enable tasker. You will have to do it via opening Tasker itself.

All links are legitimate, including the trial (it links to the official site, as a direct download) if you feel links are illegitimate, say so in the comments


YouTube age-restriction bug I am asking this question on this site as I have a problem with the YouTube app: So, I happen to be a teenager under 18 and have a Gmail id that I use with YouTube. Now everything was fine until something came upon me and I decided to upload videos on YouTube. So, I made a separate YouTube account but with the same Gmail id. So now I was browsing videos with my regular ID and saw that one video was age restricted and I could not view it. So, I switched my ID to my uploading channel(that actually used the same Gmail id) in the YouTube app and bam!I could see that video with just a warning about the content being inappropriate for some users.( I haven't tried it on the YouTube website yet)
So,  I have these questions:

Is this actually a bug in YouTube or is it supposed to be this way?
If it is a bug, has it already been reported but not fixed yet because google employees don't view this as an issue?
Should I report it(I  don't know how to)? As I think parents might be concerned about this.

Is this actually a bug in YouTube or is it supposed to be this way?

Being that when you open a new channel, it doesn't ask you for your date of birth, that means that it's using your main accounts date of birth. In that case according to the system you are under 18 and so I'll have to conclude that this is a bug.

  If it is a bug, has it already been reported but not fixed yet because
  google employees don't view this as an issue?

Being that bugs are reported privately to Google, there is no way for us to know whether this one was ever reported.

  Should I report it(I don't know how to)? As I think parents might be
  concerned about this.

You should definitely report it. I look at this as possibly a security bug, therefore, I suggest you report it here. this page is specifically for reporting bugs, and you might even be eligible for a reward!


How to prevent adb shell from exiting upon Ctrl+C When I adb shell into my device (from Windows desktop), and run some command there, sometimes I want to terminate that command. The standard unixy way to do it is with Ctrl+C key combination. However, when I do that, the whole adb shell terminates.

How can I terminate just the current program inside the shell, not the shell itself?

I found sort of a workaround for this (at least for a rooted phone). If a phone is rooted, busybox is most probably installed. stty is part of busybox.

  stty intr ^x

Redefines Ctrl+X to act as a break command, e.g. what was previously Ctrl+C.


'error: device not found' while connected to device through adb shell Trying to deodex my Samsung Galaxy S4 (SC-04E).

My device shows up upon adb devices, and I am able to successfully connect and su with adb shell. In shell:

C:\Users\username>adb devices
List of devices attached
905859f9        device
C:\Users\username>adb shell
shell@SC-04E: $ adb pull /system/app app/
error: device not found
shell@SC-04E: $ su
root@SC-04E:/# adb pull /system/app app/
error: device not found

I have no idea why I am getting this message. USB debugging enabled and confirmed, MTP on, unknown sources on (off tested as well), and latest adb USB driver installed (also tried reinstalling/updating). I have also tried rebooting my computer and device several times, and tried different USB ports (3.0, 2.0, etc).

Google searches only show me solutions for people who lacked the obvious settings (USB debugging) or their device not showing up at all upon adb devices. A device clearly is found, as it is connected to a device.

You must run adb on your host PC instead of your device. The adb is a host program that operates on another device. To pull data from your phone, make sure you run adb like this:

C:\Windows\system32>adb pull something yourPC

If you run adb shell then you're entering your phone, where you are actually running /system/bin/adb instead of adb.exe on your Windows PC. Your phone is a client device, not the host device.
If you want to pull a file from a root-required place, you must first copy it to somewhere else before pulling it out. Like this

C:\Windows\system32>adb shell
shell@SC-04E:/ $ su
root@SC-04E:/ # cp /path/to/somefile /sdcard/somefile
root@SC-04E:/ # exit
shell@SC-04E:/ $ exit
C:\Windows\system32>adb pull /sdcard/somefile D:\somefile

For your question about why adb returns nothing, you can try this to find out.
Plug in another adb-enabled phone using an OTG cable on your primary phone (in your case, Galaxy S4) and get a terminal emulator. Type in adb devices and run on your primary phone you can see it like this.

root@SC-04E:/ # adb devices
List of devices attached
12345678        device


Skip ads from YouTube Since ads are almost inevitable on official YouTube app on Android device, I was wondering if those can be skipped automatically?

This post is only about those ads which can be skipped, lets ignore ads which can not be skipped.

For example: When YouTube video starts, for some ads, there is an option to "Skip this ad in 5 sec".

Once "Skip ad" label is enabled, we can click on it to move to video. Of course this is all manual, and as a user you need to focus on EXACT timing to HIT the skip button. And it becomes worse if the video is having multiple Ads(few of which will be shown in future time), where when Ad plays, user need to again click manually to skip it.

Can this be AUTOMATED, meaning when there is an Ad which can be "Skipped", then just let the YouTube skip it without user's intervention.

This will be specially useful for those videos which has multiple Ads spanned across the video length and few of them can be skipped.

Looking for a solution on non-rooted device.

Update: It seems like Google is introducing new ad format called Bumpers.  Bumpers, which are unskippable 6-second shorts placed in front of videos.

  So, soon we may not see an ad which can be skipped, forget about
  skipping it via automation!

You're interested in the Youtube AdAway Xposed Module. It requires root access and the Xposed Framework.

It completely removes the following:

YouTube ads
channel logos
video suggestions
information card teasers

To the best of my knowledge, what you've requested (auto skipping advertisements in the stock Youtube application) cannot be done without root access. Root access is required to 1) draw over other apps and 2) record/replay touches.

See:

Bot Maker for Android
RepiTouch Free
HiroMacro Auto-Touch Macro


Are apps in SD card available after a factory reset? If I move some applications to a SD card and perform a factory reset, will they be available when I plug the card back again after the reset, even if the device's primary account changed?

To add to @Mattthew 's comment, even if you move the apps to SD card part of them always reside inside internal memory. Also the system needs to know what apps are installed, apps like Market need to know about them. So, no they won't work after factory reset.

For big games like from gameloft the extra data you downloaded from inside the game will work though. I don't know what will happen to this with the new Market policy of allowing upto 4GB files.


Why are characters turning into blocks? I have a Samsung Galaxy S4. On the lock screen and on pop up messages some of the characters are blocks.
Here is a screen shot of it:

Screenshot - Block Characters (Click to enlarge)

I'm not sure if it's one of my apps that is doing this or if it's something else.

It looks like a glitch in the font rendering process. If it is an in memory glitch, you may be able to resolve it by restarting the device. If it persists across restarts, then it is possibly either a corrupted font file or there's a bug in the font loader. In either case, you'd want to try to see if a restart resolves it.


Dismissing alarm with buttons on Galaxy S9+ On older android phones I could dismiss clock alarm by pressing any button. On the new galaxy s9+ I have to use the screen, which is highly inconvenient if the alarm goes off when I'm driving. Therefore I'd like to configure the clock app to dismiss the alarm on button press.

Online search led to advice that was irrelevant to the current clock app, for example to use the triple dot menu of the clock app. The current clock app has nothing useful on the triple dot menu, just the About and one other item. I couldn't find the settings for that elsewhere either.

Could you suggest a solution?

You can use AutoInput with Tasker to do this.

Note: tested on stock Android with stock Clock app only.

Install AutoInput.
Enable Intercept Keys in it. Disable Doze if it asks for.
Install and setup Tasker.
Create a profile under Event → Plugin → AutoInput → Key → setup the configuration for a single key only, say a Volume rocker.
Create a task for that profile named "Dismiss Alarm on keypress" and set the action to System → Cancel Alarm → Disable Current.
Since Autoinput intercepts the key, you would find the key failing to perform its default functions. As a remedy, you would want to add an another action within that same task, depending upon the key you chose in Profile. I suggest you limit the keys to Volume rockers because Power key functionality may be hard to imitate through Tasker.

The benefit of using AutoInput is that it works both for Screen Off and Screen On states.

If you want to avoid this hassle, but can compromise with having functionality only when Screen is One and limited to few keys, than consider MacroDroid.

Install it
Setup Trigger to any Volume Button Pressed → Monitor Volume Changes → choose your key → Update Volume.
Setup Action to Alarm Clock → Dismiss Active Alarm.

This should work within limited aforementioned constraints.


How to do ADB over 'wifi' (actually in the same PC) for emulated device I'm trying to use adb over 'wifi' for my emulated device. I'm emulating a device on my computer and wanted to use Android Studio to send an APK to it but through the network sockets, not through emulated USB. I know in Android Studio everything works out of the box but I need to it in this way

I'm following this tutorial: https://developer.android.com/studio/command-line/adb.html#wireless

I start it with

~/Android/Sdk/emulator$ ./emulator -avd Pixel_XL_API_27

Then I see that USB debugging is on. I then do

./adb tcpip 5555
restarting in TCP mode port: 5555

Note that ./adb tcpip 5555 is arbitrary. I didn't even specify which device should restart and connect at 5555. What if I had 2 emulators running?

I should unplug now for a normal USB device, but then I go to developer options in my emulated phone and disable USB debugging.

I also see that the IP address in the emulated phone system settings is 192.168.232.2

then I end up with:

./adb connect 192.168.232.2
unable to connect to 192.168.232.2:5555: Connection timed out

I also done this:

./adb devices
List of devices attached
emulator-5554   device

./adb connect 192.168.232.2:5554
unable to connect to 192.168.232.2:5554: Connection timed out

UPDATE:

According to Android Tutorial on ADB, my computer keeps a server running on port 5037. The Android device (my emulator in this case) runs a daemon and my adb script in Sdk/platform-tools is a client. If I want to run a client inside my virtual machine I must have a server running on it. But instead I can just forward the 5037 TCP port from the VM to the 5037 TCP port of the host machine. I did it with tcptunnel by doing the following:

./tcptunnel --local-port=5037 --remote-host=192.168.122.1 --remote-port=5037 --stay-alive

then if I run adb on my VM, it's going to connect to the adb daemon on my host machine which is going to talk with the adb server of my emulator. When I run adb devices in the VM without the tcp forward it tries to start a new server. If I kill this server and open th tcpforwarded and do it again, it doesn't try to create a new server. This is a good signal. However, tcptunnel gives me this:

build_tunnel: connect(): Connection refused

Something is blocking the connection

UPDATE 2:

Turns out tcptunnel isn't necessary, because adb has the H option that lets me specify the IP where the server runs. However I don't know if it's possible in Android Studio to specify it. Anyways:

./adb -H 192.168.122.1 devices
List of devices attached
* cannot start server on remote host
error: cannot connect to daemon at tcp:192.168.122.1:5037: Connection refused

I forgot that adb daemon binds to localhost, and I was trying to access from 192.168.122.x.

With socat I was able to redirect the ADB client from my VM to the ADB daemon on my host machine which made connection with the ADB server (my emulated phone).

My host machine was reachable at 192.168.122.1 from the virtual machine, but the adb daemon was binding to 127.0.0.1 or localhost. I just did:

#on host machine:
socat tcp-listen:5037,bind=192.168.122.1,reuseaddr,fork tcp:localhost:5037

#on virtual machine:
socat tcp-listen:5037,bind=localhost,reuseaddr,fork tcp:192.168.122.1:5037

Make sure you kill the adb server on the virtual machine doing /path/to/android/sdk/platform-tools/adb kill-server. ADB server always tries to bind on 5037 if there's nothing there, so if socat is already running on both sides and the adb server is running on the host machie, when you launch android studio on the VM, it'll automatically connect to the outside adb server, which will connect to your emulated phone.

You don't need Android Studio on the virtual machine to test. You can just do  /path/to/android/sdk/platform-tools/adb devices on the virtual machine to see if socat will redirect it to the adb daemon on host, which will list the emulated phone.


Screen size and density of Samsung Galaxy Y I want to know about the screen size and density of the Samsung Galaxy Y. Which category of screen size (small, normal, large,x-large) or density (ldpi, mdpi, hdpi, x-hdpi) is its screen? Any references would be helpful.

Using the following diagram from developer.android.com you can see where it falls in the specs:

It's 3 inches diagonally - it falls in the "small" category.

It's 133ppi - which is definitely ldpi.


How can I compile an Android APK from source? There are a couple of tutorials or even questions here about creating an application for Android. But I was wondering, if I just want to compile an application from the available source on Github, I'm not going to develop anything, do I need to install the Android SDK, Eclipse with ADT plugin, and the SDK tools and platforms?

In GNU/Linux you just have to install the build tools and dependency libraries, not an IDE, which is generally for doing the development. How would you proceed in compiling the APK? Not that I want it to be like GNU/Linux, but what are the required tools just for compiling? And do I need to downgrade my Java version to 6 when I'm compiling for Android 4.1.2 (if Java is needed)?

Also, there are no build instructions on the source, including a few steps on your answer would be highly appreciated!

The minimal requirements for building an Android app are usually the Android SDK and ant. Then, you are able to build the majority1 of projects with the following steps.

If there is no build.xml generate it

  android update project -p . -n $PROJECT_NAME -s

Then build the project with

  ant debug

which will create an .apk signed with your debug key.

All other dependencies range from the used VCS (e.g. git), over the required 3rd party libraries, up to other required build tools (e.g. Android NDK).

1 Why did I write majority? Because there is no definitive answer for such a question, as it simply depends on the used build system and the overall build setup of the project.

Let's have a look at F-Droid's metadata, which is a big database of build recipes for FOSS Android apps. You will find that there are many ways how an Android app can be build. For example goo.TeaTimer has a very clean and short build recipe, namely none, which defaults basically to F-Droid using ant debug to create the .apk. On the other hand, org.transdroid.full requires a few more steps to create the .apk: First the transdroid core library needs to be created, that is the ant -f ../lib/build.xml line in prebuild, then options are disabled with the sed command. Now the final .apk can be built.


Can I connect my smartphone, LG G2, to TV via USB I have LG G2 and a TV which has a USB port. The TV can recognise when I put a flash drive into its USB port and it plays videos like a computer but I would like to ask :
1.Can I use my phone also as a flash disk? Is it safe ? Could it create problems for my phone?
2.When I watch a video on my phone on the internet via wireless connection, can I watch the video at the same time on the TV as well ?
All I have is this cable which I use for connecting my phone to computer.

Yes, DriveDroid is excellent at doing this. Boot the app, create a new image however big you want, format it (DriveDroid will by default make it a FAT filesystem, but if you wanted to you could use the DiskPart utility of windows to format it to NTFS.) The default will work fine though. Then when you tab the USB button and mount as a Writable USB, it will act like a flash drive to whatever you plug it into.
Depending on your type of TV and the USB interface it uses this may be possible. Using an app like TVP may be able to stream torrent videos over USB to the TV, but I'm unsure. I would suggest using DLNA to do this with apps such as LocalCast or AllCast. It can stream the video to your TV if it is a smart TV, or if it is connected to an XBox, playstation, or any DLNA compatible device (roku, chromecast). Depending on your TV model you may be able to stream directly over USB, but I have never tried to do this as my TV is not compatible.


Does Froyo fix Samsung Galaxy S I9000's GPS problem? There have been reports that Samsung Galaxy S has problems with its GPS that render the GPS almost unusable.  Does the Android 2.2 update fix that?

Personally, I didn't find anything wrong with the GPS on mine (AT&T Captivate). You didn't say which version of the Galaxy you have (Captivate, Fascinate, etc.), but I know that before Froyo even, AT&T did push a separate update to their customers which supposedly was to fix the GPS (I don't know if it did though, since as I said I wasn't having issues before the update).


JIO VoLTE is not working with Moto G5 plus I am trying from so many days to enable VoLTE on MOTO G5 PLUS but VoLTE is not working in any of the SIM slots. The current Android version is Nougat.

Can somebody help me how can I enable VoLTE option on my phone? It is really frustrating that I need to use some third party app to make a call on 4G network.

This could pe possible if VoLTE or HD calling is not enabled under sim card settings.
Make sure you have turned it on.

It might be possible that your current network didn't working properly on VoLTE.


Why does the play store require multiple account login to display my apps in the Google play store I recently changed my 2nd gmail account password.

When I open the play store to check my apps it gave an error:

Authentication required. You need to sign in to your account. (click image for larger variant)

Whereas I have already logged in my first Google account  then why does it require the second account to be logged in when I haven't used this account any time for any Android apps till date.

Pretty easy to answer – let me use an example:

I add your Google account as my secondary. Now I log in with my primary. Would you be happy if I wouldn't have to authenticate for the secondary now? That would enable me to do all kind of stuff "on behalf of you".

So, putting it in short terms: Security concerns. Whether you have logged in with the second account from any apps or not doesn't matter – that account holds personal data, which must be protected.


Do I have a branded smartphone (HTC Desire)? When my HTC Desire boots, I can first see a purple Android (?) icon, then a white background and the 'HTC' text, then a short animation with text 'T-Mobile'. Does that mean that I got a branded phone? The rest of the system doesn't show any signs of T-Mobile and I'm on a Vodafone prepaid 'contract'.

I'm worried that I got a branded phone (which means I'll get Froyo later than other HTC Desire owners) even though I'm not with T-Mobile.

Being that you get a T-Mobile graphic then I would say yes you have a branded Desire. Having said that my father has a branded O2 Desire and he has already received the Froyo update (today - Monday). I too have an O2 branded Desire, but I have not received Froyo yet which I suspect is because I am on a Business plan with O2, whereas my father has a personal plan.


Is my SD card busted? I recently tried to move several apps from my phone's internal storage to my SD card, however, it proved to be unsuccessful. The "Move to SD card" button was merely grayed out for a while and afterwards nothing had been moved. This happened every single time I tried to move an app, so I restarted my phone. Then something peculiar happened. My phone claimed that my "SD card is blank or has unsupported filesystems". It then gave me an option to format the card, to which I consented. But now, it just tells me again and again that my "SD card is blank or has unsupported filesystems" even though I have formatted it multiple times. I have looked for solutions to this online, and it seems I have to format it on a computer. Well, the thing is, when I plug my phone into my computer the SD card does not show up as it has always done prior to this incident. Also, whenever I try to move apps to my SD card now my phone just tells me "Your phone does not have a SD card. Insert SD card." What is this all about? Is it possible to get this working again? Or do I have to buy a new SD card?

Phone: Samsung Galaxy S4.
SD card: SanDisk Ultra microSD 32 GB.

Emil! Believe it or not, it's not the problem of your SD card,but your phone. In fact, the crash of our SD cards is not common. Generally speaking, lots of phones have difficulty in loading large memory SD cards. So when you make some abnormal operations, your phone will pop up some warning information. But at this moment, you should stay calm and you shouldn't consent its requirement, or it can not recognize your SD any more. Therefore, you'd better shut down your phone and power on it again. If the phone screen pops up "SD card is blank or has unsupported filesystems", you just tap"No".


"SD card is blank or has unsupported filesystems" message in Samsung Galaxy S4 My Samsung Galaxy S4 showed  "SD card is blank or has unsupported filesystems". It then gave me the option to format my SD card, to which I reluctantly consented.

After having done so however, it proceeds to present me with the same message, "Blank SD card", regardless of how many times I insist in formatting.

After searching on Internet, I  found that apparently I should format the SD card from my computer. I don't have an adapter for microSD cards, so I connected my phone with a USB cable to my computer, and apparently my SD card refuses to show up there.

Also, for your information, it seems that neither my phone wants to recognize the SD card, for example if I try to transfer apps to my SD card my phone tells me I don't have a SD card.

So, is there anything I can do to resolve this issue? Should I buy a microSD adapter and hope that my computer will recognize the SD card then, or should I just buy a new SD card? Or is there something else I can do?

SmellierMoans. Sometimes,your phone may not recognize your SD cards properly. Unfortunately, my phone is also one of them. While, each time it gives me the option to format my SD card, I tap "No" and then everything will be ok. All contents on my SD card can be shown normally. So, I think, you may choose not to consent the format. Just shut down  your S4 and power on it to have a try. Good luck.


Removing Root for Sony SP A while ago, I decided to root my Sony Xperia SP (c5303) the downfall is that the operating system it's self was stuck on Android 4.1.2 with the build number of 12.0.A.2.254, now the time has changed and I wish to remove the root and update to the latest android version available for the phone which is currently 4.3 to my knowledge. I have lost the tools which I used previously to root the device it's self & Have found a few threads on the XDA Forums containing a few stock ROMS, the only tool which I have managed to find is the flash tool for old phones models of the 2011 family (MT15I for example)

With trying both the OTE update and the Companion update options, they both fail. Companion gives the error stating that

  Software cannot be modified

I'm assuming this is fired from the Super User application which was installed on the root.

I'm at a block on how to proceed further after looking over google for unrooting methods, they all revolve around clockwork mod to install a custom ROM, this is not present on my device.

So the question i'm asking today, is that are there any viable methods on how to unroot the device and upgrade to android 4.3? Using the Sony Tool emma seems to be out of the question as it's not letting me create an account to use their tools!

You can try repair option in Sony PC companion or SUS(Sony Update Service). If none of this works try the steps given below

Download the ftf file from here.

Using flashtool flash the ftf. The tutorial on flashing can be found here


How do I make my device dial my phone via Bluetooth? I have a Samsung Galaxy Player 4.0 and a Samsung Chrono. I want to be able to be able to call someone using the Galaxy Player through my phone so that I can have the contacts on my Galaxy Player and not on my phone.

Using SIP/VoIP is not an option; I don't have a data plan on my phone. So I would like to do this via Bluetooth if possible.

In fact, if it means that I'll have to use the phone to talk, that's fine too.

Samsung Galaxy Player 4.0 isn't actually a phone Per se, so it's hard to use it as such (without some help at least):
Any of the following solutions answers your question the way you intended it to be answered, but this is the result of a deep investigation and testing that might help you or help others in the future.
1) Just like a Bluetooth Handset:
With a fair amount of limitations, you can Pair the Galaxy Player to your smartphone just like pairing a Bluetooth headset:

Turn on Bluetooth on both devices, make the Galaxy Player discoverable, and scan with the phone.

Once the devices recognized each other and got paired, the Player shows up connected to the phone.

When a call gets to the smartphone, the Galaxy Player will ring as well.

The screen does look just like the incoming call screen on a smartphone, providing an option to answer or decline the call.
Initiating a call from the smartphone, will automatically activate the Galaxy Player, just like it would with a Bluetooth headset.
If the Galaxy Player and your smartphone are close together, lets say it the same room, the call has a good quality, just like if you were talking on your phone.
The power consumption for this solution is very low, so its a thumbs up as well.
Sadly, the contacts list on the Galaxy Player will do you no good, since it actually can't initialize any calls.

2) Using WiFi:
One tested alternative with a very lost cost can be signing up with a service that directs texts and/or calls to the Galaxy Player.
e.g., Google Voice, see the International calling rates
The only drawback using any service like Google Voice on the Galaxy Player is that you can only receive/send text messages and calls when connected to Wi-Fi, unlike a normal phone.
Google Voice is a feature-rich call forwarding service. You get one phone number that will ring all of your phones (cell or landline).
With it, you can receive voicemails and text messages (no multimedia messages/MMS, though).
Being a part of your Google account, you have access to all of your messages; call logs and more.
Google Voice @ Google Play

3) Using VoIP
Signing up with a service with a VoIP solution, it is possible to make actual calls from the Galaxy Player (or any device with speaker and microphone).
e.g., Line2, see the Plans Comparison
This service doesn't get you stuck to a contract, extra fees or a period of time. So, if a better solution appear in the future, you can stop using it immediately.


How to post more than one Whatsapp message separated by a line in a group chat I have always seen people chatting in whatsapp groups and posting more than one message at different times separated by a horizontal line. This usually occurs when no one posts a message in between. I am using HTC Wildfire s a510e

It is not actually a feature. When you post two messages in a row, initially it is shown as two different messages. When the chats are refreshed, the two messages are grouped and shown in one bubble separated by a horizontal line to everyone else.


"insufficient space on device " I have zero cache and 75MB and yet I'm unable to download an 8MB app. I've already deleted all my important apps to make space for it and yet that annoying message keeps showing up.
PLEASE HELP.
Im using an Xperia e3.

Go to Settings>Apps>All and uninstall Google Play Store. This will uninstall only updates for the new version, and replace it with the old version. Then you can download without the "Insufficient Storage ERROR".


Download one thread of text How do I select one string of text messages and download to PC so that I can print?  I've tried downloading and it provides a .hbk file which I can not open.  I don't even know where to look on my HTC to look for my SMS card file information to convert to something else.

.hbk is HTC messages backup extension: you can "write" them only via backup from phone and "read" only via the restore option.
See  this for more information about how to open or write these files


How to hide WhatsApp messages notifications How can I hide WhatsApp messages in notification panel? I don't want to see incoming message preview on my notification panel.

What utility can let me do this?

Go to settings > Apps > Whatsapp
And Uncheck 'show notifications'.


Overview shows open apps that I closed a while ago I will periodically close any apps that I'm done using via the overview screen. Occasionally, I will see several apps open that I did not start, but had open days ago. Is this a bug or a virus?

If one thing for sure has improved with successive Android versions, it is memory management

It's likely that the apps you see after closing are apps which have a schedule (like scheduled scan) that wakes them up or are apps that get triggered on action like taking a photo and Dropbox gets activated because auto upload of photos is enabled. Look into that aspect.

It doesn't sound like a bug (incidentally, even after reboot you will see apps , unlike pre lollipop versions)

By swiping you aren't killing the app

See What actually happens when you swipe an app out of the recent apps list? which discusses at length what happens when you swipe an app

  Actually, removing an entry in recent tasks will kill any background processes that exist for the process. It won't directly causes services to stop, however there is an API for them to find out the task was removed to decide if they want this to mean they should stop. This is so that removing say the recent task of an e-mail app won't cause it to stop checking for e-mail.

Also from Android Developers you can see that an app can generate multiple views in recents and can even retain finished tasks


Is it possible to retrieve a call without having recorded it? I made an important call and I want to listen to it again. Unfortunately I didn't install any application to record calls. Is it possible ? Are calls recorded somewhere ?

Not possible. At least not on most ROMs. Try the NSA or your country's secret services.


Can I copy data to be restored, if phone is stuck in bootloop? My phone is stuck in a bootloop. I can get into TWRP recovery, which has a file manager. I can also connect the USB cable to computer and see the phones internal memory. Is there a way to copy text messages and WhatsApp messages so I can restore them on another phone?
I'm afraid the filesystem may have been corrupted. When I go to /data/data/ I expect to see names like "WhatsApp" or "Facebook" but everything is random...like +NiZZaTrs3RFzYegpkEk

This was a long process with lots of side problems coming up. Somethings I don't know why they worked or did not work. I will give a recount of what did work in hopes the information will be useful in the future.
At a high level the idea is to backup the data partition, reflash firmware and ROM to fix the bootloop, reload the backed up data partition. Perhaps in some cases this would be enough, but recall the whole data partition is restored - you can't choose individual files or apps. In my case this corrupted some system settings but the data and apps were still there. I used Titanium backup to back those up to external storage, then flashed firmware and ROM again.
Whenever the phone is stuck use the "hard shutdown method" by holding the volume up and power button and waiting for the phone to vibrate 3 times. At this point the phone is off.
STEPS

The first thing to do is get into recovery mode with TWRP.
(If you already can do this, skip to step 3.)
https://twrp.me/sony/sonyxperiax.html

Notes About Sony Devices:
The Xperia devices have a recovery-in-boot arrangement. This means that the recovery is booted using the regular kernel / boot image in the device. Team Win has worked with the FreeXperia device maintainers to come up with a way to extract the ramdisk from the FOTAKernel partition and use the ramdisk from that partition instead of the recovery that is included in the boot image of your device. This means that if you install current CM nightlies and flash TWRP to the FOTAKernel partition, you will be able to use TWRP instead of the CWM or CM recovery that normally comes in a CM boot image. Other boot images including stock kernels can be repacked to include this extraction utility to allow you to use TWRP from the FOTAKernel partition. This setup allows you to choose what recovery you want to have installed and allows you to update your recovery more easily.  Unfortunately this setup requires that the boot image that you have installed include the ramdisk extraction utility.
TWRP may not work on your device unless you install other custom software as well.

You will need adb and fastboot, in Windows represented as adb.exe and fastboot.exe which run in command line terminal - (for adb and fastboot Windows XP click here)
If you do not have TWRP, follow these instructions (for the Xperia XZ1 Compact)
a) download the ZIP file from here (it is that TWRP but with working adb)
b) extract the img from the ZIP file (not a flashable zip)
c) connect the phone to the computer via a USB cable in fastboot mode. To put the phone in fastboot mode, completely power it off. Then hold the volume up button and the power button at the same time until the light on the phone turns on. connect the phone to the USB cable if it's not already.
d) If you're on Windows, open a command prompt with administrative privileges by right clicking on it and choosing "run as administrator". I recommend to use cmd.exe and not the Windows PowerShell. Navigate to the platform-tools folder with the cd command. Type in fastboot devices. If nothing is returned or it says "unauthorized" that means you need to install the correct drivers. The official drivers are here but I found I couldn't install them directly. I needed to download the Google USB Driver and replace android_winusb.inf with that from Sony. I found I needed to reboot using advanced options to disable Windows Driver Verification in order to install the drivers. Right click on the inf and choose "install".

Now that the drivers are installed, from the elevated command prompt run
fastboot devices
fastboot flash recovery C:\path\to\folder\twrp-3.3.1-0-lilac-android10-2.img

Boot to recovery. This can be done by turning off the phone, holding the volume down button and power on button at the same time until the screen turns on.
(If it doesn't work you can also boot image from fastboot without flashing)
fastboot boot C:\path\to\folder\twrp-3.3.1-0-lilac-android10-2.img

If your phone uses FBE file-based encryption the data will be encrypted with lock screen password/PIN (hence the strange file names in /data/data such as +NiZZaTrs3RFzYegpkEk). Newer versions of TWRP support decryption. TWRP should prompt you for a password when it first starts, however I found this buggy and it sometimes just didn't ask for a password. If this happens try restarting the phone in recovery or reflashing TWRP. Also going into terminal emulator from Advanced, try the command twrp decypt [password], see here if you had a pattern.

Backup your (decrypted) data from TWRP backup menu. make sure backup location is MicroSD Card or USB storage. Only choose the Internal Storage if you planning to save all your files to PC before factory reset.

Don't forget to backup Internal Storage manually as it is not included in TWRP backup. You can do this via cmd line
adb devices
adb pull /sdcard C:\path\to\folder

Note for adb to work, the phone must be in recovery mode (i.e. TWRP is open)

Download Flashtool, a ROM of your choice and compatible firmware. You can try to flash the same ROM that you have been using, but I was unable to find  stock ROM for this phone. I recommend Lineage 16 with this firmware (Lineage requires 47.2.A.11.228). I tried Lineage 17.1 but setup would go into a loop. Also download GApps Pico for Arm64 and Android 9. Download Magisk zip and apk. This is needed if you're going to use Titanium Backup to backup the apps and data you want to save. Perhaps in some situations this isn't needed if you can migrate without root.

Install Flashtool.

In Flashtool flash the FTF for the firmware first. Then flash the ROM (e.g. Lineage).

Boot into TWRP and install Gapps pico and Magisk. Magisk is needed for root which is needed by Titanium Backup, which will be used later.

The phone should be able to boot normally now. Give it plenty of time (e.g. 10 minutes). Take a break to go for a walk.

Confirm everything is working relatively ok. For example browse the web, download a simple app from the play store. If it's not, flash a different firmware or ROM with Flashtool.

Install and setup Titanium Backup. If you prefer alternative you can also use Migrate! (from the Google Play Store or anywhere else)

Reboot to TWRP

Restore only the data partition.

Clear cache and reboot to system.

In my experience all the data and apps were restored. But some system functionality was broken (like the WiFi). If it wasn't we would be done on this step :)

Use Titanium Backup to selectively backup the apps and data you want to keep. Make sure the backup is put on an SD card or USB storage so it won't get over written.
If your device is not working, there is also a method to do this 'offline' from recovery. refer to the Migrate support thread on forum.xda-developers.com (development in progress)

Do a factory reset from TWRP -> Wipe -> Format Data -> type 'yes'
if Format Data fails, Repeat step 7 and 8.

The phone should be working normally again.

Use Titanium Backup or Migrate to restore the apps and data from step 18.

Done.


Cancel Exchange device administrator activation? I was trying to add my Exchange account to my phone to confirm for a coworker that logging into the server was possible. I don't want to relinquish the device administrator controls as it's my personal phone, which is why I hadn't added it before and don't want to actually have it synced.

I was able to access the account to confirm, and was prompted to activate the device administrator, giving permissions to erase my data, set password rules, etc. I can hit cancel at this prompt, but am repeatedly re-prompted to activate whenever I try to access the Email app. I can't seem to figure out how to decline the activation or otherwise remove the Exchange account. Of course I could just activate, change my settings, then delete the account and change all of them back, but that would be a bit of a hassle and seems like bad design. Is there any way for me to remove the Exchange account/decline the device administrator prompt without activation?

Messed around with it a bit more and found a solution. I just had to go to Settings -> Accounts & sync to delete the Exchange account.


Getting rid of the Google Search bar in home screen? (stock Android 5.1.1) I've got a Nexus 5, freshly factory reset, with stock Android 5.1.1. When searching around how to disable the Google Search bar on the Home screen, all solutions I find recommend to go Settings→Apps→All, find the 'Google Search' app and disable that. But in my App list, there is no 'Google Search'!

Yet the Google bar is most definitely on my home screen. How do I get rid of it?

I would suggest checking out action launcher 3 as a replacement to stock google now launcher, it has this option and you can keep your swipe right to get google now.


How to bring back custom notification sounds in Oreo I upgraded to Oreo about a week ago and I've noticed that all my apps' alerts now sound like my SMS alert.

This means that I either get constantly bothered by unimportant notifications (It's your turn in a game!, etc.), or I miss important notifications like most SMSs, because now now unimportant and important notifications sound the same.

With the new notification channels I can set a custom sound manually, but the last thing I want to do is customise every single notification on my phone, and I also don't know where the sound files are for the original sounds. It's just too much work.

How can I get Oreo to behave like Nougat in this regard?

Maybe not the best solution, but set the SMS channel notification sound as something different instead of customising for each app?


SHOULD I remove stock internet app on galaxy J5 2015? I have rooted my samsung galaxy J5 (2015), but I am not sure whether or not I should remove the preinstalled "Internet"-app. The phone came with both that AND google chrome, and so the question is whether it's a good idea or not to remove it in order to free 50+ MB of storage on a phone that only has an 8GB total.

you can remove it without any problems but i would recommend to flash a custom "lite" rom the is debloated even more depending on you model number of the J500


Windows wont recognise android device I wanted to start afresh completely wipe my Moto x (xt1052) and install "liquidsmooth" rom.

everyone was going well, i went into recovery, wiped the device, and as i tried to push the zip over i was met with the error message "device not found"

I went over to device manager and for some reason windows is recognizing my phone as xt1060 and not xt1052. i believe this is why its probably not being recognised in adb.

I have no idea to fix, my phone is being recognised as another phone so it cant even install right driver...

install drivers for your phone
look for drivers at

your phone manufacturer's website
or
look at your chipset manufacturer's website.

if Driver didn't install properly turn off Driver signature enforcement on windows from boot options

Link for how to disabled Driver signature enforcement

and install drivers
reboot your PC
plug in your phone

hope that helped
cheers !!!


MX2 recovery problem I'm hoping someone can help me with the problem I have.
I have a MX2 Android TV Box and flashed it with Matricom firmware, running 4.2.2. When I try to access the SD card in recovery mode it doesn't allow me to do this -
Apply from EXT,  update from SD card, then it's blank. I've formatted several times and confirmed the files are there but they don't show in recovery.
When I open Winzip/File manager on the box I can see my files there.
I want to flash the box again but can't from SD because the files won't show.
I'm not sure what to do with 'Update from ADB', (is this an option)?.

I don't have a lot of knowledge with these things but want to learn if someone can help me.
Thanks

Sideloading (usually seen as apply update from ADB) is a form of adb push wherein the ZIP file, say ROM.zip, will automatically get flashed by the recovery once ADB finishes copying it to the phone. The command you use on the PC is

adb sideload <file.zip>

Chances are if you're using a stock recovery (see if it says 3e at the top of the recovery screen), only official ZIPs from the manufacturer will get through verification; whereas third-party ZIPs will stall at Installation aborted.

But if you're using CWM (or another custom recovery), you can pretty much sideload anything you want.


Automatically restrict apps background data using Tasker I've been using Tasker for a couple weeks after receiving this recommendation, and I have a few beginner questions. Here is one of them.

I've set up a profile to lock the phone after 10 seconds of darkness (cases where phone is in pocket or turned face down). I would also like to save some power by activating the "restrict background data" option while the phone is not being used. It's under Settings -> Power saving on my phone (Samsung Galaxy S5).

(Click to enlarge)

My questions are:

Is this a good idea, or do the disadvantages outweigh the benefits?
Is there a way to toggle the Restrict background data option using a task in Tasker?

"Restrict background data" seems to restrict apps from accessing the network unless they're in the foreground, i.e. visible on the screen.

On Tasker version 4.5u1m for Android 4+, I don't see anything relevant in the Net action category, which is where I'd expect to find something about network access. The Settings action category is just for showing settings dialogs, so it wouldn't be there.

You could turn that "restrict background data" setting on, and then auto-launch any application that you want to update/sync given a particular parameter (e.g. launch music app when headset inserted, only changed to something like launch google play when I'm signed into a wireless network). Basically you'd be using tasker to put something in the foreground, not switch the setting.

You can also limit syncing, which is one kind of background data.


How do I get this iTunes song on an Android device? I want to buy this song, but it appears it's only offered on iTunes.  I have no idea if it's DRM protected or not, I just want it on my Moto X.

What are the most direct and straigtforward steps to determine if I can put this song on my device, and how I can do it?

I would like to purchase the song directly from my phone, but I have both a PC and a Mac

In recent years, Apple has sold songs on iTunes without DRM. You can convert them to other formats pretty easily, then just drop it onto your Moto X using a USB cable (Or even just email it to yourself, then download it using your email app on the phone).

Music stored on the phone should automatically be added to your "On Device" library in the Play Music app. I would recommend making sure you save it somewhere standard like /sdcard/Music/ for your convenience.


Unable to install Google App on Motorola E6i Ultimately trying to install Android Auto which I succeeded in doing via the apk. It told me I was missing the Google app, Google Maps and Voice rec. I installed 2 out of 3 of these but the Google app refuses to install even from APK. It seems Google Go is factory installed with no way to uninstall so I just disabled it but still no success. Running latest Android 10.
Any ideas. Thanks in advance

Clear cache and data of the google play store, Google play services and Google chrome. Now reboot your phone download the app again from play store or chrome and install it, it worked for me


How do I authorize my device for ADB if I have only the recovery installed (no ROM)? I'm using a Nexus 5 (hammerhead) and was running CyanogenMod 13. I used CyanogenMod Recovery to wipe /data and /system, but to sideload a different ROM, a quick Google search told me I needed to update adb on my Ubuntu 14.10 install.

However, after updating adb to 1.0.32, doing adb devices shows my phone as unauthorized, and thus I cannot flash, push or sideload to the device whatsoever. I can't authorize it either, because I have no Android or CyanogenMod on the device to receive the authorization request.

How do I fix this?

I learned that fastboot requires the phone to be in the bootloader, not recovery. I was able to flash a new recovery using fastboot flash recovery recovery.img.


Is Kismet or another WIFI detector available for Android? I'm a Sysadmin and would like to use my Android phone to detect Wifi networks at my workplace or at home.

Are there any tools like Kismet available for Android? I'm currently using a Samsung Intercept, which runs Android 2.1, but should receive Android 2.2 in the next month.

I  use Wifi Analyzer, a free tool which gives a good range of Wifi detections. It will show you things like signal strengths, encryption levels, SSIDs on overlapping channels and a few other details.


How to access bootloader and what functions are available? How can I access the bootloader on a Android 2.2 (or on other version)?

Is the bootloader vendor or model specific?

What are the options offered to the user when accessing the bootloader?

(I know that the bootloader without interaction "boots" the android, please do not specify that)

The bootloader is vendor AND model-specific.  It is not consistent across Android 2.2 versions.

A common way to get into the bootloader (also called "recovery mode") is to hold a volume button down and reboot the device, releasing the button when you get to the bootloader.  On my Samsung Galaxy S Vibrant, the easiest way is to hold both volume buttons plus the power button, releasing the power button once the phone reboots and you see the "Vibrant" logo, and releasing the volume buttons after the bootloader comes up.

On my Vibrant, the options include doing a factory reset and installing "update.zip" from the root of the internal SD storage.  Your mileage may vary.  Something like ClockworkMod Recovery can be installed on many devices, which provides additional options including backing up and restoring your phone's ROM (OS, kernel, data, etc.).

You should be able to Google " recovery mode" for instructions for you particular device.


Activate Tethering with ADB - Android 5.1 I'm on LINUX, and I've create a simple script to activate :
- Data connexion (3G/4G) switch ON
- Enable tethering switch ON
- Change PC ethernet connexion

So I've just have to plug my phone on my USB, and launch my script and voila :)

But, recently I've got a new phone (Xiaomi MI4c) which works with android 5.1.1
And my script isn't working properly, and I don't know why !:crying:
Everything works, except "enable tethering" with ADB:

#adb shell su -c 'service call connectivity 30 i32 1'
Result: Parcel(
  0x00000000: 00000000 00000002 00000006 006e0062 '............b.n.'
  0x00000010: 00700065 0064005c 00000000 00000006 'e.p.\.d.........'
  0x00000020: 00740062 0070002d 006e0061 00000000 'b.t.-.p.a.n.....')

And nothing happend

adb works fine :

# adb shell su -c 'service list connectivity'  |grep connectivity
54  connectivity: [android.net.IConnectivityManager]

I've found this :

service call connectivity 32 i32 1 on Ice Cream Sandwich (4.0)
service call connectivity 33 i32 1 on Jelly Bean (4.1 to 4.3)
service call connectivity 34 i32 1 on KitKat (4.4)
service call connectivity 30 i32 1 on Lollipop (5.0)

How can I see which number should I use to enable this functionality with ADB ?

Thanks for your help.

I'm uncertain behind the reason because I reached the result using trial and error but this command would do the job for Android 5.1.1:

service call connectivity 31 i32 1

As expected, you need root privileges.

Also, you may be able to get something interesting from the source code of a service, in this case, it would be android.net.IConnectivityManager.


Change "Note to self" email address When I ask my phone to "take a note" or say "note to self" from Google Now or Google Maps, it asks me what the note is, and then it emails me the note at a specific email address that I designated a long time ago. This is a non-Google email address, by the way.

It works fine, but I now want to change the email address that the note is sent to. For the life of me, I can't remember where I set the destination email address years ago, and I can't find where to change it now.

Where is this setting found?

I do NOT have Google Keep installed, so I assume that this feature is associated with Gmail, but I'm not 100% sure.  Where do I go to see/change which which app is associated with "take a note" / "note to self"?

Ok, I finally found the answer. The option was a lot more buried than I thought it would be.

Open the Google app on your phone.
Press the More (hamburger) menu button, then choose "Settings".
Under "Google Assistant", tap "Settings".
Switch to the "Assistant" tab, then tap "Routines".
Scroll through the list and find "Take a Note" or whatever your command is and tap on it.
Under "My assistant should...", you should see, "email ". Tap on the gear next to it and edit the email address.
Tap then back arrow, then tap the check mark to save the change.


How can I change password for my Exchange settings Due to corporate policy, I was forced to change my domain password, which impacts also the access to Exchange server.
Now I need to update that password also in my Android phone (Galaxy S, Android 2.1.1), but I can't find the settings in the phone.
Any idea?

Settings - Account and Sync - <your exchange account>' - Account settings - (scroll down) Incoming settings' - password field.

On my Samsung Galaxy S - running Froyo 2.2.1


How to back up the address book? I want to wipe the phone clean (or reset it, not sure about the nomenclature).  Meaning, I'd like to get rid of all the apps, all the data, everything.  Except for the contacts.  I'd like to somehow restore them after wiping the phone.

So I know there is an option to go to Settings/Privacy/Factory data reset, which wipes it clean (i assume), and that is what I am planning to use.

I also see an option to Back up my data in Settings/Privacy.  However, this option backs up all the application data, passwords, etc... as well to Google servers.  But, again, I only want the contacts.

So, is there a way to do what I want?

For reference, this is a Nexus One with Android 2.3.6.

Your contacts are automatically backed up to the Google account you set up your phone with.  So long as you have the "Contacts" sync setting on, any changes you've made to your contacts should be mirrored in your Gmail contacts online.  After you wipe your phone, if you use the same account to set it up again the contacts will automatically download on the first sync.

You can verify that your contacts are backed up by going online to Gmail, clicking on "Contacts", and checking them against your phone's address book.


Can I boot Android on the LG Arena KM 900? Possible Duplicate:
  Can I install Android on my non-Android device?

I have searched (hopefully well enough!) on the internet to see if we can load Android on the LG Arena KM 900.

Though there was this forum which kind of talked about it, it was still not clear as to how to do it.

http://androidarena.pytalhost.net/index.php?page=Thread&threadID=76&pageNo=6&s=12839d124f983ac19ea9e43226073557b26abf3f

Has any one tried this?

Appreciate the time taken to answer my query.

You've already found the forum for the main project to port Android to the LG KM900 at http://androidarena.pytalhost.net/

All of their effort towards porting Android to the KM900 is being tracked on this Google Code page http://code.google.com/p/arenoid/ their project status page doesn't look like they've managed this yet http://code.google.com/p/arenoid/wiki/ProjectStatus

So, unfortunately it doesn't look like this is possible yet. I think that your best bet to speed up the process will be to visit that forum and Google Code section and volunteer to help them out in their efforts.


Can I use an external bluetooth mic for android applications? I need to use external microphone (from bluetooth headset) in application with voice input.
Is it possible?

Appears that Android still lacks some skills regarding Bluetooth headset to Voice Input capabilities. I couldn't make it work either.

But there's an APP for everything, and this is no different ;)

Skyvi (Siri for Android) available from Google Play Store:

Key Features:

  Voice Texting
  Fast find and call places
  Get directions
  Call Contacts
  Play music
  Local weather and time
  Fun chats, witty remarks, tells jokes
  Access Facebook with voice
  Access Twitter with voice
  Text by Voice                                                       <- what you seek
  Tweet or Update Facebook with Voice
  Ask questions with voice
  Car Mode


What steps should I take before giving my phone to be fixed in a lab? This is similar to I have sold my phone on eBay. What should I do before I send it off?, but in my case I'm just handing my phone off to be fixed.

I don't want to have to completely wipe or reset my phone, since it would be a pain to get everything back afterwards. Is there some middle ground, or another way to make sure some lab employee can't hack my Google account while they have my phone?

Make a full backup, wipe everything, remove memory cards if present, send for repairs, restore backup after you receive.

This is neither difficult nor time-consuming if you use something like NANDROID backup.

http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/


Allow 720p videos on YouTube app My device is Atrix 2 with resolution of 960x540, but YouTube app only gives me options for 144p, 240p and 360p, which are not really "quality". How can I watch 720p videos on YouTube on my device?

Your screen resolution being 960*540 is not meant to play 720p videos  because the resolution is lower. That's why the Youtube app detects the device resolution and does not show higher video qualities. The maximum video quality that the Youtube app will show for your device is 480p.
720p = 1280*720

However, you could use YouTube Vanced. It is a modded version that offers more features than the official Youtube app such as:

Override Maximal Resolution

Preferred Speed and Resolution

For rooted phones, L Tweaks, an Xposed module, allows to set video qualities up to 4320p.


How to remove someone's google account off my phone when asked to verify We are going through custody battles atm, and I allowed my child to take her phone to her mother's, in case she needed me or felt unsafe. Her mom took the phone, removed my google account, added hers and make it to where it needs to verify the account before I can make any changes. So now she can control all the parental locks, send messages when she shouldn't be, ect. How can I remove her account and replace mine since they are my phones to begin with?

What you're basically trying to do is unlock the device to re-establish control and that will be done first through Google's "find  my device" and is that doesn't work just unlock the device through factory reset and use FRP bypass if you need to!


How to root lenovo A526 mobile I tried to root lenovo A526 mobile using "Kingo" and "root genius". But they are unable to root this device.Thanks for helping hands.

I haven't used it but I used kingroot to root my tablet some 3 months earlier after which I removed it because I thought it would be dangerous. But It rooted...
So You Answer Should Be:-
I don't know but KingRoot roots easily and on mobile or tablet without pc


How to change device name used by Google Chrome? I use the same Google account with Google Chrome on several devices including my Android phone. So, Google Chrome shows me tabs opened on other devices (ex: chrome://history/). Is there any way to change the name assigned for my Android device there?

See the following screen as example - I would like to change "Galaxy Nexus" to something else.

As of 2019, the Android devices cannot be renamed; both from themselves and from other devices.

The name listed on "Other devices" currently depends on the operating system:

Windows, macOS, and Linux use their hostname
Android possibly uses its marketing name from Google Play's supported devices
Chrome OS use their product name (e.g. Chromebook, Chromebit)

However, renaming the device directly from the Chrome browser has not been implemented.

This was reported as Issue #124964 in Chromium Bugs Tracker since Apr 24, 2012, requesting a feature to allow devices in "Other devices" menu to be renamed. The report was branched into 2 separate issues:

Issue #455925 for mobile UI
Issue #664647 for desktop UI


Sony Xperia Arc S, changing the "my number" in contact list? I've recently purchased a second-hand phone and my number is different than the one shown. How can I either remove it or change it? I've tried to add a field to it but that doesn't work either.

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

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


Is there any way to install apps incompatible with Android 4.1.2 (Jelly Bean) After looking around on the Google Play Store, I've found a lot of apps that 'I like the look of'. But by tapping on them, quite a lot of the time it says "This app is incompatible with your Android version." Is there any way around that?

P.S:I don't have any other Android devices and no, I haven't edited any of the files.

The Android Market pulls the OS version directly from the system.  As far as I'm aware there's no way to fake this other than building a custom ROM that fakes it, or possibly some sort of code injection.

As ce4's comment says, you'll need to obtain the app from a different device running a supported OS or through some other means (a different app store for example).


How do I do the equivalent of removing the SIM card in Gingerbread? I currently have a Nexus S with Gingerbread.  I'm planning to travel oversea and I want to disconnect my phone from my cell phone provider but still be able to use the Nexus for wireless access at airports or hotels.  Is there a way to achieve that in the OS without having to remove the SIM card?

The easiest solution is to simply use airplane mode. The wifi chip still works but the cell radio will be turned off, so you have no voice, SMS or cellular data capabilities. This will be in your settings somewhere, probably Settings->Wireless and Networks->Airplane mode. You may need to explicitly re-enable your wifi after turning on Airplane Mode (ex: my phone disables wifi at first, but I can just turn it back on).

Some phones also allow you to toggle airplane mode from the power menu, but I don't know if this is a standard feature of the Android OS.


How do I delete just one specific auto suggested URL from android chrome browser I would like to remove only one particular URL from auto suggestions in my mobile (android) chrome browser. U know how embarrassing it gets sometime when u forget to use incognito mode and don't know how to delete the auto suggested website. The shift+delete can't work with mobile as highlight option is not possible. Also I would like to keep all my other browser suggestions in tact.

Anyone can help? Please...

Holding down a suggestion will ask the user if it should be removed from the browsing history, and therefore removed from the suggestions.

If holding down on a suggestion does not bring up the prompt, then make sure you have typed some matching text in the URL bar. The default suggestions for an empty URL bar, or for a newly selected URL bar, do not respond to the press & hold in the same way (Experienced on Chrome 52.)

I tested this on Chrome for Android 51.0.2704.81 and Chrome Beta for Android 52.0.2743.49.


HTC Desire S - UK Orange Stuck on HTC Boot logo My old HTC Desire S had Android 2.x installed and I wanted to update it to 4.x . I followed the instructions at htc.com to unlock the boot-loader, which seemed to work and after installing it, I can now boot the phone into ClockworkMod Recovery v5.0.2.0.

The problem I'm facing is, no matter what ROM I try and flash, the phone reboots to just the HTC boot logo and I have to pull the battery out to get it to boot back into Recovery. The device is in the S-ON state.

Is there something I've missed, or something specific I should be doing? Or some specific ROM I should be using?

Here is the method we followed :

Update the recovery to a newer version (We used TWRP 2.8)
Install a new ROM. (We installed CyanogenMod 12.1 Lollipop)
Extract that ROM and flash the boot.img manually (using ADB and Fastboot)
Boot into the ROM.

Done !

Note : Always remember to take a NANDroid backup before you install anything to your phone !


Location of exported notes from Note Everything app Where can I find the exported notes file from the Note Everything app on Android?

Note Everything exports all notes in the folder named noteeverything. It seems that it chooses /sdcard as its base to identify where to store. Regardless of it, in my device having External SD card as default storage, the notes were saved in the root directory of external SD card under the folder named noteeverything/text/ with names as text[0-9]+_<Note_Title>.txt.

E.g.:

text7_Bonafide.txt
text6_Bcode.txt
text5_QW.txt

where QW, Bcode, and Bonafide are the respective titles of my notes.

You can also find other used resources under the folder noteeverything.

Ultimately, you should look under all your storages for this folder. Otherwise, just use find/search in your File Manger to do the job for you.

A simple command-line query would be find /storage -iname noteeverything.


best way to remove default apps on xoom What is the best way to completely remove the default apps that came with the xoom? Since android apps are self contain packages is it enough just to remove the application package on the device through adk?

With a little extra care (such as taking backups first in case you want to go back), if you have root, simply rm-ing the .apk in /system/app is sufficient to remove system apps. Take care though, as removing certain apps may cause the system or other apps to crash.


Cyanogenmod - What is "Notification mode"? I think I'm misunderstanding the profiles options in Cyanogenmod regarding notifications.

Here's what I'm trying to do: I would like all notifications to pop in the status bar, but only the phone and messaging ones should vibrate. At work, the phone & messages shouldn't  ring.

I've configured my profiles this way:

Group "Phone&Messaging" contains phone, messaging, email and gmail apps.

Work:Phone&Messaging

Notification mode: on
Ring mode: off
Vibrate mode: on

Work:Other

Notification mode: on
Ring mode: off
Vibrate mode: off

Home:Phone&Messaging

Notification mode: on
Ring mode: on
Vibrate mode: on

Home:Other

Notification mode: on
Ring mode: off
Vibrate mode: off

But some stupid notifications still vibrate (when I download an app on the Google Play Store, my phone vibrates during all the download duration).

So how should the "Notification mode" be used?

"Notification mode" refers not to the notification bar, but the notification sounds. If you turn it off, then notification sounds will be off. Notifications in the notification bar will still show.

Some notifications still vibrating: sounds like the app developer implemented manual vibration instead of using notification settings.


Clearing all the app data on an Android tablet without using factory reset? In Android, is there a way to clear all the app data at the same time without using the factory reset? I work at a library and we have Android Tablets for checkout for patrons to use and after the patron is done using the tablet we want to delete the username off any and all apps the patron may have used so that their username is not left on the app. I know the "Clear Data" button in Application Manager will clear the username but we would have to do this for every app and would rather do this in one instance rather then one at a time. Any help will be greatly appreciated.

That could be done via ADB and a little scripting – though I'm currently not sure whether it might require root (surely you understand I do not want to try that on any of my working devices right now ;):

#!/system/bin/sh
for app in $(pm list packages); do
  pm clear ${app:8}
done

This snippet you could save into a file (e.g. clear_data.sh), or directly execute per copy-paste when connected to the device using adb shell.

Some explanation of what that does, as there was some trouble on the OP's end:

pm list packages gives a list with package names of all installed apps, one per line.
for app in $(pm list packages); do would loop over that list, and execute the "inner command" for each package separately
pm clear ${app:8} deletes the data from each package specified by $app, cutting of the first 8 chars (pm list prepends each app name by the string package:, which we need to cut off)

To verify at the command line, you can copy-paste the following one-liner:

adb shell 'for app in $(pm list packages); do echo pm clear ${app:8}; done'

(note: when run from a Windows command line, you'll have to use double quotes (thanks to Jesse for this hint!) – on Linux/Unix/Mac stay with the single quotes or the variables would be expanded "on the wrong end")

That's a "dry run", not doing anything but listing the commands above code block would execute directly. You could use the output from that to delete the data from each app manually, picking the ones you're interested in.1

To give an example command produced by this: pm clear com.facebook.katana would delete the data of the Facebook app.

1: This might prove to be an important part, as the loop would really clear data from all apps (including system apps) – which might not be exactly what you're after. You can automatically restrict that to e.g. user-apps by passing the parameter -3 (for "3rd party apps only") to the pm list command, i.e. pm list packages -3.


Mute SMS audio notification My phone is kept always on vibrate mode. When the screen is on and I get an SMS I can see the pop up notification and that's fine. Problem is when the screen is off - SMS sender name is read out aloud " Message from [sender name]" preceded by two long vibrations

I find this highly annoying sometimes and found no setting to mute this ( to replicate screen on behavior). I don't  want to activate DND mode because I want to know that I have a text message waiting to be read via  vibrate buzz

Surprised to see that no one complains of this on the net so obviously no solution ( Imagine your phone is on vibrate in a meeting but your phone announces to the world message from AXAIRNF or some embarrassing contact name) I tried automation, some Xposed / Magisk modules but none worked

Edit These additional attempts didn't help

Switching off the notification of SMS app
Trying alternate apps such as Textra etc
Putting the device on low ringer / notification volume when screen is off
Suspecting Text-to-Speech to be the culprit, killed that service when screen is off - no luck

Any solutions # including rooted means?

Mia1 stock 8.1 rooted with Magisk and Xposed (had same problem on 8.0 too). Stock Messaging app

# If you want to suggest automating, please stick to MacroDroid (don't want to add another automation app just for this). Gravity Box doesn't help. If your solution involves an alternate messaging app, it should be good at blocking spam SMS / be able to control reading of sender name(Textra already tried)

It had nothing to do with the device  settings (but OS bug )

It was a macro misbehaving and reading out for any contact rather than chosen contacts (since the device is always on vibrate wanted audio alert for text messages from chosen few).I never suspected this since a similar macro for incoming calls was working fine

Edit: Shared logs with the developer who confirmed that it is an OS bug

  My code in simple terms does a look up on the number in your contacts database and then when it matches it requests the ContactsContract.PhoneLookup.DISPLAY_NAME....your device OS has some kind of weird issue where it doesn't return a sensible name.

and hence it was getting triggered universally for any contact


Restrictions of Play Store on custom ROMs Please could someone correct my understanding? I read that once a phone has a custom ROM loaded, the play store can not be used on it again. However after more reading I'm not sure if this is the case?

I'm sure the answer is complicated so to simplify it, all I want to do is convert an old phone (HTC wildfire) into a dedicated device for my toddler that will just be used for offline games.

I don't need to remove features as he will be supervised, but I don't mind if the barest of ROMs is loaded as long as I can load games from the play store: I just want to speed the phone up, as at the moment it is awfully slow. (I have already tried restoring to factory settings and installing updates.)

Help would be appreciated!

There is no such restriction. I use custom ROMs on two of my devices, and the Playstore is acting normal.

The only problem you might face is that the Google Play App won't come pre-installed. You need to flash a package called "GApps", which must match the Android version used by your custom ROM. Usually, the corresponding links are pointed out on the page where you download your ROM from.


How to enable Diagnostic(DIAG) Mode in ZTE Engage N8000 How to put ZTE Cricket Engage N8000 in Diagnostic(DIAG) Mode. I want to use it in DFS CDMA Tool.

You can do it only if your phone is rooted.

Make sure Qualcomm drivers for your phone are installed in computer.

Enter this in Terminal Emulator in your device:

su
setprop sys.usb.config diag,adb

Note: This will work only if your phone's ramdisk has the appropriate configs enabled for the 'diag,adb' property.
If that didn't work, better open /init.xxxxxxx.usb.rc (xxxxxxx represents your device's codename or chipname or whatever) and check for properties related to 'diag'.


YouTube and AdAway whitelist? I use AdAway to modify my hosts file with quite a few aggressive sources. Unfortunately when my filters are active I can't see any channel or user pictures in the YouTube app. I can't figure out what hostname(s) I need to whitelist to fix this.

I've tried using the tcpdump log to add a bunch of Google/YouTube hostnames but this hasn't worked and I don't understand why. Any help would be appreciated.

I finally resolved this on my own. After lots of DNS logging I found the necessary. hostnames.

s.youtube.com
s.ytimg.com
youtubei.googleapis.com
yt3.ggpht.com


how to flash phone with two roms installed accidently I had installed a rom without wiping data.

Help me, how to flash it please.

the phone is a lenovo p700 4.0

Thanks

As I understand it you flashed one rom over another without wiping data and now your phone is inoperable.

In this case all you need to do is flash the second rom again. Just make sure you wipe the data/dalvik/cache before flashing the rom again. This should net you a clean install.


Remove all Google Contacts and keep all WhatsApp Contacts? I want to clean up deep and remove all contacts in my address book, but keep the contacts, that are linked to WhatsApp. So how to do that?

If you remove/delete contacts then whatsapp linked contacts also will be deleted. So how can you Keep WhatsApp contacts only?.
But you can view only whatsapp linked contacts
goto

Contacts App
Click on Options
Click on Contacts to View
Select WhatsApp from the list
Now you can view only WhatsApp contacts


How to connect Android phone to a Wifi network using PPPoE? I have an ISP at home, which provides me with a PPPoE connection. My router supports that and I've configured it to autoconnect periodically, so I don't have to type my username and password each time.

When I connect to the Wireless router from the PC, I have internet and everything works fine. However, when I do so using my Android phone, there's no internet connection on the phone. It connects to the router, but I cannot open any web page.

How can I enable internet access from such an ISP on my phone? Is it something in the router setup? The router is Linksys WRT54GL.

There is an app that enables it (aptly called WIFI PPPOE), but it requires you to root your phone. PPPoE is not natively supported in the Android SDK.


Resize photo before sending it by email? On iOS, when I select one or more photos from the camera storage and choose to send them by email, the OS will ask me whether to send the images in full size or make them smaller so that the email won't be so large.

On Android (stock 4.2.2 on Nexus 4) I haven't found a comparable function. When I send an email of my baby to my mom, she receives a full 8-megapixel image that's too large to view on her monitor...

How can I have Android reduce the chosen photos before emailing them?
I don't want to have to launch an editor app  and scale each image individually.

I only found one 2-year-old post about this that doesn't mention any solution. Surely, there's a way to do this on Android, similar to how it's done on iOS?

There is a free (as in freedom) application Send Reduced, available at the F-Droid repository of free software.

Install F-Droid, install Send Reduced, select your photos, press Share button, select Send Reduced and then select the sharing method. Your photos will be sent reduced in resolution and file size.


WPA/WPA2 with my Nexus 7 I have this weird problem with my Nexus 7:

When the WiFi network on the home router (AirTies) is set to WPA/WPA2 it is always stuck in the "login" phase and never actually connects to the network. The network icon shows that it continuously connects and disconnects.

Now if I switch the network to WPA2 only, the Nexus 7 connects fine. But then, a Mac on the same network keeps forgetting the network and I have to insert the key by hand every time it boots. Switching back to WPA/WPA2 simply reverses the problem.

I accept even suggestions to switch the ADSL/WiFi router, provided that you suggest one that you know works for both machines.

I've read about that phenomenon of some Androids having trouble in mixed WPA/WPA2 mode a couple of times now. As you described, people solved it by using either WPA or WPA2 (or even WEP).

So WPA2 only you tried (but got trouble with your Mac). Any chances to pin it to only WPA? WEP would be a last-ressort, as it offers only marginal protection.

Remark: Not sure about your settings for this, but in some cases people had SSID broadcast turned off on the router; turning it on again (i.e. broadcasting the SSID) solved the issue for some of them.


How to upgrade Galaxy Nexus to android 4.3 I am trying to upgrade Galaxy Nexus to 4.3 from factory image.

I reboot my phone using adb reboot-bootloader. It boots to a screen with the android robot.
And then I go to the directory with the build, and I type 'flash-all.bat'

But then the prompt just sits and says 'waiting on device'.

How can I fix this?

The waiting on the device means that your phone is not being located.
Try the following code:

fastboot devices

And check if there are some devices recognized. If not, it probably means that you don't have the correct drivers installed. What O.S. are you using? I guess that Windows. Which version? x86 or x64?

EDIT: Explanation about drivers of Android Phones in Windows. This is a general idea, so some technical mistakes are allowed, but in general, an Android phone, when plugged to the PC, identifies itself as several devices. One is to mount the data (dependeing on the version, it uses MTP, or mount the SDcard), another is the Android Phone to use the adb, and two more are when the phone is connected but in recovery or in bootloader. For each of this "Virtual devices", the O.S. needs a driver, usually a different driver. So you might have the adb drivers installed, but not the fastboot.


Samsung Galaxy S2 upgraded to Ice Cream Sandwich now Bluetooth headphones won't pair I have a Samsung Galaxy S2 which has just received the upgrade to Ice Cream Sandwich (I'm on T Mobile in the UK if that matters).

I have a set of bluetooth headphones. They worked fine before the upgrade, they would be detected by the phone and would pair with it without my having to enter a PIN code.

Since the upgrade to ICS, they no longer work. When I turn on Bluetooth, the phone detects the headphones but won't pair with them. When I try to pair them I get an error message that there is an incorrect PIN entered or an unknown PIN.

I know what the PIN is (0000). The problem is, the phone doesn't give me an option anywhere I can see to actually input this to allow the phone to pair with the headphones.

Samsung have advised me to do a factory reset of the phone, which I've done, but the problem remains. ICS is still on the phone and I still have the above problem.

Can anyone help?

@Jules answered his own question:

  (...) There IS a pairing mode to put the headphones in the first time
  you use them with the phone. I assume I must have done that when I
  first got the phone, but I have no recollection of it at all! All
  working fine now, so many thanks.


Connect TV to mobile via HDMI port I have LG TV which has a HDMI port only. How to connect my mobile Micromax Nitro 311 via HDMI port?

If your mobile can support HDMI, you can buy an USB MHL to HDMI, or SlimPort to HDMI.

The last option is to try the Google Miracast which allows you ton display 1080p content wirelessly.


How to change "administrator" in android I wanna know how can I change the administrator on my device. I am using 7.0 android and I have multiple accounts and by default, administrator of the device is the first user.
Now, some of the privileges are reserved for the first user like creating hotspot and others. I wanna do that from second user account as well, is it possible?
Also, how can I share my files between users, I didn't find any app for this. There must be some path like in PC. In Linux, you can easily do that. Given Android is based on Linux kernel there must be any similar facility, I guess.

Peace.

The owner of the device remains the administrator no matter what. The device owner is set during the setup wizard, and cannot be changed without a reset.


Cannot start Nexus 9 screen mirroring to Viera TV Nexus 9 currently runs Android 6.0.1 (MMB29S) with ElementalX kernel 4.05 and Chainfire's SuperSU 2.66 (if that matters); on the TV side, - it is Panasonic Viera TX-42CSR610 and it has screen mirroring function. WiFi direct finds the device, I am also able to send videos with sound from Nexus to it (as well as from a Windows 10 pc). However if I start the "Cast screen" from Nexus, it says "No devices available"; also when I invoke screen mirroring app on the TV, WiFi direct loses it.

I've tried about dozen playstore apps with no avail, including Chromecast, Mirror beta, Wifi display, Wireless display (Miracast) and others, all of them failed in different ways.

Presumably it will work with additional hardware like Chromecast, what I want to know is whether it is supposed to work as is, and if yes, why does not it work.

I found some similar questions here, they are about some different hardware/software combinations. Is there a known common problem?

Managed to do it thanks to this: after adding persist.debug.wfd.enable=1 to build.prop the option to enable wireless display appeared in cast screen options. It took several attempts to connect and I don't really know what did it work after all, but it works now.

One drawback remains though - when mirroring display I don't have access to the wireless router, so I cannot display any new content from, say, facebook, only the stuff that was cached beforehand. But this is obviously the matter of a different question.