text:
Simulate missed call from ADB shell
On the ADB shell, I run the command
adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456

to place a call on my testing device. It works great. But I also want to simulate a missed call from the ADB shell, as I would by telnet with the command gsm cancel +123456, for example.
I cannot find anywhere how to do this. Is this even possible with ADB? If so, how?
P.S: the command adb -s <serial_number> shell input keyevent 6 is not an answer!

If you are working with a rooted device or eng build device, you can push TeleCommTests.apk under data/apps/TelecommTests/ which has to be built along with Android source code and then fire the below intent from ADB:
adb shell am start -a android.telecom.testapps.ACTION_START_INCOMING_CALL -d "tel:123456789"


text:
Increase RAM through SD Card
In Windows, it's possible to use SD card as RAM.
Is something similar possible in Android (with and without root)?

On many recent devices ZRAM is enabled by default which is far better than using SD card as SWAP. Some details on why using SD card as SWAP partition is a bad idea: https://android.stackexchange.com/a/220042/218526

It's possible but I would not suggest you as the SD card is way too slow to use as RAM. You can use "ROEHSOFT RAM Expander (SWAP)" app on a rooted Android device to increase RAM.
Source: XDA Forums - [Guide] [RAM EXPANDER swap] Easiest Way To Increase Ram in Galaxy Y

You don't need any app to enable SWAP. Just do mkswap once on SWAP partition or file and do swapon on every boot. But you correctly said that using SD card for SWAP is a really bad idea.

Yes it is. As on Linux, it's called Swap. It might be useful on devices with minimal RAM (512MB and less), but unlinkely on those coming with 1GB and more.
There are apps available helping you to configure swapping. You find most of them searching for swapper.

@user62355 note that most of these apps will only resort to using flash memory for background apps. This is because it is not nearly as fast as actual RAM. If you need more RAM for cpu-intensive tasks, then you should get a new phone.

@KevinOrr agreed. But for Windows that's the same (RAM is the fastest memory in a device) – with the only difference that there you can buy new RAM instead of a new computer ;)

Oh yeah. Totally agreed. But that's true: it's a shame that our can't do that with mobile devices. Actually, maybe with Project Ara! :O

I think OP meant ReadyBoost, which saves some RAM by moving HDD's lazy-write cache to Flash. Anyways, onboard eMMC is faster than TF.

It's possbile.
However SD Card is extremely slow, so Android don't use SD Card as a swap, using ZRAM  instead
ZRAM will allocate a memory area as swap, compress unused allocated memory into this area;
ZRAM usually used on low-ram device.
However, ZRAM is battery consuming when you are in low memory situation;
If you ram is not enough, better policy is keeping as less backgourd application as possible by increasing LMK paramters;

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
WiFi keeps disconnecting and reconnecting frequently
I have an Android phone running 4.2.2. I am using a TP-LINK ADSL router and the connection is stable. But every time I open an app that tries to access the internet, my connection keeps connecting and disconnecting frequently. I have another phone running on the same version of android but the connection is stable on it.
What could be the problem? Any useful suggestions are welcome.

Go into settings→ wifi, then uncheck 'smart network switch'.

I had a similar problem in that my tablets would connect/disconnect and my laptops would be just fine.
So here was my solution. This may or may not help but worth a try. You don't say what the other phone is. Different OS or whatever.

Anyway log into the router and look at the wi-fi settings.
First go to Accessories, Command Prompt, type in ipconfig and look at your gateway IP and put that number in your browser address bar and do a CR>. (I type in a different number than my Gateway IP, maybe because I have Mediacom as my IP provider)
Now you will see a box that comes up and something that calls for a Username & Password.
Type in ADMIN, PASSWORD. Either all CAPS or all lower case. If that doesn't work, just try the word "username". If that doesn't work then you need to call your IP and have them reset because ADMIN and PASSWORD is the default.
Anyway if you get in, go to SETUP Wireless Settings.Your channel should be on Auto, and your Security settings should be set to:
WPA-PSK[TKIP] + WPA2-PSK[AES
Grant you I have an "older" router. There may be newer stuff out there. But since this is the only answer you got so far, it's worth a shot to try and see if it gets better.

The other problem may be a short in the antenna which means cracking open the phone and soldering it, possibly blowing the warranty. Actually, I don't think I'd mess with that myself unless I figured I had nothing to lose and had tried all other options.
 I'd also try using a buddie's Mi-FI or another cell as a hot spot and see if that works. If it's a no-go, it probably is the antenna.

okay, I solved it. I restarted my router when this type of behavior shows up. Is there any explanation?

It may be due to other (open) WiFi signals "disturbing your device". With multiple APs being available (in range), your device might try switching to the strongest signal. Of course this would require your device had been connected to them before (Android doesn't automatically connect to "unknown" networks – but it does automatically connect to networks you've used before).
If there are networks in range you've used in the past, you could try to remove them from your "known networks": Go to Settings › WiFi, and check which networks are listed. Tap-and-hold each of them will reveal a context menu allowing you to edit or "remove" it. Chose the latter will tell your device to "forget" it has been connected here already, and thus to not automatically connect it. Just leave the one you want to use being "known" should rule out this cause.

We have the same problem, but now I discovered the root of the problem. If you are connecting to a WiFi with a weak signal or a WiFi with many devices connected, then it is the cause. Whenever I tried playing games with WiFi with a weak signal and many devices connected, it keeps disconnecting and connecting because our phone might be too weak to accept a WiFi signal.

Some versions of Android have a WiFi power saving mode which can come already activated when you buy the phone or by consequence of an activation made by an app (in my case it was the latter).
This mode will disconnect the WiFi connection whenever it's not being used and reconnect it when you start using it again. I found that it does it quite frequently though.
But some connections have security settings that require you to manually log in to the connection every time you want to connect, in these cases I can assure you this little problem becomes a pain in the ass.
So what I found was that in order to disable it you should dial *#0011# then you hit the menu button and select WiFi. You will get a page with the connection details and there you'll find a label saying WiFi power saving mode and a button under it, turn this button off.
This did the trick for me, I hope it helps.

I used to have the same problem and here's what I did

Dial *#0011#
Then press the menu button and select WiFi
You'll notice an ON button
Turn it Off
Restart the phone

P.S. When you restart your phone, recheck if it's still OFF, if not repeat until it works.
It has worked for me and now my WiFi is connected all the time.

Dialing *#0011# doesn't work on Nexus 5, could you mention what's your device model?

It could be an issue with McAfee firewall; I put McAfee W-Fi security off for a few seconds and wow the wi-fi did not drop; now wifi is working as well as the McAfee wi-fi security is also put back as 'on'

He didn't mention though using a firewall.

There are all manner of issues that can affect WiFi performance.

Noise Any other energy at frequencies used by your connection. This includes other WiFi devices but also other things like microwave ovens and wireless phones. You can try to set your AP to a channel that has less noise. The nonoverlapping channels you should set a 2.4 GHz WiFi AP are 1, 6, 11, and if your country allows, 14. In general, there is less traffic on 5 GHz channels, so these are a good option if supported by the AP and phone. Your AP may have an option to automatically change channels if it encounters a lot of noise.
Hardware Some devices are poorly designed and require physical modification to work acceptably. This depends on your particular phone model. Check that the antenna(s) on the AP are properly attached, and play with their orientation. LifeHacker suggests to orient two antennas perpendicular to each other.
Software/Firmware Install the latest updates, both for your phone and AP.

I just selected Advanced on Android WiFi settings, then I pushed the WPS button on the router and at the same time tapped the WPS push button on Android WiFi settings. So far my phone has not disconnected.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
When rooting a device, how to check that the update.zip I download is legit?
I have an Android device (Samsung Galaxy Pocket S5300) which I want to root, because I have used Ubuntu on my PC and notebook for five or six years and I am familiar with doing different maintenance there using root, so I want to have a way to use root-privileges on my smartphone too. I don't have a lot of experience in developing smartphone applications and rooting smartphones, so I need a bit of help.
After a bit of reading, I read that I should download an update.zip file, which I should select in the recovery mode.
I read this thread on XDA Forums where they say I should download an update.zip from MediaFire. I downloaded it to my PC and had a look into it and could find the various binaries that I need to be installed (su, busybox, superuser.apk, etc.)
Now I have a question: do I really need to download an update.zip from MediaFire, where I don't know what it comes from? The reason I'm worried is that I don't know who has created it and have no real possibility to check if the binaries I will execute are not compromised and have no viruses, etc. I am a bit scared to execute binaries somewhere from the web (with root privileges) where I don't know if they are to be trusted and to be sure that they are no viruses, spyware, etc.

Whether the file is on MediaFire or XDA, you still run the risk of a user putting up a bad file (whether maliciously or incompetently). You have to trust someone unless you decide to make your own ROM from scratch.
You could always open the update.zip file and do a cursory look at its contents. And if the poster has a good history, that gives points in their favor. Many posters on XDA host their files on external download tools like MediaFire; it doesn't inherently make the file more suspicious.


text:
HTC One Messages app extremely slow, but just when I text one person!
My friend (who texts me a lot of pictures of his kids) sent me a barrage of pictures and one video. Ever since then, texting him is excruciatingly slow. These things happen:

Just getting our text thread to open takes much longer.
When typing, some words get stuck and I have to wait until the word is completed.
When I do get the text written and hit send, the message disappears for a little while, then it appears, but as not sent yet, and then  after 30 seconds, finally sends.

Texting all other people is just as quick as it ever was.
I'm wondering if it's because I've got so many pictures in the thread? Can't think of anything else.
I'm deleting some pictures, to see if it helps, and I think I might try clearing the app's cache, but I'm not sure what that does.

Just tried clearing my Messages apps cache. When I click 'Clear cache' button. Nothing happens. However, it says my cache only has 52kb in it anyway...so... back to the drawing board?

If you're reluctant to delete the entire thread, you could (patiently) scroll back and remove some/all of the media he sent.

I did end up deleting the entire thread and it solved the problem.

Might be a small bug because it is specific to only one contact. Hoping you've saved all the stuff you want from that thread, delete the thread/whole conversation. If you don't mind delete the contact also by writing his number somewhere. Now start fresh again by creating the contact again and see what happens. Comment.

I was having the exact same problem.  After reading this question, I deleted the entire thread (which took my phone about 3 minutes) and it solved the problem.  What a relief.

I have this same issue on my HTC One. Significant lag in a group text thread that has a lot of stuff (lots of messages and lots of pictures), and when texts are coming in, they're coming one after another.
Deleting the thread solves the issue until it gets big again. It seems like the app really struggles with a thread that gets too "heavy".

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
Installed Gapps, but Google Play services is not there
So I finally found a way to install CWM in my Lava Iris 430 which runs on ICS 4.0.4 and installed Gapps (gapps-ics-20120429-signed version). It was successfully installed, but it missed Google Play Services. What should I do?

This happens with Copperhead OS too : If you install gapps, then it simply does not appear when you boot.  It can be avoided but only with some rather more serious effort.  I asked a more specific question about why it happens here :   https://android.stackexchange.com/q/179447/10506

Open the Play Store and Google Play Services will download automatically.


text:
Replacing the dialer
I have recently replaced the stock Samsung system on my Samsung Galaxy Note 2 with Paranoid Android, but I don't like the dialer.  I have tried a few alternatives and found some I like, but none of them replace the bit that actually makes the calls.
When I use, e.g. Dialer One, I get a great interface that I like, but the moment I press the call or answer button it goes back to the original interface.
Is there any way to completely replace it?

Well, nope I don't think that you could do that over your end. I would say its over the hands of the developer, or better for you would be getting the source code of the Android downloaded and customise it on your own if you...! Otherwise nope there isn't anyway out !

In theory you could flash a zip through recovery that has the dialer, the phone itself and all the other necessary elements sure. From my experience though all but one time it was plagued with crashes and errors. It definitely CAN be done but it's very messy. Most Samsung specific features need Touchwiz framework to some degree behind the scenes.

Thanks.  I don't necessarily want the samsung one, I just don't like the standard android one!  Maybe I should just have a look for a better looking rom...

Did you set Dialer One as default dialer in its settings?

Take the dialer from your old stock ROM, extract from the zip, and install in new ROM. You'll need the app "/system/app-mover", free from playstore, to move stock ROM dialer into the system.  Goto settings>apps and disable custom ROM dialer. Your running a custom ROM so this should work, I did this on my HTC.
If this doesn't work out right,  just reverse the steps. No damage to the system.

I don't think we can do this just by installing an app.
I mean, we can't define our new app as default app for making/receiving calls.
So, I think it's in ROM developer's hand. Only they can replace it with custom one, AFAIK.

Not with an apk but you could with a zip in certain cases. You can with a rooted device push it to the /system folder also, and replace the existing one, but it rarely works at all.


text:
Introspy: trace file (introspy.db) is not created
I am trying to use Introspy tool in Android device, but the trace file (introspy.db) is not being created. Kindly any help if you have tried using this.

Is your device definitely rooted? And are you looking in the private directory of the app you're analysing, not the config app? And finally, what has your question to do with the emulator?

yes device is rooted , i am looking into app's file system only not into the intorspy app's directory..  for example com.example.test is my app, i am looking into /data/data/com.example.test folder...

Consider to post a new issue on their issue tracker to let the developers know about it. Probably, the error is not on user-side, but developer-side.

I know this was asked a long time ago but in case anyone else who searches needs an answer:
I also had this problem when running Introspy on a Galaxy S4 running KitKat (4.4.2).  I have ran Introspy with zero problems on a Nexus S running JellyBean (4.2.1).  Because of this I believe it is an Android SDK problem with newer versions.
If you look at the AndroidManifest file for Introspy-Android Core, the targetSdkVersion is 18, which denotes Jellybean.  I looked at logcat files and found that I was getting the error:
Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

I simply added this permission to the Android Core AndroidManifest.xml file as well as the Android Config AndroidManifest.xml with the command:
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>

I then just recompiled both binaries and it worked!  Hope this helps.

Good to know it works! Consider to create a pull request.


text:
Can I restore my contacts on new phone?
I was using Samsung Galaxy S Duos, which was stolen 2 months back. I now have a new Android phone - the Micromax. I thought I lost all my contacts, but somebody insisted that you can restore it using Gmail account even though I never manually performed a backup of my contacts. I remember the day when I took the phone, and it asked me for a Gmail account.
For my profile and I gave the Gmail account and also always "Account sync" option was on in my mobile.
Now my questions are:

Can I still get those contacts restored on my new mobile? I have not manually done a backup, just the Gmail account that I set when I got that phone was in sync.
If yes, can I get it on Micromax cell also?

First, make sure that your contacts from your old phone were saved as Google contacts. You can do that by going to: http://www.google.com/contacts from any computer and login in with the Google account you used on your old phone.
If your contacts are there - you're in luck. Just add this Google account to your new phone and the contacts will be synced.

Or just contacts.google.com will do.

Yes to both of your questions. Once you attempt to sync your phone to gmail, it should ask you if you want to import contact from your Google account. That said, if you exported your contacts from your previous phone, then you will be able to retrieve them on any Android device.

His previous phone was a Samsung Galaxy. If he backed up to Samsung Account (Cloud) he won't be able to restore to Micromax using Google Account. These are two independent, parallel systems. Also, Auto Backup is enabled by default, so he will definitely be able to restore, unless he intentionally disabled it.


text:
Turning off cell broadcast in HTC Desire 816
I have been receiving about 50 flash SMS a day, with my service provider name, from the number 50. As I read here, it might be a issue with activating and deactivating cell broadcast on the phone. However, I could not find the path suggested for the deactivation (Setting - Call - Other Call Settings). The option does not exist on this path. Any help?
Mobile: HTC Desire 816
Android Version: 4.4.2 with Sense 6.0

Welcome to Android Enthusiasts! There are just 15 questions using the cell-broadcast tag, most of them asking how to turn it off, several for HTC devices. Have you checked them? With some luck, one of the variants works for you. If so, be welcome to answer your own question – otherwise, please [edit] it to indicate what you've tried and where you're stuck. Thanks!

Try this
Settings - Call - Slot 1 call settings - GSM call settings - Cell Broadcast

Its working fine... No Flash sms after unchecking cell broadcast. :-)

Open menu and select call
Open the call setting and select SIM 1 or 2 setting
Open GSM call setting
Uncheck cell broadcast options

Your problem is solved.

Remove your SIM and put it into any Nokia phone then go to Setting>Phone Setting>Cell info Display>Off.
Then put the SIM back in your HTC Desire 816.
I used Nokia X2-01 for this.

That's a pretty by assumption that the OP has access to a Nokia phone.

Is the problem related the settings of SIM card? - - Related: http://android.stackexchange.com/q/157567/9897


text:
Package verification failed in recovery mode
I have one tablet and I'm installing a .zip file from stock recovery, but it gives the following errors:
Opening update package...
Verifying update package...
Verification failed
Installation aborted.

What causes this type of errors?

What is this zip file?

zip file containing custom recovery

It sounds like the bootloader on your tablet is still locked. By default, most Android tablets will only boot and run stock recovery images and ROMs, for security. It verifies that the ROM is signed by the original manufacturer (or the carrier, for carrier-branded devices). You need to unlock the bootloader to let it know you want to run an unofficial image.
See the bootloader-lock tag for more details, and a starting point to find out how to unlock the bootloader on various devices.

As far as I know, behavior of stock recovery is not related to the state of bootloader.

You usually cannot install anything but the official updates using the stock recovery. It checks signatures of the update files, for a good reason. Without that, anyone being able to modify the ZIP file (during download or on the storage, which can be available to ordinary apps) could get a root access and modify anything. It has not been intended for installing custom packages that are not signed by the manufacturer.
You need to use a custom recovery that is free of this restriction. It depends on your phone/tablet.


text:
Dead spot in Android screen - can't press some keys
There's a dead spot on the right of my Nexus 4. It interferes with pressing some keys.
Is there a solution?

Your screen is broken you need to buy a new one. Even if it's not showing any scratches.

The solution that I've found is to use the SwiftKey keyboard but choose the "compact" layout.

Then by pressing on the arrow, shift it to the other side, and resize it to the maximum.
Works pretty well.

Is your screen broken in even the slightest bit? It is very common for an LG phone screen to become unresponsive when broken. Also, is the phone second hand? If so it might have had the screen replaced which could have installed a defective screen into your unit.
If either of these are true i would recommend replacing the screen. It is a relatively easy repair.


text:
Making calls with Google Voice on Nexus 5
I'm wondering how (if possible) I can use the Google Voice technology on my Nexus 5. I have it downloaded on my laptop and it works great, but I'm unable to download it on my Nexus 5 (the app is incompatible which is strange considering it's the flagship model).
Is there any way for me to get Google Voice on my phone?

The Google Voice app is compatible with the N5 (I have it installed on mine). How are you trying to install it, precisely? Are you located outside the US? Also, if you're looking to use it to make a VoIP call from your phone, similar to a PC, you should be aware that it does not support that.

Ahhhh I am outside of US (Canada) I tried downloading it on the play store. But if it doesn't support VoIP call I have no reason for using it.

The app is probably region locked to the US, I'd wager. Hopefully VoIP via Google Voice will be coming to Hangouts soon, since they added it to the iOS app a little while back. Until then, it's just kind of a waiting game, unfortunately. There were a few third-party apps that would allow you to make VoIP calls using Google Voice, but Google blocked their access about a month ago.

You should already have it pre-installed and enabled on your phone. Try saying "OK, Google" from the home screen. The steps here should give you an idea of how to enable it if it doesn't work.

That's not Google Voice, that's Google Now. Google Voice is a completely different service: http://www.google.com/googlevoice/about.html

Oh. Thought you wanted to be able to say "OK, Google: Call ".


text:
Hacked and left with messed up internal file system
My Samsung Galaxy S3 Sprint was hacked a couple of weeks ago.  This happened after all of our laptops were hacked as well.  I have strong evidence to support all are now hosting botnets.  I THINK I could fix my phone if I could get it wiped.  However, wiping via Clockwork Mod, factory reset, etc. leaves me with files and folders that should be wiped.
I recall seeing some config file which stated "allow factory reset" = false.  I was able to make some progress by installing CyanogenMod until updates ran which put me back to square one.  I can't download GApps but managed to get the Amazon Appstore.  Other than that, I have fake system processes running. Such as "System UI" but when you open it up it says it's actually android.keylogger.  You can kill all processes and it still runs, so I'm assuming the real ones are hidden.
I've found the complete root file system in three places and it appears I might be mounted to their network or system. My firewall shows constant connections between three different "companies".  Same with the computers. If you block the app they are coming in through, they then say they are another app. Such as Akamai Technologies via the Amazon app. I block it and then that name and IP range starts coming through as Sprint or CyanogenMod.  I've looked up all IPs and most come back linked to a backdoor trojan/spy network.
My question is, is there somewhere I can view the internal file tree so that I can compare? If I could see what doesn't belong, I should be able to get this under control via the terminal or Linux.  Before anyone asks, every virus program has been run. The actual virus is gone. I'm left with the bots and a screwed-up filesystem. Once I find a way to actually wipe the device, the little nightmare bots should go too. This is 100℅ driving me nuts!  I'd appreciate any help!

Burn the hardware. If it's dug itself in deeply enough to survive a factory reset and installing a new OS from scratch, then there's no way you can trust this hardware again.

Take the S3's battery out for 30 minutes.

Then, reinsert the battery and use Samsung Odin to wipe the S3 and install a new Android firmware by doing:

If you haven't installed the USB drivers for your S3, then install Samsung Mobile Phones USB Drivers 1.5.33.exe. Otherwise, skip this step. For Windows OS, you can download the Samsung USB drivers for mobile devices here (Straight download).

Shut down your phone.

Boot your phone into Download mode i.e. Hold Volume Down + Home + Power buttons down simultaneously. Then, press the Volume Up button to initiate Download mode.

Plug in the phone's USB cable: one end into your phone's connector and the other to your PC's USB port or Hub.

Open Odin3 (This version runs in Windows only) and check only the "Auto Reboot" and "F. Reset Time" options. Note: Download Odin from here.

Click the "PDA" button and select <S3_firmware>.tar. Then hit the "Start" button and wait.

Once Odin3 signaled "PASS!", unplug the phone's USB cable. Your S3 now has the new Android firmware.

Once the firmware is installed, do a Factory Reset.

Wipe the internal SD card, too, in case of rogue software lying around.

If you have an external microSD card installed in your S3, wipe this card as well. Note: Back up any personal files (photos, music, etc.) before the wipe.


text:
TWRP Backup restoring Line/Whatsapp problem
so I have the following Problem.
I had flashed the custom os anchidroid onto my s3.
It was working perfectly until recently my phone would boot and keep trying to optimise all my apps and restart and try to optimise all apps again and so on. So i googled for an answer, and i found a thread saying that its best to reinstall, so I took a twrp nandroid backup of my broken rom and reinstalled.
Now I have the problem that I dont know how to restore my apps from my twrp Backup. I tried titanium backup and Nandroid Manager. Titanium Backup essential doesnt recover my apps. It does list all my apps but when trying to recover data or data plus app it just says batch action complete, but doesnt do anything. Nandroid Manager on the other site keeps crashing when im trying to open the Backup.
I also tried extracting the twrp backup on my desktop and move the files over to my phone, but thats where my essential problem is: Is it normal that the /data/com.whatsapp f.x. is only 228kb? My whole data twrp backup is around 3gb big, with 400mb being dalvik cache and 2gb base apks and the rest being in /data/data
I would be fine with just reinstalling the apps from the google play store and not recovering chat logs, but since whatsapp and line are based on verification with a phone number this is not an option for me. I dont have my phone number to log in.
Last time I had an issue with my phone I was able to use Titanium Backup to backup Whatsapp and Line and restore then on the factory reset rom again and bypass the phone verification, but since I wasnt able to access my phone at all I wasnt able to reproduce this step.
Did I do something wrong when I tried to restore the apps or is there any other Way I could restore them from my twrp backup? Any Help is appreciated.
Im using the Android Version 5.1.1 with ARchidroid 3.1.5

If you used TWRP to backup DATA, you'd get the internal app data along with the app.  However, the user data is not backed up. This is all the stuff on your "SDCARD".  That shouldn't be affected by restores, either.  I don't use WhatsApp (I'm a Signal guy), but data of that size is not necessarily a problem.  Maybe someone who uses that App can chip in their file info.

Is there any way to restore an app to the previous state before the factory state? I mean, reinstalling the app would reset the personal data, right? Or am i getting something wrong here

a TWRP nandroid would keep that state.  So would Titannium APP+Data.  I do it regularly with Signal.  I have a license for Titanium, but you should be able to restore with the free version, too, so something might've gone wrong there.

Titanium Backup essential doesnt recover my apps. It does list all my apps but when trying to recover data or data plus app it just says batch action complete, but doesnt do anything

This is wrong in general, because Titanium's duty is to restore snapshots of applications accessing folders that are normally hidden to the regular user.
For example I have just successfully restored Authenticator, which is designed to be buried in the phone.
While this works for (many) apps, others may not work with Titanium because of esoteric ways to store their data. Applications heavily depending on cryptography should be implemented in a way that Titanium fails to restore the app state. Not aimed to defeat Titanium, but in such a way that Titanium fails.
The following is an answer from a developer.
I don't have the source code of Whatsapp and Line, but from what I have learned from security-oriented coding and Android docs, you should avoid to store a private key "plaintext" in the store, relying on Android's kernel and hardware features to protect your keys.
One is to use hardware keystore attestation. Since keys are bound to hardware features, a root user copying the secure storage of such applications will fail.
Another is simply to hash the keys with hardware information such as IMEI or Device ID, something that cannot be (easily) cloned by a super user, and that Titanium won't necessarily restore.
I said necessarily because I recall an option, working on the same hardware model, to restore the device ID from the build properties, in order for Google to make it appear as the old device.
Conclusion
I think that Whatsapp and Line's implementation of secure storage relies on hardware information to implement the highest standards in information security, with the direct consequence that a restored dump of the user data directory will necessarily fail.


text:
Atrix will boot up but unlock screen is unresponsive
I'm having my first major issue with my phone, the Atrix (not Atrix 2).  The phone is stock Gingerbread, not rooted, and I don't download any dubious or non-Market apps.  While using my phone today it suddenly rebooted.  Upon reaching the unlock screen, neither the screen nor the buttons would respond to any kind of input, nor have they since.  I can't even turn on the screen by pressing the power button; I have to plug it in to the charger.  The only way to try to restart is to pull the battery.  It seems to me that the problem is with the unlock screen, which I think belongs to the launcher app.  The menu bar at the top of the screen seems to indicate that other systems are functioning properly -- the clock in the corner stays up to date, while the lock screen's clock doesn't change after booting.  The icons at the top indicate that bluetooth and wifi are active and the strength of the wifi signal varies when I move around.
Let's see, what else -- I wasn't doing anything unusual with the phone when it rebooted.  It has suddenly rebooted a couple times in the past couple days before this, but had no noticeable problems once it started back up.
Can anybody suggest what I should try next?  I'd like to avoid having to wipe it clean if possible.  I have managed to get into the boot options by holding the volume key and pressing the power button, and try to boot into recovery mode from there, but that just hung.  I have the android sdk with adb installed on my linux laptop, so i can try connecting the debugger in the morning, but i'm not sure what to try when I do.
Sorry if this is an incoherent jumble -- I'm tired and I'm going to bed.
UPDATE:
I connected the phone to my computer and looked at the logs in LogCat (I've done a little bit of Android development).  I'm not seeing any obvious signs of what the problem is.  Admittedly, I have no idea what to look for.  The closest I can get is this INFO message when I try to unclock the screen when it's active:
04-15 16:34:39.719: INFO/InputDispatcher(1652): Application is not responding: Window{40a2fb20 Keyguard paused=false}.  11148.9ms since event, 5009.5ms since wait started
and this is all that happens when I press the power but to try to turn the screen on:
04-15 16:38:00.369: DEBUG/KeyguardViewMediator(1652): wakeWhenReadyLocked(26)
There are no error stack traces being logged for either event.  Ideas???
UPDATE 2:
It appears to be the Home app. See details in the comment below.  Can I use ADB or another tool to remove and reinstall the Home app?  I know that with my own apps, I can just use adb install and adb uninstall, but I don't know if it's that simple with other apps, or where I would get a clean copy of it from.
FINAL UPDATE:
I tried everything there was to try, including writing an app to programmatically wake up and attempt to unlock the screen, which worked on my tablet but not the phone, so I could try to salvage some data.  I finally had to just do a hard reset on the phone, and that worked, so for now the phone is working again.

Personally, I had pretty much the exact same thing happen to a Droid X.  Phone would boot, but it was impossible to unlock the phone.  I wiped the phone to no avail, took it back to Verizon, they re-flashed it, but ultimately it was decided that it was some sort of hardware fault, and I was given a replacement.

Strange. The error makes it sound like you might be saved by a factory reset, but otherwise I would suspect the touchscreen has failed.

It's not a touchscreen failure.  The first debugging message I listed there is happening in response to touching the screen.  I have now confirmed my initial thought that it's just the home application -- I received a call and was able to unlock the screen to answer it.  Once I answered it, I got a popup saying the Home application was not responding and forced closed it.  During the call I could use the features specific to the call, but couldn't use the home button or the power button, as before.  So I would like to remove and reinstall or repair the Home app over ADB.  Is this possible?

i had the same issue with screen not coming to live after proximity sensor has turned it off once. I tried to boot in safe-mode and the phone is working perfectly  and there is no such issue in safemode. I know this is not permanent solution (there must be some limitations of safemode, though i have no idea about them), but it atleast points us that this is not hardware problem and some application is messing up with the proximity sensor.

I have read at xda that you could boot your Atrix in safe mode and only load essential system files. From there you can delete the defective home app or replace it with an other home app.

To do this, power off your Atrix, and press the power button to turn
it on. Once the boot ANIMATION starts, immediately press and HOLD the
vol up + vol down buttons until you get a long vibe, then release.
you'll then see 'safe mode' at the lower left of the screen when the
lockscreen comes up. (from xda-developers)

Here is the XDA thread about Atrix in safe mode

As you have said yourself, you could install/uninstall through ADB.
My advice would be to install a alternate Home screen app through adb and restart the device.
(Installing an alternate home app would clear the previous home app's defaults).
When the Home Application is about to be started, it would show you the option to choose one of the Home apps from the list. Simply select the alternate one.
You would need an Home app's APK for this, which you will have to download on your PC.
Just get any alternate Home app APK, install it, boot into your device. Launch Google Play and install another Home App and uninstall the one which you installed through adb.
You could uninstall the stock Home app (I am assuming, your are on stock) easily, since you are rooted via Root Explorer or any similar app.
If you don't want to install an app downloaded through internet, simply create an launcher app yourselves.
Here is the android's sample home app.
Android Developers - Home Sample
or get source code for launchers like ADW Launcher here-
ADW-Launcher-Android Google Code
In all this, I am assuming you have USB debugging enabled on your device.

Thanks!  I'll give this a try when I get home from work today.

No luck - I installed an external home app, and it's there, but I never get asked to use it, and still can't get beyond the lock screen.  Maybe this question would be appropriate to take over to StackOverflow.

Hmm.. give this app a try, install via browser, and re-boot. MotoBlur Homr Google Play
or try force starting the alternate home app via adb as shown here - Start app via adb - stack overflow

MotoBlur home won't help, because it just allows you to choose the regular home screen when an alternate has been installed.  But I have managed to install Go Launcher Ex, and start it via adb using those instructions and this package/Activity name combo:  com.gau.go.launcherex/com.jiubang.ggheart.apps.desks.diy.GoLauncher.  It starts up, but does not affect the locked state of the screen.  I think I'm going to have to try to write a simple app that attempts to unlock the screen and run that from adb.


text:
Can't Pull Bar to Mount Storage
I don't know what's wrong with my phone. Things are breaking left and right ...
To mount the phone so I can access files on it (I don't have an SD card), I:

Disable USB debugging
Enable Mass Storage Mode
Plug the phone in
Go to the home screen
Drag that bar down on the top of the screen
Click on the USB item
Click "Mount Storage"

Viola,  I can access my files. The problem now is that the bar at the top doesn't drag down. I fear that it's a hardware issue (is there some way to disable/enable it from the software side?)
Having said that, how can I now mount the storage to transfer files onto my computer? I have several (100ish) 1.5MB images I need to copy over.
I have a Samsung i7500g running Android 1.6.
I wrote my own app, which can trap events on the top bar part of the screen; it seems that it's only the home page bar that doesn't allow me to drag it down. Is there some setting I'm missing?
Edit: Even stranger, sometimes, the pull bar works perfectly.

When was the last time you switched the phone off? Have you tried rebooting it? That often sorts out a lot of these odd problems that crop  up when the phone's been running for quite a while, particularly with older Android versions like 1.6.

@GAThrawn I think it was rebooted recently. Someone sending  a text somehow enabled the bar. It's not my phone, so I'll check it and let you know tonight.

Try a different USB cable.  Some cheap cables can make the screen act strange when plugged in.

Sorry for the delay. The cable seems okay. Restarted the phone and nothing happened. But my app, which runs full-screen, can handle click events for that high up; just the top bar doesn't work.

Check logs using CatLog app.. Try to pinpoint event exactly when you drag status bar...

And, apps can disable dragging.. For example, Widget Locker app allows users to do that..

Okay, I'll try that. I haven't installed any apps recently, so it can't be that.

@SachinShekhar CatLog doesn't do anything for me. I can see the "Texture" something input event not handled; no other information. (This is strangely inconsistent.)

One solution would be to use an app like Auto Mount Your SD Card, which would automatically switch to UMS (USB mass storage) mode when your device gets connected to a computer via USB. If you still want to manually decide, this seems to be provided by MountUSB Widget (which is not free, but costs ~EUR 1).

A possible cause would be using a custom launcher (ADW, Go Launcher, Apex, Nova, Launcher Pro, etc..). Some of these launchers allow you to hide the status bar at the top, and trigger it with actions like double tapping the home screen, swiping up or down, swiping with two fingers, etc..
What might be happening is that you are unintentionally triggering the show/hide status bar. When hidden, you can no longer pull it down.
If you are using a custom launcher, go to the launcher settings, there you will find an option that allows you to customize behavior .
I can also tell you if the issue is with the status bar, it is most definitely not a hardware issue.

I'm not using a custom launcher. Thanks for coming out though :)

When you're done transferring these files, it is more important that you eject the device from the computer than it is for you to unmount the SD from the statusbar.
Once your computer says the device is ejected, the problem should be resolved after you unplug the phone--
If not-- you can transfer files via adb without 'mounting' the sdcard.
In this case, you would not disable the debugging option (Which you don't really need to do in the first place, btw).
=D

His application very well could be the cause of the frozen bar. Who knows what could be the cause-?- Especially when he cannot get it to consistently fail.
(Thus it very well could be a memory issue.)
This is a potential solution.
Unplugging the device from the USB should free up the bar again.

There isn't one. But if we were all aware of every bug in existence, we'd have exterminated them all by now.
Ahm, I was thinking he said the screen was frozen- you're right, it has nothing to do with RAM.
But he said he could mount it--
See^ "Voila" just after the bullets.


text:
Failed to start emulator: No such file or directory
I downloaded the Android SDK bundle for Linux because I want to start making some apps, but I've run into a couple of problems here. When I tried to create an emulator through the AVD Manager, and I tried to run it, I got the following error message:
Starting emulator for AVD 'AVDTEST'
Failed to start emulator: Cannot run program "/home/luke/adt-bundle-linux-x86_64-20140702/sdk//tools/emulator": java.io.IOException: error=2, No such file or directory

If you look, you will see that there is an extra slash before the tools directory, so I'm asking if anyone knows where I can go to change that path.
I tried running the emulator explicitly from the command line, but, even though I can clearly see that the file is there, and I am now providing the correct path, I still get the no such file/dir error.

Change the SDK directory path from Eclipse settings to the root of your SDK path. Also, chmod the files to executables.

I can not find a settings option in eclipse, that's why I asked this question.

In the SDK manager, the ADK path is already displayed as: /home/luke/adt-bundle-linux-x86_64-20140702/sdk

Window -> Preferences -> Android and browse to the SDK folder. Update sdk and the Eclipse ide if it still doesn't work.

Thanks, but like I said, the Path to sdk is correct, its that extra slash that is messing things up, I'm wondering where I can go to change that specific path (i'm checking for updates now, although everything should be the latest version, because i just downloaded them both today)

yeah no updates to perform

Go to your sdk path and try starting avd manually

You're talking about via the command line right? I tried that earlier, check the edit on my post


text:
Cannot change language on external keyboard
I have a smart TV (Pilot) which runs Android 4.0.2.
I connected it to an external keyboard (through USB).
I have English and Hebrew on the keyboard.
The problem is that I cannot switch languages through Alt+Shift.
In the Android keyboard, I can switch through the GUI in the TV, but not through the external keyboard.
What can I do?

What you have to do is pair your external keyboard and then

Go to Settings > Language & input > Physical Keyboard
For Xiaomi: Settings > Additional settings > Languages & input > Keyboard, mouse and track pad > Physical keyboard)

Then tap on your keyboard and a dialog for choosing the keyboard layout should appear.

Choose the layouts you want (note that you have to select two or more to be able to switch) and then press back.

Near the bottom of the dialog, a label says "To switch, press _____ " which, in my case, is CTRL + SPACE.
Hope this helps!

Do note that simply pressing Ctrl-Space does not work out of the box. Even though the soft keyboard might have multiple languages configured, the external keyboard must have them configured separately on Android 5.0+.

On Android 11, I found this setting under "General Management", then I tapped on "Physical Keyboard" and was able to change the language to Dvorak.

@SurpriseDog oh, I did not find such a menu in my Android TV 10. Only language of virtual keyboard can be changed. USB keyboard is set to US English and it does not work with my keyboard.

I found it switches by using Shift + Space.

The little help dialog thing said “search+space” to switch. I noticed this didn’t work, but then I would accidentally switch the layout in my normal typing. Turns out this is the shortcut that was doing that! Thanks!

Press Shift + Ctrl + Space
Or
Press Alt+ Ctrl + Space

Plug your keyboard in, go to Setting → Language & Input settings → Keyboards and Input Methods → Your USB keyboard. Change the Language.
If not listed, this means you have problem with your android. I have changed it that way.

I have Windows/GUI/Command key as the "search" key on my Xiaomi Mi 9 SE, so to change the layout I have to press it together with Space:
Win+Space to change layout

authors: Алексей Листовский

authors: احمد الصبياني


text:
Stuck on detecting COM port when trying to upgrade Android using Smart Phone Flash Tool
I have Goophone i5c (iPhone 5C clone, MTK6572 chipset, non-removable battery), and I'm trying to upgrade my Android.
I have installed:

Smart Phone Flash Tool
adb-setup.exe
MT65xx USB VCOM drivers

I still can't upgrade my Android. Most guides require to remove the battery, and I can't remove my battery as it's stick like the original iPhone battery. I also watched this video on YouTube and tried it and nothing happens, it's still stuck on detecting COM port.

As per checking my adb devices, it seems my device is detected.

I'll be answering my question.
I downloaded USBDeview and I deleted all COM ports that are open. I also did removing my USB controllers on my Device Manager. I restarted my computer to reload all the drivers; then opening the flasher generates a new COM port, clicking the upgrade and it worked.


text:
Samsung sending SMS automatically on Idea Cellular (although no charge)
I have two Samsung Galaxy Young Duos (GT-S6312) mobiles, both have Idea Connection. I noticed from last few days that my both mobile suddenly send SMS to some number at same time. The SMS log does not shows anything and sent SMS does not charge anything. But the popup dialog of charges comes which says "Last call charges 0.00, duration 60 secs".
This is strange as I checked all application, antivirus, backup, nothing is enabled related to tracking or something. I don't play games also, so my mobile is game free. Still my mobile suddenly gets up from sleep and send two SMS continuously everyday 2-3 times.
Not sure where SMS is going and as far as charges, it is not charged anything so that is relief but still bit worried on information leaking from my cell.
Please let me know if someone facing same issue and fixed on their mobile.
I feel it is related to Idea Network, but not sure. Interestingly the Avast virus scanner does not find any virus related activity.
It is IDEA Maharastra network, I checked with IDEA customer care, they denied for any such thing.
Hope someone will help.

You can refer to this question. It might help you out: http://android.stackexchange.com/questions/53005/my-phone-is-sending-sms-automatically-everyday

First check Settings → for any app called Idea Power or Idea Portal or anything that you suspect is closely related to the cellular operator.
Mostly in Android devices with Idea SIM lock (CDMA) they install Idea Power system app. It is not visible in app manager especially for postpaid subscribers.
Not only Idea even other operators also do the same thing, but in Uninor and Airtel it will be too much.
2 of the most common signs are reduced battery life and while browsing sites too much of pay links and worst ads and operator ads, etc.
See when this operator app is installed it accesses your:

Phone information
Contacts
Rootkit
Send email without consent of host (user)
Read and write logs
Read memos
Directly call numbers and send msgs

THE LIST HAS SO MUCH MORE.
Finally in android 99.99% apps can be turned off except these operator injected secret code or app.

So I hope user only has to decide:
If its a second hand phone check if it is secured with mobile tracker of factory default or any tracking app preinstalled.
In AVG antivirus there are mobile tracking installs in hidden form and send email hidden even root format can't erase it which I once also used and got fed up with samsung galaxy young star pro, I guess its model no. is gt5372.


text:
How would you avoid potentially dangerous apps in the Play Store
edit: The goal of the question is to create a simple checklist for novice users.
It is not uncommon for news warning about malicious apps that have entered the Play Store to appear fairly regularly.
The common advice is to read reviews and check the app's ratings.
However, attackers also do fake reviews and comments.
Question 1: What sort of criteria have stood the test of time to avoid this sort of malware?

comments can't be trusted.
rating can't be trusted.

At the moment, time of existance, e.g. 2+ years, is the only one I think is feasible.
Can it be trusted too? And what else is important?

Yes or No criteria is preferable
False positives are better than missed malware

Question 2: Is there a curated list of trustworthy apps?
Currently, APK Mirror seems to be the best alternative since the apps there are curated by them. But they don't allow paid-apps.

While I mostly agree to Yaksha's answer, I still want to partly oppose it – and of course will include my reasons:

Instead of using Playstore, stick with F-Droid whenever possible.
F-Droid only serves open-source apps – so other than what Yaksha wrote about Playstore apps, you can look into the source. But most users won't be that "techy" to really understand it. Which is why the F-Droid team does that for you: they compile from the sources they have checked before (and they have a community supporting them). Plus, they have very strong inclusion criteria an app must meet to be allowed into their repository. So you e.g. won't find apps with proprietary ad or tracking modules there. Plus, so-called AntiFeatures are always pointed out. No way a dev can "hide" that by keeping it out of the app description.
When you have to use Playstore, cross-check the apps with Exodus.
Exodus grabs free (non-paid) apps from Play Store and analyses their code to detect trackers. It then points out how many of those it found and which ones. You can even read details on most of those "privacy snoopers" to know what they do. But they can only grab apps which require no payment.
For paid apps: AppBrain.
AppBrain offers an alternative front-end to what you find on Playstore – same data actually, and for installing an app you'd even be redirected to Playstore. But they add a bunch of useful information on top by checking the libraries an app contains, and grouping them so you can easily spot ads and analytics. Unfortunately, since summer 2017 free access is limited to 5 apps per day (creating a free account, you can top that up to 10).
Before installing a new app, cross-check with forums.
Often, a simple search (using the engine of your choice) gives plenty of useful hints – e.g. latest reports if an app had "conspicuous activity". For example, Cheetah Mobile's "Security" apps caused a big uproar lately as they called up to porn pages in background. With that search you can also find "external reviews" – though most of those usually concentrate more on the features than on security or privacy (a big exception is the German portal MobilSicher which does it just the other way around).

To make those steps easier, when looking for a new app you can use my app listings as a starting point. There you find the apps ordered by ratings – but with useful annotations: number of permissions requested (and details on them), availability on different places (e.g. F-Droid and Playstore), links to reviews, marks on critical libraries used, and more. It's not the full load of apps available worldwide, but a good hand-selected amount (about 14k currently).
Another word: don't rely on so-called "Anti-Virus" apps – they are mostly snake-oil. For references on this statement, please check e.g. Is there really such a thing as an Android virus?, Android antivirus apps are useless — here’s what to do instead and Antivirus software is snake oil!.
And yes, of course use your "common sense" when taking a look at the permissions an app requests: are they really justified by the purpose? Though admitted, that's not as easy as it sounds. While it might be clear a torch doesn't need access to your contacts – could you guess if access to your camera might be justified? Spoiler: indeed, to fire the flashlight it might be needed. When in doubt, compare with other apps offering the same feature set. If one app needs 24 permissions for something another can do with 5, you can be almost sure the difference of 19 is needed by some ad or tracking module. Again, my above mentioned app listings make such comparisons easier. To pick up an earlier example again: if one app was brought up obviously malicious, avoid all other apps from the same dev as well – chances are rather good they have similar issues (so: no Cheetah Mobile, for example).

USER IS THE WEAKEST LINK IN THE SECURITY CHAIN
So, to protect against harmful apps, you must strengthen yourself on how they tend to take advantage of the User's unawareness.
By experience and an open mind to learn about cyber space security, YOU will become the best judge to decide which apps are safe. This will be always better than relying on any curated lists or whatsoever.
You can't really look into the code and guard yourself against the technical glitches(which the Playstore will do by itself). All you can do is it not fall for the stuff that is directed on taking advantage of the user, which are difficult for programs to scan and capture, because it's dependent on YOU.
As a quick guide, you may think of these for taking decision:

Stick to Playstore. New users(until you know what you are doing) should never download apps from anywhere else, whatever may be the reason. If the reason is so strong that you want to go outside Playstore, then that is a very clear indication that you are going somewhere, not to be gone, and will surely end up with malware.
Is the app asking for permissions only for what it wants to do? You may find that for the task that the app accomplishes, there's no need to access contacts data, but it still asks for that permission.
If it is an open source app, that might be a good chance to move forward with it, although nothing can be guaranteed.
The way the app description is written on the play store. If they are not really explaining the permissions and what they accomplish clearly, but are just trying to attract users, well that may not be a good one.
The purpose of the app itself: It should be trying to do something that you can believe and not something magical which it claims only it can do.

A lot more...


text:
Maximum number of possible playable songs
I have a library of over 100,000 mp3 songs. I have tried and failed to modify an iPod to be able to accommodate this number, but a friend recently suggested I store them on a 1TB micro SD card, and use an Android device to play them. Is this possible? I am afraid that the limited RAM could be a potential problem in traversing through this vast number of files.
Any help is appreciated!
EDIT: Let's simplify the question. I have 300 GB of music that I want to have all on one device which I can use like an MP3 player. How can this be done?

First of all, I doubt a 1TB microSD card exists.

@iBug https://www.google.com/search?q=1TB+micro+SD+card&oq=1TB+micro+SD+card

Which MP3 player do you use?

No phone currently reads sd more than 256GB. You gotta be on a computer

@ThallyAce What does this limit depend upon, if I may?

It depends on the person who designed file system access protocol. The software designer. It doesn't depend on RAM, CPU speed, or even the ROM you install on the device. Even if you find alternative software to load on your phone as an operating system, be sure this is not gonna change at all.

@ThallyAce Do we know when support for 512 GB cards will happen...approximately?

Not really but at the rate technology is moving at, I'm sure they gonna be soon in mainstream phones like Google, BlackBerry, Samsung and IPhone since these companies have a trend to compete for superiority

@ThallyAce If conputers can manage big cards while phones cannot, I'm temped to point to the kernel as the culprit, you know.


text:
Root Asus Zenfone 3 Max
How can I root an Asus Zenfone 3 Max?
(Note that "Asus Zenfone 3 Zoom" and "Asus Zenfone 3 Laser" is not the device I am asking about)
I have tried using the official KingoRoot app to no avail (it says "Root Failed - Error 0x11CA2E")
Here are the device specification:
Build Number: MRA58K.US_Phone-13.1.4.69-20170414
Model Number: ASUS_X008DC
Android Version: 6.0
Android security patch level: April 5, 2017
Baseband version: MOLY.LR9.W1444.MD.LWTG.MP.V88.P71.2017/04/14 02:39
Kernel version:
3.8.19+
wind-kernel@droid #1
Fri Apr 14 03:01:04 EDT 2017

This device is not on the list at How do I root my Android device?
EDIT: It is now linked to this page


text:
Connect ADB through SSH
How can I connect ADB on remote server through SSH to a local, non-rooted Android devices without installing anything on the middleman with root?
This is what I want to achieve:
┌─────────┐                       SSH through internet
│ Physical│ USB cable  ┌────────┐ (outside LAN) ┌────────┐
│ Android ├───────────►│ Laptop ├──────────────►│ Cloud  │
│ device  │            └────────┘               │ server |
└─────────┘                                     └────────┘
192.168.0.5            192.168.0.7                            (internal IP address)
                       204.12.46.76             108.63.15.64  (public IP address)

The one in the middle must not install any software with root/sudo. The laptop and server are both running Ubuntu 22.04.
From Android device to laptop, I can use the physical USB cable. From laptop to cloud server, I can use local SSH port forwarding (ADB uses port 5037). However, I do not know how to go from "physical USB cable" to "port 5037".
I include the relevant (fake) internal and external IP addresses for demonstration only.

In Laptop you should simply execute adb start-server to make sure adbd is running. Then port forwarding can forward TCP 5037 from Laptop to Cloud so that an adb client on the cloud server can connect to the adb server on the Laptop.

@Robert the laptop does not have ADB installed (Command 'adb' not found, but can be installed with: sudo apt install adb) and the laptop must not install any software that doesn't exist on a fresh Ubuntu 22.04 install (a non-root install is acceptable).

Sorry, I don't care how you install it, but the Laptop and Clout server need adb. I usually prefer the latest version from Android SDK, but if you want to use the one from Ubuntu package manager it should be fine, too.

It is possible to install ADB without root by downloading directly:
curl -LO https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip platform-tools-latest-linux.zip
cd platform-tools
./adb version

To use it through SSH, see this other Stack Exchange post.


text:
How to list devices in ADB through SSH?
How can I list devices in ADB through SSH, when it works fine locally?
On local, it shows up as device. and on cloud server, it shows up as offline.
Setup
┌─────────┐                       SSH through internet
│ Physical│ USB cable  ┌────────┐ (outside LAN) ┌────────┐
│ Android ├───────────►│ Laptop ├──────────────►│ Cloud  │
│ device  │            └────────┘               │ server |
└─────────┘                                     └────────┘

Android device

enabled USB debugging
connected to laptop through USB cable
all "do you trust this device?" prompts have "trust" selected

Laptop

connected to cloud server with ssh -L 5038:localhost:5037 -R 27183:localhost:27183 ecokjeonb@redacted
in first terminal:

> adb -a nodaemon server

in second terminal:

> adb devices -l
List of devices attached
887d9087               device usb:1-2 product:redacted model:redacted device:redacted transport_id:1

> adb version
Android Debug Bridge version 1.0.41
Version 34.0.4-10411341
Installed as /tmp/platform-tools_r34.0.4-linux/platform-tools/adb
Running on Linux 5.4.0-58-generic (x86_64)

Cloud server
> export ADB_SERVER_SOCKET=tcp:localhost:5038
> export ANDROID_ADB_SERVER_ADDRESS=localhost
> export ANDROID_ADB_SERVER_PORT=5038

> adb devices -l
List of devices attached
localhost:5038         offline transport_id:1

> adb version
Android Debug Bridge version 1.0.41
Version 34.0.4-10411341
Installed as /tmp/platform-tools_r34.0.4-linux/platform-tools/adb
Running on Linux 5.15.0 (x86_64)

Sorry but this is exactly the same question. It doesn't matter if you want to connect to an ad  device or list all devices, the set-up is identical. You should better use the default ports and kill adb server on the cloud server so the adb client can connect to adb server in the laptop.

@Robert then can you answer why it is possible to list the device on the laptop, but not on the cloud server and how to connect the cloud server so that it sees the Android device?

I'm following the steps at https://github.com/Genymobile/scrcpy/blob/master/doc/tunnels.md since I want to be able to use scrcpy later too.

Did you see: How to set up ADB for remote machine development and local device deployment

@MorrisonChang yes, I did adb kill-server (fresh install, so no running server yet), adb start-server (adb -a nodaemon server starts in foreground, not background), ssh -XC -R 5037:localhost:5037 (X forwarding and compression (-XC) not required) and -L 5038:localhost:5037 (-L and -R direction swapped because the "remote" and "local" are swapped. The port is different because I explicitly start it on port 5037 locally, and keep the default of 5038 on the server).

It even sees that there's a device on localhost:5038, but it shows up as offline. It shows as online locally though.

I have created a GUI tool which I am using for this purpose myself. https://github.com/dshatz/Adb-Gateway


text:
How to pull files from almost bricked android device? (Common suggestions didn't work)
I'm new to super user, so please be nice.
My mom has an Odys Rise 10 android (lollipop) tablet, which now fails to boot. All it is doing now is to boot into recovery mode. Before I try to do a factory reset I want to pull all her photos from the device (Yes, I told her about regular backups, but... you know.).
I can use the ADB to connect via USB to the tablet, status is 'recovery'. I can send command to reboot, but I can neither start the shell nor pull files from the tablet. The error says no such file / file does not exist. I assume that the USB debugging is disabled. The device is not accessible via fastboot. Installing custom recovery (e.g. CWM) did not work since I couldn't find a build for the Odys tablet.
But: I can push files into the /system/ folder, so an option could be to push in an altered build.prop with debugging enabled. Unfortunately, I have no original build.prop as a template.
Is it possible to write a kind of minimum build.prop from scratch that could do the job? Or could I just use a build.prop from a arbitrary android device?
Any other ideas are also welcome.
Thanks for any suggestion.
Update 1:
I pulled a build.prop from another android 5 device (actually a Sony Xperia, since the Odys Rise is apparently a rare kind) to get an impression of the content. Much stuff in there. Has anybody an idea which settings are crucial during recovery mode and thus have to be correct for the bricked tablet? And which build.prop entries are not crucial and can be wrong as long as the recovery mode still works? Before  I start playing with the build-prop I want be be sure that I don not make things worse.
Update 2:
I learned that it might be a bad idea to simply replace the build.prop with a random variant, especially when the build number and model number is wrong. But with a lot of searching and begging I got a full update rom file, which should contain a propper build.prop. The problem now is that I cannot access the rom yet. The img-file is not a zip, and cannot be opened via ext4-unpacker or ext2-explorer. Any suggestions on this issue? Anyone?

So. The question was basically whether it is possible to write a new build.prop to enable usb debugging when no original template is available.
The answer is yes.
I found out that the stock recovery of the tablet is able to show the latest log files, and these logs contain all entries of the build.prop. Or perhaps the default.prop. After I was able to get a rom image of the stock firmware and was able to unpack this, I had a genuine build.prop to compare.
However, this (new) build.prop with enabled usb debugging was not solving my problem with accessing the photos of the bricked tablet. I was in fact able to push this build.prop into /system folder, but without any effect. But that is subject of another question / thread.


text:
adb su permission denied, no rom, rooted, need to fix internal sd card
can someone please help. im pulling my hair out lol
im trying to fix a friends phone GT-I9000.
basically i get error in mounting sdcard.
after searching endlessly and installing 100s of stock rom. still no luck.
i assume that the partition on my internal sd card is corrupted.
i have come across this thread.
http://forum.xda-developers.com/show....php?t=1253036
im hoping i can reset my partition on the sdcard.
but i can't get su permission on android sdk adb shell command
phone is in clockwork recovery mod when running the adb commands
i.e. this is the code i have to do..
adb shell
mount /sdcard
su
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
quit

but it ends up like...
adb shell
~ $ mount /sdcard
mount /sdcard
mount: permission denied (are you root?)
~ $

the su command it not recongised.... any ideas?
the phone will not boot into any rom. only option is recovery or download mode.
i have rooted it with CF-ROOT, which in turn installs CWM
therefore i can't install or turn on debugging
HELP please!!!!!!!!

You can install CyanogenMod, see the full update guide here: http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S

Quoting your code:
adb shell
mount /sdcard
su

And now your output:
adb shell
~ $ mount /sdcard
mount /sdcard
mount: permission denied (are you root?)

it becomes quite clear why your su is not recognized: it comes too late. You need to move it one line up, as mount already requires root. Still, that would launch another shell, and wait for your input. Once you exit, the remaining commands would be executed. So correctly put, it should look like this:
adb shell
su
mount /sdcard

or like this:
adb shell su -c 'mount /sdcard'

So this part would work. The next part is something completely different:
su parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
quit

The first line is your command. But the remaining lines are no shell commands, but the input to parted, so this needs to be handled differently:
su parted /dev/block/mmcblk0 <<MyCommandsHere
rm 1
rm 2
rm 3
quit
MyCommandsHere

That's a so-called Here-Doc.


text:
Deleted Google Talk on accident
Okay, got a bit carried away in Root Explorer and deleted GTalk. Cant access Google Play. I tried reinstalling versions online, those crashed instantly. Then, i grabbed my ROM zip and pulled out Talk.apk and put it into system/App and installed it. Google Talk doesnt crashes anymore, but play still does. Any ideas? I am using a Virgin Mobile WFS.
Sorry for the lack of ' characters, my autocorrect on my phone is being weird.

Have you tried clearing Google Play cache and data?

I was just browsing around for this issue and found this,

    I had exacly the same trouble with Google Play and I have managed to revert it
    back to original working version of Android Market. In Options (Android system
    settings) go for Applications. Choose Google Play. Clean cached data. Remove this
    application. After these steps Google Play dissappeared from my droid and I could
    put back Android Market icon onto my desktop and I can use it for installing new
    programs.

Link to source : Link to forum


text:
How can you prevent a Kindle Fire from auto-mounting on a Mac when you plug it in to USB?
I've got a Kindle Fire and I like to plug it in to my Mac to charge up (and also to do some development.)  It works fine but it is annoying to have to unmount it every time.
Is there any way to prevent it from auto-mounting when you plug it into USB?

I don't know if this is related to your issue but check this out. Basically you could have another app on the system that is enabling that option for you...?

Check Your Phone it should show some setting named 'Connect to PC'. Change the "Default connection type" to "Charge only".

I figured this out.
This works with my 1st gen Kindle Fire and my Mac running OS X.
First, notice that the Kindle Fire mounts as the volume "KINDLE".
Second, realize that there is a file on your OS X installation called /etc/private/fstab which controls filesystem mounting.
Third, use the command sudo vifs in Terminal or otherwise edit the /etc/private/fstab file and insert the following lines:
# Kindle Fire
LABEL=KINDLE    none    msdos   rw,noauto

Fourth, try plugging in your Kindle Fire via USB.  It should not auto-mount anymore.
Bonus: this works for any Android device that auto-mounts when you plug it in.  My new HTC One (Verizon 32GB) auto-mounts HTC Sync Manager.  It uses the label "CDROM".  I added a similar line above, but substituting "CDROM" for "KINDLE" and now it stops prompting me to install HTC Sync Manager.  In this case, I inserted these lines into /etc/private/fstab
# HTC One
LABEL=CDROM     none    hfs     rw,noauto

There are some USB Cabes that don't support enough power to change data, so they just charge and don't mount. But I don't know how you could find them. Try google for it.


text:
Galaxy Tab 10.1 on windows xp 64bit
I've installed samsung drivers from mobile v1.4.103.0 on windows xp64 from the latest kies package (I've only installed usb drivers).
I see Android ADB interface in windows devices but adb still says no devices, I've tried by adding the vendor id to adb_usb.ini without success.
Perhaps using linux on vmware and passing the usb device works fine without adding the vendor id.
Suggestions?
No luck also with drivers 1.3.1500.0

Do you have USB Debugging enabled?

yes, using linux on vmware it works fine, I also have an acer liquid mini that works with adb on this windows

OK. You mention adb_usb.ini, do you mean android_winusb.inf?  This might help. Make sure you update the driver via Device Manager after editing the .inf file, of course.

google usb drivers are needed if the vendor does not supplies drivers, same tablet works with adb on a windows 7 32bit so it should be something related to the os (somehow)

winxp 32bit works, why -1?

Ok I answer myself:
after installing samsung drivers you need to find oem??.inf file that contains ssudserd.inf
comment out all references to wdf stuff version 1.7 and decomment the ones referring 1.9


text:
How can I access the internal phone storage via ClockworkMod recovery?
I have an HTC Incredible, rooted to MIUI, and am frozen on the white Incredible boot screen. I need to grab a few pictures off the phone before I do a new install. Is it possible to access the phone memory from ClockworkMod recovery? I tried to mount the '/emmc' from the recovery prompt, but nothing shows up on the PC. How can I access the photos?

Have you tried using ADB? (The shell or pull)

I believe in CWM if you mount /sdcard you will be able to get to the internal storage. /emmc is external storage.

/emmc is basically ok and accessible if you can 'mount' it. You already have a working CWM installed which comes with adb enabled. This gives you some options.
Boot to CWM recovery and mount your partition in the 'mounts and storage' section. It's now accessible internally and you can use the adb tool (ADB stands for 'Android debug bridge', it's usually used to develop and debug things) to pull data off the device:

A windows tool (sadly discontinued): http://code.google.com/p/adb-file-explorer/
by commandline: adb pull /path/to/folder or adb pull / to pull all currently mounted data partitions
Another GUI: http://sourceforge.net/projects/adbbrowser/?source=recommended

PS: I prefer the command line adb tool (2nd solution). I have little experience with the gui tools. But generally they should work as well.
Here's how I usually do it (using only the commandline):

me@workstation:~$ adb shell
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nodev,noatime,nodiratime)
~ # mount /sdcard
~ # exit
me@workstation:~$ cd /tmp/
me@workstation:/tmp$ mkdir htc_sdcard
me@workstation:/tmp$ adb pull /sdcard/DCIM/100MSDCF/ htc_sdcard/DCIM
pull: building file list...
pull: /sdcard/DCIM/100MSDCF/DSC00110.jpg -> htc_sdcard/DCIM/DSC00110.jpg
pull: /sdcard/DCIM/100MSDCF/DSC00114.jpg -> htc_sdcard/DCIM/DSC00114.jpg
[...]

I don't know if it's the same on your phone, but on my Blade I can just mount /sdcard (or maybe /emmc in your case) and then "mount USB storage" in the Mount and Storage Menu.

Your pictures should be stored on your SD card, so just take it out and get the pictures with a PC.

He could have had his pictures on his internal memory too.. maybe he's not talking about camera photos.


text:
I have cheap phone (apparently) working on Android 7.1, I wish to erase everything to the hardware level and load the phone with a fresh OS
Background:
I have a USD $30 Chinese Android Phone made by a company called BlackZone, I have never heard of the company, the phone comes loaded with Android 7.1 Nougat which i believe is a little too fishy since it is nothing like the Nougat versions i have used and the storage shows folders with Chinese names which have permissions to access all data including location SIM information Network Information (seems to have root privilege). I think the hardware is usable though. I wish to erase everything from the phone to the hardware level and rebuild the phone using a verified version of Android. I have never worked in this domain before and do not know the way forward other than rooting the phone which also doesnt seem to be working. Could you fine people teach and guide me in the way forward.
Required Help
1.root the phone. (i have tried Kingo root, doesnt seem to be working)
2.Remove OS and Kernels
3.Reconfigure kernels and the ports available
4.Reinstall OS
P.S - it would also help if you could guide me to appropriate tags so that this question may reach the actual target audiance.
I am open to providing any and all information required.

Just so you know, "loading" Android on a device is nothing like loading Windows onto a PC: Android often has locked bootloaders to prevent any tampering in the first place; the OS isn't universal to all hardwares so you need to make a build yourself that specifically targets your device (which then requires open-source drivers and hardware knowledge). It's not like you can throw a "universal", clean Android build onto it, make small adjustments and it will run flawlessly (if at all) - at least not yet.


text:
What does FTM mean on my phone?
I have a Telstra smart-touch Next Gen. I wanted to get rid of my google account so I went to settings-privacy-factory reset. Everything was perfectly fine until I tuned off my phone and when I tried to turn it back on. The only thing it says now is 'FTM'. I can't do anything to the screen not even turn it off again.
How can I fix it?

FTM = Field Test Mode
Try removing the battery to turn the device off. Replace the battery and then turn the phone back on and you should be out of FTM.
FTM, i believe, is usually entered by holding a button combination down when turning the phone on. Sounds like you accidentally figured out that combo when you turned it on. It could be as simple as "holding the power button while turning on".


text:
Nubia Z9 gives error on starting camera
I bought the nubia z9 mini last year November.
About a week ago this message appears when using the camera:
"camera error"
"Please make sure no other applications occupy the camera, or try to restart the phone. "
I tried restarting but the same error. As requested, I've run adb dumpsys:

> adb shell dumpsys media.camera
Camera module HAL API version: 0x100
Camera module API version: 0x100
Camera module name: QCamera Module
Camera module author: Qualcomm Innovation Center Inc
Number of camera devices: 2 Vendor tags left unimplemented.
Camera 0 static information:
   Facing: BACK Orientation: 90
   Device version: 0x100
   Device is closed, no client instance
Camera 1 static information:
   Facing: FRONT
   Device version: 0x100

I put the New version V3.67 Android Version 5.1.1 [ROM], the error is same.
Can you help me?

the ADB setup and command ready in PC
device connected to PC in debugging mode.
run the camera app.
Disappeared the error, the camera turns on

I was able to solve the problem (thanks to Firelord):
While "being debugged", the camera is turned on. For that, I've simply did the following:

the ADB setup and command ready in PC
device connected to PC in debugging mode.
run adb logcat > d:\dmp\device.log
run the camera app. Disappeared the error, the camera turns on


text:
Moving from one droid to another
I have a Motorola droid with issues (but it still turns on) and I'm exchanging it for another.  How can I move contacts, mail settings, etc. to the SD card so I can transfer them to the replacement phone?
Ideally I won't have to root it.

For contacts, the best way is to sync them to your GMail account.
Settings->Accounts and sync
Then when you add the same account on the new phone, it will sync them automatically.
For settings without root, I'm not sure.
If you are willing to root, Titanium backup is very good. It will save the settings onto the SD card. Then with the new phone, install the application and you should be able to restore the settings off the same SD card.

If you go in "Menu" -> "Settings" -> "Privacy" there is an option "Back up my data" that is provided by Google. I cannot say what data is backed up with this option but I guess email settings and device settings will be.
And as mentioned in another reply if you sync your phone with a Google account your contacts will be moved to the new device as soon as you log in.
Also if you have some applications that don't save to the cloud but you want to keep the data, there is usually an export functionality (check in the options menu of the applications) to keep the data into a file that you can import on the new device.
After doing all of this, last time I moved my content to a new phone, the only thing that I lost was the SMS history but I didn't really want to keep it anyway. I know there are some backup applications that support SMS history and don't need root access.

As far as I know this option backs up your background picture, wifi passwords, browser bookmarks and other data that some third party apps save to Google's servers.

Just to mention for completeness: While this backup to Google's cloud may work, restore often fails (see here), and it also not covers everything (apps must explicitly support it by including its API).


text:
I want to execute shell commands on my pc from my android via USB
I have a linux box, without any network interface, only usb. I have my andorid phone, and the USB cable. I would like to connect from my android device to the linux box,and execute shell commands on the linux box, via usb. there is not wifi, ethernet, oer any other interfaces.
Any idea? I tried ConnectBot, but could not make it work over USB.

Reverse USB Tethering
adb shell netcfg usb0 up
adb shell netcfg usb0 dhcp
adb shell route add default gw X.X.X.X dev usb0
adb shell setprop ro.kernel.android.ndns 2
adb shell setprop net.dns1 4.2.2.2
adb shell setprop net.dns2 8.8.8.8
adb shell setprop "net.gprs.http-proxy" ""
adb shell setprop net.usb0.dns1 4.2.2.2
adb shell setprop net.usb0.dns2 8.8.8.8

Do not copy and paste these commands.  Read them and see if you can understand what they are accomplishing and modify them to suit your needs. You are routing over USB.
ifconfig eth0 0.0.0.0
ifconfig usb0 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 usb0
ifconfig br0 up
dhclient br0

Do not copy and paste these commands.  Since you don't have network access on your PC, you will not need to make a bridge, but if you ever add a NIC, then you may want to create a bridge.


text:
ERD and flowchart editors
I'm looking for a ERD (entity relationship diagram) editor for tablets and also a flowchart diagram... Haven't found any till now...
Does anybody knows some good app for that?

Don't know about ERD -- but there some (flowchart) diagram editors around:

AndyUML can create and share simple UML diagrams. It's not "drawing", you rather "write the code", like with Graphviz
Dianoid can Create diagrams, uml-like flowcharts, mind-maps and sketches quickly and easily.
DroidDia describes itself as similar as Microsoft Visio, but for Android tablets and phones.
Smart Diagram says: Usage: Flow Chart, Tree Diagram, Mind Map, etc

There might be some more -- but this should get you started.
Some screenshots: Dianoid (left), AndyUML (right).


text:
Problem with creating an ext3 partition on SD card
I'm trying to partition my SD card with a ~31gb FAT32 partition and a 1024mb ext3 partition for A2SD. I've tried making the partitions with CMW-Alpharev Recovery v2.5.1.8 and with gParted (on a bootable live USB stick) and neither works. Basically, whenever I try to create a second partition on the card, the second (or later) partition doesn't work anywhere. It's not recognized by my phone, Windows or gParted (even right after parttitioning). The first partition does work, though. So if the ext3 is first, the FAT32 doesn't work and vice versa.
I have no clue as to what could be causing this or how to fix it, any suggestions?

Have you tried partitioning via the Windows Disk Manager and formatting in Linux?

cant partition with windows disk manager, it will not let you partition an sdcard. You have to use either CMW or something like gparted. it has been a while since i partitioned mine and used A2SD, but I believe that ext3 needs to be first and fat needs to be last.


text:
Unable to send attachment, but there is no email?
Since I have updated my Nexus4 to Lollipop this error appears in the notification bar : "Unable to send attachment : object". If I tap this error it links me to the sending email and display that there are no e-mail to send.
I searched in my Google mail box but I have no email with this object and I have no elements in the phone with this object.
How can I block this notification?

"object" is not the name, but the "type" I'd guess. If there's no "outbound mail pending" which could be the cause, have you checked your MMS as well? Even if you're not aware of having composed one, some app might have (or you, just by accident).

How can I check MMS composition? I have never use MMS function in the past...

Nor did I, sorry. I'd try with the messaging app. Also worth a try: checking the logs (see: How can I view and examine the Android log?) They might reveal additional details, e.g. which app is throwing that error. That should help narrowing down.

If I tap this error it links me to the sending email and display that there are no e-mail to send

OK, that rules out MMS. Have you checked the logs? Maybe they give some more details.

The phone is unrooted so I am not able to check the logs

Oh yes, you can. Have you checked the link I gave you? No root required for that. Again, see How can I view and examine the Android log? and Is there a minimal installation of ADB?

The problem seems disappered after a clean update of the smartphone. Maybe the last update was not done in the right way

The problem seems disappered after a clean update of Android OS. Maybe the last updateby OTA was not done in the right way and take that error


text:
How is USB debugging mode related to root detection?
I have a game in my Samsung Galaxy S2 (i9100) that if it detects the phone is rooted, it terminates. My phone is rooted but I still can play this game using OTA RootKeeper to temporarily unroot the phone.
I would like to use some apps that required USB debugging mode enabled when I play the game, however, the game terminates as if it detects the phone is rooted.
I have some friends that they can play the game with USB Debugging mode enabled (although their phones are not rooted). So I bet it's because USB debugging mode enabled would do something affecting root detection.
How does the USB debugging mode enabled affect root detection and how to solve that?


text:
Is there any compatibility issue while using WiFi Direct between different cell phone vendors?
I was trying to transfer a file via my LG Optimus L9 (T-mobile) WiFi Direct to my friend's Samsung Galaxy S3. It got connected successfully. However, shortly after sending initialization, I got an error "Sending Failed". Then I tried the other way i.e. receiving, but no success.
Later, I have tried with my other friend's Samsung Galaxy Note, but no success.
Nobody around me has an LG device with WiFi Direct feature.
Can someone tell me why is that going wrong?

Incompatible implementations between different manufacturers. I've read an article on that a while ago. To work around that, use a 3rd party app like e.g. SuperBeam.

Real odd and probably different, my LG blows out the wi_fi direct connection when the GPS kicked in (active not just switched).  I had been wondering why it was blowing out, when I spotted the location update occuring, the GPS symbol in the top bar at the same moment as the Direct disconnected again.  At first I thought it was the problem of the net Wi-Fi being connected at the same time, and had to "forget" that WiFi to reduce any conflicts.

Why don't you try using a 3rd party implementation just as Izzy suggested. My ROM doesn't have that feature so I typically use Fast File Transfer. It's a great app and only the host phone needs it. Currently it doesn't work with host HTC phones though.


text:
Turn off text message (SMS) sync to Exchange email account
I recently started using a Samsung Galaxy S4 and one of the features in a synchronization between text messages and email accounts.
When a text message comes in it throws a copy into my Exchange email accounts that are one the phone. I want to turn this feature off but cannot find a setting for it anywhere.
Any ideas?

It's in the settings for your Exchange account, hidden rather well.
Go to:

Settings
Accounts
Exchange
Settings
Select your Exchange account
More Settings
Uncheck "Sync SMS"

On mine and some others it's so well hidden it's not there at all, either under KitKat or Lollipop.
The only way I got that checkbox to show was to delete and recreate the Outlook account. Then, on the Sync settings list during the setup wizard, Sync SMS was an option along with Contacts, Calendar, etc...

In the native 'Email' application, disable Sync Message.
Detailed instructions:

Open the Native Email application
Select 'More'
Select Settings
Select your work account
Scroll down to 'Exchange ActiveSync Settings'
Turn 'Sync Messages' to OFF

Found on "Android Central Forums"

To stop this you simply need to disable the Sync SMS feature on your Android phone which is enabled by default.
To disable the Sync SMS feature:

Open the Email Account Options settings.
Disable(uncheck) the Sync SMS feature.

Now you won't be receiving the text messages in your email inbox.

Thank you for the reply!  I found the email account settings but there is "sync SMS" setting.  I checked the text account settings too.  I have been searching for something like what you described since S4 and S5 instructions talked about a "sync SMS" setting.  No luck finding this on the S6.  Any suggestions?

Steps : 1. Press the "Settings" icon on the home screen 2. Press "Accounts and Sync" 3. Under "Manage Accounts", select your Outlook Exchange account 4. Under "General settings", press "Account settings" 5. Scroll almost to the bottom, and uncheck SMS sync under "Incoming settings" or Refer this answer

I had the same problem. Some of the above responses apply to other phones. Finally found it on my S6. Go to: Settings, Device, Applications, Email, then find the email account and click on it. Scroll down to find the Sync Messages option. Turn it off.

In Settings-Accounts on my S4 both under KitKat and under Lollipop there was/is NO Sync SMS settings.
The only way I got that checkbox to show was to delete and recreate the Outlook account. Then, on sync settings list during the setup wizard, Sync SMS was an option along with Contacts, Calendar, etc...


text:
HTC Droid Incredible cannot load text message
My phone, HTC Droid Incredible, was working perfectly fine. Then it just stopped letting me open up my text message threads. All it does is say loading and I left it for about 10 minutes and still nothing.
Everything else on my phone works. I've restarted it four times and it's still not working.
Any suggestion?

You could try backing up your messages with something like SMS Backup & Restore and then wiping the Messaging apps data and cache.

I had a similar symptom once and it was caused by the SIM card coming loose, so try this: turn the phone off completely, eject the SIM card, replace the SIM card, and turn the phone back on again.


text:
Creating a symlink (symbolic link) to files
I'm looking for a way to create a symlink with Android. I know I can write a  script but I don't want to spend so much time when perhaps somebody has a better solution?
I know app2sd and link2sd, but I need to link all files, not just what the application sees. My internal memory is full and I have already app2sd installed. I need to free more space (for example, dalvik-cache). Unfortunately hardlink doesn't seem to work, so I need a better solution. When I softlink the cache, I can't install anything. The path seems to make a problem to Android.

What problem are you trying to solve?

My internal memory is full and I have already app2sd installed.  I need to free more space for example dalvik-cache.  Unfortunately hardlink doesn't seems to work so I need a better solution. When I softlink the cache I can't install anything.  The path seems to make a problem to android.

@Flow see his other question: Why can't I create a hard link?. Probably Directory Bind is what he needs, I mentioned it already over there.

Directory bind is only folder level. I need softlink to files.


text:
Swipe option missing on JellyBean keyboard
I have Micromax A116 running on 4.2 JellyBean, rooted and using NatureWiz HD rom. However, I don't have swipe feature on my keyboard.
Am I missing some settings that I have to turn on?

What manufacturer made your phone or tablet? Some manufacturers add their own keyboard in place of Google's keyboard.

it is micromax A116 rooted, naturewiz hd rom.


text:
Would Non-Open Handset Alliance Android phones have Google Now?
I understand that whilst Android is free and open source, in order to use Google services, an OEM has to be approved to join the Open Handset Alliance (OHA).
One of the biggest additions to Android for Jelly Bean was Google Now. Just wondering, if I buy a non-OHA phone, does that mean it won't come with Google Now? If so, what will be in its place? Will it just be the old Google search app?
The other thing is, can non-OHA phones run Google services that are embedded into apps? For instance, if an app uses Google Maps, would it still run on my non-OHA phone?

Don't you think this is a rather speculative question? Who shall say for sure what manufacturer A does, or how manufacturer B accomplishes this, or what manufacturer C might come up with as replacement app for the one or the other? Moreover, it's quite broad, and includes a bunch of question (instead of one).

@Izzy - well the main things i want to find out is whether non-OHA phones are allowed to run google now and apps that have embedded google services.

Then maybe you re-phrase your question to reflect that, before it might be closed for being "too broad" or "speculative". In short: They might not be allowed to have the GApps pre-installed, but (root given) you can do that yourself anytime.

Google Now is part of the newer Google Search app. If you can install that app, then you should have Google Now.

@Izzy - so google doesn't block their apps from being installed on non-OHA phones? They just block it from being pre-installed?

To my understanding, that's about it (though they don't "block" from pre-install, but manufacturers would run into legal trouble if they pre-installed them without consent).

I saw a Xiaomi device, Redmi 1 with Play Store & Play Services preinstalled (I was watching when it's booted for the first time), despite that Xiaomi is not a member of OHA. It's using MIUI, which is based on CM. Whether this can be a proof to contradict your premise or not, I'm not sure.