SGS2 mobile connectivity/GPS intermittent problems after DIY repair Looks like my SGS2 started to have mobile connectivity/GPS problems, possibly as a result of DIY repair (I manually replaced LCD+digitizer after an LCD damage):

GSM signal level frequently drops to nearly zero
mobile data speed drops to (nearly) zero
GPS works only rarely; can't fix most of the time

How can I debug the problem? Which connectors etc to check most carefully which can directly affect the problem? What else to try?

Official firmware auto-updated to 4.1.2. GT-I9100. GSM, non-locked, international version.

Ive also disassembled completely my S2 a few times also because of its LCD (it was black sometimes I could see a few pixel flashing in random colors or if i was lucky the whole screen was covered in horizontal blue stripes after repeatedly being covered with a tint of a different colour)

You need to make sure the antenna is properly inserted make sure it is as straight and tucked in as possible (Push it under with something (be careful not to scratch the PCB) and maybe look at some picture how it should be.)

Look for any damages to anything.

Also it might be a good idea to clean the contact (I heard isopropyl alcohol is good and the purer it is the better but I'm not sure if it is good for phones)

Consider flashing a rom with the latest android (now is 4.4.2) and a better kernel should help.Don't bother about warranty you can always go back to stock even if the LCD dies again.


Layers/Overlay Factory-reset issues I resetted my tablet (The survivor, see profile for make and model) as per its quarterly cleanup I run to keep my old data stored on a lovely drive while it is all wiped in TWRP. The process is fairly automated, just a good shell program sitting on a Linux desktop. However, I returned after the clean to find the screen on, but black (The lights are on, but there is nobody home). I believe this is because of the Steel overlay I was using via Layers manager may have broken (Overlays are stored in /system/vendor/overlays) And I cant see the system UI. Can anyone help?

Problem solved! Managed to, after a bit of fiddling, I removed the bugged files (found them in /vendor/overlay)  and it is a-ok!


Why won't my USB headset work OTG with my Honor 6x? I'm using an Honor 6x running EMUI 5.0. I bought an OTG cable recently, a female USB to male Micro-USB to use with this phone. I've connected a mouse and keyboard, and those worked fine. But, when I connect my Razer Kraken 7.1 USB headset, I get no audio or any sign a device is even connected. Is there a way to get my headset to work?

The lack of answer suggests this probably isn't worth pursuing, it probably depends upon phone, headset, and operating system. Another way this works out is with my LG G3 phone, Logitech A-0374A USB headset, and Android 6, with OTG cable: I get media sound through the headphone, but on phone calls neither the headphone nor the microphone is recognised, the phone's speaker and mic are used instead. I've looked at a couple of other places where this is discussed, with no resolution.


Stuck at boot screen after adding multi-user account I attempted to add a multi-user account to my device, and after it automatically restarted, it has been stuck in the boot loading sequence. I tried un plugging it and running over night, it simply ran out of power. It is currently plugged in and booting. My device specs are;

Nexus 6 Midnight Blue 32GB
Unlocked and Rooted
Android 5.0.2 LRX22G
Chroma 02-17-2015 ROM
Franco kernel

This procedure will reset your phone and hopefully solve your issue.
The sudden reboot is most likely the custom ROM's fault. Flash stable versions of ROMs to avoid crashes like this one.

Try this,

Unplug your phone from the power source and let the battery drain.
Now plug it in but don't switch on the device.
Follow the instructions here to enter Recovery mode on your Nexus 6.
From the stock or a custom recovery, do a full wipe (factory reset & cache).
(Optional) Restore from Nandroid flash.
Do a normal boot.


Does Chrome run in separate processes/sandboxes? On Windows/macOS Chrome runs in separate sandboxes to prevent the whole application from crashing mostly.

This does theoretically use more memory.

I have not been able to establish how this works on Android.  It seems to use one RAM slot from what I have gathered.

I was hopefully that it separated them into separate processes like on the PC so that Android can dispose of unused apps when aren't using them to save RAM usage.  It may just be my phone but it appears to get slower the more tabs I have open.

Yes. Chrome runs in separate processes on Android.

This is what I get from ps -aux | grep chrome in a root Termux session:

u0_a128  14180  5.5  2.2 1530600 175948 ?      Sl   13:04   3:55 com.android.chrome
u0_a128  14418  2.2  1.0 1412520 84168 ?       Sl   13:06   1:31 com.android.chrome:privileged_process0
u0_i9    21115  3.0  1.1 1428008 91124 ?       Sl   14:07   0:13 com.android.chrome:sandboxed_process6
u0_i14   22492 16.2  1.2 1548252 100956 ?      Sl   14:14   0:13 com.android.chrome:sandboxed_process11
root     22686  0.0  0.0   8748  1524 pts/2    S+   14:15   0:00 grep --color=auto chrome


What country is my Motorola MILESTONE from? Can I install a Froyo update from Motorola Droid on it? I bought it at Amazon.com, and had it delivered to a friend's house in Massachusetts. I flew to the US, visit my friend, did some tourism, and brought the phone back with me to Brazil, where I put in my GSM chip and it works just fine. Here is the phone info:

Model number: Milestone
Firmware version: 2.1-update1
Firmware configuration version: GAS_EMEA_USASHLS00RTINT_P012

The box says: SM,A853,TR,RETAIL,LICBRZ
So, I should be waiting for an update for what? Europe, like it says in this thread? Or Latin America? Or can I get 2.2 safely from somewhere else? The software looks pretty American to me. What if I follow the instructions from this site? Do I risk bricking my phone?

The Motorola update software will recognize the correct origin, so you could always try to get the official Froyo upgrade.
Click around on this page to get instructions: http://www.motorola.com/staticfiles/Support/GB-EN/froyo/milestonenotification.htm


Move non-movable apps to SD Card on rooted phone I have some big apps like Spotify on my phone which has not much empty space left on my internal storage. So I considered moving not only movable apps to sd card but others as well. I know that Spotify for example comes with a widget that will be broken but I don't care. How can I move those apps to the SD Card? My phone (LG Optimus L9 II) is rooted and I don't mind creating some symlinks or something like that via adb.

After using google I also tried this command:

pm set-install-location 2

as root, but Spotify is still in my internal storage.

If your phone has a setting like Settings>Storage>Default Storage Location then set it to SD Card instead of Internal Storage. Alternatively there are Apps that can offer a solution.

The App Link2SD allows you to move apps to a second partition on your SD card. You'll need to create that partition first.

https://play.google.com/store/apps/details?id=com.buak.Link2SD

A different approach is used by Directory Bind at xda-developers. You don't need to change your SD card in any way as you have to do with Link2SD.

http://forum.xda-developers.com/galaxy-s2/themes-apps/tool-directorybind-data-to-externalsd-t1410262

I've used both and they both did the job.


Cannot find apps on SDcard after flashing Custom ROM I just took the plunge and flashed  my HTC Incredible 2 with stock ICS 4.0.4 to Psycho's CM 9.1.

I am happy so far but I don't know how to retrieve the apps I have saved on my SD card. Prior to performing a root, I used App2SD pro to move them. Now after rooting and flashing custom ROM they don't show up on SD card.  I re-installed App2SD pro and still can't find them.

I know they are there because file manager says there is 14GB of used space. I could re-download everything but I would like to avoid that.

Any help for a noob would be appreciated. Thanks in advance.

While there is some merit in the reply from Audiophile; apps on an SDCard should not be lost.  I had a similar problem after rooting a Samsung Exhibit 4g (T-sgh759); and while I found this thread I continued digging.  The solution required removing the battery, then restarting; and voila! everything was visible from the phone on the card again. (I used the suggestion from Scotty85 in this thread --> http://androidforums.com/rezound-all-things-root/517575-cant-see-sd-card-after-root-noob.html )

If that doesn't work, before you do anything that might write to the card... As it is an SD card, you can pop it out and see if it mounts on the computer.  Do a search for *.APK (those should be the application files).  Are any files visible?  It is doubtful that installing a rom would format the SD card... however, if you can't see any files, many companies like Sandisk have free recovery software with the their higher end cards.  Googling you could find a download link, and try recovering the files from the SD.

In my case, the files were visible when the card was mounted on the computer and not visible on the phone after rooting.

Titanium backup, ES Filemanager, and Root Toolbox Lite all work for copying files.  Some care should be had before rooting, and installing roms that you have a complete backup; as some have found a false sense of security, revealed only when they try to restore and can't (see Jason Lewis' Cautionary Tale --> http://myblog-online.co.uk/2011/12/a-cautionary-tale-the-dangers-of-root-and-titanium-backup/ )

It is possible to make a complete backup without rooting; using ADB from the Android SDK (see --> http://www.howtogeek.com/125375/how-to-create-a-full-android-phone-or-tablet-backup-without-rooting-or-unlocking-your-device/ )

Good luck to anyone else who experiences this.

D


Stop syncronsing the contacts I have bought moto g4 and I has the problem that even though I delete the contacts the are updated after some time

Option 1 - In your phone settings, visit the 'Accounts' section and disable syncing of contacts with the account(s) linked to your phone. Most probably Google accounts.

Option 2 - If that doesn't work, then when in your phone's address book, go to the settings and select which contacts you want to show in the address book.


Connect android phones through adhoc wifi network I want to connect my android phones (two Galaxy s2 and two nexus1 phones) in adhoc mode through wifi connection. Something like peer to peer network so that I can transfer messages with mobiles in my adhoc through wi-fi connection.

Does android support creating an adhoc connection?

There is no such thing on Android's menus, but since Android is Linux based you can run a few commands on ADB in order to do that (phones must be rooted though).

if you have some knowledge with Linux command line you may know ifconfig and iwconfig:

ifconfig wlan0 up
iwconfig mode auto;iwconfig wlan0 essid "your SSID" channel 11 mode auto
ifconfig wlan0 10.0.0.x netmask 255.255.255.0

Where your SSID should be replaced with the name of your Adhoc network, and 10.0.0.x is a different IP you give each device.


Screen unlock pattern fails After a system crash, it black screen and reboots, i am unable to unlock using a pattern, it is correct but is not recognised. I don't want to exceed the retry limit as things get more complicated...
How to fix it?
I'm stuck with android 6.0.1 on a galaxy j7 2015.

This happened 2 times already. I just had to calm down and think: the reboot was forced, in a non safe way. So something went wrong.
To solve it, i just did another, but normal reboot, and it fixed itself.


Xposed Framework with KitKat ART? I have an SGS-I8190 with CM11 from http://maclaw.pl/

I explored the Xposed Framework, but it is not compatible with ART. It switches back to the old buggy and lame Dalvik. XDA says, that ART provides a Bootloop in addition to xposes.

Is a workaround to use both, or do I have to live with either one?

As of this moment, it is a known fact (not necessarily an issue) that the Xposed framework DOES NOT WORK with ART.

So, you either:

Stay with Dalvik runtime, and get the advantage of using Xposed; OR
Uninstall Xposed framework, and get the advantage of using ART

  After installing Xposed, the runtime gets reset from ART to Dalvik. Can you stop it please?

  You can be glad that I implemented this, otherwise you would be in a
  bootloop know. Xposed isn't compatible with ART (yet). It's a
  completely different architecture with pretty much no documentation.
  Rewriting Xposed for the ART runtime requires understanding the
  concept, the code structure and many details to know how it works. I
  have already spent dozens of hours on that and some things are
  working. But still it's a long way ahead. Don't expect even a test
  version in the near future. So please don't ask when it will be
  available - you will surely know when it is ready. I have nothing else
  to say about that.


External Microphone in Headphone Jack? There are some external stereo microphones for IOS that plug into the headphone jack rather than the dock connector. For instance, the IK Multimedia iRig MIC Cast.

They claim that they work on Android as well.

Well, they may work, but do they provide better sound quality than the internal phone microphone, turning it into a decent digital recorder for music, for example? (with the right software, of course).

My question isn't really whether those microphones are better quality than the internal microphones, as I assume they are. But does the headphone jack on Android phones (mine is the Galaxy S4) really provide the input capability for better quality sound, including in stereo?

Of course that jack can transfer sound in both directions, headset and microphone, as it is a phone. For output, the phone provides quality stereo music output to headphones, as modern phones are also music players. However, the microphones on phone stereo headsets are generally low quality monaural microphones only suitable for phone calls, usually not better than the internal microphone, might be worse.

So the question is--is the input function of that jack capable of providing quality stereo input, if one has a quality stereo microphone attached? (No matter how good quality the microphone is, if that jack really cannot transmit that quality sound, but reduces it to a very low resolution and frequency-reduced monaural sound, no point at all in attaching such a microphone.

Anyone know about the input capabilities of the headphone jacks on Android phones. (If it varies from phone to phone, then how about mine, the Galaxy S4?)

I found this video on YouTube: Galaxy Samsung S4 External Mic for mobile phone.  and here is the mic quoted on eBay. I plan to test it soon. It seems the vendor has positive feedback.

It is noise-reducing microphone for the 3.5mm jack. I tried to check if the cited video has stereo sound. I believe it does, but I am not sure it did not come from some YouTube stereo enhancement, so I cannot claim it for the microphone. I plan to use it for lectures, so it should serve for the purpose well enough.


HTC Sync fails to start when phone connected "updating htc library" I have an HTC Desire S wich is failing to connect to HTC Sync. I have downloaded and installed the latest version but one of 2 possible scenarios occur:

The phone is connected to the pc. USB connection sound chimes and I see the phone in my Windows devices list. I then start HTC Sync. It will show the splash screen and use about 40-50% CPU power, but it will not go any farther... It only shows the message "Updating htc library".
The phone is not connected to USB. I start HTC Sync and wait for it to fully load. Then I connect the phone. Once again the phone shows up in my devices list, but HTC Sync will not recognize it, nor will it show my phone.

I am using Windows 7 x64, HTC Sync v3.0.5551 (june, 6th update by HTC).

Any help is greatly appreciated...

Your problem is due to errors related to HTC Sync, Windows 7 and Adobe AIR. There is a bug opened on Adobe site: https://bugbase.adobe.com/index.cfm?event=bug&id=2966976
The workaround should be to downgrade Adobe AIR to 2.6.xxx version. You can download it here. Upgrading to Adobe AIR 3.0.0.3880 RC1 didn't worked for me.


View local website on an Android device Web developer here.

I have two devices, a Samsung Galaxy S3 & a Samsung Note 10.1. I have developed a website which is running on PHP and I would like to view my website on these two devices without having to upload it to an online server. My local server is a WAMPSERVER.

I've heard that you could use Wi-Fi and connect to my PC's IP address however my wifi signal is very weak (I use a desktop upstairs, router is downstairs) so I would like a setup that requires me to physically connect my devices to my PC through a USB cable. Is there a way to do this?

Thanks in advance! :)

Not sure how much help this is, but I've had success using the reverse tethering solution with IIS, so it must have something to do with your server. With IIS I connect using the Ip 192.168.0.0:port/{path of directory within IIS instance}

Hope this helps


Where do these strange contacts come from? I recently noticed that in my phone contact list (which is synchronized to the Gmail contacts) there are many contacts that I don't remember adding and that I don't even know.

Has anyone else experienced this? Do you know what could be causing it?

This is often caused by linking other social networks (via the appropriate App) or third party E-Mail providers to the Android device. This will cause the contact lists or address books to be synced and shown in your device.

This includes for example

Last FM
Yahoo Mail
Skype
etc.


What is "rmnet_gsi" USB function? I was looking through the init files from my boot image and noticed a USB flag labelled rmnet_gsi here.
What does this setting do?
Example source:
on property:sys.usb.config=diag,serial_cdev,rmnet_gsi,adb && property:sys.usb.configfs=1
    start adbd

In addition to Android's generic USB functions (like adb, mtp, rndis), rmnet_gsi is a hardware specific USB function which exposes some of your GSM/3G/LTE modem's functionality to PC over USB. Usually this is not something an ordinary user is concerned about.

It involves understanding two core concepts:

How Android communicates with modem/BP (which lives on SoC along with other core components including CPU/AP and RAM) for internet data. Communication with modem/BP occurs e.g. through serial channels (like USB or UART, as other components of SoC do: QDL 9006/9008, EDL, fastboot etc.), or by sharing a reserved area of RAM (e.g. SMD or SSM in case of Qualcomm).
How different USB functions of Android Composite Gadget driver (which is an extension to Linux kernel's USB Gadget API) are used to expose Android in USB device mode to a USB host like PC. Different USB functions (like UMS, MTP, RNDIS etc.) can be configured and switched using sysfs or configfs.

On devices with Qualcomm's MSM SoCs (like USB modems or phones), RmNet (Remote Network) is modem's data transfer and control protocol which exposes Ethernet like IP interface as data channel and uses QMI as control protocol. Generic Software Interface (GSI, which replaced BAM) transports communication with IPA core of the modem. Internet Packet Accelerator (IPA) is an IP packet processor which performs better than CPU/AP for this specific purpose.
IPA/GSI can be used with different tethering protocols including RNDIS, RmNet and DIAG/DPL/QDSS. In order to access BP from PC (e.g. to use internet or do some debugging), Android kernel includes USB functions (like rmnet_gsi) for these protocols in order to expose them through USB (so that Android device appears like a USB modem). Proprietary protocols may not be used without vendor provided software. E.g. on Android devices we have RIL and cnd - vendor provided daemons - to communicate with BP. However there are open source tools like QCSuper which can talk Diag protocol over /dev/diag.

RESOURCES:

Gadget RmNet
Qualcomm MSM specific device drivers
Qualcomm Kernel


replace the HTC unlock system for a keyboard combination in Android 2.3.5? How can I replace the HTC-sense ringy swipy unlock mechanism for an unlock mechanism that only requires to enter a keyboard combination in Android 2.3.5? I find myself not able to do it easily on one hand and since I have a physical keyboard, I would like to be able to unlock the screen with a keyboard combination.


Phone (Moto G) stuck in fastboot screen. Nothing works! Stuck at this screen

I am on a Mac OS and was intending to unlock the bootloader when I accidentally bricked my phone. I followed all instructions. Downloaded Motorola drivers, Android SDK and also fastboot.zip. After I typed in the command to get unlock data terminal showed: waiting for device. I got impatient after five minutes or so and unplugged it from my computer only to find out that it's frozen. Won't reboot after holding down the power key. Also tried Power+Up/Power+down. Also tried the fastboot reboot command but it says "device not found". I have no idea what to do as most XDA threads I found are using windows systems. Help/suggestions/links/video guides anything would be much appreciated. Please keep in mind I have a Mac OS and know nothing about ADB commands or fastboot other than what the sites told me when I was about to unlock the bootloader.

Edit: When I run ./adb devices no device is shown. Does this mean my computer doesn't detect my phone?

Here's what fixed the issue for me. I removed SD-card and the sim cards and held the power button for 10-20 seconds. It rebooted the device :)


What folder are Google Podcasts downloads stored in? I want to pull some podcast downloads off my phone, and put them on my computer.

I have plugged my phone into my computer's USB port.  What folder can I find my Google Podcast downloads in?  My computer is showing a lot of folders with cryptic names :-(.

I am looking in my computer's file manager, "Nokia 6.1" -> "Internal shared storage".  I do not have an SD card in my phone.

My computer runs GNOME.  I have connected to the phone using USB (MTP) before, and it worked great.  That was for some different files though :-).

Phone version:

Device name: Nokia 6.1
Model & Hardware: TA-1050
Android version: 9
Security patch level: 1 October 2019
Kernel version: 4.4.153-perf+
Build number: 00WW_3_54H_SP03

I bought the phone as new, and I have not rooted it.

data/user/0/com.google.android.googlequicksearchbox/filesvelour/feature_data/wernicke_player/downloaded_episodes

Found using the Disk Space Analyzer on my GNOME computer :-).

This is the only folder that appears in data/user/0/.

Apparently, there are a lot of other folders that might look similar, but would not be accessible by other non-system Android apps, and would not be expected to be accessible through USB either.  But my Android is quite happy for me to access this specific folder through USB.

I have enabled "Developer options", but I have not used it to change anything AFAIR.  If I disabling "Developer options", I can still plug my phone in and access the above folder using USB.


Any success with external microphones for Android phones or tablets? What's the best way to record a video with high quality audio?  Specifically, this is for a presentation where a microphone could be placed by the speaker.  I know that an app that records with the right codec is necessary, but what about the microphone?

I'd prefer to use a USB mic but, even though Android 3.1+ supports USB host mode, it doesn't appear that this is easy to accomplish.  What about a 3.5mm microphone - would that yield acceptable results, or would it be better to stick with the built-in microphone?  Are any of the video-recording apps capable of handling the microphone?

It's not a USB mic, but I have found a solution for external mic via 3.5 mm jack.

Look at my answer on this question:
How do I use an external microphone with my Galaxy Nexus?


Whats app last seen status not visible I have a friend on what's app I cannot only see his last seen status, I was able to see it & since a week now I cant see his last seen status. Although I can see when he is online. Message is send me are delivered as I see the double check mark, so don't think he has blocked me, but not sure why I cant view his last status, I can see my other friends status, but not his????

Whatsapp new update has the setting to hide last seen time stamp like iphone users. In settings-> Account-> Privacy you can hide last seen time stamp. If you choose to hide the last seen time stamp then you will not be able to see the others last seen time stamp.


Persistent Loading in Chrome I've noticed that on the desktop version of Chrome, sites that employ Disqus will constantly load user comments and even post a "someone is typing..." message when appropriate. I was wondering if this feature is available as a setting or developer flag in the mobile version.

Fixed it myself! Turns out the symptom was far from the problem. At the time of posting this question, I was using a hosts file generated by AdAway. Before that, I was using the MoAAB hosts file. Neither allowed persistent loading in chrome.

I have since moved to Dan Pollock's hosts file and have been wonderfully happy. While it similarly blocks most if not all ads, it fixed problems with broken non-invasive redirects through ad networks, and, pertinent to this question, allows mobile chrome to once again persistently load data from an embedded app such as Disqus!

I hope this helps even one other person out there with a similar problem. Best of luck! :)


Metronome sound for disk encryption password prompt In the previous android version (Lollipop, Marshmallow, Nougat and may be Oreo) there was a metronome sound when the phone was waiting for disc encryption password: "To start Android, enter your password".

It was very useful, as it indicated that user action is required.

But now, Pie (and may be Oreo, I don't remember) it's gone. I don't know the behavior of android 10.

Is it possible to bring the metronome sound back?

The older Android versions were using Full Disk Encryption (FDE) mode, therefore the password enter dialog was a small mini-OS booted before the actual Android-OS.
This mini-OS was playing what you are a calling the "metronome sound" when it was waiting for the user password.

I assume this sound was introduced to ensure the user recognizes that the boot process requires user interaction. Because while the mini-OS is waiting for input the whole system is offline and no app is running - including no mobile voice/data or Wifi.

Nowadays Android use File Based Encryption (FBE) which means that every app can specify if a data is encrypted using the system key or the key that requires the user to unlock the device first. Therefore in theory if all apps are correctly implemented a large part of the system should already work before you enter your user password the first time after a reboot.

May be you are able to simulate the old behavior by installing an app that runs only after the Android device has booted up (BOOT_COMPLETED) and then plays a sound similar to your old system. Unfortunately I don't know a suitable app, but I assume programmable scripting apps like "Tasker" may allow you to create a script that plays a sound after the device has booted up.


Porting cloud account information from ES Explorer I've been a pretty satisfied user of ES Explorer. When I wanted to add my MEGA cloud account I took the bait and paid for the pro version.

Problem is, their Google Drive (as well as DropBox) interaction is outdated. Google doesn't allow its authentication page to be loaded in a webview of another app. Now I can't add Google Drive to the new app.

The pro version is not an update up the ad-supported; it's another app. I still have Google Drive set up in the ad-supported app. How can I transfer the settings and account info from the old to the new? I do have root access and I've come across a file with the account information. I copied it over but it still doesn't show.

Any help would be greatly appreciated.

What ended up working was to copy the *.cfg files from the data\data\com.estrong.android.pop\files folder, and the serverlistdb*.xml files from the shared_prefs folder. Then, after a reboot the accounts showed up.


How to get boot.Img from Samsung tab a 10.5 sm-t595 I have been trying and failing for days to root my tablet. As far as I can tell there is no TWRP available for this device and the only way that looks possible to root it is to use magisk adb method. The problem is I can't get the root. Img file to allow me to follow the instructions. Can anyone help?

Thanks

Paul

Thanks to alecxs for all the help. In the end this was possible with Magisk Manager and odin. I will try and list all the steps needed, but there was a lot of trial and error so I may miss somthing.

Get enable OEM reset then usb debugging (this will factory reset the
tablet)
Find the stock boot.img I found mine here
transfer the boot.img to your phone and install magisk manager apk
(you will have to enable installing from unknown sources)
click install magisk and choose the option to patch a boot file. Copy the
patched file back to your computer
rename the file back to
boot.img
download this tool to repackage it to a .tar.md5
file
copy the boot.img into the parts folder and try and make
the .tar file then try the .md5. if you have problems download the
latest version of cygwin64 and copy the contents from the
installation folder into the bin folder of the tar.md5 tool and try
again
now you should have a tar.md5 file containing your patched
boot.img that you can flash onto the ap partition with odin. restart
to boot loader ( hold down power and volume up or use adb command
adb reboot-bootloader and flash (there are other more detailed
tutorials on how to do this)
check to see if it succeeded. For me
it succeeded and then when rebooting it failed the integrity check
and factory reset itself. I reinstalled magisk manager and found
that it had worked. I let magisk install itself and update. I
installed a root checker and it showed i had root access

I hope this helps someone


Accumulation of APK's? I just noticed a folder on the internal memory of my Samsung Galaxy S4 with name SmsContactsBackup that has an accumulation of APK's. You'd think that folder name indicates one of those Android backup programs, but, it appears to be multiple APK's with different version numbers, like the APK for each new version. They are consuming about 3 GB of memory space. Does Android normally store all of the updated APK's in storage? If so why this folder?

No. This folder is not created by Android.

This is the folder created by the app named Super Backup & Restore. This app is used to backup Contacts, SMS, Call logs, and some user Apps. And to restore to any version of android.
During backup, it creates a root folder named SMS Contacts Backups, and with sub folders with each category: apks, logs, contacts, sms in the internal memory.
You can remove those folders after restoring.(Note: Also, you need to remove App(Super Backup & Restore), otherwise it again creates folder with same name.)


GPS and icons on the Android notification bar I've read that the phone can use GPS, and if not Wi-Fi, and if not cellular triangulation to determine your location. How do I check what the phone thinks my location is?

Also, how come I am not seeing the image of the GPS satellite on the notifications slideout bar at the top of the phone alongside the signal, the Wi-Fi icon, and the circle with four line segments in the shape of a target (which I have yet to figure out what it stands for). Does it mean GPS reception is bad in my city or do I have to somehow enable GPS in some way?

To see what the device thinks is your current location, you can simply open the pre-installed maps/navigation app (if there is any; usually Google Maps comes pre-installed). If there is none pre-installed, simply install one from the playstore. Or check another GPS tool like e.g. GPS Status & Toolbox if you don't need a full-fledged "maps & navigation" app.

As for the status icon: this will only show when GPS is used (and not only "available"), i.e. when some app is accessing GPS to determine your current location. It has nothing to do with reception quality -- which, in case of GPS, is rarely location-dependent, but rather depends on other conditions such as clouds, trees, high buildings (all things which hinder the free view to the satellites).


Why isn't my android working properly? A couple months ago I tried putting CyanogenMod on my sprint galaxy s3. I used the one click cyanogen installer on my windows PC.

I don't remember why, but the install didn't fully flash because unless I'm going into recovery mode I never see the cyanogen boot up screen. I have gone into About Phone but I can't find anything telling me that Cyanogen is actually running or even on the device.

Ever since I did try to flash this ROM my phone hasn't been able to fully function. Certain apps that I previously had or reinstalled off of the play store either don't work or certain functions within the app don't work. All I know is that when I enter recovery mode it does show clockworkmod as my recovery.

It's possible that the flash purely failed, or that you dirty flashed (flashing without clearing the cache/data) the ROM.

Seeing as you have access to recovery:

I'd suggest that you download a new CM ROM (Lollipop-5.0.2) from the XDA Developer Forums
Download the corresponding Google Apps package (i.e. for PA GApps for Android L)
Place both of the .zip files on your external SD card
Boot your phone into recovery mode and Wipe Data (Factory Reset). Also wipe all caches (Dalvik inclusively)
Install both .zips. First the ROM, and then the GApps package
Wipe the Dalvik Cache one more time for good measure
Boot the device and enjoy CM


Samsung Galaxy Ace GT-S5830 can't receive incoming calls After updating to version 2.3.7 of Android the device can't receive calls.
Although it can call. The caller to my device is said to line was busy always, it happens from any kind of callers. Need to note, that incoming calls are saved to log, but without any notifications.

I played with Profiles, WIFI settings, but it didn't help.
baseband version: S5830XWKS2

Under "Settings" then "call settings" in gingerbread there are two settings that might be doing this. 1 call forwarding. this might be referring incoming calls to a dead number. 2 Call rejection. This could be rejecting your calls - just adjust the options set.

If you have a new phones but amended its 'birth' number to the original number you used on the old network this might have something to do with it too. I did once have a phone which in certain situations remembered its original number which was by then not live on any network- just a thought.


How to unlock a Samung Galaxy S5 locked with a pattern on a broken screen I have a Samsung Galaxy S5 that has a shattered screen. It doesn't unlock, but the phone works fine.

I purchased a new phone, and I want to transfer all my contents from the old phone to the new phone.

The problem is the phone is locked with a pattern, and I cannot accesses it as the screen is broken. Does anyone know how to access it?

Let's assume your new Device is also Android (you have not given the make and Operating system of your phone),The most probable solution for you is Samsung Smart Switch  regarding the transfer of contents from the older devices(any os like Mac or Android) to a new Android device.

Check this sitefor more info.


Handset is rooted . The app cannot proceed due to security reasons When installing an android app i got this error . Is there a way to solve this problem without factory reset ?

If you don't want to actually remove root, there are several methods to try to prevent specific apps from determining that you have root access. Depending on the detection methods used by the apps, you may or may not be successful.

Try looking for root hide or root cloak in the Play Store or on xda-developers.com.

If you can install the Xposed framework, you can also try the module Root Cloak.


Apps installing by themselves I have old android phone, which is working on 4.4 KitKat. Up to last week, phone is working very nice from last two years. But from last week, I saw some apps are installing by them selves. I didn't downloaded them.

Further I always keep my Android setting as "off" for installation of apps from unknown sources. But this do not work!! They are still automatically installing rapidly(their name are Uc news, superb cleaner, and many more). They are installing when I turn on my data connection. I used WiFi connection, so could not restrict background data of apps using settings.
Further I had uninstall all apps which I had installed in last six months, but this does not do anything. I am not so much familiar with computers and android. I want simple way to secure my phone. What to do please help me.

Your device may be infected, and this causes all these apps to be installed alone. I advice you to find a proper rom and reflash your device.


Can I install gapps after I have finished installing the new ROM? I have recently installed a new ROM on my Galaxy S3 and I did not flash gapps with the ROM itself. Can I go to reboot mode and flash gapps even after I installed the ROM?

You should be able to do that. First make sure you download the correct version (the version of the GApps archive must match the Android version installed on your device). Put the gapps*.zip file on your SDCard, and boot to recovery-mode. Select "Install update.zip", and navigate to your GApps archive. Select it, have it installed, reboot, enjoy :)

As you've tagged your question cyanogenmod, you might also wish to take a look at their GApps page. This will make it easier for you to find the correct GApps archive.


Reformat / reset an unrooted phone and wipe /system I'd like to reformat / reset my verizon Samsung S4 (SCH-I545, baseband **OF1, Android 5.0.1). After doing a number of tests and experimentation, I believe that there is a malicious binary sitting in /system which is causing me to follow a random Russian porn Instagram account. I'd like to get rid of whatever is causing the auto-follow (it's not even good porn), so I thought a hard reset / reformat would be ideal... HOWEVER, I believe that a factory reset does not touch /system. Is there a recommended approach with a non-rooted phone to essentially start with a blank slate?

The phone itself was never rooted, but it did come refurbished a year or so ago from Verizon. Since it's running a OF1 baseband, I believe rooting it is out of the question? If it's possible to root, that might solve a lot of problems.

The easiest way to fix it (without even voiding warranty because we will be flashing an official firmware image) consists of a few small and easy steps:

(Assuming you have already installed Samsung's USB drivers)
I take no responsibility for damaging, bricking or otherwise damaging you or your phone, but that's how I flashed since a few years now and it never failed me, even when I was at the glimpse of a hard-brick.

Get your firmware image: SamMobile has you covered on nearly all the Samsung firmware images. Get the latest image from Sammobile for your device by creating an account and downloading the .tar.md5 file. (Don't change the extension, even though you can open the .tar like usual, it prevents Odin from verifying the checksums)
Get Odin from Sammobile.
Boot your phone to download mode by shutting it down and then holding HOME + Volume-Down + Power until you are greeted by the bootloader. Then press Volume-Up to confirm that you want to install a firmware.
Open Odin and select the .tar.md5 as PDA or AP, leave everything else untouched (uncheck Re-Partition just in case! It can mess with your storage layout and is usually not needed)
Connect your phone to your PC (if you haven't already) and make sure it's recognized by Odin.
Hit the Start button
Wait until your phone automatically reboots and you are done. No factory reset is needed, the /system partition will be checksum-exact with the one in the firmware image.

(All images with a solid, non-grayed out KIES logo are exact with the one available form Samsung's KIES software)


Help On Changing Settings I updated my voicemail and with out thinking I allowed  apps that are not from google play to access my phones features causing some things to disappear, on my phone How do i change my settings back to where only things from the play store and so on can be installed?

The primary technique to reject applications other than from Play Store to install is in the Settings for Security. Make sure the setting "Unknown Sources" is unchecked. This setting normally allows 3rd party installation to occur.


USB connection problem I have a problem with my Samsung p1010, I started backing up my files prior to having it updated in a Samsung service center.  After updating it, my files were gone, lucky i had it backed up.  However, when I connected my device into my PC, it did not detect it like before.  I cannot open the folder for the tab, and the tab just went to connecting to MTP or something.

Go to settings -> wireless and network -> usb settings. Disable usb debugging if prompted, and select the usb mode you want. Kies for syncing with the kies application on the desktop, or mass storage for mounting the /sdcard and /sdcard/external_sd partitions.


Galaxy Tab Pro SM-T520 does no longer see wifi networks I had a very weird problem with my Galaxy Tab Pro SM-T520.
After working fine for a while the tab suddenly was not able to see any wifi network. None of them. Not mine, not from my neighbors, just the whole Wi-Fi networks list in the Connections Settings was empty and the "Scanning..." process was hanging.

Reboot the tab, on\off, etc. the wifi did not help.

Only the factory reset did help. However after some time the same problem came back :(

It has happened after the WiFi network was disabled for a while.
Android 4.4.2

It turned out that the problem was the Passpoint setting enabled by the default. You can find it only in Advanced wifi settings. On Samsung tablet, while in Wi-Fi settings, you have to click on vertical ... at the top right corner, then select "Advanced" and there you can disable that Passpoint setting.

It took me a while to find a solution to this problem, so I hope my post may help someone!


How do I block an app from using mobile data even in foreground? I want to block an app from using mobile data even when that app is in foreground. How can I do that? I can find an option to disable mobile data when in background and an option to disable WiFi for an app but I want to disable mobile data for a specific app completely. I am using a Galaxy A71 phone with Android 10.

Use a Firewall. See Firewall Tag Wiki for helpful reading.
Net Guard is a well acclaimed app that does not need root access. It is an open source app developed by  Marcel and can be downloaded from F-Droid too. It is very effective and has excellent logging features too.


How to stop uncorrect counting of my steps on Huawei Health app? I have Huawei Mate 9 with Huawei health app preloaded. I travel most of the time by trains. I noticed the Huawei health recogizes any shaking in the train as steps while I am just standing or sitting. That's why I quickly reach 10,000 steps which are not real steps and the burned calories are not real in return.
How do I stop my phone from identifying shaking in public transport as real steps while I am standing still. Do I have something wrong with my device?

I'm not sure what all sensor data is being used by the app, but most would rely on the input of the accelerometer. And as such it is all based on its algorithm as to what kind of moments it identifies as steps.
While it is hard, the sensor on the device can be giving out wrong values. But I'd still suspect that the companion app is not able to differentiate between steps and the shaking of hands due to you being on the train. It's quite tricky for it too. I'd probably just turn off the app while in the train. We can't expect a very good amount of accuracy from an app which isn't reading anything from the body.
They can probably improve it by using GPS data and other sensor data to understand if the person was actually moving at the natural pace.


Reload Android OS on Moto G Peregrine After running into some issues with Cyanogenmod, I want to reload the default Android OS for my Moto G Peregrine. Here's what I've managed to synthesize from various forum posts on the Internet.

Get the OS file from here.
Flash the image using Clockworkmod using the same instructions as loading Cyanogenmod, that can be found here.

Is this the correct procedure?

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

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

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


Are calls made by third-party apps logged? For the first time I installed app that can make calls automatically (sms/call screener). What worries me is this level of permissions -- however I have to no choice really because stock screener (Android 2.3) works only for calls (not sms), and all apps I found require that permission.

So my question is this -- are such calls (made by app) at least logged? So I could check and see "oh, call to Bahamas for $100"? Or there is a catch, and the call is logged, but the app can clear the log after call as well?

If you mean logged by your phone company then yes any calls that go over their network will be logged and billed to you. If the 3rd party app uses VoIP or something similar they won't log it as a call but then you also won't be billed for it except for the data charges.

If you mean logged on your phone so you can check it in the call history then that depends on the application as it is possible for an app to edit your call history.


Does Titanium Backup backup the Signal private Key? I am looking for a way to backup my private key for the Signal messenger application. Nothing has worked so far, and I am curious whether anyone can confirm or deny that Titanium backup will save and restore the private key of a Signal install.

Signal 4.17.0 introduced encrypted backups. This is the preferred migration path. Also the Titanium Backup route does not work in current releases.

Previous Post

I just tried this and it worked flawlessly.

After restoring Signal on your new Phone you should re-activated your connection by unregistering and re-registering to the Signal servers. As of now you can do this in the Signal Settings > Advanced tab by toggleing Signal messages to de-activate then re-activate [1]. In this Process you will have to re-verify your phone number and you'll have to reconnect your Signal-Desktop clients afterwards.

You won't loose your Private key or your Signal-Desktop messages though.

[1] https://support.whispersystems.org/hc/en-us/articles/213190487-Why-is-there-a-delay-in-receiving-messages-


Change Default Save To Directory For Content Downloaded From Apps I've been looking all over and could only find information on changing the directory for the camera or for changing from the internal storage to an external SD card.

What I am trying to figure out is how to consolidate my downloads, specifically all of my images, into one nice folder. For example, anything downloaded from Chrome is saved to the folder "Download" while everything I save from Reddit is Fun is saved to "Pictures." This drives me nuts when I am trying to send somebody one of these pictures and my Gallery is very cluttered. It would be great if there were an app and/or procedure that allowed me to specify which folder the content from each app should be downloaded into.

I am on a rooted SGH-T889, 3.0.36 Perseus Kernel, running stock 4.1.2.

For reddit is fun, you can set it to "Use external browser" in Settings, it should open Chrome and files will be saved in the same location. Takes a little bit longer to open links though.

For Chrome, there seems to be no way to change download location but creating a symlink. This may require root, and your picture directories will still be displayed separately in your Gallery.


32gig sd card corrupt Possible Duplicate:
  How to recover data from a damaged SD card?

I have a 32Gb micro SD card that I've solely used for my Samsung Galaxy S3.  The card has been completely cleared and is not recognizable to the phone.

I took a few pic of my daughter, plugged the phone in to charge and went to bed.  This morning when I got to work the phone indicated that it was safe to remove the memory card. I didn't prompt this so I restarted the phone and went to send a pic after it started up again but noticed all my pics and vids were gone.

Is there something that I can do to recover the files or does anyone know if there is a reason that this has happened?

Try accessing the memory card from another device or a memory card reader connected to a computer. If it still looks empty, you can use data recovery software on the card to try to extract any useful data. There's plenty of apps available for this, so you'd have to search for something suitable to your OS and your budget (some of them cost money) - look for articles like 5 of the Best Free Linux Data Recovery Tools.

If you find that your card works flawlessly in another card reader, then your phone is likely at fault and should be returned for a replacement.

If you manage to recover data from the apparently empty card, you should probably replace it as soon as possible as it doesn't seem to be completely reliable.


Can I "purchase" a free book from the Store without providing a credit card number? There are a few books on Google Play that are free. Can I obtain said books without providing a credit card number?

Looks like it depends on the book. From Google Play support:

  Downloading free music, TV shows, and certain free books and magazines is still considered a transaction, even when the price of the item is $0.00. If you don't have a credit card associated to your Google Wallet account or if you don't haven't set up a Google Wallet account, you'll be prompted to add a new payment method upon when downloading certain content from Google Play.


Internet problem in Samsung Galaxy S2 after updated Android 4.0 Recently I updated my Samsung Galaxy S2 OS from 2.3 to 4.0, after that the internet is not working properly (e.g. Internet web, facebook, twitter). If I open this application a message is shown saying  "unfortunately internet stopped".

How can I fix this problem?

I had the same problem opening attachments (.doc) in email.

I tried clearing the cache - didn't work, but ...
Under Settings ... Applications ... view all ... Internet ... Scroll down to "Launch By default", and click Clear defaults.

Next, when opening an attachment, select chrome and Just once (or something other than internet).

Worked for me !!!


add yahoo mail to android phone having two step verification active? Any help?

I want to get rid of the lousy Yahoo app on android. it has a lot of problems regarding notifications..

But when I try to add yahoo account in the Android-Email app, it says:

Login failed:
Possible reasons: Two-step verification is enabled for your Yahoo email. Login to .... disable it...
:(

Like most other 2FA implementations, Yahoo also supports "App Passwords" for apps and APIs which do not have a proper login system to authorize the 2-factor login.
These are static passwords which work as if there's no 2FA implemented at all. Be sure to never share such password with anybody as it bypasses the 2FA.

Yahoo has detailed steps to generate the App Passwords. So, follow the steps to get started:

Sign in and go to your Account security page.
Click Generate app password or Manage app passwords.
Select your app from the drop-down menu and click Generate.
Follow the instructions below the password.
Click Done.
Use this app password and your email address to sign in to your email app.

For more details, visit the Yahoo website - https://help.yahoo.com/kb/SLN15241.html


Chose which player is activated by headphones play/pause buttons I have 3 pairs of Bluetooth headphones:

Sony WH-1000xm4
Jabra Elite Active 65t
Cardo PacTack bold (motorcycle communicator, works as Bluetooth headset)

On my Pixel 5 I have 2 sound players installed:

YouTube Music (for music)
Smart AudioBook Player (for audiobooks)

Whenever I am listening to music using YouTube music and press the pause and then resume button on any of my Bluetooth devices, it switches to playing audiobooks in Smart Player! This is very annoying, especially on a motorcycle where I need to stop to be able to unlock my screen to switch back to YouTube!
If there is a way to set up which player is activated when a play button on Bluetooth headphones is pressed? Or at least disable some players from being ever activated by a button?

Bluetooth connect & Play from Play Store meets your needs. App description says

This app is designed to tie the Bluetooth connect event to playing the music player of your choice.  Unlike other auto-play options, this allows you to select the specific player that should be used.

I have Jabra Elite 65T (not active) and it worked by letting me choose which music player to be activated on key press. I didn't try with your audio book player, though, but I guess it should work.
Bonus point is that it has zero trackers as per Exodus


Adjusting aperture, ISO and shutter speed manually? Huawei P9 I have a Huawei P9. The dual camera is good. The camera software (app) is also good and offers control over the hardware that most stock camera apps don't. BUT, in the pro mode, to control the exposure of a shot, I can manually play with the ISO and the shutter speed but not the aperture :S I don't know if I'm missing something here.

In brief, my question is:

How can I manually adjust the ISO, the shutter speed and the aperture for a single shot on my Huawei P9 whether using the camera app it offers or using a third party camera app?
OR, how to adjust aperture in pro mode?

Contrary to standalone digital cameras, most smartphones have a fixed aperture due to concerns such as device thickness. P9 is no exception, and is equipped with a f/2.2 fixed aperture lens. Under the "DoF control" mode in the stock camera app, different apertures are simulated using the data captured simultaneously from two camera sensors.

Since it's not a hardware implementation of aperture, it's unlikely any 3rd-party software will be able to make use of it (proprietary algorithm). As of now, unless Huawei themselves decide to add such feature to the stock camera through an update later, you're out of luck.


What can I do when my GPS doesn't work (or if my tablet doesn't have GPS)? The problem: I want to use an (offline|online) navigation app but:

I have an Asus Transformer Prime with very bad GPS reception
I have a tablet without GPS (e.g., a Nook Color)
My phone has a very low GPS signal
(Samsung is infamous here, Galaxy S, Nexus S, Gio and so on all have users complaining about it)
My phone often loses track of GPS satellites

My device has Bluetooth however.

What can I do to get a working and precise GPS signal?

I have several bluetooth-GPS adapters that I use with all of my devices when I need a superb signal because a specialiced receiver is almost always superior to a smartphone's internal GPS (due to integration constraints).

GPS Receiver: My favourite is the Bluemax 4043 bluetooth receiver. It has more than one day uptime, it can also log 32MB of GPS data and uses a cheap Nokia BL-5C battery. Linux support! OpenStreetMaps Wiki has a comprehensive list of good receivers (search for the bluetooth enabled ones).
Software support: Cyanogenmod7+ can connect to GPS bluetooth receivers, stock Android users may install 3rd party apps like Bluetooth GPS Provider.

It's very handy for my Nook Color tablet that has no GPS but bluetooth (Asus Transformer Prime users also have this kind of problem).


disconnected phone while installing ROM I recently tried to install a custom ROM in my samsung j6+ but halfway through it my PC turned off.
Then the problem starts i decided to reboot my phone but it shows this error "No command" " #Reboot recovery cause is [[check_bootmode]RebootRecoveryWithKey]#
Block-based OTA
Supported API: 3
# MANUAL MODE v1.0.0#
E:Failed to mount / cache: Invalid argument

The error message keeps appearing for just a fraction of a second then disappear and appear again
I tried to go to recovery mode but no luck i cant get to it
I drained the battery to turn off the device then go download mode but after get to it, it also keep restarting
help me please. thank you

common reason for unexpected reboot is power button stuck, is wet or short circuited
another reason might be loose usb jack, dirty pins or broken cable, or the battery itself is dead/not charging
watch video how to dissassemble, carefully remove back cover (or let service center open housing). replace battery, usb jack or power button. in case you know power button stuck, disconnect flex cable while in download mode.
once device can hold the download mode for at least ~ 5 minutes, download stock ROM according to your phone model and CSC from updato, samfirm, frija or samloader. charge your phone battery for at least 2 hours. make sure using stable PC and prepare Odin for flashing. connect your phone in download mode and immediately start flashing


Smashed screen on Xperia Z3, need to download data without touch capabilities My wife accidentally smashed the screen on her Sony Xperia Z3 and the touch screen is not useable. There are colors and lines but nothing else. All of the ports on the device work just fine. However, I cannot access the phone's files with my PC because USB connection settings are currently set to charge the phone. I need to do the Data Transfer setting but am unable because of the broken touch screen. I talked to Sony support and they were no help whatsoever.

Can someone please tell me if there is a workaround? I am a tech so I will understand what you are saying even if it is complicated.
Thanks,
Mark

I have a phone with smashed screen as well and need to recover photos and videos. Searching around I have found several places where they mention using OTG (On The Go) USB cable to hook up a mouse and keyboard, also you can possibly hook up the phone to HDTV as explained here:
http://androidforums.com/threads/broken-screen-no-backup-and-need-your-data-try-this.841614/

I am yet to try the methods described as I need to buy the necessary cables first.


Stop Chrome caching webpages Is there anyway to stop Chrome on Android from caching webpages? If not is there either another browser that will allow this or a way to achieve the same functionality?

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition.
It gets erased every time you reboot (not with soft/hot-(re)boot).
Since Chrome and other app cache can grow several hundred megabytes, I chose /storage partition so I can save space on user partition.
I did the trick even with Twitter app, Maps app and other apps that grow very large cache size.

These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a 11cachescript.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere. If you don't use a script like above, next reboot symlink will point to a non-existent dir, but still work.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!


Destroyed (boot/recovery).img after rebooting the device I use Realme 3 pro device with SD710 running android 9.0 with ColorOs UI, and i'm trying to root my device with Magisk module. First i followed the instructions at link to unlock bootloader,then followed this link to install TWRP recovery for flashing Magisk to root my device, but after that the device cannot boot-up and i have this message on screen :
 i tried these solutions to overpass this message :

Disable verity-check using ADB with command ./fastboot - disabled-verity - vbmeta flash-verification-enabled vbmeta.img but i get error fastboot: usage: unknown command - .
Disable verity-check by flashing a zip from this link.
Try to patch stock boot.img by using Magisk manger followed the instructions link.

noticed: Secure boot status still yes in fastboot mode, and the device only boot-up iff after flashing the stock boot.img and stock recovert.img but with no root.
So i think the problem caused by secure boot, how to solve it? and if there is another one what could it be?

Thanks for advance.

Install the stock recovery first through fastboot. Then install twrp recovery again through fastboot. Then install the zip file of the stock rom. It worked for me. Get the stock recovery and stock rom from
https://forum.xda-developers.com/realme-3-pro/how-to/guide-to-stock-rom-stock-recovery-t3940604


Launch a "shortcut" in Tasker? Can Tasker launch an app's shortcut as an action? I can't find "Shortcuts" as an option in the "Select Action Category"-dialog when creating a new task. This works without problems in Locale.

Strangely, this does not appear to be possible in Tasker, by default. However, I see there is the AutoShortcut app on Google Play which is meant to allow it. Interestingly, Tasker itself will tell you about AutoShortcut (complete with a link to Google Play) if you press the magnifying glass icon when attempting to add a plugin action to a task (I'll update this answer with screen shots when I get around to it).

Theoretically, it should also be possible using the Send Intent action, but that seems way more complicated than should be necessary for such a simple task. If AutoShortcut doesn't work for you, let me know, and I can try to figure out what the Intent settings should be.


Are there any benchmarking apps that measure how smooth scrolling is on a certain device? The one thing I think that IOS (and Windows 8 as well) still has over Android even after all these years is smoothness in scrolling. After a while you don't really notice the difference until you start using an iphone side by side and realize just how smooth it should be.

Jelly bean made things better and recently I bought the new Nexus 7 and 4.3 seems to have improved things even more. Aside from just "feeling" it is smoother, are there any benchmarking apps to verify this?

Most of the difference you see is likely the result of an addition to Jelly Bean (initially in 4.1 and tweaked a bit in 4.2 and 4.3) called Project Butter.  It basically consisted of vsyncing all graphics, using triple buffering, synchronizing touch response with the vsync, and working to predict and prepare for your next action.  Those seem like small things, but they make a considerable difference.

You can see a slow-motion side-by-side comparison here.  Both devices are Galaxy Nexuses, one with ICS and the other with JB 4.1.  The difference is rather striking, especially with the quick contacts demonstration at 0:45.

As such, the new smoothness isn't going to depend so much on the hardware but on how much the device manufacture has tinkered with things, such as with HTC and Samsung using their own Sense and Touchwiz UIs rather than Google's stock one, and thus benefiting less from Butter.


When I'm trying to run "xterm" in termux, it says failed to open display : :0. Why so? I'm running xserver xsdl. Then tried running xterm in it after export DISPLAY=:0 . If I do export DISPLAY=10.94.XXX.XXX:1 , xterm runs fine. I tried to debug it using strace. This is the line, which seems to cause the problem sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused).
Can anyone help me sort out this problem?
Note:I've been discussing this problem on Xserver/xsdl . I was told it might be an android permission issue. So I'm searching for help here.

It seems there is some kind of firewall,which is blocking the connection. I was unable to solve this problem. But I found a work around.
1. Entered a terminal with root privilage.
(E.g : used command su in a terminal emulator)
2. Created a 2nd loop back network by ifconfig
(E.g : ifconfig lo:0 127.0.0.2 netmask 255.0.0.0 up)
3. Fortunately "XSERVER XSDL" recognized this new network without any complain(Never thought it could detect such a weird network).
4. At last set my display to new server from my chroot environment as shown in XSERVER welcome screen.
export DISPLAY=127.0.0.2:1
startfluxbox ( or any xclient program, now everything runs fine)

Note 1: Each time my phone is restarted, I've to create the loopback network again. There might be some .rc files for adding startup scripts on android too. But I never bothered changing them(because I don't restart my phone often).
Note 2: I would really appreciate a true solution though(better if it works without root) because my method can't be applied on a non-rooted phone. So people with this problem but without a rooted phone can't use xserver untill someone finds another solution.


Is it possible to mirror Android screen to PC over Bluetooth? I have to show something on my phone to a large group of people, so obviously they can't just huddle around and look at the screen. I need to display what's on the screen to a laptop. I can't use WiFi, I don't have mobile data, I don't want to be tethered to the laptop with a cord, so the only option is Bluetooth. Range isn't an issue since Bluetooth works up to 100 ft (probably not that much, but much more than my needs)

Is there any way to do this, preferably for free?

Edit: people keep telling me Bluetooth isn't fast enough. Would a Wi-Fi Hotspot work? I'm assuming it doesn't matter is it's 2G 3G or 4G since the only thing that matters is that the 2 devices can communicate with each other, not the Internet.

Bluetooth isn't fast enough to be able to cast your screen on a laptop. It would be possible using WiFi, a USB cable, mobile data or a Chromecast which again uses WiFi.
Short answer: it's not possible using Bluetooth.
If you still need to do this, there are several options available using WiFi. Try Screen Stream Mirroring app.


How to ignore a call? When someone calls me and I don't want to pick up nor reject (sending to voicemail), I silence the ringing and have to wait until the ringing is over before I can use my phone again (the screen is stuck on showing me that I'm getting a phone call).

I want to be able to both silence the call and get back to what I was doing immediately, even if the other side is still ringing. Is this possible?

I'm on a Samsung S7 Edge with Android 6.0.1.

Macrodroid , easy to learn automation app can help you

You can create a macro as below to

Reject calls
Create customisable SMS to let the callers know reason for rejection

To activate the macro you have two choices :

In Constraints add the condition you want the macro to run, like day of the week or time of day
From the app widget . Select the widget, drop it on to your home screen and assign this macro to the widget. You would then be able to manually enable / disable the macro if the earlier option is not suitable

To understand how MacroDroid works and required settings,  my answer here


CaptivePortalLogin crashes every time I try to join a network Every time I try to join an unencrypted wifi network that is protected by a web login (e.g. in a hotel), I get a popup message saying "Android System: Sign in to a Wi-Fi network ", I click on this message, and the result is:

CaptivePortalLogin has stopped
Open app again

I have tried also using Firefox or Chrome to find the portal by accessing a random HTTP page or the exact URL that my laptop is directed to to log in.  Firefox returns "Server not found"; Chrome says "You are offline", DNS_PROBE_FINISHED_NO_INTERNET.  My phone is set to not use mobile networks for data.

Is there any way to fix this or is there a workaround?

System information:

Android 8.1.0 (security patch level 1 June 2018)
Nokia 6.1, model TA-1050
Kernel 4.4.78-perf+ (1/6/2018)

EDIT: I've tried a few apps as a workaround, such as Wifi Web Auth in case CaptivePortalLogin is the problem.  This app errors with "Web page not available", ERR_INTERNET_DISCONNECTED, which seems like an odd complaint for an app designed to establish a connection.  Wifi Quick Login fails as well.

Turn off mobile data
Connect to WiFi
Go to this page: http://google.com/generate_204


sharing email accounts among multiple clients I have configured the default MIUI8 email client with two accounts (one imap and one pop), but I'd like to try other clients. When I install, for example, aqua-mail or k9-mail they ask to configure new mail accounts instead of using the existent, system-level, ones: Settings->Sync->IMAP/POP3.

Is it possible to use multiple clients with the same configured mail accounts?

Yes, it is possible.

If you use POP3 make sure that you deactivate in all clients deleting the messages on the server after fetching them. Otherwise other clients won't be able to download them.

Update: to use an already configured system-level mail account, an email app should have an access to system accounts. Not every email app has it.


Google Store downloads Gmail How do I use Gmail as backup for my Samsung Galaxy 6? Whenever I sign into Gmail it downloads all my email! Should I just set up a dummy account that is used only for that purpose? Or will it continue to download the email regardless. Thanks in advance.

I've disabled and deleted the email account twice but if I try to go into Google store or set up the backup here comes the email.

just made an account for this answer.  Not sure how it would be on your s6 because of touchwiz but it should help you out.  settings>accounts>google>(Pick the account you want to back your stuff up on)>deselect email and stuff and enable backup.
:)


Adding Stock image as secondary rom in multirom? I have a nexus 5, and root. I also use multirom application. I want to create a secondary rom from stock. However I cannot flash factory images hence need to make flashable zip out of it. How do I do it? What other method is recommended?

I'm assuming you have all the things necessary for MultiROM, i.e. modified TWRP recovery installed, MultiROM zip flashed, a custom kernel in Primary ROM having kexec-hardboot patch.

If you're unfamiliar to the terms I used or the requirement is not fulfilled, see Huey's answer here or find the thread relevant to your device, on XDA forum or here.

Instructions:

Boot into TWRP and create a full nandroid backup of your current primary ROM  (my assumption is that the device is running the stock ROM).
On the default page of TWRP :

go to Advanced → MultiROM → Add ROM,
select the memory in Install to → Next,
select Backup → select your recent primary ROM backup → Swipe to Confirm,
after flashing completes, do the reboot and choose your new secondary ROM in the boot menu.

Done!

If you're running a custom ROM as primary, then take its Nandroid backup, flash the stock ROM as primary, follow my aforesaid instructions, and then restore the backup to come back to custom ROM as primary one.


Samsung Galaxy S4, weird model, can I custom ROM? I just got my S4, on a Canadian network. While everyone seems to have I9500, I have the M919V. It's next to impossible to find any useful information on Google regarding this model. Can I use the same custom ROMs as the I9500 users?

There is a way! Read my answer below!

No, since your model number differs - meaning you have a carrier bound device - ROMs meant for standard i9500 devices won't be suited to your device.


How can /proc/sys values be changed at boot (sysctl.conf does this on normal Linuxes)? How can /proc/sys values be changed at boot?

sysctl.conf doesn't exist on Android and echoing values to the proc files isn't persistent.

Use init's write command in /init.rc or any other .rc file. You may also create your own:

# /system/etc/init/custom.rc

on property:sys.boot_completed=1
    write /proc/sys/kernel/hostname MyDroid

Set permissions and reboot device.

~# chown 0.0 /system/etc/init/custom.rc
~# chmod 0644 /system/etc/init/custom.rc
~# chcon u:object_r:system_file:s0 /system/etc/init/custom.rc

You may also use some early trigger like on init or on boot but your value may get overwritten by some later trigger.

Also some values aren't allowed by SELinux to be written by init. E.g. /proc/sys/vm/drop_caches and /proc/sys/vm/dirty_ratio are writable only by vold. In this case you can use  exec command which allows changing SELinux label before command execution.

# /data/sysctl.conf

kernel.hostname=MyDroid
vm.dirty_ratio=20

# /system/etc/init/custom.rc

on property:sys.boot_completed=1
    exec u:r:magisk:s0 -- /system/bin/sysctl -p /data/sysctl.conf

* sysctl is toybox applet. Or you may use busybox.

For other options see this answer. Some apps may also provide similar functionality but I never used one.


How to reset a non admin user password in Lollipop? My son forgot his password in my Nexus Tablet. He does not remember the pattern to draw. Is it possible to reset it, or I must delete his account and recreate it?

It used to be possible. Android used to display an option after a number of failures, but it does not work anymore in Lollipop.

I have the password if the admin user. Lollipop does not display the forgot pattern link anymore. If I downgrade, I'll loose all my data.

If the device is rooted, resetting the PIN/Password/Pattern involves the same dirty tricks that you would use if Google credentials doesn't work and you don't want to do factory reset.

Install a file manager with root explorer abilities such as ES File Explorer or MiXplorer.
When you're logged in as the primary user, use the file manager to go to /data/system/users/10/ and rename:

password.key → password_old.key // to reset PIN/Password
gesture.key → gesture_old.key // to reset Pattern

10 is not absolute here. You'd have to identify which userId belongs to the account whose credentials you want to reset.
Changes would take effect immediately but you may consider restarting the system.
Switch to that secondary user. You can now use any Pattern/PIN/Password and it would unlock the screen.
You can also set a new lock-screen security from scratch.


What's that little button with the squares called? On my Motorola, it has four squares and the top-left square is solid. I'm not sure if all Android phones have it. "Home", "back", and "search" all seem pretty straightforward. Does it have a specific name or is it just "menu"?

(can you tell I'm new to Android?)


Will Netflix still function properly on my LG K7 if I root it? I recently got a new phone (LG K7, MetroPCS) and there are some things that I wanted to do, which require root access.

I know how to root, and I know some apps won't work on a rooted device (Android Pay, Samsung Pay, etc.) But on howtogeek.com it also said that some paid TV/video streaming services will not work.

I would like to know if this applies to Netflix, if it does, I probably won't root it, as I would like to continue using Netflix. Thanks in advance!

I was using Netflix app on rooted device without problems, abouth month ago. So you probably won't have any problems.


Trying to solve Problem: Huge Contacts Database On a HTC Sensation running ICS 4.0.3, something caused my contacts database to rapidly grow.

The DB is now 580 megabytes and growing (sometimes over a megabyte per hour) despite the fact that I:

disabled all syncs (I found out that the Google Contacts sync had been not working for the last couple of months)
uninstalled all 3rd party sync apps (LinkedIn, FaceBook)
removed all all accounts but my Google accounts from "Accounts & Sync"
disabled all network access (no WiFi, no Data)

None of the above steps made the problem go away.
Looking with Contacts Remover, some contacts have about 300 LinkedIn contact links and photos.

My goal is to save as much information as possible, sync that to my Google account, then ditch the Contacts database and reload from Google.

The constant memory pressure makes it hard to run applications (I need to move apps to SD to get some storage memory, then run something, and hope that while running the storage memory doesn't run out).

Basically my phone is now useless.

My idea to try solving the problem is this:

export the Contacts to VCF on the SD card (success)
copy the VCF to a machine that can run the Android AVD (success)
install an AVD that allows to add a Google account for sync (success)
copy the VCF to the AVD SD card using DDS in Eclipse (success)
import the VCF into the People app of the AVD (success)
sync the AVD to Google (fail)

The last step fails, but doesn't generate any error.
The AVD is using these settings to be as close as possible to my physical device:

Target=Google APIs (Google Inc.)
Platform=4.0
API Level=14
CPU/ABI=ARM (armeabi-v7a)

Two questions (given that I want to sync back the contacts to my Google account):

How can I make the last step work?
What alternatives can I use if I cannot get the last step to work?

The VCF files total to about 3 megabyte (with about 3000 contacts that is about a kilobyte per contact, not close to 200 kilobyte as in the DB)

You already have a working vCard file (.vcf), just import it using GMail's web interface. If this VCF is still bad, you can apply simple text processing (regex search & replace) to it before importing it to Google.

Here are the steps to import a vCard file into GMail using the web interface.

Here's an excerpt from Google's help:

Click Gmail at the top-left corner of your Gmail page, then choose
Contacts.
Click the More actions dropdown menu and select Import....
Click the Choose File button and locate the vCard file you'd like to
upload.
Select the file and click the Import button.


Performance gain from upgrading higher class SD card Possible Duplicate:
  Is the class rating of my MicroSD card relevant?

If you've upgraded the SD card on your phone to a higher class, have you measured or noticed any significant performance difference?  What kinds of apps seemed most affected?

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


Nexus 6P charges slowly on stock 6P charger, but 5X charges rapidly TL;DR: My wife's LG Nexus 5X has no issue charging with her LG charger or my Huawei charger. My Huawei Nexus 6P charges slowly with the Huawei charger but at full speed with the LG charger. Is there an explanation for this, and am I likely to run into more incompatibility (i.e. is it my phone or the charger)?

I have a Huawei Nexus 6P, and my wife has the LG Nexus 5X. When we first received them, we could use both either charger/cord combination and we would get the full 3A/5V ("charging rapidly" message appeared).

After a month or so, I noticed that my phone wasn't charging as quickly as I was used to, so I looked and saw it said "charging" but not "charging rapidly," which is what I get when I use a regular 2.1A charger. I looked and this was on the stock Huawei charger (that went with my 6P). I tested this setup with my wife's phone, and her phone said "charging rapidly."

At this point, I used her LG charger, and I once again got the "charging rapidly" message. I then tried both cables in both chargers, and it was only the original cable with the original charger that gave me a slow charge (charger and cable from Huawei). I did the experiment back-and-forth several times to make sure it wasn't just a fluke.

That was fine, I just switched the cables and was able to use either charger and get the "charging rapidly" message.

Eventually, though, I noticed the issue again, but this time with the cable from LG and the charger from Huawei. I tried switching the cables, but it didn't work.

So now my Huawei phone can't charge at full speed with the Huawei charger, but my wife's LG Nexus 5X can without issue. My 6P can charge at full speed with either cable using the 5X charger, but won't charge at full speed on the 6P charger with either cable. The 5X can charge at full speed using either charger with either cable.

I realize that I could just pitch the charger and maybe never have to think about it again, but that doesn't make any sense out the problem. I'm curious about the very specific progressive incompatibility, and I also don't want to deal with the same problem with another charger or set of chargers down the road.

So, is there any explanation for this hardware incompatibility? Also, is there a good chance this is a software issue? I noticed it after flashing either PureNexus or Chroma, but I'm sure it carried over after going back to PureNexus from Chroma, so I'm assuming it wouldn't be fixed by going back to the stock ROM.

Background Information

From Nexus

  The Nexus 5X and Nexus 6P use USB Type-C for charging, so not all cables and chargers will work with these phones. We recommend using the charger that came with your Nexus.

Also corroborated here for LG Nexus 5X
Decent comparison of  Type C Charging. Point to note is that current supplied can go upto 3A unlike conventional charging or Qualcomm Quick Charge 2.0
When your device gets 3A it displays "charging rapidly" and when it gets 2.1A (conventional charging),  it displays "charging". This can be verifed by using an app like  Ampere

Analysis of symptoms described by you

To start with Nexus 6P/ Nexus 5x in any charger/cord combination
gave "charging rapidly"
6P Charger + 6P Cable on 6P → "charging"
6P Charger + 6p Cable on 5X → "charging rapidly"
5X Charger + 6P/5X Cable on 6P → "charging rapidly"

Conclusion from above → 6P Charger suspect

Later, 6P Charger + 5X/6P cable on 6P  → "charging".
By this statement , I guess you mean 5X/6P Charger and 5x cable on 5X   → "rapidly charging"

  So now my Huawei phone can't charge at full speed with the Huawei charger, but my wife's LG Nexus 5X can without issue

Conclusion from above → 6P Cable suspect

You could purchase a 6P Cable from here, being Google recommended and it should be fine IMO and verify current using Amplify app. If that doesn't fully fix the issue, then you may need to purchase 6P charger also as indicated from 6 to 8

I don't think it is OS issue since switching to stock didn't help (your question doesn't make it clear if custom OS was flashed only on 6P or both)- only way to rule this out entirely is by switching to stock on both

Let us know the result

EDIT:  Based on the clarification by OP , I strongly believe that replacing 6P  charger should fix the issue (since cable issue is ruled out) and nothing points to device problem All the best


Atrocious battery life with Cyanogenmod 11 on Galaxy S4 mini I love so many things about CM10, but the battery life is an absolute nightmare. I made a comparison against the stock firmware by leaving the phone unused for as long as I could. Results:

Stock: ~5.2 days standby to full discharge

CM10: ~1.7 days of standby to full discharge

Is there anything I can do about this, or is CM10 simply not supported properly on my device?

Made these screenshots on my S4 mini by leaving it unused for as long as I could. In the CM10 example it actually powered off due to low battery and I had to plug it in before it would even turn on again, so this is NOT due to any calibration; the battery was actually empty at the end of the test. But even if you take the final charge as 15%, the numbers are still atrocious.

These are the settings I use on my phone, which have helped with the power consumption.

Under Performance

-> Processor

CPU governer: ONDEMAND

-> Profile

Power save

General Settings page

-> Location Services: off

-> Bluetooth off

-> Mobile Data (3g): off

There are also some apps that may be helpful, one of which (I've only heard of it not actually used) is called SnapDragon Battery Guru.

If you can't find the performance settings turn on developer options (instructions here)


Download internet pictures become low quality I have downloaded a picture from internet:

But, when  I view it from gallery, it looks like very low quality. Its smoothness is completely gone:

I need to set a smooth picture as a wallpaper for my phone, and the downloaded version is too low quality to use. Can someone help me?

Edit: Looks like even my screenshot makes the web picture look blurry, anyway here is the link to the original picture:

http://picview.info/download/20150531/brown-shadow-background-black-1080x1920.jpg

I think it's to do with the resolution of the wall paper you downloaded - it's 1080 * 1920 image , which is not high enough to be scaled properly on your device without blemishes as noticed by you

Typical Hi resolution wallpapers which give a better result are in the region of 1240 * 2208. You could Google those for the solid colours you are looking for or use an app like Solid Colours ( I haven't tried that app but use a different app that gives jet black wallpaper )


SGS2 Replace preinstalled apps in Custom ROM Is is possible to change / modify the custom ROM you're about to install on your rooted Galaxy S2 (9100)?

Usually, I would install CyanogenMod 10 Nightly build. Then, I'd install GAPPS (google apps). Lastly, I'd restart and it would work.

Now, what I want to do is to replace a default CM (CyanogenMod) apps (SMS, Contact manager/Call manager) with those included in JB 4.1.2 (leaked version).

Is there any way to achieve it?

Thanks in advance for any info and suggestions.

UPDATED POST

Here is a pic of apps difference in icons (on left CM10, onright JB)
And here is a snapshot of apps in system/app/ of those versions

Since you're rooted within CM, its a matter of doing the following, provided you have read the following:
Caveat Emptor:
The Jellybean leaked apks are signed with the signature key used to generate the signed leaked ROM of JB, however, it may clash with CM's own signature key which is, and I'll guarantee, different, so may not work at all!
You are on your own from there onwards.
-------------------------------------

remounting the /system rewriteable as in adb remount to make it writeable
replace the apk's concerned within /system/app by adb pushing the appropriate apks taken from JB, as in adb push name_of_jb_apk.apk /system/app (Repeat for each apk concerned) - this will overwrite the apk's already residing in /system/app
remount the /system as read-only as in adb remount

Reboot, and go into clockworkmod recovery and clear the data/cache, the reason being is to remove the old cached data that was in use by the old apk's, and thus, minimize the chances of force closes within the relevant apks in question.
I will list the actual filenames for the apk's concerned:

Sms, the filename is Mms.apk
Contacts, there's two apks involved, ContactsProvider.apk and Contacts.apk
Dialler, name is Phone.apk, now, beware, this may have a dependency on TelephonyProvider.apk also.

Whilst I have mentioned the actual apk's, I am therefore disclaiming any responsibility for anything that may happen on your handset as a result of replacing system apps.


How can I detect if a shell script is running on Android? What is the most reliable way to detect if a script is running on Android (instead of a regular Linux build)?

To run scripts, I'm using bash, the Terminal app, and BusyBox.

To do this, we need the code below in a file somewhere on the Android device (in /data/checkdroid for example):

ANDROID_HOST=0
ANDROID_BUSYBOX=/system/bin/busybox
ANDROID_BUSYBOX_APPLETS="acpid add-shell addgroup adduser adjtimex arp arping ash awk base64 basename beep blkid blockdev bootchartd brctl bunzip2 bzcat bzip2 cal cat catv chat chattr chgrp chmod chown chpasswd chpst chroot chrt chvt cksum clear cmp comm conspy cp cpio crond crontab cryptpw cttyhack cut date dc dd deallocvt delgroup deluser depmod devmem df dhcprelay diff dirname dmesg dnsd dnsdomainname dos2unix du dumpkmap dumpleases echo ed egrep eject env envdir envuidgid ether-wake expand expr fakeidentd false fbset fbsplash fdflush fdformat fdisk fgconsole fgrep find findfs flock fold free freeramdisk fsck fsck.minix fsync ftpd ftpget ftpput fuser getopt getty grep groups gunzip gzip halt hd hdparm head hexdump hostid hostname httpd hush hwclock id ifconfig ifdown ifenslave ifplugd ifup inetd init insmod install ionice iostat ip ipaddr ipcalc ipcrm ipcs iplink iproute iprule iptunnel kbd_mode kill killall killall5 klogd last less linux32 linux64 linuxrc ln loadfont loadkmap logger login logname logread losetup lpd lpq lpr ls lsattr lsmod lsof lspci lsusb lzcat lzma lzop lzopcat makedevs makemime man md5sum mdev mesg microcom mkdir mkdosfs mke2fs mkfifo mkfs.ext2 mkfs.minix mkfs.vfat mknod mkpasswd mkswap mktemp modinfo modprobe more mount mountpoint mpstat mt mv nameif nanddump nandwrite nbd-client nc netstat nice nmeter nohup nslookup ntpd od openvt passwd patch pgrep pidof ping ping6 pipe_progress pivot_root pkill pmap popmaildir poweroff powertop printenv printf ps pscan pstree pwd pwdx raidautorun rdate rdev readahead readlink readprofile realpath reboot reformime remove-shell renice reset resize rev rm rmdir rmmod route rpm rpm2cpio rtcwake run-parts runlevel runsv runsvdir rx script scriptreplay sed sendmail seq setarch setconsole setfont setkeycodes setlogcons setserial setsid setuidgid sh sha1sum sha256sum sha3sum sha512sum showkey slattach sleep smemcap softlimit sort split start-stop-daemon stat strings stty su sulogin sum sv svlogd swapoff swapon switch_root sync sysctl syslogd tac tail tar tcpsvd tee telnet telnetd test tftp tftpd time timeout top touch tr traceroute traceroute6 true tty ttysize tunctl udhcpc udhcpd udpsvd umount uname unexpand uniq unix2dos unlzma unlzop unxz unzip uptime users usleep uudecode uuencode vconfig vi vlock volname wall watch watchdog wc wget which who whoami whois xargs xz xzcat yes zcat zcip"

checkAndroid() {
    [ ! -e "/system/bin/adb" ] && return
    ANDROID_HOST=1
    if ! type $ANDROID_BUSYBOX >/dev/null 2>&1; then
        echo "FAILED! this program needs busybox to work on Android" 1>&2
        exit 1
    fi
    for i in $ANDROID_BUSYBOX_APPLETS; do
        eval "alias '$i=$ANDROID_BUSYBOX $i'"
    done
}

Here is an usage example of this fixture:

source "/data/checkdroid"
echo "ANDROID_HOST=$ANDROID_HOST" && type rdate
# output:
# ANDROID_HOST=0
# rdate not found
checkAndroid
echo "ANDROID_HOST=$ANDROID_HOST" && type rdate
# output:
# ANDROID_HOST=1
# rdate is an alias for '/system/bin/busybox rdate'

Source: https://gist.github.com/enten/67c4e332908b248a59a9


speaker option enabled by default when answering the calls Can any of the applications change the call settings? All of a sudden have observed that when an incoming call is answered, Speaker is enabled by default.

After uninstalling some of the applications related to calls, it became normal.
But I would like to know what/which caused the change in settings.
Apps I deleted are TrueCaller, Call Recorder.

Any information related to this is helpful. Thanks in advance.

Samsung Galaxy Note 2 running 4.1.2 JellyBean.

I know for certain that some apps do have the option of changing the setting (e.g. InDrive allows you to switch to speakerphone when driving)

As for the second question, I believe that CallRecorder is the culprit, because:
a) I have tried TrueCaller once, and did not experience anything like you are mentioning,
b) Call recorder apps generally can't work on unrooted Android (as far as I know) unless you are using the speakerphone, so that they can record your voice, and the voice coming from the speakerphone.


Clockworkmod sd-ext partitioning + link2sd mount = Where is my ext partition mounted? HHi all...
I am desperately trying to locate my sd-ext partition in android terminal...

Where is it located?

Or, if the location changes from smartphone / rom...
How can I locate it?

I've tried fdisk -l without luck (the command doesn't exist in android)

It's in

/data/sdext2

Now I just need to understand how to mount it manually.


CyanogenMod, why doesn't Market self-upgrade? I've bought a used HTC Magic with CyanogenMod 5 on it. It has Google Market. The market version is 1.713 - which is nowhere near the latest IIRC. In-app billing, for one thing, is not supported.

Isn't Google Market supposed to upgrade itself when a new version comes out? Why doesn't mine do so? Probably some kind of CyanogenMod interference. Any good way around that, please?

EDIT: debugged the situation a little bit. I happen to know that market updating happens out of the main Market process - the Market (com.android.vending) downloads the update, then fires a broadcast intent UPDATE_MARKET to a receiver in another app (com.android.vending.updater), which in turn installs the package. Here's what I got in the LogCat:

  02-01 02:34:16.155: W/ActivityManager(121): Permission Denial:
  broadcasting Intent { act=com.android.vending.UPDATE_MARKET
  dat=content://downloads/download/31 } from com.android.vending
  (pid=1762, uid=10006) requires
  com.android.vending.permission.UPDATE_MARKET due to receiver
  com.android.vending.updater/com.android.vending.updater.UpdateMarketReceiver

So it looks as if the Market app lacks a permission to invoke the updater. The manifest file of Vending.apk, however, does have a

<uses-permission android:name="com.android.vending.permission.UPDATE_MARKET" />

line. How is it possible for an app to have a <uses-permission>, but receive a permission denial message?

EDIT2: the permission com.android.vending.permission.UPDATE_MARKET is marked as "signature" in the MarketUpdater manifest. Meaning only apps signed by the same certificate as MarketUpdater are granted that permission. That could be the reason Market is not granted the permission - could be signed by a different certificate.

EDIT3: that's exactly the case. The public key is different. The one on Vending.apk seems to match that on various versions of Vending.apk that are floating around the 'Net.

It probably has nothing to do with CM; the Market is just really, really bad at updating itself.  Sometimes clearing the data for it will help, but sometimes you'll additionally need to install a newer version manually before it will start updating itself again.

I've installed the 3.4.4 Market from Android Police a few times, if you're looking for a safe file.  Just put it on your SD card or internal storage (make sure it has the .apk extension) and install it via a file manager.  Settings -> Applications -> Unknown sources needs to be checked for this.


Changing language from hardware keyboard in ASUS Eee Pad Transformer TF300T Today I have updated my Asus Eee Pad Transformer TF300T to Android 4.1 and was very disappointed. On Android 4.0 I used Ctrl+Space in Russian ASUS Keyboard to switch input language between English and Russian, and now it's not working! Just pop up notice that language was changed but language stays Russian. I've tried to use other languages, but all of them do the same. Restarting device does not help.

Ctrl + Shift does the job. A window appears where you can change the language. Worse than in Windows, but still...


MOGA Pro Power gamepad not detected in Chrome I've connected a MOGA Pro Power gamepad to my Nexus 5 phone, in mode B (HID). It works well in Gamepad Tester, but doesn't do anything in the Chrome browser (as tested via html5gamepad.com).

Is the Gamepad HTML5 API supported on Android? If so, any idea why it doesn't work with my controller?

According to HTML5test, Chrome for Android (as of v33) does not support controller input APIs. You'd likely have to wait for this to be implemented in some future version, or try to find a browser that does support it.