text:
How to remove apps from Samsung phone by pushing file with package names with ADB
Several years ago, a friend of mine was working on a Samsung S8 Active. He was trying to remove most of the apps on it so it was just a basic phone. He had some instructions for a Ponderosa system. He was having trouble with several things so I was helping him. We got a list of all the packages on the phone using ADB and then copied them into a text editor. We removed the name of any package that we didn't want and then saved the file and pushed it back onto the phone using ADB again. I'm not certain but there might have been an app or something on the phone that had something to do with it as well but the end result was that only the apps on the list were left on the phone. I believe that we could put a password in on the phone and the apps came back but I'm not 100% sure.
Since then I have lost the papers that had the instructions on them and the place we originally got them from no longer has them either. I have another Samsung S8 Active that needs the same system (or simular) put on it. I know how to get a list of all the app package names using ADB.
adb shell pm list packages
But does anyone know of a system that would be capable of removing apps by pushing a file to the phone? Is there an app that would work like I described? Any help would be appreciated.
Edit: I am working with a Windows 10 computer. I installed xargs but it says The '<' operator is reserved for future use. when I try to run xargs -l adb uninstall < pkgs2rm. Is there a different character to use?

push your own shell script

@alecxs Not gonna lie, I haven't done much with adb and that doesn't make any sense. I mean I know that you can push files to the phone via adb but what do I push and where to?

Does this answer your question? How to uninstall an app when "Uninstall" dialog is not shown?

@Robert Not really. I guess I could go through and uninstall each one separately but I was trying to find something like what I had. Someone on stackoverflow said something about using a file called pkgs2rm but he used xargs which I am not familiar with. https://stackoverflow.com/questions/71042853/how-to-remove-apps-from-samsung-phone-by-pushing-file-with-package-names-with-ad

Why not accept the challenge and learn how xargs works? BTW: Are you aware that if you uninstall the wrong package your phone may end up in a boot loop?. Therefore I would strongly recommend only to uninstall apps you exactly know what they are for like weather widgets or something like that. The rest just leave alone.

@Robert I tried looking it up and couldn't find any documentation for it. Does it even work on Windows? From what I've found its for Linux and Unix.

pkgs2rm (packages to removed) is a linux txt file containing package names you must create yourself com.whatsapp com.facebook.katana com.instagram.android com.zhiliaoapp.musically com.snapchat.android ... xargs is a linux core util used for one-liner (or shell scripting) when it comes to huge amount of arguments or passing arguments to commands. '<' operator redirects file content to stdin. this is purely bash/shell don't use it if you don't understand it

On Windows, PowerShell might be an alternative. Might be helpful: Read file line by line in PowerShell

Also, unrelated to the issue, but what is "a Ponderosa system"?

That was just what the whole setup was called.

A little bit late, but before late that never. I don't know if it is exactly what you're looking for, but maybe you can use this method here https://github.com/0x192/universal-android-debloater


text:
Android phone can send SMS messages but not receive
Trying to secure many of my accounts with 2FA I resorted to the SMS functionality of my phone VFD 600 phone running Android 6.0.1. I know this may not be ideal, but it is what I have.
Now, none of the messages turned up. I tried phone calls (incoming and outgoing) and sending  SMS messages, both worked just fine.
I have tried several apps (Textra, and the default ones), from all I can send messages (I tested those are received) but can't receive any message.
Changing my SIM card to a different phone, I found out that I could receive messages.
I also dial #*#*4636*#*# to check basic configuration, and everything seems normal.
The radio is on, LTE/GSM is on, and the SMSC is the right one for Giffgaff. Well, at least after I pressed 'refresh'.
I am absolutely clueless and rather frustrated.
Would you suggest any fix?

Are you sure you have sent an SMS using Signal? By default if the recipient is also at Signal a Signal message and not an SMS message is sent.

@Robert no, you're right, I've actually installed it but didn test signal. Did test Textra and 2 other SMS apps that come pre installed.

source: Stack Exchange

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

sort: votes


text:
Using "Bluetooth device with earphones" and headphone jack simultaneously
I have Sony Xperia SL and have a bluetooth headset (SBH20). I can play music from SBH20 when I connect it but then if I connect another earpohone to my phone's 3.5 mm jack, the audio from bluetooth device gets disabled. Only one thing works at a time, either phone's 3.5 jack or bluetooth device. Is it possible if both works simultaneously so that output can come from 2 earphones at the same time.

I could be wrong, but I believe only one can work at a time.

I have tried doing the exact opposite thing (Forcing Audio to go through bluetooth instead of device speaker) so it definitifely is possible to play at least different audio through different streams (Media, Call, etc.) It set it inside of tasker to "Media" stream and it came out of my phone, so it might be possible to get it working. The app needs to support playing Audio through multiple streams. I don't know if there is an app for that that does split it up.
Sorry for posting it as a answer, my reputation isn't high enough yet to comment...

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


text:
Why can't the Sprint HTC One use GSM ROMs?
Everywhere I've looked, I've found that the HTC One physical hardware (USA) is the same regardless of the carrier--all models of the USA phone containing both CDMA and GSM radios.
If this is the case, why can't the Sprint variant of the HTC One be hacked to work properly (see issues with Sprint-variant SIM unlocking here) with USA GSM networks like AT&T? Or use GSM  ROMs for that matter if all the USA hardware has both radios.
I ask because I made the mistake of buying a Sprint HTC One on eBay with the intent of unlocking to use with my existing AT&T account. NOTE: I am not talking about 4G/LTE data, only 2G and 3G.

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


text:
locked out with wifi off
I have an Aakash android tablet. The tablet was locked by too many patten attempts. Now I have to give my google account to log in. But the WiFi is not turned on in the tab. So I cannot log in with Google account. There is no hard reset in this tab. Tryed to go to recovery mode my pressing volume and power on. It too didn't work. Now what can I do??

As you've already correctly used the locket-out tag, you could start checking its tag-wiki (always a good idea, as those often contain first-aid). You then will be pointed to our most complete collection of possible solutions to this issue: Cannot unlock tablet as have no internet connection?

Non of that answers provide a solution for my problem

Then you might wish to [edit] your question and write a) what you already tried and how that worked out, plus b) what other ideas you didn't try and why not. To give good answers, we need good background. And unless you can point out what makes your question different from that other one, it will probably be closed as duplicate.


text:
Is there a way to selectively sync photos?
I find the idea that all of my photos, no matter in which folder should automatically be synced to G+ a bit ridiculous.
Is there a way to only sync a certain folder/album? I'm mainly interested in syncing my camera roll.

Is your question restricted to G+? There I don't know of any solution, but I could name you some for e.g. Dropbox, Box, or other cloud services. I'm not familiar with G+: in case the cloud service behind that is identical with Google Drive, I would know some solutions as well :)

@Izzy, I'd like it to be this default G+ Photos app sync, but it can be something else. Preferably Google Drive since that's what I use.

Thanks for your feedback, yannbane! On that condition, please see my answer I've just posted. For a full list of supported cloud services, just follow the link to the app's description. I'm pretty happy with the full version, using it for quite a while now.

Launch G+ Photos app. Swipe right on the left edge to open up the menu. Go to "On Device". You can select which folders to be synced by tapping on the cloud icon on the right of the folder name.
Note: You have to turn on "Back up local folders" option in settings. Initially, all folders will be synced and you can  selectively turn off for each folder in the "On Device" section.

Nice solution with no 3rd party! Is there any way to prevent them from showing up at all? I don't really want to see album covers and friends' profile pictures in Google Photos.

I don’t see a way of creating folders here though. So this would lead me to share the “Camera” folder which is precisely what I don’t want to do — am I overlooking something? Note that since this answer was written, a new release of the Photos app was pushed that changed the whole interface. So maybe it used to be possible?

I just tried creating another folder with photos in it and enabling backup. It allows me to turn on/off sync for other folders but the "Camera" folder can't be disabled.

Try Camera Album. This app automatically redirects captured photos to the selected album/directory. You can have multiple albums and quickly  switch between them before taking photo.
And with  applications mentioned in previous posts  you can synchronize only directories that you want.

Do you have any affiliation with this app?

Yes, I tested the application about 14 days before its publication (non-public alpha version).

As Google Drive is an option to the OP: I use an app called FolderSync, which support a load of cloud services (including e.g. Google Drive, Amazon S3, and Dropbox) as well as FTP/SFTP/FTPS to support your own servers. Using it successfully with SFTP and Dropbox, I can recommend its use:

you can define "Folder Pairs" to sync, e.g. a single remote directory and the corresponding local directory. Subdirectories can be included optionally
you can trigger the sync manually, or define automatic sync schedules. Instand upload should be possible as well, though I didn't try that yet.
the paid version supports tasker, which gives you increased flexibility. As to my experience (a while ago with some previous version, so this behaviour might have changed meanwhile) FolderSync's internal scheduler causes a device wakeup all 5min regardless of the sync schedule chosen, I prefer triggering syncs via Tasker.

So with Google Drive being acceptable, you could use FolderSync to define a specific folder pair, and thus sync only those folder(s) you wish.

On my phone running the latest stable version of Google+, only the camera roll is auto backup'd. There are several additional folders (downloads, Path, Instagram) that are not being synced. From your description, G+ currently does exactly what you want.

Are you sure that it's the intended behavior? Please see this question if so.

AFAIK it's currently the indented behaviour but I haven't found any documentation of it.

Still looking for other answers
I've found Gallery Drive Sync, an app that will selectively sync image folders when you want it to, not automatically (you have to go in and press "sync" next to the gallery for it to work). This can be a feature, but in my case it isn't since I'd like it to happen automatically.

AFAIK there is no way to selectively sync photos with G+. But on Dropbox, by default only the camera roll photos are uploaded by default for cloud backup.

That's kind of horrible, I don't understand why would they do this. "We don't want people to use our services!"

@jco Because automatically telling whether image X is a photo or something else isn't easy, and typical users probably have non-photo images in more places than they have photos.


text:
Instead of 5 GB storage shows 2.42 GB .
I 've purchased Karbonn Titanum S5 Plus. In that, It is showing TOTAL STORAGE SHOWING as  (1 GB + 1.42 GB)  ie  2.42 GB But in the features it is written as  1 GB RAM and 4 GB ROM ie Total 5 GB
INTERNAL STORAGE        1.00 GB
PHONE STORAGE       1.42 GB
Total                  2.42 GB
OS is Android 2.2 . How to find the RAM size?.  can anyone able to explain this?
thnx
senthil

Your calculation is based on some misconceptions:

ram is no storage. It's the memory used to run active apps (see our ram tag-wiki for details)
ROM is a misleading term here (and in many other places). What's actually meant in this context ist storage. So these 4 GB is what you're looking for.

Now, storage on Android devices is devided into multiple partitions. Typical partitions are /data for the user data, and the read-only /system partition for the actual OS files. The latter is usually not included in "storage summaries". I don't know your device, but from the data given can assume:

1 GB "internal SD-Card"
1.42 GB "internal storage (/data)"
remaining storage devided into:

/system: probably about 1 GB
/boot: files for system start
/recovery: for the recovery-menu
and maybe some more small partitions

So there's nothing wrong; specifications have just not been given in a way clearly understandable by the end-user.
Recommendations for further reading:

Android Folder Hierarchy
our file-system tag-wiki
our partition tag-wiki
our storage tag-wiki

And always: Check the links in the "linked" and "related" section of questions, they might (and in most times do) lead to more useful information. Same for the "related" section, and the tags and links (just hover your mouse over a tag to reveal additional information/links).

Spot on. It is a practice I don't like. I buy a 16 Gb Galaxy S4 and have 9Gb storage left out of the box. I understand the partitioning, but really the AVAILABLE memory should be what they are obliged to give as the figure. Otherwise you get this situation, time after time. Desire X: 4Gb, actual space free 1 Gb and so on. It's frustrating.

Full ack to that: manufacturers should be more transparent. But big numbers are better sellers, obviously. To create a precendence, some thousand users should buy such a device and then return it as "not matching the advertised specs", after having used the devices for a few days. This way they cannot re-sell the devices as "new". I'm afraid they only learn when it hurts them :(


text:
3G web browsing problems despite full bars
I consistently have problems browsing the web via my 3G connections despite the fact that it shows that I've got a "good" signal. Often I will have the blue bars but they eventually turn grey after the connection fails. If I keep hitting retry on Chrome it will eventually load the page.
Does anyone have any ideas on what is going on here? Is my carrier doing something strange?

(This is on a Galaxy Nexus running Jelly Bean, build number JWR66Y, baseband I9250XXLJ1)

Check the access points(Settings>More>Mobile Network>Access Points) that you have set. In most cases, people have trouble because of the APs they have chosen. Also, try using another SIM card of a different carrier in 3G mode. If all goes well we will know your own phone isn't at fault.


text:
samsung tab 3 cannot retrieve keyboard
My daughter got a new samsung tab it was working with no problems , she dowmloaded a few apps then the keyboard went , so i went to check the settings and there was no option to retrieve it. i went into the playstore to add another but kept getting an error message which wouldnt allow me to install anything,
i done a factory reset thinking it would wipe everything off and retrieve the keyboard which i didnt i m left with no keyboard and having to try and speak each command which is very difficult and doesnt work ,
can anyone offer a way round this ?

We'd like to help, and to do that we need a little more detail on the problem you're describing. When the keyboard "went", what exactly did you see? When did it happen? What error message did you get?

What happens when you go to Settings > Language and Input...? Is there any mention of ANY keyboard you have installed (you've tried others too right?)? You may need to just enable the keyboard. What happens when you click on an editable text box? Did she install any non market apps, anything Warez like at all that may have corrupted the device? I'm not clear at all on what you mean by 'went' and what steps you have tried. We need more detail.

the keyboard went after my daughter had installed a few apps via playstore, my daughter then said she could not type anymore as the keyboard had gone, the only option was to talk into a mic on the screen, so i tried to download another keyboard and got an error message 101 or 110 something like that . When i go into language input there is no mention of any keyboard just voice control, after this i completed a factory reset which didnt fix any problem as they keyboard will not inatall

sorry i dont know what non market apps are , im new to the samsung

Well there are apps in the Play Store (used to be called Market, sorry that's my bad) or the Amazon store etc. Then you can 'side load' applications downloaded from other sites. Some are very legit e.g. Android Police might have the installer for Google Search or such, but other less legal sites may have paid apps for free. Many are cracked and full of spyware, malware etc! Is it the 'Samsung' keyboard that came with the device? http://androidforums.com/samsung-galaxy-tab/795688-unknown-error-code-during-application-install-110-a.html May be a hardware issue for '110'.

I've run out of space  in comments so let's look at some options:
1) Go to Settings > Apps then go to Google Play Store and 'Uninstall Updates'. Then let the Play Store automatically update. Try downloading another keyboard.
2) If you have error 110 it MAY be hardware related.  Thread on similar issue
You may need to contact the seller or Samsung on this issue.
3) If you have error 101 then perhaps  Google Play Services is to blame try installing this from the link provided, reboot and try installing another keyboard.
4) Go to Settings > Apps and see if 'Samsung Keyboard' or similar is there at all, it MAY be disabled or something simple like that! (It will say 'disabled' beside it) You can go into it an click enable in this case.
5) See if you can download any apps at all from the Play Store. Pick something popular like "Facebook" or something from a reliable source. If this also fails there is somthing more fundemental wrong here.
6) If you are a bit more adventurous you could pop to XDA Devlopers and ask someone to post the APK (android application package, basically the app to be installed) for your keyboard and see if you can install it. This is a bit more advanced and I think best left til last resort for now. I'll talk you through it if you think it is a valid option. "Side Loading" is the term to look up!

I discovered that you have to touch the bit that actually says default keyboard not the greyed out button below. So
Settings, language and input. Tap the header default and then slide the use onscreen keyboard button to turn the keyboard back on.

The user manual advised to restart the tablet it becomes slow or unresponsive and my keyboard reappeared. The slide out  icon / split screen function had stopped working on mine as well, that has started again too.


text:
Backup anything inside a folder including file modification recursively with adb backup command
I tried command adb backup -f backup.ab -apk -shared -all /storage/emulated/0
Then I tried inspect with android backup extractor, it just backing up the APK data, while I expect it backups the entire data /storage/emulated/0 including Whatsapp data, DCIM, and so on.

What Android version is installed on your phone?

@Robert Android 10

The last part of your command is wrong. You can not specify a path, instead adb backup expects there a packagename of the app you want to backup (but that is in conflict with the -all argument). Note that if you try to perform a backup for migration to a new phone adb backup may not restore app data on the new phone this is now limited to older apps on recent Android versions.

@Robert So the command shall I do is adb backup -f backup.ab -apk -shared /storage/emulated/0
If I don't specify path, in this case /storage/emulated/0, will it backup the /storage/emulated/0?\

@Robert I don't really need APK backup, I only want perform backup anything that inside /storage/emulated/0

adb exec-out "tar -c /storage/emulated/0 | gzip" > sdcard_backup.tar.gz https://android.stackexchange.com/a/233784/2241 Note that the crated gz file will be corrupt if there is output on stdout (e.g. because of error or warning messages by tar). So after creating the gz file make sure to test it on the PC.

@Robert As far as I know, that command will trying to create archive using tar but instead of storing to the android storage, it will stdout directly to the PC (CMIIW) so it will not make storage in android became full due to archive. But, do I need gzip?

gzip is to verify integrity, it simplifies detection of corruptions by exec-out merging stdout messages into the file stream.

@Robert thank you, I saw your answer in this post https://android.stackexchange.com/questions/225295/adb-pull-says-it-pulled-all-of-the-files-from-my-android-phone-into-my-windows-p#225304 but I don't know the difference.

@Robert I saw this worked, but I need to monitor logging of backup processing, I think I can pipeline it with tee command, what do you think? Instead of using >

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


text:
Cannot change First/Last name order in Google Contacts when the sytem language is Hungarian
I took a screenshot of the settings page of Google Contacts with both languages.
As you can see in the Hungarian version the "Sort by", and "Name format" options are missing. Is there any way I could change those options and have the system language set to Hungarian?
(I already tried changing them and then switching back to Hungarian but it reverted the changes)

I just encountered the same problem and found only this with no answers.


text:
Flutter Android Debug Bridge (ADB) over different network on VSCODE
I am using VScode for flutter development.
I am also using "ADB Interface for VScode" to debug the coding over the same network wirelessly.
When I am not at home, I remote into my desktop to do some work but I see that most of the ADB only works on the same network.
Does anyone know how to use the ADB over a different network (for example, cellular network on your phone).
Thanks!

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

I recognized that my question was poorly worded. I updated the question. Thanks everyone!

@SteveKim I still think we need more info about how you want to remote to your Flutter dev PC and where the Android device that adb is connected to in this scenario. If the adb debug device is in your hands while remoting, you should specify details like: is Android device rooted, running Samsung DeX, running the RDP client to get to your Flutter dev PC.

@MorrisonChang Thanks for the reply. I realized I should have one question only. I updated my question in the StackOverflow

I think i will just post links to the project called scrcpy and it does it over adb. There is no point in me tutoring about something that has been tutored on the internet.
https://github.com/Genymobile/scrcpy
https://www.xda-developers.com/scrcpy-control-android-on-pc/


text:
Access my application files of an old App
I have this old-ish Android app running on my Pixel4 w/Android12 phone, the app was last updated on 2018 and it clearly uses old API or whatever and the built-in backup functions are obsolete. It offers option to export its DB to a folder but it can only access /data/user/0/com.cooly.OilChangeSchedulePro/files folder (yes, I'm giving out the app name)
My question is how the heck I can take that file out of my phone?
I do not have it rooted (and rooting will make it wipe, so no sense), please don't ask me to root the phone.

tried using adb run-as package but then the package is not debuggable.
tried to make the package debuggable by changing Manifest and repacking, but i cannot upgrade the app with my custom package.
tried adb backup com.cooloy.OilChangeSchedulePro and it gets an empty backup, nothing inside.

Any other way I can access that folder on my phone and copy out my DB to be restored on other phone?

Are you sure about the path /data/user/0/com/cooly.OilChangeSchedulePro, I would have expected com.cooly.OilChangeSchedulePro at the end (dot instead of slash after com. Also this is a strange path for a backup, as this path is never accessible by users. For `adb backup you can try to enable keyvalue option like shown i this answer for Chrome: https://android.stackexchange.com/a/232796/2241

@Robert you were right, ,i fixed the path, my mistake! :)
I will check that link you provided, thanks a lot!

@Robert oh man, I just love you, adding -f to the backup (and nothing else) DID work indeed, I was able to get the backup and then just did a adb restore to the new phone and the app db was restored!!!  Finally I was able to move that db, it was driving me crazy!
If you want, add it as a solution and I will make sure it gets approved! :)

Then it was just a typo on your side because the -f option should not change anything. Most likely you had a typo in the package name and therefore the created backup files was empty.

If the app does not disallow backup in it's AndroidManifest.xml then you should able to retrieve the data using adb backup.
Some older apps make use of key/value storage which is not included in backup by default. To include this data change the adb backup command to:
adb backup -keyvalue -f oilchangesBackup.ab com.cooly.OilChangeSchedulePro

Just make sure to use the correct packageName of the app because if you make a typo the backup file will be empty.

I did another try just to make sure, and believeme, the -keyvalue DOES make the difference.
Below is the proof (hard to read with no line breaks):
adb backup -keyvalue com.cooloy.OilChangeSchedulePro -f test1 and adb backup com.cooloy.OilChangeSchedulePro -f test2 output two different files, one is empty and the other isnt. 4,007b test1 - 47b test2
`

@Smoke Then in the end it was the -keyvalue option. I updated the answer accordingly.


text:
Transfer Files to Nexus 4 with Terminal
I want to transfer files to my Nexus 4 using the Mac Terminal.
I tried to use the adb shell with adb push, but because I'm not root I'm not allowed to push to the sdcard.
Is there any way to mount the device as a regular drive or to use adb push without root access?

You should be able to use adb push even without root. What's the message you get when trying to adb push ~/file /sdcard/file?

As I wrote below it's "error: device not found"

What do you get if you try to run adb devices and adb shell?

Everything works fine. I see my device and I can log in to the shell. All normal commands like cd, ls, pwd etc work. Only push and pull throw this error

And just to confirm, trying to do cd /sdcard/ works? (I know I'm being tedious, I just want to make sure nothing has been overlooked).

Yes. I also can view its content with ls

You can't push to the sdcard's root, but you can push in any folder found in it, except /sdcard/Android/data.

I tried this but I got "error: device not found"

@user1839433: Have you enabled USB debugging?

Yes I enablded debugging, adb devices shows my device and I can see all data on my phone using adb shell and ls/cd/... I only can't push and pull

What do you mean when you say "You can't push to the sdcard's root"? Because you can push to /sdcard/ no problem.

@dotVezz: Because I heard here and there that we can't. I can, but I'm on 4.1.2 and rooted, so I assume we can't and I tell a solution that I'm sure would work under normals circumstances. Anyway, It seems he has another problem...


text:
Where do those profile images come from?
I looked into the contacts of my Nexus 10 with Android 4.4.2 and noticed that some of my contacts have profile images. It looks like this:
http://chaos.stw-bonn.de/users/mu/uploads/2014-01-24/Screenshot_2014-01-24-17-49-27.png
However, I do not know this image, nor did I put it there myself. Where does that come from? I checked the settings and saw that my Google Account has full synchronisation enabled. Do those come from there?
I know that I deactivated some Google services but they kept coming back with Android updates, so I enabled them all again (why bother, if it does not work?). Did that activate synchronisation? I feel pretty angry since the tablet essentially leaked all my private data to Google now …

It might probably come via Google+. And yes, if you're not very careful and check all settings, many details get "leaked", as account sync (contacts, calendar, etc.) is turned on by default.

I just logged into the Google account on a desktop browser. I can see data there that I never wanted to see there (Contacts, search history). So, kick out the Google account and have no access to new apps?

And the images are on Google+, so I assume the tablet took them from there.


text:
How can I change the app for managing root access from SuperSU to Superuser?
I used a rooting package on my Galaxy S4 which installed SuperSU. Howvever, I preferred to use SuperUser, so I removed SuperSU and installed SuperUser.
Now the apps that normally request root do not seem to do it anymore, and also cease to function correctly.
How can I make my newly installed SuperUser App into the default root manager?

open settings in Super SU.
go to cleanup section.
switch Superuser app.

weird enough that clean for switch options removes both superSU and superuser, after reinstalling superuser and launching it, it still complains about old binary and cant install new one.


text:
New Samsung S4 reloading deleted emails
I use verizon.net as my main email address.  after reading emails on my Samsung S4 and deleting them several days later they reappear as new messages.  How can I stop this from happening?

What email app are you using: stock or something else? Are you sure you have enabled account sync?

yes the account is synced, i'm basically technologically impaired...so I don't know if it's stock or something else.  It was set up at the store, and then a couple of days later started re-loading previously read and deleted emails

Follow this video tutorial for the Galaxy S4 stock email app, and make sure you activate Sync Email option.
Maybe you'll have to remove and re-add your email account. Also you can try with other email account(s) you have, in order to discard an issue of Verizon's own mail servers.

thanks, yes i have two other accounts set up and neither have this issue.  I just noticed a setting called "auto resend times" under more settings for the account.  It was set at 3, i have changed it to none.  Could this have been the problem?

No, I guess this actually refers to how many times the app will try to send a message again if the first attempt fails. Try changing the value or Sync Schedule from Every X minutes to Push (it may drain your battery though)


text:
Phone unable to recover after app crashes
I am using a rooted S4 device for app development purpose. I have joined a new team and working on their Android app. I see a weird issue on my phone, that if my app crashes, after the ANR, the screen goes blank, back/menu/home buttons dont work at all. At best I can suspend/screen lock my phone - but even after unlock, the state of the phone doesn't change (sometimes it returns to a normal state after 1-2 minutes).
What worries me most i that this does not happen to the other members of the development team; nor does this happen if I crash any other app on my phone.
I am concerned more about is this a problem with my phone, my app, or rooting ? Logs are not showing anything unusual.


text:
Play Store keep crashing while updating apps on Nexus 5
Ok so, I have a Nexus 5, stock, updated to last Android version.
When I update apps, some of them, while downloading the update, make the Google Play Store crash to home.
I start again the play store and I start updating them again: this time, no problem.
It's not a big deal, but the randomness is kinda annoying me.
Anyone has any idea on why this could happen?

For some reason Nexus devices have an ongoing problem with playstore funny thing is Google are aware of it but dont seem to be able to fix the issues. I've had an similar issue with a Nexus 4 but I just downloaded an app called Aptoide to get my apps from and avoided the Play store altogether. Hope this helps.

I have the same problem with my Nexus 4 using the Android Runtime (ART). It seems to be related to ART and/or the new "differential updates" that the Play Store now allows. Most app updates will now only download the updated files and resources in the APK. If a crash happens on an update, it will always occur during the gap between when the updated files are downloaded and when the installation starts.
If you're using ART, try switching back to Dalvik.

Not using ART, actually.


text:
Drawing on Nexus 10 to Windows 8.1
I have a Google / Samsung Nexus 10 Android tablet, and a Windows 8.1 laptop (Dell Latitude E6430). I'd like to use my Android tablet as a drawing surface, to draw images on my Windows laptop. The ultimate goal is to be able to make narrated videos that consist of drawings, so I would be using my laptop to record the screen, while I'm drawing from the Android tablet.

I do not want to install anything new on my laptop (preferably)
I need to be able to view the drawing on my laptop while I am in the process of drawing (Remote Desktop isn't an option, for this reason)

What options are there for this scenario?

Ok, these may be silly points so bear with me. AFAIK you'll need something installed on the laptop to let the two communicate in the way you want (I could be wrong). Why can't you screen record on the tablet and bypass the whole PC thing in the first place?

@RossC: They are not silly points. What would I use to do screen recording on the tablet? I guess that could be an option, but I already have a process for recording the screen on my laptop. I am open to installing something, if absolutely necessary, but would prefer not to, if possible.

Kitkat supports screen recording, I'm on custom ROM so it's an option on my notification bar! However, here is a how to http://howto.cnet.com/8301-11310_39-57610905-285/how-to-record-your-screen-on-android-4.4-kitkat/  (I think only over ADB at the moment) And here's an alternative video: http://www.geek.com/android/how-to-use-screen-recording-in-android-4-4-1576505/

@RossC: Cool, thanks. I will check that out. It doesn't seem to be quite what I'm looking for, but still useful.

Yeah I didn't think it was ideal, no doubt there's a better solution. I tend to think in terms of 'I'll just do it on the device'. It might just be handier for now, but going forward a better solution will be needed I guess. I'll keep at it! Something LIKE this (and there's a free trial) https://play.google.com/store/apps/details?id=com.j03.mobileinput is the only bridge I can think of. It's still not what you want exactly though.

You may want to check out the several answers to this highly relevant question.

Teamviewer may be an option. You can remote into your tablet using teamviewer on your laptop, to the teamviewer app on your N10. This is the only option I can think of. This would not however allow to directly circle say an icon on your desktop, for that you would need some sort of overlay application for your laptop.


text:
Android Native alternative to AirPlay
I want to give my old apple TV to my parents because my dad wants to stream files from his ipad to his tv. 2 Months ago I made the Switch from iOS to Android, 1.5 Years ago the switch from MAc to Linux.
So I am now looking for a great alternative to Stream all that Media contents, but at least the Audio/Music from my Android Phone around my small flat (TV, Sound System in Living Room and some small Speakers in my bathroom)
Is there a native way to do that, such as airplay in the apple world? Would be great, when the receivers would not be as expensive as an apple TV so less then ~100€ and would also work with pulseaudio (ubuntu)
Ah, forgot to mention: It should be weather built in to the core android system or be a future of poweramp to save battery life and not messing around with another daemon.

Google uses Miracast for its media streaming and most recent devices can use it. As for the receiver, recent TVs have Miracast built in. If your TV doesn't have it, there are some adapters on Amazon.

my TV is quite old, well, It has ... hmm TV built in, yep ;-)
Does it work on android like it worked on Apple, that I can somewhere in a central menu chose where the sound should go to?

For screen mirroring, there's an option in the Settings app but I think you need an app for audio only

Byung-Hoon You need to tag @Tobi using the @ symbol so that he gets notified of your update / comment.

You can use Chrome Cast. It can even stream online music by itself making your Android only a remote control sleeping during the streaming and saving battery life.
If you sync your music library to Google Music (even in free account) you will be able to control it by native Google Music app.
HDMI output can be converted to jack or cinch by adapter if your HiFi does not support them.
Google also introduced Cast for Audio specialized only to Audio, and some HiFi companies started to integrate it into their speakers or receivers.
Another option is streaming to any bluetooth reciever. Either integrated in HiFi or standalone Bluetooth audio adapter.


text:
Nexus 5 not connecting to PC
I tried connecting it nexus 5 to my pc via USB. Although it shows as connected in my external devices and also shows up in My Computer, but when I try to open it and don't files to my phone, it just shows a plain, blank screen with the green placing had on top.

Did you unlock the screen? This also happened to me on my Nexus 4 when I didn't unlock the screen.

I did. But it's the same. Shows connected in my computer. But when I click the folder, it just keeps on loading and nothing show up except a blank screen/empty folder.

@Vj5891 check this vid > youtube.com/watch?v=t6dtNLJJF3o.
Also, I suggest you should download and install the Google USB Driver. http://developer.android.com/sdk/win-usb.html

Related: Android 5.0 Lollipop device not detected via USB

Enable USB debugging: Go to phone settings -> About -> Tap build number repeatedly until developer menu is enabled. Go there and tick USB debugging.
On your PC, go to your device manager (You can find it in Control Panel, System) when the Phone is plugged in and set to MTP.  Locate the phone, (it might come up as "Android Phone" if so open the tree a level. On my computer it says "Google Nexus ADB Interface" but it might be different on yours depending on how you've got things configured) right click on it and chose "properties" from the fly out menu.
Go to the Driver tab
Click Update Driver. . .
Click Browse my Computer for driver software
Click Let my pick from a list of devices on my computer
select USB Composite Device
Close the driver assistant

Your Nexus 5 should now appear as an MTP device on your computer.

Brilliant. For me it originally showed as "Acer ADB Interface". From the list of devices on my computer, I could choose "MTP USB Device". After this switch, I saw it appear as "Nexus 5" on the driver list, and it worked. This was on Windows 8.1.

I can confirm this also works for the Nexus 5X with Android 7.1 and Windows 7.

Connect your mobile,  slide down from the top of your mobile to find USB FOR CHARGING, select MTP.

Can you add info as to how to make MTP the default option (in your answer)?

I had similar problem at first. Try this:

Uninstall the driver (ADB Driver) manually from Device Manager.
Unplug the device.
Plug it so that windows automatically tries to find it.

Must work.

I've had a similar problem for some months after over a year of normal operation but with a Nexus 4 Android (now Lollipop) phone and an Acer laptop running Windows 7. The Nexus would not show up in Windows Explorer in MTP mode, only PTP mode. That is ok for moving photos over to my laptop but not for making a backup of Android files, or data such as an exported Contacts list. On revisiting this problem and finding this page I did the following:

Plug Nexus 4 into laptop (laptop acknowledges the connexion with its sound-effect)
Go to Control Panel > Devices and Printers and click on Nexus
Select Hardware, which shows Acer ADB Interface -- this seems to be what was wrong
Go to Control Panel > Drivers, select Acer ADB Interface and delete it
Unplug Nexus 4 and plug it in again, Windows goes off to find a driver for it
Windows then installs a Nexus 4 driver, not the Acer ADB driver, and all is well.

Strangely, the Nexus driver has an earlier date and a lower version number than the Acer ADB driver had, suggesting it had somehow got upgraded. Perhaps I needed the Acer ADB driver for something, but I'll worry about that when I find out what.

Unplug USB cable from your PC.
Go to 'Settings' > 'Storage'.
In options, click 'USB computer connection'
Now check on 'Camera (PTP)'
Connect your device to PC.
After connecting, if drivers are installed successfully, unplug device, switch back to MTP mode and connect to PC.

Sometimes the driver update alone does not work. For me, I also had to use a better USB cable. The cheap ones you can buy online are a lower quality. If I use the one that came with the phone, it doesn't do that disconnecting thing the whole time.


text:
Samsung Galaxy S3 doesn't respond to some secret codes
Samsung Galaxy S3 I9300 doesn't respond to all secret codes in here . Specially it can restart with non of the codes in the list. Do I have a fake Galaxy S3 ?

"Dialer Codes" are divided into multiple categories:

USSD and supplementary service Codes: network specific, should work on any device ("device independent")
manufacturer specific codes: specific to devices of a given manufacturer
device-specific codes: as the name says, specific to a given device
system-specific codes: specific to a given device configuration

What you are facing, most likely belongs to one of the last two categories. The Galaxy phones come in different variants: area-specific ones, and international versions. So those can be counted as different devices, or at least different systems, as they not only have slight differences in their hardware, but most likely also different modifications in their software; hence at least not all "sytem-specific codes" will work on all the different "variants".

Thanks for reply, but I have found #*2562#, #*3849#, #*3851# and #*3876# codes in many sites but none of them restart my phone. I have a I9300.

Please read the last paragraph again. This is probably a system-specific code, so it works in very specific combinations (device hardware, Android version, and some more specifics might be involved). I cannot tell you how to make any of those codes work, nor do I know a code that would do. But you could long-press the power button, and select "restart" from the power menu – which is a much easier solution.

You shouldn't trust such a list of secret codes, as Izzy mentionned.
If you want to have a valid list of secret codes available on your device , you should use an automated secret codes crawler.
I recently developped an Open Source app that crawls AndroidManifest.xml files on your device to found secret codes, and allows you to execute the secret codes available on your device.
You can get it on the Play Store or on the GitHub repository Android-Secret Codes.
But keep in mind that sometimes, secret codes are just executing themselves silently (without visual hint)

Please see my comment here, Simon. You might wish to update your answers accordingly then, concerning the "full list" ;) But agreed, OP seems to specifically care about "group 4" (system-specific codes, i.e. ROM+apps), so your solution should be fine.

You have your answer directly on the link : "only a few are working".

Thanks for reply. I have found #*2562#, #*3849#, #*3851# and #*3876# codes in many sites but none of them restart my phone.


text:
Check network availability using phone's modem (low level)
I am trying to find network availability using my phone's GSM modem. Last night I had almost done it using following procedure with adb shell connecting phone with Ubuntu laptop.
Terminal 1
./adb shell
su
cat /dev/smd0

Terminal 2
./adb shell
su
echo -e "AT+CIND?\r" > /dev/smd0

In Terminal 1 I had CIND 4 4 1 x x x output and I figured it's 3rd digit which is either 1 or 0 depending on network is available or not. Now today after factory resetting my phone, I can't reproduce this result.
What could be wrong? I have already tried ttySMD0, ttyGS0, ttyUSB0 etc.


text:
remove apps like Browser
I got a samsung galaxy note 8, and it came with an app called browser and also Chrome.
Obviously Chrome is better, so how can I remove the generic browser app (or at least hide it)?
The same goes for apps like Email and Gmail.

Samsung seems to provide similar software on its devices, so this procedure from a different Samsung device (Galaxy Tab 3) will probably hold.
Open the Menu > Settings > Application Manager
Use the right-most panel "All", and scroll the list to find the application(s) you want to disable. Click the button to do so (generally labelled "Disable" or "Turn Off", or similar).
You generally cannot uninstall pre-loaded apps without rooting the device.

I don't think you really want to uninstall it. Stock apps cannot be removed unless you root the device, ignoring the app though is much easier.
First, you can remove the so from your home screen and perhaps even from the launcher (only doable on some devices). @wbogacz had shown how for Samsung device.
Second, you'll want to delete the default app setting so that when other apps request to open a page in browser, you'll be launching Chrome instead of the stock browser. You could do this from Settings > Applications > Manage applications. Find the Browser app there and choose Clear Defaults. Next time an app launched a browser, choose Chrome and set it to always launch with Chrome.

Go in to settings and chose the application option.
From there you can chose the list with all and find the browser or internett app.
When you press that app you can uninstall it.

You can also read more about how to do it here http://stackoverflow.com/questions/7952573/android-4-0-disabling-apps-on-the-device


text:
Should a new microSD card appear to have folders in Android?
We have a new Moto G8 Power and a new Samsung microSD card. I put the card in and turned the new phone on. When I looked in the file browser app it shows Samsung SD Card and that there’s 13 MB used, and then it lists “FILES ON SAMSUNG SD CARD” including folders of .android_secure, Android, Download, Music, Pictures, Ringtones, Alarms, DCIM, Movies, Notifications, and Podcasts.
The folders appear to be empty. Is this normal? I don’t have much experience with Android phones (I’ve been in the Apple ecosystem pretty much exclusively); Is this expected behavior, or should I reformat the microSD card?

The list you have provided is that of standard directories (see official documentation and source code). Android OS creates these directories in external storage filesystems (including SD cards) when they are first mounted (see source). As of Android 10 it includes 9 directories: Alarms, DCIM, Download, Movies, Music, Notifications, Pictures, Podcasts and Ringtones.
Android's MediaScanner service puts the files in these directories in special categories as the names suggest. See some more details in the related question suggested by @Izzy in comment: List of special Android SD card folders?
Android and .android_secure are exceptions though. Android directory contains apps' private directories in external shared storage (see details in this answer). .android_secure is used by Android to move apps from internal to external storage (see details in this answer).
So all of these folders are created by Android OS on first usage.


text:
Does Android disk encryption use device-specific keys (such as IMEI or model) to encrypt the disk?
This question is about how disk encryption for Android 6.0 works.
In short: Does Android 6.0 disk encryption use any device-specific keys (such as IMEI or model) to encrypt the disk?
In detail:
I'm trying to recover data from a Nexus 5 phone with a damaged motherboard (due to short circuit).
It was running Android 6.0 with a disk that was encrypted using a user PIN (Device was shipped with an unencrypted Android 4.4).
To recover the data, I'm thinking to buy an SMD rework station to do a chip-off of the memory chip to a new Nexus 5 device, and then turn on the phone, enter the PIN, and get access to my files.
I'm trying to understand, since the disk was encrypted - would this work?
Would a new device with an old eMMC memory chip boot?
If disk encryption on Android only uses the user-entered PIN to encrypt the user-created data, I think this would work. If it uses device-specific values (such as IMEI or model) either in concatenation to the user-entered PIN or as a salt, soldering the old memory to a new device won't work.
According to Full-Disk Encryption in the android open-source documentation, it looks like in Android 5.0 to 9.0 only the user-created data is encrypted, but not the OS itself. The Storing the encrypted key section says

Hardware backing is implemented by using Trusted Execution Environment’s (TEE) signing capability. Previously, we encrypted the master key with a key generated by applying scrypt to the user's password and the stored salt. In order to make the key resilient against off-box attacks, we extend this algorithm by signing the resultant key with a stored TEE key.

Does this mean the encryption uses a hardware-specific key? An expert's help would be greatly appreciated. Thanks.

As @alecxs said, you answered it in the last two words you quoted TEE. See Trusty TEE

https://www.j-michel.org/blog/2014/05/27/from-nand-chip-to-files

https://blog.elcomsoft.com/2018/05/demystifying-android-physical-acquisition

if you know for sure device is encrypted, try to fix the damaged motherboard. everything else is wasted time, as the encrypted dump is only decryptable on this unique source phone itself

If your device is running Android 6.0,why is it that you seek answers for Android 5 to 9?.please [edit] to clarify //This site works on a single Question model not multiple questions packaged in one question //You can split questions separately

fun fact/ yesterday flashed latest available stock ROM on Samsung Tablet SM-T555 Android 7.1.1 and this device remain unencrypted (completely stock with locked bootloader), which i thought encryption must enforced on all recent android - obviously not. afaik Nexus 5 is not encrypted, that's why i ask if you know for sure

can remember for Nexus 5 once there was a hack for Qualcomm's KeyMaster to extract the hardware backed key (CVE-2016-2431) https://bits-please.blogspot.com/2016/06/extracting-qualcomms-keymaster-keys.html if your device is still vulnerable you might be able to decrypt offline https://forensicswiki.xyz/wiki/index.php?title=How_To_Decrypt_Android_Full_Disk_Encryption#Locating_the_Encryption_Key

in case your encryption is scrypt only (no keymaster) hashcat https://hashcat.net/forum/thread-2270.html and santoku have scripts for bruteforce https://santoku-linux.com/howto/mobile-forensics/how-to-brute-force-android-encryption/#run-brute-force (although my previous comment is contradictory)

but the most straightforward seems TWRP. i believe the Nexus 5 was shipped with unlocked bootloader, so basically you "just" need to bring back this motherboard to life and enter fastboot mode, boot (or flash) TWRP and decrypt userdata partition


text:
Newly set PIN doesn't unlock the screen
TL;DR
There was no screen lock. I tried setting 1234 as a PIN. Now the screen is locked, asking for a 4-digit PIN. 1234 won't unlock it. But it's the right PIN since trying any other PIN multiple times will completely lock the screen for 30 seconds, while 1234 won't. More weird stuff happened, see below.
What happened
Over the last few months I haven't used any screen lock on non-rooted my Xiaomi Redmi Note 6 Pro. (I had used a PIN as well as a PIN together with fingerprint recognition in the past, without any problems.) Yesterday I tried to manage some password saved at my Google account, and I got a prompt saying that I have to set a screen lock in order to continue. I agreed, I was presented with the screen lock options and I opted for a 4-digit PIN, let's say 1234, which I entered twice (the second one for confirmation). After that, I got back to the password manager of my Google account.
Fact #1: When I tried to manage some password, I got the same prompt as the first time, asking me to set a screen lock if I wanted to continue!
I agreed and I opted again for a PIN.
Fact #2: This time I was asked for my old PIN in order to set a new one, despite Fact #1!
Fact #3: 1234 was not accepted.
At that point I gave up, thinking that I could just manage my Google account passwords using some other device. And then I turned off my phone screen. And now the screen is locked, asking for a 4-digit PIN. If I enter any PIN other than 1234 then, after 5 attempts (or just 1 attempt if the process is repeated some times), I get a penalty of 30 seconds during which I'm not allowed to enter anything. But...
Fact #4: I can enter 1234 as many times as I want, without ever getting any penalty! But the screen won't get unlocked.
My questions

Is there any way to unlock my phone without losing my data?
If not, is there a way to copy the data from my phone before resetting it?
Out of curiosity, does anyone have any plausible hypothesis for what happened that is consistent with the forementioned Facts?

What I have tried

Rebooting the phone.
When I get the 30 second penalty, a "Forgot password?" button appears. But this only allows me to set a new lock after I erase all data on my device.
I visited www.google.com/android/find which presented my with three options: play sound, secure device, erase device. I selected the second one, hoping it would let me set a new screen lock, but it did no such thing.
I used the website of Google Play to install an app named Clear Mobile Password PIN Help on my device. This didn't seem to help either.
Connecting my phone to my PC via USB. Unfortunately it gets in the mode "Charging only". I tried running adb devices -l from my PC, on the off chance that I had the dev mode activated, but no luck.
Entering into Safe Mode. Again, 1234 won't unlock the screen.

I should note that for the last few weeks my device kept complaining of low storage space. At first I thought that this could be the source of the problem, but then I was able to install an app, my emails kept coming to the device (I can see the notifications), and I was able to shoot photos. So the storage isn't entirely full.

no plausible hypothesis, sounds like a major bug. what MIUI version is this? do you have bootloader unlocked?

Have you tried to reboot in safe mode? When rebooting press an holder the "Shut Down" button and you should get this option.

@alecxs I'm not sure about the MIUI version and I don't think I have a way to find out right now, right? I haven't unlocked anything, but I was able to go into fastboot mode by powering off my phone and then pressing and holding the power button together with the volume down button. Could that help?

fastboot is helpful if bootloader is unlocked. your device is locked, nothing you can do. Try safe mode as suggested

@Robert I just got into safe mode (I had to press and hold the volume button at when the loading screen appeared during booting), but no luck.

@alexcs Is there anything I can try when I get into safe mode other than entering the PIN?

there is a hacky way by-passing bootloader lock flashing modified splash partition from EDL mode for Redmi 5A. userdata partition is encrypted with default_password and TWRP can decrypt without PIN. unfortunately that method is not available for other devices, only expert could try. Nevertheless you can check micloud to get some data back


text:
Auto-correct highlighting instead of bolding
Running Android version 11, this change happened very recently with a new patch.  Now instead of autocorrect bolding the center word it will correct mine to, it highlights it. This is extremely distracting, as now I have a teal/blue box flashing, flashing, flashing in my peripheral vision as I'm typing. How can I make it stop highlighting and go back to its previous behavior?
Edit: I seem to be running gboard.

This behavior depends on the Keyboard app. I'd assume it's Gboard, since I also noticed it recently?

Oh yes, it does appear to be gboard. I don't know if that's the standard option, or if I should be trying a different keyboard or what.


text:
Android one install
After wondering for a lot of years I recently got a fair idea on what is the difference between stock android, android one and many other custom rom. Now I want to play around with it and was thinking to install Grapheneos. I have a Motorola One Power. Now the question is: say I mess up while installing Grapheneos or say I did install it successfully and decide to switch back to Android One, how do I do it? I tried searching online but couldn't find anything. All I got was to install android one "experience" which is basically just installing a launcher.
One more thing, since Android updates are directly given by Google for all the phones, why do I have to download the OS for a phone from it's manifactrer's website instead of downloading it from the android website?
(someone posted a duckduckgo search for what I asked which is kind of what I was looking for, I found a Motorola page for the custom ROM for my device.)
Also, do you guys have any tips before I go on installing? By the way, I am a Linux user if that concerns in any to the question.

https://duckduckgo.com/?q=Motorola+One+Power+stock+ROM%2C+factory+firmware

isn't stock ROM customized stock android, so this is basically, might not be, what my phone came pre-installed with? am I right? do I make sense?

You are wrong the OS and every update are always provided by the device manufacturer. Google only provides the Android system to the manufacturers and certifies in the end that the device is Android compliant.

oh, didn't know that


text:
Disable avb/dm-verity manually on super partition
my doogee s96, with the TWRP no more able to boot, probably due to the dm-verity check.
I tried several things, install Magisk or patching boot.img, but I always failed. The phone starts and suddendly swicth to TWRP without launching Android.
With the suggestion of @alecxs I pulled the super partition through adb and umpacked with lpunpack.
The idea is to manually disable the avb/dm-verity control.
Now I have product.img + system.img + vendor.img.
I can open them with 7z and, for instance, i found many lines on /vendor.img/etc/fstab.mt6785 using avb:
system /system ext4 ro wait,,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
vendor /vendor ext4 ro wait,,avb,logical,first_stage_mount
product /product ext4 ro wait,,avb,logical,first_stage_mount

or the system.img/init.rc with the line
exec -- /system/bin/fsverity_init

and system.img/system/bin/fsverity_init:
# Enforce fsverity signature checking
echo 1 > /proc/sys/fs/verity/require_signatures

# Load all keys
for cert in /product/etc/security/fsverity/*.der; do
  /system/bin/mini-keyctl padd asymmetric fsv_product .fs-verity < "$cert" ||
    log -p e -t fsverity_init "Failed to load $cert"
done

# Prevent future key links to .fs-verity keyring
/system/bin/mini-keyctl restrict_keyring .fs-verity ||
  log -p e -t fsverity_init "Failed to restrict .fs-verity keyring"

The question is:
Is it possible to manually edit the imgs, repack the super and adb push it to make my phone start again?
What should I do?
Thank you in advance!
State of the art:
from adb i pulled the superpartition from the device
adb pull /dev/block/platform/bootdevice/by-name/super super.img
i extracted it with lpunpack in two folders:
./otatools/bin/lpunpack --slot=0 ./super.img ./superA/

mounted and enlarged the partition + edited the fstab.mt6785
sudo mount -t ext4 -o loop,rw,noexec,noatime vendor.img /mnt/vendor
sudo dd if=./vendor.img bs=1MiB of=./vendor.img conv=notrunc oflag=append count=5 #to add 5MB
sudo losetup | grep vendor #get the right loop device, in my case loop25
sudo losetup -c /dev/loop25
sudo resize2fs /dev/loop25
sudo vim /mnt/vendor/etc/fstab.mt6785 #removed the avb options in vendor, system and product
sudo umount /mnt/vendor

Following this guide, I built a new super.new.img:
$e2fsck -yf vendor.img
$resize2fs -M vendor.img
$e2fsck -yf vendor.img
$stat -c '%n %s' *
super.img 3758096384
product.img 1596944384
system.img 1128718336
vendor.img 544976896

$../otatools/bin/lpmake --metadata-size 65536 --super-name super --metadata-slots 1 --device super:3758096384 --group main:3270639616 --partition system:readonly:1128718336:main --image system=./system.img --partition vendor:readonly:544976896:main --image vendor=./vendor.img --partition product:readonly:1596944384:main --image product=./product.img --sparse --output ./super.new.img
lpmake I 02-17 12:18:27 2646704 2646704 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 1128718336 bytes
lpmake I 02-17 12:18:27 2646704 2646704 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 544976896 bytes
lpmake I 02-17 12:18:27 2646704 2646704 builder.cpp:1012] [liblp]Partition product will resize from 0 bytes to 1596944384 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
Invalid sparse file format at header magic

even though the size of super.new.img is not the same of super.img (is it normal??)
$stat -c '%n %s' super.new.img
super.new.img **3248851200**

when I flash it with adb the phone goes straight to the recovery without booting android. Please note that 3248851200 is not divisible by 512, which is a requirement of lpmake....
Any suggestion?

Does this answer your question? How to disable dm-verity on Android with "user" build type ROM?

https://chat.stackexchange.com/transcript/119624

edited the first post to add the state of the art.

I built the new super file but it doesn't work.@alecxs any idea?

@alecxs if the dm-verity implementation depends on vold flag: verify= in fstab, and the fstab entry for super partition is in the DTB, you definitely need to modify the DTB; be it a separate partition or appended to the kernel blob. I've no personal experience with super partition though.

https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703


text:
Android Chrome browser is making a duplicate of every photo downloaded to my external SD card
Every time I download a photo (.jpg or .png file) with the Chrome browser (stable version) to my external SD card, it gets duplicated and stored also in "/storage/emulated/0/Pictures" folder (internal storage). The duplicate has always somewhat a smaller file size. How can I disable this and why is this happening ?
This doesn't happen when I download a photo with Opera Mini or MS Edge browser to my SD card for example. It only happens to pictures downloaded with Google Chrome when the download location is set to "SD card".
My SD card is formated as portable storage on my HTC 10 (Android Oreo).

Probably happening because your gallery is storing thumbnails of the pictures downloaded. This is what is called cache.
To confirm, you can just see the location of one of these files. They should be in a .thumbnails or thumbnails folder, I'm not so sure.

In the OS I use (Lineage OS 17.1, lovin' it!), the thumbnails folder is marked by .thumbnails in device storage emulated/0. So photo and gallery apps don't index files from that folder, knowing that it's hidden as per the Linux convention of naming files and directories - the . before the thumbnails hides the directory.

Yes, it should be some some kind of cache, because it doesn't happen when I download pics to my external SD with other browsers, nor it happens when I just cut&paste pics from internal to SD storage...  Though I don't have a "thumbnails" folder in the Pictures folder. These duplicates show a date of 1970 when I examine them. I use the latest LeeDroid ROM on my HTC 10.

If it is cache, it's your gallery cache, not browser cache. If it's not happening with other browsers, that's because you haven't given your gallery enough time.

But it happens with Gallery GO app from Google as well. I think it has to do something with Chrome, it's weird really.

I see. I can't say.

This answer I found on google.support and I  Copied and pasted, I'm not sure if that's okay? Or not I'm sure I will find out momentarily .
We are aware of this issue and are working on a fix for this. To resolve this immediately, you'll need to reset the permission for the Google Photos App by following the steps below. Once these steps are complete, the duplicates should disappear after a few minutes.

Long press the Photos App icon
Tap the "i" button on the top right corner to go into App info
Tap "Permissions"
Tap "Storage" under Allowed
Tap "Deny" and tap "Deny anyway"
Re-open the Photos app
Tap "Allow" when prompted with "Allow Photos to access photos, media, and files on your device?"
Hope that helps....    :)

Thanks, but this doesn't solve it...just tried the Google Photos app, same problem happens when I download a photo with Chrome browser to my SD card.


text:
What are the Standard Controls for Headphones on Stock Android Kitkat?
I have Bose MIE2 earbuds and a Nexus 5 running Android KitKat 4.4.2. The earbuds have a two-sided button:

Hitting this button in different ways during audio playback triggers different actions. I'm trying to figure out the controls. So far, I've found:

single tap, either side:

Google Play Music: play/pause
Audible: play/pause
Stitcher Radio: pause, but no play

double tap, either side: forward one track

Google Play Music: forward one track
Audible: nothing, just pauses and plays (interpreted as 2 single taps)
Stitcher Radio: nothing, just pauses (interpreted as 2 single taps)

press and hold, either side

All Contexts: voice google search

There are also supposed to be ways to answer and make calls, but I haven't discovered them yet.
Questions

is there a standard reference for what the different tap patterns are supposed to do?
is there a way to program the controls to achieve a consistent interface across applications?
do all headphone manufacturers implement basically the same headphone controls, so that apps for manipulating one brand will work for other brands?

is there a standard reference for what the different tap patterns are supposed to do?

Basically, what you have noted is how most BT headphones function with their buttons.

is there a way to program the controls to achieve a consistent interface across applications?

No, since each app maker decides whether or how to implant/interpret BT controls. It can be quite annoying when playing from different apps and the pause button does not work.

do all headphone manufacturers implement basically the same headphone controls, so that apps for manipulating one brand will work for other brands?

From my experience, owning several BT headphones, the buttons are always the same, but the placement is not. I tried finding a BT standard in hopes to find if the buttons are standardized, but I was not able to make any grounds.


text:
How to fix Samsung Galaxy Note 3 Loose Home Button?
Samsung's Note 3 smartphone has cool features and utilities than other smartphone in market. And even it doesn't heat in long use. But Home button stuck randomly while using and sometimes Volume button also has same problem. read brief in http://eviltek.blogspot.com/2013/12/how-to-fix-samsung-galaxy-note-3-loose.html
How to Fix it

If your device is still in warranty I'd stop fiddling with it and get it fixed at an authorized service center. Opening the device yourself will void warranty.

It is a broken phone. send it back to Samsung. I also use the features that it comes with and mine works fine.

Why would you send a Samsung phone to Google?

I'm sorry I ment Samsung editing now


text:
Nexus 5 Noise with Bluetooth
With the phone and Bluetooth paired in my SUV there's a scratchy tapping noise every time I make or receive a call. Any idea how to get rid of this tapping noise? The phone is right up front with me in the open (not in my pocket) so I don't think its a distance issue.  I've had other older model Android phones pair without this noise.

This could be the noise that is generated by the Radio waves in your speaker/amplifyer. If you cannot give an example of that sound it is really hard to debug. I wanted to post that as a comment, but my reputation is to low for that...


text:
Enabling MTP in HTC Desire S
My use case scenario is following: push some data from pc to smartphone and have an app there that detects and read that data.
I know that there is MTP protocol that allows both pc and mobile device to access storage simultaneously. In that case I could just drop some files on mobile's sd card and have File Observer set to detect changes in file system and then subsequently read that data.
The problem is enabling MTP on HTC Desire S. I read that HTC Android 4.1+ versions support this protocol. I tried newest official ROM for the phone (4.0.4) but there was only Usb Mass Storage option when connecting to pc. Now I am on Jelly Fire Bean, 4.2.2 and still I can find no trace of MTP support. Might it be that this is a hardware limitation of the phone or have I not tried the correct ROM yet?
Alternatively, is there any other way to fullfil my use case scenario? The constraint is that communication must go through the (USB?)cable.

An alternative would be to use adb push resp. adb pull to initiate a file transfer between computer and Android device. For this, you don't even need the entire Android SDK on your computer, a few files suffice (see: Is there a minimal installation of ADB?). On a Linux system, you could even mount the Android device using adbfs (see here), and thus access it like a "normal drive" from command line (e.g. via cp/mv) as well as from graphical interfaces.


text:
I turned Airplane Mode on, yet someone was still able to call me
I turned Airplane Mode on, yet someone was still able to call me. How was this possible when Airplane Mode supposedly shuts off all airwaves?

What phone do you use and what Android version and security update state is installed? On Google Pixel phones that have installed update December 2022 Air plane mode now only affects cellular mode. Wifi is no longer disabled (stays as it is). If your phone and provider supports Wifi-calls and you are connected to a Wifi then it you can still be called.

Ok, Airplane Mode was turned on first, but then I turned on Wifi at home, which appears on the left-side. Is that all it takes to receive calls still with Airplane Mode on? I also notice that there's an icon for "Wifi Calling" that I enabled on the right-side

If that Wifi-calling icon appears then you the connection to your mobile network provider is established via Wifi and calling is possible no matter in which state the cellular system in the phone is.

But doesn't the SIM card (being on) supposed to process any calls to my 10-digit number? How can WiFi possibly process a call to a 10-digit number? And is Wifi Calling a work-around for global cellular roaming so that no roaming charges?

@Robert is talking about Voice over WiFi.

As mentioned by Karthik, its probably WiFi calling.

"When using Voice over Wifi the SIM card is active because it performs the authentication and transmission protection when communications over the internet with the mobile network provider. What you mean that is not on is the cellular radio." Is this statement true

That is VoWi-Fi. VoWi-Fi doesn't necessarily require your cellular radio to be "ON" in order to make calls. The SIM card being "present" in the device is enough
The content below is from a comment I wrote on the same question as a reply
The SIM card serves as an "identification module" which enables your "smartphone" to process phone calls, either via cellular radio, or via VoWIFI. Your SIM card being present and working (working as in it sort of informing the phone that you "are" subscribed to a plan) indicates your phone can make phone calls using your Telecom provider's exclusive network services, the device depending on the circumstances/configuration decides how to proceed with the call- either via VoLTE or HSPA or Edge (these three uses cellular radio) or via WiFi (VoWIFI aka WiFi calling)
Which means nothing is "bypassed" here. Your phone can't make/receive WiFi calls while in airplane mode if your SIM card isn't present or if your SIM card is present but you don't have any active subscriptions

When using Voice over Wifi the SIM card is active because it performs the authentication and transmission protection when communications over the internet with the mobile network provider. What you mean that is not on is the cellular radio.

All it says is "Wifi Calling". No one has ever heard of "VoWiFi". shrug emoji

Yes @Robert I meant cellular radio. Let me amend the answer. Thanks.

@user610620 VoWIFI is the technology behind WIFi calling

"Wifi Calling" appears on Android phones. "VoWifi" does not. No matter what it's called, if they're one and the same, please address how it is able to bypass the SIM Card, when it is the SIM Card that possesses and processes all transmissions to the 10-digit registered number!!!!

@user610620 the SIM card serves as an "identification module" which enables your "smartphone" to "posses" and "process" transmissions, either via cellular radio, or via VoWIFI. Your SIM card being present and working (working as in it sort of informing the phone that you "are" subscribed to a plan) indicates your phone can make phone calls using your Telecom provider's exclusive network services, the device depending on the circumstances/configuration decides how to proceed with the call- either via VoLTE or HSPA or Edge (these three uses cellular radio) or via WiFi (VoWIFI aka WiFi calling)

@user610620 which means nothing is "bypassed" here. Your phone can't make/receive WiFi calls while in airplane mode if your SIM card isn't present.

So doesn't that mean that Wifi Calling has rendered International Roaming plans obsolete? Who would want to pay for an International Roaming plan, as long as they stay within suburban proximity to city wifi wherever they're travelling? Furthermore, Does the use of Wifi Calling bypass your SIM provider telco's knowledge of your call activity?


text:
LG G Pad F 8.0 (UK495) Android 6.0: Cannot Access Bootloader or Recovery
I have an older LG G Pad F 8.0 (UK495). The tablet originally came with Android 5.1 but at some point received an official upgrade to 6.0. My ultimate goal is to hopefully root the device & install a custom recovery & ROM. But I am running into two problems in trying to access the bootloader & default recovery.
Enable OEM unlock & USB debugging are both enabled in developer options. ADB recognizes the device connected to my Windows system:
> adb devices
List of devices attached
LGUK49520651306 device

I didn't find any instructions in the official documentation from LG. But according to many tutorials found online it should be possible start the bootloader using a combination of the power & volume keys. The only combination I have found to do anything is holding power + vol down to start the device. Release once the LG logo appears & immediately press power + vol down again. But this only brings up a minimalist menu for resetting the device to factory defaults:

ADB is also unable to bring up the bootloader. Executing adb reboot bootloader restarts the device but in regular user mode. So I am unable to use fastboot to unlock the bootloader & flash partitions.
I can get into what appears to be recovery mode with adb reboot recovery. A black screen with the Android logo laying on its back:

But the usual "no command" text is missing & no button combinations (power + vol up/down) bring up the recovery menu options.
I read on XDA that some manufacturers/distributors make the bootloader & recovery partitions more obscure or just completely remove access.
Some users have been able to use a KingRoot exploit to root this device without unlocking the bootloader. But the exploit only works for devices with Android 5.1 or older. So it's not an option for me. I need to access the bootloader to unlock it as far as I can tell.
Is anyone familiar with this device or have any suggestions that may help me to unlock the bootloader & access recovery mode? This is the first device on which I wasn't even able to bring up the bootloader.
The following is a selection of tutorials & threads from the many that I looked through for help:

Help Can't access bootloader
Cannot boot into bootloader/fastboot
How to put LG UK495 G Pad F 8.0 in recovery mode?
How to unlock Bootloader in LG UK495 G Pad F 8.0?
Download and Install TWRP Recovery on LGE LG G Pad F 8.0 2nd Gen LG-UK495 t8lte (this one says "2nd gen" so not sure if it even applies to my device)
How To ROOT Android 6.0 Marshmallow Android 10

-- Update --
I found some stock firmware images available for my device:

UK49520c_00_0718
UK49522a_00_0329

I was able to flash them to the device in upload mode using LG Flash Tool. The ROMs were successfully applied, but did not fix or change access to bootloader or recovery mode.

Hello is the bootloader already unlocked? please check Developer options and look for OEM unlocking.

Google introduced a new security feature in Android from Android 5.0
Lollipop onwards. The new feature named “OEM Unlock” has a meaningful
purpose in the device. If you’ve tried rooting your device, unlocking
its bootloader, flashing a custom recovery or ROM, you must have seen
“OEM Unlock” option to be checked as a requirement for doing any of
the aforementioned custom processes. -Reference here

You need to unlock bootloader before rooting or installing custom roms. Please try this tools:

For Qualcomm
For MediaTek
For UNISOC

This tool helps me a lot for rooting my phones. It is more advanced than fastboot. If you are lucky, you could even restore the system in case it was damaged due to how risky rooting is.

The bootloader is not unlocked. OEM unlocking is enabled in developer options, but I cannot boot into the bootloader to execute the terminal command fastboot oem unlock to actually unlock it. I will look at the tools you suggest & see if they help.


text:
Configure sleep mode for a Progessive Web App (PWA)?
First of all I do not know the difference between "sleep mode" and "standby", so I am most likely using the wrong term in the following problem description:
I build myself a little PWA that tracks my routes with OpenLayers. It works fine so far, but at some point the recording of a track is interrupted. I assume this is due to the automatic sleep mode, which "turns off" Chrome and probably therefore also "navigator.geolocation".
Is there any chance to let my PWA and navigator.geolocation continue doing their work when Android is in sleep mode? And if so, is there any way to activate that setting via the PWA and without going into "Settings -> ... -> ..." (if that is at all an option)?
Thank you!
PS: The gis.stackexchange.com community recommended me to ask this question here.
PPS: A "PWA" ("Progressive Web App"), in short, is nothing else but a web application that looks and behaves like a "real" app. Even though it is run in a browser (in my case I only focus on Chrome), it can be used offline via service workers, the UI does not show the browser's address bar and some things more. By using all the modern browser APIs it is possible to create an app without having to go through the app store (even though a PWA could be registered as an app in the app store, too).

AFAIK, a PWA relies on a web browser and is subjected to the same constraints the browser is. Since I don't know about this see if you can ask the user to exempt your app (the browser technically) from battery optimization. Native apps can ask the user this way. I might be wholly wrong on the subject but this is my opinion given my experience with PWAs based on end-user specific interaction with them.

As it turns out, there is a Web API, "Screen Wake Lock API":
https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API


text:
How to switch default home launcher at macrodroid
I use several home launcher apps.
At my school, i use system launcher.And at my home or any other cases,i use nova launcher.
And,ther are secret apps that i don't want to show my friend in nova home.
So,i want to swich default launchers automatically at a certain time.
I think i can use macrodroid.But I'don know how.
Are there any shortcut to swich  default launcher in app?
(it's not good idea to touch the app icon to swich to go to nova or another home)
(I don't  want to root if possible)--edited

If you have root access you can try the command mentioned here: https://android.stackexchange.com/a/220149/96277

Im worried about rooting.Please let me show if there is a way to solve it with other app without rooting.


text:
How to access texts on rooted Android device from terminal
How do I access text messages on my rooted device using the command line?
I specifically want to extract a text transcript, without using any cloud services and thereby exposing sensitive or personal info.

https://android.stackexchange.com/a/215426/218526

Requirements:

Linux terminal (may work on other systems; untested).
adb installed.
"USB Debugging" enabled.
Rooted Android device (may work on unrooted; untested).

Sequence:

Plug in device.
Put device in "File Transfer" mode.
Start session with root access: adb root.
Accept prompt on device to allow USB debugging.
Start interactive shell at root dir (/): adb shell.
Locate database file using ls, find, and whatever tools you see fit. Mine was: /data/data/com.android.messaging/databases/bugle_db.
Exit the shell with exit or Ctrl-d.
Pull the file onto your local machine: adb pull <file> ~/texts.db.
Run this script to extract messages: python3 extract_convo_from_textdb.py ~/texts.db "<convo-name>".


text:
LG G2 model VS980 4G Bluetooth File Transfer
I am unable to get my LG G2 (Verizon, model VS980 4G) with Android 4.2.2 to successfully transfer files using Bluetooth. I had one app work a few times, then that too stopped working. I can get the phone and computer to pair, but not transfer. Any ideas, this should be simple?

Welcome to Android Enthusaists! Just wondering: Could you use an alternative method like USB or WiFi? Bluetooth file transfer has always been quite finicky for me, and it's very slow.

I've now tried standard Windows utility to add wi-fi device which will not connect, and also the Wireless Storage utility on the phone which will only connect after a fresh reboot of the Windows system, and then shows an error after it accepts the password provided by the phone. I have tried this with the firewall up and with it down; same results. Good suggestion though. In attempting bluetooth I get the following specific error if the device will pair and try to load drivers: "Bluetooth peripheral device driver" as it did not load properly. I can find no updated driver at Microsoft or LG.

Sorry, I worded my question poorly; is there any reason why you can't just use USB? Or are you forced to use the Wireless Storage utility?

Thanks for your continued interest. I can use USB but it seems like I have a ton of wire entangling my desk already. I was really hoping it would be more efficient to use some wireless technology. I've looked to LG and Microsoft for the bluetooth FTP drivers. LG sent me USB drivers and MS isn't in the loop. I am concluding Bluetooth is only for phone add on devices like headphones and audio. I suspect I'll either need to find an app specifically for this, or use a cloud service if I continue the quest to avoid the wire.

You've drawn the same conclusions I would have - a cloud service is an idea, or a wifi file-transfer app if the cloud doesn't work well for you. (There are dozens of these apps). Bluetooth file transfers are unfortunately very impractical.


text:
Android permission and ProtectionLevel
How Do we find what level of Android permission is required for a specific permission.
Lets say we have android.permission.SET_ACTIVITY_WATCHER(docs)
What permission group does it fall into?(docs)

Regular
Dangerous
System or Signed
Signed

Is this a development question?

@dotVezz not necessarily. The protection level of a permission also tells you whether the app gets access to those permissions when installed as user-app (e.g. system-or-signed does not in those cases).

You usually get some first-aid help with issues checking their tag-wikis, in your case permissions tag-wiki will get you started, and tell you to take a look at What do the permissions that applications require mean? – where you will find exactly the answer to your question.

Protection Levels might differ between Android versions (and even devices/ROM versions). More pointers: https://android.izzysoft.de/applists/perms – you can use e.g. Android Census to check for those differences, e.g. https://census.tsyrklevich.net/permissions/android.permission.WRITE_USER_DICTIONARY


text:
External storage media setting
I have a samsung Galaxy S4 with an external 64Gb class 10 micro SD card. How can I set the settings to have all media (photos, movies, music) stored automatically in the external card when a pic is taken or files are downloaded?

There's no global switch for that. You'll have to do so in the apps you use, e.g. the camera app(s).

incredible, apps like wassapp don't even have a setting for this

[ROOT ONLY]
A third party solution would be the App FolderMount. That way it is possible to move all the media folders one by one to the external SD Card and mount them on top of the internal folders.

As I already shortly pointed out in my comment to the question itself: Android has no centralized setting for that, it has to be configured for each app separately – provided the app supports it. Unfortunately, such a setting is not even featured by all apps, so for some it might be impossible.


text:
Want to install kitkat 4.4 on Samsung Star Pro (S7262)
I want to install Kitkat 4.4 on my Samsung Star Pro S7262 (rooted). I could't find a solution by googling. If it is not possible or not available for my phone right now, please suggest me any other version which is greater than jellybean 4.1

There aren't many ROMs for that device at all. Your best bet is to search around XDA. I only found the Stock ROM myself http://forum.xda-developers.com/showthread.php?t=2569046 but you may have more look if you keep searching. However, it doesn't have its own page on XDA so I doubt there is much development done for it to be honest.

http://guidesdna.com/update-galaxy-star-pro-s7262-android-4-4-kitkat/
http://techbeasts.com/2014/02/17/update-galaxy-star-pro-to-android-4-4-2-kit-kat-custom-rom/
I am willing to try this on star pro. Not done yet although. Do it on ur own risk ;)

Welcome to the Android Enthusiasts! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the links for reference (please [edit] your question and do so). Otherwise your question ceases to be helpful in case the links die.

Not yet. It seems this guy's offering is working for few only. So I couldn't take the risk. It seems to work well for star pro mobiles that hasn't been updated to latest version provided in system update. My device is up to date so its prone to fail.

I recommend trying to get in contact with some Samsung developer on XDA forums and request him to develop for the device.
There are less chances of this method working but this is the only thing u can do other than developing yourself.


text:
"Connection to server lost / Touch to retry" when resuming Youtube video
Viewing videos with youtube app works fine except when I close the app and get back to the video later. I see the cursor at the time I left it but I get "Connection to server lost / Touch to retry", the video won't resume and touching actually doesn't seem to retry.
The only option is going back to the main app screen, swipe away the video and opening it again.
This happens both on a Samsung Galaxy S3 with Android 4.1.2 and on a Nexus 5 with Android 4.4.2
Is there anything I can do to fix this issue and be able to resume videos again?

Very annoying indeed!


text:
Which Android handsets support in-line call recording?
In-line call recording feature is not something that can be found in the specifications listed by the manufactures or on the websites aggregating such data such as GSM Arena. It is also a source of bad rep given to the developers of call recording apps because the general public does not understand that they own devices which do not support such feature for one reason or another and the app they use have nothing to do with it. A short trip around the Web only confirms that there is a lot of confusion surrounding this subject.
If you own an Android device and are able to verify whether it and its stock  ROM support in-line call recording please post the make and model. I'm not sure if the country of purchase is necessary but I would not be surprised if handsets sold in some countries had this feature enabled while in others disabled (in the same fashion as DVD players supported different regions depending on where they were sold).
The in-line recording should result in a recording where both the caller and the callee can be heard loud, clear and background noise free, just as they can hear each other during the conversation. It should be achievable while having the handset by the ear with the loudspeaker set to off.
Some information on handsets that do not have such feature can be found on the Google Play storefronts. I was initially going to pre-populate the below list with the 'unconfirmed' information from there but I think it will be better if it grows organically :-)

It depends on the hardware (can the voice be sent to the processor) and the baseband (which can always be updated) and the carrier network, and the legality in a particular country around doing this. Any list  here will be very fluid as basebands are constantly updated, custom ROMs can sometimes enable the feature on a device that doesn't officially support this feature. There is an API for this function but my conversations with network providers seem to indicate that most people do not want to be recorded and there are legal ramifications in many places. There's too many variables.

@RossC Thank you for listing the extra factors, I was wondering what else needs to be taken into account.

Android phones WITH in-line call recording capability

a
b
c

Android phones WITHOUT in-line call recording capability

HTC Incredible S (possible with custom kernel)
Motorola Atrix 4G MB860 (UK) (an unofficial ROM enabling the feature known to exist)
n

What handset makers say
Motorola UK - "We are sorry to inform you that due to privacy reasons, none of our phones comes with the in-call recording feature. There are some applications in Google Play that may perform this, however we cannot give support for their use. We apologize for any inconvenience this may cause you."
Acer UK - "In order to use the in line call recording, the unit should have the call recorder application on the unit. You can download the application from google store."
Sony UK - "Sadly we can confirm that no Sony Xperia handset has the ability to record calls as standard. However you may be able to download a third party application to do this but as it would be third party we would not be able to gaurantee it would fully work. We apologise for any inconvenience caused by this."
Samsung UK - "Unfortunately, we don't have a handset on the market that has this as a registered feature. However, there may be some third party applications available for download that may allow you to record telephone conversations. As these are third party and not developed by Samsung, I am unable to recommend any specific application to you."
LG UK - "I am really sorry to advise that we don’t have a handset that will do in-line call recording I would like to apologize for this."


text:
How do I have the contacts name only once a text comes?
on my samsung android 4.3 I turned off in messages settings preview, now when I receive a text I get "new text messages". When turned on I get the contacts name & some of the text written from the person. Is there a way I can receive the contacts name only?

I don't think so, from what I can see on my S4 it's either 'New Text Message' or 'Name and Preview'. You could try a third party SMS application to see if this feature is present.


text:
Android freezes while sleeping - how to find why?
I can't wake up my Android DNS M83g tab from sleeping for several weeks. It freezes totally - pressing power button cause nothing to appear on screen, only holding it pressed for 10-20 sec helps to turn device off and then boot up from start. I can find nothing in logs using catlog since it shows only this time boot logs. Is there any known reason of the problem or could someone give me an advice to localize it (other then remove all recently installed/updated applications one by one and Factory data reset)?


text:
KitKat update has made Google Play and Gmail inaccessable
The update to KitKat on my phone was done automatically, and since then I have been unable to access google play, or sign into gmail. I've gotten no notifications or e-mails since Nov. 23rd. I'm told I can't sign into Gmail, but when I'm prompted to try, I can't even get to the screen.

What device do you have and is it using a custom ROM?

Yeah first please answer the question that which device you are using and did you get an official update from your manufacturer or did you manually install a custom ROM?
(Although by your post it seems an official manufacturer update but please confirm...)
IF:
1.Official update , then you can just do that update all over again and this time try it through PC software(if you had previously done an Over the Air update). Or finally contact your manufacturer's customer care or go to service center.
2.Custom ROM , then it may be problem with the ROM or kernel . Reach the developer for that. Or you can even replace the Google Apps. Just find an appropriate .zip coinciding with your Android version.
Hope this helps or ask again with doubts. :)


text:
I need some photos that an app use, can i get them?
I'm talking about zombiebooth app. I need those photos of damaged body parts for an after effects project. I guess they are saved as .png and i want those files, how can i get them?

You can extract the apk file (which is just a jar/zip file) and find the folder where the app stores the images, it is usually in the res folder, but it may be different place. If the app use APK expansion, then the image may also be stored in the expansion file.
Note that you may be violating the copyright of the developer by using these images, it's better if you contact the developer and request permission to use these images.


text:
Google Play store issue security breach
My daughter got an Samsung Galaxy 3 7" tablet for Xmas. She also got some Google Play gift cards. My husband put in a credit card to buy a game for her. The next day there were 4 games downloaded that she did not pick - and not to her tablet. We had to cancel the credit card. Now her Google Play app will not connect to the internet even though she can access it via typing in from internet. Games she did buy are not showing up on her tablet. Google Play, Amazon and Samsungs reg site who up on her tablet as having bad certificates???? I have searched the google play site and can't find a place to access her gift cards to see if they have a balance or have been used.