Thursday, August 31, 2017

dialer - Can I report phone numbers as spam callers?


Google recently introduced a feature that lets me know if someone is a suspected spam caller. However, sometimes I get calls from numbers that aren't listed as spam callers but are still spam callers. Is there some way I can report these?


Screenshot of spam call


Click image for larger version



Answer




Yes, you can report callers as spam.


From Google support:



You can mark all calls from a number as spam to keep from getting any more and to report the spammer.



  1. Open your device's Phone app phone.

  2. Go to Recent calls Recents.

  3. Tap the call you want to report as spam.

  4. Tap Block / report spam. You’ll be asked if you want to block the number.

  5. If you have the option, tap Report call as spam.


  6. Tap Block.



Can't swipe down notifications on Nexus 4


i have a 12 day old Nexus 4 and i can't swipe down the notifications bar.




  • i've tried turning it off

  • i've tried performing a factory reset


If i go into an application that supports landscape mode (e.g. Chrome), and turn the phone landscape, then i can swipe down notifications from the "top".


But then i can't click the "Home" button, which is then located on on the right hand side of the screen, which is the top of the physical phone - near the earpiece).


enter image description here


Edit: i forgot that the whole point of including the picture was to demonstrate the home button can't be clicked when it's near the "earphone" (e.g. on the right in the above photo). Unfortunately, in this picture all shadow detail as been lost. But trust me, the earphone is on the right side in the above photo.



  • Nexus 4; Model LG-E960



See also




Answer



This is a hardware issue most likely.


The only way to solve this would be to send the device back to the manufacturer.


Whats ODIN mode in Galaxy Tab 2?


I just pressed the power button and the volume up button in my Tab. I went into a screen called ODIN mode... It started downloading something... What is this?



Answer



This is the download firmware mode.


It can be used to upgrade official firmware via Samsung's own Odin software (or the 3rd party heimdall (also here)). It's also used to install a custom aftermarket firmware like CyanogenMod. Actually it allows more but installing firmware is the most common use.


Wednesday, August 30, 2017

nexus 4 - Cellular data not working since 5.1 Lollipop flash


Cellular data stopped working immediately after "upgrading" to 5.1-lollipop OTA (from 5.0.2) on my Nexus-4. I am seeing the exclamation point in the signal strength indicator at all times, except when Wifi is on and connected. Voice calls work fine. Wifi works fine. 2 hours on the phone with Simple Mobile, then 2 hours back and forth with Google support, and still no resolution. So far I have tried:



  • Erase and reprogram APN settings

  • Remove and reinstall existing SIM card (that was Simple Mobile's suggestion, although I think if voice is working SIM is probably OK. I don't have a spare to try right now.)

  • Turning phone off and on

  • Reboot in Safe Mode

  • Turning Cellular Data switch off and on

  • Turning Airplane mode off and on



The exclamation point on the cellular strength icon seems to follow the exclamation point on the Wifi icon, i.e., both go on and off at the same time--when a Wifi connection is made or broken. Is it possible that this may be a bug related to an accidentally shared variable between the two?


Google 2nd level support has said they don't have an answer. They want me to try a new SIM card, which I'm trying to get from Simple Mobile. If that doesn't work they want to "discuss repair options for the phone."


I've seen some other people with similar problems but haven't seen any fixes or workarounds other than what I've already tried. Does anyone have any ideas?




localization - Can I install additional languages on Android?




Possible Duplicate:
How do I add a new language?




I bought my HTC Sensation abroad, and I can only choose system languages from the Asian region (English for different regions, as well as Chinese and Thai). I'd like to set the system language to Spanish, but it's not on the list.


Is there a way I can install additional languages to the system?


My phone is an HTC Sensation, recently upgraded to Android 4.0.5.




crashes - Galaxy S3 Error/Crash Log Location


Is there an error log or crash log file anywhere on the Galaxy S3?


My phone is constantly crashing (rebooting or totally freezing requiring a battery pull) at least 4-5 time a day. I've attached the phone to my PC and browsed the file-system using Eclipse but I can't find an error log anywhere obvious.


My phone is NOT rooted so I realise I don't have total access to all locations on the phone's file-system but if anyone knows if such a log exists and where about it is, I'd be very grateful.




How to download photos (of others) from Instagram?


By download, I mean saving to SD card for later use. I have already explored the app for this option, but without luck. :(


I think, there must be a way to trap from cache.


If you've screenshot based suggestion, please don't answer...



Answer



You would need a rooted device to do this.



  • First Browse the photos you want to download.

  • Now Open any File Explorer app like Root Explorer.


  • Navigate to /data/data/com.instagram.android/cache via Root Explorer.

  • The files here would be named something like ccf3a266.0, copy the file you want or entire folder and paste it on your sd card.

  • Now open these .0 files in your PC via a Image viewer like IrfanView. You can sort the files by size to determine large images.


The .0 files are cahce files and some of these are essentially JPG image files and quality may depend upon your device I believe because it would download compressed image if the device screen/density is small. (That's just a theory).


Tuesday, August 29, 2017

clockworkmod recovery - How can I tell CWM to perform a full backup instead of an incremental backup?


A recent update to CWM touted the ability to perform incremental backups instead of full ones. Having performed those for a while, I find that I have quite a few old backups that I don't know if I can remove, since newer backups may depend on them.


Last time I was in this situation I deleted all of the backups and made one full clean backup. That, however, carries the risk of some failure before the new backup is complete. Is there any way to tell CWM to perform a full backup, so that I can safely remove all of the old ones?



Answer



Technically, CWM 6 isn't doing incremental or full backups. What it is doing is storing "blobs" that are shared between backups if the data hasn't changed between the two. When you run a new backup, it reuses what it can. If you delete a backup set, you don't actually delete the data, and the next time you run a backup, CWM deletes any blobs no longer in use.


Monday, August 28, 2017

google play store - How do I download an app from another country?



I have a Samsung Galaxy S4 Mini and when I go to download certain apps and it will not let me because 'it is not available in my country', however other people within my country have these certain apps and I am confused.



Answer



Try using the Hola Android app yo spoof your location with the Google Play Store application. Never used it for this, but I imagine it should work fine.


rooting - How to root the Galaxy Attain 4G (SCH-R920) on MetroPCS?


I have an Galaxy Attain 4G (SCH-R920) on MetroPCS running the Android™ 2.3 (Gingerbread).


How can I root this phone?



Answer





A step by step tutorial accredit to Zhelezaka from http://forum.x-drivers.com/.




Requirements:


Necessary Files: all files hosted on my DropBox account!



Setup:



  • A PC running the Windows Operating System; I've used Windows 7

  • The cable to connect your Android device to the PC.





Tutorial:




  1. Download all files from the "Necessary Files List" to a folder on your desktop;




  2. Extract odin3_v1.85.zip to a folder on your desktop;





  3. Locate and open the Odin 1.85.exe to open up Odin3;


    If the User Account Control (UAC) pops up, accept the execution of the file.


    Odin Startup screen




  4. Click on the PDA button.
    Navigate to the location where you downloaded the Attain-Rooted-Update.tar file and select it.


    PDA File Selection





  5. Click on the PIT button.
    Navigate to the location where you downloaded the Attain-4G.pit file and select it.


    Do not forget to extract the file first, since the application only works with the Attain-4G.pit file inside the ZIP you've downloaded.


    PIT File Selection




  6. Make sure that repartition is unchecked.
    This is important as checking this will most definitely brick your device!


    Note that when you select the PIT file, it gets checked, you need to uncheck it yourself.



    Unchecked Re-Partition




  7. Power down your device;




  8. With your device switched off, press and hold the Volume Down + Home + Power buttons.
    Then press the Volume Up key to enter the Download Mode.





  9. Connect your device to the Windows PC.
    You should see the ID:COM field light up yellow when you do this;


    Odin Device Detected


    If this does not happen, it means that you don’t have the necessary drivers installed.
    You can download Samsung Kies and install it to rectify this problem.





  10. Your Odin3 screen should now look like the picture posted below. Again, make sure that the Re-Partition tickbox is unchecked before you click Start!


    Odin Final State





  11. Click on Start.


    Note: Once Odin3 says "PASS" and your device reboots, your Samsung Galaxy Attain 4G should be rooted!!
    If you are in doubt though, the usual way to confirm is to download Root Checker from the Google Play Store or look for the Superuser app in the app drawer.









Sunday, August 27, 2017

photos - Why different pictures are loading on boot, and images disappearing, then reappearing on its own?


I am using a non-rooted LG V20, Android Oreo I believe.


I am having a problem in which the phone randomly loads different "sets" of pictures - sometimes current photos disappear and older pictures reappear, etc. It's almost as if there are 2 root drives/internal storage that the phone randomly load.


If you see the attached screenshot below, there are 2 pictures folders of the same name under root/sdcard (Pictures and PICTURES -- I don't understand how there can be 2 folders with the same name so this is already strange).


IMG:


When I open either of these folders, it leads to the exact same folder (see the screenshots below). Note the folder names are both "pictures" technically. I think this may somehow be related to the problem.


IMG: IMG:



Some days when I boot, it will just load an "older" pictures folder w/ different picture count - pictures that I've stored in the past. When that happens, my current/recent pictures will all disappear and the older set is the only thing visible.


For example: right now it shows 14 files in Instagram, 3 files in Kakaotalk, 0 files in others as you can see in the screenshot.


When my older set loads, it will a whole different set of pictures, with no pictures overlapping from the above. (see below)


IMG:


I can't seem to find the trigger that reliably reproduces loading of either set - although, once I remember the phone was suddenly not reading any pictures from the instagram's gallery function so I manually ran the media scanner, when the phone loaded the older set instead.


Anyone have any ideas?




How to enable internet access through wifi in Moto G having Android lollipop


After upgrading to android lollipop I am unable to connect internet through my home wifi and office wifi. Where as sim data connection is working fine.




2.3 gingerbread - How can I copy SMSes from Nokia N8 to Android for free?


How can I copy SMSes from Nokia N8 (Symbian) to Android for free ? It is for my very important. I have found MobileTrans application, but it is paid and I wanna not pay 39 $.



Thanks in advance !


SOLVED


I solved my problem my exporting SMS to CSV by Nokia Suite and then importing it to my device using SMS Tools - All in One application.




Saturday, August 26, 2017

storage - Clearing logcat on HTC one X


I've faced with insufficient storage problem on my HTC One X (rooted, stock ROM 4.2.2, CWM recovery). I've solve this problem before on a Samsung device by dialing *#9900# then press Delete dumpstate/logcat. However, I try that with HTC and it doesn't work. Anyone know how can I delete logcat or other method to fix this problem?


Updated : FYI, I have plenty of storage in phone storage as well as in SDcard. I also try installing other app which seems to installed without problem. The app I'm having problem is Gallery Vault. Earlier, the app is installed and I uninstall it. Now I'm trying to reinstall it and I get insufficient storage error.


Thanks




Friday, August 25, 2017

email - Is there "select all" functionality in the GMail app?


I've previously used the default Email app on my CyanogenMod 7 EVO because I had an Exchange account at work. However, I switched jobs recently and my new place just uses GMail corporate accounts (which I enjoy). Since I don't have the Exchange account anymore, I'd like to move over to the GMail app because I prefer the UI and whatnot, but I can't for the life of me find any kind of "Select All" functionality in it.


The Email app allows me to do this from the options menu (Menu->Select All selects everything in the current folder). In GMail I noticed that if I select one or more items, then "Deselect All" becomes available in the options menu, but not "Select All". I've also tried various forms of long-pressing on messages, accounts, and folders to no avail.


Is there any way to do this in the GMail app, or am I just stuck without it? I searched the issue tracker and didn't find anything relevant, which surprised me a bit, to be honest. Obviously I can do this from a computer if I need to empty a folder/label, but I'd kind of like to retain the functionality on my phone, too. Am I missing some non-obvious (or perhaps even obvious) menu item somewhere?



Answer



I'm not sure exactly how you use the select all feature, but I think an effective way to mitigate your need for this is to go crazy with filters, labels, and the priority inbox.


Having your Gmail account sort your E-mail into highly specific labels for you and carefully tagging everything as either "important" or "not important" will keep the number of E-mails you see at any one time to a reasonable amount most of the time.



There are a ton of great tips in this article from LifeHacker that I've used both on the web interface and on my Gmail app.


Oh, and submit a feature request to Google. ;-)


sms blocking - Free app to block calls and SMS based on pattern


I use Callblocker currently, but the unwanted calls come from different numbers each with the same first 5 digits. Is there a free Android app to block them based on this pattern?



Answer



Try aFirewall


Despite the name, it's an SMS/Call blocking app.



How to extract .backup files created by android stock recovery?


I'm using Coolpad note 3 lite, running Android 5.1. I created internal memory backup using stock recovery. Files were created in this format:



  1. userdata_yyyymmdd_HHMMSS.backup = 2GB

  2. userdata_yyyymmdd_HHMMSS.backup1 = 2GB n. ...

  3. userdata_yyyymmdd_HHMMSS.backup5 = 1.53GB


Is there any way to extract the files to PC? I couldn't see file header mentioned here. Another user referred a method, which I couldn't understand.




  • Android 5.1

  • TWRP installed

  • Rooted

  • FAT32 internal & SD card.

  • Tried Titanium backup and it don't recognize the format.


Edit:



  1. Tried to do a stock recovery backup and replace the files. While trying to restore stock recovery not showing SD card, although it takes backup in SD card during backup in same session.

  2. 7Zip Windows opened the merged .backup file. It shows "2.ext". enter image description here


  3. Mounting 2.ext in Ubuntu shows nothing even though file space is occupied. enter image description here

  4. When trying to open 2.ext using 7zip, I see lot of files in similar name and opening them in 7zip again shows again same file names.... enter image description here


Now how do I recovery files from this 2.ext?




Thursday, August 24, 2017

Is there a minimal installation of ADB?


When it comes to , I often read recommendations like "Use adb logcat to find some more details". Looking for a good way to backup all my apps including their data, Full Backup of non-rooted devices refers to adb backup and adb restore. In several places one can find ways to remotely do on an Android device with the use of ADB, such as transferring files using adb push or adb pull, accessing the via adb shell, and more. So ADB seems to be a good thing to have for an Android user.


But how to get this "ADB thingy" on my computer? Not being a developer, installing the entire Android SDK seems a bit overkill. Is there a more minimalistic approach available?




Answer



In fact, it is not necessary to install the entire SDK if one does not want to use it for development. To be able to run basic ADB commands in the context needed by an average user, a rudimentary installation is completely sufficient. I will try to explain how to do this, and hopefully cover the most used computer systems.


Requirements


First, you will need the basic binaries. These can be found e.g. in the Download area of my Android site, where I try to keep up-to-date versions available – for Linux, MacOS, and Windows.1


Windows users


If your computer is running Windows, you will also need the special drivers for your device (no generic solution here, so you need to check this out yourself; usually, those drivers are offered for download on the manufacturer's website).


Linux and Mac OS users


Linux and Mac OS users might need to make their device known to their operating system. For Linux, you find the necessary steps described in my answers here and here. Not being familiar with Mac OS, I can not speak for it.


Installation


Linux



For Linux, this is quite easy: Simply unpack the downloaded binaries into a directory of your choice. At the time I'm writing this, this will only be two files: adb and aapt (the latter being used by QtADB, and not necessarily needed to execute ADB commands directly). Adjust their file permissions to make them executable (e.g. from the command line: chmod 0755 adb aapt). Finally, it's a good idea to include the chosen directory with your $PATH variable, so you can call adb from wherever you are. A good place for that is at the end of your ~/.profile file to include an additional line like export PATH="~/bin:$PATH" (if you extracted the binaries to ~/bin).


Windows


The Windows download holds a couple more files. Also extract them into a directory of your choice. If you want them to be callable from wherever you are, without preceding the complete path, you need to add that path to your environment variables as well. Not being a Windows user, I must leave the "how to do this" to you.


What else?


You should be done at this point, and can use the full powers of the ADB command line.


Alternatives?



  • on some Linux distros, you can install the packages android-tools-adb and android-tools-fastboot via the resp. package manager. This has the pro of being updated automatically.

  • on OS X, you can use SimMac's installer

  • Update 1/2017: Google now offers direct links for the "always latest" platform tools, which include a.o. adb and fastboot:




Further readings





1: Also see Alex' answer for more alternative sources. My sources are the official Google downloads, just "stripped down".


Reenter the new password in configured Gmail account


I have configured HTC Hero phone with my Gmail account (username and password), and it is configured successfully. I have recently changed the password of this account from the Gmail website, so at the same time I have to change the password on my phone, but I do not see where to do this.


Without reentering the new password, I am not able to get/send mail. How do I enter the new password?



Answer



Some options:



  1. Try hitting Menu -> Refresh in GMail, there should be a notification prompting you to re-enter the password. If it's in the notification bar, pull it down and click it.


  2. Clear the cache and data for all Google apps on your phone: Gmail, Gmail storage, Google Framework Services, Talk, Accounts, Play Store, etc. via Settings -> Applications -> Manage applications -> All.

  3. If your phone lets you, go to Settings -> Accounts and sync and remove and re-add the account.


Wednesday, August 23, 2017

wi fi - Move photos from Android to PC wirelessly *in one step*



My Motorola Droid RAZR Maxx HD is full of pictures. I have Windows 7, the USB cable, WiFi and Bluetooth. Photos are stored both on internal storage and overflow onto the SD.


I want to take all photos from my phone and put them in a folder on my PC in one step (i.e. not dealing with e.g. navigating to both SD and internal storage and copying DCIM files in explorer). I'd like to be able to do this possibly without an internet connection (e.g. USB could be ok if necessary, or an ad-hoc network from my laptop). This seems like a reasonable use case for a device with a camera, I just cant seem to find the app for it.


Everything I find is for "synchronizing" but I want the photos off the phone without having to delete them one by one when I'm done.


The best would be with both on WiFi I press a button and maybe type in a destination LAN IP address and boom, the photos appear in a folder on my PC and are removed from the phone.


Surely moving photos from a phone to a PC so more pictures can be taken on the phone is not a rare or unreasonable use case...something must exist to do this in one step


How do I do this?


Essentially, I'm looking for something even my grandmother could do.


The device is a Motorola Droid RAZR Maxx HD. Photos are stored both on internal storage and overflow onto the SD card (which adds a few steps to file transfers as well).




What I've found so far



I found an article on PCWorld.com but



  • The first option is the file transfer; which is fine but not what I'm asking about

  • There is Dropbox but it leaves the photos on the phone then I have to delete them manually

  • There is DoubleTwist but it also leaves the photos on the phone


Also:



  • AirDroid (suggested by keepcalm) is close and supports delete, although zips all the files (which can be time consuming to unzip especially for e.g. 15GB of videos) and for large numbers of files (> 150 or so) "select all" doesn't reliably select all. The other issue with the one massive zip file is theres no good way to resume on failed download (most of the zip will be recoverable but its not easily possible to go back and figure out which pictures werent included); and it fails for large files often because the connection timeout is shorter than it takes to transfer 15gb over wifi. Lame.

  • Photo Transfer App is great except it does not support delete (I contacted them and they say it is because on iOS apps are not allowed to delete user content; but I put in a feature request for their Android version - hopefully they implement it). Also "backup" mode must be used instead of "download" for large numbers of files because "select all" only selects the current page and the max page size is 400 files. Also all albums must be done separately (the Razr sometimes has 3 albums, two internal areas and the sd card). Not sure why nobody seems to be able to get "select all" right...


  • ES File Explorer running in local mode and transferring files to the PC is a pain because the UI is so tiny and hunting through folders for files is not what I'm looking for (plus for some reason this app crushes the CPU on my phone). Similarily, in remote (FTP) mode, and other FTP servers such as FTPServer, it's easier to do the moves on the PC side but still involves hunting through /storage folders and such. Plus you have to remember to delete the thumbnails because the Android gallery does not refresh them accurately and provides no way to force a refresh (yet another UX win for Android). Scripts could theoretically be written on the PC side to automate this; ideally I'd avoid complex initial setup as well even though it does potentially reduce the task itself to one step.

  • The suggestion below to copy photos then wipe the device...no




6.0 marshmallow - Storage space in SD card


My phone is Samsung galaxy j2 prime, Android 6.0.1. When I try to move app from internal storage to SD card, it shows 'Not enough storage' even there is 4.6 GB free in my SD card. Anyone please help me.





Internet & Play Store problem on Micromax Yureka on Lollipop


Yesterday, I got an update to upgrade my Micromax Yureka mobile to Cyanogenmod 12 which upgrades the Android version to Lollipop.


After this upgrade, following issues came into existence:



  • Internet is not working

  • Play store is not working

  • Apps are not downloading



These issues didn't occur on KitKat. Please give me a solution.




privacy - How to do Factory Reset


I know the topic has been covered here. But this is something different. I got a Tablet in my workplace to work with. It has a primary email Id for which I don't know the password. So to remove this, I clicked on remove account, but it says it can't be done. Only a factory reset has to be done to remove this Id. I tried adding an alternate gmail id, but still it considers the same Id for which I don't know the Password. So I tried to look out for factory data reset option in Sdcard and Device storage. But there is no such option there. I tried all over the net, but couldn't find anything useful.


Can someone help me on how to do a factory reset without the factory reset option?


NOTE: The Tablet looks like an ipad with same kind of button. I am not sure about the name of it, but my guess is "MID".



Answer



Try these steps:




  1. Turn your device off





  2. Press both volume button and power button.




  3. You should be accessing the boot loader by now.




  4. Look for the option "Clear storage / Factory settings" using the volume button. Once found press the power button to confirm.





cyanogenmod - Why does my phone use Google Public DNS?


I was just curious to know what DNS server my phone used. So I launched a terminal emulator and I entered:



$ cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

As you can see, my phone uses 8.8.8.8 and 8.8.4.4 as DNS servers (Google Public DNS servers).


At home (Wifi), my router is configured to give OpenDNS' servers through DHCP. But, on my phone, cat /etc/resolv.conf returns the same output. Same thing with 3G. And, even if I disable both Wifi and 3G, and then reboot the phone, it still uses Google's Public DNS servers.


I don't remember having changed resolv.conf or installed any application to change it.


My phone is an HTC Desire with CyanogenMod 7.2.0.1 (Android 2.3.7).


Can someone explain me why my phone uses Google Public DNS? Is it a common configuration for any Android devices, or CyanogenMod ROM?



Answer




According to Steve Kondik, this is essentially old code that is leftover from older versions of CyanogenMod:



This was only here for apps that were statically linked against uclibc in old CM versions. It can likely just be removed.



However, he also goes on to note:



Also, this file is NOT written when connecting to a network as /system is readonly. The actual DNS servers are read from system properties.


I also just verified that the DHCP supplied servers are actually being used, so this issue is invalid unless someone proves otherwise.



So the values in /etc/resolv.conf actually don't reflect your DNS settings. What you can do instead is use getprop to find your DNS values. You can pare it down rather nicely if you grep the output like so:



getprop | grep dns

Also worth noting: the /etc/resolv.conf file appears to have been removed completely in later versions of CyanogenMod. I don't have one on CM10 at all, but getprop does correctly show my DNS settings.


custom roms - What differences are there for an "international version" phone? (Galaxy 4s)


I want to buy a Galaxy S4 without a new contract, and I noticed that the "international version" is slightly cheaper.


Are there any cons to owning the international version in the US?
For software/firmware, would there be compatibility differences (such as when installing different ROMs)?
For hardware, would I still be able to use Verizon's 4G LTE?



Answer




Often times, one of the main differences between Android phone models is the supported frequency bands. This can be because they simply use different antennas for different bands, or because they support completely different network standards (e.g. CDMA and GSM versions). It is not uncommon for devices to be released with completely different names on different networks, in fact, when they are essentially the same device. For example, the original Galaxy S had a number of named variants on different carriers: the Captivate, the Vibrant, and the Fascinate.


There can also be other hardware differences between variants as well. In this case specifically, the i9500 international version of the GS4 doesn't have an LTE radio, although the i9505/i9506 does. In the GS4's case, this is because they are built with entirely different systems on a chip: the i9500 uses an Exynos whereas the others use Snapdragons. Significant hardware differences like this are, from what I've seen, not generally as common (although I have no hard numbers), though some changes to less essential things like the camera or NFC support could exist as well1. The spec sheets for each version should outline this information, though, so it is worth checking since there is no real way to "generalize" these differences.


The international versions will work on AT&T and T-Mobile USA's 2G networks, as well as AT&T's 3G and certain T-Mobile 3G areas (ones using the 850 MHz band), but won't support LTE on either. They will not work at all on Verizon, because they don't support CDMA networks nor do they support Verizon's LTE band. Even if they did, Verizon will typically not activate non-branded phones on their network. If you're going to use Verizon, you need to buy a Verizon phone. Can I use my device on a different carrier? has more detailed information on how to make these determinations.


A ROM for one phone will not typically work on other variants, or if it does it will be somewhat broken. For example, running a ROM for the GSM Galaxy Nexus (maguro) on a CDMA variant (like toro) would often work since the hardware was largely the same, but you couldn't make phone calls or access 3G data or the like. In this specific scenario, I would not expect a ROM for the international GS4 to run on another variant at all. They use completely different systems on a chip.


In most cases, the only real "con", as such, to owning an unlocked/off-network phone is that you cannot get official support for the device through your carrier. They will often be willing to provide some kind of equipment protection plan or insurance, but if you go into a store or call customer service for technical support they will not be able to help you.




1With Samsung it may be slightly more common, because of the nature of the situation. They designed the Exynos chipset, which is why they use it in their devices in place of Qualcomm's Snapdragon, but they did not have an Exynos SoC that supported LTE at the time. Thus, in markets where they intend to support LTE, they sometimes go with entirely different chips (like Snapdragons).


Tuesday, August 22, 2017

rooting - How to root Innos A35


I bought a dual sim phone from a local carrier which has been branded in their own name. After searching I found that it is the innos A35 phone. It has dual sim support and sim1 has been locked to the carrier I have mentioned. For sim2, the "Use only 2G networks" tick is ticked and it cannot be unticked(the tick is disabled). Due to this reason I can only access Internet through the above mentioned carrier's connection.


My first question is, will rooting the phone allow me to remove the mentioned restrictions?


My second question is about how to root the phone. Following this guide I got stuck at the command $./psneuter with the error Failed to set prot mask (Inappropriate ioctl for device). The version of Android is 2.3.5


Does anyone know a solution to this problem?




2.3 gingerbread - How can I prevent the battery in my Nexus S from draining overnight?


I have a Google Nexus S and for the past 2-3 days whenever I go to sleep the battery drains completely overnight. I mean when I go to bed the charge on my phone is plus 90% but for the past 2 days it's dead when I wake up. Thankfully I didn't miss work these two days otherwise my boss is gonna kill me.



I have Android 2.3.7


Any advice?




How come my adb can't simulate a touchscreen tap?


I've read I can simulate a tap on my touchscreen by using adb but it doesn't work:



C:\>adb shell input touchscreen tap 1 1
Error: Unknown command: touchscreen
usage: input [text|keyevent]
input text
input keyevent

How come I can't send a tap to my device? I have the latest version of the SDK tools and the SDK platform tools. Android Debug Bridge version 1.0.32. Thanks



Answer



Your version of SDK tools has nothing to do with the parameters input can understand or execute. Input is a binary in Android OS which can be run independently without requiring any set of external tools such as ADB.


The reason you receive the error "Error: Unknown command: touchscreen" is because you're running an Android version earlier than Android 4.1.1. You would already notice that in the input usage you posted, the binary entertains only two parameters i.e. text and keyevent.



In Android 4.0.x, the input command's usage remains the same as the one you posted. In fact, even Android 2.3.7 has the same input command's usage. (See com.android.commands.input.Input on GrepCode for comparison of command's usage between Android versions.)


It was Android 4.1.1 which introduced tap and swipe parameter with usage,


usage: input ...
input text
input keyevent
input tap
input swipe

See the source code for more.


applications - Clickable Phone Numbers on a Wifi Only Tablet?


I have an Android tablet running KitKat. It is a basic tablet that only connects over WiFi. Apps like GrooveIP and Talkatone do allow me to make calls with it, but I have to copy and paste, or manually enter, every number, unless the number is in my Google Voice contacts.


On a smartphone, as an example, if I were to go into Google Maps, and look up a business, the phone number would be a clickable link. It would automatically initiate a call. On my tablet, any phone numbers I find anywhere - Google Maps, websites, even Google Contacts, are not clickable.


Are there any apps out there that can make the phone numbers on my tablet clickable?


Thanks!




Monday, August 21, 2017

storage - Since which Android version is exFat supported?


Which Android version supports exFat, if at all? The web seems unclear about that. Thanks!



Answer



It seems that, according to here, It's been supported since KitKat (whether using apps or not) But (as always) it's down to The OEM's discretion if a device can Run it. Chances are, If a device supports SD cards bigger than 32Gb, It supports SDXC, which has a exFAT filesystem (First Graph here)


compatibility - How does Google Play work out if an app is compatible with my device?


I have one "generic" Android tablet, and often when I come to install and app, Google Play says it's incompatible with my device. It happens even on popular apps such as Twitter, Instagram, Evernote, Foursquare and even Google Maps!


I know it works, because if I copy the APK from my Motorola phone onto this tablet and install it manually, it runs fine (at least Instagram and Twitter do).


I'm not trying to make Instagram work on my tablet. I'm trying to find a way to install the apps from the Play Store.


Google Play says apps are incompatible



How and where does Google Play performs a compatibility check on my device? I suspect said check is failing somehow. I want to be able to install apps that will work on my device and stop Google Play preventing me.



Answer



When developers make apps, they have to specify any hardware/software requirements in a file called the androidmanifest.xml file.


These can be hardware or software requirements, such as if the app needs GPS, or telephony features - or if it will only work on a certain Android version.


When you use Google Play, it sends your device's 'features' to the server, and then filters apps accordingly.


The most likely reason it is deemed incompatible by Google Play is that it is set to require a certain screen resolution - or maybe portrait/landscape mode defaults.


Some tablets have a low resolution, and also tell google play that they cannot go into portrait mode.


It could also be, your tablet being generic, that it does not have the required GPS or sensors that the manifiest file says it needs, and the market is stopping you from installing because of that.


I shall find out what the instagram app needs (look at it manifest), and edit this answer for you.


EDIT:



According to the Instagram manifest, the only 'required' item is the glEs version - minimum 131072. It could also be because of your tablets country/carrier setting.


Twitter needs a minimum of Android 2.1, and may also need a Vibrator, as it uses the vibrate permission.


5.0 lollipop - Remove user account in Android 5.0.1 on Galaxy S4


I have a Samsung Galaxy S4 with Android upgraded to 5.0.1. There is a GMail account added that I've linked in order to install a specific application (Google Domain Policy) and now I want to remove that account in order to pass the phone to my co-worker.


I've gone to Settings -> Accounts and the account is listed there (as a Google account). I can tap that and get to privacy and sync settings but I can't see any option to delete the account. I've tried tapping, tapping and holding, double-tapping, swiping and everything else that happened to cross my mind but to no avail.


How on earth do I remove that account from the system if there's no delete option visible?



Settings -> Accounts After clicking on


Click image(s) for larger versions



Answer



I have spent weeks looking for a solution to this and finally this post helped me! It was so far from obvious and it felt like Google wanted me to keep the account by force lol.


Anyway, what I did was go to Settings > Accounts > Google, clicked the account I wanted to delete, the Sync menu option opened and this is where I always got stuck. Through this, I realized I had to press and hold the menu button on the bottom left side of my S4 to get another menu pop-up with the options of canceling sync or deleting the account.


Finally! Hope this helped.


Sunday, August 20, 2017

sms - Receiving Chinese blocks of texts in the Messaging app


My wife is getting some weird text messages as replies in middle of conversations with her friends. The messages are blocks of Chinese characters. She gets these in the stock messaging app from friends that use Samsung phones and iPhones. She is using a Nexus 5X on AT&T. (N.B. Other users have asked the same question about the Samsung Galaxy S7, so it's not a phone-specific issue.)


Here is a screencap from today from an iPhone user, and translating the text does not make sense (though I did image translation): :


iphone response what does this even mean


(Click to see the image in full size)




Here is one from a Samsung phone and from their end:


again with the chinese from the samsung's end


(Click to see the image in full size)



Does anyone know why this is happening? Is it some weird thing when someone with a weird texting app replies with some emoji/GIF/image?



Answer




It's likely caused by either/both character encoding incompatibility and/or wrong character encoding, resulting in mojibake (garbled text):




  1. Character encoding incompatibility
    SMS, or text message, in general supports either text-only (e.g. GSM 03.38), or Unicode (e.g. UTF-8, UTF-16, UCS-2). Emoji, a character that resembles an image (not to be confused with emoticon, "a pictorial representation of a facial expression using punctuation marks, numbers and letters"), is supported in Unicode (UTF-16), but not in GSM 03.38.





  2. Wrong character encoding issue
    For some reasons, the original character encoding is wrongly interpreted somewhere (e.g. by app, or by text provider), resulting in different character encoding. While in some cases it doesn't affect the text, other cases may result in totally garbled text (refer to Microsoft Windows "Bush hid the facts" bug).




In this case, it's likely that one of the encoding that is used in SMS, GSM. 03.38, which uses 7-bit per character, is interpreted as UTF-16, which uses 16-bit per character due to emoji.





  • Recipients
    Try changing the messaging app. If it doesn't fix the issue, then it's probably caused by the text provider itself. However, you can still try to recover the text (e.g. using online service such as http://string-functions.com/encodedecode.aspx): set encoding to UTF-16 and decoding to UTF-8.





  • Senders
    Avoid emoji at all, or make the messaging apps send it as text-only (e.g. in Google Messenger, there's Simple characters only in Advanced settings to convert special characters in SMS messages when sending it)






Further reading:



4.0 ice cream sandwich - How do I disable the data usage warning and notification in ICS?


I'm running ICS on a Galaxy Nexus and my data plan is grandfathered in from the days of unlimited data with my carrier- so I don't need any warning or notification for the amount of data I'm using. However, ICS on this phone has an annoying warning and notification when I hit either 2 or 4 gb before the month is over. The notification persists in the background and will not close. How do I disable this?




Answer



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.


enter image description here


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.


samsung galaxy s 3 - No confirm prompt when trying to use adb backup


I'm trying to do an adb backup of my Galaxy S3 (i747m), but after receiving the "Now unlock your device and confirm the backup operation" order from adb, I never receive the prompt on the device. It just sits there.


Locking and unlocking it does nothing, entering the command locked or unlocked changes nothing, setting the desktop backup password in development options does nothing, disabling the lockscreen does nothing.


Device is running the stock Samsung 4.1 ROM and is rooted. Computer is windows 7.


How can I get this backup to go through?





wi fi - Is there a way to enable WiFi-tethering without root access?


Is there a way for WiFi-tethering without root access.


I mean before Froyo.


I have HTC Hero 2.1, and frankly, I don't want to root it for security reasons.



Answer




Here is the ultimate answer:


First, on your phone, install a terminal-emulator from Android market, then run


cat /proc/cpuinfo


which will show you the detailed processor information of your phone (ARM5 in my case).

Afterwards, you need to install an ARM5 cross-compiler environment on your Linux box (download Ubuntu and VirtualBox if you are a Windows/Mac-freak and don't have a Linux box), in order to compile native code for your phone.

You do this in order to be able to start a privilege escalation attack ON YOUR PHONE.


So, next, you need to cross-compile a privilege-escalation attack for ARM5 (HTC Hero microprocessor). For that, use the RageAgainstTheCage attack made by Sebastian Krahmer of Suse Linux Berlin (in binary only), reverse-engineered here:
http://pastebin.com/fXsGij3N

A precompiled version is available here http://cmw.22aaf3.com/common/rageagainstthecage-arm5.zip

Download the Android SDK starter kit from Google.
Install the appropriate Android Platform SDK (version 2.1 for me).
http://developer.android.com/sdk/index.html

Then, download the superuser (su) package:

http://cmw.22aaf3.com/common/su-2.3.6.2-efgh.zip


Put all, the superuser package, the su program, and the RageAgainstTheCage exploit in the same folder as adb (a program to connect to your android phone from the Android SDK). You need to enable USB-Debugging, and switch of internet sharing.


Next, you transmit the file rageagainstthecage.bin to folder /data/local/tmp on your phone (initially, as normal user, you have write access only to the sdcard and the temp folder, but this is sufficient)


adb push rageagainstthecage.bin /data/local/tmp/

Then you start a shell on your phone:


adb shell

And change ownership on rageagainstthecage.bin to all


chmod 755 /data/local/tmp/rageagainstthecage.bin


Next, you start rageagainstthecage on your phone as normal user


/data/local/tmp/rageagainstthecage

When the exploit finished, your adb connection should terminate.


If it doesn't type


exit
adb kill-server
adb start-server


Now connect again to your phone:


adb shell

ADB shell now runs with escalated privileges (root). So now, remount the file system so you can write on the system partition.


mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
exit

Now push su and superuser to your phone (remember, you have write access now)


adb push su /system/xbin/
adb push Superuser.apk /system/app/


And then change ownership on su to all


adb shell chmod 4755 /system/xbin/su

Next download and install one of all those free tether apps that require you to root your phone. Start superuser.


Now start your tether app. A popup will appear, which will ask you whether you want to grant this app root access. Say yes, and check remember.


Now switch of your phone and restart. When it has restarted, everything is back to normal, no more root privileges. But su is still there and executable for everyone. So, when logged in, start the wifi tether app. Since you checked remember in the superuser app, it will use su to switch this application to root, which means it will now run fine, with only the tether app with root privileges :)

Next, connect with your Linux box to your brand-new working Android WIFI hotspot. After you're sure it works, don't forget to put access restrictions for the hotspot in place.


BTW, if you use your escalated privileges to export some apk packages for reverse-engineering, you will notice that android lacks the cp command.


You can circumvent that restriction by using cat (copy-cat) instead:


cat /data/app/superuser.apk >> /sdcard/Downloads/superuser.apk 


;-)


Debugging Galaxy S2 Bluetooth problem: Bluetooth disconnects, Bluetooth status never fully turns on, Only reboot resolves this


I know many have problems with Bluetooth and certain car kits. I specifically have a VW. In any case, my Galaxy disconnects from not only my car, but also from my Philips in home audio system. In both cases, the disconnect is the same. What happens in both cases is the Bluetooth pair is lost. If I try to turn off and then on the Bluetooth (on the phone) to reset the pair the Bluetooth light never fully turns on. It stays a dim green. To get it to work I have to restart the phone.


I wrote a script to collect the Bluetooth logs, and programmed it to start logging whenever Buetooth is connected. See link below for the3 log. notice that around 7:56 the probem occurred. I was in a call on my galaxy s2 connected to my vw tiguan, and the hands free audio stopped. I was able to pick up the phone and switch from hands free to the speaker (on the phone) to resume the call.


Around 8:19, I think, I turned off the Bluetooth on the phone, and then tried to to turn on it again. But,it did not fully turn on. The green Bluetooth light is dim rather then bright. The only way I can restart the Bluetooth is to reboot the phone.


There are exceptions thrown that I am going to look at.


Have any thoughts?



Thanks!


I am running the stock rom that I downloaded from Kies. The Android version is 4.1.2


Logs: 1. S2 paired with VW Tiguan (7:56, 8:19 approx)
https://www.dropbox.com/s/hd809geb4hoxvrr/btlog.txt

2. S2 paired with Philips AS351 (Time 21:02-21:06 approx)
https://www.dropbox.com/s/6w7je0xrdcn7kiy/20130916_902-906btlog.txt




Can I set up one android phone, create a backup and restore it in multiple phones?


Where I work, we give all salesmen an Android phone with a set of multiple preinstalled apps, a predefined contact list, some predefined settings and restricted permissions over the phone's configuration.


I am responsible for setting up all of these things before giving the phone to the user, and it is a very repetitive and long process (almost an hour). I am looking for a smart way for automating or shortening the process as the set-up is always the same except for certain account information:



  1. Set up the brand new phone with a unique gmail account we create for each salesmen. (THIS IS ONE OF THE STEPS THAT REQUIRE A UNIQUE ACCOUNT FOR EACH PHONE).

  2. Install all predefined apps.


  3. Set up all predefined apps.

  4. Restrict permissions (using an app).


I'm thinking that a viable way of doing this is to completely set up one phone manually and do a complete backup of the phone to a computer. Then, in the future the only thing that I would have to do is to "Restore" the brand new phone with the backup and change only the settings that differ from user to user (i.e the phone's gmail account, the play store's account, the Whatsapp phone number, etc...)


Is this possible and viable?


How could I do this (which app could I use)?


The only caveat I can anticipate is that the original phone would be set up with a particular gmail account, phone number, etc.. Will I have any problem changing this setting in the restored phones?


Thanks !




Saturday, August 19, 2017

touchscreen - Barcode scanner and touch keyboard in Android


If I connect the barcode scanner via blue-tooth with my Android tablet, the soft keyboard will be switched off and I can not visible the keyboard any longer. I have to disconnect the barcode reader first. Is there a way to use both (barcode scanner and touch keyboard)in the same time?



Answer



Your bar code is being recognized as Physical Keyboard. Hence the soft virtual keyboard on your android is been disabled..


Option 1: Try manually checking the keyboard setting after you connect the bar code reader. Go to Settings -> Language & Input -> and check if the keyboard options are disabled and if so, try enabling them.


Option 2: Go to Settings -> Language & Input -> Keyboard ( & input methods) -> and check for "USE PHYSICAL KEYBOARD" and put it to "off".


If the above doesn't work, can you send the Phone model and Bar Code Model.



Friday, August 18, 2017

hardware - Android phone taps touchscreen on its own


I have an LG P690 Optimus Net. The issue I am having is that the phone often enters a state where it keeps on pressing the touchscreen's buttons by its self, and I have to press the back button several times to try and go back while it keeps opening new screens or entering text on its own.



I was wondering, is this something anyone else has experienced? How common is this defect, and has it to do with Optimus Net phones or with phones in general? Are some line of products more susceptible than others? If common then how does the problem I just described typically arise? Could accidentally dropping the phone or humidity in the air cause it for instance?




Saved my contacts in google account but they don't appear on my new phone


I have saved my all contacts to my Google account. But now in my new phone my contacts are not showing.




2.3 gingerbread - How do I change the number identification format (to associate with a contact's number)?


I have a Sony/Ericsson Xperia Arc phone with Android 2.3 In my country, I can receive calls with the following number patterns (it's the formatting used by my operator):



12345678
0aa12345678
0bbaa12345678

However, my system won't identify the second and third options as being a number from the same contact. That's the behavior that I want: if some contact's number is 12345678, the phone software should always match with the contact if the 8 number from right to left match.


Is this possible?


EDIT


The 'aa' and 'bbaa' fields are just numbers. An example of a number could be:


01122223333


aa is a kind of region code and bb is the operator's code.In this case, if I have 22223333 in my contacts, it won't match. If I have 0441122223333 in my contacts, it won't work either. But it should (and I think that some cheap cell phones sold by operators have this behavior in my country).





Thursday, August 17, 2017

reboot - How can I stop Samsung Galaxy Spica restarting itself in a loop?


I recently bought a used galaxy spica its in really good condition and etc..but when i launched it up there is something fishy going on...


It restarts in a loop...


As in, it boots up, i can use the phone for around minute or so, then it restarts...then again i can use it for a minute or so...and it restarts...i cant call or anything cause it restarts all the time.


It has been updates from the original 1.5 to 2.1 eclare, if you know a fix, please do tell.




What are some general tips on improving overall performance of an Android phone?


I was wondering if anyone could share some general tips on speeding up/ improving performance of your phone. I have had my droid eris for about a year now and it seems more sluggish than ever. I know the newer android releases give the phone better feedback but I was wondering besides the OS, what other options do I have to generally speed up my phone or other phones. Are there some cache's or program info I can clear out? If I remove some apps will I see an Improvement? If I restore to factory and restore all my apps will that help? Are there programs out there that might help speed/clean it up? What Im looking for is to improve the overall performance of the phone. Whats some tips I could use to accomplish this?



Answer






  1. Leave some empty space in the internal memory. When there is less than 10 MB left in the internal memory, Android can become very sluggish. Leave at least 20 MB. In my experience, low internal memory is often the root cause of sluggishness (and random errors).




    • Use app2sd as much as possible, especially if you have small internal memory




    • Uninstall big applications that you do not use much.




    • (!) In rooted ROM, you can use pm setInstallLocation 2 trick to force installing applications on SD card (note that not all applications can be safely installed on SD card).





    • (!) When system applications are updated, the original version of the applications are not deleted so you can uninstall the update. This takes up valuable space; if you're rooted, you can remove the stock application entirely and reclaim this space. I do not recommended this unless you are already using a Modded ROM since you can no longer use "Factory Reset" to return your system applications to the factory version (at least not without reflashing a fresh stock ROM).






  2. Choose fast applications.





    • Use Opera Mobile or Mini. The stock browser is a great browser, however it's also quite sluggish (even Google's mobile home page it is sluggish as hell). Opera's touch interface is a bit annoying to use, but it is much snappier than the stock browser.




    • Choose a fast Home Screen. Some manufacturers equips their phones with pretty, but sluggish home screen. You may want to use a simpler and faster home screen apps. Also, live wallpapers kills snappiness; if you want to use them, use the simpler ones.






  3. Do NOT use Task Killers, especially the automated ones. You should not Force Kill an applications unless you are sure that the application has gone extremely wrong and the application is ignoring a more polite requests to shut down. Force Killing applications may leave dangling resources in system services that cannot be safely cleaned up. Leave the job of killing applications to Application Life Cycle.





  4. You should not need to clean caches, caches are there to speed up applications. If an application's caching causes it to slow down, report that to the developer as a bug.




    • Cleaning out cache may temporarily help with #1 (low internal memory), however cleaning cache is only a temporary fix. The application will just generate the cache again, and your memory will fill up again. Some applications allow you to adjust the size of the cache, which is much more useful permanent solution than cleaning out cache. Generally you want to give applications as much cache as possible while still having a decent amount of space in the internal memory.




    • Applications that have big caches (e.g. maps) should cache to the SD card, file a bug report to the application developer if they don't.





    • Due to the nature of caching, there are times when cache may become inconsistent and this may confuse the application, possibly causing random crashes, slowness, ANRs, or other random behaviors. This sort of thing is rare, but it does happen. Generally, you should leave the cache alone unless you suspect there are erroneous behaviors that may be caused by bad caches.






  5. Upgrading Android may bring performance updates, however higher Android versions tend to be bigger than the previous ones and may cause #1 (low internal memory). If an upgrade leaves you with much smaller internal memory that you cannot install all of your favorite applications and have some space left, you may want to stay at an older version.




    • Android 2.2 (Froyo) comes with a JIT compiler (Just In Time Compiler) that will increase CPU-bound programs by up to 5x (in my Spica, JIT raises Linpack's score from ~3 to ~9). Sluggish program is usually I/O bound, but helping with CPU-bound processes helps quite a bit.





    • Android 2.3 (Gingerbread) have an improved task management, the Application Life cycle will kill applications that causes sluggishness and battery usage. Gingerbread also have concurrent garbage collector, which should reduce random stutters/pauses.






  6. Some applications can slow down when they have a large amount of data or a large number of items to manage. For example, the stock SMS app on the Incredible gets progressively slower as it accumulates more messages. The only way to fix that is either replace the app, delete messages, or archive them off the phone (SMS Backup+ is great for this).




items marked (!) is potentially dangerous



applications - Apps I never installed appear in web store under "Other apps in my library"


TL;DR version--do you have apps in your Google Play "Other apps in my library" that you know you've never installed?


In my Google Play account, under the section labeled "Other apps in my library", I'm shown 240 apps that I've installed, alphabetically sorted from A-Z. I test a lot of apps for work and I've had this account since Day 1 with my ADP1(G1), so this list only makes it to the G's before it's full.



When I activated my Nexus 7 this week, I went into this list to start installing some of my favorite apps and I noticed a bunch of apps that I know I never installed. I know, you're thinking "how do you know, you say you install a bunch of apps". Well, I know I would never install some of these, even if it were part of my job. Not porn or anything, just not my style. For example, the controller for a nabaztag. I don't own one, so I've never needed the app. Out of those 240 listings, I can count at least 15 that I've not deliberately installed.


Partial listing here: http://twitpic.com/a9sw74 (900x4000px PNG)


So, immediate panic that someone compromised my Play account, but the question became, "why would they install a bunch of stupid apps that didn't cost anything when they could install apps that have monetary impact". I let my son and daughter mess with my phone or tablet in the restaurant, but they know not to install apps and none of those apps would appeal to a 14 or 9 year old. Regardless, I changed my password and revoked every device except the 3 I'm currently using.


I went into the "My Account" listing of all my purchases, which also includes free apps. Not one of these 15 apps that I've found show up in that list. Which makes me wonder if this is a glitch in Google Play as opposed to someone accessing my account incorrectly. Has anyone else experienced strangeness in this list?




wi fi - Automatically switch to a saved wireless access point with the strongest signal


I have a wireless router (D-Link) in room A and a repeater (TP-Link WA750RE) in room B, both having the same SSID. Sometimes, when I go to room B and back into room A, my Nexus 5 (Android version 4.4.3) doesn't switch to the router although it has a stronger signal. It stays connected to the repeater instead.


Screenshot


The "Tplink" and "Dlink" are only aliases. Both actually have the same SSID.


When I switch the Wi-Fi off and on again, it connects to the router. which provides much better speed.


How can I force Android to always switch to the strongest signal? Is there a setting for it, or an app?





Wednesday, August 16, 2017

google play music - I can't find my .nomedia folder or the folder it is in anymore, but the files still seem to be there



So i recently followed the advice posted here: How do I keep audiobook separate from Google Music? by @Tzunki in order to keep my audiobooks out of Google Play Music. I made a .Audiobooks folder and put them all in there and then added a .nomedia folder for good measure. It worked great, but now I'm trying to delete out an old audiobook and add a new one, and i can't find the folder or any of the audiobooks.
I've tried searching for the files and the folder names, etc, but it looks like they are all hidden somehow and i can't find any of them in order to edit them. I went back to my audiobook player to make sure they are still there and played them and they play. I checked the rood folder for the files in my audiobook player and it shows /storage/emulated/0/.audiobooks (which is not where i told it to look when i created the .Audiobooks folder) but i looked there and there is some data file instead of the audiobooks, so i'm thinking it is just like a bookmark so it knows where in the audiobook i left off?
anyways, any help you can offer would be great, thanks.


*edit with a little more info: I've tried to just type in Computer\Galaxy S6\Phone.Audiobooks, but it says Windows cant find it. Also, i thought i might try to re-create it, and see if it repopulated with my files but when I try to change the name of my New Folder to .Audiobooks it won't change. Just reverts back to New Folder.




Tuesday, August 15, 2017

external sd - Can I use ext4 on my SD card in a non-rooted phone?


I know that on a rooted phone, it's reasonably normal to create a small ext4 partition for App2SD to use, but I'm not asking about that case: I have a non-rooted HTC Desire running Froyo, and I'd like to format the whole of my SD card as ext4 instead of FAT. I'm aware that this will mean that Windows PCs won't be able to use the card, but all my PCs run Linux so they should be fine. Will the phone be able to access and use the card in this case?



Answer



ext4 should be supported if you have an upgrade to 2.3 or 3.0 Android (I see that your post is from just before the 2.3 & 3.0 releases...).


...and when btrFS is added to Android, it has a nice mount-option ",ssd" with wear-levelling etc that ext4 doesn't have... and more speed than ext4 now, esp if you use ",compress=lzo" OR ",space_cache" in fstab (but don't use compression WITH the space_cache option, only use 1 or the other or else it slows to a crawl in some benchmarks) -- and that speed comes despite btrFS checksumming of all data (not only of the journals, as ext4 does). :-)


camera - Sophix tablet will not work without an SD card


My Sophix tablet was working without the SD card, but now the camera will not work. I get the following error message:



Insert a SD card before using.





usb - Linux ADB Driver for LG Viper (LG-LS840)


On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device.


However on two LG devices from last year I am having trouble.



  • LG Viper (LG-LS840)

  • LG Optimus Elite (LG-LS969)


When I plug the devices in ADB does not list them when I run adb devices to get a list of connected devices. (I get an empty list)



I have ensured that USB Debugging is turned on for both devices. And I have at some point installed an LG driver which allows the ADB to work correctly from my Windows 7 PC. (Interestingly only the Viper works on my Windows PC, the Optimus Elite can't be found by the adb on windows either)


However I would really like to use ADB from a linux machine. I am far more concerned about getting the Viper working than the Optimus Elite, but a fix that worked for both would be ideal.


On the linux machine in question I can successfully use ADB to connect with every other device I've tested so I know that my environment is set up correctly.


I have tried creating various android.rules files under /etc/udev/rules.d/ but thus far nothing I've tried has had any effect. After creating 51-android.rules and filling in the appropriate vendor id (1004 for LG) I no longer need to use sudo adb to see the devices that do work, still nothing with the Viper though.


My question is: Do I need some sort of additional drivers in order to get ADB working correctly for the LG Viper (LG-LS840) on Linux, and if so where can I find said drivers? If not does anyone know if there is some setup step that I am missing that will allow this device to communicate with my Linux computer via ADB?


EDIT: I ran `lsusb' here are the relavent outputs:


Bus 001 Device 007: ID 1004:6312 LG Electronics, Inc.
Bus 001 Device 008: ID 1004:6317 LG Electronics, Inc.

The top line is a newer LG device that is working properly, the bottom line is the Viper device that can't communicate with adb.





Monday, August 14, 2017

adb - How to enable USB Debugging in Android if forgotten pattern for screen-unlock?


I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android.



How do I turn on USB Debugging through Recovery mode, or Fastboot?



Answer



Details for that can be found in our usb-debugging tag-wiki (where I've just added them):



By default, USB debugging is disabled with stock ROMs (some custom ROMs however have it enabled by default). To toggle it on or off, you can find the corresponding switch in Settings › Development – a section originally hidden with Android 4.2 and up. You can make this section visible by going to Settings › About device and "hammering" the entry telling your ROM's build version until a toast-message congratulates you for having become a developer.



If your issue is however that you cannot boot up your device normally, and thus cannot reach the settings section described above, please take a look at the following questions:



wi fi - How do I connect to a wifi ap and 3g network simultaneously?


When I turn wifi on my 3g connection shuts down, which is fine in most cases however I need to connect to a LAN at work that is not connected to the internet and I'd prefer not to lose my data connection when I connect to the work intranet.



How can I keep both connections active?


Ideally I could limit this desired behavior to this one SSID, because I want it to continue to operate with the default behavior for all other wifi connections. If that can't be done is like a solution that is easy to toggle on and off.


I'm using a VZW Galaxy Nexus on CM9.




Sunday, August 13, 2017

How to find out the variant of my Galaxy Nexus?


There have been some Jelly Bean updates for Galaxy Nexus, but most of these are specific to a certain variant of the Nexus. How can I easily find out which variant I have?



Answer



There used to be an app that did just this, but it's been pulled for some reason. You could also download a "system info" type app, but these often come with ads and other bloatware.



The easiest way is to download a terminal app such as Android Terminal Emulator, open it and run the command getprop ro.product.name and you'll get the variant.


Here's an example what the run looks like:


u0_a109@android:/ $ export PATH=/data/local/bin:$PATH
u0_a109@android:/ $ getprop ro.product.name
takju
u0_a109@android:/ $

... and there you have it, takju!


Another way would be to open adb shell and running getprop ro.product.name from there. This is more useful if you already have ADB installed. Otherwise, it's faster to just download the app.


Saturday, August 12, 2017

security - How can I erase whole phone securely?



How can I erase my phone completely and securely before selling it for someone else? I have read that secure deletion procedures used on regular hard disks are ineffective on flash drives connected through USB, due to inability to tell the embedded controller to effectively erase all of the data, or something like that.


Not sure about internal storage though (both phone storage and internal SD card), however both of this and the SD card should be erased securely, so that I can be absolutely sure that none of my private data will be available to the next user.





How does charging battery in normal, speed and trickle affect battery life?


Battery doctor uses different stages of charging:


speed; continuous and trickle (keep charging when the battery is full for some time)


does this really extend battery life?



and can an app change the way the device is being charged anyway?



Answer



Proper explanation is fairly technical, so am answering in broad terms (you can skip the links if you don't want to get into nitty gritty)


Charging rate is a measure that governs at what current a battery is charged and discharged. At 1C, a battery rated 1,000mAh charges at a current of 1,000mAh. In an ideal world the battery would be fully charged in 60 minutes. At 1C, the same battery discharges at 1,000mA. Ideal charging rate is accepted to be around 0.5 to ,0.8 C for maximum battery life (battery life is measured in charge/discharge cycles). When you charge a battery at this rate, it goes through three stages of charging (Constant Current Charge,Saturation Charge and Ready No Current). For more information, if you are inclined, battery university has a bunch of informative articles on this.


If you charge your battery with the OEM charger and measure charging rate using 3C Battery Monitor Widget or Ampere, and plot, you will find that the graph fairly resembles to that of the referenced link above of battery university. This would also fairly resemble , the "continuous" mode of your app


If you want maximum battery life, it is best to stick with OEM charger or equivalent charger that is equally rated. Device manufacturers have different algorithms built in to regulate current flow at different stages of battery charging mainly to:


a) quickly charge the battery , typically to charge the battery to 50% as you see advertised as a special feature (on a side note, cheap battery chargers do it the hardware way (and a destructive way). See this to get an idea https://electronics.stackexchange.com/). The disadvantage with this and quick or fast charge is that battery is not charged sufficiently in the saturation charge stage (it spend less time in that stage) and doesn't deliver the same capacity as with regular charge. It's like drinking a bottle of Coke, when you are hungry, you may feel full but your body hasn't got the nutrients and calories as from a regular meal :-)


b) to prevent battery damage due to excessive charging like in cases of leaving the charger plugged in overnight (by limiting charging current to near zero)


There is NO way for an app to over ride the device specific algorithms and it's implementation in the ROM. To change this implementation, app will have to change the system files after the system has booted, which is not possible AFAIK, and these apps cannot possibly ship that across the spectrum of devices and different Android Versions. On the other hand, custom kernels(and associated kernel tweaker apps) can permit a) fast charging or quick charging b) increasing or decreasing the charging current provided the ROM and hardware support. Agni kernel, is one such kernel I have used to charge faster when connected to USB. Note that charging at more than 1C can damage battery as shown in Fig.2 here


Charging in "trickle charge" of your app is similar to charging your battery for longer period in the last stage of battery charging, which is useful if you want to have the battery at 100% charge when you unplug the charger, but is a bad idea, since battery chemistry dictates battery deterioration at high temperatures due to internal stress.



A variation of this last stage charging is called "bump charging", wherein the charger is disconnected upon full charge, discharged for a few minutes and again charged. This cycle is repeated a few times. A bad idea for longevity of battery as can bee seen from Fig.2 and Table 2 here.


Both these methods are not recommended for normal usage but may be useful occasionally, when you have a long day ahead and may not be able to charge like travelling, hiking etc.


(Related aspect- you may have noticed that your battery drop is much faster from 100 to 90%, compared to say 80 to 70 %. Which is actually a good thing, because, it is protecting your battery staying at higher internal temperatures. To understand this, have a look at Your battery gauge is lying to you....not a bad thing. Based on this, IMO, it is better to charge the battery when it drops to 30% and stop charging when it reaches 90%. ( I can almost hear one ask, what about battery life which is measured in number of charge/ discharge cycles, won't that be reduced, if I try this? No, it shouldn't matter, because a cycle is not defined by how many times you charge but what is the capacity of charge you used up. To understand this concept better, read what constitutes a discharge cycle)


Charging in "speed charge (mode of your app)", is also not recommended as it does not go through fully, all the three stages of battery charging at recommended levels and is not good for battery life


Hence, bottom line is these kind of apps are better not used and stick to OEM rated chargers and OEM recommended charging methods.


PS: Edited your question to add relevant tags


What is an alternate way to Switch Off mobile without use of Power Button?



Device : MMX A89
OS : ICS 4.0.4



What is an alternate way to Switch Off mobile without use of Power Button? Can we Switch Off from OS itself? Is there any setting available? Or Does it require to install any further app?



Answer




There are some apps who have this feature, Like switch off, reboot and etc.


One of them is Notification Toggler , This app isnt particularly for switch off and reboot stuff, but you can do that also. :)


EDIT::


I think you have to root your device to use reboot and shutdown , You can't do it without Root unless applications are signed with the System Firmware Key. And playstore applications aren't that kind of applications that are signed with that.


EDIT 2:


To root your Device , Check out these links,


Link 1


Link 2


Link 3


Charging paused. Battery temperature too high or too low


I have a Samsung Galaxy player that has been giving me the message "Charging paused. Battery temperature too high or too low". I left it unplugged and powered down all night, and it still gave me the message as soon as I turned it on. The battery should be at room temperature. I've turned it off and on several times. I've tried removing the battery and putting it back. I have no idea what's wrong. It's been working fine for the past 9 months. Can anyone help?




Friday, August 11, 2017

rooting - How to root MTK based mobile devices using a Linux PC?


It is easy to root an MTK device in MS Windows using powerful tool like SP Flash Tools, or a one-click root solution. Can it be done (especially with that flash tool) using a Linux machine?


I've Lenovo P780 (Chipset: Mediatek MT6589) and a Linux machine running Ubuntu 14.04.



Answer



Rooting MTK based 'China' phones using SP Flash Tool.


I've tested this on my Ubuntu 14.04 laptop by rooting a Lenovo P780. @Paul Mahieu tested on Huawei Ascend Y221 using Ubuntu 16.04 and reports that it works.


First of all, install libusb-dev pacakage:


apt-get install libusb-dev

Now you need to download SP Flash Tool v5 from here.



Assuming it is downloaded to your Downloads directory extract it's content:


cd Downloads 
unzip SP_Flash_Tool_*.zip

Enter the extracted directory, and run it with root privileges:


cd SP_Flash_Tool_*
sudo ./flash_tool.sh

Pretty simple, right?


Now you have flashtool setup on your Linux box. There are plenty of guides for rooting, flashing recovery and so on for doing whatever you intend to do. The tool will dump important debugging information to the terminal from which you ran it. This is very useful if you ever get stuck.



The only error I got is this:


S_BROM_CMD_JUMP_DA_FAIL 

The reason and its solution is mentioned in this XDA thread:



This is because the 'modemmanager` package integrated by default within Linux Ubuntu 14.04 and later is not compatible with the MTK Flash Tool.



We can solve this issue by creating a udev rule blacklisting modemmanager for MediaTek devices. Create a file sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules with the following contents:


ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"


Restart udev for the changes to take effect:


service udev restart

If you run into more errors, you could get a hint about what is wrong from here: Flashtools errors and their solutions! - MIUI


Here is a guide on installing adb and fastboot on Ubuntu.


samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...