text:
Using same google account on multiple devices
So I have a digital signage application installed on my android tv devices, which I install at various offline stores, which show ads at their stores (remotely configured by me) with my apk (preinstalled from play store). Now this will be across many stores, and I would be using the same gmail account to sign in to play store on those devices. This causes a popup on other devices showing did you login on another device? How to prevent this and solve this problem which I am facing? I doubt even G-Suite allows this.

Disable Device Information after logging into your My activity and see if it fixes


text:
Reality check – Has ES file explorer abandoned its pro version?
Has anybody else wondered if ES Global decided to make money with their Explorer app by abandoning the pro version altogether and milking the free version?
I have used ES file explorer for a long time. I've been having more and more problems with the pro version with regards to cloud networking, which is one of the features that I use most. Sometimes it grants me access to all Google Drives, other times not at all, and most frequently only to some drives.
I decided this morning to try their free version. Their free version  not only worked extremely well with Google Drive, the connection is much faster than the pro version. In contrast, they have apparently spent a lot of effort updating the crapware. Today it felt like trapware. I was asked to install other apps in order to access features. So I did, to test this, and immediately uninstalled them. I still had access to the features but I feel like I need to take a long hot shower.
Have other people seen this? Is this a new moneymaking  twist – offering a pro version without ads and updates while milking the free version? Or am I missing something?

I tried ES explorer for a short while. IMO any app that pushes crapware like that one is considered malware, add to the fact that I analysed the network traffic and it seems like they are routing all traffic through an unknown VPN. Totally not my cup of tea. Not going to suggest anything, but FX explorer fits all my needs now. I even paid for their pro version.

Thanks for the comment user218076. Absolutely no argument about the ES crapware. That's why I bought their pro version, which resolved that. Have you run into any apps that abandoned their pro version? FX may be a good app, but what if they abandon their pro version?  More importantly, how did you figure out they run things through a VPN? Thanks.

ES Explorer used to be the de facto standard file explorer, then it caved to crapware money and lost 80% of it's users... It realized it's mistake but it was too late. Today, and for probably 2 years, it's just been a shell living on it's old reputation and now it's just dying. I will also be flagging this as off-topic as primarily opinion based.

Yes I do have opinions about this. But if what I wanted to do is trash the software developer I be asking the question somewhere else. Is what I see correct -- they're ditching the pro version that I paid for? I've never heard of that kind of behavior before and  I'd like to verify that or explain it before I start posting negative reviews. And if they are sending my data out through a VPN I would like to know how to verify that, not  just accept it because someone here said it.

@IndirectPointer I haven't noticed yet another app that does this. FX Pro is not to remove ads it is to add some features. The free version has no ads whats so ever. I had a host blocker to block some sites, and ES's built in browser was still able to access them. Seems to be they are routing through proxy or vpn. Just checked with a Network Firewall app (AFWall+) with a log. Within a few minutes, the log list 100's of attempts to connect to a couple of different IP addresses. Also in settings, it by default opted me in to a "Customer Improvement Program"

I can't verify what user218076 said about ES file explorer mischief. I would not be surprised if that is true. In case someone else is unhappy with ES and is looking for a reputable alternative, similar in feel and scope. I am moving to the XDA OSS file Explorer, MiXplorer.  https://labs.xda-developers.com/store/app/com.mixplorer. So far so good. P.S. I found the facilitator of this group to be high-handed, and hypocritical in calling the dialogue only opinion when his comment was merely that.

source: Stack Exchange

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

sort: votes


text:
How to disable Google Map's direction indicator?
Where the indicator wouldn't be accurate, having it is just noise; Is there a way to stop it from showing?

The indicator:

Normally one would recalibrate the compass like: How can I calibrate the compass on my phone?

@MorrisonChang, Problems with some locations.

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


text:
Why there's no proxy support in Android browsers?
Android supports both Chromium-based and Firefox-based browsers since long now.
While those browsers have full support for HTTP/SOCKS proxies under all other OSes (Linux, OSX and even Windows), they are lacking it completely under Android. There's no setting at all to configure one.
I can easily configure a SOCKSv5 proxy on my Android device with, say, ssh -D to be used over whatever connections I have (wifi, ethernet, mobile data...), but I cannot use it with my browsers.
There's some system-wide support when you configure wifi, but that's not what I talk about. I mean the good ol' application-level proxy support. I don't want to send all traffic through a proxy, but just that for a specific browser on demand.
For the curious, I am asking this because I need and can compare results on my landline Internet link, but I cannot do the same on my mobile one.
Please, forget about VPNs which are also system-wide solutions like wifi proxies. I need to configure a proxy on a per-browser basis, just like I can do on a PC, and not a VPN.
So, why this lack?

Firefox has some proxy settings in about:config on Android, but they never worked properly for me. You can try them.

VPN isn't necessarily a system-wide solution. You can select even a single app using UID-based filtering.

The question here hasn't been answered, WHY?  Google doesn't want it to be possible to proxy traffic from the browser?  I'm currently located in Russia, which invaded Ukraine a week ago - this night BBC got blocked, and that's probably just the beginning.  Proxying web traffic to certain sites, both from laptop and mobile is really important.

There's no apparent "technical" reason for that lack. I suspect it'd be something related to the "Android Program Policy" (or whatever else it's called).
In my opinion it looks like an intentional choice as the system-level proxy you can normally configure could be leaking information for some reason or bug.
Anyway, we can configure the SOCKSv5 proxy for Firefox for Android prior to version 68.11, but there seems to be no way to do the same for Chrome/Chromium.
Provided that you already established such a proxy, for example with a suitable SSH client (-D option).

In Firefox address bar type: about:config. A page full of settings will pop up.

In the search box type network.proxy to reduce the settings to those we are interested in.

For a SOCKv5 proxy you can set:

network.proxy.socks to the proxy IP address

network.proxy.socks_port to the proxy TCP port

network.proxy.type to 1 for manual proxy configuration

(optional) network.proxy.no_proxies_on to address that need not to be proxied (or clean it up to reach remote loopback addresses)

For a "regular" HTTP proxy, any other proxy type or even any other setting that's not available in the setting menu, please refer to the above settings page and to the official online documentation.

N.B. Starting with v68.11 Firefox for Android doesn't provide anymore access to settings via the about:config pseudo-page, even if it's listed in about:about pseudo-page. This is not mentioned within the release notes and means that there's no way anymore to use a proxy within a browser.
However Firefox Nightly releases still allow users to access about:config, you can install theses builds to use a proxy.

For now you can use Bromite. Bromite is a Chromium fork with ad blocking and privacy enhancements

Is Bromite still maintained at all? There have been no commits in their source repo since January.

Please @afnan add directions and/or details.

There is actually a plugin to Firefox on Android called Foxyproxy  https://addons.mozilla.org/en-US/android/addon/foxyproxy-standard/ that handles the proxy settings for Firefox

No longer available.

Well @EnzoR, I'm running it... I downloaded it

..I've contacted the author, and he's investigating why the plugin isn't available, because according to him, it still should be..

Nonetheless there is no plugin available (any more?) and thus no solution or workaround.


text:
Where does Google Tasks tasks arrived from?
I recently installed Google Tasks and was surprised to find tasks and lists over there. I haven't used Google Tasks on the web (or from gmail) either.
Those were old tasks/notes taken around 3-6 years ago.
I checked my Google keep, Google reminders/assistant and Gmail (which are the platforms I use and used for reminders/notes/lists) and haven't found any origin for them.(I rarely delete, I always archive, so if it existed in one of them it should've been found).
Where did they arrived from?
By beeshyams' advice is I searched in my Google activity for phrases and tasks I had in the list, but I only found them in the search history, and not in any kind of task/list/note app.
Examples:

Log into your Google account >[my activity](https://myactivity.google.com/my activity) and check. They should be available there. If you want to disable, go to activity controls from hamburger menu and do that.

Correct link - My activity

@beeshyams Thanks for the idea! Unfortunately it didn't yield a thing (updated the question)

+1. Hope you get an answer

AFAIR Google Mail has (or had?) the feature to automatically extract infos on tasks and appointments from your mails. May be the tasks were created automatically while you were using GMail?

It's sounds weird, and I really don't recall creating a task on Gmail. Specifically, those two terms were part of a list - so for sure it wasn't just a task

Google tasks has been since long, but only in Gmail. Here is a 2009 article explaining it.
I guess it came around the same time probably. There wasn't a separate app for it back then. It was just a chat-type window popup in the bottom of your gmail screen. Check the old Gmail, the tasks' list comes from the drop down in the top left (circled red)

I haven't used it, at least not regularly in a way that can explain the amount of tasks and lists I had. Some of them were created from mobile for sure.


text:
How to select the 3G
I am using Moto E with Lollipop 5.1 And I am having this trouble that whenever I am using 3G service, it automatically switches to 2G and i can't able to select 3G (3G selection is not available/showing). How to select the 3G.

Please check whether  there is any  option for 3G only? And set it.

Go to Settings>Mobile Network>Network Mode there will be three modes for you GSM only, WCDM only and both. Just select WCDM only option and then you can use 3G.


text:
Setting Dynamic IP Address from command line
I am working with android, I have connected a ethernet cable to ethernet port of my hardware.
I am not getting any network. I am using Android O.
In linux I can use dhclient eth0 (for getting IP addresses  dynamically)
Please help me with the command I need to use in android, as dhclient is not available in my setup.
Thank you.

You may need BusyBox and root access to proceed.
You can see all built-in Unix-like commands by running toybox.

Can you elaborate with example as how to use it? Busybox tools are known for being stripped off with many functionalities and options from there full blown counterpart.

Please restrict your answer to Android


text:
Android x86 Stuck at A N D R O I D x86_64:/
I downloaded Android x86 7.1 from Android x86 Project website. I have made a Virtual Machine for it in the VMware Player. It's stuck at

VMware settings are as follows:
 1 Core,
 2048 RAM,
 20GB IDE Virtual Drive.

PC Specs:
Intel Core i5-2400
4GB of DDR3 RAM
250GB HDD // if that helps :P

Here is how I fixed the problem: How to start GUI from command line in Android-x86.
Other answers may help also.

Android 6.0 x86_64 bit boot stuck at root@x86_64:/ on Windows Hyper-V

If you want to run Android without installation:
From the grub menu after booting the installation media, choose advanced options then:
"Live CD VESA mode - no GPU hardware acceleration"
and if you already installed android and you want to boot it, in the grub menu press 'e' to edit the boot command, press 'e' again to edit the first command which starts with "kernel".
 Append this:
 nomodeset

to the and of the command and press Enter to save, finally press 'b' to boot from the modified command and it will boot up successfully.
I tried this with CM 14.1 and Android 7.1 images and it works after I had the same problem with VMWare Workstation 14.


text:
How to check if somebody had done a data recovery on my phone?
So I recently lent my phone to my father. He broke its display and took it to a service center for repairs, all unbeknownst to me. I am kinda freaking out now because, only a few months ago, I had various nude photos of me and my girlfriend saved on its internal memory. Even though I deleted them before handing it over to my father, I am pretty sure they can be recovered using appropriate software. Is there anyway to check if such an attempt was made?
Model : Samsung Galaxy J1(2016) (pre-knox firmware)
Status : "unrooted" (checked immediately on deliver from the service center)

You're probably okay. If it was a few months ago, chances are the data has been overwritten by other files. If you're really worried about it, try DiskDigger. It needs root access for the best scan, but a basic one can be performed without.

I tried the basic scan. And I was able to recover photos that were deleted more than an year ago. I am even more nervous now.

Is there anyway to check if such an attempt was made?

No, there is no way to know if an attempt was made.
But to be honest, the chances this would occur are extremely low. Are you concerned your father may have requested they look for previously deleted files, then possibly it was done, but otherwise a shop is not going to waste it's time looking for random files, much less deleted ones, on random phones because there's more important things to do and if you ever got caught, regardless of what you found, you business is done.


text:
How do I consistently receive notifications from one app, and no others?
This basic question has become increasingly difficult over the past two years.
I have a Samsung with Android 8.0. Amazing, I cannot rely on Calendar to make a tone before an event, and this state of affairs has existed for two phones (S7, S8). The layers of control I see:

Under "Notifications" in Settings everything is off but Calendar.
There is a do not disturb function which has a toggle to allow calendar
events at all times. That is on.
"Easy Mute" a samsung feature, is off.
In Accessibility "mute all sounds" is off.
I make sure calendar events have a notification, as is the default.

However, the notifications still intermittently fail to make a sound, although popups seem to always happen. They are especially likely to fail in the morning. There is a separate "notifications" volume, affected by some of the previous, but not others, which often (but not always) shows off when the issue occurs. The same problem has followed me through two phones (s7, s8). I have reset my entire phone in an attempt to get this working, but the issue remains. I have changed Google accounts in an attempt. No luck.
So, how can I consistently get my calendar audio notifications?

I had what seems like this problem in reverse i.e. I was getting notifications from too many apps. After searching for any and every possibility I could think of, it finally turned out to be with Google and Facebook settings for my problem.
If it has been 2 years and no joy, you have most likely tried all the suggested places to look below but if not I hope one of them helps lead you to the answer.
Regarding Calendar notifications with Google here is a link to the page on Google Calendar Help that might help: https://support.google.com/calendar/answer/37242?co=GENIE.Platform%3DAndroid&hl=en
This will take to a YouTube video for the Galaxy S7 on the Android side but not specific to the Calendar: https://youtu.be/Z0ZeJdRPTWk
Here is another link to a short article on changing notification sounds to help isolate it: https://www.greenbot.com/article/2688096/how-to-change-notification-sounds-on-your-android-phone.html
Third party apps such as "Greenify" that hibernate apps you have specified when the screen goes off would also keep notifications from getting through. Here are a few more links.
S7 Notification Reminder: https://youtu.be/tiEwnht-JWg
S8 Calendar Notification: https://youtu.be/hETYdfgK45Y
This worked for several users: Go to settings, applications, application manager, then message. If notifications is set to block. Unblock it.
Lastly the best resource I have found for Android phones is at XDA-Developers: https://www.xda-developers.com/ It is definitely worth searching the site for your exact model of phone.
This is where I learned how to root Android phones. I found that the number of variations in the same phone is mind boggling. The exact model number & where a specific model of phone was made could mean the difference between groups of people having the same problem while others do not.


text:
Will new Play Store minsdk restrictions prevent my phone from accessing new apps?
I was reading an article that states by Nov. 2018, all new apps and new updates for apps on the play store will need to target minsdk level 26, which corresponds to Android 8.0.
Does this mean that my Android 7.0 device will not be able to download and install
new and updated apps on the play store after Nov 2018?

No, that requirement is the target SDK level not the minimum.

Target API level is different from minimum API level. As the name implies, minimum API level is used to declare the lowest version of Android an app supports. The target API level is technically defined as the version of the operating system an app was tested to work with; but in more practical terms, it's used to define a set of behaviors an app expects from the operating system. For example, an app can target API 26 (Android 8.1) while having a minimum API of 14 (Android 4.0).

Source


text:
Erasing boot failed,device may be locked
I am flashing fastboot ROM in my mi A1 using mi flash tools but at the time of flashing it is showing the error:erasing boot failed device may be locked and I am not able to flash the ROM.Why is this happening?

This may be happening because the bootloader is locked. This prevents writing/modifying data in sensitive areas such as boot partition. Unlock it first

If i unlock the bootloader manually then it shows some 'corruption' error and phone keeps on rebooting unless I lock it back.

What do you mean? Is it possible to show us the error message


text:
Recent bluetooth signal strength drop
I used to walk out of my apartment, walk down three floors and across the parking lot before my Bluetooth signal disconnected. Now I have to hold the phone at chest level or sound starts to stutter if I lower phone to waist level.
It's not the headphones because my Sony speaker brick also lost range.
This started about a month ago and I wonder if it was because I installed the SMS Pro Messenger app? Or are they like Apple and wrote a routine to lower signal strength after you owned the phone for two years?
How does one go about analyzing if it's hardware signal strength problem or firmware related? I'm not adverse to resetting factory settings but don't want to reinstall everything if there is no chance of improving situation.

Phone: Alcatel OneTouch Idol 3 5.5".
Model Number: 6045I
OS: Android 6.0.1
Android Security Patch Level: November 1, 2016
Kernel: 3.10-49-ga7fff7c
Build Number: 7VGE-UDE1

Apartment buildings pose particular problems for signal consistency. New tenants, maybe? Some things configured differently? I wouldn't look for the "Apple reduced capability" conspiracy theory first.

@wbogacz It's not just in the apartment building it's everywhere outside, different places, traveling. I'm hoping to find a function that displays all apps that are hooked into the bluetooth services. Then remove those apps one by one to see if performance is restored.


text:
Switch Live Wallpapers Automatically without Root
I am wondering whether there is any way to switch between like wallpapers on my Pixel 2 without rooting it as it is a Verizon phone with a locked bootloader. I have 2 live wallpapers I like and would like for then to automatically switch... I've tried using Tasker and Automate, but both require root. If there is any way please let me know. Thank you!

You can try smart wallpaper from playstore
I've tried on static wallpaper
But it's worth a try on live wallpaper

Welcome to Android Enthusiasts! This post does not contain enough information to be considered an answer. How did it solve the issue? Where to find it? What are the steps to perform?


text:
Missing language on physical keyboard options
Mongolian language doesn't exist in the physical keyboard section. Is there any way to install an additional language on an Android tablet?

tried gboard, swiftkey. and tried to contact google. Found no way

Install following Extra Keyboard Layout from Play Store
It includes among many, Mongolian Keyboard Layout for Physical Keyboard use ctrl+space to switch (not shift + space this only changes layout for on screen keyboard)


text:
Problems installing Lineage OS 14.1 on Lenovo P2 (black screen/blue LED)
I have a Lenovo P2 (42a) with Android 6, which I tried switching to Lineage 14.1, as my carrier hasn't provided any security/OS updates since 2016. I have previously done this with my old Motorola Moto G from Android 5.
I took a backup with adb (under linux mint), using the -system and -all options.
I unlocked the bootloader.
I flashed/booted TWRP 3.2.1.0 for this phone ("kuntao").
I transferred zip files. At one point the phone switched off while transferring with TWRP having mounted the "Internal Storage" partition, but it appears I got all things over on second attempt. It seems that sometimes TWRP gets stuck if the screen switches off while it is doing something, but the timeout can be increased if that is really the case.
I flashed the Lineage OS 14.1 file for the P2 ("kuntao").
I tried flashing the stock GApps zip, it let me know this was the version for 14.0 and I needed a different GApps file.
I then started over, flashing the Lineage OS 14.1 file and the GApps zip for 14.1 (Android 7.1).
This would stop in various places, at least 3 different ones.
I then started over with the Lineage OS 14.1 file and the micro GApps zip for 14.1.
This completed, but when booting I get a black screen, a single long vibration and a continuously blue LED.
The phone cannot switch off, only restart into bootloader or recovery, which at least isn't the worst news.
My adb backup does not restore - if I try this under TWRP, it seems to react to it, but get stuck, although with the screen on. When the command line process finishes, the result is the same as above.
Only issue I know of is that the provider can have added a few features, so that the flashing of the 14.1 file doesn't work exactly as intended. That would mean I need a complete image for Lineage OS or an image to restore to the "standard" Lenovo P2 state, as indicated here and here.
Any good ideas/procedures? Thank you.

OK, fixed - in the end I did this:
Tried "flashback" to stock android 6 with this zip file.
That didn't just work, so I tried with the automated script "flashall" in the zip.
That failed for the partition/image prov/prov32.mbn with the error message:
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)
I then went into the
PRODUCT_CONFIGURATION_KUNTAO_ROW.xml file and looked at the command list.
I then executed all remaining steps except the ones to delete partitions, for instance
<KUNTAO_ROW_IFLASH>
...
<step operation="flash" filename="prov32.mbn" partition="prov"/>
(first failure in script)

<step operation="flash" filename="sbl1.mbn" partition="sbl1"/>

became

fastboot flash sbl1 sbl1.mbn (failed with same error)

<step operation="flash" filename="sbl1.mbn" partition="sbl1bak"/>

became

fastboot flash sbl1bak sbl1.mbn (worked)

and so on all the way through, but skipping the instructions to erase (although I would have done it if the phone didn't start up). It did and I now have ROW (Rest Of World or normal) firmware rather than a carrier-specific version blocking OTA updates due to compatibility with one of their own apps.
I could then pick up a series of normal OTA updates from Lenovo, including Android 7, so I now don't need Lineage OS to get an upgrade for this device (at least not before they do an official Android 8 ROM for it :) ).
<step operation="flash" filename="rpm.mbn" partition="rpm"/> - didn't work
<step operation="flash" filename="rpm.mbn" partition="rpmbak"/>
<step operation="flash" filename="devcfg.mbn" partition="devcfg"/> - didn't work
<step operation="flash" filename="devcfg.mbn" partition="devcfgbak"/>
<step operation="flash" filename="lksecapp.mbn" partition="lksecapp"/>
<step operation="flash" filename="lksecapp.mbn" partition="lksecappbak"/>
<step operation="flash" filename="tz.mbn" partition="tz"/> - didn't work
<step operation="flash" filename="tz.mbn" partition="tzbak"/>
<step operation="flash" filename="keymaster.mbn" partition="keymaster"/> - didn't work
<step operation="flash" filename="cmnlib.mbn" partition="cmnlib"/> - didn't work
<step operation="flash" filename="cmnlib.mbn" partition="cmnlibbak"/>
<step operation="flash" filename="cmnlib64.mbn" partition="cmnlib64"/> - didn't work
<step operation="flash" filename="cmnlib64.mbn" partition="cmnlib64bak"/>
<step operation="flash" filename="emmc_appsboot.mbn" partition="aboot"/> - didn't work
<step operation="flash" filename="emmc_appsboot.mbn" partition="abootbak"/>
<step operation="flash" filename="logo.bin" partition="logo"/>
<step operation="flash" filename="NON-HLOS.bin" partition="modem"/> - didn't work
<step operation="flash" filename="fsg.mbn" partition="fsg"/>
<step operation="erase" partition="modemst1"/> - skipped
<step operation="erase" partition="modemst2"/> - skipped
<step operation="flash" filename="adspso.bin" partition="dsp"/>
<step operation="flash" filename="boot.img" partition="boot"/>
<step operation="flash" filename="recovery.img" partition="recovery"/>
<step operation="flash" filename="systemchunk0.img" partition="system"/>
<step operation="flash" filename="systemchunk1.img" partition="system"/>
<step operation="flash" filename="systemchunk2.img" partition="system"/>
<step operation="flash" filename="systemchunk3.img" partition="system"/>
<step operation="flash" filename="systemchunk4.img" partition="system"/>
<step operation="flash" filename="systemchunk5.img" partition="system"/>
<step operation="flash" filename="systemchunk6.img" partition="system"/>
<step operation="flash" filename="systemchunk7.img" partition="system"/>
<step operation="flash" filename="systemchunk8.img" partition="system"/>
<step operation="flash" filename="systemchunk9.img" partition="system"/>
<step operation="flash" filename="systemchunk10.img" partition="system"/>
<step operation="flash" filename="systemchunk11.img" partition="system"/>
<step operation="flash" filename="systemchunk12.img" partition="system"/>
<step operation="flash" filename="cache.img" partition="cache"/>
<step operation="erase" partition="userdata"/> - skipped
<step var="config bootmode factory" operation="oem"/> - skipped

EDIT: On the plus side, I just got the newly released Lineage 15.1 ROM to work for this phone.

i am getting the same error but not getting how to fix it. black screen with blue led. Please help me. I didnt understand your fix for the error you have posted.

Lenovo P2 and which starting and ending Android/Lineage version, please? I dare only give advice if it is the same case as there is a risk of damaging the phone firmware.


text:
Cant download any other app
My ocean t1 can't install any app except Facebook and whatsapp.
It says i have insufficient memory every time i try to install another app yet it has RAM of 1.1GB and ROM 8GB
I wonder why?

Welcome to Android Enthusiasts! Have you already checked with our insufficient-memory tag-wiki?

If it's about installing, then ram got nothing to do with it. If it was about opening after installing, then yes, ram could be a problem. You mentioned that you had 8 GB of space, which I could see be the problem. 8 GB space is just not enough today. Even 16 gb struggles to barely install some apps after the OS has been installed.


text:
How to fix "Google couldn't verify this account belongs to you"?
O.P.
I switched phones and I cannot login to my account on the new phone. It keeps on giving me the message above.
Weird thing is that I'm still login in my Samsung tabtet. I was able to get some code to verify my identity but I was never asked for this. I was never asked to verify using my phone or Google authenticator either.
The best I got from the AWESOME Google customer service is that they'll get back to me in 3-5 days.
Any ideas on what else to do?


text:
before I factory reset my galany j3
my daughter has locked herself out of her phone. so before I factory reset her galaxy j3 luna. she's is hoping there's a way I could hook up the phone to a cpu and save her pics & other files?

Welcome to Android Enthusiasts! As you already found the locked-out tag: did you take a look at its tag wiki? As this is a somehow freequent question, we've set up some first aid there.

If the phone is locked and you are not able to open it in any other way, (check the lockscreen, sometimes email is an option), then the device content is gone.
You could try this though:

Take a look into Google photos, sometimes they are backed up there, just search Google photos on your PC.
They could be in Google drive too.

I did try this method. and yes she was able to recovery some. but since she surpassed allowed data, there are many she is still missing. but that where saved to internal memory.

I don't know any other method. Unless you know how to bypass your daughter's cofe.

I don't but appreciate your help. thank you.


text:
I am getting an unknown file transfer error (Flashing TWRP)
I am trying to flash twrp onto my unlocked Moto G4 Play so I can install a new version of Android but, I keep on getting this error. I have recently factory reset my phone and I am not sure if it is related.
C:\adb>fastboot flash recovery twrp.img
target reported max download size of 268435456 bytes
sending 'recovery' (8296 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.013s

Any suggestions?

Try different usb ports. Try different usb cables. Update fastboot.exe. re-download another .img file and verify the md5.

I don't know if this is related but, it may be the .img. Whenever I right-click the file, my computer freezes, and the file explorer crashes. I cannot rename it.

If you suspect the .img file then delete it. Next go download a new .img file and verify the md5 that its good.

I've even downloaded an older version, same thing. I'll check if the MD5 is good.

Ok, the MD5 is good. Anything else?

I got a newer cord and it now works. I also disabled some services on my Win10 PC and that seemed to help

The FAILED (data transfer failure (Unknown error)) error can happen for a few reason. It happens when there is issues with communication transferring data. To trouble shoot the cause start by:

Trying different usb ports
Trying different usb cables
Update fastboot.exe
Download another .img file and verify the md5.
Double check the Bootloader is unlock

Regarding only the quality of USB cables, the QooPow qualMeter (http://www.qoopow.com/) allows you to check which of your USB (and Ethernet) cables are the best.
It might looks pricey, but it may save you lots of trial-and-error time and stress, especially if you routinely encounter cable quality-related issues.

If you're running it from a computer with a AMD chipset, that might be your problem. I am having the same issues when I am trying to use fastboot or literally anything close to a android tool on my ryzen 5 5200 processor and it won't work. as soon as I tried using said tools on mac or a intel chipset, they work. smh


text:
Why in Google Play 10.3.12 I have old layout?
I have Google Play 10.3.12-all [0] [PR] 198814133 on Xiaomi Redmi Note 4 (with MIUI 9.5) and earlier I had the new layout of Store, but now I see that the old one came back.
Is this related to uncertified/rooted device?
I searched internet but I didn't find any answers.

Have you tried reinstalling Google play services?
https://www.google.dk/amp/s/www.androidpit.com/install-google-play-services-apk%3famp=true
Although I would like to point out that sometimes Google play store indeed does change some functions. Sometimes I see the downloads as text, sometimes I see it as an icon.

I reinstalled Google Play Services and Google Play Store, but nothing changed.

Google is very fond of doing server-side switches and a slow rollout to measure the reactions of people to redesigns. It does not have anything to do with being rooted or having your bootloader unlocked.
I'm thinking that it's just based on probability - between ROM flashes on my devices, one of them will occasionally get the new Play Store UI. Don't sweat it.
If you liked the new layout, there's nothing you can do to get it back except to wait for the inevitable wider rollout.


text:
I cannot backup the data between PC and ES file in bluestacks, windows folder shows question mark , not sure what that is

I can go to the sharefolder on my PC, but not in the ESfile of bluestacks

I finally found the solution on another site.  In Bluestacks under My Apps click on Settings, then Storage then Explore and from there you can access all the folders.

Check whether the actual shared folder exists on Windows.  Either this folder is missing or corrupted, recreating the folder may solve this issue.

Navigate to this path: (Drive):\ProgramData\BlueStacks\Engine\UserData\SharedFolder (Enable "view hidden files" in folder options).
This shared folder normally has following files Data.vdi and SDcard.vdi (and another folder which typically appears on android device as the shared folder)
IF you have the above files only, then simply create another folder, which will be the shared folder - give it any name.
When done use the file explorer and navigate to /storage/sdcard/bstsharedfolder/BstSharedFolder (its automatically created) open this folder and you will see the new sharedfolder that you created earlier.

i don't have these files under windows folder :   Data.vdi and SDcard.vdi

Shared folders between Windows 10 and Bluestacks 3N
BLUESTACKS :
/storage/sdcard/windows/BstSharedFolder/
WINDOWS 10 :
C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder
To look for files in windows, use Voidtools Everything. I use it for years and there's nothing that comes close to its efficiency. Even with terabytes of small files.
Cheers.


text:
LG Aristo 2 and Xbox 360 Controller with USB OTG
I'd like to connect my phone (LG Aristo 2) to an Xbox 360 controller. It is wired, and I've connected it to my phone via USB OTG. It doesn't function currently; no button presses make any action. Is there a way to get this controller working with this phone via USB?

Could this be of any help? I suppose connecting it to an Xbox controller would work if you can use any other controller.
Does the LG Aristo work with gamepads, if so how can I connect it too the ípega?


text:
How to encrypt SD card on Nokia 6.1?
Is there any way to encrypt the SD card on Nokia 6.1?
I didn't find any option to do it.
(The current Android version is Android One 8.1.0)
Product page: Nokia 6.1

There is no way of doing it with native settings. Alternatives below :

From Android 6.0 onwards we have adoptable-storage wherein the entire memory (phone + ext SD) is treated as one memory unit and is encrypted. It is highly recommended to read the tag wiki
and understand pros and cons before doing this (IMHO, it's a rotten idea but that's me)
Browse through the tools available for file / folder / media encryption from Izzy's app repository and pick your choice


text:
Recover Notes data after factory reset?
I have an OnePlus One phone that was then on an old version of Cyanogenmod I factory reset by accident a few years ago. I used the OS notes app back then (it wasn't backed up) and I would like to recover them.
When looking at the files on the phone from USB on my Macbook pro a while back, I noticed there was a folder called O which has seemingly a whole new OS file tree.
I used the phone after the factory reset and after a while when I ran out of disk space quickly (it has 64gb) and on using the space calculator in settings I found out 22gb was being used Misc! I am assuming this is the old OS and so wonder if the notes can be recovered. Looking through the files on my Macbook file explorer on the phone I have not been able to find the notes data files. I Googled a while back and I think the notes are stored in XML.
Is it possible to recover these?

Coolmuster Lab.Fone for Android can help you recover notes data after factory reset from Oneplus phone. You just need to make sure the notes data not being overwritten by new data.


text:
Samsung note 3 forgot password
How do I open my phone when I forgot my password it keeps saying you going to have to fully reboot the whole phone after so many tries I forgot the password and need help I don't want to wipe my phone

I'm afraid there may not be any easy way to get your phone back without losing data. After all, that's the point of password-protecting it.
However, you might be able to mitigate the damage (= retrieve some data before wipe) by doing the following :
1- If you had activated USB debugging in the Developers options prior to forgetting your password, you can connect your phone to a computer with a USB cable and access your internal storage using the Android Debug Bridge (https://en.wikipedia.org/wiki/Android_software_development#ADB). More precisely, the adb pull command would be helpful.
2- If you had installed an alternative recovery, such as Team Win Recovey Projet/TWRP (http://twrp.me/), you can boot to the recovery by holding the "volume up" + "home" + "power" buttons at the same time while the phone is off, the release the power button while still holding the other two.
From the recovery, you can make a backup of your data. Doing so will allow you to try other, more advanced recovery procedures withou fear of losing your data.
Please note that :

Wiping your data may not delete your internal storage, so those above
options may not be needed at all.
Both those options require that you took some actions before losing your password.


text:
WhatsApp still shows deleted contacts

I got my new Android phone.
I added my personal GMail account to the Gmail app which synced my ~100 personal contacts from Google.
I installed WhatsApp.
I installed Outlook for Android.
I added my work mail account and did not uncheck "sync contacts" before first sync.
Only after I saw the ~100k work contacts in my phone I disabled "sync contacts" for my work email and as far as I see, all work contacts were correctly removed from the Android contact list.
However, in WhatsApp some of them (presumably those with a mobile number and WhatsApp) are still visible.
I tried the "Refresh list" option in WhatsApp, but they are still visible.
Also, there are no chats with these "contacts", since the contacts only got onto my phone by accident and they don't have my mobile number.
It seems I am not the only one.

Why are they still visible in WhatsApp and how can I get rid of them?

Even I had the same problem. I removed all the contacts from my phone address book but it would still show in my Whatsapp. Finally I figured it, though the phone address too does not show the contacts, if auto sync is on, it will still show. In my Phone, I went to Phonebook → Open Account settings → and turned off Auto Sync. That worked. Hope it helps.

I had the same problem.  A deleted Android contact showing in WhatsApp (and in Signal too!), WhatsApp refresh method not working, etc.
After digging around a bit, the solution was to uninstall Signal. That got rid of WhatsApp contact too.  Now I have to reinstall Signal...

Thanks!! Signal was indeed the root cause for those shadow contacts on my WhatsApp. This had been bugging me for months.


text:
Google Find Device Remote Location Turning
Now, if I want to find my Lenovo Vibe P1 Turbo that runs on Marshmallow 6.0.1 and if the GPS is turned off on that phone
Can I remotely turn on the location on from my PC so I can find that phone ?

Maybe, and yes. // The question-and-answer format of this site works best if you put each question in a separate question post. Please [edit] your post down to one question, and create new posts to ask any further questions. You'll get better answers that way. Best would be to move the second part to our sister site Software Recommendations (read behind the link for what's important there). For the remaining part: Have you any device-finder software installed?

@Izzy only Google Find Device

Then I'm afraid there's no chance. That one only works if location is already turned on. Others accept "commands" e.g. via SMS to toggle things. // I don't put this as answer as just because I don't know such thing exists doesn't mean there is, I might have missed it. But chances are rather small.

@Izzy IOS wins again...

No idea what you're talking about. Especially with "again" ;)

@Izzy you can remotely turn on location for iPhones according to my searches

@Izzy also by again, this is one of the rare parts where iPhone is superior

Never got the chance to test that. But we're off-topic now. So hopefully someone comes up with the solution I've missed: good luck!


text:
AdMob ads in screenshots for Google Play
I am developing an application that has some ads using AdMob. What is the recommendation for screenshots when preparing for the Google Play publishment? Should all the ads be removed before taking the screenshots?
And, maybe this is a programming question for regular stackoverflow, is there an easy way to just remove all of them before running the app in the emulator and taking the screenshots?

I recommend adding placeholders for the ads (a rectangular box with the text 'AdMob ad goes here').  I've seen quite a few other developers do this.  It lets the user know there will be ads, and where the ads will be placed in the user interface.
If you remove the ads, and then the user gets your app and it shows ads, expect negative reviews.  By disclosing ahead of time that your app has ads, you stand a better chance of not having as many negative reviews for having ads.

Great answer, I did not know that was a way of doing it but it makes sense. Thanks!


text:
Can Google Find device triangulate location of my phone by cell tower signal?
I know it wouldn't be precise but can I find my [Not] lost Android 6.0.1 Lenovo P1a41 Turbo by Cell tower signals using Google Find Device ?
If not, can any other app do that ?

They don't actually use cell towers but they do. Every android has implemented feature to locate phone, of Google  services are installed. Howeverou lost phone location must be turned on on device (maybe on newer versions it doesn't need to be) if no then bye bye, also it could help if phone is on WiFi but if phone is not locked from factory reset, then someone just wipes phone and only way to trace it is IMEI and police can do that but in most cases they don't bother.

@ЈеднорукиКрстивоје it's nice to have connections from the police especially when your grandpa was Chief Of The Police !

Well that's sad in one hand, using police for your own needs. But whatever.

authors: Једноруки Крстивоје


text:
Should Factory Reset return the phone to the original version Android installed on it?
I tried factory resetting a Samsung Galaxy S6.  To my surprise, it left Android 7.0 on it, and didn't reset it to Android 5, which is what was originally installed from the factory.
Is this normal?  Is there a way to make factory reset force the phone to return to the original factory ROM?
UPDATE
For those curious as to why I would want to return to the original factory ROM, it's because when I take photos (even after a Factory Reset), I sometimes get a "Server Error".  I'm thinking that perhaps a bad ROM update is causing this issue, as I've already had the camera replaced by Samsung.
So I was interested in returning to the original factory ROM, and then upgrading it again to the latest version.

Concerning your update: No need to downgrade, simply flash a new ROM/firmware which may fix the issue.

@esQmo_ Thanks for the tip.  Does Samsung offer their official ROMs for download?

Dedicated websites such samfirmware.com provide official firmware for flashing. You'll need a non-official tool to flash tough: Odin (Windows) or Heindall(Mas OS).

Factory reset only delete user data (userdata partition) and restore settings to the  default values, meaning every settings will be restored to the factory state. This doesn't apply to the system, (firmware/ROM)  which remains untouched.
By original factory ROM, do you mean the one the phone came with? This can be done by downgrading the phone firmware: flashing lower version firmware (with a lower android version).
Not all device support downgrading though,  since earlier versions can have bugs, security holes, etc... Many device makers such as HTC, Huawei, Motorola (Lenovo)... don't allow downgrading.

Correct, by original factory ROM, I mean the one the phone came with.  BTW, I updated the question with more details.

Is this normal

Yes. See answers here and the linked dupe question Upgraded my phone from 1.6 to 2.2 Android version, if I restore "Factory Settings", which version it will be?

Is there a way to make factory reset force the phone to return to the original factory ROM?

No. You would need to downgrade manually which may not always be possible as bootloaders are designed to prevent downgrading by OEMs (including Samsung). Cursory search shows it's possible for your device from Nougat to Marshmallow but you ate looking at Lollipop which makes it more unlikely

Thanks for the info.  BTW, I updated the question with more details.


text:
how do I bypass frp without sim card on boost mobile zte prestige?
I need to bypass or find a way to make a zte prestige w/o sim card boost (mobile) into a wifi phone or a phone that can at the very least connect to wifi for internet. it will connect to wifi but it wont open anything so there's no way to get internet or get to a browser because of FRP Google Lock. Anyone know how I can use the internet at the very least and/or bypass the google frp or get internet browsing capabilities? Thank you, appreciate any help.


text:
Does an Android Factory Reset also clear the cache partition?
In researching a possible answer to this question about "Server error occurred. Restart Camera." while taking photos on the Samsung Galaxy S6, I read this article.
The article talks about wiping the cache partition via Android System Recovery and performing a Factory Reset.
Question: Does an Android Factory Reset also clear the cache partition?  Or does it only clear the data partition?

Yes, a factory reset clear's the cache, dalvik cache, along with the user data.
<string name="factory_reset1">Wipes Data, Cache, and Dalvik</string>

The information on factory reset is hidden in the Source code.


text:
Automatically disable SIM 2 while SIM 1 has signal?
Is it possible (via Tasker or otherwise) to automatically disable a SIM when the other one has a signal, and to similarly re-enable it once the other loses signal?

For sure you would require root. Related https://android.stackexchange.com/q/180064/131553

Yeah root is fine, I have root. Thanks for the link, I'll take a look.


text:
After programmatically setting the resolution through an app, how can I make the device remember the new setting?
So I'm setting the resolution by editing system files. This has been the only way that works for me. More preciesly I issue this command:
echo 1080p60hz > sys/class/display/mode

to the device's termninal. This succesfully changes the resolution to 1080p60hz or to a different value if it's issued. However after restart the device returns to its previous resolution.
Does nayone know how to make it remember the new resolution? Probably another file needs to be edited but I haven't found out which.

I've answered the question of how to change the resolution of a phone before, here. Survives reboots as well.

Thanks but this doesn't really work for me. The device I'm talking about is a TV, and the wm size looks to work mostly on phones. It does produce a change on the TV but it's not equivalent to changing the resolution.

Several options:

modify the boot image accordingly, or
use init.d scripts if your device supports them (if not, there are some apps to achieve that). Or,
use an automation app to do that on BOOT_COMPLETED (e.g. tasker supports that, e.g. running a script on BOOT_COMPLETED – called "device start" there IIRC).


text:
Change Android Shashlik simulator physical keyboard layout
I installed Shashlik an android simulator for linux. It has minimal interface. The only way to interact with it through adb.
I want to change the physical keyboard layout. currently English, I want to change the language(Not system language)


text:
How to repartition Google Nexus 4 (aka. LG E960)?
Over a month ago, LineageOS rolled out Oreo (I think) update for the Nexus 4 (mako), but there's a catch - the system now takes up so much space, that even the nano version of open-gapps package can no longer be installed without manually removing application in-between the installations. I thought, rather than shooting down apps from default LineageOS, I would rather bump the system partition's size by another 200 MiB.
I haven't attempted anything yet, as information how to achieve this on a snapdragon device seems to be very sparse - is it even possible? I've done repartitioning on a Mediatek device, where doing so involved hand-editing an MBR-like partition table and uploading it to the device using SP-flashtool. Is there a similar, or perhaps an easier-to-use tool for Snapdragon devices?
P.S. - I've read the answers/suggestions to question 65781, and none of them are helpful to my question.

Well, it turns out the flash-tool shenanigans are specific to Mediatek, and partitioning on other phones is done with plain GPT on the mmcblk0 device. So I should be able to resize partitions with generic tools like parted, or sgdisk (neither of which is available in TWRP,  but shouldn't be hard to get).Will write up a full answer once I actually get it done.

As mentioned above, the Nexus 4 uses plain GPT on its storage to split it up into partitions. Any tool able to modify GPT should work. By far the biggest problem for me was getting an appropriate tool - the fdisk bundled with TWRP can only list partitions on a GPT disk, without making any changes. I prefer not to use parted (available from Termux), due to its inability to display/modify partition GUIDs (may have changed since the last time I checked).
Looking back, it may be possible to dump the entire storage to a computer, make changes there, and put the whole thing back, but I specifically wanted to avoid writing over critical partitions (loaders, kernel, etc.), so I set out to get gdisk for android.
I eventually found this thread, where the author prepared an archive with gdisk and a few other tools.
Requirements:

Computer/VM with adb, fsck.ext4 and resize2fs
This zip file

Overview
The relevant partitions (system and userdata) are 21st and 23rd on the storage. The 22nd partition is just cache, so there's no harm nuking it, and making a new one after data from the other 2 are in place.
The TL;DR version of the procedure is:

pull the data partition to computer
[PC] adb pull /dev/block/mmcblk0p23 userdata.img

put gdisk on the phone, and use it to modify the partition table - grow system while retaining its starting sector, shrink userdata by the same amount, and re-create cache between them
[PC] adb push gdisk /tmp/
[adb-shell] /tmp/gdisk /dev/block/mmcblk0
...

use resize2fs on the phone with the system partition to grow it
use resize2fson the computer with the userdata partition's image to shrink it to appropriate size
push the modified data image to the phone
[PC] adb push userdata.img /dev/block/mmcblk0p23

format the cache partition, reboot into system


text:
Why is there no internet connection only for specific apps?
My internet browsers, and most apps on my phone work fine, but specific ones: Sync pro, McDonalds, Pocket Casts, Audible, and Snapchat have weird semi-functionality.  I know I'm connected to wi-fi and mobile data because a majority of the apps work, however these listed do not.  I also can confirm that the services are not down because I have confirmed they work on a friend's device.

This could be caused by a difference with your device and the server's current time. Go to
Settings → System → Date & Time

Make sure the Automatic date & time setting is enabled.


text:
How to root blackview a20
I have a blackview A20 which is a low spec phone running android oreo go.
I would like to use this phone for experimentation with android development and learning about android on a cheap device without risk of breaking my main phone. To do this I would like it rooted and as a bonus with a custom recovery so I can test custom ROMs.
State of device:

Unlocked bootloader
Unchanged ROM
Unchanged Recovery
OEM unlocking enabled
USB debugging enabled

What I have tried:

Flashing recovery images with fastboot
Using fastboot flash recovery recovery.img with some TWRP and CWM recovery images all yield:
target reported max download size of 134217728 bytes
sending 'recovery' (4690 KB)...
OKAY [  0.169s]
writing 'recovery'...
OKAY [  0.276s]
finished. total time: 0.448s

or similar. Then I restart phone and select boot into recovery mode. The phone hangs for a small while before restarting and booting into the normal OS. On restart into recovery the unchanged recovery is there still.
Various 'one-tap' methods
All of which were unsuccessful. If needed I can give details.
Installing SuperSU zip from recovery
In a futile attempt I tried to use the android recovery to push a SuperSU zip with its update from zip option. I knew this wouldn't work but I found something interesting. On the Apply update from SD card option I get an error saying couldn't mount /sdcard
Booting recovery images with fastboot
I have tried the fastboot boot recovery.img command to try to boot directly into the images. I get this
downloading 'boot.img'...
OKAY [  0.211s]
booting...
OKAY [  0.047s]
finished. total time: 0.261s

output but the device just restarts and boots normally into the normal OS.

What I would like from this question (In order of importance):

A way to root the device
A way to access a custom recovery (even if temporary)
Ability to install custom ROMs
A permanent custom recovery

First thing to look for is whether there's a custom recovery (e.g. TWRP) available for your device. You'll need that anyway. If there is, get it (installed). Then take a look at Magisk. Take a look at my article Root for all: Magisk to get an overview.

@Izzy I thought so, I can't find a custom recovery anywhere for my device. One of the recoverys I tried was the generic arm twrp and you can see the results of that in my post. Getting a recovery is the main problem I'm having; I'm fairly confident rooting after that.

Have you tried TwrpBuilder? Claims to generate a TWRP image from your stock recovery. I haven't tried it so far (I always check those things before I buy a device, to make sure TWRP and custom ROMs are available or the latter at least already "in the make"). That way I can root the device before unboxing :) (very first thing: unlock bootloader (no data to lose yet), flash TWRP, and only after that switch on for usage).


text:
Impossible to format corrupted SD card formatted as internal storage
I see lots of questions about recovering data from corrupted SD card formatted as internal storage, that's not my case.
I want to FORMAT this SD card to be able to use elsewhere.
For some reasons the card become read-only so it is impossible for me to make any changes.
While on the phone I tried to switch the card from internal memory to external. It didn't work.
The only option I had was to forget the card, and so I did.
Now even with gparted on linux, I'm not able to format the card.
I tried also to change the permits with
sudo chmod -R 777 /dev/sdb
and other different commands like
sudo mount -o remount,rw /dev/sdb
all without luck.
What else can I do? It seems impossible to reset this card.
Ps. the lock on the SD adapter is in the correct position
edit1: I've used sudo badblocks -wsv /dev/sdb no errors found, but not luck, the partitions are still there (here how to use badblocks https://wiki.archlinux.org/index.php/badblocks). The process took around 10 hours for a 64Gb card.
edit2: after asking help to bunsenlabs.org these things came out. At the moment I can't try them because I don't have the hardware required but my gut and my common sense tell me that it's the right path.
links:
https://github.com/Nephiel/sdlocker-tiny
https://github.com/BertoldVdb/sdtool

Try sudo mount -o remount,rw /dev/sdb

@BoLawson I already tried that, added to the question

It sounds like the other answer of the FAT being corrupt is likely, I would try "zeroing out" the card...
First, verify the device. It will be something like /dev/sdX or similar, make absolutely sure you know this device is correct. Then, in Linux open terminal and enter the following command:
$ sudo dd if=/dev/zero of=/dev/sdX bs=8192

Substituting the correct device name for /dev/sdX.
DO NOT interrupt this process or it could possibly brick the SD card.
Once it has completed, eject and remove the card.
Wait a few seconds then reinsert the card in the card reader. After this, open gparted (or your partition manager of choice) and create a new FAT and partition.
In gparted, this is accomplished by selecting Device, then Create Partition Table from the toolbar menu, I would recommend using msdos as the partition type. Then after that process completes, select Partition - New, and change the File System to fat32 (or whatever is appropriate for your card) and click Add. Then Apply (the "return" arrow in the menu bar).
Once this has been completed, remove the card and reinsert it, it should be readable in Linux, Windows, and most other operating systems.

I followed the step but like last time, it didn't work. The dd process finish, but gparted still see the two partitions. If I format with msdos the process end with no errors, but then the sd card refresh with the same old partitions. Trying to do different operations or using different file systems doesn't change anything.

I don't know what to do anymore if even dd is not working.

@Alessio We have definitely seen corruption of adopted storage nuke a card... I guess becoming permenantly read only is a possibility as well.

how can a card become permanently read only??? The card is working perfectly as I could backup all my stuff and etc, it's just I can't do anything now because it's in read only mode. There must be something to do.

@Alessio I don't know, but I had a USB thumb drive do it once... I wound up breaking it and throwing it away because I could not get the data erased.

this is what happened at my last sd card. I refuse to do the same on this 64Gb card bought only one month ago. How can be a software restriction so unbreakable?

@Alessio if it's only a month old, why not get a warranty replacement? Most manufacturers have at least a year warranty

Sandisk has a lifetime warranty and they replace the item really fast. But this is not the point. The card was locked from Android and it is impossible to unlock back, unless using one of the links I posted on edit2.

@Alessio "Every card has two programmable flags, one for temporary write protection and one to lock the card forever." -
https://github.com/BertoldVdb/sdtool Might want to review this, if this portion of the card gets corrupt/damaged in the right place, BAM, it is read only forever. EDIT: Nevermind, I see you found that too.

yes, found and it is really interesting. Didn't know that. But what if it is not damaged but I can't change the permit bcs don't have the tool? There must be a way to be able to modify /dev/sdb instead of only /dev/mmcblk.

@Alessio Possibly, but to be honest the nitty gritty of that is over my head.

That sounds as if the FAT might have some kind of error. The card automatically gets mounted read-only, and no matter how many times you go into settings and try to unmount/remount the card, it is to no avail.
In Windows, you can just insert the card into PC, right click on its Properties/Tools/Check and check it against possible errors and automatically fix them. Or you can also use any file system checking tool of your choice.

didn't work. before checking for errors is asking to format the card. formatting the card is not possible because of some errors.


text:
Disable notification spam at end of do not disturb schedule
I'm using a Galaxy S7 with Android 8.0.0 and Samsung experience 9.0.
At the end of the do not disturb schedule all my notifications come through at once. All I hear is just the notification sound being spammed repeatedly for every notification that was suppressed while do not distrurb was enabled. This never used to happen, it would just come out of do not disturb mode and no sound would be played for old notifications. This seems like a bug. Is there a way to stop this?
This may be a Galaxy S7 specific question, I can never seem to tell which is a core Android issue and which is Samsung specific. The articles I have seen on do not disturb for Oreo look quite different.

It seems like an Oreo issue as documented here:
https://www.androidpolice.com/2017/09/26/feature-bug-oreo-dnd-turns-off-get-barraged-sounds-vibrations-pending-received-notifications/
It was resolved in 8.1.0, but Samsung hasn't provided this update to its 8.0 phones. So today it is mostly Samsung users that are affected.
https://us.community.samsung.com/t5/Galaxy-S9-Questions-and-Answers/S9-notifications-after-do-not-disturb-goes-off/m-p/371390#M7828


text:
How to block access to domains with DNS66?
I'm using the open source Android app DNS66 to block ads on my smartphone. Is it possible to block entire domains (like facebook.com, twitter.com) with it too? My goal: Nothing loads if I visit e.g. facebook.com in the mobile chrome browser.

Yes you can, see this tutorial....https://sensorstechforum.com/fully-block-ads-android-device-using-dns66/


text:
Is system apps and pre-installed apps two different concepts?
I recently started learning android ROMs. I have heard system apps with some special (not root) permissions.
Is there a difference between system apps and pre-installed app when we build a ROM? I those two concepts?

I think I might have been found the difference. According to this link :

If an app is signed with System Signature, then its not allowed to
  Disable that app.Also , not all preloaded apps have system signature.

So among the apps within /system/app directory, we have two types of pre-installed apps. System signed with more privileges and normal apps.

+1 and deleted my answer as yours has a source. Mine is more of an elaborate comment

Yes and no.
Just Preinstalled apps
There are some apps your manufacturer might ship that are installed by default on your phone but can be uninstalled just like regular apps. They work technically just like any app you would install usually. All other system apps are obviously also pre-installed, but treated differently:
System apps
A couple of the apps shipped with the device may be installed as system apps. That can only be done by the manufacturer (on non-rooted phones) because they need to be signed from them, and the apps can not be uninstalled, just disabled. Otherwise, they behave the same as other apps.
System apps with elevated privileges
Can also just be installed by the manufacturer, and only disabled. But these apps have the internal detail of having advanced "system" privileges, which makes them much more powerful. These should usually just be critical system components that need this much access, but some manufacturers still use it for their own apps.

Thank you. Could you provide me an article about 'how' to put an APK in one of those classes when building ROM? So far, I just know I should put all of them in /system/app  (and possibly sign some of them?) Thanks a lot

@Saleh I unfortunaley don't know about any articles that cover this well  off the bat :/ The stuff in /system/app/ is "just" a system app. For elevated privileges, the app needs to be put in /system/priv-app/ and, starting from Oreo, also be put on a whitelist before building the ROM. AFAIK, every app you build together with the ROM is signed during the process.


text:
Use of "Mounted /system" with secret key combinations in recovery;
I just discovered that after pressing a secret key combination in recovery mode, the log below shows a message "Mounted /system". What's this used for? Thank you!

Which log? I can't find it

In my device, running 5.1.1, it has a log in 'the recovery start menu' under the options (reboot system now, wipe data, etc.) which shows text in yellow font. For example, when I select "reboot system now" it shows "Rebooting..." for a couple of seconds before rebooting. And when the battery level is low it shows " E:battery level is too low to perform factory reset". And after pressing the secret key combination it just shows "Mounted /system"

mount option im recovery mode allows you to mount a partition , like SYSTEM or DATA etc. Like you would do with a computer drive.  This  allows you to modify anything in that partition. Because when you boot in recovery mode, the other partitions are not mounted, you cannot see data or edit them.
The mount /system in the stock recovery allows to mount the system for some reason. I'm sure it has to do something with debugging.


text:
Samsung Galaxy emitting constant beeping sound
My Galaxy (A8) is emitting a constant beeping sound every few seconds. I tried the following, per various online suggestions:

Wiping the cache (by entering into recovery mode)
Closing all applications
Reset the device
Update the firmware (there was a recent FOTA)

Any suggestions as to the cause or the ways to solve?

After further investigation, the issue turned out to be that a card with an NFC chip was interacting with the NFC receiver in the phone.
While there were no open applications, this still caused a constant beep every few seconds. Removing the card, or disabling the NFC, both solved the issue.


text:
WhatsApp can't use Google account for backup
My old phone just died on me yesterday. It used to back up the WhatsApp chat history to my main Google account, which I also used to register the device.
Now I have a new phone, and I registered it to the same Google account. After installing WhatsApp, I tried to restore the Google Drive backup to the new installation. However, when I try to enter my Google account, it tells me "This account already exists on your device"
Somehow after switching apps, WhatsApp assumed I don't want to restore a backup, and now I'm stuck with no history.
Also, when I try to set up the Google Drive backup on my new device, it gives me the same error when I try to enter my Google account; "This account already exists on your device". I can't figure out what I am doing wrong.
Is it just impossible to backup WhatsApp to an account already registered to the same device?

Nowadays, one can transfer the chat history without google backup, just by direct wifi/bluetooth connection and scanning a QR code on the new phone. The option for that is also available in the settings. See for example: https://faq.whatsapp.com/209942271778103/?cms_platform=android

I just encountered the same problem on Android 13.
I fixed the problem by deleting the Google account and then in the application settings Google Play Service > Permissions.
Make sure there are no more denied permissions.
I deleted all WhatsApp data and then made sure there were no more denied permissions.
Then restarted the application.
I was able to add a Google account and find my backup !

Did you already add that Google account while setting up the phone? Please check Settings > Users & accounts if that account is already added.
If it is, then try removing it and adding it again.
P.S: It may be called Accounts in older Android versions.

I had exactly the same "This account already exists on your device" notification without being able to actually select it. Removing the google account (with a reboot just in case), and re-adding, allowed WhatsApp to do backups to google drive again.

Just to be clear the tl;dr: this solution still works in 2022 (and has no data loss penalties, WhatsApp isn't affected and anything google resyncs immediately after re-adding) :)

After several unsuccessful attempts to get Whatsapp to use my main google account, I just left it as it was. After a few weeks, Whatsapp notified me by itself that I should set up a backup plan. At that time, it did allow me to select the account I wanted to use, without a hassle.
Looks like the problem fixed itself over time.

Not deliberately wanting to comment on a necro'd thread, BUT ... I literally just had exactly this issue, following a message from WhatsApp itself. However, the solution was quite simple:-
I forced a complete restart of the app by using the Android STOP option on the WhatsApp application; and Restarting it using the icon on the main screen.
Once that was done, it allowed me to setup the backup frequency on my existing Google account.


text:
What is HTTP and socket in opera mini and what is the difference between them?
What is the HTTP and socket option in android version of opera mini?
There is two options: HTTP and Socket/HTTP
The default is HTTP and Socket/HTTP.
In addition what is the different between these two options?

"Socket" and "Http" are different proxy types. Proxies can be used to forge your location or some proxies compress the data to reduce the network data that has to be transmitted.

Also see: https://blogs.opera.com/mobile/2016/04/3-browser-settings-for-your-opera-mini/

The socket connection keeps the connection to the sites. The HTTP selection will search for the site, each time searching for the site's IP address.
If you can't get a connection through the socket then switch to HTTP.
This choice is available when you’re using extreme-savings mode; use the "O" button and go to the savings summary.
The Socket/HTTP browser setting is faster and more cost efficient,
whereas HTTP is a fallback when your operator does not support socket/HTTP.


text:
How can I get the Google Calendar app to sync more often?
I'm new to Android and am having an issue where the Google Calendar app seems to only sync with my Google Account every 3 or 4 days. This is a real pain as I often miss appointment and reminder alerts that I set via my desktop.
Is there a way to have this sync more frequently?

Well, 1st it's not the calendar app doing the sync (but the sync backend, whichever calendar app you're using), and 2nd that's really very unusual. AFAIK it should sync at least once a day (also see here). If that's broken, I often read one should temporarily remove the Google account and re-add it. Maybe wait for someone who had this issue solved to give better advice, and keep this as a fallback. I cannot really tell as I no longer use Google cal/contacts for years already. I like to keep my data ;)

it sounds like you might have "limits" set on your "background data". try enabling instead of restricting it.

Your answer might be useful if you explain how to remove any limits, since the questioner clearly doesn't know about setting a limit.


text:
How do I know If my phones Bootloader is locked or not?
I want to flash TWRP & SuperSU to take a backup, but I read that if you flash TWRP with a locked bootloader it would brick my device & wipe my data, now that would just defeat the purpose. How do I determine if my device bootloader is locked or not?
I have enabled developer options, enabled USB Debugging, there is a option in the menu 'OEM Unlock', what does it do? Does it wipe data?
Device - Samsung Galaxy-J700F

Normally I'd say fastboot oem device-info, but does Samsung talk with fastboot? Related: How to check if your bootloader is unlocked // How to determine if the bootloader is locked (the latter is for a Samsung device as well).

Izzy has given you  pointers. In addition to address OEM unlock - it's only a pre requisite and does not unlock bootloader or wipe data //@Izzy deleted my answer being a dupe to existing ones

I'm not sure if this directly answers your question. However, here's what I can add:

Android phones should display a warning at bootup, informing you that your device's bootloader is unlocked and that it cannot be trusted. This is the default behavior for all modern Android phones. If you do not see any such warning, then your device is most likely still locked.
The OEM unlock setting in developer options should fade off (and get disabled) when the bootloader is unlocked. Here's a screenshot of how it looks on my phone:

So, since both of the above show that your device is not unlocked, I will go with it.
And AFAIK, trying to flash TWRP on a locked bootloader would actually fail, instead of bricking the device. That's all the purpose of a locked bootloader - to avoid tampering of the system.
You will actually have to look for a way to backup your data without the bootloader unlock. Since, if you decide to unlock it now, all data will be erased. I believe XDA-Developers forum will be a good place to look for information.
Edit: Try if you can boot the TWRP, instead of flashing. And then flash SuperSU from TWRP. Things like these were possible on older devices.

How to boot TWRP instead of flashing?

Ideally, fastboot boot recovery.img
But, yes, same question from comment on your question. Does Samsung talk with fastboot? Probably not. So, I'm sorry, it won't work.

I forgot to mention that my device is not tied to any carrier, this link from izzy says that samsung does not lock bootloaders, only some carriers do that, is this true? https://android.stackexchange.com/q/187873/16575

No that's not true. Carriers may make bootloaders on some branded phones as non unlockable. All Samusng phones come with a locked bootloader. Some are unlockable via a simple unlock command; while others require the user to have an encrypted unlock key to unlock it. That is why in my answer I mentioned that Android phone with unlocked bootloader will show the warning.

If I flash CF-AutoRoot, would that work? What about kingroot? are they safe to use?

There is always some degree of risk involved. I have used KingRoot and it didn't brick my device even when it failed to unlock it.

@singhnsk I don't recall neither old nor recent non-carrier Samsung devices having a locked bootloader. They are protected by the OEM unlock toggle, but that should be all.

to just answer your question, and without needing any software, you can start your phone (or tablet) in bootloader mode by holding the  volume key and the power key from an OFF state. the software will then tell you the info you want.

Putting it in Download Mode I get The Following ODIN MODE, DOWNLOAD SPEED : FAST, PRODUCT NAME : SM-J700F, CURRENT BINARY : SAMSUNG OFFICIAL, SYSTEM STATUS : OFFICIAL, SECURE DOWNLOAD : ENABLED, WARRANTY VOID : 0 (0×0000), RP SWREV : B:4 K:0 S:1, FRP LOCK : OFF      What does all of this mean, it says nothing about the bootloader state.


text:
How can I switch keyboards using gesture navigation only(no navigation bar)? (OnePlus 5t)
I recently decided to try out gesture navigation on Android (with the navigation bar turned off), and I liked it so much I decided to do away with my navigation bar for good.
Aside from English, I type Mandarin on my phone every day, and need to switch keyboards repeatedly during the day or even the span of a few minutes. Unfortunately, I used to use the keyboard button on the nav bar to switch keyboards, and now Ihave to drag down the notification bar, tap change keyboards, and then choose keyboard.
Is there a gesture I can use to do the same thing instead? Haven't been able to find any reference to what gesture might, if any, have replaced the nav button.
I'm on a Oneplus 5t, Android 8.1.0

Some keyboards may provide such features. E.g., Gboard allows you to hold the spacebar to bring up different languages and input methods. I've tried some Chinese keyboards as well, but I don't remember any implementing this feature, as they prefer to lock you into their own keyboard. So, for now, I guess you have a few options:

Stick to one keyboard that offers all languages and features you would like to use (hardest),
Find keyboards that implement keyboard-switching shortcuts,
Use a more customizable gesture navigation system that allows you to associate some gesture with keyboard switching instead of the built-in one, or
Live with the current situation.

Android 9 "improved" this problem, as navigation bar is default hidden.
My Bank app has a feature which is a keyboard and helps a lot to make payments during chats in WhatsApp and SMS, but now it's impossible to use, because is impossible to change keyboards, if I want to stay with navigation bar hidden and with samsung keyboard.


text:
Google Play Store won't download app
Play Store downloads successfully first chosen app, but it get stuck on downloading the second one. There is no error message. Only activity I see is notification of content waiting to be downloaded. Solution is to reboot the phone.
Here is a screenshot that shows kind of notification I am writing about, since I am unable to provide an actual one. No error messages, just a continuous progress bar:

I tried clearing cache, then all data and then data in Google Play Services app, but it didn't help. The phone is Oukitel U11 Plus, using Android 8.
I have visited wiki page of google-play-store tag and didn't found any reasonable advice in regard of this situation.

On the side note, one other frustrating thing is happening, too. When searching in Chrome it redirects to local .rs domain, but it then prints out err_tunnel_connection_failed. I got around it buy using no redirect link to force it to go main .com domain.

Have you already checked with our google-play-store tag-wiki? It lists many issues around playstore and links to solutions. Without an explicit error message it's hard to help in another way.

@Izzy I didn't, thank you for providing me that! How to get an explicit error message on this kind of problem?

No error message shown? Nothing like "coulnd not be downloaded due to an error (498)"? Just sticking and doing nothing? Well, that would be a hint to include with your question, too. Also see these posts on stalled or on stuck downloads with Playstore then.

@Izzy Nothing, just an infinite downloading progress bar as a notification.

Thanks, that update helped. So it's the "stalled or stuck" categorie, but rather the download not even starting ("knight-rider style" progress bar if I get that right). Maybe one of the search results I've linked to in my previous comment provides some help/ideas? Have you checked?

@Izzy I've checked your link, but have found no help. Thanks anyway.

As a work-around until your issue is solved, you could use Yalp Store or Aurora Store.

See if this works: https://android.stackexchange.com/a/197291/209414

Do you have background data restricted? If not then try clearing cache & data of the following Apps:
Download Manager,
Google Account Manager,
Google Services Framework
Then reboot & open play store it will ask you to log in with your Google Account, after logging in try installing something it should be working now.

Is it possible that the problem is related to the carrier (and/or 4G)? At the moment I can't test if switching to 3G helps.

If we have set the download by WiFi only could be the reason. Change to Mobile data as well or try connecting to WiFi


text:
How not to display the "Change languages" on Gboard
I just updated Gboard and I only use two languages. However after this update, I have to press twice and choose which languages I want to swap to when obviously it's the other one...
Is it possible to only long press the space bar as before to automatically change to the other langauge? this is such a waste of time otherwise :/

You can change languages directly from the language switch key (the one with the globe symbol netx the space bar). If it is not displayed, then go to Settings > Languages & Input > Gboard > Preferences.
From here toggle the switch for various  settings including number row and emoji and obviously language switch key.


text:
No permissions allowed even though the permissions granted
I have an app on my Android 7.1 device. As you may see in the image;
app has no granted permissions even though I explicitly gave the WiFi permissions to this app.
I am sure some of the constitutional plugins used by this app requested the permissions.
Is there any way I can control the permissions I gave and possible revert them.
Let me know if you need more details.

Screenshot (click for larger variant)

What do you mean by "WiFi permissions"? When a developer adds the ability to access Internet, it is automatically granted when you launch an app. Android does not ask for any explicit "WiFi permissions".

I think it is this one...

Is this an app that you've created yourself? If so you should read the Android developer docs on protection levels, there are certain permissions that will not be asked for by the system and will be granted automatically. The "Permissions" section will show everything that you've given access to

Nope. This is not my app.

Can you clarify the question then? What exactly are you looking for?

Build tool will merge all Android project manifest files into a single manifest file called AndroidManifest.xml. I think if Android project has plugins with certain permission requests, these will popup at certain moment, but I don't know how to control the permissions of these plugins effectively.


text:
Badges without Notifications
My Galaxy S7 was just updated to Android 8 - Oreo.
I get that one of changes in Oreo is tying the App notifications to the App Badges (e.g. your "unread messages" on the app Icon).
However, it seems that if you disable app notifications, you also disable the badges. I would like to enable the badge for my Email application, but still have notifications disabled.
Any suggestions on how to enable this behaviour?
Thanks!


text:
Browse entire file system in "browse" dialog box?
I am trying to use KeePassDroid and when I select the browse button for the keyfile section it shows this screen:

As you can see, it's only limited to "Recent, Images, Videos, Audio, Downloads". My key file is located elsewhere and can't be located from these options.
How can I browse the entire file system and bypass these predefined options?

Try installing this app. It worked for me from 6.0 to 8.0 in such situations https://play.google.com/store/apps/details?id=com.ianhanniballake.localstorage

@beeshyams that appears to work but it seems it can only access the SD card, do you know if it's also possible to access phone storage?

In my case it accesses all - External SD, phone storage, videos, audio, connected  Google Drives, downloads, audio and video and also has a section on for recently accessed locations. Open the app and tap the button that says something like show all files- I used this on Moto X Play running Marshmallow and MiA1 running Oreo. I don't use keep pass so can't say about that but it works for all apps I use

On the 3dot menu on top right, click and see if there is an option to show internal storage

@beeshyams there's no 3dot menu, just sort menu as seen in the screenshot


text:
Problems with Internet via home WiFi, mobile data and other WiFis work fine
I'm having various problems with two Android phones in my home WiFi: from time to time, the phones

can't connect to the WiFi at all (despite stored credentials) -- happens only rarely
can connect, but get no Internet access via the WiFi (e.g. right now I'm getting DNS_PROBE_FINISHED_NO_INTERNET, but the another time it might be a different one) -- happens more often (say once every two weeks)
can connect and get Internet access, but with a big lag (DNS lookups and/or establishing connections is very slow, once connected the bandwidth is fine) -- happens always

At the same time, the phones work fine with mobile data and other WiFis. Similarly, the home WiFi works well with our laptops. It seems that there is something problematic in the specific combination of these specific phones and that specific WiFi.
Workarounds that I've tried and that sometimes (but not always) work:

Disconnecting and reconnecting to the WiFi
Disabling and re-enabling the WiFi on the phones
Rebooting the phone
Removing the stored credentials for the WiFi from the phones
Resetting the WiFi access point

One of the phones is an Lenovo C2 (K10a40) running Android 6.0, the other one is a Samsung S4 mini Gt-i9195 also running Android 6.0.
The WiFi access point is a TP-Link TL-WR841N/ND v9 running OpenWrt/LEDE Reboot 17.01.4. The WiFi is using WPA2 PSK encryption and automatic channel selection.
I've checked other similar threads on android.SE, but none of them suggest anything that I haven't already tried.
What are possible reasons and solutions for these problems?

This sounds like more of a problem with the router itself. Have you got any other routers on hand to try?

@MoonRunestar unfortunately no. Since the router works fine with the laptops I was hoping to avoid getting a new one. But if everything else fails then this is indeed a good idea.

If the problem occur are always both phones affected?

@Robert From my experiences, yes.

Please check what type of wifi your router broadcasts. If it broadcasts both 2.5Ghz and 5Ghz your phone may discover the 5Ghz network, try to connect to it but then has no "power" to stay on that type of network and falls. So make sure your device is connecting to the 2.5Ghz network.

2.4GHz and 5GHz usually broadcast on separate SSIDs. If you don't want the device to randomly switch between the two, you can just select Forget on one of them (preferably the 2.4GHz one as that is the less reliable of the two).


text:
Screencast and Wi-Fi
can I be connected to Wi-Fi and still use screencast I'm trying to watch YouTube on my TV but I also connected my phone to the Wi-Fi I want to know whether or not is it possible to be connected to the Wi-Fi and still use screencast

Yes, in fact you have to be connected to the same Wi-Fi network that the Chromecast (or whatever device you're trying to cast to) is connected to, because casting works over Wi-Fi.
It may be that when you originally set up the Chromecast, you didn't connect it to your Wi-Fi network, but let it use its own Wi-Fi network. In this case, you'll first have to go into its settings and connect it to the same Wi-Fi network that you want the phone connected to.


text:
Cannot add gmail to unmonitored apps (battery usage) to get notifications in battery saving mode
I want to have instant Gmail notifications even in battery saving mode (which typically blocks apps from background CPU/network usage). I found these amazing instructions for Android 6, however when I try something similar on my Samsung Galaxy S7 phone (Android 7.0), i.e. I go Settings -> Device Maintenance -> Battery -> Unmonitored Apps -> Add apps, then I don't see Gmail app in the list!! There are lots of others but not Gmail! Chrome neither. How is it possible?? How do I solve the issue? Thanks a lot.
Timely notifications on Android is a bit of a crapshoot since Marshmallow. Thanks to the battery management, no app can guarantee that their background process will be running on the specific intervals they have set. It varies among devices though.

I don't know if this will work since I have a LG G6 and am running Oreo.  So, the way I found to allow Gmail to battery saver mode was this:
Settings --> General --> Battery --> Power Saving exclusions
Scroll down to Gmail, then click on the switch to the right.
Tested by sending myself an email from another account and I got the notification!
Source:  Had to do it myself.


text:
Unable to install Express (of Node.js) in Android Termux using sdcard0 as directory
I'm unable to install Express in Android Termux. I have the latest Node.js installed.
It is working perfectly when I use Private storage, but I'm using cd /storage/sdcard0/NodeJS/Test/ and getting a permission denied error. I saw the word symlink repeatedly in the terminal's error message.
Here's what I saw after commanding npm install express --save:
$ npm install express --save
npm WARN test-lab@1.0.0 No description
npm WARN test-lab@1.0.0 No repository field.

npm ERR! path ../mime/cli.js
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime'
npm ERR!  { Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime'
npm ERR!   cause:
npm ERR!    { Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime'
npm ERR!      errno: -13,
npm ERR!      code: 'EACCES',
npm ERR!      syscall: 'symlink',
npm ERR!      path: '../mime/cli.js',
npm ERR!      dest: '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime' },
npm ERR!   stack: 'Error: EACCES: permission denied, symlink \'../mime/cli.js\' -> \'/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'symlink',
npm ERR!   path: '../mime/cli.js',
npm ERR!   dest: '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime',
npm ERR!   parent: 'test-lab' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2018-05-29T13_09_20_748Z-debug.log

Is it really possible to install Express while current storage is something like /storage/sdcard0/...?

Related: Insufficent rights for npm install in Termux on Android

Unfortunately, the answer is No, not even with root.
Android uses FUSE (Filesystem in USErspace), which has symbolic links disabled. Since Node needs to setup symlinks, it's impossible to install it onto the SD card (or whatever internal storage where you store your photos, downloads, etc.). You can only install it into Termux's directory, which is /data/data/com.termux/files.

I've already installed nodejs successfully. The problem is that I'm unable to install a nodejs module or package or plugin or whatever it is called. I was thinking of saving the app.js, package.json and the express files into a directory in sdcard0 or sdcard1.

Are you saying I can't save files (of Express) to sdcard ?

@user9850863 You can't install that Node module onto the SD card. But yeah, Node.js itself is already set up in Termux's directories.

Yes you are correct.

@user9850863 I'm honored. But if you only want to access Termux's files, you can copy them in/out to SD card with Termux. Then you can use an arbitrary file manager, without affecting the local copy that Termux holds.

Cloudcmd is a Termux package which creates a server of Web (nodejs) based file manager. I think, that using it will be a more greater idea than copying App-Private files to sdcard, editing them and copy pasting it to the old hidden directory. What do you think?

@user9850863 Well, I'm not a professional developer so I don't know a large variety of softwares. If it is so, it's surely better than copying in & out.

I fix it with this:

Install Termux:API (Play Store).
In Termux shell: apt install termux-api

That's all. https://www.npmjs.com/package/termux

How? Just installing it ?


text:
Android 6.0.1 (rooted) blocking usb tethering of wifi connection (carrier has no problem)
I know there are a number of questions on similar topics but I believe my issue is different, let me explain:
I'm in Spain where the carriers do allow usb tethering of wifi connections (the phone is connected to a wifi network and I'd like to tether this connection via usb to my laptop so the laptop uses the wifi connection of the phone). I know this is possible because on my samsung galaxy note 1 with android 4.4 I can do it, no problem.
With my new samsung galaxy note 4 (unlocked, originally t-mobile) with android 6.0.1 if I have an active wifi connection and turn on usb tethering a popup tells me that
Attention

Wi-fi is turned off when usb tethering or mobile hotspot is active.
To turn on wi-fi please turn off usb tethering or mobile hotspot.

So basically I have to choose between wifi and usb tethering, can't have both. I can only tether the mobile data not the wifi connection.
The phone is rooted so I tried a couple of things I found on stackexchange and xda-developers:
Modifying the settings database (as root):
settings put global tether_dun_required 0
settings put system tether_entitlement_check_state 0

Adding this to /system/build.prop (as root):
net.tethering.noprovisioning=true

But still no luck :(
To be sure it's really the OS which is doing the blocking, not the carrier so on a rooted phone I should be able to go about it I guess.
It would also help if I could figure out which process is the one which actually does the blocking and then I could go after that somehow. Is there a way to figure this out?

You've to root your phone, Install magisk and install hotspot fix module


text:
How to run an app on startup in background
How to run an app on startup in background? For example glasswire, kaspersky run in startup, as well as show in top In notification bar tray.  I want to run Gom audio in background when start up & show up in tray automatically.

Possible duplicate of https://android.stackexchange.com/questions/98276/open-an-app-on-startup-after-booting?noredirect=1&lq=1

Probably the best way to auto-launch an application in the background (without UI explicitly) is using the am startservice -n command together with automation with applications such as Tasker and the like capable of registering a BOOT_COMPLETED signal.
Depending on the nature of the application (which may require root), you can set up this in Tasker:
Note: The application needs to have a defined service(s) declared in manifest.xml file
You can use Tasker (7 day trial available) to accomplish this:
Objective: Auto start a defined application in background after boot
Profile (or Trigger)
Create a Profile which allows triggering of the Task after boot:

Go to Profiles Tab and click  "+"
Event  → System  → Device Boot
Tap back to exit from this window

Task
You will notice as soon as you exit, you will be prompted to link this Profile to a Task;

Scroll all the way up the Task list select "New Task + "
You can name this Task AutoStart or anything.
Click "+" to add new Action
Code  → Run shell → enter command start the activity (it can be the main activity of the app or certain parts e.g monitoring data in my example:
Using NetMonitor Mini (info.kfsoft.android.TrafficIndicatorPro) I may decide to auto start in background the data monitoring service, so in the command box I write: am startservice -n info.kfsoft.android.TrafficIndicatorPro/.TrafficMonitorService to start at boot.
If it needs needs root, remember to check the box accordingly.
Press back the way all back until you exit Tasker (your profile is now saved and is ready for execution)

Extras: Give Tasker more priority (allow auto-start for Tasker, exclude from battery optimisations, task killers etc)
Explanation: Soon after boot, the  action  starts the application in background)

is there alternative free/ adware app?

Try with macrodroid..


text:
Is it posible for an android user to set up a work and personal profile and isolate whatsapp to personal profile
With the new GDPR regulations in Europe I see people freaking out and deleting whatsapp from their phone. I don't wish to get into the legal details of if this is legally necessary or not. However this seems only to apply to people using their personal phone for business purposes.
My question is, can you create two profiles for android. One for business and the other personal. Each profile should come with it's own address book / contacts list. Then the next question is, is it possible to sandbox Whatsapp to only use/see the personal address list and not the business one.
Is this
(1) Possible
(2) Easy to do for the non technical user ?

Related: Installing Applications in Isolated Environments

Also I think what you describe works better if work vice-versa (i.e isolating Whatsapp to "work/island" profile. But will have to hear from you and I won'd be taking down the answer until I get this feedback :)

Yes this is possible.  You can do that with Island (and the released official version) is now available on Google playstore.
"Island" is a sandbox environment to clone selected apps and isolate them from accessing your personal data outside the sandbox (including call logs, contacts, photos and etc) even if related permissions are granted. Device-bound data is still accessible (SMS, IMEI and etc).
How does it work

Island takes advantage of the "managed profile" feature on Android
  5.0+, which is the also the base of "Android for Work", to create an isolated sandbox for apps and their data. App needs to be cloned in
  Island first. Afterwards, the clone can run parallel aside from the
  original one. (even with different accounts signed-in) It can be
  frozen on demand by Island. (NO ROOT REQUIRED)

The goal of Island to improve security by isolating an application thus improving privacy at the same time allowing parallel running with those from "mainland"