text:
I have over 2GB of internal memory and can't install or update some apps
I tried to search for some answer but couldn't find anything.
I'm using cyanogenmod-11 on a Samsung Galaxy S4 Mini.
I am pretty sure I have enough space on the internal memory, but I still receive the insufficient space message when trying to update and/or install some apps, but not all of them.
What could be the problem?

Probably the /cache partition was full.

Try the fix permissions entry in your custom recovery menu. In most cases this fixes the problem.

I ended up reinstalling the entire opperating system and that solved the problem.

If it happens again, then try this: open the stock dialer (stock phone app); enter *#9900#; from the menu that appears (usually instantaneously, but sometimes it takes a few seconds) choose “Delete dumpstate/logcat" and then try to install or update your apps.


text:
Can an app update from Play Store reinstate its permissions I've disabled earlier?
There are quite a few apps out there that request too many permissions during install time, most of them seem  highly dubious. I tend to disable permissions I feel unlikely to be used and for the most part I get it right.
Can an update to said app reinstate its "factory" permissions that I've disabled? (an update might be from Play Store or APK)
This is about protecting privacy, which, I feel, is increasingly difficult these days.

Cases that doesn't affect your current permissions:

Updating app from play store.(also maybe the same for apk install too)
When you disable/enable any app.
When you clear only app cache.
When you force stop and restart.
During uninstall updates of an app. (This action is performed automatically when you disable that app).

Cases that may reset your current permissions:

When you clear Data and Cache.
During reinstall.
After factory reset.

Note: The app developer/company can add more permissions while releasing a new update to a currently running app with specific permissions.
For example, phone app have many permissions such as contacts, phone, sms, storage, location etc. But, we need to set these permissions only such as contacts, sms, phone. Later, when developer release app update he adds camera permission for video calling. User need to enable this for video calling purposes.

@beeshayms can you please elaborate on how that's possible?

@cyfrost Sorry typo there- user is asked for additional permissions on update if needed. See https://developer.android.com/guide/topics/permissions/overview

source: Stack Exchange

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

sort: votes


text:
How to correctly quote `adb shell su -c`
adb shell su -c is a commonly used adb command. Normally you just need to append arguments to the command line like this:
adb shell su -c echo ab

However, things can be tricky if you want to add quotes. For example, to print a  b (there are 2 spaces), these won't work:
adb shell su -c echo "a  b"
adb shell su -c "echo \"a  b\""
adb shell su -c "echo 'a  b'"

You have to use these:
adb shell su -c "\"echo \\\"a  b\\\"\""
adb shell "su -c \"echo \\\"a  b\\\"\""
adb shell su -c "\"echo 'a  b'\""
adb shell "su -c \"echo 'a  b'\""

I'd like to know which is the standard way of writing such a command. Standard means it handles quotes correctly and in the most straightforward way.
My current research:

adb handles command arguments the same way as ssh: Arguments are connected (with space) into a string, and that string is executed.
su -c expects a single string as the command line, and it doesn't do the concatenation for you.

So I think the most standard way of writing adb shell su -c should be like:
adb shell "su -c \"echo \\\"a  b\\\"\""

However, I'm not very confident about this. Does anyone have concrete reference confirming what I'm doing or showing I'm doing it wrong?

When I get in this kind of situation I do: adb shell 'su -c "echo a\ \ b"'. I use single quotes to enclose everything after adb shell and double quotes inside, wherever needed.

The best solution would be to use single-quotes (') around the subcommand:
adb shell 'su -c echo "a  b"'

But please note that usually within single-quotes everything is taken literally and variables are not expanded. This doesn't apply when you nest quotes like this. As an example:
myvar='123'
echo "$myvar"   # prints 123
echo '$myvar'   # prints $myvar

But: (assuming $myvar is set to '123' within the adb shell (e.g. on phone))
adb shell 'su -c echo "$myvar"'    # prints 123

In case you want to use your own shell variables to be included within the adb subcommand, you can simply flip around the quotes:
myvar='test'
adb shell "su -c echo '$myvar'"    # prints test

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


text:
Fdroid OTP Authenticator, how to move accounts to new phone?
This is NOT the Google enabled Authenticator. This is https://f-droid.org/en/packages/net.bierbaumer.otp_authenticator/
There is no signing in.
Is there anyway to move credentials / accounts over to another phone? At worst, it seems like you need to just re-add them to your new phone, but maybe I'm missing something.

The app doesn't offer any feature to do this, as you can see from the issue log. That leaves with two choices

Using backup methods for only an app as discussed here Full Backup of non-rooted devices
If your  device is already rooted, using titanium-backup is a popular choice (amongst other such apps)

But I suspect your device is not rooted, so you have only one choice


text:
How to edit build.prop without root and without custom recovery?
I have an old Motorola-Verizon phone. Since it is a Verizon exclusive model, they didn't left any chance of rooting phone, unlocking bootloader or installing custom recovery. So my question is Is it possible to have build.prop edited in these circumstances?
I have searched everywhere and tried almost everything but could not have the job done. Every time some adb command is rejected by an indefinite <waiting for device> printed on the command-line or it just reboots to get back normal. No change.
My phone details if they are relevant:

Phone: Motorola Droid Turbo 2
Model : XT1585 (Kinzie)
OS: Nougat 7.0

Another thing to mention is there is another phone sold by Motorola outside US i.e. Moto X Force which is essentially the same device without Verizon and Droid logos on it. And I can confirm that it is perfectly bootloader-unlockable. If it is helpful.

I don't understand the intent here to change build.prop. What is it that you are trying to achieve?

not just for a particular intent but mainly because of some display tweaks like 270 degrees rotation and killing off navigation bar etc.All of this stuff can be done by editing build.prop and just looking for the way I can edit it.

You do not need to kill navigation bar. You can setup Immersive mode using an automation app which would universally hide your navigation bar. As for 270 degree rotation, you can use this app: https://play.google.com/store/apps/details?id=bong.android.androidlock&hl=en

But it shows up when I swipe up from the bottom edge. I just wannt it to completely disappear

You can hide it like the way you want using this app: https://play.google.com/store/apps/details?id=com.xda.nobar&hl=en_IN But you must setup ADB.

Is it possible to have build.prop edited in these circumstances?

Unfortunately, no. Build.prop rests in the system partition and that partition is mounted as read-only by the Android. To edit the file, the partition has to be mounted in read-write mode, which requires root privileges which you are sure you cannot gain on this device.
That said, some of the properties can be altered using setprop tool through adb. Mostly the ones starting with the prefix persist can be changed successfully and the effect be observed in real time. While read-only properties may show successful result after their value altered using setprop, the effects would not be seen.


text:
Disabling android built-in launcher
Can I ask If what will be the effects if I will Disable my Built-in android launcher and replace with the launcher that I have downloaded??

It wouldn't show again unless you enable it. It won't cause any critical problems if you disable it.

A smartphone is capable of performing several functions using a single device. That includes calls, messages, photo, video, internet, social media etc. So, if a manufacturer releases a phone, it should have these default features. That means, after device power on you can see phone app for call utility, camera app for photo, video capture, default keyboard for typing words. If anyone is missing, it would affect device functionality. Likewise, all applications arrangement/displaying  app is called launcher. These are the basic apps required for functioning and they are called system apps.
Android also allows you to install other apps that provides similar functions as I have mentioned above. They are called user apps.
For example, your device comes up with launcher app, and you can install Nova launcher app from play store. When such similar apps installed, you need to set a default app for use. to do that, go to Settings->Apps->Default apps->home app. set the one you required. It will also asks you to set default launcher while pressing home button after installation.

system apps has options in settings: DISABLE and FORCE STOP
user apps has options in settings :UNINSTALL and FORCE STOP

DISABLE is used disable app function. App icon will be removed from launcher. it will not affect other apps. Also, you cannot disable every system app.
FORCESTOP to stop currently running app
UNINSTALL remove app from device.

As long as you don't uninstall it, you should be good:

if you need to factory-reset the device, the launcher would be enabled again automatically. If you'd delete the app, you wouldn't have a launcher after a factory-reset and thus "sit in the dark" – and it would be quite tricky for a normal user to get out of that nasty situation.
the launcher you've installed should take over from the one that came with the device. If you're satisfied with that, there's no need to keep the pre-installed launcher enabled.
just make sure you do it in the opposite order as your question mentions it: first install the new launcher, then disable the pre-installed one :)


text:
How to factory reset without having google account verification(FRP) during setup?
I bought Asus Phone last 5 months, and I bought new one today. I'm planning to give the old one into someone but before that, I wanted to factory reset the device to clear all my data but I'm gonna need to sign in my account during the setup after the reset.
how can I reset without needing to sign in my account to verify?
I have full access to device.

How can I reset without needing to sign in my account to verify?

Remove all of your Google accounts from Settings →  Accounts before initiating a reset. That's all you need to do. Alternatively, if your phone offers OEM unlock option unde Developer Settings, you can enable it as well. Both would work. You can disable the latter setting later after completing the setup wizard on the next-cum-first boot post reset.
Tested on Nexus 6 a week ago.
Source: my own answer here.


text:
Run an android Virtual Machine on an android phone
I haven't been able to find an answer for this so I figured I would ask here.
Is there an app or method I can use to create and run an Android Virtual Machine on my Android Phone?
I have a personal phone I want to put my work email on; however, my work email requires Microsoft Intune which requires that I give permission for my company to clear my phone at any time without warning.  The reason they do this is in case I have company secrets on my phone and I if I become a risk they want to wipe my phone.  I wanted to work around this by putting an android virtual machine on my phone.  This way the company can clear my phone if they please but they will just wipe my VM not me actual personal phone.
I saw an article that VMWare was doing something like this but I couldn't find any documentation on it.
Does anyone know of a way to put a Android VM on an Android phone?

See: How can I run apps in an isolated environment on my smartphone?

I'd not even let that stuff into an isolated environment on my device. Either I have a separate spare device for it or, if the company insists I must run that stuff, they must provide the hardware as well. I don't like others in control of my devices.

Duplicate: https://android.stackexchange.com/q/106649/218526

@IrfanLatif Different though related. That question is about making an image/backup of an android phone which is not the same as a VM.

@Error-SyntacticalRemorse the question is about making a image/backup which is to be run on VM. The point is to run a VM on Android, whether it runs a new/stock ROM or a backup of running ROM is secondary. But the link is only for reference, I haven't voted to close as duplicate.

This does not seem to possible, I have looked for it for years and found nothing. This is probably because these points:

Android devices have a tiny amount of ram, which cannot be extended. With just 3 GB of RAM, you can forget to run pretty much any VM, as any normal OS needs at least 4 GB by now. A typical PC has 8 GB by now, or even 16. Virtualization is a field where extra ram is especially useful.
Pretty all Android devices are based on the ARM CPU architecture. ARM CPUs are very energy efficient, but at the same time pretty weak and feeble compared to full Desktop Grade CPUs from AMD and Intel (which burn a lot more electricity). They don't perform as well doing multitasking, which makes sense: You don't use multitasking much on mobile devices.
Virtual Machines are often not full emulation of another CPU, this means that you actually cannot run intel / AMD i386 code on an ARM CPU, so you would need a OS that is especially made for this, i.e. has been compiled for the ARM architecture, that cuts down the selection big time. Debian Linux prides itself on offering the distribution on many CPU architectures, but other manufacturers don't offer that. There is for example no standard full version of Windows 7 or 10 that supports ARM, and neither does Mac OS X.
VMs are more of a professional area, while mobile devices are oriented towards non-professional consumers.
Disk Storage is another problem: Most mobile devices have very little. A slim Linux can get by with just 4 GB, but a full fledge Linux needs around 10 GB, but a Windows needs around 20 GB just to get going. This is no issue on a laptop or desktop, where you will have 1 terabyte available (1000 GB), but an impossibility if you just have 32 GB.

All these things conspire together to make VMs on Android an impossibility

This answer is outdated, since there is an app that does exactly that, vmos. Also, the answer does not really address the question, which was about running an Android VM on Android, not running any random OS in a VM on Android. An Android VM does not require huge amounts of RAM, CPU power, x86 or a lot of disk storage. So, at best, point 4 applies to the question at all. And even that does not apply anymore, since there are VM apps on Anroid. Actually, there are even x86 VM apps.

@Dakkaron VMOS is a good effort and hopefully it gets improved over time. But ATM it can only be used to show your friends that you have got two (or more) ROMs on your device. It doesn't support basic things like calls, SMS, BT. Android version is 5. It's closed-source, current version has 4 trackers and asks for 40 permissions. But even if the app is not blamed, the design is a failure in my opinion. Android puts a lot of restrictions on apps to minimize use of resources (including CPU and RAM). So an app cannot host a full OS without any drawbacks (though they are trying to play games on it)

@IrfanLatif That's probably true, but the question was "Is it possible", not "is it good". And still, the answer does not address Android VMs but talks about VMs in general. And if you consider that emulators are basically VMs, there are tons of pretty usable VMs on Android ;)

@Dakkaron if you know the correct & updated answer, then feel free to post an answer. Whether this answer is correct or wrong (at the time of the posting), it's still an attempt to answer the question. Wrong answers should be downvoted, but not deleted unless under extreme circumstances.

@AndrewT. It is an answer, but not to this question. It answers "Can I run an x86 VM under Android?" But the question was "Can I run an Android VM under Android?" And nothing in the answer actually fits for an Android VM. 1) Android VMs don't need a lot of RAM. 2) Android VMs have no problem running on ARM. 3) Android IS especially made to run on ARM. 4) Does not matter to the question. 5) Android VMs don't need a lot of disk storage. Correct answers have been posted, so no need to spam more of the same. Just the accepted answer has nothing to do with the question.

Actually, 3) proves that the answerer didn't even read the question.

most of my phones in the last 5-10 years are more powerful than the first machine I ran a VM on... this is OK information, but definitely not an "answer"

You can run Android emulator on an Android phone using VMOS, exactly what you want.

There's a company called Hypori that already has a virtual android available for both Android and iOS. The only issue is that they only have this available for companies and not for consumer.

Yes. Samsung phones have inbuilt shared folder called knox which is a secure android VM onside an android os.

As @rahul-jain notes, Samsung & Knox make this easy with a kind of "hybrid VM" called Secure Folder™. This is a bit like a BSD jail or a Solaris container/zone as opposed to a full VM. It's pretty slick. I'm looking for a manageable and automatic way to duplicate or transfer a secure folder VM with its settings and apps from one Knox enabled android device to another. I hope that one fine day an end-user accessible solution with the ability to store the secured VM in the cloud or on a desktop computer (& even to run it from those environments) becomes available as well.


text:
Constant location requests from Facebook - how to turn off?
My location request icon is constantly on. When I hit the location request notification, it tells me that Facebook and Google Play Services are high battery usage. When I force stop Facebook, the location request icon immediately disappears.
How can I stop Facebook from constantly requesting my location? It's killing my battery. I'm not rooted.

Is this for the Facebook app or the Facebook Messenger app?

Facebook app only. I have messenger installed too though, but the location requests stopped only when I uninstalled the FB app. Seems like uninstalling/reinstalling it might have helped a bit?

I've done some testing on this using my phone (I'm rooted on CM11s) and I have the benefit of privacy guard.
What I've noticed is that the Facebook app tends to ask for your location a LOT. Always when you open the app, but even sometimes when I haven't used the app for days...
It's not really an answer, but worth noting.

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


text:
Samsung S3Mini - Charge/Discharge problems
I've got a strange problem on my S3Mini; two weeks ago has started to behave strangely, emitting the sound of charge/discharge while not connected to the AC adapter and setting the battery icon in the status with the "loghtining" as it was connected on charge.
I've cleaned up the mini usb connector, thinking that maybe it was dirty and it was making some strange contacts but it has not solved anithing.
Two days later it has started to not recognise when attached or disconnected to the charger; it recognize the status only if connected or disconnected while rebooting.
The battery is fine; charging up, even if the phone says it is on battery, and then rebooting show then the real value of the battery.
If I reboot with the charger attached the phone charge and then says for the rest of the day "100%, disconnect from the charger" even when I've detatched from the charger; if i reboot with the charger disconnected the percentage of the battery goes down fine and when I attach the charger it doesn't starts to increase and doesn't recognize that it has been set on charge.
I've tested the battery, cleaned up the contacts on the usb mini and on the motherboard everything is fine: my phone isn't rooted. I haven't tryed to restore fattory setting at this time cause I've got of ton of things to save before.
I don't think is an hw fault because at the reboot it would not recognize that the phone is on charge or not in this case.
Anyone of you have got any idea how to solve this?
If you need more informations just let me know,
Thanks.
UPDATE: the phone doesn't recognize when attached to a pc usb port ant the pc doesn't recognize the phone; I eat my words about my hypotesys for an hw fault......

I've read this post
Nexus 4 problems when charging
and then  I've broke my mind and opened the phone; I've cleaned up every contact on the usb side and on the motherboard side then reassemblied the phone: now it seems to work again well.
It was indeed an hardware problem but luckily, a simple one.

I've got an s3 mini too. The issue in my case was that the USB port had a slack joint. I sent it to my warranty service and they changed the jack. Now I can charge again. And also attach your     charger because you'll get a new one

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


text:
Removing SMScontactsbackup folder
I have read a similar post here
Accumulation of APK's?
I have about 8Gb of my SDcard on a Samsung Galaxy S7 used by the apks folder within the SMScontactsbackup folder
Now from what I have read and understood (which may be wrong)
This apks folder contains the installation material for new versions of Android apps. Surely the apk should be deleted once the app upgrade has been successfully installed?
I don't have the Super Backup and Restore installed on the phone (which some people claim is the cause of the problem) but I can't be sure whether that app was installed in the past and now removed.
My question is
How do I delete this apks folder and its contents which are taking a large part of my SD card? I could not find those instructions anywhere - but maybe I missed them
Thanks
Clive

the folder is created by Super Backup and Restore app. It's used to backup and restore contacts ,sms, and apps. App backup contains only apk's, no data. Also, it backup's previous versions of app's apk which is updated on play store. You can surely delete that folder, if you're sure that you've installed all apk's and restored sms, contacts etc. You delete using any file manager app.

Also, check for  Super Backup and Restore in app list, and while uninstall it will ask permission for deleting backup folder data.

@Rahul. Thank you for taking the time to create a comment. You do not answer my questions. As I wrote in my original post , I do not have Super Backup up and Restore installed, so how can I delete it! Second, all I asked for are instructions on HOW to delete the apks folder. Again, that was clear in my original post. Do you know what I need to actually need to do or not? Thanks, Clive

have you tried deleting that folder using a file manger app(samsung file manger).

Hi Rahul, that has worked very well and freed up gigbytes of internal storage on the phone. Thanks for your help. Can you post your comment about using the file manager as a solution so I can mark it as solved and give you credit for your solution?

Super Backup and Restore application creates a folder named SMScontactsbackup on internal storage. The application is used to backup and restore contacts, call logs, sms, apps etc.
Each items are kept in separate folders.
The app also saves  each  app's previous apk's which are updated through play store.
You can delete this folder by these methods.

By removing Super Backup and Restore application from your device, it will also ask permission whether to delete folder and it's contents.
Using any file manager app (here Samsung file manager for Samsung devices),you can delete that folder from internal storage. (N.B if Super Backup and Restore application is not removed, then folder will be created again ).

Note: You need to make sure that, you've restored everything before removing app/ deleting folder.


text:
old emojis in whatsapp
I have upgraded whatsapp on my phone but i dont like the new emojis on whatsapp so the quesition is : Is this possible to get my old emojis back using whatsapp's latest version apk with apktool debugging?

What you want is not possible. You want the latest version of the app, but the old emojis. That is impossible for anyone but the developer.
When an app is built, all its components are consolidated into one project. It is not possible for the layman to change any one component of the project. The previous emojis were in one project, while the modified emojis are in another project. You cannot just change the emojis and keep the rest at the latest version.
If you are okay with downgrading, then you can try what @Abochur has said, or simply uninstall the updates. Otherwise you'll have to get used to the new emojis.

You can try downgrading your WhatsApp version, by downloading an older APK.
before you download the apk make sure to uninstall WhatsApp.
After that, download the desired apk from here
You should then be able to go thru the regular registration process in WhatsApp.
To make sure it doesn't automatically update the app, go to the play store, search for 'WhatsApp' in the search bar, press on the WhatsApp icon, then press on the three dots menu on the top right of the screen and deselect 'auto update'
Note: WhatsApp might give you an error telling you to download the latest version.
Also note: just because you will now have the older version of emojis, doesn't mean that the recipient will see them in that way. The opposite is also true, if someone sends you an emoji that came with the latest update, chances are, that you will not be able to view them.
I'm not responsible if anything goes wrong.


text:
Gboard: Is there anyway to switch language by swiping spacebar?
I have two languages on Gboard and when I want to switch between them, I have to press the globe button. Is there anyway to switch language by swiping spacebar?
I've seen this feature on Samsung Keyboard and I was wondering if it's available on the new Gboard.

Simply use SwiftKey..

There is no as such settings that enables you the Language switch on the basis of swiping Spacebar.
But there are two options you can set in the settings.
1. Enables the Switch Language Key:- It enables you with the same features like swipe to change the language, on Clicking on this Globe Switch key your language will get automatically switched based on their preferences in the Settings.
if you have to do more with the language then this is the best option.
2. By clicking on Spacebar:-
if you have disabled the Language Switch in Settings. then you can get the language Popup by clicking on the Spacebar.

I had the same issue. Once you set up the Gboard, un your input settings , select Gboard as your preferred keyboard and save. Go in messages or WhatsApp or browser wherever you need to type and make your Gboard appear. Long press the comma at the left of the space bar,you'll have the option to get into settings of Gboard, where it proposes you to select the language. Set off "use system language" and select as many languages desired. You'll be then good to go and will be able to switch between selected languages through long press on space bar.

Swiping the spacebar is available in Hacker's keyboard.


text:
How can I automatically connect to my company's wifi?
My Samsung Galaxy S6 with Android 7.0 automatically connects to my home wifi when in range. However, in my company, it only shows me a notification that I can click on to connect to the company's wifi (which then makes me accept terms by clicking on a button every single time.)
Is there any way to make this at least partially automatic, i.e. opening the page with the button automatically instead of just showing a notification? Or even saving my answer to this wifi page and using it during the next connection attempts?

So you are connecting to your companies guest WiFi which uses a captive portal, meaning you have to acknowledge T&C before use? This functionality is part of the WiFi network, not your device, it's authentication is typically only a few hours or a day or so, then must be redone. The only way around this would be to get your IT dept to whitelist your device's MAC address so it doesn't have to accept T&C, similar to how you would whitelist a gaming console at a hotel.

Thanks for telling me what they are called, that makes googling for solutions easier! I still don't see what prevents my device from doing this automatically. Even if it means doing e.g. a GET or POST request, I can't believe there's no software that automates this.

It would kind of defeat the entire purpose of a captured portal to have software to automate bypassing it. Each captive portal uses it's own unique way to authenticate you and to purposely defeat bypass attempts, each individual system would have to have a bypass mechanism build, there is no generic one. The right way to do this would be to either get your IT dept to whitelist your device, or use a different corporate network that does NOT require you to accept T&C, but honestly that would probably be against your organizations security policy. Sorry I don't really have an answer, just info

Oh, but those defeating apps do indeed exist, @acejavelin – and I've succesfully used at least one in the past (on vacation, to connect to the hotel WiFi, which used a captive portal).

@Izzy Never said they didn't... I just won't recommend any. :)

@acejavelin that would be a task for SoftwareRec.SE, sure :) I've not used any of them for quite a while, so I'd know none to recommend. But for a network you trust, why not?

Didn't know that site existed! Finally :)

This and the duplicates do not help?

It can be completely automated.
First, you need to know how button click data is submitted to the server: GET (less likely) or POST
If data is submitted to server using GET, just record the URL after submission. If data is submitted using POST, intercept the HTTP header when you click the button (there are lots of softwares for that; for example this Chrome plugin can log everything).
Now, install Tasker in your Android device.

Set Trigger as State ~> Net ~> Wi-Fi Connected and enter SSID of company Wi-Fi.
Set Action as Net ~> HTTP GET or Browse URL if button click data is submitted using GET. Otherwise, set Action as Net ~> HTTP POST or HTTP Head and enter the intercepted HTTP head data.

You can give a try to the app WIFI Web Auth. It can simulate clicking a button or filling out input fields.

Hello. What is your affiliation with the app WiFi Web Auth? The app has mere 34 reviews and just 1000+ installs. Furthermore, you tried to add this app as a recommendation in this edit too which is no less than a spam. I urge you to read our policy on  promotion. It is one thing to find an app useful and recommend it, but it is another thing to suggest it as if only promoting it.

I'm not the author of this app. My intention was not to promote it. (Perhaps i should do, because it's really good.) I was just searching for a tool that can automate the login process, and it turned out for me, there are not that many tool, that really can do this. So i just thought it could be maybe useful for others as well...


text:
Can a android device really connects to Satellite using when LocationMethod set to "Phone Only"?
All these years I was thinking like to get device location, android phones connects to nearby cellular towers or wifi. But recently I found another option in Settings > LocationMethod > "Phone only". Once I set LocationMethod as "Phone Only", I turned on the "Flight Mode"(No wifi and No network. Then I turned ON the Location Services & Opened Google maps and its able to find my current location when I'm outside the building.
I did the same thing inside my home and it couldn't show my current location. So is my android device really connects to satellite to get my location? If yes, how can a small & low power device send and receive signals to a satellite which orbit above 100km high, when it struggles to get a signal from a cell tower which are few kms away?

Many smartphones have a built-in Global Positioning Satellite (GPS) receiver.
This receiver picks up signals from GPS satellites orbiting about 12,500 miles above the earth's surface.  If it receives simultaneous information from four or more satellites, it can calculate the position of the receiver on (or above) the earth.
There is no transmission from the receiver to the satellite.
The transmission rate from the satellite is extremely slow, 50 bits per second.  This allows a single signal to be transmitted at low power from 12500+ miles away.
The cell tower must transmit a different, high data rate signal to each device using it.  Thus the problems with sending many complicated signals even a short distance...


text:
WiFi won't turn on in most recent CM11 Nightly for Samsung Galaxy Exhilarate?
So I flashed CM11 nightly back in November making sure to perform the boot.img fix and things worked OK. I recently decided to update. I will confess that I updated without fixing the boot.img and soft-bricked the phone. Had to re-flash Philz Touch using odin and eventually re-installed the CM11 .zip.
Now WiFi won't turn on. If I go to the WiFi page in settings it stays stuck on "Turning Wi-Fi on...". I've tried 1223 nightly and the 1217 nightly (the earliest link which works).
Is there a way to find old nightlies? Most of the links on the Exhilarate page are broken. How else can I troubleshoot Wi-Fi?
UPDATE:
I installed the most recent available CarbonRom and the problem is not fixed.
UPDATE 2:
Dialling *#*#526#*#* doesn't do anything. When I enter the last * the code vanishes and nothing happens.
UPDATE 3:
Relevant log?
[ 01-04 00:14:29.413   680:  844 E/WifiHW   ]
Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": No such file or directory
[ 01-04 00:14:29.924   680:  844 E/WifiMonitor ]
startMonitoring(wlan0) failed!

[ 01-04 00:14:29.924   680:  844 E/WifiStateMachine ]
Failed to setup control channel, restart supplicant

[ 01-04 00:14:32.406   680:  844 E/WifiMonitor ]
startMonitor called with unknown iface=wlan0

Did a backup of apps using adb.
adb backup -apk -all -f backup.ab

Then booted into Recovery and performed a factory reset. Rebooted and Wi-Fi worked.
Restored apps using
adb restore backup.ab

I had the same problem on my Nexus 4 with Android 5.0.1 and I fixed it by removing this folder /data/misc/wifi or the equivalent in your phone and then rebooting.
You can try this by booting your phone using a boot insecure image.
$ fastboot boot boot.img
$ adb shell rm -r /data/misc/wifi
$ adb reboot

Can you elaborate on "boot insecure image"?

Also this did not work for me

http://blog.djodjo.org/?p=221


text:
Hangouts Crashes on Start can't seem to write to com.google.android.talk
I recently updated to a more recent version of the 12.1 nightlies of Cyanogenmod on my Nexus 5. Everything Google related seems to work except Hangouts. When I open hangouts it crashes immediately. The logs seem to show an inability to write to data/data/com.google.android.talk and an inability to read the SQLite databases within (some exploration in the shell reveals that the folder is empty).
What I've tried:

Wiping the caches
Installing new versions of Gapps
Wiping data and cache for Hangouts
Installing Hangouts Dialer
chmod 757 on that folder

I see that just about every data folder has a unique owner and group, could hangouts have somehow gotten mixed up?

I booted to recovery, wiped the caches, flashed a version of gapps for 4.4, then flashed the latest version of gapps then won.


text:
Recover media after factory reset (One Plus One)
I've recently done a factory reset on my OPO. I though I didn't need anything on it anymore but now I do actually need some pictures who were on it before the reset.
I'm trying to get those pictures back. However, recovery programs do not work because the OPO does not get recognized as a USB mass storage device, since it only has internal storage and there isn't any SD card to find.
Is there anyone with similar problems or does anyone know how to solve this?
Android version 4.4.4
CyanogenMod version 11.0-XNPH38R

You can try DiskDigger undelete (root) or Undeleter Recover Files & Data app.
I had more success with DiskDigger though.


text:
Google Calendar sync works only when Google Calendar app is uninstalled
I couldn't get Google Calendar to sync on my Galaxy S3 (with web version of Google Calendar). I did all things recommended on this help page but it didn't help. I also tried removing Google account from the phone and adding it again.
However, during one of the reinstalls (as recommended in Google help page) I suddenly got a notification about an event in my calendar that was created in the web version.
The sync worked perfectly fine when the Google Calendar App was removed from my phone. When "Google Calendar App" was uninstalled the pre-installed "S Planner" showed me the notification because the sync kicked in.
I rechecked it both ways from Android app to the web version and vice versa.
I prefer Google Calendar app to "S Planner" but this issue renders Google Calendar app unusable.
I also sent feedback message from the app.
Edit to add: it worked fine until one of the updates of Google Calendar.
Update: user RossC suggested to disable S Planner and test sync, but unfortunately I can't disable it (see screenshot).
Disabling related applications (with words calendar, samsung and sync in the title) did not help.

full screenshot

Have you disabled SPlanner and tried it? Works fine here on an S3, S4 and S5 no bothers, once synch calendar is enabled in Accounts & Synch settings under your Google account.

@RossC Unfortunately, S Planner cannot be turned off without rooting, but app called "Samsung Calendar SyncAdapter" can be turned off. I will try that later, as I have to go right now. It's weird that everything else but the calendar (Contacts, e-mail) works fine.

You can't uninstall it, but you CAN disable it. I've tried it on 3 samsung devices. Go to the app info and hit 'Disable'. It SHOULD work fine for you. I can only go on the devices I have here. That said, Samsung do some weird stuff with their bloatware so I wouldn't be surprised at all if you can't.

I can't disable it. The button "Turn off" is disabled. I added a screenshot in the post. PS Disabling related applications didn't help.

This moves us back to Google calendar, but did you clear the cache? Select Calendar Storage. (If you don't see 'Calendar Storage,' press < Menu > again, then select Filter > All. On some devices, you won't see 'Calendar Storage.') Select Clear data. Answer OK when prompted.

@LivedWithOtters This advice is on the Google help page that I linked. I've gone through all these several times. I wouldn't have posted this if I didn't try all things suggested on the official manual.

@AndreyRybak sorry. The link came up as a walk-though of steps and I was too lazy to jump through each hoop to see if it was on your list. I'd been able to use the cache clear in the past to sort out odd google calendar issues.  In terms of diagnosing the problem, what happens when you throw a third calendar app into the mix? I'm thinking it might help us chase down if the problem is the google app or sPlanner.  Worst case, you might be able to find another calendar app (better than SP) that does work if GC won't.

You could try and root your phone and download an app such as App Master from the app store to uninstall SPlanner altogether, as this would remove all of the Samsung calendar syncing issues you are having (hopefully - don't quote me but this worked for a friend of mine when he was having issues with his calendar syncing).  Hope this is of some help :)

authors: الامبراطو الحسني


text:
Samsung Ace 2 with Cyanogenmod turns itself on when put on charger while turned off
It started happenning after repair.
Could it be a software setting that was changed in repairshop or is it a hardware issue?
All they did was replace mini-USB port.

As it turns out the issue was in the non-original charger. I don't have original charger from Ace 2, but original charger from Galaxy S3 works perfectly fine, as well as charging from a PC via USB.

Okay, glad you figured it out.  For anyone who might come across this and the above solution doesn't solve the issue, another place to look in the settings is Settings->Display->Wake on plug ("turn the screen on when connecting or disconnecting a power source")

In recent versions of CM, check the Settings->Developer options->Stay Awake (Screen will never sleep while charging) option.

My question is not about screen turning on, but about the whole device turning on. Nevertheless, this setting was set to   off, even the Developer options section was not  turned on (it is turned off by default, to turn it on you have to tap "Build number" seven times).


text:
Google Photos - Cannot turn on backup
I have a Yu Yureka mobile with stock CM12.1. It came preinstalled with Google Photos and I updated it to its latest version. It was working fine until one day I tried to free up space by deleting already synced photos using the app itself. It crashed. After that whenever I open the app, it crashes within 5 seconds.
I tried several workarounds like clearing the cache, data of Photos, clearing Google Play Services' data, manually turning backup photos off and on but nothing works.
[a] Finally I uninstalled the update and arrived at the stock version of Photos. Now the app is not crashing immediately but I cannot turn on backup. It is always disabled. Whenever I click the Backup button in Settings (of Photos), it opens Backup screen for a moment but then closes and arrives back at the Settings menu.
After this, I installed the latest update but then again, the cycle repeats.
Can you guys help me in solving this issue? I tried putting reviews and reported bugs, but you know, it's Google.
I took a log of the Backup window closing event I mentioned in [a]. I cleared the logcat just before I pressed the Backup button -> logcat is on -> Backup window closes -> logcat is off. Here's it:
--------- beginning of main
I/MSM-irqbalance(  279): Decided to move IRQ104 from CPU5 to CPU4
I/MSM-irqbalance(  279): Decided to move IRQ177 from CPU5 to CPU4
--------- beginning of system
I/ActivityManager(  769): START u0 {cmp=com.google.android.gms/.photos.autobackup.ui.AutoBackupSettingsActivity} from uid 10017 on display 0
W/ActivityManager(  769): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=com.google.android.gms/.photos.autobackup.ui.AutoBackupSettingsActivity }
V/WindowManager(  769): addAppToken: AppWindowToken{89d066e token=Token{30d029e9 ActivityRecord{3c721270 u0 com.google.android.gms/.photos.autobackup.ui.AutoBackupSettingsActivity t122}}} to stack=1 task=122 at 0
V/WindowManager(  769): Adding window Window{19a2d21 u0 Starting com.google.android.gms} at 4 of 7 (after Window{26d33434 u0 com.google.android.apps.photos/com.google.android.apps.photos.home.HomeActivity})
D/ChimeraActivityProxy(17075): Loading activity implementation for ComponentInfo{com.google.android.gms/com.google.android.gms.photos.autobackup.ui.AutoBackupSettingsActivity}
D/ChimeraActivityProxy(17075): Proxying container activity ComponentInfo{com.google.android.gms/com.google.android.gms.photos.autobackup.ui.AutoBackupSettingsActivity} to Chimera activity impl .photos.autobackup.ui.AutoBackupSettingsChimeraActivity
I/art     (  769): Background sticky concurrent mark sweep GC freed 87190(3MB) AllocSpace objects, 11(220KB) LOS objects, 5% free, 36MB/38MB, paused 4.679ms total 126.710ms
V/WindowManager(  769): Adding window Window{178abbff u0 com.google.android.gms/com.google.android.gms.photos.autobackup.ui.AutoBackupSettingsActivity} at 4 of 8 (before Window{19a2d21 u0 Starting com.google.android.gms})
I/ActivityManager(  769): Displayed com.google.android.gms/.photos.autobackup.ui.AutoBackupSettingsActivity: +506ms
I/Timeline(15097): Timeline: Activity_idle id: android.os.BinderProxy@2ce0c0f6 time:17592408
I/Timeline(  769): Timeline: Activity_windows_visible id: ActivityRecord{32b2d99e u0 com.google.android.apps.photos/.home.HomeActivity t103} time:17592990
W/ResourceType( 1225): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 1225): Failure retrieving resources for com.google.android.gms: Resource ID #0x0
E/GpsXtraDownloader(  769): No XTRA servers were specified in the GPS configuration
I/MSM-irqbalance(  279): Decided to move IRQ178 from CPU5 to CPU7
D/TaskPersister(  769): removeObsoleteFile: deleting file=121_task.xml
D/TaskPersister(  769): removeObsoleteFile: deleting file=121_task_thumbnail.png
I/MSM-irqbalance(  279): Decided to move IRQ104 from CPU4 to CPU7

UPDATE: I updated the app again to latest version and the backup didn't work again. Assistant was showing "Waiting for sync" always. But then I deleted the unsynced photos from my camera folder and viola! Sync came back on and everything was good.
But today, I tried to sync a jpg and mp4 file and it synced correctly. But then I tried to play the synced video in Photos itself and it crashed. It is now crashing everytime I open the app. I took another log of this crash:
--------- beginning of crash

F/libc    (32081): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10102464c457f in tid 32224 (Thread-1191)

I/libc    (32081): Suppressing debuggerd output because prctl(PR_GET_DUMPABLE)==0

W/InputDispatcher(  775): channel '124051c6 com.google.android.apps.photos/com.google.android.apps.photos.home.HomeActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9

E/InputDispatcher(  775): channel '124051c6 com.google.android.apps.photos/com.google.android.apps.photos.home.HomeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

I/WindowState(  775): WIN DEATH: Window{124051c6 u0 com.google.android.apps.photos/com.google.android.apps.photos.home.HomeActivity}

W/InputDispatcher(  775): Attempted to unregister already unregistered input channel '124051c6 com.google.android.apps.photos/com.google.android.apps.photos.home.HomeActivity (server)'

D/ConnectivityService(  775): ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ id=67, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ], android.os.BinderProxy@2462edca)

D/ConnectivityService(  775): releasing NetworkRequest NetworkRequest [ id=67, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]

I/Zygote  (  314): Process 32081 exited due to signal (11)

I/ActivityManager(  775): Process com.google.android.apps.photos (pid 32081) has died

E/ConnectivityService(  775): RemoteException caught trying to send a callback msg for NetworkRequest [ id=67, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]

I/UPNPSearch(29931): Destroying...

I/AirPlayProvider(29931): Destroying...

W/ActivityManager(  775): Scheduling restart of crashed service com.google.android.apps.photos/.camerashortcut.ForegroundServiceImpl in 1000ms

W/ActivityManager(  775): Scheduling restart of crashed service com.google.android.apps.photos/com.google.android.libraries.social.async.BackgroundTaskService in 11000ms

W/ActivityManager(  775): Scheduling restart of crashed service com.google.android.apps.photos/.dbprocessor.impl.DatabaseProcessorService in 11000ms

W/ActivityManager(  775): Force removing ActivityRecord{3a9609ec u0 com.google.android.apps.photos/.home.HomeActivity t67}: app died, no saved state

I/MSM-irqbalance(  279): Decided to move IRQ174 from CPU4 to CPU6

W/MdnsClient_Cast(29876): Multicast lock held. Releasing. Subtypes:"96084372"

W/MdnsClient(29876): unicast receiver thread is already dead.

W/InputMethodManagerService(  775): Got RemoteException sending setActive(false) notification to pid 32081 uid 10075

I/Timeline( 1712): Timeline: Activity_idle id: android.os.BinderProxy@9944138 time:8891311

I/Timeline(  775): Timeline: Activity_windows_visible id: ActivityRecord{24e8a89e u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t1} time:8891571

I/ActivityManager(  775): Start proc 32272:com.google.android.apps.photos/u0a75 for service com.google.android.apps.photos/.camerashortcut.ForegroundServiceImpl

I/MSM-irqbalance(  279): Decided to move IRQ104 from CPU4 to CPU6

W/GCM-DMM ( 2113): broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.google.android.apps.photos (has extras) }

E/SQLiteLog(32272): (283) recovered 4 frames from WAL file /data/data/com.google.android.apps.photos/databases/gphotos0.db-wal

W/linker  (32272): /data/app/com.google.android.apps.photos-1/lib/arm64/libcronet.so: unused DT entry: type 0x6ffffffe arg 0x2fc0

W/linker  (32272): /data/app/com.google.android.apps.photos-1/lib/arm64/libcronet.so: unused DT entry: type 0x6fffffff arg 0x3

I/art     (32272): Note: end time exceeds epoch:

D/ConnectivityService(  775): listenForNetwork for NetworkRequest [ id=68, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]

D/ConnectivityService(  775): handleRegisterNetworkRequest checking NetworkAgentInfo [WIFI () - 103]

D/ConnectivityService(  775): apparently satisfied.  currentScore=60

D/ConnectivityManager.CallbackHandler(32272): CM callback handler got msg 524290

I/art     (32272): Note: end time exceeds epoch:

I/art     (32272): Note: end time exceeds epoch:

I/art     (32272): Note: end time exceeds epoch:

W/WakefulBroadcastReceiver(32272): No active wake lock id #1

I/MSM-irqbalance(  279): Decided to move IRQ178 from CPU4 to CPU6

I/ActivityManager(  775): Start proc 32331:com.cyanogenmod.filemanager/u0a39 for service com.cyanogenmod.filemanager/.providers.secure.SecureCacheCleanupService

W/FileManagerApplication(32331): Command /system/xbin/su not found. Exists: false; IsFile: false.

W/IntentService[A(32351): type=1400 audit(0.0:840): avc: denied { read } for name="mem" dev="debugfs" ino=237346 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0

W/IntentService[A(32351): type=1400 audit(0.0:841): avc: denied { read } for name="mem" dev="debugfs" ino=237346 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0

W/ActivityManager(  775): getRunningAppProcesses: caller 10095 does not hold REAL_GET_TASKS; limiting output

V/MimeTypeIndexService(32331): onHandleIntent(Intent { act=com.cyanogenmod.filemanager.ACTION_START_INDEX cmp=com.cyanogenmod.filemanager/.service.MimeTypeIndexService (has extras) })

D/MimeTypeIndexService(32331): Action: com.cyanogenmod.filemanager.ACTION_START_INDEX

V/MimeTypeIndexService(32331): performIndexAction(/storage/emulated/0)

I/MimeTypeIndexService(32331): Starting mime type usage indexing on '/storage/emulated/0'

I/MSM-irqbalance(  279): Decided to move IRQ131 from CPU4 to CPU6

D/MimeTypeIndexService(32331): AUDIO = 11108680

D/MimeTypeIndexService(32331): TEXT = 142203

D/MimeTypeIndexService(32331): BINARY = 6825

D/MimeTypeIndexService(32331): FONT = 187236

D/MimeTypeIndexService(32331): DATABASE = 48

D/MimeTypeIndexService(32331): VIDEO = 288993908

D/MimeTypeIndexService(32331): COMPRESS = 34672032

D/MimeTypeIndexService(32331): DOCUMENT = 13951531

D/MimeTypeIndexService(32331): EBOOK = 683804

D/MimeTypeIndexService(32331): NONE = 352704314

D/MimeTypeIndexService(32331): IMAGE = 50246484

V/MimeTypeIndexService(32331): onHandleIntent(Intent { act=com.cyanogenmod.filemanager.ACTION_START_INDEX cmp=com.cyanogenmod.filemanager/.service.MimeTypeIndexService (has extras) })

D/MimeTypeIndexService(32331): Action: com.cyanogenmod.filemanager.ACTION_START_INDEX

V/MimeTypeIndexService(32331): performIndexAction(/system)

I/MimeTypeIndexService(32331): Starting mime type usage indexing on '/system'

W/IntentService[M(32366): type=1400 audit(0.0:842): avc: denied { getattr } for path="/system/bin/adsprpcd" dev="mmcblk0p25" ino=247 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:adsprpcd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:843): avc: denied { getattr } for path="/system/bin/audiod" dev="mmcblk0p25" ino=256 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:audiod_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:844): avc: denied { getattr } for path="/system/bin/auditd" dev="mmcblk0p25" ino=257 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:logd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:845): avc: denied { getattr } for path="/system/bin/bootanimation" dev="mmcblk0p25" ino=261 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:bootanim_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:846): avc: denied { getattr } for path="/system/bin/btnvtool" dev="mmcblk0p25" ino=262 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:bluetooth_loader_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:847): avc: denied { getattr } for path="/system/bin/clatd" dev="mmcblk0p25" ino=269 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:clatd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:848): avc: denied { getattr } for path="/system/bin/debuggerd" dev="mmcblk0p25" ino=279 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:debuggerd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:849): avc: denied { getattr } for path="/system/bin/debuggerd64" dev="mmcblk0p25" ino=280 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:debuggerd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:850): avc: denied { getattr } for path="/system/bin/dhcpcd" dev="mmcblk0p25" ino=283 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:dhcp_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:851): avc: denied { getattr } for path="/system/bin/dnsmasq" dev="mmcblk0p25" ino=285 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:dnsmasq_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:852): avc: denied { getattr } for path="/system/bin/drmserver" dev="mmcblk0p25" ino=287 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:drmserver_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:853): avc: denied { getattr } for path="/system/bin/dumpstate" dev="mmcblk0p25" ino=289 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:dumpstate_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:854): avc: denied { getattr } for path="/system/bin/hostapd" dev="mmcblk0p25" ino=304 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:hostapd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:855): avc: denied { getattr } for path="/system/bin/install-recovery.sh" dev="mmcblk0p25" ino=312 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:install_recovery_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:856): avc: denied { getattr } for path="/system/bin/installd" dev="mmcblk0p25" ino=313 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:installd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:857): avc: denied { getattr } for path="/system/bin/irsc_util" dev="mmcblk0p25" ino=319 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:irsc_util_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:858): avc: denied { getattr } for path="/system/bin/keystore" dev="mmcblk0p25" ino=320 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:keystore_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:859): avc: denied { getattr } for path="/system/bin/lmkd" dev="mmcblk0p25" ino=324 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:lmkd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:860): avc: denied { getattr } for path="/system/bin/location-mq" dev="mmcblk0p25" ino=327 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:location_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:861): avc: denied { getattr } for path="/system/bin/logd" dev="mmcblk0p25" ino=330 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:logd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:862): avc: denied { getattr } for path="/system/bin/mdnsd" dev="mmcblk0p25" ino=337 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:mdnsd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:863): avc: denied { getattr } for path="/system/bin/mediaserver" dev="mmcblk0p25" ino=339 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:864): avc: denied { getattr } for path="/system/bin/mm-pp-daemon" dev="mmcblk0p25" ino=345 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:mm-pp-daemon_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:865): avc: denied { getattr } for path="/system/bin/mm-qcamera-daemon" dev="mmcblk0p25" ino=346 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:mm-qcamerad_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:866): avc: denied { getattr } for path="/system/bin/msm_irqbalance" dev="mmcblk0p25" ino=350 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:msm_irqbalanced_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:867): avc: denied { getattr } for path="/system/bin/mtpd" dev="mmcblk0p25" ino=351 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:mtp_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:868): avc: denied { getattr } for path="/system/bin/ndc" dev="mmcblk0p25" ino=354 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:wcnss_service_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:869): avc: denied { getattr } for path="/system/bin/netd" dev="mmcblk0p25" ino=356 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:netd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:870): avc: denied { getattr } for path="/system/bin/netmgrd" dev="mmcblk0p25" ino=357 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:netmgrd_exec:s0 tclass=file permissive=0

W/IntentService[M(32366): type=1400 audit(0.0:871): avc: denied { getattr } for path="/system/bin/perfd" dev="mmcblk0p25" ino=366 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:perfd_exec:s0 tclass=file permissive=0

I/art     (32331): WaitForGcToComplete blocked for 16.140ms for cause HomogeneousSpaceCompact

D/MimeTypeIndexService(32331): AUDIO = 15364648

D/MimeTypeIndexService(32331): EXEC = 5424

D/MimeTypeIndexService(32331): TEXT = 2903462

D/MimeTypeIndexService(32331): BINARY = 492086588

D/MimeTypeIndexService(32331): FONT = 30253716

D/MimeTypeIndexService(32331): COMPRESS = 19015425

D/MimeTypeIndexService(32331): APP = 566877958

D/MimeTypeIndexService(32331): NONE = 330889839

D/MimeTypeIndexService(32331): IMAGE = 7799486

I/ActivityManager(  775): Killing 31076:com.cyngn.fota/u0a5 (adj 15): empty #17

I/MSM-irqbalance(  279): Decided to move IRQ130 from CPU4 to CPU6

I got a badge for this being an unpopular question. :P Does anybody know a solution to this?


text:
Roam on certain countries, not in others
Android version 4.1.2.
More and more mobile network providers seem to be offering "free" roaming, i.e. not having to pay additional charges when abroad. This is true only for some countries. My network provider will not charge me extra for using voice or data in a range of EU countries, but will indeed charge me a zillion bucks if not in one of those countries. So I have to take care. Some of these countries are rather small. I travel a lot and often I'm close to a border where the handset may inadvertently connect to a provider in a neighboring country.
I would like to configure my phone to permanently allow data roaming when I'm connected to a network provider in one of those countries on the "whitelist". I would have to configure the "whitelist" myself, I guess.
I cannot figure out how to do this. Android doesn't seem to have the concept of allowing roaming for certain network provider countries and not for others. It's an all-or-nothing setting. Secondly I'm not sure a handset even has such data available. Does Android know that when connected to a network provider named "Vodafone Spain" that it is connected to a provider in country "Spain" ? If it is then it would be possible to create a more intelligent roaming application.
Please help. Is there something I can do with out-of-the-box Android or is there an intelligent app already made for this?
UPDATE
Based on Izzy's answer below I've tried out an app named "Roaming Control". It should be noted that I'm not affiliated with that company in any way.
The application doesn't allow to me to setup a new group of countries besides those already defined in the application. It does - however - allow me to configure a new additional single-country rule via the context menu button. If I configure a new rule for country "Spain" then that rule will show up on the Izzy's left-hand side screenshot of the app. If I'm actually in Spain (or more precisely: connected to a Spanish network provider) then that row will be highlighted in green. (The green highlighting seems to indicate the rule the application is currently using.)
Now, the nice thing here is that the application seems to be clever enough to understand that single-country rules should take precedence over group-country rules. So my newly defined rule for "Spain" will actually be the one used, rather than the pre-existing rule for "EU countries". Bingo. Exactly what I wanted to see.
I would have liked for the app to allow me to be able to define a new country group but I can live without it, meaning define each country on my network provider's whitelist individually.

The solution here may work for those with a similar problem

I want to link the ongoing feature request for Android here for others like me who found this while searching for a possibility to roam into some networks and not into others.

An app named Roaming Control (maybe even its free trial) might help you out here. From the app's description:

Roaming Control automatically enables or disables mobile data connection, airplane mode or auto sync based on the currently active network operator.
  [...]
  Besides manually defined network operators, Roaming Control also supports special rules for your home network, for national roaming and for unknown networks. For certain networks, free roaming partner networks are also supported.

To me that sounds like an exact match to your requirements. To give you a better idea, here are some screenshots:

Roaming Control Screenshots (source: Google Play; click images for larger variants)

Yep. I actually found it myself a second before you did. :-). I'm testing it now. The trick is that this app allows (via the menu button) to add additional countries to this list. Then I can configure that country individually.

Does it prevent the phone from connecting to disabled networks at all? Or is there a small delay for when the phone connects and before the app is actually able to disable mobile data again?

@TJJ I cannot tell as I've never used it. Technically it should be possible to avoid the connection at all, as the carrier is known before establishing the data connection (defined by MCC/MNC, see the green "Home Network" in screenshot 1; e.g. your home carrier is defined by your SIM, and those codes are AFAIK exchanged in the initial handshake). As the app description says it works "based on the currently active network operator", I'd expect it to act exactly like that. No guarantees, though.

@Izzy I read a bit up on it. So the home network (i.e. no roaming) is defined by MCC/MNC on the SIM. This app supposedly is not working on Android 5.0 (and upwards?) anymore. Also, I wouldn't trust it because I'm not sure if it can intercept the activation of mobile data fast enough. It would be better if it was possible to add multiple MCC/MNC as being the home network. Something like an xposed module or so.

@TJJ As you can see, this answer is from 2014. Meanwhile, there's our sister site for software recommendations – be welcome to ask for a specific app over there, and we can link it from here (if found). ATM I'm not aware of any, so if it exists it must have slipped through my nets.

That app in 2022 is no longer available. I have exactly the same needs of the op, and if someone has an alternative...


text:
How to change font scale from Terminal
I know these two commands to change density and resolution via Terminal:
wm density <dpi>
wm size <resolution>

But how do I change the scale of system-wide font via Terminal?

This answer from StackOverflow (How to change font size by adb command) provides a solution. The command used to set the font size is:
adb shell settings put system font_scale {float_representing_the_scale}

or if you are using a terminal emulator in Android
settings put system font_scale {float_representing_the_scale}

Examples:
settings put system font_scale 0.5f
settings put system font_scale 1.2f

I tested it using Android 6.0 with root access (I was getting an error when using the command without root). I had to restart the phone for the setting to take effect.


text:
Difference between /system/build.prop properties and setprop persist.adb.tcp.port (example) properties?
What is the difference between properties manipulated in /system/build.prop file and properties manipulated by setprop, for example setprop persist.adb.tcp.port? Where is the latter property stored? Is there another properties file somewhere?

There is no difference between editing a property via a text editor and via setprop, although I don't know where persist.adb.tcp.port is stored.

Me neither though...

To answer your 2 last questions, according to several sources (1, 2, 3), thoses are stored in /data/property/. I couldn't find an offical reference about this location though.
For you, that would be in /data/property/persist.adb.tcp.port.


text:
my Samsung note 3 not booting up
Is my phone is bricked or not?The device is not turning on . I thought it was ran out of power. I connected it to my charger. But instead of charging, it shows a blinking  battery symbol contains a circle. When I turned off the charger, my phone started  flashing with the boot logo untill the end of its battery charge and it is not turning on. I'm not installed a custom rom or rooted it.Can anyone find a solution?
device:samsung galaxy note 3
model:SM-N900

What blink frequency have you seen? Is it a low frequency like one disappering every few seconds or a fast blinking like one per second?

logo shows more than two seconds and fading

Then the "flashing" may be the effect of a crash + bootloop of the "charge OS". If even this tine embedded system does not work without crash a serious hardware problem is with a high probability the cause.

Something got wrong with the power button of the phone. I removed it and turned it on without power button. It booted up normally. Thanks for Robert for mentioning about the hardware issue.


text:
fastboot stuck on 'booting...'
I am trying to flash my device(Redmi S2/Y2). I unlocked the bootloader and I tried flashing Orange Fox recovery from fastboot.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 534773760 bytes
erasing 'recovery'...
OKAY [  0.020s]
sending 'recovery' (38400 KB)...
OKAY [  0.925s]
writing 'recovery'...
OKAY [  0.189s]
finished. total time: 1.159s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [  0.879s]
booting...

It was stuck at booting... every time I tried. While trying some solutions, I messed up and now I am stuck at bootloop. Any solutions to this?

Are you sure the recovery image is compatible with the device, i.e. maybe model no. It goes to bootloop if you flash wrong files.

just keep holding Volume Up + Power until TWRP logo (recovery mode) is visible

regarding boot-loop https://android.stackexchange.com/q/214902

It worked out, it turned out to be a hardware problem that didn't let me use the Volume Up + Power Key for Recovery Mode.


text:
Galaxy S4 Not Showing in ADB
I want to root a Galaxy S4, yea I know it's an old phone, but perfect for what I want to do. Problem is, once I do adb restart bootloader, the device is no longer on the adb devices list, so I cannot unlock the bootloader.
Any suggestions? I am somewhat new at this so I don't know exactly what to do. Step by step would be nice.

When you are in the bootloader mode, the device no longer communicates via adb, if you want to now unlock your bootloader, you have to use fastboot.
Also, the Samsung Galaxy S4 (except for AT&T and Verizon versions) don't have a locked bootloader, all you have to do is flash a custom recovery via Odin, then you are all good to go.
TWRP is a good option for custom recoveries these days, you can go to their website and download the .tar version of their recovery, then put the .tar file into Odin's "AP" slot and hit "Start", your device should now be loaded with a custom recovery.
Here's the link to all the information required: https://forum.xda-developers.com/galaxy-s4/i9505-orig-develop/recovery-twrp-3-2-1-0-t3742880


text:
Switch language on Android device with bluetooth keyboard
I'm using Logitech MK850 bluethooth keyboard and mouse combo on Samsung Galaxy S8+.
If I'm using Samsung (default) keyboard, I can switch language (Korean/English) using Kor/Eng switch key on the keyboard (it's actually right Alt key).
But I'm using Swiftkey (keyboard app.), this language switch key does not work. Shift + Space does not work either.
How can I switch language using the bluetooth keyboard?

Tried Ctrl+Shift' ?

Thank you for Shift+Space - it works for my Logitech G613

Go to Settings → Language and Input, then find Languages and select English and your language.
Now you should be able to use Ctrl+Space key combination to change languages from the Bluetooth physical keyboard.

You can try to use some BT-aware helper application (for example, External Keyboard Helper (pro version it is not free, but there is a free demo in Google Play).

Go to settings-> language and input and then click physical keyboard.  Now you can change language of your physical keyboard

It's not the answer. I'm using software keyboard when I type by 'fingers' but use hardware (bluethooth) keyboard only when I'm using bluethoose keyboard.

On my Jademall Bluetooth keyboard connecting to an Android 11 A8, the key combination to change language is SHIFT + SPACE.


text:
Display details stored in address book while receiving a call
Let's consider a situation where I have lot of people in my contact list named Kumar. Is there a way to display all or some of the details stored in address of a contact while receiving a call? like his company, address, anniversaries, etc,.

I found an app. But looking for better options and preferably free ones. https://play.google.com/store/apps/details?id=com.nikanorov.callnotespro&hl=en_IN

I'm running Android 10 on Redmi Mi A3

True Phone Dialer & Contacts & Call Recorder is a contacts and dialer app that does pretty much what you are looking for except displaying email ID. It's free for 7 days after which you can disable ads by going pro.
Install the app, from 3 dots menu at bottom right → Incoming /Outgoing Calls → disable incoming call notification to see full screen call details.
On my OnePlus 7, Android 10,using the default contact app I filled in details and it displays event date (birthday), address & notes ( Don't be Covidiot- you can replace this by Email address if you badly need that)

(Click to enlarge)
From 3 dots menu at bottom right → Incoming /Outgoing Calls →  additional info, select to show (needs to be manually edited in the contact information using this app)

(Click to enlarge)
I added job information & Nickname manually (my contacts app doesn't have those fields) and now the screen shows

(Click to enlarge)
Eyecon:caller ID, calls and phone contacts is another alternative that harvests caller information and photos from social media and displays - in case, it helps somebody who likes that approach.


text:
Does TWRP backup all apps and data, as opposed to ADB?
I need to backup every single user installed app, beyond system apps.
I have heard that adb backup will only backup some of these apps (the ones which allows it). Although, I'm not sure if this is the case with TWRP. Is it?
I want to make sure that when I restore, I won't have to download apps and configure them, again. If TWRP can't achive this, what can I do, alternatively?

Currently, I am running this command to backup with TWRP:
adb backup -f data.ab --twrp compress data system
Do I need to include any other partition?

@beeshyams I was thinking about doing both ADB and TWRP backups. But now I think this is not necessary. Right? // Thanks in advance!

What does TRWP backup include? should answer the question I guess :) For more, see these questions.

@alecxs can you elaborate or reference why it is not important?

The user @beeshyams, answered correctly, in the comments. However, this person did not want to answer, directly.
Here's the answer:

ADB will not backup a lot of things.

TWRP will backup all apps and data except /data/media unless you use this or Magisk module "TWRP helper".

TWRP is far more reliable in backing up than using adb to backup.

TWRP will also backup apps and their config. Have a look at our nandroid tag, it's questions and read the tag wiki.

Back up all partitions. It's while restoring you may skip partitions depending on what you are trying to do.

I wouldn't do ADB because: a) it won't backup everything; b) I don't know much about it; C) why bother when there is a proven solution in my view?

UPDATES

@alecxs says:

It's better to keep one single partition per backup.ab file because some older TWRP have issues with restoring.


text:
How can I configure Android so that all Internet traffic goes through a VPN and is blocked if the VPN isn't activated, without rooting Android?
How can I configure Android so that all Internet traffic goes through a VPN and is blocked if the VPN isn't activated, without rooting Android?

This is Always-on VPN, which is a stock feature since Android 7 (root not needed). You will see the "Always-on" & “Block connections without VPN", options in VPN settings.
If you are looking to have this feature on pre-Andoid 7 devices, you need to look for VPN apps that offer this. For example, this app offers this feature by name of "Kill Switch"

On Android 10 with AnyConnect VPN: Settings → Connections  → More connection
settings   → Select the VPN client  → Enable "Always-on VPN" and "Block connections without VPN":


text:
How do you set your Android smartphone not to switch to the web browser app each time you click on a link?
I'm using Firefox in my android smartphone instead of Chrome (Chrome app is not installed), but I think that it applies the same anyways. In the past when I clicked on a link (from emails, or other apps, etc.), I got a message that said that a new tab was opened in Firefox but the system didn't switch automatically to the Firefox app. I continue clicking on links and then when I was done and I opened Firefox and all the tabs were opened for me. Recently Firefox for android was updated and after the update when I click on a link the system automatically switch to Firefox. How can I set back the system so it doesn't switch to the web browser app each time I click on a link?
Regards.

In Firefox settings enable Tab queue.

Irfan, Where can I find that option? I went to settings but could not find it. By the way the app was updated to version 79.0.5.

79 brings major changes. Among other things, tab queue and tab previews are also gone, at least for the moment. You need to downgrade to use the feature.

The tab queue is sadly gone from the new Firefox.
There is a feature request here but it's ignored:
https://github.com/mozilla-mobile/fenix/issues/470#issue-409774110
You can uninstall the new Firefox and then install the old version's apk from here:
https://www.apkmirror.com/apk/mozilla/firefox/firefox-68-11-0-release/


text:
TWRP cannot find backup
Motorola G4 Play, formerly with LineageOS/14.1 + TWRP 3.2
Made the mistake of trying /e/OS but before I did, I copied 2-TWRP full backups and a lot of other pics and data to my Mint 20 laptop. I have formatted an SD card to ext4 and created the .TWRP/BACKUP as suggested on another thread here from 6-years back and also tried the suggestion from another one here today. Cannot restore TWRP Backup because it cannot mount internal storage after reboot and the sdcard is mounted as suggested there.
Running TWRP I can see the sdcard and the TWRP folder (no preceeding dot shown), but nothing beyond that and I am unable to navigate.
How can I get to the backup to restore my phone to LineageOS. Should never have left, ahh, hindsight.

MicroSD Card (ext4) probably will not mounted by vold, format MicroSD Card (vfat) or mount yourself via terminal. btw it's /external_sd (/sdcard is /data/media)

Could be DM-Verity blocking the install. The [1]: https://twrp.me/FAQ/ states probably caused by dm-verity one of the possible causes of that.

Android 6.0 or higher, the.
device maker has enabled dm->
verity as a security measure. > > The device will signature >
check. blocks of data on the.
system partition during boot.
at.the block level. The usage.
of dm-verity prevents TWRP.
from.being able to.
successfully. restore a normal.
system backup

Thanks to you both, but it is fixed. I removed the SD card and copied the 2-backup files to the Root of it and put it back in. I was connected via USB to the phone so I copied the 2-backup files to a bunch of different Folders within the Internal Memory to try and see where TWRP was looking by defualt.
Slapping my forehead moment now!
Straight off, Internal memory, Recovery Folder and TWRP found them there without any Navigation. Did not think of that earlier but patently obvious now. Dang hindsight -- again.


text:
Lockscreen automatically relocks after unlock
The Problem: Sometimes, after a successful screen unlock, the device immediately relocks.
Specifications: Nexus 9, CyanogenMod 12-12.1, Android 5.0.1-5.1.1, pattern lock and Smart Lock > FaceUnlock and Location active, encryption active.
Further details: I also have a phone (Armani) that ran exactly the same settings from CM 12-12.1 and experienced no such problems. This is weird, especially that flounder is officially supported while armani is not. The problem comes, on average, every other day. I'd like to know if anyone else had experienced similar problems and what you did to resolve it. So far all that I had to do is to reboot the device - something that ain't so nice especially on an encrypted device.

Remove the lockscreen in the settings, lock your screen, unlock it again & add the previous lockscreen, see if that works

What is meant by remove the lockscreen in the settings? You mean set it to swipe?

There's a "none" option, select that.if there's not one, set to swipe. if that does not work, you can use adb to remove a lockscreen completely.

Trivial: I found the answer... (Not the type of Eureka! thing, but kinda...)
I'm using this Moko magnetic "smart"-cover since the tablet came, and it was only recently I realized that it messes up with:

the Compass (guess what, it's a magnet) which then gave me the idea that it will mess with ...
The Lockscreen

If I folded the cover in a certain way even at the back of the device, then it will automatically lock. If I reorient the cover that the magnet is farther from the tablet, then no automatic locking occurs.
(Re-tagging this. Nothing to do with software.)

I had a similar problem with my Samsung Tab A 2019 Edition, that's how I fixed it:

Shutdown
Hold Vol Up and then Power on
It should say Secure Boot or sth like that
Log into your WLAN/WIFI/idkWhatItsCalled
Look for android updates and install if any
Edit Security Options or disable
Restart device


text:
Realtime Transfer (Stream) the Audio to "another mobile" device "directly" without any in-between components?
How to do if I want to play some (any) sounds on one device, and then want another device to hear the same thing at the same time?
And what i also mean is to be able to connect "directly" (via BlueTooth or WiFi) by not using any in-between Server or any such components. Or, should i say point-to-point? P2P? (Lets say without Internet)

You may look into this question as well.

There are many apps in the market which you may use to achieve this;

StreamFurious
ServeStream

Both app require you to posses access to a ShoutCast server. (which is a server technology to host what you broadcast. learn more). Services like listen2myradio provides such services for free. This will allow anyone in the world to listen what you play, realtime!
You may also use bluetooth (with apps like Bluetooth Music Player) or wifi (with apps like WiFi Audio Wireless Speaker or WiFi Speaker) if you want to stay at a limited area.

Sorry that i didn't mention clearly. I have updated my question above. Please check again. The point is, i want something WITHOUT in-between server (No Internet)

You already have the answer for your updated question as well in this answer. :)

I am looking for "how".


text:
Can't access photo stored in SD Card from computer
I have Android 4.4.2, and when i plug my phone in my pc, and try to access to my picture (i changed the settings to make it save the picture to my SD Card) from the folder: Galaxy\Card\DCIM, i dont see a thing, although when i go (in my phone) to "My files", and select "images", i can see all the images, and when i see the details, the path of the picture is /storage/extSdCard/DCIM/Camera/2015....jpg, but i cant even see the "Camera" folder in the pc.
UPDATE:
Even if browse to the /storage/extSdCard/DCIM/ folder with the file manager app it's empty!

You're using MTP right? or PTP? What is the last folder you see in DCIM? Can you  see or read DCIM folder?

im using MTP (i even tried PTP) and the folder is just empty

Most modern devices don't give you direct access to the sdcard from your computer. The "sdcard" is just an emulated storage area which can not be separately unmounted and provided to your computer via USB.
They explained this sometime ago when it was introduced with 4.0? 4.1?
What you see on your computer is what the Android Media-Content-Provider knows.
In your case it's not up to date with the current content. To get it syncronized you will have to trigger a media scan.
See this question for how: How do I refresh/rescan the SD memory in Android 4.4 KitKat
If a normal media scan does not bring it into a consistent state:
There is a system app called similar to "Media storage" (packagename com.android.providers.media on a Nexus5), you can clear it's data and then do a media scan to start from a clean state.

Newer Android versions have prevented this for a while by default but it is easy to change. When plugging in your phone using a USB cable there is a drop-down on the status bar with a few options. To see the card and navigate to it directly, select Transfer Files or something similar (It used to be labelled Mass-Storage Transfer).
This is working right now on my phone. Just mounted the device and it shows on the Desktop. Open it shows Internal Shared Storage plus the label of my MicroSDXC Card. Open that allows me to navigate and see all my images which are being stored on the card, just like with your setup.


text:
How can I change my device's user name?
Modern Android devices (Android 13) show the username in the About screen:

But with no obvious way of changing it. This name is also shown in the "Accounts and Passwords" screen as a heading for the accounts tied to the user but again, with no obvious way of changing the value.
How is this field changed?

By user name, did you mean the one that is scratched off? If so, I'm not sure if it's universal. Pixel3a on Android 12 and Galaxy M12 on Android 13 don't have such info on the About page, only the device name which can be edited directly from there. I think it's better to also mention the manufacturer directly in the question.

Sorry, never mind... apparently it's also shown on AOSP 9 custom ROM for Sony Xperia and stock Android 12 on Motorola Moto g52. I think it's shown on most (near-)AOSP ROM :)

I appreciate the clarification, though

Unintuitively, the user must first enable multiple user support on the device before the logged-in account can be configured. From the Settings menu, go to System, then "Multiple Users".

Flick the toggle to ON and then click and hold your own profile to change the name it identifies as. When you're done, disable multiple users again. Changes will be immediate.

To Google engineers reading this: make this more intuitive!
This has been tested on Android 13 on Sony's build of Android and Stock Android 13 on an up-to-date Pixel phone. Older versions may behave differently.

I suggest that you file a https://issuetracker.google.com/issues/new?component=190923&template=845103 about this.


text:
How to infer battery consumption on a non owned app
I am a back-office system developer, and am struggling to deal with a problem.
I am addicted to podcasts (in fact I use the Podcast Addict app), but I am interested in all kinds of subjects and there are a lot of podcasters to provide me a bunch of options. This addiction means that I have more podcasts to listen to than hours in a week. So I listen with accelerated audio.
But, podcast addicted implementation of accelerated audio is very power hungry, and I am wondering if it should.
My goal is to get any information about CPU/GPU usage of every podcast player when playing in accelerated playback.
Any advice? Tools? Procedures? Anyone has made this analysis before?

Looking into the APK of Podcast Addict you can find the library libsonic which is the key component "for speeding up or slowing down speech". As it is  a native library it should be relative efficient (compared to plain Java). The sonic library does not seem to use the GPU for computations, just plain CPU power.
Regarding the comparison on different Apps modern Android systems already have everything in place to do so. On the app details page you can see the CPU time (total, background), and the keep wake time.
If you want to see more details you can use an app like GSam Battery Monitor.
Using a fixed length podcast you can compare different apps by noting the displayed values before and after the test.
For testing non-owned apps I only see the chance to buy it if it is not free, test it and then if it does not meet your expectations regarding the battery usage refund it. On Google Play Store this should be possible within 48 hours after you have bought the app.

Thanks a lot. But by 'not owned' I meant that I am not the developer, so I think that it would be impossible to make any profiling (am I wrong?). I was thinking of connecting to Android studio for any deeper diagnostic. To me seems vary strange that it does not use GPU, I mean, the acceleration (being done in real-time) is a algebraic wave compression, GPU should excel doing it, and would be battery conservative as well. I am totally Ok with buying a few apps for testing purposes, but, would be better to have a nice setup (profiling) to test them quickly.

That you don't have the source does not make a difference as long as you don't want to debug the app (as debugging slows it down this is nothing you want to do). I think the library is too old for OpenCL. Also using the GPU means you have to re-invent your existing wheel, as you can't reuse the code and just run it on the GPU.


text:
From Visual Studio/Eclipse/IntelliJ to my Android phone - when is the build done?
Is there maybe an easy way to have my Visual Studio/Eclipse/IntelliJ "Build Successful" console output trigger a push notification to my Android phone?
Sometimes it fails in less than a minute, sometimes it requires around 15 minutes to build everything, so I'd be pretty relaxed to know I can rely on a notification instead of checking every now and again.
Thanks in advance

Maybe an extension. I might be able to program one and you can if you know C#

@SuiciDoga thanks for your comment, it helped me realize that I would also need this for more IDEs, like Eclipse and IntelliJ. Edited question. I am working in Eclipse and I use some C++ code via JNI in Visual Studio too, and currently transitioning from Eclipse to IntelliJ. Cheers

@SuiciDoga heard that one could use an OCR app that reads the screen (and hence can be adapted to receive a certain piece of text) I wonder if one exists, that I'd be able to trust installing on my PC. Maybe there are some open-source versions of that?

@usee85190 Best is to learn some programming

I think ide extension is a more simple way

Can anyone explain how this question is relevant to an end-user?

@Firelord the end user would stop waiting for a build to finish

Those tools mentioned in the question, they are meant for developers. An end-user doesn't use them. My point: how this question would serve an end-user of Android?

Certain end users are programmers

I do not want to program anything, genuinely asking for an end user option...

@Firelord if I put this on stackoverflow, for instance, all I will get is answers like "Go program it". I hope this is ok :)

I would even say you could use VNC (I would use it via an SSH tunnel or VPN don't just expose VNC port to the world it's VERY unsafe if you do not (see port forwarding over ssh tunnel for easiest way to secure such a connection).
Anywho this would allow you to view your progress, and then you could even run a couple extra commands (if comfortable with the terminal and command line you could even just use SSH server alone and when connect you could always bring up a background job (I recommend JuiceSSH).
As for exactly what you are asking it would seem to me if you say wrote a quick shell script that calls your command and when done also edits a simple text file.  Then anything that can connect and check for text file contents (say write a shell script for your android (see: https://play.google.com/store/apps/details?id=os.tools.scriptmanager&hl=en)).  You could say setup a samba share for the directory where you store the text file then setup a quick script to wget the text file and print whatever on your screen.
All in all I would say from the sounds of a developer angle you may prefer to setup openssh server, then install x11vnc, setup a script (I use xUbuntu (XFCE4 and not unity) and a simple upstart script to start VNC on system start and anytime I issue sudo service vnc restart.  Once you have the SSH and VNC server command running you can then use any ssh client (again can't say enough about Juice SSH it does port forwarding in a snap).  Once setup, for me I tap on icon on my home screen to connect the port (auto passes my user/cert and all), and then I open Jump Desktop and tap the entry for my server and it auto passes my VNC password so I only have 2 taps and I am in with full security.  If needed NoIP.me still does free Dynamic DNS so you can get an account and then use an address that never changes (ie. user.noip.me) instead of having to memorize your home routers WAN IP and remember to check every time it changes.
Sorry if this sounds a little long winded.  I am unaware of your tech expertise level, and I wanted to not only try to specifically answer your question as posed, but also share my personal solution as this would allow you access from anywhere (unless using a Wi-Fi that filters your SSH server port or if you have no data connection), AND not only see if the work is done, BUT you can also interact with your desktop as if you were sitting in front of it and fix any maybe small compile issues or make that adjustment before you forget type of stuff.  I use Jump Desktop a TON and it is fully capable (even handles M$ Remote Desktop as well).
Please let me know if you need me to explain anything, or adjust it if you are using Windows (I use xUbuntu 14.04 currently which is FREE, and desktop mimics Windows somewhat closely so if you are a Windows Dev and would like to try out Linux I recommend it HIGHLY)).
Anywho, hope this info helps.

Wow, thanks Mike for the answer! Indeed I am developing on a Windows machine

Well then you can still have a setup with an SSH Server and VNC.  You would however download something like UltraVNC and run that as a Windows service (CHANGE THE DEFAULT PORT) (Free), and then install OpenSSH Server (Free) (again change default port).  You would port forward the SSH port and not the VNC then forward VNC through the SSH connection.
SSH: http://www.mls-software.com/opensshd.html
UltraVNC (server and viewer):  http://www.uvnc.com/install/installation.html

This can be done in two ways:
Application Suggestion
There are applications that will show a notification on your computer from your phone, for example, Pushbullet and Desktop Notification from hciLab
To obtain a notification, you may use an Antivirus or Cleaning/Maintanence Applications which gives a notification about scanning the app once it is installed.
Configuring Pushbullet on your PC along with the device you are testing it on will give you a notification every time when the build completes and application is installed.
Programmatic Solution
A script can be written to read either the ADB Console or ADB log. The Script should look for  "Build Successful" or similar string.
I will try to write a script to do just that. Maybe try the Application way till then.
If anyone goes on to write a script for that, feel free to edit the answer.

Thanks for your answer! Does Pushbullet work the other way around: from pc to mobile?

I haven't really used such an arrangement, can't say. As a suggestion, maybe try using TeamViewer on mobile device, but again, it'll be tacky.

I think I have found what you would like.  Eclipse plugin named Jenkins.  Looks exactly like what you are talking about.  It can monitor jobs (and even let you fully interact with it through your browser.  Took me awhile to find this as Eclipse and a lot of terms start bringing up code examples for projects and what not, but hey persistence!!
Software that should do what you would like: https://wiki.jenkins-ci.org/display/JENKINS/Use+Jenkins
Good looking guide on integrating it with Eclipse: https://www.3pillarglobal.com/insights/how-to-set-up-continuous-integration-with-eclipse-selenium-webdriver-maven-and-hudson
"What is Jenkins?
Jenkins is an award-winning, cross-platform, continuous integration and continuous delivery application that increases your productivity. Use Jenkins to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It also allows you to continuously deliver your software by providing powerful ways to define your build pipelines and integrating with a large number of testing and deployment technologies.
Features
Jenkins offers the following major features out of the box, and many more can be added through plugins:
Easy installation: Just run java -jar jenkins.war, deploy it in a servlet container. No additional install, no database. Prefer an installer or native package? We have those as well.
Easy configuration: Jenkins can be configured entirely from its friendly web GUI with extensive on-the-fly error checks and inline help.
Rich plugin ecosystem: Jenkins integrates with virtually every SCM or build tool that exists. View plugins.
Extensibly: Most parts of Jenkins can be extended and modified, and it's easy to create new Jenkins plugins. This allows you to customize Jenkins to your needs.
Distributed builds: Jenkins can distribute build/test loads to multiple computers with different operating systems. Building software for OS X, Linux, and Windows? No problem."
Now of course you do not have to go crazy and use every piece of what is offered here, but man this looks like an awesome programming utility if I ever saw one.

Of course you will want to use a Dynamic DNS service so you can just type http://my.computer.hello:8080 into your browser window (be it a desktop or mobile device this should work by the looks of things (and they even have a test link you can use to download a quick test version to look at).

Oh I just realized looking through things (Jenkins aka Hudson (old name)) is a standalone server then you install a plugin to communicate with the server.  This looks like a very good guide on this: https://www.3pillarglobal.com/insights/how-to-set-up-continuous-integration-with-eclipse-selenium-webdriver-maven-and-hudson