text:
Anyone know where memos are stored on a Samsung Galaxy S6?
I hooked my S6 up to a Win8 computer, and there were about 30-something folders on the S6.  So I copied everything to my PC.  Now I'm trying to find some of the info that was on my phone, like memos, and I can't figure out which folder they're in.  They've got to be here somewhere.  Does anyone know which folder the memos are stored in?
By memos, I'm talking about the default memo app that comes with the Samsung S6.

Let's see: The package name of the Memo app on Samsung phones is called com.samsung.android.app.memo.
There is no such folder in sdcard\Android\data, so it has to be in /data/data/.
And how correct I am:
Using adb shell and giving myself root access (su) to access /data, I am able to explore my own private data.

Now let's look inside and we find a databases folder with a memo.db inside:

Using some simple SQL and sqlite3 we can take a look inside the database itself:

There are our memos. Note that they are also saved as XML including any extra data needed for the app itself.

Yes you need root access or use Samsung's backup tool to make a backup of your memos.

The poster here is certain that the app can be backed up using ADB  (i.e. no root access is required). However, it is always possible that the current Memo app in S6 doesn't allow backup. Can you confirm? Also, on which model and Android version have you tested your answer?

@Firelord using Smasung's SmartSwitch application it actually does a backup. adb backup only returns an empty backup file for adb backup com.samsung.android.app.memo.

"giving myself root access" - can you expand on this, please? Primarily, does this require that the device be rooted, and what is the command syntax to give myself root access to /data?


text:
Multiple keyboards for multiple applications
Is it possible to have different keyboard for different apps, say I want to have Emoji Keyboard for facebook and twitter but Google Indic keyboard for my whatsapp is this possible.
Mobile : HTC Desire 820
OS : Android 5.1

You can switch through your installed keyboards at any time, if you mean this.

Sorry, not this it make use of the selected keyboard for all the apps, what I need is different keyboard for different apps as I mentioned in my question for FB and twitter one type and for whatsapp other.

Either switch manually every time you use a specific app or see if Tasker or similar has the ability to automatically switch the keyboard when you open a specific app (Tasker does not seem to do this natively, maybe some command can do that).

Hmm switching manually every time is pain, anyway thanks for suggestions

You can use tasker with the Secure Settings plugin:

Condition: Application (chose the app)
Task: Plugins › Secure Settings › System+ › Input Method (chose the keyboard)

If you just want to use 2 different keyboards, create such a profile for the keyboard you use with "fewer apps". In the condition, chose all the apps that should use that keyboard. You might need to add an "exit task" reverting back to your "default input method".
For more than 2 keyboards, create one profile per "special keyboard" the same way.

Doesn't Secure Settings require root access to change input method? I checked on Android 5.1 and the option appears to be greyed out when Secure Settings is not enabled as system module (which requires root access).

That's the part always confusing, yes: that action is part of the "System+" section, not the "root" section. Difference is that "System+" requires either the app being a System app, or having the helper installed. While the former definitely requires root, I always forget whether the helper does as well …

DEFAULT_INPUT_METHOD is a secure setting (it manages the input method (IME), keyboard in short) and any modification in its value requires the permission WRITE_SECURE_SETTINGS. However, that permission is not for use by third-party applications and no currently installed system app at the moment can do what you want.
It makes sense why third-party apps shouldn't be allowed to switch IME because otherwise, such permission would open plethora of opportunities for keylogger malware. Given the constraints, the only thing to do is root the device.
Once you root the device, you can follow Izzy's solution. I recommend Automate app however, since it doesn't need a third party plugin to switch IME.
The flowchart to achieve the objective would look like
(Click image to enlarge)

The app would introduce you with its basic usage so making that flowchart is easy. Just for a little guidance, know that the second block (When foreground app) can be found under Apps and third block (Set input method) can be found under Settings.
After making the flowchart, make sure to install all the permissions it needs

source: Stack Exchange

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

sort: votes


text:
Deltajen, Opendelta, and xdelta
Does anyone have experience with any delta system? I would like to create delta's of my ROMS I have tried Deltajen and found it does not properly.
I have ROM(A).zip and ROM(B).zip containing system.img and NON-HLOS.bin boot.img etc etc. When I run Deltajen  it gives me a zip file with a blank updater-script.

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


text:
Storage nightmare
I've known my phone's been pretty full for a while (mainly music, which is seemingly impossible to save to my SD card), but the equalizer on the music app I use recently started acting up. I went onto Google Play to give it a shit review, but then realised it needed an update. When I tried the update, it told me I had insufficient storage space, so I decided to delete the app to see if it would have been updated if I downloaded it again. Insufficient storage space. I've now deleted four fairly large apps from my phone, and guess what my phone told me when I tried to download the music app again? Yep... Insufficient storage space! Still. And now I've got no apps either... Is there anything I can do about this?

Welcome to the Android Enthusiasts! Wow, looks you've got some "shitty downvotes" (hint: 1. if something "acts up", before giving bad ratings at Playstore better check if it's not your fault; 2. have you used our nice search function to check for similar issues?). To get you started nevertheless, I've re-tagged your question. Please check our insufficient-memory tag-wiki for first aid and useful links. Good luck!

your storage issue is widely encountered within the android devices users.Although you didn't mention your device name and android version,you should look for your microSD card if it is mounted read/write or read only and see your internal SD card too.Google has restricted the ability to write to the SD card for Android KitKat and above so you have to try to use Kitkat SDFix from Play Store to restore this great feature.If this doesn't work you might try to root your device and install the Xposed framework and then download a module called "HandleExternalStorage" from within the Xposed installer,activate it and reboot your phone or tablet.


text:
Locate nexus 9 serial number
I have a defect nexus 9 tablet, which is getting stuck in the initialization animation (Marshmallow). I still have a warranty, but I can't locate the S/N. I stupidly didn't save the original box, and it isn't written on the back of the tablet.
btw, factory reset also didn't help.
Thanks!

Ok, I've finally found how to locate the s/n.
When the tablet is off, press "volume down" + power until the hboot menu appears. Then pick the barcode option, and there you can find the IMEI, S/N and MB codes.

What are the first 5 characters of your serial number. Mine is HT4CD (manufactured on December 13 2014) and runs Marshmallow perfectly better than Lollipop. Use https://www.reddit.com/r/Nexus9/comments/2nsqse/how_to_figure_out_when_htc_made_your_nexus_9/ to check the date (I can for you)


text:
Bricked Nexus 7, USB Not being recognised at all
My Nexus 7 all of a sudden stopped sending data through usb OTG and i tried to erase cache through TRWP but ended up deleting the OS. Now I am stuck with a device with no OS. I cannot mount the USB for my computer to recognise it so that I can restore it. I tried ADB sideload but it doesnt load and gets stuck on starting...
If I click on Mount, I cannot click on the USB-OTG box. My computer does have the correct drivers for the USB as it used to work on it before but since the OTG stopped responding to data I am now stuck and cannot push a restore image to the device.  I tried different OTG cables, different computers. None of the computers even detect a device as plugged in. Whether I boot into bootloader or recovery I just cannot get the PC to even acknowledge the fact that something is plugged in. As a result I am just not able to flash it at all. I tried NRT with the soft-brick option but that fails too because it says no adb connectivity.
Any help would really be appreciated.


text:
android command line shell
I have a Nokia X running Android 4.4.4 and I have Terminal Emulator and Busybox 1.24 installed but I can't still find some useful commands to perform several operations with the command line interface.That's my question:what's the best and the most complete shell utilities to install? Thanks

Questions seeking app recommendations, device recommendations, or other purchasing advice are off-topic as they become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve.. If this question can be reworded to fit the rules in the help center, please edit the question.

Recommended reading: our command-line tag-wiki :)

The only other one I know of is ToyBox.
http://www.landley.net/toybox/about.html

The best is a combination of 3 commands, which are cd, ls and cat.
You start with cd /, followed by ls -l
You detect a thing called mnt
Do cd mnt, followed by ls -l
Do cat /proc/cpuinfo
Go to /sdcard/pers. There's so much explore.


text:
How can I make a controller work on my Android tablet using a USB-OTG cable?
I am trying to make my Thurstmaster GP XID controller (https://www.thrustmaster.com/products/gp-xid-pc) work on my android 4.2 device (Onda v975s) by plugging it into the micro USB port using a USB-OTG cable.
Many articles say you just need to plug it and play, but my controller is unresponsive. The light of the center button (the home? button) does not light up. I have tried USB diagnostics and controller "tester" apps which do not detect my controller.
My tablet can use a peripheral keyboard plugged by OTG, but a regular USB mouse will not work (won't light up, response etc).
Do not hesitate to ask for more information, thanks in advance.

The most likely explanation is that your tablet is missing the drivers needed to use USB mice and game controllers. If that's the case, then the only way to make the device work is to find another ROM for your tablet that does have the drivers. You might ask the manufacturer for an updated ROM that has the support, or look for a third-party ROM that supports your tablet (which is unlikely for unpopular devices). Installing a third-party ROM is not easy, though, and if you do it wrong you may break the tablet completely.
It's a bit odd that the manufacturer would choose to remove support for USB mice and game controllers, given that the support is in stock Android. Possibly they had to cut corners to make the kernel fit into the boot image, or something like that.

Is there a way to install those drivers without another ROM? It has been a nightmare for me to update (or rather unsuccessfully update) this device due to the manufacturer's ineptitude. I could try installing the official 4.4 ROM but that would render my device without WiFi connection (I have an unsolved question regarding this matter, and the only solution I found was to downgrade to 4.2...)

@Golokopitenko Not unless you have the kernel configuration that was used to make the ROM in the first place.

Is it possible... That I install win10 on my tablet? That would surely fix all the ROM problems I have with both 4.2 and 4.4

@Golokopitenko Unless Microsoft have ported Windows to your tablet, it's not possible. I'm afraid the only fix is to steer clear of devices with poorly integrated software.

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


text:
Where are books downloaded from Amazon Kindle stored?
I download a book from Amazon Kindle, and would like to transfer it to my laptop. Where is it stored in my Android 4.4.2 phone (Kyocera Hydro Icon)?
Is it possible to find it out using some download history of Android?
Is it possible to search the file (with guessed file name) in the file systems on my phone using some command or program?
Where is Amazon Kindle app stored? Can the book be stored in the same directory?

Most likely not (without root). For details, please see Where Android apps store data?

On my tablet (non-rooted) it exists at
storage\emulated\0\Android\data\com.amazon.kindle\files\
Mine has about 500 folders, which, I assume is one per book.
The names are some 10-character string of the form Bxxxxxxxxx, where x is alphanumeric. Inside each are a few files devoted to the book, probably the text in the file Bxxxxxxxxx_ebok.prc (it has the largest size), and a couple smaller files tracking reading progress, etc.
I have not been able to determine a translation between the coded folder and file names to the actual book, though I would, if I had tracked my download progress, have a rough idea based on calendar.

Do you have root access? It's just a guess but it is possible that the app is keeping a map of those hard coded folder/filer names to particular in its database. Lots of apps use database for such things. You can check it out.

@Firelord - I'm not rooted, and wouldn't have any idea how to investigate this, though I can guess it would involve some SQLite proficiency.

No proficiency is needed actually. Just an app would do all the job for displaying the data. You just have to search the tables. https://play.google.com/store/search?q=sqlite&utm_source=opensearch


text:
how to download pictures from sd card to phone?
I have a droid turbo and i bought a sd card reader to plug in an sd card from my game cameras into my phone so i can see these pictures without bringing my laptop to my cabin.  But i cant find anything on any file manager that can move these pictures to my phone from the sd card?

Welcome to the Android Enthusiasts! Is the card recognized as such (if not, you might need a specific, so-called "OTG cable")? Can you somehow browse the pictures?

Try connecting another card reader and/or SD cards from a different manufacturer, it seems to be a frequent problem with Droid Turbo. AFAIK Kingston SD cards work more often then not.

What kind of card reader is it? Is it made for your android? If not, it may need to be powered and your android isn't giving it enough power.
Typically when a 3rd party storage device is connected via micro-USB to an android device, the android will recognize it and you can navigate to it via the file browser. It may be considered a USB device though, so go through the root of the device to make sure it's not actually showing up.

it is called bone view and the package says made for android


text:
Is it possible to adjust aspect ratio on an Android device?
I have an Android device that has a 4:3 aspect ratio.
When I watch videos in full screen mode, sometimes the aspect ratio causes the video to be distorted.
Is there a way to temporarily adjust the aspect ratio?
I can see a couple different solutions:

Adjust the actual aspect ratio.
Add a black bar on the top / bottom of the display that effectively changes the aspect ratio.

Maybe something in the options of the video player used? If not, tried a different one already?

Try VLC. It supports different display ratios

VLC is the best if they support the aspect ratio you need.
MX Player has a custom aspect ratio setting; and pan, but needs a codec pack to play a couple of audio formats due to licensing issues.

Yes, if the video dimension is equal to your screen, usually the players have a small option in the bottom right/left that looks like a crop symbol. If you click few times on that, the aspect ratio should adjust to your device.
While if the video doesn't match your device screen, there's no way out and you have to crop the video to watch it in full-screen mode. If you are on Android and you know your screen dimension for this cropping task, you can use Crop & Trim Video editor editor that is free and (overall for my standards) watermark-free.

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


text:
How to use android device as display or terminal?
I want to use an android phone as a USB terminal/display for a headless system.
The ideal user experiece would be:

Plug phone to the usb port.
System starts sending status info, phone displays it.

I prefer a solution without developer options/adb necessary.
Ideally the end user only has to install an app and open it up.
Does a solution exist?

Maybe via VNC?

Gave it a try. Since the purpose is info display only, having a desktop is a bit of overkill and requires extra scripting to auto-open an info display. Headless system will have no X11 anyway.... Effort for the user to set up a new phone is equal or greater to the partial solution I list below.

Enabling usb-tethering programmatically seems to be not possible.

Good points. If the device is rooted, auto-enabling USB tether should not be a big deal for e.g. Tasker with the Secure Settings Plugin, as my Tasker graphs reveal – just a matter of finding the right trigger-acction :)

Rooted devices are not an option. I want to be able to do a sanity check on the headless server using any device at hand.

Then I'm afraid chances are pretty low -- unless you find a 3rd party tethering app which auto-starts when detecting a specific device via USB, or something similar. If Tasker requires root to toggle that, there won't be an automated way without root.

My current partial solution:

android: Use usb-tethering to create rndis connection.
headless: bring up network device with a static ip
android: ssh to pc
headless: pipe output to connected pts with write(1)


text:
Cannot remove/rename/move build.prop, new insights
I soft-bricked my Huawei G700 running Android 4.2.1 by editing a line in build.prop, specifically this one.
ro.config.hwtheme=1

to
ro.config.hwtheme=0

My phone didn't like that apparently. It supposedly fixes the Xposed framework limited mode bug.
Now, I can boot into recovery and restore my phone to factory reset, but this is not something I'm very willing to do unless everything else fails. In recovery, I'm unable to use ADB to connect to my phone, I can wipe things, reset and apply patches, but that's it.
Now, if I boot my phone and it gets stuck in the boot animation, I can suddenly use adb fine. Hurray right? Just restore build.prop.bak.
Yeah, not. Nothing works.
chmod 777 build.prop -> Read-only
su chmod 777 build.prop -> nothing happens
su mv build.prop build.prop.back -> nothing happens
su -> nothing happens
su -s -> chainfire information ( from SuperSU )
mount -o remount,rw /system /system -> not permitted
su mount -o remount,rw /system /system -> nothing happens

All these commands were run in /system
Can someone help me out with this? I don't want to have to use my last resort.
So, what's changed?
Well, if I boot normally, the phone functions fine in the background as if I didn't enter a PIN code. It requests an IP address from my router and connects fine, but something like web.whatsapp.com won't work.
Volume Down + Power boots into... Fastboot? Well, kinda, not really. It just says two things
NEW:RISK
OLD:RISK

What I found on Google isn't much and it isn't promising. No solutions.
When I boot the device, fastboot does detect the device as an mt6589 with the boot image being secure.
SPFlasher does not work, it fails to detect my device in any mode and will not flash anything.
I tried updating from recovery with a zip file but everything fails. After some googling, it appears to be likely that the zip file has to be signed by Huawei themselves.
I tried installing adbd insecure v2 from Chainfire, but I have NO idea how to enable this from adb. I can't enable this the normal way.
So, here's what I thought. Can't I call the Huawei theme manually from the adb shell? For that, I need someone else who can check this.
If that doesn't work, do you guys have any other ideas?
If none of those work, I could ask for an OEM key and flash another recovery, but that seems like a terrible idea as I have no GUI.
Then there are three things left, sending it to Huawei / dropping it at a local repair shack, neither appeals as they are costly and mean I'll lose my phone for a while.
Or, and that's the thing I really don't want to, buy another phone. I'm content with the phone itself, curiosity merely killed it.
**I think I can't edit it because it's in use, not because I lack access as can be seen here **

Cheered too early.

You will first need to mount /system in read-write mode, and then it's /system/build.prop you need to deal with. A factory-reset wouldn't help you anyway (doesn't touch /system).

The problem is I can't, nothing works.

@Nos Do you have USB debugging turned on before this happened?

Yes, it's on and working.

@Nos not even in recovery (which I was talking of)? Or can you do that via adb shell (first su, then mount -o remount,rw /system, then modify the build.prop)?

su does not work, afaik after typing su it should turn the $ into an # and work. It doesn't. Mounting does not work / not permitted.

Here´s an image to illustrate. http://i.snag.gy/FiFdQ.jpg Note that I have write permissions yet it still complain about being read-only. Doesn't that mean it's in use?

5 minute timer passed, but I forgot to add that ADB does not work in recovery mode...

Or not. http://i.snag.gy/ORxQJ.jpg


text:
Android Nexus 6 Bricked? TeamWin splash screen turns on and off
I think I've bricked my Nexus 6. Every time I turn it on, the teamwin (TWRP) splash screen keeps literally flashing on and off. I would be able to flash a stock system on but I can't due to the fact that the bootloader oem is locked. I have no clue what to do as my knowledge in this is limited. Does anyone have any suggestions as how I could possibly unlock the bootloader? I have found no way to get into android and get into developer options to allow it.

Better ask in XDA: http://forum.xda-developers.com/nexus-6

Have you tried to unlock the bootloader via fastboot?

@PaulRatazzi This should work, providing the 'Enable OEM Unlock' option is enabled under Developer Options. Note that doing this will wipe all user data on the device.

If you installed/flashed from your SD card, try to use a new one with your stock ROM in zip form(including stock recovery). Or try a riskier method and try to use Odin3 but you need to prep all files before the screen turns on again, but make sure you have the right files(NOTE: you will have between 15-25 seconds to do this).

Only Samsung devices use Odin.

If you can get to the Boot Loader, then everything's fine.

Install ADB
fastboot flashing unlock
Flash Factory Image

If you can get to TWRP Recovery, try accessing ADB Sideload

Install ADB
Flash OTA Image

OEM Unlocking :

If someone has enough reputation, please add the https://i.stack.imgur.com/aVGGa.png as a link! Thanks!

Done. Problem with your answer is, OP states his device is stuck in a recovery loop, and can't power on into the OS, which means no way to turn on that switch.

@AndyYan As a link! Not as an image! Yeah, boot loops are very frustrating since they involve either finding a way to not loop and get to the boot loader or replacing the motherboard.

Uh, why a link? It's an image uploaded to SE, and the content is very relevant to your answer...

@AndyYan Oh, I just thought that it wasn't relevant enough, but thanks!


text:
Outgoing calls minute reminder
I'd like to have this feature on outgoing calls:
- first vibrate (or beep) after 45 seconds call answered;
- then vibrate (or beep) after every other minute (1.45, 2.45, 3.45 ...)
I created this task in Tasker:
1. wait 45 seconds;
2. vibrate time 50;
3. wait 1 minute;
4. goto action 2;
and put in context: call outgoing.
It kinda works but has a few shortcomings:
- timer starts just after phone number is dialed, not when call answered;
- task keeps going on after call is terminated, need to manually stop it.
I tried with an exit task with an explicit stop action but did not work.
I read about AutoNotification plugin intercept feature but did not understand.

Any good reasons you don't want to go for a ready-made solution? It appears that Call Duration Notification comes close to your goal. There are also some related apps here: https://play.google.com/store/search?q=call+time+duration

Do you have root access? Which Android version and device are you using?

Apart from that, it comes very close to a built-in feature (not sure whether that's stock/AOSP or a CyanogenMod addition). All my phones (all running CM) have that somewhere in settings: vibrate when other party picks up, and vibrate all X seconds during outgoing calls. Have you checked whether you might have that as well?

@Izzy, I think this may be a stock Android feature. I've Android 4.2.1 (non-CM) and I see an option "Minute reminder (at 50s of every minute)" in Dialer Settings. Perhaps, post an answer maybe?

@Firelord Done. Just cross-checked with my phones: it's even a perfect match here, as it's "at 45s of every minute" :D

As Firelord confirmed this for stock Android, you might not need Tasker for that at all – your dialer probably supports this natively:
Open the Dialer, then check its settings. My dialer has there (in German, so don't take my translation literally):

vibrate when answered (additionally, also when hanging up or there's another incoming call)
vibrate every minute (15 seconds before it's up)

I'd say that's pretty close to what you're after – just keep the "vibrate when answered" off and tick the "vibrate every minute", and it's even a perfect match. No need for any additional app, if that's all :)


text:
ADB Backup does not work for Skype App
I have a Nexus 5 with Android 6. The ROM is stock and not rooted. My bootloader is locked too.
When I try to save the Skype data files (chats, messages...) nothing will be saved.
adb backup -noapk -f Skype.ab com.raider.skype

This command will be used to save the data like messages and more.
My question: How can I backup my Skype data?

It is possible that the app disallows backup. Have you verified this possibility?

I Think you need to connect  with pc and need to take backup as mentioned in the skype doc
this is not poosbile with android
https://support.skype.com/en/faq/FA413/how-do-i-back-up-my-configuration-and-instant-message-history?platform=android
this is for windows
https://support.skype.com/en/faq/FA413/how-do-i-back-up-my-configuration-and-instant-message-history


text:
Hard Reset and Factory Reset is not working anymore
When I am trying to do factory reset, my phone only restart. And I cant perform Hard reset because if I want to go to recovery mode, it will restart only. I seems like the recovery mode is destroyed. Is there any solution in this problem? .
phone specs(According to CPU-Z)
;ChinaPhone
:Hardware: MT6572
:Android 4.4.2
:Root Access: Yes
. ->recently, I can perform this two methods and I can Access recovery mode(power+volume up), but suddenly it goes like that. PLS HELP!!

What do you mean by "I cant perform Hard reset because if I want to go to recovery mode, it will restart only" ? What happens when you try to go to recovery mode?

although I'm not sure but try pressing the power button the home button and the volume down at the same time after you've turned off your cellphone and then use the volume up and down keys to select factory reset but you have to remember the gmail synced to your device and the password to be able to re-use it

I have no home button, and If I try to pres volume down and power at the same time ,it will go to the test mode

The OP has tried what you said already. You refer to recovery mode, which the OP says that he cannot access. Please edit your answer to make it more appropriate.


text:
Google Play - one account, but downloading apps only on the first of two devices sharing the same account
I have a phone - Samsung Galaxy S4 and a tablet Sony Xperia Z. Until now, I had a problem with Google Play - as I first set up Google Play account on my tablet using my email address, and later bought the phone and set it up there as well, I realized that if I wish to download app for my phone, it automatically downloads the app on my tablet, but not on my phone! All the other apps, like FB, Gmail, LinkedIn etc. are working on both devices using the same account, but Google Play automatically applies my commands to the tablet, even though I want to download the app for my phone.
I plan to buy Samsung S6 and I am wondering what to do about this as I feel I will have the same issue. I don't want to open the new account for the phone, as that would mean I have to change all of my other accounts, and I use this email address for so many years, at so many social networks.
I feel like an idiot, is there any answer why is this happening and where did I make a mistake?
Thanks guys!


text:
Execute APK in /data/local/tmp?
I built an APK using Apache's Ant. I also used Ant to install it on a Cyanogenmod device:
$ cd Android-PRNG
Android-PRNG$ ant debug install
...
install:
    [echo] Installing .../AndroidPrng-debug.apk onto default emulator or device...
    [exec] 1476 KB/s (17773 bytes in 0.011s)
    [exec]  pkg: /data/local/tmp/AndroidPrng-debug.apk
    [exec] Success

    BUILD SUCCESSFUL

So I have the APK located at /data/local/tmp/AndroidPrng-debug.apk.
The problem I am having is I cannot figure out how to run it. The APK does not show up in the Apps Launcher (that's somewhat expected). Cyanogenmod's FileManager v1.0.2 does not appear to let me navigate to /data/local (that's not expected).
How, exactly, do I execute the APK I just pushed to the device?

I'm working this way because Eclipse and the Android plug-in are so broken they are basically unusable.

I believe this is off-topic.

If you need to invoke Apache Ant, this isn't the forum. Also you may want to expand upon what why are you aren't using something like Android Studio or adb.

SarpSTA and Morrison - Apache Ant has already been run. The APK is on the device. Now I'm trying to execute it. Surely a question how to run an app is on-topic on these forums???

@jww, this site is not a forum. Anyhow, is the device rooted or do you have access to ADB? If the device is rooted, copy the APK to /data/app  and restart. If you have ADB or a terminal emulator in device, you can do am start -n com.android.packageinstaller/.PackageInstallerActivity -d "file:///data/local/tmp/AndroidPrng-debug.apk" --user 0 -- this would begin traditional sideloading of an APK.

APKs aren't executables, they're archives. If Ant doesn't do the actual package install step then you need to do that. How can I install an app given only its APK file?


text:
How to set up priority mode in Android 4.3?
I have an Android 4.3 phone and don't expect any Lollipop updates soon. However, Lollipop's "Priority Mode" is a feature that would be tremendously in my daily life.
Specifically, I expect the following:

Phone rings only when receiving calls from specific callers, otherwise stays silent
SMS notification sound only when receiving texts from specific people
GMail notification sound only for mails from specific senders

To achieve this, I came up with the following "solution" so far:

Ringtone: I set the default ringtone to none, then set the actual ringtone for the specific contacts only.
SMS notification: Haven't found anything useful here...
GMail notification: In the GMail web app, I set up a filter that adds a label to messages from specific senders; then in the GMail Android app I set the notification sound for those labels. I turned off the notification sound for my inbox in general.

The upside of this solution is:
It works (more or less). It was rather easy to set up, because we're talking about just 3 "priority contacts". I didn't need to install any extra apps, which sometimes complicate things and maybe cost money.
The downside of this solution is:
I don't see any easy way switching between "priority" and "normal mode" -- I had to set both the default ringtone and GMail notification sound by hand. Also, SMS are not prioritized, but that's not so much of a pain, because I don't receive so many texts from "less important" people.
My question:
Generally, what would be considered "best practice" to set up priority mode (in this case for phone calls, SMS and GMail) before Android 5.x?
Is there any way to set custom notification sounds for SMS from specific contacts? Or is there any recommendable app which allows to do exactly that?
Or better yet: How could I easily switch between "priority" and "normal mode" without having to change settings in three different places -- is there any app which handles phone calls, SMS and GMail altogether?

That ringtone part is covered here by an app. Anyhow, ringtone and sms can easily be covered with Tasker or perhaps, with some other automation app too. I don't use GMail so can't comment.

@Firelord I edited the question to reflect the exact Android version.

In case Tasker covers contact-specific GMail notifications, this would probably make a good answer -- has anyone tried that? In either case, it would be interesting if there is a free solution as well...


text:
Lenovo S6000 - Auto power on after connecting charger
I searched the web to automatically power on my lenovo tablet after connecting the charger, but all the guides are for samsung and some other brands. File /system/bin/playlpm doesn't exist in lenovo S6000:
shell@android:/system/bin $ ls
6620_launcher         bootanimation         dexopt                geomagneticd          ip6tables             mediaserver           netcfg                reboot                sendevent             tc
6620_wmt_concurrency  btconfig              df                    getevent              iptables              memorydumper          netd                  renice                sensorservice         thermal
abcc                  btlogmask             dhcp6c                getprop               keystore              memsicd               netdiag               requestsync           service               thermal_manager
adb                   bu                    dhcp6ctl              grep                  kill                  mfv_ut                netstat               resize2fs             servicemanager        toolbox
aee                   bugmailer.sh          dhcp6s                gsm0710muxd           lenovoSN2             mkdir                 newfs_msdos           rild                  setcc                 top
aee_aed               bugreport             dhcpcd                gsm0710muxdmd2        linker                mke2fs                notify                rildmd2               setconsole            touch
aee_core_forwarder    busybox               dm_agent_binder       gzip                  ln                    mksh                  nvram_agent_binder    rm                    setprop               uiautomator
aee_dumpstate         cat                   dmesg                 hald                  log                   mobile_log_d          nvram_daemon          rmdir                 settings              umount
afm_server            ccci_fsd              dnsmasq               hd                    logcat                modify_ebr.sh         orientationd          rmmod                 sh                    uptime
akmd8963              ccci_mdinit           dpfd                  hdc                   logwrapper            monkey                permission_check      route                 shutdown              vdc
akmd8975              chmod                 drmserver             id                    ls                    mount                 ping                  rtt                   sleep                 vmstat
am                    chown                 du                    ifconfig              lsmod                 msensord              pm                    run-as                smd                   vold
ami304d               cmp                   dualmdlogger          iftop                 lsof                  mtkGD                 poad                  sbchk                 start                 watchprops
app_process           content               dumpstate             ime                   magd                  mtk_agpsd             pppd                  schedtest             stop                  wipe
applypatch            cp                    dumpsys               input                 make_ext4fs           mtkbt                 pppd_dt               schedtop              stp_dump3             wlan_loader
atrace                dalvikvm              em_svr                insmod                matv                  mtpd                  pq                    screencap             superumount           wpa_supplicant
badblocks             date                  ext4_resize           installd              md5                   muxreport             printenv              screenshot            surfaceflinger        xlog
bmgr                  dbus-daemon           factory               ioctl                 md_minilog_util       mv                    ps                    sdcard                svc
bmm050d               dd                    fsck_msdos            ionice                mdlogger              nandread              racoon                sdiotool              sync
boot_logo_updater     debuggerd             fsck_msdos_mtk        ip                    mdnsd                 ndc                   radvd                 send_bug              system_server

Is there any universal method for all androids? I may need this for a brandless chinese tablet(but now for lenovo). I just want to power on the android as soon  as charger is connected.

One solution could be following: you need to edit boot.img ramdrive content and have su installed it to work.
unpack boot.img and extract init.rc from ramdrive.
Add following to the end of file:
#Check if chargermode and start rebootit service.
on property:ro.bootmode=charger
    start rebootit

and after it added following:
#rebootit service which command reboot
service rebootit /su/bin/su /system/bin/reboot -c reboot now
    user root
    oneshot

then re-pack ramdrive and boot.img and flash it.
Got working with this method on Lenovo TAB 2 A10-30


text:
Adding (and exporting) tags to pictures
I am trying to find a way to organize picture metadata in my Android phone. By default, it adds location and time data, so that the photos are easily searchable on the phone. I can also tag people and the software recognizes faces and suggests people name.
Unfortunately, it seems that both people name and location data are not available when I donwload the photos on my computer. The metadata should be written in the photos in EXIF, IPTC and/or XMP format, so that other tools on my computer will recognize them.
Also, I can only tag people when the software recognizes that there is a face, and many photos of people are not correctly recognize as such.
Is there some way I can tag and organize pictures, storing the metadata correctly in the photos themselves?

I read in the FAQ. "Basically, what problem (with your Android device) are you trying to solve?" Well, I am trying to solve the problem of tagging photos and exporting metadata. I am not asking for a recommendation in the sense that there are many options available and I am looking for the best one. I am asking how to perform a specific task, possibly with the use of existing apps

I have removed the explicit request for an application. Really, it is not about recommendations. It is about a specific task to be completed on Android. If that requires installing some third party application, so be it

OK, that's a possibility (I've removed my close-vote ;) Still, SR might be the better place asking for an app. I'm not aware of any built-in feature that could be used here – but there are some apps dealing with EXIF tags, though I'm not sure how far they cover your needs. // For now: Shall we delete above comments for a cleanup?

Is there some application that can help me tag and organize pictures,
  storing the metadata correctly in the photos themselves?

I do not know any android app that can do this.
But maybe you can help implementing this feature
Unfortunately the android internal media database/media scanner does not support "tags" for photos
so an android app has to implement the tag scanning/management on its own.
I also donot know a ready to use android java library that can write jpg iptc-tag infos.
currently i am thinking about adding tag-support to https://github.com/k3b/AndroFotoFinder/
using a pc generated csv file to transfer tags
For details see https://github.com/k3b/AndroFotoFinder/issues/25
[Update 2016-11-09]
Implementation is under way using a seperate xmp - sidecar file for every jpg to store the iptc-tags.
There is much work ahead for this hobby project.
On the pc side you have to use an exiftools based batchfile to transfer between non-android-standard-jpg-fields and xmp-sidecarfile/csv
[Update 2016-11-09]
Implementation is done :-) with tag write support in jpg-exif or external xmp file


text:
How to enable Android Ip forwarding
In linux we can,
# echo 1 > /proc/sys/net/ipv4/ip_forward

or,
# sysctl -w net.ipv4.ip_forward=1

There is no sysctl command nor /proc/sys/net/ipv4/ip_forward file in Android. Is there an equivalent operation in Android?

Which Android version are you using? My Android 4.2.1 has that file. sysctl can be obtained by installing Busybox.

This method worked for me, I just setup android as proxy server and need enable forwarding
Use ROOT explorer and EDIT this file: /proc/sys/net/ipv4/ip_forward
add this syntax:
iptables -F -t filter

iptables -P FORWARD ACCEPT

if that file not found, try install busybox first.. but I guess that file by default is available on android system.


text:
Link2SD made apps unable to reinstall after SD card corrupted
I was using Link2SD and linked some of my apps to an SD card including internal data. Recently, the second partition somehow got corrupted. I deleted the partition and reformated it. Now I can't install any of the apps previously linked. It shows insufficient space error, but there is plenty of space in internal memory, SD card, as well as SD card's 2nd partition, and I can install any other apps.
I tried the clean-up option in Link2SD. It cleaned up the Dalvik cache of old linked apps, but it didn't work.
What to do now?

Try 1) uninstalling and re-installing affected apps and, if that doesn't work, 2) try a cleaner app. What I suspect is that the links created by Link2SD still exist (they are created in the original place, pointing to your "external storage") – but now pointing nowhere. Android tries to follow-up and … well, nothing there, 0 byte available at the (ex-) target. If that's the case, those links need to be removed. You could do that manually if you know your way.

Try this

Go to application manager
There are some filenames starting with '.com' and with a grey SD card icon
Uninstall them
That should do the work


text:
How to install Google Play services on an Android 6.0 emulator?
Is there a way to install Google Play app on an Android 6.0 (Marshmallow) AVD?
I have found the Open Gapps for Android 6 here:
https://www.androidfilehost.com/?fid=24269982087008996
To install them you need to boot into Recovery mode and install that zip file, but
an emulator does not have a recovery partition, so the steps target the case of a
device.
Do you know, how I can do the same for the emulator? I tried to unzip the file and
put the 4 APKs described here (for Android version 5):
http://www.flinkd.org/2015/02/instal...i-21-lollipop/
but after rebooting the emulator, although the icon of Google Play appears in the launcher,
when I tap on it, then the emulator crashes with some fatal exceptions in logcat.
I tried to install the packages one at a time, rebooting the emulator after each installation,
and found out that the crash happens after installing the Phonesky.apk no matter if you
click on the Google Play icon.

Just an idea (untested): Check my app list for Custom Recovery & Flashing. Flashify was one of the apps intended to take-over such tasks from recovery, so one can flash without booting to recovery. Might work in an Emu as well.

Thank you very much for the quick response. I will check it out! :)

Don't forget to update us with the results, please! :)

I tried to do adb shell stop && adb shell start since I am on an emulator
and a reboot would flash the system.img, but the emulator hangs on the
boot animation. Moreover, I tried to tap on the reboot button but
again the emulator got frozen in the rebooting screen with theloading icon..

Maybe the files in the zip contain errors. I will try some other zip files as well I found on other web pages. Logcat doesn't seem to provide enough information about this.. I will let you know.

I tried with this one: http://downloadmirror.co/android/ug/open_gapps-arm-6.0-pico-20151113.zip and if I tap the reboot button, again it gets frozen. But when I do the adb shell stop && adb shell start commands it reboots successfully. There is no Google Play icon on the launcher screen though.

Did you ever find a working solution?

@ThanasisPetsas Were you able to install play store on emulator? And then install another app from playstore?

1) Go get GApps for the emulator from http://opengapps.org
2) Unzip to get

GmsCore.apk
GoogleServicesFramework.apk
GoogleLoginService.apk
Phonesky.apk

Launch the emulator from the command line, on linux you do
./emulator [name] -no-boot-anim -writable-system

on windows it's probably
emulator.exe [name] -no-boot-anim -writable-system

Make sure you have adb access to the emulator.
adb remount

last but not least, push everything to system.
adb push GmsCore.apk /system/priv-app/

(and repeat for all the other APKs)
then reboot with
adb shell stop

and
adb shell start

This does not work. This error appears all the time: adb: error: failed to copy 'Phonesky.apk' to '/system/priv-app/Phonesky.apk': Read-only file system. No remount in any way does help, as the output of every remount is the following: mount: Read-only file system. Yeah, thanks android, thats why I want to remount it with rw -.-

In the same boat as @ChristianDreher - can't write to the filesystem. adb remount succeeds, and pushing after that gets a little bit of the way then stops. I can't remount from an adb shell either. Any ideas?

I've had this problem countless times in the past, and it astounds me that the solution isn't more widely known. Simply start the emulator with the -writable-system argument. Hey presto, writable system partition, and these instructions suddenly work.

To avoid Read-only file system error you should start an emulator with -writable-system flag

After doing steps in this answer my emulator would not power on.

Running emulator -shell open shell prompt with root permission


text:
Why "df" and "du" show different space usage on /storage/emulated/0?
My Moto X (first generation) has a 11.9GB of user storage, almost all of which is used. Here is the relevant line from df:
Filesystem               Size     Used     Free   Blksize
/storage/emulated/0     11.9G    10.3G     1.6G   4096

But when I go to the mount point and run du:
/storage/emulated/0 $ du -hs .
5.0G    .

There are no mount points under /storage/emulated/0, so it can't be the files hidden under mount points issue.
Android Settings and ES File Explorer show numbers that corroborate this, with ~10GB used but a breakdown that doesn't total more than 5GB.
Is 10GB actually being used? If so, how can I find out where the other 5GB is going?

/storage/emulated/{x} is typically symlinked to somewhere on /data, so I would guess in both of these cases the available size is the total size of /data, but you're only running du on the one subdirectory. Try ls -l /storage/emulated (or possibly up one level, ls -l /storage) to see where it's pointing, then you might be able to use that to see if it's accurate.

It looks like on my system /storage/emulated/0 is a loop mount of /data/media. Unfortunately, I can't view /data itself. Maybe it's time to root this phone :(

You need not to root the device yet. Tell us (screenshots) what Diskinfo shows you.

Related: How disk space is used on Android device?


text:
How do I discover the latest Android OS available for a device on a carrier?
How do I discover the latest Android OS version available through standard support channels (no manual rooting or reflashing) for a device? In particular, I am interested in the Samsung Galaxy Note 3 for Verizon. Note, I am not interested in actually installing, just in finding what is available.

e.g. by checking How do I update Android on my device? (contains links to "when does my device get the X update). Alternatively: Where can I find stock or custom ROMs for my Android device?

If you're not rooting or manually flashing, just call Verizon, they'll tell you the latest version they have available.  It's almost certain to be the same that's already there, unless the device has been stored for a good while and thus kept from getting a pushed upgrade.


text:
How to prevent Wifi auto-connect without forgetting that connection
In my workplace, we have both "real" and "test" wifi connection points.  All are password-protected, with passwords that are difficult to remember.  Normally I want to be connected to a real wifi, but from time to time, my work requires that I connect to a specific test wifi.  I would like to retain the connection information for these test wifi services, including the password, but not auto-connect to them.
With my tablet (running Windows), for each connection listed, there is a checkbox for "auto-connect".  I can uncheck that box and retain the information on how to connect, but connect only when I do so manually.
Is there anything equivalent on Android, or is my only choice to write down those passwords, and tell Android to forget the test connections after each time I use them?
Thank you for your attention.

Might be doable with a WiFi Priority app – not checked, but worth a try.

You can use an automation app in that case, such as Tasker. Your device would still connect to a Wi-Fi normally, but you can configure the app to disconnect from the Wi-Fi immediately or connect to another if it is in range.

I can just imagine if I used Tasker to disconnect immediately any time I connected to a Test wifi, and my phone sitting there all day connecting and disconnecting, and some poor admin going "WTF?  Why is our router going apeshit?"

Looks like (if its still relevant) this may be a thing of the past, as manufacturers are implementing this feature in newer android versions a well as builds i.e there is an option to disable wi-fi auto-connect.
AFAIK, this feature comes 'out of box' for Xiaomi (MIUI based) and Samsung Galaxy phones, you can disable wi-fi auto-connection with just a few taps:

If have a MIUI based device, navigate to WLAN settings → Tap the right arrow besides the wi-fi SSID name then toggle to disable the 'Auto connect' feature:

If you are on Samsung device  you can control the “Auto reconnect” feature from

wi-fi ssid name (long tap) → Manager Network Settings → Uncheck “Auto
  reconnect”.

(Image credits)

Nevertheless if you can't find this feature on your device, there is another workaround:
You have to install, an additional third-party application called WiFi Prioritizer (which seems to be working after trying dozens of related ones. Note I am not affiliated with this app or developer)

WiFi Prioritizer aims to solve a simple problem by attempting to
  automatically reconnect to a higher priority wireless network when it
  comes in range while still being connected to a lower priority
  wireless network.

Workthrough

After installation open the WiFi Prioritizer app, toggle the Enable Scheduled Job switch to On.
The Access Point list contains all your saved Wi-Fi networks. Here, you'd have to set the priority of the networks. Start off by dragging your preferred connections to the top. From the problem onset you may want to leave out "test" connection.
You may optionally set signal threshold (in case you have multiple defined APs apart from the test. As long as the job is running you are assured the device wont connect to test AP as its not included in AP priorities.

You may also want to take a look at WiFi Manager (again I am not affiliated with it).
Hope this helps
Credits
How to Prioritize Wi-Fi Networks on Your Android Phone

Thank you for this thorough reply.  Unfortunately older phones (mine is a Galaxy Note 3) will not update to these newer versions of Android, so I'll have to try this app.

I have a Sony Xperia Z2 and this auto-connect to WiFi has been driving me up the wall for months, and the Z2 doesn't seem to have the setting to switch off auto-reconnect, but tonight I finally found out how to stop it:
The answer:
Go to Settings, tap WiFi.  It will turn itself on, ignore that for now.
Tap the three dots menu top right, and tap "Saved Networks". This can only be done while wifi is on, it's greyed out otherwise.
For each saved network, long-tap it, a pop-up appears with an "auto connect" tickbox, pre-ticked.  Untick the box. This should put an end to random wifi reconnects.
Background:
On the Z2 I have a VoIP app that connects to an Asterisk PBX inside a company VPN, via which I can receive Support calls. I also have 20 gig of 4G data a month, so no need to try and economise via wifi.  So at home I'd turn wifi off from the top bar, connect to the VPN over 4G, and fire up my VoIP client to receive calls.  And then after some random period of time the phone would decide to auto re-connect to wifi, breaking the VPN connection and disconnecting the VoIP.  However the wifi signal in my workspace is very weak (router on ground floor, workspace in the attic - main PCs are on a wired network), so as soon as it had connected it'd drop off again.  Plus all the random turning back on after I'd turned it off would waste battery power - if I turn a thing off I expect it to stay off.  I came close to throwing the phone a few times.
I've googled this issue many times but all the threads on various forums referred to settings and apps that do not exist on my phone.  Found the solution I've detailed above by chance this evening while out of desperation trying every conceivable option and tap-type.  Given the number of frustrated users I saw on various threads, I hope this answer is of use to other people in the future.


text:
Where is Emulator settings is Android Studio 1.5.1?
I take on-line course https://class.coursera.org/androidpart1-011/ and have many troubles with setup.
IDE (on Linux host) uses /opt/android-sdk-linux/tools/emulator which after some checks run emulator64-x86 which doesn't work! 32-bit version work great.
Also PulseAudio code in Emulator purely written and leads to 100% CPU load.
Also official docs suggest add -qemu -enable-kvm options.
So I need a way to change path to emulator executable and/or pass additional options:
-force-32bit -noaudio -qemu -enable-kvm

Intellij have special tab for this settings: https://www.jetbrains.com/idea/help/run-debug-configuration-android-application.html
But I can't see Emulator tub in Android Studio 1.5.1:

Where is Emulator settings is Android Studio 1.5.1 (shame Google for frustrating GUI)?
PS Can any high score user add android-studio tag to question?

This site is for users of Android, which means that questions about development/programming are off-topic here (see the What topics can I ask about here?). Development questions are on-topic on our sister site Stack Overflow. You might also wish to consult Where can I ask questions that aren't Android Enthusiast questions? for a fitting place to your question. BTW: That's the reason why there's no android-studio tag here :)

@lzzy Thanks for feedback. I will follow your suggestion in future!

Hm... I need to downgrade to version 1.4:

http://tools.android.com/download/studio/stable

or wait for fix to:

https://code.google.com/p/android/issues/detail?id=195031
https://stackoverflow.com/questions/33909062/no-emulator-tab-in-edit-configurations-in-android-studio


text:
How do I sever the connection between an account and my phone?
I have a Note 4, and recently I signed into a certain account so I could do something, nothing important, so I'd rather not say. Then, I removed it by going to  Settings> Accounts> (Accountname, or email or whatever) and I removed it from my device, so it doesn't show up there anymore, with sync, or anything. Gone.
But when I accessed my pictures from the Gallery, I now have a notification asking to sign into that account that I removed. I don't want anything to do with that account anymore, ever. Nothing at all. I can't figure out what still has my phone connected to that account, but whatever it is, I want it stopped.
I don't know if I have to sign back into that account, disable the syncing in Settings> Accounts> (Account name), or something.. which wouldn't make sense, because I removed it from the phone completely, before.. or what.
Anyway, I want to know how to sever whatever the connection is between my phone and that account, and what to do about it.

You could try using SD maid and clean up the corpses (trails of uninstalled account) and see if it helps. Let us know if it did, so that it can be made into an answer

Your account is not signed in currently, so anything is not syncing now

Thank you, beeshyams. So, I used SD maid, and so far, I'm not getting any sign in notifications. So far.


text:
Can HTC Thunderbolt's LTE not be turned off?
I'm going to buy a Thunderbolt and I've heard that you can't turn LTE off on it. Is that true? If so, is there any workarounds for it?

I don't believe a phone with no option of turning data off exists.

Hay just so you know this is a phone from 2011

@SarpSTA not to be mean but this phone is from 2011 - legacy flagship phone

** This tip should no be used if you're afraid of access phone features not advise by your carrier**
How to toggle LTE on your thunderbolt (the hard way)
This solution will allow you to toggle LTE because those if us with LTE are experiencing horrible battery life. This method will allow you to turn off LTE use and scanning which has increased my battery life 4 fold (8+ hours on a fufull charge with regular use while not using an app for battery effiency)

Access your dialer
Enter the code "##4636##"
Select "phone information"
Scroll down to "set preferred network type"
Select 'EvDo only" or "CDMA only" it "CDMA auto"
This will disable the LTE radio.

To reactivate LTE:

Steps 1-4
Select "LTE Mode"
Open the menu again and select "CDMA+LTE/EvDo auto"

thanks to this forum


text:
Preinstall android apps without system permissions
I want to make an android image with preinstalled apps. But I want them to not have access to the extended permissions available when /system/app/ installed. How can I make that sure?

Have you looked about [tag:nandroid] backup? It creates image for you.

What version of Android is this ? And does this image have root and init.d support ?


text:
Acquire Android image using flash drive OTG
In Linux, the dd command is used to pull the image from the smartphone to computer. And of course, the smartphone need to be rooted before the dd command launched.

Is there any specific command or script to be put on the flash drive, to acquire image of Android smartphone and store the acquired image to the flash drive On-The-Go?
How to make it the operation automatically run after the flash drive is inserted? For example: Once I insert the flash drive into Android smartphone, the dd command run automatically and the acquired image stored to flash drive.

Edit : For Forensic purpose, i would like to minimize footprint process such as installing any apps before the flash drive inserted.

Thanks @TamoghnaChowdhury. I already check that information but there's no automation after i put the flash drive into smartphone.

@TamoghnaChowdhury lol. Dont worry. Your words always helping me. Thanks again. Maybe you will give me an idea for the automation after this? ;)

Whoa. For doing that without any apps, you would have to use kernel interrupts or modify core system mount scripts to run said command on USB insertion,  and that would go way out of scope on this site. You could try Unix and Linux Stack Exchange of SuperUser

Whoa. I didnt expect this idea would go deeply on kernel modification. Thanks for suggestion.

Is there any specific command or script to be put on the flash drive, to acquire image of Android smartphone and store the acquired image to the flash drive On-The-Go?

Nope. No special command or script is needed other than cat or dd, the binaries thankfully Android comes with.
Often, the auto mount point of a flash drive is /mnt/usbotg (may differ for your device), so the command would be
dd if=/dev/block/BLOCK_DEVICE of=/mnt/usbotg/FILENAME.img

Replace BLOCK_DEVICE with the block file's name (the partition you want to copy). It may start with mmcblk.
If required, see How to list all major partitions with their labels?

How to make it the operation automatically run after the flash drive is inserted? For example: Once i insert the flash drive into Android Smartphone, the dd command run automatically and the acquired image stored to flash drive. (sic)

Unless you're planning to inject a BadUSB into the Android device, you would need an automation app. I found Tasker and Automagic suitable for the job. Both are paid apps with free trial version available on their site.
Tasker
Here is a simple complete profile:

Profile: State → Hardware USB Connected →  Mass Storage
Task: (Actions):

Code → Run Shell:

Command: dd if=/dev/block/BLOCK_DEVICE of=/mnt/usbotg/FILENAME.img
check Use Root

This should be enough but I prefer to add some glitters here and there. I would wait for 10 seconds after flash drive is mounted before executing the command. I would also give visual indication to myself that Tasker is running the countdown.
All of this can be done by following this simple procedure:

Set a variable to maximum length of countdown (Variables → Variable Set)
Wait for 1 second (Task → Wait)
Subtract 1 from the remaining of variable (Variables → Variable Subtract)
Cancel any Tasker notification (Alert → Notify Cancel)
Give visual indication of countdown (Alert → Notify → include variable in Title or Text)
Repeat the said steps (exclude variable set) for countdown (Task → Goto → Action Number: 2)
Run the command (Code → Run Shell)

This would work. However, the moment you plug your flash drive into your device, Tasker would seek confirmation whether to continue with this flash drive or not. It can remember the device for future correspondence.
Automagic
Automagic would introduce you with a mandatory know-how, so details are not  important here. The basic flow would need:

Trigger: Storage Media Event; Event: Mounted
Action: Execute Root Command → fill the details

Activate the flow and Automagic's service, and test the flow.
There is one major caveat here. There is no differentiation between the type of storage connected, hence, your flow may trigger if you inject SD card too.
Note: Rather than keeping the command inside the apps, you can keep it under a script and place it in your flash drive. Configure your automation app to confirm whether the script exists in the mounted flash drive and if yes, execute it. For confirmation, Tasker already has Read File action. Else, ls "YOUR_SCRIPT" should help.

Thanks a lot, Firelord! I would say the answer for the first question is really makes me smile. I already try the dd command from my phone and it works! Just need a little bit modification on command for my phone :
dd if=/dev/block/mmcblk0 of=/storage/usbdisk/file_name.img .
Is there any other solution or custom script to be write for automation instead of installing these apps? Because of Forensic purpose, i would like to minimize footprint process of acquired image. About the BadUSB, is it possible to do the automation just like the BadUSB?
Thanks in advance! :)

That I'm afraid is not possible without exploiting the underlying OS. [Security.se] may help you in that case.

From your answer on adding some glitters here and there, how i can set all those variables? Because i dont see any button to set those variables on my Tasker.

The Variables tab is not shown if Menu / Prefs / UI / Beginner Mode is enabled. Disable that mode and try. If still doesn't work, then post a screenshot.

Done. http://postimg.org/image/563zi743z/ Now, how to put those variables on Tasker?

The steps in the procedure I mentioned, I used parenthesis to show the action. E.g., (Variables → Variable Set) means the action is Variable -> Variable Set.


text:
Force MarshMallow to keep a Wi-Fi without Internet access
I'm associating a Nexus 5x running MarshMallow 6.0 to a Wi-Fi hotspot that has no Internet access. Android keeps dropping the connection every second and then won't even try to reconnect stating that there is no Internet access.
How can I force Android to keep this Wi-Fi connection even without Internet access?

On my Nexus 5X, when I connect to hotspot with no internet access, after a few seconds I get a notification asking if I want to stay connected to it. When I answer Yes, it stays connected. If I anser no, hotspot gets disconnected.

This shell command works on marshmallow:
type su to enter superuser mode.
Then type the following command: settings put global captive_portal_detection_enabled 0
^^ it disables the "drop wifi if no internet connection" functionality.

This is actually a very good answer. My problem was a mistake of gateway but I'm getting the message. To disable the message, this setting is efficient. It only needs root access to be persistent across reboot.

This is perfect! Couldn't connect to my quad's wifi network consistently because Android kept handing it off despite checking the "ignore" box.

This doesn't appear to work on Nougat.

Please note: I had to manually delete the network configs and add them manually, to get the issue fixed with the command (Samsung Galaxy Tab A T585). My Galaxy S8 Android N (25) provides a solid connection out of the box.

@MartinPfeffer did you find a way to add it programmatically to the network config (as in https://developer.android.com/training/articles/security-config) ?

My gateway was not correct. False problem. It's true that Android offers a message as stated in the question comment by Juozas.

To disable automatically disconnecting from a "poor" WiFi network, you will want to toggle the Avoid poor Wi-Fi connections setting.
This can usually be found in Settings > Wi-Fi > [menu] > Advanced > Avoid poor Wi-Fi connections.

"bad Wi-Fi" is certainly not a Google wording... Here https://support.google.com/nexus/answer/2819519#advanced, they mention "Avoid poor connections". I don't have that option on Nexus7 2013 5.1, nor on Nexus 5x 6.0. And I don't think that it would even answer my question. No Internet access is different from poor connection.


text:
Android device manager - remote erase phone's data
I'm accidentally press the remote erase, and my phone memory and SD card memory data has gone. is there any way to restore my erased data?

Look into the resources under [tag:data-recovery] tag in that case. These may help too: How can I recover a deleted file on Android? || How to recover apps from a factory reset?

Sorry but you've remotely performed a factory reset on your phone. The only data that can be recovered is that which you've manually backed up off the device (to PC or cloud) or has been backed up automatically.


text:
Application transfer from internal memory to SD card in Samsung Galaxy Y GT-S5360
How to move applications from internal memory of Samsung Galaxy Y GT-S5360 to SD card without adding any applications?

We will need much more information to give good recommendations here. Please [edit] your question and include at least: The device you're using, Android version it is running. Also check and update the tags you've used to match your issue.

Welcome to the Android Enthusiasts! Your question is quite generic. What have you tried? Where's the issue? You might wish to start by reading our app2sd tag-wiki, which sums up some background and hints.

I suggest you to check about Custom-ROM available for you phone, for better UI and performance.

Format the SD card as ext2. Move folders to the SD card with a file manager. Make symlinks in the original location so that the OS can still see the files there. Would be easier to let an app do this for you...
Edit yes you will definitely need root access to do this.
I have done it using apps aparted and link2sd.
I think the OP should give more info about why the use of apps is unacceptable, because it does make life more difficult. In fact, if OP does not already have a terminal Emulator installed, then I think it will only be possible at all if OP can get shell access through adb shell.

Need to root first. and could you please describe your answer?


text:
How to remove login popups when connected to a wifi network?
At my school there is a wifi network that blocks most websites. You don't need to log in, you simply connect and start browsing. But periodically a login page pops up. The problem is, this login page is also blocked by the network. So, all I can do is go back out of that page, and it will reappear every now and then.
Is there any way to disable the login page?

I don't think there is a method for doing this (though I stand to be corrected). I believe that Android only shows this page when it detects a login request from the network. Maybe your school network frequently refreshes its login keys whether it requires a login or not which causes Android to react by bringing up the page?

Please use comments to write opinions or altogether do not post them unless you can back them with independently verifiable facts and credible technical sources.


text:
Virtual track pad to control mouse pointer in android
I have a nexus 4 phone, which has lost half of the screen's touch capability due to its digitizer capability. I would like to have "TouchMousePointer Windows app" like app in android and place it on the screen where touch works. And thus use the phone inspite of this "nexus 4 soft touch problem".
I see that mouse pointer is by default available in android. Apps are present to use mobile as remote mouse to PC. Fusing these two application should be possible.
Is there any app in market for this requirement. Is there any simple method to overcome this problem?
The "virtual trackball app" that is currently available is too primitive.

Welcome to the Android Enthusiasts! For the app part, you better check with our sister site SR. If I understood your question correctly, you want to remote-control your N4 from your PC? Or rather use a "working part" of the digitizer itself to display a "virtual trackpad"?

@Izzy, it is the second one. I want to use a "working part" of the digitizer itself to display a "virtual trackpad" and use this virtual trackpad to control mouse pointer of the phone itself, so that I can access the content on the broken side of the digitizer.

Ah, thanks – reading your question again it seems I got confused by the second paragraph #D I don't have an answer, but related: Resize screen for Dead touch zone / Resize screen to display only on working part of semi-functional touchscreen. Not the solutions you're asking for, but maybe alternatives if the "primary goal" can't be achieved.

I read that, but it cuts the display also. I have this problem for more than a  year. Now the dead touch zone is half of the screen !!!

Then maybe it's time for either a screen or a device replacement – and ready the half-dead for some "second use" (see our broken-screen tag-wiki).

Thanks for the wiki link. I find two usages interesting. One more reason for posting this question is that I felt that such an app should be already present, because for a big phone or tablet you can use your thumb to browse and do most of the work (just like BB trackball) without using both hands.

Good points. Might I recommend asking that app question over at SR (link points to the question guidelines; we're quite strict over there)? As for the wiki: many of our tags have such wiki pages attached, just check them out when in need :)

Instead of trying to move the cursor to areas where the touch is not working, temporarily moving the screen to the area where touch is working looks like better alternative to this problem.
Niwatori-one-hand-mode app in xposed framework, gives options like that. Using this app along with other Launcher apps like LMT (launch bar) app solves this problem for me.


text:
Google Play Error code “-504”
I'm facing an annoying issue with Google Play over and over again. There are some apps (currently Deezer and Teamtreehouse) which can't be updated/installed due this error:
"Can't install App" (Error code: -504)
FYI: This is not a 504 but negative 504 error
The only working solution what I found is the factory reset an wiping the whole phone, which is really annoying doing this every month. My question is, someone has easier solution for this error?
I have tried all solution what I found:

force stopping play store / play store framework
clearing data
clearing cache of google play store & google service framework
removing  gmail account
side-loading apps
directly installing apks
searching apps related files on phone and removing them

Image of the error:

My phone details:
Xperia M4 Aqua
Android 5.0

Welcome to the Android Enthusiasts! You've already correctly tagged your question google-play-store. Most of our tags have helpful wikis attached, so has this. We've collected posts to known errors there, so please check: Error 504 when downloading apps from Play Store? Good luck!


text:
SOLVED - Invalid IMEI - lenovo a7000
So, I recently bricked my A7000. Found a rom somewhere online and flashed it with SPTools. Now it boots fine but I get the "INVALID IMEI" error.
I rooted it gain, got into engineer mode with MTK Engineering Mode and run the command AT +EGMR=1,7,"blabla" but it's still not working. I get AT command is sent: ERROR
Please help...

I had this issue once. Perhaps, my answer may help: How to fix "Invalid IMEI " after Factory reset?

@Firelord You mean method #2? Method 1# is exactly what i did to get here..

Consider following  both the methods and tell us the results.

@Firelord The first one did nothing. For the second, Maui can't detect the phone, it says "[36] BootROM start command passed, but target has no response untill timeout.." the phone displays some chinese characters and says it is in meta mode (with verry bad grammar).

Did you try using mtk droid tool ?

@lord-ralf-adolf Not really, I have no idea how to use it. updated^

Solved it.
I rooted with SPTools and used Chamelephon to enter the IMEI's (if you have dual sim, enter both at the same time!).


text:
Entering safe mode from adb shell
My question is similar to this one, but I don't necessarily have a powered off device.
How can I enter Android' safe mode (or make it boot into safe mode the next time) from within my recovery image?
I suppose it is possible to mimic the actions the actual Android system would do when you select safe mode from the reboot menu.  However, I don't even know what selecting safe mode actually causes Android to do with the system.

Note: The solution is tested on Android 4.2.1, 5.0.2 and 5.1.1.

The value for the system property persist.sys.safemode  determines whether the phone should boot into safe mode or in normal mode.
When booted into Android OS, provided root access, the value can be changed as
adb shell su -c 'setprop persist.sys.safemode 1'
adb shell su -c 'echo "1" > /data/property/persist.sys.safemode' #alternative

When booted into a custom recovery, given the data and optionally, system partition are mounted, do
adb shell busybox printf "1" > /data/property/persist.sys.safemode         #works if recovery has Busybox. If Android OS has busybox then system/xbin/busybox would work
adb shell echo "1" > /data/property/persist.sys.safemode                   #alternative
adb shell chmod 600 /data/property/persist.sys.safemode                    #required; changes the permission of file to rw-------, identical to rest of the files under /data/property

It is to be noted that, if you've never booted into safe mode since last factory reset, the file persist.sys.safemode wouldn't be found.
Android resets the content of  said file at every reboot, so you need not to worry about getting stuck at safe mode. However, for the purpose of fail-safe requirement, change the value to 0 or empty the file (NULL), should you ever get stuck.
In a nutshell, the property that you set is stored in a file, hence it remains persistent when you shutdown the device. You can see your value inside the file from recovery mode, provided that you've not booted into Android again after editing the property. Now, once you begin to boot into Android OS, Android et al reads the file, and based on the content, prepares the safe/ordinary mode for you. After reading the file, it resets the content of the file, so the next time you reboot, it would always be in ordinary mode.
I, in my experiments, noticed that Android would boot into safe mode even if the value is any positive or negative integer or even a decimal value.
I got a good hint from source code of ShutdownThread.java that safe mode requires a system property to be set. However, I reached the final conclusion using a comment by pylerSM and a post from ZiT777.

You can test this on your own. Set the prop,  reboot the device but pull out the battery at OEM logo. Boot into recovery and check the file's content. Now boot into Android normally but run adb shell getprop | grep persist.sys.safemode or adb shell su -c echo /data/property/persist.sys.safemode continuously during boot animation. You would see that the value changes from 1 to nothing (NULL). // In fact, full restart is not needed to boot into safe mode. Once the prop is set, even a soft reset would boot into safe mode.

The Name changed from Android 6+ maybe to persist.sys.sm_mode ?


text:
How to remove app shortcuts from default opening types?
I like to remove some of my app shortcuts from default opening types, such as some app I already removed like browsers (some Chinese browsers I downloaded when my Chrome had some issue in China) but still would show up when I click on a web shortcut (and it prevent me from selecting Chrome as my default browser). And some duplicated shortcuts like wifi assistance (when I want to open wifi setting it will show two of them). And some shortcuts I don't even think they are in the correct category like Taobao (a Chinese shopping app) would want to be open when I open a web link or a photo.
P.S., looks like Chinese app makers really mess up your Android system with tons of random default app shortcuts.

The OS should not be suggesting default apps that are not installed. When you say that you "removed" the app, did you clear the cache, data and defaults when uninstalling? Or did you just remove the icon from the desktop and the app is actually still installed? Have you also tried a reboot? Although I'm not aware of a problem with "lingering" apps, I have not installed many questionable apps that may cause problems. Can you also please let us know what device and OS you're using? Maybe it's a device-specific problem. Thanks!

It's Samsung S6 running Wanam Lite 3.3 (also tested on Stock, and Samsung internal developer ROM). Removed means uninstalled with cache flashed. Besides there is same app showing up as two apps with system suggestions and invisible suggestions that prevent system from setting default app.

You normally cannot adjust default applications individually once they have been set. The best option would be to navigate to the app in the Application Manager and press they Clear Defaults button. You will need to set other default for the app again, but it will clear out the defaults you don't want as well.

You misunderstood it completely. I want to remove an app from a default type (from being able to be set as one of the default apps).

@AeroWang I don't think this is a matter of my misunderstanding it completely. I will add a comment to your original post in order to clarify some things.


text:
Decrease the text size or button size in notifications area
I'm using Samsung Galaxy S6 running Android Lollipop. As you see in this picture, there is a button "Reply" (Svara) and then a button "Mark as read" (Markera som L...). But the buttons are so large, it causes the third button "Delete" to be hidden to the right, e.g. after the "..." shown.

How can I decrease the text/button size in the notification area?

Don't think it possible without root

And rooting is illegal in my country of residence due to strict "DMCA" type of laws. However, it was possible on my phone to grant certain (I don't know which, but language settings was possible to grant) system permissions via adb (pm grant ....) so such a solution with adb is acceptable too, if I in some way can permanently reduce the font size in notifications. It doesn't matter if the text gets small, I have good eyes.

What you are asking most likely cannot be done (at least easily, anyway). Those buttons might be controlled by the system UI or the app creating the notification. You can try your System Settings > Display > Font size, but this will alter the font size on everything.
Alternatively, here's an easier fix- tilt the phone to landscape to widen the notification window.
After installing the K-9 App for Android, I find that my notifications on my Galaxy S3 are a bit different. Can you confirm that you have the Delete button set to show in the settings?
(Click image to enlarge)

Font size is smallest already. Tilting the phone wont work in launcher. Only when inside some app. Should try and see if it helps to download a extremely small custom font, but I don't think it will affect notifications.

@sebastiannielsen Hmm... tilting the phone should work if you tap that Screen Rotation icon in your Quick Settings. But I know what you mean- I have my launcher set to "force portrait" too.

I tried to enable screen rotation. Im not dumb :-) But forcing potrait is not a option, I need something that I can act on when I get the notification, and then go back again.

@sebastiannielsen - Sorry, I didn't mean to imply a lack of intelligence. I don't use K-9 but just installed to test how the notifications look on my Galaxy S3 (took me a while as K-9 wouldn't accept three of the four email accounts I tried- weird). I edited the answer above.

yes, "Delete" button is enabled. However, I can clearly see that your phone is not Lollipop. This issue only exist on lollipop.


text:
How do I tell if a given Android phone is vulnerable to CVE-2012-4221, CVE-2013-2596, CVE-2013-2597, CVE-2013-6282?
I want to determine if a given Android Phone + OS is vulnerable to a set of CVEs.
What process do I need to do to do to determine if a given Phone is vulnerable?

You can use one of the many apps for Exploit Protection (and detection). But what CVEs they cover, is a different question.

CVE-2012-4221 has a patch, which you could examine to determine how to exploit the unpatched code — and then write code to exploit it, and run it on your phone.  You could probably do this with many such issues.
You are not likely to find any kind of complete suite ready-made for this kind of testing, since it would just be making things easier for those with malicious intentions.


text:
How to be sure that you are not tracked with anti-theft software or similar when using tab previously owned by someone?
I have seen the amount of pictures and personal data an anti-theft software can dig on person using a stolen phone. How can one make sure that he is not tracked through similar software when using a previously owned tab/phone? I understand that a factory reset is not enough in most cases.

Nothing personal, as far as I know, but I hope this is very difficult -- I had a tablet stolen a few months ago, and it stayed "not located" on Google Device Manager for a couple months, then just dropped off.

In all honesty, if you buy used, you get used. In any object, be it computers, cars, furniture, tickets, etc. you always have a measure of "Buyer Beware" going on. As for your tablet, flash a fresh ROM on it. Anything short of that - no guarantees, maybe not even then.

My folks bought the tab. I was thinking of flashing a new ROM on it. Just wanted to make sure what is enough. I think the tape stays on the cameras even after the flash...

I understand that a factory reset is not enough in most cases.

A factory reset is usually enough if performed through Settings, which removes Factory Reset Protection from the device (a reset from Recovery does not do this).  This will also unlink Android Device Manager and remove most other tracking tools.
If you are concerned about apps that may have been integrated into the system image, then yes you should flash a custom recovery and then a ROM (selecting the wipe option).  Unless there is a malicious bootloader installed (unlikely) then this will more than suffice.  You might also want do delete anything from /sdcard and format any external SD cards just to ensure that no malicious files are left there that you might accidentally use.

I did as you suggested and feel more secure already. The custom recovery provided an option to format the whole device. Thanks!


text:
"Call not sent" when adding a call on Samsung Galaxy S6
Sometimes, when I am on a call and try to add a call, I get an error message that reads, "Call not sent". It only happens sometimes, and I can't figure out the pattern. It seems to be related to the number I'm calling, but not in any obvious way. For example this morning 917.533.9562 worked but 212.784.8053 did not.
I am on a T-Mobile Samsung Galaxy S6 (SM-G920T), Android version 5.1.1, and I use Google Voice for all of my dialing.
If anyone can me solve this I will greatly appreciate it. Thanks!

Unfortunately the update "broke" Google Voice on Note 4 and Galaxy phones (T-Mobile 5.1.1 update).
You can see information on this here:
We're all hoping that someone (Google, T-Mobile, Samsung) will care enough to fix it.

This doesn't seem to be my problem, since I am able to call out most of the time. It only happens when I try to conference in a second call, and even then it only happens sometimes.


text:
Cancel ADM Reset
My phone was recently stolen so I used ADM to reset everything but this afternoon I found the bugger who took it and retrieved it the problem is when I connect to the wifi it will wipe everything is there anyway to tell ADM not to reset?

You want us to say "Yes", but how would Google know the request was legitimately from you? It can't make those distinctions, so their position has been "No", Not cancelled.

@wbogacz Kind of. Wouldn't removing the Google account before connecting the device to any network take care of that? No Google account, no access by ADM.

@Izzy - I don't know, but that seems like TOO easy a defeat of the process. But we could tire ourselves debating this as 3rd party observers without clarity or certainty. It would be to Google's advantage to keep the actual workings obscured, so its process can't be beaten.

@wbogacz to "beat" it that way still requires to unlock the device. And I'm pretty sure ADM cannot access any device without the Google account. Not 100%, but close to.


text:
Remove google app (velvet) from android marshmallow
I want to remove bloatware Velvet apk (Google app) from stock Android Marshmallow on a Nexus 5. I had no problems on Lollipop removing the Google app. It worked perfectly. But on Marshmallow, I get a bootloop if I remove it.

You need to go settings/apps/configure apps (cog)/default apps/assist & voice input select NONE then Reboot, uninstall Google app and reboot and you have no bootloop enjoy!!

I figured it out a day after I asked this question. :) Thanks a lot buddy. Appreciate your will to help. :)


text:
Nexus 5 crashing regularly after Marshmallow update
After upgrading to my Nexus 5 to Marshmallow, I find myself experiencing crashes regularly. The phone screen will go black, and attempts to restart will make it to the home screen for a few seconds before the screen goes black again (regardless of power levels). The only way to restore normal functionality is to hook the phone up to a charger, at which point it will boot without issue.
I have tried clearing up disk space, which did not seem to help. I have tried doing a factory reset (the one via "Settings > Backup & reset > Factory data reset"), but that also does not seem to have stabilized the environment any more. It doesn't happen at regular intervals, nor does it always happen with the same app. I have noticed that it often happens while I am using SuperCell apps (CoC or Boom Beach), but that my be correlation rather than causation. It has never happened while my phone is plugged in.
All this said, anyone have ideas on what may be causing it or diagnostic steps to take? I tried looking for logs, but haven't found much. Could also be a hardware issue and the update is a red herring, but thought I would ask those with more knowledge before writing my phone off as lost.

You could try flashing the stock images available on Google Developers. The process is detailed on the same page. The flashing procedure involves removing the system from your phone and installing a brand new partition, hence any issues due to a faulty installation are rectified.

lol i experienced the exact same issue. if you're willing to go so far, wiping the said phone and NOT INSTALLING ANY NEW APPS will prevent the crash. insane, i know.. but it worked alright for me..

Installing no new apps rather seems to largely defeat the advantages of a smartphone, but it's good to know that the option may at least exist.


text:
How to "completely" delete Xposed Framework and modules?
I did two things to install Xposed. Firstly, I flashed xposed-v75-sdk21-x86.zip and then installed the .apk file. I can now uninstall the app itself but how can I erase the flashed file of the .zip?
Also, where are the modules stored? How to delete the modules completely?
Device is LG G3 D855. Running on Cloudy G3 ROM.

Can you please specify which device and OS you're using? I ask because I'm using Xposed on my Galaxy S3 and everything, including modules, installed and uninstalled as third-party apps using the native app installer. So I'm not understanding the difference in how your Xposed is set up. Thanks!

Shouldn't a .zip file be flashed first? I just followed the instructions.

Which instructions? I used information from the Xposed Installer site which has an apk to download and install. I didn't flash anything to get mine to work. Again, might be different on your device.

Here. It is the framework itself I assume and the app is just the manager.

Okay, although I don't think I'm the one to help with this, we're getting somewhere. You should edit the tags in your question to include your OS since this apparently makes a difference with how Xposed is installed. KitKat=apk install, Lolipop and Marshmallow=zip to flash.

I actually figured it out I think. I figured where to find the installed stuff. Where are the modules are downloaded at though?

First, I've never "flashed" anything to install the framework – the installer takes care for that. Second, the modules are just like normal apps – so you'll most likely find them in /data/app. Cannot tell for 100% that covers all, but those I know do.

@Izzy Can you read the xda thread I mentioned on my comment? It tells to flash. Why so?

Uh… Maybe it's different for Lollipop and Marshmallow. I'm still running it on Kitkat. If Rovo wrote flash, then flash it is. Sorry, I totally forgot about the differences introduced by Lollipop.

Note: provided that you end up at this post in search of solving the bootloop issue caused by an Xposed module, my answer here would better help you .

For any Android Lollipop

I can now uninstall the app itself but how can I erase the flashed file of the .zip?

See the attached files in the first post of this thread. In relevance to your device's CPU architecture, download the uninstaller archive and flash it from the custom recovery. It would undo the  changes the installer archive made.
In essence, the installer archive keeps the original system files but appends in their name .orig  or convert them into archives (unofficial installers do). It then places its modified files at their location. All uninstaller does is remove the modified and extra files and change the backed up files back to their original self.
Relevant section from the uninstaller script

echo "- Restoring/removing files"
rm -f /system/xposed.prop
rm -f /system/framework/XposedBridge.jar

restore_link   /system/bin/app_process32               0 2000 0755 u:object_r:zygote_exec:s0
restore_backup /system/bin/dex2oat                     0 2000 0755 u:object_r:dex2oat_exec:s0
restore_backup /system/bin/oatdump                     0 2000 0755
restore_backup /system/bin/patchoat                    0 2000 0755 u:object_r:dex2oat_exec:s0
restore_backup /system/lib/libart.so                   0    0 0644
restore_backup /system/lib/libart-compiler.so          0    0 0644
restore_backup /system/lib/libart-disassembler.so      0    0 0644
restore_backup /system/lib/libsigchain.so              0    0 0644
restore_backup /system/lib/libxposed_art.so            0    0 0644
if [ $IS64BIT ]; then
  restore_link   /system/bin/app_process64             0 2000 0755 u:object_r:zygote_exec:s0
  restore_backup /system/lib64/libart.so               0    0 0644
  restore_backup /system/lib64/libart-compiler.so      0    0 0644
  restore_backup /system/lib64/libart-disassembler.so  0    0 0644
  restore_backup /system/lib64/libsigchain.so          0    0 0644
  restore_backup /system/lib64/libxposed_art.so        0    0 0644
fi

If you've the knowledge of setting the appropriate SELinux context for a file in Android from recovery mode, you can simply map the files the installer would've changed, revert the changes using command-line and set the correct context. No uninstaller would be required.
Note: If you're not using the official Xposed Framework then the uninstaller may not work for you. It may even cause unforeseen issues. Best is to search the web for the uninstaller.

Also, where are the modules stored?

Xposed Installer app downloads the modules under /sdcard/Download.
They may be called modules but they simply are apps to Android, hence the APK would be found under /data/app or the locations covered here by Izzy. Alike every app, there data directory would be found under /data/data.

How to delete the modules completely?

Deleting an Xposed  module is no different than removing any user installed app from Android. So, you can use any technique that you would use to remove an ordinary app.
Note that the file XposedBridge.jar under /system/framework/ is what provides modules the necessary APIs to interact with the modified framework.

For Android 4.2.x - 4.4.x
Use the file Xposed-Disabler-Recovery.zip located at /sdcard/Android/data/de.robv.android.xposed.installer/files. Flash that file from recovery mode (requires a custom recovery) to disable Xposed Framework. If you don't have such file, download it from the first post of the official thread.
That archive, in essence, changes /system/bin/app_process.orig to /system/bin/app_process i.e. it removes the modified app_process and brings the original file back to its glory. It doesn't delete the Installer app. You can make those changes on your own too using adb in recovery mode.
The concept of modules here is no different from what is covered in the above section.

Until KitKat, to disable the framework you need to flash this zip (stored on your /sd at installation Xposed-Disabler-Recovery.zip .
As far as uninstalling the modules goes, selecting Modules, (from installer), long pressing the module(s) to be removed does it in KitKat. Of course, changes take place after reboot, and I am assuming the same holds for higher versions of Android. Modules reside as per Izzy's comment for KitKat.
Quoting extracts from How to Uninstall Xposed Framework on Android Lollipop Guides Aug 21, 2015:

Xposed Framework on Lollipop needs to be installed manually through a Custom Recovery unlike in Jelly Bean and Kitkat where the Xposed installer apk file would install the framework on your system automatically. So uninstalling Xposed Framework on Lollipop would require you to flash an Xposed Uninstaller Script using a Custom Recovery like TWRP or CWM.... Take note that Xposed Uninstaller are different for different devices like arm, arm64, x86. Find the Uninstaller Script for your device in the Downloads section. Also, Uninstaller Scripts are different for Android versions 5.0 (SDK 21) and 5.1 (SDK 22).

It further provides uninstall instructions and scripts.
I am on KitKat and have no way of testing this. It was a coincidence reading this and later seeing your question.


text:
Tasker Exported Apps Not Working
I have two Tasker projects that I would like to be able to share as stand alone apps. Project 1 turns Wifi On and Off based on location and Project 2 turns the screen on and off using the proximity sensor. I exported both separately (from my Samsung Galaxy Note 4 running stock 5.1.1) and sideloaded into my second device (Samsung Galaxy s5 running stock 5.0.0). Both apps install properly, display the correct required permissions, and display notifications (flash and popup) properly but will not effect the device in any other way. Project 1 will not change the Wifi state and Project 2 will not turn the screen off (using System Lock).
Has anyone experienced this before or can suggest why this might be occurring and what I might be able to do to solve it?

Share the XMLs of the both the projects (use an online code paste service to share). This "based on location" and "using the proximity senson" -- are they triggers or are they part of task, i.e.  are they actions? // Did you export into an app, a profile or a task only?

@Firelord, I will paste the code as soon as I am off work. The exported apps contain 1 profile and 2 tasks (an enter and an exit) apiece. The location and proximity sensing are done via the profiles.