text:
Ran "adb reboot bootloader" now can't boot past logo (Azpen A746)
So I bought a cheap Azpen A746HD tablet to tinker with (running Android 4.4.2, I believe). This is my first time messing with an Android tablet, and it seems I've probably bricked it, but from what I can tell I didn't do anything "dangerous." I'm hoping for some insight from more experienced folks and any possible suggestions on how to get it to boot again.
I did not yet root the tablet (I was in the preliminary steps of figuring out how to do that). From what I can tell, what bricked it was simply running adb reboot bootloader. The current state of the device is as follows:

The device won't boot past the initial Azpen logo screen. Doesn't appear to be looping. Just stuck.
Pushing the device's "reset" button with a paperclip doesn't help.
I can no longer boot to recovery mode (power + volume up) because it doesn't boot far enough to register the volume up button being pressed.
The device no longer shows up with adb devices and it isn't listed in lsusb from my Linux terminal (it was showing up previously after I added the vendor id to ~/.android/adb_usb.ini).
I've tried pressing the volume up/down button and power button in various combinations from the logo screen, with no result.

I don't have access to the battery, so I can't disconnect it. The device appears to be heat or glue sealed, so I can't disassemble it to access the battery (without making it unreturnable). Currently I am trying to fully drain the battery by leaving it powered on in its current state (stuck at logo screen).
Since I'm new to this, here are a few questions: Am I correct in understanding that this state a "hard-brick"? Why would adb reboot bootloader cause this? Is there anything more to try beyond the battery drain I'm currently doing? (I will just take back to the store and exchange if I can't get it booting again.)
FYI, the manufacturer's site is pretty much devoid of information, but what would you expect from a company that sells tablets for 30USD?

It sound like you killed it. That was quick! The real question is, as you say, why did just break over one of the more harmless commands? If there was no bootloader, it would obooted into an equivalent, or just rebooted normally.

@DanBrown, thanks for the reassurance that what I had done should have been harmless. Looks like draining the battery worked. I'm going to try to brick it with adb reboot bootloader again to see if the process is repeatable before posting it as the answer to my question.

Have you tried just holding the power button until it reboots on its own? Might take 15-30 seconds...

@acejavelin Yes, that was one of the first things I tried. From what I understand that would only recover from a soft-brick state, though. Mine was definitely hard-bricked.

Fully draining the battery will unbrick an Azpen A746HD in this situation.
I did further testing and was able to repeat the conditions for bricking and unbricking the tablet:

Running adb reboot bootloader will render the tablet unbootable as described in the original question (hard-brick).
Fully draining the battery will clear out whatever issue was preventing boot, unbricking the tablet.

Shame that I got IRULU X17 (board TZX-723Q B6) instead of that Azpen A746HD. Because my tablet wont boot anyway after adb reboot-bootloader

Update: not sure what exactly happened, but when I powered it with pressing Volume Up + Volume Down + Power buttons it showed low battery screen and after that it worked normally


text:
Smartphone locked with no access to Gboard Keyboard
(First excuse my bad English, It's not my mother tongue)
Before my smartphone (Wiko Freddy) was locked, somebody disable GBoard on it, and reboot the phone.
I read a lot of articles and try a lot of tools on my computer (Windows 10 x64) from the net, but actually nothing unlocked this problem.
When connecting the phone with a USB cable to Windows 10 :

the phone is in "charging mode"

On the phone, USB Debugging Mode seems active, but not detected from the tools who requested to activate this option on the phone before continuing.
List of products/tools tested :

DroitKit
FoneDog Toolkit for Android
Free Android Data Recovery
iMyFone D-BAck for Android
iMyFone LockWiper (Android)
Jihosoft Android Phone Recovery
MyPhoneExplorer
ScrCpy
SnapPea
UltData for Android
UnlockGo (Android)
And other products removed from the pc.

Some of the tested tools inform that they can unlock only Samsung phone.
Some are only trial version.
In device manager (Windows) :
=> Android Device

Android Composite ADB Interface

=> Other devices : (3 times Android without installed drivers)

Android
Android
Android

I try to update drivers but Windows says that the last drivers are still installed.
=> Wiko-Freddy USB drivers
=> Google USB Drivers
I try to use ADB commands.
But the device is unauthorized.
D:_adb-tools>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
37dc5a88        unauthorized      <=====
I don't see any confirmation dialog box on the phone to allow remote connexion (from windows).
I'm sure that this problem can be resolved without reset the phone in the original configuration. I would like to preserve all datas on the phone.
I would like to know How to use ADB commands to :

Force the unauthorized status to authorized
Reactivate GBoard
and change the charging mode to MTP mode

By advance, many thanks for your help.
Regards,
Hi Alexcs (and eveybody)
Thank you very much for your reply.
As I'm a novice, and try to understand, can you give me more details  on this solution please.

With this solution, is there any risk for the data's ?
When I search the stock ROM for the Wiko Freddy on the net, there are a lot of sites who propose this file, with different size.
Do you have any recommendation for choosing the right one ?
How to put the phone in EDL mode ?

I just know the recovery mode when pressing Power on and volume down on the phone on boot.
Options are :
Reboot system now
Reboot to bootloader
Apply update from ADB       (**)
Apply update from SD card
Wipe data factory
reset wipe cache partition
Mount /system
View recovery logs
Power off
(**) When testing this option, this message appear on the mobile :
Supported API: 3
Now send the package you want to apply to the device with "adb sideload "
On windows :
List of devices attached
37dc5a88 sideload
As it's seem possible to send package and write in this case to the phone,
Is there any way to :

copy the configuration file where the Gboard keyboard should be define to the pc
modify this file (with any tool)
and copy (replace) it back to the phone in the good place
and reboot the mobile to retrieve the keyboard?

By advance, thank you very much for your help and answers about all solutions who will preserve all data's on the phone.
Regards,

Hi, Is there any way to transform an APK file to ZIP file with correct footer to upload it on android mobile?

You haven't mentioned android version, but I guess it's AVBv1 signed. Therefore it's possible to flash modified boot partition.

download the stock ROM

extract the boot.img file with AIK

modify default.prop
ro.adb.secure=0
persist.service.adb.enable=1

repack the file

flash file into boot partition in EDL mode

once adb is working use scrcpy to do the necessary.

source: Stack Exchange

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

sort: votes


text:
How to recover application data after deleting it from the settings menu?
I wanted to cancel a download, which I did until now by long-tapping on it, then "App Info" button and killing the download manager and deleting its data.
However, this time, the "App Info" button opened up the app settings for Chrome and not for the download manager, which I only noticed after I deleted all the data!
Is there a way to undo that or at least somehow extract my bookmarks from the (Huawei Y3300 mobile phone's) internal storage device?
Note: By "app settings" I mean the page where you can "Stop Now" "Uninstall" "Disable" "Delete All Data" "Clear Cache" "Reset Default Associations" for given app.
Note: I suspect the cause for this mistake is that for "normal" downloads the download manager opens up if tapping on "App Info" but this was a "Save Video" download, for which apparently Chrome is still responsible.

possible duplicate: http://android.stackexchange.com/q/56797/1465

Did you have sync enabled for Chrome?

@Firelord no I did not

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


text:
Malicious malware on phone. How can I make it like new again?
I have ran multiple anti-virus apps
I have factory reset my phone.
Probably gained root access.
I know I will probably have to reinstall the OS.
I have upgraded to android 6.0 (marshmellow) but still see signs of infection.
If there are other components to my device that can be used to hide the malwares "rescue" component(s) please let me know.
Samsung Note 5 Verizon
Model: SM-N920V

Could you mention the symptoms of the infection? Nowadays, some malwares are persisted as system apps that makes factory reset useless, but without knowing the symptoms, we can't suggest anything other than "reflash the OS".

The things that happen are really beyond explanation and me trying to explain them would really just make me sound insane.

I just need to know how to make every single piece of my phone that an infection can get into or be used to "rescue" the infection after that

I will say that whatever is on my device is being used to disrupt my life and seems to provide someone the ability to use my phone as if it were their's.

you need to describe what exactly is wrong with your phone, otherwise it is hard for anyone to know the root cause!

You won't sound insane if you tell us the symptoms. It will just help. Apart from that, saying "probably gained root access" implies that you haven't. You are usually fully conscious of what you are doing when rooting. My wild guess for fixing is reflashing ROM

If your phone is truly unrecoverable, your last resort would be to back up your phone with Samsung Smart Switch in Backup and Reset option in Settings, then resetting the whole phone (Also in Backup and reset) to factory new. This will get rid of everything, and so should only be used as a last resort.
Otherwise, state the symptoms you see on your phone, we will try to help.

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


text:
Email through sms is in separate threads
When I receive an sms from an email address, the name of the thread is something like 0000000000000001.  If I respond, the person gets it, but then if the person responds to that, it comes in a new thread called 0000000000000002.  The next comes in 0000000000000003, etc.  I have tried adding the email address as a contact, but each new message still comes in a new thread.  What can I do to stop this?
I am using Silence (the messaging application) on a Nexus 6P on Android 6.0.1

There might be a problem with your message app.
Unfortunately there is no possibility to get rid of this problem.
You got a few options to choose:

Go to: Settings > Applications > Manage Applications > Select the Messaging
  App
Choose 'Clear Data' and also 'Clear Cache'.

You will lose all data and text messages in your phone.

Try to install another SMS app there are plenty on Google Store. IMO the one of the bests is the Textra. Hope you enjoy it.
Maybe it is connected with an APN issue.
This might help.

If you are using the Google messaging application, you should file a bug report. As stated in the documentation, search for your bug first before reporting a new bug.
This is a long-term fix; do not expect quick turnaround on bugs getting fixed.
Do not expect others to do bug reporting for you. If no one says anything, the developers may not know there is a problem.

Actually, I'm using Silence, not the default.  The idea of filing a bug report, however, is a good one.


text:
I deactivated Android System Webview. What can go wrong?
I'm a day 1 Firefox user. I recently faced lots of changes in Google's apps like News or Google (Now) that forced me to use Chrome from within the app, against my will.
I read that I could deactivate Chrome to have taps on Google's apps open links in my Firefox as they used to. So I did and it worked. But sometimes there's that video that Firefox can't read but Chrome can so the solution was only half good.
Today I learned about Android System WebView. It's the component that allows Chrome to run in other apps, amongst other things I think. I decided to deactivate this one instead and everything seems as I want again.
But what are the consequences of this action in the long term? Are there side effects I should fear?

Well nevermind, some apps still use Chrome and not ASWV. I finally had to deactivate Chrome as well. The question is still valid in itself so I don't delete it.

Related, or dupe: What is the use of Android System WebView?. In short: it's better to have it enabled, unless you're sure about the possible security vulnerabilities.

The Webview is used to open websites in apps so that you are not redirected to the internet browser every time an app tries to open a url (this includes sign-in urls) and apps that run off a website might not operate properly if the Webview is disabled.

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

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


text:
Chrome opens PDF files only through Google Drive, other apps work fine
Bug: pdf files from Chrome open only in Drive app directly, disabling Drive gives me "cannot open file" error.

I can open them from Adobe PDF app or FBreader app directly but that is annoying.
Selecting file in File Commander also brings up app chooser correctly and respects default settings. But Chrome insists on "Drive or nothing"
Firefox works fine too

How can I get the "choose app" dialog in Chrome and Downloads app to work?
Device: Xperia Z4 tablet, Android 6.0, chrome latest, non-rooted, updated to 32.1.A.1.185
Reinstalling drive, reinstalling chrome, reinstalling adobe pdf, resetting app defaults for all apps does not help.

Try clearing defaults for BOTH of these apps. This should be in Settings > Apps > Chrome/Google Drive.

resetting app defaults for all apps does not help.
I meticulously went thru all apps in Settings/Apps and re-set the defaults. No luck. Even Firefox opens PDF in adobe reader, but not Chrome.

@wizzard0 Are you rooted with a custom Rom? If so, you might be able to remove all chrome data and reflash gapps.

Not rooted, stock Sony firmware.

@wizzard0 Do you have another off viewer installed? If not that's most likely the issue.

Umm. Please read the answer text :) I have adobe pdf reader, google drive, and fbreader - 3 readers. And 2 browsers, Chrome and Firefox. I enter the URL to pdf file, Chrome opens it in Drive, FF opens in Adobe. I disable Drive, Chrome says "cant open file", FF still opens fine. Thinking about resetting the tablet...

@wizzard0 Ah, sorry. I can't think of anything right off the top of my head. I'll get back to you in the morning. (It's 2:50)

@wizzard0 Do you have an app in "Settings > Apps" called  "DocumentViewer"? If so, clear defaults for that too.


text:
My Phone Time-Travelled Again. How? and Why?
I have a Moto G XT1033 with ResurrectionRemix-M-5.6.8-20160502-falcon ROM.
Yesterday night after a low battery alert I had a Whatsapp unread notification from my friend. I opened the message and found that I had a unread message from him which I remembered reading in morning.
Then I observed that I was missing my conversation with him from that time onwards till I noticed this. I also observed that that all Personal/Group Chats were also missing the entire duration's chats.
I thought maybe Whatsapp had reverted to an Old Message backup. But then I found that Firefox was missing 12-15 hours worth of browsing history.
I had also observed that the SMS which I received from the bank in the evening had disappeared. As well Google Play Store re-updated two applications which it had already updated in the evening. I had also lost some Photographs which I took with my phone in the evening. Call History is also missing for the day.
Google Now showed it was last updated 20 Hours ago.
From all this it looks like my phone Time-Travelled from morning to night.
QUESTION: Aside from Time-Travelling. How is this even technically possible for the Entire phone to rollback its memory/state/data to some previous time.
I think I had noticed this behavior few months back also, when I lost some Whatsapp chats but that time I thought it must be a Whatsapp bug and did not investigate.
UPDATE1 (16th Jan 2017, 10:35PM IST): It happened again today (Now around 10:30 PM IST).
My phone automatically restarted. (As if it just time-travelled and entered current time).
Restart Vibration made me alert for expecting this scenario.
As soon as the phone started, I switched the phone to Airplane Mode to prevent Time-Line contamination
This Time I am observing the following:

Google Now Updated 8 hours ago.
Battery Graph is missing some time. (Time Jump?) But battery has decreased.
Outlook is missing the Mails it received at around 9PM
Inbox is also missing Mails.
Call History looks good. Last call 8 Hours ago (2:10PM). Time Jump started around 4PM.
Whatsapp is missing chats which I received at around 6:30PM.

Sync Timings

Llama Event Logs

If additional Info is required please inform. I will try to get it before I turn off Airplane Mode
Update2 (17th Jan 2017, 8:33PM IST): It Looks now phone has become a Serial Time Traveller.
It restarted just now and the battery graph is missing two blocks of time.
Whatsapp messages are missing as well.

Interesting issue. I have some theories, but I can't find anything on the internet that may prove it: 1) ROM's backup and rollback feature; doesn't seem to exist. 2) data lost due to low battery; not sure if it's possible. I'm curious if the phone had powered off due to low battery or not since you only mentioned "low battery alert". Also, are you using any features that are related to file system, e.g. full disk encryption? (again, not sure if it's possible)

My Observations: 1) I have a "Backup & Reset" in Settings>System Section. This backup is currently "ON". But no restore option. I believe this provided by Default and not ROM Specific. But might be the culprit. 2) Data Lost: Phone did not power off. I immediately started charging as I Observed the above behavior. My Phone's current up-time is 107 hours, So it was started a day before I wrote this question. But I don't know if up-time is affected by Time travel :P  Phone Encryption is OFF.

Did your phone perchance reach 88 mph? In all seriousness though, it's technically possible to take snapshots, then you can roll back to a previous snapshot—but I doubt any phone does this (but it's a feature of Linux, so possible). Though maybe they'd use it for backups—one use for snapshots is that they don't change on you, allowing a consistent backup.

You are probably best off contacting the ROM developer with the info you posted here. This is a very specific issue.

I thought I was the only one facing this issue, and I didn't even know how to describe my problem back then. Looks like we're on the same boat.
Even I'm using the Moto G (XT1033), but on NXROM 10.2, and I started facing this issue around a year ago until last December. The phone randomly reboots when I'm using it, and as you had described, it went back in time, and all the messages, downloaded files, statictics for a period of time and other stuff just vanished.
I tried to Google this up, and here is my understanding (I may be wrong, so please correct me if so):
It turns out that this happens due to a kernel panic, and when the fsync function is not executed. fsync is responsible for writing the data from the buffers (all changes you make to data, like new messages, photos etc. is stored temporarily here) to the internal storage. When a kernel panic occurs, all the data in the buffer is not moved to the internal storage, but just vanishes. So all those changes you made just vanishes into thin air.
I was pretty frustrated about this, and then I stumbled upon LSpeed (available on Play Store). There was a battery profile which emphasises on conserving battery life. It disables kernel panic, and modifies a whole lot of other settings. Since I installed that, I've not faced this issue again. Try this out and do let me know how it works out for you.

Your reasoning looks good. I will try this once it becomes reproducible again as I have flashed RR-N-v5.8.2-20170309-falcon-WEEKLY. It is no longer reproduced on my phone.

However, all applications rely on system clock. In the case system clock go backward by some reason (some application feature or bug, malware, virus, something else), you will get "travel in past" in all of your applications. It is normal in the case your clock was setting back by some application.
There is a reason to worry 'cause I see no reasons for normal good-willing applications to do so. Try to check your phone using some anti-virus program and clean up all applications you don't obviously installed.

No funny things installed. Lookout is running as usual. I feel files should not be deleted because of Time rollback.


text:
How can I create delay before my Android phone decides that wired handset is disconnected?
I've got Sony Z1 Compact with non-rooted Android 5.1.1.
It has an issue with some of my wired headsets: any slight movement of the phone with headset connected causes the phone to stop playback despite the fact that headset remains connected. (the playback can be started again with use of headset button)
I think the reason is a slightly loose jack port on my device because my other devices don't have this problem with the same headsets.
So it seems that the only software solution (without manual toggling headset-mode) would be to create some reasonable delay at which device decides that the headset was indeed disconnected and I'm looking for the way to achieve this behavior.


text:
What limits the stated maximum capacity of supported microSD XC cards in smartphones?
microSD XC specification technologically supports capacities up to 2TB. However, a sizable number of even the top smartphone models are stated to only support capacities up to a lower boundary (but still higher than 32GB which is the hard limit for microSD HC).
What specifically is limiting this number? Logically speaking, if the onboard devices conform to the new standard, they shoudn't have any additional limitations, no? E.g. can this restriction be lifted with an alternative firmware?
A side question (comment if you feel it warrants a separte question): What would happen if I insert a larger card into one of these models?

Well, first of, that's a good question.
Periodically members of the industry come together and publish a standard that specifies how a device must perform if it's going to be, say, "Micro SD." This includes a range of capacities that a device must support if it is going to claim to support that kind of device.
Eventually, technology catches up and the original standard is no longer sufficient. For example, the original SD standard supported the FAT 12 and FAT 16 file systems which are good up to 2 GB but no higher. When this was no longer viable they went and modified the standard, which became "SDHC". This standard uses the FAT 32 file system and can use up to 32 GB.
The SDHC standard is now starting to not keep up with the available technology, so there's SDXC which again introduces a new file format and a new range of sizes (up to 2 TB now).
If you have a device and you program it to be able to read FAT 12, FAT 16, and FAT 32 then you can read SD and SDHC cards but not SDXC. You could publish this as "Can read microSD and microSDHC cards," but most users don't realize that there are different generations of card at play, so it's easier to just say "Works with cards up to 32 GB."
It's just the format of read/write, and not the actual hardware that limits the size.

If I'm not mistaking, the readable formats depend upon the installed kernel, hmm? If this is the case, then a custom kernel might lift this limit (depending on the removable media's format).

I'm specifically asking about the devices that claim to support microSD XC, and with the stated limits higher than 32GB.


text:
Can I still restore a crypt8 whatsapp backup from mid-2015 on Android in 2023?
I still have the same phone number. Is this local backup too old to restore?
Is there a limit on how old a backup I can restore on whatsapp?
On, https://faq.whatsapp.com/618575946635920/?cms_platform=android , it seems possible to restore older backups, however the example formats are crypt9+

What have you tried already?

Nothing. However I'd like to know before I try...


text:
Missing logcat? KMSG? Debugging random reboots
I have this crap ANS ARTIA phone running Android 12. It keeps rebooting—2-3 times at the same date/time of the week (once while using G Maps, once using Waze) plus a couple more times outside of those circumstances. I'm broke and can't afford anything else, so I'm trying to fix it.
One time it crashed to that dead android screen and the power button wouldn't even work. I had to do PWR+VOL UP like I was trying to get into fastboot just to reboot it.
I saved 2 bug reports so far, one being quickly after a reboot. Online docs say to look for logcat.txt, but there isn't one in these reports, only dumpstate_log, main_entry, and version.txt in the parent folder, with several other folders. Someone said look for LAST KMSG, but the only mention of that is:

*** Error dumping /proc/last_kmsg (LAST KMSG): No such file or
directory  ------ 0.001s was the duration of 'LAST KMSG' ------

I'll watch for it to happen again and try to capture another report immediately after, but I don't know how to recreate it on demand while plugged in to USB. I have ADB and Android Studio, but I don't know what to do with them.
No results for am_anr. There are 4 files in \data\anr. No WATCHDOG KILLING, no am_focused_activity,

VM TRACES AT LAST ANR (/data/anr/anr_2023-06-08-16-07-26-347:
2023-06-08 16:07:32) ------
Subject: Input dispatching timed out (e036911 NavigationBar0 (server) is not responding. Waited 9633ms for MotionEvent)

Someone said type *#9900# to turn on more verbose logging, but I get "invalid mmi code," and my carrier is a crappy free provider so that may never work.
I got a bunch of am_proc_died at 17:39 and a bunch of am_proc_start around the same timestamp. I got 4 am_low_memory's but that was at a different timestamp.
A few hits for kswapd, a ton of hits for kworker, but I don't know what I'm looking for. No hits for mmcqd. No Uncaught remote exceptions.

Line  11865: 12-31 18:00:15.858  1000  1644  1644 W PackageManager:
There should probably be exactly one storage manager; found 2:
matches=[ResolveInfo{5cce669
com.google.android.apps.nbu.files/.home.HomeActivity p=100
m=0x108000}, ResolveInfo{4a848ee
com.android.storagemanager/.deletionhelper.DeletionHelperActivity
m=0x108000}]
Line 569647: 06-08 17:41:52.782 10221 15908 15908 E
HMSSDK_HMSPackageManager: resolveInfoList is null or empty    Line
569653: 06-08 17:41:52.789 10221 15908 15908 E
HMSSDK_HMSPackageManager: resolveInfoList is null or empty    Line
569657: 06-08 17:41:52.796 10221 15908 15908 E
HMSSDK_HMSPackageManager: resolveInfoList is null or empty

Line  27951: 06-08 17:42:58.876  1000 19810 19810 I
ResolverListAdapter: Add DisplayResolveInfo component:
ComponentInfo{com.google.android.apps.docs/com.google.android.apps.docs.common.shareitem.UploadMenuActivity},
intent component:
ComponentInfo{com.google.android.apps.docs/com.google.android.apps.docs.common.shareitem.UploadMenuActivity}
Line  27952: 06-08 17:42:58.877  1000 19810 19810 I
ResolverListAdapter: Add DisplayResolveInfo component:
ComponentInfo{com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal},
intent component:
ComponentInfo{com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal}
Line  28288: 06-08 17:43:06.745  1000 19810 19810 D ChooserActivity:
ResolveInfo Package is com.google.android.apps.docs
Line  34987:
06-08 17:42:20.993  1000  1644  2177 I am_broadcast_discard_app:
[0,180397340,android.intent.action.MEDIA_MOUNTED,3,ResolveInfo{15d3531
com.qti.ltebc/com.qualcomm.ltebc.LTEBroadcastReceiver m=0x208000}]
Line  35064: 06-08 17:42:28.965  1000  1644  1902 I
am_broadcast_discard_app:
[0,65709818,android.intent.action.MEDIA_MOUNTED,3,ResolveInfo{7d87402
com.qti.ltebc/com.qualcomm.ltebc.LTEBroadcastReceiver m=0x208000}]
Line  35225: 06-08 17:42:49.671  1000  1644  2174 I
am_broadcast_discard_app:
[0,229308146,com.microsoft.bing.usbsdk.api.APPWIDGET_UPDATE,0,ResolveInfo{d90e5a1
com.microsoft.bing/com.microsoft.clients.bing.widget.SearchBoxWidgetProvider
m=0x0}]

Can someone please tell me why I don't have logcat or dumpsys? And can anyone tell me what to look for in these logs that might give me an idea of what is happening? Thanks!!!

Where have you read about logcat.txt ? Logcat is an in-memory ring buffer that is to my knowledge never saved to flash. Logcat.txt only exists if you connect the phone to your PC and capture logcat to a file on your PC. If the phone then crashes while connected to the PC you have a logcat.txt file.

https://source.android.com/docs/core/tests/debug/read-bug-reports               "Android bug reports contain dumpsys, dumpstate, and logcat data in text (.txt) format"

That is the documentatio for app developers. An Android bug report is generated when an app crashes, not when the OS crashes.


text:
Browser links opening in app instead of browser due to deep links
This is what I am facing right now. I have certain pages configured as Android app links in manifest file of my app. They work as expected when I search for those pages in Google and click on those links resulting in opening the corresponding app pages.
My issue is when I am browsing the same pages on Chrome OS browser on my phone and try to navigate to the same links in the browser itself, they still open the app instead of navigating in the browser itself.
So for example if I have a Android app link in manifest file as scheme://host/path/
When I type this link in browser or open browser with scheme://host and navigate to path, it opens the app instead of keeping the user in the browser itself.
How do I prevent user from opening the app when navigating in the browser itself?

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Please note that app development is off-topic since Android Enthusiasts focuses on end-users and power users (who are not necessarily developers) solving their issues. Thus, while this community might explain the technicality of Android OS to your queries, coding solutions are out of the scope of this community. For programming questions, you might want to try our sister site [so].

If you prefer remaining in browser rather than having corresponding app launched when a link is clicked, try changing settings here(opt out the apps to stop them from being launched)

Here's how it can be done:

Navigate to your phone Settings > Apps and look for Default apps.

Under Default apps settings, tap on the Opening links option.

On the next page, disable the toggle for Open supported links.

Source

That almost did the trick for me. On the next step I had to instead select my app and add a verify link.


text:
Android File Transfer not working on Sierra
I have a Huawei Mate S with Android 6.
After updating my MacBook Pro 13" Retina to Sierra I noticed that Android File Transfer correctly opens up when I plug the phone into the USB, but the window remains empty, as if the device isn't containing any file.

I've tried everything, switched USB mode to MTP, activated developer options, but still no joy.
The USB cable is ok, it is the original Huawei provided with the phone. I'm figuring out some permission problems, but I can't go any further in this direction.
Does anyone have the same problem?

Does files appear when connected to windows or linux? If doesn't than you should clear data and cache for 'Media storage' and 'External storage' from app manager, than reboot and wait ~5 minutes for android to index files and than connect to computer. Yeah I see you have android MM so this probably should solve the problem

@Једноруки Крстивоје: Thanks for the suggestion, I'll try that right away.

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


text:
Play video with 2x speed in MX player kindly help
The problem is that I have to watch some MIT OCW video lectures on my mobile device and I'm using MX player to watch these videos. The catch is that I want to watch 50 minute lecture in 25-30 minute but I seem to find no way out to do this on android. I know I can play those videos on VLC media player on a laptop at 2x speed but the problem is that I don't have a laptop.
Suggest me what can I do. How can I watch them at 2x speed?
P.S. I use an android device version 4.1 jellybean. Also I'm not streaming the videos I have already downloaded the videos and now want to watch them offline.
Kindly help.
Thank you.

MX player offers tweaking play speed. When playing a video, tap the three dots line -> Play -> Speed -> configure it. Have you tried it?

@Firelord yeah! tried it right now but it shows something different than what you are saying.

I just realized that when you move two fingers up and down the left side of the screen (like when you adjust brightness, but with two fingers) the playback speed adjusts accordingly.

I am unable to verify it. Are you sure that it is in MX Player?

Perhaps you should add that this Gesture may be disabled via the controls menu.

Not sure about MX Player, but other apps also let you control speed, you could give them a try. Here are some: VLC for Android, BSPlayer, Dice Player
With BSPlayer you are able to speed up youtube as well if you're interested, as explained here (though as of now, bsplayer shows 'not available in your country' in my app store (USA), hope you can get it)

When you play a Video with MX Player, click on the dots for menu there you will find playing speed. It's pretty easy.

Please  do  a proper  research  before writing  an answer  here.


text:
How to change user account with Tasker?
Is there way to change user account with tasker?

Do you mean to switch "user accounts"? Which Android version are you using?

Yes. I updated question to be more specyfic.

It is still not clear what exactly to you want tasker to do: Do you want it to run tasks as a different user, or do you want a task which, when executed, changes the currently active user?

You need root access for this answer to work.
Setup this action in a task:
Code → Run Shell →
Command: am switch-user USER_ID,
tick Use Root
To know the USER_ID of a user account, see my answer here.


text:
Can't install TWRP LG Optimus G
This thread of mine is partly copied from XDA.
I can't get through following issues. Phone's firmware is full vanilla since the very beginning - only updated from Jelly Bean/ICS to 4.4.2 with OTA.
I want to install TWRP Recovery and then try some custom firmwares. I started with making a backup of IMEI/NVRAM by MTK Droid R&T just to be safe.
I can't, IMEI/NVRAM button is greyed out. Log:
 --->>> Connect to device <<<---
 --- ERROR  :  --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
 --- Unknown ROM structure, backup NOT possible!

I've looked for solutions. They suggest e.g. searching for MTK app from different source. It doesn't help.
Setting up a root is also a trouble. I tried to use the simpliest, well known method within the reach based on Batch script.
Log:
[*] Waiting for device...(Connect your LGOG via USB in Charge Only Mode)
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
Beginning Root Process
Now change from Charge Only to MTP
No need to disconnect USB
Press Enter after making the change.
Press any key to continue . . .
adbd cannot run as root in production builds
error: device not found

If uid=0(root), gid=0(root) is displayed
Press Enter to Continue

Device is properly connected to adb.
(...)\ZV9-ZVB-Universal-Root>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
LGE9751acf27d9  device

Command like adb reboot bootloader just restarts the phone. It starts as usually.
Then I tried reinstalling KitKat with OTA hoping that phone will let me do more then. While installation phone got into Download Mode, then it rebooted and - what is strange - there was no changes at all. No factory reset occurred.
At the moment I'm helplessly begging/crying for help. Thx for any help/suggestions.


text:
How to downgrade an HTC Desire to stock version?
I know the first thing you gonna say is to google it, there is plenty of tutorials for it, but I tried at least 5 of them (including some in XDA), and every time I didn't succeed.
First of all, here's my HTC Desire status :
BRAVO PVT-1 SHIP S-ON
HBOOT-0.93.0001
MICROP-031d
TOUCH PANEL-SYNTH0101
RADIO-5.11.05.27
Aug 10 2010,17:52:18

At the beginning, I tried to reinstall the original rom from the links in the XDA : http://forum.xda-developers.com/showthread.php?t=695667
I choosed RUU_Bravo_HTC_Europe_1.15.405.3_Radio_32.30.00.28U _4.05.00.11_release_121865.exe because I'm in France (and it seems it was the most recent version for european).
But when I execute the installer, it works a bit, but then, it fails with this error :

ERROR 140: Bootloader version error (I got it in french : "Erreur de version bootloader")

So after, I tried to get directly the rom.zip by going into the %temp% folder (windows), I put it on the mounted disk of my android, and renamed it to PB99IMG.zip.
I boot with VOL DOWN pressed, and it extract the archive but fails with a :

Main version is older!

So, I must have a newer HBOOT, but I can't find how to downgrade it, and most importantly, to which version ? 0.92 ? 0.90 ? 0.83 ? 0.80 ?
I tried some tutorials, like :
http://forum.xda-developers.com/showthread.php?t=768256 => The link for the downgrader (2.1 or 2.3) doesn't exists anymore, or contains viruses ... great
http://www.mikesouthby.co.uk/2010/08/htc-desire-downgrading-hboot-and-installing-custom-froyo-rom/ => The PB99IMG.zip for downgrading the HTC Desire doesn't work, it result in the same error message "Main version is older!".
In order to sum up, I'm looking for help to make my HTC Desire go back to the ROM I had when I purchased it. For that, I need a link to a tutorial or an app for downgrading to the correct HBoot, and I need to know to which version.
Thank you very much for your help, I really appreciate! I spent 5hours trying to make this work without any luck.

I finally succeeded !! (YOUHOU!! You can't believe how proud I am !)
First of all, I want to indicate that links on XDA (those that goes in multiupload.com, that redirect to lnx.lu), SUCKS! I can't believe it. You have to download a "download manager", with so many related ads and apps you must install. It's a shame. (I am very angry agains't them (lnx.lu) for wasting my time just because they are greedy).
Now, the real answer !
You need to downgrade your hboot version before running the RUU rom, for that, it's quite easy :
First, you choose your ROM on that page, and notice the ROM version
Then, you go here (if the link is down, you can download the source code here!) and define the CID and the ROM version.
For the CID, if you don't know it, just set to 11111111 or HTC__022.
If you want to try something more precise, you can try the one related to your carrier from this link.
Keep the download file to a specific directory (for this case, it will be /tmp/mtd0.img).
Now you need the flash_image tool, if you can't find one, here's a link. Download it to /tmp/flash_image
Now some command line. For that, you'll need the Android SDK and a correct USB driver (adb should return a device when connected, with debug on).
Do these commands :
// go to the sdk/platform-tools/ dir
adb push /tmp/flash_image /data/flash_image
adb push /tmp/mtd0.img /data/mtd0.img

// Make sure those files were updated with :
adb shell ls /data

// Then run
adb shell

// You will be in your terminal's shell, now do these commands :

chmod 755 /data/flash_image
/data/flash_image misc /data/mtd0.img

CTRL+C // To quit the terminal's shell and go back to your computer shell

// Now reboot to RUU mode
adb reboot oem-78

Once the phone is on RUU mode (showing a grey HTC logo), run the .exe rom you downloaded previously, wait for it to finish, and voilà! You're done ! :)
Here's the doc I followed for the commands.

You may want to select your own answer here.

Can you imagine your answer helped me in 2016!

That's awesome :) My phone is still working but unused now (and in pretty bad shape ;) ).

RUUs are linked to carrier and their allocation of devices so it can be tricky to find the right RUU for your device
I had a similar issue with my HTC Magic and I used a goldcard method to downgrade the bootloader so that may be a good place to start, don't lose heart it can be done due to the massive amounts of different RUUs out there it can be really confusing
It took me ~6 weeks to find the right solution to downgrade my HTC Magic so I could root it, I have never looked back since
http://lmgtfy.com/?q=downgrade+desire+bootloader+goldcard


text:
How can I stream all audio from my Mac to my Android phone?
I'm sick of switching my headphone jack from my Mac to phone and vice versa. Is there any way to stream all audio playing on my Mac to my Android phone, so I can hear any audio from either my Mac or my phone through the same pair of headphones, at the same time?

Airfoil is available cross platform:
https://play.google.com/store/apps/details?id=com.rogueamoeba.AirfoilSpeakers

I can confirm that I got this solution working with minimal effort. It ain't free (I paid $29 after the free trial) but it gets the job done. You install the Android app linked about and then install the transmitter app on your Mac: https://rogueamoeba.com/airfoil/mac/ Interface was so intuitive and simple I needed no extra instructions.

Well, maybe not exactly what you want, but I can stream from my phone to my PC using standard Bluetooth A2DP profile.  I can't stream from my Linux PC to my phone :-(.
Just pair the devices and I believe there is graphical tool on MacOSX to choose the source device (on Linux I use pulseaudio pavucontrol).

Hmm, I googled "a2db mac android" and things like that, but I couldn't find much useful information. Exactly what tool are you talking about?

As I mentioned -- I am not sure how to do it on Mac, but for Android-Linux I use those tools: https://wiki.debian.org/BluetoothUser/a2dp

i used the SoundWire
https://play.google.com/store/apps/details?id=com.georgie.SoundWire
but it has some kind of delay
i am not sure if it works on mac

There's no SoundWire for Mac, as they state on their website. There might be a way to get the Linux version working, but I'm not sure.


text:
How to disable auto shutdown on low battery?
I'm using a custom ROM (danielpinto8zz6's Cyanogenmod 12.1 build for the Xiaomi Redmi Note 2, in case anyone is interested) and there's an issue with what I guess is the coulomb counting profile.
The battery drains incredibly fast under certain circumstances leading to a force shutdown. When I then remove the battery briefly and boot the phone up again it shows a realistic charge value instead (like 30% or even 80% depending on the circumstances). I guess removing the battery resets the coulomb counter and causes Android to rely on voltage only?
Anyway, is there any way to disable the auto shutdown without using the Xposed module? I can root the phone and edit the system partition -- I just don't want to keep it rooted afterwards.
Alternatively, can I force Android to always use voltage only instead of coulomb counting?

Are you sure it's the ROM's bug and not the battery is dying?

Try to recalibrate battery, you have apps for that on play store. What do you mean you can root the phone if you have CM it's allredy rooted. If nobody else have that problem with that ROM, your battery is probably duying, or maybe even some other hardware problem.

@ЈеднорукиКрстивоје there's no such thing as "recalibrating the battery". It's just a scam to sell in-app advertising. This is all behavior of the kernel, which isn't something you can't readily fix.

Thanks for your thoughts! Yes, this is definitely a software issue and not the battery dying. As I said, removing the battery briefly (which probably resets Android's coulomb counter) results in a realistic value and yields quite a lot of usage time. This is an issue with this inofficial Cyanogen mod build.

@ЈеднорукиКрстивоје: I unrooted the phone. Yes, this is beacause of Pokemon Go. I know, don't judge me. :D

Well if it's ROM based bug, we can't help you conntact him about bug.

Just to give you guys an update, I did replace the battery as it was in fact rather old and this solves most of my problem. The coulomb counting issue persists, though -- when I remove the ostensibly empty battery after forced shutdown and immediately replace it I get quite a bit of usable additional capacity.

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


text:
Boot Loop Not solved
I have a yu yureka AO5510 runs on Cyanogenmod 12.1. I used it without any problem till today morning. But suddenly it started to restarts again and again. If i connect it to the charger, the booting get completed but when it finish boot, again restarts. If I didn't connect charger, even booting is not started. The brand name is shown, again restart likewise. I didn't perform any update, didn't rooted  didn't installed any apps and didn't do anything. I can access to the recovery menu. I wiped the cache but no use. I connected it to pc in fastboot mode but not detecting. All of my important data are stored in it and so I can't erase it simply.
Things I have done so far

Remove battery and inserted again
Recovery mode -> wiped cache
Connected to laptop in fastboot but not detecting.

I checked the recovery logs and it contains something like
missing clock cycle property
IRQ32 no longer affine to CPU4
Started secondary processor

Suggestions I want

How to interact it to fastboot or adb
How to copy data from that device to laptop
How to solve the booy loop issue

You need fastboot drivers to get the phone be detected by the computer. Flashing the phone should solve the issue. Flash only the system partition (With SP Flashtool)

yes. I saw a video on youtube and updated the drivers. No it is detected on fastboot but not on adb. I want to copy the data

The phone must be on and USB Debugging enabled to be detected with ADB. While not booted in android, the phone can only be accessed in falsh mode and fastboot mode/ meta mode.

is there any alternative method for adb pull in fastboot mode

Nope! Fastboot has limited functionalities

There are tools that can dump all phone data, but most are paid.


text:
How to factory reset CyanogenMod?
We bought a used smartphone (samsung galaxy ace), and was suprised that it had a version name:
cm7-democracy final edition 2012 (2.3.7 android)

We wanted to reset it in the "Backup / reset" menu in the Settings.. but it didn't allowed us to do it.. no plus menu came up when we pressed the "reset to factory defaults"
Question: how can I reset it to factory default? (with or without leaving the CM on the phone!) - we just only want to wipe the personal data from the phone, as it is a usual thing to do when we would only have a stock android on it.

You can go to the ClockWorkMod Recovery by pressing VolumeUp+Power+home button (For devices that have physical home buttons. Yours does!) In that you have the option to do factory reset/wipe data. Also don;t forget to wipe dalvik cache. That way your phone will reset to CyanogenMod factory default. However if you want to restore to Samsung Factory default you have to download the original firmware and flash it using Odin or any other software. Detailed guides can be found online


text:
What is this CyanogenMod 13 icon symbolising

Thanks in advance for those who will help.
:-)

The widget in question is Power Control, one of Android's default widgets. The icon you're asking about is Sync. As described in the page I linked to:

Press the Sync icon, second to the right, to cut the power to your Droid's Sync functionality. Sync keeps your contacts, email, calendar and other features readily available and constantly updated, which saves you time and effort when you're using your phone.


text:
Change file permission in BlueStacks player qwerty.kl
I want to edit BlueStacks '/system/usr/keylayout/qwerty.kl' to add few more key map to this file, but I'm not able to edit this file due to permission issue. Any suggestions on how can I change file permission in BlueStacks. Any hacks for changing the file permission?
Res: https://getsatisfaction.com/bstk/topics/change_bluestacks_system_file_permission

You probably need to root BlueStacks. A quick search revealed this on XDA

@ce4 +1 Thanks man!, your comment should be the answer :)

You probably need to root it to gain access to the protected "/system" file system.
XDA Developer's has a (probably) outdated thread how to do it here.
After you suceeded, you can take the usual steps to mod it (remount /system read-write, copy your edited file over, etc.)


text:
Onboard ethernet drivers for Android-x86?
I have recently installed Android-x86 6.0 RC1 on a USB Flash drive, so I can test compatibility in various PCs and notebooks. One thing I noticed is that the Ethernet card is never detected (probably no driver) and the only option is to use the Wi-Fi card (for notebooks) or a Wi-Fi USB dongle (for PCs). This is not very convenient, at least for PCs. Is there any way to make the build-in Ethernet card work? I know there is a USB Ethernet adapter that works in Android, but this is pointless. If I have to use a USB adapter, I would use a USB Wi-Fi dongle. The point is to use the build-in Ethernet so I won't need to add anything extra to the PC. Is there any driver for the most common LAN cards such as Realtek RTL8111F and its variants found on many modern motherboards? How do I install it? Any app that can enable Ethernet?
Thank you in advance
UPDATE: No drivers needed, LAN works out of the box. I didn't realize it because I expected to see something relevant to Ethernet in Settings and was nothing there. When connecting the LAN cable it shows a <-> icon top right at the bar. As long as you see that you are online, that's it. Actually I am not sending this update from an old notebook that the WiFi is not detected by Android but the LAN works! Thank you all!

My built-in ethernet and dongle are both detected and working. I don't know about the chips they use though. Also it'd be nigh impossible to add drivers to Android unless you're building it.


text:
How can I rename an app on my phone, and what are the consequences?
Both Facebook and Google have apps called 'Messenger'. So, of course, when I use Google Now to open it, a la

"Okay Google, open App Messenger"

it seems like it's usually not the one I want.
1) How can I rename an app on my phone (so that I could call "open App FacebookMessenger", for instance, and disambiguate them)?
2) Would that break App Store updates or the connection between the Facebook app and it's Messenger app?
3) Is there another alternative I'm not thinking of? Like a Tasker-based voice solution or something? Google Now is the only problem I'm having with this namespace collision; a workaround for that would solve my problem.

It seems Google has solved the namespace collision issue by slightly re-naming their version. So this issue is solved in the particular case I asked about, but I'd still like the solution should this issue ever pop up again.

If you are willing to install an app , you can try Commandr for Google, which let's you

Integrate Tasker
Launch an app under different name ( custom app name)

Not tried by me

As it turns out I already have that app installed, so this sounds like it'll be a solution. And it also avoids any unpleasant possible side-effects that might come from renaming an app.


text:
How to have stable WiFi connection and have autoconnection working?
I have Motorola G play with Internet & mobile providers: Xfinity & Xfinity Mobile; my Mobile data in Network settings is turned off; also have option "use WiFi when Mobile network is not available" being set to "on".
When I am away of my WiFi router I connect to available not password protected WiFi routers. When connection is lost there's no attempt to reconnect automatically.
Even after the first time manual connection to available WiFi routers the reported problem persists. Also very often attempts of consequent manual connection to those WiFi routers results in getting those WiFi into "saved" state instead of establishing connection, in spite that those WiFi routers being characterized as having "fair" or even "good" signal strength...
Also even when WiFi shows as being connected sometimes there's no connection to websites via browser...
Could someone explain me in details the internals of connection to WiFi: particularly what Wifi server is getting selected for connection and why connection is not getting completed and instead this WiFi server is getting marked as "saved"?
Is connection to WiFi router supported by Android OS or Motorola or by my providers?
So what is wrong and how to fix this problem?
What could be done to have stable wifi connection and to have auto connection working?
PS ChatGPT gave very vague answer re the potential root causes of my problem as follows:
"Network congestion: In areas with many WiFi networks, network congestion can impact connectivity. Try connecting to your router on a less congested WiFi channel.
Battery optimization: Sometimes, aggressive battery optimization settings can interfere with WiFi connections. Check your device's battery or power settings to ensure WiFi isn't being optimized excessively.
App interference: Certain apps or settings might interfere with WiFi. Try booting your phone in Safe Mode and see if the WiFi connection improves. If it does, a third-party app might be causing the issue.
Contact your provider: If the problem persists, you can contact your mobile provider or Motorola's support for further assistance.
The process of connecting to WiFi involves your device's operating system, hardware, and the WiFi router itself. Android's OS, your device, and the router collaborate to establish a connection".

Android only connects to Wifi networks it knows so for each Wifi you have to connect at least one time manually. That is a security measure as otherwise an attacker could setup a rogue hotspot and all phones would connect to it, which may allow manipulate network traffic or even attack the phone.

@Robert Even after the first time manual connection to available WiFi routers the reported problem persists. Also very often attempts of consequent manual connection to those WiFi routers results in getting those WiFi into "saved" state instead of establishment connection in spite that those WiFi routers being characterized as having "fair" or even "good" signal strength... So what is wrong and how to fix this problem?

Out of curiosity, what happens when you reboot your device OR switch off wifi, turn on airplane mode for a little while a few seconds, turn  wifi on, airplane mode off. This is when you are faced with such a scenario //I vaguely recall reading that this resets connections

@beeshyams I haven't tried this entire sequence of steps, especially setting airplane mode on. Could someone explain me in details the internals of connection to WiFi: particularly what Wifi server is getting selected for connection and why connection is not getting completed and instead this WiFi   server is getting marked as saved?

My suggestion was based on Irfan's answer plus personal experience //I am not competent to judge suitability of that approach in your problem

Is this a new device? I have an older Pixel device (3a xl) that I use as a WiFi only device and in much of the same scenarios with WiFi as you describe, but once I have manually connected to a network, it will ALWAYS reconnect when it is range without issue, I have about 12 open networks and a handful of secure ones saved, whichever one I am in the vicinity of it connects reliably every time. Perhaps this is something you need to open a ticket with Motorola about?

@acejavelin The reported by me behavior was present for all the time when I had older device -  Motorola 5e and it continues since I replaced it in this spring with the newer device Motorola Gplay... So you think it is Motorola issue rather then Android OS's or my Xfinity and Xfinity Mobile providers? I can't figure out who of them responsible for what in the connecting to WiFi process...

I can't specifically answer that, but I can tell you my primary device is a Moto Edge Plus 5G (2022) on Android 13 and it does not have the issues you described, nor did it on Android 12.

@acejavelin If it is not a secret, who is your Mobile phone provider?

No secret... US Mobile's Warp 5G service, which is an MVNO for Verizon.


text:
Youtube plays a video when my phone is locked and when it should not be playing anything
On my Samsung 20 FE 5G I'm getting a bad problem with YouTube on a browser. If I watch a video and it ends you get the standard auto play next video in 10 seconds. If I click on the youtube icon, to stop the autoplay, then close down the phone, after ~10 seconds, I'll hear a video has started to play. This is annoying as it can catch me out where I browsed away, closed the phone and expect it to be silent rather than start blaring sound.
Is there any way to disable this behaviour? It seems like a bad enough bug. I see it in both the Chrome and Firefox browsers.
Update
Just experimenting, if I browse to the end of a video, see the 10 second autoplay, and close the browser (i.e. With the home button), then after ~10 seconds it's start playing the next video. The audio does not stop which it normal would when the browser is not in focus. This only happens with the ~10 second play next video, if I close the browser while playing a video then the sound stops.

You could close the browser app. And this has nothing to do with android. Autoplay exists on windows desktop too. And requires several presses to stop.  I suspect the culprit is javascript.

I havent flagged it as off topic because there may be an Android only solution.

Welcome to Android Enthusiasts. If the autoplay is not needed, then I believe you can turn it off by toggling the switch on the video. As for the video keeps playing, it looks like you're playing a playlist which is then queued and can be played in the background while browsing the other sections of YouTube. In that case, I believe you have to press "Cancel" rather than tapping the YouTube icon.

AndrewT. I see no option to turn it off. @Rohit Gupta I have not seen this on my desktop. It may exist on iOS but I've no way to test it. It seems like strange behaviour for Android as normally when you close the browse it stops all activity. In this case, even when I "exit" out of the browse, this behaviour still occurs. Note: By close I mean using the home button.

@ShaneGannon does this switch not appear when tapping the video on the browser?

@AndrewT. Thank you. I expected an option like that on the first screen. But it shows after pressing cancel.

I was having this same problem or something similar with the YouTube app (not the browser). I fixed it by going to the App Info for the YouTube app, clearing the cache, clearing the storage, then forcing a stop.


text:
Edit a text file on Android (free, no ads)
This really shouldn't be so hard.
I've tried gsearching and found endless hideously annoying false leads. Half the time a "recommended solution" doesn't do what I'm asking for, in one way or another.
Some of these things expect you to pay... yes, money! And for me ads are not and never will be acceptable, in any circumstances whatsoever.
And many of them don't actually have any way to enable you to open a file, as with a typical computer program: i.e. a "File" menu with "New, Open, Save, Save as", etc. Nor does tapping on an existing downloaded file work: the only offered apps to open an .htm file, for example, are "Chrome" and "HTML viewer" currently. So with a vast number of these apps it appears impossible to actually open an existing file! There may be ways of adding to the number of apps suggested for "open with" a particular file type... but the whole point is that I want to open files with extensions like ".htm" and possibly ".css" and who knows what else. Just let me navigate in the file system and choose my file, For Frederick's Sake.
I finally thought I'd found a solution: "OldSchool Editor". I managed to open an .htm file in it, and even edit and save the text. And then open the tweaked file in a browser app.
But for some reason that app is afflicted with a totally crippling typing latency, making it unusable: in the edit page, with an .htm file of 11kB, I press a key, and then it takes approximately one second before the screen adjusts, sometimes longer.
Another suggestion made is to use Google Docs. But that means interacting with the Cloud, as their docs are then kept there, and you can only edit things while online. I must be able to do stuff while offline. Like Notepad++ on a computer. Even if I tried Google Docs I'd be pretty unlikely to be able to manage the actual text, in the case of an .htm file.
Any solutions to this? It seems quite a basic thing to want to do.
PS: "this isn't for software recommendations". I realise there may in theory be a more appropriate forum for this question, indeed.
But firstly I think that in practice that other forum is for computer platforms, not mobiles. I need to tax the brains of none other than android enthusiasts.
Secondly, I'm not asking for an app which is comparatively "better" than another. Just ANY app which does this thing I want to do.

I use the Acode editor for editing files. It has color highlighting and sometimes suggestions like VS Code.
It is also open source. I provided links for downloading it.
https://f-droid.org/packages/com.foxdebug.acode/
https://play.google.com/store/apps/details?id=com.foxdebug.acodefree

Thanks. That works fine. Also, welcome to the site!


text:
Is a standalone periodic email checker app feasible?
I bought my first smartphone in 2012. I had one motivation for doing so: my clients, instead of ringing me, were increasingly emailing me. I had to have a computer "to go" to respond in a timely manner.
But a flaw emerged as I got to grips with my first Samsung: although I had configured a bleep to be sounded every time an email arrived in my Gmail inbox, this, er, didn't always happen.
At that time, I think, I probably assumed that this was a small thing which was associated with the teething troubles of a spanking new technology, and would quickly be ironed out.
That did not happen. 12 years later and no improvement. It is simply unbelievable.
I have spent many, many hours viewing forums about the notification problem and struggling to try anything and everything, repeatedly. Often finding that supposedly available options etc. didn't in fact exist on my phone. The defect is still there.
I almost said "the Samsung notification problem". Indeed I almost also said "the Android notification problem". Recently I have even contemplated the unthinkable, i.e. going over to the Other Side. But when I googled things, I found that (reportedly) various models of iPhone in reality seem to suffer the same thing.
A few days ago it occurred to me: is there an app for Android which has one single function? Every 5 minutes, it looks at the Gmail inbox for a given account, and if an unread message is present it makes a bleep. How hard can that be?
I searched for such an app at PlayStore. I didn't find one. Which doesn't mean one doesn't exist. If someone knows of such a thing, please enlighten me.
Therefore my question is: is it feasible to create such an app? I have never tried to create an Android app, but there's always a first time.
Does anyone know whether emails arriving in a Gmail inbox are detectable by the phone pretty much immediately? My understanding to date has been that this giant intermittent defect happens despite the fact that a new email has already arrived in the phone. Maybe that's not always the case. But certainly there have been MANY MANY times over the past 12 years when I have glimpsed down at my phone to find, yes, an email has arrived in the Gmail app ... but my ****ing phone never bleeped me a notification. The app I imagine would at least put an end to that source of fury.
This is no joke for me. It hasn't been for years. With my line of work, my clients will tend to contact other people if they don't get a response within 30 minutes or an hour. I have lost 000s of £/€/$ over the past 12 years due to this unfathomably frustrating nonsense.

Notifications may not be received in real-time because of battery saving measures. Especially Samsung phones are known for their very aggressive battery saving features.

Thanks. Yes, this is a theme I've heard many times over the past 12 years and have followed many MANY suggestions about what to do about it. With no solution. I'm obviously asking a specific question about polling/probing the Gmail app every 5 minutes.

I am using fairmail on my phone. Its very versatile and has many options for notification. It always beeps when an email arrives. And I get 100s of emails a day.
I am not associated with it. I have multiple accounts and it can handle them separately or all in, and still answer from the account it was received on.
I am sure there are other email clients that will also work.

Thanks. I've installed this and it looks like it's well designed. With the Gmail app you have (via Settings) a way of saying "this particular account should cause a bleep when a notification happens (i.e. when an email arrives in the Inbox)". I can't see this with this app. I only want a bleep to happen with ONE of my gmail accounts (the address I give to my clients). Anyway I'll see what happens!

Actually I've only configured it for that one Gmail account. I see some options for notifications are greyed-out and marked "pro feature". Which is fair enough. You seem to be quite a techy ... do you know how it works behind the scenes? Is it still relying on push notification or is it using some other mechanism?


text:
Disable Google Play Ads in Notification Area?

Possible Duplicate:
Is this red star icon malware? How to get rid of it?

I'm not sure if everyone has experienced this annoying behavior, I often see ads in my notification area pointing to games in the market.
Is there any way to avoid this annoying feature I never asked for?
Here is what the ad looks like:

A similar question that doesn't specifically relate to the red star icon is Spam alerts in notification bar.

Airpush! A bloody nuisance they are.
Need to figure out which app did you install recently, that is the culprit. Uninstall it, let the developer know that airpush is disastrous and let them see their downloads drop!
If your handset is rooted, you might try Ad-Away to block those pesky adverts. And its open-source and available on Google Play.

It was removed for violating section 4.4 of the Google Play Developers Agreement, but can still be downloaded at F-Droid. Also, the code link to it is broken.


text:
Am I overcharging my phone?

Possible Duplicate:
Does constant charging harm my Android cellphone?

I am using my Xperia Active for application development. Given that scenario, I obviously have the phone connected to the laptop most of the time since I want to be able to easily test my app on the device.
The thing that's worrying me is that when I go to Settings > About phone > Status, the Battery level is set to 100% and the Battery status is set to Charging (USB).
Am I overcharging my phone? Is this bad for the battery's health? If yes, what do I do about it? I use this phone on a daily basis and I don't want the battery's performance to be affected by my development cycle.

I doubt it. The charging circuits should be smart enough to avoid this. More likely they aren't actually charging your battery but directly powering your phone from the input while leaving the battery mostly alone.

Well it's being indicated as "Charging" on the status so obviously, I'll have the impression that it's still pumping gas to my full battery. I would have been appeased if it said "Charged" or "Idle" instead of "Charging".

Usually phone batteries are smart enough to close the circuit when the battery is full to prevent overcharging and damaging the phone/battery.
However, since you say you are developing with the phone, it could be possible that your usage of the phone (screen on, full brightness, heavy gpu or gps usage, etc.) could be causing it to drain more than the usb connection can charge.  USB ports have a lower current than say a wall plug in. Maybe it's just enough that your phone is really at 99.X% and it is rounding it up to 100% and therefore it is still technically "charging?" No idea if this is your case, but it could potentially be a possibility.

I'm running at 2.3.4. Can someone verify if this Android version actually uses other words than Charging and Discharging?


text:
apps automatically starting?

Possible Duplicate:
How can I stop applications and services from running?

I noticed that some apps automatically starts without me opening it. Some of them runs everytime I turn on the phone (so they are like Windows startup apps in some way). Some others automatically run without an apparent reason, I killed it, and the next time i look at my phone it's there again. by the way I use Advanced Task Killer to kill and see the list of all active apps. And even weirder, some apps are apparently triggered by opening the android market.
What is the mechanics of this, and how do I control which app can automatically run?

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


text:
Why does my phone consume megabytes of traffic when idle?
I have installed Traffic Monitor to check how much data is transferred between my phone and the rest of the world. The traffic is categorized by application, but there is also the category "system traffic", to which all uncategorizable traffic belongs. Strangely enough, the "system traffic" consumes the lion share: 2 of 2.8 MB within several hours of idling (over wireless LAN).
Skype is off, only E-mail (K-9 + standard client), the news+weather widget and the browser are running. For these apps, a consumption of 0.8 MB is shown. Still a lot, but I can handle these. Apart from these: Traffic Monitor, Settings, Google Services (what's that for precisely?) and the Android keyboard.
What is responsible for the rather heavy traffic here? What are typical "traffic eaters" that could fall into the "system traffic" category? Is there a way to disallow communication while the phone is not used (blank display)?
Purpose: Estimate the required data volume or enable a pay-per-data connection. This question on monitoring is related, too.

For your last question: Use Tasker..

@SachinShekhar: Thanks. But do I really need an app as huge as Tasker for such a simple setting?

Its not a simple setting.. It uses if-else logic & involves user presence intents. Even with Tasker, you'll need multiple logical steps.

"Heavy Traffic?" ... It's 2.4MB; calm down.

Just a guess, but: I imagine the built-in Google apps (gmail, contacts, calendar) are the culprits.  Try turning off "Account Sync" in settings.


text:
How to wipe OS partition in TWRP?
Operating system partition can be wiped in order to reinstall a broken ROM installation for example, personal files will be left intact. What is the correct partition to wipe?
Partitions for OnePlus One in TWRP (excluding cache and USB OTG):

system
data
internal storage

Let’s start with a list of standard internal memory partitions on
  Android phones and tablets. These are:
/boot
/system
/recovery
/data
/cache
/misc

In addition, there are the SD card partitions.
/sdcard
/sd-ext

Note that only /sdcard is found in all Android devices and the rest
  are present only in selected devices.
Let’s now take a look at the purpose and contents of each of these
  partitions.
/boot
This is the partition that enables the phone to boot, as the name
  suggests. It includes the kernel and the ramdisk. Without this
  partition, the device will simply not be able to boot. Wiping this
  partition from recovery should only be done if absolutely required and
  once done, the device must NOT be rebooted before installing a new
  one, which can be done by installing a ROM that includes a /boot
  partition.
/system
This partition basically contains the entire operating system, other
  than the kernel and the ramdisk. This includes the Android user
  interface as well as all the system applications that come
  pre-installed on the device. Wiping this partition will remove Android
  from the device without rendering it unbootable, and you will still be
  able to put the phone into recovery or bootloader mode to install a
  new ROM.
/recovery
The recovery partition can be considered as an alternative boot
  partition that lets you boot the device into a recovery console for
  performing advanced recovery and maintenance operations on it.
  Example:Clockwork Mod, TWRP etc.
/data
Also called user data, the data partition contains the user’s data –
  this is where your contacts, messages, settings and apps that you have
  installed go. Wiping this partition essentially performs a factory
  reset on your device, restoring it to the way it was when you first
  booted it, or the way it was after the last official or custom ROM
  installation. When you perform a wipe data/factory reset from
  recovery, it is this partition that you are wiping.
/cache
This is the partition where Android stores frequently accessed data
  and app components. Wiping the cache doesn’t effect your personal data
  but simply gets rid of the existing data there, which gets
  automatically rebuilt as you continue using the device.
/misc
This partition contains miscellaneous system settings in form of
  on/off switches. These settings may include CID (Carrier or Region
  ID), USB configuration and certain hardware settings etc. This is an
  important partition and if it is corrupt or missing, several of the
  device’s features will not function normally.
/sdcard
This is not a partition on the internal memory of the device but
  rather the SD card. In terms of usage, this is your storage space to
  use as you see fit, to store your media, documents, ROMs etc. on it.
  Wiping it is perfectly safe as long as you backup all the data you
  require from it, to your computer first. Though several user-installed
  apps save their data and settings on the SD card and wiping this
  partition will make you lose all that data.
On devices with both an internal and an external SD card – devices
  like the Samsung Galaxy S and several tablets – the /sdcard partition
  is always used to refer to the internal SD card. For the external SD
  card – if present – an alternative partition is used, which differs
  from device to device. In case of Samsung Galaxy S series devices, it
  is /sdcard/sd while in many other devices, it is /sdcard2. Unlike
  /sdcard, no system or app data whatsoever is stored automatically on
  this external SD card and everything present on it has been added
  there by the user. You can safely wipe it after backing up any data
  from it that you need to save.
/sd-ext
This is not a standard Android partition, but has become popular in
  the custom ROM scene. It is basically an additional partition on your
  SD card that acts as the /data partition when used with certain ROMs
  that have special features called APP2SD+ or data2ext enabled. It is
  especially useful on devices with little internal memory allotted to
  the /data partition. Thus, users who want to install more programs
  than the internal memory allows can make this partition and use it
  with a custom ROM that supports this feature, to get additional
  storage for installing their apps. Wiping this partition is
  essentially the same as wiping the /data partition – you lose your
  contacts, SMS, market apps and settings.

Source
Note: Wiping /system means removing the android installation(ROM), and /data removes all apps (app+data), wiping internal storage means deletes every thing. If you want to install ROM only by wiping /system, then, the new ROM should be with same android version as that of old. Otherwise, it will crash.

I'm confused by the boot partition. Are you saying that wiping boot will brick the device? Does TWRP even allow wiping the partition?

TWRP allows wiping cache, Dalvik cache, System, Data and Internal Storage. If you backup using TWRP, it will stores /boot, /system, /data (you can see their file sizes, while checking checkboxes). This helps you to return to current ROM, if anything happens in between. I recommend a backup before any operations.

You should go for advanced wipe and choose:
-DalviK/ART Cache
-System
-Data
-Cache
And don`t format:
-Internal Memory
-Sdcard


text:
How to copy text on Android like on a computer?
I want to copy a string of text from an ASCII text generator, but whenever I paste the art, it turns into a line of text.
Example:
_ _ _ ___ ___ _ __ ___ ___ _ __ __ _ _ __ __| | ___ _ __ ___ | |_ _____ _| |_ / __|/ _ \| '_ ` _ \ / _ \ | '__/ _` | '_ \ / _` |/ _ \| '_ ` _ \ | __/ _ \ \/ / __| \__ \ (_) | | | | | | __/ | | | (_| | | | | (_| | (_) | | | | | | | || __/> <| |_ |___/\___/|_| |_| |_|\___| |_| \__,_|_| |_|\__,_|\___/|_| |_| |_| \__\___/_/\_\\__|

(This should say "some random text")

What I want it to look like:

It seems that when I copy the art, it automatically cuts out spaces and line breaks. Is there a way I can resolve this? Getting the art to paste properly is important for an upcoming project.
Edit: I am copying from Google Chrome into DroidEdit.

Possibly this is something to do with one of the apps you're using. Could you [edit] your question and name what app you're pasting from, and pasting into?

Do you take the width of screen into account?


text:
What is the baidu symbol in the notification bar mean?
After updating to MIUI 8.2.2.0 i have notices this persistent baidu symbol on my redmi note phone. [highlighted in red box, to the left of the alarm clock symbol]
I am unable to attribute this symbol to any of the background processes..?
should i be concerned privacy or similar such concerns?

Screenshot (click to enlarge)

I think you were in MIUI Chinese build. Baidu app may be running in background.
Try these:

Try to close the Baidu app. Goto Settings-> Installed Apps-> Running->find Baidu and close it. Also, follow step2 to prevent app running automatically.
Goto security-> permissions->Autostart-> find Baidu and turn off Autostart capability.(This prevents application autostart, application runs only when you open it.)


text:
Change colour of contacts (Nokia 6)
Is it possible to change the colour of the contacts? It is getting confusing with my text conversations all colour coded but contacts completely random...

You could invite them all for a game of paintball.  What contacts you're asking for: in the standard contacts app, in some messenger, …?

He may be asking about default color settings for each contacts added to phone.( Google contact app, bcz, nokia 6 is stock android )  After addition of a new contact, the app saves contact with First letter and a background color as default avatar. May be he's asking how to change that color.

Yeah that's the one, default contacts. It's strange because logging into google mail and they might have a different colour lol But yeah basically I have my conversations colour coded but when i create a new contact it picks a random colour I don't seem to be able to change. So is that the answer, it's based on the first letter? Edit - nvm, realised you didn't mean the colour was based on the letter...

i haven't been able to change contact colours, but you can change the text message conversation colours. go into the conversation of the person you want to change the colour of, tap the more button and go to people & options, there should be a little palette next to the name of the person you want to change


text:
Installing an app after deleting its apk using Bloatware removal tool
I'm working on Samsung Galaxy On7, Android 6.0.1-Marshmallow. It's unrooted.
My phone has a lot of apps preinstalled that I don't use, like Google Play music and movies and TV. I want to remove these apps completely as they use up a lot of space on my phone'so internal memory.
I found here a tutorial on how I can remove such bloatware without rooting my phone. However,  my question is: if I completely remove the app files from my phone, then will I be able to install them later, if need arises?
For example, in my phone, MS Word and Excel are preinstalled, which is why I can't move them to sd card. If I remove the apk files, and later try to install it again, will I face any trouble, and will I be able to move it to the sd card?
N.B.: I don't want to root my phone.

For most apps, yes, but a few Google Apps would still require installing to /system.

@AndyYan I don't want those google apps. I want the MS apps such that they can be moved to sd card. Does the software in the tutorial completely remove the apk files?

Just checked it out - without root nothing could touch /system, it just disables the apps (similar to pm disable I reckon).

@AndyYan is rooting good for phone?

@AndyYan if yes, which software will be best? I want to unroot it again. I had used Kingo root on a phone before, but couldn't unroot it.


text:
A confused senior citizen
I have an Android Samsung Galaxy J5 phone with SIM card slot No 1 with a Reliance Jio sim and SIM card slot no 2 with a BSNL 4G SIM.
On my BSNL line I do not have data but only for incoming/outgoing calls and other usual applications. I also have roaming and international calls.
On my JIO line I have usual Tariff facilities including data and national roaming.
What do I do to get the maximum out of my two SIM cards and what settings do I put for them??
Please advise as I am really confused.

What do you mean by getting maximum out of SIM cards? Moreover, JIO tariff and prime features are confined to India, so it is better if you delete those parts.

What do I do to get the maximum out of my two SIM cards and what settings do I put for them?

JIO only has a 4G VoLTE network and wouldn't work in 2G/3G. Does your phone support LTE + LTE may not be supported in your Galaxy J5. See if you can manually set your network and search for the BSNL sim from "Dual SIM settings".

On my BSNL line I do not have data but only for incoming/outgoing calls and other usual applications.

You will have to switch primary SIM from JIO to BSNL for this as your phone doesn't support LTE+LTE. The JIO sim will probably lose signal when you switch BSNL to be the main SIM.
Also, you cannot use Mobile Data for both SIMs at the same time

Your sim cards should work out of the box. You only need now than one if you travel from one county to another or one service area to another to avoid roaming charges. Your sim card allows you to connect to your network operator for regular phone calls. But to get higher speeds for browsing the internet look into WiFi, you will need to connect to a router.

How does that address the question of assigning wanted functionality to specific SIM cards? And obviously noone carries a WiFi router along while on the street (but uses it at home or in the office, when available). This question was specific to SIM cards and mobile traffic.


text:
Is there a root for Galaxy S7 / S7 edge US Carriers?
I recently acquired my Galaxy S7 edge from Verizon and I have yet to find a way to root it? Flashfire? Safestrap? Verizon kinda sucks with this stuff.  I previously had my Galaxy S4 unlocked with the stock android MDK that was on it.
Does anyone know if there is a root for the Verizon S7 Edge yet?  If so can you link a walk through / document one?  I am pretty good with roots I've been doing them for a while, I'm not afraid to use ODIN either.
Thanks,
asloss
UPDATE 6/15/2016:
Turns out there is potential!! http://forum.xda-developers.com/verizon-s7-edge/how-to/root-unlocked-bootloader-update-t3392841

Please read Galaxy S7 Bootloader Lock Explained: You Might Not Get AOSP After All. It has some pretty good explanation and the root status hasn't changed since then :/ Basic answer is no

Root is out and a full guide can be found on XDA forums through this link:root guide and files  This root is for Verizon
Other variants can be found below
T-Mobile
Sprint
AT&T
Verizon:

http://forum.xda-developers.com/att-...-root-t3410403 Also credits to Mastajeff >for originally making the guide for T-Mobile.

First off download these files: http://d-h.st/PK3q  Extract them to whatever folder you want, there will be 5 files in there.
Folder named: "su" contains the SuperSU and thing needed to root the phone
ADB Setup EXE called: "adb-setup-1.4.3.exe" Needed to install ADB and the Drivers
Special patched Odin that skips the SHA 225 called: Odin PrinceComsy.exe (Mainly for AT&T)
.ini file named: "Odin3.ini"
Last, file, named: "Samsung_G935x_QC_Rooted_BOOT.TAR", this is the engBoot for the phone.

NOTE: Some users have experienced endless boot loop; this seems to be
  caused by using a package disabler that disabled certain services. If
  you used one and end up getting an endless boot loop try wiping the
  cache and factory reset the phone.
I suggest you backup your phone before doing this, just in case
  something happens.

Install ADB by running adb-setup-1.4.3.exe
Make sure to put your phone into downloading mode (Power off--- Hold Down arrow + Home + Power button)
Open up Odin and click AP and mount Samsung_G935x_QC_Rooted_BOOT.TAR
Once restarted put the phone into USB debugging mode (Need Developer options for this)
To get developer mode, go to "About" then tap "build number" about 6 or 7 times
Go back to settings and you should now see developer options, turn on USB debugging
Now back on your PC, Move the folder named "su" into your ADB folder (Default Path: C:\adb)
Run CMD by either Win + R and typing cmd or from the control panel.
Once CMD is open type this Code:

cd C:\adb\su

or whatever your path to your "su" folder.

After that type root.bat
Wait for the CMD to finish and then your phone should restart
Once your phone has finally restarted you will notice that SuperSU was installed and root should be working, download root checker to
  find out for yourself.

If your CMD just says starting Daemon and doesn't proceed any further
  than that, then you forgot to make sure USB debugging was turned on.
  If everything went well you will see the CMD was able to push SuperSU.
You can now install Xposed via Flashfire. Unfortunately, TWRP does not
  work on this method, so, DO NOT TRY, there is a chance that you can
  Brick your phone from doing that.
Fix for wifi bug on restart:
  http://forum.xda-developers.com/tmob...8#post67592828
Thanks 2swizzle for mentioning this. If you want to fix the
  lag/slowness download any CPU or Kernel Editor or changer. This one
  works fine: https://play.google.com/store/apps/d...ladiutor&hl=en To
  fix the lag
  1. Open up the APP
  2. Go into the CPU settings
  3. Set CPU Governor to ondemand
  4. Apply on boot You will notice that the phone runs fast as ever.

This root is for Verizon and disables Samsung pay.  The root has many variations for all US carriers.
All credit goes to http://forum.xda-developers.com/member.php?u=4911585 (br3w3r, Chainfire and Princecomsy) and Argyrus for writing up this post


text:
How Google Play programs family is updated?
In my previous question I asked about how Google Play Store is updated. And this question is sort of an extension to the previous one. What updates what? I know that Google Play Store updates other Google Services (like Google Games, Kiosk, Music itp.). Does Google Play Store update Google Play Services or does Google Play Services updates Google Play Store or do both of them updates themselves?

Google Play Store is the only one capable of downloading and installing apps. All apps including Store itself are updated via Store. As I've already answered, the update is automatically downloaded and installed as soon as it's detected by Store.

All of those other Google play apps (services, music, books, etc.) are just like any other app on your phone, when Google releases a update for them, Google play Store downloads the update and installs it when you are not using the app.


text:
How to show the recent apps in the Overview button?
On Android KitKat v4.4.2 that came with my phone the Overview button (the button that is not Home nor Back) is showing the home screen settings:
How can I change the button behavior to show the list of recent applications instead?

My old android 4.4 phone had me press and hold the home button, while that third button would pull up a menu. I believe that was how things worked in Android 4.4 days.


text:
Why is phone storage breakdown not adding up
When I go into the internal storage menu,  the subsections (only apps and cache because I use adoptable storage) do not add up to the total internal storage space used. What is not being shown?

Edit: so I have kept looking around, and I hoped to get to the bottom of this with a storage visualization app, but they always seem to show the wrong partitions. Does anyone have any input?

The Android operating system itself and other programs that come pre-installed on your phone are also saved to internal storage. This is why the available storage will never equal the advertised storage capacity on any new phone.
Some bloatware can be uninstalled and some cannot.

Thanks for the reply,  but I thought that was displayed up one menu. I am adding that photo to my main submission.


text:
Are deleted WhatsApp messages still recoverable even after deleting a contact
I deleted a particular WhatsApp conversation. Then I deleted the same contact. Now I uploaded the contact again but I am unable to see my deleted messages. I don't see the option of restoring messages after reinstalling WhatsApp. Why is this so? And is there a way out?

"I don't see the option of restoring messages" is this a rooted device?

What does rooted device mean

No it's nt a rooted device....

Why do I not see the option of restoring my messages on reinstalling whats app

If you have automatic backups sent to Google Drive, that will be your easiest solution. If not, search for a local backup on your phone itself and recover with this method:

Your phone will store up to the last 7 days worth of local backup files (Google Drive will only have the most recent). If you wish to restore a local backup which is not the most recent, you will need to do the following:

Download a file manager.
In the File Manager, navigate to sdcard/WhatsApp/Databases. If your data is not stored on the SD card, you may see internal storage or main storage instead of sdcard.
Rename the backup file you wish to restore from msgstore-YYYY-MM-DD.1.db.crypt12 to msgstore.db.crypt12. It is possible that your earlier backup may have been on an earlier protocol, such as crypt9 or crypt10. Do not change the number of the crypt extension.
Uninstall WhatsApp.
Install WhatsApp.
Tap Restore when asked.

https://www.whatsapp.com/faq/en/android/20887921


text:
Android 5.0 Gapps Flashes in Android 6.0 Genymotion
I just recently installed Genymotion and need to install Google Apps. Now that I don't have 6.0 Gapps, I tried to experiment by flashing 5.0 Gapps in Genymotion and it worked. Nothing is wrong. Is this normal?

Try to update google apps through play store and run play games app by google. If it works then great. No problem will be shown in future if you can run latest google play games app successfully.


text:
How to add a language on a Galaxy S7 Edge without root?
I have a Galaxy S7 and it is locked so I can't add new languages. Can someone tell me if this is possible without root?

Pointer: related questions with answers. Are you asking for a keyboard language, or a system language?

It should be system language i guess.

Even though your device is locked, you can add languages that comes with TouchWiz UI. I am not sure for input language or total language change from English to your choice you are asking but I think this article on Samsung Galaxy S7 & S7 Edge tips will help you. There, you need to scroll till the bottom.

When you say "add a language" do you mean select a language that's already available from the dropdown, or add a new language?

You can do it without root like this

Download MoreLocale2
Run:
adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION

Change the device's language from MoreLocale app


text:
How to run my service on a rooted Android 10 as a root?
I have a rooted Android 10. And I've written a service which I want to run under too, in background. A service uses a microphone and location.
I've not found any information of how to run a service on a rooted device under root. I've found some about running some commands in a service under root, though, but it may be only a part of what I need.
How to do it?
update #1

By "service" I mean "a class inherited from Service"

I am not aware about the differencess in my case in regards to an init service, a framework service, or just a normal background process. However, I need it to run forever. I guess that it'd be an init service.

It should be be restarted if it fails, or it it gets, for some reason, killed by the system.

It's written in Kotlin. Which is to say, in Java

As I've mentioned, I've rooted my device

What do you mean by "service"? An init service, a framework service, or just a normal background process? Do you want to keep it running forever? Should it be restarted if it fails? How have you written it? A shell script, a native binary, or Java code? How have you rooted the device?

You cannot run a Service alone. It is an entry point of an Android app. So your question is how to run a whole app with root privileges?

@IrfanLatif why can't I run a Service alone? It can be launched via ADB at least.

There seems to be a gross misunderstanding. A Service is an app component. And you cannot run a component without running the app. An app keeps running as long as long any of its components is running e.g. a Service or an Activity. So you do not start a Service from ADB. You ask the Android framework to start a Service which belongs to an app. ...

... And you cannot change the UID of the app (which means you cannot run it with root). UID is assigned by the Android OS at the time of app installation and it always runs with the same UID. If you need root privileges, run another process with UID 0 (using su usually, but depends on how you rooted the device) which performs the required privileged tasks, and you need to communicate with this process from your app to get the results (if any). I think you need to spend some time in understanding the basics of Android and Linux/UNIX.

And you cannot run a component (Service) without running the app. -- where did I say that I needed to do it otherwise? @IrfanLatif

And you cannot change the UID of the app (which means you cannot run it with root). - yes I can, by calling setuid(0) from NDK @IrfanLatif

"yes I can, by calling setuid(0) from NDK". So you can switch an Android app's UID to 0 (root) by calling setuid? Great. Please demonstrate that and have a 500-points bounty from me

No you can't cash your reputation. But community will benefit from your knowledge and revolutionary idea. // By the way, if you can simply switch your app's UID to 0 (root) by calling setuid, why have you rooted your device? And why are you asking how to run a service as root? You already know it. But it looks like you are not clear what you are asking. Try rephrasing your question. Please note that development related questions are off-topic here.


text:
Unable to remove malware, even after factory reset and system flash. Sony Xperia 1 IV, XQ-CT72
I had a rooted phone, in which I misclicked an apk and installed it. Almost immediately I uninstalled it and disabled the network (I also had afwall and netguard enabled). However it was too late. I got a ~100's of 0kb system apps without icons. I re-flashed the phone with fresh stock firmware and factory reset it, however the broken system apps (and likely the malware) are still there.
Does anyone have suggestions on what can be done to fix this? Or any knowledge of similar malware?
Some antivirus I could use, or maybe something stronger than a system flash?
Thanks in advance.

Picture after factory reset and flash.

Where do you got the stock firmware image from? Are you sure it is genuine? Are you sure the rro packages are really malware, because Android knows such packages that are loaded using an file-system overlay: https://source.android.com/docs/core/runtime/rros?hl=en

I got the stock firmware from XperiFirm 5.7.0 (by Igor Eisberg), I am pretty sure it's genuine. I am very sure these are malware because there are 0 kb system apps with version 1, that only got installed when I installed the malware.

Do you still have the .APK file which you installed? I'd be interested in taking a look at it.

No, It's been deleted sadly.

Before I answer your question — I have a background in android malware development/research, analysis, reverse engineering, Application Security & Vulnerability research/analysis.
Now,

tl;dr

These are not malware. They're system apps, so don't worry.
Send me the virus/malicious apk that you installed. I'll exactly tell you what is it, what it does and how much are you affected.

I re-flashed the phone with fresh stock firmware and factory reset it,
however the broken system apps (and likely the malware) are still
there.

Once you format & reflash your firmware, no malware will survive. Rest assure, your system is clean now.
System flash is the "strongest" advice you can have. Stuff are now cleaned, you do not have any more malware.

But ! How do I check it myself & conform if they're malware or not ?

Check my answer here:-
https://android.stackexchange.com/a/257874/437442

You can ask me any questions on comments. I'll answer.