text:
How to enable Android USB Debugging option without the "Allow USB Debugging" popup?
When we enable USB Debugging, there is automatically a popup that asks whether you want to authorize the PC to access the phone via USB Debugging. How do I enable it without the popup? Is there a command line query using which I can say "no prompt" or something like that?
Here is an image of the popup I am referring to:

Thanks for the help.

Tick the checkbox, and the next time you connect to the very same computer there won't be a popup. That's a security measure so "Mr. Hacker" cannot simply adb pull content from your device.

I want a command to allow this device by default. No touches on the screen.

So whatever computer it connects to, it should be allowed by default – despite of the implicated security risk? Not sure if that's possible, especially on a non-rooted device. Besides: those two "touches" have to be applied only on the first connection to a "new" computer – but I guess that was clear from the description on the checkbox.

I understand that, I am basically looking for a command like --rsa_id=xyz that I can pass to authenticate in one step without touch. (For scripting purposes). Isn't my question or explanation clear?

What you want to achieve is clear, however the confirmation is a critical protection mechanism preventing lost phones from being hacked. Is the used ROM a custom ROM or is there an custom app with root permissions running on the phone?

"non rooted" is most likely the crucial point here. How many different machines do you need to connect to? And do you have all their "RSA Keys" on the device? Providing some background might make the question clearer – though I very much doubt this will be possible without root. After all, it's not that you initiate the connection via some command – but rather by the fact that you connect the cable with USB debugging enabled to a computer that's "ADB capable". It's a system process dealing with that.

Only one device. There are commands to enable USB debugging via ADB you know?

Zac, did you got any command to enable USB debugging. I am looking for same.
Any help will be appreciated.

No commands found.

Same here, I need to enable USB debugging by script as well. @R.Ram

The reason
This is deliberately omitted from production Android. If it was allowed, it would be trivial to read the contents of a lost or stolen phone. Since many people keep much of their lives on their phone, this would be a huge security problem.
As it is, someone who obtains a phone that belongs to someone else has to get through the screen lock (PIN, pattern, fingerprint, etc.) before they can enable USB debugging. If they can get through the screen lock, they can use the phone and its apps anyway, and the ability to enable USB debugging does not make things much worse.
A possible solution for an individual
If you enable developer mode and USB debugging, then authorise a computer with the pop-up, you can check the box "Always allow from this computer" and then the phone will connect to adb as soon as you plug it in. With more recent versions of Android than the 7.1 in the question, you should turn on "Disable adb authorisation timeout" in Settings => Developer Options if you want authorisation to persist longer than a week.
You can enable that for all your computers individually. Alternatively, you can enable it for any computer that you can copy a few files onto. This is a bit more of a risk, but it may suit the OP's needs.
The .android directory and its contents
The information that an Android device uses to recognise a host computer isn't a built-in part of the host. Instead, it is created by adb when you first run it on the host. In your user directory, you'll find a directory called .android. If you copy that directory and its contents to another computer where adb has never been run, and then install and run adb, the two computers will be treated by the device as being the same computer.
On Windows
You should use the Command Prompt for this. If you don't know how to use that, learn: it's basic technical computing, and if you can't learn this, you should not be tinkering with Android USB debugging.
In the command prompt:
C:\> echo %USERPROFILE%
C:\Users\ExampleUser
C:\>dir %USERPROFILE%
 Volume in drive C is Local Disk
 Volume Serial Number is Q8P4-Q7KQ
 Directory of C:\Users\ExampleUser

 22/07/2023  15:51    <DIR>          .
 12/10/2023  06:47    <DIR>          ..
 08/06/2023  20:19    <DIR>          .android
 ...
 28/08/2023  15:37    <DIR>          Desktop
 16/10/2023  03:21    <DIR>          Documents
 17/10/2023  14:58    <DIR>          Downloads
 ...
                0 File(s)              0 bytes
               14 Dir(s)  373,509,562,890 bytes free

Copy the .android directory and its contents to the corresponding place on another computer. Provided you keep this data safe, you can use it to authorise any future computer, even one you don't have yet.
On Linux or macOS
In the shell:
ls -ald ~/.android

Other solutions
Extremely custom ROMs
If you're willing to rebuild Lineage OS from source, you should be able to build it with USB debugging pre-enabled and then flash a Lineage OS supported device with it. However, using such a device as your personal device would be silly: if you lost it, it's trivial for someone to get into it.
Devices that come pre-enabled for USB debugging
For completeness, there are devices that can run Android that come pre-enabled for USB debugging. However, they are not phones or tablets that you'd want to carry around. They're single-board computers, a bit like Raspberry Pis, designed for doing heavy-duty hardware or software development. They're intended to live in labs, not to be personal devices.
Non-solutions
Termux has no reference to doing this in its wiki.


text:
No Mobile Network In Samsung Grand Prime
Samsung Grand Prime Phone. There is no Mobile Network. I tried *#*#4636#*#* but it didn't bring up the Testing Menu. I am not able to search operator or change the network mode. The IMEI in *#06# and in the phone is same.
When I remove the sim it displays insert sim card. When I reinsert it, it's able to find there is a sim inserted but there is no signal.
I installed Network Mode app and it shows Radio is Off. Turn Radio On is not working.
When I get into settings for mobile network, it will not allow me to search. When I click search it will say mobile network not available. Both automatic and manual search says the same. The SIM works fine in another device. I can confirm its definitely device.
Can somebody point me in the right direction?
EDIT
I have updated the phone using Kies and now its in 5.0.2. Still no signal. There is a Blocked Symbol near the Wifi Symbol

EDIT2
How to check that I have correct modem for the phone ?

Does it show a proper string in Settings - Baseband version? Also, in more extreme cases, is the phone compatible with your carrier (e.g. don't run a CDMA card in a GSM-only phone)?

Yes it shows proper baseband in settings.  Its an GSM phone and I am trying GSM sim only. I am not able to call Emergency Number too. It says Radio Off

That testing menu doesn't work in my Samsung Galaxy On7 as well. I believe Samsung has disabled it.

Can you confirm if the phone network was working before?I guess the EFS partition is corrupted, you'll need to flash it. Or the phone isn't network unlocked even though it isn't asking for network *code.

Also, have you tried putting another SIM card?

yes, it worked before. Yes I have swapped sim and tested

If you go into settings and advise it to chose the carrier manually, is there any carrier shown to select from and is not blocked (i.e. no lock symbol next to it)? Does this SIM you're using work in another device? Just to clarify whether the culprit is the SIM or your device.

@Izzy When I get into the setting, it will not allow me to search. When I click search it will say mobile network not available. Both automatic and manual search says the same. Yes the sim works fine in another device. I can confirm its definitely device.

I can confirm that the stop sign symbol in Android 5.0 appears whenever your mobile network's service is down/unavailable. (In Stock Android Phones running Android 6.0, the stop icon is associated with Do Not Disturb, however on Samsung Phones with Android 5.0, the stop sign means the network provider's service is down).
One common reason as to why there may be no service is because you are using your phone in a remote area (where service is generally not available)
Now to try and solve the problem, take your phone to your carrier and explain the problem to them (hopefully they will have a solution), or maybe try using a different carrier and see if the problem is solved that way.

Well, I think the issue is related to the EFS partition. You need a repair firmware and use Odin to flash it then see if it will solve the problem.

Try one of these repair firmware: G530FZXXU1ANL7 / OXX1ANL4 v4.4.4
or G530FZXXU1AOB5 / OXE1AOB1 v4.4.4
Download Odin (Windows)
Download Samsung USB Drivers or Samsung Kies (comes with drivers)

Unzip the files, open Odin then load each file in its respective slot. Put the phone in Download Mode, connect to the computer the hit start on Odin.
The operation should fix the issue.

dear i think u have to open your mobiles setting,in setting open mobile network and chose 2G.....

How should that help? If LTE is unavailable, the device will automatically switch to 3G, and then to 2G should 3G be unavailable as well. If there's no signal at all, there's no signal manually either.

source: Stack Exchange

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

sort: votes


text:
Does Google Play Store not want to support the bandwidth of download?
If an app such as Pokemon Go isn't available on Google Play store yet, and millions of people download it from apkmirror.com for three days, does that mean during this time Google Play store doesn't want to support or pay for the download bandwidth?
Or does it mean the app is still under verification and Google still has to verify the app? But if so, millions of people still download it regardless.
I am somewhat concerned because if it is the director or CTO / CFO or government officials thinking apkmirror.com is 100% safe and download the app, you never know whether the app is tampered and what the app can be doing. It gives a security hash but even that can be tampered or hacked. If it is Google Play store, at least you know you have Google to stand behind it.
P.S. Niantic announced the update on Nov 1, 2017, and right now is Nov 6 and the update is still not out on the Google Play Store yet. But it has been on apkmirror.com since Nov 1. It doesn't show how many downloads so far, but it could be hundred of thousand of people, if not millions, because the update has bug fixes and also said to allow users to power up Pokemon to level 40, which was affected by a bug since one year ago that only allowed people to power up to level 39. Well, the "bug fix", after one year, turned out, reported by other players, to only allow players to power up to level 39.5, but due to this fix, it could be many users already went the apkmirror.com route to download it.

No, it doesn't mean that at all. It just means the developer of the app doesn't want to launch it on Google Play yet. In the case of Pokemon Go, it's because Niantic want to have a closed beta period to limit the load on their game servers, but people are pirating the app through sites like apkmirror.com.
Unlike the Apple App Store, Google Play doesn't have a manual verification process on apps, so there's no week-long delay between the developer uploading the app and it being published. Apps on Google Play are published immediately when the developer chooses to publish them.

The above applies just as much to updates as to the initial version. When a developer uploads a new version to Google Play, they can choose to roll it out only to a list of chosen users as a "closed beta", or to do a "staged rollout" to a randomly selected subset of users (say 5% of users). Again, this is the developer's choice, not Google's.
Staged rollouts are good for developers of the most popular apps, because it exposes the new app to some live users in real-life conditions. If there's a problem it's easy to revert the update or just avoid sending it to the remaining 95% of users until the problem is fixed, depending on how severe it is. That way, most users aren't affected by the problem.
When a closed beta or staged rollout is happening, the majority of users won't see that there is an update at all, and they can't access the update through Google Play. A closed beta might last for a few weeks or a month, but a staged rollout is typically less than a week. After that, all remaining users get the update.
It only takes one user in the beta to upload a pirated APK file to a piracy site, which is why you'll see the update there before you get it officially.

it would seem weird that Niantic would like Apple to approve the new version ASAP, while holding back on the Google Play store... maybe one explanation is Niantic want them to go out at the same time for iOS and Android? But then, who can pirate it and put on apkmirror.com if Niantic never published it on Google Play store yet?

@太極者無極而生They did publish it on the Play Store. It sounds more like they aren't distributing it in your country, or your device is not compatible.

@eldarerathis Or the device has been modified, and SafetyNet cannot be passed.

@DeathMaskSalesman Yep, also a possibility. I forgot about that one.

Usually, the pattern is: (1) Pokemon Go is announced to be in the process of an update. (2) apkmirror.com will have it almost instantly or within the next few hours (3) two to three days later, Google Play store and Apple App Store will both have it. My device is an unmodified, top of the line Android phone... almost everyone is in the Pokemon Go community is experiencing this pattern

@太極者無極而生 but Apple is, and has always been, Apple-exclusive and developers have little or no choice except to use Apple for mass distribution of apps. For Android the system is a lot more open, and while (I assume) most devs distribute via Play Store, they can also distribute through Amazon as well as numerous other app platforms.

so we have to trust ThunderBoltDog and AlmightyDiamondLady or whoever running or uploading to apkmirror.com?

@eldarerathis I saw that page that it is "published" on Google Play Store, except the date is Nov 1, which is new, but the "current version" is 0.79, which is old, and in any event, right now is Nov 3 and I can't download it on my Android phone and it typically will need to wait 1 to 2 more days if it is like before

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


text:
Is there /etc/shadows in android termux?
I tried the following:
$ pwd
/system/etc
$ ls | grep 'shadow'

But nothing was found.

What is the actual problem you're trying to solve?

Learn how to ask

No. There isn't
Keep in mind that Termux is only a Linux environment. It's at least vastly different from a real GNU/Linux system.
Android has its own Unix user system, which does not have logins and passwords. So you'd not expect /etc/passwd and /etc/shadows to exist.


text:
Prevent deletion of all data after 10 incorrect unlock attempts
"You've incorrectly attempted to unlock the phone 1 times. After 9 more unsuccessful attempts, this phone will be reset, which will delete all its data."
This is actually worse than just letting the attacker access my data, because now I can't get at it either.
As such, this lockscreen is actually worse than not having a lockscreen.
This phone is a (Tracfone) Alcatel (TCT) A577VL (supposedly a Pixi 5 HD), and it doesn't appear to be rootable easily.
1) How do I get rid of this feature, or replace the lockscreen application, without rooting?
2) The A577VL (Pixi 5?) does not appear to officially exist according to Alcatel; can I root it to fix this more easily?

Screenshot (click image for larger variant)

"This is actually worse than just letting the attacker access my data, because now I can't get at it either." – I disagree. This is security – and for the second part, you have a backup. Haven't you? // As for "getting rid": Do you want to disable the lock screen completely (which can easiliy be done via settings) – or just disable the deletion part (which might be achieved by disabling the integrated lock and using a 3rd party lock screen)?

"This is actually worse than just letting the attacker access my data, because now I can't get at it either." If an attacker gets hold of your phone, I assure you that you aren't going to get it back, nor will you be getting the data from it unless you have everything backed up somewhere.

@Izzy to answer your question, i've clarified the first point

@MichaelKohne i'm far more concerned about the case in which someone (a fellow student, or an unruly young family member,  for example) just sabotages my phone by abusing this feature -- they know they would get in more trouble for stealing it (or it would be inevitable that I get it back) than trying to unlock it, so they would just leave it where I left it, having succeeded in their harassment. alternatively, having factory reset the phone, now it is their device, freshly from the factory, and not my device, and there's nothing i can do to prove ownership short of the removable serial number

OK, valid points, @cat – take a look at my lockscreens app listing then. Personally, I'd avoid those with too many permissions (numbers in the square boxes next to the app name) – especially CM (Cheetah) and GO (both: ads, trackers: mouse-over the "monitor icons" in those lines for details). "C Locker" is a good one, though. Haven't tried the others.


text:
how can I search for my contacts by only providing the words not start from the beginning?
I am using Android mobile phone. In the Contacts, I find out that it can only search for contacts if I provide the words start from the beginning.
For example, if my friend is called "David". I could not find him if I only put "vid" in the search box.
May I ask how to improve the search algorithm for my mobile phone (I know it is doable for Google Contacts)? Thank you.

Some manufacturers replace the contacts app with their own. What make of phone do you have?

I am using wileyfox


text:
Can an encrypted SD Card be recovered?
My hopes aren't very high for this one but here's how my problem goes:
I am using an LG V10. Over the summer, its motherboard decided to die and it was replaced. Therefore the external SD card I used and encrypted on my old motherboard is now inaccessible :/ Is there any way to reach its contents?
If android devs really didn't come up with a way to decrypt an SD card on another device than the one its encrypted on, then there's no point in using encryption at all and maybe even no point in preferring android either..
Thanks for any help in advance

What kind of encryption are we talking about here: adoptable storage (using the card as internal storage), or something else? In the former case: as your PCB got replaced, the original "internal storage chip" is gone as well. So even with root powers, there's no way to retrieve the encryption key – no chances in that case.

@Izzy Well, I am not sure about the technical term, but I was using it as additional storage in addition to the default internal storage. So it was something like 32 gb internal + 120gb external sd (this is the one I talk about)

Something like what's described in our adoptable-storage tag-wiki (with screenshots)?


text:
Homescreen toggle shortcut for color inversion under accessibility in Android 6.0
Is there any way, shortcut or app which just toggles the color inversion option which is under Accessibility in Settings.
It is cumbersome to go to Settings ~ Additional settings ~ Accessibility ~ Color inversion.

LineageOS allows this but as Android features vary from device to device...

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


text:
What is this icon in the notifications bar
Hey anyone know what this symbol means? Thanks

This would be evident by pulling down the notification bar. In this case it would accumulate into a message such as "3 apps updated", and would list them.

Icons show that apps were updated by Google Play Store.

The icon is from Google Play Store, meaning that you have multiple apps installed. One for each icon, or you have some apps updated, in which case there's an extra icon.
Pull down the notification center and you'll see all the related activities, which should read "xxx installed", or "# apps updated", along with their names.


text:
Problem with my Phone charger
When I connect my phone to the charger it indicates its charging but the charge is actually dropping. I disconnected the cable from the ‘head' of the charger and tried using my friend's ' head' and it worked fine. What could be the problem with mine???

What do you mean by "head"? The charger that plugs on wall and has a USB output?

Yes. The kind of charger that has a plug and usb cable seperate. Like the one below

I have had this experience too. There are a couple of possible reasons that I have found:

your phone is using more power than the charger is supplying
your phone has detected the charger is connected but is not being charged

The first, and possibly most obvious answer is that your friend's charger supplies more power than yours. Check the current rating on the charger, is it 1A, 2A, etc. But usually the charger, if it is the one supplied with the phone, should be charging the device whatever the current rating.

When the phone has been using more power than it's getting from the charger (with a 2A charger) I have had the screen on and usually some apps running. Closing open apps and locking/turning off the screen has usually fixed this.
The second, and usually more common problem that I had (with my previous phone) was that the connection wasn't always "good" on the phone's micro-USB. I use the quotes because I had no problems with transferring data over the USB connection yet the phone wasn't charging. Simply unplugging and re-plugging the micro-USB connection usually fixed the charging issue. Weird.

Love the Samsung's 5.3V charger ❤ It charges everything I have, including my RPi's and Chinese Windows tablets.


text:
Google keyboard (gboard) keeps crashing, won't go away
After a recent Android update, about a month ago, "gboard", the built-in Google keyboard on my Nexus started crashing.  This made the phone completely unusable, of course.  With some effort, I managed to install an alternate keyboard -- Swiftkey -- and this made most of the gboard crashing go away.
But not all of it.  Every hour or so, I still get an "Unfortunately, gboard has stopped" dialog box that locks my phone until I ack it.   This is rather problematic if I'm using the phone for something else, and (for example) will cause my alarm clock app to not go off.
So, question:
How do I stop the "Unfortunately, gboard has stopped" dialog from ever happening again, short of a factory reset?
Can I reinstall or uninstall gboard?  How?  Can I surpress the error dialogs?  Is there some other solution to this?
(Note: "wait for some update to fix the problem" is not an answer; I have no reason to believe that this is a general enough issue that Google will ever fix it)

Is gaining root privileges an option?

Can you disable gboard in settings>apps>gboard?

Also see if gboard works fine in safe mode. You can also try uninstalling updates for gboard, see if that helps.

Disable GBoard.

rooting the phone is an option, do you have instructions from there?
Disabling gboard doesn't seem to be an option.  It's a built-in.  I already tried reversing the updates, which resulted in the prior version (Google Keyboard) crashing all the time, so no help there.

This still happens in Nov 2019 on some devices.

Well, if someone can test Jinen's answer, I can select it (or not).

It's very easy - just follow the instructions below:
Open Settings/App Management/Gboard/Storage;
Then clear up the cache and you are good to go! If it does not work even after this step, you have to follow the exact same instructions but instead of clearing cache you clear data. That is a sure shot method to get it to work, but I do not recommend it before you clear cache as when you clear data your preferences are reset.

Thanks!   I can't test your instructions, though, because I've since replaced that phone.

Selected this answer based on @Beard Of Dan's confirmation.  Thanks!

Ok I have just fixed this on my Motorola phone (the problem has just recurred very widely this December 2019). I believe an update has been rolled out to solve the problem so the issue is, how to get your gboard updated if it hasn't happened automatically.
"Gboard stopped working" kept popping up on my screen while following through on the process below, so I had to keep selecting "ok" every time it popped up, giving me small windows in which to perform the necessary actions.
Go to the Play Store, search for Gboard (SEE BELOW) and identify the app (which had its icon next to the word in the search options that came up for me) and select it. You should then have the option to update the app. Select update. After the installation finished everything was working again for me.
IMPORTANT To enter Gboard into the search bar you cannot use the keyboard. So select the microphone at the right-hand end of the search bar and speak, "Gboard" - i.e. use voice to text.

This solution worked for me on a Motorola phone. I couldn't find the setting referred to in Jinen's answer. Thanks so much!

Glad it helped

Having solved this problem, I can affirm the answer given by Jinen Setpal. Not having 50 reputation, I can't make a comment, so I'm saying this as a separate answer.
When I had this problem, not every button was responsive (even if there was a slight cue in the UI that it had been pressed). This prevented me from simply clearing the cache for Gboard, so I had to clear the data (I think it was around 60mb, then it went to about 40 something kb). Just as Jinen Setpal noted, there was a confirmation popup that warned that all of the data for that app would be deleted, even from databases (meaning that there is no backup for it).

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


text:
Regarding internal storage files
I'm new, hope I do everything right. Ok, I found a file in my internal storage where the path includes DRAWING/TRACKING/DRAFT . I found out there are 907 files within this main file. I hope i make sense. How did these files get put here & how can I delete them.  When try accessing the files,  I get the error msg that I don't have the correct app to open it.
 I'm on a samsung galaxy J7-perx.
Thanks

You cannot open those files simply because your phone does not have any app to open such files. For example, if you don't have a word processing app, but try to open a .docx file, you'll be unable to open it. Similar is the case here.
If you cannot open those files,you don't need to look for an app to open them, because I can assure you that you'll not be able to understand what is written in then.
Here is what you can do:
Step 1: Scroll through the files, and see if you can associate the file name to any app already present in your phone.
Step 2: If you cannot do that, then copy the whole main folder as it is, with the subfolder, to the sd card.
Step 3: Delete the main folder.
Step 4: In the next few days, try opening every installed and enabled app and use it as normal. Make sure that you use each and every app at least twice after deleting the folder from device storage.
Step 5: If any app misbehaves, then those files belong to that app, and restore then from the sd card to the device storage.
If no app misbehaves, then those files are residual files of some app which you have uninstalled recently or in the past. You may try using each app for a week or so to make sure they don't misbehave. If everything is alright, you can delete that folder from sd card.


text:
Using apps from two countries on the same device
I split my time between Canada and US among other places. Let's say I have things like bank accounts in both countries, and it is often the case that the mobile banking app for a bank is only available in the play store for the country the bank is based in1.
My phone is connected to the US app store, and my payment information is from the US, so I can get all the US apps fine. Is there any way I can get the Canadian apps as well? I don't want to permanently change my app store country, but adding another account or something would be fine. I don't need any paid apps on the Canadian side, only free ones.

1 This is the case for TD Canada, for example, which only makes its app available on the Canadian app store. The other big banks, however, all put their app on the US store as well.

Adding a second Google account should work. If you're in the US and you're trying to download Canadian apps try this:
(It worked for me without the vpn but you can try with)
1.Download a vpn from play store. Make sure it's one that allows you to choose the county your 'in'
2.Turn off location on your phone
3.After successfully setting up the vpn, to the desired county, add a Google account to your phone (settings/accounts/Google/and account.)
You might need to create new account in case Google 'knows' your spare accounts location
4.Now, go into play store, open the menu and change the account to the one you just added. Try downloading the app.
After that you could switch between accounts within the play store app depending on which apps you need to download

If you don't want to add new account, you can go to payments.google.com and manager your billing info and country from there.


text:
My voicemail number transfers to 000
My voicemail number #101 when dialled, dials the emergency services #000 how do I stop it happening?

Go to settings>call>voicemail. Change the number to the one your carrier requires. Check online to find out what number that would be. I'm not sure if dialing #101 will do the trick, but after changing the above settings, long press on number 1 in the dialing app and that should bring up your voicemail

No still doing the same

What carrier do you have

Boost which is Telstra

It seems like it might be an issue with the carrier. All i can suggest is you should contact your carrier.


text:
Will flashing a custom ROM relock me with SIM carrier?
I got a Samsung Galaxy S5 (SM-G900P, Sprint) running stock Android 6.0.1. As it comes, it's a CDMA phone, but I got it unlocked at a phone repair shop to use GSM and it has been working fine, but it only goes up to 3G.
If I flash a custom ROM (lineage-14.1-20171004-nightly-kltespr-signed), will my unlocked phone stop working with the SIM? or the unlock will remain after the installation?
P.d: I don't know if it's relevant, but I'm outside the US.

Don't rely on me as I'm not a developer, but as far as I know, flashing custom ROM has no effect on SIM, because unlocking SIM card has no link with phone. If you unlock it once, it stays unlocked in a different phone as well (you can actually check that). But as I said, don't completely rely on me.

Correct me if i'm wrong but the unlocking part happens on the phone not on the SIM. The process allows the phone to use the SIM but i don't know how to make that unlock persist after an instalation

(@WrichikBasu i image the OP meant to ask if the phone will get locked to the carrier. )After a factory reset my phone didn't get locked back to at&t so i don't see why it should lock back for you. I might be wrong though

As I said, I'm not confirmed in my comment, otherwise I would have given an answer. But the unlocking part is done on the SIM through the phone. The SIM is locked, not the phone. So I think it should remain unlocked.

SIM unlock is in the phone, once it is unlocked any SIM can be used without a check. The ROM itself is not relevant, you can flash any one you chose and it will not change the carrier SIM restrictions. Once it is unlocked, it's permanent. Note that this is completely different than a bootloader unlock, but that is not changed by flashing a custom ROM either, but depending on how the manufacturers stock ROM image is configured going back to stock could relock the bootloader but will still not relock the SIM.

I made it in 2 Samsung Galaxy S5 (Sprint) and it worked. They were unlocked and I flashed LineageOS.
But keep in mind, if you want to do this, flash the appropriate ROM. In this case, I flashed the LTE version instead of the Sprint version and it kept the unlock.


text:
How prevent Pixel 2 from sleeping while dictating?
I just dictated a long email message, but several times during the dictation, my Pixel 2 went into sleep mode, so I had to unlock it to continue dictating. Is there a setting I have to modify to keep it from doing this?

I saw a reviewer talking about that and i believe there is no fix in settings for that but I can recommend you an app called caffeine that keeps your phone awake for a set amount of time


text:
Some app is causing bootloop
It happened when Google Play was automatically updating apps. I guess, something went wrong and the phone suddenly restarted and was not able to turn on again. It always gets stuck on "Starting apps" screen and then restarts again (bootloop). I figured out, that if I can delete the app causing bootloop it should be just fine. However, I don't know how I could do it.
My phone is nexus 4 running Android Marshmallow. Also, I have a custom recovery (cwm 6.0.4.7). So, I tried to connect through adb to the phone in recovery mode and delete the app, however, I can't use any adb command, because "device unauthorized". I assume, as soon as I can get access through adb, I can delete the app.
After surfing many forums for the past several hours I couldn't able to find any solution which preserves data the phone has. Any ideas how I can delete/fix the app without loosing any data? (nexus 4 doesn't have SD card slot). Thanks.
P.S. wipe cache partition didn't help.

Didn't know CWM offers ADB access (TWRP does). But have you tried, from CWM, to delete the cache? That might already do the trick (not guaranteed, but worth a try and doesn't destroy any data).

Yes, I did "wipe cache partition" and "wipe dalvik cache", it didn't help. If I change my recovery to TWRP, will it help? I think I will still stuck with "device unauthorized".

You could try fastboot boot twrp.img (that would just boot it once without making changes to your device – at reboot you'd be back with CWM) to find out. As I've just done so with one of my devices returned from repair (PCB replaced), I can report there was no "unauthorized" but it simply worked "out of the box". // Please let us know the outcome then.

"FAILED (remote: not supported in locked device)". My bootloader is locked, and unlocking it will erase all the data. Well, I guess I have no choice except wipe the data. Thanks!

Umm, well, if you re-locked the bootloader after flashing CWM, that's probably the only option left. But before that: If you have a Linux machine, try running adb as root. It might well be it's not the device rejecting the connection, but the PC refusing it. Had that once.

It didn't work either. Anyway, thanks for you help! ;)

I just faced and fixed exatly the same problem on my Galaxy S3 I9300 with Android 6 Marshmellow (bliss 6.1 rom). Bootloop happend without any warning at the Night of 31st to 1st November. Just saw my phone rebooting ever and ever. Over the last 5 days I tried to get it back working or even to get some more backups out of the twrp backup.
What I found was: I got it running with factory reset and right after installing either of them: telegram, davdroid, the phone crashed directly in the appstore while installig. Then the phone rebooted and got stuck.
Important: you should make a twrp/nandroid backup if you not already did.
a lot of reading, testing and questions in xda got me that far and this link here finally brought me to the ida: TWRP backup - Can I restore some app data without restoring the whole image?
initial Idea:
extract all neccessary /data/data and data/app subfolders of your apps in the system and restore them to a clean factory reset.
This worked not perfect but I got it running to access some more data as before. I did the copy or delete of the app folders through twrp -> advanced -> file manager.

Update:
After I later got another(quite simple) idea on the base of initial guest  post: why not going the way in the other direction and removing apps in the broken installation.
This did the trick perfectly. I finally got into my broken rom again, all remaing apps worked as before (quite important to me since encrypted apps like threema and signal are not just copy-data-backups).
Right now I am doing backups of my old Android 6 system :) for the import in my new Android 7 setup.
Hopefully it works for you, too!
OK now step by step what I did:

be sure to have a twrp backup of your device (efs,boot,system and data) and to have your broken system installed and not factory reseted.
then in twrp got to advanced -> filemanager and navigate to systemfolder. there delete all unneccessary apps by deleting the appropiate folders in /data/app and in data/data. This will "uninstall" the apps. These will not be optimized or loaded when you boot up. I especially deleted Telegram, DavDroid since I knew out of my checks one of them was causing the error. but i just deleted more apps that I do not need a backup or which are less important. For me this did the trick! Even better this can be done 1 after 1 if neccessary. I first tried this with all apps -> again bootloop. Tried it again with less apps -> worked. So its likely not the system its directly a app in the optimizing/starting process killing the bootprocess.
just to be sure clear cache and dalvik cache to be sure android is reloading the changes and not seeing and cache
then go for a reboot to system (Fingers crossed)
if your're able to boot in again, then imediately open google play store -> scroll down to settings and deactivate automatic update of apps ( Just to be sure not getting any update causing a crash while you are inspecting your data, making updates and so on)
finally i would recomend thinkig about moving on to a Nougat rom (if available for you). It's likely that there will not be an update soon fixing this bootloop problem (even if its unclear what caused it or which app(s)). I choose ressurection mix since its a quite active project and frequently updated.

best luck to you guy, I know how hard this problem hits.Alex.
(Guest "Alex." and me are the same author -just forgot that I already have an account).

Thanks, but I already rolled back to stock ROM (android 5.1.1). Many users of custom ROMs faced the same problem in the beginning of November. In my and your case it was caused by Telegram, however other apps have the exact problem. According to some forums, it is related to the release of new Android Studio and something related to AAPT2 (didn't investigate this yet). So, I guess soon my custom will crash more and more when developers migrate to new Android Studio, therefore I've decided to use stock ROM.

You're right, since I more and more focused to this I found the confirmation regarding DavDroid. Telegram I found some discussions, too but no official statement. Here's what they say at DavDroid: Version 1.9.2 (November 4, 2017): build tools 27 works around bug of some custom ROMs that causes crashing apps and boot loops


text:
Can Liquid screen protector be applied to the back of a phone
This is more of a hardware question...
I got my LG V30 recently, and after a few days of usage without a case, I noticed I got a feel minor scratches, and one bigger one.
My question is this? Can I apply a liquid glass screen protector to the back of my phone too, to add some protection, qnd cover up the scratches I made.. Would that interfere with things like wireless charging or NFC?
Thank you in advance!

A screen protector, except a minority of extreme ones, don't interfere with any electric parts of your phone. It doesn't even contain any metal, usually. So there's no way that it can affect your mobile signal, NFC and blah blah blah. Its only use is to protect surfaces from scratches.

So its completely fine to put one on the back?.

@Eddie Yes. (Sí.)

@Eddie I have a protector on every phone I own, but personally I prefer a case rather than a piece of film or glass protector, as the latter won't protect the edges, especially corners, from collision (when my phone falls down).

I do have a case, but I would also like to apply a liquid screen protector to the back and the front. Since I have a few minor scratches on the back, and the liquid screen protector would fill those in


text:
Can't connect Samsung phone to PC
My SM-J701F (Android 7.0) stopped connecting to any PC after a failed root attempt using KingRoot(PC). I have been using the official Samsung cable, and the phone used to connect just fine before i tried Kingroot. Now the phone just charges itself after being connected via USB.
I've tried setting USB config as MTP, installing MTP drivers in PC, uninstalling phone drivers from my PC, changing cables, changing PCs themselves- nothing works. Neither the PC nor the phone detects any connection.
The phone can't be rooted now, so I can't find a way to restore it to a previous backup either.
Please help.

Please tell me how I can use Odin and flash custom recoveries without USB connectivities.

Modifying the system is the hard way. Did the phone gain root access finally or it halted upon Kingroot's trial? So that I may know what exactly to say to you? If it didn't, you should try another application to try rooting it, install a custom recovery highly recommending TWRP and then backup another device of the same type and restore it on your phone of incase you don't want to loose your personal data. Ensure you backup only data folder of your phone without the system partition and restore it after doing the backup from other phone. Kingoroot is another tough rooting alternative

Just use ODIN, reflash that phone and be ready to go from official firm again. Simple. Or if you want a complicated way of getting that done you can say so that imma show you

Yeah. Explain that complicated way please


text:
Calling adb through command line ignored
So the problem I am having after a Windows reinstall, is that whenever I call ADB, it just gets ignored.
Calling adb from my custom tools seems to be working (have a d.bat file, that calls python, that calls ruby, that does some advances magic with adb, the d.bat is in environmental variables, so just writting 'd' in cmd calls it fine. Why the bat -> py > rb? don't ask. It works. I use it for work..)
If I path to adb (D:\Android\sdk\platform-tools) then adb is called fine. From anywhere else - nope. But the same path is in Environmental Variables, I restarted the command lines to make sure it takes affect, that didn't help, so even restarted the pc. Still nothing. I'm out of ideas. Would be great if anyone is able to help..
CMD: https://puu.sh/ydFo9/7b9b58f456.gif
Env: https://puu.sh/ydFqh/0d8717dce0.png

My guess would be there's some executable called adb somewhere else in your PATH (which would explain why calling the right one with full path does work). Not sure how to check that on Windows; on Linux I'd use which adb to see what's used by default. You could manually check each PATH in your ENV if there is some adb.(exe|bat|cmd|*) file – it's not that many places :)

@Izzy Yep. Im retarded. My own files are named adb.py and adb.rb...
Bumped sdk folder to the top in Environmental Variables and now it works...
Thanks : D

Glad to read it really was that simple – and thanks for self-answering your question (upvoted)!

Izzy was correct. My own files were fighting with the sdk's.
Bumping '\sdk\platform-tools\' to the top of the Environmental Variables list fixed it..
Probably should also rename my files to not 'adb'.. But they have a lot of dependencies on each other so that's on 'TODO' list.


text:
Missing many UI elements
In an attempt to clear device from tons of ads randomly opening and covering whole screen, I have uninstalled majority of preinstalled software (like TurboCleaner and MegaShop or something like that). After doing it there are no more ads covering whole screen, but also system UI is broken - there is no status bar (the top bar with notifications), software buttons are not present (device doesn't have hardware buttons), after installing app for software buttons I also discovered that showing all running apps (the square button) is not working (I think it was broken even before a restart, when status bar was still present). Tried installing Nova launcher in hope that it could fix the missing status bar, but even after toggling the option in settings it did nothing.
Any ideas? I would prefer not to do a factory reset - I think it will only bring back those full-screen ads displaying every few minutes, in lock screen and so on.
Device: Prestigio MultiPad Wize 3131 3G
OS: Android 6.0
The tablet is not rooted or modified in any similar way.

Most of the time these bloat-wares are included into the ROM itself and removing these can cause system issues, you are facing the same problem here.
I would suggest you to -

reinstall all the preloaded apps and check the result.

For preventing unwanted ads you could disable those apps or, use some sort of ad-blocker/ network firewall app.
Hope this helps.

Am confused with the answer, can you pls tell the answer.

Try to reinstall all apps you have uninstalled, it should work.


text:
Can I run a Linux executable on Android?
I wondered if it is possible to run a Linux executable on Android so I made a simple console application in Code::Blocks in C++ (I am using Ubuntu Linux), built it in release mode and copied it into a virtual device in GenyMotion (because I don't have a real x86 Android device).
I installed the app called material terminal on the virtual device and moved the executable into /data/local/tmp.
I gave it execute permissions by typing: chmod 777 hwrel.
Then I tried to run it by typing ./hwrel ,but it said sh: ./hwrel: no such file or directory.
Is it even possible to run Linux executables on Android?

Related/possible dupe: Can you run Linux command line apps on Android?

Yes it is possible but due to Android using a different libc and architecture you'll need to compile your program with android-ndk.

But the architecture is the same since I am using a GenyMotion for this purpose.


text:
Corrupted files on internal storage (now readonly), how to repair internal storage?
I have an GT-I9100 with Chameleon.3.0.4 ROM (and ROOT).
Android-Version is: 4.1.2
Since few month, my internal SD-Card (internal storage, not external SD) became readonly.
I cannot add/edit/delete any files on it anymore.
I noticed corrupted files in /storage/sdcard0/Android/data/com.google.android.youtube/
(wrong filesizes (each > 3GB) and wrong/unreadable filenames),
which I am unable to delete or fix.
So, I tried to execute fsck_msdos -y /dev/block/vold/259:3 (as root) via ADB-Shell, which shows me:
** /dev/block/vold/259:3

Boot sector contents:

sectors per cluster:..........64
number of reserved sectors:...2236
number of FATs:...............2
number of sectors are in FAT:.2946 (1473 KB)
cluster mask (bit):...........32

first cluster offset..........8000
cluster size(bytes):..........32768

hidden sectors:...............0
number of clusters:...........376963

volume serial number:.........407a-07d3
volume label:.................NO NAME    { 0x4f 0x20 0x4e 0x41 0x4d 0x45 0x20 0x20 0x20 0x20 0x46}

** Phase 1 - Read and Compare FATs
Attempting to allocate 1473 KB for FAT

Attempting to allocate 1473 KB for FAT

** Phase 2 - Check Cluster Chains

** Phase 3 - Checking Directories

Invalid long filename entry for /Android/data/com.google.android.youtube/�ILES

Remove? yes
check_dot_dot: '.' absent for /Android/data/com.google.android.youtube/�ILES.
check_dot_dot: '..' absent for /Android/data/com.google.android.youtube/�ILES.
Remove? yes

FSNext block (322159) is correct, NumClusters (376963)

12387 files, 646240 free (20195 clusters)

***** FILE SYSTEM WAS MODIFIED *****

Which looks good.
But when I re-run this command, I always get the same result.
Which shows me, the file system was not modified, cause it's readonly.
So, I tried to re-mount the storage in RW-Mode.
Fixing the file system, did not work for me. (fsck_msdos couldn't repair the fs)
Question:
How to repair the internal storage?

This is an answer to my own question:
I managed to fix this problem (until now), by doing following:
(NOTE: Do this at your own risk!)
01.  boot into Android and enable USB-Debugging
02.  backup data from SD
03.  update busybox via PlayStore
04.  reboot into recovery mode
05.  mount system partition (via recovery tools like CWM)
06.  connect to device via USB + ADB(-Shell)
07.  get internal SD device name (via mount which is for me/dev/block/mmcblk0p11)
08.  format internal SD (via mkfs.vfat -F 32 /dev/block/mmcblk0p11)
09. check new formatted partition (via fsck_msdos -y /dev/block/mmcblk0p11)
10. reboot into Android and check if internal SD is writable again
Until now, my internal SD became writable again!
Of course, all data is gone.
Cheers!

Why the downvote?!?!


text:
Is it possible to read IMEI from emergency call dialer?
I am looking for the method to read IMEI from emergency call dialer, before the phone is activated. When I try *#06# it says that this is not emergency number.

On phones with removable batterys you can find the IMEI number under the batteries

On phones with non-removable batterys you can find the IMEI number on stickers.

No. The system does a check against a list of numbers (provided by system property ril.ecclist/ro.ril.ecclist; by detecting the current country or locale) and if that doesn't match with the available numbers, it doesn't proceed with the dialing and informs the user.
Related read: Do all Android phones come with emergency call (power button pressed thrice) feature?


text:
How Can You Change Which Microphone Is Used During Calls?
My LG G4 phone's main microphone is broken but it's secondary microphone is working. That is, during ordinary calls or voice recordings, the microphone doesn't pick up any sound (completely dead) but during speakerphone calls or video recordings that microphone works fine.
Is there any way to permanently redirect the primary microphone to the secondary one, so that for ALL calls, the secondary microphone is used to pick up sound?

As this is a hardware issue, rather than software as I had thought, then try cleaning holes, gently pressing areas close to mic , or even thorough cleaning this area, and see if ot changes. But in case it didn't work then try automation as I had suggested to keep speakerphone active. Good luck

Exactly what @xavier_fakerat Use a toothbrush with a little alcohol. It will get it loose without harming the phone.

I just found a way to do that. You can use Tasker to automatically start the loudspeaker(which starts using secondary mic.) and then also add a rule to Tasker to reduce the loudspeaker volume to minimum which will very closely simulate the situation.

Problem is that the loudspeaker is at the back of the phone


text:
How to archive all photos from an album in google photos app
I have an album with more than thousand photos in it. I want to archive all the photos in this album. I didn’t see any option in google photos app for archiving all the photos inside an album.
Is there any way to do it quickly without having to select all the photos one by one and then archiving.

have you ever found a solution for this?

No. I didn't found solution to this yet

I put all the photos in an album, then from the landing page I performed a search, keyword [album_name]. Search returned the same number of photos as is in the album, but I haven't checked them one by one. Then, select all and select archive.

only problem with this approach is that i am finding it sometimes takes more than a week after uploading and creating and album that it will actually find it in a search, which is, quite frankly, ludicrous!

I've only found a way to do it from the desktop app :

click the checkbox to select the first photo
scroll to the end of the album
hold shift and check the checkbox on the last photo

It should check everything, and then you can archive them with one click.
I had no luck googling for this exact question until I thought to search for "Select All" instead of "Archive All".


text:
Is it possible to retrieve data from a phone that is no longer in existence?
My phone (LG) was run over by a truck and completely destroyed.  I have since purchased a new phone (LG Stylo-2) and was hoping to get data from old phone.  The old phone has been disposed of.

As the mobile device is gone, so is the data that was on that device physically. Whatever data that you allowed to sync with cloud services present in your device is still available when you login to the perticular service /app. Like your contacts in your google account.

Add your google account on new device which was on the old one, you will be able to restore contacts, google photos and perhaps data for some of the apps.

Is this question serious?

Not unless it was backed up. Most android phones back up to google drive. If you had kept it, you might have been able to take it to a repair shop and get the data off of it.

Since data are primarily stored physically on the device, you won't be able to retrieve all of them.
Most modern phones have a feature called "Cloud Sync", which syncs some of your data, primarily your contacts, caleadars, notes and settings. You can easily acquire these data by signing in to the cloud sync service with the same account.
For other data, I'm sad to tell you that it's lost. That may include your music, photo or ringtones, depending on your backups (Google Photo is good!).


text:
How do I automatically delete all my emails on Gmail? (Android)
I recently made a Gmail account and shared it with my dad. I am worried he will ban me from having Gmail if he sees my emails (They are NOT bad)
How to delete emails as soon as I get them?
Please help!

How are you planning on seeing your emails, if they delete right away?

See if this helps http://www.businessinsider.com/automatically-delete-unwanted-gmail-2014-1 (you can open Gmail in desktop view in a browser)

Create a filter rule to delete the specific emails that match criteria when coming to your inbox. You can set "To" so you put your email. You can also set "has the words" so you can fine tune the filter. When a message arrives that matches your filter's criteria, you can choose the option to delete, skip the inbox (archive it), etc.


text:
How to fix a Bootloop Nexus 5X that is bootloader locked?
I have a nexus 5x that is boot looping after the android 8 update. My bootloader is locked as I won't be able to install any custom image firmware. My concern is keeping my data in tact, and even if I was able to unlock my bootloader, I'd have to wipe my entire device which is something I dont want to do.
How can I fix my bootlooping Nexus 5x without losing my data?

For those looking to fix it with unlocked bootloader: https://www.xda-developers.com/nexus-5x-bootloop-fix-boot-phone/  and --- https://www.youtube.com/watch?v=hm-bVsgp8Ps


text:
What does "Answered remotely" mean in the call log?
What does "Answered remotely" mean on incoming calls in the call log? See the screenshot below to see what I'm talking about.
I had never seen this before until recently. Ever since September 30, 2017, every incoming call from my girlfriend has had this label. Edit: Almost every incoming call from my girlfriend, and most incoming calls from another friend, both with iPhones on AT&T (I'm on Verizon). Calls before September 30 didn't have it, and calls from other people don't have it. I never see it on outgoing calls either (or missed calls, of course). Edit 2: The previous sentence isn't 100% true, but basically is (see the edit at the bottom).

Does anyone know what could cause this?

Some extra info:
She does forward her old phone number to this one, but 1) this is the number forwarded to, not from, 2) she has been forwarding long before I started seeing this, and 3) these are only incoming calls, so I'm the one doing the answering. So I can't imagine this is relevant. Edit: This can't be relevant, because the other friend doesn't forward at all.
Just to rule it out, I asked her if she might know why it's saying this, if she's somehow calling from her computer or another phone or something, but she said no, she always uses her actual cell phone (an iPhone on AT&T, by the way, and I'm on Verizon).
My thought is maybe it started with some sort of update. I didn't do a system update on that day, but maybe the phone app updated or something. But that still wouldn't explain what it means or why I only see this for her incoming calls.
I found this forum thread where someone is having the same problem, but none of the answers make sense with what's going on. It does make me wonder if it's a Verizon specific thing on Android, but it's definitely not specific to my phone (Moto Z Force Droid).
One last thing worth noting: when I was searching, some people reported seeing "remote call" during the actual phone call. That looks to be unrelated. I don't remember seeing anything like that during the call itself, and the people who have that say it happens on every phone call.
That forum thread was the only other thing I could find about it anywhere, so I can't figure out what's going on.

Edit:
I discovered another friend where it shows "Answered remotely" after he calls me. He also happens to have an iPhone on AT&T. I made corrections above to note this. I don't see this when I get calls from Verizon iPhones, but I'm not sure if it happens with non-iPhones on AT&T (I've had plenty of other calls that didn't do it, but I'm not sure of the carrier.) Incoming landline calls definitely don't cause it.
Also, I've started noticing occasional incoming calls from my girlfriend (the person in the screenshot) that aren't answered remotely. But the vast majority still are.
Edit 2:
I'm still trying to get to the bottom of this, without much luck, but I have some new information: I've seen a small handful of calls with my girlfriend (the person in the original screenshot) that have the answered remotely icon under the regular telephone icon. I'm wondering if it's some sort of bug, but I really don't know. I say that because I saw this double-icon on at least one incoming, outgoing, and even a missed call, and it isn't labeled "Answered remotely," just has the icon. Also, this is rare, unlike the regular "Answered remotely," which happens on almost every incoming call from these two people.
Here's screenshots with the double-icon thing (and also more of the regular "Answered remotely"):

I'm a Verizon customer as well. I have a kyocera 6810 and I received one phone call today from my man friend and it said remotely answered. I received other call from him through out the day and they were normal. I'm just beginning my investigation and I will get to the bottom of it. Just wanted you to know your not alone and I'll get back to you.

@Victoria Thanks. I edited the question just now. I noticed that this is happening often with calls from another friend, too. Curiously, they both happen to have iPhones on AT&T. Just to narrow things down, by any chance does your man friend have an iPhone on another carrier?


text:
How do change my email back to from my son's email to mine on Google payment like Google store
My son put his email into my Google purchase account and I cannot change it back to mine how do I do so

I have a brand brand new Samsung Verizon tablet simple to use but apparently not simple enough for me

Perhaps go to Settings > Account > Google ? From there delete his account or add yours.

Add your google account and change payment method on that.

To change back to your payment method, open play store open the menu on the top left, press on the email address, and it should give you the option to switch.
(That's if you added your account to your phone. If you didn't, follow the steps below and you'll see a way to add yours )
If you want to fully remove your son's account from your phone, go to phone settings>accounts>Google>[his email address]>three dots menu>remove account.


text:
Enable/disable Background Execution Limits for all apps
Official guide on Background Execution Limits (new feature introduced in Android 8 Oreo) has a note:

Note: By default, these restrictions only apply to apps that target
  Android 8.0 (API level 26) or higher. However, users can enable most
  of these restrictions for any app from the Settings screen, even if
  the app targets an API level lower than 26.

I've looked through the Settings on Android 8 emulator and was unable to discover the option mentioned in guide.
Could somebody point me how to enable/disable Background Execution Limits for all apps in Android 8+ Settings?

It's displayed on the "Battery" screen for an app, in the "Manage battery usage" section, but only if the app is a "top [battery] consuming" app.
More info: https://commonsware.com/blog/2017/05/24/android-o-background-limitations-not-just-targetsdkversion-o.html

I think that they refers to Background process limit in Developer options. Here we can choose: No background processes


text:
Someone is sending FB messages that appear to come from my android! HOW?
We recently had a house guest who asked to use my phone. She is sending Facebook messages drom her Android phone that appear to be coming from me! This is causing serious problems! I want to catch her. I suspect she has also stolen items that could be used for identity theft. My device is an unlocked LG. I don't have a carrier, I just use our Wi-Fi. Her phone is also an LG through Boost Mobile. Any information would be greatly appreciated.
Thank you

Change your FB password ASAP

Just do a system format she might have installed things onto your
  phone, make sure to back up things you need. reset your phone by:
1. powering it down.
   2. Hold the power button + Home button + Volume down button (Together and hold until you see  light).
   3. Use the volume keys to move up and down and the power button to select options.
   4. Locate wipe data/factory reset (use volume keys to go to it and use power button to select it).
   5. you will see a confirmation to confirm the factory reset use the volume keys to go to yes and press the power button to select it.
   6. wait for it to complete then select reboot system now.
   7. done.
   8.  (also change your facebook password just to be safe).

How does wiping the OP's phone stop another person from using that account on a different phone?


text:
Automatically toggle background data for a given app
I have one app that "misbehaves" when on mobile data – ie. it takes quite big bites out of my battery. I don't want to cut it off from mobile data completely, though – as I need it from time to time and also want to get information on data incoming to it.
I know I could use Greenify and Tasker (see: Hibernate apps, but have them wake up periodically for a short time), but that approach is a bit heavy-handed: Each time when I bring the app to foreground, it populates the screen fresh as if I had just started it.

What I'd very much like is something along the lines of using Tasker to periodically cut off background data just for this app (note the approach to Automatically restrict apps background data using Tasker is different, as it disables background data for all apps which is not what I want).

Are there any options I'm not aware of – like some "system call" (aka "shell exec") I could perform from Tasker?
In case it's relevant: root available, also Magisk, Xposed, and of course Tasker.

I just see AFWall+ offers Tasker support. If anyone has experience with that and thinks it's a viable option, details are welcome :)

You can apply an AFwall+ profile through Tasker. Very easy and works well. But, do you use blacklist or whitelist approach in AFwall+?

@Firelord yupp, found that approach as recipe on Reddit. Just unsure if that improves the situation or makes it worse. With data toggled of situation would be clearer. // I don't use AFWall+ yet – but if, I had the Whitelist approach in mind. It's the safer one, think of new installs.

Tasker now has this inbuilt!
Actions->Net->Network access
It allows per-app or global settings.

Thanks – close, but no cigar. That's not just background data, but network access at all (i.e. also with the app in forground, and also on WiFi). Could be partially worked around by conditions (IF %WIFII !~ *CONNECTION* plus "if not {app}" so it does not apply with the app in foreground or while connected to a WiFi – the latter might need a plugin like AppContext (root, Xposed) to work correctly).


text:
Can I somehow unlock my phone's bootloader or root it?
My Moto X 1st edition (XT-1060, career Verizon, OS 5.1) doesn't stay rooted. I mean to say that it turns back to unrooted state wherever it reboots or even when it is left untouched for an hour or so. Any system apps that I've uninstalled while rooted also shown in super user applist and any other root related changes e.g changed font also reverts back..
I've tried many tools to preform root operation like iRoot but none of them does the job. Kingo Root however does the job but as I mentioned the phone reverts back to unrooted state after being rooted.
Moreover, all the tutorials and guides about rooting my phone mentions in the first place that I need to unlock the bootloader first. I have tried the official method for unlocking the bootloader but it simply does not work. Just to mention, official method requires following of some steps after which phone shows some strings and you can paste those strings on Motorola's site to know if your phone has an unlockable bootloader or not. They say my phone's bootloader cannot be unlocked. It is also not the developer edition of Moto X otherwise the things were much easier. It is a carrier specific version  of Moto X i.e. Verizon and the official Moto website says about such phones that:
Please keep in mind there are many factors as to why a device is or is not unlockable. Carrier exclusive models are almost never unlockable
So my question is that:
Can I somehow unlock my phone's bootloader or root it?
My actual concern is about rooting it so if it can be done somehow without unlocking the bootloader, I'll be more than happy. I included bootloader unlocking as a part of my question just because I cannot see any way without doing so.

You are probably not rooting it properly. How do you do that?

What have you used to root your phone?

I should have mentioned it in the first place but now I've edited it. Please have a look at it.

Root the phone by flashing superSU.zip from twrp recovery (bootloader has to be unlocked)

How can I unlock bootloader while my phone is unrooted

try this for unlocking bootloader link

I have the developer edition of Ghost, so never had this problem with unlocking the bootloader.  Did you try RockMyMoto?  You probably have the camera patch by this time, so this might be the method you need.
If that works, I suggest you flash one of the 7.1.2 ROMs over there at XDA after you get TWRP 3.1.1.  Mine is rocking Xperience right now.  Your phone will thank you :)

This does not work I tried but perhaps it is specific with the developer edition of Moto X I cannot proceed with the second or onwards steps :(

King Root will root your phone . After this you can install other 3rd party apps to download and flash custom ROM's before it gets un-rooted again.
Google play offers many custom ROM apps.
So root your phone with King Root
Install custom ROM(OS)
That's it.
But while selecting ROM's to flash , make sure they are specifically compatible with your device , this is very important to avoid bricking your phone !
Good luck !

I've tried King root as well. It doesn't do the job. I've tried almost every app which claims it can root but still I reach nowhere. And don't worry I'll not brick my phone I just need a chance :(

you said it only unroots after a while , so flash it with a rom with that time

That time isn't just enough plus to flash with a ROM, I need to restart it and upon reebooting it reverts to its previous state as I mentioned

have you tried pressing the combination of buttons upon booting to unlock bootloader , maybe you can then flash a rom with a file from sd card

Can you please elaborate it more how to do it? And my phone does'nt support sd card if its worth mentioning

when the phone starts ( right before it displays the boot animation ) press down all combinations of the buttons available on your phone , and see if a menu appears

check permissions maybe you have virus.
you can connect with adb and remount disk
mount -o rw,remount /
chown root:root /
chmod 777 /

Sure: if something goes wrong it must be a virus. Only that there is no virus for Android. Second, do you really think it's a good idea to mess with permissions like that? 777 means everybody having full access. Which, security-wise, usually is a very bad idea. Apart from which, why should that make root "stick"?

@Izzy no virus for Android really?  There are botnets for Android although less common then on the desktop.  https://www.google.com/amp/www.zdnet.com/google-amp/article/falseguide-malware-dupes-600000-android-users-into-joining-botnet/ niyas answer is bad either way.

@William read the definition of "virus": a botnet is no virus. An apple is a fruit, but a fruit not necessarily an apple – and so a virus is malware, but a malware not necessarily a virus.

@Izzy Yes but the technical requirements are quite similar such that if one exists another quite likely will also.  A security issue is a security issue.  Depending on the source a botnet can involve a "Cybercriminals use special Trojan viruses to breach the security of several users' computers, take control of each computer and organise all of the infected machines into a network of 'bots' that the criminal can remotely manage." https://usa.kaspersky.com/resource-center/threats/botnet-attacks

@William this is no place for discussion – but NO. A virus can replicate and spread itself. Malware on Android requires some user interaction to get its foot in the door. As I wrote, read the definition ;)

malware or virus is quite similar to me since i don't use english as full time language.actually  there is  no thing you can go backward since attacker is here  using chmod 777 you gain access..he still have to..

since i am sure you don't know what is virus on kernel or ram memory...because you never have it.i did.so he can in recovery terminal to gain access to phone...also root  in twrp recovery with zip file..i didnt read the question well since i read 1,2 senteces

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


text:
How can I let apps use their default notification sound on Moto G5
I have a Moto G5 S, Android 7.1.1, and all (messaging?) apps are using a really annoying notification sound (the one that came by default in the phone). I would prefer that each app uses their default notification sound (like WhatsApp's whistle or Facebook's... thing). Is there a way I can set that for all apps?

Thing is, many apps don't come with a notification sound of their own. You could've just changed that global default ringtone instead.

As said earlier you cannot choose a custom notification sound for each app, however you can change the notification sound for all apps.
Go into Settings > Sound > Default notification ringtone > choose whichever ringtone you like

A slightly related workaround will be using a third-party notification manager application which provides notification customization by allowing you to configure sounds/ voice alerts for any applications that you use.
One such tool is NotifiCon.

Features :

Configure the notification sound from a list of available options for each app's notifications on your device
Configure a special voice-based notification alert for notification alerts from any app (For example, you can configure your Whatsapp app
  to say "Whatsapp", when you get a Whatsapp notification)

NB: NotifiCon does not create new notifications, rather it provides sound/voice alerts to accompany other apps' notifications.
During first time installation, the app will show a few things before opening the main screen. These include permission requests, notification access requests, and write settings requests. Please grant these to allow the app to perform its functions and then press the back button (if applicable).
Disclaimer: The author of this post has no affiliation with the above app


text:
How to install a custom ROM on a generic Chinese Android tablet?
My generic Chinese Android tablet has Android 5.1 pre-installed on it.
Here is a link to the eBay page on where I bought it.
How can I install Android 6.0 onto it?

Welcome to Android Enthusiasts! Trouble is less "how can I install", but rather to find one in the first place. Tough luck with that most likely. See: Where can I find stock or custom ROMs for my Android device?

As you can see, this is a device without even a brand name or model, so obviously there's no way one can find the kernel source of the device, so no custom ROMs possible. Or maybe you can try porting ROMs of similar device, or you need to dig deep into the Chinese rabbithole forums like this: http://bbs.gfan.com/ to find one.

I have the same Chinese tablet but on my tablet I have Android 4.1.1 Jellybean. So first you can see what is the type of the proccesor you have. Next step is to search a custom ROM for your tablet (a CyanogenMod is a good choice). But you need to root your tablet (Superuser is a good choice) and you need to install CWM. You can watch on YouTube step-by-step (you can watch and you will understand)

Could you provide a link to such a YouTube video?


text:
How can I text a photo from Google Photos instead of a link?
On my Pixel 2, I can include a photo in a text message in these two ways:

Open Messages app, select recipient, Hit "+", select photo on phone, touch "MMS" to send.
Open Google Photos app, select photo to send, touch "sharing" symbol, select recipient, touch "SEND".

In the first approach, the recipient receives the photo. In the second approach, the recipient is told I'm sharing an album, and they get a link to the photo.
I want the recipient to get the photo itself, not a link to it, but sometimes it's more convenient to choose the photo using the Photos app instead of the Messages app. How can I select a photo using the Google Photos app and then send that photo (as opposed to a link to it) in a text message?

Download that photo from Google Photos to the phone then send it to the recipient as you would with a normal one.

So there's no way to send the photo starting with Google Photos instead of with the Messages app? On iOS, I can do it either way, i.e., it works to choose a photo in Google Photos on my iPhone, "export" it to iMessage, then send as usual. There's no need to download it to the iPhone.

@KnowItAllWannabe No, there is no direct way. Download and send, or send from messages app.

In my s5 if i do option 2 it still sends the picture and not a link. Not sure why it's different by you

Could it be a Pixel-specific behavior? I'm new to Android, so I don't know how much variation there is between devices.

I figured out how to do it. After touching the "share" icon, you have to select the Messages app. Then you select the recipient and touch "MMS".

You should make your last comment an answer.

@garyp: I've now done it.

[Originally posted in the comments section on 11/5/17]
After touching the "share" icon, you have to select the Messages app. Then you select the recipient and touch "MMS".

after clicking the share link, scroll down to the apps section and choose your preferred texting app, then choose the contact or conversation you would like to send the picture to.

Know it all wanna be is my hero.  I have been trying to figure this out for days.  It's that simple.  Ignore all of the other well intended advice.  After you hit the share sign, choose messages and then choose recipient.  Attached picture to text the way you expect it to.

Agree. It took me some time to realize what was happening. I had the impression that there is no way to send the actual picture as attachment with Gmail. Then I figured it out: The share button in Google Foto already presents a field to enter an email adress. This share button would send the link. When one scrolls down to Gmail, the photo is treated like a normal file and is attached. Yay!


text:
What is the use of build.prop.bakforspec and vendor.prop?
I have been editing build.prop without rooting the device(via adb mechanism by temporarily flashing twrp recovery using fastboot).
And whenever an OTA update comes, it resets my buildprop.
If I reflect the same changes in build.prop.bakforspec , will my changes be secure of will they be reset again?
And why are these files there:
build.prop.bakforspec,
default.prop
vendor.prop
power.prop?

An alternative approach would be using an "init script" (a script that's run at boot time with root permissions), and apply your changes via setprop. I have not played with that, and it requires your device supporting init.d (or adding that via an app, or maybe even Tasker's on-boot event could deal with that), but it might be worth a try. Even if that script should not survive an OTA, you then could simply "copy it back" afterwards.

Oh! Thanks, I didn't know about that. Although I don't really know what's the use of all these 3 scripts and when are these loaded while device startup. But as you said it's alternative can be init script, I can relate it more or less.

I didn't make that an answer as you especially asked for details on each of the files, which I cannot answer for sure or even not at all (never heard of that bakforspec, which might be specific to that ROM or manufacturer or forgotten from development even, or of that power.prop – and am not sure for the order of processing either). My guess would be default.prop being run first to set some defaults (as it resides in the boot image), then build.prop, then the vendor specific settings.

Right. That makes sense. Thankyou :)


text:
Is it possible to run rm -rf / without root access?
I see videos of people running rm -rf / on their android but they always run it with root access that is running su first so I tried doing the same on my unrooted phone by running rm -r -i / but then it 'promoted 'examine files in directory /?'  so I got scared because I was not sure whether it will erase my files or not so I would like to know if rm -rf / without root  erase OS files and brick my device?

First off, running rm -rf / is always a bad idea – but you probably know that already.
Second: Yes, of course you can run this even without root. But it wouldn't be able to delete all files, for multiple reasons:

it can only delete files where the user executing the command has permissions to. Those are, naturally, pretty few (except for on shared storage aka SD card)
parts of the file system are mounted read-only (eg. /system). Those couldn't even be deleted with root powers unless before remounted with write access.

See my answer. I agree with that rm -rf / is a bad idea, but not you can do it only partially. In fact you can't do it at all.

@iBug I don't plan to try it out, but to my experience it would simply throw a bunch of errors ("permission denied") while still removing everything it has permission to. If you ask "what experience": A script with a missing variable initialisation (rm -rf ${foo}/* with $foo being empty) on a Linux system. Admitted, the trailing * might make a difference here. Whichever answer is the "absolutely right one" (if any): in both cases, OP wouldn't "erase OS files and brick my device" :) And your answer proves you can do it – but you get errors :)


text:
Can i get pop-up notifications on my Moto E4?
I just got my new Moto E4, it's my first Android too, so i'm still figuring everything out and i don't know if i just haven't found the settings or it doesn't do what i want. My old Nokia Lumia would put a little pop-up banner notification at the top of my screen (even when my phone was locked, the screen would light up) whenever i got a notification. However, my E4 only chimes, whether the phone is unlocked and the screen is on or not.
It shows an icon on the screensaver when i move my phone, which i can touch to see a message preview, and the lockscreen does show a constant notification after a message is received. But i want to know if there's any way to get a banner at the top of my screen (locked or otherwise) as the notification happens, without having to touch my phone to see what the notification was. Are there any settings for this? Or an app maybe?
Thanks.
Ps. I found an option for it in Whatsapp but nowhere else (although i haven't seen it in action yet so idk what it's like)

Unfortunately there is no option on the Moto E4 in settings to enable these types of pop-up notifications, so you will have to either go into each app (like you did with WhatsApp) and enable pop-up notifications or install an app from the Google Play Store.
An app that I use on my phone is called Heads Up Notifications - https://play.google.com/store/apps/details?id=codes.simen.l50notifications&hl=en

Ah, i guess i just have to live with it then, thanks anyway.


text:
I installed the Android WhatsApp app on my Blackberry but some features don't work
I downloaded an android version of WhatsApp Messenger on my Blackberry Z 10 but I am unable to send any audio or video files. Why? What can I do about it?

Please give more details like screenshots. Also make sure you've installed the original WhatsApp and not the fake ones.

@priyansh, being that you officially can't download Android apps on the blackberry os, so if you did it somehow it makes sense that it will not work properly, firstly possible that the Android apps don't see the storage of the phone, and many other possibilities.

WhatsApp announced their decision that the WhatsApp application will no longer support BlackBerry OS and BlackBerry 10 devices, among other devices, by the end of 2016 June 30th, now updated to December 31, 2017. BlackBerry devices powered by Android such as BlackBerry PRIV and BlackBerry DTEK50 will continue to be supported.

Note: Because we will no longer actively develop for these platforms,
  some features may stop functioning at any time.

So let's assume that sending media files is no longer supported.
If you would like more specific information on what specific WhatsApp functionality will remain on BlackBerry OS and BlackBerry 10 devices, as well as other devices for which WhatsApp has decided to end support, please contact WhatsApp here.
Further reading here.

BTW if you change the date on the actual phone to before December 2016, WhatsApp will work. But the OP is saying that they downloaded the Android version of WhatsApp. -Probably by "rooting" the device - so that shouldn't be affect by the blackberry shut down

Nope, changing the date won't help since it is checked server-side! No, they didn't root. No need root access to install the Android version of Whatsapp,  IIRC, BB OS 10.2 made it possible to install android apps on BB  OS.

Now Whatsapp for android is working fine in BB10 devices, to fix these problems you need to install 'WhatsFixer' available in BBWorld.
After installing, you have to execute and follow instructions
https://appworld.blackberry.com/webstore/content/60005088/?lang=en


text:
Why does "Galaxy Apps" require access to my contacts?
"Galaxy Apps", the package manager for the bloatware pre-installed apps on my Samsung Galaxy A5 (2017), requires access to my contacts. In fact, it plain out refuses to run as long as I don't give it access:

Why does it need them?
(I decided to grant access, since I don't want any security risks due to outdated apps, but I'm still curious.)

Galaxy apps doesn't have any app that play store doesn't have. So, in my mobile, I've simply disabled it.

@WrichikBasu: And you are sure that Play Store will now keep you pre-installed Samsung apps up-to-date even though they weren't installed through Play Store?

At least in my cases, it does. For example, if Google app comes preinstalled, play store will keep it updated.

@WrichikBasu: That makes sense for Google apps, but what about the Samsung apps (E-Mail, Calendar, etc.)?

Go to the play store and try to find your apps under the installed apps section in My Apps. If they're listed there, then you can update them from there. But calender updates are never released, and I can't use their mail, so I can't comment.


text:
How to copy/export default android browser browsing history to android chrome?
how's it going?
I have been using android default browser of galaxy j5 for about 1 year and it doesn't show browsing history beyond like 3 months (only last 3 months or less) and my browsing history is so precious to me.
How can I move/copy all this browsing history to android google chrome, or even desktop chrome.
And after all, what's the best way to save them for good, like in my computer?.
Much appreciated.
So eager to hear a sooner response.

Search history means?

All pages and websites I visited=History (stock browser)

You mean to say browsing history.

Yes!....sorry I mistyped it due to excitement!

Well AFAIK, chrome for android doesn't support importing of history (I'm not even sure if desktop version support that). And I'm pretty sure you can't export history from stock bowser. You can switch to chrome but you will not have history, however you can stay with stock browser and when you stumble upon page you thing you may need, simply bookmark it. P.s. you can't export/import bookmarks with chrome, not sure about other browsers.

Sorry to hear that. The big problem is that I can't see history older than 1 month which I really need. Besides can't I make stock browser browsing history a HTML file and transfer it to computer chrome? if so, how?  Једноруки Крстивоје

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


text:
whatsapp notification in my samsung j1 when screen is lock
I am not getting whatsapp notification in my samsung j1 when screen is lock

Go to apps and allow whatsapp to display notifications.

To allow notifications for lock screen, go to settings>sounds and notifications>notifications on lock screen>show content.


text:
Will Project Treble for Oreo make it easier to develop and flash custom ROMs?
I'm trying to understand how Treble will affect custom ROM development.
I imagine by separating out the parts of the operating system it would make it easier for manufacturers to issue updates fixing any root pathways.

From XDA-Developers:

The reason why unofficial Android Oreo ports are slowly being worked on rather than just something developers can compile, boot up, and run is simple. In order to bring up a new Android version on an existing device, the kernel and the device tree need to be heavily reworked in order to make an existing Android phone work with a newer Android release. That’s because the current vendor implementation, including all proprietary binary blobs, is made to work with a single Android version, and thus need to be reworked and ported to the new Android version for the device to work properly.
Almost all components inside the phone use an independent, proprietary blob, and requires to be patched and worked on independently so that the newer software can use it, also making sure the other ones don’t break in the process. This is truly a time-consuming task, and the main reason why most stable custom ROMs (like LineageOS weeklies or other, officially supported ROMs) don’t appear until 2-3 months after the final Android release drops to AOSP. All this effort also means that the resulting ROM will only work on one device or, in the best case, a handful of identically or similarly specification devices.
This seems to be changing with Project Treble, according to Ron Amadeo of ArsTechnica and independently corroborated by custom ROM developer SultanXDA.
Malchev says that Treble standardizes Android hardware support to such a degree that generic Android builds compiled from AOSP can boot and run on every Treble device. In fact, these “raw AOSP” builds are what will be used for some of the CTS testing Google requires all Android OEMs to pass in order to license the Google apps—it’s not just that things should work, they are required to work.
  To drive this point home, it means that because of the way the lower layer of Android was modularized, all Treble devices in the market will be able to boot a generic stock, AOSP Android build. This takes away most of the hassle of porting custom ROMs to an older device since a single, generic Android build can run on many devices. This moves Android devices way closer to something like a personal computer, where you can boot up the latest, cutting edge Windows 10 build or any Linux distribution on a 10-12-year-old computer.
You won’t be able to boot up flawlessly-working generic Android 9.0 builds on your Treble device just yet, though – device trees and kernels will still require being worked on. It’s still a great start: thanks to the modularized HALs, the workload for bringing up the next Android version should be greatly reduced, and we could see stable 9.0 builds in a matter of days/weeks instead of months. We should have in mind that Project Treble, while it’s now rolling out, is still a work in progress as it’s still receiving changes in AOSP, and the vendor layer could eventually be standardized to the point installing a new Android version will be the same as installing Windows on a computer.
This is a huge technical advancement, and it has the potential to significantly improve AOSP-based custom ROM development on our forums. But then, this only applies to devices with Project Treble, and currently the only Treble phones available out there are the Google Pixel, Google Pixel XL, Sony Xperia XZ1, and XZ1 Compact.


text:
When does Play Store update Google Chrome?
Some visitors to my organisations web site are affected by this Chrome v61 bug which is reported fixed in v62.
The Wikipedia Chrome version page shows v62 was released 19 October 2017 on Android.  Google Play store states Chrome current version varies by device.
Play Store on our test devices running Android 4 (Galaxy S3), 5 (J2), 6 (Nexus 5) and 7 (Huawei P10) all report Chrome v61 as being the latest available.
Is there a typical or published propagation time for Google Chrome updates ?
It's been a couple of weeks since v62 release date so we are wondering if or when these updates will be installed.

Well there is no definite answer concerning established time for Google Chrome updates (and/or other related apps), but the general one is that it varies depending on the developers' schedule.
Of late, Chrome Chrome updates have been released on a staged rollout.

What happens here is that with a staged rollout, the update reaches
  only a percentage of users, and various factors are used to target
  such a small "audience" and may include (but not limited to):

device type
OS version
specific users e.g in certain selected regions
other criteria

Note this is different from independent developers who have no option of targeting eligible users
So it's a waiting game until the next batch of root reaches your specific device. I see you have quite a number of OS versions you mentioned but as I explained, is Google who select the eligibility criteria and it's according to their schedule.
However an alternative workaround, would be using other markets will the latest releases of Chrome 62 e.g apkmirror and sideloading it.


text:
Where did the google dictionary listen button go (on my Samsung Galaxy Phone)?
I use a Samsung Galaxy E7 mobile phone with the latest Google Chrome web browser installed. My android operating system version also up to date. Since yesterday, I experienced that the 'listen' button (marked on the snap-shot) has gone from Google dictionary results. Here is a snapshot showing the missing icon which I captured from another mobile phone today.

Please suggest me a solution to get it back. It is really important to me as a student who learns English as the second language.

I don't have it either on my s5, but you can scroll down to the first website which should be Webster › dictionary in there the icon is available

The issue is it was there two days back. I do not understand the reason for the absence of the facility. It is still there when I load the same page from another mobile phone and from my laptop. Thanks for your comment

I would suggest you send feedback to Google chrome about the issue


text:
Adopting SD card for Samsung S5 mini duos G800-H
Has anyone managed to adopt the SD card for S5 mini duos. I've rooted it and tried to install ASPlugin (from RE) but it doesn't install either with CWR or TWPR. Also tried to partition the SD card (Samsung 64G) but the phone sees it as corrupted.
Model: SM-G800H
Android: 6.0.1
Build: MMB29M.G800HXXU1CPK1
Also I have tried all the steps here How to adopt SD card as internal storage on Samsung devices?
But no success so the question is has anyone managed to get it working specifically for S5 mini duos, is there something more restrictive about this version? The post above does mention in a comment that someone might have got it working for S5 (mini duos?). Would be wonderful to know how, what exact steps.
This is after rooting the phone. Did they manage to get ASPlugin to work if so how exactly.
Any thoughts much appreciated.

Android version?

Yes its Marshmallow 6.0.1

I have edited the question - specifically - for the S5 duos mini for which the steps in the posts do not work. Thanks for any help or pointers

Method in answer, marked with (NO ROOT) works not only for Samsung phones but for all phones that support adoptable storage

Hi yes that was my first try using adb, it accepts the partition command but doesn't work nothing happens to the card.

Would you explain step by step what did you exactly done?

Sure by the way really appreciate your help. Spasibo.

adb shell. Then sm list-disks which shows disk:179,64.  Then sm partition disk:179,64 private. I also tried with doing sm set-force-adoptable true first.

Mount gives the following /dev/block/vold/public:179,65 /mnt/media_rw/8670-1CE8 vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/block/vold/public:179,65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

Interesting here the disk is 179,65

Then try typing "sm partition disk:179,65 private" in ADB shell. Just to make clear it returns you 'disk:179,64' when you use 'sm list-disks'?

Hi yes tried both. but the storage doesn't show the options to migrate or anything just format or unmount. And yes it returns disk:179,64. I wonder if there is something strange about the S5 - if they've manage to block it somehow.

That option should be under SD card in three-dot menu. If none of this actually works than there is something off there. They shouldn't be able to block it since it's android feature.

Yup - no three dots - something strange with this. Thanks for your help

No 3 dots? Well they should be even if it's not adoptable storage.. Try press and hold recents button or menu button, idk which one is on S5..

Yes bad not menu options.

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


text:
Is there an official Google Apps package?
So I understand that I need to flash the gapps package after installing a custom Android distro (ROM). In that case, is there an official google apps package? If so, why should I rely on competing distributions of the Google apps package, rather than get it straight from Google? If not, do device manufacturers get it through a different, private route?
If not, is there any way I can extract the Google Apps platform whole from my own device's stock Android OS image? As I understand, that is in fact the exception which Google allowed, which everyone seems to be abusing by simply distributing APKs extracted from other devices. I have not seen a single guide for this.

Official GApps package is never available publicly. Google only provides it to authenticated OEMs like Samsung and HTC. It'll be installed only on Google Play Verified devices, in their stock ROMs.
That's why individuals can only download and flash unofficial GApps packages.
You can, of course, extract Google Apps from an authenticated phone and install it elsewhere, but you'll surely do extra job in comparison to flashing well-prepared packages.

But is it easier to extract Google Apps from an authenticated phone and install it on the same phone? Is there a guide or a short description for it?

Why would you want to do it? Software (ROM) updates are always pushed out at a slow rate from manufacturers, and by the time they get to your phone, some components in it that are published on Play Store (most are) already have more updated versions available for download. Unofficial ones like OpenGAPPS update their offerings independent of that "push update" layer and thus are much faster; their installation script can also be very sophisticated, helping you avoid mistakes and sometimes allowing you to configure what to be installed. TL;DR: not worth the trouble.

@AndyYan : Thanks, it clarifies. However, from a slightly purist point of view, it's kinda more legal to extract and flash on the same phone, than to flash a custom collection of gapps right? Also, lots of phone-specific and manufcturer-specific elements will/can be captured if I extract from a stock image right?