Reverting refurbished devices to previous versions

Yes. There's a very easy way using Odin.

First, download odin from above link and also download whatever android version firmware you want from Sammobile, also download samsung drivers.
Then extract the odin archive.

Now, enable USB Debugging mode from developer options on your phone

Backup everything from phones. Data will be erased.

Now run odin and click on PDA button and point it to firmware file downloaded in earlier step.

Switch off your device completely. After that, turn your device on in download or Odin mode. This can be done by simultaneously holding the power button+volume down+home button on your phone. You should now be in download mode (it should say Downloading.... Do not turn off Target!).

Connect phone to pc using usb now. Once connected, the ID:COM section in Odin should turn to light blue. This means that the device has been connected and is ready for flashing. If it doesn't show any response, you may need to reinstall drivers.

Make sure "Auto Reboot" and "F.Reset Time" are enabled and disable every other option.

Click on Start in odin and wait a while, it may take sometime. Once done, it should say Success.

Finally boot the phone, first boot may take a while so wait atleast for 20mins by watch.

Perform these steps separately for every phone one by one.
Good luck, and hope it helps :)


Help for `fat finger` on Google Galaxy Nexus

If you can get the APK of Thumbnail, you can try to sideload it on your Galaxy Nexus.

You can try Swiftkey Keyboard, it works well for me as I have fat fingers too.


Constant decrease in android's internal storage free space

Seeing the reference to WhatsApp... I installed All-in-One Toolbox today for another problem (https://play.google.com/store/apps/details?id=imoblife.toolbox.full&hl=en). I happened to notice it has a cleaner just for WhatsApp.


How to connect wired xbox 360 controller to a tablet? (TF Prime)

You should be able to just plug the controller in to your tablet with a OTG usb cable and then  an app like USB/BT Joystick Center 6 will map the controller inputs to something your device can recognise.


How do I disable the data usage warning and notification in ICS?

In Settings -> Wireless & Networks -> Data Usage you should be able to uncheck the "set mobile data limit". The limit will stop data usage when you reach the limit. (You probably have this unchecked already).

On this screen is where you can move the "warning" levels up so you will not reach them and you will not receive the notification.

One thing to note: If you have mobile data disabled, the checkbox to set the limits will not be visible. Re-enable it temporarily and you can dispatch the annoying notifications for good.


Google apps not working on mobile data, although non-Google apps are working

Check if google domain is not blocked by the network you are using , also try resting network settings , and try to delete the configuration settings that has been provided by your service provider automatically and call the help line ask them to resend you the internet settings.


CyanogenMod for Samsung Galaxy S Advance. Which version?

The Galaxy S Advance is not officially supported by CyanogenMod. They provide links to several unofficial ports on their wiki, however:

CyanogenMod 10
CyanogenMod 10.1
CyanogenMod 11

Since these are not officially provided by the CM team, they may not contain all of the features/changes in a supported build, and you would need to contact the developer of the build directly if you experience issues.


Ok, so the secret is that there is a settings page but to get there you have to tap your avatar/icon at the top of the chats history. Then the "Disconnect from Skype" option is at the bottom.


Putting in the SIM will not hurt your phone at all. Even if you don't have the unlock code, your phone will be fine. The unlock code just allows the phone to be able to read the SIM of the other carrier.

You do not need to unroot, nor do you need to do anything beyond entering the unlock code.

T-Mobile is a great carrier when it comes to giving customers the unlock code for their devices. Usually as long as you are in good standings with T-Mobile, and have been a customer (I think for at least 90 days) they will give you the code.


Is the Android F-Droid client still actively maintained?

Yes, F-Droid get's updates and commits.
G-Droid does not get commits anymore.
The message by G-Droid was removed in d53a33c8


I work for a large company that uses Maas360 (https://www.maas360.com) to control company phones.  It has a variety of features including security policies and push  install of applications automatically.


I tested the "lock" feature on Android Device Manger, and now I can't unlock it

you have not mentioned which phone you are using, but i found this step in XDA forum, and this seems to have solved it. Could you check if one of the solution helps you: xda-adm-unlock, check out the post #3 by maysider.
Here is the complete snip of the sollution from XDA:

  so the BUG is "made by Samsung". Samsung just do not accept any
  correct PIN or password (maybe because of "wrong" keyboard).
  could anyone tell me how to remove the lock without wipe? thx

  edit:

  solution 1) just if you have debugging mode on then follow this
  solution http://maxoberberger.net/blog/2013/08/unlock-android-device-using-adb/

  solution 2) just if you can change your keyboard for another (if you
  are allowed when entering password)

  solution 3) just if you have Samsung account, log into Samsung Dive >>
  "unlock" (my case)

  solution 4) no debuging mode + no keyboard solution + no samsung
  account? >> just and only wipe through recovery or Google Device
  Manager

  Happy now, but I was lucky

  SAMSUNG BUG in 100 %

HTH.

Edit by Izzy: The link with "solution 1" proposes changes made with ADB, which require root access:

adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update secure set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
update secure set value=0 where name='lockscreen.lockedoutpermanently';
.quit
exit
adb reboot

This will unset your device lock completely, as if you did not have defined any.


It was a hot battery alert, so the charging was interrupted for safety reasons:


Can contact information from my lock screen be available without a password on startup?

The July 1, 2020 security update also adds the contact info in the state "Your phone is encryted . . . " Simply downloading and installing this 1GB update makes all of the state machine blue.


Sounds like you're stuck in a bootloop. If you backed up your phone before you flashed the release, reflash that image.

If not... Well try reflashing the ROM release. If this still doesn't work, flash an older version of CyanogenMod, or your phones stock, factory ROM.


Can I install Google Chrome on a Kindle Fire HD?

Yes. According to the guide here on sideloading apps onto your Kindle Fire HD it should work fine. You will need to allow the installation of apps from unknown sources which can be done in the Device menu. Note that for certain apps, including Chrome, that need a Google account you'll need to download and install the Google Framework and to reboot your device.

I'll provide a quick summary of the link that explains side loading:

The first thing you need to do is install a file manager app. I personally use File Expert, but you can use whatever works for you.
Next you need to get the app file. You can find it by searching on Google: (app name) apk. So in this case you would search 'chrome apk', there's plenty of links from that.
Once you have those, navigate to the Downloads folder with the file manager, and tap the .apk file. Click Install, and you're set!
You can find the app in apps>device, it will not be in Cloud.


Solutions for connecting phone/tablet to a bigger monitor?

You need to use the MHL Adapter Cable.

From the MHL Adapter, you can connect to any TV that support HDMI.


Yes, at this point. But, there's a talk about Sprint-locked Nexus 5.

Note: If you intend to use 4G LTE, then you need to check LTE market-compatibility, too. Other than that, you're good to use the phone in both countries.


Samsung GT P1000: Install to internal storage?

You can move apps that support it to that SD Card, as that is the one used by Android to install apps to.

Just go to settings apps and select the app, and then click the move to SD Card button.

If you want to move them ALL you must be rooted, and can use this app, which allows you to force apps to the (internal) SD Card.


Nexus 10 not booting, showing Google and lock icon when turned on

So if the lock icon was closed before and just opened somehow, you should find out what happens.

Now the lock is opened, so your boot-loader is opened. Have you opened it?

There are BL-unlocking apps available but all of them need root permission so I think this is not the cause. But I'm sure the device did not open its BL.

  I lost access to it, and lost all my data. This made me not wanting to try Apple again. I seriously hope I'm not dealing with something like this here now again...

On the Nexus devices if you open the device's Bootloader all data will be deleted. It's a security concern. The Android documentation doesn't provide a lot of elaboration, stating simply:

  The procedure must be confirmed on-screen, and deletes the user data
  for privacy reasons.

Once the bootloader is unlocked, the rooting process is quite easy so all of the information on /data essentially becomes accessible. This could be emails, contact information, or many other pieces of personal information that you likely don't want in the wrong hands. Therefore, it makes sense to wipe all of this data during the unlocking procedure.

TL;DR: If the device bootloader was opened somehow, all of your data will be gone.


Ubuntu connection woes, device not showing up in lsusb any more

The most likely cause of the symptoms you describe is that a pin is bent or broken in the USB connection. With the data pin broken but the power pin connected, the connection is exactly as if As it works on a different machine, that would narrow the problem down to the cable (if you are using different cables on each) or the USB port on your PC. Try a different cable and a different USB port.

As your phone works fine with a Windows PC, that rules out it being a problem with Android itself, so if changing the physical connection doesn't help, we probably can't help you any further here.


Does moving apps to SD card make launcher load time longer?

I think the issue is not really with loading the launcherbut remounting the sdcard.  You say it happens when you take it out of the dock?  Does the dock connect to your computer? If so does it put your phone into USB transfer mode?


Is it possible to run fastboot in a recovery mode shell (without connecting to PC)?

Fastboot commands are for the bootloader, not recovery, so even if you send the commands from recovery, it would do no good since you would be in recovery, not the bootloader.

According to all the information I could find about this "tablet," including information from HP, indicates that there is no way to access fastboot since there is no USB port and HP doesn't make a dock-port to USB cable for the tablet. Edit: apparently HP does have a cable for it, but it may be difficult to find and isn't cheap.


Obtain package name AND common name of apps via ADB

Here is my solution for a non-rooted phone which needed some slight changes from above which I ran on a Moto G 2nd gen running android 5.0.2.

I didn't have aapt binary in /system/bin, so I first tried downloading from: https://android.izzysoft.de/downloads

but when I tried to run it I got an error saying:

error: only position independent executables (PIE) are supported.

So then I searched for a PIE version and found: https://github.com/Calsign/APDE/blob/master/APDE/src/main/assets/aapt-binaries/aapt-arm-pie

and this worked by copying binary to /data/local/tmp:

adb push aapt-arm-pie /data/local/tmp
adb shell chmod 0755 /data/local/tmp/aapt-arm-pie

So then:

adb shell pm list packages -3 -f

gets list of 3rd party apps (apps you have installed, not system apps) and then you can use package from command above in aapt to get information on package - example:

adb shell /data/local/tmp/aapt-arm-pie d badging /data/app/com.facebook.katana-3/base.apk

So below is script (for a Linux client) to get just "common" name for 3rd party apps:``

for pkg in `adb shell pm list packages -3 -f | awk -F= '{sub("package:","");print $1}'`
do
  adb shell /data/local/tmp/aapt-arm-pie d badging $pkg | awk -F: '
      $1 == "application-label" {print $2}'
done

If you want package and version too, then
change last but one line from:

$1 == "application-label" {print $2}'

to:

$1 == "package" { split($2,space," ")
name=space[1];version=space[3]}
$1 == "application-label" {print name, version, $2 }'

Example output:

name='com.ultimarom.launchnavigation' versionName='1.28' 'Navigation'
name='com.enhanced.skineditorstudio' versionName='3.3' 'Custom Skin Creator'
name='com.mojang.minecraftpe' versionName='1.2.6.60' 'Minecraft'
name='org.videolan.vlc' versionName='2.5.13' 'VLC'
name='com.jrustonapps.myauroraforecast' versionName='1.7.2' 'My Aurora Forecast'
name='de.j4velin.wifiAutoOff' versionName='1.7.6' 'WiFi Automatic'
name='com.facebook.katana' versionName='153.0.0.54.88' 'Facebook'
name='com.metago.astro' versionName='6.0.5' 'ASTRO File Manager'
name='za.co.hardrive.smartinfo.parkrun' versionName='2.0.2' 'My 5krun'
name='com.PYOPYO.StarTrackerVR' versionName='1.0.1' 'StarTracker VR'
name='cz.aponia.bor3.offlinemaps' versionName='1.1.19' 'Offline Maps'
name='com.groupon' versionName='16.11.63973' 'Groupon'
name='com.ebay.mobile' versionName='5.16.1.2' 'eBay'
name='com.runtastic.android' versionName='8.1.1' 'Runtastic'
name='com.google.android.diskusage' versionName='3.8.3' 'DiskUsage'

Mike


Is there a way to switch between radio modes without the phone radio completely shutting down?

You are right in that it theoretically should be possible to make the switch without dropping the signal, but unfortunately we users and even CM developers can do very little to change that. The only thing the ROM does is tell the radio to switch from one mode to another, it's up to the radio's firmware to decide how to make the change. These firmwares are not something you can change, since giving the users the power to change how the radio works is just asking for trouble.

The reason why the firmwares lose the signal probably has to do with the fact that when you change the mode, you actually turn off part of the radio that handles the now unused network mode. But when the switch happens because of bad reception the radio that lost signal stays on and continues to search for a signal (so you can get 3G back after you return to civilization).


Google Now no longer working on Nexus 5x

Just to let you know you're not alone.

too have exactly the same symptoms on a Nexus 5X running 7.1.1
I've tried:

Leaving the beta program, removing Google App (beta) and installing mainstream Google App
Google App Rejoining the beta program, removing Google App and installing Google App (beta)
Deleting all cache data for Google App
Rebooting the phone.

etc.

Nothing worked.

However, switching to an alternate Gmail account clears the problem. This account is not in general use and although registered on the phone was not active when the App was updated earlier on today.

I do not want to change the main account as I have a vast network of settings and content in the original, non-functional account.


Pulling an apk of paid app from the device

You wont be able to pull a "protected app" without root, sorry.

This has nothing to do with the app being payed, except that usually only payed apps are "protected" (theoretically, free apps could be "protected" as well); think of it rather as a kind of "DRM".

Once your device is rooted, you can use "root powers" to pull those .apk files. This can be done either using a specialized app (such as AppMonster), or via adb pull if the ADB daemon runs in root-mode (it usually doesn't, but that can be achieved using adbd Insecure). adb root usually doesn't work on "production devices", so you have to use this different approach.


Samsung Galaxy S4 play edition and exFat

I would assume YES.

From allaboutgalaxys4:

  The device supports the FAT and the exFAT file systems for memory
  cards. When inserting a card formatted in a different file system, the
  device asks to reformat the memory card.


Multiple Android Market Accounts on a Single Device?

Nope, at least not as of now.  You can factory reset your device to remove the first account you set up (on some devices, you can just remove all the accounts without the reset) and then add the other one first, if you would like to use it instead. But if you actively want to use both, you're stuck.


Use 3G connection on my Android in Ubuntu

Easy Tether from Mobile Stream should work. It's a way to share your internet connection with another device via USB. Get the Lite version (does not support https, or tethering to gaming consoles) or the Full version.

  Supports Windows 7/Vista/XP (32-bit and 64-bit), Mac OS X
  10.7/10.6/10.5/10.4, Ubuntu 10.4+ and Fedora 13+

Full version supports the following:

  Tether PS3, Wii, XBox via PC Internet Connection Sharing, you need a
  computer for game console tethering.


TWRP not detecting external storage, shown as 0MB

Use a smaller SD card.  TWRP does not work with exfat formatted partitions at least on a T210R


How to fix "There is a problem parsing the package" when sideloading WhatsApp?

File from https://www.whatsapp.com/android/  version 2.17.251 has minSdkVersion="15"  which means that it supports android 4.0 and later.
Declaration "Android OS 2.3.3 or above" is on the same place.

Ask support?


Hide device information pop-up on Galaxy S3

It seems your device is in Factory Mode. To exit from it manually:

Open file manager that can access root folder (e.g. Root Explorer, ES File Explorer)
Go to /efs/FactoryApp/
Open factorymode file as text file. Change the content to ON and save the file
Open keystr file as text file. Change the content to ON and save the file
Reboot the device

Alternatively:

Install Terminal Emulator
Type su
Type (or copy-paste)

rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot

You can also exit factory mode and remove the annoying message without root, but it won't fix it:

Go to Settings > Application manager > All
Search Factory Test and "Clear data", "Clear cache"

Reference: ZiDroid - How to Exit Factory Mode for Samsung Galaxy Devices


Samsung Galaxy-s blocks the app to install after download

You can find it in Settings..

Settings -> Security -> Device administration -> Unknown sources


Why doesn't my galaxy s4 screen display anything?

Try removing the battery and pulling it back in again. Then hold power button + home + volume up for a few seconds until the screen lights up. If nothing shows up the screen make sure your battery if loaded. Try it again and if that doesn't work either. Try exactly the same except you use the volume down now and not the volume up. If that doesn't work it's probably a hardware problem. It's not software because the last update was a few months ago so then it would've been occurred earlier.

It could be a software problem if you've rooted your phone. Try flashing your stock software on it. You can't see anything but moving through download mode isn't that hard. Power + home + volume down. Wait a few secs, press volume up. Plug into PC using USB and flash stock software using Odin. If it isn't rooted it's a hardware problem. Go to your nearest Samsung Repair Center and maybe the repair is free because of the warranty. Unless it's rooted of course.


Is there a simple way to undo an app update?

Android does not natively back up applications so you can't "undo" an app update. Best thing I'd say you can do is something like this howto. It backs up your apks and their settings. It uses Titanium Backup and requires root, but rooting is not your problem.


How do I set my Android Nexus 4 via bluetooth MAP to get messages in car

It was broken in 4.2 when Google rewrote the Bluetooth stack.


Can my tablet connect to a 4g pocket wifi?

Before buying pocket WiFi, switch on the 4g hotspot in your mobile and try to connect to it through tablet. If it works then proceed to buy what you are planning.

Note: while connecting be sure the SSID, security type and password are correct or not.


.thumbdata files maxing out internal SD memory

If your SD card is using ext4 filesystem

There is no need to do anything here, since these files, despite reporting massive sizes, actually use very little space, as they are so called "Sparse Files". I left more details on the android ticket about this issue:

http://code.google.com/p/android/issues/detail?id=39546#c79

If your SD card is using FAT/exFAT

Then the problem is real, since FAT has no support for sparse files and their apparent and real sizes would always match. In that case you should resort to trickery described in the other reply - create the folder with the same name as an offending file after removing the file.

This Cyanogen fix sheds some light onto the problem:
http://review.cyanogenmod.org/#/c/36850

It looks like .thumbdata3 consists of sequence of records indexed by integer ID associated with a picture (not sure which app is in charge of assigning them). If file is deleted and is being recreated, and the minimum ID is, say, 10000 then 10000 empty records would be skipped over in .thumbdata3 on the assumption that sparse file handling would do its job and these 10000 records would consume no actual space. Except that on FAT there are no sparse file support and you end up with 10000 records worth of zeroes in you file which suddenly becomes couple of Gb big.


All system audio being transmitted over calls

Check for the secondary microphone on the phone (usually, it is near the back camera or top of the phone). This microphone is used for noise cancellation. Do not block it with your hand while talking on the phone.


Why can't I turn off vibrate while keeping audio on when a e-mail comes in?

Mine too. I got this behavior to change by doing the following:

Open the Gmail app.
In the menu, select "Settings"
Select your Gmail account.
Select "Sound & Vibrate"
Set the Sound to "Silent", and the Vibrate to "Never"

This fixed it for me. My guess is that it is a bug or poor design (the Sound option seems to override the Vibrate option).


What Kind Programming Language Used in File on /system/xbin?

You are looking at binary compiled file in the 'ELF' format.

From:
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format

  Android uses ELF .so (shared object) libraries for the Java Native Interface. With Android Runtime (ART), the default since Android 5.0 "Lollipop", all applications are compiled into native ELF binaries on installation.

So that code could have been written in any number of languages.


Can't download offline packages in Google translate

Go into the app and change your downloading preferences to both mobile data and WiFi. It will still download on WiFi if you are connected, but this change will get it out of that holding pattern. Make sure to restart the download once you make the change.


ICS upgrade to Thunderbolt deleted my Family Contact Group from Home Screen

I had the same problem and just figured out how to fix it.

Go to the screen on which you want to display your family contacts group.
Press the screen until the 'Drag to rearrange, edit, or remove' message appears at the top of the screen.
Drag the screen to the 'Edit' icon at the top left of the screen.

You will get options to 'Select a group for widget' or 'Edit group.'

If you choose 'Select a group for widget,' it will pull up your list of contact groups.

Choose the one you wish to display.


How do I create a ClockworkMod installation package?

The required part of a kernel .zip file looks like this:

META-INF
    com
        google
            android
                update-binary
                updater-script

You'll also want to have the kernel zImage file somewhere else, easiest if you just have it in the root of the archive.

updater-script contains the following at minimum (assumes zImage in the root):

assert(package_extract_file("zImage", "/tmp/zImage");
       write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p8");
       delete("/tmp/zImage")
);

You can also do things like show a progress bar, print messages, wipe /cache, and so on.

You'll want to grab update-binary from another kernel package for the SGS2.  One at random is attached to this XDA post.

I tested this method on my SGS Vibrant without issue, using a kernel from an Odin package and an update-binary from another Vibrant kernel .zip.  Note that this is perfectly safe as long as you're writing to the correct partition -- for the Vibrant it was bml17, for the SGS2 it appears to be mmcblk0p5 (based on the kernel from XDA I linked above) or mmcblk0p8 if you're flashing an entire boot image (see comments below).  You'll want to verify it for sure.  Worst case your kernel doesn't work and you flash a known good one.


Problem with updating CyanogenMod - Phone will no finish booting up

Ok so I found the solution. It was stuck in a bootloop. Instructions can be found here.

Bootloop problem

Pull your battery ( If you're already in your recovery skip to step 3)
Use your hardware buttons to boot your phone into amon-ra or clockwork recovery (google to find out how if you're unsure)
Use your hardware buttons to boot your phone into amon-ra or clockwork recovery (google to find out how if you're unsure)
Download your rom (update-XX.zip) onto your pc - this will probably still be on your SD card
Place the rom (update-XX.zip) on the root of your SD card. This can be done through your recovery by selecting "mounts and storage" from the "home" menu of the recovery. Then selecting "mount USB storage"
From recovery select "install zip from SD card" Select it by pressing your trackball/ action button
Select "Choose zip from SD card" (this may vary depending on the recovery used)
Select it by pressing the trackball/action button
Locate the rom (update-XX.zip) you placed on the root of your SD. Select it by pressing the trackball/action button, confirm your selection.
After the install is completed successfully, hit the back button to the "home" menu of your recovery
Choose "Wipe data/factory reset" Select it with the trackball/action button, confirm your selection.
Once the wipe is complete. Use the menu to reboot your device.

YOU WILL NEED TO REINSTALL THE GOOGLE APPS SUITE (MARKET ECT)


Moto G 1st gen getting "unfortunately google play services has stopped" message even in safe mode

If I'm correct, the best way to handle this is usually this: Tediously, navigate to settings. Once in there, go to accounts and remove all your accounts. Once this is done, back out of that to the main settings. Then navigate to apps. Look for Google Play Services. Force stop it, then clear cache and data. Do the same with Google Play Store. Once this is done, go open up the Play Store. If done correctly, usually it'll ask you to accept the Terms of Service. If you get that, then you can sign in and it should be fixed. Sometimes you have to repeat this a couple times because sometimes it doesn't trigger whatever it is that fixes it.


Basically something wrong and bad happened and hence your phone is unable to boot.  I am not sure this is the answer, but I am just trying to help as I too faced such problem and was in panic during initial days with Android.

This XDA site beautifully explains the boot related problems and how you could get over.  Basically you have to reflash the ROM for which you need few USB drivers + flashing tool and original or some other ROM.  Though I am unable to point you to exactly to sites that provide these, I guess you can easily search for it.

TIP: Had if your phone Clockworkmod recovery, things will be bit easy. This is one convincing reason, I made up my mind to root and install CWM recovery as a first step on all my devices.


Without the encryption key, you won't be able to decrypt the files on the SD card. Your only option, in this case, is to format the SD card and start over. The idea of encryption is that nobody can access your files without the encryption key. In the case of Android, your encryption key is NOT the password you use to unlock the device. That password is just a password of a password.


Internet is not working except Whatsapp application

I finally found that proxy was set to some ip in APN setting.
    I removed proxy and saved APN setting. And Internet is working fine now.

  Mobile Networks > Access Point Names > open the one APN > delete the
  content in Proxy


How do I turn off the shutter sound for the Android camera?

I'm on android 2.1 and am on a Samsung so this may not be exactly the same for you. To disable the shutter sound I launch the camera then (with the camera in landscape mode):

Tap the triangle on the left of the camera frame to show the options round the camera.
Tap the Settings icon (cog) on the bottom right.
Tap the spanner tab on the top.
Tap the down arrow on the right to page down.
Tap the button next to Shutter Sound.
Select Off.


Had similar issue when streaming music from phone to wireless speakers via wifi. Phone, unfortunately, wont allow sleep mode to be turned off completely (only when charging phone). Best solution I have is using app called INSOMNIA. It allows you to switch sleep mode off completely. Worked with Huawei P8 lite.


Usually large images are flashed in sparse (parts). To flash a full image that large, consider using the dd command in a shell to directly write the image to /system - that's the only approach I can think of that doesn't seem to have size issues.

[edit]:
dd worked (booted to twrp and opened adb shell):
dd if=/external_sd/system.img of=/dev/block/mmcblk0p66
where mmcblk0p66 is the system partition (in /dev/block/platform/<something>.sdhci/by-name you can find a list of all partitions)


Connect Samsung Galaxy tab 2 P3100 to a GPS dongle/ Receiver

There are several options available to you, but make sure that you know that the app you're using supports them!

You can go with a Bluetooth GPS receiver like this one. Reviewers mention that it works with Android, but not iOS. One reviewer says it works perfectly, another says that not all apps work with it. (I'm inclined to believe that the user who mentions that it needs an app is mistaken)

You can also get a USB bluetooth receiver like this one with an OTG Cable like this, but these are designed to be used with PC hardware, so support for Android may or may not be very good.

I would personally go with the bluetooth option for convenience and because there are others who have done it with Android devices already.


How to force load desktop version of website (changing user-agent doesn't work)?

This might have nothing to do with the UserAgent – but rather use other means of responsive design. Take my Android site for example: I don't evaluate the UA at all. Try the site with your mobile device, play with UA and Cookies all you want – unless you change your screen resolution, results will always be the same.

@media (max-width: 600px) {
  // adjustments for small screens go here
}

That's a snippet from my site's style sheets. You see, as soon as screen width (that's not the physical width of the screen, but the width of the browser window) drops below 600px, special CSS will be applied: to keep the content readable and focused, for example the tabs go from the left to the top (or bottom, depending on how the browser interprets the CSS), and several other things.

Which means: For such sites, the only way to "force the desktop variant" would be to play with screen density – which requires root and might have some unwanted side-effects (set the density too high, and you cannot read anything anymore as the fonts get too small, just to name a rather harmless example).


Why I Can't Use Wifi for anything except whatsapp?

Had exactly the same issue. Fixed it:

Set the router to automatically assign DNS.
Turn off PC, Router, Android.
Turn on PC, Router, Android after 15 sec.

Everything works like before now! :)


Why Does My Phone Keep Linking Facebook Contacts?

Look in Settings->Accounts most likely you will have an account there for facebook. There may be settings for that account that allow you to choose what gets synced. Otherwise if you don't need any of it, delete the account. It won't running in the background updating facebook statuses for those contacts... Should help with battery life, memory, etc.

Hope this helps.


Simply removing widgets and shortcuts from the screen will only prevent the very inexperienced (i.e. those who never used an Android device before) from accessing other apps, and not even sure for them. If your goal is to prevent most people from doing so (the very experienced will always find a way to circumvent your protection), you rather need something like a Kiosk-Mode.

Recomended readings/references on this:

Deny the installation of apps or add new accounts (kiosk mode) -- another Q&A here on our site
Child-proofing an Android phone? -- again a Q&A at Android Enthusiasts
KioWare - Kiosk System Software -- an Android Kiosk solution
Kiosk Mode on Android with SureLock -- also mentioned in the first Q&A
Kiosk mode on Android -- a blog on the topic
Google Search on the topic
German Overview on App Lockers (Google Translate version of the same page)

Btw: If you initialize all those tablets using the same Google Account, you can easily manage installations via your computers web browser (just a hint along).


Connecting multiple USB devices using a USB hub that connect to the USB port of a Android devices

Typically yes, you can use a USB hub to connect multiple devices without any issues. Whether or not these peripherals perform adequately may depend on the amount of power that they require, but that's common to un-powered USB hubs in any situation.

Google's Android support pages actually mention USB hubs. E.g. the Nexus S support page on keyboards and other devices specifically states:

  To connect more than one USB device at a time, use a powered USB hub to reduce the drain on your phone’s battery.


I deleted Android OS from my Karbonn device

You mean you deleted Files from /SYSTEM/ folder.

If yes then Bro you did a big mistake. Your device got corrupted.To recover  Download android ROM for your device from internet then go to download mode and flash it using ODIN .

You can download ROM from LINK: http://androidxda.com/download-karbonn-stock-rom-models
Download ODIN from http://odindownload.com/ (Requires PC)


PDF to Speech Pro https://play.google.com/store/apps/details?id=com.practicalapps&hl=en $2.99.

One of the better ones, actually does what it is suppose to. I haven't came across any free ones.


How can I boost the volume on my Droid's speaker?

It seems that Android DSP apps all do different things and you'll have to try different ones to see if they work for your particular phone and ROM.  I haven't had any luck tracking down why this is the case, or even what the apps are doing.  One time I even tried modifying a config file that by all appearances controlled volume levels, to no avail.

I have found one that works for my Note II running OctOS L, and it's called Volume Booster.  It's ad supported, and occasionally stops working, but it's great.  I boost about 25 - 30%, which is loud enough to hear music across a room at a decent level.  At that level, there are sometimes some distortions.  Also, I think it negatively impacts phone audio, but since I don't make many calls, I haven't looked into this problem.

Given the distortion, I think that this app meets your requirement to get louder than the manufacturer intended.  I presume that if I boost too much with this app, it will blow the speaker.

From the Play store:

  Simple, small, free app to boost your speaker or headphone sound
  volume. Useful for movies, audio books and music.

  Use at your own risk. Playing audio at high volumes, especially for a
  prolonged amount of time, can destroy speakers and/or damage hearing.
  Some users HAVE reported destroyed speakers and earphones. If you hear
  distorted audio, lower the volume (but it may be too late).

  By installing this application you agree that you will not hold its
  developer responsible for any damage to hardware or hearing, and you
  are using it at your own risk. Consider this to be experimental
  software.

  Not all devices support this software. Try it at your own risk and see
  if yours works.

  This app does not work on most 4.2.1-4.3 devices. It should work on
  4.4 and higher, as well as on devices below 4.2.1.

  This is not for adjusting the speakerphone volume in phone calls (that
  has its own boost, I think), but for adjusting the volume of music,
  movies and apps.

  When you set the boost to zero, Volume Booster will be off. The
  notification icon is just for ease of launching. If you don't like
  seeing the notification icon when Volume Booster is off, just go to
  Volume Booster's Settings and set it to appear only when Volume
  Booster is running.


You can try locating your phone using Google's find my device option. Just go to Android.com/devicemanager log in, and it will show you the location of the device. If it doesn't show your location, in that case your location option is probably off, or your phone is off, or it was factory reset.

WhatsApp doesn't have a function to find your phone. So unless you had a different app that does that, you might be out of luck.


Pop up warning your flash player maybe out of date

If all you did is download an .exe file, you've nothing to worry about. It's a program for Windows, and it can't run on your Android phone. Just delete the file you downloaded to make sure no one copies it to a Windows computer by accident.

But if your router is infected by malware, don't use it at all. It can intercept and impersonate every website you use and visit. It can steal any login details you enter on websites and pretend to be you.


Where can I find documentation for shell commands?

You may have a look at http://www.busybox.net/downloads/BusyBox.html for a description of busybox and the commands provided by it.
And trust me, if you are going to do work in the console, you probably want to use busybox.


Does a factory reset on a Galaxy Nexus wipe the virtual sd card directory?

A factory reset does indeed reset the virtual SD card on a Galaxy Nexus.

Okay, initially it appeared as if it wiped the virtual SD card, but it did not. After the media scanner did its magic, everything on the sd card (mostly) still remained there.

I did a factory reset by going to Android's Settings, then Backup & Reset, and did the factory restore option. I did not wipe the device from recovery.


is Google map navigation only available to selected country

It's limited to specific locations, and only available with a data connection.  See this question on the location limitations and this question on alternatives.


I rooted many unknown brands in last two months and thr are couple of PC programs which will help you to do it easily.

Kingoapp Root
SRSRoot One Click Root for Android (SuperUser)
Mobiegenie (I never tried this one)

all these programs require a windows PC and a Good Data cord for the process.


Determining file type from android terminal emulator

for find File Format, copy this file in Linux, then use this command:

  file input

i tried many commands for this in terminal(Android), and does not work.


How often is Google Location History updated?

After a bit of research this is what I was able to find.
"Each time the phone was within range of a Wi-Fi access point, it would send its MAC address and SSID to Google’s servers. Using GPS (when available) and cell ID data, it can locate where that Wi-Fi access point is, which is then collected and stored to create the history you see on the map."

Keep that in mind with my personal experience of seeing it update as often as every single minute!

I do not believe configuration of the frequency is adjustable.

I hope this helps!


How do I change incorrect album art on the default Music Player of the Samsung Galaxy S III?

What worked for me, as adx suggested, was to go into the /Android/data/com.android.providers.media/albumthumbs folder on the phone and delete all of the files it contains. They are extension-less files, so it is impossible to tell which one is the offending one, so I just deleted them all. The next time I opened the default Samsung music player, all of the album thumbnail images at first appeared empty, then after two or three seconds, the music player re-generated all of them, and my new album art appeared on the offending album.

(This was after I "showed hidden files and folders" via the control panel in Windows and deleted the AlbumArt.jpg and Folder.jpg files that were there)


Commands not allowed shows when the bootloader is locked. Try fastboot oem get-bootinfo to get the lock status. This guide shows you how to unlock the bootloader.


Cannot play videos in any browser only in player

This is because you have installed some other apps that are capable of opening the same media. Previously, only your stock video player was associated. Now I guess SoapCast can open it.

This is how android works normally, but if you want the old behavior at all times, select the checkbox that says "Use by default for this action" and then click on the stock video player or "Movies".


How can I have a separate birthday calendar without shoving all those contacts onto GMail?

Install my new open source app Birthday Adapter.


you can use any number of kiosk apps to do this. I'm really not sure what they require or how they work, but they're designed for companies to lock down features for employees etc. as such they're somewhat spendy for Android apps, but I did see at least one for $30/year including tech support.

sorry I can't give you more info, but look in the Play Store for "kiosk" and take a look. I'm currently researching the same thing.


How to upgrade Xiaomi Redmi 3 to Android Marshmallow?

As of now MIUI 8 is still Lollipop (and will likely stay that way due to Xiaomi pushing Redmi 4 series), and there's no Marshmallow-based port either, so you will have to make a choice between up-to-date Android version and MIUI UI/features.

If you do decide that living on the cutting edge is worth the sacrifice, start unlocking and flashing custom ROMs. XDA-Developers will give you a good start, hosting a number of popular ROMs such as LineageOS (this would even bump you to Nougat).


How to add website as a website link with Brave/Chrome to the Android home screen?

After tedious search I was finally able to do it.
Simply put - with Brave/Chrome it seems that it is not possible to add a non-PWA shortcut when PWA-version is defined at the web pages web manifest.
HOWEVER there are separate apps on the app store (I don't link to any specific one here but search for example "create shortcut launcher") that allow you to create "custom" shortcuts. With these apps you can create a simple URL shortcut and define which browser is used to open it.
This solves my problem and this question.
To get the corect icon you have to separately download and set the icon which is quite tedious so if anyone solves how to do this with chrome/chromium then please respond and I will change the accepted answer.


Reinstall the firmware, and boot up with your PC. The firmware you can get on Huawei websites.


Automatically enable WiFi when you're near a saved network

I had same issue and finally found a link to this project:
https://www.reddit.com/r/tasker/comments/8p0ywt/project_share_switching_to_saved_wifi/
The project itself does a bit more, but shows one way to get the saved wifis with default Tasker features.
So regarding your Q: But is there anyway to programmatically retrieve all saved network names and set it as a variable?
A: Yes, there is, using Tasker action of type Code -> Java Function (see also function $getConfiguredNetworks in the linked project):
1.) Use Code Java Function to get WifiManager from CONTEXT
2.) Use Code Java Function to get configured networks from WifiManager
3.-6.) Use Variable Search Replace to get SSIDs out of the configured networks using regular expression
7.-8.) Set variable to be checked by Tasker Wifi Near State
9.) (Optional) Trigger steps 1-8 automatically
Detailed Tasker actions:
1.) Java Function:
a) Class Or Object=CONTEXT
b) Function=getSystemService{Object}(String) <select using magnifying glass icon and
either scroll down or use filter on the bottom of the screen, pay attention to not pick the (Class) version>
c) Param=wifi
d) Return{Object}=(WifiManager) wifiman
--> result in Tasker view should look like this: (WifiManager) wifiman = CONTEXT.getSystemService(wifi)
2.) Java Function:
a) Class Or Object=wifiman
b) Function=getConfiguredNetworks{List}()
c) Return{List}=%get_configured_networks
--> result in Tasker view should look like this: %get_configured_networks = wifiman.getConfiguredNetworks()
Extract SSIDs, there are many ways, I did it looping over the list
3.) For: Variable %get_configured_networks Items %configured_network
Delete everyting from the variable that is not the SSID using regular expression
4.) Variable Search Replace:
a) Variable=%configured_network
b) Search=(?:.|\n)*SSID:\s*"(.*)"(?:.|\n)* <this regex will capture the SSID name in capture group 1>
c) Replace Matches=true
d) Replace with=$1
Add SSID to array
5.) Array Push: Variable Array %ssids Position 1 Value %configured_network
End loop
6.) End For
Join SSIDs with / as separator to fit Taskers wifi near syntax SSID1/SSID2/.../SSIDn
7.) Variable Join %ssids Joiner /
Set Global Variable to be checked by Taskers Wifi Near State
8.) Variable Set Name %SavedWifis To %ssids
So once this is done, a Wifi Near %SavedWifis can be used. But after you have added a new Wifi or removed an old one, you need to update the value again.
9.) Execute Taks to refresh %SavedWifis regularly (for example based on time event or whenever wifi connected), if anybody knows a way to react on a 'savedWifisUpdated' event, please let me know.


Zombie Scramble keeps returning to life!

This is happening because of an issue (or a feature?) on stock Samsung firmware.  Whenever you reboot the phone, the "Show notifications" setting of apps that were moved to SD Card will revert to its original state, which is to allow notifications.

The work-around is to move the app back to the phone, and the setting will persist across reboots.


How to check from where FWUpdate will check for updates?

There is no pre-configured repository for the phone to check.

In order to avoid their servers being over-flooded with download requests, Google along with manufacturers and carriers employ what is called a "staged roll-out."  Once they initiate the roll-out for a given region, a specially crafted message that contains the actual download location of the firmware image is sent to the eligible phones.

The carrier, manufacturer, and Google can all initiate such messages. It depends on where you originally purchased the phone who will be responsible for the updates.  This is driven by the phone's model number.  Carrier-branded phones will most likely get the notifications from the carrier, otherwise the manufacturer will handle the upgrade roll-out.  Upgrades for Nexus and Google Play edition lines are handled by Google themselves, usually without manufacturer or carrier intervention (with a rare exception of Verizon Galaxy Nexus model.)

Technically, it's possible to intercept such messages and extract the actual URI of the firmware file for manual download and installation, but you will be dependent on others to do that, if your device has not yet been made eligible for the upgrade.

After a while, when the initial rush of upgrades is over, the manufacturer will usually host the firmware images on their own sites for anyone to download.  It can take a while though.


Project Fi - What Magic Hardware Allows Carrier Switching?

FWIR, the Project Fi SIM contains the two separate carrier profiles (separate USIM applications with their own IMSIs that obtain the lease for one carrier or another) which are selected by some undisclosed means, as noted here (there is some theorization that this could be done by software on the baseband processor or possibly the SIM card itself, and as likely as not actually a combination of those things together with the Project Fi Tycho App.) The Active carrier USIM can be manually switched using proprietary dialer codes, but at the end of the day you have something in the form of software making a selection in the same way you might find on a dual SIM device (which is not a new concept).

The WTR3925 LTE Transciever is certainly key to being able to handle Carrier Aggregation but since the signal gets processed by the baseband and the actual selection of one carrier over another is being handled by software, it would be easy enough to assume that the unique thing about the Google Devices has more to do with proprietary code than anything else.

As far as enabling the ability to use a project fi sim in another device, it has been reported that while it will work with similar hardware profiles in terms of recognizing the SIM card, it still will only recognize the currently active carrier profile and as the specifics of the switching mechanism is not openly documented at the moment it would have to be switched manually or by attempting to implement a unique selection algorithm written to the spec of the PFi SIM.


Bought a new battery, do I need to calibrate it?

No

Calibration of batteries (Li Ion or Li Po, used in almost all mobile devices) is a myth

You can start using it straight away and charge as you normally did with earlier batteries

This post will help you understand more:

Looking for a consistent answer about battery calibration

Using calibration apps doesn't really help as the battery files in system (to which these apps write) are renewed and previous data erased when you charge / reboot

As explained in this article

  It [Batterystats.bin file which stores calibration information] has no impact on the current battery level shown to you.
  It has no impact on your battery life.......it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point)...

Explanation in Italics mine from the same article

Related Myth : Charging a new battery for X hours

Charging a new battery for x hours before use is a "legacy hangover" from the days when Nickel Cadmium batteries were used. Those batteries had a "memory effect". As a result, over a period of time, they "remembered" lesser battery capacity than rated capacity. To prevent this, it was advised to always fully charge these batteries

This is not the case with Lithium Ion or Lithium polymer batteries. There is no logic to charge fully or x hours before use. Just use the battery normally, as suggested by others in comments
Table 1 corroborates with additional information


Remove/disable guest account on Android 6.0.1, but still allow restricted accounts?

Create a restricted account named Guest
Sign into that account
Go back to administrator account
Delete the account that you made in step one

You can still access the Guest user in the user section of the settings menu but not from the lock screen. This works for me. I hope it works for you too.

As for the add user button that can be disabled by going
Settings>Users>...>Add users when the device is locked


Xperia: you can hold on the word displayed  and u have an option to delete it.
You can add words by going through 'language & input' then add your words in 'personal dictionary'.

I would like to edit from a 'list' of saved words but I haven't found my way to the list.


Easy and efficient way to run GNU/Linux on top of Android on an x86 device?

I found  way to do this that I'm very happy with.

I used Linux Deploy. (It requires root, but here's an alternative for those who don't want to root.)

Here's a nearly full version of Xubuntu 16.04 (x86-64) running on my phone.

It performs really well. I had no performance issues. Note that this is not a virtual machine. Android and Xubuntu share the very same Linux kernel at the same time. If, while this is running, I switch to OS monitor (in Android), I can actually see the individual processes from Xubuntu (dpkg, etc.) running and how much of the CPU they're using. (That has to be enabled in a setting, though.)

An external keyboard and mouse are a must (though not strictly required). And an external monitor is also a good idea. Or you can just VNC into this system directly from another computer. Linux Deploy supports that out of the box.

The setup is really easy. The default settings of Linux Deploy pretty much work. Just select your distribution and desktop environment. But, by default, the system creates a 2GB .img file as a file system. That wasn't enough for me. So since the internal storage of my phone is ext4 formatted, I was able to set it to 40 GB. If yours is FAT32, the maximum will be 4GB. But it's also possible to have a directory or partition instead of a .img file. (Although I didn't figure out how to do that.)

The process is described in detail here. Skip down to the "Linux Deploy" section. It's important that you install the correct version of Busy Box. Otherwise, it won't work.

This kind of thing has potential. If you have a powerful enough phone, it can actually replace your desktop computer in many cases.


I also see this behaviour with my Desire C model.  When I reported it as a bug to HTC they responded that it is intentional behaviour as the Desire C lacks a charging LED.  Personally I think you should still be able to have the screen turn off and it doesn't make sense to have an option in the settings menu that doesn't do anything.

If enough people request the change HTC may put in the ability to turn off the screen while charging in a future software update.


Android Terminal Emulator might be what you're looking for :)


Automatically Enable Airplane Mode at Home?

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


How to open a html file which is in a hidden folder?

Instead of making the folder hidden with a dot prefix, create an empty file inside the folder with the name ".nomedia". This will prevent image/gallery apps from indexing the folder.


What process happens when there is a system optimization?

What is Android doing when it says “optimizing apps/system”?

Basically the android system will be creating an optimised version of each application. This process makes each app start as fast as possible with the new Android version.

  While it says ‘optimising,’ operating system generates ‘odex’ files
  for your apps from scratch. As a simple explanation, odex files can
  help the system boot faster and reduces the time needed for launching
  applications.

Apk files and odex files

  The longer story is that when an APK file is added to your Android
  system, it’s not actually stored that way. It’s converted to something
  called an “odex” file.

The Android OS does not store apps as is after installation (i.e., one single APK file). An optimized version of the app is stored in the Dalvik cache — called the odex file.”

What Is an Odex File?

In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex  (Optimized Dalvik EXecutable) files whose supposed function is to save space. These odex files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.

Deodex

Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files (Dalvik EXecutable).

  By doing that, all pieces of an application package are put together
  back in one place, thus eliminating the worry of a modified APK
  conflicting with some separate odexed parts.

In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.

There are several explanations on how this works:

  In Android, applications come in packages with the extension  .apk.
  These application packages, or APKs contain certain .odex files whose
  supposed function is to save space. These ‘odex’ files are actually
  collections of parts of an application that are optimized before
  booting. Doing so speeds up the boot process, as it preloads part of
  an application.

  Android OS uses a Java-based virtual machine for running applications,
  called the Dalvik Virtual Machine. A deodexed, or .dex file contains
  the cache used by this virtual machine (referred to as Dalvik-cache)
  for a program, and it is stored inside the APK. An .odex file, on the
  other hand, is an optimized version of this same .dex file that is
  stored next to the APK as opposed to inside it. Android applies this
  technique by default to all the system applications. Now, when an
  Android-based system is booting, the davlik cache for the Davlik VM is
  built using these .odex files, allowing the OS to learn in advance
  what applications will be loaded, and thus speeds up the booting
  process. By deodexing these APKs, a developer actually puts the .odex
  files back inside their respective APK packages. Since all code is now
  contained within the APK itself, it becomes possible to modify any
  application package without conflicting with the operating system’s
  execution environment.

How to do the process manually;

If you want to manually optimise your apks, there are some options:

You could try using  using applications like Lucky patcher
Alternatively with Windows you can zip-align them with
Apk decomplier (apk sign tool)

Acknowledgements

What Is Odex And Deodex In Android
What is Android doing when, after an upgrade, it tells you it's "optimizing" the apps?
http://alvinalexander.com/android/what-android-doing-optimizing-apps-after-system-upgrade-restart


Micromax canvas juice 3 plus q394 reboots after every 5 minutes of use

There can be multiple causes of your android's random behavior. I am listing some of then with solution.

In most cases, random restarts are caused by a poor quality app. Try uninstalling apps you don’t use. Be sure the apps you do use are reliable, especially the apps that handle email or text messaging.
If you disabled apps that are required to run the Android OS, it may be causing your restarting issue. Have a look under “Settings” > “Applications” and swipe over to the list of apps that are “Turned Off” or “Disabled” and enable any apps that may be needed for your device to function properly.
Many Android devices are designed to shut off automatically if they become too hot. If you are trying to use 4G, GPS, and the screen is set to the brightest setting, it might restart itself or shut down. Try to take it easy and maybe disable features you don’t need.
Loose Battery is also one of the issues.The most common reason for this is the rear cover has become slightly bent and is no longer holding the battery into place. Another reason is the gold battery connectors are bent out of shape. Over time, the connectors may get worn down.
Sometimes the Android system software gets corrupted. If you are using a custom Android ROM, try a different version of the ROM or another type of ROM altogether. If you’re not using a custom ROM, your only option may be to try a factory reset of the device.

Hope this helps.


WiFi network not accessible with modified MAC address

After much searching, I came across this thread on the xda-developers forum where people seem to be having much of the same issue with a Nexus 4. After trying several of the proposed solutions in that thread, I came across one that worked!

It turns out that Android keeps a permanent record of the MAC in /persist/wifi/.macaddr. For some reason, it insists on using the MAC in that file whenever connecting to a wireless network. If you're on a rooted device, however, you can overwrite it with whatever MAC you want. Interestingly, this change will also persist across reboots!

So, without further ado, here's how you change the MAC permanently on an Android device (substitute 112233445566 with the MAC you want):

computer $ adb shell
android $ su
android # cd /persist/wifi
android # echo -n "112233445566" > .macaddr
android # ^D
android $ ^D
computer $ adb reboot


I uninstalled/deleted a system privileged app (from /system/priv-app) by mistake. Where can I get the apk of it?

The way I did it was a little different.. I made a full twrp backup. Wiped everyhing. Flashed the stock rom. Copied the DocumentsUI.apk from twrp. Wiped again. Restored the backup. Placed the copied apk into /system/priv-app/DocumentsUI. Everything worked perfectly!


Can I use a windows 10 computer with Bluetooth as a trusted device for Smart Lock?

There is some evidence suggesting it can be done, however only devices that are currently connected and in range can be enabled,  so make sure you're connected to the device you want to use i.e Windows 10

  Device-to-device e.g tablet, PC (as opposed to device-to-peripheral e.g smartwatch ) connections only remain established during the time of need such as data transfer.

Some users have suggested using Bluetooth services on PC, to keep constant connection. Examples include Bluetooth audio service, or  connecting the PC an input device (remote control), Obex or even DUN so as to prevent connection  drop.

Credits

Trusted devices not staying connected


If you have a Backup, just Restore it.

or, there is two way :

Use something like :  EASEUS Data Recovery Wizard Professional

  //for Recovery...

or another way ;

Download the rom and flash it for fix.

Where can I find stock or custom ROMs for my Android device?


Setting Default applications through ADB

It is not necessary to uninstall the default launcher, you must know it's package name before of doing so, which if you don't know you must get with adb shell cmd shortcut get-default-launcher.

In order to set your launcher as default you just have to call the following

adb shell cmd package set-home-activity "your.package/.YourLauncherActivity"


GT I9300 clockworkmod Cyanogen 10 nightly external SD not mounting

First to the recovery:

Samsung phones that use Odin have their recovery image as part of the kernel. You should flash the CyanogenMod zip file, and that should flash the CWM recovery. Alternatively, you could flash the Siyah kernel, which comes with a modified CWM touch recovery image.

Now to the EXT partition:

Make sure that the EXT partition is primary, and also ensure that your ROM has EXT support - you should ask on your ROM's forum post/website to check if it does. If it does, then it could be an issue with the mount script, if it doesn't well we know what the issue is now ;)


I figured out what the problem was - "System" under "Mount" in TWRP was unchecked. After checking that, the folders under system appeared.


The boot partition contains the kernel. If you want to use your phone you'll need a kernel so no, wiping it means your phone won't be able to boot. But recovery will work so you flash another kernel.


Google Nexus S USB Drivers for Windows 7 64Bit

The USB Driver for Windows is available for download as an optional SDK component. You need the driver only if you are developing on Windows and want to connect an Android-powered device (ADP, Nexus One, or Nexus S) to your development environment over USB.

Are you going to develop android app or just want to browse the internal memory?

http://developer.android.com/sdk/win-usb.html


Determine app that keeps turning on bluetooth

For me it was FireChat.

With aSpotCat you can check which apps have the permission to turn bluetooth on/off.


If you are using the stock ROM, you can simultaneously hold the power and volume down buttons for 1-2 seconds. A screenshot will be captured.

If you aren't using stock, you should check the ROM's power menu (hold down the power button).


Is there a way to reduce the CPU and memory usage of the stock Browser?

The only things I know of are turning off images, Javascript and plugins.  You probably don't want to do all that but setting plugins to "On demand" is quite useful -- pages with Flash ads and such won't waste your data or battery in addition to demanding less from your phone, and it's just one click to allow a particular object to run if you want to watch an embedded video or something.


Install apps to SD card in android 4.4.2

Some apps, stated in their manifest files, cannot be installed to external storage (SD card). That setting will not affect those apps. You should try some other apps for verification.


What is the default launcher on the Moto G?

The launcher on the Moto G is indeed almost identical to the stock Android Launcher - but not the Google Experience launcher that is seen on Nexus devices running Android 4.4+.


MTP might not be reliable enough for that. Several approaches I can offer:

using on-board capabilities via ADB

This requires ADB tools being available on your computer (see e.g. Is there a minimal installation of ADB? for how to meet this). Now let's see how to get the files over.

open a command prompt, and (optionally) switch to the directory your adb executable is in
Make sure usb-debugging is activated on your device
connect your device via USB
assuming your SDCard is mounted/available as /sdcard on your device, let's copy it with its contents:

adb pull /sdcard /home/chris/android/sdcard

Just adjust the path to your needs ;)

using an app with a more user-friendly GUI

I use FolderSync to keep several directories backed-up. The big pro of this approach is: even if your device hard-crashes one day, you still have a quite up-to-date backup of all files on your computer.

FolderSync: Main screen, folder pairs (source: Google Play; click images for larger variants)

FolderSync supports a lot of services and protocols – not only cloud storage. You can easily use it with Windows shares (aka Samba aka SMB), or via SCP on Linux, or FTP with any server, amongst others. Simply define folder pairs (which directory on your device shall be kept in sync with which remote directory), and setup a schedule (e.g. whenever connected to your home WiFi, at 3 am), and there you go. With the Pro version (which I use) you can even set it to "manual only", and trigger it via tasker.

Of course, you also can set it to "manual", and then initiate the transfer whenever you find it useful. Being a "Sync tool", it will always only copy those files needing to be copied – if the same file exists on both ends with the same content and timestamp, it doesn't need to be copied again ;)

Other options

Plenty of them. More sync tools. Or a remote manager like AirDroid. Or using a file manager with remote capabilities, like ES File Explorer. Just to give you some ideas ;)


What package is responsible for the "Recents" button to work?

Found it after scanning through the list, turns out One UI is responsible for it. For anyone looking in the future, it's com.sec.android.app.launcher.


If your device is 5.0 and higher you will need to perform oem unlocking. Otherwise you will have a brick

YOUR WARRENTLY IS NOW VOID

Some Samsung devices doesnt work with rooting tools installed on the device so you will need to install KingoRoot/KingRoot.exe on your computer, open it and read instructions..
Rooting your device with kingo root is easier because hardly any setup it required but if you are into SuperSU, kingroot is recommended
Just press that root button and wait.. make sure you have a good amount of battery..

Now installing TWRP. Your device must support TWRP if theres no twrp for your device DO NOT FLASH TWRP THAT WASNT MEANT FOR YOUR DEVICE!!!
Download Samsung Drivers (Your device might install it for you, if not install it from the web)
Download Samsung ODIN v3
Download your twrp recovery in a format of TAR.MD5
Select AP and select your recovery
Put your tab into download mode (Power+VolDown+Home)
Connect it with Usb Cable
Once it said Added! Press START.
Before you do that just make sure F.Reset Time is ticked and reboot also because i dont think ur tab doesnt have a removable battery.

Once it said PASS your done just shut down your tab and boot into recovery (VolUp+Power+Home)
And here you go! You are running TWRP

Also for more help for your device go to this site XDA-DEVELOPERS.COM


You need to download the correct version of kies from samsung website and after successful installation check for kies update.

also try toggling under

settings->development->USB debugging, w/wo connecting USB cable.


Samsung Galaxy Nexus - Add new contacts from call log screen

I am going to risk the fact that Samsung probably makes this mechanism similar across systems. On my Samsung Galaxy S3, from the phone log entry, hard press the intended number until the context menu comes up after a second or so. Select 'Add to Contacts', and a contacts template comes up for the intended data, which allows you to add to an existing contact or create a new one.


How do I tell whether an app or website has accessed my account password?

To determine if an app has accessed your account, you would need to look at that service.

For example, too see if an app is connected to your Google account, while logged into your account in a browser go to https://myaccount.google.com/permissions and you will see all the connected apps, what they are connected to and if they have basic account information permission or not.

Facebook has a similar page available at https://www.facebook.com/settings?tab=applications as does Twitter at https://twitter.com/settings/applications

Other services you may have given an app credentials to likely have a similar page, if not I don't believe there is a way in your Android device to see if an application has actually used any permission or credential you have given it.


With AirDroid + withExEditor

First, you establish a connection between a laptop or desktop computer with a proper keyboard and the Android phone.

On the phone, install the AirDroid app.

On the laptop, use the web application to connect to your phone. Currently (2018-06-21), this requires a free registration.

Using "Messages" in the web application (see screenshot below) you'll be able to write text messages on your laptop, sending them via your phone.

To write those messsages conveniently using Vim, you can use the withExEditor add-on for Firefox and Chrome.

After installling the add-on, and doing some additional setup on your laptop, you can use gVim to write your text messages.


There are 2 potential solutions.

One, when you use "Perform Task", you can pick the priority of the task you're asking it to run. If you set the priority the same or higher than the current task (a good way to do this is to specify %priority + 1), the new task will completely execute before the current on resumes. If you set the priority of the task lower than the current task's priority, the current task will finish before the new task starts.

Since I've had mix results with the use of priority, you could add a "Wait Until" after the perform task. Example:

1. WAIT UNTIL
      MIN: 1
      UNTIL: %Done IS SET

The variable, %Done, is set at the last line of the task you called. You can set %Done to anything but one it is set the 1st task will know it is okay to continue.


How to track data consumed by assisted GPS?

I have no idea how to monitor AGPS data consumption; it will probably be counted as Android System itself using up data.

But if you do have A-GPS enabled, it will use data. From Wikipedia:

  A typical A-GPS-enabled receiver will use a data connection (Internet
  or other) to contact the assistance server for aGPS information. If it
  also has functioning autonomous GPS, it may use standalone GPS, which
  is sometimes slower on time to first fix, but does not depend on the
  network, and therefore can work beyond network range, and without
  incurring data usage fees. Some A-GPS devices do not have the
  option of falling back to standalone or autonomous GPS.

In Settings > Location > Location mode, you can set it to Device only for GPS-only. Battery saving and High accuracy will definitely use data.


How to remove a Virus that installs an unlimited amount of APPs causing the smartphone to stop once an internet connection has been established?

As I already mentioned in the comments, here are the primary points you need to be careful about:

Whenever you install an app from the Play Store, you should pay attention to things like permissions, ratings, reviews by existing users, etc. before installing it on your device. One malicious install, and your phone could become compromised. It doesn't matter then, whether you are rooted or not.
When you install an app, it asks you a bunch of questions like what all things it needs access to (like SDCARD, telephony resources, system tools, etc.). Even without root access, a malicious app can do lots of damage to your phone, if you permit them these resources.
As the existing answer suggests, rooting is your only option if the malware has landed itself in the system area. But if you go along that route, proceed with care and caution, as there is a risk of bricking if incorrectly done.
For future reference, make a mental note to double check at least two things before installing an app: 1) The permissions it needs are sane and safe. 2) There are at least 500 million installs already with at least a 3.5+ rating. You can make rare exceptions for popular apps like WhatsApp/Skype, but this is generally what you should do. You may or may not be able to recover this phone, but life goes on and these things will go a long way to ensure that such a situation will never arise.


How can I watch TED videos offline on Android?

I use BeyondPod (the full version) to watch TED Talks all the time.  It pulls in a list of the videos from the feed and you can choose to download which ever ones you want and then play them right in BeyondPod.  There is no data connection required.


Stuck in boot-loop (Broken partition / filesystem?)

Try flashing Stock ROM via ODIN as it won't require recovery and will generate proper system, recovery and other partitions. After that, as for errors, I suggest you to try flashing a old version of recovery ( In case you are flashing latest).


What media formats are supported in Android?

As Matthew Read noted, the list of supported media formats is device specific. More or less, it's actually specific to the default video player app your device has.

I'm not aware of an app that can show a list of MIME types supported by an installed app, so here you go with the command-line way. Make sure you've adb setup in PC, USB debugging enabled in the device, and the device is connected to PC.

Note: I needed root access to access "dumpsys" on Android 4.2.1 but Kitkat and Lollipop allows access to it without root access.

You would have to first determine which app (pre-installed) in your system  is responsible for playing videos.

In my device running Android 4.2.1, Gallery app does that job (don't be surprised, it even manages the Camera as an standalone app, not to mention the Gallery itself). Its package name is com.android.gallery3d.

There are numerous ways to find the package name of an app. You can use apps like App Browser or Elixir 2 or OS Monitor or ES File Explorer and whatnot. Also, see View app's full package name?

You can use command-line too. Launch the app whose package name you want to determine and let it remain in foreground. On PC, enter the command:

adb shell dumpsys window | grep mCurrentFocus

You would see something like:

mCurrentFocus=Window{41d5fd10 u0 com.japanesecrackers.appbrowser/com.japanesecrackers.appbrowser.activities.AppDetailsActivity}

com.japanesecrackers.appbrowser is the package name here. The part of string after / is the activity in foreground.

Note that if you can't find the OEM's video player app under Settings → Apps → All apps, then most likely, the video player is just an activity of an app. In that case, simply play a video file and then run the aforesaid command.
Now that we have the package name <PKG_NAME>, enter the command:

adb shell dumpsys package <PKG_NAME> | sed -n '/Full MIME Types:/,/Base MIME Types:/p' | grep -o "video/[a-zA-Z0-9].*" | awk -F 'video/' '{print $2}' | tr -d ':'

It gave me the output:

avi
3gpp2
mpeg4
3gpp
3gp
webm
mp4

Now that was a too localized command and most likely, it would give you nothing for your particular app. The key command is adb shell dumpsys package <PKG_NAME>. It holds all the information you need to sort. The MIME types are listed between the lines with string Full MIME Types: and Base MIME Types: respectively.

I don't have to tell you anything anymore. You would be able to identify the media formats rather easily now.
Alternatively,

Grab the APK of the app,
Extract AndroidManifest.xml from the APK. An APK is simply an archive file so extraction is easy.
Open the XMl (binary) file on Android using Axel or on PC using AXMLPrinter (requires Java Runtime Environment).

App Browser can show the Manifest of an app without requiring the XML separately.

You have to look for the lines containing the string android:mimeType=. For example, for MX Player the relevant strings I saw were,

android:mimeType="video/*"
android:mimeType="*/rmvb"
android:mimeType="*/avi"
android:mimeType="*/mkv"
android:mimeType="application/sdp"
android:mimeType="application/mp4"
android:mimeType="application/mpeg*"
android:mimeType="application/ogg"
android:mimeType="application/x-ogg"
android:mimeType="application/vnd.rn-realmedia*"
android:mimeType="application/3gpp*"
android:mimeType="application/vnd.3gp*"
android:mimeType="application/vnd.dvd*"
android:mimeType="application/vnd.dolby*"
android:mimeType="application/x-mpegURL"
android:mimeType="application/vnd.apple.mpegurl"
android:mimeType="application/x-quicktimeplayer"
android:mimeType="application/x-shockwave-flash"
android:mimeType="video/*"
android:mimeType="*/rmvb"
android:mimeType="*/avi"
android:mimeType="*/mkv"
android:mimeType="application/sdp"
android:mimeType="application/mp4"
android:mimeType="application/mpeg*"
android:mimeType="application/ogg"
android:mimeType="application/vnd.rn-realmedia*"
android:mimeType="application/3gpp*"
android:mimeType="application/vnd.3gp*"
android:mimeType="application/vnd.dvd*"
android:mimeType="application/vnd.dolby*"
android:mimeType="application/x-mpegURL"
android:mimeType="application/vnd.apple.mpegurl"
android:mimeType="application/x-quicktimeplayer"
android:mimeType="application/x-shockwave-flash"
android:mimeType="audio/*"
android:mimeType="application/flac"
android:mimeType="application/x-flac"
android:mimeType="application/ape"
android:mimeType="application/x-ape"

Google Chrome and Firefox can play the WEBM and MP4. For FLV and SWF, your best bet is to find a third-party app.  And, you need to dive into Play Store and on web. There are numerous apps which can play variety of media formats or allows you to create playlists or provides better file management options.

Have fun!


Why has my Android phone stop updating calendars, mail etc?

Go to Settings -> Accounts and sync:

Ensure Auto-sync is checked.
Check the relevant accounts to see if sync is enabled for them (click the account and see what's checked off).


What are the differences between these adb and fastboot packages?

The shorter named packages, adb and fastboot are part of android-platform-system-core, and are minimal versions. Likewise, their longer named counterparts belong to android-tools, and are the full versions. apt show <package name> doesn't say much about their differences, except that the adb will break android-tools-adb. The same goes for fastboot.

This is the homepage for the longer named versions, but it makes no mention of fastboot.

The shorter versions' homepage is here.


Will Security apps work even after flashing new rom?

The Android Device Manager will probably still work, provided the new ROM contains the GApps. But it won't listen to you any longer.

If, as you describe in your question, the "new holder" is from the tech field, and did a thorough wipe plus installs a new ROM, nothing from your installation survives. It simply can't, with really all storage wiped/overwritten.

What some of those security apps offer is to be integrated with the ROM (on rooted devices only, of course). That helps to survice a factory-reset, as that doesn't touch the ROM (or, more precisely: /system, where those apps are installed then). But with the entire ROM and recovery replaced, plus all data wiped, where should they "stay"?


What do I need to know about the "weird" Galaxy S Vibrant emergency call handling?

The official announcement on the CM forums states:

The issue was in the RIL code, which is just typical code and libraries packaged in the ROM (e.g. /system/lib/libril.so, for example). The CM team recommended installing a Samsung ROM noting that any Samsung ROM is fine and any AOSP ROM would have issues. There's no permanent damage since the RIL code was replaced when you reflashed.
They specifically cited the issue was related to closed-source RIL code, so this wouldn't happen with a stock ROM unless Samsung severely borked their RIL code.
Only 911 was listed as a problem, but I don't know (and neither have the CM team ever stated) if other emergency numbers were affected.
Official support for the Vibrant didn't occur until 7.1, which was Gingerbread. It's really hard to say if older versions were affected, but I would assume yes (if they exist somewhere still).
The announcement states that the issue was fixed and the Vibrant is officially supported at this point.


Every app in GAPPS works fine except Google Play Store and Google Play Services. How to fix them?

I installed a GMS Core(Google Play Services) version 7.5.71(1955121-448) apk.

I'm using Google play ver 3.1.11 (2044178-836)

This worked for me.


Talk to Android Device via UDP via a wired connection

This was WAY simpler than I thought it was. I was trying to get this working for days now but it's actually really simple.
My first approach was using reverse tethering, having the idea that I would need the Android device to get its Internet/LAN connection from the PC and not the other way around.
Though that is not the case, just enable USB Tethering on your android device and thats all you need.

After you did that, open a terminal emulator window on the device or open an adb shell session with the command adb shell. Enter netcfg to print out all the IPs and look for a device named rndis0 or usb0 or maybe another name, depending on your ROM or device. Simply look at all the devices that are "UP" and make sure its not Wifi or Mobile data connection, you can recognize them by the device name.

If you think you found the correct adapter (it shouldn't show more than 2-3 devices that are listed as UP and have an valid IP next to it) simply send your OSC messages to that IP adress and it will work just fine. This should work with about any network protocol.

You should be able to access the device over another computer aswell by setting up some port forwarding on the host PC to the android device IP and sending your messages to the PCs IP. Or maybe using the Android IP adress works aswell though I somewhat doubt your Router is aware of the device.

Double check the IP if its not working, it will not be the same sub network as your LAN. I made that mistake with my first try and blindly entered the first 3 number blocks without having a closer look.


How can I control which device gets downloaded apps on the Google Play website?

When you click the "Install" button on the app on the Play Store website, you should be prompted which device you want to use.

If you're not seeing that, then I suspect you're using different Google accounts on your devices.


Android Read recent SMS messages from command line

This is really ugly, but you can read them from the command line by using sqlite3 to view the database entries. You'll probably need to dig up a binary for this unless you have a custom ROM installed. There are some instructions for installing said binary in this Stack Overflow question, and SuperOneClick comes packaged with it (a copy of the binary itself can be found here).

If you do need to install the binary, use mount (with no parameters) to determine where your /system partition is physically located (mine is /dev/block/mtdblock3, for example). Then follow the instructions in the first link above, and start by remounting it in read/write mode with the command:

mount -o rw,remount /your/system/partition /system

Once you have sqlite3 you'll want to open an adb shell, switch to root with su, and then do the following:

# cd /data/data
cd /data/data
# cd com.android.providers.telephony/databases ***
cd com.android.providers.telephony/databases
# sqlite3 mmssms.db
sqlite3 mmssms.db
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> SELECT * FROM sms WHERE read=0;

This will pull up all of the rows from the table for all of the unread messages. The columns in the table are defined thusly (so you can trim the SELECT):

CREATE TABLE sms (_id INTEGER PRIMARY KEY,thread_id INTEGER,address TEXT,
  person INTEGER,date INTEGER,protocol INTEGER,read INTEGER DEFAULT 0,
  status INTEGER DEFAULT -1,type INTEGER,reply_path_present INTEGER,
  subject TEXT,body TEXT,service_center TEXT,locked INTEGER DEFAULT 0,
  error_code INTEGER DEFAULT 0,seen INTEGER DEFAULT 0);

***Note for the marked line: this may be slightly different depending on your device and version of Android which is why I have included this cd command separately. I think it used to be com.android.providers/telephony/databases on older devices but I don't quite remember. Use ls to look around for the proper pathing here.

Alternatively, you could try copying the .db file onto your SD card (or pulling it with adb pull) and then reading it on your computer with sqlite.


my internal memory is empty but cant add new apps

Open settings>storage>miscellaneous and delete all the files from here
Also delete cached data(by touching it)It happened with me too but now every thing is fine I found a file named 0 in miscellaneous and on deleting it my phone started working properly


How to find out the UID of a given file/folder?

I'd personally recommend using a terminal emulator or adb shell and then using the ls command. You can get the UID's listed by name if you use the -l flag and listed by number with the -n flag. Note that in the /data directory you'll need root permission in order to index the files/directories, so ls will fail with a normal user:

root@android:/data # ls -l
drwxrwxr-x system   system            2012-08-27 14:29 anr
drwxrwx--x system   system            2012-08-29 17:46 app
drwx------ root     root              2012-08-27 00:54 app-asec
drwxrwx--x system   system            2012-08-27 00:54 app-private
drwx------ system   system            2012-08-27 00:55 backup
drwxrwx--x system   system            2012-08-29 17:46 dalvik-cache
drwxrwx--x system   system            2012-08-29 17:34 data
drwxr-x--- root     log               2012-08-27 00:54 dontpanic
drwxrwx--- drm      drm               2012-08-27 00:55 drm
drwxrwx--- gps      system            2012-08-27 10:29 gps
drwxr-x--x system   system            2012-08-27 00:54 lightsensor
drwxr-x--x root     root              2012-08-27 00:54 local
drwxrwx--- root     root              1969-12-31 19:00 lost+found
drwxrwx--- media_rw media_rw          2012-08-27 14:10 media
drwxrwx--t system   misc              2012-08-27 00:54 misc
drwx------ root     root              2012-08-27 10:30 property
drwxrwx--x system   system            2012-08-27 00:54 resource-cache
drwxr-x--x system   system            2012-08-27 00:54 sensors
drwxr-x--- root     shell             2012-08-27 00:54 ssh
drwxrwxr-x system   system            2012-08-30 11:05 system
drwxr-xr-x root     root              2012-08-27 00:55 tf
drwx--x--x system   system            2012-08-27 00:54 user

root@android:/data # ls -n
drwxrwxr-x 1000     1000              2012-08-27 14:29 anr
drwxrwx--x 1000     1000              2012-08-29 17:46 app
drwx------ 0        0                 2012-08-27 00:54 app-asec
drwxrwx--x 1000     1000              2012-08-27 00:54 app-private
drwx------ 1000     1000              2012-08-27 00:55 backup
drwxrwx--x 1000     1000              2012-08-29 17:46 dalvik-cache
drwxrwx--x 1000     1000              2012-08-29 17:34 data
drwxr-x--- 0        1007              2012-08-27 00:54 dontpanic
drwxrwx--- 1019     1019              2012-08-27 00:55 drm
drwxrwx--- 1021     1000              2012-08-27 10:29 gps
drwxr-x--x 1000     1000              2012-08-27 00:54 lightsensor
drwxr-x--x 0        0                 2012-08-27 00:54 local
drwxrwx--- 0        0                 1969-12-31 19:00 lost+found
drwxrwx--- 1023     1023              2012-08-27 14:10 media
drwxrwx--t 1000     9998              2012-08-27 00:54 misc
drwx------ 0        0                 2012-08-27 10:30 property
drwxrwx--x 1000     1000              2012-08-27 00:54 resource-cache
drwxr-x--x 1000     1000              2012-08-27 00:54 sensors
drwxr-x--- 0        2000              2012-08-27 00:54 ssh
drwxrwxr-x 1000     1000              2012-08-30 11:05 system
drwxr-xr-x 0        0                 2012-08-27 00:55 tf
drwx--x--x 1000     1000              2012-08-27 00:54 user
root@android:/data #


Printing data from Android phones to the printer via computer

The method your are describing doesn't seem possible, you are trying to have your photos printed as they arrive to your computer!

What you can do is to print data directly from your android device to a printer:

Print directly from an Android device with the right Wi-Fi or Bluetooth printer that are available to the device.
Print to a printer connected to a computer, by using the Google's free Cloud Print technology:

  Google Cloud Print

  Google Cloud Print is a new technology that connects your printers to the web. Using Google Cloud Print, you can make your home and work printers available to you and anyone you choose, from the applications you use every day. Google Cloud Print works on your phone, tablet, Chromebook, PC, and any other web-connected device you want to print from.

Requirements:

You will need to have a computer where the printer is connected to, with Google Chrome installed and connected to the Google Cloud Print service, in order to have it receiving files from your devices.

Printer Connected and installed on your OS;
Google Chrome Installed;
Cloud Print set up on Google Chrome;
Logged on with the same user as your device.

Setup the computer:

Launch Google Chrome;
Access the menu (icon in the upper-right corner);
select "Settings";
On the Settings page, scroll down until your see "Show advanced settings..." and click it;
Keep scrolling down until you find the "Google Cloud Print" section:

The available options may vary, but usually you will see a "Add printers" or a "Manage print settings" button.
The first will add your installed printers to the list. The second will allow you to see what printers are there.

Start Printing from your Android device:

To start printing what you want you'll need to install the following app:

Cloud Print

  Description
  With Cloud Print for Android you can:

  Print from any compatible Android device to any Google Cloud Print connected printer
  Share a picture or a document from apps like Gallery directly to Cloud Print
  Track the status of your print jobs

  Printing from Android has never been easier.

You open the document, photo, etc on your device and access the "Share" options, where you will find the "Cloud Print" option.

Links:

Cloud Print - Google Play Store
Google Cloud Print Homepage
PCWorld - Answer Line: How to print from Android
TabletPC Review - How to Print from a Tabet: Google Cloud Print & Android Solutions
LifeHacker - Add Wireless Printing to Your Android Phone with Cloud Print


As per the training document Monitoring the Battery Level and Charging State Determine the Current Battery Level section describes a method, which I presume is implemented in OS and measured periodically (most likely at every 1% change of battery level)

  You can find the current battery charge by extracting the current battery level and scale from the battery status intent as shown here:

int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1);

float batteryPct = level / (float)scale;

Once you know the current level and the time taken to reach that level, I presume time for full charge is stored in ROM (not sure how and where) it is only a matter of extrapolating

Note: This is an educated guess and would welcome inputs


How do I connect LG P500 to Mac OS X Lion?

I suggest you to download and install Android File Transfer software. It will solve all the problems.

Once connected the device, turn on the file transfer mode from your mobile device and you are good to go!


How to buy application previously downloaded from GetJar?

You will need to uninstall the app from your device and after that the Play store should allow you to purchase it.


Use Llama. This is a free automation app like Tasker, and it has the ability to modify the screen timeout.

Create a new Event. Add the condition OR (match any). Then add a condition for each Active application that you want to keep the screen active.

Click the back button, then add the Action to change the Screen Timeout to never.

You then have to create a second Event that does the opposite. You create the OR (match any) condition, but this time select Active application and change the Status option to App stopped or in background, and again do this for each app you did in the first event. Set the Screen Timeout action to whatever timeout value you want normally.


Android Download PDF Giving Download Unsuccessful

In my previous experience, I've always had problems downloading with Chrome. I'd try a different browser like Boat Browser or Dolphin Browser.


The Galaxy S7 uses MTP (Media Transfer Protocol) which is not natively supported in Windows XP. You need to install Microsoft's Media Transfer Protocol Porting Kit to enable Windows XP to use MPT.


The only solution I  found is using another camera app, like Google Camera.

The problem is in the default LG camera app, and it still takes deformed images when I use it. I use it sometimes because it has more features and seem to take photos quicker, but I try not to take photos of people because the result can be scary and deformed.


How to import an OBF map file into OsmAnd?

To view OBFs that I didn't download through OsmAnd, I first had to change the directory where its data is stored to one where I can push stuff (non-rooted phone).

For that, I first went to Settings > General settings > [Miscellaneous] Data storage folder and switched it to "Manually specified...". I decided it would be /storage/emulated/0/osmand as this is a place I can see when connecting the phone to my laptop. OsmAnd asked whether it should move all its config files there, I said sure, go ahead.

I put the OBFs directly at the root of /storage/emulated/0/osmand. It lost all the maps I had downloaded through the app after the folder change, so I had to download the world map again, for example, and it ended up at the root of the folder too, that's how I figured it out.

It may take an OsmAnd kill and restart for it to detect new maps, and the trick above of renaming the file through the map manager indeed made it be inspected by OsmAnd and marked in green as a region for which a detailed map was available. Even before the renaming, its content would still be used though, so as soon as you see something corresponding to your OBF in the map manager, everything should be OK.