text:
Firefox in cache slowing down phone
I am running Cyanogenmod on my rather old Motorola Droid 4, and it is pretty slow by now. I something quite strange lately. From what I read on the internet Android seems to handle memory quite differently than Windows or a regular Linux would. From what I understand it keeps apps that I closed or put into the background in the memory so they start up faster. This can be observed when going to Settings->Apps->Active->Apps in Cache. Apps in the cache should not be really running and should get cleared out as soon as active apps require the storage. But when I have Firefox in cache this doesn't seem to work. Firefox uses quite a lot of memory (top tells me it's using around 800mb, while Android still reports some 150-300mb, my phone has 1GB RAM total) and while it is in cache the whole phone slows to a crawl. Top tells me, that my CPU is hardly used, so it looks just like heavy swapping.
If I kill Firefox my phone instantly speeds up.
I checked using busybox free that I don't have swapping enabled.
Does anyone know the reason behind that or even a way to fix that issue?


text:
Can USB host ports be dangerous in uncontrolled environments? Virus etc?
We have an Android device with 2 external USB host ports. Now I wonder what harm can be accomplished by an attacker with malicous intentions, provided that:

The user can not access settings or any App that we do not control (love an example of apps we would need to prevent access to)
USB debugging is turned off
Our device is rooted (just to mention)

Could you give me an example what harm an attacker could do, considered the above conditions.
As I understand it, if a USB is mounted, then for something to be dangerous, it has to be executed. However execution must come from "the inside", no?
If we control the inside, then there shouldn't be a problem, right?

Just saying, the chances of receiving high-quality answer are better on [security.se], for the topic in question here.

source: Stack Exchange

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

sort: votes


text:
No SIM card detected -- factory reseted and now it works. What now?
I have a Samsung Galaxy S 5 rooted and flashed CyanogenMod 12.1 on it (Android 5.1.1). Everything always have worked fine.
Earlier this week, I have installed a new app in my phone. Although I cannot 100% blame the app, after a reboot having this app installed, the phone could not recognize the SIM card anymore. It always was showing me the message No SIM card detected. Even after I uninstalled the app, rebooted, removed SIM card, re-rebooted, re-inserted the SIM card, re-re-rebooted, wiped Dalvik, wiped cache, upgraded the ROM, the problem persisted.
I finally decided to make a full ROM backup and then a factory reset.
The SIM card is now correctly recognized, as before.
Now what should I do? Re-install every app I had before and re-configure each of them one by one? Restore the backup with chance that the SIM card will not be recognized again? And if it won't, how can I solve this problem without the need of a full factory reset and re-installation/configuration of all my apps?
What are the steps to go through this situation?

I think app installations has nothing to do with the sim card detection. Low level access to the SIM card is not available to third-party apps. The OS handles all communications with the SIM card including access to personal information (contacts) on the SIM card memory..

I agree with you, I also don't think there would be any security breach that the app could have used with the intention of not letting me make calls anymore... Anyway, I have restored the backup and the problem was "restored" with it, implying there's nothing wrong with the hardware.

How exactly are you restoring backups into your device? using adb commands or some other tool?

@Lucky I have made the backup just with the phone, in recovery mode using TeamView Recovery. I restored it using the same way.

Use Nandroid Manager or TWRP Explorer or Titanium Backup to restore strictly the apps and their data. Nothing more nothing less. You would  be restoring many things other than apps if the restore is done using a Recovery.

@Firelord Great I'll try. I'm confident on that, it makes sense. Would restoring just apps and data be restoring system settings as well? Like my face model used on face unlock, led notification colors etc.? Even if it wouldn't I can live with that, but it would be nice if I wouldn't need to make these settings as well. I'll try that and post back here soon.

The system apps are technically apps too and their data is stored under the same directory where other third-party apps keep their data. But it is up to you whether you want to restore the system apps or not. I suggest you do not at first place so that you can figure out what's causing that SIM issue. Also note that most of the settings are stored in the app Settings Storage (not Settings).

I restored data only ontop of a factory reseted ROM. Still no SIM card detected.

Could one of the system apps got corrupted somehow? Here's an idea: I'll make a full backup of a factory reseted system, restore data only from the the faulty backup, and then restore data only from the wipe backup on the faulty one. This would, in theory, overwrite only the system default applications and replace them with a working copy. Assuming of course the problem is occurring on a system app, and not because of some third-party app.

Did you find a solution? I'm having the same problema, but with TWRP.

I had to keep the backup that worked after a factory reset and have a fresh start with it -- it means I had to reinstall and configure every single app I previously had. I still can't explain what happened, and it never happened again.

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


text:
GS4 not turning on, battery full, no screen activity or rumble
(Keyboard finicky, sorry for any errors!)
Alright, so I have this GS4 that I got secondhand. It worked fine for a while, but now there is no activity AT ALL. I have tried Recovery Mode, normal boot, and Odin. I don't even get a RUMBLE. It's fully charged, so that's not the problem...
Most of my personal data is on the phone itself (1 GB MicroSD card... >_>) and most of it is important.
Any help?

I'm not allowed to comment...but I ran into this same problem on my Galaxy Note 2. It was fully charged but I couldn't do anything at all, screen never even pretended to light up. Samsung had a bad batch of hardware causing a "Sudden Death Syndrome" as people were calling it. The one thing I did notice was that if you look at the area where the proximity sensor lies, you can see the little "infrared" light stuck on. Is that the same for you? Here's an XDA article related to the problem:
http://forum.xda-developers.com/showthread.php?t=2294203
If the phone is still under some sort of warranty, you should be able to get a new device.

Sorry, but it's been rooted. And I checked for SDS, and nada. No proximity light either.


text:
How to change home button functionality?
I have an Android 4.4.2 unit that has a custom application that needs to be launched on boot and when the user presses the home button. As it stands now, I can press the home button and get a list of launchers that can be used, unfortunately the app I'd like to use is not on this list. This unit is rooted and unlocked but, isn't our unit, so I can't (or shouldn't) install apps to get this feature working. Is there an android vanilla way of choosing what app you'd like to use, even if it isn't on the list of launchers. I can sideload an application if I absolutely have to, but I'd rather not as I'm not sure how the company renting these to us would feel about us adding apks to their device.

Although what you're asking and your details seem to totally contradict each other (Are you developing something? How can you test something without devices you can alter? Why are you trying to override the most important button that is set to a standard function?). But, to help, I use Nova Launcher and it allows to set the Home button to do whatever you want including opening an app. Overriding the Home button is probably not a good idea since it may be the only way to get out of a stuck app or similar problem.

It was how the device came loaded, but during a software upgrade the custom app would not open automatically, and be locked to the home button. It's important because we cant have customers using anything but this custom app, it has to be locked in. I don't have to worry about being locked out, you can always access the settings from the pull down.

You can try clearing the defaults of the current launcher, and then pressing the home button again. If the app doesn't show up in the list of apps, the app hasn't told Android it can work as a home screen. Even if you'd get Android to show the app as a launcher, Android would need to know exactly which activity to load from the app. Simply put: there's no standard Android way to do it if the app isn't in the list of launchers. It might be possible to hack the default apps database with root access or creating a custom app that does nothing but handle the home button and start the app you want.


text:
Retrieve Stock Browser History?
I have a Galaxy S4 and today 45 browser tabs I've been using for about six months just disappeared (should have been bookmarking things, yes).
Is there a way I can retrieve my browser history via my PC so I can peruse through it and get an idea of what I'm missing?
Alternately is there any kind of way I can re-open my lost session?


text:
Notification icon that looks like 'b' with 3 dots

Does anyone know what this symbol is in my notification bar? I'm guessing it's from a 3rd party app. Please excuse my poor attempt to recreate it. :)

Welcome to the Android Enthusiasts! A better attempt would be a screenshot (less guess-work involved). On most devices, screenshots can be made by pressing the power and volume key at the same time for about a second or two.

Please post a screen capture with the icon. 2. Please post which device you are using, including OS. 3. Please consider that third-party apps also provide their own notification icons. The vague drawing above does not look like any of the current Lollipop system icons. More info, please.

The next time it shows up execute the command  adb shell dumpsys notification and provide us the output afterwards.

If you're using an Xperia phone please hold power key for 2 seconds and tap on Take screenshot. Please go through all the apps in app manager and try to unmark Show notifications.

@Firelord It would be very helpful to say where and how can the OP execute this command.

Apparently OP also posted the same question on Android Forums, thanks to Google's reverse image search on this unique image.

This question has been answered by wickdaman on Android Forums,

MunstersRebel said:
It's beam some proggie that works like a virtual loyalty card holder

It is! To be exact, it's Beaming Service for Samsung which works with this app, Beep'nGo (made by the same folks, Mobeam).
So you can use loyalty cards from shops (e.g. Starbucks). Quite a handy app if you ever wanted it and less crap to have in your wallet...


text:
How does "LiPP" work?
Every single tweet right now seems to be about "Lipp":

It says "LiPP is the app to dub your voice over the videos you like! Become your favourite character!"
I'm interested to know how this app works - does it have it's own built in audio / video encoder, or is the video uploaded and downloaded to a server (using data / WiFi), or does it use another app that already exists as part of Android and has an API for this?

Could you provide the real objective? Why would you want to know the functioning of this app? My point is, this site serves end-users, so please explain how your question is relevant to an end-user. I'm beginning to see this question asked from the perspective of development, but that's just me.

@Firelord Well the main "end user" perspective would be wether it needs WiFi/ data.

If you're talking about the Android app, to put it simply, yes, the app needs WiFi/data (can be seen on the list of permissions). However, I haven't tried this app, so I can't tell how far does this app needs internet connection (will experiment if there's time)


text:
Take screenshot from AirDroid
I really need to know what other apps my child is using because I see him using his phone on a camera, but I don't know what does he do. Is he playing a game, working on some apps, or browsing... so, how to work with screenshot in AirDroid app?

Most of the operations you are talking about require rooting the device, which, depending on the company, could invalidate its warrantee. Is that going to be a concern?

Is AirMirror the feature that you want?


text:
Galaxy Note 2 stuck at Samsung logo
I have a Galaxy note 2.
My phone is stuck at Samsung logo and restarts every 2 seconds.
I've also recorded my problem here
I was trying to install a Custom ROM while this occurred, Any help would be appreciated

First, you should flash your device back to the official software. This site
was useful for me.
Once you have returned the device to the original software, attempt to flash the alternate ROM again.

If you installed the latest ROM, the problem will likely be reported soon on the site you obtained the ROM from.

Really , thank you for replay ! I will doing it and back


text:
Use image file as camera
I need to use an image file instead of a camera for Android apps that want you to use a camera app to take a photo (for example, Google Drive scanner). I don't need to use apps that use the camera directly, such as WhatsApp.
The question was edited so it matches the answers. See edit history to see the actual question.

For emulating built-in in-app camera: Creating 'fake' microphone and camera inputs on an Android mobile, How to emulate camera input in Android? (To activate WhatsApp Web)

There are 3rd-party "fake camera" apps that will let you to choose an image instead, such as:

Image2Camera (free)
Fake Camera by New Horizon Apps (free)
Fake Camera - donate version by Vaclav Balak (paid)

Note that you need to have the image inside the (emulator) device storage first for these apps to be useful.
Also, since these apps are not really a camera app, opening the apps directly won't be really useful (other than, perhaps, to read the instruction for app usage). Instead, when you want to take a picture from an app, these apps will be selectable as "camera" app instead, then you can select the image on the device.
Disclaimer: I'm not affiliated with any of these apps.

I'm sorry, I'm just not understanding this. How can this be beneficial. I know you know your stuff, you provide excellent answers. Can you give me a decent link on reading more about this?

@HasH_BrowN basically, when an app requests the user to provide an image, Android by default doesn't provide a way to select both from gallery and camera; only 1 source can be used. The general solution is to provide a menu to choose the source (implemented manually by the developer). This makes a problem when an app only requests to take a picture from the camera; you may have a better picture stored in the device, or can't take a photo now. The only solution is to make the "fake camera" work as a "gallery".

Also, in this specific case, OP is using Android emulator; the camera would work if OP had a webcam. Similar benefits are for device which doesn't have hardware camera while using an app that needs it (ideally Play Store will prevent this app to be installed in such devices, provided if the developers specify it, but either way for apps from 3rd-party market, there's no checking and it can be installed either way)

Thank you. That makes total sense an I now see that could be really useful under various situations. Thank for the summary

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


text:
I had lost few of my data from my Android phone's memory card
I'm using gionee marathon M3 with android 4.4.2. I had purchased Sony Micro sd HC UHS-1 class-10 memory card(Purchased from PayTM) of 32GB.
I had downloaded this card with 15 gb of data using card reader. Then I had taken more videos and songs from my friends device using xender. Later I had also downloaded videos from whatsapp and web. And once I also attached it to pc using data cable and downloaded few photos into it. Finally it have data of 25gb inside it.
After three days, when I go to file manager, I had shown that My card had lost few data from it (Approx 10 gb) and there present other data as it is. The lost data or files became 0 bytes in size automatically.
I had checked for data by connecting memory card by card reader to pc, still lost files are of 0 bytes. I had connected my phone to pc using data cable, still the lost files are of 0 bytes.
Why is this happen? Is there any problem with memory card or with it's class, or with phone or with memory card's size? My phone supports memory card upto 128GB. Please tell me what to do? Should I purchase memory card of 16GB or of 32GB having class 4? And also please tell me about recovering this data(Videos, Pictures)
Please help me with this.

This seems quite impossible to answer, there are a million potential causes.

Its most likely a one time issue. No, you don't need to run and buy a new SD card. There is a high chance that the issue was with your phone or a rogue app on it.
Also, always back up your data to prevent a major loss.
Its hard and many times costly to recover data from Flash drive unlike a hard drive. I would suggest you let go and if preferable format the SD card and forget about it.
Its a problem if this happens again anytime soon. Also check your apps to see if you don't have any rogue app or a pirated app.


text:
Google Calendar notifications not working
I loved how I got SMS messages from Google Calendar.
Then they removed that, I installed the Mobile App, but I get no notifications. How can I get notifications from Google Calendar Mobile App? Is there a checklist of what do I need to check to have notifications?
I have:

Samsung Galaxy S3
Android 4.4.2.
Google Calendar app up to date

To built the comments below cOmrad answer : you can also create default notification for each calendar (group of events)(the default group is simply "Event").

open calendar
select menu (top left)
scroll down to settings
under your email select your calendar (click on show more if you have more than one otherwise select "Event")
choose a default color and notifications.

Each of your email/ "calendar" can have its own defauls color/notifications.
This will only be a template, you will still be able to set the color and  nofications when you create/edit a particular event.

You can set notification type and time while you are creating event or you also able to modify already created events:
(Click image to enlarge)

Oh, I think I found it. Ouch. It Hurts. I will have to do this for every event in my calendar ? Separately?

Well, if you need to customize a specific notification time or date then it's obvious that yes, you should set notifications one by one assuming that they are different events, if not each event has "10 minutes before" notification set by default so you won't miss it anyway.

By the way, one more thing if you will edit event which repeats in future, after editing there will be pup up alert asking you if you would like to affect future(the same events which repeats) events as well, so you won't have to do the same event editing separately.

For Windows 10 (adapt for android). To resolve (for me) Google calendar no notification issue I found that if you activate google calendar extension in chrome => more tools =>
extensions then click on calendar tool in top right toolbar then select a calendar entry it will ask you to logon. Logon. Then you should be able to receive notifications. I hope it works for you as well :)

Sharing your experience getting notifications working is great, but I don't think your Windows instructions are relevant to Android users.


text:
How to avoid roaming question on dual-sim calls?
I have a mobile phone with a dual-sim slot and I inserted a SIM in each of them.One of the SIMs get logged in in national roaming which is ok as there is a cooperation between my native service provider and the "foreign" one.
I use a separate app (Roaming Control) to handle roaming correctly.
If now I am logged in in the foreign net and I call out to anybody I get a message, to confirm using roaming and not the secondary SIM which is in its native net:

Roaming warning
The SIM card that you are about to use is now in roaming. Would you like to continue?

I have to confirm manually which is no problem as long as I have the phone in my hands.
If I am sitting in my car and I use a voice dialer this is nasty: The call does wait for the entry of my decision but does not show the question as the display is in general turned off beforehand. Thus I have to wait for the ring tone and if it is not coming I have to take the phone in my hands (!) and confirm the roaming.
Is there a way to disable this warning?

In my Android 4.2.1, I have to set Settings → SIM Management → Roaming → Show roaming reminder → Never.
Alternatively, use adb to disable the notification for a particular SIM.
Setup ADB in PC, enable USB debugging in device, connect the device into PC, launch a shell on latter and follow these instructions:
To enable data roaming for default SIM, enter:
adb shell settings put global data_roaming 1

Changes would take effect immediately. For SIM2, change the key to data_roaming_2.
If you want to know the details about this command, enter adb shell settings. You would easily come to know what the aforesaid command would do.

authors: امیرمحمد پورعلوی


text:
Android encryption and Native Library Storage Locations
I have written an app that uses a native shared library via the Android NDK. I am particularly interested to know whether the .so file is stored in a location that would be encrypted if I were to enable encryption on the phone.
When that app is installed on the phone, where does the .so file get stored Also, is there only one or multiple copies of that .so file on the phone?

Is the device rooted? It would be fairly easy for you to answer your own question if the device is rooted? Watch the /data and notice changes during the app installation. Then filter the changes to find the thing you want.

no the device is a non rooted samsung S3, I think its running 4.2 or thereabouts

am i right in thinking that apps store there .apk file in the /data dir? the .so file must exist within the .apk - is it copied elsewhere also? i.e. is there an android equivalent of /usr/local/lib? would the /data dir be encrypted?

Izzy has the things covered. See : Where Android apps store data? / Android Folder Hierarchy / Where in the file system are applications installed?

yes - need to read and understand that, maybe I could run a find type command over adb as well to locate all instances of the .so on the phone?

If the device is not rooted, find wouldn't be able to give you what you want.

also need to find a doc on what storage locations are encrypted when you do the standard android encrypt phone procedure. I'm assuming its not the whole file system, maybe just the android equivalent of the /home dir, though that assumption could well be wrong

I'm not certain but /data seems to be the only thing encrypted as per this link: https://source.android.com/devices/tech/security/encryption/

quite a technical article, but suggests that /data is encrypted with fill disk encryption. question remains how to be sure that the .so file has not proliferated to any other file locations - hopefully not..

@Firelord if you want to concatenate any/all of your comments into an answer I am happy to accept that - they have solved my problem..

Thank you, but I'm not confident that I've solved your problem. Perhaps, somebody with better expertise can provide a high-quality answer to your question.

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


text:
Is the /data dir encrypted when android encryption is enabled?
I am interested to know if the /data dir is encrypted when android encryption is enabled?
Specifically, I have an app that utilises a native shared object library
I believe this file resides in /data/data/<package_name>/lib/
My phone is not rooted so I do not believe I have permissions to view this dir
But I would like to know if it gets encrypted?

initial investigation suggests answer is yes - see https://source.android.com/devices/tech/security/encryption/


text:
Port forwarding in android
I have a rooted android device in which I have installed SSH server. i need to access my device outside my LANi.e. over the internet.inorder to access it over the internet i need to enable port forwarding . so , is there any way of forwarding ports in android?

What's the network scenario here? If your Android device is under a local network, be it wired/wireless, and the device has to be accessed from a system outside this network then you would need to forward ports at the router/switch -- off-topic here. If the device is simply connected to Internet (using mobile data) and has a public IP address, then you should be able to access the server without any port-forwarding.

I meant i can access it in my LAN . But i cant access it via my public IP


text:
My phone stopped remembering wifi passwords!
For some reason that completely escaped me, this here Samsung S3 mini stopped connecting automatically to my home network, always requiring me to re-type the wifi password.
Since then, I noticed that it's not just for my home network, but for all wifi networks.
More concretely, here's a sample of what happens:

I try to connect to a WPA-protected wifi.
Android asks for the password.
After I provide it, the phone connects successfully.
I turn off the wifi (on the phone).
I turn it back on.
The phone doesn't auto-connect to the wifi.
I explicitly select the wifi network to connect to.
Android again asks for the password I typed in a minute earlier.

Any idea how that can happen?  What could I have done to deserve this?  What could I do to redeem myself and fix this problem?
More details: "forget"thing ("disconnect"ing from) the network explicitly makes no difference (it still doesn't remember the password next time around), rebooting the phone neither.  This phone is running Android-4.4.2, is not rooted.

You can consider factory reset, but that always seems to be an extreme option. Did you consider forgetting a network and then attempt to add it in device? How did it go when you then disconnect from that network? Did the problem persist? Is the Android rooted? Which Android version are you using?

@Firelord: Right, I'm not looking forward to a factory reset, indeed.  I added further details in my question, in case it helps someone to figure it out.

When it asks you for password, the second time, the place you type your password has (unchanged) greyed out? A screenshot when you try to explicitly connect would help.

No, the password field is simply empty.  Also, when I click on the network to connect to it, I'm not offered "forget" among the options (I can only "connect" or "cancel"), contrary to the usual behavior.  Similarly, in the list of networks, the network is only annotated as "Secured", IOW as a completely new/unknown network.

could you include the full logcat log while this problem occurs? Otherwise I highly doubt nobody will be able to help you.  http://android.stackexchange.com/questions/14430/how-can-i-view-and-examine-the-android-log

I just recorded the full "adb logcat" while doing "connect to the network named MM; then turn off wifi".  The result is 120KB long and I'm not sure what is needed and what isn't.  Also I don't know how to attach it here, so I put it up at http://www.iro.umontreal.ca/~monnier/adb-logcat.log.

Oh well, I ended up resetting the phone to factory defaults, for lack of a better solution.

@Stefan Did a factory reset correct the issue?

@acejavelin: Yes, it did.

There is most likely a problem with the phone's /efs/ss_data file. I think it's basically a key for decryption of your Wi-Fi passwords and other things in secure storage.
Root is required for this fix.
First we need to confirm it's a problem with secure storage.

Install BuildProp Editor from Play Store
Set ro.secure.storage=false
Reboot, setup Wi-Fi & reboot again

WiFi should now remember passwords if there was an issue with secure storage.
Now let's fix the secure storage issue since we know what's broken.

Set ro.secure.storage=true using  BuildProp Editor
Backup EFS using TWRP/CWM recovery
Delete ss_data in /efs using ES File Explorer in root mode
Reboot, setup Wi-Fi and reboot again

Your Wi-Fi passwords should be remembered now on any ROM/kernel, non rooted and without edits to build.props
Tested ON:
Samsung Galaxy S6 SM-G920T1 MetroPCS Variant on 5.1.1 build DOJC
Note:
This may work on other devices that require setting ro.secure.storage=false in build.prop for Wi-Fi to remember passwords. I have seen users with Nexus devices experiencing this issue as well.
SOURCE

Can you tell us on which Android version and device is your answer tested upon? Furthermore, can you link this root file explorer?

I tested this on a GS6 5.1.1.

FWIW, I do have a /efs but it doesn't contain any ss_data.  And my grep secure /system/build.prop returns nothing.

Google Backup Transport service may have screwed up, failing to update the wifi passwords being stored on their servers (methinks it is pulling down a blank password over and over again). In Settings -> Apps -> All look for Google Backup Transport, clear cache and data, and restart the phone.

I just tried it, but the behavior is unchanged.  FWIW, the option "back up my data" (to backup data to Google servers) is disabled.


text:
My Phone will not recognize USB connected
There is no USB options when I connect to pc. I have tried a Galaxy Avant phone with the same cable and works, so it is not the computer or the cable. I have turned off and on USB debugging. I have tried so many " solutions"  and still nothing.
Phone: Rooted Galaxy Avant (T-mobile)
Kitkat 4.4.2

sorry if i misspeled something XD

If you notice any of youre own, you are free to edit your own posts. Just click the 'edit' link under the tags.

Try changing the device connection protocol. My device only works in ptp.

@EthanZ hey m8, thanks for responding so quickly. Could you tell me how? Im kind of a big noob. :)

It should cone up as a notification when the device finds a computer, bit there may be an override method in the dev settings

yeah that is why I am a bit confused, because there should be a notification that should tell me that i am connected and what options i want but no, it just charges. Also i have tried to find the "USB connection"   options in my setting but its not where people tell me it is... :(

First of all, please make sure that you have latest Samsung USB driver installed on your computer, if not please update it or download latest version from this page.
Second, make sure that USB cable is working properly.
Third, if USB cable is ok, driver is up-to-date and you still won't able to connect, then type in your Phone app this string *#7284#and check the option MTP + ADB, press save and reset. This should solve connection issue.

P.S. If appeared *#7284#  "service screen" is different which means you can't see the MTP + ADB option please post the screenshot here.

Still nothing m8... idk I am probably missing something very obvious.


text:
Add a driver to phone for win7 machine to detect
recently bought a Vodafone Smart Ultra 6, tried to connect it to my machine (Win7 64-bit pro) and it came up with "USB Driver not found".
Now, here's why this is an issue:

I have internet on my phone but not on my desktop
the only way to get that file because of point 1) would mean having to transfer the driver to my pc from my phone.. which I cant because there is no driver!

is there a way I can unzip the driver to a certain folder on my phone that Windows will see? Or will it be a long & tedious case of copying the images by hand onto the desktop in the drivers folder?
Thanks,

Turn ON the mobile hotspot and connect your laptop to that network.

My desktop doesnt have a wireless reciever, if I dont have wifi why pay a bit more for a reciever... I hate past me haha

No, there is no way to do this without, at minimum, writing custom code for the USB interface on your device.  Devices that present drivers this way do so through a standardized interface that uses generic drivers (that the system will already have), often appearing to be a CD-ROM.  If you can't see something like this or an existing storage location on your phone, you're out of luck.

awesome just what I wanted haha that's fine I guess I can copy the code into files in the driver folder, a tedious task but a necessary one. Thanks :)


text:
Cannot import contacts from SIM card on Prestigio MultiPhone
I'm using Prestigio MultiPhone 3504 Muze running on Android 5.0.2 Lollipop. I can't seem to import contacts from the SIM card.
When I go to Contacts -> Menu, I got the next options:

Call History
New Contact
Settings

Why I don't see Import from SIM card option? Where is it?

Are you in the Phone app because I can definitely see the Import from SIM card option in Contacts app? See images here: http://i.stack.imgur.com/eYu7w.png http://i.stack.imgur.com/NTpdP.png Also, why would the Contacts app be showing "Call history"! Which Android device are you using?

@Firelord I'm using Prestigio MultiPhone 3504 Muze. Finally I notice that it hasn't that tab at all, vut automatically import all contacts from SIM card. My broblem was that I haven't got contacts on SIM card.

I can confirm that my Android 5.0.2 has Import from sim card option in the contacts application.

@Lucky I believe you, but the problem is it's absent in my phone) I think the problem is solved, since all SIM card contacts were imported automatically after I download contacts onto SIM card

@VB_ it's been a while, but it seems you found the cause (and the fact that manufacturers can customize their stock apps, so they may behave differently compared to other devices) and solution by yourself, which is great! Could you post it as a proper answer?

I'm using Prestigio MultiPhone 3504 Muze. Finally I notice that it hasn't that tab at all, vut automatically import all contacts from SIM card. My broblem was that I haven't got contacts on SIM card.

See images here: https://i.stack.imgur.com/eYu7w.png https://i.stack.imgur.com/NTpdP.png

It may be the case, contacts from SIM cards are imported only once, so the above menu fails to open, once contacts got imported.
But you can easily test the above, selecting "Add New Contact" and saving it on your SIM card.
That way you can try to open "Import contacts from SIM card" menu again, not removing and reinserting the SIM card again.


text:
whathappens if i hit the manage space button in google play services
what happens when I hit manage space button in google play services im trying to free storage space so I can download an app

See the screenshots here: Where is data of Google Play Services located in device? Can I safely delete it?

Don't worry- pressing the "Manage storage" button won't break you phone.

Here is what happens when you press the "Manage storage" button in Google Play Services through App Management:
(Click image to enlarge)

Tapping any of the apps on the "Search Data" page just goes to that app's "manage" page.


text:
Audio notes & voice recording stop abruptly in Google Keep
I've recently been trying Google Keep for its speech-to-text feature. The problem I'm having though is that it only records a couple of seconds then stops; usually about 2 to 7 seconds.
I tried it several ways and made sure my fingers aren't on the screen while I'm recording, so I don't think I'm accidentally tapping the screen to stop the recording.
Is the problem likely with my phone, or is there some setting I need to change? I assume I don't need to upgrade $ to make notes that are longer, do I?

Send this as a bug report to google. I don't think there is much you can do.

After trying the voice recording I've found that the recording stops whenever there is silence for a few seconds. In other words, to make a long recording you'll need to talk continously.
I've so far found no way to increase the length of this silence period in order to stop the recorder from prematurely stop recording. Please comment if you know how to do that.

what's more, it stops recording after around a minute!  i'm posting a new question related to this.

authors: احمد الدوبعي


text:
Gallaxy S3 recharging prob-Master reset? will I loose contacts?
I've had a Gallaxy S3 for a little over one year without problems. All of the sudden it won't charge up. Barely to anything after being turned off and plugged in for hours! I've switched chargers, even tried usb to PC, switched batteries with my husband, same problem. It's my phone, not the battery. I've done a cach partition wipe. No change. NOW...to my question. I am looking at doing a master reset. Will I loose my contacts and pictures?? Thank you for helping me. Can't afford a new phone at this time.

Yes, a master reset will wipe your downloaded apps and personal data.
You could backup your photo's on your PC. Another option would be Google Drive or any other cloud service.
Your contacts you can open contacts under settings. There should be import/export option. Then you can export them to your sim card or what every option is available. Also another option that maybe available is to save them to your Google or Samsung account.

Ok, thank you soooo much!! How do I back up my contacts, please?

Can I remove my SIM card before a master reset to keep my contacts??

I just watched this video and it instructs me to back up to SD card. Is the SD card the same as a SIM card and should it be removed prior to master reset?

https://www.youtube.com/watch?v=spAY40G49Jw

No an SD card is different than a sim card. You can move it if you wish. the sim card should not be messed with by the master reset just the device.


text:
How can I record game audio with screen without using microphone?
I found so many apps which can record screen on my android device.
Some of them can record audio and video at the same time, but only when I turned on the "Record with microphone" option.
That's not realy good, becouse the game sound can be a little bit noisy that way, so I need to record the game audio without using my microphone for best quality.
I would be grateful if the solution does not require a computer for audio recording.
My device is:
Sony Xperia Z2
Android version 5.1.1
Not rooted and can't root it becouse if I do, I lose my warranty.

Well, I have been using the SCR Pro for game recording without using microphone.
Install the app, then you launch the app, there are 3 buttons, tap on the setting icon, scroll down to the Audio tab, tap source, tap System Audio Output (or Internal). And there you go. But I am not sure if that one requires root or not.


text:
Whatsapp on dual sim
I want to use dual sim phone with one number registered with whatsapp and another number with data pack , is it possible?

I want to use dual sim phone with one number registered with whatsapp and another number with data pack , is it possible?

Yes. In dual sim Android phones, you can only use one sim's mobile data at once. You can choose which sim to be used with mobile data in settings.
And WhatsApp doesn't require the same sim's mobile data. After installing and sms/cal verification, you can use any means of data connection to use WhatsApp. Even you can remove the sim and use the application as long as you didn't reverify Whatsapp sms/cal from a different phone.
On dual sim phones, you can even use two whatsapp accounts for both sims if your android version supports multiple user. Android Lolipop and above supports multiple users on phones. While you can enable multiple users on Android 4.2 to 4.4, you may need root access and build.prop tweak to do that. Just create a second user and install WhatsApp in it and register it with second sim.
Using modified version of whatsapp on the same user account with official app might have issues, since both apps share the common directory "WhatsApp" on sdcard, conflicting with database.

Thankyou Bharat for your crisp & precise answer. Excellent explanation that answered my main concern.

Short answer
No, because WhatsApp doesn't officially support multiple accounts.
Longer Answer
It's technically possible, but you'll need two different versions of WhatsApp. Customised ('modded') versions of WhatsApp exist, and if you install both the official version and a reliable unofficial version, you can in fact have two WhatsApp numbers on the same phone.
However, you shouldn't do this if you're concerned about privacy because the unofficial versions of WhatsApp aren't vetted by any authority and might compromise your device.
Furthermore, there always remains a possibility the unofficial version will simply stop working, because WhatsApp doesn't like them and has begun cracking down on them. There are even (unsubstantiated, and later refuted) rumours that WhatsApp will permanently ban users of unofficial clients.
Instead of installing an unofficial version, you can edit the build.prop file to make it appear as if two copies of WhatsApp are completely different applications but you will definitely run into issues later on as both will try to save messages and media to the /sdcard/WhatsApp folder, resulting in conflicts and confusion.

Which unofficial version do you recommend? I tried to use OGWhatsApp, did not work for me. Time zone is not correct was the error. Useless...

authors: أصيل المحمدي


text:
HTC 816g octacore got stuck in the no command screen
Yesterday an update came to my mobile. I updated and was installing the update an then an error occured. After that i restarted my mobile and from then on a no command screen is coming. My mobile is not rooted. Also in the downside it is showing No .zip file in internal storage.
Please help asap.

I had the same problem "no command"  (Resting Android robot) screen.
I tried to do a factory reset using hardware buttons as mentioned here.
I tried to enter Boot mode by pressing Volume Down and Power button where it presents with Recovery mode, Reboot system now, Apply update.
I selected on Reboot system now using power button to see that my phone switched on without any issues.


text:
How long should a factory reset take?
I did a factory reset on my LG Optimus L70, and it showed a screen that said "Erasing..."
Shortly after, it showed the MetroPCS splash screen, and it's been stuck on this screen for over 2 hours. How long should a factory reset take?

Factory reset is already completed. You're now stuck at boot logo. Attempt to reset the device again.

Factory reset has already been done. Now you need to take the battery of or reset the phone again. Thats the only way that its gonna work.

I did this, but it continues to gets stuck at the MetroPCS logo.

Then take it to the service centre. Probably your device is bricked. @badjr


text:
How can i use Android Beam in Asus Zenfone 5?
I have just upgraded my Asus Zenfone 5 to Lollipop from Kitkat....After successfull upgradation i found all features.But i am unable to find NFC to start Android Beam feature.
Is it supported ?I have upgraded through ZenTalk...

Is it not under "Settings -> Wireless & Networks"?

No it is not their

You can't; the ZenFone 5 does not have NFC.  (No mention on the official specs page either.)


text:
Unusually high data usage by Google Play Store
I've just noticed that my data usage for Google Play Store this month is >350MB. I've got it set to update over WiFi only and background data is restricted, so I don't know where this has come from. I haven't been downloading any apps either. Does anyone know what could have caused this and more importantly how do I stop it? It's a Sony Xperia Z3 running 5.0.2. Thanks!

I recently had problems with my phone eating up an extra 4GB of my data plan in one month. Not fun.
First try, Settings -> Apps -> All, and reset cache for each Google Play Services, Google Play Store, and Google Services Framework. Restart the phone, and watch.
If that doesn't do the trick, try resetting the cache AND data for each of the three. Again, restart.


text:
Android 5.0.2: Windows 10 does not recognize it in USB storage mode
I bought Prestigio MultiPhone 3504 Muze with Android 5.0.2. When I connect it to my PC with Windows 10 installed, I can't find the device in explorer.
How to connect my phone to PC?

Did you try searching about the issue on web? You can save us the trouble by mentioning the type of solutions you may have attempted so far?

@Firelord yeah, I finally connected  it by choosing as media device option. But I hopped to delete all mobile contacts (sync from Google) using windows exploerer. I suppose to do that I need to connect my phone as usb storage, right?

If you want to manage your contacts you can do that directly using your phone's Contact app or by visiting https://contacts.google.com for managing your synched contacts.

@Lucky I want to delete all contacts synced from Google

You can do that in your phone itself. Just customize the contacts to dissolution only the contacts stored in the phone. And stop syncing your contacts from/to Google.

@Lucky I've already stopped syncing from Google. But it imported about thousand contacts. How to delete them all at once?

For your device to be shown as USB storage you need to set MTP as your usb-computer connection option.
Settings - Storage - Press three dots - USB Computer connection - Select Media device (MTP)
Now when you connect it to your Windows 10 PC you will be able to see the device's storage.

All you need to do with new windows 10 not detecting Android phone is, install below two KBs and restart.
Step1.  install: 'KB3010081' ---> https://support.microsoft.com/en-us/kb/3010081
Restart
Step 2. install: 'KB3099229'---> https://support.microsoft.com/en-us/kb/3099229
Restart
And you are done. Open My computer and you will see MTP logical drive in there.
After one more reboot, you may see your phone model/ make as drive label.
Thanks and enjoy!
Rupesh Diwaker


text:
How to flash scatter-based stock ROM through custom recovery
I'm using a Karbonn A52+ (Mediatek 6572) running on Android 4.2.2 (stock ROM) with root access, unlocked bootloader and Clockwork Mod Custom Recovery installed.
I have a 4.4 Kitkat stock ROM for my device which is a scatter-based ROM and needs to be flashed through SP Flash Tool. However, for some reasons I'm unable to use SP Flash Tool.
So is there any method which can allow me to flash that ROM through CWM Recovery? I have experience in flashing custom ROMs through recovery, but never flashed a stock ROM using recovery. Can I convert that ROM which needs to be flashed using SP Flash Tool to a ROM which can be flashed through custom Recovery?
P.S. The 4.4 ROM which I want to flash is known to have some bugs, like:

It locks my bootloader.
It disallows me to boot into recovery using the hardware method, i.e. Power button + Volume Up Button. The only way to get into recovery would be either through ADB or through a Reboot Manager from Play Store.

The files in a scatter based ROM are mainly image files so you should be able to flash them using fastboot, provided that you know the names of the partitions to flash. In any case, you need to make a Recovery flashable zip out of that scatter-ROM and that's something you need to search on web. // Better is to find out a Recovery flashable stock ROM zip for your device.

@Firelord, can you suggest whether this method would be safe for me?
http://www.gizbeat.com/7260/flash-rom-upgrade-firmware-without-losing-user-data-cache/

But why link that method now? The content in the link depends upon SP Flash Tools but you mentioned in the question that you're unable to use that tool.

I have few doubts in the method which the link provides:
For the scatter file: It asks me to use the scatter file which was made for the ROM which I'm currently using, and that is Jelly Bean
But that scatter file has a different preloader name (as the preloader in my current ROM is for jelly bean and the new one is for kitkat) so I hope if I flash the KitKat ROM without flashing the preloader it won't harm my device?

I was unable to use SP Flash Tool coz I got an error saying "PMT changed for the ROM: It must be downloaded" and some google search suggested that error was due to some scatter file issue


text:
SELinux and chroot system call
TL; DR: This is a question about the final step, in a portable, developer-oriented rooting process, that works across all Android machines. It is not based on any exploit - it is something that we are legally and morally allowed to do, as developers, to our own machines. If I get an answer and manage to chroot inside my Debian, I will make a concise blog post detailing all the steps of this process for all the fellow developers that want root access to their tablets - and don't want to trust dubious-origin "one-click-roots" that do God-knows-what to their machines (botnet members?)...  The only dependencies will be the machine's kernel sources (which the manufacturer is legally obligated to provide) and the boot partition image (boot.img), which is 99% of the times inside the manufacturer-provided Over-the-air updates, or individually downloadable as a standalone flash-able image.
So, a week passed where I spent all my free time on my new Android tablet.
And I have almost completely succeeded - in creating a portable, developer-oriented process, for achieving root in my Android 5.0.2 tablet.
But there's one thing missing yet - I can't do a chroot (which I need to run my debootstrap-ed Debian!)
What I did so far

First, I did a minor patch in my tablet's (manufacturer-provided) kernel sources, and then compiled my own kernel - where I disabled the checks for changing SELINUX enforcing mode. Specifically...

In security/selinux/selinuxfs.c:
...
if (new_value != selinux_enforcing) {
    /* Commented out by ttsiodras.
    length = task_has_security(current, SECURITY__SETENFORCE);
    if (length)
        goto out;
    */
    audit_log(current->audit_context, GFP_KERNEL, AUDIT_MAC_STATUS,
        "enforcing=%d old_enforcing=%d auid=%u ses=%u",
        new_value, selinux_enforcing,

I then changed my initrd image's /default.prop to contain: ro.secure=0 and ro.debuggable=1
Since my manufacturer's initrd.img was missing it, I also compiled su.c from https://android.googlesource.com/platform/system/extras/+/master/su/ and placed the resulting binary under /sbin/su, making sure it is set to SUID root (chmod 04755 /sbin/su).

After that, I packaged the new kernel and the new initrd, as I explained in Episode 2 of my previous post - and booted from my own image:
adb reboot boot-loader ; fastboot boot myboot.img

So, are you root?
Yes, it initially appeared to be successful:
$ adb shell

shell@K01E_2:/ $ id

uid=2000(shell) gid=2000(shell) groups=1004(input),1007(log),1011(adb),
1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),
3003(inet),3006(net_bw_stats)
context=u:r:shell:s0

shell@K01E_2:/ $ ls -l /sbin/su /sbin/_su
-rwxr-xr-x root     root          131 2015-10-03 10:44 su
-rwsr-xr-x root     root         9420 2015-10-03 01:31 _su

(the _su is the binary I compiled, set to SUID root, and "su" is
 a script I wrote to tell "su" to add me to all these groups...)

shell@K01E_2:/ $ cat /sbin/su

#!/system/bin/sh
export PATH=/system/bin:$PATH
exec /sbin/_su 0,0,1000,1028,2000,2001,1004,1007,1011,1015,\
   1028,3001,3002,3003,3006

And I have now achieved root:
shell@K01E_2:/ $ su

root@K01E_2:/ # id

uid=0(root) gid=0(root)
groups=1000(system),1004(input),1007(log),1011(adb),
1015(sdcard_rw),1028(sdcard_r),1028(sdcard_r),2000(shell),2001(cache),
3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)
context=u:r:shell:s0

I am 100% sure I am root - not only because id says so, but because I can also do things that normal processes definitely can't:
root@K01E_2:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/boot
lrwxrwxrwx root root 2015-10-03 10:47 boot -> /dev/block/mmcblk0p16

root@K01E_2:/ # dd if=/dev/block/mmcblk0p16 of=/dev/null bs=1M
16+0 records in
16+0 records out
16777216 bytes transferred in 0.569 secs (29485441 bytes/sec)

Lo and behold - I can finally read raw partitions out of my tablet!
And SELinux is indeed in "down, dog" mode:
root@K01E_2:/ # getenforce
Permissive

But... there are still things I can't do:
root@K01E_2:/ # mkdir /my_mnt

root@K01E_2:/ # mount -t ext4 /dev/block/mmcblk1p2 /my_mnt
mount: Operation not permitted

That is, I can't mount my EXT4-fs formatted 2nd partition of my external SD card.
I also can't chroot to my lovely debootstrap-ed Debian:
root@K01E_2:/ # chroot /data/debian/ /bin/bash
chroot() fail
Operation not permitted

Is it because of SELinux?
I don't know - I am new (very new - one week old) to SELinux. I thought that when you put it to sleep (getenforce reporting "Permissive") it no longer interferes...
Apparently, I was wrong. Down the rabbit hole we go again...
Could it be because of my process context?
Remember that id returned... "uid=0(root) gid=0(root)... context=u:r:shell:s0"
Can I change that context? Being root and all, can I move away from shell? And if so, move to what?
The answer to the first question is runcon:
shell@K01E_2:/ $ runcon u:r:debuggerd:s0 /sbin/su

root@K01E_2:/ # id
uid=0(root) gid=0(root)... context=u:r:debuggerd:s0

Good. But what context will allow me to mount and chroot?
Reading some more about SELinux, back in my main machine, I parse the /sepolicy file on the root of the initrd.img:
linuxbox$ $ sesearch -A sepolicy | grep chroot
allow init_shell init_shell : capability { chown sys_chroot ...
allow init init : capability { chown dac_read_search sys_chroot ...
allow kernel kernel : capability { chown dac_override sys_chroot ...
allow asus-dbug-d asus-dbug-d : capability { chown sys_chroot ...
...

OK, a number of possibilities! Especially that kernel one seems promising:
shell@K01E_2:/ $ runcon u:r:kernel:s0 /sbin/su

root@K01E_2:/ # id
uid=0(root) gid=0(root)... context=u:r:kernel:s0

root@K01E_2:/ # chroot /data/debian/ /bin/bash
chroot() fail
Operation not permitted

Darn.
Who the heck is blocking me from chrooting?
Any advice most welcome...

Who the heck is blocking me from chrooting?
It wasn't SELinux - that was a wild goose chase (getenforce returning "Permissive" means that SELinux is indeed no longer in the picture).
The culprit - after adding quite a number of printk in the kernel's source to trace the failures of both chroot and mount - turned out to be capabilities. More specifically, Android's "capability bounding set" - you can read all about them via your man (man 7 capabilities) and I confess I have never before bothered looking into them - my everyday UNIX tasks depended on them and I had no idea...  try this in your linux box to see for yourself:
$ getfattr -d -m - /sbin/ping
getfattr: Removing leading '/' from absolute path names
# file: sbin/ping
security.capability=0s......

See? Ping is no longer SUID root - it uses information stored in the filesystem's extended attributes to know that it has access to the raw sockets layer (so it can do it's ICMP thing - at the IP level that is).
Anyway, I digress - the surgery point in my kernel where I stopped the "drop my capabilities set" - in an arguably disgusting, "let them all march in" manner - was this (security/commoncap.c):
static long cap_prctl_drop(struct cred *new, unsigned long cap)
{
    if (!capable(CAP_SETPCAP))
        return -EPERM;
    if (!cap_valid(cap))
        return -EINVAL;

    // ttsiodras: come in, everyone, the water's fine!
    //cap_lower(new->cap_bset, cap);
    return 0;
}

This means that capabilities are NEVER dropped - a very secure configuration, indeed :-)
$ adb shell

shell@K01E_2:/ $ su

root@K01E_2:/ # chroot /data/debian/ /bin/bash

root@localhost:/# export PATH=/bin:/sbin:/usr/bin:/usr/sbin:\
     /usr/local/bin:$PATH

root@localhost:/# cat /etc/issue
Debian GNU/Linux 8 \n \l

Hello, my sweet Debian :-)
Oh, and "Root checker" works, too - I snipped "su.c", so everyone in my tablet can become root:
int main(int argc, char **argv)
{
  struct passwd *pw;
  uid_t uid, myuid;
  gid_t gid, gids[50];

  /* Until we have something better, only root and shell can use su. */
  myuid = getuid();
  //
  // ttsiodras - Oh no, you don't :-)
  //
  //if (myuid != AID_ROOT && myuid != AID_SHELL) {
  //    fprintf(stderr,"su: uid %d not allowed to su\n", myuid);
  //    return 1;
  //}

Now that it works, I must make it work properly - i.e. allow only my termux and Terminal Emulator users to invoke su and chroot, and not let everyone and their grandmother in :-)

Doesn't this root method require the ability to flash your own kernel though? And to do that requires an unlocked bootloader. At which point you may as well just flash a custom recovery and gain root that way.

@1110101001 For the bootloader: obviously, yes. For the custom recovery: there is no such thing (yet) for my tablet - I am in a position now to create one, though ;-)

@1110101001: And one more thing - you said "ability to flash" -  I haven't flashed my boot image to the tablet, I am just booting from it: fastboot boot my.img. I believe the rooting community calls this a tethered rooting :-) And of course I could flash it - if I wanted to.


text:
VZW Galaxy S5 can't use Wi-Fi (DNS_PROBE_FINISHED_NO_INTERNET)
My Verizon Galaxy S5 can connect to my home's Wi-Fi, but I can't load anything once I'm connected. The error message I get is DNS_PROBE_FINISHED_NO_INTERNET.
Other non-Galaxy smartphones work fine on the network, as does my laptop.
Is this an issue with the phone or the router? Things worked great up until a few weeks ago so I'm not sure what changed.

you need to reset your ip address. have you tried "forget network" and add the network again ?

Tried that, but had to reboot for the change to take effect.

you mean reboot is needed for adding the network again ? Is this rooted phone ? have you installed any APPS that related to wifi ?

I have this same issue also with an S5 on Verizon, but I've narrowed down when it happens. If I enable the hot spot then after I disable it, I will get this error when using the browser (Chrome) and apps that need internet are also unable to function.
Once it starts, nothing seems to allow a wifi internet connection to work. The only thing that seems to get rid of the error is restarting the phone.

Good thing the S7 comes out tomorrow :)


text:
Prevent music volume from being lowered when using turn-by-turn navigation
I use a Nexus 6 on Lollipop.  Sometimes I'll try to listen to music over Bluetooth while using Google Maps turn-by-turn navigation in my car.  The volume on the music is reduced whenever Google Maps gives the next turn, which is irritating.  I changed the settings in Google Maps to output using the device's speaker, but it still lowers the media volume over Bluetooth to give me turn information.
Is there any way -- ideally without needing root privileges -- to prevent this from happening?

I guess that's the reason Google Maps do it, to make sure that you can hear the next turn (and prevent users from blaming Google if they miss it). Anyway, your question is on-topic.

@AndrewT. Yes, I imagine that's the case, but I am both aware of and accepting of the risk that I might not hear the directions.  In any case, the pausing doesn't really work because the delay in Bluetooth means my music doesn't get lowered until after it's already given the directions.

This is 2021, I just bought a Nissan Kicks and the same issue happens, both on Apple Play and Android Auto, when I'm using the Sirious XM or FM radio along with the directions. I couldn't figure out a way to stop the volume reduction, just wondering if anybody has found a way? It's hard to believe it's still not an optional feature

@cleberz I never found anything better than muting the directions.

I'm not sure at what point it was added, but it is now possible to mute turn-by-turn navigation.  This is not exactly ideal (I'd prefer to have the directions come out of the phone speaker and not pause Bluetooth), but it will do the job.  Google provides instructions here:

You can silence voice navigation by touching the mute button.

Open the Google Maps app maps.
Start navigation.
In the top right, touch Sound.
Touch Mute.

To turn voice navigation back on, touch
Mute > Sound.
Tip: You can also silence voice navigation by touching the volume
controls on your device.

From what I've read elsewhere, this functionality is generally handled by the application playing the music/audio. So, I've been testing out various players, and found a couple that does what the question is requesting, MX Player and Poweramp.
MX Player is primarily known as a video player, but it can also handle a number of audio formats (including Opus, which I happened to be looking for).
One drawback with MX Player is that it can't create dynamic playlists, so you have to have the songs ordered in folders to play in succession.
The other one that does what the question is requesting is the music player app Poweramp, which lets you choose in its settings, under Audio->Audio Focus->Short Audio Focus Change, between no ducking (unchecked), and pausing (checked). Poweramp isn't free, though.
Another app, Rocket Player, is a music player that will let you choose between ducking and pausing, but will not allow you to disable it completely, which is what the question is looking for. (The setting is under Settings -> Sound -> Audio Focus -> Temp Focus Action)
For myself, I've found that, especially for audiobooks and podcasts, I actually prefer pausing to ducking or no ducking, so I like Poweramp or Rocket Player for this purpose.

Well, that's unfortunate since the services I have are tied to particular apps but I guess that is the answer.

Rocket Player does give the option to IGNORE all other apps now. Just tested it: maps, camera shutter sound - make sounds but no longer "duck" (more like stutter!) my music, listening via 3.5mm rn but should be same for BT.

For Samsung devices, I found a solution to this issue by using an app called SoundAssistant. It has a "dual app sound" setting, if you turn it on and choose an app for dual sound (in my case it is Amazon Music), Google Maps will not mute the music.

On Samsung phones, there is a well-known app called Good Lock that can do the trick:

Within the app, install "SoundAssistant";
Go to the "Multi sound" option and select "Maps".

That's it!

Go to settings on your Android phone and search for "sound assistance". Then click on the toggle button to select "multiple audio sources". It works perfectly for Redmi Note 11S and some Samsung phones. Note, the feature may not be available for your Android device depending on the generation and/or software.


text:
Why does this ad keep showing up below my notification bar and how do I stop it?
I keep getting an ad that shows up BELOW my notification bar. It is NOT in the notifications, nor on the homescreen, as far as I can tell.
I am using CyanogenMod 12.1 nightlies on a HTC M8. Screenshots below.
How can I get rid of this thing? It just showed up one day. I don't remember installing anything new (although I have autoupdate on for apps, and some update very often) right before it started. I tried ad scanners, but they haven't been much help.
I would rather not factory reset.
I can close the ad by clicking the small "x". If I click on the info button in the lower left corner, I can give feedback on the specific ad and ask not to see it again. If I click on opt out, it asks for my IMEI, which I'm not really comfortable providing.
The ads are all in Hungarian and Romanian. I live in Romania, close to the Hungarian border, so I'm guessing that is why.
(Click image to enlarge)

Opt out page:

Since you are running CM, you can go into privacy settings and look for all apps with permission to draw over the screen.

If an app has the permissions to override the notification drawer it (probably) can get the IMEI, so supplying it wouldn't be a huge issue.

@Chipperyman Technically getting the IMEI requires a separate permission (“Read phone status and identity”); however, this permission is required by lots of apps (see the discussion there for several reason why it might be needed).

There are many complaints about the Premium Wallpapers HD app, which apparently started to show ads looking like this after its latest update.
In general, an Android app can draw anything over other apps if it has the “Draw over other apps” permission, so you can check which of your installed apps have this permission.

Those ads are shown because of some installed apps in your phone, like Applock. These apps are always run in background and, after some interval of time, the ad is shown again. First find the app(s) which show those ads. Then uninstall those app(s).

I have this same problem. How do I find out which app to uninstall?

The above two answer are correct but
1."Draw over other apps” may be but didnt stop the ads for me.
2.we know some apps at the background ruuning the ads but how to find that app?
For me the ads came on whatsapp which is the only  opened app at front end but i know the ads are not from whatsapp.
To find the ads respective app use network connections monitoring app.while you got the ads open the network app and from list try to figure out the  culprit and uninstall those app.pls note some important app will always run and we need to use our guess and trial error resolve this ads problem

authors: مجید گلجهره رحیمی


text:
Check OpenSSL version in Android with Java runtime or shell command
I have a problem with checking OpenSSL version in Android device. I've tried to grep OpenSSL from system/lib/libssl.so with java runtime.exec, but it doesn't work?
Anyone can help me, how to make a command to check OpenSSL version in Android?

grep doesn't really like binary files, but you can extract the strings from the binary and grep those using strings. This binary is not available on most stock ROMs, but you can use Busybox or a similar tool to use it on most devices.
On my device the following command lists the correct OpenSSL version used by libssl.so:
strings /system/lib/libssl.so | grep -i openssl

This gives me the following output:
OpenSSLDie
OPENSSL_cleanse
OPENSSL_DIR_read
OPENSSL_DIR_end
external/openssl/ssl/bio_ssl.c
external/openssl/ssl/d1_both.c
external/openssl/ssl/d1_enc.c
external/openssl/ssl/d1_lib.c
external/openssl/ssl/d1_pkt.c
external/openssl/ssl/d1_srtp.c
external/openssl/ssl/s23_clnt.c
external/openssl/ssl/s23_lib.c
external/openssl/ssl/s23_srvr.c
external/openssl/ssl/s2_clnt.c
external/openssl/ssl/s2_enc.c
external/openssl/ssl/s2_lib.c
external/openssl/ssl/s2_pkt.c
external/openssl/ssl/s2_srvr.c
external/openssl/ssl/s3_both.c
external/openssl/ssl/s3_cbc.c
external/openssl/ssl/s3_clnt.c
external/openssl/ssl/s3_enc.c
external/openssl/ssl/s3_lib.c
external/openssl/ssl/s3_pkt.c
external/openssl/ssl/s3_srvr.c
external/openssl/ssl/ssl_asn1.c
external/openssl/ssl/ssl_cert.c
OPENSSL_DIR_read(&ctx, '
external/openssl/ssl/ssl_ciph.c
OPENSSL_malloc Error
OpenSSL 1.0.1j 15 Oct 2014
external/openssl/ssl/ssl_lib.c
external/openssl/ssl/ssl_rsa.c
external/openssl/ssl/ssl_sess.c
external/openssl/ssl/ssl_txt.c
external/openssl/ssl/t1_enc.c
external/openssl/ssl/t1_lib.c
external/openssl/ssl/t1_reneg.c
external/openssl/ssl/tls_srp.c
DTLSv1 part of OpenSSL 1.0.1j 15 Oct 2014
SSLv2 part of OpenSSL 1.0.1j 15 Oct 2014
SSLv3 part of OpenSSL 1.0.1j 15 Oct 2014
TLSv1 part of OpenSSL 1.0.1j 15 Oct 2014

I can't confirm that this works for every device, but I see no reason why this would fail.

+1, although the command wouldn't work on an ordinary ROM. strings binary is not included in a typical stock ROM. You would need Busybox for that.

@Firelord sorry, I did not know that. Thank you for correcting me.

@gertmenkel , how to check it if i unroot user? with shell command java runtime?

@Erwin Sitorus questions about writing apps (on Android or in general) should be asked over at http://stackoverflow.com/. This site is intended for Android users, not Android programmers.

@gertmenkel, i just wanna checking it if i unroot user with shell comand, because busy box only running if i root user.

@Erwin Sitorus there is this answer at StackOverflow that discusses many ways to detect if a device is rooted: http://stackoverflow.com/a/8097801/3746429

@gertmenkel, i just want, my coding(shell command with runtime) can running in all android without rooted device, any suggestion how to cek openssl version in android without root?

@gertmenkel , can you help me to check version of openssl application  from system/app or appplication installed on android ? with grep


text:
Connect NFC to Galaxy S5
I have a Galaxy S5 and 6 NFC chips:

I want to write text to those NFC chips. I've already tried 2 apps: NFC Tools and Trigger. None of these apps hadn't recognized those NFC chips.
How can I read these NFC chips and write text on it through my Galaxy S5 device?

They seem like ordinary RFID chips. (I want to make emphasis on "LOOKS LIKE", cause I cant tell for sure).
NFC operates on 13.56Mhz and those seem like ordinary RFID tags (125KHZ tags, with no memory)
I could be wrong since form factor, is not the only matter to identify them. They also could be an NFC tag not compatible with your phone, but they should come up saying "tag not compatible".
Have you tried: NFC tools, its a free app from the market, It could get some information out of it, if not: IT LOOKS  like a regular RFID tag. (do you have the link for those tags, from where you bought them?)


text:
Reduce image size in Android Gallery Album view
On OnePlus One Android version 5.1.1 and Cyanogen 12.1 when I open the Gallery app and select an album the photos in that album appear extremely large. Usually, I would be able to see approx 9-12 photos in the screen however now I see one and half photos. Is there anyway I can change the album view so that I can see multiple photos when I open up an album? I've searched a whole bunch of settings and online but no luck...

You might have changed the DPI from 480 (default) to 560. Keep it up to 520 DPI (go to Settings →  Display & lights).

It is possible you may have enlarged the images by zooming in. This is easy to do, also easy to undo. Merely pinch one of your 1 and a half images in the preview panel. This will zoom out to reduce the size of the previews and restore a greater number of simultaneous previews.

I've tried that multiple times in the preview album pane with no luck unfortunately.


text:
How to remount /system from host shell script?
I am trying to remount the /system partition from a shell, and tried both commands suggested in this post, but it does not work. Here are the script commands I am issuing:
adb shell mount | grep -e "system"
echo
adb shell "su -c 'adb shell mount -o rw,remount /system'"
echo
adb shell mount | grep -e "system"
echo

I get:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0

error: device not found

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0

@Bo Lawson- I tried the command you suggested. Here are the relevant lines from my script; /system remains in ro.
adb shell mount | grep -e "system"
echo
adb shell su -c mount -o remount,rw /system
echo
adb shell mount | grep -e "system"
echo

Here is the output...
sansari@ubuntu:~$ ./module_script
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0

@Bo Lawson - Thanks. You are absolutely right. I got the result I wanted. No explanation is necessary; I am just grateful for your help.

You do not need to repeat adb shell. So it would look like adb shell su -c mount -o remount,rw /system

What about mounting the system partition directly  mount -o rw,remount /dev/block/platform/msm_sdcc.1/by-name/system /system

I had tried the latest command you suggested before; I tried it again just now and do not get write access. I assume I can see all the replies from the prompt regardless of successful execution or not? What I am asking is if there is an option to print more verbose feedback maybe we can figure out what is wrong with the command(s) we issue. As it is, nothing prints to the screen.

After the mount command if you put (without [ ]) [ echo $? ] it will give you the return code of the previous command. That will let you know if it was a success or failure. As far as logs and good to know how to do this will put a verbose  logcat on your desktop Linux [ adb logcat -v long > ~/Desktop/logcat.txt ]

In the logcat I see: [ 10-04 21:48:37.116 13281:13281 E/MTPRx    ]
Status for mount/Unmount :unmountable.  Isn't it strange that I can log in and mount it rw, but from the shell I have issue?

The echo $? just generates a zero. I am not sure what to make of it. All I see is "0" without the "s.

A status code returns 0 that equals successful other numbers it's a failure with reason. I am no allstar and learning too to get things to work i start super simple with each command on its own line to get it to work then improve from there. [ adb shell ] [ mount | grep -e system ] [ echo ] [ su ] [ mount -o rw,remount /system ] [ echo ] [ mount | grep -e system ] [ echo ]

I agree with your strategy, and was about to do it. I logged into the file and started to type. However, in this case, I am not sure how much this would benefit me. I already know I can grep the result of mount as I see it on the screen. The only part I have trouble with is the remount, and that can not be broken down any smaller.

When the first grep is requested it is without elevated privileges $. Then the a single command is thrown with su for the mount but only for that command. Since it was not called on individually it does not stay so you are achieving the RW mount hence the 0. Then the second grep is called on from a $ non elevated privileges it returns RO because root is needed for the RW. If you grep from the # elevated privileges it should show RW. Sorry I should have caught that one earlier.

It worked! Thank you. /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 rw,seclabel,relatime,data=ordered 0 0


text:
Where is the Developer options in the Settings on the S6?
On the S3 it was easy to find. I clicked on everything under Settings.  I can't find it. Where do I access it?

In Jellybean I had access though so I wasn't aware this was hidden earlier than the S6.

Follow the instructions:

Go to Settings → About device.
Tap Build number 7 times.
After tapping build number two or more times, a toast will be shown on the screen telling you the progress:

You are now X steps away from being a developer.

After tapping the build number 7 times, you will be notified you are a developer.
Now, Galaxy S6 developer options will be available in the Settings menu.
(Click image to enlarge)

Go to Settings → Developer options.
In the Settings menu, you can find the Developer options right above About device.  Tap Developer options.
Enable Galaxy S6  Developer options.
In Developer options page, drag the switch to right to turn it on. The color should change to green as shown below.
Use Galaxy S6 Developer options.
For example, you want to turn on USB debugging on Galaxy S6. You can tap USB debugging as shown below. This will enable USB debugging for Galaxy S6.

Full list of Galaxy S6 developer options

Take bug report
Set desktop backup password
Stay awake while charging (screen will not sleep)
Bluetooth HCI snoop log
Processes stats (lists the stats of running processes)
USB debugging (you can then run ADB command from PC)
Revoke USB debugging authorizations
Include bug reports in power menu options
Allow mock locations
View attribute inspection
Select app to be debugged
Wait for debugger
Verify apps vis USB
WiFi verbose logging
Aggressive WiFi/cell handover
Allow WiFi roaming scans
Buffer size for logging
Show touches
Show pointer location
Show screen updates
Show layout boundaries
Force RTL layout
Window animation scale
Transition animation scale
Animator duration scale
Simulate secondary displays
Force GPU rendering
Show GPU view updates
Show hardware layers update
Debug GPU overdraw
Show non-rectangular clips
Turn on 4x MSAA
Turn off hardware overlays
Simulate color space
Use NuPlayer (instead of AwesomePlayer)
Prevent USB audio routing
Strict mode
Show CPU usage
GPU rendering profile
Turn on OpenGL traces
Do not keep activities
Limit background processes
Show all ANRs (app not responding)

And you can hide the developers option again in Settings–Applications–Application manager–All -settings, tap clear data.

Easy way to hide it is just toggling the "On" switch at the top.

About device > Software Info... to get to the build number


text:
Test wired headset detection via software
Since I still don't know whether my problem (call audio doesn't work without headset or speakerphone) is caused by faulty hardware or by software, I'd like to know the following:
Is there a way to tell if the headset switch in the headset jack (which tells the phone app whether a wired headset is connected or not) is working as expected?
I am looking for a solution that doesn't require disassembling the phone before knowing what is actually causing the aforementioned problem. The following idea comes to mind:
Is there a way to display/query/dump the status of the headset detection via adb? Maybe something under /dev?
Or are there other ways to tell if Android thinks a wired headphone is currently connected?
By the way, I am running Cyanogenmod version 11-20141112-SNAPSHOT if that makes any difference.
UPDATE
I noticed that stock Android seems to have a "headset icon" to indicate that a headset is connected, but apparently Cyanogenmod doesn't have this (or I accidentally disabled it somehow).

@Firelord: I edited my question. As I mentioned in my other question, I can see that inserting the headset starts the audio player. What I am after here is a more "static" way to tell the status of the switch, as inserting/removing the headset might cause switch bouncing which could trigger the start of the app but doesn't guarantee that the state is correct when the headset isn't plugged in.

Have you been thorough(sic) with /sys, especially with /sys/devices? Is there anything relevant under /proc/asound/?

@Firelord: I don't know how to extract the headphone state from those resources - that would be exactly my question. I'll look into it more, one thing I found already is dumpsys which I imagine could be useful..?


text:
What is a vCard and how to read it?
What is a vCard  and how do I read it? It popped up in a message from a friend and I don't know what it is. Please explain.

A vCard is contact information in a standardized form, accepted by most applications that deal in people or contact information. It is transportable between systems of differing operating systems, because of its defined form, generally: Name, Address, Phone Number, Notes, etc.
In Android, the standard application to read this is called either People or Contacts. If you open the application and find the activity menu about it, one of the allowed processes will probably accept the data through "Import".
If you received it attached to a message, possibly even the messaging app will allow the import to the correct place in your system. See if its activity menu allows some processing of the attachment, similarly "Import".


text:
Using ROMs made for a specific device
I have a moto x 2013 Dev edition and got the unfortunate news yesterday that Motorola will not be updating my device to marshmallow, which I understand as an older device, but the specs of this phone can easily handle android m.
I am planning on flashing cyanogenmod onto the device, however I have 2 questions relating to that.
1) if I flash the device, will I still be able to use it as a development tool? I am working on learning the android API and having a physical device that I can test things on using the adb is essential.
2) this device has not received any device specific cyanogenmod ROMs in almost a year. Is it safe to load on a generic cm 13 ROM when it is released, or will it not support the device? (I am not concerned with the loss of the Motorola apps. Half of them are being discontinued anyway)

True, 2) That's a speculative question. Ask CM for their plans of supporting the device. However, if your device hasn't received an official CM build since an year, then it is very unlikely that you would get an official build of Android Marshmallow. You may have to look for an unofficial build then. But that's all futuristic to talk about, something not useful to the site (IMO).

@firelord it seems there are a ton of ghost Roms that are still coming out for the device. (Forgive my ROM newbieness). Would this be a good alternative? And I'm guessing true means that it would still work?


text:
Checking for Updates loop after factory reset (Nexus 5)
I messed around a bit with some system apps and had to factory reset from TWRP recovery. Factory reset was successful, no errors.
Now, when I boot the phone everything seems normal, but after connecting to a wireless network, it gets stuck on the "Looking for Updates" part. I've had it on for at least an hour. I've tried to reboot too, with no luck.


text:
Recover account difficulty
Context
An acquaintance has a strange problem with her Google Account.  I'm a developer (not Android specialist) while she's just a plain user.
She forgot her Google account password, but her old tablet still has it and she can send and receive e-mail using both e-mail and gmail apps.
We tried recovery from old and new tablet.
Google offered to send an SMS to her phone (Google displayed only last 3 digits, which match), nothing received on her phone.  Same for automated voice message.
When recovering from another computer, Google asked for the complete phone number, we typed it and got a reply that it was wrong, which suggests it was changed.
The e-mail address for recovery is wrong (Google displays first 3 letters which don't match).
At this point we suspect her account was hacked by someone who changed the contact options to prevent password recovery.
We also tried the option to answer questions but she does not know exactly the last login date and creation date of the account.  We tried anyway but Google replied it didn't match.  At this point I understand that it is difficult for Google to tell if our request is legitimate or not (after all our exact behavior might be the behavior of an attacker).
Questions

(1) I'm wondering if it is possible to recover the password by digging (even through adb if needed) in the e-mail app config (Gmail add and e-mail app have the password).
(2) What else can we do?

Try this, open Gmail app - Help and feedback - change password for detailed steps.

Thanks @Lucky for this hint. On my personal device this leads to a URL opening in the browser, not an option in the app (which I would expect to request old password anyway). I'll check with the affected user since she has a different version.

I just found this, which does not work on my personal device (permission denied, not rooted).  Will try again on the affected user's device.
This gives a path: http://forum.xda-developers.com/showpost.php?s=36bdbe78a049f9e358a0421113d922c2&p=54912072&postcount=7

Browse to /data/user/0/com.android.email/databases and copy EmailProvider.db to your computer. Other phones might have their database in a different location. Download and install Sqlite Database Browser from sourceforge.net if you haven't, and then skip down to the sqlitebrowser instructions here:

This gives instructions and a different path (presumably because of different Android version): http://ubuntu42.blogspot.fr/2011/11/android-recover-mail-password.html
Summarized:

adb pull /data/data/com.android.email ~/email_of_phone
sudo apt-get install sqlitebrowser
sqlitebrowser

Why the downvote? Is the answer really not useful?


text:
Is there a way to change the cover photo in Gmail app's menu?
Gmail/G+ allows you to change the cover photo along with the profile photo. I already changed both. The profile photo will also be used in the Gmail app on most (every?) Android. But what about the cover photo? I don't want the Google default cover photo on my Gmail app.

I'm on a Samsung using Android 5.0. Gmail app is currently on 5.6.103338659.release.
Is there a way to change this?

The background image of the Gmail android app comes from the Google+ profile background. By the other hand this question belongs is off-topic here. See [help/on-topic] for further details.

My G+ background is another image. It's not working as you suggest.

Check the sync settings.

Sync is on, naturally. How else could my profile pic change?

Today, as a matter of fact, the image suddenly appeared. I did not do anything special that I hadn't tried before: Switching on and off the phone, reconnecting gmail, disabling and enabling the respective settings.
So it's obviously just a matter of time until all the picture changes take effect in the app.


text:
How to clear a Folder (e.g. Downloads) automatically on a regular/scheduled basis?
There is a folder on an Android phone that continually fills with junk.
Instead of clearing that folder manually on a regular basis, how can I setup up a way to have that folder be automatically cleared (e.g. all its contents deleted) on a regular basis (e.g. daily) to free up space?
Or is there a (free) App that does that?
It's a very simple task, but I can't seem to find a way or an App that allows one to select a specific folder (e.g. other than cache) and have it automatically clear that specific folder on a regular basis set by the user.

MacroDroid (free up to five macros) can do the job.
The macro would be:

Trigger: Day/Time Trigger → select all the days and choose the time for trigger activation
Action: File Operation → Delete → select the folder that needs to be cleared → All Files
Edit: { There is a catch here. Unless the device is rooted, only the files at the top-level would be deleted i.e. the deletion wouldn't be recursive so any sub-directory would remain untouched.
The only option I found to nuke recursively is to delete the top-level folder itself. So instead of choosing All Files select Folder. }
Constraint: none

Done!

I prefer to use Tasker (paid; 7 day free trial) though.

Profile: Time

From: choose the time for trigger
Repeat: 24 Hours
To: uncheck it

Task: File

Delete Directory: choose or enter the directory's path
Select Recurse

Alternatively, the action can be Code → Run Shell →  Command: rm -rf <DIR_PATH>/*
Replace <DIR_PATH> with the path of the directory, such as for DCIM folder under sdcard the whole command would be rm -rf /sdcard/DCIM/*

That should do the cleaning for every 24 hours.

Actually, MacroDroid did not work, unfortunately.   I just checked the folder and the contents are still there.  I had set it up as per above, it showed the macro was "activated" 4 hours ago, but the folders and files from yesterday are still in the folder that was set for deletion.  Any ideas?

In the MacroDroid, under Macros you would see your macro. Attempt to execute it manually (long-press -> Test Actions) and see whether it works or not. Just asking, is the MacroDroid activated and has its icon showing in the status bar?

What's the path of the folder?

I tested my answer again. It works, but with a condition though. The marcro had no problem in deleting all the files in a test folder /sdcard/test-g/ but when I had my macro set to delete "All Files" as action, only the files were deleted but not the folders inside it, unless it had root access. To delete everything, the only option left is to select the action "Folder" under "File operations". It will delete your selected folder for sure.

The problem is that i need the original folder to remain and only for its contents to be deleted.  I was able to find a crude workaround by doing what you described in your previous comment, and then setting up a 2nd macro that runs 1 minute after and recreates the folder again.

My phone is rooted and the MacroDroid macro does not delete recursively unless I choose Folder. Also note that this option only exists for "File Operation", not for the new "File Operation V2".

Use free and open source software to ensure better privacy. I found Easer especially good. However, it does seem to require root permissions for this specific task.

Download the F-Droid store and then install Easer.

Once you have the app, open "Settings" from the app-drawer and tick "Use root features". Then go to "Settings" > "Activated skills" and make sure that "Run commands" and "Time" are ticked.

Now go to "Data" > "Event" and add a new "Time" event, specifying the time that you would like the files to be deleted.

Go to "Data" > "Profile" and add a new "Run commands" profile. Add the following to the command: rm -rf <DIR-PATH>/*

Go to "Data" > "Script" and add a script with the profile and event which were created above.

Go to "Outline" and press "Start" from the menu.

Voila, and enjoy!

I followed abrac's instructions, but I'm confused about how I specify what folders I want cleared. Any help?

Hi Jean. Let's say that you want the Downloads folder cleared. The path to the Downloads folder is /sdcard/Downloads/. You would put that path where I specified <DIR-PATH> in step 4. Does it make sense now?


text:
Why Does My Samsung Note 4 Shut Off When it Reaches Around 20% Battery Life?
My Samsung Note 4 will work until about 20% battery life.  At that point I usually receive the low battery warning but then it just dies almost immediately after notification with hardly any continued battery drain.   This has been a progressive issue and I believe it is linked to battery health.
I've had it die at even higher battery % at about 30% but that is really rare.
I have owned my Samsung Note 4 for about a year now with the original battery as its only used battery.  I preordered it and received it on release day. The battery has gone through many cycles.  I estimate on average 1 to 2 full drains per day everyday for about a year now.  At this point I tend to just leave it plugged in while I'm near an outlet continuously now.
I charge it with and without the fast charger.  When not in bed I use the fast charger.  When I'm sleeping I use a standard basic charger.
I'm currently using an app called Battery Monitor Widget to monitor my mAh with this battery.  I also just received a second battery that I will test too.
Does anyone know what could cause my phone to die at around 20%? Is it battery health?

Battery would be my guess too, fits your description of the problem perfect. Test the second battery for a while - I think it should solve your issue.

Since no one has responded in the time it took me to do my own little experiment I wanted to post what I found.
I found that I needed a new battery.   The new battery can maintain the needed voltage down to single percentages where as, depending on what I was doing on my phone, the old battery would allow my phone to die with little to no warning like I described in the question above.
So if your phone is not draining much lower than 20-30% and dies try buying a new battery.
Also thank you benjaminS for supporting my thoughts in comments of the question.


text:
can i get back up of photos. I've lost my android phone
i've lost my phone 2 days back in which my Google account was registered however i'm not able to find those pictures & videos now in my google account. I'm not sure if i had clicked on back up photos link or not. Is there any way i can get those photos. Plz help as i've so many memories captured in that phone.

Assuming you used Google to backup your photos, any backed up content would appear on Google Photos.
In addition, try using Android Device Manager to locate your phone, if possible. Or at least lock it.

authors: ต้นตระกาล ภูนะ


text:
Usb Speaker with External Power supply? S ll
I'm using a 2x3W yenkee usb speaker with my phone through an usb otg cable and it's working fine, but when I turn the volume up the speaker turns off.I assume it's because of the high power consumption, because if I plug it into my pc it works even when i turn it all the way up. I was wondering whether an external charger would solve the problem, that way I could plug the usb into the charger and the jack into my phone.I'm not sure though if it works. Do you think it's a viable solution?

Does the speaker have it's own battery?

Yes, please try to charge the speaker while you turn the volume up and see if it still plays music. Then it means the speakers require more power which the mobile couldn't provide. And this may affect your battery in the long run.

Okay, so I tried to power it with pluging it into a common charger and I'm happy to say it worked and didn't cut out .Considering the external charger use the same method to give power it really should work. Although I haven't had the chance to try it yet but I'll definitely grab one so i could max out my speakers volume anywhere I am.
Adam


text:
TWRP boot loop in Samsung Galaxy S3 mini (i8190L)
Issue
TWRP start and still looping.
After tried to encrypt my device (Samsung Galaxy S3 Mini - i8190L) from Settings menu in Cyanogenmod rom. It started to encrypt but in some point it stop and said that encrypt end unexpected and data cannot be accesible anymore until I reset device (factory settings), after that TWRP did not start as is expected, it still restarting in a loop.
I do not know what else say, if you need more details, please ask me!
Tests
After this error, I have tried:

Reflashing the same Cyanogenmod rom.
Reflashing TWRP recovery img.
Flashing CWM recovery img.

I had the same problem. I solved it by flashing PARAM image. It seems that encryption is not supported yet in our software version. Encrypting the device corrupts the PARAM partition.
I used Heimdall to do it and downloaded the PARAM file here.
I hope it helps you.

authors: พรพงศ์ ธรรมวิหารคุณ